.relatos-page .relato-hero img {
    width: 100%;
    height: auto;
    cursor: zoom-in;
}



.fanzines {
    padding-block: 3rem;
    background: #eef4ef;
}

.fanzine-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .75rem;
}

.fanzine-list a {
    display: block;
    background: #fff;
    padding: .8rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: #00434c;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    transition: transform .15s ease;
}

.fanzine-list a:hover {
    transform: translateY(-2px);
}

.relatos-page video {
    width: 100%;
    max-height: 400px;
    border-radius: 12px;
    background: #000;
}



body.no-scroll {
    overflow: hidden;
}

/* ===== Fullscreen Carousel Viewer ===== */
.carousel-viewer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    z-index: 9999;
    display: none;
}

.carousel-viewer.open {
    display: block;
}

.carousel-viewer .cv-viewport {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    outline: none;
}

.carousel-viewer img,
.carousel-viewer video {
    max-height: 100vh;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: #000;
}

/* Botones */
.carousel-viewer .cv-btn {
    position: absolute;
    z-index: 10001;
    /* encima del viewport y de la imagen/video */
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .15s ease, transform .1s ease;
    user-select: none;
    pointer-events: auto;
    /* asegura que reciben clicks */
}

.carousel-viewer .cv-btn:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

.carousel-viewer .cv-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
}

.carousel-viewer .cv-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    width: 48px;
    height: 48px;
}

.carousel-viewer .cv-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    width: 48px;
    height: 48px;
}

.carousel-viewer .cv-idx {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    color: #e0f0ed;
    font-size: 14px;
    letter-spacing: .3px;
    background: rgba(0, 0, 0, .4);
    padding: 6px 12px;
    border-radius: 999px;
}

/* Bloquea scroll del body cuando el visor está activo */
body.no-scroll {
    overflow: hidden;
}

/* ===== MITOS ===== */
.mitos {
    padding-block: clamp(28px, 5vw, 56px);
    background: #f8f9f8;
}

.mitos-inner {
    width: min(1100px, 92vw);
    margin: 0 auto;
    padding: 0 12px;
}

.mitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    /* más pequeño */
    gap: 14px;
    margin-top: 14px;
}

.mito-card {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.mito-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.mito-thumb {
    margin: 0;
    line-height: 0;
}

.mito-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.mito-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    padding: .6rem .7rem .5rem;
    text-align: center;
}

/* ===== MITOS ===== */
.mitos {
    padding-block: clamp(28px, 5vw, 56px);
    background: #f8f9f8;
}

.mitos-inner {
    width: min(1100px, 92vw);
    margin: 0 auto;
    padding: 0 12px;
}

.mitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    /* más pequeño */
    gap: 14px;
    margin-top: 14px;
}

.mito-card {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.mito-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.mito-thumb {
    margin: 0;
    line-height: 0;
}

.mito-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.mito-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    padding: .6rem .7rem .5rem;
    text-align: center;
}

/* =====================
   MITOS — cards pequeños + modales
   ===================== */

.mitos {
    padding-block: clamp(32px, 5vw, 64px);
    background: transparent;
}

.mitos-inner {
    width: min(1100px, 92vw);
    margin: 0 auto;
    padding-inline: 16px;
}

.mitos h2.section-title {
    font-family: 'Amatic SC', cursive;
    font-size: clamp(26px, 4vw, 40px);
    letter-spacing: 0.5px;
    text-align: left;
    color: #173a37;
    margin-bottom: 18px;
}

/* === Grid compacto === */
.mitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 14px;
    justify-items: center;
}

/* === Card === */
.mito-card {
    width: 100%;
    max-width: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mito-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.mito-card figure {
    margin: 0;
    line-height: 0;
}

.mito-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    /* formato retrato */
    object-fit: cover;
    display: block;
}

.mito-card h3.mito-title {
    background: #fff;
    color: #173a37;
    text-align: center;
    font-family: 'Amatic SC', cursive;
    font-size: 1.2rem;
    padding: 0.4rem 0.6rem;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* === Modal === */
.mito-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    padding: 20px;
}

.mito-modal.open {
    display: flex;
    animation: mitoFade 0.25s ease-out;
}

@keyframes mitoFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Fondo tenue */
.mito-bg {
    display: none !important;
}

/* Contenido */
.mito-content {
    position: relative;
    z-index: 10;
    width: min(600px, 90vw);
    max-height: 85vh;

    background: var(--color-back);
    /* tu verde clarito */
    border-radius: 14px;
    padding: 1.5rem 2.2rem 1.8rem;

    overflow-y: auto;
    /* scroll interno */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

    text-align: left;

    /* para que el close pueda pegarse arriba */
    display: flex;
    flex-direction: column;
    gap: 1rem;

    /* scroll colors (Firefox) */
    scrollbar-width: thin;
    scrollbar-color: var(--verde-texto) var(--color-back);
}

.mito-content h3 {
    font-family: 'Amatic SC', cursive;
    font-size: clamp(26px, 4vw, 36px);
    margin: 0 0 0.5rem 0;
    color: var(--verde-texto);
}

.mito-content p {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--verde-texto);
}

/* Botón cerrar dentro del modal */
.mito-close {
    align-self: flex-end;
    position: sticky;
    /* se queda arriba mientras haces scroll */
    top: 0;
    z-index: 2;

    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;

    background: #173a37;
    color: #fff;
    font-size: 18px;
    line-height: 1;

    display: grid;
    place-items: center;
}

.mito-close:hover {
    background: #1e504d;
}

/* Scrollbar WebKit (Chrome, Edge, etc.) */
.mito-content::-webkit-scrollbar {
    width: 10px;
}

.mito-content::-webkit-scrollbar-track {
    background: var(--color-back);
    border-radius: 999px;
}

.mito-content::-webkit-scrollbar-thumb {
    background: var(--verde-texto);
    border-radius: 999px;
    border: 2px solid var(--color-back);
}

.mito-content::-webkit-scrollbar-thumb:hover {
    background: #1e504d;
}