/*
Theme Name: SuperTheme IA
Theme URI: https://x-tecno.com/supertheme-ia
Author: arturox44
Author URI: https://x-tecno.com
Description: Premium editorial theme for professional news portals. Works standalone or enhanced with AI plugins.
Version: 3.0.2
Text Domain: supertheme-ia
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Tags: news, magazine, blog, responsive, ai, editorial
*/

/* ==========================================================================
   VARIABLES - Editorial Professional
   ========================================================================== */
:root {
    /* Colors */
    --c-black: #111111;
    --c-dark: #1a1a1a;
    --c-text: #222222;
    --c-gray: #666666;
    --c-light: #999999;
    --c-border: #e5e5e5;
    --c-bg: #ffffff;
    --c-bg-alt: #f7f7f7;
    --c-accent: #d32f2f;
    --c-accent-dark: #b71c1c;
    --c-link: #1565c0;

    /* Typography */
    --font-title: 'Merriweather', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ui: 'Inter', -apple-system, sans-serif;

    /* Sizes */
    --header-h: 56px;
    --content-max: 1320px;
    --article-max: 720px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
}

a {
    color: var(--c-link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-black);
}

/* ==========================================================================
   LAYOUT - FULL WIDTH EDITORIAL
   ========================================================================== */
.site-container {
    width: 100%;
}

.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px;
}

.container--narrow {
    max-width: var(--article-max);
}

.container--wide {
    max-width: 1600px;
}

.container--full {
    max-width: 100%;
    padding: 0;
}

/* ==========================================================================
   HEADER - INFOBAE STYLE
   ========================================================================== */
.site-header {
    background: var(--c-black);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    min-width: max-content;
}

.site-logo:hover {
    color: white;
    text-decoration: none;
}

.main-nav {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
}

.main-nav::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.main-nav ul {
    display: flex;
    gap: 0;
    list-style: none;
    white-space: nowrap;
}

.main-nav a {
    display: block;
    padding: 16px 18px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.15s;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--c-black);
        padding: 12px 20px 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav a {
        padding: 12px 0;
    }
}

/* ==========================================================================
   HOME / ARCHIVE - EDITORIAL GRID
   ========================================================================== */
.archive-header {
    background: var(--c-bg-alt);
    border-bottom: 1px solid var(--c-border);
    padding: 32px 20px;
    margin-bottom: 32px;
}

.archive-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.posts-section {
    padding: 0 0 60px;
}

/* Featured Post - Full Width */
.featured-post {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--c-border);
    padding-bottom: 40px;
}

.featured-post__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

.featured-post__image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--c-bg-alt);
}

.featured-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post__category {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-accent);
    margin-bottom: 12px;
}

.featured-post__title {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 16px;
}

.featured-post__title a {
    color: var(--c-black);
}

.featured-post__title a:hover {
    color: var(--c-accent);
    text-decoration: none;
}

.featured-post__excerpt {
    font-size: 1.1rem;
    color: var(--c-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.featured-post__meta {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--c-light);
}

@media (max-width: 900px) {
    .featured-post__inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-post__title {
        font-size: 1.6rem;
    }
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 24px;
}

@media (max-width: 1100px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }
}

@media (max-width: 480px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Post Card */
.post-card {
    display: flex;
    flex-direction: column;
}

.post-card__image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--c-bg-alt);
    margin-bottom: 12px;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-card__image img {
    transform: scale(1.03);
}

.post-card__category {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-accent);
    margin-bottom: 6px;
}

.post-card__title {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.post-card__title a {
    color: var(--c-black);
}

.post-card__title a:hover {
    color: var(--c-accent);
    text-decoration: none;
}

.post-card__meta {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--c-light);
    margin-top: auto;
}

/* ==========================================================================
   SINGLE ARTICLE - DOMINANT LAYOUT
   ========================================================================== */
.single-article {
    padding-bottom: 60px;
}

/* Article Header - Full Impact */
.article-header {
    padding: 48px 20px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.article-header__category {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-accent);
    padding: 4px 12px;
    border: 2px solid var(--c-accent);
    margin-bottom: 20px;
}

.article-header__title {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.article-header__excerpt {
    font-size: 1.35rem;
    color: var(--c-gray);
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto 24px;
}

.article-header__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--c-gray);
}

.article-header__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-header__author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.article-header__author strong {
    color: var(--c-black);
}

@media (max-width: 768px) {
    .article-header {
        padding: 32px 16px;
    }

    .article-header__title {
        font-size: 1.9rem;
    }

    .article-header__excerpt {
        font-size: 1.1rem;
    }

    .article-header__meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* Featured Image - PROTAGONIST */
.article-featured {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 48px;
    padding: 0 20px;
}

.article-featured img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.article-featured figcaption {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--c-light);
    padding-top: 10px;
    border-top: 1px solid var(--c-border);
    margin-top: 10px;
}

/* Article Body */
.article-body {
    max-width: var(--article-max);
    margin: 0 auto;
    padding: 0 20px;
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.85;
}

.article-content p {
    margin-bottom: 1.6rem;
}

.article-content h2 {
    font-size: 1.6rem;
    margin: 48px 0 20px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
}

.article-content h3 {
    font-size: 1.3rem;
    margin: 36px 0 16px;
}

.article-content a {
    color: var(--c-link);
    text-decoration: underline;
}

.article-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    border-left: 4px solid var(--c-accent);
    background: var(--c-bg-alt);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--c-gray);
}

.article-content img {
    margin: 32px 0;
    width: 100%;
}

.article-content ul,
.article-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
}

/* Article Footer */
.article-footer {
    max-width: var(--article-max);
    margin: 48px auto 0;
    padding: 32px 20px 0;
    border-top: 1px solid var(--c-border);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tags a {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    color: var(--c-gray);
    transition: all 0.15s;
}

.article-tags a:hover {
    background: var(--c-black);
    border-color: var(--c-black);
    color: white;
    text-decoration: none;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: var(--c-bg-alt);
    margin-top: 40px;
}

.author-box__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-box__name {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.author-box__bio {
    font-size: 0.95rem;
    color: var(--c-gray);
    line-height: 1.6;
}

/* Related Posts */
.related-posts {
    max-width: var(--content-max);
    margin: 60px auto 0;
    padding: 48px 20px 0;
    border-top: 1px solid var(--c-border);
}

.related-posts__title {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    color: var(--c-black);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--c-dark);
    color: white;
    padding: 12px 20px 8px;
    margin-top: 0;
}

.footer-inner {
    max-width: var(--content-max);
    margin: 0 auto;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

.footer-widget h4 {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    color: white;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 8px;
}

.footer-widget a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-widget a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Reading Progress */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--c-accent);
    z-index: 9999;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 8px;
    margin: 24px 0;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    color: var(--c-gray);
    cursor: pointer;
    transition: all 0.15s;
}

.share-btn:hover {
    background: var(--c-black);
    border-color: var(--c-black);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--c-border);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    color: var(--c-text);
}

.pagination a:hover {
    background: var(--c-black);
    border-color: var(--c-black);
    color: white;
    text-decoration: none;
}

.pagination .current {
    background: var(--c-black);
    border-color: var(--c-black);
    color: white;
}

/* Breadcrumbs */
.breadcrumbs {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--c-light);
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: var(--c-gray);
}

.breadcrumbs a:hover {
    color: var(--c-black);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts h2 {
    margin-bottom: 12px;
}

.no-posts p {
    color: var(--c-gray);
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
    background: var(--c-black);
    color: white;
    padding: 12px 20px;
    z-index: 9999;
}

/* Sidebar */
.sidebar {
    padding-left: 40px;
    border-left: 1px solid var(--c-border);
}

.widget {
    margin-bottom: 32px;
}

.widget-title {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-black);
    margin-bottom: 16px;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 10px 0;
    border-bottom: 1px solid var(--c-border);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--c-text);
}

.widget a:hover {
    color: var(--c-accent);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* ==========================================================================
   ARTICLE VIEWS - 5 UNIQUE STYLES
   ========================================================================== */

/* Shared base */
.article-view {
    padding-bottom: 48px;
}

.entry-content p {
    margin-bottom: 1.6rem;
}

.entry-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
}

.entry-content h3 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
}

.entry-content a {
    color: var(--c-link);
    text-decoration: underline;
}

.entry-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    border-left: 4px solid var(--c-accent);
    background: var(--c-bg-alt);
    font-size: 1.2rem;
    font-style: italic;
}

.entry-content ul,
.entry-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 8px;
}

.entry-content img {
    margin: 32px 0;
    width: 100%;
}

/* ==========================================================================
   VIEW 1: CLASSIC - Centered card, newspaper style
   ========================================================================== */
.article-view--classic {
    background: var(--c-bg-alt);
    padding: 48px 20px;
}

.classic-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--c-bg);
    padding: 48px 56px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.classic-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--c-border);
}

.classic-category {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-accent);
    margin-bottom: 16px;
}

.classic-title {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.classic-excerpt {
    font-size: 1.2rem;
    color: var(--c-gray);
    max-width: 600px;
    margin: 0 auto 24px;
}

.classic-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--c-gray);
}

.classic-meta img {
    border-radius: 50%;
}

.classic-meta div {
    text-align: left;
}

.classic-meta strong {
    display: block;
    color: var(--c-black);
}

.classic-meta span {
    font-size: 0.8rem;
}

.classic-image {
    margin: 0 -56px 40px;
}

.classic-image img {
    width: 100%;
}

.classic-image figcaption {
    font-size: 0.8rem;
    color: var(--c-light);
    padding: 10px 56px;
}

/* Small featured image variant */
.classic-image--small {
    margin: 0 0 32px;
    max-width: 300px;
}

.classic-image--small img {
    border-radius: 8px;
}

.classic-content {
    font-size: 1.1rem;
    line-height: 1.85;
}

.classic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
}

.classic-tags a {
    font-size: 0.75rem;
    padding: 6px 14px;
    background: var(--c-bg-alt);
    color: var(--c-gray);
    border: 1px solid var(--c-border);
}

.classic-tags a:hover {
    background: var(--c-black);
    color: white;
    border-color: var(--c-black);
    text-decoration: none;
}

@media (max-width: 768px) {
    .classic-container {
        padding: 32px 24px;
    }

    .classic-image {
        margin: 0 -24px 32px;
    }

    .classic-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   VIEW 2: MAGAZINE - Hero overlay, El País / NYT style
   ========================================================================== */
.article-view--magazine {
    background: var(--c-bg);
}

.magazine-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

.magazine-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    padding: 120px 40px 60px;
}

.magazine-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.magazine-category {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-accent);
    background: white;
    padding: 6px 14px;
    margin-bottom: 20px;
}

.magazine-title {
    font-size: 3rem;
    color: white;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

.magazine-meta {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.magazine-meta strong {
    color: white;
}

.magazine-header-alt {
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.magazine-body {
    max-width: var(--article-max);
    margin: 0 auto;
    padding: 48px 20px;
}

.magazine-lead {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--c-text);
    line-height: 1.5;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--c-border);
}

.magazine-content {
    font-size: 1.15rem;
    line-height: 1.9;
}

.magazine-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 48px;
}

