/* =========================================================
   EVENT DETAILS PAGE CSS
========================================================= */

.event-details-section {
    padding: 30px 0 70px;
    background: #f5f8fc;
}

.event-details-hero {
    margin-bottom: 30px;
}

.event-hero-image {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 360px;
}

.event-hero-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 59, 99, 0.78), rgba(8, 59, 99, 0.18));
}

.event-hero-content {
    position: absolute;
    left: 32px;
    bottom: 28px;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
}

.event-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: #4de0dd;
    color: #0e5678;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.event-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
}

.event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.event-details-wrapper {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr;
    gap: 28px;
    align-items: start;
}

.event-details-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-card,
.event-price-card,
.event-guarantee-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.event-card h2,
.event-card h3 {
    color: #083b63;
    font-weight: 700;
    margin-bottom: 16px;
}

.event-card h2 {
    font-size: 28px;
}

.event-card h3 {
    font-size: 22px;
}

.event-card p {
    color: #456176;
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 0;
}

.event-card h2 i,
.event-card h3 i {
    color: #0b5d87;
    margin-right: 8px;
}

.event-points {
    margin: 18px 0 0;
    padding-left: 0;
    list-style: none;
}

.event-points li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #456176;
    line-height: 1.8;
    font-size: 15px;
}

.event-points li::before {
    content: "\f058";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: #39b980;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.small-card small,
.small-text {
    color: #7b8ea0;
    font-size: 13px;
    display: block;
    margin-top: 12px;
    line-height: 1.7;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    color: #456176;
    font-size: 15px;
}

.info-row:last-of-type {
    border-bottom: none;
}

.info-row strong {
    color: #083b63;
}

.dress-badge {
    display: inline-block;
    padding: 7px 14px;
    background: #edf7ff;
    color: #0b5d87;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.event-location-box {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.event-location-box img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.location-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 10px 14px;
}

.location-label strong {
    display: block;
    color: #083b63;
    font-size: 14px;
}

.location-label span {
    color: #6f8498;
    font-size: 12px;
}

.event-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.sidebar-label {
    display: inline-block;
    color: #7b8ea0;
    font-size: 13px;
    margin-bottom: 8px;
}

.event-price-card h3 {
    font-size: 42px;
    color: #083b63;
    font-weight: 800;
    margin-bottom: 20px;
}

.event-price-card h3 small {
    font-size: 16px;
    font-weight: 600;
    color: #7b8ea0;
}

.sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.sidebar-info-item {
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}

.sidebar-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-title {
    display: block;
    color: #7b8ea0;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.sidebar-info-item strong {
    color: #083b63;
    font-size: 15px;
}

.event-apply-btn,
.event-save-btn {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-apply-btn {
    background: #0b5d87;
    color: #ffffff;
    margin-bottom: 12px;
}

.event-apply-btn:hover {
    background: #084866;
    color: #ffffff;
}

.event-save-btn {
    background: #ffffff;
    color: #083b63;
    border: 1px solid #dbe6ef;
}

.event-save-btn:hover {
    background: #f7fbff;
    color: #083b63;
}

.interest-text {
    text-align: center;
    color: #8a98a8;
    font-size: 13px;
    margin-top: 12px;
    margin-bottom: 0;
}

.event-guarantee-card h4 {
    font-size: 18px;
    color: #083b63;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-guarantee-card h4 i {
    color: #39b980;
    margin-right: 8px;
}

.event-guarantee-card p {
    color: #456176;
    line-height: 1.8;
    font-size: 14px;
    margin: 0;
}

/* =========================
   Tablet
========================= */
@media (max-width: 991px) {
    .event-details-wrapper {
        grid-template-columns: 1fr;
    }

    .event-details-sidebar {
        position: static;
    }

    .event-hero-image,
    .event-hero-image img {
        min-height: 300px;
        height: 300px;
    }

    .event-hero-content h1 {
        font-size: 38px;
    }
}

/* =========================
   Mobile
========================= */
@media (max-width: 767px) {
    .event-details-section {
        padding: 20px 0 45px;
    }

    .event-hero-image,
    .event-hero-image img {
        min-height: 260px;
        height: 260px;
    }

    .event-hero-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .event-hero-content h1 {
        font-size: 28px;
    }

    .event-meta {
        gap: 10px;
        font-size: 13px;
    }

    .event-card,
    .event-price-card,
    .event-guarantee-card {
        padding: 20px;
        border-radius: 14px;
    }

    .event-card h2 {
        font-size: 22px;
    }

    .event-card h3 {
        font-size: 18px;
    }

    .event-card p,
    .event-points li,
    .info-row {
        font-size: 14px;
    }

    .event-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .event-location-box img {
        height: 200px;
    }

    .event-price-card h3 {
        font-size: 34px;
    }
}

/* =========================
   Small Mobile
========================= */
@media (max-width: 575px) {
    .event-hero-content h1 {
        font-size: 24px;
    }

    .event-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    .event-card,
    .event-price-card,
    .event-guarantee-card {
        padding: 16px;
    }

    .event-card h2 {
        font-size: 20px;
    }

    .event-price-card h3 {
        font-size: 30px;
    }
}