/* ==========================================================================
   BeautsGO Global Header ([bgo_header] shortcode)
   Enqueued sitewide via functions.php (priority 99, after TT5 global styles).
   Row 1 preserves live branding, nav, [meditrans_switcher], and CTA 1:1.
   Row 2 renders the 01 Headline Numbers Trust Bar (58px desktop / 44px mobile).
   ========================================================================== */

html {
    scroll-padding-top: 184px;
}

@media (max-width: 1100px) {
    html {
        scroll-padding-top: 120px;
    }
}

/* Sticky wrapper + backdrop surface */
.wp-site-blocks > header.wp-block-template-part:has(.backdrop-header) {
    position: sticky;
    top: calc(var(--meditrans-notif-h, 0px) + var(--wp-admin--admin-bar--position-offset, 0px));
    z-index: 50;
}

.wp-block-group.backdrop-header,
.backdrop-header {
    position: sticky;
    top: calc(var(--meditrans-notif-h, 0px) + var(--wp-admin--admin-bar--position-offset, 0px));
    z-index: 50;
    container-type: scroll-state;
    container-name: bgo-site-header;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0 clamp(20px, 4vw, 48px);
    background: rgba(250, 246, 243, 0.85);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.backdrop-header.is-scrolled {
    background: rgba(250, 246, 243, 0.96);
    box-shadow: 0 12px 30px -22px rgba(44, 36, 32, 0.25);
}

.backdrop-header p:empty,
.bgo-drawer p:empty,
.bgo-mega-inner > p:empty {
    display: none;
}

/* --- Left brand lockup (1:1 live TT5 block classes + fallbacks) --- */
.backdrop-header .bgo-brand-group {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.backdrop-header .wp-block-site-logo {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    line-height: 0;
}

.backdrop-header .wp-block-site-logo a {
    display: inline-block;
    border-radius: inherit;
}

.backdrop-header .wp-block-site-logo.is-default-size img {
    width: 120px;
    height: auto;
    display: block;
}

.backdrop-header .bgo-brand-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
}

.backdrop-header .wp-block-site-title {
    font-family: var(--wp--preset--font-family--baloo-thambi-2, "Baloo Thambi 2", system-ui);
    font-size: var(--wp--preset--font-size--x-large, clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 0.392), 2rem));
    font-weight: 700;
    line-height: 1.4;
    color: var(--wp--preset--color--custom-beauts-go-pink, #DC6495);
    margin: 0;
    padding: 0;
}

.backdrop-header .wp-block-site-title a {
    color: inherit;
    text-decoration: none;
}

.backdrop-header .wp-block-site-tagline {
    font-family: var(--wp--preset--font-family--baloo-thambi-2, "Baloo Thambi 2", system-ui);
    font-size: var(--wp--preset--font-size--large, clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.392), 1.375rem));
    font-weight: 300;
    line-height: 1.4;
    color: var(--wp--preset--color--custom-beauts-go-pink, #DC6495);
    margin: 0;
    padding: 0;
}

