/* ============================================================
   3xe Noticias — Premium Digital Magazine Design System
   ============================================================ */

/* --- Custom Properties & Theme Palette --- */
:root {
    --bg-color: #090d16;
    --card-bg: rgba(20, 28, 44, 0.75);
    --card-hover-bg: rgba(28, 39, 60, 0.9);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #38bdf8;

    /* Category Specific Colors */
    --cat-agua: #06b6d4;      /* Cyan */
    --cat-tierra: #e67e22;    /* Amber Orange */
    --cat-aire: #38bdf8;      /* Sky Blue */
    --cat-env-ve: #10b981;    /* Emerald Green (VE) */
    --cat-env-world: #3b82f6; /* Global Blue */
    --cat-partner: #f59e0b;   /* Amber Gold */

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-brand: 'Outfit', sans-serif;

    /* Glassmorphism & UI Tokens */
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --card-hover-bg: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-border-hover: rgba(15, 23, 42, 0.2);
    --glass-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
}

/* --- Base & Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, color 0.3s ease;
}

img, picture, svg, video {
    max-width: 100% !important;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ============================================================
   1. LIVE BREAKING NEWS TICKER
   ============================================================ */
.ticker-bar {
    background: linear-gradient(90deg, #05080e 0%, #0d1b3e 50%, #05080e 100%);
    background-size: 200% auto;
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 38px;
    font-size: 0.82rem;
    position: relative;
    z-index: 1002;
}

.ticker-label {
    background: #e11d48;
    color: #ffffff;
    font-weight: 800;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.5);
}

.ticker-pulse {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 45s linear infinite;
    padding-left: 1rem;
}

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

