/* =========================================================
   WOMENIZE LATAM — COMUNIDAD 4.0
   Octubre 2026
========================================================= */

.wl-community-40 {
    --wl-wine: #520619;
    --wl-wine-dark: #380310;
    --wl-wine-soft: #74172f;
    --wl-cream: #f8f8ec;
    --wl-paper: #fffdf8;
    --wl-gold: #bd7d3d;
    --wl-line: rgba(82, 6, 25, .13);
    --wl-text: #2d2828;
    background: var(--wl-paper);
    color: var(--wl-text);
}

.wlcm-container {
    width: min(100% - 64px, 1280px);
    margin-inline: auto;
}

.wl-community-40 h1,
.wl-community-40 h2 {
    font-family: var(--font-title);
    color: var(--wl-wine-dark);
}

.wl-community-40 img {
    max-width: 100%;
}

/* HERO */
.wlcm-hero {
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    height: 465px;
    min-height: 0;
    background: #1d0906;
}

.wlcm-hero__copy {
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 95% 50%, rgba(155,74,41,.17), transparent 42%),
        linear-gradient(115deg, #160604 0%, #2b0a07 54%, #3a130d 100%);
}

.wlcm-hero__copy-inner {
    width: min(100% - 72px, 560px);
    margin-left: auto;
    margin-right: 0;
}

.wlcm-hero h1 {
    margin: 0 0 18px;
    color: #fff9f2;
    font-size: var(--fs-hero-title);
    line-height: .95;
    font-weight: 500;
    text-transform: none;
    letter-spacing: .01em;
}

.wlcm-hero p {
    max-width: 470px;
    margin: 0;
    color: #fff7ee;
    font-family: var(--font-body);
    font-size: clamp(24px, 2vw, 33px);
    line-height: 1.22;
    font-style: italic;
}

.wlcm-hero__media {
    height: 465px;
    min-height: 0;
    overflow: hidden;
}

.wlcm-hero__media img {
    display: block;
    width: 100%;
    height: 465px;
    max-height: 465px;
    object-fit: cover;
    object-position: center;
}

/* GENERIC FEATURE ROW */
.wlcm-feature,
.wlcm-directors {
    padding: 58px 0;
    border-bottom: 1px solid var(--wl-line);
}

.wlcm-feature--soft {
    background: #fffaf5;
}

.wlcm-feature__grid,
.wlcm-directors__grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    align-items: center;
}

.wlcm-feature__copy h2,
.wlcm-directors__copy h2,
.wlcm-chapters__heading h2 {
    margin: 0 0 14px;
    font-size: clamp(36px, 3.25vw, 50px);
    line-height: 1;
    font-weight: 600;
    text-transform: none;
}

.wlcm-feature__copy p,
.wlcm-directors__copy p,
.wlcm-chapters__heading p {
    max-width: 470px;
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.62;
}

.wlcm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 3px;
    background: var(--wl-wine-dark);
    color: #fff !important;
    text-decoration: none;
    text-transform: none;
    letter-spacing: .045em;
    font-size: 11px;
    font-weight: 700;
}

.wlcm-button:hover {
    transform: translateY(-1px);
    background: var(--wl-wine);
}

.wlcm-feature__media {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(56,3,16,.10);
}

.wlcm-feature__media img {
    display: block;
    width: 100%;
    height: 315px;
    object-fit: cover;
}

/* GALLERIES */
.wlcm-gallery {
    display: grid;
    gap: 14px;
}

.wlcm-gallery--three {
    grid-template-columns: repeat(3, 1fr);
}

.wlcm-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #eee5df;
    box-shadow: 0 9px 24px rgba(56,3,16,.08);
}

.wlcm-gallery img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* DIRECTORS */
.wlcm-directors {
    background: #fffdfa;
}

.wlcm-directors__map {
    padding: 8px 0;
}

.wlcm-directors__map img {
    display: block;
    width: 100%;
    max-height: 380px;
    object-fit: contain;
}

/* CHAPTERS */
.wlcm-chapters {
    padding: 62px 0 70px;
    background: #fffdf9;
}

.wlcm-chapters__heading {
    margin-bottom: 28px;
}

