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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Reglas globales para enlaces */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e7520f;
}

/* Estilos específicos para enlaces del contenido principal */
.content-section a {
    color: #008888;
}

.content-section a:visited {
    color: #006666;
}

.content-section a:hover {
    color: #00a5a4;
}

.content-section a:active {
    color: #b33f0a;
}

/* Header y Navbar */
.header {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 85%;
    margin: 0 auto;
}

.logo {
    height: auto;
    width: auto;
    max-height: 60px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #00a5a4;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    min-width: 250px;
}

.search-input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    padding: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.search-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: #0066cc;
}

.social-cards {
    display: flex;
    gap: 0.5rem;
}

.social-card {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.social-card:hover {
    background-color: #e7520f;
    color: white;
    transform: translateY(-2px);
}

/* Menú Hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Banner */
.banner {
    width: 100%;
    display: block;
}

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

/* Contenido Principal */
/* Encabezado imagen (música): escritorio vs móvil vía <picture> */
.page-hero {
    width: 100%;
    background: #1a1a1a;
}

.page-hero picture {
    display: block;
    width: 100%;
}

/* Banner completo visible (sin recorte); el arte por resolución lo define <picture> */
.page-hero__img {
    display: block;
    width: 100%;
    height: auto;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 5.5rem) 2rem clamp(4.5rem, 8vw, 6rem);
}

@media (max-width: 1024px) {
    .main-content {
        padding-top: calc(clamp(3rem, 8vw, 5.5rem) + 40px);
    }
}

.content-section {
    margin-bottom: 5.5rem;
}

.content-section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #e7520f;   
    margin-bottom: 1.5rem;
}

.streaming-platforms {
    margin-top: clamp(3.25rem, 7.5vw, 5rem);
    padding-inline: clamp(0.5rem, 3vw, 1rem);
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.streaming-platforms__legend {
    font-size: clamp(1rem, 2.8vw, 1.25rem);
    font-weight: 500;
    color: #5a5a5a;
    margin-bottom: 0;
    line-height: 1.45;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.streaming-platforms--hidden {
    display: none;
}

.streaming-platforms__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(1.25rem, 5vw, 3rem);
    row-gap: clamp(1.25rem, 4vw, 2rem);
    margin-top: 40px;
}

.streaming-platforms__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    /* Escala con el ancho; tamaño menor que la versión anterior */
    font-size: clamp(2.35rem, 6.5vw + 0.2rem, 4.25rem);
    padding: clamp(0.35rem, 1.25vw, 0.75rem);
    min-width: 44px;
    min-height: 44px;
    color: #008888;
    transition: transform 0.2s ease, color 0.2s ease;
}

.streaming-platforms__link i {
    line-height: 1;
    display: block;
    color: inherit;
    transition: color 0.2s ease;
}

/* YouTube Music: círculo esmeralda + triángulo blanco; hover = degradado de marca */
.streaming-platforms__ytmusic-svg {
    width: 1em;
    height: 1em;
    display: block;
}

.streaming-platforms__ytmusic-circle {
    transition: fill 0.2s ease;
}