.ticker-item {
    color: var(--text-muted);
    padding: 0 1.8rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

.ticker-item:hover {
    color: var(--accent-color);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   2. NAVBAR & NAVIGATION
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}

.logo .logo-3xe {
    font-family: var(--font-brand);
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
}

.logo-tagline {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-tagline .logo-text {
    font-family: var(--font-brand);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: 0.5px;
}

.logo-tagline .logo-sub {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-top: 2px;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.4rem 1rem 0.4rem 2.2rem;
    color: var(--text-main);
    font-size: 0.82rem;
    width: 140px;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.search-input:focus {
    width: 190px;
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.12);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    pointer-events: none;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Selector de Idioma (ES | EN) */
.lang-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2px;
    gap: 2px;
    flex-shrink: 0;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.65rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
    user-select: none;
}

.lang-flag {
    display: inline-block;
    width: 15px;
    height: 10px;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
    vertical-align: middle;
    flex-shrink: 0;
}

.lang-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sub Navigation (Pills) */
.sub-nav-container {
    background: rgba(5, 8, 14, 0.95);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 0;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sub-nav-container::-webkit-scrollbar { display: none; }
.sub-nav-container.hidden { display: none; }

.sub-nav-links {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    gap: 0.5rem;
}

.sub-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    transition: all 0.2s ease;
    cursor: pointer;
}

.sub-nav-link:hover, .sub-nav-link.active {
    color: #000;
    background: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 700;
}

/* ============================================================
   3. 3-COLUMN EDITORIAL LAYOUT (LEFT 215px + FEED 1fr + RIGHT 235px)
   ============================================================ */
.page-layout {
    display: grid;
    grid-template-columns: 215px minmax(0, 1fr) 235px;
    gap: 1.25rem;
    align-items: start;
    margin-top: 1.25rem;
    margin-bottom: 3.5rem;
    width: 100%;
}

.main-feed {
    min-width: 0;
    width: 100%;
}

.sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.sidebar-left {
    width: 100%;
    max-width: 215px;
    min-width: 0;
    overflow: hidden;
}

.sidebar-right {
    width: 100%;
    max-width: 235px;
    min-width: 0;
    overflow: hidden;
}

.sidebar-sticky {
    position: sticky;
    top: 85px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* ============================================================
   4. HERO FEATURED STORY CARD
   ============================================================ */
.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 2rem;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
    border-color: var(--glass-border-hover);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    z-index: 0;
}

.hero-card:hover .hero-bg-img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.98) 0%, rgba(9, 13, 22, 0.6) 50%, rgba(9, 13, 22, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 1.75rem 2rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-excerpt {
    font-size: 0.92rem;
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    position: relative;
    color: var(--text-main);
}

/* ============================================================
   5. NEWS GRID & CARD STYLES (EXACT 3 COLUMNS)
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.news-grid-small {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin-top: 1.5rem;
}

/* Standard Card */
.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.4s ease-out;
    min-width: 0;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow);
    border-color: var(--glass-border-hover);
    background: var(--card-hover-bg);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-img {
    height: 155px;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0.2rem 0.55rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 2;
}

.card-content {
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.35rem;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-excerpt {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.55rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.card-source {
    font-weight: 600;
    color: var(--accent-color);
}

/* Category Badge Classes */
.badge-agua      { background-color: var(--cat-agua) !important; color: #000 !important; }
.badge-tierra    { background-color: var(--cat-tierra) !important; color: #fff !important; }
.badge-aire      { background-color: var(--cat-aire) !important; color: #000 !important; }
.badge-env-ve    { background-color: var(--cat-env-ve) !important; color: #fff !important; }
.badge-env-world { background-color: var(--cat-env-world) !important; color: #fff !important; }
.badge-partner   { background-color: var(--cat-partner); color: #000; font-weight: bold; }

/* Small Compact Card Variant */
.card.small {
    height: 95px;
}
.card.small .card-link { flex-direction: row; }
.card.small .card-img { width: 95px; height: 100%; flex-shrink: 0; }
.card.small .card-content { padding: 0.55rem 0.75rem; justify-content: center; }
.card.small .card-title { font-size: 0.86rem; margin-bottom: 0.15rem; }
.card.small .card-excerpt { display: none; }
.card.small .card-footer { border-top: none; padding-top: 0.1rem; font-size: 0.7rem; }

/* ============================================================
   6. IN-FEED SPONSORS (EDITORIAL & UNCLIPPED BILLBOARD)
   ============================================================ */

/* Base compartida de alto impacto para Banners Horizontales Compactos */
.sponsor-billboard-card {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    margin: 1rem 0;
    min-height: auto;
    padding: 0.75rem 1.15rem;
    gap: 1.15rem;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.sponsor-billboard-card:hover {
    transform: translateY(-2px);
}

.sponsor-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}

.sponsor-verified-badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.sponsor-text-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sponsor-action-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding-left: 0.4rem;
}

.sponsor-micro-meta {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}

/* 1. ToyTeq 4x4 Featured Sponsor Banner (Clean Modular Showcase) */
#toyteq-sponsor.toyteq-billboard {
    background: linear-gradient(135deg, rgba(20, 24, 33, 0.98) 0%, rgba(13, 17, 26, 0.99) 60%, rgba(26, 20, 22, 0.95) 100%);
    border: 1px solid rgba(225, 29, 72, 0.45);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(225, 29, 72, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0.85rem 1.25rem;
    min-height: auto;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

#toyteq-sponsor.toyteq-billboard:hover {
    transform: translateY(-2px);
    border-color: rgba(225, 29, 72, 0.85);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 22px rgba(225, 29, 72, 0.2);
}

/* 1.1 Caja de Imagen Fotográfica Prominente */
.toyteq-img-box {
    flex: 0 0 260px !important;
    width: 260px !important;
    height: 140px !important;
    max-height: 140px !important;
    align-self: center !important;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 1px solid rgba(225, 29, 72, 0.4);
    padding: 0;
    position: relative;
    flex-shrink: 0;
}

.toyteq-img-box img {
    width: 100% !important;
    height: 100% !important;
    max-height: 140px !important;
    object-fit: cover !important;
    border-radius: 9px;
    display: block;
    transition: transform 0.35s ease;
}

#toyteq-sponsor.toyteq-billboard:hover .toyteq-img-box img {
    transform: scale(1.04);
}

.toyteq-img-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
    color: #fda4af;
    border: 1px solid rgba(225, 29, 72, 0.5);
    padding: 0.15rem 0.5rem;
    border-radius: 5px;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* 1.2 Cuerpo de Contenido (Texto + Botón) */
.toyteq-body-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.15rem;
    min-width: 0;
}

.toyteq-text-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.toyteq-brand-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
    flex-wrap: wrap;
}

.toyteq-brand-logo {
    width: 105px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 24px !important;
    object-fit: contain !important;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.toyteq-tag-specialist {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    background: rgba(225, 29, 72, 0.15);
    color: #fda4af;
    border: 1px solid rgba(225, 29, 72, 0.3);
}

.toyteq-title-clean {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0.1rem 0 0.2rem;
    line-height: 1.25;
    letter-spacing: -0.1px;
}

.toyteq-desc-clean {
    color: #cbd5e1;
    font-size: 0.82rem;
    line-height: 1.4;
    max-width: 580px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 1.3 Columna de Acción con Botón Traslúcido */
.toyteq-action-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding-left: 0.4rem;
}

.toyteq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toyteq-btn-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

#toyteq-sponsor.toyteq-billboard:hover .toyteq-cta-btn {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.45);
    transform: translateY(-1px);
}

#toyteq-sponsor.toyteq-billboard:hover .toyteq-btn-arrow {
    transform: translateX(3px);
}

.toyteq-meta-sub {
    font-size: 0.65rem;
    color: var(--text-muted, #94a3b8);
    letter-spacing: 0.2px;
}

/* 2. Parque 3XE Banner (Billboard Panorámico) */
.promo-box.parque-billboard {
    background: linear-gradient(135deg, rgba(20, 28, 38, 0.98) 0%, rgba(12, 17, 26, 0.99) 60%, rgba(22, 36, 48, 0.95) 100%);
    border: 1px solid rgba(245, 158, 11, 0.55);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.12);
    padding: 0.85rem 1.25rem;
    gap: 1.25rem;
}

.promo-box.parque-billboard:hover {
    border-color: rgba(245, 158, 11, 0.9);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 25px rgba(245, 158, 11, 0.25);
}

.promo-box-img {
    flex: 0 0 260px !important;
    width: 260px !important;
    height: 140px !important;
    max-height: 140px !important;
    align-self: center !important;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 0;
    flex-shrink: 0;
}

.promo-box-img img {
    width: 100% !important;
    height: 100% !important;
    max-height: 140px !important;
    object-fit: contain !important;
    border-radius: 9px;
    display: block;
    transition: transform 0.3s ease;
}

.promo-box.parque-billboard:hover .promo-box-img img {
    transform: scale(1.03);
}

.promo-box-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.15rem;
    min-width: 0;
}

.promo-box-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0.15rem 0 0.25rem;
    color: #fff;
    line-height: 1.25;
}

.promo-box-desc {
    color: #cbd5e1;
    font-size: 0.8rem;
    line-height: 1.38;
    max-width: 620px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promo-box-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.2px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.promo-box-cta:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 5px 18px rgba(245, 158, 11, 0.6);
}

.parque-btn-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.promo-box:hover .parque-btn-arrow {
    transform: translateX(3px);
}

/* 3. Amazon Curated Gear Banner (Billboard Gear) */
.gear-banner.amazon-billboard {
    background: linear-gradient(135deg, rgba(32, 26, 18, 0.98) 0%, rgba(18, 22, 30, 0.99) 60%, rgba(30, 24, 16, 0.95) 100%);
    border: 1px solid rgba(255, 153, 0, 0.45);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 153, 0, 0.1);
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
}

.gear-banner.amazon-billboard.fade-out {
    opacity: 0.35;
}

.gear-banner.amazon-billboard:hover {
    border-color: rgba(255, 153, 0, 0.85);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 153, 0, 0.22);
}

