/* ==========================================================================
   My Little House — Premium Edition
   Paleta: lila/coral/blush/mint/sunshine
   Tipografía: Quicksand (títulos) + Nunito (cuerpo)
   ========================================================================== */

:root {
    --color-cream: #FFFAF5;
    --color-blush: #F8E1E8;
    --color-mint: #D4F1F0;
    --color-lilac: #6B5B95;
    --color-lilac-light: #8B7BB5;
    --color-coral: #F08080;
    --color-coral-light: #F5A0A0;
    --color-sunshine: #FFD93D;
    --color-lavender: #4A3F6B;
    --color-white: #FFFFFF;
    --color-text: #4A3F6B;
    --color-text-light: #8B7BB5;
    --font-title: 'Quicksand', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --shadow-card: 0 4px 20px rgba(107, 91, 149, 0.08);
    --shadow-card-hover: 0 12px 32px rgba(107, 91, 149, 0.15);
    --shadow-activity: 0 8px 32px rgba(107, 91, 149, 0.1);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
}

/* Base */
body.mlh-premium-body {
    font-family: var(--font-body);
    background: var(--color-cream);
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hide Blocksy header/footer only on premium front page */
.mlh-premium-front-page header[data-header],
.mlh-premium-front-page .ct-header,
.mlh-premium-front-page .ct-footer,
.mlh-premium-front-page footer.ct-footer {
    display: none !important;
}

.mlh-premium-body h1, .mlh-premium-body h2,
.mlh-premium-body h3, .mlh-premium-body h4,
.mlh-premium-body h5, .mlh-premium-body h6 {
    font-family: var(--font-title);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.mlh-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.mlh-nav--scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 12px rgba(107, 91, 149, 0.08);
}

.mlh-nav__logo {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-lilac);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.mlh-nav__logo:hover {
    color: var(--color-coral);
}

.mlh-nav__links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mlh-nav__links a {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-lavender);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    position: relative;
}

.mlh-nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-coral);
    transition: width 0.3s ease;
}

.mlh-nav__links a:hover::after,
.mlh-nav__links a.active::after {
    width: 100%;
}

.mlh-nav__links a:hover,
.mlh-nav__links a.active {
    color: var(--color-coral);
}

.mlh-nav__toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-lilac);
    cursor: pointer;
    padding: 0.5rem;
}

/* ==========================================================================
   NAV — Inner layout, dropdown, CTA
   ========================================================================== */
.mlh-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mlh-nav__desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mlh-nav__item--has-children {
    position: relative;
}

.mlh-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(107, 91, 149, 0.12);
    padding: 0.75rem 0;
    min-width: 200px;
    z-index: 100;
    margin-top: 12px;
}

.mlh-nav__dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.mlh-nav__item--has-children:hover .mlh-nav__dropdown,
.mlh-nav__dropdown:hover {
    display: block;
}

.mlh-nav__dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-lavender);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.15s;
}

.mlh-nav__dropdown a:hover {
    background: rgba(107, 91, 149, 0.06);
    color: var(--color-coral);
}

.mlh-nav__dropdown a small {
    font-size: 0.7rem;
    color: var(--color-text-light);
    background: rgba(107, 91, 149, 0.08);
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
    margin-left: 0.5rem;
}

.mlh-nav__cta {
    font-family: var(--font-title);
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-coral);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.mlh-nav__cta:hover {
    background: var(--color-lilac);
    transform: translateY(-1px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.mlh-hero {
    position: relative;
    min-height: calc(100dvh - 3.5rem);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #FFFAF5;
}

.mlh-hero__canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.mlh-hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mlh-hero__content.loaded {
    opacity: 1;
}

.mlh-hero__panel {
    max-width: 580px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.33, 1, 0.68, 1), transform 1.2s cubic-bezier(0.33, 1, 0.68, 1);
}

@media (min-width: 1024px) {
    .mlh-hero__panel {
        margin: 0 0 0 8vw;
    }
}

.mlh-hero__title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-lilac);
    margin: 0;
}

