/* =========================================================
   TCG Homepage — FAQ
   ========================================================= */

body.home .tcg-faq {
    --faq-accent: #d69942;
    --faq-dark: #111;
    --faq-text: #545454;
    --faq-line: #dedede;

    position: relative;
    overflow: hidden;
    background: #fff;
    color: var(--faq-dark);
}

body.home .tcg-faq *,
body.home .tcg-faq *::before,
body.home .tcg-faq *::after {
    box-sizing: border-box;
}

body.home .tcg-faq__inner {
    width: min(1040px, calc(100% - 80px));
    margin: 0 auto;
    padding: 115px 0 125px;
}

/* ---------- Header ---------- */

body.home .tcg-faq__header {
    max-width: 800px;
    margin: 0 auto 62px;
    text-align: center;
}

body.home .tcg-faq__overline {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 20px;
    color: var(--faq-accent);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

body.home .tcg-faq__overline::before,
body.home .tcg-faq__overline::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    background: var(--faq-accent);
}

body.home .tcg-faq__title {
    margin: 0;
    color: #222;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -.05em;
    text-transform: uppercase;
}

body.home .tcg-faq__title span {
    color: var(--faq-accent);
}

body.home .tcg-faq__lead {
    max-width: 700px;
    margin: 25px auto 0;
    color: #666;
    font-size: 18px;
    line-height: 1.65;
}

/* ---------- Questions ---------- */

body.home .tcg-faq__list {
    margin: 0;
    border-top: 1px solid var(--faq-line);
}

body.home .tcg-faq__item {
    margin: 0;
    border-bottom: 1px solid var(--faq-line);
}

body.home .tcg-faq__question {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 92px;
    padding: 27px 74px 27px 5px;
    cursor: pointer;
    color: #292929;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.35;
    font-weight: 700;
    list-style: none;
    transition: color .22s ease;
}

body.home .tcg-faq__question::-webkit-details-marker {
    display: none;
}

body.home .tcg-faq__question::marker {
    display: none;
    content: "";
}

body.home .tcg-faq__question:hover {
    color: var(--faq-accent);
}

body.home .tcg-faq__icon {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border: 1px solid #cfcfcf;
    border-radius: 50%;
    transition:
        transform .28s ease,
        border-color .22s ease,
        background .22s ease;
}

body.home .tcg-faq__icon::before,
body.home .tcg-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: #333;
    transform: translate(-50%, -50%);
    transition: background .22s ease, transform .28s ease;
}

body.home .tcg-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

body.home .tcg-faq__item[open] .tcg-faq__question {
    color: var(--faq-accent);
}

body.home .tcg-faq__item[open] .tcg-faq__icon {
    border-color: var(--faq-accent);
    background: var(--faq-accent);
    transform: translateY(-50%) rotate(180deg);
}

body.home .tcg-faq__item[open] .tcg-faq__icon::before,
body.home .tcg-faq__item[open] .tcg-faq__icon::after {
    background: #fff;
}

body.home .tcg-faq__item[open] .tcg-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* ---------- Answers ---------- */

body.home .tcg-faq__answer {
    max-width: 875px;
    padding: 0 64px 34px 5px;
    color: var(--faq-text);
    font-size: 16.5px;
    line-height: 1.78;
}

body.home .tcg-faq__answer p {
    margin: 0;
}

body.home .tcg-faq__answer p + p {
    margin-top: 13px;
}

body.home .tcg-faq__answer strong {
    color: #333;
    font-weight: 700;
}

/* ---------- Extra questions ---------- */

body.home .tcg-faq__extra {
    display: none;
}

body.home .tcg-faq.is-expanded .tcg-faq__extra {
    display: block;
}

/* ---------- Show more ---------- */

body.home .tcg-faq__more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

body.home .tcg-faq__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 50px;
    padding: 0 27px;
    border: 1px solid #222;
    border-radius: 0;
    background: transparent;
    color: #222;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition:
        background .22s ease,
        color .22s ease,
        border-color .22s ease;
}

body.home .tcg-faq__more:hover,
body.home .tcg-faq__more:focus-visible {
    border-color: var(--faq-accent);
    background: var(--faq-accent);
    color: #fff;
}

body.home .tcg-faq__more-icon {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    transition: transform .25s ease;
}

