/* Home: / */

input, button { font: inherit; }

:root {
    --bg-primary: #0E0D0B;
    --bg-secondary: #151411;
    --surface: #1A1814;
    --surface-soft: #211E18;
    --text-primary: #F5EFE3;
    --text-secondary: #D4C8B5;
    --accent-gold: #C7A86A;
    --accent-green: #286B53;
    --accent-green-hover: #3D8A6C;
    --border: #5A4A32;
    --muted: #9B8F7C;
}

html.light-theme {
    --bg-primary: #F5F0E7;
    --bg-secondary: #FBF8F1;
    --surface: #FFFDF8;
    --surface-soft: #F0E8DA;
    --text-primary: #27231F;
    --text-secondary: #625A50;
    --accent-gold: #A0522D;
    --accent-green: #735E43;
    --accent-green-hover: #8B7355;
    --border: #D8CBB7;
    --muted: #8B8175;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: all 250ms;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }
h1 { font-size: 3rem; line-height: 1.05; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100px;
}

.logo img {
    height: 100px;
    width: auto;
    transition: all 200ms;
}

.logo:hover img {
    transform: scale(1.05);
}

.theme-btn {
    background: linear-gradient(135deg, #6B5344 0%, #9B8B73 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
}

.theme-btn:hover {
    background: linear-gradient(135deg, #7D6554 0%, #B0A08B 100%);
}

.hero {
    background: url('/images/hero-cafe.png') center/cover no-repeat;
    background-attachment: fixed;
    padding: 180px 0;
    margin: 0;
    animation: heroFadeIn 600ms ease-out;
    position: relative;
}

.hero-content {
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
}

.hero h1 {
    text-shadow: 4px 4px 16px rgba(0, 0, 0, 0.95), 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero p {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

.btn {
    text-shadow: none;
}

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

.hero-content {
    max-width: 600px;
    animation: contentSlideIn 600ms ease-out 200ms both;
}

.hero-tagline {
    position: absolute;
    right: 120px;
    bottom: 60px;
    font-family: 'WindSong', cursive;
    font-size: 48px;
    font-weight: 400;
    color: var(--text-primary);
    text-align: right;
    line-height: 1.2;
    transform: rotate(-35deg);
    animation: contentSlideIn 600ms ease-out 400ms both;
}

@keyframes contentSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-weight: 700;
}
.hero h1 {
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: white;
}

html.light-theme .hero h1 {
    color: white;
}
.hero p {
    font-size: 18px;
    color: white;
    margin-bottom: 32px;
    line-height: 1.7;
}

html.light-theme .hero p {
    color: white;
}

.cta-group { display: flex; gap: 16px; margin-bottom: 48px; }
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #6B5344 0%, #9B8B73 100%) !important;
    color: white;
    box-shadow: 0 4px 12px rgba(107, 83, 68, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #7D6554 0%, #B0A08B 100%) !important;
    box-shadow: 0 8px 20px rgba(107, 83, 68, 0.4);
    transform: translateY(-2px);
}

html.light-theme .btn-primary {
    background: linear-gradient(135deg, #9B8B73 0%, #C7A86A 100%) !important;
    color: white;
    box-shadow: 0 4px 12px rgba(199, 168, 106, 0.3);
}

html.light-theme .btn-primary:hover {
    background: linear-gradient(135deg, #B0A08B 0%, #D4B876 100%) !important;
    box-shadow: 0 8px 20px rgba(199, 168, 106, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}
.btn-secondary:hover {
    background: var(--surface-soft);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.categories {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    text-align: center;
}

.cat-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    flex: 1;
    min-width: 90px;
}

.cat-name {
    font-size: 12px;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.2;
}

.cat-icon {
    width: 48px;
    height: 48px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cat-item:hover .cat-icon {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.1) rotateZ(5deg);
    box-shadow: 0 8px 16px rgba(199, 168, 106, 0.3);
}

.cat-name {
    font-size: 12px;
    font-weight: 600;
    transition: all 200ms;
}

.cat-item:hover .cat-name {
    color: var(--accent-gold);
}

.grid-section {
    padding: 120px 0;
    animation: sectionFadeIn 800ms ease-out;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.grid-main {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.5fr;
    gap: 28px;
    align-items: center;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-gold);
}

.featured {
    padding: 48px;
    display: flex;
    align-items: flex-end;
    min-height: 384px;
    background: linear-gradient(135deg, rgba(14, 13, 11, 0.4) 0%, rgba(21, 20, 17, 0.4) 100%), url('/images/featured-bg.png') center/cover no-repeat;
    position: relative;
}

html.light-theme .featured {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%), url('/images/featured-bg.png') center/cover no-repeat;
}


html.light-theme .featured h2,
html.light-theme .featured p,
html.light-theme .featured span,
html.light-theme .featured a {
    color: white !important;
}

html.light-theme .carousel-content {
    color: white !important;
}

html.light-theme .season-title {
    color: #1A1410 !important;
}

html.light-theme .carousel-title {
    color: #1A1410 !important;
}

html.light-theme .hero-tagline {
    color: white !important;
}

html.light-theme .hero-tagline svg stroke {
    stroke: white !important;
}

html.light-theme .cat-icon img {
    filter: invert(0.3) brightness(0.7) !important;
}

html.light-theme .cat-item:hover .cat-icon img {
    filter: invert(0.9) sepia(0.8) hue-rotate(30deg) saturate(1.5) !important;
}

.featured h2 { margin-bottom: 16px; line-height: 1.2; }
.featured p { color: var(--text-secondary); margin-bottom: 16px; font-size: 16px; }

.secondary-list { display: flex; flex-direction: column; gap: 16px; margin: 12px 0; }
.secondary-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.secondary-item:hover {
    transform: translateX(4px);
    border-color: var(--accent-gold);
    box-shadow: 0 6px 12px rgba(199, 168, 106, 0.15);
}

.secondary-thumb {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 100%);
    border: 1px solid var(--border);
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 200ms;
}

.secondary-item:hover .secondary-thumb {
    border-color: var(--accent-gold);
}

.secondary-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cat-label {
    font-size: 10px;
    color: var(--accent-gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.secondary-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.3;
    transition: all 200ms;
}

.secondary-item:hover .secondary-title {
    color: var(--accent-gold);
}

.secondary-date {
    font-size: 12px;
    color: var(--text-secondary);
}

.newsletter { padding: 24px; margin: 12px 0; }
.newsletter h3 { font-size: 18px; margin-bottom: 8px; }
.newsletter p { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; }
.newsletter input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 12px;
    transition: all 300ms;
}

.newsletter input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(199, 168, 106, 0.1);
}

.newsletter input::placeholder {
    color: var(--muted);
}

.latest-section { padding: 96px 0; border-top: 1px solid var(--border); }
.section-title { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; }
.section-title h2 { margin: 0; }
.section-title .line { flex: 1; height: 1px; background: var(--border); }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFadeIn 600ms ease-out both;
}

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

.article-card:nth-child(1) { animation-delay: 100ms; }
.article-card:nth-child(2) { animation-delay: 200ms; }
.article-card:nth-child(3) { animation-delay: 300ms; }
.article-card:nth-child(4) { animation-delay: 400ms; }

.article-card-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover .article-card-img {
    border-color: var(--accent-gold);
    box-shadow: 0 8px 16px rgba(199, 168, 106, 0.2);
    transform: scale(1.02);
}

.article-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    transition: all 200ms;
    line-height: 1.3;
}

.article-card:hover h3 {
    color: var(--accent-gold);
}

.article-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 48px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-slide {
    display: none;
    animation: carouselFadeIn 500ms ease-out;
}

.carousel-slide.active {
    display: block;
}

@keyframes carouselFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
    padding: 0 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--muted);
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background: var(--accent-gold);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--accent-gold);
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(199, 168, 106, 0.3);
}

