/* TO.NEWS - Premium Light-Mode Minimalist Newspaper Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@400;500;600;700;800&display=swap');

:root, html[data-theme="light"] {
    --bg-primary: #f5f4f0; /* Soft warm off-white newspaper style background */
    --bg-secondary: #ffffff; /* Card and header background */
    --bg-tertiary: #ebeae6;
    --text-main: #111111; /* Clean black text */
    --text-muted: #666666;
    --text-inverse: #ffffff;
    --primary: #ff3f1a; /* Vibrant orange-red highlight from mockup */
    --primary-light: #ff5f40;
    --primary-rgb: 255, 63, 26;
    --border: #e2e0da;
    --border-dark: #888888;
    --nav-bg: #ffffff;
    --footer-bg: #111111; /* Solid black footer */
    --footer-text: #ffffff;
    --footer-text-muted: #888888;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 35px rgba(0, 0, 0, 0.08);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Outfit', var(--font-sans);
    --radius-lg: 12px; /* Increased border radius for curved cards */
    --radius-md: 8px;
    --radius-sm: 4px;
}

html[data-theme="dark"] {
    --bg-primary: #0a0e17; /* Modern dark layout */
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-inverse: #0a0e17;
    --primary: #ff5f40;
    --primary-light: #ff7f66;
    --primary-rgb: 255, 95, 64;
    --border: #1f2937;
    --border-dark: #4b5563;
    --nav-bg: #111827;
    --footer-bg: #030712;
    --footer-text: #ffffff;
    --footer-text-muted: #9ca3af;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.2s ease, color 0.2s ease;
}

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

a:hover {
    color: var(--primary);
}

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

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Breaking News Ticker (Topmost Black Bar) */
.breaking-news-ticker {
    background-color: #111111;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    z-index: 101;
    position: relative;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
}

.ticker-badge {
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-right: 1.25rem;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.ticker-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.ticker-list {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
}

.ticker-list:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding-right: 3rem;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.82rem;
}

.ticker-item span {
    color: var(--primary);
    margin-right: 0.5rem;
    font-weight: bold;
}

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

/* Premium Navigation Bar (Header) */
header {
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
    transition: background-color 0.2s ease;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.25rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-main);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary);
}

