/* Extracted from resources/views/ecw-franchise-faq.blade.php. */

/* ---------- Base & tokens ---------- */
      :root {
        --faq-max: 1200px;
        --space-1: .5rem;
        --space-2: 1rem;
        --space-3: 1.5rem;
        --space-4: 2rem;
        --radius: 12px;
        --bg-1: #0f0f0f;
        /* page dark */
        --bg-2: #141414;
        /* cards */
        --line: #262626;
        --text: #eaeaea;
        --muted: #a1a1a1;
        --brand: #ffd000;
        /* your yellow */
      }

      /* Page header */
      .wptb-page-heading {
        background-size: cover;
        background-position: center;
        padding: clamp(3rem, 6vw, 6rem) 0;
        color: #fff;
      }

      .wptb-breadcrumb {
        gap: .5rem;
      }

      /* Section container */
      .wptb-faq-one {
        padding: clamp(2.5rem, 5vw, 5rem) 0;
        background: var(--bg-1);
        color: var(--text);
      }

      .wptb-faq-one .container {
        max-width: var(--faq-max);
      }

      /* Titles */
      .wptb-item--subtitle {
        letter-spacing: .08em;
        color: var(--brand);
        font-weight: 700;
        margin-bottom: .5rem;
        text-transform: uppercase;
      }

      .wptb-item--title {
        font-size: clamp(1.5rem, 2.4vw, 2.5rem);
        line-height: 1.2;
        margin: 0 0 var(--space-2);
      }

      .wptb-item--description {
        color: var(--muted);
        font-size: clamp(.95rem, 1.2vw, 1.05rem);
        margin: 0 auto var(--space-4);
        text-align: center;
      }

      /* ---------- Accordion ---------- */
      .wptb-accordion {
        display: grid;
        gap: var(--space-2);
      }

      .wptb-accordion .wptb--item {
        background: var(--bg-2);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        overflow: hidden;
      }

      /* clickable header (button for a11y) */
      .wptb-item-title {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-2);
        text-align: left;
        padding: clamp(.9rem, 1.5vw, 1.1rem) var(--space-3);
        font-weight: 700;
        color: var(--text);
        background: transparent;
        border: 0;
        outline: none;
        cursor: pointer;
      }

      .wptb-item-title .wptb-item--number {
        color: var(--brand);
        margin-right: .5rem;
      }

      .wptb-item-title i {
        transition: transform .25s ease;
        font-size: 1rem;
        flex: 0 0 auto;
      }

      /* content */
      .wptb-item--content {
        display: none;
        padding: 0 var(--space-3) var(--space-3);
        color: var(--muted);
        font-size: 1rem;
        line-height: 1.7;
      }

      .wptb-item--content ul {
        padding-left: 1.1rem;
        margin-top: .25rem;
      }

      .wptb-item--content li {
        margin-bottom: .35rem;
      }

      /* open state */
      .wptb--item.is-open .wptb-item--content {
        display: block;
      }

      .wptb--item.is-open .wptb-item-title i {
        transform: rotate(180deg);
      }

      /* focus & hover */
      .wptb-item-title:focus-visible {
        box-shadow: inset 0 0 0 2px var(--brand);
        border-radius: inherit;
      }

      .wptb-item-title:hover {
        background: #171717;
      }

      /* ---------- Layout tweaks by breakpoint ---------- */
      @media (max-width: 991.98px) {
        .wptb-item--description {
          padding: 0 var(--space-2);
        }
      }

      @media (max-width: 575.98px) {
        .wptb-item-title {
          padding: .9rem var(--space-2);
          font-size: .98rem;
        }

        .wptb-item--content {
          padding: 0 var(--space-2) var(--space-2);
          font-size: .95rem;
        }

        .wptb-item--title {
          font-size: 1.5rem;
        }

        .wptb-page-heading {
          padding: 2.75rem 0;
        }
      }

      /* ---------- Optional: smooth collapse animation (no layout shift) ---------- */
      .wptb-accordion .wptb--item.animating .wptb-item--content {
        display: block;
        overflow: hidden;
        height: 0;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
      }

/* Extracted style block */

