/* ============================================
   BOLA PASARAN - CUSTOM THEME STYLES
   Modern Sports News Website
   ============================================ */

/* ============================================
   1. CSS RESET & BASE STYLES
   ============================================ */

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

:root {
    /* Primary Colors - Football/Sports theme */
    --color-primary: #1a73e8;
    --color-primary-dark: #1557b0;
    --color-primary-light: #4285f4;

    /* Secondary Colors */
    --color-secondary: #34a853;
    --color-accent: #ea4335;

    /* Neutral Colors */
    --color-text: #202124;
    --color-text-light: #5f6368;
    --color-text-lighter: #80868b;
    --color-bg: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-bg-tertiary: #e8eaed;
    --color-border: #dadce0;

    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;

    /* Container */
    --container-max-width: 1280px;
    --container-padding: 1.5rem;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
    max-width: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
    max-width: 100vw; /* Never wider than viewport */
}

/* ============================================
   SCROLLBAR STYLING - Mobile Friendly
   ============================================ */

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Mobile: Hide scrollbar on touch devices but keep functionality */
@media (max-width: 768px) {
    /* Firefox - very thin scrollbar */
    * {
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
    }

    /* Webkit - minimal scrollbar */
    ::-webkit-scrollbar {
        width: 3px;
        height: 3px;
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.15);
        border-radius: 2px;
    }
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

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

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

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

/* ============================================
   3. LAYOUT COMPONENTS
   ============================================ */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    overflow-x: hidden; /* Prevent container overflow */
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    max-width: 100%;
}

.main-column {
    min-width: 0; /* Fix for grid overflow */
    max-width: 100%;
}

/* Prevent all images from causing horizontal overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent tables from causing overflow */
table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Prevent specific elements from causing overflow */
section, article, div, aside, main {
    max-width: 100%;
}

pre, code {
    max-width: 100%;
    overflow-x: auto;
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

.site-header {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.site-branding {
    flex-shrink: 1; /* Allow shrinking on mobile */
    min-width: 0; /* Allow text truncation */
    overflow: hidden;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-text);
    transition: color var(--transition-fast);
    min-width: 0; /* Allow flex child to shrink below content size */
}

.site-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-logo:hover {
    color: var(--color-primary);
}

.logo-icon {
    font-size: 2rem;
    line-height: 1;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--color-text);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background-color: var(--color-bg-secondary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   5. HERO SECTION (Homepage)
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: var(--spacing-2xl) var(--spacing-xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
}

.hero-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.hero-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.hero-content ul {
    list-style: none;
    padding: 0;
}

.hero-content li {
    padding: var(--spacing-sm) 0;
}

/* ============================================
   6. FEATURED SECTION
   ============================================ */

.featured-section {
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.featured-card {
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.featured-image {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-color: var(--color-bg-tertiary);
}

.featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: var(--spacing-lg);
}

.featured-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.featured-title a {
    color: var(--color-text);
    transition: color var(--transition-fast);
}

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

.featured-excerpt {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* ============================================
   7. ARTICLE GRID
   ============================================ */

.articles-section {
    margin-bottom: var(--spacing-2xl);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.article-card {
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.article-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--color-primary-light);
}

.article-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 60%; /* Aspect ratio */
    background-color: var(--color-bg-tertiary);
}

.article-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.article-content {
    padding: var(--spacing-lg);
}

.article-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.article-title a {
    color: var(--color-text);
}

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

.article-excerpt {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* ============================================
   8. POST META & CATEGORIES
   ============================================ */

.post-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-text-lighter);
}

.meta-separator {
    color: var(--color-border);
}

.post-categories {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color var(--transition-fast);
}

.category-badge:hover {
    background-color: var(--color-primary-dark);
}

/* ============================================
   9. PAGINATION
   ============================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.pagination-link,
.pagination-number {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination-link:hover,
.pagination-number:hover {
    background-color: var(--color-bg-secondary);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-number.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.pagination-numbers {
    display: flex;
    gap: var(--spacing-xs);
}

/* ============================================
   10. SINGLE ARTICLE PAGE
   ============================================ */

.single-article {
    background-color: var(--color-bg);
}

.article-header {
    margin-bottom: var(--spacing-2xl);
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.meta-item svg {
    color: var(--color-text-lighter);
}

.article-featured-image {
    margin-bottom: var(--spacing-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text);
}

.article-body h2,
.article-content h2 {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.article-body h3,
.article-content h3 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-size: 1.4rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
}

/* First heading should not have top margin */
.article-body h2:first-child,
.article-content h2:first-child,
.article-body h3:first-child,
.article-content h3:first-child {
    margin-top: 0;
}

.article-body p {
    margin-bottom: var(--spacing-lg);
}

.article-body ul,
.article-body ol {
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-xl);
}

.article-body li {
    margin-bottom: var(--spacing-sm);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-xl);
    font-size: 0.9375rem;
}

.article-body th,
.article-body td {
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    text-align: left;
}

.article-body th {
    background-color: var(--color-bg-secondary);
    font-weight: 600;
}

.article-body tr:hover {
    background-color: var(--color-bg-secondary);
}

.article-body blockquote {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-left: 4px solid var(--color-primary);
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--color-text-light);
}