/* --- Right cluster --- */
.bgo-rcluster {
    --bgo-ink: #2C2420;
    --bgo-ink-2: #5A4D46;
    --bgo-ink-3: #8A7F78;
    --bgo-cream: #FAF6F3;
    --bgo-cream-2: #F3ECE5;
    --bgo-rose: #F6D5CF;
    --bgo-rose-2: #EFB8B0;
    --bgo-rose-ink: var(--wp--preset--color--custom-beauts-go-pink, #C94A6B);
    --bgo-line: rgba(44, 36, 32, 0.12);
    --bgo-line-2: rgba(44, 36, 32, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    color: var(--bgo-ink);
    font: 400 16px/1.5 -apple-system, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.bgo-rcluster *,
.bgo-rcluster *::before,
.bgo-rcluster *::after {
    box-sizing: border-box;
}

.bgo-rcluster a {
    color: inherit;
    text-decoration: none;
}

/* Primary nav */
.bgo-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bgo-nav-item {
    position: static;
    display: flex;
    align-items: center;
}

.bgo-nav-item.has-submenu {
    position: relative;
}

.bgo-nav-trigger {
    display: flex;
    align-items: center;
}

.bgo-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--bgo-ink);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -0.005em;
    padding: 8px 0;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    transition: color 0.2s ease;
}

.bgo-nav-link:hover,
.bgo-nav-link.is-active,
.bgo-nav-link[aria-current="page"],
.bgo-nav-item.is-open .bgo-nav-link {
    color: var(--bgo-rose-ink);
}

.bgo-nav-link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.bgo-nav-link .bgo-chev {
    width: 6px;
    height: 6px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
}

.bgo-nav-item.is-open .bgo-chev {
    transform: rotate(-135deg) translateY(0);
}

/* --- MediTrans language switcher (3-class-deep selectors to beat late switcher.css) --- */
.backdrop-header .meditrans-switcher--dropdown {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    line-height: 0;
}

.backdrop-header > .meditrans-switcher--dropdown {
    margin-left: auto;
}

.backdrop-header .meditrans-switcher--dropdown .meditrans-switcher__trigger {
    height: 40px;
    padding: 0 12px 0 13px;
    font-size: 0;
    line-height: 0;
    letter-spacing: 0;
    color: #FFFFFF;
    background: #DC6495;
    border: 1px solid #DC6495;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.backdrop-header .meditrans-switcher--dropdown .meditrans-switcher__trigger::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%23FFFFFF'%3E%3Cpath%20d='M12,24C5.4,24,0,18.6,0,12S5.4,0,12,0s12,5.4,12,12S18.6,24,12,24z%20M9.5,17c0.6,3.1,1.7,5,2.5,5s1.9-1.9,2.5-5H9.5z%20M16.6,17c-0.3,1.7-0.8,3.3-1.4,4.5c2.3-0.8,4.3-2.4,5.5-4.5H16.6z%20M3.3,17c1.2,2.1,3.2,3.7,5.5,4.5c-0.6-1.2-1.1-2.8-1.4-4.5H3.3z%20M16.9,15h4.7c0.2-0.9,0.4-2,0.4-3s-0.2-2.1-0.5-3h-4.7c0.2,1,0.2,2,0.2,3S17,14,16.9,15z%20M9.2,15h5.7c0.1-0.9,0.2-1.9,0.2-3S15,9.9,14.9,9H9.2C9.1,9.9,9,10.9,9,12C9,13.1,9.1,14.1,9.2,15z%20M2.5,15h4.7c-0.1-1-0.1-2-0.1-3s0-2,0.1-3H2.5C2.2,9.9,2,11,2,12S2.2,14.1,2.5,15z%20M16.6,7h4.1c-1.2-2.1-3.2-3.7-5.5-4.5C15.8,3.7,16.3,5.3,16.6,7z%20M9.5,7h5.1c-0.6-3.1-1.7-5-2.5-5C11.3,2,10.1,3.9,9.5,7z%20M3.3,7h4.1c0.3-1.7,0.8-3.3,1.4-4.5C6.5,3.3,4.6,4.9,3.3,7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.backdrop-header .meditrans-switcher--dropdown .meditrans-switcher__trigger::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 6px;
    border-right: 1.4px solid #FFFFFF;
    border-bottom: 1.4px solid #FFFFFF;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.backdrop-header .meditrans-switcher--dropdown .meditrans-switcher__trigger:hover,
.backdrop-header .meditrans-switcher--dropdown .meditrans-switcher__trigger[aria-expanded="true"] {
    background: #C94A6B;
    border-color: #C94A6B;
}

.backdrop-header .meditrans-switcher--dropdown .meditrans-switcher__trigger:hover {
    transform: translateY(-1px);
}

.backdrop-header .meditrans-switcher--dropdown .meditrans-switcher__trigger[aria-expanded="true"]::after {
    transform: rotate(-135deg) translateY(1px);
}

.backdrop-header .meditrans-switcher--dropdown .meditrans-switcher__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: auto;
    right: 0;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    border: 1px solid rgba(44, 36, 32, 0.12);
    border-radius: 14px;
    box-shadow: 0 24px 50px -22px rgba(44, 36, 32, 0.25);
    z-index: 60;
}

.backdrop-header .meditrans-switcher--dropdown .meditrans-switcher__dropdown a {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.4;
    color: #2C2420;
    letter-spacing: -0.005em;
    padding: 9px 14px;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.backdrop-header .meditrans-switcher--dropdown .meditrans-switcher__dropdown a:hover {
    background: rgba(44, 36, 32, 0.04);
    color: #C94A6B;
}

/* Primary outline CTA */
.bgo-cta-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.bgo-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 999px;
    background: transparent;
    color: var(--bgo-ink);
    border: 1px solid var(--bgo-ink);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.bgo-cta:hover {
    background: var(--bgo-ink);
    color: var(--bgo-cream);
    transform: translateY(-1px);
}

.bgo-cta svg {
    width: 13px;
    height: 9px;
    flex-shrink: 0;
}

/* Mobile burger button */
.bgo-burger-wrap {
    display: none;
    flex-shrink: 0;
}

.bgo-burger {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(44, 36, 32, 0.16);
    border-radius: 999px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bgo-ink, #2C2420);
}

.bgo-burger svg {
    width: 18px;
    height: 14px;
}

/* --- Explore Mega Menu --- */
.bgo-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--bgo-line);
    box-shadow: 0 30px 60px -25px rgba(44, 36, 32, 0.25);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.bgo-nav-item.is-open .bgo-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

.bgo-mega-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 36px 44px;
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1fr;
    gap: 36px;
}

