/* --- 100% Identical Retro Newspaper Page Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@400;600;700;900&display=swap');

.news-newspaper-page {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    background-color: #f9f8f6;
    color: #1a1a1a;
    padding-top: 75px;
    padding-bottom: 60px;
    overflow-x: hidden;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .news-container {
        padding: 0 15px !important;
    }
}

.news-newspaper-page h1, 
.news-newspaper-page h2, 
.news-newspaper-page h3, 
.news-newspaper-page h4, 
.news-newspaper-page h5, 
.news-newspaper-page h6, 
.serif-font {
    font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
    font-weight: 900;
    color: #000000;
    letter-spacing: -0.5px;
}

.news-newspaper-page a {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.2s;
}

.news-newspaper-page a:hover {
    opacity: 0.7;
    color: #000000;
}

/* --- Retro Layout Borders --- */
.newspaper-double-border {
    border-top: 4px double #000000 !important;
    border-bottom: 4px double #000000 !important;
}

.newspaper-single-border {
    border-top: 1px solid #000000 !important;
    border-bottom: 1px solid #000000 !important;
}

.col-divider {
    border-right: 1px solid rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 991px) {
    .col-divider {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

/* --- Retro 3-Box Header Styling --- */
.retro-header-box {
    border: 1px solid #000000;
    padding: 10px 14px;
    min-height: 95px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f9f8f6;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.retro-header-box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.retro-header-box.right-box {
    text-align: right;
}

.box-header-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    color: #000000;
    line-height: 1.2;
    z-index: 1;
}

.box-divider {
    height: 1px;
    background: #000000;
    margin: 4px 0;
    z-index: 1;
}

.box-content-text {
    font-size: 0.65rem;
    line-height: 1.3;
    z-index: 1;
}

.text-serif-italic {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #1a1a1a;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.2px;
}

.box-subtext {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.58rem;
    letter-spacing: 0.5px;
    margin-top: 2px;
    color: #000000;
}

.retro-header-box.right-box .box-content-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.6rem;
    letter-spacing: 0.4px;
}

.email-info {
    font-size: 0.58rem;
    font-weight: 700;
    margin-bottom: 4px;
    word-break: break-all;
}

.email-link, .url-link {
    color: #000000;
    text-decoration: none;
    font-weight: 700;
}

.header-search-link {
    display: inline-block;
    color: #000000;
    font-weight: 700;
    border: 1px solid #000000;
    padding: 2px 8px;
    font-size: 0.58rem;
    letter-spacing: 0.8px;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-search-link:hover {
    background: #000000;
    color: #f9f8f6 !important;
    opacity: 1 !important;
}

/* --- Center Retro Title --- */
.site-title-retro {
    font-size: 4.8rem;
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
    line-height: 0.85;
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
}

@media (max-width: 768px) {
    .site-title-retro {
        font-size: 3rem;
    }
}

.site-description-retro {
    font-size: 1.1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 900;
    margin-top: 10px;
    display: inline-block;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 4px 20px;
}

/* --- Sub-Navbar Styling (Double Border & Mobile Swipe) --- */
.news-subnav {
    background-color: #f9f8f6 !important;
    padding: 4px 0 !important;
    margin-bottom: 1.5rem;
}

.news-subnav-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 2px 0 !important;
    scrollbar-width: none;
}
.news-subnav-links::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .news-subnav-links {
        justify-content: center !important;
        overflow-x: visible !important;
        gap: 10px !important;
    }
}

.news-subnav-item {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.4px !important;
    padding: 4px 8px !important;
    color: #000000 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    background-color: #ffffff !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 4px !important;
    flex: 0 0 auto !important;
    transition: all 0.2s ease;
}

.news-subnav-item:hover, .news-subnav-item:active {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* --- Pill Badges & Hover Fix --- */
.archive-card-pill,
.category-tag-pill,
.category-badge-pill {
    display: inline-block !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1.5px solid #000000 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.68rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 3px 8px !important;
    border-radius: 2px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.archive-card-pill:hover,
.archive-card-pill:focus,
.category-tag-pill:hover,
.category-tag-pill:focus,
.category-badge-pill:hover,
.category-badge-pill:focus {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    text-decoration: none !important;
}

/* --- Retro Pagination Buttons --- */
.retro-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 40px !important;
    margin-bottom: 25px !important;
}

.retro-pagination .retro-page-btn,
.retro-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 10px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1.5px solid #000000 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    border-radius: 2px !important;
    transition: all 0.2s ease !important;
}

.retro-pagination .retro-page-btn.current,
.retro-pagination .page-numbers.current,
.retro-pagination .retro-page-btn:hover,
.retro-pagination .page-numbers:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .retro-header-box {
        min-height: 90px !important;
        margin-bottom: 10px;
    }
    .retro-header-box.right-box {
        text-align: right !important;
    }
}

@media (max-width: 576px) {
    .retro-header-box {
        padding: 6px 12px !important;
        min-height: 85px !important;
        overflow: hidden !important;
    }
    .box-header-title {
        font-size: 0.52rem !important;
        letter-spacing: 0.2px !important;
    }
    .box-content-text {
        font-size: 0.50rem !important;
        line-height: 1.2 !important;
    }
    .email-info {
        font-size: 0.43rem !important;
        letter-spacing: -0.1px !important;
        word-break: normal !important;
        white-space: nowrap !important;
        margin-bottom: 3px !important;
    }
    .header-search-link {
        font-size: 0.44rem !important;
        padding: 1px 5px !important;
        letter-spacing: 0.2px !important;
    }
}

/* --- Breaking News Ticker --- */
.breaking-ticker-wrap {
    background-color: #000000;
    color: #f7f4eb;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 2rem;
}

.ticker-label {
    background-color: #f9f8f6;
    color: #000000;
    padding: 2px 8px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.7rem;
    margin-right: 15px;
    letter-spacing: 1px;
    display: inline-block;
    border-radius: 1px;
}

.ticker-content-slide {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-slide 25s linear infinite;
}

.ticker-content-slide a {
    color: #f9f8f6 !important;
    margin-right: 40px;
    text-decoration: none;
}

@keyframes ticker-slide {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* --- Section Cards & Dropcaps --- */
.newspaper-text {
    text-align: justify;
    text-justify: inter-word;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1a1a1a;
}

.newspaper-block-title {
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid #000000 !important;
    padding: 6px 12px;
    margin-bottom: 1.5rem;
    background-color: #000000 !important;
    color: #ffffff !important;
    letter-spacing: 1.5px;
}

.dropcap {
    float: left;
    font-size: 3.2rem;
    line-height: 0.8;
    margin: 4px 6px 0 0;
    font-weight: 900;
    color: #000000;
}

.newspaper-card-classic {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0,0,0,0.3);
}

.newspaper-card-classic:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.newspaper-card-classic img {
    width: 100%;
    height: auto;
    border-radius: 0;
    border: 1px solid #000;
    margin-bottom: 12px;
}

.post-meta-retro {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 6px;
}

.post-title-retro {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 8px;
}