.article-body code {
    padding: 0.125rem 0.375rem;
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.875em;
}

.article-body pre {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background-color: var(--color-text);
    color: var(--color-bg);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.article-body pre code {
    padding: 0;
    background: none;
    color: inherit;
}

/* Article Footer */
.article-footer {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.article-tags {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.article-tags svg {
    color: var(--color-text-lighter);
}

.tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background-color: var(--color-bg-secondary);
    color: var(--color-text);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tag:hover {
    background-color: var(--color-primary-light);
    color: white;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.share-label {
    font-weight: 600;
    color: var(--color-text);
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.share-button.facebook {
    background-color: #1877f2;
    color: white;
}

.share-button.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-button.whatsapp {
    background-color: #25d366;
    color: white;
}

.share-button.telegram {
    background-color: #0088cc;
    color: white;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Related Posts */
.related-posts {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 2px solid var(--color-border);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.related-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.related-thumbnail {
    display: block;
    position: relative;
    padding-top: 56.25%;
    background-color: var(--color-bg-tertiary);
    overflow: hidden;
}

.related-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: var(--spacing-lg);
}

.related-title {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.related-title a {
    color: var(--color-text);
}

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

.related-content time {
    font-size: 0.875rem;
    color: var(--color-text-lighter);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.nav-link {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    padding: var(--spacing-lg);
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.nav-link:hover {
    background-color: var(--color-primary-light);
    color: white;
    transform: translateX(4px);
}

.nav-link.nav-prev:hover {
    transform: translateX(-4px);
}

.nav-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-lighter);
}

.nav-link:hover .nav-label {
    color: white;
}

.nav-title {
    font-weight: 600;
    color: var(--color-text);
}

.nav-link:hover .nav-title {
    color: white;
}

/* ============================================
   11. SIDEBAR
   ============================================ */

.sidebar {
    position: sticky;
    top: calc(var(--spacing-xl) + 70px); /* Header height + spacing */
    max-height: calc(100vh - var(--spacing-2xl) - 70px);
    overflow-y: auto;
}

.widget {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-primary);
}

/* Search Widget */
.search-form {
    display: flex;
    gap: var(--spacing-xs);
}

.search-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    transition: border-color var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.search-button:hover {
    background-color: var(--color-primary-dark);
}

/* Recent Posts Widget */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.recent-post-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-thumbnail {
    position: relative;
    padding-top: 100%; /* Square */
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--color-bg-tertiary);
}

.recent-post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.recent-post-title a {
    color: var(--color-text);
}

.recent-post-title a:hover {
    color: var(--color-primary);
}

.recent-post-date {
    font-size: 0.8125rem;
    color: var(--color-text-lighter);
}

/* Categories Widget */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: var(--spacing-sm);
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-text);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.category-list a:hover {
    background-color: var(--color-bg-secondary);
    color: var(--color-primary);
}

.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 var(--spacing-xs);
    background-color: var(--color-bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tag-cloud .tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.tag-count {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Ad Widget */
.widget-ad {
    min-height: 250px;
}

.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background-color: var(--color-bg-secondary);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-lighter);
    font-weight: 500;
}

/* ============================================
   12. FOOTER
   ============================================ */

.site-footer {
    background-color: var(--color-text);
    color: var(--color-bg-secondary);
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: var(--color-bg-tertiary);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-bg-tertiary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-bg-tertiary);
    font-size: 0.9375rem;
}

.footer-disclaimer {
    margin-top: var(--spacing-sm);
}

.footer-disclaimer a {
    color: var(--color-primary-light);
    font-weight: 600;
}

.footer-disclaimer a:hover {
    color: white;
}

/* ============================================
   13. PAGE HEADER (for category/tag pages)
   ============================================ */

.page-header {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-border);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.page-description {
    color: var(--color-text-light);
    font-size: 1.125rem;
}

/* ============================================
   14. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --container-padding: 1rem; /* Reduced for tablet - more full width */
    }

    .content-wrapper {
        grid-template-columns: 1fr 280px;
        gap: var(--spacing-xl);
    }

    .article-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 0.75rem; /* Reduced from 1rem for fuller width */
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .sidebar {
        position: static;
        max-height: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--color-bg);
        border-top: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-md);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-link {
        padding: var(--spacing-md);
        border-radius: var(--radius-md);
    }

    .featured-grid {
        grid-template-columns: 1fr !important;
    }

    .article-grid {
        grid-template-columns: 1fr !important;
    }

    /* CRITICAL FIX: Override inline styles for Berita Hari Ini grid */
    .berita-hari-ini-grid {
        grid-template-columns: 1fr !important;
    }

    /* Header responsive - smaller logo on mobile */
    .logo-image {
        height: 32px; /* Reduced from 40px */
    }

    .site-logo {
        font-size: 1.1rem; /* Reduced from 1.5rem */
    }

    .logo-icon {
        font-size: 1.5rem; /* Reduced from 2rem */
    }

    .site-title {
        font-size: 1rem;
        max-width: 200px; /* Limit width to prevent overflow */
    }

    .hero-title {
        font-size: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .pagination {
        flex-wrap: wrap;
    }

    .pagination-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0.5rem; /* Even smaller for small screens - more full width */
    }

    .hero-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .article-meta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   15. UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   16. EDITORIAL MAGAZINE HOMEPAGE
   Typography-Heavy, Asymmetric Grid Design
   ============================================ */

/* Import Editorial Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Libre+Franklin:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Editorial Design Tokens */
.editorial-home {
    --ed-font-display: 'DM Serif Display', Georgia, serif;
    --ed-font-body: 'Libre Franklin', -apple-system, sans-serif;
    --ed-color-ink: #1a1a1a;
    --ed-color-paper: #faf9f7;
    --ed-color-accent: #c41e3a;
    --ed-color-accent-dark: #8b0000;
    --ed-color-gold: #b8860b;
    --ed-color-muted: #6b6b6b;
    --ed-color-rule: #d4d4d4;
    --ed-color-highlight: #fff3cd;
    --ed-spacing-tight: -0.02em;
    --ed-spacing-headline: -0.03em;
}

/* Base Editorial Container */
.editorial-home {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    background: var(--ed-color-paper);
    font-family: var(--ed-font-body);
}

/* ============================================
   Masthead Bar - Magazine Date Line
   ============================================ */
.masthead-bar {
    border-bottom: 3px double var(--ed-color-ink);
    padding: 0.75rem 0;
    margin-bottom: 2rem;
}

.masthead-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ed-color-muted);
}