.streaming-platforms__link--ytmusic:hover .streaming-platforms__ytmusic-circle {
    fill: url(#ytmBrandGrad);
}

.content-section .streaming-platforms__link:visited {
    color: #006666;
}

.streaming-platforms__link:hover {
    transform: translateY(-3px);
}

.streaming-platforms__link:hover .fa-spotify {
    color: #1db954;
}

.streaming-platforms__link:hover .fa-youtube {
    color: #ff0000;
}

.streaming-platforms__link:hover .fa-apple {
    color: #fa243c;
}

.streaming-platforms__link:hover .fa-amazon {
    color: #ff9900;
}


/* Reglas reutilizables de espacios verticales */
.margin-bottom-10 {
    margin-bottom: 0.625rem; /* 10px */
}

.margin-bottom-20 {
    margin-bottom: 1.25rem; /* 20px */
}

.margin-bottom-30 {
    margin-bottom: 1.875rem; /* 30px */
}

.margin-bottom-40 {
    margin-bottom: 2.5rem; /* 40px */
}

.margin-bottom-50 {
    margin-bottom: 3.125rem; /* 50px */
}

.margin-bottom-60 {
    margin-bottom: 3.75rem; /* 60px */
}

.margin-bottom-70 {
    margin-bottom: 4.375rem; /* 70px */
}

.margin-bottom-80 {
    margin-bottom: 5rem; /* 80px */
}

.margin-bottom-90 {
    margin-bottom: 5.625rem; /* 90px */
}

.margin-bottom-100 {
    margin-bottom: 6.25rem; /* 100px */
}

/* Reglas reutilizables de espacios verticales con margin-top */
.margin-top-10 {
    margin-top: 0.625rem; /* 10px */
}

.margin-top-20 {
    margin-top: 1.25rem; /* 20px */
}

.margin-top-30 {
    margin-top: 1.875rem; /* 30px */
}

.margin-top-40 {
    margin-top: 2.5rem; /* 40px */
}

.margin-top-50 {
    margin-top: 3.125rem; /* 50px */
}

.margin-top-60 {
    margin-top: 3.75rem; /* 60px */
}

.margin-top-70 {
    margin-top: 4.375rem; /* 70px */
}

.margin-top-80 {
    margin-top: 5rem; /* 80px */
}

.margin-top-90 {
    margin-top: 5.625rem; /* 90px */
}

.margin-top-100 {
    margin-top: 6.25rem; /* 100px */
}

/* Estilos para imagen de campaña */
.campaign-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem; /* 50px = 3.125rem */
    margin-bottom: 7.5rem; /* 50px = 3.125rem */
}

.campaign-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-image-container a:hover .campaign-image {
    transform: scale(1.02);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Estilos para la sección Histórico */
.historico-card {
    display: flex;
    gap: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.historico-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    background-color: #f0f1f2;
}

.historico-image {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    max-height: 250px;
}

.historico-image img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-height: 250px;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

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

.historico-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    max-height: 250px;
    padding: 0.5rem 0;
    overflow: hidden;
}

.historico-content h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #e7520f;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.historico-card:hover .historico-content h3 {
    color: #ee7404;
}

.historico-date {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    color: #c4c4c4;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.historico-description {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.5;
    color: #333;
    margin-bottom: 1rem;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.historico-link-container {
    text-align: left;
    margin-top: auto;
}

.historico-link-container span {
    color: #008888;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.historico-card:hover .historico-link-container span {
    color: #00a5a4;
    transform: translateX(5px);
}

.historico-link-container .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.historico-card:hover .historico-link-container .arrow {
    transform: translateX(3px);
}

/* Responsive para tabletas */
@media (max-width: 1024px) and (min-width: 769px) {
    .historico-card {
        flex-direction: row;
        gap: 1.5rem;
        padding: 1.25rem;
    }
    
    .historico-image {
        flex: 0 0 40%;
        min-height: 180px;
        max-height: 200px;
    }
    
    .historico-image img {
        min-height: 180px;
        max-height: 200px;
    }
    
    .historico-content {
        min-height: 180px;
        max-height: 200px;
    }
    
    .historico-content h3 {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .historico-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        align-items: stretch;
    }
    
    .historico-image {
        flex: none;
        width: 100%;
        min-height: 200px;
        max-height: 200px;
    }
    
    .historico-image img {
        min-height: 200px;
        max-height: 200px;
    }
    
    .historico-content {
        text-align: center;
        min-height: auto;
        max-height: none;
        padding: 0;
    }
    
    .historico-content h3 {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    
    .historico-link-container {
        text-align: center;
        margin-top: 1rem;
    }
}

/* Estilos para la sección Memorias */
.memorias-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.memoria-card {
    display: flex;
    background-color: #f7f8f9;
    border-radius: 0.5rem;
    padding: 1.5rem;
    gap: 1.5rem;
    align-items: flex-start;
}

.memoria-image {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 1rem;
}

.memoria-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 0.375rem;
    transition: transform 0.3s ease;
}

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

.memoria-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.memoria-content h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.memoria-content h4 a {
    color: #e7520f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.memoria-content h4 a:hover {
    color: #f28b12;
}

.memoria-description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.6;
    color: #333;
    margin-bottom: 1.875rem; /* 30px = 1.875rem */
}