.mlh-hero__tagline {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-lavender);
    margin-top: 1.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mlh-hero__tagline.visible {
    opacity: 0.85;
    transform: translateY(0);
}

.mlh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.mlh-hero__actions.visible {
    opacity: 1;
    transform: translateY(0);
}

.mlh-btn {
    font-family: var(--font-title);
    font-weight: 600;
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-size: 0.95rem;
}

.mlh-btn--primary {
    background: var(--color-coral);
    color: var(--color-white);
}

.mlh-btn--primary:hover {
    background: #E06060;
    box-shadow: 0 8px 24px rgba(240, 128, 128, 0.3);
}

.mlh-btn--secondary {
    background: transparent;
    color: var(--color-lilac);
    border: 2px solid var(--color-lilac);
}

.mlh-btn--secondary:hover {
    background: var(--color-lilac);
    color: var(--color-white);
}

.mlh-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--color-lilac);
    opacity: 0.5;
    animation: mlh-bounce 2s infinite;
}

@keyframes mlh-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ==========================================================================
   SECTION BASE
   ========================================================================== */
.mlh-section {
    position: relative;
}

.mlh-section__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

@media (min-width: 1024px) {
    .mlh-section__inner {
        padding: 6rem 3rem;
    }
}

.mlh-section__label {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-coral);
}

.mlh-section__title {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-lilac);
    margin: 0.5rem 0 0;
}

.mlh-section__desc {
    font-family: var(--font-body);
    color: var(--color-lavender);
    margin-top: 0.75rem;
    max-width: 500px;
    line-height: 1.6;
}

/* ==========================================================================
   WAVE DIVIDER
   ========================================================================== */
.mlh-wave {
    display: block;
    width: 100%;
    height: 120px;
    line-height: 0;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   BIENVENIDA
   ========================================================================== */
.mlh-bienvenida {
    background: var(--color-cream);
    text-align: center;
}

.mlh-bienvenida__content {
    max-width: 800px;
    margin: 0 auto;
}

.mlh-bienvenida__text {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-lavender);
    margin: 1rem auto 0;
    max-width: 680px;
}

.mlh-bienvenida__image {
    margin: 2.5rem auto 0;
    height: 180px;
    object-fit: contain;
}

/* ==========================================================================
   CARD GRID
   ========================================================================== */
.mlh-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .mlh-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.mlh-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.mlh-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.mlh-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-8px);
}

.mlh-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.mlh-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mlh-card:hover .mlh-card__image img {
    transform: scale(1.03);
}

.mlh-card__body {
    padding: 1.5rem;
}

.mlh-card__badge {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-coral);
    background: rgba(240, 128, 128, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mlh-card__title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-lilac);
    margin: 0.75rem 0 0;
}

.mlh-card__text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mlh-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-coral);
    text-decoration: none;
    margin-top: 1rem;
}

.mlh-card__link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;

/* ==========================================================================
   ARCHIVE CARDS — Mismo diseño que mlh-card del hero
   ========================================================================== */
.mlh-archive-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
}

.mlh-archive-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
}

.mlh-archive-card__image {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.mlh-archive-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mlh-archive-card:hover .mlh-archive-card__image img {
    transform: scale(1.03);
}

.mlh-archive-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.mlh-archive-card__badges {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.mlh-archive-card__badges a {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-coral);
    background: rgba(240, 128, 128, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.mlh-archive-card__badges a:hover {
    background: rgba(240, 128, 128, 0.2);
}

.mlh-archive-card__title {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-lavender);
    margin: 0.25rem 0 0.4rem;
    line-height: 1.3;
}

.mlh-archive-card__title a {
    color: inherit;
    text-decoration: none;
}

.mlh-archive-card__title a:hover {
    color: var(--color-coral);
}

.mlh-archive-card__excerpt {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mlh-archive-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-title);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-coral);
    text-decoration: none;
    margin-top: 0.75rem;
}

.mlh-archive-card__cta:hover {

/* ==========================================================================
   ARCHIVE PAGE — Grid y layout
   ========================================================================== */
.mlh-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.mlh-archive-page {
    padding: 6rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mlh-archive-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.mlh-archive-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.mlh-archive-intro__kicker {
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-coral);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.5rem;
}

.mlh-archive-intro__title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-lavender);
    margin: 0 0 0.5rem;
}

