/* ===========================================================
   TODO PARA EL BAILE
   EVENTOS
   ===========================================================*/

.event-page {
    margin-top: -18px;
}

/* Experiencia de catálogo y detalle público */
.events-catalog-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
}

.events-catalog-assurances span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, .78);
    font-size: .88rem;
    font-weight: 650;
}

.public-event-breadcrumb {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0;
}

.public-event-breadcrumb a {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    color: #574f61;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
}

.public-event-breadcrumb a:hover {
    color: #7c3aed;
}

.public-event-organizer-card > p {
    margin: 10px 0 0;
    color: #6d6578;
    font-size: .9rem;
    line-height: 1.55;
}

@media (max-width: 575.98px) {
    .events-catalog-assurances {
        display: grid;
    }

    .public-event-breadcrumb {
        width: calc(100% - 28px);
        padding: 16px 0;
    }
}

/* ===========================================================
   HERO
   ===========================================================*/

.event-hero {
    position: relative;
    height: 560px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

    .event-hero img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .event-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(8,12,24,.95), rgba(8,12,24,.55), rgba(8,12,24,.15) );
    }

.event-hero-content {
    position: relative;
    z-index: 5;
    width: min(1350px,92%);
    margin: auto;
    margin-bottom: 55px;
    color: white;
}

.event-badge {
    display: inline-block;
    background: #d63384;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 18px;
}

.event-title {
    font-size: clamp(3rem,6vw,5.5rem);
    font-weight: 900;
    line-height: .95;
    margin-bottom: 18px;
}

.event-summary {
    font-size: 1.35rem;
    max-width: 720px;
    opacity: .95;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* ===========================================================
   HERO INFO
   ===========================================================*/

.event-stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.event-stat {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    padding: 16px 22px;
    min-width: 170px;
}

.event-stat-title {
    font-size: .75rem;
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-stat-value {
    display: block;
    margin-top: 6px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===========================================================
   BODY
   ===========================================================*/

.event-container {
    width: min(1350px,92%);
    margin: auto;
    margin-top: -70px;
    position: relative;
    z-index: 10;
}

.event-card {
    background: white;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 24px;
}

    .event-card h2 {
        font-size: 1.6rem;
        font-weight: 800;
        margin-bottom: 25px;
    }

/* ===========================================================
   HIGHLIGHTS
   ===========================================================*/

.event-highlights {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.event-highlight {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 22px;
    transition: .25s;
}

    .event-highlight:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0,0,0,.08);
    }

.event-highlight-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.event-highlight-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-highlight p {
    margin: 0;
    color: #666;
}

/* ===========================================================
   SIDEBAR
   ===========================================================*/

.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-sidebar-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

    .event-sidebar-card h3 {
        font-size: 1.35rem;
        font-weight: 800;
        margin-bottom: 25px;
    }

.event-info {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

    .event-info:last-child {
        margin-bottom: 0;
    }

.event-info-icon {
    width: 42px;
    height: 42px;
    background: #f7e9f1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-info small {
    display: block;
    color: #999;
}

.event-info strong {
    display: block;
    font-size: 1rem;
}

/* ===========================================================
   RESPONSIVE
   ===========================================================*/

@media(max-width:992px) {

    .event-highlights {
        grid-template-columns: 1fr;
    }

    .event-hero {
        height: 470px;
    }

    .event-title {
        font-size: 3rem;
    }
}

/* Ajustes finales de catálogo y detalle */
.tpb-card,
.tpb-card-body,
.tpb-card-title,
.tpb-card-meta,
.events-filter-card > * {
    min-width: 0;
}

.tpb-card-img,
.public-event-hero-image {
    width: 100%;
    object-fit: cover;
}

.tpb-card-title,
.tpb-card-meta span,
.public-event-info-card strong,
.public-event-organizer-card h2 {
    overflow-wrap: anywhere;
}

.tpb-card-button,
.events-clear-filter,
.public-event-breadcrumb a {
    min-height: 44px;
}

@media (max-width: 767.98px) {
    .events-filter-card {
        gap: 12px;
    }

    .events-filter-search,
    .events-filter-select,
    .events-featured-filter,
    .events-clear-filter {
        width: 100%;
    }

    .events-catalog-toolbar {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .tpb-card-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .public-event-hero {
        min-height: 460px;
    }

    .public-event-hero-content {
        width: calc(100% - 28px);
    }

    .public-event-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .public-event-hero-actions a {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        text-align: center;
    }
}