.memoria-link-container {
    margin-top: auto;
}

.memoria-link-container a {
    color: #008888;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.memoria-link-container a:hover {
    color: #00a5a4;
    transform: translateX(5px);
}

.memoria-link-container .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 0.5rem;
}

.memoria-link-container a:hover .arrow {
    transform: translateX(3px);
}

/* Responsive para tabletas y móviles */
@media (max-width: 768px) {
    .memoria-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .memoria-image {
        flex: none;
        width: 100%;
        min-height: 250px;
        padding: 1rem;
    }
    
    .memoria-image img {
        height: auto;
        max-height: 250px;
        object-fit: contain;
    }
    
    .memoria-content {
        text-align: center;
    }
}

.content-section h1.seo {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #666;
    margin-top: 0;
    margin-top: 3.125rem;
    text-align: left;
    opacity: 0.7;
}

.content-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #1b1b1b;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 600;
    color: #1b1b1b;
    margin-top: 3.5rem;
    margin-bottom: 1rem;
}

.content-section h4 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    color: #1b1b1b;
    margin-top: 3.125rem;
    margin-bottom: 0.8rem;
}

.content-section h5 {
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    color: #1b1b1b;
    margin-top: 3.125rem;
    margin-bottom: 0.6rem;
}

.content-section h6 {
    font-size: clamp(1rem, 2vw, 1rem);
    font-weight: 600;
    color: #1b1b1b;
    margin-top: 3.125rem;
    margin-bottom: 0.5rem;
}

.content-section p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #000;
}

/* Primer párrafo: propuesta editorial (kicker + cuerpo, acento superior) */
.content-section p.content-section__lead {
    font-size: clamp(1.05rem, 0.95rem + 0.55vw, 1.25rem);
    font-weight: 500;
    line-height: 1.65;
    color: #2a2a2a;
    margin-bottom: 3.25rem;
    padding: 1.35rem 0 0;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-top: 3px solid #e7520f;
    letter-spacing: 0.01em;
}

.content-section .content-section__lead-kicker {
    display: block;
    font-size: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e7520f;
    margin-bottom: 0.65rem;
}

.content-section .content-section__lead-highlight {
    color: #c9450d;
    font-style: normal;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(231, 82, 15, 0.35);
    padding-bottom: 0.05em;
}

/* Lista de pistas con reproductores MP3 */
.tracklist {
    margin: clamp(2.75rem, 6.5vw, 4rem) auto clamp(2.5rem, 6vw, 4rem);
    max-width: 52rem;
    padding: 0;
}

.content-section .tracklist__heading {
    font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
    font-weight: 700;
    color: #e7520f;
    text-align: center;
    margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
    margin-top: 0;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.tracklist__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(231, 82, 15, 0.18);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.tracklist__item {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 0.65rem 1rem;
    align-items: start;
    padding: clamp(1rem, 3vw, 1.35rem) clamp(1rem, 3vw, 1.5rem);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.tracklist__item:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .tracklist__item {
        grid-template-columns: 2.75rem minmax(0, 1fr) minmax(240px, 360px);
        gap: 1rem 1.5rem;
        align-items: center;
    }
}

.tracklist__index {
    font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.1rem);
    font-weight: 700;
    color: #e7520f;
    line-height: 1.3;
    padding-top: 0.15em;
}

.tracklist__meta {
    min-width: 0;
}

.content-section .tracklist__item .tracklist__title-text {
    font-size: clamp(1rem, 0.92rem + 0.35vw, 1.15rem);
    font-weight: 600;
    color: #1f1f1f;
    margin: 0 0 0.35rem;
    margin-top: 0;
    line-height: 1.35;
}