.masthead-edition {
    font-weight: 600;
}

.masthead-date {
    font-weight: 500;
    color: var(--ed-color-ink);
}

.masthead-tagline {
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.02em;
}

/* ============================================
   Main Editorial Grid - Asymmetric Layout
   ============================================ */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* ============================================
   Lead Story - Hero Article
   ============================================ */
.lead-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ed-color-rule);
    margin-bottom: 2rem;
}

.lead-story-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-category {
    display: inline-block;
    font-family: var(--ed-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ed-color-accent);
    margin-bottom: 1rem;
    padding: 0.25rem 0;
    border-bottom: 2px solid var(--ed-color-accent);
}

.lead-headline {
    font-family: var(--ed-font-display);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: var(--ed-spacing-headline);
    color: var(--ed-color-ink);
    margin: 0 0 1.25rem 0;
}

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

.lead-headline a:hover {
    color: var(--ed-color-accent-dark);
}

.lead-deck {
    font-family: var(--ed-font-body);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--ed-color-muted);
    margin: 0 0 1.5rem 0;
    font-style: italic;
}

.lead-meta {
    font-size: 0.85rem;
    color: var(--ed-color-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lead-author {
    font-weight: 600;
    color: var(--ed-color-ink);
}

.lead-divider {
    color: var(--ed-color-rule);
}

.lead-image-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.lead-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0,0,0,0.1);
    pointer-events: none;
}

.lead-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    filter: grayscale(15%) contrast(1.05);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.lead-image-wrap:hover .lead-image {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.02);
}

