/* ============================================
   BBC-INSPIRED NEWS THEME
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Colors */
    --primary-red: #bb1919;
    --primary-red-hover: #a01515;
    --primary-red-light: rgba(187, 25, 25, 0.1);
    
    /* Text Colors */
    --text-black: #212121;
    --text-dark: #333333;
    --text-grey: #5a5a5a;
    --text-light: #767676;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f6f6f6;
    --bg-dark: #333333;
    --bg-footer: #2b2b2b;
    
    /* Border Colors */
    --border-color: #e3e3e3;
    --border-light: #f0f0f0;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.15);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Z-index Layers */
    --z-loader: 9999;
    --z-header: 1000;
    --z-dropdown: 100;
}

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*, 
*::before, 
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-black);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

/* ============================================
   LAYOUT CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* ============================================
   LOADER
   ============================================ */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-loader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   MAIN HEADER
   ============================================ */
.main-header {
    background: var(--primary-red);
    color: var(--bg-white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    box-shadow: var(--shadow-md);
}

.top-bar {
    padding: 12px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Logo */
.logo a {
    color: var(--bg-white);
    text-decoration: none;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: var(--transition-fast);
}

.logo a:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}

.main-nav ul li a {
    color: var(--bg-white);
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--bg-white);
    transition: transform 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.main-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    color: var(--bg-white);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.lang:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang.active {
    background: var(--bg-white);
    color: var(--primary-red);
    font-weight: 600;
    border-color: var(--bg-white);
}

.flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    
    /* Animation */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    will-change: transform, opacity;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Card Image Container */
.card-image-container {
    overflow: hidden;
    position: relative;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.card:hover img {
    transform: scale(1.08);
}

/* Image Overlay on Hover */
.card-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: var(--transition-base);
}

.card:hover .card-image-container::after {
    opacity: 1;
}

/* Card Content */
.card-content {
    padding: 20px;
}

.card h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--text-black);
    transition: var(--transition-fast);
}

.card:hover h2 {
    color: var(--primary-red);
}

.card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-black);
}

.card:hover h3 {
    color: var(--primary-red);
}

/* Meta Information */
.meta {
    font-size: var(--font-size-xs);
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta time,
.meta .category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta .category {
    background: var(--primary-red-light);
    color: var(--primary-red);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
}

/* Card Excerpt */
.card-excerpt {
    font-size: var(--font-size-sm);
    color: var(--text-grey);
    line-height: 1.6;
    margin-top: 8px;
}

/* ============================================
   NEWS GRID
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Stagger Animation for Grid Cards */
.news-grid .card:nth-child(1) { animation-delay: 0.05s; }
.news-grid .card:nth-child(2) { animation-delay: 0.1s; }
.news-grid .card:nth-child(3) { animation-delay: 0.15s; }
.news-grid .card:nth-child(4) { animation-delay: 0.2s; }
.news-grid .card:nth-child(5) { animation-delay: 0.25s; }
.news-grid .card:nth-child(6) { animation-delay: 0.3s; }
.news-grid .card:nth-child(7) { animation-delay: 0.35s; }
.news-grid .card:nth-child(8) { animation-delay: 0.4s; }
.news-grid .card:nth-child(9) { animation-delay: 0.45s; }
.news-grid .card:nth-child(10) { animation-delay: 0.5s; }

/* ============================================
   SINGLE ARTICLE PAGE
   ============================================ */
.article-single {
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    margin: 40px auto;
    padding: 0 20px;
}

.article-header {
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 24px;
}

.article-header .meta {
    margin-bottom: 12px;
}

.article-header h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin: 12px 0;
    color: var(--text-black);
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: var(--font-size-3xl);
    }
}

/* BBC Style Image */
.bbc-image {
    margin: 32px auto;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.bbc-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.bbc-image figcaption {
    font-size: var(--font-size-sm);
    color: var(--text-grey);
    margin-top: 12px;
    padding: 8px 16px;
    border-left: 4px solid var(--primary-red);
    text-align: left;
    display: inline-block;
    background: var(--bg-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    max-width: 90%;
}

/* Article Content */
.article-content {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-dark);
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: anywhere;
}

.article-content img,
.article-content video,
.article-content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 24px auto;
    border-radius: var(--radius-md);
}

.article-content figure {
    max-width: 100%;
    margin: 24px 0;
    overflow: hidden;
}

.article-content figure img {
    margin: 0 auto;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: var(--font-size-2xl);
    margin: 40px 0 20px;
    color: var(--text-black);
}

.article-content h3 {
    font-size: var(--font-size-xl);
    margin: 32px 0 16px;
    color: var(--text-black);
}

.article-content blockquote {
    border-left: 4px solid var(--primary-red);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-grey);
}

.article-content ul,
.article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 2px solid var(--border-color);
    text-decoration: none;
    color: var(--text-black);
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    background: var(--bg-white);
}

.pagination a:hover {
    background: var(--primary-red);
    color: var(--bg-white);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination a.active,
.pagination span.active {
    background: var(--primary-red);
    color: var(--bg-white);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
    cursor: default;
}

.pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   MAIN FOOTER
   ============================================ */
.main-footer {
    background: var(--bg-footer);
    color: var(--bg-white);
    padding: 60px 0 24px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--bg-white);
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.footer-section h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--bg-white);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: var(--font-size-sm);
}

.footer-section ul li a:hover {
    color: var(--bg-white);
    padding-left: 4px;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    font-size: var(--font-size-xs);
    color: #999999;
}