.gear-banner-img {
    flex: 0 0 130px !important;
    width: 130px !important;
    height: 105px !important;
    max-height: 105px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #ffffff 40%, #f1f5f9 100%);
    border-radius: 8px;
    overflow: hidden;
    padding: 0.4rem;
    box-sizing: border-box;
    border: 1px solid rgba(255, 153, 0, 0.45);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.gear-banner-img img {
    max-width: 100% !important;
    max-height: 95px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.gear-banner.amazon-billboard:hover .gear-banner-img img {
    transform: scale(1.05);
}

.gear-banner-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.15rem;
    min-width: 0;
}

.gear-banner-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #FF9900, #e88b00);
    color: #000;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(255, 153, 0, 0.35);
}

.gear-banner-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0.15rem 0 0.25rem;
    line-height: 1.25;
}

[data-theme="light"] .gear-banner-title {
    color: #0f172a !important;
}

.gear-banner-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.38;
    max-width: 620px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="light"] .gear-banner-desc {
    color: #475569 !important;
}

[data-theme="light"] .gear-banner.amazon-billboard {
    background: #ffffff !important;
    border-color: rgba(255, 153, 0, 0.45) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

.gear-banner-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF9900, #e88b00);
    color: #000;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(255, 153, 0, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gear-banner-cta:hover {
    transform: scale(1.04);
    box-shadow: 0 5px 18px rgba(255, 153, 0, 0.5);
}