/* ============================================
   Secondary Stories - Grid Below Lead
   ============================================ */
.secondary-stories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.secondary-story {
    border-top: 3px solid var(--ed-color-ink);
    padding-top: 1rem;
}

.secondary-image-wrap {
    display: block;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.secondary-image-wrap img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.secondary-story:hover .secondary-image-wrap img {
    filter: grayscale(0%);
}

.secondary-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.story-category {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ed-color-accent);
}

.secondary-headline {
    font-family: var(--ed-font-display);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
    letter-spacing: var(--ed-spacing-tight);
}

.secondary-headline a {
    color: var(--ed-color-ink);
    text-decoration: none;
    transition: color 0.2s;
}

.secondary-headline a:hover {
    color: var(--ed-color-accent-dark);
}

.story-time {
    font-size: 0.75rem;
    color: var(--ed-color-muted);
}

/* ============================================
   Editorial Sidebar
   ============================================ */
.editorial-sidebar {
    border-left: 1px solid var(--ed-color-rule);
    padding-left: 2rem;
}

.sidebar-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ed-color-rule);
}

.sidebar-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-label {
    font-family: var(--ed-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ed-color-ink);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.label-icon {
    color: var(--ed-color-accent);
    font-size: 0.5rem;
}

/* Latest News List */
.latest-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-item {
    border-bottom: 1px dotted var(--ed-color-rule);
    padding: 0.75rem 0;
}

.latest-item:last-child {
    border-bottom: none;
}

.latest-item a {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    transition: background 0.2s;
    margin: -0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
}

.latest-item a:hover {
    background: rgba(0,0,0,0.03);
}

.latest-time {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ed-color-accent);
    min-width: 40px;
    padding-top: 2px;
}

.latest-title {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--ed-color-ink);
    font-weight: 500;
}

/* Schedule CTA */
.schedule-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--ed-color-ink) 0%, #2d2d2d 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.schedule-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
}

.schedule-icon {
    font-size: 1.5rem;
}

.schedule-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.schedule-text strong {
    font-size: 0.9rem;
}

.schedule-text small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.schedule-arrow {
    font-size: 1.25rem;
    opacity: 0.7;
}

/* Popular Tags */
.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.popular-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ed-color-ink);
    background: white;
    border: 1px solid var(--ed-color-rule);
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s;
}

.popular-tag:hover {
    background: var(--ed-color-ink);
    color: white;
    border-color: var(--ed-color-ink);
}

/* ============================================
   Section Dividers - Editorial Style
   ============================================ */
.section-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ed-color-rule);
}

.divider-text {
    font-family: var(--ed-font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--ed-color-muted);
    white-space: nowrap;
}

/* ============================================
   Editor's Picks - Asymmetric Grid
   ============================================ */
.editors-picks {
    margin-bottom: 3rem;
}

.picks-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.pick-card {
    position: relative;
}

/* First card spans 2 rows - featured */
.pick-0 {
    grid-row: span 2;
}

.pick-0 .pick-image-wrap img {
    aspect-ratio: 3/4;
}

.pick-0 .pick-headline {
    font-size: 1.75rem;
}

.pick-image-wrap {
    display: block;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.pick-image-wrap img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    filter: grayscale(15%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.pick-card:hover .pick-image-wrap img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.pick-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pick-category {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ed-color-accent);
}

.pick-headline {
    font-family: var(--ed-font-display);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
}

.pick-headline a {
    color: var(--ed-color-ink);
    text-decoration: none;
}

.pick-headline a:hover {
    color: var(--ed-color-accent-dark);
}

.pick-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ed-color-muted);
    margin: 0;
}

/* ============================================
   Category Sections
   ============================================ */
.category-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.category-block {
    border-top: 4px solid var(--ed-color-ink);
    padding-top: 1rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--ed-color-rule);
}

.category-header.cat-premier-league {
    border-top-color: #37003c;
}

.category-header.cat-liga-champions {
    border-top-color: #0d1b2a;
}

.category-title {
    font-family: var(--ed-font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    color: var(--ed-color-ink);
}

.category-more {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ed-color-muted);
    text-decoration: none;
}