.footer-bottom a {
    color: var(--bg-white);
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--primary-red);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.5s ease forwards;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-grey); }
.text-red { color: var(--primary-red); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.hidden { display: none; }
.visible { display: block; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
        --font-size-2xl: 1.5rem;
    }
    
    .footer-grid {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
    }
    
    .main-nav ul {
        justify-content: space-around;
        flex-wrap: wrap;
    }
    
    .main-nav ul li a {
        padding: 6px 12px;
        font-size: var(--font-size-xs);
    }
    
    .article-single {
        margin: 24px auto;
    }
    
    .article-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    .bbc-image {
        margin: 24px auto;
    }
    
    .main-footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-4xl: 1.5rem;
        --font-size-3xl: 1.35rem;
        --font-size-2xl: 1.15rem;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-content {
        padding: 16px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: var(--font-size-xs);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Skip to main content link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary-red);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: calc(var(--z-header) + 1);
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 8px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .main-header,
    .main-footer,
    .pagination,
    #loader {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
    
    .article-single {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    a {
        color: black;
    }
    
    .bbc-image img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}
/* Phase 5 professional news portal layer */
.breaking-strip{display:flex;gap:1rem;align-items:center;overflow:auto;background:#171717;color:#fff;padding:.8rem 1rem;margin:-1rem -1rem 2rem;border-left:5px solid #bb1919;white-space:nowrap}.breaking-strip strong{color:#ffb4b4;font-size:.75rem;letter-spacing:.14em}.breaking-strip a:hover{color:#ffb4b4}.portal-kicker,.elite-kicker{color:#bb1919;text-transform:uppercase;font-size:.73rem;font-weight:800;letter-spacing:.14em}.section-deck{font-size:1.1rem;color:#5a5a5a;margin-bottom:2rem}.portal-card-grid,.featured-grid,.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.portal-card,.featured-card,.related-card{background:#fff;border:1px solid #e3e3e3;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.portal-card:hover,.featured-card:hover,.related-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #0001}.portal-card img,.featured-card img,.related-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.portal-card-body,.featured-card,.related-card{padding:1rem}.portal-card-body h2,.featured-card h3,.related-card h3{margin:.45rem 0;line-height:1.25}.portal-card-body p,.related-card span{color:#767676;font-size:.85rem}.breaking-pill{display:inline-block;background:#bb1919;color:#fff;padding:.25rem .5rem;font-size:.7rem;font-weight:800;text-transform:uppercase}.featured-block,.related-section{margin-top:3rem}.featured-card{padding:0}.featured-card span,.featured-card h3{display:block;margin-left:1rem;margin-right:1rem}.featured-card h3{margin-bottom:1rem}.related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.related-card{padding:0}.related-card h3{font-size:1rem}.empty-state{padding:2rem;background:#f6f6f6;color:#5a5a5a}@media(max-width:800px){.portal-card-grid,.featured-grid,.related-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.portal-card-grid,.featured-grid,.related-grid{grid-template-columns:1fr}.breaking-strip{margin-left:-.5rem;margin-right:-.5rem}}

.article-single .article-header h1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:22ch}

/* Phase 5.1: refined breaking ticker and category experience */
.breaking-strip{position:relative;display:flex;align-items:center;gap:1.15rem;min-height:52px;margin:-1rem -1rem 2.4rem;padding:.7rem 1rem;background:linear-gradient(100deg,#171717 0%,#292929 100%);border-left:4px solid #bb1919;box-shadow:0 8px 20px rgba(18,18,18,.12);overflow:hidden}
.breaking-label{display:inline-flex;align-items:center;gap:.55rem;flex:0 0 auto;color:#ffb5b5;font-size:.7rem;font-weight:800;letter-spacing:.16em;white-space:nowrap}
.breaking-dot{width:8px;height:8px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 5px rgba(239,68,68,.14);animation:breakingPulse 1.7s ease-in-out infinite}
.breaking-track{position:relative;flex:1;min-width:0;height:28px;overflow:hidden}
.breaking-story{position:absolute;inset:0;display:flex;align-items:center;color:#fff;font-size:.95rem;font-weight:600;opacity:0;transform:translateY(12px);transition:opacity .35s ease,transform .35s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.breaking-story.is-active{opacity:1;transform:translateY(0)}
.breaking-story:hover{color:#ffb5b5}
.breaking-next{flex:0 0 auto;width:30px;height:30px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:transparent;color:#fff;cursor:pointer;line-height:1;transition:background .2s ease,border-color .2s ease}
.breaking-next:hover{background:#bb1919;border-color:#bb1919}
@keyframes breakingPulse{0%,100%{opacity:.65;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}
.category-page{max-width:1120px;margin:0 auto;padding:1.25rem 0 3rem}
.category-page .portal-kicker{display:inline-flex;align-items:center;gap:.55rem;margin-bottom:.7rem;color:#bb1919;font-size:.72rem;letter-spacing:.16em}
.category-page .portal-kicker::before{content:"";display:inline-block;width:34px;height:3px;border-radius:3px;background:#bb1919}
.category-page .section-title{margin:0 0 .55rem;font-size:clamp(2.3rem,5vw,4.4rem);letter-spacing:-.065em;line-height:.98;color:#183b68;font-weight:800}
.category-page .section-title::after{content:"";display:block;width:68px;height:4px;margin-top:1rem;background:#3f8fe8;border-radius:3px}
.category-page .section-deck{margin:1.4rem 0 2.2rem;max-width:620px;color:#6d7480;font-size:1.05rem}
.category-page .news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}
.category-page .card{padding:0;border:1px solid #e4e8ed;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 7px 22px rgba(23,45,72,.06);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.category-page .card:hover{transform:translateY(-6px);border-color:#bcd5ee;box-shadow:0 18px 35px rgba(23,45,72,.13)}
.category-page .card>a{display:flex;height:100%;flex-direction:column}
.category-page .card img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .45s ease}
.category-page .card:hover img{transform:scale(1.035)}
.category-page .card-content{display:flex;flex:1;flex-direction:column;padding:1.15rem 1.2rem 1.25rem}
.category-page .card-category{align-self:flex-start;margin:0 0 .8rem;padding:.35rem .65rem;border-left:3px solid #16a57c;border-radius:0 4px 4px 0;background:#eaf8f3;color:#13966f;font-size:.67rem;font-weight:800;letter-spacing:.08em}
.category-page .card h3{display:-webkit-box;overflow:hidden;margin:0;color:#18202a;font-size:1.17rem;line-height:1.28;letter-spacing:-.02em;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.category-page .card .meta{margin:1.1rem 0 0;color:#8a9098;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.category-page .pagination{margin-top:2.25rem}
@media(max-width:900px){.category-page .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.breaking-strip{margin-left:-.5rem;margin-right:-.5rem}.breaking-story{font-size:.84rem}.category-page{padding-top:.4rem}.category-page .news-grid{grid-template-columns:1fr}.category-page .section-title{font-size:2.75rem}}

/* Restored portal presentation layer — preserves existing markup and content */
.portal-header{background:#fff;border-bottom:1px solid #e5e7eb;position:relative;z-index:1000}.portal-utility{background:#18212b;color:#cbd5e1;font-size:.72rem}.portal-utility-inner{display:flex;justify-content:space-between;align-items:center;min-height:34px}.portal-utility-links{display:flex;gap:1rem;align-items:center}.portal-utility a{color:#fff}.portal-brand-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0}.logo-text{font-size:1.8rem;font-weight:900;letter-spacing:-.06em;color:#18212b}.logo-dot{color:#bb1919}.portal-search{display:flex;width:min(360px,42vw);border:1px solid #d9e0e7;border-radius:3px;overflow:hidden}.portal-search input{flex:1;min-width:0;border:0;padding:.65rem .8rem;outline:0}.portal-search button{width:42px;border:0;background:#fff;color:#18212b;font-size:1.2rem}.portal-nav{background:#bb1919;color:#fff}.portal-nav-inner{display:flex;align-items:center;overflow:auto;white-space:nowrap}.portal-nav a{padding:.78rem 1rem;color:#fff;font-size:.76rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border-right:1px solid rgba(255,255,255,.17)}.portal-nav a:first-child{padding-left:0}.portal-nav a:hover,.portal-nav a.active{background:#a01515}.portal-nav .nav-breaking{margin-left:auto;background:#171717}.content-wrapper{min-height:50vh;padding-top:1rem}.mobile-menu-trigger{display:none}.mobile-menu-backdrop,.mobile-menu-drawer{display:none}.mobile-bottom-nav{display:none}.main-content{padding:0;background:transparent;border:0;box-shadow:none}.site-header,.site-footer{padding:0;background:transparent;border:0;box-shadow:none}.site-header>.app-container,.site-footer>.app-container{max-width:none;padding:0}.site-header .portal-header{width:100%}
.breaking-strip{display:flex;gap:1rem;align-items:center;overflow:hidden;background:#171717;color:#fff;padding:.8rem 1rem;margin:0 0 2rem;border-left:5px solid #bb1919}.breaking-label{font-size:.7rem;font-weight:900;letter-spacing:.12em;white-space:nowrap;text-transform:uppercase}.breaking-dot{display:inline-block;width:7px;height:7px;margin-right:.4rem;border-radius:50%;background:#e23b3b}.breaking-track{display:flex;min-width:0;flex:1;overflow:hidden}.breaking-story{display:block;overflow:hidden;color:#fff;text-overflow:ellipsis;white-space:nowrap}.breaking-story:not(.is-active){display:none}.breaking-next{width:32px;height:32px;border:0;border-radius:50%;background:#bb1919;color:#fff;cursor:pointer}.side-ad-layout{display:grid;grid-template-columns:minmax(112px,150px) minmax(0,1fr) minmax(112px,150px);gap:1.2rem;align-items:start}.home-main-column{min-width:0}.elite-home-intro{display:flex;justify-content:space-between;gap:2rem;align-items:end;padding:1.5rem 0 2rem;border-bottom:1px solid #e5e7eb}.elite-home-intro h1{font-size:clamp(2.2rem,5vw,4.5rem);margin:.35rem 0 0;line-height:1.02;color:#172033}.elite-home-intro>p{max-width:330px;margin:0;color:#64748b}.elite-kicker,.elite-category-label{color:#b91c1c;text-transform:uppercase;letter-spacing:.13em;font-size:.7rem;font-weight:800}.elite-lead-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:1.5rem;margin:2rem 0 3.5rem}.elite-lead-story,.elite-side-story,.elite-trending-card,.elite-latest-card{background:#fff;border:1px solid #e5e7eb;box-shadow:0 12px 35px rgba(15,23,42,.07);border-radius:4px;overflow:hidden}.elite-lead-story>a,.elite-side-story>a,.elite-trending-card,.elite-latest-card>a{display:block;color:inherit;text-decoration:none}.elite-lead-media{height:390px;background:#eef2f7}.elite-lead-media img,.elite-lead-media .elite-media-placeholder{width:100%;height:100%;object-fit:cover}.elite-lead-copy{padding:1.5rem}.elite-lead-copy h2{font-size:clamp(1.7rem,3.4vw,3rem);line-height:1.1;margin:.4rem 0 .75rem;color:#172033}.elite-side-stories{display:flex;flex-direction:column;gap:1rem}.elite-side-story>a{display:grid;grid-template-columns:110px 1fr;gap:1rem;padding:1rem}.elite-side-media{min-height:110px;background:#eef2f7}.elite-side-media img,.elite-side-media .elite-media-placeholder{width:100%;height:100%;min-height:110px;object-fit:cover}.elite-side-story h3{font-size:1.05rem;line-height:1.25;margin:.35rem 0;color:#172033}.elite-section{margin:0 0 3.5rem}.elite-section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:1.25rem}.elite-section-heading h2{font-size:2rem;margin:.25rem 0 0;color:#172033}.elite-media-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e2e8f0,#cbd5e1);color:#64748b}.elite-story-meta{font-size:.75rem;color:#64748b}.elite-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.elite-latest-media{height:190px;background:#eef2f7}.elite-latest-media img,.elite-latest-media .elite-media-placeholder{width:100%;height:100%;object-fit:cover}.elite-latest-copy{padding:1.1rem 1.2rem 1.25rem}.elite-latest-copy h3{font-size:1.25rem;line-height:1.25;margin:.35rem 0;color:#172033}
.professional-footer{background:#18212b!important;color:#dbe3ec;margin-top:3rem;padding:3rem 0 1rem;border-top:4px solid #bb1919}.professional-footer-grid{display:grid!important;grid-template-columns:1.5fr repeat(3,1fr);gap:2.5rem}.professional-footer .footer-brand{font-size:1.8rem;font-weight:800;color:#fff}.professional-footer .footer-brand span{color:#bb1919}.professional-footer p{max-width:270px;color:#aab7c5;line-height:1.6}.professional-footer h4{margin:0 0 .85rem;color:#fff;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase}.professional-footer ul{margin:0;padding:0;list-style:none}.professional-footer li{margin:.55rem 0}.professional-footer a{color:#b8c5d2;text-decoration:none}.footer-social-links{display:flex;gap:.55rem;margin-top:1.2rem}.footer-social-links a{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #526171;border-radius:50%;color:#fff}.professional-footer .footer-bottom{display:flex;justify-content:space-between;gap:1rem;margin-top:2rem;padding-top:1rem;border-top:1px solid #33414f;color:#8090a0;font-size:.75rem}.professional-footer .footer-bottom p{margin:0;max-width:none}.professional-footer .footer-bottom div{display:flex;gap:1rem}
@media(max-width:900px){.elite-lead-grid{grid-template-columns:1fr}.elite-side-stories{display:grid;grid-template-columns:repeat(2,1fr)}.elite-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.side-ad-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.portal-utility-links>a,.portal-utility-links>span{display:none}.portal-brand-row{padding:.7rem .5rem}.portal-search{display:none}.portal-nav{display:none}.mobile-menu-trigger{display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:40px;border:0;background:transparent;cursor:pointer}.mobile-menu-trigger span{display:block;width:24px;height:2px;background:#18212b}.mobile-menu-backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.58);opacity:0;pointer-events:none;z-index:1450}.mobile-menu-drawer{display:block;position:fixed;top:0;bottom:0;left:0;width:50vw;min-width:210px;padding:1rem;overflow-y:auto;background:#fff;transform:translateX(-105%);transition:transform .25s ease;z-index:1451}.mobile-menu-heading{display:flex;align-items:center;justify-content:space-between;min-height:48px;border-bottom:1px solid #e5e5e5}.mobile-menu-close{border:0;background:none;color:#bb1919;font-size:1.7rem}.mobile-menu-links,.mobile-menu-secondary{display:flex;flex-direction:column}.mobile-menu-links a,.mobile-menu-secondary a{padding:.8rem 0;border-bottom:1px solid #eee;color:#222;font-size:.8rem;font-weight:700}.mobile-menu-open .mobile-menu-drawer{transform:translateX(0)}.mobile-menu-open .mobile-menu-backdrop{opacity:1;pointer-events:auto}.mobile-bottom-nav{display:flex;position:fixed;right:0;bottom:0;left:0;z-index:1400;height:54px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #dfe4e8;box-shadow:0 -4px 14px rgba(0,0,0,.08)}.mobile-bottom-nav a,.mobile-bottom-nav button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:transparent;color:#66717d;font:inherit}.mobile-bottom-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.mobile-bottom-nav small{font-size:.6rem;font-weight:700}.content-wrapper{padding-bottom:4.5rem}.elite-home-intro{display:block}.elite-home-intro>p{margin-top:1rem}.elite-lead-media{height:250px}.elite-side-stories{grid-template-columns:1fr}.elite-latest-grid{grid-template-columns:1fr}.professional-footer{padding:2.25rem .75rem 5rem}.professional-footer-grid{grid-template-columns:1fr 1fr!important;gap:1.5rem}.footer-brand-block{grid-column:1/-1}.professional-footer .footer-bottom{flex-direction:column}}
CSS
wc -c -l assets/css/style.css
/* Preserve the existing portal layout while neutralizing legacy outer wrappers. */
.site-header,.site-footer{display:contents}
.site-header>.app-container,.site-footer>.app-container{display:contents}

/* Remove legacy wrapper spacing; the portal owns its own vertical rhythm. */
.content-wrapper{min-height:0!important;padding-top:0!important}
.main-wrapper{padding-top:0!important}

/* The legacy index animation can remain at opacity 0 in preview captures; keep portal content visible. */
.main-content.fade-in-up,.fade-in-up{opacity:1!important;transform:none!important;animation:none!important}

/* Restore full-width home content when side-ad placeholders are hidden. */
.side-ad-layout:not(.has-left-ad):not(.has-right-ad){display:block}
.side-ad-layout.has-left-ad:not(.has-right-ad){grid-template-columns:minmax(112px,150px) minmax(0,1fr)}
.side-ad-layout.has-left-ad:not(.has-right-ad)>.home-main-column{grid-column:2}
.side-ad-layout:not(.has-left-ad).has-right-ad{grid-template-columns:minmax(0,1fr) minmax(112px,150px)}
.side-ad-layout:not(.has-left-ad).has-right-ad>.home-main-column{grid-column:1}
@media(max-width:760px){.side-ad-layout.has-left-ad:not(.has-right-ad),.side-ad-layout:not(.has-left-ad).has-right-ad{display:block}.side-ad-layout.has-left-ad:not(.has-right-ad)>.home-main-column,.side-ad-layout:not(.has-left-ad).has-right-ad>.home-main-column{width:100%}}

/* =========================================================
   ELITE MEDIA HARMONIZED NEWS SYSTEM
   Shared visual language for header, sections and articles.
   ========================================================= */
:root{--em-ink:#142132;--em-muted:#657383;--em-red:#b71920;--em-red-dark:#8f1118;--em-blue:#1d4f83;--em-line:#dfe5eb;--em-soft:#f5f7f9;--em-paper:#fff;--em-shadow:0 12px 32px rgba(20,33,50,.08)}
html{background:#eef1f4}body{background:#f7f8fa;color:var(--em-ink);font-family:Montserrat,Arial,sans-serif;line-height:1.55}.container{max-width:1240px}
.portal-header{box-shadow:0 1px 0 rgba(20,33,50,.06)}
.portal-utility{background:var(--em-ink);font-size:.69rem;letter-spacing:.01em}.portal-utility-inner{min-height:32px}.portal-utility-links{gap:.65rem}.portal-utility-links>a{padding:.2rem .4rem;color:#dbe4ed;text-decoration:none}.portal-utility-links>a:hover{color:#fff}.lang-dropdown{position:relative;display:inline-flex;align-items:center;gap:.45rem}.lang-label{color:#9eacba;font-size:.62rem;text-transform:uppercase;letter-spacing:.08em}.lang-btn{display:inline-flex;align-items:center;gap:.35rem;border:1px solid rgba(255,255,255,.25);border-radius:3px;background:rgba(255,255,255,.08);color:#fff;padding:.3rem .55rem;font:700 .67rem Montserrat,sans-serif;cursor:pointer}.lang-btn:hover,.lang-btn:focus{background:#fff;color:var(--em-ink)}.lang-menu{position:absolute;top:calc(100% + .45rem);right:0;z-index:1600;display:none;min-width:140px;padding:.35rem;background:#fff;border:1px solid var(--em-line);box-shadow:var(--em-shadow);border-radius:4px}.lang-dropdown:hover .lang-menu,.lang-dropdown:focus-within .lang-menu{display:block}.lang-menu a{display:block;padding:.55rem .65rem;color:var(--em-ink);font-size:.72rem;text-decoration:none;border-radius:3px}.lang-menu a:hover{background:var(--em-soft);color:var(--em-red)}
.portal-brand-row{min-height:78px;padding:.8rem 0}.logo-text{font-size:1.95rem;letter-spacing:-.075em}.logo-dot{color:var(--em-red)}.portal-search{width:min(390px,42vw);border-color:#cfd7df;background:#fff}.portal-search input{font:500 .78rem Montserrat,sans-serif}.portal-search button{color:var(--em-red);font-weight:800}.portal-nav{background:var(--em-red)}.portal-nav-inner{min-height:43px}.portal-nav a{padding:.72rem .95rem;font-size:.68rem;letter-spacing:.07em}.portal-nav a:first-child{padding-left:.25rem}.portal-nav a:hover,.portal-nav a.active{background:var(--em-red-dark)}.portal-nav .nav-breaking{background:var(--em-ink);margin-left:auto}.portal-nav .nav-breaking:hover,.portal-nav .nav-breaking.active{background:#07111d}
.content-wrapper{background:transparent}.main-wrapper{background:transparent}.breaking-strip{max-width:1240px;margin:0 auto 1.6rem;border-left-width:4px;background:var(--em-ink);box-shadow:0 5px 16px rgba(20,33,50,.1)}
/* Category pages */
.category-page{max-width:1240px;margin:0 auto;padding:1.1rem 0 4rem}.category-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;padding:1.6rem 0 1.35rem;border-bottom:1px solid var(--em-line);margin-bottom:1.5rem}.category-brandline{display:flex;align-items:center;gap:.55rem;color:var(--em-muted);font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.category-brandline strong{color:var(--em-red)}.category-heading .section-title{margin:.5rem 0 .4rem;color:var(--em-ink);font-size:clamp(2rem,4.3vw,4rem);line-height:1.03;letter-spacing:-.07em}.category-heading .section-title span{color:var(--em-blue)}.category-heading .section-title:after{content:"";display:block;width:54px;height:4px;margin-top:.85rem;background:var(--em-red)}.category-heading .section-deck{max-width:620px;margin:.9rem 0 0;color:var(--em-muted);font-size:.92rem}.category-count{display:flex;flex-direction:column;align-items:flex-end;color:var(--em-muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.1em}.category-count strong{color:var(--em-ink);font-size:2.5rem;line-height:1;font-weight:800;letter-spacing:-.06em}.category-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:2rem;align-items:start}.category-story-list{display:grid;gap:0;border-top:3px solid var(--em-ink)}.category-story-row{display:grid;grid-template-columns:250px minmax(0,1fr);gap:1.25rem;padding:1.25rem 0;border-bottom:1px solid var(--em-line)}.category-story-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#e8edf2}.category-story-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.category-story-row:hover .category-story-image img{transform:scale(1.035)}.category-story-copy{min-width:0}.category-story-copy h2{margin:.35rem 0 .55rem;font-size:clamp(1.1rem,2vw,1.55rem);line-height:1.2;letter-spacing:-.04em}.category-story-copy h2 a{color:var(--em-ink);text-decoration:none}.category-story-copy h2 a:hover{color:var(--em-red)}.category-story-copy p{margin:0 0 .85rem;color:var(--em-muted);font-size:.82rem;line-height:1.6}.category-story-meta{color:#8a96a2;font-size:.68rem;font-weight:600}.category-story-copy .category-tag{margin-bottom:.15rem}.category-sidebar{position:sticky;top:1rem;padding:1.25rem;background:var(--em-ink);color:#fff}.trending-panel-heading{padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.17)}.trending-panel-heading .category-section-kicker{color:#f07c80;font-size:.64rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.trending-panel-heading h2{margin:.25rem 0;color:#fff;font-size:1.55rem;letter-spacing:-.05em}.trending-panel-heading p{margin:0;color:#aebdca;font-size:.74rem}.modern-trending-list{display:grid}.modern-trending-card{display:grid;grid-template-columns:34px minmax(0,1fr) 16px;gap:.7rem;align-items:start;padding:1rem 0;border-bottom:1px solid rgba(255,255,255,.13);color:#fff;text-decoration:none}.modern-trending-card:last-child{border-bottom:0}.modern-trending-rank{color:#f07c80;font-size:.75rem;font-weight:800}.modern-trending-copy strong{display:block;font-size:.78rem;line-height:1.35}.modern-trending-copy small{display:block;margin-top:.35rem;color:#9eacba;font-size:.62rem}.modern-trending-arrow{color:#f07c80}.category-page .pagination{display:flex;justify-content:center;gap:.4rem;margin-top:2rem}.category-page .pagination a{min-width:34px;padding:.55rem .65rem;border:1px solid var(--em-line);color:var(--em-ink);text-align:center;text-decoration:none;font-size:.72rem}.category-page .pagination a.active,.category-page .pagination a:hover{background:var(--em-red);border-color:var(--em-red);color:#fff}
/* Single article pages */
.article-single{max-width:1240px;margin:0 auto;padding:1.2rem 0 4rem}.article-header{max-width:920px;margin:0 auto 1.5rem;padding:1.5rem 0 1.35rem;border-bottom:1px solid var(--em-line)}.article-header .category-tag{margin-bottom:.8rem}.article-header h1{margin:.25rem 0 1rem;color:var(--em-ink);font-size:clamp(2rem,5vw,4.4rem);line-height:1.04;letter-spacing:-.075em}.article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem 1.1rem;color:var(--em-muted);font-size:.72rem}.article-byline-author{display:inline-flex;align-items:center;gap:.5rem}.article-byline-author a{color:var(--em-ink);text-decoration:none}.article-byline-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px var(--em-line)}.journalist-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;background:var(--em-red);color:#fff;font-weight:800}.article-view-count{display:inline-flex;align-items:center;gap:.3rem;padding-left:1rem;border-left:1px solid var(--em-line)}.bbc-image{max-width:1080px;margin:1.5rem auto 0}.bbc-image img{max-height:620px;object-fit:cover;border-radius:0;box-shadow:none}.bbc-image figcaption{display:block;max-width:none;margin:0;padding:.6rem 0;border-left:0;border-bottom:3px solid var(--em-red);background:transparent;color:var(--em-muted);font-size:.72rem}.article-content{max-width:760px;margin:2rem auto;color:#263546;font-size:1.02rem;line-height:1.85}.article-content p{margin:0 0 1.25rem}.article-content h2,.article-content h3{color:var(--em-ink);line-height:1.2;letter-spacing:-.04em}.article-content blockquote{margin:2rem 0;padding:1rem 1.25rem;border-left:4px solid var(--em-red);background:var(--em-soft);color:var(--em-ink);font-size:1.15rem;font-weight:600}.article-content a{color:var(--em-red);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.article-single .related-section,.article-single .author-stories-section,.article-single .comments-section{max-width:1080px;margin:3rem auto 0;padding-top:2rem;border-top:1px solid var(--em-line)}
/* Shared card polish */
.category-tag,.card-category{border-radius:2px!important;font-size:.62rem!important;letter-spacing:.1em!important}.related-grid,.portal-card-grid,.featured-grid{gap:1rem}.related-card,.portal-card,.featured-card{border-radius:0;box-shadow:none;border-color:var(--em-line)}
@media(max-width:900px){.category-layout{grid-template-columns:1fr}.category-sidebar{position:static}.category-heading{align-items:flex-start}.article-single{padding-left:1rem;padding-right:1rem}.article-header{padding-top:1rem}.article-content{font-size:.96rem}.article-single .related-section,.article-single .author-stories-section,.article-single .comments-section{margin-left:0;margin-right:0}}
@media(max-width:640px){.portal-utility-inner{padding-left:.65rem;padding-right:.65rem}.lang-label{display:none}.portal-brand-row{min-height:64px;padding:.6rem .65rem}.logo-text{font-size:1.55rem}.category-page{padding:.5rem .75rem 3.5rem}.category-heading{display:block;padding:1rem 0}.category-count{align-items:flex-start;margin-top:1rem}.category-count strong{font-size:2rem}.category-story-row{grid-template-columns:112px minmax(0,1fr);gap:.8rem;padding:.9rem 0}.category-story-copy h2{font-size:.95rem;line-height:1.25}.category-story-copy p{display:none}.category-story-meta{font-size:.61rem}.category-sidebar{padding:1rem}.article-single{padding:.25rem .75rem 3rem}.article-header h1{font-size:clamp(2rem,10vw,3rem)}.article-meta{gap:.55rem;font-size:.65rem}.bbc-image{margin-left:-.75rem;margin-right:-.75rem}.bbc-image img{border-radius:0}.article-content{margin-top:1.4rem;font-size:.94rem;line-height:1.75}.article-content blockquote{font-size:1rem}.breaking-strip{margin-left:.75rem;margin-right:.75rem}}

/* Refined language control: flags, clear hierarchy, and keyboard-friendly menu. */
.lang-dropdown{gap:.55rem;z-index:1601}
.lang-label{font-weight:700;letter-spacing:.12em}
.lang-btn{min-width:76px;justify-content:center;gap:.42rem;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(255,255,255,.1);padding:.35rem .62rem;box-shadow:0 2px 8px rgba(0,0,0,.12);transition:background .2s ease,border-color .2s ease,transform .2s ease}
.lang-btn:hover,.lang-btn:focus-visible,.lang-dropdown.is-open .lang-btn{background:#fff;border-color:#fff;color:var(--em-ink);outline:none;transform:translateY(-1px)}
.lang-current-flag,.lang-option-flag{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;line-height:1}
.lang-current-flag{font-size:1rem}
.lang-current-code{font-size:.65rem;font-weight:800;letter-spacing:.1em}
.lang-chevron{font-size:.85rem;line-height:.6;transition:transform .2s ease}
.lang-dropdown.is-open .lang-chevron{transform:rotate(180deg)}
.lang-menu{top:calc(100% + .65rem);min-width:220px;padding:.45rem;border:1px solid #dbe3ea;border-radius:12px;box-shadow:0 16px 36px rgba(20,33,50,.18);animation:languageMenuIn .16s ease-out}
.lang-dropdown:hover .lang-menu,.lang-dropdown:focus-within .lang-menu,.lang-dropdown.is-open .lang-menu{display:block}
.lang-menu a{display:flex;align-items:center;gap:.7rem;min-height:52px;padding:.62rem .7rem;color:var(--em-ink);border-radius:8px;font-size:.75rem}
.lang-menu a:hover,.lang-menu a:focus-visible,.lang-menu a[aria-current="true"]{background:#f1f6fa;color:var(--em-red);outline:none}
.lang-option-flag{display:flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:50%;background:#f5f7f9;font-size:1.1rem;box-shadow:0 0 0 1px #e5ebf0}
.lang-option-copy{display:flex;flex:1;flex-direction:column;gap:.12rem;line-height:1.2}
.lang-option-copy strong{font-size:.76rem;font-weight:800}
.lang-option-copy small{color:#81909d;font-size:.61rem}
.lang-check{color:var(--em-red);font-size:.95rem;font-weight:900}
@keyframes languageMenuIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){.lang-dropdown{margin-left:auto}.lang-btn{min-width:68px;padding:.32rem .52rem}.lang-menu{right:-.35rem}.lang-option-copy small{display:block}}

/* Country flag assets replace platform-dependent emoji rendering. */
.lang-current-flag{display:block;width:22px;height:15px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(255,255,255,.35)}
.lang-option-flag{display:block;width:32px;height:22px;object-fit:cover;border-radius:4px;flex:0 0 auto}

/* Keep the language selector clean and unboxed in the utility bar. */
.lang-btn,.lang-btn:hover,.lang-btn:focus-visible,.lang-dropdown.is-open .lang-btn{background:transparent;border-color:transparent;box-shadow:none;transform:none;color:#fff}
.lang-btn:focus-visible{outline:2px solid rgba(255,255,255,.75);outline-offset:3px}

/* Full headlines are essential on article pages; clamp only card titles. */
.article-single .article-header h1{display:block;overflow:visible;max-width:none;-webkit-line-clamp:initial;-webkit-box-orient:initial}

/* =========================================================
   HOMEPAGE: compact multi-column news portal
   ========================================================= */
.home-breaking{margin-top:.4rem}.home-topic-rail{display:flex;align-items:center;gap:1rem;max-width:1240px;margin:0 auto .7rem;padding:.4rem 0;border-top:1px solid #d8e0e7;border-bottom:1px solid #d8e0e7;overflow:auto;white-space:nowrap}.home-topic-rail span{color:#b71920;font-size:.64rem;font-weight:800}.home-topic-rail a{color:#536273;text-decoration:none;font-size:.63rem;font-weight:700}.home-topic-rail a:hover{color:#b71920}.home-news-shell{max-width:1240px;margin:0 auto;padding-bottom:3rem}.home-lead-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.9fr) minmax(190px,.65fr);gap:1.1rem;padding:0 0 1.6rem;border-bottom:1px solid #d8e0e7}.home-hero-story,.home-headline-list,.home-right-promo{min-width:0}.home-hero-story{background:#fff;border:1px solid #dfe5eb}.home-hero-story>a{display:block;color:inherit;text-decoration:none}.home-hero-media{height:285px;background:#e8edf2;overflow:hidden}.home-hero-media img,.home-hero-media .home-media-placeholder{width:100%;height:100%;object-fit:cover}.home-media-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#dfe7ef,#bfcbd6);color:#607184}.home-media-placeholder span{font-weight:800;letter-spacing:.1em}.home-hero-copy{padding:1rem 1.1rem 1.15rem}.home-section-label{display:inline-block;color:#b71920;font-size:.61rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.home-hero-copy h1{margin:.4rem 0 .55rem;color:#142132;font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.13;letter-spacing:-.055em}.home-hero-copy p{margin:0 0 .75rem;color:#657383;font-size:.76rem;line-height:1.55}.home-hero-copy small,.home-story-card-copy small{color:#8b98a5;font-size:.62rem}.home-headline-list{border-top:3px solid #142132}.home-block-heading{display:flex;justify-content:space-between;gap:.5rem;align-items:center;padding:.65rem 0;border-bottom:1px solid #d8e0e7;color:#657383;font-size:.6rem;text-transform:uppercase;letter-spacing:.08em}.home-block-heading strong{color:#142132}.home-headline-item{display:grid;grid-template-columns:27px minmax(0,1fr);gap:.5rem;padding:.7rem 0;border-bottom:1px solid #e3e8ed;color:#142132;text-decoration:none}.home-headline-item:hover b{color:#b71920}.home-headline-number{color:#b71920;font-size:.68rem;font-weight:800}.home-headline-item b{display:block;font-size:.75rem;line-height:1.3}.home-headline-item small{display:block;margin-top:.25rem;color:#8b98a5;font-size:.59rem}.home-right-promo{min-height:100%;background:#e8edf2}.home-right-promo .ad-slot,.home-right-promo img{width:100%;height:100%;min-height:300px;object-fit:cover}.home-promo-card{display:flex;min-height:300px;flex-direction:column;justify-content:flex-end;padding:1rem;background:linear-gradient(145deg,#173d63,#102336);color:#fff}.home-promo-card span{color:#f27b80;font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.home-promo-card strong{margin:.5rem 0;font-size:1.35rem;line-height:1.1}.home-promo-card small{color:#bfd0df;font-size:.68rem}.home-lower-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.9fr) minmax(190px,.65fr);gap:1.1rem;margin-top:1.7rem}.home-section-title{display:flex;align-items:center;gap:.7rem;margin-bottom:.65rem;border-bottom:2px solid #142132;padding-bottom:.45rem}.home-section-title h2{margin:0;color:#142132;font-size:1rem;letter-spacing:-.04em}.home-section-title span{height:3px;flex:1;background:#b71920}.home-story-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.home-story-card{display:block;background:#fff;border:1px solid #dfe5eb;color:inherit;text-decoration:none}.home-story-image{height:112px;background:#e7edf2;overflow:hidden}.home-story-image img,.home-story-image .home-media-placeholder{width:100%;height:100%;object-fit:cover}.home-story-card:hover img{transform:scale(1.035)}.home-story-image img{transition:transform .3s ease}.home-story-card-copy{padding:.65rem}.home-story-card-copy h3{margin:.3rem 0 .35rem;color:#142132;font-size:.78rem;line-height:1.25}.home-story-card-copy small{display:block;line-height:1.4}.home-timeline{border-left:2px solid #c9d4de;padding-left:1rem}.home-timeline-item{position:relative;display:flex;gap:.5rem;padding:0 0 .72rem;color:#142132;text-decoration:none}.home-timeline-item i{position:absolute;left:-1.38rem;top:.18rem;width:7px;height:7px;border:2px solid #1683b5;border-radius:50%;background:#fff}.home-timeline-item b{display:block;font-size:.7rem;line-height:1.3}.home-timeline-item small{display:block;margin-top:.2rem;color:#8b98a5;font-size:.58rem}.home-most-read{padding-left:.2rem}.home-most-read-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:.45rem;padding:.7rem 0;border-bottom:1px solid #dfe5eb;color:#142132;text-decoration:none}.home-most-read-item>b{color:#b71920;font-size:.72rem}.home-most-read-item span{font-size:.7rem;font-weight:700;line-height:1.3}.home-most-read-item small{display:block;margin-top:.22rem;color:#8b98a5;font-size:.58rem;font-weight:500}.home-most-read-item:hover span{color:#b71920}
@media(max-width:1050px){.home-lead-grid,.home-lower-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,.9fr)}.home-right-promo,.home-most-read{display:none}.home-topic-rail,.home-news-shell{margin-left:1rem;margin-right:1rem}}
@media(max-width:700px){.home-topic-rail{margin:0 .75rem .55rem;padding:.45rem 0}.home-news-shell{margin:0 .75rem;padding-bottom:3.5rem}.home-lead-grid,.home-lower-grid{display:block}.home-hero-media{height:230px}.home-headline-list{margin-top:1.2rem}.home-story-cards{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:1.5rem}.home-story-image{height:100px}.home-timeline-block{margin-top:1.4rem}.home-section-title h2{font-size:.9rem}.home-headline-item{padding:.62rem 0}.home-headline-item b{font-size:.72rem}}
@media(max-width:420px){.home-hero-media{height:205px}.home-hero-copy h1{font-size:1.35rem}.home-story-cards{gap:.5rem}.home-story-card-copy{padding:.5rem}.home-story-card-copy h3{font-size:.7rem}.home-story-card-copy small{display:none}}

/* Compact category masthead inspired by the supplied Elite Media Politics reference. */
.category-page{padding-top:.35rem}.category-heading{display:block;padding:.75rem 0 1rem;margin-bottom:1.1rem}.category-heading .category-brandline{margin-bottom:.25rem}.category-heading .section-title{font-size:clamp(1.85rem,4vw,3.15rem);letter-spacing:-.075em;margin:.15rem 0 0}.category-heading .section-deck{display:none}.category-count{display:none}.category-heading .section-title:after{width:78px;height:5px;margin-top:.55rem;border-radius:3px}.category-story-row{grid-template-columns:210px minmax(0,1fr);padding:1rem 0}.category-story-image{aspect-ratio:16/9}.category-story-copy h2{font-size:clamp(1rem,1.7vw,1.35rem)}
/* Keep article photography subordinate to the headline and readable body copy. */
.article-single{padding-top:.6rem}.article-header{max-width:850px;padding-top:.8rem}.article-header h1{font-size:clamp(1.85rem,4.3vw,3.65rem)}.bbc-image{max-width:900px;margin-top:1rem}.bbc-image img{max-height:440px;width:100%;object-fit:cover}.article-content{max-width:720px;margin-top:1.5rem}.article-single .related-section,.article-single .author-stories-section,.article-single .comments-section{max-width:900px}
/* Small, consistent thumbnails for every homepage stream. */
.home-headline-item{grid-template-columns:58px 24px minmax(0,1fr);align-items:center}.home-headline-thumb,.home-timeline-thumb,.home-most-read-thumb{display:block;overflow:hidden;background:#e6edf2}.home-headline-thumb{width:58px;height:42px}.home-headline-thumb img,.home-headline-thumb .home-media-placeholder{width:100%;height:100%;object-fit:cover}.home-headline-number{align-self:start;padding-top:.15rem}.home-timeline-item{display:grid;grid-template-columns:58px minmax(0,1fr);gap:.65rem;align-items:start;padding-bottom:.85rem}.home-timeline-thumb{width:58px;height:40px}.home-timeline-thumb img,.home-timeline-thumb .home-media-placeholder{width:100%;height:100%;object-fit:cover}.home-timeline-item i{left:3.58rem;top:.2rem;z-index:2}.home-timeline-item>span:last-child{min-width:0}.home-most-read-item{grid-template-columns:48px 24px minmax(0,1fr);align-items:center}.home-most-read-thumb{width:48px;height:38px}.home-most-read-thumb img,.home-most-read-thumb .home-media-placeholder{width:100%;height:100%;object-fit:cover}.home-most-read-item>b{align-self:start;padding-top:.15rem}
@media(max-width:700px){.category-heading .section-title{font-size:2.15rem}.category-story-row{grid-template-columns:112px minmax(0,1fr);padding:.8rem 0}.category-story-copy h2{font-size:.9rem}.bbc-image{margin-top:.7rem}.bbc-image img{max-height:270px}.article-content{margin-top:1.1rem}.home-headline-item{grid-template-columns:48px 22px minmax(0,1fr);gap:.45rem}.home-headline-thumb{width:48px;height:36px}.home-timeline-item{grid-template-columns:48px minmax(0,1fr)}.home-timeline-thumb{width:48px;height:34px}.home-timeline-item i{left:2.95rem}.home-most-read-item{grid-template-columns:42px 22px minmax(0,1fr)}.home-most-read-thumb{width:42px;height:32px}}

/* Homepage corrections: reserve the right rail for ads and remove misplaced timeline dots. */
.home-right-promo{background:#eef2f5;min-height:300px}.home-ad-space{display:flex;align-items:center;justify-content:center;min-height:300px;border:1px dashed #c5d0da;background:linear-gradient(135deg,#f7f9fb,#edf1f4);color:#91a0ad;font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.home-timeline{border-left:0;padding-left:0}.home-timeline-item i{display:none}.home-timeline-item{grid-template-columns:58px minmax(0,1fr)}
@media(max-width:700px){.home-ad-space{min-height:180px}.home-right-promo{min-height:180px}.home-timeline-item{grid-template-columns:48px minmax(0,1fr)}}

/* CKEditor 5 image captions on published articles. */
.article-content figure.image{max-width:100%;margin:2rem 0 2.25rem;overflow:hidden;border:1px solid var(--em-line);border-radius:14px;background:#fff;box-shadow:0 12px 28px rgba(20,33,50,.09)}
.article-content figure.image img{display:block;width:100%;max-height:620px;object-fit:cover}
.article-content figure.image figcaption{padding:.85rem 1rem 1rem;border-top:3px solid var(--em-red);background:#fff;color:var(--em-muted);font-size:.78rem;line-height:1.55;text-align:left}
.article-content figure.image figcaption::before{content:'IMAGE CAPTION';display:block;margin-bottom:.25rem;color:var(--em-red);font-size:.62rem;font-weight:800;letter-spacing:.13em}

/* Elite News 24 identity: animated writing pen and responsive wordmark. */
.brand-lockup{display:inline-flex;align-items:center;gap:.55rem;color:var(--em-ink,#142132);text-decoration:none;white-space:nowrap}
.brand-lockup:focus-visible{outline:3px solid var(--em-red,#b71920);outline-offset:5px;border-radius:4px}
.brand-lockup .logo-text{display:inline-flex;align-items:baseline;gap:.18em;color:var(--em-ink,#142132);line-height:1}
.brand-name{color:inherit}
.brand-number{color:var(--em-red,#b71920);font-weight:950}
.writing-pen-icon{display:block;width:56px;height:46px;flex:0 0 56px;overflow:visible}
.writing-ink{fill:none;stroke:var(--em-red,#b71920);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:ink-writing 2.35s ease-in-out infinite}
.writing-pen{transform-box:fill-box;transform-origin:center;animation:pen-writing 2.35s ease-in-out infinite}
.pen-body{fill:var(--em-ink,#142132);stroke:var(--em-ink,#142132);stroke-width:1.3;stroke-linejoin:round}
.pen-highlight{fill:#516174;stroke:#142132;stroke-width:1.2;stroke-linejoin:round}
.pen-nib{fill:var(--em-red,#b71920);stroke:#fff;stroke-width:.9;stroke-linejoin:round}
.pen-detail{fill:none;stroke:#fff;stroke-width:1.5;stroke-linecap:round}
@keyframes ink-writing{0%,12%{stroke-dashoffset:1;opacity:.25}52%,78%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:1;opacity:.25}}
@keyframes pen-writing{0%,12%{transform:translate(0,0) rotate(0)}52%{transform:translate(9px,-2px) rotate(-2deg)}76%{transform:translate(9px,-2px) rotate(-2deg)}100%{transform:translate(0,0) rotate(0)}}
.footer-brand{display:flex;align-items:center;gap:.55rem}
.footer-brand .writing-pen-icon{width:42px;height:35px;flex-basis:42px}
.footer-brand .pen-body{fill:#f8fafc;stroke:#f8fafc}
.footer-brand .pen-highlight{fill:#cbd5e1;stroke:#f8fafc}
.footer-brand-wordmark{display:inline-flex;align-items:baseline;gap:.18em;color:#fff;font-size:1.3rem;font-weight:900;letter-spacing:-.045em}
.professional-footer .footer-brand .brand-name{color:#fff}
.professional-footer .footer-brand .brand-number{color:#ff6969}
@media(max-width:640px){.brand-lockup{gap:.35rem}.brand-lockup .writing-pen-icon{width:46px;height:39px;flex-basis:46px}.brand-lockup .logo-text{font-size:1.42rem;letter-spacing:-.065em}}
@media(prefers-reduced-motion:reduce){.writing-ink,.writing-pen{animation:none!important}.writing-ink{stroke-dashoffset:0}.writing-pen{transform:none}}
section.elite-empty{display:flex;flex-direction:column;align-items:center;justify-content:center}
.elite-empty-kicker{display:block;margin:0 auto .4rem;color:var(--em-red,#b71920);font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
section.elite-empty h1{display:block;margin:.35rem auto;color:var(--em-ink,#142132);font-family:Georgia,serif;font-size:clamp(1.55rem,3.1vw,2.4rem);line-height:1.2}
section.elite-empty p{max-width:40rem;margin:.3rem auto 0}

/* Compact editorial single-article presentation. */
.article-single{max-width:1120px;padding:0 0 3rem}
.article-single .article-header{max-width:900px;margin:0 auto .8rem;padding:.8rem 0 .85rem;border-bottom:1px solid var(--em-line)}
.article-single .article-header .category-tag{margin-bottom:.55rem}
.article-single .article-header h1{margin:.2rem 0 .75rem;font-size:clamp(2rem,4.5vw,3.8rem);line-height:1.05;letter-spacing:-.07em}
.article-single .article-meta{gap:.6rem .95rem;font-size:.7rem}
.article-single .bbc-image{max-width:900px;margin:.2rem auto .7rem;overflow:hidden;border:1px solid var(--em-line);border-radius:12px;background:#fff;box-shadow:0 10px 26px rgba(20,33,50,.08)}
.article-single .bbc-image img{display:block;width:100%;max-height:500px;object-fit:cover}
.article-single .bbc-image figcaption{margin:0;padding:.72rem .95rem .8rem;border:0;border-top:3px solid var(--em-red);background:#fff;color:var(--em-muted);font-size:.76rem;line-height:1.5}
.article-single .bbc-image figcaption::before{content:'IMAGE CAPTION';display:block;margin-bottom:.18rem;color:var(--em-red);font-size:.59rem;font-weight:800;letter-spacing:.14em}
.article-single>.ad-slot-empty.article_top{margin:.35rem auto .45rem;min-height:0;padding:.25rem 0;background:transparent;border:0;box-shadow:none}
.article-single>.ad-slot-empty.article_top .ad-slot-label,.article-single>.ad-slot-empty.article_top .ad-slot-empty-message{display:none}
.article-single .article-content{max-width:760px;margin:.55rem auto 0;font-size:1.02rem;line-height:1.78}
.article-single .article-content>p:first-child{margin-top:0}
.article-single .article-content figure.image{margin:1.25rem 0 1.5rem}
@media(max-width:700px){.article-single{padding:0 .75rem 2.5rem}.article-single .article-header{padding:.55rem 0 .7rem;margin-bottom:.55rem}.article-single .article-header h1{font-size:clamp(1.85rem,9vw,2.75rem)}.article-single .bbc-image{margin:.15rem -.75rem .55rem;border-radius:0;border-left:0;border-right:0}.article-single .bbc-image img{max-height:290px}.article-single .bbc-image figcaption{padding:.65rem .75rem .7rem}.article-single .article-content{margin-top:.45rem;font-size:.96rem;line-height:1.72}}

.article-single>.ad-slot-empty.ad-slot-article_top{margin:.35rem auto .45rem;min-height:0;padding:.25rem 0;background:transparent;border:0;box-shadow:none}.article-single>.ad-slot-empty.ad-slot-article_top .ad-slot-label,.article-single>.ad-slot-empty.ad-slot-article_top .ad-slot-empty-message{display:none}

/* Featured image aligned with the article reading column, with sharp editorial edges. */
.article-single .bbc-image{width:100%;max-width:760px;margin:.2rem auto .65rem;border:0;border-radius:0;box-shadow:none;background:transparent}
.article-single .bbc-image img{width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0}
.article-single .bbc-image figcaption{height:auto;min-height:0;margin:0;padding:.5rem .15rem .35rem;border:0;border-top:2px solid var(--em-red);background:transparent;font-size:.7rem;line-height:1.45;color:var(--em-muted);overflow:visible}
.article-single .bbc-image figcaption::before{display:none;content:none}
.article-single .article-content{width:100%;max-width:760px}
.article-single .article-content img,.article-single .article-content video,.article-single .article-content iframe{border-radius:0;box-shadow:none}
.article-single .article-content figure.image{border-radius:0;box-shadow:none;border:0;background:transparent}
.article-single .article-content figure.image figcaption{height:auto;min-height:0;margin:0;padding:.65rem .8rem .75rem;border:0;border-top:3px solid var(--em-red);background:#fff;font-size:.78rem;line-height:1.55;color:var(--em-muted);overflow:visible}
.article-single .article-content figure.image figcaption::before{display:none;content:none}
@media(max-width:700px){.article-single .bbc-image{width:100%;max-width:760px;margin:.15rem auto .55rem;border:0}.article-single .bbc-image img{max-height:none}.article-single .bbc-image figcaption{padding:.45rem 0 .3rem}}


/* Homepage breaking ticker: clean editorial treatment with no filled background. */
.home-breaking {
    display: flex;
    align-items: center;
    gap: .85rem;
    max-width: 1240px;
    min-height: 54px;
    margin: .4rem auto 1.35rem;
    padding: .65rem .9rem;
    background: transparent;
    box-shadow: none;
    border: 0;
    border-left: 3px solid #b42318;
    border-bottom: 1px solid rgba(23, 32, 51, .14);
    border-radius: 0;
    color: #172033;
    overflow: hidden;
}
.home-breaking .breaking-label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    flex: 0 0 auto;
    color: #a61b16;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .11em;
}
.home-breaking .breaking-dot {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin: 0;
    background: #b42318;
    box-shadow: none;
    animation: none;
}
.home-breaking .breaking-track {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    overflow: hidden;
}
.home-breaking .breaking-story {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    color: #172033;
    font-size: clamp(.92rem, 1.35vw, 1.08rem);
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-breaking .breaking-story:not(.is-active) {
    display: none;
}
.home-breaking .breaking-story.is-active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.home-breaking .breaking-story:hover {
    color: #a61b16;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.home-breaking .breaking-next {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    background: transparent;
    color: #475569;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.home-breaking .breaking-next:hover {
    border-color: #b42318;
    background: #b42318;
    color: #fff;
}
@media (max-width: 640px) {
    .home-breaking {
        gap: .6rem;
        min-height: 48px;
        margin-right: .75rem;
        margin-left: .75rem;
        padding: .55rem .65rem;
    }
    .home-breaking .breaking-label {
        gap: .4rem;
        font-size: .59rem;
        letter-spacing: .06em;
    }
    .home-breaking .breaking-track {
        height: 30px;
    }
    .home-breaking .breaking-story {
        font-size: .88rem;
    }
    .home-breaking .breaking-next {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }
}


/* Mobile-first homepage content, ticker motion and YouTube player. */
.home-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
    margin-top: 1.35rem;
}
.home-most-read {
    display: block;
    min-width: 0;
}
.home-story-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
}
.home-story-card {
    display: grid;
    grid-template-columns: minmax(88px, 32%) minmax(0, 1fr);
    align-items: stretch;
    min-width: 0;
}
.home-story-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
}
.home-story-card-copy {
    min-width: 0;
    padding: .7rem;
}
.home-story-card-copy h3 {
    font-size: .95rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.home-story-card-copy small {
    font-size: .75rem;
    line-height: 1.4;
}
.home-most-read-item {
    grid-template-columns: 52px 26px minmax(0, 1fr);
    gap: .6rem;
    min-width: 0;
}
.home-most-read-thumb {
    width: 52px;
    height: 52px;
    overflow: hidden;
}
.home-most-read-item > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}
.home-breaking {
    gap: .5rem;
    min-height: 48px;
    margin: .35rem .5rem 1rem;
    padding: .5rem .55rem;
}
.home-breaking .breaking-label {
    gap: .35rem;
    font-size: .59rem;
    letter-spacing: .055em;
}
.home-breaking .breaking-track {
    height: 30px;
}
.home-breaking .breaking-story {
    font-size: .88rem;
    line-height: 1.25;
}
.home-breaking .breaking-next {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
}
.home-breaking .breaking-story.is-active {
    animation: homeBreakingStoryIn .46s cubic-bezier(.2, .75, .25, 1) both;
    will-change: opacity, transform, filter;
}
@keyframes homeBreakingStoryIn {
    from { opacity: 0; transform: translate3d(12px, 0, 0); filter: blur(2px); }
    to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
.article-video-embed {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    margin: 1.25rem auto 1.75rem;
    overflow: hidden;
    border-radius: 8px;
    background: #0f172a;
}
.article-video-embed iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
@supports not (aspect-ratio: 16 / 9) {
    .article-video-embed { height: 0; padding-bottom: 56.25%; }
}
@media (min-width: 640px) {
    .home-lower-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
        gap: 1.25rem;
    }
    .home-story-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-story-card {
        display: block;
    }
    .home-story-image {
        aspect-ratio: 16 / 10;
    }
    .home-most-read {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1rem;
    }
    .home-most-read .home-section-title {
        grid-column: 1 / -1;
    }
    .home-breaking {
        gap: .85rem;
        min-height: 54px;
        margin: .4rem auto 1.35rem;
        padding: .65rem .9rem;
    }
    .home-breaking .breaking-label {
        gap: .55rem;
        font-size: .68rem;
        letter-spacing: .11em;
    }
    .home-breaking .breaking-track {
        height: 32px;
    }
    .home-breaking .breaking-story {
        font-size: clamp(.92rem, 1.35vw, 1.08rem);
    }
    .home-breaking .breaking-next {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }
}
@media (min-width: 1024px) {
    .home-lower-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(260px, .9fr) minmax(190px, .65fr);
        gap: 1.1rem;
    }
    .home-most-read {
        display: block;
        grid-column: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-breaking .breaking-story.is-active {
        animation: none;
        will-change: auto;
    }
    .home-breaking .breaking-next {
        transition: none;
    }
}


/* Stable mobile ticker track and seamless overlapping shuffle transition. */
.home-breaking {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) auto;
    align-items: center;
}
.home-breaking .breaking-track {
    width: 100%;
    min-width: 0;
    flex: none;
}
.home-breaking .breaking-story:not(.is-active):not(.is-leaving) {
    display: none;
}
.home-breaking .breaking-story.is-active {
    z-index: 2;
    display: flex;
    animation: homeBreakingStoryIn .42s cubic-bezier(.2, .75, .25, 1) both;
}
.home-breaking .breaking-story.is-leaving {
    z-index: 1;
    display: flex;
    animation: homeBreakingStoryOut .34s cubic-bezier(.4, 0, .2, 1) both;
}
@keyframes homeBreakingStoryIn {
    from { opacity: 0; transform: translate3d(10px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes homeBreakingStoryOut {
    from { opacity: 1; transform: translate3d(0, 0, 0); }
    to { opacity: 0; transform: translate3d(-8px, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .home-breaking .breaking-story.is-active,
    .home-breaking .breaking-story.is-leaving {
        animation: none;
        will-change: auto;
    }
}


/* Mobile headline gets its own row; desktop remains a single-line ticker. */
.home-breaking {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label next" "track track";
    row-gap: .15rem;
    min-height: 62px;
    padding: .5rem .65rem;
}
.home-breaking .breaking-label { grid-area: label; }
.home-breaking .breaking-next { grid-area: next; }
.home-breaking .breaking-track {
    grid-area: track;
    height: 2.5rem;
}
.home-breaking .breaking-story {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    line-height: 1.25;
    padding: .1rem .15rem;
}
.home-breaking .breaking-story.is-active,
.home-breaking .breaking-story.is-leaving {
    display: -webkit-box;
}
@media (min-width: 640px) {
    .home-breaking {
        grid-template-columns: max-content minmax(0, 1fr) auto;
        grid-template-areas: "label track next";
        row-gap: 0;
        min-height: 54px;
        padding: .65rem .9rem;
    }
    .home-breaking .breaking-track {
        height: 32px;
    }
    .home-breaking .breaking-story {
        display: flex;
        -webkit-line-clamp: unset;
        -webkit-box-orient: horizontal;
        white-space: nowrap;
        padding: 0;
    }
    .home-breaking .breaking-story.is-active,
    .home-breaking .breaking-story.is-leaving {
        display: flex;
    }
}


/* Editorial card refresh: Featured Stories and Related Articles. */
.home-story-cards {
    align-items: stretch;
    gap: .85rem;
}
.home-story-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(105px, 38%) minmax(0, 1fr);
    min-width: 0;
    min-height: 148px;
    overflow: hidden;
    border: 1px solid #e1e7ed;
    border-radius: 14px;
    background: #fff;
    color: var(--em-ink, #142132);
    text-decoration: none;
    box-shadow: 0 7px 20px rgba(20, 33, 50, .065);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.home-story-card:hover {
    transform: translateY(-3px);
    border-color: #c7d5e2;
    box-shadow: 0 14px 28px rgba(20, 33, 50, .12);
}
.home-story-card:focus-visible,
.related-card:focus-visible {
    outline: 3px solid rgba(183, 25, 32, .42);
    outline-offset: 3px;
}
.home-story-image {
    position: relative;
    height: 100%;
    min-height: 148px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8edf2;
}
.home-story-image img,
.home-story-image .home-media-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .65, .25, 1);
}
.home-story-card:hover .home-story-image img {
    transform: scale(1.045);
}
.home-story-card-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: .36rem;
    padding: .8rem;
}
.home-story-card-copy .home-section-label {
    align-self: flex-start;
    max-width: 100%;
    margin: 0;
    padding: .25rem .48rem;
    overflow: hidden;
    border: 1px solid #f1d9da;
    border-radius: 999px;
    background: #fff4f4;
    color: #9f151b;
    font-size: .54rem;
    letter-spacing: .085em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-story-card-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #17283a;
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -.025em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.home-story-card-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: #687787;
    font-size: .7rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.related-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: .9rem;
}
.related-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e7ed;
    border-radius: 15px;
    background: #fff;
    color: var(--em-ink, #142132);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(20, 33, 50, .07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.related-card:hover {
    transform: translateY(-4px);
    border-color: #c7d5e2;
    box-shadow: 0 16px 32px rgba(20, 33, 50, .13);
}
.related-card-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8edf2;
}
.related-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .48s cubic-bezier(.2, .65, .25, 1);
}
.related-card:hover .related-card-media img {
    transform: scale(1.045);
}
.related-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2f6, #dce5ed);
    color: #5e7082;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.related-card-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    padding: 1rem;
}
.related-category-indicator {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    overflow: hidden;
    padding: .28rem .55rem;
    border: 1px solid #f1d9da;
    border-radius: 999px;
    background: #fff4f4;
    color: #9f151b;
    font-size: .59rem;
    font-weight: 800;
    letter-spacing: .085em;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.related-card-body h3 {
    position: relative;
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding-right: 1.15rem;
    color: #17283a;
    font-size: .97rem;
    font-weight: 800;
    line-height: 1.36;
    letter-spacing: -.025em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.related-card-arrow {
    position: absolute;
    top: 0;
    right: .05rem;
    color: var(--em-red, #b71920);
    font-size: .9rem;
    transition: transform .2s ease;
}
.related-card:hover .related-card-arrow {
    transform: translate(2px, -2px);
}
.related-card-body small {
    display: block;
    margin-top: auto;
    padding-top: .2rem;
    color: #8793a0;
    font-size: .68rem;
    font-weight: 600;
}
.related-section .elite-section-heading {
    margin-bottom: 1rem;
}
@media (min-width: 540px) {
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}
@media (min-width: 640px) {
    .home-story-card {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }
    .home-story-image {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
    .home-story-card-copy {
        flex: 1;
        gap: .48rem;
        padding: .9rem;
    }
    .home-story-card-copy h3 {
        font-size: .86rem;
    }
    .home-story-card-copy small {
        font-size: .67rem;
    }
}
@media (min-width: 900px) {
    .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }
    .related-card-body {
        padding: 1.05rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-story-card,
    .home-story-image img,
    .related-card,
    .related-card-media img,
    .related-card-arrow {
        transition: none;
    }
    .home-story-card:hover,
    .related-card:hover {
        transform: none;
    }
}


/* Keep Featured Stories thumbnails inside their own column on compact phones. */
@media (max-width: 639px) {
    .home-story-card {
        grid-template-columns: minmax(76px, 36%) minmax(0, 1fr);
    }
    .home-story-image {
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        aspect-ratio: auto;
    }
}


/* On phones, mirror Related Articles: image first, card copy below. */
@media (max-width: 639px) {
    .home-story-card {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }
    .home-story-image {
        width: 100%;
        height: auto;
        min-width: 0;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
    .home-story-card-copy {
        flex: 1;
        gap: .55rem;
        padding: 1rem;
    }
    .home-story-card-copy h3 {
        font-size: .97rem;
        line-height: 1.36;
    }
    .home-story-card-copy small {
        font-size: .68rem;
    }
}


/* Mobile navigation opens as an opaque, full-screen menu instead of a side sheet. */
@media (max-width: 640px) {
    html.mobile-menu-open {
        overflow: hidden !important;
        overscroll-behavior: none;
    }

    body.mobile-menu-open {
        position: fixed !important;
        right: 0;
        left: 0;
        width: 100%;
        overflow: hidden !important;
        overscroll-behavior: none;
    }

    body.mobile-menu-open .portal-header {
        z-index: 2000;
    }

    .mobile-menu-backdrop {
        z-index: 2001;
        background: rgba(10, 20, 31, .72);
    }

    .mobile-menu-drawer {
        display: flex;
        position: fixed;
        inset: 0;
        width: 100vw;
        min-width: 0;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        flex-direction: column;
        gap: 0;
        padding: calc(env(safe-area-inset-top) + .5rem) 1.1rem calc(env(safe-area-inset-bottom) + .75rem);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        border: 0;
        background: #fff;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 2002;
    }

    .mobile-menu-open .mobile-menu-drawer {
        transform: translateX(0);
    }

    .mobile-menu-open .mobile-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-heading {
        position: sticky;
        top: 0;
        z-index: 1;
        flex: 0 0 auto;
        min-height: 60px;
        padding: 0 .15rem .65rem;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
    }

    .mobile-menu-heading strong {
        color: #17283a;
        font-size: 1.05rem;
        font-weight: 800;
        letter-spacing: .01em;
    }

    .mobile-menu-close,
    .mobile-menu-search {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: #f1f4f7;
        color: #17283a;
        font-size: 1.5rem;
        line-height: 1;
        text-decoration: none;
    }

    .mobile-menu-close {
        color: #b71920;
        cursor: pointer;
    }

    .mobile-menu-links {
        flex: 1 0 auto;
        margin-top: .35rem;
    }

    .mobile-menu-links a,
    .mobile-menu-secondary a {
        display: flex;
        min-height: 56px;
        align-items: center;
        justify-content: space-between;
        padding: .9rem .15rem;
        border-bottom: 1px solid #e5eaf0;
        color: #243447;
        font-size: .96rem;
        font-weight: 750;
        text-decoration: none;
    }

    .mobile-menu-links a::after {
        content: '›';
        margin-left: .75rem;
        color: #8a98a7;
        font-size: 1.35rem;
        font-weight: 500;
    }

    .mobile-menu-links .menu-featured-link {
        color: #a0151b;
        font-weight: 900;
    }

    .mobile-menu-secondary {
        flex: 0 0 auto;
        margin-top: auto;
        padding-top: .8rem;
        border-top: 1px solid #e2e8f0;
    }

    .mobile-menu-secondary a {
        min-height: 48px;
        color: #5b6876;
        font-size: .88rem;
    }

    .mobile-menu-drawer a:focus-visible,
    .mobile-menu-drawer button:focus-visible {
        outline: 3px solid #e9a23b;
        outline-offset: 3px;
    }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
    .mobile-menu-drawer {
        transition: none;
    }
}


@media (max-width: 640px) {
    body.mobile-menu-open .mobile-bottom-nav {
        display: none !important;
    }
}


/* Editorial info pages: About, Privacy, Terms and Contact. */
.info-page {
    --info-ink: #142538;
    --info-muted: #657487;
    --info-red: #b71920;
    --info-line: #e5eaf0;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: .15rem 0 1rem;
    color: var(--info-ink);
}
.info-breadcrumbs {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 1.05rem;
    color: #8793a1;
    font-size: .76rem;
    font-weight: 650;
}
.info-breadcrumbs a {
    color: #657487;
    text-decoration: none;
}
.info-breadcrumbs a:hover { color: var(--info-red); }
.info-breadcrumbs [aria-current="page"] { color: #26384b; }
.info-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, .65fr);
    min-height: 300px;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    margin-bottom: 3rem;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: radial-gradient(circle at 84% 16%, rgba(183,25,32,.3), transparent 31%), linear-gradient(125deg, #142538 0%, #1a3046 68%, #263a4f 100%);
    box-shadow: 0 18px 44px rgba(20,37,56,.12);
    isolation: isolate;
}
.info-hero::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #c42c32 0 19%, rgba(255,255,255,.12) 19% 100%);
    content: "";
}
.info-hero-copy { position: relative; z-index: 1; max-width: 700px; }
.info-eyebrow, .info-kicker {
    display: inline-block;
    color: #be3137;
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}
.info-eyebrow { margin-bottom: 1rem; color: #ff9da0; }
.info-hero h1 {
    display: block;
    max-width: 760px;
    margin: 0 0 1rem;
    padding: 0;
    background: none;
    color: #fff;
    font-size: clamp(2.1rem, 4.4vw, 3.8rem);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: 1.04;
    -webkit-text-fill-color: #fff;
}
.info-hero h1::after { display: none; }
.info-hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: #d0d9e2;
    font-size: 1rem;
    line-height: 1.75;
}
.info-hero-link {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1.55rem;
    padding: .7rem 1rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 7px;
    color: #fff;
    font-size: .82rem;
    font-weight: 750;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.info-hero-link:hover { transform: translateY(-2px); border-color: #f58b90; background: rgba(255,255,255,.08); color: #fff; }
.info-hero-art {
    position: relative;
    display: grid;
    min-height: 195px;
    place-items: center;
    overflow: hidden;
}
.info-orbit {
    position: absolute;
    display: block;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
}
.info-orbit-one { transform: rotate(-28deg) scaleX(1.4); }
.info-orbit-two { transform: rotate(40deg) scaleX(1.2); border-color: rgba(238,82,87,.6); }
.info-art-mark {
    color: rgba(255,255,255,.96);
    font-size: 5.3rem;
    font-weight: 900;
    letter-spacing: -.1em;
    text-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.info-art-caption {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    color: #bdc9d5;
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-align: center;
}
.info-hero-legal { min-height: 245px; grid-template-columns: minmax(0, 1fr) 190px; margin-bottom: 2.5rem; }
.legal-hero-mark {
    position: relative;
    display: grid;
    width: 150px;
    height: 150px;
    place-items: center;
    justify-self: center;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    color: rgba(255,255,255,.94);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: .08em;
}
.legal-hero-mark::before, .legal-hero-mark::after { position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; content: ""; }
.legal-hero-mark::after { inset: 27px; border-color: rgba(228,61,67,.75); }
.legal-hero-mark i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #ee6c70; }
.legal-hero-mark i:nth-of-type(1) { top: 16px; right: 29px; }
.legal-hero-mark i:nth-of-type(2) { bottom: 25px; left: 20px; }
.legal-hero-mark i:nth-of-type(3) { top: 48%; left: 6px; }

/* About page */
.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 5vw, 4.5rem);
    align-items: start;
    padding: .3rem 0 3rem;
    border-bottom: 1px solid var(--info-line);
}
.about-intro-grid h2, .info-section-heading h2, .about-approach h2, .about-contact-cta h2,
.contact-details-column h2, .contact-form-heading h2 {
    margin: .42rem 0 .75rem;
    padding: 0;
    color: var(--info-ink);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 820;
    letter-spacing: -.045em;
    line-height: 1.18;
}
.about-intro-grid h2::after, .info-section-heading h2::after, .about-approach h2::after,
.about-contact-cta h2::after, .contact-details-column h2::after, .contact-form-heading h2::after { display: none; }
.about-intro-grid > p { max-width: 720px; margin: 0; color: #536476; font-size: 1.02rem; line-height: 1.85; }
.about-values-section { padding: 2.7rem 0 3.1rem; }
.info-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.45rem; }
.info-section-heading h2 { margin-bottom: 0; }
.info-section-heading > p { max-width: 330px; margin: 0 0 .1rem; color: var(--info-muted); font-size: .88rem; line-height: 1.6; }
.about-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.about-value-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    padding: 1.45rem;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    background: linear-gradient(155deg, #fff 45%, #f8fafc 100%);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.about-value-card:hover { transform: translateY(-3px); border-color: #d4dce5; box-shadow: 0 12px 26px rgba(19,37,56,.07); }
.about-value-number { position: absolute; top: 1rem; right: 1.15rem; color: #b8c2cd; font-size: .65rem; font-weight: 850; letter-spacing: .08em; }
.about-value-icon { display: grid; width: 40px; height: 40px; place-items: center; margin: 0 0 1.1rem; border-radius: 10px; background: #fbebeb; color: var(--info-red); font-size: 1.35rem; font-weight: 750; }
.about-value-card h3 { margin: 0 0 .5rem; color: var(--info-ink); font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.about-value-card p { margin: 0; color: var(--info-muted); font-size: .84rem; line-height: 1.7; }
.about-approach { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(1.5rem,5vw,4rem); align-items: start; padding: 2.35rem; border-radius: 14px; background: #f4f6f8; }
.about-approach-heading > p { max-width: 360px; margin: .55rem 0 0; color: var(--info-muted); font-size: .88rem; line-height: 1.7; }
.about-approach-list { margin: 0; padding: 0; list-style: none; }
.about-approach-list li { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding: 0 0 1.1rem; }
.about-approach-list li + li { padding-top: 1.05rem; border-top: 1px solid #dfe5eb; }
.about-approach-list li > span { color: #b71920; font-size: .72rem; font-weight: 900; }
.about-approach-list h3 { margin: 0 0 .25rem; color: var(--info-ink); font-size: .95rem; font-weight: 800; }
.about-approach-list p { margin: 0; color: var(--info-muted); font-size: .82rem; line-height: 1.65; }
.about-contact-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 2rem; padding: 1.5rem 1.8rem; border: 1px solid #f0dada; border-radius: 12px; background: linear-gradient(110deg,#fff8f8,#fff 75%); }
.about-contact-cta h2 { margin: .35rem 0 .3rem; font-size: 1.28rem; }
.about-contact-cta p { margin: 0; color: var(--info-muted); font-size: .82rem; }
.info-primary-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .8rem; padding: .82rem 1rem; border-radius: 7px; background: #b71920; color: #fff; font-size: .8rem; font-weight: 800; text-decoration: none; }
.info-primary-link:hover { background: #97151a; color: #fff; }

/* Privacy and Terms */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: clamp(1.5rem,4vw,3.5rem); align-items: start; }
.legal-sidebar { position: sticky; top: 1.25rem; }
.legal-sidebar-card { padding: 1.25rem; border: 1px solid var(--info-line); border-radius: 12px; background: #fff; }
.legal-sidebar-card > .info-kicker { margin: .15rem 0 .7rem; font-size: .61rem; }
.legal-sidebar nav { display: grid; gap: .12rem; }
.legal-sidebar nav a { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .57rem .45rem; border-radius: 6px; color: #536476; font-size: .75rem; font-weight: 670; line-height: 1.35; text-decoration: none; }
.legal-sidebar nav a span { flex: 0 0 auto; color: #9aa6b3; }
.legal-sidebar nav a:hover { background: #f6f7f9; color: var(--info-red); }
.legal-sidebar-help { margin-top: 1rem; padding: .9rem; border-radius: 8px; background: #f7f8fa; }
.legal-sidebar-help strong { color: var(--info-ink); font-size: .79rem; }
.legal-sidebar-help p { margin: .35rem 0; color: var(--info-muted); font-size: .72rem; line-height: 1.55; }
.legal-sidebar-help a { color: var(--info-red); font-size: .75rem; font-weight: 800; text-decoration: none; }
.legal-article { min-width: 0; }
.legal-article-meta { display: grid; grid-template-columns: 34px 1fr; gap: .8rem; align-items: center; margin: 0 0 .4rem; padding: 1rem 1.1rem; border: 1px solid #e5eaf0; border-radius: 9px; background: #f7f9fb; }
.legal-meta-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #eaf0f6; color: #344b61; font-size: .95rem; font-weight: 850; }
.legal-article-meta p { margin: 0; color: #58687a; font-size: .79rem; line-height: 1.6; }
.legal-section { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: .75rem; padding: 1.5rem .15rem; border-bottom: 1px solid var(--info-line); scroll-margin-top: 1.5rem; }
.legal-section-number { padding-top: .25rem; color: #b71920; font-size: .65rem; font-weight: 900; letter-spacing: .08em; }
.legal-section h2 { margin: 0 0 .52rem; padding: 0; color: var(--info-ink); font-size: 1rem; font-weight: 820; letter-spacing: -.02em; line-height: 1.4; }
.legal-section h2::after { display: none; }
.legal-section p { margin: 0; color: #536476; font-size: .86rem; line-height: 1.8; }
.legal-inline-link { display: inline-flex; gap: .45rem; margin-top: .7rem; color: var(--info-red); font-size: .78rem; font-weight: 800; text-decoration: none; }
.legal-inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-last-updated { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; padding: .8rem 0; color: #7b8794; font-size: .67rem; }
.legal-last-updated span { font-weight: 850; letter-spacing: .12em; }
.legal-last-updated strong { color: #45566a; font-weight: 700; }

/* Contact */
.info-hero-contact { grid-template-columns: minmax(0,1.3fr) minmax(200px,.7fr); }
.contact-hero-orbit { position: relative; display: grid; width: 190px; height: 190px; place-items: center; justify-self: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: #fff; font-size: 1.1rem; font-weight: 900; letter-spacing: .16em; }
.contact-hero-orbit::before, .contact-hero-orbit::after { position: absolute; inset: 15px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; content: ""; }
.contact-hero-orbit::after { inset: 35px; border-color: rgba(232,84,90,.7); }
.contact-hero-orbit i { position: absolute; top: 23px; right: 35px; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: #f28185; }
.contact-hero-orbit i + i { top: auto; right: auto; bottom: 34px; left: 28px; width: 5px; height: 5px; background: #fff; }
.contact-content-grid { display: grid; grid-template-columns: minmax(250px,.78fr) minmax(0,1.22fr); gap: clamp(1.5rem,4vw,3.5rem); align-items: start; }
.contact-details-column h2 { margin-bottom: .5rem; }
.contact-details-intro { margin: 0 0 1.2rem; color: var(--info-muted); font-size: .86rem; line-height: 1.75; }
.contact-method-card { display: grid; grid-template-columns: 42px minmax(0,1fr) 16px; gap: .8rem; align-items: center; padding: 1rem .9rem; border: 1px solid var(--info-line); border-radius: 10px; color: inherit; text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.contact-method-card:hover { transform: translateY(-2px); border-color: #e6c5c7; box-shadow: 0 10px 24px rgba(20,37,56,.06); }
.contact-method-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 9px; background: #fbebeb; color: var(--info-red); font-size: 1.15rem; font-weight: 850; }
.contact-method-card small, .contact-method-card strong, .contact-method-card em { display: block; }
.contact-method-card small { margin-bottom: .18rem; color: #7a8794; font-size: .55rem; font-style: normal; font-weight: 850; letter-spacing: .1em; }
.contact-method-card strong { color: var(--info-ink); font-size: .8rem; overflow-wrap: anywhere; }
.contact-method-card em { margin-top: .2rem; color: var(--info-muted); font-size: .65rem; font-style: normal; line-height: 1.45; }
.contact-method-arrow { color: #9aa6b3; font-size: .92rem; }
.contact-response-note { display: grid; grid-template-columns: 10px 1fr; gap: .65rem; align-items: start; margin: 1rem 0 1.55rem; padding: .9rem; border-radius: 8px; background: #f5f7f9; }
.contact-response-dot { width: 8px; height: 8px; margin-top: .32rem; border-radius: 50%; background: #49a17a; box-shadow: 0 0 0 4px #e3f2eb; }
.contact-response-note p { margin: 0; color: var(--info-muted); font-size: .72rem; line-height: 1.6; }
.contact-response-note strong { color: var(--info-ink); font-size: .75rem; }
.contact-topic-list { display: grid; gap: .6rem; }
.contact-topic-list .info-kicker { margin-bottom: .15rem; font-size: .6rem; }
.contact-topic-list > span:not(.info-kicker) { display: flex; align-items: center; gap: .55rem; color: #526376; font-size: .77rem; font-weight: 650; }
.contact-topic-list > span:not(.info-kicker)::before { width: 6px; height: 6px; border-radius: 50%; background: #bd252b; content: ""; }
.contact-form-panel { padding: clamp(1.2rem,3vw,2rem); border: 1px solid #e3e8ee; border-radius: 13px; background: #fff; box-shadow: 0 12px 30px rgba(17,34,51,.045); }
.contact-form-heading { margin-bottom: 1.15rem; }
.contact-form-heading h2 { margin: .35rem 0 .4rem; font-size: 1.45rem; }
.contact-form-heading > p { margin: 0; color: #7d8996; font-size: .72rem; }
.contact-form { display: grid; gap: 1rem; margin: 0; }
.contact-field-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.contact-form label { display: grid; gap: .42rem; color: #26394d; font-size: .75rem; font-weight: 760; }
.contact-form label > span { display: inline; color: #b71920; }
.contact-form input:not([type="hidden"]), .contact-form textarea { width: 100%; min-width: 0; padding: .78rem .85rem; border: 1px solid #dce3ea; border-radius: 7px; background: #fff; color: #192c40; font: inherit; font-size: .82rem; font-weight: 450; line-height: 1.55; }
.contact-form textarea { min-height: 145px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a1aab4; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(183,25,32,.12); border-color: #b71920; }
.contact-form label > small { color: #7f8b98; font-size: .65rem; font-weight: 500; line-height: 1.45; }
.contact-submit { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; justify-content: center; gap: 1.2rem; padding: .7rem 1rem; border: 0; border-radius: 7px; background: #b71920; color: #fff; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 800; transition: background .18s, transform .18s; }
.contact-submit:hover { transform: translateY(-1px); background: #95171c; }
.contact-submit:focus-visible { outline: 3px solid #e9a23b; outline-offset: 3px; }
.contact-privacy-hint { margin: -.25rem 0 0; color: #7a8794; font-size: .66rem; line-height: 1.55; }
.contact-privacy-hint a { color: #b71920; font-weight: 750; }
.contact-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.contact-status { display: grid; grid-template-columns: 28px 1fr; gap: .65rem; align-items: start; margin: 0 0 1rem; padding: .85rem; border: 1px solid; border-radius: 8px; }
.contact-status > span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; font-size: .8rem; font-weight: 900; }
.contact-status strong { color: #1e3448; font-size: .78rem; }
.contact-status p { margin: .2rem 0 0; color: #58687a; font-size: .72rem; line-height: 1.6; }
.contact-status-success { border-color: #bfdfce; background: #f1faf5; }
.contact-status-success > span { background: #d8f0e2; color: #26704a; }
.contact-status-info { border-color: #d8e2ec; background: #f5f8fb; }
.contact-status-info > span { background: #e4edf5; color: #3f607d; }
.contact-status-error { border-color: #f0c9ca; background: #fff6f6; }
.contact-status-error > span { background: #fbe0e1; color: #a51c22; }
.contact-bottom-note { display: flex; align-items: center; gap: .8rem; margin-top: 1.65rem; padding: .95rem 0; border-top: 1px solid var(--info-line); color: #69788a; }
.contact-bottom-note > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #f9e9e9; color: #b71920; font-size: .6rem; font-weight: 900; }
.contact-bottom-note p { flex: 1; margin: 0; font-size: .75rem; }
.contact-bottom-note a { color: #b71920; font-size: .72rem; font-weight: 780; text-decoration: none; }
.contact-bottom-note a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
    .info-hero { grid-template-columns: minmax(0,1fr) 170px; }
    .about-values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .legal-layout { grid-template-columns: 210px minmax(0,1fr); gap: 1.3rem; }
    .contact-content-grid { grid-template-columns: minmax(220px,.75fr) minmax(0,1.25fr); gap: 1.2rem; }
}
@media (max-width: 700px) {
    .info-page { padding-top: 0; }
    .info-hero { min-height: 0; grid-template-columns: minmax(0,1fr); gap: 1rem; margin-bottom: 2rem; padding: 1.8rem 1.35rem 1.6rem; border-radius: 12px; }
    .info-hero h1 { max-width: 650px; font-size: clamp(1.9rem,8vw,2.65rem); }
    .info-hero-copy > p { font-size: .9rem; }
    .info-hero-art, .legal-hero-mark, .contact-hero-orbit { display: none; }
    .info-hero-legal { min-height: 0; grid-template-columns: minmax(0,1fr); margin-bottom: 1.5rem; }
    .about-intro-grid { grid-template-columns: 1fr; gap: .6rem; padding-bottom: 2rem; }
    .about-intro-grid > p { font-size: .9rem; }
    .about-values-section { padding: 2rem 0; }
    .info-section-heading { display: block; }
    .info-section-heading > p { margin-top: .65rem; }
    .about-approach { grid-template-columns: 1fr; gap: 1.1rem; padding: 1.25rem; }
    .about-contact-cta { align-items: flex-start; flex-direction: column; padding: 1.2rem; }
    .legal-layout { grid-template-columns: 1fr; gap: 1rem; }
    .legal-sidebar { position: static; }
    .legal-sidebar-card { padding: .9rem; }
    .legal-sidebar-card > .info-kicker { margin-left: .2rem; }
    .legal-sidebar nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .15rem .35rem; }
    .legal-sidebar nav a { align-items: flex-start; padding: .48rem .35rem; font-size: .68rem; }
    .legal-sidebar nav a span { display: none; }
    .legal-sidebar-help { display: none; }
    .legal-section { padding: 1.15rem 0; }
    .contact-content-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .contact-details-column { display: grid; }
    .contact-form-panel { padding: 1.1rem; }
}
@media (max-width: 480px) {
    .info-breadcrumbs { margin-bottom: .75rem; font-size: .69rem; }
    .info-hero { padding: 1.45rem 1.05rem 1.35rem; }
    .info-eyebrow { font-size: .59rem; }
    .about-values-grid { grid-template-columns: 1fr; }
    .about-value-card { min-height: 0; padding: 1.15rem; }
    .legal-sidebar nav { grid-template-columns: 1fr; }
    .legal-section { grid-template-columns: 26px minmax(0,1fr); gap: .5rem; }
    .legal-section p { font-size: .82rem; }
    .contact-field-row { grid-template-columns: 1fr; }
    .contact-bottom-note { align-items: flex-start; flex-wrap: wrap; }
    .contact-bottom-note p { flex-basis: calc(100% - 50px); }
    .contact-bottom-note a { margin-left: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    .about-value-card, .info-hero-link, .contact-method-card, .contact-submit { transition: none; }
    .about-value-card:hover, .info-hero-link:hover, .contact-method-card:hover, .contact-submit:hover { transform: none; }
}
/* Footer social row — reference-matched circular brand marks. */
.footer-social-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:max-content;max-width:100%;margin-top:1.2rem;padding:0;background:transparent}
.footer-social-links a{display:flex;flex:0 0 48px;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #c4cdd5;border-radius:50%;background:transparent;color:#27313a;text-decoration:none;transition:background-color .18s ease,border-color .18s ease,transform .18s ease}
.footer-social-links a:hover{transform:translateY(-2px);border-color:#9eabb6;background:#fff}
.footer-social-links a:focus-visible{outline:3px solid #7eb7e8;outline-offset:3px}
.footer-social-links svg{display:block;width:22px;height:22px;fill:currentColor}
.footer-social-links .social-facebook{color:#1877f2}
.footer-social-links .social-x{color:#111820}
.footer-social-links .social-instagram{color:#c13f83}
.footer-social-links .social-instagram svg{fill:none;stroke:currentColor;stroke-width:1.8}
.footer-social-links .social-instagram .instagram-dot{fill:currentColor;stroke:none}
.footer-social-links .social-youtube{color:#ed1d24}
.footer-social-links .social-youtube .youtube-play{fill:#fff}
.footer-social-links .social-whatsapp{color:#18b879}
.footer-social-links .social-whatsapp svg{fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:360px){.footer-social-links{gap:6px;padding:7px}.footer-social-links a{flex-basis:42px;width:42px;height:42px}.footer-social-links svg{width:20px;height:20px}}
