/* Prof. Dr. Xəzər Hüseynov — Academic Site Shared Styles */
:root {
    --navy: #000a39;
    --navy-light: #0d1a5c;
    --accent: #b8860b;
    --text: #2d3748;
    --muted: #718096;
    --bg-section: #f7f8fc;
    --border-light: #e2e8f0;
}

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

body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--text);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    line-height: 1.8;
}

a { color: var(--navy); }
a:hover { color: var(--accent); }

/* ── Navigation ── */
.site-nav {
    background-color: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: 1rem;
}
.nav-brand {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    font-weight: 600;
}
.nav-brand:hover { color: rgba(255,255,255,0.85); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.nav-links a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.4rem 0.65rem;
    border-radius: 3px;
    letter-spacing: 0.03em;
    transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-lang {
    display: flex;
    gap: 0.2rem;
    align-items: center;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 0.8rem;
    margin-left: 0.4rem;
}
.nav-lang a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.78rem;
    padding: 0.25rem 0.45rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
    font-style: normal;
    font-family: system-ui, sans-serif;
}
.nav-lang a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.nav-lang a.current { color: #fff; font-weight: 700; }

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 0.3rem 0.55rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu { display: none; flex-direction: column; width: 100%; }
    .nav-menu.open { display: flex; }
    .nav-links { flex-direction: column; align-items: flex-start; padding: 0.5rem 0 0.75rem; }
    .nav-links a { display: block; width: 100%; padding: 0.5rem 0; }
    .nav-lang { border-left: none; padding-left: 0; margin-left: 0; padding-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.15); }
    .nav-inner { flex-wrap: wrap; padding-bottom: 0; }
    .nav-inner.open { padding-bottom: 0.5rem; }
}

/* ── Hero / Header ── */
.site-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
}
.site-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0 0 0.4rem;
}
.site-header .subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    font-style: italic;
    margin: 0 0 0.3rem;
}
.site-header .affiliation {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.62);
    margin: 0;
}
.hero-profile {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    margin-bottom: 0.9rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 600px) {
    .site-header h1 { font-size: 1.85rem; }
    .hero-profile { width: 100px; height: 100px; }
}

/* ── Layout ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-narrow {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
section { padding: 3.5rem 0; }
section.alt { background-color: var(--bg-section); }

/* ── Section title ── */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--navy);
    display: inline-block;
}

/* ── Profile block ── */
.profile-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto 1rem;
}
.about-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 640px) {
    .about-grid { grid-template-columns: 1fr; }
    .profile-img { margin-bottom: 1rem; }
}
.about-text p { margin: 0 0 1rem; }
.about-text p:last-child { margin-bottom: 0; }

/* ── Research cards ── */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.research-card {
    border-left: 4px solid var(--navy);
    padding: 1.4rem 1.6rem;
    background: #fff;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.07);
    text-decoration: none;
    display: block;
    color: var(--text);
    transition: box-shadow 0.2s, transform 0.2s;
}
.research-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.13); transform: translateY(-2px); color: var(--text); }
.research-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 0.6rem;
}
.research-card p { font-size: 0.93rem; margin: 0; }

/* ── Publication item ── */
.pub-item {
    border-left: 4px solid var(--accent);
    padding: 1.1rem 1.4rem;
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.pub-item h5 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 0.3rem;
}
.pub-item p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ── Timeline (career) ── */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-light);
}
.timeline li {
    padding: 0 0 2rem 3.5rem;
    position: relative;
}
.timeline li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--navy);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--navy);
}
.timeline .tl-period {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: system-ui, sans-serif;
    margin-bottom: 0.15rem;
    display: block;
}
.timeline .tl-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 0.2rem;
}
.timeline .tl-detail {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

/* ── Awards ── */
.award-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 0.8rem;
}
.award-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem; }
.award-item h5 { font-size: 0.98rem; font-weight: 600; margin: 0 0 0.2rem; color: var(--navy); }
.award-item p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ── Skeleton placeholder ── */
.skeleton {
    background: #f0f2f8;
    border: 2px dashed #c8d0e0;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--muted);
    font-style: italic;
    font-size: 0.9rem;
}

/* ── Quick facts ── */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.fact-item {
    background: #fff;
    border-radius: 6px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    text-align: center;
}
.fact-label {
    font-size: 0.78rem;
    color: var(--muted);
    font-family: system-ui, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
}
.fact-value {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--navy);
}