.magazine-tags a {
    font-size: 0.8rem;
    padding: 8px 16px;
    background: var(--c-black);
    color: white;
}

.magazine-tags a:hover {
    background: var(--c-accent);
    text-decoration: none;
}

@media (max-width: 768px) {
    .magazine-hero {
        height: 60vh;
        min-height: 400px;
    }

    .magazine-hero-overlay {
        padding: 80px 24px 40px;
    }

    .magazine-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   VIEW 3: FULLWIDTH - Edge-to-edge, long-form immersive
   ========================================================================== */
.article-view--fullwidth {
    background: var(--c-bg);
}

.fullwidth-header {
    max-width: 1000px;
    margin: 0 auto;
    padding: 64px 24px 48px;
    text-align: center;
}

.fullwidth-category {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    background: var(--c-accent);
    padding: 6px 16px;
    margin-bottom: 24px;
}

.fullwidth-title {
    font-size: 3.2rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.fullwidth-excerpt {
    font-size: 1.4rem;
    color: var(--c-gray);
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.fullwidth-meta {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--c-border);
}

.fullwidth-author {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.fullwidth-author img {
    border-radius: 50%;
}

.fullwidth-author strong {
    display: block;
    color: var(--c-black);
    font-size: 1rem;
}

.fullwidth-author span {
    font-size: 0.85rem;
    color: var(--c-light);
}

.fullwidth-date {
    text-align: right;
}

.fullwidth-date strong {
    display: block;
    font-size: 1rem;
    color: var(--c-black);
}

.fullwidth-date span {
    font-size: 0.85rem;
    color: var(--c-light);
}

.fullwidth-image {
    width: 100%;
    margin-bottom: 56px;
}

.fullwidth-image img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
}

.fullwidth-image figcaption {
    max-width: var(--article-max);
    margin: 16px auto 0;
    padding: 0 24px;
    font-size: 0.85rem;
    color: var(--c-light);
}

.fullwidth-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.fullwidth-content {
    font-size: 1.2rem;
    line-height: 1.9;
}

.fullwidth-content p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin: 0 12px 0 0;
    color: var(--c-accent);
}

.fullwidth-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--c-border);
}

.fullwidth-tags a {
    font-size: 0.8rem;
    padding: 8px 18px;
    border: 1px solid var(--c-border);
    color: var(--c-gray);
}

.fullwidth-tags a:hover {
    background: var(--c-black);
    border-color: var(--c-black);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .fullwidth-header {
        padding: 40px 20px 32px;
    }

    .fullwidth-title {
        font-size: 2.2rem;
    }

    .fullwidth-meta {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .fullwidth-author {
        justify-content: center;
    }

    .fullwidth-date {
        text-align: center;
    }
}

/* ==========================================================================
   VIEW 4: MINIMAL - Ultra-clean, Medium.com style
   ========================================================================== */
.article-view--minimal {
    background: var(--c-bg);
}

.minimal-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 64px 24px;
}

.minimal-header {
    margin-bottom: 48px;
}

.minimal-title {
    font-size: 2.6rem;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.minimal-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.minimal-meta img {
    border-radius: 50%;
}

.minimal-meta div {}

.minimal-meta strong {
    display: block;
    color: var(--c-black);
    font-size: 0.95rem;
}

.minimal-meta span {
    font-size: 0.85rem;
    color: var(--c-light);
}

.minimal-image {
    margin: 0 -40px 48px;
}

.minimal-image img {
    width: 100%;
}

.minimal-content {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--c-text);
}

.minimal-content h2 {
    font-size: 1.6rem;
    margin: 56px 0 24px;
}

.minimal-content blockquote {
    border-left-color: var(--c-black);
    background: transparent;
    font-size: 1.4rem;
    padding-left: 32px;
    margin-left: 0;
}

.minimal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 56px;
}

.minimal-tags a {
    font-size: 0.85rem;
    padding: 8px 20px;
    background: var(--c-bg-alt);
    color: var(--c-gray);
    border-radius: 20px;
}

.minimal-tags a:hover {
    background: var(--c-black);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .minimal-container {
        padding: 40px 20px;
    }

    .minimal-title {
        font-size: 2rem;
    }

    .minimal-image {
        margin: 0 -20px 40px;
    }

    .minimal-content {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   VIEW 5: IMMERSIVE - Full-bleed visual, photo essays
   ========================================================================== */
.article-view--immersive {
    background: var(--c-dark);
    color: var(--c-bg-alt);
}

.immersive-hero {
    width: 100%;
    height: 90vh;
    min-height: 600px;
}

.immersive-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.immersive-header {
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 24px 40px;
    text-align: center;
}

.immersive-category {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-accent);
    margin-bottom: 20px;
}

.immersive-title {
    font-size: 3rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
}

.immersive-excerpt {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

.immersive-author-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 780px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.immersive-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.immersive-author img {
    border-radius: 50%;
}

.immersive-author strong {
    display: block;
    color: white;
    font-size: 1rem;
}

.immersive-author p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.immersive-info {
    text-align: right;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.immersive-info span {
    display: block;
}

.immersive-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 56px 24px;
}

.immersive-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
}

.immersive-content h2 {
    color: white;
}

.immersive-content a {
    color: var(--c-accent);
}

.immersive-content blockquote {
    border-left-color: var(--c-accent);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

.immersive-content img {
    margin: 48px -100px;
    max-width: calc(100% + 200px);
    width: calc(100% + 200px);
}

.immersive-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.immersive-tags a {
    font-size: 0.8rem;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.immersive-tags a:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: white;
    text-decoration: none;
}

@media (max-width: 900px) {
    .immersive-content img {
        margin: 32px 0;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .immersive-hero {
        height: 70vh;
        min-height: 450px;
    }

    .immersive-title {
        font-size: 2.2rem;
    }

    .immersive-author-bar {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .immersive-author {
        justify-content: center;
    }

    .immersive-info {
        text-align: center;
    }
}

/* ==========================================================================
   SHARED COMPONENTS
   ========================================================================== */

/* Author Box Component */
.author-box-component {
    max-width: 780px;
    margin: 48px auto;
    padding: 0 24px;
}

.author-box-inner {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
}

.author-box-inner img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-box-inner strong {
    display: block;
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.author-box-inner p {
    font-size: 0.95rem;
    color: var(--c-gray);
    margin: 0;
    line-height: 1.6;
}

/* Related Component */
.related-component {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 48px 24px;
    border-top: 1px solid var(--c-border);
}

.article-view--immersive+.related-component {
    background: var(--c-bg);
    border-top: none;
}

.related-title {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.related-item h4 {
    font-size: 1rem;
    margin: 10px 0 6px;
}

.related-item h4 a {
    color: var(--c-black);
}

.related-item h4 a:hover {
    color: var(--c-accent);
    text-decoration: none;
}

.related-item time {
    font-size: 0.8rem;
    color: var(--c-light);
}

.related-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-image img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }

    .author-box-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   VIEW 6: BLOG - Two-column with related sidebar
   ========================================================================== */
.article-view--blog {
    background: var(--c-bg);
    padding: 32px 20px 60px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Breadcrumb */
.blog-breadcrumb {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--c-light);
    margin-bottom: 20px;
}

.blog-breadcrumb a {
    color: var(--c-link);
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb span {
    color: var(--c-gray);
}

/* Header */
.blog-header {
    margin-bottom: 32px;
}

.blog-title {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 16px;
}

.blog-meta {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--c-light);
}

/* Content */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.85;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin: 32px 0 16px;
}

.blog-content a {
    color: var(--c-link);
    text-decoration: none;
}

.blog-content a:hover {
    text-decoration: underline;
}

.blog-content strong {
    color: var(--c-black);
}

.blog-content blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--c-accent);
    background: var(--c-bg-alt);
    font-style: italic;
}

.blog-content img {
    margin: 24px 0;
    max-width: 100%;
}

/* Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
}

.blog-tags a {
    font-size: 0.8rem;
    padding: 6px 14px;
    background: var(--c-bg-alt);
    color: var(--c-gray);
    border: 1px solid var(--c-border);
}

.blog-tags a:hover {
    background: var(--c-black);
    color: white;
    border-color: var(--c-black);
    text-decoration: none;
}

/* Author */
.blog-author {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    padding: 24px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
}

.blog-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
}

.blog-author strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.blog-author p {
    font-size: 0.9rem;
    color: var(--c-gray);
    margin: 0;
    line-height: 1.5;
}

/* Sidebar */
.blog-sidebar {
    border-left: 1px solid var(--c-border);
    padding-left: 32px;
}

.blog-sidebar-sticky {
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

/* Related Posts in Sidebar */
.blog-related {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-related-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    align-items: start;
}

.blog-related-image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--c-bg-alt);
}

.blog-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.blog-related-item:hover .blog-related-image img {
    transform: scale(1.05);
}

.blog-related-content h4 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.blog-related-content h4 a {
    color: var(--c-black);
}

.blog-related-content h4 a:hover {
    color: var(--c-accent);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr 280px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-sidebar {
        border-left: none;
        border-top: 1px solid var(--c-border);
        padding-left: 0;
        padding-top: 32px;
    }

    .blog-sidebar-sticky {
        position: static;
    }

    .blog-related {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .blog-related-item {
        grid-template-columns: 1fr;
    }

    .blog-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .blog-related {
        grid-template-columns: 1fr;
    }

    .blog-author {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   HOME LAYOUTS
   ========================================================================== */

/* Shared */
.home-layout {
    padding: 0 0 60px;
}

.home-container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--c-black);
    display: inline-block;
}

/* ==========================================================================
   HOME LAYOUT: GRID
   ========================================================================== */
.home-layout--grid .home-featured {
    padding: 24px 0 40px;
}

/* Featured Grid: 1 big left + 2 stacked right + 1 bottom left */
.featured-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.featured-card {
    position: relative;
    overflow: hidden;
    background: var(--c-dark);
}

.featured-card__link {
    display: block;
    height: 100%;
}

.featured-card__image {
    height: 100%;
}

.featured-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-card:hover .featured-card__image img {
    transform: scale(1.03);
}

.featured-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.featured-card__title {
    color: white;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Main featured - spans 2 rows */
.featured-card--main {
    grid-column: 1;
    grid-row: 1 / 3;
}

.featured-card--main .featured-card__title {
    font-size: 1.6rem;
}

/* Side featured - stacked right */
.featured-card--side:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
}

.featured-card--side:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
}

/* Bottom featured */
.featured-card--bottom {
    grid-column: 2 / 4;
    grid-row: 2;
}

@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }

    .featured-card--main {
        grid-column: 1 / 3;
        grid-row: 1;
        aspect-ratio: 16/9;
    }

    .featured-card--side:nth-of-type(2) {
        grid-column: 1;
        grid-row: 2;
    }

    .featured-card--side:nth-of-type(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .featured-card--bottom {
        grid-column: 1 / 3;
        grid-row: 3;
    }
}