.mlh-archive-intro__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.mlh-archive-pagination {
    margin-top: 2.5rem;
    text-align: center;
}

.mlh-archive-pagination ul {
    list-style: none;
    display: inline-flex;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
}

.mlh-archive-pagination li {
    margin: 0;
}

.mlh-archive-pagination a,
.mlh-archive-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-lavender);
    background: rgba(107,91,149,0.06);
}

.mlh-archive-pagination .current {
    background: var(--color-lilac);
    color: #fff;
}

.mlh-archive-pagination a:hover {
    background: rgba(107,91,149,0.15);
}

.mlh-archive-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.mlh-archive-empty h2 {
    font-size: 1.4rem;
    color: var(--color-lavender);
}

.mlh-archive-carousel {
    margin-bottom: 2.5rem;
}

.mlh-archive-carousel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mlh-archive-carousel__eyebrow {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: 0;
}

.mlh-archive-carousel__controls {
    display: flex;
    gap: 0.5rem;
}

.mlh-archive-carousel__btn {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(107,91,149,0.1);
    color: var(--color-lilac);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mlh-archive-carousel__btn:hover {
    background: var(--color-lilac);
    color: #fff;
}

.mlh-archive-carousel__viewport {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.mlh-archive-carousel__track {
    display: flex;
    gap: 0;
    transition: transform 0.4s ease;
}

.mlh-archive-carousel__slide {
    flex: 0 0 25%;
    min-width: 25%;
    text-decoration: none;
}

.mlh-archive-carousel__media {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.mlh-archive-carousel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlh-archive-carousel__caption {
    display: block;
    padding: 0.5rem;
    font-size: 0.78rem;
    color: var(--color-text);
    text-align: center;
}
    text-decoration: underline;
    text-underline-offset: 4px;
}
}

/* ==========================================================================
   POEMAS — Alternating cards
   ========================================================================== */
.mlh-poem-card {
    max-width: 480px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(107, 91, 149, 0.06);
    padding: 2rem 2.5rem;
    opacity: 0;
}

.mlh-poem-card--left {
    margin-right: auto;
}

.mlh-poem-card--right {
    margin-left: auto;
}

.mlh-poem-card__category {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-coral);
}

.mlh-poem-card__title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-lilac);
    margin-top: 0.5rem;
}

.mlh-poem-card__text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-lavender);
    line-height: 1.8;
    margin-top: 1rem;
    white-space: pre-line;
}

.mlh-poem-card__author {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

.mlh-poem-deco {
    position: absolute;
    opacity: 0.6;
    pointer-events: none;
    animation: mlh-float 4s ease-in-out infinite;
    display: none;
}

@media (min-width: 768px) {
    .mlh-poem-deco {
        display: block;
    }
}

@keyframes mlh-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ==========================================================================
   ACTIVIDADES
   ========================================================================== */
.mlh-activity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .mlh-activity-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mlh-activity-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-activity);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.mlh-activity-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.mlh-activity-card:hover {
    box-shadow: 0 16px 48px rgba(107, 91, 149, 0.18);
    transform: translateY(-6px);
}

.mlh-activity-card__image {
    height: 200px;
    overflow: hidden;
}

.mlh-activity-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlh-activity-card__body {
    padding: 1.5rem;
}

.mlh-activity-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.mlh-activity-card__title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-lilac);
}

.mlh-activity-card__desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.mlh-activity-card__links {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mlh-activity-card__links a {
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--color-coral);
    text-decoration: none;
}

.mlh-activity-card__links a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   ARGENTINA
   ========================================================================== */
.mlh-argentina {
    background: var(--color-cream);
}

.mlh-argentina__hero {
    height: 300px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 3rem;
}

.mlh-argentina__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlh-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .mlh-feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mlh-feature-card {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mlh-feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.mlh-feature-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.mlh-feature-card__icon {
    color: var(--color-coral);
    margin-bottom: 0.75rem;
}

.mlh-feature-card__title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-lilac);
}

