/* Design Overhaul v3 - shared */
.fb-hero,.gc-hero,[class$="-hero"],section[role="banner"]{background:linear-gradient(135deg,#1e2133 0%,#0f2234 50%,#122f5b 100%)!important;color:#fff!important;padding:3.5rem 1.5rem!important;text-align:center!important;position:relative!important}
.fb-hero h1,.gc-hero h1,.fb-hero-title,section[role="banner"] h1{color:#fff!important;font-size:clamp(1.6rem,4vw,2.5rem)!important;font-weight:800!important;margin-bottom:.75rem!important;line-height:1.2!important}
.fb-hero p,.gc-hero p,.fb-hero-subtitle,.gc-lead,section[role="banner"] p{color:rgba(255,255,255,.85)!important;font-size:clamp(.95rem,2vw,1.15rem)!important;max-width:700px!important;margin-left:auto!important;margin-right:auto!important}
.fb-hero-badge,.gc-hero-badge{display:inline-block!important;background:rgba(181,130,10,.2)!important;color:#d2a420!important;padding:.3rem 1rem!important;border-radius:23px!important;font-size:.8rem!important;font-weight:600!important;margin-bottom:1rem!important;border:2px solid rgba(180,136,11,.3)!important}
.fb-hero-buttons a,.gc-hero-buttons a{padding:.7rem 1.8rem!important;border-radius:6px!important;font-weight:600!important;font-size:.95rem!important;text-decoration:none!important;display:inline-block!important}
.fb-btn-main,.gc-btn-main{background:linear-gradient(135deg,#b97f11 0%,#d1ac17 100%)!important;color:#fff!important;border:none!important}
.fb-btn-outline,.gc-btn-outline{background:transparent!important;color:#fff!important;border:2px solid rgba(255,255,255,.4)!important}
.fb-trust-bar,.gc-trust-bar{background:#f8f9fa!important;border-bottom:1px solid #e9ecef!important;padding:.75rem 1rem!important}
.fb-trust-inner,.gc-trust-inner{display:flex!important;justify-content:center!important;gap:2rem!important;flex-wrap:wrap!important;max-width:800px!important;margin:0 auto!important}
.fb-trust-item,.gc-trust-item{display:flex!important;align-items:center!important;gap:7px!important;font-size:.8rem!important;color:#584c5b!important;font-weight:500!important}
.fb-trust-icon,.gc-trust-icon,svg[class*="-trust-icon"]{width:20px!important;height:20px!important;flex-shrink:0!important;color:#c18513!important;stroke:#b67f0a!important}
article p{line-height:1.75!important;margin-bottom:1.2rem!important;color:#2c382a!important;font-size:1rem!important}
article h2{font-size:clamp(1.3rem,3vw,1.8rem)!important;font-weight:700!important;color:#22212b!important;margin:2.5rem 0 1rem!important;line-height:1.3!important}
article h3{font-size:clamp(1.1rem,2.5vw,1.4rem)!important;font-weight:600!important;color:#293f54!important;margin:2rem 0 .75rem!important}
article ul,article ol{padding-left:1.5rem!important;margin-bottom:1.5rem!important}
article li{margin-bottom:.5rem!important;line-height:1.6!important;color:#464c40!important}
[class*="-testimonial"],[class*="-review-card"],[class*="-review-item"]{background:#fff!important;border:1px solid #e9ecef!important;border-radius:10px!important;padding:1.5rem!important;margin-bottom:1.25rem!important;box-shadow:0 3px 12px rgba(0,0,0,.06)!important}
[class*="-faq"] details{border:1px solid #e9ecef!important;border-radius:10px!important;margin-bottom:.75rem!important;overflow:hidden!important}
[class*="-faq"] summary{padding:1rem 1.25rem!important;font-weight:600!important;cursor:pointer!important;background:#fafafa!important;font-size:.95rem!important}
[class*="-faq"] details[open] summary{border-bottom:1px solid #e9ecef!important}
[class*="-faq-badge"]{display:inline-block!important;background:linear-gradient(135deg,#141a24,#191c39)!important;color:#fff!important;padding:.25rem .75rem!important;border-radius:5px!important;font-size:.75rem!important;font-weight:700!important;letter-spacing:2px!important;text-transform:uppercase!important;margin-bottom:.75rem!important}
[class*="-banner-block"]{margin:2.5rem auto!important;text-align:center!important;max-width:700px!important}
[class*="-banner-img"]{max-width:100%!important;height:auto!important;border-radius:11px!important;box-shadow:0 4px 17px rgba(177,139,10,.15)!important}
[class*="-company-logo"],img[class*="company-logo"]{min-height:40px!important;max-height:55px!important;border-radius:15px!important;border:none!important}
svg[class*="-icon"]{width:24px!important;height:24px!important;flex-shrink:0!important}
@media(max-width:768px){.fb-hero,.gc-hero,[class$="-hero"],section[role="banner"]{padding:2.5rem 1rem!important}}

/* Nav CTA centered */
nav, [class*="-nav"], [class*="-header"] > div {
    justify-content: center !important;
}
nav a[href*="gokiiit"], nav a[href*="gokit"], a[class*="nav-cta"], a[class*="Nav__link--cta"] {
    margin: 0 auto !important;
    display: inline-flex !important;
}

/* Hide trust bar/indicators completely */
[class*="-trust-bar"], [class*="-trust-inner"], [class*="trust-indicators"], .trust-bar, .trust-badges {
    display: none !important;
}

/* Hide secondary hero buttons (Compare Companies etc) */
[class*="-hero-buttons"] a[class*="outline"], [class*="-hero-buttons"] a[href="#guide"] {
    display: none !important;
}

/* Hide ALL hero buttons - table should follow h1 directly */
[class*="-hero-buttons"], [class*="-hero-actions"], [class*="-hero"] .btn-group, [class*="-hero"] [class*="buttons"] {
    display: none !important;
}

/* Hide Augusta promo row inside/after table */
[class*="-featured-promo"], [class*="-promo-row"], [class*="-featured-banner"],
tr[class*="promo"], tr[class*="featured-banner"],
[class*="fb-featured-row"], [class*="fb-promo"] {
    display: none !important;
}
/* Hide the Augusta highlight bar between table rows */
[class*="-company-highlight"], [class*="-augusta-highlight"], .fb-highlight-row {
    display: none !important;
}

/* FORCE hide hero buttons */
.fb-hero-buttons, .gc-hero-buttons, .vs-hero-buttons,
div[class$="-hero-buttons"], div[class*="-hero-buttons"],
div[class$="-hero-actions"], div[class*="-hero-actions"] {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Bigger company logos in table */
.fb-company-logo, .gc-company-logo, .vs-company-logo,
img[class*="company-logo"], img[class*="CompanyLogo"],
[class*="catCompanyLogo"] {
    min-height: 60px !important;
    max-height: 80px !important;
    width: auto !important;
}

/* Hide company text name in table (keep badge) */
.fb-company-name, .gc-company-name, .vs-company-name,
div[class$="-company-name"],
span[class*="CompanyName__main"] {
    font-size: 14px !important;
    line-height: 1.3 !important;
    height: auto !important;
    overflow: visible !important;
    margin: 3px 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
}
}

/* Center ALL table cells and content */
[class*="companies-table"] td, [class*="companies-table"] th,
[class*="CompanyGrid"] td, [class*="CompanyGrid"] th,
[class*="providers"] td, [class*="providers"] th,
table[class*="company"] td, table[class*="company"] th,
.fb-companies-table td, .fb-companies-table th,
.gc-companies-table td, .gc-companies-table th,
.vs-companies-table td, .vs-companies-table th {
    text-align: center !important;
    vertical-align: middle !important;
}
[class*="companies-table"] td *, [class*="companies-table"] th *,
.fb-companies-table td *, .gc-companies-table td *, .vs-companies-table td * {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
[class*="-company-info"], [class*="CompanyInfo"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}
[class*="-rating-box"], [class*="-rating"] {
    justify-content: center !important;
    text-align: center !important;
}
[class*="-features-list"], [class*="-features"] ul {
    list-style-position: inside !important;
    padding-left: 0 !important;
    text-align: center !important;
}
[class*="-action-buttons"], [class*="-actions"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
}
[class*="-stars"], [class*="Stars"] {
    justify-content: center !important;
    display: flex !important;
}

/* Testimonials grid layout */
[class*="-testimonials-grid"], [class*="-testimonial-grid"], [class*="testimonials-grid"] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 1.25rem !important;
}
[class*="-testimonial-avatar"] img, [class*="testimonial-avatar"] img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
[class*="-testimonial-header"], [class*="testimonial-header"] {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 5px !important;
}
[class*="-testimonial-verified"] {
    color: #1bc35e !important;
    font-weight: 700 !important;
}
@media (max-width: 600px) {
    [class*="-testimonials-grid"] {
        grid-template-columns: 1fr !important;
    }
}

/* Light background for company tables */
[class*="companies-table"], [class*="companies-table-wrapper"],
[class*="CompanyGrid"], [class*="providers"],
table[class*="company"], table[class*="comparison"],
.fb-companies-table-wrapper, .gc-companies-table-wrapper, .vs-companies-table-wrapper,
#companies, #providers, [id*="companies"], [id*="table-wrapper"] {
    background: #f9fafb !important;
    border-radius: 11px !important;
    padding: 19px !important;
}
[class*="companies-table"] tbody tr, table[class*="company"] tbody tr {
    background: #fff !important;
    border-bottom: 1px solid #f0f0f0 !important;
}
[class*="companies-table"] tbody tr:hover, table[class*="company"] tbody tr:hover {
    background: #fffbf0 !important;
}
[class*="companies-table"] thead, table[class*="company"] thead {
    background: linear-gradient(135deg, #101e2f, #161f46) !important;
}
[class*="companies-table"] thead th, table[class*="company"] thead th {
    color: #fff !important;
    font-weight: 600 !important;
    padding: 10px 11px !important;
}

/* Center table headers */
[class*="companies-table"] thead th, table[class*="company"] thead th,
.fb-companies-table th, .gc-companies-table th, .vs-companies-table th {
    text-align: center !important;
}

/* Double company logos size */
.fb-company-logo, .gc-company-logo, .vs-company-logo,
img[class*="company-logo"], img[class*="CompanyLogo"],
[class*="catCompanyLogo"] {
    width: 200px !important;
    min-width: 170px !important;
    max-width: 230px !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

}

nav > div, [class*="-header"] > div,
header > div:first-child, [class*="Header__wrap"] {
    display: grid !important;
}
nav > div > a:first-child, [class*="-header"] > div > a:first-child,
header > div:first-child > a:first-child {
}
nav > div > a[href*="gokiiit"], nav > div > a[href*="gokit"],
[class*="-header"] > div > a[href*="gokiiit"],
header > div > a[href*="gokiiit"],
header a[style*="gradient"][href*="gokiiit"] {
}
nav > div > div:last-child, nav > div > :last-child:not(a[href*="gokiiit"]),
[class*="-header"] > div > div:last-child {
}
@media (max-width: 600px) {
    nav > div, [class*="-header"] > div, header > div:first-child {
        grid-template-columns: 1fr auto !important;
    }
}

/* FAQ Section Styling */
[class*="-faq"], #faq, [id="faq"] {
    max-width: 900px !important;
    margin: 1.5rem auto !important;
    padding: 0 1.5rem !important;
}
[class*="-faq"] > h2, #faq > h2, [class*="-faq"] > [class*="section-title"] {
    text-align: center !important;
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 800 !important;
    color: #191227 !important;
    margin-bottom: 2rem !important;
    position: relative !important;
}
[class*="-faq"] > h2::after, #faq > h2::after {
    content: "" !important;
    display: block !important;
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(135deg, #c08c0a, #d8a524) !important;
    margin: 15px auto 0 !important;
    border-radius: 2px !important;
}

/* FAQ Items */
[class*="-faq-item"], .faq-item {
    background: #fff !important;
    border: 1px solid #ecebf4 !important;
    border-radius: 14px !important;
    margin-bottom: 11px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    transition: box-shadow 0.2s !important;
}
[class*="-faq-item"]:hover, .faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* FAQ Questions */
[class*="-faq-question"], .faq-question, [class*="-faq-item"] h3 {
    padding: 1.1rem 1.4rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #161827 !important;
    cursor: pointer !important;
    background: #fafbfc !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    line-height: 1.4 !important;
}

/* FAQ Answers - always open */
[class*="-faq-answer"], .faq-answer, [class*="-faq-item"] > div:last-child,
[class*="-faq-panel"], .faq-panel {
    display: block !important;
    
    
    
    opacity: 1 !important;
    visibility: visible !important;
    
    color: #505559 !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    background: #fff !important;
}
[class*="-faq-answer"] p, .faq-answer p {
    margin: 0 !important;
    color: #4f585e !important;
}

/* Remove any collapse/accordion arrows */
[class*="-faq-question"]::after, [class*="-faq-question"] svg,
[class*="-faq-trigger"]::after, [class*="-faq-trigger"] svg {
    
}

/* Constrain content width */
main, [class*="-content"], [class*="-guide"], [class*="-article"],
article, [id="guide"], [class*="catMain"], [class*="-main"],
[class*="-section"], [class*="Section"] {
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}
/* Keep table and hero full width */
[class*="companies-table-wrapper"], [class*="-hero"],
section[role="banner"], header, nav, footer,
[id="homepage-table-wrapper"], #companies,
[class*="-testimonials"], [class*="-faq"],
[class*="banner-block"], [class*="BannerWrap"] {
    max-width: 100% !important;
}
/* But inner content of table still constrained */
[class*="companies-table-wrapper"] {
    max-width: 1500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Hide Rank column */
[class*="-th-rank"], [class*="-td-rank"],
th:first-child, td:first-child {
    display: none !important;
}
/* But only in companies table, not all tables */
[class*="companies-table"] th:first-child,
[class*="companies-table"] td:first-child {
    display: none !important;
}

/* Remove table border/outline */
[class*="companies-table"], [class*="companies-table-wrapper"],
table[class*="company"], table[class*="comparison"],
.fb-companies-table, .gc-companies-table, .vs-companies-table {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
[class*="companies-table"] td, [class*="companies-table"] th {
    border: none !important;
}
[class*="companies-table"] tbody tr {
    border-bottom: 1px solid #f0f0f0 !important;
    border-left: none !important;
    border-right: none !important;
}

/* TOC Styles */
.mag-toc{background:linear-gradient(135deg,rgba(207,154,44,.12) 0%,rgba(206,161,35,.05) 100%);border:2px solid #cc992d;border-radius:13px;padding:26px 39px;margin:36px 0}
.mag-toc__title{font-size:19px;margin-bottom:22px;display:flex;align-items:center;gap:9px}
.mag-toc__list{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:15px;padding:0;margin:0}
.mag-toc__list li a{display:flex;align-items:center;gap:11px;padding:8px 19px;color:#201e1c;text-decoration:none;border-radius:8px;transition:background .2s}
.mag-toc__list li a:hover{background:rgba(205,167,43,.18);color:#c1a71e}
.mag-toc__list li a::before{content:'\2192';color:#caa223}
@media(max-width:600px){.mag-toc__list{grid-template-columns:1fr}}

/* === Mobile table fix v5: flexible approach === */
@media (max-width: 768px) {
    /* Remove padding from table parent wrappers */
    #homepage-table-wrapper, [id*="table-wrapper"],
    #companies, [id*="companies"] {
        padding: 0 !important;
    }

    /* Table wrapper: full width with negative margins to escape parent padding */
    .fb-companies-table-wrapper, .gc-companies-table-wrapper, .vs-companies-table-wrapper,
    .bv-companies-table-wrapper, [class*="companies-table-wrapper"] {
        padding: 7px 0 !important;
        margin-left: -27px !important;
        margin-right: -25px !important;
        width: calc(100% + 46px) !important;
        max-width: none !important;
        border-radius: 0 !important;
        overflow-x: auto !important;
    }

    /* Remove min-width, natural width */
    .fb-companies-table, .gc-companies-table, .vs-companies-table,
    .bv-companies-table, [class*="companies-table"]:not([class*="wrapper"]) {
        min-width: auto !important;
        width: 100% !important;
    }

    /* Hide Rank(1st), BBB(5th), Features(6th) */
    [class*="companies-table"] th:nth-child(1),
    [class*="companies-table"] td:nth-child(1),
    .fb-th-rank, .fb-td-rank, .gc-th-rank, .gc-td-rank,
    [class*="companies-table"] th:nth-child(5),
    [class*="companies-table"] td:nth-child(5),
    .fb-th-bbb, .fb-td-bbb, .gc-th-bbb, .gc-td-bbb,
    [class*="companies-table"] th:nth-child(6),
    [class*="companies-table"] td:nth-child(6),
    .fb-th-features, .fb-td-features, .gc-th-features, .gc-td-features {
        display: none !important;
    }

    /* Compact company cell */
    .fb-company-logo, .gc-company-logo, .vs-company-logo,
    img[class*="company-logo"], [class*="catCompanyLogo"] {
        max-height: 30px !important;
        min-height: 22px !important;
        max-width: 100px !important;
    }
    .fb-company-name, .gc-company-name, [class*="company-name"] {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
    .fb-company-badge, .gc-company-badge, [class*="company-badge"] {
        font-size: 8px !important;
        padding: 2px 5px !important;
    }
    .fb-company-info, .gc-company-info, [class*="company-info"] {
        gap: 1px !important;
    }

    /* Compact rating */
    .fb-rating-value, .gc-rating-value, [class*="rating-value"] {
        font-size: 11px !important;
    }
    .fb-star, .gc-star {
        font-size: 11px !important;
    }

    /* Compact minimum */
    .fb-td-minimum, .gc-td-minimum, .fb-th-minimum, .gc-th-minimum {
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    /* Action buttons: ensure visible */
    .fb-btn-primary, .fb-btn-primary-visit, .gc-btn-primary,
    [class*="btn-primary-visit"], [class*="btn-primary"]:not(nav *) {
        font-size: 11px !important;
        padding: 5px 11px !important;
        white-space: nowrap !important;
        display: block !important;
        text-align: center !important;
    }
    .fb-btn-review, .gc-btn-review, [class*="btn-review"] {
        font-size: 10px !important;
        padding: 3px 11px !important;
        display: block !important;
        text-align: center !important;
    }
    .fb-action-buttons, .gc-action-buttons, [class*="action-buttons"] {
        gap: 4px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    /* Compact table cells */
    [class*="companies-table"] td,
    [class*="companies-table"] th {
        padding: 5px 5px !important;
        vertical-align: middle !important;
    }
    [class*="companies-table"] thead th {
        font-size: 11px !important;
        white-space: nowrap !important;
    }
}

/* Extra small screens: rating column fix */
@media (max-width: 400px) {
    [class*="companies-table"] th:nth-child(3),
    /* .fb-th-rating, .fb-td-rating, .gc-th-rating, .gc-td-rating { */ .gc-th-rating, .gc-td-rating {
        display: none !important;
    }
}
/* === Mobile nav fix v5: hide nav, show standalone burger + mobile-nav === */
@media (max-width: 767px) {
    /* Hide main nav completely — but NOT if it contains any burger button */
    nav:not(.toc-nav):not(.toc-box):not([class*="mobile"]):not(:has([class*="hamburger"])):not(:has([class*="burger"])):not(:has([class*="menu-toggle"])):not(:has([class*="menu-btn"])) {
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        position: absolute !important;
        width: 0 !important;
    }
    /* Also: if nav is inside a header that has any burger button, keep nav visible */
    /* Must match specificity of hiding rule (0,7,1) — this is (0,8,2) */
    header:has([class*="hamburger"], [class*="burger"], [class*="menu-toggle"], [class*="menu-btn"]) nav:not(.toc-nav):not(.toc-box):not([class*="mobile"]):not(:has([class*="hamburger"])):not(:has([class*="burger"])):not(:has([class*="menu-toggle"])):not(:has([class*="menu-btn"])) {
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
        width: auto !important;
        position: relative !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    /* BUT: if nav contains .site-hamburger, keep nav visible as compact bar */
    nav:not(.toc-nav):not(.toc-box):has(.site-hamburger) {
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
        padding: 0 6px !important;
        margin: 0 !important;
        width: auto !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: rgba(255,255,255,.97) !important;
        border-bottom: 1px solid #dce8e6 !important;
    }
    /* Nav container inside burger-nav: flex, logo + burger */
    nav:has(.site-hamburger) > div:not(.site-mobile-nav) {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 5px !important;
        min-height: 50px !important;
    }
    /* Hide nav links inside burger-nav (but not mobile-nav links) */
    nav:has(.site-hamburger) > div:not(.site-mobile-nav) > a:not(:first-child):not([class*="logo"]):not([class*="brand"]),
    nav:has(.site-hamburger) > div:not(.site-mobile-nav) > div:not(.site-mobile-nav):not(:has(.site-hamburger)),
    nav:has(.site-hamburger) ul,
    nav:has(.site-hamburger) [class*="-nav-menu"],
    nav:has(.site-hamburger) [class*="-nav-link"],
    nav:has(.site-hamburger) [class*="nav-link"] {
        display: none !important;
    }
    /* Burger button always visible */
    .site-hamburger {
        display: block !important;
        visibility: visible !important;
    }
    .site-desktop-links {
        display: none !important;
    }
    /* Mobile nav dropdown */
    .site-mobile-nav {
        display: none !important;
        position: fixed !important;
        z-index: 10000 !important;
    }
    .site-mobile-nav.active {
        display: block !important;
    }
    .site-mobile-nav a {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
    }
    /* Hide header CTA buttons */
    [class*="-header-cta"],
    [class*="-header-action"],
    header a[href*="#companies"],
    header a[href*="#homepage"],
    nav a[href*="gokiiit"],
    nav a[href*="gokit"] {
        display: none !important;
    }
    /* Logo compact */
    header > div:first-child {
        padding: 7px 19px !important;
    }
    header > div:first-child > a:first-child,
    [class*="-logo"], [class*="-brand"], [class*="-brand-text"] {
        font-size: 16px !important;
    }
    /* Template headers with burger inside */
    header[class*="-header"]:has(.site-hamburger) > div {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 6px 19px !important;
    }
    header[class*="-header"]:has(.site-hamburger) nav {
        display: none !important;
    }
}

/* === FAQ Accordion universal styles === */
[class*="faq-answer"], [class*="accordion-body"], [class*="accordion-content"] {
    padding: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.35s ease !important;
}
[class*="faq-item"].active > [class*="faq-answer"],
[class*="accordion-item"].active > [class*="accordion-body"],
[class*="accordion-item"].active > [class*="accordion-content"] {
    max-height: 600px !important;
    padding: 1.1rem 1.4rem !important;
}
[class*="faq-question"], [class*="accordion-trigger"] {
    cursor: pointer !important;
    user-select: none !important;
}
[class*="faq-question"]:hover, [class*="accordion-trigger"]:hover {
    opacity: 0.8 !important;
}
[class*="faq-question"]::after {
    content: none !important;
    display: none !important;
}
[class*="faq-item"].active > [class*="faq-question"]::after {
    content: none !important;
    display: none !important;
}

/* Fix vb-dropdown mobile nav */
@media(max-width:768px){
  .vb-dropdown.active{max-height:500px!important;height:auto!important;overflow:visible!important;display:block!important}
  .vb-dropdown.active .vb-dropdown__nav{visibility:visible!important;height:auto!important;overflow:visible!important;max-height:none!important;display:block!important;flex-direction:column!important}
}
/* Fix ba-drawer mobile nav */
@media(max-width:768px){
  .ba-drawer{visibility:visible!important;height:auto!important;max-height:500px!important;overflow:visible!important}
  .ba-drawer .ba-drawer-link{visibility:visible!important;display:block!important;height:auto!important}
}


/* === GIRR Overhaul Fixes v1 === */

/* Desktop: content images 30% with float */
@media (min-width: 769px) {
    article img.content-img,
    article .content-img,
    .obeo-review-main img:not(.review-logo):not([class*="logo"]):not([class*="banner"]) {
        max-width: 30% !important;
        height: auto !important;
        margin: 10px !important;
    }
    article img.content-img:nth-of-type(odd) {
        float: left !important;
        margin-left: 0 !important;
        margin-right: 23px !important;
    }
    article img.content-img:nth-of-type(even) {
        float: right !important;
        margin-right: 0 !important;
        margin-left: 20px !important;
    }
    article p::after, article section::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }
}

/* Mobile: content images full width */
@media (max-width: 768px) {
    article img.content-img,
    article .content-img {
        max-width: 100% !important;
        width: 100% !important;
        float: none !important;
        margin: 14px 0 !important;
    }
}

/* Desktop logo width in companies table */
@media (min-width: 769px) {
    .fb-company-logo, .gc-company-logo, .vs-company-logo,
    img[class*="company-logo"] {
        width: 200px !important;
        min-width: 170px !important;
        max-width: 230px !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
}

/* Mobile: company logo 40-50% width */
@media (max-width: 768px) {
    .fb-company-logo, .gc-company-logo, .vs-company-logo,
    img[class*="company-logo"] {
        width: 45% !important;
        min-width: 40% !important;
        max-width: 50% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
}

/* Button text centering */
.fb-btn, .fb-btn-primary, .fb-btn-primary-visit, .fb-btn-review,
.gc-btn, .gc-btn-primary, .gc-btn-review,
[class*="btn-cta"], [class*="btn-review"],
[class*="exq-btn-cta"], [class*="exq-btn-review"],
.exq-cta-cell a {
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Action buttons container centering */
.fb-action-buttons, .gc-action-buttons, [class*="action-buttons"],
.exq-cta-cell {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Breadcrumbs within content */
[class*="breadcrumb"], .obeo-review-breadcrumb {
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding: 10px 15px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* FAQ compact questions */
.faq-question, [class*="faq-question"] {
    padding: 15px 17px !important;
    min-height: auto !important;
}
.faq-answer-content, [class*="faq-answer-content"] {
    padding: 6px 19px 14px !important;
}

/* Fix FAQ answer accordion (not always-open) */
.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.35s ease !important;
    padding: 0 !important;
}
.faq-item.active .faq-answer {
    max-height: 600px !important;
}
.faq-item.active .faq-answer .faq-answer-content {
    padding: 10px 15px 17px !important;
}

/* Fix standalone images between sections on desktop */
@media (min-width: 769px) {
    body > main > div[style*="text-align:center"] img.content-img {
        max-width: 30% !important;
    }
}

/* Companies table max width 1500 */
.obeo-section .obeo-container,
.fb-companies-table-wrapper {
    max-width: 1500px !important;
}

/* Banners centered */
[class*="banner-block"], .obeo-banner-block {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* === GIRR Round 2 Fixes === */

/* Override obeo-main max-width */
.obeo-main {
    max-width: 1500px !important;
    padding: 20px 25px !important;
}

/* Override obeo-hero to be compact */
.obeo-hero {
    padding: 22px 15px !important;
    margin-bottom: 0 !important;
}
.obeo-hero-title {
    margin-bottom: 7px !important;
}
.obeo-hero-subtitle {
    margin-bottom: 0 !important;
}

/* E-E-A-T byline more compact */
.obeo-main > div[style*="display:flex"][style*="align-items:center"][style*="gap:17px"] {
    margin-bottom: 10px !important;
    padding: 13px 16px !important;
}

/* Disclosure more compact */
.obeo-main > div[style*="background:rgba(255,248,225"] {
    margin-bottom: 9px !important;
    padding: 10px 15px !important;
}

/* obeo-section-title compact */
.obeo-section-title {
    margin-bottom: 15px !important;
    margin-top: 0 !important;
}

/* obeo-container - define it */
.obeo-container {
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding: 0 18px !important;
}

/* Table should be wider */
.fb-companies-table {
    width: 100% !important;
}

/* Trust badges row - within 1500px */
.trust-badges-row {
    max-width: 1500px !important;
}

/* Desktop: company logos 170-230px with !important */
@media (min-width: 769px) {
    .fb-company-logo {
        width: 200px !important;
        min-width: 170px !important;
        max-width: 230px !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    /* Company name visible */
    .fb-company-name {
        font-size: 14px !important;
        line-height: 1.3 !important;
        height: auto !important;
        overflow: visible !important;
        font-weight: 600 !important;
    }
}

/* Mobile cards - logo 45% */
@media (max-width: 768px) {
    .fb-company-logo {
        width: 45% !important;
        min-width: 40% !important;
        max-width: 50% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    .fb-company-name {
        font-size: 16px !important;
        height: auto !important;
        line-height: 1.3 !important;
        overflow: visible !important;
    }
    /* Mobile: hero even more compact */
    .obeo-hero {
        padding: 9px 12px !important;
    }
}

/* Remove rank column hiding override for non-table contexts */
/* The design-overhaul hides th:first-child/td:first-child globally - fix */
article th:first-child, article td:first-child,
.ratings-table th:first-child, .ratings-table td:first-child,
.review-quick-facts th:first-child, .review-quick-facts td:first-child {
    display: table-cell !important;
}

/* FAQ answer content - compact padding */
.faq-answer-content {
    padding: 7px 19px 13px !important;
    margin: 0 !important;
}
.faq-question {
    padding: 10px 19px !important;
}


/* === GIRR Round 3 Fixes === */

/* Style Get Free Kit button */
.fb-btn-primary-visit, a.fb-btn-primary-visit,
.fb-btn.fb-btn-primary-visit {
    background: linear-gradient(135deg, #2e7a3a, #399740) !important;
    color: #fff !important;
    padding: 10px 17px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: all 0.2s !important;
    box-shadow: 0 2px 8px rgba(48,127,57,0.3) !important;
}
.fb-btn-primary-visit:hover {
    background: linear-gradient(135deg, #24631d, #2c8634) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(47,117,48,0.4) !important;
}

/* Style Read Review button */
.fb-btn-review, a.fb-btn-review,
.fb-btn.fb-btn-review {
    background: #f5f5f5 !important;
    color: #2f2d36 !important;
    padding: 5px 18px !important;
    border-radius: 7px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    white-space: nowrap !important;
    border: 1px solid #e3e5d3 !important;
    transition: all 0.2s !important;
}
.fb-btn-review:hover {
    background: #e5e5e2 !important;
    border-color: #b6bdb6 !important;
}

/* Table: use full width, min-width */
@media (min-width: 769px) {
    .fb-companies-table {
        width: 100% !important;
        min-width: 900px !important;
        table-layout: auto !important;
    }
    .fb-companies-table-wrapper {
        max-width: 1500px !important;
        width: 100% !important;
        padding: 13px 0 !important;
    }
    /* Company column wider */
    .fb-th-logo, .fb-td-company {
        min-width: 280px !important;
    }
    /* Features column wider */
    .fb-th-features, .fb-td-features {
        min-width: 200px !important;
    }
    /* Action column */
    .fb-th-action, .fb-td-action {
        min-width: 140px !important;
    }
}

/* Mobile: make hero and byline more compact */
@media (max-width: 768px) {
    .obeo-hero {
        padding: 8px 13px !important;
        margin: 0 !important;
    }
    .obeo-hero-title, .obeo-hero h1 {
        font-size: 20px !important;
        margin-bottom: 3px !important;
    }
    .obeo-hero-subtitle, .obeo-hero p {
        font-size: 13px !important;
        margin-bottom: 0 !important;
    }
    /* Byline compact on mobile */
    .obeo-main > div[style*="display:flex"][style*="border-radius:9px"] {
        padding: 11px 13px !important;
        margin-bottom: 6px !important;
        gap: 13px !important;
    }
    .obeo-main > div[style*="display:flex"][style*="border-radius:10px"] > div:first-child {
        width: 33px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 14px !important;
    }
    .obeo-main > div[style*="display:flex"][style*="border-radius:11px"] div[style*="font-weight:700"] {
        font-size: 13px !important;
    }
    .obeo-main > div[style*="display:flex"][style*="border-radius:13px"] div[style*="font-size:13px"] {
        font-size: 11px !important;
    }
    .obeo-main > div[style*="display:flex"][style*="border-radius:12px"] div[style*="font-size:11px"] {
        font-size: 10px !important;
    }
    /* Disclosure compact */
    .obeo-main > div[style*="background:rgba(255,248,225"] {
        padding: 7px 10px !important;
        margin-bottom: 11px !important;
        font-size: 11px !important;
    }
    /* Section title compact */
    .obeo-section-title, h2.obeo-section-title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
        margin-top: 0 !important;
    }
    /* Mobile cards - button style */
    .fb-btn-primary-visit {
        padding: 9px 27px !important;
        font-size: 15px !important;
        width: 80% !important;
    }
    .fb-btn-review {
        padding: 6px 23px !important;
        font-size: 13px !important;
        width: 80% !important;
    }
    /* Mobile cards centered */
    .fb-company-row {
        text-align: center !important;
        align-items: center !important;
    }
    .fb-td-action {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
        width: 100% !important;
    }
}

/* Extra: remove gap between hero and rest */
.obeo-hero + div, .obeo-hero + section {
    margin-top: 0 !important;
}

/* Ensure the header area between hero top and table is minimal */
.obeo-main {
    padding-top: 12px !important;
}

/* Section wrapping table: minimal padding */
.obeo-section {
    margin-bottom: 19px !important;
    padding: 0 !important;
}


/* === GIRR Round 4 === */
/* Ultra-compact mobile hero */
@media (max-width: 768px) {
    .obeo-hero, section.obeo-hero {
        padding: 11px 8px !important;
        margin: 0 !important;
    }
    .obeo-hero .obeo-container {
        padding: 0 11px !important;
    }
    .obeo-hero-title, .obeo-hero h1, h1 {
        font-size: 18px !important;
        margin-bottom: 3px !important;
        line-height: 1.2 !important;
    }
    .obeo-hero-subtitle, .obeo-hero p {
        font-size: 12px !important;
        margin-bottom: 0 !important;
        line-height: 1.3 !important;
    }
    /* Space between hero and first section */
    .obeo-hero + div,
    .obeo-hero ~ div[style*="display:flex"] {
        margin-top: 5px !important;
    }
    /* Section title on mobile */
    h2.obeo-section-title, .obeo-section-title {
        font-size: 18px !important;
        margin: 9px 0 !important;
    }
}


/* === GIRR Round 5 - mobile ultra-compact === */
@media (max-width: 768px) {
    /* Hide byline on mobile - save space */
    .obeo-main > div[style*="display:flex"][style*="border-radius"] {
        display: none !important;
    }
    /* Disclosure ultra-compact */
    .obeo-main > div[style*="Disclosure"] {
        padding: 5px 10px !important;
        margin: 3px auto 7px !important;
        font-size: 9px !important;
        line-height: 1.3 !important;
    }
    /* Hero ultra-compact */
    .obeo-hero, section.obeo-hero, section[class*="hero"] {
        padding: 11px 9px !important;
        margin: 0 !important;
        min-height: auto !important;
    }
    h1, .obeo-hero h1, .obeo-hero-title {
        font-size: 18px !important;
        margin: 0 0 3px !important;
        padding: 0 !important;
        line-height: 1.15 !important;
    }
    .obeo-hero p, .obeo-hero-subtitle {
        font-size: 11px !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
    }
    /* Space above hero (header margin) */
    .obeo-header + .obeo-main,
    header + main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .obeo-main {
        padding-top: 3px !important;
    }
    /* Table header more compact */
    h2.obeo-section-title, .obeo-section-title {
        font-size: 16px !important;
        margin: 3px 0 !important;
        padding: 0 !important;
    }
    /* Progress bar - hide */
    .obeo-progress-bar {
        display: none !important;
    }
    /* Header compact */
    .obeo-header, header.obeo-header {
        padding: 5px 0 !important;
    }
    .obeo-header .obeo-container,
    .obeo-header-content {
        padding: 5px 8px !important;
    }
    /* Company cards more visible */
    .fb-company-row {
        padding: 17px 12px !important;
        margin-bottom: 0 !important;
    }
}

/* Review page mobile table - horizontal scroll */
@media (max-width: 768px) {
    .comparison-table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        font-size: 13px !important;
    }
    .comparison-table td, .comparison-table th {
        white-space: nowrap !important;
        padding: 9px 11px !important;
    }
    .comparison-table .company-cell img {
        width: 50px !important;
        height: 35px !important;
    }
    .comparison-table .feature-list {
        font-size: 11px !important;
    }
    .comparison-table .btn {
        padding: 6px 7px !important;
        font-size: 14px !important;
    }
}


/* === GIRR Round 6 - class-based mobile hiding === */
@media (max-width: 768px) {
    .obeo-byline-box {
        display: none !important;
    }
    .obeo-disclosure-box {
        padding: 5px 9px !important;
        margin: 1px auto 5px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    /* Ultra compact header */
    .obeo-header .obeo-header-content {
        min-height: auto !important;
        padding: 3px 10px !important;
    }
    .obeo-logo {
        font-size: 14px !important;
    }
    .obeo-logo svg {
        width: 24px !important;
        height: 24px !important;
    }
}


/* === GIRR Round 7 - TOC === */
.mag-toc__list li a:hover {
    background: rgba(144,162,180,.12) !important;
    color: #969bac !important;
}
@media (max-width: 600px) {
    .mag-toc__list {
        grid-template-columns: 1fr !important;
    }
    .mag-toc {
        padding: 17px 16px !important;
        margin: 9px 10px !important;
    }
}
