* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

:root {
    color-scheme: light;
}

html.dark {
    color-scheme: dark;
}

.vector-map {
    -webkit-mask-image: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg');
    -webkit-mask-size: contain;
    -webkit-mask-position: bottom right;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg');
    mask-size: contain;
    mask-position: bottom right;
    mask-repeat: no-repeat;
    background-color: #b39b85;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Scroll reveal animations - optimized with will-change */
.reveal-element {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Card animations */
.animated-card {
    opacity: 1;
    transform: none;
    transition: transform 0.7s ease, opacity 0.7s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform, opacity;
}

.animated-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.animated-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

/* Zoom-in only variant (used on the homepage "Live from the Bureau" card) */
.animated-card.eb-zoom-hover:hover {
    transition: transform 2.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    transform: translateY(0) scale(1.02) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.animated-card.eb-zoom-hover:hover .animated-media:not(.eb-live-bureau-video):not(.eb-live-bureau-thumb) {
    transform: scale(1.12) !important;
    filter: saturate(1.08) contrast(1.03);
}

.animated-card.eb-zoom-hover .animated-media:not(.eb-live-bureau-video):not(.eb-live-bureau-thumb) {
    transition:
        opacity 0.75s ease-out,
        transform 2.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 2.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Article page: "You may also like" */
.eb-reco-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 640px) {
    .eb-reco-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .eb-reco-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1280px) {
    .eb-reco-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1rem;
    }
}

.eb-reco-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e6dfd5;
    background: #faf8f5;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.eb-reco-card:hover {
    background: #f2ece4;
    border-color: #d4cdc4;
    transform: translateY(-1px);
}

.eb-reco-card-media {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #ebe5de;
}

/* Cover previews in admin/editor + consistent crop boxes */
.eb-cover-aspect {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    border: 1px solid #d4cdc4;
    background: #ebe5de;
}

.eb-cover-aspect > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Card / blog thumbnails: plain resized img inside aspect-ratio boxes */
.eb-aspect-media-img {
    width: 100%;
    height: 100%;
    display: block;
    object-position: center;
}

.eb-aspect-media-img--contain {
    object-fit: contain;
}

.eb-aspect-media-img--cover {
    object-fit: cover;
}

html.dark .eb-cover-aspect {
    border-color: #2b3138;
    background: #252c35;
}

.eb-reco-card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.eb-reco-card:hover .eb-reco-card-img {
    filter: saturate(1.06) contrast(1.02);
}

.eb-reco-card-body {
    padding: 0.9rem 1rem 1rem;
}

.eb-reco-kicker {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #8c857d;
}

.eb-reco-title {
    margin: 0.55rem 0 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.02rem;
    line-height: 1.22;
    color: #262422;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eb-reco-meta {
    margin: 0.6rem 0 0;
    font-size: 0.75rem;
    color: #8c857d;
}

html.dark .eb-reco-card {
    background: #181d23;
    border-color: #2b3138;
}

html.dark .eb-reco-card:hover {
    background: #1f2630;
    border-color: #3b4653;
}

html.dark .eb-reco-kicker,
html.dark .eb-reco-meta {
    color: #bdc5cf;
}

html.dark .eb-reco-title {
    color: #f1ece6;
}

.animated-media {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 2.8s cubic-bezier(0.22, 1, 0.36, 1), filter 2.8s cubic-bezier(0.22, 1, 0.36, 1);
    transform: scale(1);
    transform-origin: center center;
    will-change: opacity, transform;
}

.animated-media.is-loaded {
    opacity: 1;
}

.animated-card:hover .animated-media {
    transform: scale(1.1);
    filter: saturate(1.05) contrast(1.02);
}

/* Removed dark mode body background to fix extra vertical bar */

html.dark header {
    background-color: rgba(16, 19, 23, 0.9) !important;
    border-color: #2b3138 !important;
}

html.dark footer {
    background-color: #101317 !important;
    border-color: #2b3138 !important;
}

html.dark footer[class*="bg-gradient-to-b"] {
    background-image: linear-gradient(to bottom, #101317, #181d23) !important;
}

html.dark .vector-map {
    background-color: #6f7f93;
    opacity: 0.12;
}

a.animated-card {
    text-decoration: none;
    color: inherit;
}

html.dark #mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer):not(.eb-site-mobile-drawer) {
    background-color: #101317 !important;
    border-color: #2b3138 !important;
}

html.dark #mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer):not(.eb-site-mobile-drawer) #mobile-menu-close {
    background-color: #252c35 !important;
    color: #f1ece6 !important;
}

html.dark #mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer):not(.eb-site-mobile-drawer) a {
    color: #f1ece6 !important;
}

html.dark #mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer):not(.eb-site-mobile-drawer) a:hover {
    background-color: #252c35 !important;
}

/* Mobile drawer sizing + backdrop (match profile drawer feel) */
#mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer) {
    border-left: 1px solid #ded5cb;
    border-right: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 50vw !important;
    max-width: 50vw !important;
    background: #f6f1ea;
    box-shadow: -18px 0 48px rgba(23, 18, 14, 0.18);
}

#mobile-menu-backdrop {
    z-index: 120 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

#mobile-menu {
    transform: translateX(100%);
}

#mobile-menu.eb-site-mobile-drawer:not(.translate-x-0) {
    visibility: hidden;
}

#mobile-menu-backdrop:not(.opacity-100) {
    visibility: hidden;
}

body.eb-menu-open #mobile-menu {
    transform: translateX(0) !important;
    visibility: visible !important;
}

body.eb-menu-open {
    overscroll-behavior: none;
}

html.eb-menu-open,
body.eb-menu-open {
    overflow: hidden !important;
    height: 100% !important;
}

body.eb-menu-open #mobile-menu-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