.content-section .tracklist__credits {
    font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
    font-weight: 400;
    color: #4a4a4a;
    margin: 0;
    line-height: 1.45;
}

.content-section .tracklist__credits + .tracklist__credits {
    margin-top: 0.2rem;
}

.tracklist__credits--arr {
    font-size: clamp(0.8rem, 0.76rem + 0.18vw, 0.88rem);
    color: #666;
    font-style: italic;
}

.tracklist__credits--genre {
    font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.92rem);
    color: #555;
}

.tracklist__years {
    white-space: nowrap;
}

.content-section .tracklist__download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.7rem;
    font-size: clamp(0.8rem, 0.74rem + 0.22vw, 0.9rem);
    font-weight: 500;
}

.content-section .tracklist__download .fas {
    font-size: 0.85em;
}

.tracklist__player {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    padding-top: 0.35rem;
}

@media (min-width: 768px) {
    .tracklist__player {
        grid-column: auto;
        padding-top: 0;
    }
}

.tracklist__audio {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border-radius: 8px;
    accent-color: #e7520f;
}

.content-section ul {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #000;
    padding-left: 1.5rem;
    list-style: none;
    text-align: center;
}

.content-section ul li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-section ul li::before {
    content: "✓";
    color: #e7520f;
    font-size: 0.9em;
    line-height: 1.8;
    font-weight: bold;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Lista con viñetas circulares alineadas a la izquierda */
.content-section ul.left-aligned-circles {
    text-align: left;
    padding-left: 1.5rem;
}

.content-section ul.left-aligned-circles li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    display: block;
    align-items: normal;
    justify-content: normal;
}

.content-section ul.left-aligned-circles li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #e7520f;
    border-radius: 50%;
    margin-right: 0;
    flex-shrink: 0;
}

/* Botón Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: #008888;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #00a5a4;
    transform: translateY(-0.25rem);
}

/* Título Histórico */
.historico-title {
    text-align: center !important;
    margin-top: 6.25rem !important; /* 100px */
    margin-bottom: 5rem !important; /* 80px */
    font-size: 3.5rem !important;
    font-weight: 400 !important;
}

@media (max-width: 768px) {
    .historico-title {
        margin-top: 3.125rem !important; /* 50px */
        margin-bottom: 2.5rem !important; /* 40px */
    }
}

/* Paginación */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: #008888;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #00a5a4;
}

.pagination-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-info {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

/* Ocultar artículos de páginas no activas */
.memorias-container[data-page] {
    display: none;
}

.memorias-container[data-page].active {
    display: flex;
}

@media (max-width: 768px) {
    .memorias-container[data-page].active {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .pagination-container {
        gap: 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .pagination-info {
        font-size: 0.85rem;
    }
}

/* Footer */
.footer {
    width: 100%;
    background-color: #141414;
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-logo {
    height: auto;
    width: auto;
    margin-bottom: 2rem;
    max-width: 100%;
}

.footer-text {
    font-size: clamp(0.8rem, 2vw, 0.85rem);
    line-height: 1.6;
    width: 85%;
    margin: 0 auto;
}

.footer a {
    color: #ee7404;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #c4c4c4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        max-width: 768px;
        padding: 3rem 1.5rem;
    }

    .banner img {
        max-width: 100%;
        height: auto;
    }

    /* Navbar: hamburguesa en tableta y móvil (hasta 1024px) */
    .navbar {
        position: relative;
        padding: 1rem;
    }

    .nav-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        z-index: 1001;
    }

    .nav-right.active {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .search-container {
        width: 100%;
        min-width: auto;
    }

    .social-cards {
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .main-content {
        max-width: 100%;
        padding: 2rem 1rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-logo {
        max-width: 300px;
    }

    .banner img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        max-width: 250px;
    }

    .banner img {
        max-width: 100%;
        height: auto;
    }
}