.carousel-arrows {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
    font-weight: bold;
}

.carousel-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(199, 168, 106, 0.3);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: sidebarSlideIn 600ms ease-out 300ms both;
}

@keyframes sidebarSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.top-articles {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 100%);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 300ms;
}

.top-articles:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-gold);
}

.top-articles h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-article-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    border-bottom: none;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    margin-bottom: 8px;
}

.top-article-item:last-child {
    margin-bottom: 0;
}

.top-article-item:hover {
    background: var(--bg-primary);
    transform: translateX(4px);
    border-radius: 12px;
}

.top-article-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-gold);
    width: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(199, 168, 106, 0.1);
    border-radius: 8px;
    height: 40px;
}

.top-article-info {
    flex: 1;
}

.top-article-info h4 {
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.4;
    font-weight: 600;
    transition: all 200ms;
}

.top-article-item:hover .top-article-info h4 {
    color: var(--accent-gold);
}

.top-article-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Flechas de categorías: solo existen en móvil (ver más abajo) */
.season-controls.cat-controls { display: none; }
.season-arrow:disabled { opacity: 0.25; cursor: default; }

@media (max-width: 1024px) {
    .grid-main {
        grid-template-columns: 1fr 1fr;
    }
    .secondary-list {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .grid-main {
        grid-template-columns: 1fr;
    }
    .secondary-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .hero {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    .hero p {
        font-size: 16px;
    }
    .cta-group {
        flex-direction: column;
    }
    .top-articles {
        margin-top: 24px;
    }
    .categories {
        padding: 32px 0;
    }
    .cat-grid {
        gap: 16px;
    }

    /* Categorías en móvil: carrusel con flechas */
    .categories {
        padding: 16px 0;
    }
    .cat-grid {
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        padding: 8px 0;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }
    .cat-grid::-webkit-scrollbar {
        display: none;
    }
    .cat-item {
        flex: 0 0 96px;
        min-width: 0;
        scroll-snap-align: center;
    }
    .season-controls.cat-controls {
        display: flex;
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cat-grid { scroll-behavior: auto; }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    .hero p {
        font-size: 15px;
    }
    .featured {
        padding: 32px 20px;
        min-height: 300px;
    }
    .section-title h2 {
        font-size: 1.75rem;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Clases que sustituyen estilos antes incrustados en la vista ---- */

a.secondary-item { color: inherit; text-decoration: none; }

.featured-eyebrow { color: var(--accent-gold); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.featured h2 { margin: 12px 0; }
.featured-link { color: var(--accent-gold); text-decoration: none; font-weight: 600; }

.hero-tagline img { display: inline-block; margin-top: 8px; height: 24px; width: auto; filter: brightness(0) invert(1); }

.cat-icon img { width: 32px; height: 32px; filter: invert(0.9) sepia(0.8) hue-rotate(30deg) saturate(1.5); }

.newsletter .btn-block { width: 100%; }
.newsletter .hp { position: absolute; left: -9999px; }
.newsletter-ok {
    display: none; margin-top: 12px; padding: 12px; border-radius: 8px; text-align: center; font-size: 14px;
    background: rgba(199, 168, 106, 0.15); border: 1px solid var(--accent-gold); color: var(--accent-gold);
}

.season-heading { flex-direction: column; margin-bottom: 48px; }
.season-heading h2 { margin: 0 0 24px 0; font-family: 'WindSong', cursive; font-weight: 400; font-size: 56px; line-height: 1.1; }
.season-intro { display: flex; align-items: center; gap: 24px; justify-content: center; }
.season-intro img { height: 150px; width: auto; border-radius: 8px; flex-shrink: 0; }
.season-intro p { color: var(--text-secondary); margin: 0; max-width: 500px; font-size: 18px; line-height: 1.5; }

.season-carousel { display: flex; overflow: hidden; border-radius: 12px; }
.season-track { display: flex; width: 100%; transition: transform 400ms ease-out; }
.season-slide { min-width: 100%; flex-shrink: 0; }
.season-slide > a { text-decoration: none; color: inherit; display: block; }
.season-slide .card { cursor: pointer; overflow: hidden; }
.carousel-content { padding: 24px; }
.season-title { margin: 0 0 16px; font-family: 'WindSong', cursive; font-size: 28px; color: var(--accent-gold); font-weight: 400; }
.carousel-title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.carousel-excerpt { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; line-height: 1.5; }
.carousel-slide-image { height: 200px; overflow: hidden; border-radius: 0 0 12px 12px; background-size: cover; background-position: center; background-repeat: no-repeat; }

.season-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 24px; }
.season-arrow {
    background: rgba(199, 168, 106, 0.8); border: none; color: #fff; width: 40px; height: 40px;
    border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 300ms;
}
.season-arrow:hover { background: var(--accent-gold); }
.season-dots { display: flex; justify-content: center; gap: 8px; }
.season-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--accent-gold); opacity: 0.3; cursor: pointer; transition: all 300ms; }
.season-dot.is-active { opacity: 1; }
.season-arrow:focus-visible, .season-dot:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; }

.season-empty { text-align: center; padding: 60px 20px; background: var(--surface); border-radius: 12px; }
.season-empty p { color: var(--text-secondary); font-size: 16px; }

/* ---- Ajustes móvil (revisión de responsive) ---- */

/* Zona táctil más grande en los puntos del carrusel, sin cambiar su tamaño visual */
.season-dot { position: relative; }
.season-dot::after { content: ''; position: absolute; inset: -12px; }

@media (max-width: 768px) {
    /* Hero: sin fondo fijo (falla en iOS) y con la frase manuscrita debajo del texto, sin girar ni solapar */
    .hero { background-attachment: scroll; padding: 48px 0 0; }
    .hero-tagline {
        position: static;
        transform: none;
        text-align: left;
        font-size: 38px;
        margin-top: 24px;
        padding-bottom: 40px;
    }

    /* Menos aire entre secciones */
    .grid-section { padding: 48px 0; }
    .latest-section { padding: 48px 0; }

    .season-heading h2 { font-size: 40px; margin-bottom: 16px; }
    .season-intro { gap: 16px; }
    .season-intro img { height: 110px; }
    .season-intro p { font-size: 16px; }
}

@media (max-width: 600px) {
    /* Tarjetas "Próximamente": una columna (en dos no caben y ensanchan la página) */
    .secondary-list { grid-template-columns: minmax(0, 1fr); }
    .secondary-item, .grid-main > * { min-width: 0; }
}

@media (max-width: 768px) {
    /* En una sola columna, la lista secundaria no debe ocupar 2 (crearía una columna fantasma) */
    .secondary-list { grid-column: auto; }
}