body:not(.eb-menu-open) #mobile-menu-backdrop {
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (min-width: 1181px) {
    #mobile-menu,
    #mobile-menu-backdrop {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.eb-menu-open {
        overflow: auto !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
    }

    html.eb-menu-open {
        overflow: auto !important;
        height: auto !important;
    }
}

#mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer) nav {
    gap: 0.5rem !important;
}

#mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer) nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    border: 1px solid #d8cfc5;
    border-radius: 10px !important;
    padding: 0.8rem 0.9rem !important;
    line-height: 1.25;
    font-weight: 600;
    background: #efe7de;
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

#mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer) nav a:hover {
    background: #e5dbd1;
    border-color: #cfc2b3;
    transform: translateX(-2px);
}

#mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer) #mobile-menu-close {
    border: 1px solid #d4cdc4;
    background: #efe7de;
}

/* Redesigned mobile drawer */
#mobile-menu.eb-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    margin-left: auto !important;
    width: 50vw !important;
    max-width: 50vw !important;
    min-width: 0 !important;
    /* Fallback for older Chrome that doesn't support dvh */
    height: 100vh !important;
    min-height: 100vh !important;
    background: #181d23 !important;
    border-left: 1px solid #2b3138 !important;
    box-shadow: -18px 0 48px rgba(23, 18, 14, 0.18) !important;
    outline: none !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    z-index: 130 !important;
}

@supports (height: 100dvh) {
    #mobile-menu.eb-mobile-drawer {
        height: 100dvh !important;
        min-height: 100dvh !important;
    }
}

@media (max-width: 767px) {
    #mobile-menu.eb-mobile-drawer {
        width: 50vw !important;
        max-width: 50vw !important;
        min-width: 0 !important;
    }
}

/* Site-wide mobile drawer (MarketingHeader) — always 50vw, theme via Tailwind on component */
#mobile-menu.eb-site-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 50vw !important;
    max-width: 50vw !important;
    min-width: 0 !important;
    height: 100vh !important;
    min-height: 100vh !important;
    z-index: 130 !important;
    overflow: hidden;
}

@supports (height: 100dvh) {
    #mobile-menu.eb-site-mobile-drawer {
        height: 100dvh !important;
        min-height: 100dvh !important;
    }
}

/* Site mobile nav: always 50vw (intentional inverted contrast panel) */
@media (max-width: 639px) {
    #mobile-menu.eb-site-mobile-drawer {
        width: 50vw !important;
        max-width: 50vw !important;
    }
}

.eb-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid #2b3138;
}

.eb-drawer-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    font-weight: 600;
    text-transform: uppercase;
    color: #bdc5cf;
    padding-left: 0.5rem;
}

.eb-drawer-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.eb-drawer-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    background: transparent;
    color: #bdc5cf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.eb-drawer-icon-btn.is-close {
    background: #252c35;
    border-color: #2b3138;
}

.eb-drawer-icon-btn:hover {
    background: #2b3340;
    color: #f1ece6;
}

.eb-drawer-nav {
    min-height: 0;
    overflow-y: auto;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.eb-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.75rem;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #f1ece6;
    background: #181d23;
    border: 1px solid #2b3138;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

.eb-drawer-login-btn {
    border: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    background: transparent;
}

.eb-drawer-link:hover {
    color: #f1ece6;
    background: #252c35;
    padding-left: 1rem;
}

.eb-drawer-link:hover {
    background: #252c35;
    border-color: #3b4653;
}

.eb-drawer-chevron {
    color: #9da8b5;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.2s ease;
}

.eb-drawer-link.group:hover .eb-drawer-chevron {
    opacity: 1;
    transform: translateX(0);
}

.eb-drawer-divider {
    height: 1px;
    background: #2b3138;
    margin: 1rem;
}

@media (max-width: 767px) {
    #mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer) {
        width: 60vw !important;
        max-width: 60vw !important;
    }
}

#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: #b39b85;
    color: #262422;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 140;
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    background-color: #a38b75;
    transform: translateY(-2px);
}

/* Shared header search icon style */
.search-btn {
    width: 36px;
    height: 36px;
    background: #ebe5de !important;
    border: 1px solid #d4cdc4;
    border-radius: 8px !important;
    padding: 0 !important;
}

.search-btn:hover {
    background: #ddd5ce !important;
    border-color: #c7bdb3;
}

html.dark .search-btn {
    background: #252c35 !important;
    border-color: #3b4654;
}

html.dark .search-btn:hover {
    background: #2e3743 !important;
    border-color: #4a5666;
}

/* Shared search modal */
#global-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    background: rgba(26, 22, 18, 0.34);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    padding: 1rem;
}

#global-search-overlay.hidden {
    display: none;
}

#global-search-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.global-search-panel {
    width: min(760px, 100%);
    border: 1px solid #ded5cb;
    border-radius: 12px;
    background: #f6f1ea;
    box-shadow: 0 18px 48px rgba(23, 18, 14, 0.18);
    transform: translateY(10px) scale(0.99);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
    padding: 1rem;
}

#global-search-overlay.is-open .global-search-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.global-search-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.global-search-head h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    color: #2d2925;
}

.global-search-close {
    border: 1px solid #d9d0c6;
    background: #ece4da;
    color: #5c5853;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.global-search-subtitle {
    margin: 0.4rem 0 0.75rem;
    color: #6b6660;
    font-size: 0.9rem;
}

.global-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
}

.global-search-form input {
    width: 100%;
    border: 1px solid #d6ccc1;
    border-radius: 10px;
    background: #fbf8f4;
    color: #2b2824;
    padding: 0.72rem 0.86rem;
    font-size: 0.98rem;
    outline: none;
}

.global-search-form input:focus {
    border-color: #b39b85;
    box-shadow: 0 0 0 3px rgba(179, 155, 133, 0.2);
}