body.home .tcg-faq.is-expanded .tcg-faq__more-icon {
    transform: rotate(45deg);
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {

    body.home .tcg-faq__inner {
        width: calc(100% - 42px);
        padding: 82px 0 92px;
    }

    body.home .tcg-faq__header {
        margin-bottom: 46px;
    }

    body.home .tcg-faq__overline {
        font-size: 10px;
    }

    body.home .tcg-faq__overline::before,
    body.home .tcg-faq__overline::after {
        width: 25px;
    }

    body.home .tcg-faq__title {
        font-size: clamp(42px, 14vw, 62px);
    }

    body.home .tcg-faq__lead {
        margin-top: 20px;
        font-size: 16px;
    }

    body.home .tcg-faq__question {
        min-height: 78px;
        padding: 22px 54px 22px 0;
        font-size: 18px;
    }

    body.home .tcg-faq__icon {
        right: 0;
        width: 30px;
        height: 30px;
    }

    body.home .tcg-faq__answer {
        padding: 0 38px 28px 0;
        font-size: 15.5px;
        line-height: 1.7;
    }

    body.home .tcg-faq__more-wrap {
        margin-top: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .tcg-faq *,
    body.home .tcg-faq *::before,
    body.home .tcg-faq *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* =========================================================
   TCG Homepage FAQ — Cinematic V2
   ========================================================= */

body.home .tcg-faq-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #050505 !important;
}


/*
 * BACKGROUND IMAGE
 *
 * Important: do NOT use cover.
 * The image was designed as a wide cinematic composition,
 * so preserve its full width instead of zooming/cropping it.
 */
body.home .tcg-faq-section::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: 0;
    left: 50%;
    width: 100vw;
    height: min(62vw, 1050px);
    transform: translateX(-50%);

    background-image:
        url("https://thecameraguys.co.uk/wp-content/uploads/2026/08/Videographer-Background-Image-The-Camera-Guys-Essex.avif");

    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;

    pointer-events: none;
}


/*
 * TRANSITION LAYER
 *
 * White at the top,
 * image revealed gradually,
 * then increasingly black toward the bottom.
 */
body.home .tcg-faq-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            to bottom,

            #ffffff 0px,
            rgba(255,255,255,.99) 65px,
            rgba(255,255,255,.96) 130px,
            rgba(255,255,255,.82) 200px,
            rgba(255,255,255,.52) 270px,
            rgba(255,255,255,.20) 335px,
            rgba(255,255,255,0) 410px,

            rgba(0,0,0,0) 58%,
            rgba(0,0,0,.18) 69%,
            rgba(0,0,0,.48) 80%,
            rgba(0,0,0,.78) 90%,
            #050505 100%
        );
}


/* FAQ itself stays transparent */
body.home .tcg-faq {
    position: relative;
    z-index: 2;
    overflow: visible;
    background: transparent !important;
    color: #fff;
}


/*
 * Push FAQ content down so it begins after the white haze,
 * like the visual mockup.
 */
body.home .tcg-faq__inner {
    width: min(1040px, calc(100% - 80px));
    padding-top: 330px;
    padding-bottom: 145px;
}


/* =========================================================
   HEADER
   ========================================================= */

body.home .tcg-faq__title {
    color: #fff !important;
    text-shadow: 0 3px 24px rgba(0,0,0,.45);
}

body.home .tcg-faq__title span {
    color: var(--faq-accent) !important;
}

body.home .tcg-faq__overline {
    color: var(--faq-accent);
}

body.home .tcg-faq__lead {
    color: rgba(255,255,255,.82) !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.55);
}


/* =========================================================
   ACCORDIONS
   ========================================================= */

body.home .tcg-faq__list {
    border-top: 1px solid rgba(255,255,255,.16);
}

body.home .tcg-faq__item {
    border-bottom: 1px solid rgba(255,255,255,.15);
    background: rgba(8,8,8,.18);
    transition:
        background .22s ease,
        border-color .22s ease;
}

body.home .tcg-faq__item:hover,
body.home .tcg-faq__item[open] {
    background: rgba(8,8,8,.34);
    border-color: rgba(214,153,66,.35);
}

body.home .tcg-faq__question {
    color: rgba(255,255,255,.96) !important;
}

body.home .tcg-faq__question:hover,
body.home .tcg-faq__item[open] .tcg-faq__question {
    color: var(--faq-accent) !important;
}


/* Plus button */
body.home .tcg-faq__icon {
    border-color: rgba(214,153,66,.75);
    background: rgba(0,0,0,.22);
}

body.home .tcg-faq__icon::before,
body.home .tcg-faq__icon::after {
    background: var(--faq-accent);
}

body.home .tcg-faq__item[open] .tcg-faq__icon {
    border-color: var(--faq-accent);
    background: var(--faq-accent);
}

body.home .tcg-faq__item[open] .tcg-faq__icon::before,
body.home .tcg-faq__item[open] .tcg-faq__icon::after {
    background: #fff;
}


/* Answers */
body.home .tcg-faq__answer {
    color: rgba(255,255,255,.78) !important;
}

body.home .tcg-faq__answer strong {
    color: #fff !important;
}


