/* GLOBAL */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f4f5f7;
    color: #111827;
    line-height: 1.6;
}

/* LINKS */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

/* HEADER + BANNER */
.site-header {
    background: #000000;
    color: #ffffff;
}

.site-banner {
    width: 100%;
    height: 220px; /* adjust to your preferred height */
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
        url("../banner.jpg") center center / cover no-repeat;
}

.small-banner {
    padding: 28px 16px;
}

.banner-overlay {
    max-width: 880px;
    margin: 0 auto;
}

.site-title {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-tagline {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* NAVIGATION */
.site-nav {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    max-width: 880px;
    margin: 0 auto;
    padding: 10px 16px 8px;
    border-top: 1px solid #111111;
    border-bottom: 1px solid #111111;
    background: #000000;
}

.nav-link {
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    opacity: 0.9;
    color: #e5e7eb;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    background: #ffffff;
    color: #111827;
    font-weight: 600;
}

/* BREAKING NEWS TICKER */
/* BREAKING NEWS TICKER */
.breaking-bar {
    width: 100%;
    background: #0b0b0b;
    border-bottom: 1px solid #111;
    font-size: 13px;
    overflow: hidden;
    padding: 0;
}

.breaking-inner {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.breaking-label {
    flex-shrink: 0;
    padding: 4px 12px;
    background: #c8102e;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 11px;
    z-index: 10;
}

.breaking-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 48px;

    /* CRITICAL FIX: Start AFTER the label */
    padding-left: 20px;
    margin-left: 12px;

    animation: ticker-scroll 35s linear infinite;
}

.breaking-link {
    color: #f9fafb;
    opacity: 0.9;
}

.breaking-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Pause on hover */
.breaking-bar:hover .breaking-track {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* MAIN CONTENT */
.content {
    max-width: 880px;
    margin: 32px auto;
    padding: 0 16px 40px;
}

/* HOMEPAGE ARTICLE LIST */
.section-title {
    font-size: 18px;
    margin: 0 0 16px;
    color: #111827;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.article-title {
    margin: 0 0 6px;
    font-size: 17px;
    color: #111827;
    font-weight: 600;
}

.article-title a {
    color: inherit;
}

.article-excerpt {
    margin: 0 0 10px;
    font-size: 14px;
    color: #4b5563;
}

.article-meta {
    margin: 0 0 10px;
    font-size: 12px;
    color: #6b7280;
}

.read-more {
    font-size: 13px;
    font-weight: 500;
    color: #c8102e;
}

/* ARTICLE PAGE */
.article-page {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px 20px 28px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.article-header {
    margin-bottom: 16px;
}

.article-page-title {
    margin: 0 0 6px;
    font-size: 22px;
    color: #111827;
    font-weight: 700;
}

.article-page-meta {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.article-body {
    margin-top: 16px;
    font-size: 15px;
    color: #1f2933;
}

.article-body h2,
.article-body h3 {
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.article-body p {
    margin: 0 0 12px;
}

.article-body ul,
.article-body ol {
    padding-left: 20px;
    margin: 0 0 12px;
}

.article-body blockquote {
    margin: 12px 0;
    padding-left: 12px;
    border-left: 3px solid #c8102e;
    color: #374151;
    font-style: italic;
}

/* AUTHOR PAGE */
.author-section,
.editorial-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 18px 18px 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.author-section h2,
.editorial-section h2 {
    margin-top: 0;
    font-size: 18px;
    color: #111827;
}

.author-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.author-photo img {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 999px;
    object-fit: cover;
}

.author-name {
    margin: 0 0 8px;
    font-size: 16px;
    color: #111827;
}

/* FOOTER */
.site-footer {
    padding: 16px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

/* RESPONSIVE */
@media (max-width: 640px) {
    .author-layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-banner {
        padding: 32px 12px;
        text-align: left;
    }

    .article-page {
        padding: 18px 14px 22px;
    }

    .site-nav {
        justify-content: flex-start;
        padding-left: 12px;
        padding-right: 12px;
    }

    .breaking-bar {
        padding-left: 12px;
        padding-right: 12px;
    }
}
/* =========================================
   ARTICLE PAGE LAYOUT
========================================= */

.article-page {
    max-width: 760px;
    margin: 40px auto;
    padding: 0 20px;
    color: #0b0b0b;
}

.article-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 20px;
}

.article-page-title {
    font-size: 32px;
    font-weight: 700;
    color: #0b0b0b;
    margin-bottom: 10px;
}

.article-page-meta {
    font-size: 14px;
    color: #555;
}

.back-button-wrap {
    margin-top: 20px;
    margin-bottom: 10px;
}

.back-button {
    color: #c8102e;
    font-weight: 600;
    text-decoration: none;
}

.back-button:hover {
    text-decoration: underline;
}

/* ARTICLE BODY */
.article-body p {
    line-height: 1.8;
    margin-bottom: 18px;
}

.article-body h2,
.article-body h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #0b0b0b;
}

.article-body blockquote {
    border-left: 4px solid #c8102e;
    padding-left: 15px;
    margin-left: 0;
    color: #444;
}

/* SUMMARY BLOCK */
.article-summary {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.article-summary h2 {
    margin-bottom: 10px;
}

/* CONTEXT BLOCK */
.article-context {
    background: #fafafa;
    padding: 20px;
    border-left: 3px solid #c8102e;
    margin: 40px 0;
}

/* RELATED ARTICLES */
.related-articles {
    margin: 40px 0;
}

.related-articles ul {
    padding-left: 20px;
}

.related-articles a {
    color: #c8102e;
}

/* TAGS */
.article-tags {
    margin: 40px 0;
}

.tag-list {
    color: #444;
    font-size: 14px;
}

script[type="application/ld+json"] {
    display: none !important;
}

/* =========================================
   TICKER FIXES FOR ARTICLE PAGE
========================================= */

.breaking-bar {
    width: 100%;
    padding: 6px 0;
    background: #0b0b0b;
    border-bottom: 1px solid #111;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.breaking-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.breaking-label {
    padding: 4px 10px;
    background: #c8102e;
    color: #fff;
    margin-right: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.breaking-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 48px;

    /* THIS FIXES YOUR OVERLAPPING TEXT ISSUE */
    padding-left: 90px;

    animation: ticker-scroll 35s linear infinite;
}

.breaking-link {
    color: #f8f8f8;
    opacity: 0.85;
}

.breaking-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* =========================================
   BANNER FOR ARTICLE PAGE
========================================= */

.small-banner {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* =========================================
   GENERAL LAYOUT FROM HOMEPAGE
========================================= */

.site-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 12px 0;
    background: #000;          /* FORCE dark background like homepage */
    border-bottom: 1px solid #111;
}

.nav-link {
    color: #f0f0f0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.nav-link:hover {
    color: #ffffff;
    text-decoration: underline;
}