.global-search-submit {
    border: 1px solid #9f8770;
    background: #b39b85;
    color: #201c18;
    border-radius: 10px;
    padding: 0 1rem;
    font-weight: 600;
    cursor: pointer;
}

.global-search-submit:hover {
    background: #a38b75;
}

html.dark #scroll-to-top {
    background-color: #9f8b79;
    color: #101317;
}

html.dark #scroll-to-top:hover {
    background-color: #8f7c6c;
}

html.dark #mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer):not(.eb-site-mobile-drawer) nav a {
    border-color: #34404f;
    background: #212a34;
}

html.dark #mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer):not(.eb-site-mobile-drawer) nav a:hover {
    background: #273341;
    border-color: #435368;
}

html.dark #mobile-menu:not(.eb-mobile-drawer):not(.eb-site-mobile-drawer):not(.eb-site-mobile-drawer) #mobile-menu-close {
    border-color: #34404f;
    background: #212a34;
}

html.dark .eb-drawer-head {
    border-bottom-color: #e6dfd5;
}

html.dark .eb-drawer-kicker {
    color: #6b6660;
}

html.dark .eb-drawer-icon-btn {
    color: #5c5853;
}

html.dark .eb-drawer-icon-btn.is-close {
    background: #ebe5de;
    border-color: #d4cdc4;
}

html.dark .eb-drawer-icon-btn:hover {
    background: #ddd5ce;
    color: #262422;
}

html.dark .eb-drawer-link {
    color: #262422;
    background: #ebe5de;
    border: 1px solid #d8cfc5;
}

html.dark .eb-drawer-link:hover {
    background: #ddd5ce;
    color: #262422;
}

html.dark .eb-drawer-chevron {
    color: #8c857d;
}

html.dark .eb-drawer-divider {
    background: #e6dfd5;
}

html.dark .eb-drawer-foot {
    border-top-color: #2b3138;
    background: rgba(24, 29, 35, 0.92);
}

html.dark .eb-drawer-cta {
    background: #9f8b79;
    color: #101317;
}

html.dark .eb-drawer-cta:hover {
    background: #8f7c6c;
}

html.dark #global-search-overlay {
    background: rgba(10, 14, 18, 0.54);
}

html.dark .global-search-panel {
    background: #171c22;
    border-color: #2f3947;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

html.dark .global-search-head h2 {
    color: #f1ece6;
}

html.dark .global-search-subtitle {
    color: #a7b1bc;
}

html.dark .global-search-close {
    border-color: #3b4655;
    background: #232b34;
    color: #d0d8e1;
}

html.dark .global-search-form input {
    border-color: #3b4655;
    background: #202833;
    color: #edf0f4;
}

html.dark .global-search-form input:focus {
    border-color: #6f8298;
    box-shadow: 0 0 0 3px rgba(111, 130, 152, 0.26);
}

html.dark .global-search-submit {
    border-color: #6f8298;
    background: #8ea0b7;
    color: #101317;
}

/* Header layout stabilization for medium displays */
header > div > a.font-serif {
    white-space: nowrap;
    line-height: 1;
}

@media (max-width: 1180px) {
    header nav[class*="md:flex"],
    header nav[class*="min-[1181px]:flex"] {
        display: none !important;
    }

    header a[class*="md:inline-block"] {
        display: none !important;
    }

    header #mobile-menu-btn {
        display: inline-flex !important;
    }

    #mobile-menu-backdrop {
        display: block !important;
    }

    #mobile-menu.eb-site-mobile-drawer {
        display: flex !important;
    }

    header > div > a.font-serif {
        font-size: 1.45rem !important;
        letter-spacing: 0.02em;
    }
}

@media (min-width: 1181px) {
    header #mobile-menu-btn,
    #mobile-menu-backdrop,
    #mobile-menu.eb-site-mobile-drawer {
        display: none !important;
    }
}