@media (max-width: 600px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-card--main,
    .featured-card--side:nth-of-type(2),
    .featured-card--side:nth-of-type(3),
    .featured-card--bottom {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 16/10;
    }
}

/* Latest Section */
.home-layout--grid .home-latest {
    padding-top: 40px;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.latest-card__image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--c-bg-alt);
}

.latest-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.latest-card:hover .latest-card__image img {
    transform: scale(1.03);
}

.latest-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.latest-card__title a {
    color: var(--c-black);
}

.latest-card__title a:hover {
    color: var(--c-accent);
    text-decoration: none;
}

@media (max-width: 1100px) {
    .latest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .latest-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HOME LAYOUT: INFOBAE (Exact Clone)
   ========================================================================== */
.home-layout--infobae {
    background: var(--c-bg);
}

.infobae-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero Section - No top padding */
.infobae-hero {
    padding: 0;
}

/* Hero Grid: 1 large left + 2 small right (stacked) */
.infobae-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Common hero card styles */
.infobae-hero-main,
.infobae-hero-small,
.infobae-hero-wide {
    position: relative;
    overflow: visible;
    background: transparent;
}

.infobae-hero-link {
    display: block;
}

.infobae-hero-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.infobae-hero-main:hover .infobae-hero-img img,
.infobae-hero-small:hover .infobae-hero-img img,
.infobae-hero-wide:hover .infobae-hero-img img {
    transform: scale(1.02);
}

.infobae-hero-content {
    position: static;
    padding: 16px 0;
    background: transparent;
    color: #1a1a1a;
}

.infobae-cat {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-accent);
    background: white;
    padding: 4px 10px;
    margin-bottom: 10px;
}

.infobae-hero-content h2,
.infobae-hero-content h3 {
    color: #1a1a1a;
    margin: 0;
    text-shadow: none;
}

.infobae-hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 8px 0 0;
    line-height: 1.4;
}

/* Main hero - spans 2 rows */
.infobae-hero-main {
    grid-column: 1;
    grid-row: 1 / 3;
}

.infobae-hero-main h2 {
    font-size: 1.5rem;
    line-height: 1.2;
}

/* Small heroes - stacked right */
.infobae-hero-small--top {
    grid-column: 2;
    grid-row: 1;
}

.infobae-hero-small--bottom {
    grid-column: 2;
    grid-row: 2;
}

.infobae-hero-small h3 {
    font-size: 0.95rem;
    line-height: 1.3;
}

.infobae-hero-small .infobae-hero-content {
    padding: 16px;
}

/* Wide bottom - spans full width under small ones 
   Note: This needs JavaScript or different markup to work as shown.
   For now we'll hide it on the grid and show a simplified version */
.infobae-hero-wide {
    display: none;
}

@media (max-width: 900px) {
    .infobae-hero-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .infobae-hero-main {
        grid-column: 1 / 3;
        grid-row: 1;
        aspect-ratio: 16/9;
    }

    .infobae-hero-small--top {
        grid-column: 1;
        grid-row: 2;
    }

    .infobae-hero-small--bottom {
        grid-column: 2;
        grid-row: 2;
    }

    .infobae-hero-small {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 600px) {
    .infobae-hero-grid {
        grid-template-columns: 1fr;
    }

    .infobae-hero-main,
    .infobae-hero-small--top,
    .infobae-hero-small--bottom {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 16/9;
    }

    .infobae-hero-main h2 {
        font-size: 1.2rem;
    }
}

/* Main Section: News List + Sidebar */
.infobae-main {
    padding: 32px 0 60px;
}

.infobae-main-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* Section Title */
.infobae-section-title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--c-black);
    display: inline-block;
}

/* News List */
.infobae-news-col {
    border-right: 1px solid var(--c-border);
    padding-right: 40px;
}

.infobae-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.infobae-news-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-border);
}

.infobae-news-item:last-child {
    border-bottom: none;
}

.infobae-news-img {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--c-bg-alt);
}

.infobae-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.infobae-news-item:hover .infobae-news-img img {
    transform: scale(1.03);
}

.infobae-news-content {
    display: flex;
    flex-direction: column;
}

.infobae-news-cat {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-accent);
    margin-bottom: 6px;
}

.infobae-news-content h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
}

.infobae-news-content h3 a {
    color: var(--c-black);
}

.infobae-news-content h3 a:hover {
    color: var(--c-accent);
    text-decoration: none;
}

.infobae-news-content p {
    font-size: 0.85rem;
    color: var(--c-gray);
    line-height: 1.5;
    margin: 0 0 auto;
}

.infobae-news-content time {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--c-light);
    margin-top: 8px;
}

/* Sidebar: Lo más leído */
.infobae-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

.infobae-sidebar-sticky {
    background: var(--c-bg-alt);
    padding: 20px;
}

.infobae-sidebar-title {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-accent);
}

.infobae-popular-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.infobae-popular-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.infobae-popular-num {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-accent);
    line-height: 1;
    min-width: 24px;
}

.infobae-popular-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 4px;
}

.infobae-popular-content h4 a {
    color: var(--c-black);
}

.infobae-popular-content h4 a:hover {
    color: var(--c-accent);
    text-decoration: none;
}

.infobae-popular-content time {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--c-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .infobae-main-grid {
        grid-template-columns: 1fr 260px;
        gap: 32px;
    }

    .infobae-news-col {
        padding-right: 32px;
    }
}

@media (max-width: 768px) {
    .infobae-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .infobae-news-col {
        border-right: none;
        padding-right: 0;
    }

    .infobae-sidebar {
        position: static;
    }

    .infobae-news-item {
        grid-template-columns: 120px 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .infobae-news-item {
        grid-template-columns: 1fr;
    }

    .infobae-news-img {
        aspect-ratio: 16/9;
    }
}

/* Pagination */
.home-pagination {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
}

.home-pagination .pagination {
    justify-content: center;
}

/* ==========================================================================
   HOME LAYOUT: NEWS (Windows Central Style - Exact)
   ========================================================================== */
.home-layout--news {
    background: #f5f5f5;
}

.wc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero Section */
.wc-hero {
    padding: 20px 0;
}

.wc-hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Main Hero - Title BELOW image */
.wc-hero-main {
    background: white;
}

.wc-hero-link {
    display: block;
}

.wc-hero-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.wc-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-hero-text {
    padding: 20px;
}

.wc-hero-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--c-black);
    margin: 0 0 12px;
}

.wc-hero-text p {
    font-size: 0.95rem;
    color: var(--c-gray);
    line-height: 1.5;
    margin: 0;
}

.wc-hero-main:hover .wc-hero-text h2 {
    color: var(--c-accent);
}

/* Category Tag */
.wc-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    background: #d41c54;
    padding: 6px 12px;
    z-index: 2;
}

/* Latest News Sidebar */
.wc-latest {
    background: white;
    padding: 20px;
}

.wc-latest-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #d41c54;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 3px solid #d41c54;
}

.wc-icon {
    font-size: 1.2rem;
}

.wc-latest-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wc-latest-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--c-border);
}

.wc-latest-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wc-latest-list a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-black);
    line-height: 1.4;
}

.wc-latest-list a:hover {
    color: #d41c54;
    text-decoration: none;
}

/* Grid Section */
.wc-grid-section {
    padding: 10px 0;
}

.wc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Cards */
.wc-card {
    background: white;
}

.wc-card-link {
    display: block;
}

.wc-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.wc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.wc-card:hover .wc-card-img img {
    transform: scale(1.03);
}

.wc-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--c-black);
    margin: 0;
    padding: 16px;
}

.wc-card:hover .wc-card-title {
    color: #d41c54;
}

/* Responsive */
@media (max-width: 900px) {
    .wc-hero-grid {
        grid-template-columns: 1fr;
    }

    .wc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wc-grid {
        grid-template-columns: 1fr;
    }

    .wc-hero-text h2 {
        font-size: 1.2rem;
    }
}

/* ==============================================
   BLOG VIEW STYLES
   ============================================== */

.article-view--blog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
}

.blog-main {
    min-width: 0;
}

/* Header */
.blog-header {
    margin-bottom: 32px;
}

.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-accent, #0078d4);
    margin-bottom: 12px;
}