.mlh-feature-card__desc {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.mlh-newsletter {
    background: var(--color-blush);
    text-align: center;
    padding: 5rem 1.5rem;
}

.mlh-newsletter__inner {
    max-width: 500px;
    margin: 0 auto;
}

.mlh-newsletter__form {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.mlh-newsletter__input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(107, 91, 149, 0.15);
    border-radius: 9999px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--color-white);
    color: var(--color-text);
    outline: none;
    transition: border-color 0.2s;
}

.mlh-newsletter__input:focus {
    border-color: var(--color-lilac);
}

.mlh-newsletter__submit {
    background: var(--color-lilac);
    color: var(--color-white);
    border: none;
    border-radius: 9999px;
    padding: 0.875rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.mlh-newsletter__submit:hover {
    background: var(--color-coral);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.mlh-footer {
    background: var(--color-lavender);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 1.5rem 2rem;
}

.mlh-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .mlh-footer__inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.mlh-footer__brand {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.mlh-footer__text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.mlh-footer__heading {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.mlh-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mlh-footer__list li {
    margin-bottom: 0.5rem;
}

.mlh-footer__list a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.mlh-footer__list a:hover {
    color: var(--color-sunshine);
}

.mlh-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mlh-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s;
}

.mlh-footer__social a:hover {
    background: var(--color-coral);
    color: var(--color-white);
}

.mlh-footer__bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   FOOTER POLICIES (injected via wp_footer)
   ========================================================================== */
.mlh-footer-policies {
    background: var(--color-lavender);
    text-align: center;
    padding: 0 1.5rem 2rem;
    font-size: 0.75rem;
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mlh-footer-policies a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.mlh-footer-policies a:hover {
    color: var(--color-sunshine);
}

.mlh-sep {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 0.3rem;
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.mlh-cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 420px;
    z-index: 9999;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 1rem 1.25rem;
    animation: mlh-cookie-up 0.4s ease-out;
}

@keyframes mlh-cookie-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mlh-cookie-banner__content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text);
    line-height: 1.5;
}

.mlh-cookie-banner__content a {
    color: var(--color-lilac);
    font-weight: 600;
}

.mlh-cookie-banner__actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.mlh-cookie-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 9999px;
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.mlh-cookie-btn--accept {
    background: var(--color-lilac);
    color: var(--color-white);
}

.mlh-cookie-btn--accept:hover {
    background: var(--color-lilac-light);
}

.mlh-cookie-btn--reject {
    background: var(--color-blush);
    color: var(--color-text);
}

.mlh-cookie-btn--reject:hover {
    background: var(--color-coral-light);
    color: var(--color-white);
}

.mlh-cookie-settings-btn {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9998;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(107, 91, 149, 0.2);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-lilac);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
}

.mlh-cookie-settings-btn:hover {
    transform: scale(1.1);
    color: var(--color-coral);
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.mlh-back-to-top {
    position: fixed;
    bottom: 4rem;
    right: 1rem;
    z-index: 9997;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(107, 91, 149, 0.15);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-lilac);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
}

.mlh-back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.mlh-back-to-top:hover {
    background: var(--color-lilac);
    color: var(--color-white);
}

/* ==========================================================================
   MUSIC PLAYER
   ========================================================================== */
.mlh-player {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9996;
    background: var(--color-white);
    border: 1px solid rgba(107, 91, 149, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: none;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
}

.mlh-player__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mlh-player__title {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-lilac);
    white-space: nowrap;
}

.mlh-player__controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mlh-player__btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-lavender);
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mlh-player__btn:hover {
    color: var(--color-coral);
    background: rgba(240, 128, 128, 0.1);
}

.mlh-player__progress {
    flex: 1;
    height: 4px;
    background: var(--color-blush);
    border-radius: 2px;
    overflow: hidden;
}

.mlh-player__progress-bar {
    width: 30%;
    height: 100%;
    background: var(--color-lilac);
    border-radius: 2px;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.mlh-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .mlh-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .mlh-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mlh-gallery__item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1;
}

.mlh-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mlh-gallery__item:hover img {
    transform: scale(1.08);
}