@media (max-width: 640px) {
    header > div {
        min-height: 72px !important;
        height: auto !important;
    }

    header > div > a.font-serif {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    header > div > a.font-serif {
        font-size: 0.98rem !important;
        letter-spacing: 0.01em !important;
        max-width: calc(100vw - 156px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/* Article page typography system */
.article-body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.65;
    font-size: 1.05rem;
}

/* Utility: line clamping (used by contributor flow cards) */
.eb-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eb-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-body > * {
    margin: 0 0 1.1rem 0;
}

.article-body h2,
.article-body h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #262422;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding-top: 0;
    margin-top: 1.75rem;
    border-top: none;
}

.article-body h4 {
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 600;
    color: #262422;
    margin-top: 1.15rem;
}

.article-body h2 {
    font-size: 1.95rem;
    line-height: 1.2;
}

.article-body h3 {
    font-size: 1.35rem;
    line-height: 1.3;
}

.article-body p {
    color: #3d3a36;
}

.article-body a {
    color: #b39b85;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-body a:hover {
    text-decoration-thickness: 2px;
}

.article-body strong {
    color: #262422;
}

.article-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.95em;
    background: #ebe5de;
    padding: 0.12rem 0.35rem;
    border-radius: 6px;
}

.article-body pre {
    background: #f7f2ec;
    border: 1px solid #e6dfd5;
    border-radius: 10px;
    padding: 0.95rem 1rem;
    overflow-x: auto;
}

.article-body pre code {
    background: transparent;
    padding: 0;
}

.article-body blockquote {
    margin: 1.6rem 0;
    padding: 0.9rem 0 0.9rem 1.5rem;
    border-left: 4px solid #b39b85;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #2f2a26;
}

.article-body blockquote p {
    color: inherit;
    margin-bottom: 0.3rem;
}

.article-body ul,
.article-body ol {
    margin: 0.8rem 0 1.2rem 0;
    padding-left: 1.25rem;
}

/* Only show explicit divider lines (editor hr); hide stray empty rules */
.article-body hr {
    border: none;
    border-top: 1px solid #e6dfd5;
    margin: 1.6rem 0;
}

.article-body hr:empty {
    display: none;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e6dfd5;
    background: #faf8f5;
    border-radius: 10px;
}

.article-body th,
.article-body td {
    border: 1px solid #e6dfd5;
    padding: 0.6rem 0.7rem;
    vertical-align: top;
}

.article-body li {
    margin: 0.4rem 0;
    color: #4a4642;
}

html.dark .article-body h2,
html.dark .article-body h3 {
    color: #f1ece6;
}

html.dark .article-body h4 {
    color: #f1ece6;
}

html.dark .article-body p,
html.dark .article-body li {
    color: #d6dce4;
}

html.dark .article-body a {
    color: #9f8b79;
}

html.dark .article-body strong {
    color: #f1ece6;
}

html.dark .article-body code {
    background: #252c35;
    color: #f1ece6;
}

html.dark .article-body pre {
    background: #181d23;
    border-color: #2b3138;
}

html.dark .article-body hr {
    border-top-color: #2b3138;
}

html.dark .article-body table,
html.dark .article-body th,
html.dark .article-body td {
    border-color: #2b3138;
}

html.dark .article-body table {
    background: #181d23;
}

html.dark .article-body blockquote {
    border-left-color: #9f8b79;
    color: #f1ece6;
}

/* CMS rich content typography (About/Privacy/Terms/Disclaimer + reviewer previews) */
.eb-rich-content {
    font-size: 1rem;
}

/* Default body copy rhythm; Quill line-height classes override per block */
.eb-rich-content > p,
.eb-rich-content > ul,
.eb-rich-content > ol,
.eb-rich-content > blockquote {
    line-height: 1.8;
}

.article-body .eb-rich-content > div {
    margin: 0;
    padding: 0;
}

.eb-rich-content > *:not(div) {
    margin: 0 0 0.75rem 0;
}

.eb-rich-content h2,
.eb-rich-content h3 {
    font-family: var(--font-playfair), ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
    color: #262422;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-top: 1.4rem;
}

.eb-rich-content h4 {
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 600;
    color: #262422;
    margin-top: 1.15rem;
}

.eb-rich-content h2 {
    font-size: 1.8rem;
    line-height: 1.2;
}

.eb-rich-content h3 {
    font-size: 1.25rem;
    line-height: 1.25;
}

.eb-rich-content p,
.eb-rich-content li {
    color: inherit;
}

.eb-rich-content a {
    color: #b39b85;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.eb-rich-content ul,
.eb-rich-content ol {
    margin: 0.8rem 0 1.1rem 0;
    padding-left: 1.25rem;
}

.eb-rich-content li {
    margin: 0.35rem 0;
}

.eb-rich-content blockquote {
    margin: 1.2rem 0;
    padding: 0.75rem 0 0.75rem 1.25rem;
    border-left: 4px solid #b39b85;
    color: #3d3a36;
    font-style: italic;
}

.eb-rich-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.95em;
    background: #ebe5de;
    padding: 0.12rem 0.35rem;
    border-radius: 6px;
}

.eb-rich-content pre {
    background: #f7f2ec;
    border: 1px solid #e6dfd5;
    border-radius: 10px;
    padding: 0.95rem 1rem;
    overflow-x: auto;
}

.eb-rich-content pre code {
    background: transparent;
    padding: 0;
}

.eb-rich-content hr {
    border: none;
    border-top: 1px solid #e6dfd5;
    margin: 1.6rem 0;
}

.eb-rich-content table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e6dfd5;
    background: #faf8f5;
    border-radius: 10px;
}

.eb-rich-content th,
.eb-rich-content td {
    border: 1px solid #e6dfd5;
    padding: 0.6rem 0.7rem;
    vertical-align: top;
}

html.dark .eb-rich-content h1,
html.dark .eb-rich-content h2,
html.dark .eb-rich-content h3 {
    color: #f1ece6;
}

html.dark .eb-rich-content p,
html.dark .eb-rich-content li,
html.dark .eb-rich-content strong,
html.dark .eb-rich-content span {
    color: #d6dce4;
}

html.dark .eb-rich-content h4 {
    color: #f1ece6;
}

html.dark .eb-rich-content a {
    color: #9f8b79;
}

html.dark .eb-rich-content blockquote {
    border-left-color: #9f8b79;
    color: #d6dce4;
}

html.dark .eb-rich-content code {
    background: #252c35;
    color: #f1ece6;
}

html.dark .eb-rich-content pre {
    background: #181d23;
    border-color: #2b3138;
}

html.dark .eb-rich-content hr {
    border-top-color: #2b3138;
}

html.dark .eb-rich-content table,
html.dark .eb-rich-content th,
html.dark .eb-rich-content td {
    border-color: #2b3138;
}

html.dark .eb-rich-content table {
    background: #181d23;
}

.article-engagement-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.article-toolbar {
    gap: 1rem;
}

.article-engage-btn {
    border: none;
    background: transparent;
    color: #6b6660;
    border-radius: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.94rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.article-engage-btn:hover {
    color: #262422;
    transform: translateY(-1px);
}

.article-engage-btn.active {
    color: #262422;
}

.article-engage-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 500;
    color: inherit;
}

.article-engage-btn.active .article-engage-count {
    color: #262422;
}

.article-engage-count--inline {
    min-width: 0;
}

.article-engage-icon-svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.article-toolbar-icon-btn {
    border: none;
    background: transparent;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.article-toolbar-icon-btn:hover {
    transform: translateY(-1px);
}

.article-toolbar-icon-btn.active {
    background: #f1e7db;
}

.article-toolbar-icon-svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
}