.blog-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.blog-excerpt {
    font-size: 1.15rem;
    color: var(--c-gray, #666);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--c-light, #999);
}

.blog-meta time {
    color: var(--c-gray, #666);
}

/* Featured Image */
.blog-featured-image {
    margin: 0 0 32px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-featured-image figcaption {
    font-size: 0.8rem;
    color: var(--c-light, #999);
    padding: 10px 0;
    text-align: center;
}

.blog-featured-image--small {
    max-width: 300px;
}

.blog-featured-image--small img {
    border-radius: 6px;
}

/* Content */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content p {
    margin-bottom: 1.5em;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 24px 0;
}

/* Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border, #e5e5e5);
}

.blog-tags a {
    font-size: 0.75rem;
    padding: 6px 14px;
    background: var(--c-bg-alt, #f9f9f9);
    color: var(--c-gray, #666);
    border-radius: 4px;
    transition: all 0.2s;
}

.blog-tags a:hover {
    background: var(--c-accent, #0078d4);
    color: white;
    text-decoration: none;
}

/* Author */
.blog-author {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    padding: 24px;
    background: var(--c-bg-alt, #f9f9f9);
    border-radius: 8px;
}

.blog-author img {
    border-radius: 50%;
    flex-shrink: 0;
}

.blog-author div {
    flex: 1;
}

.blog-author strong {
    display: block;
    margin-bottom: 4px;
}

.blog-author p {
    font-size: 0.9rem;
    color: var(--c-gray, #666);
    margin: 0;
}

/* Sidebar */
.blog-sidebar {
    min-width: 0;
}

.blog-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.blog-related {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-related-item {
    display: flex;
    gap: 12px;
}

.blog-related-image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.blog-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-related-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

.blog-related-content h4 a {
    color: var(--c-black, #111);
}

.blog-related-content h4 a:hover {
    color: var(--c-accent, #0078d4);
}

/* Responsive */
@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        border-top: 1px solid var(--c-border, #e5e5e5);
        padding-top: 32px;
    }

    .blog-sidebar-sticky {
        position: static;
    }

    .blog-related {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blog-related-item {
        width: calc(50% - 8px);
    }
}

@media (max-width: 600px) {
    .blog-title {
        font-size: 1.6rem;
    }

    .blog-related-item {
        width: 100%;
    }
}

/* ==============================================
   INFOBAE HOME LAYOUT STYLES
   ============================================== */

.home-layout--infobae {
    background: #fff;
}

.infobae-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero Section */
.infobae-hero {
    padding: 16px 0 24px;
}

.infobae-hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 1fr 1fr auto;
    gap: 12px;
}

.infobae-hero-main {
    grid-row: 1 / 3;
}

.infobae-hero-small--top {
    grid-column: 2;
    grid-row: 1;
}

.infobae-hero-small--bottom {
    grid-column: 2;
    grid-row: 2;
}

.infobae-hero-wide {
    grid-column: 1 / -1;
    grid-row: 3;
}

/* Hero Cards Shared Styles */
.infobae-hero-link {
    display: block;
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.infobae-hero-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.infobae-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.infobae-hero-link:hover .infobae-hero-img img {
    transform: scale(1.03);
}

.infobae-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 20px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
}

.infobae-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #d41c54;
    color: white;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.infobae-hero-main .infobae-hero-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.infobae-hero-main .infobae-hero-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.infobae-hero-small .infobae-hero-content h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.infobae-hero-wide .infobae-hero-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 6px;
}

.infobae-hero-wide .infobae-hero-content p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* Hero Card Heights */
.infobae-hero-main {
    min-height: 420px;
}

.infobae-hero-small {
    min-height: 200px;
}

.infobae-hero-wide {
    min-height: 180px;
}

/* Main Section: News + Sidebar */
.infobae-main {
    padding: 32px 0;
    background: #f6f6f6;
}

.infobae-main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.infobae-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #d41c54;
}

/* News List */
.infobae-news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.infobae-news-item {
    display: flex;
    gap: 16px;
    background: white;
    padding: 16px;
    border-radius: 6px;
}

.infobae-news-img {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
}

.infobae-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.infobae-news-item:hover .infobae-news-img img {
    transform: scale(1.03);
}

.infobae-news-content {
    flex: 1;
    min-width: 0;
}

.infobae-news-cat {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #d41c54;
    margin-bottom: 6px;
}

.infobae-news-content h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.infobae-news-content h3 a {
    color: var(--c-black, #111);
}

.infobae-news-content h3 a:hover {
    color: #d41c54;
}

.infobae-news-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.infobae-news-content time {
    font-size: 0.75rem;
    color: #999;
}

/* Sidebar */
.infobae-sidebar-sticky {
    position: sticky;
    top: 100px;
    background: white;
    padding: 20px;
    border-radius: 6px;
}

.infobae-sidebar-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d41c54;
}

.infobae-popular-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.infobae-popular-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.infobae-popular-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d41c54;
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 50%;
}

.infobae-popular-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 4px;
}

.infobae-popular-content h4 a {
    color: var(--c-black, #111);
}

.infobae-popular-content h4 a:hover {
    color: #d41c54;
}

.infobae-popular-content time {
    font-size: 0.7rem;
    color: #999;
}

/* Infobae Responsive - Tablet */
@media (max-width: 900px) {
    .infobae-main-grid {
        grid-template-columns: 1fr;
    }

    .infobae-sidebar {
        order: -1;
    }

    .infobae-sidebar-sticky {
        position: static;
    }

    .infobae-popular-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .infobae-popular-item {
        width: calc(50% - 6px);
    }
}

/* Infobae Responsive - Mobile */
@media (max-width: 600px) {
    .infobae-hero {
        padding: 8px 0 16px;
    }

    .infobae-hero-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .infobae-hero-main,
    .infobae-hero-small,
    .infobae-hero-wide {
        min-height: auto;
    }

    .infobae-hero-main .infobae-hero-link {
        aspect-ratio: 16/10;
    }

    .infobae-hero-small .infobae-hero-link,
    .infobae-hero-wide .infobae-hero-link {
        aspect-ratio: 16/9;
    }

    .infobae-hero-main .infobae-hero-content h2 {
        font-size: 1.3rem;
    }

    .infobae-hero-small .infobae-hero-content h3,
    .infobae-hero-wide .infobae-hero-content h3 {
        font-size: 0.95rem;
    }

    .infobae-news-item {
        flex-direction: column;
        padding: 12px;
    }

    .infobae-news-img {
        width: 100%;
        height: 180px;
    }

    .infobae-popular-item {
        width: 100%;
    }
}

/* ==============================================
   AD SLOTS - ADSENSE READY
   ============================================== */

.ad-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.ad-slot__inner {
    max-width: 1200px;
    width: 100%;
    padding: 16px;
    text-align: center;
}

.ad-slot--header {
    margin-bottom: 0;
}

.ad-slot--footer {
    margin-top: 40px;
}

.ad-slot--content {
    margin: 24px 0;
    border-radius: 6px;
}

.ad-slot--sidebar {
    margin-bottom: 20px;
    border-radius: 6px;
}

/* ==============================================
   COOKIE CONSENT BANNER
   ============================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent p {
    color: white;
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
    min-width: 200px;
}

.cookie-consent__buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent__accept,
.cookie-consent__decline {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-consent__accept {
    background: var(--c-primary, #4f46e5);
    color: white;
}

.cookie-consent__accept:hover {
    background: var(--c-primary-dark, #4338ca);
}

.cookie-consent__decline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent__decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==============================================
   FOOTER LEGAL LINKS
   ============================================== */

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: white;
}

@media (max-width: 600px) {
    .cookie-consent__inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent__buttons {
        width: 100%;
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

/* ==============================================
   MAGAZINE LAYOUT - EL PAÍS STYLE
   ============================================== */

.home-layout--magazine {
    background: #fff;
}

.elpais-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== SECTION TITLES ========== */
.elpais-section__title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #111;
}

.elpais-section__title a {
    color: inherit;
    text-decoration: none;
}

.elpais-section__title a:hover {
    text-decoration: underline;
}

/* ========== HERO SECTION ========== */
.elpais-hero {
    padding: 24px 0 40px;
}

.elpais-hero__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
}

/* Main Hero Article */
.elpais-hero__main {
    border-right: 1px solid #ddd;
    padding-right: 40px;
}

.elpais-hero__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.elpais-hero__figure {
    margin: 0 0 16px;
}

.elpais-hero__figure img {
    width: 100%;
    height: auto;
    display: block;
}

.elpais-hero__figure figcaption {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.elpais-hero__title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
    margin: 0 0 12px;
}

.elpais-hero__link:hover .elpais-hero__title {
    text-decoration: underline;
}

.elpais-hero__meta {
    margin-bottom: 12px;
}

.elpais-hero__author {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.elpais-hero__excerpt {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Hero Sidebar */
.elpais-hero__sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.elpais-hero__side-item {
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

.elpais-hero__side-item:first-child {
    padding-top: 0;
}

.elpais-hero__side-item:last-child {
    border-bottom: none;
}

.elpais-hero__side-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.elpais-hero__side-thumb {
    flex: 0 0 100px;
}

.elpais-hero__side-thumb img {
    width: 100px;
    height: 70px;
    object-fit: cover;
}

.elpais-hero__side-content {
    flex: 1;
}

.elpais-hero__side-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
    margin: 0 0 6px;
}

.elpais-hero__side-link:hover .elpais-hero__side-title {
    text-decoration: underline;
}

.elpais-hero__side-author {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

/* ========== ACTUALIDAD SECTION ========== */
.elpais-section {
    padding: 40px 0;
    border-top: 1px solid #ddd;
}

.elpais-actualidad {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
}

.elpais-card {
    display: flex;
    flex-direction: column;
}

.elpais-card__image {
    display: block;
    margin-bottom: 12px;
    position: relative;
}

.elpais-card__image img {
    width: 100%;
    height: auto;
    display: block;
}

.elpais-card__caption {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #666;
    margin-top: 6px;
    font-style: italic;
}

.elpais-card__content {
    flex: 1;
}

.elpais-card__title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.elpais-card__title a {
    color: #111;
    text-decoration: none;
}

.elpais-card__title a:hover {
    text-decoration: underline;
}

.elpais-card__author {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.elpais-card__excerpt {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #333;
    margin: 0;
}

/* ========== WEEKEND/CATEGORY SECTION ========== */
.elpais-section--category {
    background: #fff;
}

.elpais-weekend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.elpais-weekend__item {
    display: flex;
    gap: 20px;
}

.elpais-weekend__image {
    flex: 0 0 200px;
    display: block;
}

.elpais-weekend__image img {
    width: 200px;
    height: 140px;
    object-fit: cover;
}

.elpais-weekend__image figcaption {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

.elpais-weekend__content {
    flex: 1;
}

.elpais-weekend__title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
}

.elpais-weekend__title a {
    color: #111;
    text-decoration: none;
}

.elpais-weekend__title a:hover {
    text-decoration: underline;
}

.elpais-weekend__author {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.elpais-weekend__excerpt {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .elpais-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .elpais-hero__main {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #ddd;
        padding-bottom: 24px;
    }

    .elpais-actualidad {
        gap: 30px 20px;
    }

    .elpais-weekend {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .elpais-hero__title {
        font-size: 1.4rem;
    }

    .elpais-actualidad {
        grid-template-columns: 1fr;
    }

    .elpais-card__title {
        font-size: 1.1rem;
    }

    .elpais-weekend__item {
        flex-direction: column;
    }

    .elpais-weekend__image {
        flex: none;
    }

    .elpais-weekend__image img {
        width: 100%;
        height: auto;
    }
}

/* ==============================================
   GAMER LAYOUT - LIGHT THEME (Dark mode optional)
   ============================================== */

.home-layout--gamer {
    background: #f5f5f5;
    --gamer-accent: #107c10;
    --gamer-accent-light: #1db61d;
}

.gamer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HERO SECTION - EXACT SOMOSXBOX ========== */
.gamer-hero {
    background: #e8e8e8;
    padding: 20px 0;
}

.gamer-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    height: 480px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Main article - left side, full height */
.gamer-hero__main {
    grid-row: 1 / 3;
    position: relative;
    overflow: hidden;
}

/* Big right top - takes top half of right column */
.gamer-hero__right-big {
    position: relative;
    overflow: hidden;
}

/* Small right bottom - 2 items side by side */
.gamer-hero__right-small {
    position: relative;
    overflow: hidden;
}

/* Make the 2 small items share the bottom row */
.gamer-hero__grid {
    grid-template-columns: 1.2fr 0.5fr 0.5fr;
}

.gamer-hero__main {
    grid-column: 1;
    grid-row: 1 / 3;
}

.gamer-hero__right-big {
    grid-column: 2 / 4;
    grid-row: 1;
}

.gamer-hero__right-small:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
}

.gamer-hero__right-small:nth-of-type(4) {
    grid-column: 3;
    grid-row: 2;
}

.gamer-hero__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.gamer-hero__image {
    width: 100%;
    height: 100%;
}

.gamer-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gamer-hero__link:hover .gamer-hero__image img {
    transform: scale(1.05);
}

.gamer-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.85) 100%);
}

.gamer-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.gamer-hero__title-md {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.gamer-hero__title-sm {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.gamer-hero__right-big .gamer-hero__overlay {
    padding: 20px;
}

.gamer-hero__right-small .gamer-hero__overlay {
    padding: 16px;
}

/* ========== FEATURED GRID + TRENDING ========== */
.gamer-featured {
    padding: 24px 0;
    background: #f5f5f5;
}

.gamer-featured__layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 20px;
}

/* Featured grid - 3 columns: big left + 2x2 small on right */
.gamer-featured__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 400px;
}

.gamer-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #161b22;
}

/* Big card - left side, spans both rows */
.gamer-card--big {
    grid-column: 1;
    grid-row: 1 / 3;
}

/* Small cards positioning in 2x2 on right */
.gamer-card--small:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
}

.gamer-card--small:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1;
}

.gamer-card--small:nth-of-type(4) {
    grid-column: 2;
    grid-row: 2;
}

.gamer-card--small:nth-of-type(5) {
    grid-column: 3;
    grid-row: 2;
}

.gamer-card__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.gamer-card__image {
    width: 100%;
    height: 100%;
}

.gamer-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gamer-card:hover .gamer-card__image img {
    transform: scale(1.05);
}

.gamer-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.gamer-card--big .gamer-card__overlay {
    padding: 20px;
}

.gamer-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.gamer-card--big .gamer-card__title {
    font-size: 1.2rem;
    line-height: 1.25;
}

/* Trending Sidebar */
.gamer-trending {
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    height: fit-content;
}

.gamer-trending__title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #333;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f60;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.gamer-trending__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gamer-trending__item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.gamer-trending__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.gamer-trending__item a {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.gamer-trending__item a:hover {
    color: #f60;
}

/* ========== CAROUSEL SECTION ========== */
.gamer-carousel {
    padding: 30px 0 40px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.gamer-carousel__track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.gamer-carousel__card {
    background: #fff;
}

.gamer-carousel__card a {
    display: block;
    text-decoration: none;
}

.gamer-carousel__image {
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 10px;
}

.gamer-carousel__image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gamer-carousel__card:hover .gamer-carousel__image img {
    transform: scale(1.05);
}

.gamer-carousel__title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    margin: 0;
    line-height: 1.4;
}

.gamer-carousel__card:hover .gamer-carousel__title {
    color: var(--gamer-accent);
}

/* ========== LATEST NEWS SECTION ========== */
.gamer-latest {
    padding: 40px 0 60px;
    background: #fff;
}

.gamer-latest__header {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    background: var(--gamer-accent);
    padding: 10px 20px;
    margin: 0 0 30px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.gamer-latest__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gamer-article {
    display: flex;
    gap: 24px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.gamer-article:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.gamer-article__image {
    flex: 0 0 300px;
    overflow: hidden;
    border-radius: 6px;
}

.gamer-article__image img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gamer-article:hover .gamer-article__image img {
    transform: scale(1.03);
}

.gamer-article__content {
    flex: 1;
}

.gamer-article__category {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gamer-accent);
    margin-bottom: 8px;
}

.gamer-article__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 10px;
}

.gamer-article__title a {
    color: #111;
    text-decoration: none;
}

.gamer-article__title a:hover {
    color: var(--gamer-accent);
}

.gamer-article__meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 12px;
}

.gamer-article__author {
    font-weight: 600;
    color: #333;
}

.gamer-article__date::before {
    content: " | ";
    margin: 0 6px;
}

.gamer-article__excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin: 0 0 16px;
}