.category-more:hover {
    color: var(--ed-color-accent);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cat-card-image {
    display: block;
    overflow: hidden;
}

.cat-card-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.category-card:hover .cat-card-image img {
    filter: grayscale(0%);
}

.cat-card-title {
    font-family: var(--ed-font-display);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.cat-card-title a {
    color: var(--ed-color-ink);
    text-decoration: none;
}

.cat-card-title a:hover {
    color: var(--ed-color-accent-dark);
}

/* ============================================
   Editorial CTA Button
   ============================================ */
.editorial-cta {
    text-align: center;
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--ed-color-rule);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--ed-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    background: var(--ed-color-ink);
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--ed-color-accent-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-button svg {
    transition: transform 0.3s;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Editorial Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .editorial-grid {
        grid-template-columns: 1fr 280px;
        gap: 2rem;
    }

    .lead-story {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lead-headline {
        font-size: 2.5rem;
    }

    .secondary-stories {
        grid-template-columns: repeat(2, 1fr);
    }

    .picks-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pick-0 {
        grid-row: span 1;
        grid-column: span 2;
    }

    .pick-0 .pick-image-wrap img {
        aspect-ratio: 21/9;
    }
}

@media (max-width: 768px) {
    .editorial-home {
        padding: 0 1rem;
    }

    .masthead-inner {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .editorial-sidebar {
        border-left: none;
        border-top: 3px double var(--ed-color-ink);
        padding-left: 0;
        padding-top: 2rem;
    }

    .lead-headline {
        font-size: 2rem;
    }

    .secondary-stories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .picks-grid {
        grid-template-columns: 1fr;
    }

    .pick-0 {
        grid-column: span 1;
    }

    .pick-0 .pick-image-wrap img {
        aspect-ratio: 16/9;
    }

    .category-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .divider-text {
        font-size: 1.25rem;
    }

    .section-divider {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .lead-headline {
        font-size: 1.75rem;
    }

    .secondary-headline {
        font-size: 1.1rem;
    }

    .pick-0 .pick-headline {
        font-size: 1.25rem;
    }

    .editorial-cta {
        padding: 1.5rem 0 2rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   17. EDITORIAL LIST PAGES
   Category, Archive, and Taxonomy Pages
   ============================================ */

.editorial-list {
    --ed-font-display: 'DM Serif Display', Georgia, serif;
    --ed-font-body: 'Libre Franklin', -apple-system, sans-serif;
    --ed-color-ink: #1a1a1a;
    --ed-color-paper: #faf9f7;
    --ed-color-accent: #c41e3a;
    --ed-color-muted: #6b6b6b;
    --ed-color-rule: #d4d4d4;

    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    font-family: var(--ed-font-body);
    background: var(--ed-color-paper);
}

/* Page Header with Background Image */
.editorial-page-header {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            rgba(26, 26, 26, 0.8) 0%,
            rgba(26, 26, 26, 0.85) 100%
        ),
        url('/images/headers/stadium-default.webp') center/cover no-repeat;
    color: white;
    padding: 4rem 2rem;
    margin: 0 -1.5rem 2rem;
    text-align: center;
    overflow: hidden;
}

/* Page-specific header backgrounds */
.editorial-page-header.header-jadwal {
    background:
        linear-gradient(to bottom, rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.85)),
        url('/images/headers/jadwal.webp') center/cover no-repeat;
}

.editorial-page-header.header-categories {
    background:
        linear-gradient(to bottom, rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.85)),
        url('/images/headers/stadium-default.webp') center/cover no-repeat;
}

.editorial-page-header.header-tags {
    background:
        linear-gradient(to bottom, rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.85)),
        url('/images/headers/tags.webp') center/cover no-repeat;
}

.editorial-page-header.header-search {
    background:
        linear-gradient(to bottom, rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.85)),
        url('/images/headers/search.webp') center/cover no-repeat;
}

/* Category-specific header backgrounds */
.editorial-page-header.header-premier-league {
    background:
        linear-gradient(to bottom, rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.85)),
        url('/images/headers/premier-league.webp') center/cover no-repeat;
}

.editorial-page-header.header-la-liga {
    background:
        linear-gradient(to bottom, rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.85)),
        url('/images/headers/la-liga.webp') center/cover no-repeat;
}

.editorial-page-header.header-liga-champions,
.editorial-page-header.header-champions-league {
    background:
        linear-gradient(to bottom, rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.85)),
        url('/images/headers/champions-league.webp') center/cover no-repeat;
}

/* Club-specific header backgrounds */
.editorial-page-header.header-liverpool {
    background:
        linear-gradient(to bottom, rgba(200, 16, 46, 0.7), rgba(26, 26, 26, 0.85)),
        url('/images/headers/liverpool.webp') center/cover no-repeat;
}

