/* ========================================================
   NEXUS HEALTH MEDIA – EDITORIAL DIGITAL PUBLISHING STYLES
   Inspired by Croakey Health Media layout principles
   ======================================================== */

:root {
    --bg-page: #f8f9fa;
    --bg-card: #ffffff;
    --text-main: #212529;
    --text-muted: #6c757d;
    --text-dark: #111111;
    --brand-red: #d90429;
    --brand-green: #2a9d8f;
    --brand-gold: #e9c46a;
    --brand-dark: #264653;
    --brand-blue: #0077b6;
    --accent-red: #e63946;
    --border-light: #e5e5e5;
    --border-subtle: #eaeaea;
    --font-heading: 'Oswald', 'Fira Sans', sans-serif;
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-red);
}

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

/* ================= 1. HEADER ================= */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 18px 0;
}

.header-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.header-brand {
    flex: 1;
    min-width: 280px;
}

.brand-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}

.brand-emblem-icon {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12) !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    object-fit: contain !important;
    transition: transform 0.2s ease;
}

.brand-link:hover .brand-emblem-icon {
    transform: scale(1.05);
}

.brand-logo-text {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
    display: inline-block;
}

.brand-accent-red { color: #d90429; }
.brand-accent-green { color: #2a9d8f; }
.brand-accent-gold { color: #e9c46a; }

.brand-tagline {
    font-size: 0.88rem;
    color: #555555;
    margin-top: 4px;
    font-family: var(--font-sans);
    font-weight: 400;
}

/* Search Box */
.header-search {
    flex: 1.2;
    max-width: 440px;
    min-width: 260px;
    position: relative;
}

.search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    border: 1px solid var(--border-light);
    z-index: 2000;
    max-height: 380px;
    overflow-y: auto;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.15s;
    text-decoration: none;
    color: #212529;
}

.suggestion-item:hover {
    background: #f8f9fa;
    color: #d90429;
}

.suggestion-thumb {
    width: 46px;
    height: 46px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e9ecef;
}

.suggestion-info {
    flex: 1;
    overflow: hidden;
}

.suggestion-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.suggestion-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-form {
    display: flex;
    border: 2px solid #e63946;
    border-radius: 4px;
    overflow: hidden;
    background: #e63946;
}

.search-input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    font-size: 0.92rem;
    font-family: var(--font-sans);
    outline: none;
    background: #ffffff;
}

.search-btn {
    background: #e63946;
    color: #ffffff;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.search-btn:hover {
    background: #c1121f;
}

/* Support Actions */
.header-support {
    background: #f1f3f5;
    padding: 8px 14px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.support-label {
    font-size: 0.78rem;
    color: #495057;
    font-weight: 500;
}

.support-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-icon-badge {
    color: #e63946;
    font-size: 1.2rem;
    margin-right: 2px;
}

.btn-support {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: capitalize;
}

.btn-donate {
    background: #e63946;
    color: #ffffff !important;
}

.btn-donate:hover {
    background: #c1121f;
}

.btn-subscribe {
    background: #2a9d8f;
    color: #ffffff !important;
}

.btn-subscribe:hover {
    background: #21867a;
}

.btn-options {
    background: #e9c46a;
    color: #212529 !important;
}

.btn-options:hover {
    background: #d8b257;
}

/* ================= 2. NAVIGATION ================= */
.main-navigation {
    background: #6c757d;
    border-top: 1px solid #5a6268;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
}

.nav-link:hover, .nav-item.active .nav-link {
    background: #495057;
    color: #ffffff;
}

.nav-admin-badge {
    background: #e63946 !important;
    border-radius: 3px;
    margin-left: 8px;
}

.nav-admin-badge:hover {
    background: #c1121f !important;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    border-top: 3px solid #e63946;
    z-index: 1001;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #212529;
    font-size: 0.85rem;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: #e63946;
}

.cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Social Bar */
.nav-social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    color: #ffffff;
    font-size: 0.82rem;
}

.social-icon.fb { background: #1877f2; }
.social-icon.x-tw { background: #000000; }
.social-icon.in { background: #0a66c2; }
.social-icon.bsky { background: #0285ff; }
.social-icon.insta { background: #e4405f; }
.social-icon.yt { background: #ff0000; }

/* ================= 3. EDITORIAL 3-COLUMN GRID ================= */
.page-body {
    max-width: 1360px;
    margin: 20px auto;
    padding: 0 20px;
}

.editorial-layout {
    display: grid;
    grid-template-columns: 2.1fr 1fr 1fr;
    gap: 24px;
}

/* ================= LEFT MAIN FLOW ================= */
.main-editorial-flow {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Hero Featured Article (Matching Public-good science) */
.hero-featured-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #000000;
}

.hero-image-wrap {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-featured-card:hover .hero-image {
    transform: scale(1.02);
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.85) 90%);
}

.hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: #ffffff;
    z-index: 2;
}

.hero-headline {
    font-family: var(--font-sans);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.hero-byline {
    font-size: 0.95rem;
    color: #e5e5e5;
}

.hero-byline .byline-author {
    color: #e63946;
    font-weight: 700;
}

/* Middle Promo Banner (Culinary Medicine) */
.editorial-banner-strip {
    background: #0a4f94;
    border-radius: 4px;
    overflow: hidden;
    color: #ffffff;
    position: relative;
}

.banner-inner {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    gap: 18px;
}

.banner-photo {
    position: relative;
    width: 140px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.banner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-seal {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px;
}

.banner-text {
    flex: 1;
}

.banner-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.banner-desc {
    font-size: 0.82rem;
    color: #e0e9f5;
    line-height: 1.35;
}

.banner-cta {
    flex-shrink: 0;
}

.circle-cta-btn {
    width: 82px;
    height: 82px;
    background: #0077b6;
    border: 2px dashed #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-align: center;
    font-weight: 800;
    font-size: 0.65rem;
    line-height: 1.1;
    transition: transform 0.2s;
}

.circle-cta-btn:hover {
    transform: scale(1.06);
    background: #023e8a;
}

.banner-sponsor-tag {
    font-size: 0.65rem;
    color: #90b8e2;
    text-align: right;
    padding: 2px 14px 6px;
    background: rgba(0,0,0,0.15);
}

/* 3-Column Editorial Articles */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.column-card {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-thumb-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9ecef;
}

.card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.column-card:hover .card-thumb {
    transform: scale(1.04);
}

.card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.card-title a {
    color: #111111;
}

.card-title a:hover {
    color: var(--brand-red);
}

.card-meta {
    margin-top: auto;
    font-size: 0.78rem;
    color: #777777;
    border-top: 1px solid #f1f1f1;
    padding-top: 8px;
}

.meta-date {
    display: block;
    color: #888888;
    margin-bottom: 2px;
}

.meta-editor strong {
    color: #d90429;
}

.meta-author span {
    color: #333333;
}

/* ================= MIDDLE SIDEBAR ================= */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Alert Box (COVID-19 Red card) */
.sidebar-alert-card {
    background: #e63946;
    color: #ffffff;
    padding: 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.alert-icon {
    font-size: 2.2rem;
    color: #ffccd5;
}

.alert-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.alert-btn {
    display: inline-block;
    background: #212529;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 3px;
}

/* Quotable Box */
.sidebar-quotable-card {
    background: #d8f3dc;
    border-left: 5px solid #2a9d8f;
    padding: 18px;
    border-radius: 4px;
}

.quotable-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1b4332;
    margin-bottom: 10px;
}

.quotable-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.quotable-text {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    font-style: italic;
    color: #2d3748;
    line-height: 1.5;
    margin-bottom: 12px;
}

.quotable-speaker strong {
    display: block;
    font-size: 0.85rem;
    color: #1b4332;
}

.quotable-speaker p {
    font-size: 0.78rem;
    color: #40916c;
    margin-top: 2px;
}

.quotable-source-btn {
    display: inline-block;
    background: #e63946;
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    margin-top: 10px;
}

/* Video Card */
.sidebar-video-card, .sidebar-pub-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 14px;
}

.widget-header h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 2px solid #212529;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.video-embed-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000000;
    border-radius: 3px;
}

.video-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    font-size: 0.82rem;
    font-weight: 600;
    margin: 10px 0 8px;
    color: #333333;
}

.widget-more-btn {
    display: inline-block;
    background: #e63946;
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 3px;
}

/* Publications */
.pub-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pub-thumb {
    width: 65px;
    height: 85px;
    background: #e9ecef;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.pub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pub-details h4 {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.pub-view-btn {
    display: inline-block;
    background: #e63946;
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
}

/* ================= RIGHT SIDEBAR ================= */
.country-acknowledgement-card {
    background: #028090;
    color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
}

.country-header {
    padding: 12px 14px;
    background: #007f5f;
}

.country-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.country-header p {
    font-size: 0.75rem;
    font-style: italic;
    color: #d8f3dc;
}

.country-image-wrap {
    height: 120px;
    overflow: hidden;
}

.country-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-body {
    padding: 12px 14px;
    font-size: 0.8rem;
    line-height: 1.45;
}

.country-gallery-pill {
    display: inline-block;
    background: #ffffff;
    color: #028090 !important;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    margin-top: 8px;
}

.cultural-caution-box {
    background: #e9ecef;
    border: 1px solid #ced4da;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.76rem;
    color: #495057;
    line-height: 1.35;
}

.cultural-caution-box .caution-title {
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
    color: #212529;
}

.sidebar-policy-card {
    background: #e63946;
    color: #ffffff;
    padding: 16px;
    border-radius: 4px;
}

.sidebar-policy-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.policy-action-btn {
    display: inline-block;
    background: #212529;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 3px;
}

.sidebar-consortium-card {
    background: #d90429;
    color: #ffffff;
    padding: 18px;
    border-radius: 4px;
    text-align: center;
}

.consortium-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.consortium-top h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.sidebar-consortium-card p {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #ffccd5;
}

.consortium-btn {
    display: block;
    background: #212529;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 12px;
    border-radius: 4px;
}

/* ================= ARTICLE VIEW ================= */
.article-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.article-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 32px;
}

.breadcrumb-trail {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.article-cat-badge {
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 8px;
}

.article-headline {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.article-subheadline {
    font-size: 1.15rem;
    color: #495057;
    line-height: 1.45;
    margin-bottom: 18px;
}

.article-byline-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 12px 0;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.author-meta-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details .author-name {
    font-size: 0.95rem;
    display: block;
}

.author-details .editor-note {
    font-size: 0.8rem;
    color: #777777;
}

.publish-meta-box {
    font-size: 0.82rem;
    color: #777777;
    display: flex;
    gap: 14px;
}

.article-figure {
    margin-bottom: 24px;
}

.article-hero-img {
    width: 100%;
    border-radius: 4px;
}

.article-figcaption {
    font-size: 0.8rem;
    color: #666666;
    margin-top: 6px;
    font-style: italic;
}

.social-share-strip {
    background: #f1f3f5;
    padding: 10px 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.share-title {
    font-size: 0.82rem;
    font-weight: 600;
}

.share-btn {
    padding: 4px 12px;
    border-radius: 3px;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 600;
}

.share-btn.x-btn { background: #000000; }
.share-btn.fb-btn { background: #1877f2; }
.share-btn.in-btn { background: #0a66c2; }

.article-prose {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    line-height: 1.8;
    color: #2b2d42;
}

.article-prose p {
    margin-bottom: 1.5rem;
}

.article-prose h3 {
    font-family: var(--font-sans);
    font-size: 1.45rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #111111;
}

.article-prose blockquote {
    border-left: 4px solid var(--brand-red);
    padding: 12px 20px;
    background: #fdf0f0;
    font-style: italic;
    margin: 1.5rem 0;
    font-size: 1.15rem;
}

.article-tags-wrap {
    margin: 2rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-pill {
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 0.78rem;
    color: #495057;
}

.tag-pill:hover {
    background: #dee2e6;
    color: var(--brand-red);
}

.author-bio-card {
    background: #f8f9fa;
    border: 1px solid var(--border-light);
    padding: 20px;
    border-radius: 4px;
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 30px;
}

.author-bio-card img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
}

.author-bio-card .role-title {
    font-size: 0.82rem;
    color: var(--brand-red);
    font-weight: 600;
    margin-bottom: 6px;
}

/* ================= FOOTER ================= */
.site-footer {
    background: #212529;
    color: #adb5bd;
    padding: 45px 0 25px;
    margin-top: 40px;
    border-top: 4px solid #d90429;
}

.footer-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 30px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-family: var(--font-heading);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #adb5bd;
    font-size: 0.85rem;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-form {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.footer-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #495057;
    background: #343a40;
    color: #ffffff;
    border-radius: 3px;
    font-size: 0.85rem;
}

.footer-form button {
    background: #e63946;
    color: #ffffff;
    border: none;
    padding: 0 16px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
}

.copyright {
    font-size: 0.78rem;
    margin-top: 18px;
    color: #6c757d;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
    .editorial-layout {
        grid-template-columns: 2fr 1fr;
    }
    .sidebar-right {
        grid-column: span 2;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .editorial-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-right {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    .three-column-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* ================= 10. COOKIE CONSENT BANNER ================= */
.cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 29, 45, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 16px 24px;
    z-index: 999999;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    animation: slideUpCookie 0.4s ease-out;
}

@keyframes slideUpCookie {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-consent-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cookie-icon {
    font-size: 1.6rem;
    color: #f4a261;
    flex-shrink: 0;
}

.cookie-consent-text a {
    color: #64dfdf;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-opt {
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-cookie-opt.accept {
    background: #ef233c;
    color: #ffffff;
}

.btn-cookie-opt.accept:hover {
    background: #d90429;
}

.btn-cookie-opt.necessary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-cookie-opt.necessary:hover {
    background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-consent-actions {
        width: 100%;
    }
    .btn-cookie-opt {
        flex: 1;
        text-align: center;
    }
}