.gamer-article__btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background: var(--gamer-accent);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.gamer-article__btn:hover {
    background: var(--gamer-accent-light);
}

/* ========== GAMER RESPONSIVE ========== */
@media (max-width: 1000px) {
    .gamer-hero__grid {
        grid-template-columns: 1fr 1fr;
        min-height: 400px;
    }

    .gamer-hero__main {
        grid-row: 1 / 3;
    }

    .gamer-featured__layout {
        grid-template-columns: 1fr;
    }

    .gamer-trending {
        order: -1;
    }

    .gamer-carousel__track {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .gamer-hero__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }

    .gamer-hero__main,
    .gamer-hero__side {
        grid-row: auto;
        min-height: 200px;
    }

    .gamer-featured__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gamer-card--big {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .gamer-carousel__track {
        grid-template-columns: repeat(2, 1fr);
    }

    .gamer-article {
        flex-direction: column;
    }

    .gamer-article__image {
        flex: none;
    }

    .gamer-article__image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .gamer-carousel__track {
        grid-template-columns: 1fr;
    }

    .gamer-featured__grid {
        grid-template-columns: 1fr;
    }

    .gamer-card--big {
        grid-column: auto;
    }
}

/* ==============================================
   DARK MODE TOGGLE & DARK THEME
   ============================================== */

/* Dark Mode Toggle Button - In Header */
.dark-mode-toggle {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 16px;
    flex-shrink: 0;
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.dark-mode-toggle svg {
    stroke: #fff;
    transition: stroke 0.2s;
}

.dark-mode-toggle .icon-sun {
    display: none;
}

.dark-mode-toggle .icon-moon {
    display: block;
}

/* Dark Mode Active - Toggle Button */
body.dark-mode .dark-mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffc107;
}

body.dark-mode .dark-mode-toggle svg {
    stroke: #ffc107;
}

body.dark-mode .dark-mode-toggle .icon-sun {
    display: block;
}

body.dark-mode .dark-mode-toggle .icon-moon {
    display: none;
}

/* ===== GLOBAL DARK MODE ===== */
body.dark-mode {
    background: #121212;
    color: #e0e0e0;
}

body.dark-mode .site-header {
    background: #1a1a1a;
    border-color: #333;
}

body.dark-mode .site-header a {
    color: #e0e0e0;
}

body.dark-mode .site-footer {
    background: #1a1a1a;
    color: #ccc;
}

/* Gamer Layout Dark Mode */
body.dark-mode .home-layout--gamer {
    background: #0a0a0a;
}

body.dark-mode .gamer-hero {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

body.dark-mode .gamer-featured {
    background: #0a0a0a;
}

body.dark-mode .gamer-trending {
    background: #1a1a1a;
    border-color: #333;
}

body.dark-mode .gamer-trending__title {
    color: #fff;
    border-color: #f60;
}

body.dark-mode .gamer-trending__item {
    border-color: #333;
}

body.dark-mode .gamer-trending__item a {
    color: #ccc;
}

body.dark-mode .gamer-carousel {
    background: #1a1a1a;
    border-color: #333;
}

body.dark-mode .gamer-carousel__card {
    background: #1e1e1e;
}

body.dark-mode .gamer-carousel__title {
    color: #fff;
}

body.dark-mode .gamer-latest {
    background: #121212;
}

body.dark-mode .gamer-latest__header {
    background: var(--gamer-accent);
    color: #fff;
}

body.dark-mode .gamer-article {
    border-color: #333;
}

body.dark-mode .gamer-article__title a {
    color: #fff;
}

body.dark-mode .gamer-article__excerpt {
    color: #aaa;
}

body.dark-mode .gamer-article__meta {
    color: #888;
}

/* Single Post Dark Mode */
body.dark-mode .single-content,
body.dark-mode article.post,
body.dark-mode .post-content,
body.dark-mode .article-layout {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .entry-title,
body.dark-mode .post-title,
body.dark-mode .article-title,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
    color: #fff;
}

body.dark-mode .entry-content,
body.dark-mode .post-body,
body.dark-mode .article-content,
body.dark-mode p {
    color: #ccc;
}

body.dark-mode .entry-content a,
body.dark-mode .post-content a {
    color: #4ea8de;
}

body.dark-mode .site-main {
    background: #121212;
}

body.dark-mode .author-box,
body.dark-mode .related-posts,
body.dark-mode .comments-area {
    background: #1e1e1e;
    border-color: #333;
    color: #ccc;
}

body.dark-mode .comment-body {
    background: #252525;
    border-color: #333;
}

body.dark-mode .post-meta,
body.dark-mode .entry-meta,
body.dark-mode .article-meta {
    color: #888;
}

body.dark-mode .post-meta a,
body.dark-mode .entry-meta a {
    color: #aaa;
}

body.dark-mode .category-badge,
body.dark-mode .post-category {
    background: #333;
    color: #fff;
}

body.dark-mode blockquote {
    background: #252525;
    border-left-color: #4ea8de;
    color: #ccc;
}

body.dark-mode pre,
body.dark-mode code {
    background: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode hr {
    border-color: #333;
}

body.dark-mode .wp-block-image figcaption {
    color: #888;
}

/* ==============================================
   GAMER ARTICLE LAYOUT
   ============================================== */

.article-gamer {
    background: #fff;
    padding: 30px 0;
}

.article-gamer__container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.article-gamer__header {
    margin-bottom: 24px;
}

.article-gamer__category {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #107c10;
    text-decoration: none;
    margin-bottom: 12px;
}

.article-gamer__category:hover {
    text-decoration: underline;
}

.article-gamer__title {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin: 0 0 16px;
}

.article-gamer__meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666;
}

.article-gamer__byline {
    color: #666;
}

.article-gamer__author-link {
    color: #107c10;
    text-decoration: none;
    font-weight: 600;
}

.article-gamer__author-link:hover {
    text-decoration: underline;
}

.article-gamer__separator {
    margin: 0 8px;
    color: #999;
}

.article-gamer__date {
    color: #888;
}

/* Featured Image */
.article-gamer__featured {
    margin: 0 0 30px;
}

.article-gamer__image {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.article-gamer__caption {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    margin-top: 8px;
}

/* Content */
.article-gamer__content {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.article-gamer__content p {
    margin: 0 0 1.5em;
}

.article-gamer__content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin: 2em 0 1em;
}

.article-gamer__content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    margin: 1.5em 0 0.75em;
}

.article-gamer__content a {
    color: #107c10;
}

.article-gamer__content strong,
.article-gamer__content b {
    font-weight: 700;
}

/* Tags */
.article-gamer__tags {
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.article-gamer__tags a {
    color: #107c10;
}

/* Author Box */
.article-gamer__author-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-gamer__author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.article-gamer__author-info {
    flex: 1;
}

.article-gamer__author-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: #333;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}

.article-gamer__author-bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin: 0 0 10px;
}

.article-gamer__author-social a {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.1rem;
    text-decoration: none;
}

/* Comments */
.article-gamer__comments {
    margin-bottom: 40px;
}

/* Related Posts */
.article-gamer__related {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-gamer__related-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin: 0 0 24px;
    letter-spacing: 0.02em;
}

.article-gamer__related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-gamer__related-card {
    background: #fff;
}

.article-gamer__related-image {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 12px;
}

.article-gamer__related-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-gamer__related-card:hover .article-gamer__related-image img {
    transform: scale(1.05);
}

.article-gamer__related-content {
    text-align: center;
}

.article-gamer__related-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px;
}

.article-gamer__related-card-title a {
    color: #111;
    text-decoration: none;
}

.article-gamer__related-card-title a:hover {
    color: #107c10;
}

.article-gamer__related-date {
    font-size: 0.75rem;
    color: #888;
}

/* Sidebar */
.article-gamer__sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.article-gamer__sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-gamer__sidebar-item {
    display: flex;
    gap: 12px;
}

.article-gamer__sidebar-thumb {
    flex: 0 0 80px;
    overflow: hidden;
    border-radius: 4px;
}

.article-gamer__sidebar-thumb img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

.article-gamer__sidebar-info {
    flex: 1;
}

.article-gamer__sidebar-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.article-gamer__sidebar-title a {
    color: #333;
    text-decoration: none;
}

.article-gamer__sidebar-title a:hover {
    color: #107c10;
}

/* Responsive */
@media (max-width: 900px) {
    .article-gamer__container {
        grid-template-columns: 1fr;
    }

    .article-gamer__sidebar {
        order: -1;
        position: static;
    }

    .article-gamer__related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .article-gamer__title {
        font-size: 1.6rem;
    }

    .article-gamer__related-grid {
        grid-template-columns: 1fr;
    }

    .article-gamer__author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== GAMER ARTICLE DARK MODE ===== */
body.dark-mode .article-gamer {
    background: #121212;
}

body.dark-mode .article-gamer__title {
    color: #fff;
}

body.dark-mode .article-gamer__meta,
body.dark-mode .article-gamer__byline,
body.dark-mode .article-gamer__date {
    color: #888;
}

body.dark-mode .article-gamer__author-link {
    color: #4ea8de;
}

body.dark-mode .article-gamer__content {
    color: #ccc;
}

body.dark-mode .article-gamer__content h2,
body.dark-mode .article-gamer__content h3 {
    color: #fff;
}

body.dark-mode .article-gamer__content a {
    color: #4ea8de;
}

body.dark-mode .article-gamer__tags {
    border-color: #333;
    color: #888;
}

body.dark-mode .article-gamer__tags a {
    color: #4ea8de;
}

body.dark-mode .article-gamer__author-box {
    background: #1e1e1e;
}

body.dark-mode .article-gamer__author-name {
    color: #fff;
}

body.dark-mode .article-gamer__author-bio {
    color: #aaa;
}

body.dark-mode .article-gamer__related {
    border-color: #333;
}

body.dark-mode .article-gamer__related-card {
    background: #1e1e1e;
}

body.dark-mode .article-gamer__related-title {
    color: #fff;
}

body.dark-mode .article-gamer__related-card-title a {
    color: #fff;
}

body.dark-mode .article-gamer__related-date {
    color: #aaa;
}

body.dark-mode .article-gamer__sidebar-title a {
    color: #ccc;
}

body.dark-mode .article-gamer__caption {
    color: #666;
}

/* ==============================================
   DARK MODE: ALL ARTICLE VIEWS
   ============================================== */

/* === Base Article View Styles === */
body.dark-mode .article-view {
    background: #121212;
    color: #e0e0e0;
}

/* === Classic View === */
body.dark-mode .article-view--classic {
    background: #121212;
}

body.dark-mode .classic-container {
    background: #1a1a1a;
}

body.dark-mode .classic-title {
    color: #fff;
}

body.dark-mode .classic-excerpt {
    color: #aaa;
}

body.dark-mode .classic-category {
    color: #4ea8de;
}

body.dark-mode .classic-meta {
    color: #888;
}

body.dark-mode .classic-meta strong {
    color: #ccc;
}

body.dark-mode .classic-content,
body.dark-mode .classic-content p {
    color: #ccc;
}

body.dark-mode .classic-content h2,
body.dark-mode .classic-content h3,
body.dark-mode .classic-content h4 {
    color: #fff;
}

body.dark-mode .classic-content a {
    color: #4ea8de;
}

body.dark-mode .classic-tags a {
    background: #333;
    color: #ccc;
}

/* === Blog View === */
body.dark-mode .article-view--blog {
    background: #121212;
}

body.dark-mode .blog-layout {
    background: #121212;
}

body.dark-mode .blog-main {
    background: #1a1a1a;
}

body.dark-mode .blog-title {
    color: #fff;
}

body.dark-mode .blog-excerpt {
    color: #aaa;
}

body.dark-mode .blog-category {
    color: #4ea8de;
}

body.dark-mode .blog-meta {
    color: #888;
}

body.dark-mode .blog-meta strong {
    color: #ccc;
}

body.dark-mode .blog-content,
body.dark-mode .blog-content p {
    color: #ccc;
}

body.dark-mode .blog-content h2,
body.dark-mode .blog-content h3,
body.dark-mode .blog-content h4 {
    color: #fff;
}

body.dark-mode .blog-content a {
    color: #4ea8de;
}

body.dark-mode .blog-sidebar {
    background: #1e1e1e;
}

body.dark-mode .blog-sidebar-title {
    color: #fff;
    border-color: #333;
}

body.dark-mode .blog-related-item {
    border-color: #333;
}

body.dark-mode .blog-related-title a {
    color: #ccc;
}

body.dark-mode .blog-related-title a:hover {
    color: #4ea8de;
}

body.dark-mode .blog-related-date {
    color: #666;
}

body.dark-mode .blog-tags a {
    background: #333;
    color: #ccc;
}

/* === Fullwidth View === */
body.dark-mode .article-view--fullwidth {
    background: #121212;
}

body.dark-mode .fullwidth-container {
    background: #1a1a1a;
}

body.dark-mode .fullwidth-title {
    color: #fff;
}

body.dark-mode .fullwidth-excerpt {
    color: #aaa;
}

body.dark-mode .fullwidth-category {
    color: #4ea8de;
}

body.dark-mode .fullwidth-meta {
    color: #888;
}

body.dark-mode .fullwidth-content,
body.dark-mode .fullwidth-content p {
    color: #ccc;
}

body.dark-mode .fullwidth-content h2,
body.dark-mode .fullwidth-content h3 {
    color: #fff;
}

body.dark-mode .fullwidth-content a {
    color: #4ea8de;
}

body.dark-mode .fullwidth-tags a {
    background: #333;
    color: #ccc;
}

/* === Magazine View === */
body.dark-mode .article-view--magazine {
    background: #121212;
}

body.dark-mode .magazine-content {
    background: #1a1a1a;
}

body.dark-mode .magazine-content,
body.dark-mode .magazine-content p {
    color: #ccc;
}

body.dark-mode .magazine-content h2,
body.dark-mode .magazine-content h3 {
    color: #fff;
}

body.dark-mode .magazine-content a {
    color: #4ea8de;
}

body.dark-mode .magazine-tags a {
    background: #333;
    color: #ccc;
}

/* === Minimal View === */
body.dark-mode .article-view--minimal {
    background: #121212;
}

body.dark-mode .minimal-container {
    background: #1a1a1a;
}

body.dark-mode .minimal-title {
    color: #fff;
}

body.dark-mode .minimal-meta {
    color: #888;
}

body.dark-mode .minimal-content,
body.dark-mode .minimal-content p {
    color: #ccc;
}

body.dark-mode .minimal-content h2,
body.dark-mode .minimal-content h3 {
    color: #fff;
}

body.dark-mode .minimal-content a {
    color: #4ea8de;
}

/* === Immersive View === */
body.dark-mode .article-view--immersive {
    background: #0a0a0a;
}

body.dark-mode .immersive-content {
    background: #121212;
}

body.dark-mode .immersive-content,
body.dark-mode .immersive-content p {
    color: #ccc;
}

body.dark-mode .immersive-content h2,
body.dark-mode .immersive-content h3 {
    color: #fff;
}

body.dark-mode .immersive-content a {
    color: #4ea8de;
}

/* === Shared Components Dark Mode === */
body.dark-mode .author-box {
    background: #1e1e1e;
    border-color: #333;
}

body.dark-mode .author-box__name {
    color: #fff;
}

body.dark-mode .author-box__bio {
    color: #aaa;
}

body.dark-mode .related-posts {
    background: #1e1e1e;
}

body.dark-mode .related-posts__title {
    color: #fff;
}

body.dark-mode .related-post__title a {
    color: #ccc;
}

body.dark-mode .related-post__title a:hover {
    color: #4ea8de;
}

body.dark-mode .related-post__date {
    color: #666;
}

body.dark-mode .tags-list a {
    background: #333;
    color: #ccc;
    border-color: #444;
}

body.dark-mode .tags-list a:hover {
    background: #444;
    color: #fff;
}

/* === Fix Author Profile Box in Dark Mode === */
body.dark-mode .author-profile,
body.dark-mode .blog-author,
body.dark-mode .classic-author,
body.dark-mode .fullwidth-author,
body.dark-mode .minimal-author,
body.dark-mode [class*="author-box"],
body.dark-mode [class*="author-profile"] {
    background: #1e1e1e !important;
    color: #ccc;
}

body.dark-mode .author-profile a,
body.dark-mode .blog-author a,
body.dark-mode [class*="author"] .author-name,
body.dark-mode [class*="author"] a {
    color: #4ea8de;
}

/* === Fix Bold Text in Dark Mode === */
body.dark-mode strong,
body.dark-mode b,
body.dark-mode .entry-content strong,
body.dark-mode .entry-content b,
body.dark-mode .blog-content strong,
body.dark-mode .blog-content b,
body.dark-mode .classic-content strong,
body.dark-mode .classic-content b,
body.dark-mode .fullwidth-content strong,
body.dark-mode .fullwidth-content b,
body.dark-mode .magazine-content strong,
body.dark-mode .magazine-content b,
body.dark-mode .minimal-content strong,
body.dark-mode .minimal-content b,
body.dark-mode .immersive-content strong,
body.dark-mode .immersive-content b,
body.dark-mode .article-gamer__content strong,
body.dark-mode .article-gamer__content b {
    color: #fff;
}

/* === Fix Entry Content in Dark Mode === */
body.dark-mode .entry-content,
body.dark-mode .entry-content p,
body.dark-mode .entry-content li,
body.dark-mode .entry-content span {
    color: #ccc;
}

body.dark-mode .entry-content h1,
body.dark-mode .entry-content h2,
body.dark-mode .entry-content h3,
body.dark-mode .entry-content h4,
body.dark-mode .entry-content h5,
body.dark-mode .entry-content h6 {
    color: #fff;
}

body.dark-mode .entry-content a {
    color: #4ea8de;
}

body.dark-mode .entry-content blockquote {
    color: #aaa;
    border-color: #444;
}

body.dark-mode .entry-content code,
body.dark-mode .entry-content pre {
    background: #2a2a2a;
    color: #ccc;
}

/* ==============================================
   BLOG 2.0 ARTICLE VIEW
   ============================================== */

.article-view--blog2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
}

/* Header */
.blog2-header {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding-right: 360px;
}

.blog2-category {
    display: inline-block;
    color: #107c10;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 12px;
}

.blog2-category:hover {
    text-decoration: underline;
}

.blog2-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.blog2-excerpt {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.5;
    margin: 0 0 20px;
}

.blog2-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: none;
    margin-bottom: 8px;
}