.editorial-page-header.header-manchester-united {
    background:
        linear-gradient(to bottom, rgba(218, 41, 28, 0.7), rgba(26, 26, 26, 0.85)),
        url('/images/headers/manchester-united.webp') center/cover no-repeat;
}

.editorial-page-header.header-barcelona {
    background:
        linear-gradient(to bottom, rgba(164, 0, 63, 0.7), rgba(26, 26, 26, 0.85)),
        url('/images/headers/barcelona.webp') center/cover no-repeat;
}

.editorial-page-header.header-real-madrid {
    background:
        linear-gradient(to bottom, rgba(0, 82, 155, 0.7), rgba(26, 26, 26, 0.85)),
        url('/images/headers/real-madrid.webp') center/cover no-repeat;
}

.editorial-page-header.header-arsenal {
    background:
        linear-gradient(to bottom, rgba(239, 1, 7, 0.7), rgba(26, 26, 26, 0.85)),
        url('/images/headers/arsenal.webp') center/cover no-repeat;
}

.editorial-page-header.header-chelsea {
    background:
        linear-gradient(to bottom, rgba(3, 70, 148, 0.7), rgba(26, 26, 26, 0.85)),
        url('/images/headers/chelsea.webp') center/cover no-repeat;
}

.page-header-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-type-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ed-color-accent);
    margin-bottom: 0.75rem;
}

.editorial-page-title {
    font-family: var(--ed-font-display);
    font-size: 3rem;
    font-weight: 400;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.editorial-page-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 1rem;
    font-style: italic;
}

.page-article-count {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--ed-color-accent);
    font-size: 0.8rem;
    font-weight: 600;
}

/* List Grid */
.editorial-list-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

/* Featured Article */
.editorial-featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ed-color-rule);
    margin-bottom: 2rem;
}

.featured-article-image {
    display: block;
    overflow: hidden;
}

.featured-article-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: grayscale(15%);
    transition: filter 0.3s, transform 0.3s;
}

.featured-article-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.featured-article-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ed-color-accent);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ed-color-accent);
}

.article-category-label.small {
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.featured-article-title {
    font-family: var(--ed-font-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.featured-article-title a {
    color: var(--ed-color-ink);
    text-decoration: none;
}

.featured-article-title a:hover {
    color: var(--ed-color-accent);
}

.featured-article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ed-color-muted);
    margin: 0 0 1rem;
}

.featured-article-meta {
    font-size: 0.85rem;
    color: var(--ed-color-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-author {
    font-weight: 600;
    color: var(--ed-color-ink);
}

.meta-dot {
    color: var(--ed-color-rule);
}

/* List Divider */
.list-divider {
    height: 1px;
    background: var(--ed-color-rule);
    margin-bottom: 1.5rem;
}

/* Article Items */
.editorial-article-item {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ed-color-rule);
    margin-bottom: 1.5rem;
}

.article-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.article-item-title {
    font-family: var(--ed-font-display);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.article-item-title a {
    color: var(--ed-color-ink);
    text-decoration: none;
}

.article-item-title a:hover {
    color: var(--ed-color-accent);
}

.article-item-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ed-color-muted);
    margin: 0;
}

.article-item-time {
    font-size: 0.8rem;
    color: var(--ed-color-muted);
}

.article-item-image {
    display: block;
    overflow: hidden;
}

.article-item-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.article-item-image:hover img {
    filter: grayscale(0%);
}

/* List Sidebar */
.editorial-list-sidebar {
    border-left: 1px solid var(--ed-color-rule);
    padding-left: 2rem;
}

.list-sidebar-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ed-color-rule);
}