.wlcm-chapters__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.wlcm-chapter-card {
    min-height: 205px;
    padding: 30px 28px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(145deg, #f3dfd0, #f0e4dc);
    border: 1px solid rgba(82,6,25,.06);
}

.wlcm-chapter-card:nth-child(2) {
    background: linear-gradient(145deg, #eee2dc, #e8deda);
}
.wlcm-chapter-card:nth-child(3) {
    background: linear-gradient(145deg, #ded9e5, #eee8ee);
}
.wlcm-chapter-card:nth-child(4) {
    background: linear-gradient(145deg, #ebcddd, #f0dce6);
}

.wlcm-chapter-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--wl-wine-soft);
}

.wlcm-chapter-card__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wlcm-chapter-card h3 {
    margin: 0;
    color: #402a2f;
    font-size: 22px;
    line-height: 1.12;
    font-weight: 600;
}

/* CTA */
.wlcm-cta {
    position: relative;
    overflow: hidden;
    padding: 58px 0 62px;
    text-align: center;
    background:
        radial-gradient(circle at 78% 35%, rgba(137,43,66,.6), transparent 35%),
        linear-gradient(115deg,#440313,#6e0a24 58%,#3b0210);
}

.wlcm-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .09;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 24px 24px;
}

.wlcm-cta__inner {
    position: relative;
    z-index: 1;
}

.wlcm-cta h2 {
    margin: 0 0 8px;
    color: #fff9f3;
    font-size: clamp(34px, 3.7vw, 52px);
    font-weight: 500;
    text-transform: none;
}

.wlcm-cta p {
    margin: 0 0 25px;
    color: #fff2e9;
    font-size: 18px;
}

.wlcm-button--gold {
    background: #c08a4a;
}

.wlcm-button--gold:hover {
    background: #d09a5a;
}

@media (max-width: 980px) {
    .wlcm-hero {
        grid-template-columns: 1fr 1.15fr;
        height: 465px;
        min-height: 0;
    }
    .wlcm-hero__media { height: 465px; min-height: 0; }
    .wlcm-hero__media img { height: 465px; max-height: 465px; }
    .wlcm-feature__grid,
    .wlcm-directors__grid {
        gap: 42px;
    }
    .wlcm-gallery img { height: 220px; }
    .wlcm-chapters__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .wlcm-container { width: min(100% - 32px, 1280px); }

    .wlcm-hero {
        grid-template-columns: 1fr;
        height: auto;
    }
    .wlcm-hero__copy-inner {
        width: min(100% - 32px, 680px);
        margin: 0 auto;
        padding: 58px 0;
    }
    .wlcm-hero__media { height: 360px; min-height: 0; }
    .wlcm-hero__media img { height: 360px; max-height: 360px; }

    .wlcm-feature,
    .wlcm-directors {
        padding: 44px 0;
    }

    .wlcm-feature__grid,
    .wlcm-directors__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .wlcm-feature__media img { height: 280px; }
    .wlcm-gallery img { height: 270px; }
}

@media (max-width: 560px) {
    .wlcm-hero h1 { font-size: 48px; }
    .wlcm-hero p { font-size: 23px; }
    .wlcm-hero__media { height: 300px; min-height: 0; }
    .wlcm-hero__media img { height: 300px; max-height: 300px; }

    .wlcm-feature__copy h2,
    .wlcm-directors__copy h2,
    .wlcm-chapters__heading h2 {
        font-size: 36px;
    }

    .wlcm-gallery--three {
        grid-template-columns: 1fr 1fr;
    }
    .wlcm-gallery figure:last-child {
        grid-column: 1 / -1;
    }
    .wlcm-gallery img { height: 220px; }

    .wlcm-chapters { padding: 48px 0; }
    .wlcm-chapters__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .wlcm-chapter-card { min-height: 160px; }
}

/* =========================================================
   TIPOGRAFÍA GLOBAL — OVERRIDE RESPONSIVE
   Mantiene el título principal consistente entre páginas.
========================================================= */
@media (max-width: 767px) {
    .wlcm-hero h1 {
        font-size: var(--fs-hero-title-mobile);
    }
}