.bgo-mega-col .bgo-mega-col__label {
    font: 500 10px/1 ui-monospace, "SF Mono", Consolas, monospace;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bgo-rose-ink);
    margin: 0 0 16px;
}

.bgo-mega-col .bgo-mega-col__label--spaced {
    margin-top: 24px;
}

.bgo-mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bgo-mega-col li {
    margin-bottom: 10px;
}

.bgo-mega-col a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.25;
    color: var(--bgo-ink);
    letter-spacing: -0.005em;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.bgo-mega-col a:hover {
    color: var(--bgo-rose-ink);
    border-bottom-color: var(--bgo-rose-2);
}

.bgo-mega-feat-col {
    display: flex;
    min-width: 0;
}

.bgo-mega-feat {
    border-radius: 14px;
    padding: 0;
    display: block;
    width: 100%;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    background: var(--bgo-cream-2);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bgo-mega-feat:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px -22px rgba(44, 36, 32, 0.3);
}

.bgo-mega-feat .bgo-ft-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.bgo-mega-feat::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(28, 20, 18, 0) 35%, rgba(28, 20, 18, 0.5) 68%, rgba(28, 20, 18, 0.82) 100%);
}

.bgo-mega-feat .bgo-ft-body {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 20px;
}

.bgo-mega-feat .bgo-ft-tag {
    font: 500 9.5px/1 ui-monospace, "SF Mono", Consolas, monospace;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bgo-rose);
    margin-bottom: 8px;
    display: inline-block;
}

.bgo-mega-feat .bgo-ft-title {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 12px rgba(28, 20, 18, 0.45);
}

.bgo-mega-feat .bgo-ft-title em {
    color: var(--bgo-rose);
    font-style: italic;
}

.bgo-mega-feat .bgo-ft-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.bgo-mega-feat .bgo-ft-foot small {
    font: 500 10px/1.4 ui-monospace, "SF Mono", Consolas, monospace;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
}

.bgo-mega-feat .bgo-ft-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--bgo-ink);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.bgo-mega-feat:hover .bgo-ft-arrow {
    transform: translateX(3px);
}

/* --- Compact submenus --- */
.bgo-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    border: 1px solid var(--bgo-line);
    border-radius: 14px;
    box-shadow: 0 24px 50px -22px rgba(44, 36, 32, 0.25);
    padding: 10px;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.bgo-nav-item.is-open .bgo-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