.list-sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section-title {
    font-family: var(--ed-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ed-color-ink);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-icon {
    color: var(--ed-color-accent);
    font-size: 0.5rem;
}

.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category-list li {
    border-bottom: 1px dotted var(--ed-color-rule);
}

.sidebar-category-list li:last-child {
    border-bottom: none;
}

.sidebar-category-list a {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    color: var(--ed-color-ink);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.sidebar-category-list a:hover {
    color: var(--ed-color-accent);
}

.cat-count {
    font-size: 0.8rem;
    color: var(--ed-color-muted);
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sidebar-tag {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ed-color-ink);
    background: white;
    border: 1px solid var(--ed-color-rule);
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-tag:hover {
    background: var(--ed-color-ink);
    color: white;
    border-color: var(--ed-color-ink);
}

.sidebar-schedule-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--ed-color-ink);
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
}

.sidebar-schedule-cta:hover {
    transform: translateY(-2px);
    color: white;
}

.cta-icon {
    font-size: 1.5rem;
}

.cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cta-text strong {
    font-size: 0.9rem;
}

.cta-text span {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Pagination */
.editorial-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid var(--ed-color-ink);
    margin-top: 1rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ed-color-ink);
    background: white;
    border: 1px solid var(--ed-color-rule);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-btn:hover {
    background: var(--ed-color-ink);
    color: white;
    border-color: var(--ed-color-ink);
}

.pagination-info {
    font-size: 0.85rem;
    color: var(--ed-color-muted);
}

/* List Page Responsive */
@media (max-width: 1024px) {
    .editorial-list-grid {
        grid-template-columns: 1fr 260px;
        gap: 2rem;
    }

    .editorial-featured-article {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .editorial-list {
        padding: 0 1rem 2rem;
    }

    .editorial-page-header {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            rgba(26, 26, 26, 0.8) 0%,
            rgba(26, 26, 26, 0.85) 100%
        ),
        url('https://images.unsplash.com/photo-1489944440615-453fc2b6a9a9?w=1600&h=600&fit=crop') center/cover no-repeat;
        padding: 2rem 1rem;
        margin: 0 -1rem 1.5rem;
    }

    .editorial-page-title {
        font-size: 2rem;
    }

    .editorial-list-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .editorial-list-sidebar {
        border-left: none;
        border-top: 2px solid var(--ed-color-ink);
        padding-left: 0;
        padding-top: 2rem;
    }

    .editorial-article-item {
        grid-template-columns: 1fr 100px;
        gap: 1rem;
    }

    .article-item-title {
        font-size: 1.1rem;
    }

    .editorial-pagination {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================
   18. EDITORIAL SINGLE ARTICLE
   Article Detail Page
   ============================================ */

.editorial-article {
    --ed-font-display: 'DM Serif Display', Georgia, serif;
    --ed-font-body: 'Libre Franklin', -apple-system, sans-serif;
    --ed-color-ink: #1a1a1a;
    --ed-color-paper: #faf9f7;
    --ed-color-accent: #c41e3a;
    --ed-color-muted: #6b6b6b;
    --ed-color-rule: #d4d4d4;

    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    font-family: var(--ed-font-body);
    background: var(--ed-color-paper);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0;
    background: #f0eeeb;
    border-bottom: 1px solid var(--ed-color-rule);
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--ed-color-muted);
}

.breadcrumbs a {
    color: var(--ed-color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.breadcrumbs a:hover {
    color: var(--ed-color-ink);
    text-decoration: underline;
}

.breadcrumb-sep {
    color: var(--ed-color-rule);
    font-size: 0.75rem;
    margin: 0 0.15rem;
}

.breadcrumb-current {
    color: var(--ed-color-muted);
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 400px;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 0.6rem 0.75rem;
        font-size: 0.78rem;
    }
    .breadcrumb-current {
        max-width: 200px;
    }
}

/* Article Header */
.editorial-article-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--ed-color-rule);
    margin-bottom: 2rem;
}

.article-header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.article-categories {
    margin-bottom: 1rem;
}

.article-category-link {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ed-color-accent);
    text-decoration: none;
    padding: 0.25rem 0;
    border-bottom: 2px solid var(--ed-color-accent);
    margin: 0 0.5rem;
}

.article-category-link:hover {
    color: #8b0000;
    border-color: #8b0000;
}

.editorial-article-title {
    font-family: var(--ed-font-display);
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
    color: var(--ed-color-ink);
}

.editorial-article-deck {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--ed-color-muted);
    margin: 0 0 1.5rem;
    font-style: italic;
}

.editorial-article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--ed-color-muted);
}

.meta-author {
    display: flex;
    gap: 0.35rem;
}

.author-label {
    color: var(--ed-color-muted);
}

.author-name {
    font-weight: 600;
    color: var(--ed-color-ink);
}

.meta-separator {
    color: var(--ed-color-rule);
}

.editorial-source-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid var(--ed-color-rule);
    font-size: 0.85rem;
}

.source-icon {
    font-size: 1rem;
}

.source-label {
    color: var(--ed-color-muted);
}

.source-link {
    color: var(--ed-color-accent);
    font-weight: 600;
    text-decoration: none;
}

