:root {
    --page-bg: #07111f;
    --surface: rgba(11, 22, 38, 0.86);
    --surface-soft: rgba(255, 255, 255, 0.04);
    --border: rgba(162, 188, 222, 0.16);
    --text-main: #eff6ff;
    --text-dim: #abc1de;
    --heading: #f8fbff;
    --accent: #7dd3fc;
    --accent-soft: rgba(125, 211, 252, 0.14);
    --danger: #f87171;
    --shadow: 0 24px 72px rgba(2, 10, 24, 0.48);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background: var(--page-bg);
    color: var(--text-main);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    top: 0 !important;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 11, 20, 0.78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--danger);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.exit-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(248, 113, 113, 0.08);
}

.lang-switch {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.lang-switch:hover {
    border-color: rgba(125, 211, 252, 0.35);
    color: var(--accent);
}

#google_translate_element,
.goog-te-banner-frame,
.skiptranslate {
    display: none !important;
}

.article-container,
.container {
    max-width: 920px;
    margin: 3rem auto 4rem;
    padding: 0 1.5rem;
}

.article-container > *:not(script),
.container > *:not(script) {
    position: relative;
}

.article-container > .content,
.container > header,
.container > .section-card,
.container > .verdict,
.article-container > .content,
.article-container > .meta,
.article-container > .author-meta,
.article-container > h1,
.article-container > .category-tag,
.article-container > .category-label,
.container > .meta,
.container > .intro {
    z-index: 1;
}

.article-container::before,
.container::before {
    content: "";
    position: absolute;
}

.article-container,
.container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.category-tag,
.category-label,
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft) !important;
    color: #d8f2ff !important;
    border: 1px solid rgba(125, 211, 252, 0.16);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--heading);
}

h1 {
    font-size: clamp(2.7rem, 4.6vw, 4.15rem);
    line-height: 0.95;
    margin: 0 0 1.15rem;
    letter-spacing: -0.03em;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}

.meta,
.author-meta,
.intro {
    color: var(--text-dim);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
}

.intro {
    font-size: 1.1rem;
    line-height: 1.78;
}

.feature-hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1.4rem;
    margin: 1.3rem 0 2rem;
}

.feature-hero-card,
.insight-strip,
.pull-quote,
.editorial-card {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 22px;
}

.feature-hero-card {
    padding: 1.6rem;
}

.feature-hero-card img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.feature-hero-copy {
    display: grid;
    align-content: center;
    gap: 1rem;
}

.feature-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d8f2ff;
    background: var(--accent-soft);
    border: 1px solid rgba(125, 211, 252, 0.16);
}

.feature-hero-copy p,
.editorial-card p {
    margin: 0;
}

.insight-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    margin: 1.6rem 0 2rem;
}

.insight-strip strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d8f2ff;
}

.insight-strip span {
    color: var(--text-dim);
    line-height: 1.68;
    font-size: 0.95rem;
}

.pull-quote {
    padding: 1.6rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.pull-quote::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.08), transparent 55%);
    pointer-events: none;
}

.pull-quote blockquote {
    position: relative;
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
    line-height: 1.08;
    color: var(--heading);
}

.pull-quote span {
    position: relative;
    display: block;
    margin-top: 0.8rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.7rem 0 0;
}

.editorial-card {
    padding: 1.35rem;
}

.editorial-card strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d8f2ff;
}

.content,
header {
    position: relative;
}

.content::after {
    content: "";
    display: table;
    clear: both;
}

.portrait-wrapper {
    float: left;
    width: min(320px, 44%);
    margin: 0 2rem 1.5rem 0;
    padding: 12px;
    border-radius: 22px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.portrait-img,
.portrait-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.portrait-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(162, 188, 222, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-placeholder::after {
    content: "Portrait Photo";
    color: var(--text-dim);
    font-weight: 700;
    font-size: 0.9rem;
}

.caption-text {
    font-size: 0.82rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 0.6rem;
}

h2 {
    font-size: clamp(1.85rem, 2.8vw, 2.35rem);
    margin-top: 2.6rem;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.35rem;
    margin: 0 0 0.55rem;
}

p {
    margin-bottom: 1.28rem;
    font-size: 1.03rem;
    line-height: 1.8;
    color: var(--text-dim);
}

strong {
    color: var(--heading);
}

.ai-feature-card,
.subsection,
.section-card,
.verdict {
    background: var(--surface-soft) !important;
    border: 1px solid var(--border) !important;
    border-radius: 22px !important;
    padding: 1.7rem !important;
    margin: 1.95rem 0 !important;
    box-shadow: none !important;
}

.ai-feature-card,
.section-card {
    border-left: 1px solid var(--border) !important;
}

.section-card::before {
    display: none !important;
}

.subsection h3,
.ai-feature-card h3 {
    color: var(--accent) !important;
}

.verdict {
    text-align: left !important;
}

.verdict h2 {
    justify-content: flex-start !important;
    color: var(--heading) !important;
}

@media (max-width: 768px) {
    .top-nav {
        position: relative;
        backdrop-filter: none;
        background: rgba(5, 11, 20, 0.94);
    }

    .feature-hero,
    .insight-strip,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .article-container,
    .container {
        width: min(100% - 24px, 920px);
        margin: 1.25rem auto 1.75rem;
        padding: 1.5rem 0.9rem 1.75rem;
        border-radius: 24px;
    }

    .feature-hero-card,
    .feature-hero-copy,
    .pull-quote,
    .editorial-card,
    .ai-feature-card,
    .subsection,
    .section-card,
    .verdict {
        padding: 1.2rem !important;
    }

    h1 {
        font-size: clamp(2.15rem, 12vw, 3rem);
        line-height: 0.98;
    }

    h2 {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
        margin-top: 2rem;
    }

    p {
        font-size: 0.98rem;
        line-height: 1.74;
    }

    .feature-hero-card img {
        min-height: 0;
        aspect-ratio: 4 / 5;
    }

    .pull-quote blockquote {
        font-size: clamp(1.45rem, 7vw, 1.9rem);
    }

    .portrait-wrapper {
        float: none;
        width: 100%;
        margin: 0 0 1.25rem;
    }
}

@media (max-width: 640px) {
    .top-nav {
        padding: 0.75rem 1rem;
    }
}