.mlh-gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 63, 107, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: var(--radius-sm);
}

.mlh-gallery__item:hover .mlh-gallery__overlay {
    opacity: 1;
}

.mlh-gallery__label {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    padding: 0.5rem;
}

/* Lightbox */
.mlh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mlh-lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.mlh-lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: var(--radius-sm);
}

.mlh-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
}

/* ==========================================================================
   BUTTON CENTER
   ========================================================================== */
.mlh-btn-center {
    text-align: center;
    margin-top: 3rem;
}

.mlh-btn--lilac {
    background: var(--color-lilac);
    color: var(--color-white);
}

.mlh-btn--lilac:hover {
    background: var(--color-coral);
    box-shadow: 0 8px 24px rgba(240, 128, 128, 0.3);
}

/* ==========================================================================
   GSAP ANCHOR
   ========================================================================== */
.mlh-gsap-hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .mlh-nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }

    .mlh-nav__links.open {
        display: flex;
    }

    .mlh-nav__toggle {
        display: block;
    }

    .mlh-hero__panel {
        padding: 2.5rem 1.5rem;
    }

    .mlh-poem-card {
        padding: 1.5rem;
    }

    .mlh-poem-card--left,
    .mlh-poem-card--right {
        margin: 0 auto;
    }

    .mlh-newsletter__form {
        flex-direction: column;
    }

    .mlh-player {
        min-width: auto;
        width: calc(100% - 2rem);
    }
}

/* ==========================================================================
   DISCLAIMER LEGACY — rectángulo azul pastel
   ========================================================================== */
.mlh-disclaimer {
    background: #A7C7E7;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(107, 91, 149, 0.1);
    max-width: 580px;
}

.mlh-disclaimer p {
    color: #FFFFFF;
    margin: 0;
}

/* ==========================================================================
   SOCIAL BOX — Facebook / YouTube
   ========================================================================== */
.silvita-social-box {
    background: var(--color-white);
    border: 1px solid rgba(107, 91, 149, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-card);
}

.silvita-social-box .social-label {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-lilac);
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.silvita-social-box .social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.silvita-social-box .social-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
    transition: all 0.2s ease;
}

.silvita-social-box .social-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.silvita-social-box .social-item.facebook {
    background: #1877F2;
}

.silvita-social-box .social-item.youtube {
    background: #FF0000;
}

.silvita-social-box .social-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.silvita-social-box .social-arrow {
    margin-left: 0.25rem;
    opacity: 0.7;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .silvita-social-box .social-links {
        flex-direction: column;
    }

    .silvita-social-box .social-item {
        justify-content: center;
    }
}

/* ==========================================================================
   NAV PREMIUM EN PÁGINAS INTERNAS
   ========================================================================== */
/* Desactivado: el header real vuelve a ser el menú global de WordPress/Blocksy
   para recuperar subcategorías y consistencia entre home e internas. */
/* ===== FIX: Nav premium sobre Blocksy ===== */
.mlh-nav { z-index: 100001 !important; }
.mlh-premium-body:not(.mlh-premium-front-page) header.ct-header { display: none !important; }

/* ===== FIX: Post cards compactos ===== */
.mlh-premium-body:not(.mlh-premium-front-page) .ct-container article {
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 20px rgba(107, 91, 149, 0.08);
    border: 1px solid rgba(107, 91, 149, 0.06);
}
.mlh-premium-body:not(.mlh-premium-front-page) .ct-container article .entry-title {
    font-size: 1rem;
    margin: 0.25rem 0 0;
}

/* ===== FIX: Footer blanco ===== */
.ct-footer, .ct-footer * { color: #fff !important; }

/* ===== FIX: Ocultar carrusel en categorías ===== */
.mlh-premium-body:not(.mlh-premium-front-page) .mlh-archive-shell > :first-child {
    display: none !important;
}
/* ===== FIX: Nav hamburguesa alineada ===== */
@media (max-width: 1023px) {
    .mlh-nav__toggle { display: block; }
}
@media (min-width: 1024px) {
    .mlh-nav__toggle { display: none; }
}