.article-comment-header {
    margin-bottom: 1.2rem;
}

.article-comment-kicker {
    margin: 0 0 0.28rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8c857d;
}

.article-comment-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.article-comment-sort-row {
    margin-top: 0.8rem;
    position: relative;
}

.article-comment-sort-btn {
    border: none;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #262422;
    letter-spacing: 0.01em;
}

.article-comment-sort-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    min-width: 190px;
    padding: 0.45rem;
    border: 1px solid #dfd7cf;
    background: #f8f5f1;
    box-shadow: 0 12px 24px rgba(24, 19, 14, 0.09);
    z-index: 8;
}

.article-comment-sort-option {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0.7rem;
    text-align: left;
    font-size: 1rem;
    color: #262422;
}

.article-comment-sort-option.active {
    color: #2f8f2f;
}

.article-comment-sort-check {
    width: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-weight: 700;
}

.article-comment-title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.7rem;
    line-height: 1.08;
    color: #262422;
}

.article-comment-total {
    font-size: 0.88rem;
    color: #6b6660;
}

.article-comment-panel {
    margin-top: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.article-comment-form {
    display: grid;
    gap: 0.65rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e6dfd5;
}

.article-comment-input,
.article-comment-textarea {
    width: 100%;
    border: 1px solid #d4cdc4;
    background: #fbf8f4;
    color: #262422;
    border-radius: 0;
    padding: 0.72rem 0.78rem;
    font-size: 0.9rem;
}

.article-comment-textarea {
    resize: vertical;
    min-height: 120px;
}

.article-comment-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.article-comment-submit {
    border: none;
    border-radius: 999px;
    background: #262422;
    color: #262422;
    padding: 0.55rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #f5f0ea;
    letter-spacing: 0.01em;
}

.article-comment-submit:hover {
    background: #3a342e;
}

.article-comment-status {
    margin: 0;
    font-size: 0.8rem;
    color: #6b6660;
}

.article-comments-list {
    margin-top: 1rem;
    display: grid;
    gap: 0;
}

.article-comment-empty {
    margin: 0;
    font-size: 0.92rem;
    color: #6b6660;
    padding: 1rem 0;
}

.article-comment-item {
    border-bottom: 1px solid #e6dfd5;
    background: transparent;
    border-radius: 0;
    padding: 1rem 0;
}

.article-comment-item-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.article-comment-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #d7cbc0, #bda892);
    color: #fffdfb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.86rem;
    font-weight: 700;
    flex: 0 0 auto;
    overflow: hidden;
}

.article-comment-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-comment-item-main {
    min-width: 0;
    flex: 1 1 auto;
}

.article-comment-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #8c857d;
}

.article-comment-item-author {
    font-weight: 600;
    color: #262422;
}

.article-comment-like-btn {
    border: none;
    background: transparent;
    padding: 0;
    color: #8c857d;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
}

.article-comment-like-btn.active {
    font-weight: 600;
}

.article-comment-like-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.article-comment-like-count {
    min-width: 0.75rem;
    line-height: 1;
}

.article-comment-item-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.08rem 0.38rem;
    border-radius: 4px;
    background: #2f8f2f;
    color: #f8fff8;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
}

.article-comment-item-date {
    margin-top: 0.08rem;
    font-size: 0.82rem;
    color: #8c857d;
}

.article-comment-item-menu {
    border: none;
    background: transparent;
    color: #7c736a;
    padding: 0.2rem 0;
    font-size: 0.82rem;
    line-height: 1;
    letter-spacing: 0.08em;
    flex: 0 0 auto;
}

.article-comment-item-menu-wrap {
    position: relative;
    flex: 0 0 auto;
}

.article-comment-item-menu-panel {
    position: absolute;
    top: calc(100% + 0.2rem);
    right: 0;
    min-width: 150px;
    padding: 0.35rem;
    border: 1px solid #dfd7cf;
    background: #f8f5f1;
    box-shadow: 0 12px 24px rgba(24, 19, 14, 0.09);
    z-index: 6;
}

.article-comment-item-menu-action {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.65rem 0.75rem;
    text-align: left;
    font-size: 0.92rem;
    color: #7b3e37;
}

.article-comment-item-menu-action:disabled {
    opacity: 0.65;
}

.article-comment-item-text {
    margin: 0.55rem 0 0 3.25rem;
    font-size: 0.96rem;
    line-height: 1.6;
    color: #3d3a36;
}