/* =========================================================
         Franchise FAQ content update — professional refinements
         ========================================================= */

      :root {
        --radius: 4px;
        --faq-max: 1180px;
      }

      .wptb-page-heading {
        min-height: 300px;
        display: flex;
        align-items: center;
      }

      .wptb-faq-one {
        padding-top: 82px;
        padding-bottom: 84px;
      }

      .wptb-heading {
        max-width: 920px;
        margin: 0 auto 46px;
        text-align: center;
      }

      .wptb-item--subtitle {
        font-size: .78rem;
        letter-spacing: .14em;
      }

      .wptb-heading .wptb-item--title {
        font-size: clamp(2rem, 4vw, 3.7rem);
        line-height: 1.08;
        text-wrap: balance;
      }

      .wptb-item--description {
        max-width: 820px;
        line-height: 1.8;
      }

      /* New H2 overview */
      .faq-overview {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: var(--faq-max);
        margin: 0 auto 58px;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }

      .faq-overview-item {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 20px;
        padding: 32px 30px 36px;
      }

      .faq-overview-item + .faq-overview-item {
        border-left: 1px solid var(--line);
      }

      .faq-overview-no {
        color: var(--brand);
        font-size: .78rem;
        font-weight: 800;
        letter-spacing: .1em;
        padding-top: 7px;
      }

      .faq-overview-item h2 {
        margin: 0 0 12px;
        color: #fff;
        font-size: clamp(1.45rem, 2vw, 2rem);
        line-height: 1.2;
      }

      .faq-overview-item p {
        margin: 0;
        color: var(--muted);
        line-height: 1.78;
      }

      /* Accordion: flatter and more professional */
      .wptb-accordion {
        gap: 0;
        border-top: 1px solid var(--line);
      }

      .wptb-accordion .wptb--item {
        background: transparent;
        border: 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
      }

      .wptb-item-title {
        appearance: none;
        -webkit-appearance: none;
        font-family: inherit;
        font-size: .98rem;
        line-height: 1.5;
        padding: 19px 4px;
      }

      .wptb-item-title:hover {
        background: rgba(255,255,255,.025);
      }

      .wptb-item-title:focus-visible {
        box-shadow: inset 0 0 0 1px var(--brand);
        border-radius: 2px;
      }

      .wptb-item--content {
        max-width: 980px;
        padding: 0 48px 24px 48px;
        line-height: 1.8;
      }

      .wptb-item--number {
        display: inline-block;
        min-width: 46px;
      }

      /* CTA */
      .franchise-faq-cta {
        padding: 74px 0;
        background:
          linear-gradient(90deg, rgba(255,208,0,.08), transparent 36%),
          #101010;
        border-top: 1px solid var(--line);
      }

      .franchise-faq-cta-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 44px;
      }

      .faq-cta-kicker {
        display: block;
        margin-bottom: 10px;
        color: var(--brand);
        font-size: .78rem;
        font-weight: 800;
        letter-spacing: .13em;
        text-transform: uppercase;
      }

      .franchise-faq-cta h2 {
        margin: 0;
        color: #fff;
        font-size: clamp(1.9rem, 3.5vw, 3rem);
        line-height: 1.1;
      }

      .franchise-faq-cta p {
        max-width: 760px;
        margin: 14px 0 0;
        color: var(--muted);
        line-height: 1.75;
      }

      .faq-cta-btn {
        flex: 0 0 auto;
        display: inline-flex;
        min-height: 50px;
        align-items: center;
        justify-content: center;
        padding: 0 22px;
        border: 1px solid var(--brand);
        border-radius: 2px;
        background: var(--brand);
        color: #080808 !important;
        text-decoration: none !important;
        font-size: .8rem;
        font-weight: 900;
        letter-spacing: .04em;
        text-transform: uppercase;
        transition: background .2s ease, color .2s ease;
      }

      .faq-cta-btn:hover {
        background: transparent;
        color: var(--brand) !important;
      }

      @media (max-width: 800px) {
        .faq-overview {
          grid-template-columns: 1fr;
        }

        .faq-overview-item + .faq-overview-item {
          border-left: 0;
          border-top: 1px solid var(--line);
        }

        .franchise-faq-cta-inner {
          flex-direction: column;
          align-items: flex-start;
        }
      }

      @media (max-width: 575px) {
        .wptb-faq-one {
          padding-top: 62px;
          padding-bottom: 62px;
        }

        .faq-overview-item {
          grid-template-columns: 36px minmax(0, 1fr);
          padding: 26px 0;
        }

        .wptb-item--content {
          padding-left: 0;
          padding-right: 30px;
        }

        .faq-cta-btn {
          width: 100%;
        }
      }
