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

.wl-ev40 {
    --wine: #4c0718;
    --wine-dark: #2f080a;
    --wine-soft: #720d28;
    --cream: #fbf8f1;
    --paper: #fffdf8;
    --gold: #c48a3b;
    --line: #e9dfd6;
    --text: #241718;
    background: var(--paper);
    color: var(--text);
}

.wl-ev40 *,
.wl-ev40 *::before,
.wl-ev40 *::after {
    box-sizing: border-box;
}

.wl-ev40-container {
    width: min(100% - 48px, 1220px);
    margin-inline: auto;
}

/* HERO */
.wl-ev40-hero {
    display: grid;
    grid-template-columns: .92fr 1.18fr;
    height: 465px;
    min-height: 0;
    overflow: hidden;
    background: #190b08;
}

.wl-ev40-hero__copy {
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 78% 50%, rgba(122,52,28,.24), transparent 38%),
        linear-gradient(125deg, #1b0a07 0%, #2e120d 55%, #3d1b12 100%);
}

.wl-ev40-hero__copy-inner {
    width: min(100% - 70px, 520px);
    margin-left: auto;
    margin-right: 0;
}

.wl-ev40-hero h1 {
    margin: 0 0 18px;
    color: #fff9ef;
    font-family: var(--font-title);
    font-size: var(--fs-hero-title);
    line-height: .94;
    font-weight: 500;
    text-transform: none;
    letter-spacing: -.025em;
}

.wl-ev40-hero p {
    max-width: 390px;
    margin: 0;
    color: rgba(255,249,239,.93);
    font-family: var(--font-body);
    font-size: clamp(22px, 2vw, 31px);
    line-height: 1.18;
    font-style: italic;
}

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

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

/* EVENTOS */
.wl-ev40-events {
    padding: 42px 0 34px;
    background: var(--paper);
}

.wl-ev40-filters {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.wl-ev40-filters button {
    appearance: none;
    min-height: 58px;
    padding: 10px 14px;
    border: 1px solid #e5d8cf;
    border-radius: 7px;
    background: #fff;
    color: #692035;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    text-transform: none;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 4px 15px rgba(68,24,17,.025);
}

.wl-ev40-filters button:hover,
.wl-ev40-filters button.is-active {
    background: #fbf3ec;
    border-color: #cfb0a5;
    color: var(--wine);
    transform: translateY(-1px);
}

.wl-ev40-list {
    padding-top: 8px;
}

.wl-ev40-event {
    display: grid;
    grid-template-columns: 300px minmax(0,1fr) 170px;
    gap: 34px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.wl-ev40-event[hidden] {
    display: none !important;
}

.wl-ev40-event__media {
    height: 175px;
    overflow: hidden;
    border-radius: 8px;
    background: #eee5dc;
}

.wl-ev40-event__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.wl-ev40-event__content h2 {
    margin: 0 0 13px;
    color: #67162a;
    font-family: var(--font-title);
    font-size: clamp(26px, 2.1vw, 34px);
    line-height: 1.05;
    font-weight: 650;
}

.wl-ev40-event__content p {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: #382b2b;
}

.wl-ev40-event__content .wl-ev40-event__meta {
    margin-bottom: 8px;
    font-weight: 650;
    color: #4f3d3d;
}

.wl-ev40-event__action {
    display: flex;
    justify-content: flex-end;
}

.wl-ev40-event__action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 54px;
    padding: 12px 20px;
    border: 1px solid #dfcfc4;
    border-radius: 6px;
    color: #6e2136;
    background: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: none;
    text-decoration: none;
    transition: .2s ease;
}

.wl-ev40-event__action a:hover {
    background: var(--wine);
    border-color: var(--wine);
    color: #fff;
}

/* CTA */
.wl-ev40-cta {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    height: 250px;
    min-height: 0;
    background: #4d0518;
    overflow: hidden;
}

.wl-ev40-cta__copy {
    display: flex;
    align-items: center;
    height: 250px;
    min-height: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 40%, rgba(152,25,61,.35), transparent 45%),
        linear-gradient(130deg, #550519, #7b0b28 78%, #4a0315);
}

.wl-ev40-cta__copy-inner {
    width: min(100% - 70px, 500px);
    margin-left: auto;
    margin-right: 0;
}

.wl-ev40-cta h2 {
    margin: 0 0 22px;
    color: #fff8ef;
    font-family: var(--font-title);
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.02;
    font-weight: 500;
}

.wl-ev40-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 4px;
    background: #c99048;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    text-transform: none;
    letter-spacing: .03em;
}

.wl-ev40-cta__media {
    height: 250px;
    min-height: 0;
    overflow: hidden;
}

.wl-ev40-cta__media img {
    display: block;
    width: 100%;
    height: 250px;
    max-height: 250px;
    min-height: 0;
    object-fit: cover;
    object-position: center 42%;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .wl-ev40-hero {
        grid-template-columns: 1fr 1.1fr;
        height: 430px;
    }

    .wl-ev40-hero__media,
    .wl-ev40-hero__media img {
        height: 430px;
        max-height: 430px;
    }

    .wl-ev40-filters {
        grid-template-columns: repeat(4, 1fr);
    }

    .wl-ev40-event {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }

    .wl-ev40-event__action {
        grid-column: 2;
        justify-content: flex-start;
        margin-top: -8px;
    }

    .wl-ev40-cta {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .wl-ev40-hero {
        grid-template-columns: 1fr;
        height: auto;
    }

    .wl-ev40-hero__copy-inner,
    .wl-ev40-cta__copy-inner {
        width: min(100% - 32px, 680px);
        margin: 0 auto;
        padding: 52px 0;
    }

    .wl-ev40-hero__media,
    .wl-ev40-hero__media img {
        height: 330px;
        max-height: 330px;
    }

    .wl-ev40-filters {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .wl-ev40-event {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 0;
    }

    .wl-ev40-event__media {
        height: 240px;
    }

    .wl-ev40-event__action {
        grid-column: auto;
        margin-top: 0;
    }

    .wl-ev40-event__action {
        justify-content: flex-start;
    }

    .wl-ev40-cta {
        grid-template-columns: 1fr;
    }

    .wl-ev40-cta__media {
        min-height: 240px;
    }
}

@media (max-width: 480px) {
    .wl-ev40-events {
        padding-top: 30px;
    }

    .wl-ev40-filters button {
        min-height: 50px;
        font-size: 13px;
    }

    .wl-ev40-event__media {
        height: 205px;
    }

    .wl-ev40-hero h1 {
        font-size: 48px;
    }
}

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