.article-comment-item-actions {
    margin: 0.55rem 0 0 3.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-comment-reply-btn {
    border: none;
    background: transparent;
    padding: 0;
    color: #3d3a36;
    font-size: 0.92rem;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

html.dark .article-engage-btn {
    color: #bdc5cf;
}

html.dark .article-engage-btn:hover {
    color: #f1ece6;
}

html.dark .article-engage-btn.active {
    color: #f1ece6;
}

html.dark .article-toolbar-icon-btn.active {
    background: #2c2218;
}

html.dark .article-engage-btn.active .article-engage-count {
    color: #f1ece6;
}

html.dark .article-comment-kicker,
html.dark .article-comment-total,
html.dark .article-comment-status,
html.dark .article-comment-empty {
    color: #bdc5cf;
}

html.dark .article-comment-sort-btn,
html.dark .article-comment-like-btn,
html.dark .article-comment-reply-btn,
html.dark .article-comment-item-menu {
    color: #f1ece6;
}

html.dark .article-comment-sort-menu,
html.dark .article-comment-item-menu-panel {
    border-color: #2b3138;
    background: #181d23;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

html.dark .article-comment-sort-option {
    color: #f1ece6;
}

html.dark .article-comment-sort-option.active {
    color: #7bd67b;
}

html.dark .article-comment-item-menu-action {
    color: #f0b4ae;
}

html.dark .article-comment-title,
html.dark .article-comment-item-author {
    color: #f1ece6;
}

html.dark .article-comment-panel {
    background: transparent;
}

html.dark .article-comment-form,
html.dark .article-comment-item {
    border-bottom-color: #2b3138;
}

html.dark .article-comment-input,
html.dark .article-comment-textarea {
    border-color: #2b3138;
    background: #101317;
    color: #f1ece6;
}

html.dark .article-comment-item-meta {
    color: #9da8b5;
}

html.dark .article-comment-item-date {
    color: #9da8b5;
}

html.dark .article-comment-item-text {
    color: #d6dce4;
}

html.dark .article-comment-avatar {
    background: linear-gradient(135deg, #526172, #7c8a98);
    color: #f5f7f9;
}

.trending-now-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: #6b6660;
}

.trending-now-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #b39b85;
    flex-shrink: 0;
}

.trending-now-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trending-now-item {
    display: grid;
    grid-template-columns: 28px 56px 1fr auto;
    gap: 0.65rem;
    align-items: start;
    text-decoration: none;
    border: 1px solid #e6dfd5;
    border-radius: 10px;
    background: #f9f5ef;
    padding: 0.6rem 0.65rem;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.trending-now-thumb-wrap {
    width: 56px;
    height: 44px;
    border-radius: 7px;
    overflow: hidden;
    background: #ebe5de;
    border: 1px solid #d4cdc4;
    position: relative;
}

.trending-now-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trending-now-item:hover {
    border-color: #d4cdc4;
    background: #f2ece4;
    transform: translateY(-1px);
}

.trending-now-index {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #ebe5de;
    border: 1px solid #d4cdc4;
    color: #5c5853;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
}

.trending-now-title {
    font-family: inherit;
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 600;
    color: #262422;
    margin: 0;
}

.trending-now-meta {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #6b6660;
}

.trending-now-arrow {
    color: #a69179;
    margin-top: 0.2rem;
}

.trending-now-empty {
    font-size: 0.85rem;
    color: #6b6660;
}

html.dark .trending-now-header,
html.dark .trending-now-meta,
html.dark .trending-now-empty {
    color: #bdc5cf;
}

html.dark .trending-now-item {
    border-color: #2b3138;
    background: #181d23;
}

html.dark .trending-now-item:hover {
    border-color: #3b4653;
    background: #1f2630;
}

html.dark .trending-now-index {
    background: #252c35;
    border-color: #3b4653;
    color: #d6dce4;
}

html.dark .trending-now-thumb-wrap {
    background: #252c35;
    border-color: #3b4653;
}

html.dark .trending-now-title {
    color: #f1ece6;
}

html.dark .trending-now-arrow {
    color: #bdc5cf;
}

/* Insights page redesign */
.insight-layout {
    position: relative;
    background: transparent;
    border-radius: 10px;
}

html.dark .insight-layout {
    background: transparent;
}

@keyframes insightMenuFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .insight-card.animated-card,
    .insight-card .insight-card-media,
    .insight-card .insight-card-body,
    #insight-hero .insight-hero-text,
    #insight-hero .insight-hero-media,
    .insight-hero-btn,
    .insight-hero-media img,
    .insight-menu-flyout {
        animation: none !important;
        transition: none !important;
    }
}

.insight-hero {
    display: flex;
    align-items: stretch;
    border: 1px solid #ddd3c7;
    border-radius: 10px;
    overflow: hidden;
    background: #eee7df;
    height: clamp(260px, 28vw, 320px);
    min-height: 260px;
    position: relative;
    box-shadow: 0 8px 20px rgba(52, 42, 32, 0.08);
}

.insight-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.54), transparent 42%),
        radial-gradient(circle at 29% 84%, rgba(203, 183, 161, 0.35), transparent 54%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(50, 40, 30, 0.03));
    pointer-events: none;
    z-index: 0;
}

.insight-hero::after {
    content: none;
}

.insight-hero-text {
    padding: clamp(1.25rem, 2.2vw, 1.9rem) clamp(1.15rem, 2vw, 2.05rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(560px, 58%);
    max-width: 58%;
    background: linear-gradient(
        90deg,
        rgba(245, 240, 234, 0.92) 0%,
        rgba(245, 240, 234, 0.78) 58%,
        rgba(245, 240, 234, 0.12) 100%
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    z-index: 3;
}

.insight-kicker {
    font-size: clamp(0.78rem, 0.78vw, 0.88rem);
    color: #8a7b6d;
    margin: 0 0 0.62rem 0;
    letter-spacing: 0.045em;
    text-transform: none;
    font-weight: 500;
}

.insight-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.72rem, 2.28vw, 2.48rem);
    line-height: 1.05;
    color: #2f2923;
    margin: 0;
    max-width: 20ch;
    letter-spacing: -0.01em;
    display: block;
    overflow: hidden;
    max-height: 2.1em;
}

.insight-hero-subtitle {
    margin: 0.72rem 0 0 0;
    color: #686058;
    font-size: clamp(0.9rem, 0.97vw, 1.04rem);
    line-height: 1.35;
    max-width: 40ch;
    display: block;
    overflow: hidden;
    max-height: 2.7em;
}