.controls {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.btn-lang-pill {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.05em;
    cursor: pointer;
}

.btn-lang-pill:hover {
    background-color: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}

.btn-toggle-theme {
    background: none;
    border: none;
    font-size: 1.15rem;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.btn-toggle-theme:hover {
    background-color: var(--bg-tertiary);
}

.btn-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Main Layout Grid */
main {
    padding: 2rem 0;
}

/* Hero Section: 1 Large Left, 3 Small Stacked Right */
.hero-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.hero-large {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hero-large-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.hero-large-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-large:hover .hero-large-img {
    transform: scale(1.02);
}

.hero-large-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-tag {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.hero-large-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.hero-large-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-meta-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    font-weight: 500;
}

.hero-sidebar-stacked {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-small-card {
    display: flex;
    gap: 1.25rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.hero-small-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-small-img-wrapper {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

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

.hero-small-card:hover .hero-small-img {
    transform: scale(1.04);
}

.hero-small-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.hero-small-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Section Header (Mockup Line Style) */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 0.5rem;
    margin-bottom: 1.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--text-main);
    position: relative;
}

.btn-see-more {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.2s ease;
}

.btn-see-more:hover {
    transform: translateX(3px);
}

/* Trending Section */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.trend-card {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.trend-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trend-img-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

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

.trend-card:hover .trend-img {
    transform: scale(1.02);
}

.trend-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.trend-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Search Banner */
.search-banner {
    background-color: #111111;
    color: #ffffff;
    padding: 3.5rem 2rem;
    text-align: center;
    border-radius: var(--radius-lg);
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.search-banner-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.search-banner-title span {
    color: var(--primary);
}

.search-banner-sub {
    color: #888888;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.search-banner-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-banner-input {
    width: 100%;
    padding: 0.85rem 3rem 0.85rem 1.5rem;
    border: 1px solid #333333;
    background-color: #1e1e1e;
    color: #ffffff;
    font-size: 0.9rem;
    border-radius: 999px;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-banner-input:focus {
    border-color: var(--primary);
    background-color: #242424;
}

.search-icon-btn {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.search-icon-btn:hover {
    color: var(--primary);
}

/* Latest News / Category Grids */
.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.latest-card {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.latest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.latest-img-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

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

.latest-card:hover .latest-img {
    transform: scale(1.02);
}

.latest-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    z-index: 5;
}

.latest-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.latest-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Featured Section */
.featured-layout {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-top: 4px solid var(--primary);
}

.featured-img-side {
    width: 55%;
    position: relative;
    overflow: hidden;
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
}

.featured-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content-side {
    width: 45%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.featured-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Split sections layout */
.split-sections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 2rem;
}

/* Page content Layouts */
.content-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 2.5rem;
}

/* Article Styling */
.article-container {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.article-header {
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.article-headline {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-featured-img-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
}

.article-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-main);
}

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

.article-content h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin: 2.25rem 0 1rem 0;
    font-weight: 700;
}

.article-content img {
    margin: 2rem 0;
    border-radius: var(--radius-lg);
}

.article-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-share {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-main);
    transition: all 0.2s ease;
    padding: 0;
}

.btn-share:hover {
    background-color: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-share svg {
    display: block;
    width: 16px;
    height: 16px;
}

/* Sidebar Widgets */
aside {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.widget {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--text-main);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

/* Sidebar Search Form Improvements */
.widget form {
    display: flex;
    flex-direction: column;
}

.widget .search-banner-input {
    width: 100%;
    padding: 0.75rem 1.25rem !important;
    border: 1px solid var(--border) !important;
    background-color: var(--bg-primary) !important;
    color: var(--text-main) !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.9rem;
    border-radius: 9999px !important; /* Capsule shaped input */
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.widget .search-banner-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.widget .search-banner-btn {
    width: 100%;
    padding: 0.75rem 1.5rem !important;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-inverse) !important;
    background-color: var(--primary) !important;
    border: none !important;
    border-radius: 9999px !important; /* Capsule shaped button matching input */
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.widget .search-banner-btn:hover {
    background-color: var(--primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.25);
}

.widget .search-banner-btn:active {
    transform: translateY(0);
}

.widget-title {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    color: var(--text-main);
}

.widget-list {
    list-style: none;
}

.widget-list-item {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border);
}

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

.widget-list-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: var(--radius-md);
}

.widget-list-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: var(--radius-sm);
}

.page-link:hover,
.page-link.active {
    background-color: var(--text-main);
    color: var(--bg-primary);
    border-color: var(--text-main);
}

.page-link.disabled {
    color: var(--text-muted);
    pointer-events: none;
    opacity: 0.5;
}

/* Category Page Info Box */
.archive-title-container {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.archive-title-container h1 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.archive-title-container p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* Static page content box */
.page-content-box {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.page-title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 1rem;
}

.page-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-body h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.page-body p {
    margin-bottom: 1.25rem;
}

/* Advertisements (Styled to look extremely premium) */
.ad-slot-wrapper,
.ad-placeholder {
    background-color: var(--bg-tertiary);
    border: 2px dashed var(--border-dark);
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.ad-placeholder span {
    font-family: var(--font-heading);
    opacity: 0.75;
}

.ad-placeholder:hover {
    border-color: var(--primary);
    background-color: var(--bg-secondary);
    color: var(--primary);
}

.adsense-block {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Solid Black Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
    font-size: 0.85rem;
    border-top: 4px solid var(--primary);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--footer-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column ul a {
    color: var(--footer-text-muted);
    font-weight: 500;
}

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

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #222222;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.social-icon:hover {
    background-color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--footer-text-muted);
    font-size: 0.78rem;
    font-weight: 500;
}
/* Mobile responsive hamburger menu */
@media (max-width: 991px) {
    .nav-container {
        position: relative;
    }
    
    .btn-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--nav-bg);
        border-bottom: 1px solid var(--border);
        padding: 1.5rem;
        gap: 1rem;
        align-items: flex-start;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        width: 100%;
        padding: 0.25rem 0;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
    }
    
    .trending-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-layout {
        flex-direction: column;
    }
    
    .featured-img-side {
        width: 100%;
        aspect-ratio: 16/9;
    }
    
    .featured-content-side {
        width: 100%;
        padding: 1.5rem;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.75rem;
    }
    
    .hero-large-title {
        font-size: 1.6rem;
    }
    
    .article-headline {
        font-size: 1.95rem;
    }
    
    .article-container {
        padding: 1.5rem;
    }
    
    .page-content-box {
        padding: 1.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