.blog2-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.blog2-byline-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.blog2-author-link {
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
}

.blog2-author-link:hover {
    text-decoration: underline;
}

.blog2-date,
.blog2-updated {
    color: #888;
}

/* Layout */
.blog2-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Content */
.blog2-main {
    min-width: 0;
}

.blog2-featured {
    margin: 0 0 24px;
}

.blog2-featured-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog2-caption {
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
}

.blog2-content {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog2-content p {
    margin-bottom: 1.5em;
}

.blog2-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2em 0 0.75em;
}

.blog2-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 1.5em 0 0.5em;
}

.blog2-content a {
    color: #107c10;
}

.blog2-content strong,
.blog2-content b {
    color: #1a1a1a;
    font-weight: 700;
}

/* Tags */
.blog2-tags {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.blog2-tags a {
    color: #107c10;
    text-decoration: none;
}

.blog2-tags a:hover {
    text-decoration: underline;
}

/* Author Box */
.blog2-author-box {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border-top: 3px solid #107c10;
}

.blog2-author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.blog2-author-info {
    flex: 1;
}

.blog2-author-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #107c10;
    text-decoration: none;
    margin-bottom: 8px;
}

.blog2-author-name:hover {
    text-decoration: underline;
}

.blog2-author-latest-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.blog2-author-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog2-author-posts li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
}