.bgo-submenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bgo-submenu li {
    margin: 0;
}

.bgo-submenu a {
    display: block;
    white-space: nowrap;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.4;
    color: var(--bgo-ink);
    letter-spacing: -0.005em;
    padding: 9px 14px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.bgo-submenu a:hover {
    background: rgba(44, 36, 32, 0.04);
    color: var(--bgo-rose-ink);
}

.bgo-submenu-all {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--bgo-line-2);
}

/* ==========================================================================
   ROW 2 · HEADLINE NUMBERS TRUST BAR
   Desktop: 4-col weighted grid + social rail (strictly 58px single row)
   Mobile (<= 1100px): 44px compact marquee with edge gradient overlays
   ========================================================================== */
.bgo-trustbar.bgo-trustbar {
    position: relative;
    flex: 1 0 100%;
    margin: 0 calc(-1 * clamp(20px, 4vw, 48px));
    background: linear-gradient(180deg, #E26C9C 0%, #D4578A 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(110, 16, 56, 0.18), 0 1px 0 0 #D4578A;
    color: #FFFFFF;
    font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", sans-serif;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

.bgo-trustbar *,
.bgo-trustbar *::before,
.bgo-trustbar *::after {
    box-sizing: border-box;
}

.bgo-tb-desktop {
    height: 58px;
    padding: 0 clamp(16px, 3vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1.14fr) minmax(0, 0.92fr) minmax(0, 0.94fr) auto;
    align-items: center;
}

.bgo-tb-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 0.8vw, 11px);
    padding: 0 clamp(6px, 1vw, 14px);
    min-width: 0;
    height: 100%;
}

.bgo-tb-cell + .bgo-tb-cell::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 15px;
    width: 1px;
    background: rgba(255, 255, 255, 0.30);
}

.bgo-tb-key {
    font-weight: 800;
    font-size: clamp(17px, 1.65vw, 23px);
    line-height: 1;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    text-shadow: 0 1px 0 rgba(110, 16, 56, 0.22);
    white-space: nowrap;
    flex-shrink: 0;
}

.bgo-tb-lbl {
    min-width: 0;
    line-height: 1.2;
}