/* Adaptación fluida en tablets y pantallas intermedias */
@media (max-width: 860px) {
    .sponsor-billboard-card {
        padding: 0.75rem 1rem !important;
        gap: 1rem !important;
    }
    .toyteq-img-box, .promo-box-img {
        flex: 0 0 190px !important;
        width: 190px !important;
        height: 120px !important;
        max-height: 120px !important;
    }
    .toyteq-img-box img, .promo-box-img img {
        max-height: 120px !important;
    }
    .gear-banner-img {
        flex: 0 0 120px !important;
        width: 120px !important;
        height: 110px !important;
        max-height: 110px !important;
    }
    .gear-banner-img img {
        max-height: 95px !important;
    }
    .toyteq-title-clean, .promo-box-title, .gear-banner-title {
        font-size: 0.92rem !important;
    }
    .toyteq-desc-clean, .promo-box-desc, .gear-banner-desc {
        font-size: 0.75rem !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* ============================================================
   7. SIDEBAR WIDGETS & SPONSOR CARDS (160px PROPORTIONED)
   ============================================================ */
.sidebar-widget {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sidebar-widget .widget-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--accent-color);
    color: var(--text-main);
}

/* Spots Weather Widget */
.spot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spot-item:last-child { border-bottom: none; }
.spot-name { font-weight: 600; font-size: 0.82rem; }
.spot-meta { font-size: 0.7rem; color: var(--text-muted); }

.spot-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}
.spot-optimo { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.spot-kite   { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.spot-roca   { background: rgba(74, 222, 128, 0.15); color: #4ade80; }

/* Popular Sports List */
.popular-list { list-style: none; }
.popular-list li { padding: 0.35rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.popular-list li:last-child { border-bottom: none; }
.popular-list a {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s, padding-left 0.2s;
}
.popular-list a:hover { color: var(--accent-color); padding-left: 0.25rem; }
.popular-list a span { font-size: 0.75rem; opacity: 0.5; }

/* Sidebar Sponsor Cards (100% Complete Flyer View - Editorial Clean) */
.sidebar-partner-slot {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: var(--card-bg, #0d131f);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.sidebar-partner-slot:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}

.sidebar-partner-img-box {
    width: 100%;
    max-width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

.sidebar-partner-img-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 270px !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
    transition: transform 0.35s ease;
}

.sidebar-partner-slot:hover .sidebar-partner-img-box img {
    transform: scale(1.03);
}

.sidebar-partner-info {
    padding: 0.75rem 0.85rem;
    background: linear-gradient(180deg, rgba(13, 19, 31, 0.98) 0%, rgba(8, 12, 20, 1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sidebar-partner-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 24px;
}

.sidebar-partner-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    white-space: normal;
    word-break: break-word;
}

.sidebar-partner-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-color, #38bdf8);
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
    text-decoration: none;
}

.sidebar-partner-slot:hover .sidebar-partner-cta-link {
    color: #ffffff;
    transform: translateX(3px);
}

.badge-partner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.6rem;
    border-radius: 8px;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.4px;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
}
.badge-partner.default { background: rgba(245, 158, 11, 0.2) !important; color: #fbbf24 !important; border: 1px solid rgba(245, 158, 11, 0.45) !important; }
.badge-partner.tierra  { background: rgba(239, 68, 68, 0.2) !important; color: #fca5a5 !important; border: 1px solid rgba(239, 68, 68, 0.45) !important; }
.badge-partner.aire    { background: rgba(56, 189, 248, 0.2) !important; color: #7dd3fc !important; border: 1px solid rgba(56, 189, 248, 0.45) !important; }
.badge-partner.agua    { background: rgba(20, 184, 166, 0.2) !important; color: #5eead4 !important; border: 1px solid rgba(20, 184, 166, 0.45) !important; }

/* Amazon Sidebar Card - Showcase Vertical Premium */
.sidebar-gear-vertical-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg, #0d131f);
    border: 1px solid rgba(255, 159, 0, 0.35);
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-gear-vertical-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 159, 0, 0.75);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 159, 0, 0.2);
}

.sidebar-gear-vertical-img {
    width: 100%;
    height: 165px;
    background: radial-gradient(circle at center, #ffffff 40%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    box-sizing: border-box;
}

.sidebar-gear-vertical-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
    transition: transform 0.35s ease;
}

.sidebar-gear-vertical-card:hover .sidebar-gear-vertical-img img {
    transform: scale(1.05);
}

.gear-tag-floating {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(13, 19, 31, 0.88);
    backdrop-filter: blur(4px);
    color: #ff9900;
    border: 1px solid rgba(255, 153, 0, 0.6);
    padding: 0.18rem 0.55rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.sidebar-gear-vertical-body {
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.gear-v-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main, #ffffff);
    line-height: 1.3;
    margin: 0;
}

[data-theme="light"] .gear-v-title {
    color: #0f172a !important;
}

.gear-v-desc {
    font-size: 0.76rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.44;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="light"] .gear-v-desc {
    color: #475569 !important;
}

[data-theme="light"] .sidebar-gear-vertical-card {
    background: #ffffff !important;
    border-color: rgba(255, 159, 0, 0.45) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .sidebar-gear-vertical-card:hover {
    box-shadow: 0 8px 25px rgba(255, 159, 0, 0.25) !important;
    border-color: rgba(255, 159, 0, 0.85) !important;
}

[data-theme="light"] .gear-v-cta {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
    color: #c2410c !important;
    border-color: rgba(234, 88, 12, 0.5) !important;
}

[data-theme="light"] .sidebar-gear-vertical-card:hover .gear-v-cta {
    background: linear-gradient(135deg, #FF9900 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border-color: #FF9900 !important;
}

.gear-v-footer {
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.gear-v-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.18) 0%, rgba(255, 153, 0, 0.08) 100%);
    color: #ffb033;
    border: 1px solid rgba(255, 153, 0, 0.45);
    padding: 0.38rem 0.85rem;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
}

.sidebar-gear-vertical-card:hover .gear-v-cta {
    background: linear-gradient(135deg, #FF9900 0%, #e88b00 100%);
    color: #000000;
    border-color: #FF9900;
    box-shadow: 0 4px 14px rgba(255, 153, 0, 0.45);
    transform: translateY(-1px);
}

.about-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.48;
}

/* ============================================================
   7.1 ADVANCED OUTDOOR WEATHER MONITOR
   ============================================================ */
.weather-widget {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.weather-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.weather-widget-header .widget-title {
    margin: 0;
    font-size: 0.92rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.weather-geo-btn {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--accent-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.weather-geo-btn:hover {
    background: var(--accent-color);
    color: #000;
    transform: scale(1.08);
}

.weather-search-box-wrap {
    position: relative;
    width: 100%;
}

.weather-search-input-inner {
    position: relative;
    display: flex;
    align-items: center;
}

.weather-search-input-inner .w-search-icon {
    position: absolute;
    left: 0.65rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    pointer-events: none;
}

.weather-search-input {
    width: 100%;
    background: rgba(2, 6, 23, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.76rem;
    padding: 0.42rem 1.8rem 0.42rem 2rem;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
}

.weather-search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
    background: rgba(15, 23, 42, 0.95);
}

.weather-search-input::placeholder {
    color: #64748b;
    font-size: 0.72rem;
}

.weather-clear-btn {
    position: absolute;
    right: 0.45rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.72rem;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 50%;
}

.weather-clear-btn:hover {
    color: #ffffff;
}

.weather-search-results {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #090f1d;
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.weather-search-item {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.weather-search-item:hover {
    background: rgba(56, 189, 248, 0.15);
}

.weather-search-item-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #ffffff;
}

.weather-search-item-sub {
    font-size: 0.66rem;
    color: var(--text-muted);
}

.weather-spot-picker-wrap {
    width: 100%;
}

.weather-spot-select {
    width: 100%;
    background: rgba(2, 6, 23, 0.75);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.weather-spot-select:focus {
    border-color: var(--accent-color);
}

.weather-spot-select optgroup {
    background: #0b1222;
    color: var(--accent-color);
    font-weight: 700;
}

.weather-spot-select option {
    background: #0f172a;
    color: #ffffff;
    font-weight: 500;
}

.weather-display {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    min-height: 105px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.weather-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 1rem 0;
}

.weather-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(56, 189, 248, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.weather-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.weather-temp-wrap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.weather-icon-big {
    font-size: 1.75rem;
    line-height: 1;
}

.weather-temp {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.weather-condition-badge {
    padding: 0.22rem 0.55rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.weather-badge-optimo {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.weather-badge-kite {
    background: rgba(56, 189, 248, 0.18);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.weather-badge-roca {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.weather-badge-alerta {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.weather-badge-calma {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.weather-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.6rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.45rem;
}

.weather-detail-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.weather-detail-item strong {
    color: #e2e8f0;
}

.weather-forecast-toggle {
    display: flex;
    background: rgba(2, 6, 23, 0.6);
    border-radius: 10px;
    padding: 2px;
    gap: 2px;
}

.weather-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.weather-tab-btn:hover {
    color: #ffffff;
}

.weather-tab-btn.active {
    background: rgba(56, 189, 248, 0.18);
    color: var(--accent-color);
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.weather-3days-view {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    animation: fadeIn 0.25s ease;
}

.weather-day-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    font-size: 0.74rem;
}

.weather-day-name {
    font-weight: 700;
    color: #f1f5f9;
    width: 65px;
}

.weather-day-icon {
    font-size: 1.05rem;
}

.weather-day-temps {
    color: #cbd5e1;
    font-weight: 600;
}

.weather-day-rain {
    font-size: 0.68rem;
    color: #38bdf8;
}

/* ============================================================
   7.2 RADAR DE EVENTOS & CONVOCATORIAS (Outdoor Events Calendar)
   ============================================================ */
.events-widget {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
}

.events-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.events-widget-header .widget-title {
    margin: 0;
    font-size: 0.92rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.events-count-pill {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.18rem 0.55rem;
    border-radius: 12px;
}

/* Tarjeta Destacada de Evento Inminente */
.event-featured-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.event-featured-card:hover {
    border-color: rgba(245, 158, 11, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.event-card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.event-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.event-sport-tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
}

.event-card-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.event-card-location {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
}

.event-card-action {
    color: #f59e0b;
    font-weight: 700;
}

/* Modal / Desplegable Completo de Eventos */
.events-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.events-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.events-modal-box {
    background: #0d1527;
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 20px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.15);
    overflow: hidden;
    animation: zoomInModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomInModal {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.events-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.6);
}

.events-modal-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.events-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #cbd5e1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.events-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.events-filters-bar {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: rgba(2, 6, 23, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
}

.events-filters-bar::-webkit-scrollbar {
    display: none;
}

.event-filter-pill {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.event-filter-pill:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.event-filter-pill.active {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    color: #f59e0b;
}

.events-list-container {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.event-item-row {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.2s ease;
}

.event-item-row:hover {
    border-color: rgba(245, 158, 11, 0.45);
}

.event-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.event-item-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.event-item-desc {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
}

.event-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.76rem;
}

.event-item-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000;
    padding: 0.35rem 0.85rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 0.74rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.event-item-link-btn:hover {
    transform: scale(1.04);
}

/* ============================================================
   8. ARTICLE READER VIEW (SPA)
   ============================================================ */
.article-view {
    padding: 1rem 0 3rem;
    max-width: 820px;
    margin: 0 auto;
    animation: fadeIn 0.35s ease forwards;
}

.back-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.45rem 1.1rem;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 1.25rem;
    transition: all 0.2s;
    font-family: var(--font-body);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.article-header {
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.article-meta .date {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.article-source-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.4rem;
}

.article-source {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-source span {
    color: var(--accent-color);
    font-weight: 600;
}

.article-ai-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.65rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #7dd3fc;
    letter-spacing: 0.2px;
}

.article-featured-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
}

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

.article-body {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

.article-body p {
    margin-bottom: 1.4rem;
    text-align: justify;
}

.article-body img {
    max-width: 100% !important;
    max-height: 480px !important;
    width: auto !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: var(--radius-md) !important;
    margin: 1.5rem auto !important;
    display: block !important;
}

/* In-Article Amazon Slot (Diseño equilibrado y armónico con la lectura) */
.article-amazon-slot {
    background: linear-gradient(135deg, rgba(32, 26, 18, 0.98) 0%, rgba(18, 22, 30, 0.99) 60%, rgba(30, 24, 16, 0.95) 100%);
    border: 1px solid rgba(255, 153, 0, 0.45);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 153, 0, 0.1);
    border-radius: var(--radius-lg, 16px);
    padding: 1.1rem 1.35rem;
    margin: 2.2rem 0;
    display: flex;
    align-items: center;
    gap: 1.35rem;
    min-height: 120px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

[data-theme="light"] .article-amazon-slot {
    background: #ffffff !important;
    border-color: rgba(255, 153, 0, 0.45) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07) !important;
}

.article-amazon-slot:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 153, 0, 0.85);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 153, 0, 0.2);
}

.article-amazon-slot-img {
    flex: 0 0 140px;
    width: 140px;
    height: 110px;
    background: radial-gradient(circle at center, #ffffff 45%, #f1f5f9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
    box-sizing: border-box;
    border: 1px solid rgba(255, 153, 0, 0.4);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.article-amazon-slot-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.article-amazon-slot:hover .article-amazon-slot-img img {
    transform: scale(1.06);
}

.article-amazon-slot-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-width: 0;
}

.article-amazon-text-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-amazon-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.article-amazon-badge-row .gear-banner-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #FF9900, #e88b00);
    color: #000;
    padding: 0.22rem 0.65rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 6px rgba(255, 153, 0, 0.4);
}

.article-amazon-verified-badge {
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .article-amazon-verified-badge {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}

.article-amazon-slot-content .gear-banner-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0.15rem 0 0.35rem;
    line-height: 1.3;
}

[data-theme="light"] .article-amazon-slot-content .gear-banner-title {
    color: #0f172a !important;
}

.article-amazon-slot-content .gear-banner-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

[data-theme="light"] .article-amazon-slot-content .gear-banner-desc {
    color: #475569 !important;
}

.article-amazon-action-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding-left: 0.5rem;
}

.article-amazon-action-col .gear-banner-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF9900, #e88b00);
    color: #000;
    padding: 0.65rem 1.3rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-amazon-action-col .gear-banner-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 153, 0, 0.6);
}

.article-amazon-action-col .sponsor-micro-meta {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}

@media (max-width: 680px) {
    .article-amazon-slot {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1.1rem !important;
        gap: 1rem !important;
    }
    .article-amazon-slot-img {
        width: 100% !important;
        height: 140px !important;
        flex: 0 0 140px !important;
    }
    .article-amazon-slot-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    .article-amazon-action-col {
        width: 100% !important;
        padding-left: 0 !important;
        align-items: stretch !important;
    }
    .article-amazon-action-col .gear-banner-cta {
        width: 100% !important;
        justify-content: center !important;
    }
}

.article-cta-box {
    text-align: center;
    margin: 2rem 0 1.5rem;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    padding: 0.7rem 1.75rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: scale(1.04);
    background: #7dd3fc;
}

.social-share-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

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

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
}

.share-btn:hover { transform: translateY(-2px); }
.share-btn-wa { background: #25D366; }
.share-btn-tg { background: #0088cc; }
.share-btn-copy { background: rgba(255, 255, 255, 0.12); border: 1px solid var(--glass-border); }

.load-more-wrapper {
    text-align: center;
    margin-top: 2rem;
    display: none;
}

/* ============================================================
   9. FOOTER & TRANSPARENCY MODAL
   ============================================================ */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.editorial-disclaimer {
    font-size: 0.78rem;
    margin-top: 0.75rem;
    color: #64748b;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* AI Transparency Badge & Policy Modal */
.ai-transparency-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.65rem 1.25rem;
    border-radius: 12px;
    margin: 1rem auto 0.5rem;
    max-width: 680px;
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.ai-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.policy-modal-link {
    background: none;
    border: none;
    color: var(--accent-color, #38bdf8);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0.2rem 0.4rem;
    transition: color 0.2s;
}

.policy-modal-link:hover {
    color: #ffffff;
}

/* Modal Window */
.policy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 8, 16, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1.5rem;
    box-sizing: border-box;
    animation: fadeIn 0.25s ease-out;
}

.policy-modal-card {
    background: #090f1d;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 660px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.policy-modal-header {
    padding: 1.25rem 1.5rem;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.policy-modal-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.policy-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.policy-modal-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.3;
}

.policy-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.policy-close-btn:hover {
    background: rgba(225, 29, 72, 0.2);
    color: #f43f5e;
    border-color: rgba(225, 29, 72, 0.4);
    transform: scale(1.08);
}

.policy-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.policy-section-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.policy-section-body {
    margin: 0;
    color: #94a3b8;
}

.policy-box-highlight {
    background: rgba(56, 189, 248, 0.06);
    border-left: 3px solid #38bdf8;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    color: #e2e8f0;
}

.last-update {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: rgba(9, 13, 22, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.72rem;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
    z-index: 999;
}

/* ============================================================
   10. RESPONSIVE BREAKPOINTS (3-COLUMN -> 2-COLUMN -> 1-COLUMN)
   ============================================================ */
@media (max-width: 1200px) {
    .page-layout {
        grid-template-columns: 195px minmax(0, 1fr) 215px;
        gap: 1rem;
    }
    .card-img {
        height: 140px;
    }
}

@media (max-width: 1020px) {
    .page-layout {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 1.25rem;
    }
    .sidebar-left {
        display: none;
    }
    .news-grid, .news-grid-small {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .page-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .news-grid, .news-grid-small {
        grid-template-columns: 1fr;
    }
    .hero-card { height: 280px; }
    .hero-title { font-size: 1.4rem; }
    .hero-content { padding: 1.25rem; }

    #toyteq-sponsor.toyteq-billboard, .promo-box.parque-billboard, .gear-banner.amazon-billboard {
        flex-direction: row !important;
        align-items: center !important;
        padding: 0.7rem 0.9rem !important;
        gap: 0.85rem !important;
    }
    .toyteq-img-box, .promo-box-img {
        width: 145px !important;
        flex: 0 0 145px !important;
        height: 105px !important;
        max-height: 105px !important;
    }
    .toyteq-img-box img, .promo-box-img img {
        max-height: 105px !important;
    }
    .gear-banner-img {
        width: 105px !important;
        flex: 0 0 105px !important;
        height: 100px !important;
        max-height: 100px !important;
    }
    .gear-banner-img img {
        max-height: 85px !important;
    }
    .toyteq-body-content, .promo-box-content, .gear-banner-content {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.65rem !important;
        width: 100% !important;
    }
    .toyteq-title-clean, .promo-box-title, .gear-banner-title {
        font-size: 0.88rem !important;
        margin: 0 0 0.15rem 0 !important;
    }
    .toyteq-desc-clean, .promo-box-desc, .gear-banner-desc {
        font-size: 0.72rem !important;
        line-height: 1.3 !important;
        -webkit-line-clamp: 2 !important;
    }
    .toyteq-action-col, .sponsor-action-col {
        width: auto !important;
        align-items: center !important;
        padding-left: 0.25rem !important;
        flex-shrink: 0 !important;
    }
    .toyteq-cta-btn, .promo-box-cta, .gear-banner-cta {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.7rem !important;
        white-space: nowrap !important;
    }
    .toyteq-meta-sub, .sponsor-micro-meta {
        display: none !important;
    }

    .sidebar-sticky {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }
    .sidebar-sticky::-webkit-scrollbar { display: none; }

    .sidebar-widget, .sidebar-partner-slot {
        scroll-snap-align: center;
        flex: 0 0 85%;
        max-width: 85%;
        margin-bottom: 0;
    }

    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(9, 13, 22, 0.98);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.75rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }
    .nav-links.active { display: flex; }

    .search-input { width: 110px; }
    .search-input:focus { width: 140px; }

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

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(9, 13, 22, 0.96);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid var(--glass-border);
        z-index: 9999;
        padding: 0.6rem 0 calc(0.6rem + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.72rem;
        gap: 2px;
    }

    .mobile-bottom-nav .nav-item.active { color: var(--accent-color); }
    body { padding-bottom: 60px; }
}

/* ============================================================
   NEWSLETTER & WHATSAPP SUBSCRIPTION SECTION
   ============================================================ */
.newsletter-section {
    background: linear-gradient(135deg, rgba(16, 24, 40, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: 3.5rem;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .newsletter-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-color: rgba(34, 197, 94, 0.2);
}

.newsletter-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.sub-badge-row {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.sub-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.sub-pill.whatsapp-pill {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.sub-pill.email-pill {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.newsletter-content h2 {
    font-size: 1.95rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.newsletter-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

/* Tabs switcher */
.sub-tabs-wrapper {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    gap: 4px;
    margin-bottom: 0.5rem;
}

[data-theme="light"] .sub-tabs-wrapper {
    background: #e2e8f0;
}

.sub-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.55rem 1.25rem;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.sub-tab-btn:hover {
    color: var(--text-main);
}

.sub-tab-btn.active {
    background: var(--card-bg);
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--glass-border);
}

#tab-sub-whatsapp.active {
    color: #25d366;
}

/* Panels */
.sub-panel {
    width: 100%;
    max-width: 600px;
    animation: fadeIn 0.3s ease;
}

.wa-action-box {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.wa-channel-cta {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 1rem;
}

.wa-cta-text h4 {
    color: #25d366;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.wa-cta-text p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

.wa-btn-channel {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    flex-shrink: 0;
}

.wa-btn-channel:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.wa-divider-text {
    position: relative;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wa-divider-text::before, .wa-divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

/* Form Styles */
.newsletter-form {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 0.95rem;
    transition: border 0.2s, background 0.2s;
}

[data-theme="light"] .newsletter-form input {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.wa-input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.wa-input-prefix {
    position: absolute;
    left: 1rem;
    font-size: 1.1rem;
    pointer-events: none;
}

.wa-input-group input {
    width: 100%;
    padding-left: 2.8rem;
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    border: none;
    background: var(--accent-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #0ea5e9;
    transform: translateY(-1px);
}

.wa-submit-btn {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-submit-btn:hover {
    background: #20ba59;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.mail-hint-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* Feedback message */
.wa-feedback-msg {
    margin-top: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 0.25s ease;
}

.wa-feedback-msg.success {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.wa-feedback-msg.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.wa-feedback-msg.already {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

@media (max-width: 600px) {
    .wa-channel-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .wa-btn-channel {
        width: 100%;
        justify-content: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .news-grid { grid-template-columns: 1fr; }
    .hero-card { height: 260px; }
    .hero-title { font-size: 1.25rem; }
    .newsletter-container { padding: 1.2rem; }
}

/* ============================================================
   11. LIGHT THEME OVERRIDES
   ============================================================ */
[data-theme="light"] {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --card-hover-bg: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-border-hover: rgba(0, 0, 0, 0.16);
    --glass-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .navbar { background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid #e2e8f0; }
[data-theme="light"] .ticker-bar { background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%); border-bottom: 2px solid var(--accent-color); }
[data-theme="light"] .ticker-item { color: #334155; }
[data-theme="light"] .search-input { background: #f1f5f9; color: #0f172a; border-color: #cbd5e1; }
[data-theme="light"] .sub-nav-container { background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
[data-theme="light"] .sub-nav-link { background: #f1f5f9; border-color: #e2e8f0; color: #475569; }
[data-theme="light"] .sub-nav-link.active { color: #000; }
[data-theme="light"] .mobile-bottom-nav { background: rgba(255, 255, 255, 0.96); border-top: 1px solid #e2e8f0; }

.hidden { display: none !important; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Skeleton Loaders */
.skeleton-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    pointer-events: none;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.skeleton-img, .skeleton-badge, .skeleton-title, .skeleton-text, .skeleton-meta {
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 400% 100%;
    animation: skeletonLoading 1.5s infinite ease-in-out;
    border-radius: 4px;
}

.skeleton-img { width: 100%; height: 160px; border-radius: var(--radius-sm); }
.skeleton-badge { width: 70px; height: 18px; border-radius: 12px; }
.skeleton-title { width: 90%; height: 20px; }
.skeleton-text { width: 100%; height: 14px; }
.skeleton-meta { width: 120px; height: 14px; margin-top: 10px; }

@keyframes skeletonLoading {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}


/* ============================================================
   12. EDITORIAL FEEDBACK, OPINION & CORRECTION SYSTEM
   ============================================================ */
.about-feedback-cta {
    margin-top: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--glass-border);
}

.about-feedback-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.1);
    color: var(--text-main);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.about-feedback-btn:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

.article-feedback-card {
    margin: 2rem 0 1rem;
    padding: 1.35rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.85));
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

[data-theme="light"] .article-feedback-card {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    border-color: rgba(14, 165, 233, 0.35);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.article-feedback-info {
    flex: 1;
    min-width: 240px;
}

.article-feedback-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    margin-bottom: 0.45rem;
}

[data-theme="light"] .article-feedback-badge {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
}

.article-feedback-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.25rem;
    line-height: 1.35;
}

.article-feedback-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

.article-feedback-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.feedback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.62rem 1.15rem;
    border-radius: 24px;
    font-size: 0.83rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    white-space: nowrap;
}

.feedback-btn-form {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.feedback-btn-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
}

.feedback-btn-wa {
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.feedback-btn-wa:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* Footer Contact Bar */
.footer-contact-bar {
    max-width: 860px;
    margin: 0 auto 1.75rem;
    padding: 1.15rem 1.4rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: left;
}

[data-theme="light"] .footer-contact-bar {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 240px;
}

.footer-contact-text strong {
    color: var(--text-main);
    font-size: 0.92rem;
}

.footer-contact-text span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-contact-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

/* Feedback Modal Form */
.feedback-modal-card {
    max-width: 580px !important;
}

.feedback-modal-intro {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
    line-height: 1.45;
}

.feedback-article-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 0.8rem;
}

.feedback-article-context-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.feedback-article-label {
    color: #38bdf8;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.feedback-article-context-text strong {
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feedback-clear-article-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
}

.feedback-clear-article-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feedback-type-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.feedback-type-pill {
    padding: 0.42rem 0.8rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.feedback-type-pill:hover {
    color: var(--text-main);
    border-color: rgba(56, 189, 248, 0.4);
}

.feedback-type-pill.active {
    background: rgba(56, 189, 248, 0.18);
    border-color: #38bdf8;
    color: #ffffff;
}

[data-theme="light"] .feedback-type-pill.active {
    background: #0284c7;
    color: #ffffff;
}

.feedback-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
}

.feedback-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.feedback-field textarea,
.feedback-field input {
    width: 100%;
    padding: 0.7rem 0.95rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-main);
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
}

[data-theme="light"] .feedback-field textarea,
[data-theme="light"] .feedback-field input {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.feedback-field textarea:focus,
.feedback-field input:focus {
    outline: none;
    border-color: #38bdf8;
}

.feedback-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.feedback-submit-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.feedback-submit-main {
    flex: 1;
}

@media (max-width: 640px) {
    .article-feedback-card,
    .footer-contact-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .article-feedback-actions,
    .footer-contact-actions,
    .feedback-submit-row {
        flex-direction: column;
        width: 100%;
    }
    .feedback-btn {
        width: 100%;
    }
    .feedback-row-2col {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   13. VISUAL INTEGRITY, MOBILE (390px), LIGHT THEME & MODALS
   ============================================================ */

/* Ocultar barra inferior móvil en Desktop */
.mobile-bottom-nav {
    display: none !important;
}

/* Prevenir desborde del badge ALERTA TORMENTA en Monitor Outdoor (Desktop y Móvil) */
.weather-main-row {
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
}

.weather-condition-badge {
    font-size: 0.62rem !important;
    padding: 0.2rem 0.45rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
}

.weather-details-grid {
    gap: 0.35rem 0.4rem !important;
    word-break: break-word;
}

/* Opacidad sólida y pills sin recortes en Modales (Eventos, Política, Buzón) */
.events-modal,
.policy-modal-overlay {
    background: rgba(2, 6, 23, 0.9) !important;
}

.events-modal-box,
.policy-modal-card {
    background: #0f172a !important;
    opacity: 1 !important;
}

.events-filters-bar {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 0.4rem !important;
    padding: 0.75rem 1.25rem !important;
}

.event-item-row {
    background: #162033 !important;
}

/* Contraste completo en Modo Claro (Desktop y Móvil) */
[data-theme="light"] .nav-links a {
    color: #334155 !important;
}

[data-theme="light"] .nav-links a:hover {
    color: #0f172a !important;
    background: rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .nav-links a.active {
    color: #0369a1 !important;
    background: rgba(2, 132, 199, 0.14) !important;
    border-color: rgba(2, 132, 199, 0.45) !important;
}

[data-theme="light"] .weather-widget,
[data-theme="light"] .events-widget {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .weather-widget .widget-title,
[data-theme="light"] .events-widget .widget-title,
[data-theme="light"] .weather-temp,
[data-theme="light"] .weather-detail-item strong,
[data-theme="light"] .weather-day-name,
[data-theme="light"] .event-card-title {
    color: #0f172a !important;
}

[data-theme="light"] .weather-spot-select,
[data-theme="light"] .weather-search-input {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .weather-display,
[data-theme="light"] .weather-day-card,
[data-theme="light"] .event-featured-card {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

[data-theme="light"] .weather-details-grid,
[data-theme="light"] .weather-detail-item,
[data-theme="light"] .weather-day-temps,
[data-theme="light"] .event-card-location,
[data-theme="light"] .event-sport-tag {
    color: #475569 !important;
    border-top-color: #e2e8f0 !important;
}

[data-theme="light"] .weather-forecast-toggle {
    background: #e2e8f0 !important;
}

[data-theme="light"] .weather-tab-btn {
    color: #475569 !important;
}

[data-theme="light"] .weather-tab-btn.active {
    background: #ffffff !important;
    color: #0284c7 !important;
    border-color: #bae6fd !important;
}

[data-theme="light"] .events-modal-box,
[data-theme="light"] .policy-modal-card {
    background: #ffffff !important;
    color: #0f172a !important;
}

[data-theme="light"] .events-modal-header,
[data-theme="light"] .events-filters-bar {
    background: #f8fafc !important;
    border-bottom-color: #e2e8f0 !important;
}

[data-theme="light"] .events-modal-header h3,
[data-theme="light"] .event-item-title {
    color: #0f172a !important;
}

[data-theme="light"] .event-item-row {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .event-item-desc {
    color: #334155 !important;
}

[data-theme="light"] .event-filter-pill {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

[data-theme="light"] .event-filter-pill.active {
    background: rgba(245, 158, 11, 0.18) !important;
    border-color: #d97706 !important;
    color: #b45309 !important;
}

/* Corrección integral Móvil (<= 768px): Cero desborde horizontal, ToyTeq apilado, Clima 100% ancho */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    body {
        padding-bottom: 68px !important;
    }

    .mobile-bottom-nav {
        display: flex !important;
    }

    .nav-container {
        padding: 0.55rem 0.65rem !important;
        gap: 0.35rem !important;
        max-width: 100vw !important;
        width: 100% !important;
    }

    .logo {
        gap: 0.35rem !important;
        min-width: 0 !important;
    }

    .logo .logo-3xe {
        font-size: 1.55rem !important;
    }

    .logo-tagline .logo-text {
        font-size: 0.88rem !important;
    }

    .logo-tagline .logo-sub {
        display: none !important;
    }

    .nav-actions {
        gap: 0.3rem !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }

    .lang-btn {
        padding: 0.24rem 0.42rem !important;
        font-size: 0.68rem !important;
        gap: 3px !important;
    }

    .lang-flag {
        width: 12px !important;
        height: 8px !important;
    }

    .search-input {
        width: 82px !important;
        padding: 0.3rem 0.45rem 0.3rem 1.55rem !important;
        font-size: 0.72rem !important;
    }

    .search-input:focus {
        width: 112px !important;
    }

    .search-icon {
        left: 0.5rem !important;
        font-size: 0.7rem !important;
    }

    .theme-toggle-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.84rem !important;
    }

    .menu-toggle {
        display: flex !important;
        width: 30px !important;
        height: 30px !important;
        flex-shrink: 0 !important;
    }

    /* Menú desplegable móvil opaco sin transparencia sobre el contenido */
    .nav-links.active {
        background: #0b1120 !important;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75) !important;
        z-index: 1200 !important;
    }

    [data-theme="light"] .nav-links.active {
        background: #ffffff !important;
        border-bottom: 1px solid #cbd5e1 !important;
    }

    /* Sidebar derecha 100% ancho en móvil */
    .sidebar-right,
    .sidebar-sticky,
    .weather-widget,
    .events-widget {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Apilar banners ToyTeq y Parque 3XE en móvil sin solapamiento */
    #toyteq-sponsor.toyteq-billboard,
    .promo-box.parque-billboard {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0.9rem !important;
        gap: 0.85rem !important;
    }

    .toyteq-img-box,
    .promo-box-img {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 155px !important;
        max-height: 155px !important;
    }

    .toyteq-body-content,
    .promo-box-content {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .toyteq-action-col,
    .promo-box-action-col {
        width: 100% !important;
        padding-left: 0 !important;
        align-items: stretch !important;
    }

    .toyteq-cta-btn,
    .promo-box-cta {
        width: 100% !important;
        justify-content: center !important;
    }
}