.blog2-author-posts li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #999;
    font-weight: bold;
}

.blog2-author-posts a {
    color: #107c10;
    text-decoration: none;
    font-size: 0.95rem;
}

.blog2-author-posts a:hover {
    text-decoration: underline;
}

/* Latest Articles */
.blog2-latest {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.blog2-latest-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px;
}

.blog2-latest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.blog2-latest-card {
    display: flex;
    gap: 12px;
}

.blog2-latest-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    overflow: hidden;
    border-radius: 4px;
}

.blog2-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog2-latest-info {
    flex: 1;
}

.blog2-latest-cat {
    font-size: 0.75rem;
    color: #107c10;
    font-weight: 600;
    text-transform: uppercase;
}

.blog2-latest-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 4px 0 0;
    line-height: 1.3;
}

.blog2-latest-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.blog2-latest-card-title a:hover {
    color: #107c10;
}

/* Sidebar */
.blog2-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.blog2-sidebar-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #107c10;
}

.blog2-sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog2-sidebar-item {
    display: flex;
    gap: 12px;
}

.blog2-sidebar-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
}

.blog2-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog2-sidebar-info {
    flex: 1;
}

.blog2-sidebar-cat {
    font-size: 0.7rem;
    color: #f60;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.blog2-sidebar-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 4px 0 6px;
    line-height: 1.3;
}

.blog2-sidebar-item-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.blog2-sidebar-item-title a:hover {
    color: #107c10;
}

.blog2-sidebar-more {
    font-size: 0.75rem;
    color: #107c10;
    text-decoration: none;
    font-weight: 500;
}

.blog2-sidebar-more:hover {
    text-decoration: underline;
}