/* ── CTA button ── */
.btn-primary {
    background-color: var(--navy);
    color: #fff;
    border: none;
    padding: 0.65rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    transition: background 0.2s;
}
.btn-primary:hover { background-color: var(--navy-light); color: #fff; }

/* ── Page intro (for inner pages) ── */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    padding: 2.5rem 1.5rem 2rem;
}
.page-header h1 { font-size: 1.9rem; font-weight: 600; margin: 0 0 0.3rem; }
.page-header p { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin: 0; font-style: italic; }

/* ── Breadcrumb ── */
.breadcrumb {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
    font-family: system-ui, sans-serif;
}
.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 0.4rem; }

/* ── Footer ── */
footer {
    background-color: var(--navy);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 1.75rem 1.5rem;
    font-size: 0.85rem;
    font-family: system-ui, sans-serif;
}
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: #fff; }

/* ── Utility ── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

/* ── PREMIUM DESIGN ENHANCEMENTS ── */

/* Typography Refinement */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--navy);
}

h1 { font-size: 2.5rem; margin: 0 0 1rem 0; font-weight: 600; }
h2 { font-size: 1.8rem; margin: 2.5rem 0 1.2rem 0; }
h2.section-title { font-size: 1.6rem; font-weight: 500; position: relative; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border-light); }
h3 { font-size: 1.35rem; margin: 1.8rem 0 0.8rem 0; }
h4 { font-size: 1.15rem; margin: 1.3rem 0 0.6rem 0; }
h5 { font-size: 1.05rem; margin: 0.8rem 0 0.3rem 0; }
p { margin: 0 0 1rem 0; color: #3d3d3d; }

body { font-size: 1.05rem; line-height: 1.75; }
.container { max-width: 1100px; }
.container-narrow { max-width: 880px; }

/* Navigation Premium Refinement */
.site-nav {
    background: linear-gradient(180deg, var(--navy) 0%, #0a0d2a 100%);
    box-shadow: 0 4px 12px rgba(0, 10, 57, 0.15);
    backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
}

.nav-links a {
    position: relative;
    font-size: 0.88rem;
    padding: 0.5rem 0.8rem;
    transition: all 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0.35rem;
    left: 0.8rem;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: calc(100% - 1.6rem);
}

.nav-links a.active { color: #fff; }

/* Hero Section */
.site-header {
    background: linear-gradient(135deg, var(--navy) 0%, #0d1a5c 100%);
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero-profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    margin-bottom: 0.9rem;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.site-header h1 {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-size: 2.8rem;
}

.site-header .subtitle {
    font-size: 1.4rem;
    color: var(--accent);
    margin: 0.5rem 0 0.8rem 0;
    font-style: italic;
}

.site-header .affiliation {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 500;
}

/* Section Styling */
section {
    padding: 3.5rem 1.5rem;
}

section.alt {
    background: var(--bg-section);
}

/* Grid & Card Styling */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 900px;
}

.fact-item {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.fact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.fact-label { display: block; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.fact-value { display: block; font-size: 1.25rem; font-weight: 600; color: var(--navy); }

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.research-card {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.research-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.research-card h3 {
    color: var(--navy);
    margin-top: 0;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--accent);
}

/* Timeline Styling */
.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
}

.timeline li {
    display: flex;
    margin-bottom: 2.2rem;
    padding-left: 0;
    position: relative;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--navy);
}

.timeline li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 32px;
    width: 1px;
    height: calc(100% + 1.5rem);
    background: var(--border-light);
}

.tl-period {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 140px;
    padding-left: 1.5rem;
}

.tl-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 0.3rem 0;
    padding-left: 1.5rem;
}

.tl-detail {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    padding-left: 1.5rem;
    line-height: 1.6;
}

/* Publication Items */
.pub-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.pub-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pub-item h5 {
    font-weight: 600;
    line-height: 1.5;
    margin-top: 0;
}

.pub-item a {
    color: var(--navy);
    text-decoration: underline;
    transition: color 0.2s;
}

.pub-item a:hover {
    color: var(--accent);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 2px solid var(--navy);
}

.btn-primary:hover {
    background: transparent;
    color: var(--navy);
    box-shadow: 0 4px 12px rgba(0, 10, 57, 0.15);
}

/* Reference Links */
.ref-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}

.ref-link {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--accent);
    border-radius: 6px;
    text-decoration: none;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}

.ref-link:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* Skeleton/Placeholder */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    padding: 1.2rem;
    border-radius: 6px;
    color: #999;
    font-style: italic;
}