.bgo-tb-lbl strong {
    display: block;
    font-size: clamp(11.5px, 0.92vw, 13px);
    line-height: 1.2;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bgo-tb-lbl span {
    display: block;
    font-size: clamp(11px, 0.86vw, 12px);
    line-height: 1.2;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.86);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bgo-tb-cell--soc {
    padding-left: clamp(10px, 1.4vw, 20px);
    padding-right: 0;
}

.bgo-trust-social {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.bgo-trust-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: filter 0.18s ease, transform 0.18s ease;
}

.bgo-trust-social a:hover {
    transform: translateY(-1px) scale(1.05);
    filter: brightness(1.08);
}

.bgo-trust-social svg {
    width: 15px;
    height: 15px;
}

/* Shared brand colors (desktop trust bar + mobile drawer footer) */
.bgo-trust-social .ts-ig,
.bgo-drawer-social .ts-ig {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #FFFFFF;
}

.bgo-trust-social .ts-fb,
.bgo-drawer-social .ts-fb {
    background: #1877F2;
    color: #FFFFFF;
}

.bgo-trust-social .ts-tt,
.bgo-drawer-social .ts-tt {
    background: #000000;
    color: #FFFFFF;
}

.bgo-trust-social .ts-yt,
.bgo-drawer-social .ts-yt {
    background: #FF0000;
    color: #FFFFFF;
}

.bgo-trust-social .ts-li,
.bgo-drawer-social .ts-li {
    background: #0A66C2;
    color: #FFFFFF;
}

.bgo-tb-mobile {
    display: none;
}

.bgo-vh {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

/* ==========================================================================
   MOBILE DRAWER (.bgo-drawer)
   ========================================================================== */
.bgo-drawer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(44, 36, 32, 0.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    color: #2C2420;
    font: 400 16px/1.5 -apple-system, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.bgo-drawer *,
.bgo-drawer *::before,
.bgo-drawer *::after {
    box-sizing: border-box;
}

.bgo-drawer.is-open {
    opacity: 1;
    visibility: visible;
}

.bgo-drawer a {
    text-decoration: none;
}

.bgo-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 90vw);
    background: #FAF6F3;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.bgo-drawer.is-open .bgo-drawer-panel {
    transform: translateX(0);
}

.bgo-drawer-head {
    display: flex;
    justify-content: flex-end;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(44, 36, 32, 0.12);
}

.bgo-drawer-close {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(44, 36, 32, 0.16);
    background: transparent;
    color: #2C2420;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.bgo-drawer-close svg {
    width: 14px;
    height: 14px;
}

.bgo-drawer-nav {
    padding: 10px 28px;
    display: flex;
    flex-direction: column;
}

.bgo-d-acc {
    border-bottom: 1px solid rgba(44, 36, 32, 0.06);
}

.bgo-d-acc-btn {
    width: 100%;
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    padding: 16px 0;
    min-height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2C2420;
    background: transparent;
    border: 0;
    text-align: left;
}

.bgo-d-acc-btn::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.bgo-d-acc-btn[aria-expanded="true"]::after {
    transform: rotate(-135deg);
}

.bgo-d-item,
.bgo-d-acc-head {
    display: block;
}

.bgo-drawer-nav .bgo-d-link {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    padding: 16px 0;
    display: block;
    color: #2C2420;
    border-bottom: 1px solid rgba(44, 36, 32, 0.06);
}

.bgo-d-acc-panel ul {
    list-style: none;
    margin: 0;
    padding: 0 0 14px 0;
}

.bgo-d-acc-panel ul a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.4;
    color: #5A4D46;
    padding: 10px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.bgo-d-acc-btn--sub {
    font-size: 18px;
    letter-spacing: 0;
    color: #5A4D46;
    padding: 10px 0;
}

.bgo-d-acc-btn--sub::after {
    width: 6px;
    height: 6px;
}

.bgo-d-acc-panel--sub ul {
    padding: 2px 0 8px 14px;
}

.bgo-d-acc-panel--sub ul a {
    font-size: 16px;
    padding: 8px 0;
}

.bgo-drawer-foot {
    margin-top: auto;
    padding: 24px 28px calc(24px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(44, 36, 32, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bgo-drawer-cta-wrap {
    display: flex;
    flex-direction: column;
}

.bgo-drawer-foot .bgo-cta {
    justify-content: center;
    padding: 14px 22px;
    font-size: 14px;
    background: #DC6495;
    color: #FFFFFF;
    border: 1px solid #DC6495;
    text-decoration: none;
}

.bgo-drawer-foot .bgo-cta:hover {
    background: #C94A6B;
    border-color: #C94A6B;
    color: #FFFFFF;
}

.bgo-drawer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.bgo-drawer-social a {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.bgo-drawer-social a:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

.bgo-drawer-social svg {
    width: 17px;
    height: 17px;
}

/* Focus-visible outlines */
.backdrop-header :is(a, button):focus-visible,
.bgo-drawer :is(a, button):focus-visible {
    outline: 2px solid #C94A6B;
    outline-offset: 2px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Squeeze guard (1100.02px–1290px): keep Row 1 & Trust Bar tight and single-row */
@media (min-width: 1100.02px) and (max-width: 1290px) {
    .bgo-nav {
        gap: 20px;
    }
}

@media (min-width: 1100.02px) and (max-width: 1240px) {
    .bgo-nav {
        gap: 16px;
    }

    .bgo-rcluster {
        gap: 8px;
    }

    .bgo-cta {
        padding: 11px 12px;
    }

    .bgo-trust-social {
        gap: 6px;
    }

    .bgo-trust-social a {
        width: 26px;
        height: 26px;
    }

    .bgo-trust-social svg {
        width: 13px;
        height: 13px;
    }
}

/* Mobile split app-bar & 44px compact marquee (<= 1100px) */
@media (max-width: 1100px) {
    .wp-block-group.backdrop-header,
    .backdrop-header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .backdrop-header .bgo-burger-wrap {
        display: inline-flex;
        grid-column: 1;
        justify-self: start;
    }

    .backdrop-header .bgo-burger {
        display: inline-flex;
        justify-self: start;
    }

    .backdrop-header .bgo-brand-group {
        grid-column: 2;
        justify-self: center;
    }

    .backdrop-header > .meditrans-switcher--dropdown,
    .backdrop-header .bgo-rcluster {
        grid-area: 1 / 3;
        justify-self: end;
    }

    .bgo-rcluster .bgo-nav,
    .bgo-rcluster .bgo-cta-wrap,
    .bgo-rcluster .bgo-cta {
        display: none;
    }

    .bgo-mega,
    .bgo-submenu {
        display: none;
    }

    .backdrop-header .bgo-trustbar {
        grid-column: 1 / -1;
        grid-row: 2;
        width: auto;
        height: 44px;
        padding: 0;
        overflow: hidden;
    }

    .bgo-tb-desktop {
        display: none;
    }

    .bgo-tb-mobile {
        position: relative;
        display: flex;
        align-items: center;
        height: 44px;
        width: 100%;
        overflow: hidden;
    }

    .bgo-tb-mobile::before,
    .bgo-tb-mobile::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 24px;
        z-index: 1;
        pointer-events: none;
    }

    .bgo-tb-mobile::before {
        left: 0;
        background: linear-gradient(90deg, #DB6193, rgba(219, 97, 147, 0));
    }

    .bgo-tb-mobile::after {
        right: 0;
        background: linear-gradient(270deg, #DB6193, rgba(219, 97, 147, 0));
    }

    .bgo-tb-mq-track {
        display: flex;
        align-items: center;
        width: max-content;
        animation: bgo-trust-marquee 28s linear infinite;
    }

    .bgo-tb-mobile:hover .bgo-tb-mq-track,
    .bgo-tb-mobile:active .bgo-tb-mq-track {
        animation-play-state: paused;
    }

    .bgo-tb-mq-set {
        display: flex;
        align-items: center;
        gap: 18px;
        padding-right: 18px;
        white-space: nowrap;
    }

    .bgo-tb-mi {
        display: inline-flex;
        align-items: baseline;
        gap: 6px;
        white-space: nowrap;
    }

    .bgo-tb-mkey {
        font-weight: 800;
        font-size: 17px;
        line-height: 1;
        letter-spacing: -0.02em;
        color: #FFFFFF;
        text-shadow: 0 1px 0 rgba(110, 16, 56, 0.2);
    }

    .bgo-tb-mi strong {
        font-size: 12.5px;
        line-height: 1.2;
        font-weight: 600;
        color: #FFFFFF;
    }

    .bgo-tb-msep {
        color: rgba(255, 255, 255, 0.65);
        font-weight: 700;
    }
}

@keyframes bgo-trust-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
    .backdrop-header .bgo-trustbar {
        height: auto;
        padding: 8px 16px;
    }

    .bgo-tb-mobile {
        height: auto;
    }

    .bgo-tb-mobile::before,
    .bgo-tb-mobile::after {
        content: none;
    }

    .bgo-tb-mq-track {
        width: 100%;
        justify-content: center;
        animation: none;
    }

    .bgo-tb-mq-set {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 4px;
        padding-right: 0;
        white-space: normal;
    }

    .bgo-tb-mq-set[aria-hidden="true"],
    .bgo-tb-msep-loop {
        display: none;
    }
}

/* Phone: center logo icon only (matches live mobile rule) */
@media (max-width: 640px) {
    .backdrop-header .wp-block-site-title,
    .backdrop-header .wp-block-site-tagline {
        display: none;
    }
}