.blog2-sidebar-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.blog2-sidebar-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Responsive */
@media (max-width: 900px) {
    .blog2-header {
        padding-right: 0;
    }

    .blog2-layout {
        grid-template-columns: 1fr;
    }

    .blog2-sidebar {
        position: static;
    }

    .blog2-title {
        font-size: 2rem;
    }

    .blog2-latest-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   BLOG 2.0 DARK MODE
   ============================================== */

body.dark-mode .article-view--blog2 {
    background: #121212;
}

body.dark-mode .blog2-category {
    color: #4ea8de;
}

body.dark-mode .blog2-title {
    color: #fff;
}

body.dark-mode .blog2-excerpt {
    color: #aaa;
}

body.dark-mode .blog2-byline {
    border-color: #333;
}

body.dark-mode .blog2-author-link {
    color: #4ea8de;
}

body.dark-mode .blog2-date,
body.dark-mode .blog2-updated {
    color: #888;
}

body.dark-mode .blog2-content,
body.dark-mode .blog2-content p {
    color: #ccc;
}

body.dark-mode .blog2-content h2,
body.dark-mode .blog2-content h3 {
    color: #fff;
}

body.dark-mode .blog2-content a {
    color: #4ea8de;
}

body.dark-mode .blog2-content strong,
body.dark-mode .blog2-content b {
    color: #fff;
}

body.dark-mode .blog2-caption {
    color: #666;
}

body.dark-mode .blog2-tags {
    border-color: #333;
    color: #888;
}

body.dark-mode .blog2-tags a {
    color: #4ea8de;
}

body.dark-mode .blog2-author-box {
    background: #1e1e1e;
    border-color: #4ea8de;
}

body.dark-mode .blog2-author-name {
    color: #4ea8de;
}

body.dark-mode .blog2-author-latest-title {
    color: #fff;
}

body.dark-mode .blog2-author-posts a {
    color: #4ea8de;
}

body.dark-mode .blog2-latest {
    border-color: #333;
}

body.dark-mode .blog2-latest-title {
    color: #fff;
}

body.dark-mode .blog2-latest-cat {
    color: #4ea8de;
}

body.dark-mode .blog2-latest-card-title a {
    color: #ccc;
}

body.dark-mode .blog2-latest-card-title a:hover {
    color: #4ea8de;
}

body.dark-mode .blog2-sidebar-title {
    color: #fff;
    border-color: #4ea8de;
}

body.dark-mode .blog2-sidebar-cat {
    color: #f60;
}

body.dark-mode .blog2-sidebar-item-title a {
    color: #ccc;
}

body.dark-mode .blog2-sidebar-item-title a:hover {
    color: #4ea8de;
}

body.dark-mode .blog2-sidebar-more {
    color: #4ea8de;
}

body.dark-mode .blog2-sidebar-btn {
    background: #1e1e1e;
    border-color: #333;
    color: #ccc;
}

body.dark-mode .blog2-sidebar-btn:hover {
    background: #2a2a2a;
    border-color: #444;
}

/* ==============================================
   DARK MODE: ALL HOME LAYOUTS
   ============================================== */

/* Base home layout */
body.dark-mode .home-layout,
body.dark-mode .home-layout--grid,
body.dark-mode .home-layout--news,
body.dark-mode .home-layout--magazine,
body.dark-mode .home-layout--infobae {
    background: #121212;
}

/* Home sections */
body.dark-mode .home-featured,
body.dark-mode .home-latest,
body.dark-mode .home-section {
    background: #121212;
}

/* Section headers */
body.dark-mode .home-section__title,
body.dark-mode .section-header,
body.dark-mode .section-title,
body.dark-mode .latest-header,
body.dark-mode .home-latest__title {
    color: #fff;
}

/* Article cards in home */
body.dark-mode .article-card,
body.dark-mode .latest-article,
body.dark-mode .featured-card,
body.dark-mode .home-card {
    background: #1e1e1e;
}

body.dark-mode .article-card__title,
body.dark-mode .article-card__title a,
body.dark-mode .latest-article__title,
body.dark-mode .latest-article__title a,
body.dark-mode .featured-card__title,
body.dark-mode .home-card__title,
body.dark-mode .home-card__title a {
    color: #fff;
}

body.dark-mode .article-card__excerpt,
body.dark-mode .latest-article__excerpt,
body.dark-mode .home-card__excerpt {
    color: #aaa;
}

body.dark-mode .article-card__meta,
body.dark-mode .latest-article__meta,
body.dark-mode .home-card__meta,
body.dark-mode .article-card__date,
body.dark-mode .latest-article__date {
    color: #888;
}

body.dark-mode .article-card__category,
body.dark-mode .latest-article__category,
body.dark-mode .home-card__category {
    color: #4ea8de;
}

/* Grid layout specific */
body.dark-mode .grid-card,
body.dark-mode .grid-article {
    background: #1e1e1e;
}

body.dark-mode .grid-card__title a,
body.dark-mode .grid-article__title a {
    color: #ccc;
}

body.dark-mode .grid-card__title a:hover,
body.dark-mode .grid-article__title a:hover {
    color: #4ea8de;
}

body.dark-mode .grid-card__excerpt,
body.dark-mode .grid-article__excerpt {
    color: #999;
}

body.dark-mode .grid-card__date,
body.dark-mode .grid-article__date {
    color: #666;
}

/* News layout */
body.dark-mode .news-hero,
body.dark-mode .news-grid,
body.dark-mode .news-list {
    background: #121212;
}

body.dark-mode .news-article__title a {
    color: #ccc;
}

body.dark-mode .news-article__excerpt {
    color: #999;
}

/* Magazine layout */
body.dark-mode .magazine-section {
    background: #121212;
}

body.dark-mode .magazine-card {
    background: #1e1e1e;
}

body.dark-mode .magazine-card__title a {
    color: #ccc;
}

/* Infobae layout */
body.dark-mode .infobae-section,
body.dark-mode .infobae-grid {
    background: #121212;
}

body.dark-mode .infobae-card {
    background: #1e1e1e;
}

body.dark-mode .infobae-card__title a {
    color: #ccc;
}

/* ==============================================
   ARCHIVE / CATEGORY PAGES
   ============================================== */

.archive-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.archive-header .container {
    max-width: var(--content-max);
    margin: 0 auto;
}

.archive-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.archive-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Posts Section */
.posts-section {
    background: #f5f5f5;
    padding: 60px 20px;
}

.posts-section .container {
    max-width: var(--content-max);
    margin: 0 auto;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Post Card */
.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.post-card__image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-card__image img {
    transform: scale(1.05);
}

.post-card__category {
    display: inline-block;
    margin: 16px 16px 8px;
    padding: 4px 10px;
    background: #107c10;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    text-transform: uppercase;
}

.post-card__title {
    margin: 0 16px 12px;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.post-card__title a {
    color: #1a1a1a;
    text-decoration: none;
}

.post-card__title a:hover {
    color: #107c10;
}

.post-card__meta {
    margin: 0 16px 16px;
    font-size: 0.85rem;
    color: #888;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination .page-numbers:hover {
    background: #107c10;
    color: #fff;
}

.pagination .page-numbers.current {
    background: #107c10;
    color: #fff;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 60px 20px;
}

.no-posts h2 {
    color: #333;
    margin-bottom: 12px;
}

.no-posts p {
    color: #666;
}

/* ==============================================
   ARCHIVE / CATEGORY DARK MODE
   ============================================== */

body.dark-mode .archive-header {
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
}

body.dark-mode .posts-section {
    background: #121212;
}

body.dark-mode .post-card {
    background: #1e1e1e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .post-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.dark-mode .post-card__category {
    background: #4ea8de;
}

body.dark-mode .post-card__title a {
    color: #fff;
}

body.dark-mode .post-card__title a:hover {
    color: #4ea8de;
}

body.dark-mode .post-card__meta {
    color: #888;
}

body.dark-mode .pagination .page-numbers {
    background: #1e1e1e;
    color: #ccc;
}

body.dark-mode .pagination .page-numbers:hover {
    background: #4ea8de;
    color: #fff;
}

body.dark-mode .pagination .page-numbers.current {
    background: #4ea8de;
    color: #fff;
}

body.dark-mode .no-posts h2 {
    color: #fff;
}

body.dark-mode .no-posts p {
    color: #aaa;
}

/* ==============================================
   DARK MODE: NEWS LAYOUT (wc-*)
   ============================================== */

body.dark-mode .home-layout--news {
    background: #121212;
}

body.dark-mode .wc-hero {
    background: #121212;
}

body.dark-mode .wc-hero-main {
    background: #1e1e1e;
}

body.dark-mode .wc-hero-text h2 {
    color: #fff;
}

body.dark-mode .wc-hero-text p {
    color: #aaa;
}

body.dark-mode .wc-latest {
    background: #1e1e1e;
}

body.dark-mode .wc-latest-title {
    color: #fff;
    border-color: #333;
}

body.dark-mode .wc-latest-list a {
    color: #ccc;
}

body.dark-mode .wc-latest-list a:hover {
    color: #4ea8de;
}

body.dark-mode .wc-grid-section {
    background: #121212;
}

body.dark-mode .wc-card {
    background: #1e1e1e;
}

body.dark-mode .wc-card-title {
    color: #fff;
}

body.dark-mode .wc-tag {
    background: #4ea8de;
}

/* ==============================================
   DARK MODE: MAGAZINE LAYOUT (elpais-*)
   ============================================== */

body.dark-mode .home-layout--magazine {
    background: #121212;
}

body.dark-mode .elpais-hero {
    background: #121212;
}

body.dark-mode .elpais-hero__main {
    background: #1e1e1e;
}

body.dark-mode .elpais-hero__title {
    color: #fff;
}

body.dark-mode .elpais-hero__meta,
body.dark-mode .elpais-hero__author {
    color: #888;
}

body.dark-mode .elpais-hero__excerpt {
    color: #aaa;
}

body.dark-mode .elpais-hero__sidebar {
    background: #1e1e1e;
}

body.dark-mode .elpais-hero__side-title {
    color: #ccc;
}

body.dark-mode .elpais-hero__side-author {
    color: #888;
}

body.dark-mode .elpais-section {
    background: #121212;
}

body.dark-mode .elpais-section__title {
    color: #fff;
}

body.dark-mode .elpais-section__title a {
    color: #4ea8de;
}

body.dark-mode .elpais-card {
    background: #1e1e1e;
}

body.dark-mode .elpais-card__title a {
    color: #fff;
}

body.dark-mode .elpais-card__author {
    color: #888;
}

body.dark-mode .elpais-card__excerpt {
    color: #aaa;
}

body.dark-mode .elpais-weekend__item {
    background: #1e1e1e;
}

body.dark-mode .elpais-weekend__title a {
    color: #fff;
}

body.dark-mode .elpais-weekend__author {
    color: #888;
}

body.dark-mode .elpais-weekend__excerpt {
    color: #aaa;
}

/* ==============================================
   DARK MODE: INFOBAE LAYOUT
   ============================================== */

body.dark-mode .home-layout--infobae {
    background: #121212;
}

body.dark-mode .infobae-hero {
    background: #121212;
}

body.dark-mode .infobae-hero-main,
body.dark-mode .infobae-hero-side,
body.dark-mode .infobae-hero-bottom {
    background: #1e1e1e;
}

body.dark-mode .infobae-hero-content h2,
body.dark-mode .infobae-side-title,
body.dark-mode .infobae-bottom-title {
    color: #fff;
}

body.dark-mode .infobae-hero-content p,
body.dark-mode .infobae-excerpt {
    color: #aaa;
}

body.dark-mode .infobae-cat {
    color: #4ea8de;
}

body.dark-mode .infobae-section {
    background: #121212;
}

body.dark-mode .infobae-news-list {
    background: #121212;
}

body.dark-mode .infobae-news-item {
    background: #1e1e1e;
    border-color: #333;
}

body.dark-mode .infobae-news-title a {
    color: #fff;
}

body.dark-mode .infobae-news-excerpt {
    color: #aaa;
}

body.dark-mode .infobae-popular {
    background: #1e1e1e;
}

body.dark-mode .infobae-popular-title {
    color: #fff;
    border-color: #4ea8de;
}

body.dark-mode .infobae-popular-item a {
    color: #ccc;
}

body.dark-mode .infobae-popular-item a:hover {
    color: #4ea8de;
}

/* ==============================================
   DARK MODE: GRID LAYOUT
   ============================================== */

body.dark-mode .home-layout--grid {
    background: #121212;
}

body.dark-mode .home-featured {
    background: #121212;
}

body.dark-mode .featured-card {
    background: #1e1e1e;
}

body.dark-mode .featured-card__title {
    color: #fff;
}

body.dark-mode .home-latest {
    background: #121212;
}

body.dark-mode .home-latest__title {
    color: #fff;
}

body.dark-mode .latest-card {
    background: #1e1e1e;
}

body.dark-mode .latest-card__title a {
    color: #fff;
}

body.dark-mode .latest-card__title a:hover {
    color: #4ea8de;
}

body.dark-mode .latest-card__meta {
    color: #888;
}

/* ==============================================
   GRID HOME LAYOUT - BASE STYLES
   ============================================== */

.home-layout--grid {
    background: #f5f5f5;
}

.home-container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured Section */
.home-featured {
    background: #fff;
    padding: 40px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    min-height: 400px;
}

@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.featured-card--main {
    grid-row: span 2;
}

.featured-card--side {
    min-height: 180px;
}

.featured-card__link {
    display: block;
    height: 100%;
    position: relative;
}

.featured-card__image {
    height: 100%;
}

.featured-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-card:hover .featured-card__image img {
    transform: scale(1.05);
}

.featured-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.featured-card__title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-card--side .featured-card__title {
    font-size: 1rem;
}

/* Latest Section */
.home-latest {
    padding: 60px 0;
    background: #f5f5f5;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .latest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .latest-grid {
        grid-template-columns: 1fr;
    }
}

.latest-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.latest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.latest-card__image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.latest-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-card__title {
    padding: 16px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.latest-card__title a {
    color: #1a1a1a;
    text-decoration: none;
}

.latest-card__title a:hover {
    color: #107c10;
}

.home-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* ==============================================
   DARK MODE: GRID LAYOUT ADDITIONAL
   ============================================== */

body.dark-mode .home-layout--grid {
    background: #0a0a0a;
}

body.dark-mode .home-featured {
    background: #121212;
}

body.dark-mode .home-latest {
    background: #0a0a0a;
}

body.dark-mode .section-title {
    color: #fff;
}

body.dark-mode .latest-card {
    background: #1e1e1e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .latest-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.dark-mode .latest-card__title a {
    color: #fff;
}

body.dark-mode .latest-card__title a:hover {
    color: #4ea8de;
}

/* ==============================================
   INFOBAE HOME LAYOUT - HERO ONLY (matching real infobae.com)
   Text BELOW image, not overlayed
   ============================================== */

.infobae-hero {
    background: #fff;
    padding: 0;
}

.infobae-container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 20px;
}

.infobae-hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    grid-template-rows: auto auto;
    gap: 0;
}

@media (max-width: 900px) {
    .infobae-hero-grid {
        grid-template-columns: 1fr;
    }
}

.infobae-hero-main {
    grid-row: span 2;
    border-right: 1px solid #ddd;
    padding-right: 20px;
}

@media (max-width: 900px) {
    .infobae-hero-main {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

.infobae-hero-link {
    display: block;
    text-decoration: none;
}

.infobae-hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Main hero content - TEXT BELOW IMAGE, not overlayed */
.infobae-hero-main .infobae-hero-link {
    display: flex;
    flex-direction: column;
}

.infobae-hero-main .infobae-hero-content {
    position: static;
    background: none;
    padding: 0 0 16px;
    order: -1;
    /* Forzar que vaya PRIMERO */
}

.infobae-hero-main .infobae-hero-img {
    order: 1;
    position: static !important;
    /* FORZAR que NO esté absolute */
}

.infobae-hero-main .infobae-hero-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.2;
}

/* Small cards - TEXT BELOW IMAGE */
.infobae-hero-small {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.infobae-hero-small:last-child {
    border-bottom: none;
}

/* Small cards - TEXT BELOW IMAGE */
.infobae-hero-small .infobae-hero-link {
    display: flex;
    flex-direction: column;
}

.infobae-hero-small .infobae-hero-content {
    position: static;
    background: none;
    padding: 0 0 12px;
    order: -1;
    /* Texto PRIMERO */
}

.infobae-hero-small .infobae-hero-img {
    order: 1;
    position: static !important;
    /* FORZAR que NO esté absolute */
}

.infobae-hero-small .infobae-hero-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

/* Category tag - hidden */
.infobae-cat {
    display: none;
}

/* Featured Grid Section */
.infobae-featured {
    background: var(--c-bg);
    padding: 30px 0;
}

.infobae-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .infobae-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .infobae-featured-grid {
        grid-template-columns: 1fr;
    }
}

.infobae-featured-img {
    display: block;
    margin-bottom: 12px;
}

.infobae-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.infobae-featured-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.3;
}

.infobae-featured-title a {
    color: inherit;
    text-decoration: none;
}

.infobae-featured-title a:hover {
    color: #e91e63;
}

.infobae-featured-author {
    font-size: 0.85rem;
    color: #888;
}

/* Remove ALL borders from infobae hero */
.infobae-hero-main {
    border: none !important;
}

.infobae-hero-small {
    border: none !important;
}

/* ==============================================
   INFOBAE DARK MODE
   ============================================== */

body.dark-mode .home-layout--infobae {
    background: #0a0a0a;
}

body.dark-mode .infobae-hero {
    background: #0a0a0a;
}

body.dark-mode .infobae-hero-main {
    border-right: none;
}

body.dark-mode .infobae-hero-small {
    border-bottom: none;
}

body.dark-mode .infobae-hero-main .infobae-hero-content h2,
body.dark-mode .infobae-hero-small .infobae-hero-content h3 {
    color: #fff;
}

body.dark-mode .infobae-hero-content p {
    color: #aaa;
}

/* Featured grid dark mode */
body.dark-mode .infobae-featured {
    background: #0a0a0a;
}

body.dark-mode .infobae-featured-title,
body.dark-mode .infobae-featured-title a {
    color: #fff;
}

body.dark-mode .infobae-featured-title a:hover {
    color: #e91e63;
}

body.dark-mode .infobae-featured-author {
    color: #888;
}

body.dark-mode .infobae-main {
    background: #121212;
}

body.dark-mode .infobae-section-title {
    color: #fff;
    border: none;
}

body.dark-mode .infobae-news-item {
    border: none;
}

body.dark-mode .infobae-news-content h3 a {
    color: #fff;
}

body.dark-mode .infobae-news-content h3 a:hover {
    color: #e91e63;
}

body.dark-mode .infobae-news-content p {
    color: #aaa;
}

body.dark-mode .infobae-news-content time {
    color: #888;
}

body.dark-mode .infobae-sidebar {
    background: transparent;
}

body.dark-mode .infobae-sidebar-sticky {
    background: transparent;
}

body.dark-mode .infobae-sidebar-title {
    color: #fff;
    border: none;
}

body.dark-mode .infobae-popular-list {
    background: transparent;
}

body.dark-mode .infobae-popular-content h4 a {
    color: #ccc;
}

body.dark-mode .infobae-popular-content h4 a:hover {
    color: #e91e63;
}

body.dark-mode .infobae-popular-content time {
    color: #888;
}