/* Show more */
body.home .tcg-faq__more {
    border-color: rgba(214,153,66,.75) !important;
    background: rgba(0,0,0,.24) !important;
    color: #fff !important;
}

body.home .tcg-faq__more:hover,
body.home .tcg-faq__more:focus-visible {
    border-color: var(--faq-accent) !important;
    background: var(--faq-accent) !important;
    color: #fff !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    body.home .tcg-faq-section::before {
        height: 720px;
        background-size: auto 720px;
        background-position: center top;
    }

    body.home .tcg-faq-section::after {
        background:
            linear-gradient(
                to bottom,

                #fff 0,
                rgba(255,255,255,.98) 55px,
                rgba(255,255,255,.84) 115px,
                rgba(255,255,255,.52) 175px,
                rgba(255,255,255,.18) 235px,
                rgba(255,255,255,0) 295px,

                rgba(0,0,0,0) 58%,
                rgba(0,0,0,.34) 74%,
                rgba(0,0,0,.72) 88%,
                #050505 100%
            );
    }

    body.home .tcg-faq__inner {
        width: calc(100% - 42px);
        padding-top: 255px;
        padding-bottom: 105px;
    }
}



/* =========================================================
   TCG Homepage FAQ — V2 background refinement
   ========================================================= */

/*
 * V2 already contains its own long white-to-dark transition,
 * so let the artwork do most of the work.
 */
body.home .tcg-faq-section {
    background: #050505 !important;
}


/*
 * Full-height background layer.
 *
 * The image renders at its natural full-width composition.
 * If the FAQ becomes taller than the image, the remaining
 * area simply continues as dark charcoal instead of exposing
 * an obvious image edge.
 */
body.home .tcg-faq-section::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;

    background-image:
        url("https://thecameraguys.co.uk/wp-content/uploads/2026/08/Videographer-Background-Image-The-Camera-Guys-Essex-V3.avif");

    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
    background-color: #050505;

    pointer-events: none;
}


/*
 * Kill the aggressive previous white overlay.
 *
 * We now only use this layer to gently transition the LOWER
 * portion of the FAQ into near-black for Recent Projects.
 */
body.home .tcg-faq-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(5,5,5,0) 0%,
            rgba(5,5,5,0) 52%,
            rgba(5,5,5,.10) 64%,
            rgba(5,5,5,.28) 75%,
            rgba(5,5,5,.55) 86%,
            rgba(5,5,5,.82) 94%,
            #050505 100%
        );
}


/*
 * V2 gives us much more vertical breathing room above the
 * lights, so place the FAQ slightly higher than V1.
 */
body.home .tcg-faq__inner {
    padding-top: 300px;
    padding-bottom: 150px;
}


/* Mobile */
@media (max-width: 768px) {

    body.home .tcg-faq-section::before {
        background-size: auto 760px;
        background-position: center top;
        background-color: #050505;
    }

    body.home .tcg-faq-section::after {
        background:
            linear-gradient(
                to bottom,
                rgba(5,5,5,0) 0%,
                rgba(5,5,5,0) 48%,
                rgba(5,5,5,.18) 65%,
                rgba(5,5,5,.50) 82%,
                #050505 100%
            );
    }

    body.home .tcg-faq__inner {
        padding-top: 255px;
        padding-bottom: 110px;
    }
}



/* =========================================================
   TCG Homepage FAQ — V3 hard reset / final background structure
   ========================================================= */


/* Full-width dark base */
body.home .tcg-faq-section {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #050505 !important;
}


/*
 * HARD RESET previous experimental ::before rules.
 * This is the actual V2 artwork layer.
 */
body.home .tcg-faq-section::before {
    content: "" !important;

    position: absolute !important;
    z-index: -2 !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    transform: none !important;

    background-color: #050505 !important;

    background-image:
        url("https://thecameraguys.co.uk/wp-content/uploads/2026/08/Videographer-Background-Image-The-Camera-Guys-Essex-V3.avif") !important;

    background-repeat: no-repeat !important;

    /*
     * Preserve full cinematic composition.
     * Width fills browser, height flows naturally.
     */
    background-size: 100% auto !important;
    background-position: center top !important;

    pointer-events: none !important;
}


/*
 * ONLY darken the lower portion.
 * V2 already contains the white -> studio fade,
 * so do not put another white gradient over it.
 */
body.home .tcg-faq-section::after {
    content: "" !important;

    position: absolute !important;
    z-index: -1 !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: auto !important;
    height: auto !important;

    transform: none !important;
    pointer-events: none !important;

    background:
        linear-gradient(
            to bottom,

            rgba(5,5,5,0) 0%,
            rgba(5,5,5,0) 50%,

            rgba(5,5,5,.03) 58%,
            rgba(5,5,5,.08) 64%,
            rgba(5,5,5,.16) 70%,
            rgba(5,5,5,.28) 76%,
            rgba(5,5,5,.42) 82%,
            rgba(5,5,5,.58) 88%,
            rgba(5,5,5,.76) 94%,

            #050505 100%
        ) !important;
}