.insight-meta-row {
    margin-top: 0.85rem;
    color: #71675d;
    font-size: clamp(0.74rem, 0.78vw, 0.85rem);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.dot-sep {
    color: #a69179;
    margin: 0 0.12rem;
}

.insight-hero-btn {
    margin-top: 0.88rem;
    align-self: flex-start;
    background: rgba(179, 155, 133, 0.42);
    color: #2f2923;
    text-decoration: none;
    font-size: clamp(0.88rem, 0.9vw, 0.98rem);
    font-weight: 400;
    line-height: 1;
    padding: 0.46rem 0.95rem;
    border-radius: 6px;
    border: 1px solid rgba(179, 155, 133, 0.55);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 10px rgba(52, 42, 32, 0.12);
}

.insight-hero-btn:hover {
    background: rgba(179, 155, 133, 0.52);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(52, 42, 32, 0.16);
}

.insight-hero-media {
    display: block;
    min-height: 100%;
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 0;
    margin-left: 0;
    z-index: 1;
}

.insight-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center 52%;
    position: relative;
    z-index: 1;
    transform: scale(1.03);
    transition: transform 2.1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.insight-hero:hover .insight-hero-media img {
    transform: scale(1.07);
}

.insight-hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(245, 240, 234, 0.85) 0%, rgba(245, 240, 234, 0.42) 38%, rgba(245, 240, 234, 0) 68%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 1;
    z-index: 2;
}

.insight-hero-media::after {
    content: none;
}

.insight-chips {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem 0.35rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
}

.insight-chip-dot {
    color: #b4a89c;
    font-size: 1.15rem;
    line-height: 1;
}

.insight-chip {
    border: 1px solid transparent;
    background: transparent;
    color: #5d5751;
    font-size: 1rem;
    line-height: 1;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex: 0 0 auto;
}

.insight-chip.active {
    background: #ebdfd2;
    border-color: #d8c6b5;
    color: #2f2b27;
}

.insight-chip:hover {
    color: #2f2b27;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.45rem 1.25rem;
}

.insight-card {
    display: block;
    text-decoration: none;
    border-radius: 0;
    overflow: visible;
    border: none;
    background: transparent;
    color: inherit;
}

.insight-card-media-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    transform: translateZ(0);
    background: #ebe5de;
}

html.dark .insight-card-media-wrap {
    background: #252c35;
}

.insight-card-media,
.insight-card-media-wrap .eb-aspect-media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 0;
    transform: scale(1);
    transform-origin: center center;
    transition:
        transform 2.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 2.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.insight-pill {
    position: absolute;
    left: 0.7rem;
    bottom: 0.7rem;
    font-size: 0.92rem;
    color: var(--insight-pill-text, #3f3a35);
    background: var(--insight-pill-bg, rgba(236, 226, 214, 0.95));
    border: 1px solid var(--insight-pill-border, #d8c8b8);
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    pointer-events: none;
}

.insight-author-level {
    position: absolute;
    right: 0.7rem;
    top: 0.7rem;
    font-size: 0.72rem;
    color: #2f2a24;
    background: rgba(236, 226, 214, 0.95);
    border: 1px solid #d8c8b8;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    max-width: calc(100% - 1.4rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.insight-card-body {
    padding: 0.52rem 0.05rem 0 0.02rem;
}

.insight-card-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.8rem;
    line-height: 1.15;
    color: var(--insight-subcategory-text, #292621);
    margin: 0.38rem 0 0.28rem;
}

.insight-card-role {
    font-size: 1.08rem;
    color: #5f5851;
    margin: 0;
}

.insight-card-meta {
    font-size: 0.72rem;
    color: #6b645d;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    align-items: center;
    margin-bottom: 0;
}

.insight-card.animated-card {
    transform: translateY(16px);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, box-shadow 0.35s ease;
}

.insight-card.animated-card.is-visible {
    transform: translateY(0);
}

.insight-card.animated-card:not(.eb-zoom-hover):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.insight-card.animated-card:not(.eb-zoom-hover):hover .insight-card-media,
.insight-card.animated-card:not(.eb-zoom-hover):hover .insight-card-media-wrap .eb-aspect-media-img {
    transform: scale(1.1);
    filter: saturate(1.08) contrast(1.03);
}

.insight-card.animated-card:active {
    transform: translateY(-1px) scale(0.996);
    transition-duration: 160ms;
}

.insight-card.animated-card:active .insight-card-media,
.insight-card.animated-card:active .insight-card-media-wrap .eb-aspect-media-img {
    transform: none;
    transition-duration: 220ms;
}

@keyframes insightCategorySwitchOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: translateY(8px) scale(0.99);
        filter: blur(1px);
    }
}

@keyframes insightCategoryCardIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.99);
        filter: saturate(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: saturate(1);
    }
}

.insight-grid-switching {
    opacity: 0.6;
    transition: opacity 200ms ease-out;
    pointer-events: none;
}

.insight-grid-switching .insight-card.animated-card {
    animation: insightCategorySwitchOut 180ms ease-out both;
}

.category-card-animate {
    animation: insightCategoryCardIn 550ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bureauOrderCardIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
        filter: saturate(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: saturate(1);
    }
}

.insight-card.animated-card.is-visible.bureau-order-card {
    animation: bureauOrderCardIn 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--bureau-order-delay, 0ms);
}

.bureau-order-card {
    border-radius: 12px;
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease;
}

.bureau-order-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 44px rgba(9, 14, 24, 0.32);
}

