/* SG FAQ ENQUIRY V3 - PREMIUM LAYOUT */

#sg-fe-v3 {
    padding: 28px 0 38px;
    font-family: Jost, sans-serif;
}

#sg-fe-v3 *,
#sg-fe-v3 *::before,
#sg-fe-v3 *::after {
    box-sizing: border-box;
}

#sg-fe-v3 .sg-fe-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 0;
    align-items: stretch;
    border-top: 1px solid #e6ded4;
    border-bottom: 1px solid #ece6dd;
}

#sg-fe-v3 .sg-fe-grid > * {
    min-width: 0;
}

#sg-fe-v3 .sg-fe-grid > .sub-section {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

#sg-fe-v3 .sg-fe-grid > .sub-section > .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* FAQ SIDE */

#sg-fe-v3 .sg-fe-grid > #more {
    position: relative;
    background: #fff;
    padding: 28px 34px 30px 0 !important;
}

#sg-fe-v3 .sg-fe-grid > #more::after {
    content: "";
    position: absolute;
    right: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: rgba(139,111,78,.20);
    pointer-events: none;
}

#sg-fe-v3 #more .space-bottom {
    text-align: left !important;
    margin-bottom: 12px !important;
}

#sg-fe-v3 #more .lma-faq hr,
#sg-fe-v3 #more > .container > hr {
    margin: 12px 0 !important;
}

/* ENQUIRY SIDE: SUBTLE MINERAL TEXTURE */

#sg-fe-v3 .sg-fe-grid > section.appointment {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 28px 0 30px 34px !important;
    background:
        linear-gradient(
            rgba(255,255,255,.72),
            rgba(255,255,255,.72)
        ),
        repeating-linear-gradient(
            115deg,
            rgba(48,55,63,.018) 0 1px,
            transparent 1px 20px
        ),
        repeating-linear-gradient(
            25deg,
            rgba(139,111,78,.022) 0 2px,
            transparent 2px 34px
        ),
        linear-gradient(
            135deg,
            #faf9f7,
            #f4f1ec
        ) !important;
}

#sg-fe-v3 .sg-fe-grid > section.appointment::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at 8% 0%,
            rgba(139,111,78,.09),
            transparent 55%
        );
}

#sg-fe-v3 .sg-fe-grid > section.appointment::after {
    content: "";
    position: absolute;
    top: 0;
    left: 34px;
    right: 34px;
    height: 2px;
    background: rgba(139,111,78,.55);
}

#sg-fe-v3 .appointment > .container > .row {
    margin: 0;
}

#sg-fe-v3 .appointment > .container > .row > * {
    padding-left: 0;
    padding-right: 0;
}

#sg-fe-v3 .appointment .col-md-8.mx-auto {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

#sg-fe-v3 .appointment-wrapper {
    width: 100%;
    max-width: 100%;
    margin-top: 16px !important;
    padding-top: 0 !important;
}

#sg-fe-v3 .appointment-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* SITE TYPOGRAPHY */

#sg-fe-v3 .sg-faq-section-heading,
#sg-fe-v3 .appointment > .container > .row > .sub-heading h2 {
    font-family: Jost, sans-serif !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
    color: #30373f !important;
    text-align: left !important;
    margin: 0 0 12px !important;
}

#sg-fe-v3 .appointment > .container > .row > .sub-heading {
    text-align: left !important;
    margin-bottom: 14px !important;
}

#sg-fe-v3 .appointment input:not([type="hidden"]):not([type="checkbox"]):not([type="submit"]),
#sg-fe-v3 .appointment textarea {
    background: rgba(255,255,255,.82) !important;
    border: 1px solid #ddd5ca !important;
    box-shadow: none !important;
}

#sg-fe-v3 .appointment .submitb {
    background: transparent !important;
    border: 1px solid #8b6f4e !important;
    color: #8b6f4e !important;
}

/* SINGLE SECTION AND RESPONSIVE */

#sg-fe-v3 .sg-fe-grid--single {
    grid-template-columns: minmax(0,1fr);
}

#sg-fe-v3 .sg-fe-grid--single > #more::after {
    display: none;
}

#sg-fe-v3 .sg-fe-grid--single > section.appointment {
    max-width: 850px;
    margin: 0 auto !important;
    padding: 28px !important;
}

@media (max-width: 991px) {
    #sg-fe-v3 .sg-fe-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 18px;
        border: 0;
    }

    #sg-fe-v3 .sg-fe-grid > #more {
        padding: 0 0 18px !important;
    }

    #sg-fe-v3 .sg-fe-grid > #more::after {
        display: none;
    }

    #sg-fe-v3 .sg-fe-grid > section.appointment {
        max-width: none;
        padding: 22px 18px !important;
    }

    #sg-fe-v3 .sg-fe-grid > section.appointment::after {
        left: 18px;
        right: 18px;
    }
}

/* SG_FE_V3_HEADING_FIX: consistent FAQ/enquiry headings */

#sg-fe-v3 .sg-faq-section-heading,
#sg-fe-v3 .appointment > .container > .row > .sub-heading h2,
#sg-fe-v3 .appointment > .container > .row > .sub-heading h3 {
    font-family: Jost, sans-serif !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: normal !important;
    color: #30373f !important;
    text-align: left !important;
    margin: 0 0 12px !important;
}

@media (max-width: 767px) {
    #sg-fe-v3 .sg-faq-section-heading,
    #sg-fe-v3 .appointment > .container > .row > .sub-heading h2,
    #sg-fe-v3 .appointment > .container > .row > .sub-heading h3 {
        font-size: 25px !important;
    }
}