/*
 * Make BeTheme's wrappers completely transparent.
 * Otherwise the generated section/wrap can introduce
 * unwanted white or constrained backgrounds.
 */
body.home .tcg-faq-section > .section_wrapper,
body.home .tcg-faq-section .mcb-section-inner,
body.home .tcg-faq-section .mcb-wrap,
body.home .tcg-faq-section .mcb-wrap-inner,
body.home .tcg-faq-section .mcb-item,
body.home .tcg-faq-section .mcb-column-inner {
    background: transparent !important;
}


/* FAQ component */
body.home .tcg-faq {
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    background: transparent !important;
}


/*
 * Content position.
 * We retain plenty of V2's white breathing room
 * BEFORE the lights start becoming prominent.
 */
body.home .tcg-faq__inner {
    position: relative !important;
    z-index: 3 !important;

    width: min(1040px, calc(100% - 80px)) !important;
    margin: 0 auto !important;

    padding-top: 300px !important;
    padding-bottom: 165px !important;
}


/* =========================================================
   Bottom transition toward Recent Projects
   ========================================================= */

/*
 * Keep the end of FAQ genuinely dark.
 * We'll match Recent Projects to this exact colour next,
 * eliminating the final seam completely.
 */
body.home .tcg-faq {
    padding-bottom: 0 !important;
}


/* =========================================================
   Tablet / mobile
   ========================================================= */

@media (max-width: 900px) {

    body.home .tcg-faq-section::before {
        /*
         * On narrower screens preserve height rather than
         * massively cropping the studio vertically.
         */
        background-size: auto 900px !important;
        background-position: center top !important;
    }

    body.home .tcg-faq__inner {
        padding-top: 260px !important;
        padding-bottom: 130px !important;
    }
}


@media (max-width: 600px) {

    body.home .tcg-faq-section::before {
        background-size: auto 760px !important;

        /*
         * Slight shift gives the central text clear space
         * while keeping some studio lighting visible.
         */
        background-position: 51% top !important;
    }

    body.home .tcg-faq-section::after {
        background:
            linear-gradient(
                to bottom,

                rgba(5,5,5,0) 0%,
                rgba(5,5,5,0) 48%,
                rgba(5,5,5,.08) 61%,
                rgba(5,5,5,.22) 72%,
                rgba(5,5,5,.48) 84%,
                rgba(5,5,5,.76) 94%,
                #050505 100%
            ) !important;
    }

    body.home .tcg-faq__inner {
        width: calc(100% - 42px) !important;
        padding-top: 230px !important;
        padding-bottom: 105px !important;
    }
}



/* =========================================================
   TCG FAQ V3 — spacing refinement
   ========================================================= */

/*
 * V3 has more usable atmosphere above the studio lights,
 * so the FAQ no longer needs 300px of top padding.
 */
body.home .tcg-faq__inner {
    padding-top: 220px !important;
    padding-bottom: 55px !important;
}

/*
 * Remove any accidental spacing at the end of the FAQ section.
 */
body.home .tcg-faq-section,
body.home .tcg-faq {
    margin-bottom: 0 !important;
}

/*
 * Pull the following homepage section into the same visual flow.
 * This only targets the section immediately following FAQ.
 */
body.home .tcg-faq-section + .section {
    margin-top: 0 !important;
    padding-top: 45px !important;
}


/* Tablet */
@media (max-width: 900px) {

    body.home .tcg-faq__inner {
        padding-top: 190px !important;
        padding-bottom: 45px !important;
    }

    body.home .tcg-faq-section + .section {
        padding-top: 38px !important;
    }
}


/* Mobile */
@media (max-width: 600px) {

    body.home .tcg-faq__inner {
        padding-top: 165px !important;
        padding-bottom: 38px !important;
    }

    body.home .tcg-faq-section + .section {
        padding-top: 32px !important;
    }
}


/* Mobile heading alignment fix - Sep 2026 */
@media (max-width: 600px) {
    body.home .tcg-faq__title {
        font-size: clamp(38px, 12vw, 54px);
        line-height: 1.06;
        letter-spacing: -0.02em;
    }
}

/* FINAL mobile FAQ heading fix */
@media screen and (max-width: 600px) {
    body.home .tcg-faq__title {
        font-size: 38px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.025em !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    body.home .tcg-faq__title span {
        line-height: inherit !important;
    }
}