@keyframes loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .site-header { padding: 2rem 1.5rem; }
    .hero-profile { width: 120px; height: 120px; }
    .nav-links { gap: 0.05rem; }
    .nav-links a { font-size: 0.8rem; padding: 0.3rem 0.5rem; }
    section { padding: 2rem 1.5rem; }
    .facts-grid { gap: 1rem; grid-template-columns: 1fr 1fr; }
    .research-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }
    .site-header { padding: 1.5rem 1rem; }
    .hero-profile { width: 100px; height: 100px; }
    .nav-inner { min-height: 50px; }
    .nav-brand { font-size: 0.8rem; }
    body { font-size: 0.95rem; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .fact-item { padding: 0.85rem 0.9rem; }
    .fact-label { font-size: 0.68rem; margin-bottom: 0.2rem; }
    .fact-value { font-size: 0.88rem; }
    section { padding: 2rem 1rem; }
    .section-title { font-size: 1.3rem; margin-bottom: 1.5rem; }
    .btn-primary { padding: 0.5rem 1.4rem; font-size: 0.9rem; }
    .research-card { padding: 1.2rem 1.4rem; }
    .research-card h3 { font-size: 0.98rem; }
    .pub-item { padding: 1rem 1.2rem; }
    .pub-item h5 { font-size: 0.95rem; }
    .pub-item p { font-size: 0.85rem; }
}
.social-links{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:1.5rem}
.social-btn{display:inline-block;padding:.6rem 1.2rem;border:1px solid #d7dce5;border-radius:8px;color:#000a39;text-decoration:none;font-size:.9rem;background:#fff;transition:all .2s}
.social-btn:hover{border-color:#c9a227;color:#c9a227;transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,10,57,.08)}

/* ── Timeline FIX (block layout, mobile-safe) — 2026-09-17 ── */
.timeline { position: relative; max-width: 820px; padding: 0; margin: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border-light); }
.timeline li { display: block; position: relative; padding: 0 0 1.8rem 2.4rem; margin: 0; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--navy); }
.timeline li:not(:last-child)::after { content: none; }
.timeline .tl-period, .timeline .tl-title, .timeline .tl-detail { padding-left: 0; }
.timeline .tl-period { display: block; min-width: 0; text-transform: none; font-size: 0.82rem; color: var(--accent); font-weight: 700; letter-spacing: 0.03em; margin-bottom: 0.15rem; font-family: system-ui, sans-serif; }
.timeline .tl-title { font-size: 1.02rem; font-weight: 600; color: var(--navy); margin: 0 0 0.2rem; }
.timeline .tl-detail { font-size: 0.9rem; color: #555; margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
@media (max-width: 480px) { .timeline li { padding-left: 2.1rem; } .timeline .tl-title { font-size: 0.98rem; } .timeline .tl-detail { font-size: 0.88rem; } }

/* ── Responsive overflow guard — 2026-09-17 ── */
html, body { overflow-x: hidden; max-width: 100%; }
*, *::before, *::after { min-width: 0; }
img, svg, video, table, iframe { max-width: 100%; height: auto; }
.container, .container-narrow, .nav-inner, section, header, footer, .site-header { max-width: 100%; box-sizing: border-box; }
.nav-brand { white-space: normal; overflow-wrap: anywhere; }
p, li, h1, h2, h3, a, .tl-detail, .tl-title, .pub-item, .card { overflow-wrap: break-word; }
@media (max-width: 480px) {
  .nav-brand { font-size: 0.8rem; line-height: 1.2; }
  .container, .container-narrow, section { padding-left: 1rem; padding-right: 1rem; }
}

/* ── Footer contrast fix — 2026-09-17 ── */
footer, footer p, footer li, footer span, footer div, footer small { color: rgba(255,255,255,0.75); }
footer a { color: #ffffff; }
footer a:hover { color: var(--accent); }

/* ── Page-header heading contrast fix — 2026-09-17 ── */
.page-header h1, .page-header h2, .page-header .breadcrumb, .page-header p { color: #ffffff; }
.page-header .breadcrumb, .page-header p { color: rgba(255,255,255,0.8); }
.page-header a { color: #ffffff; }

/* Mobile 390px optimization */
@media (max-width: 390px) {
    .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
    .fact-item { padding: 0.8rem 0.8rem; }
    .fact-label { font-size: 0.65rem; margin-bottom: 0.15rem; }
    .fact-value { font-size: 0.85rem; }
    section { padding: 1.8rem 0.8rem; }
    .container, .container-narrow { padding: 0 0.8rem; }
    .research-card { padding: 1.1rem 1.3rem; }
    .research-grid { gap: 1rem; }
}

/* ── Mobile side padding fix (remove doubled gutter) — 2026-09-17 ── */
@media (max-width: 600px) {
  section { padding-left: 0.9rem; padding-right: 0.9rem; }
  section > .container, section > .container-narrow { padding-left: 0; padding-right: 0; }
}