.source-link:hover {
    text-decoration: underline;
}

/* Featured Image */
.editorial-featured-image {
    margin: 0 0 2.5rem;
}

.editorial-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    filter: grayscale(10%);
}

/* Article Grid */
.editorial-article-grid {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 3rem;
}

/* Article Body */
.editorial-article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ed-color-ink);
}

.editorial-article-body h2 {
    font-family: var(--ed-font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin: 2.5rem 0 1rem;
    color: var(--ed-color-ink);
}

.editorial-article-body h3 {
    font-family: var(--ed-font-display);
    font-size: 1.35rem;
    font-weight: 400;
    margin: 2rem 0 0.75rem;
}

.editorial-article-body p {
    margin: 0 0 1.5rem;
}

.editorial-article-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--ed-color-accent);
    background: white;
    font-style: italic;
    color: var(--ed-color-muted);
}

.editorial-article-body ul,
.editorial-article-body ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.editorial-article-body li {
    margin-bottom: 0.5rem;
}

/* Article Sidebar */
.editorial-article-sidebar {
    position: sticky;
    top: 100px;
}

.article-sidebar-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ed-color-rule);
}

.article-sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-heading {
    font-family: var(--ed-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ed-color-ink);
    margin: 0 0 1rem;
}

.article-tag-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.article-tag {
    display: block;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    color: var(--ed-color-ink);
    background: white;
    border: 1px solid var(--ed-color-rule);
    text-decoration: none;
    transition: all 0.2s;
}

.article-tag:hover {
    background: var(--ed-color-ink);
    color: white;
    border-color: var(--ed-color-ink);
}

.article-share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: white;
    transition: transform 0.2s;
}

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

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }

.share-btn:hover {
    transform: translateY(-2px);
    color: white;
}

/* Sidebar Social Follow Icons */
.sidebar-social {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.85;
    color: white;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.x-twitter {
    background: #0f1419;
}

/* Article Footer */
.editorial-article-footer {
    border-top: 2px solid var(--ed-color-ink);
    margin-top: 3rem;
    padding-top: 2rem;
}

.related-articles-section {
    margin-bottom: 3rem;
}

.related-section-title {
    font-family: var(--ed-font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin: 0 0 1.5rem;
    font-style: italic;
    color: var(--ed-color-muted);
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-article-card {
    display: flex;
    flex-direction: column;
}

.related-article-image {
    display: block;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.related-article-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.related-article-card:hover .related-article-image img {
    filter: grayscale(0%);
}

.related-article-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.related-category {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ed-color-accent);
}

.related-article-title {
    font-family: var(--ed-font-display);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.related-article-title a {
    color: var(--ed-color-ink);
    text-decoration: none;
}

.related-article-title a:hover {
    color: var(--ed-color-accent);
}

.related-article-content time {
    font-size: 0.75rem;
    color: var(--ed-color-muted);
}

/* Post Navigation */
.editorial-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ed-color-rule);
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--ed-color-rule);
    text-decoration: none;
    transition: all 0.2s;
}

.post-nav-link:hover {
    background: var(--ed-color-ink);
    border-color: var(--ed-color-ink);
}

.post-nav-link:hover .nav-direction,
.post-nav-link:hover .nav-post-title {
    color: white;
}

.post-nav-link.next {
    text-align: right;
}

.post-nav-link.empty {
    visibility: hidden;
}

.nav-direction {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ed-color-accent);
}

.nav-post-title {
    font-family: var(--ed-font-display);
    font-size: 1rem;
    color: var(--ed-color-ink);
    line-height: 1.3;
}

/* Single Article Responsive */
@media (max-width: 900px) {
    .editorial-article-grid {
        grid-template-columns: 1fr;
    }

    .editorial-article-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        padding-top: 2rem;
        border-top: 1px solid var(--ed-color-rule);
    }

    .article-sidebar-section {
        flex: 1;
        min-width: 200px;
        border-bottom: none;
        padding-bottom: 0;
    }

    .article-tag-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .editorial-article {
        padding: 0 1rem 2rem;
    }

    .editorial-article-title {
        font-size: 2rem;
    }

    .editorial-article-deck {
        font-size: 1.05rem;
    }

    .editorial-article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .editorial-article-body {
        font-size: 1rem;
    }

    .editorial-post-nav {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .post-nav-link.next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .editorial-article-title {
        font-size: 1.75rem;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}