.bureau-order-card .insight-card-media-wrap .eb-aspect-media-img {
    transition:
        transform 2.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 2.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.bureau-order-card:hover .insight-card-media,
.bureau-order-card:hover .insight-card-media-wrap .eb-aspect-media-img {
    transform: scale(1.1);
    filter: saturate(1.06) contrast(1.03);
}

.bureau-order-card .insight-pill,
.bureau-order-card .insight-card-body > div span {
    transition: transform 260ms ease, border-color 260ms ease;
}

.bureau-order-card:hover .insight-pill,
.bureau-order-card:hover .insight-card-body > div span {
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    .insight-card.animated-card.is-visible.bureau-order-card {
        animation: none;
    }

    .bureau-order-card,
    .bureau-order-card:hover,
    .bureau-order-card .insight-card-media,
    .bureau-order-card:hover .insight-card-media,
    .bureau-order-card .insight-pill,
    .bureau-order-card .insight-card-body > div span,
    .bureau-order-card:hover .insight-pill,
    .bureau-order-card:hover .insight-card-body > div span {
        transition: none;
        transform: none;
    }
}

/* Keep hero/card media + text reveal synchronized */
#insight-hero .insight-hero-text,
#insight-hero .insight-hero-media,
.insight-card .insight-card-media,
.insight-card .insight-card-body {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

#insight-hero.is-visible .insight-hero-text,
#insight-hero.is-visible .insight-hero-media,
.insight-card.is-visible .insight-card-media,
.insight-card.is-visible .insight-card-body {
    opacity: 1;
    transform: translateY(0);
}

.why-bureau {
    padding-top: 0.8rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.why-item {
    text-align: center;
}

.why-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 0.75rem;
    border-radius: 999px;
    border: 1px solid #cbb9a7;
    color: #7f6752;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #efe6dc;
}

.why-item h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    color: #2d2a25;
    margin: 0 0 0.25rem;
}

.why-item p {
    color: #66605a;
    font-size: 0.95rem;
    line-height: 1.35;
    margin: 0;
}

html.dark .insight-hero {
    background: #1a1d21;
    border-color: #2b3138;
}

html.dark .insight-hero-text {
    background: linear-gradient(
        90deg,
        rgba(16, 19, 23, 0.86) 0%,
        rgba(16, 19, 23, 0.66) 58%,
        rgba(16, 19, 23, 0.12) 100%
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

html.dark .insight-hero-media::before {
    background:
        linear-gradient(90deg, rgba(16, 19, 23, 0.78) 0%, rgba(16, 19, 23, 0.36) 38%, rgba(16, 19, 23, 0) 68%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.18) 100%);
}

html.dark .insight-hero::after {
    content: none;
}

html.dark .insight-kicker,
html.dark .insight-meta-row,
html.dark .insight-card-meta,
html.dark .insight-card-role,
html.dark .why-item p {
    color: #bdc5cf;
}

html.dark .insight-hero-title,
html.dark .insight-hero-subtitle,
html.dark .insight-card-title,
html.dark .why-item h3 {
    color: #f1ece6;
}

html.dark .insight-hero-btn {
    color: #f1ece6;
    border-color: rgba(214, 192, 173, 0.42);
    background: rgba(214, 192, 173, 0.18);
}

html.dark .insight-chip.active {
    background: #25303b;
    border-color: #334354;
    color: #e7e2db;
}

html.dark .insight-chip {
    color: #bdc5cf;
}

html.dark .insight-chip:hover {
    color: #f1ece6;
}

html.dark .insight-chip-dot {
    color: #6f7d8d;
}

html.dark .insight-card {
    background: transparent;
    border-color: transparent;
}

html.dark .insight-card.animated-card:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

html.dark .insight-pill {
    background: var(--insight-pill-bg-dark, rgba(34, 42, 52, 0.95));
    border-color: var(--insight-pill-border-dark, #3b4a5d);
    color: var(--insight-pill-text-dark, #d8dee6);
}

html.dark .insight-author-level {
    background: rgba(34, 42, 52, 0.95);
    border-color: #3b4a5d;
    color: #d8dee6;
}

html.dark .insight-card-title {
    color: var(--insight-subcategory-text-dark, #f1ece6);
}

html.dark .why-bureau {
    border-top-color: transparent;
}

html.dark .why-icon {
    border-color: #3b4a5d;
    background: #252c35;
    color: #d6c0ad;
}

@media (max-width: 1200px) {
    .insight-hero {
        height: clamp(240px, 30vw, 300px);
        min-height: 240px;
    }
}

@media (max-width: 900px) {
    .insight-hero {
        display: block;
        height: auto;
        min-height: auto;
    }

    .insight-hero::after {
        content: none;
    }

    .insight-hero-text {
        width: 100%;
        max-width: 100%;
        padding: 1.2rem 1.15rem 1rem;
        background: linear-gradient(180deg, rgba(245, 240, 234, 0.9) 0%, rgba(245, 240, 234, 0.72) 58%, rgba(245, 240, 234, 0.08) 100%);
    }

    .insight-hero-media::before {
        background: linear-gradient(180deg, rgba(245, 240, 234, 0.62) 0%, rgba(245, 240, 234, 0.18) 52%, rgba(245, 240, 234, 0) 100%);
    }

    .insight-hero-media {
        margin-left: 0;
    }

    .insight-hero-media {
        position: relative;
        inset: auto;
        height: 230px;
        min-height: 230px;
    }

    .insight-hero-media img {
        height: 230px;
        min-height: 230px;
    }

    .insight-grid,
    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 640px) {
    .insight-kicker {
        font-size: 0.9rem;
    }

    .insight-hero-title {
        font-size: 1.82rem;
    }

    .insight-hero-subtitle {
        font-size: 0.94rem;
    }

    .insight-hero-btn {
        font-size: 0.92rem;
        padding: 0.6rem 0.9rem;
    }

    .insight-chip {
        font-size: 0.9rem;
        padding: 0.33rem 0.6rem;
    }

    .insight-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .insight-card-title {
        font-size: 0.86rem;
    }

    .global-search-panel {
        padding: 0.85rem;
    }

    .global-search-form {
        grid-template-columns: 1fr;
    }

    .global-search-submit {
        height: 42px;
    }
}

.insight-divider {
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0.4rem 0 1.35rem;
}

.insight-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid #dfd6cc;
    transform: translateY(-50%);
}

.insight-divider span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid #d0c0af;
    background: #f5f0ea;
    position: relative;
    z-index: 1;
}

html.dark .insight-divider::before {
    border-top-color: #2b3138;
}

html.dark .insight-divider span {
    background: #101317;
    border-color: #3b4a5d;
}
