/* ==========================================================================
   Single Event Page
   ========================================================================== */

.event-detail-page {
    font-family: "Open Sans", Arial, sans-serif;
    background: #ffffff;
}

.event-layout {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding: 60px 0;
    max-width: 1216px;
}

/* Main content
   ========================================================================== */

.event-main-section {
    flex: 1 1 auto;
    min-width: 0;
}

.event-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #080808;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 24px;
}

.event-back-link:hover {
    text-decoration: underline;
    color: #080808;
}

.event-title {
    font-size: 44px;
    font-weight: 700;
    color: #080808;
    line-height: 1.2;
    margin: 0 0 24px;
}

.event-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 32px;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #080808;
    font-size: 20px;
}

.event-meta-item i {
    font-size: 20px;
    color: #080808;
}

.event-description {
    color: #5D5D5D;
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 32px;
}

.event-hero-image {
    width: 100%;
    height: auto;
    /* max-height: 483px; */
    object-fit: cover;
    display: block;
    margin-bottom: 40px;
}

.event-location-box {
    border: 1px solid #E7E7E7;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-location-map {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #F6F6F6;
}

.event-location-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.event-location-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.event-location-address {
    display: block;
}

.event-location-street {
    display: block;
    color: #080808;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
}

.event-location-city {
    display: block;
    color: #080808;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.2;
}

.event-location-actions {
    display: flex;
    gap: 24px;
    flex: 0 0 auto;
}

.event-location-action {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #080808;
    text-decoration: none;
    background: transparent;
    border: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

.event-location-action i {
    font-size: 24px;
}

.event-location-action span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.event-location-action:hover {
    color: #9F1238;
}

/* Sidebar: More like this
   ========================================================================== */

.event-sidebar {
    flex: 0 0 320px;
    background: #F6F6F6;
    padding: 24px;
    border-radius: 4px;
}

.event-related-title {
    font-size: 24px;
    font-weight: 800;
    color: #080808;
    margin: 0 0 24px;
}

.event-related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.event-related-item:hover .event-related-name {
    color: #9F1238;
}

.event-related-badge {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    background: #ffffff;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-related-month {
    background: #A51336;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    padding: 6px 10px;
}

.event-related-day {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #080808;
    font-size: 20px;
    font-weight: 700;
}

.event-related-info {
    flex: 1 1 auto;
    min-width: 0;
}

.event-related-datetime {
    font-size: 12px;
    color: #5D5D5D;
    margin-bottom: 2px;
}

.event-related-name {
    font-size: 14px;
    font-weight: 700;
    color: #080808;
    line-height: 1.3;
}

/* Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .event-layout {
        padding: 48px 24px;
        gap: 32px;
    }

    .event-title {
        font-size: 36px;
    }

    .event-sidebar {
        flex: 0 0 280px;
    }
}

@media (max-width: 991px) {
    .event-layout {
        flex-direction: column;
    }

    .event-sidebar {
        flex: 1 1 auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .event-layout {
        padding: 32px 20px;
        gap: 24px;
    }

    .event-title {
        font-size: 28px;
        line-height: 1.25;
    }

    .event-meta-row {
        gap: 16px;
    }

    .event-meta-item,
    .event-meta-item i {
        font-size: 16px;
    }

    .event-description {
        font-size: 16px;
    }

    .event-location-box {
        padding: 20px;
        gap: 20px;
    }

    .event-location-map {
        height: 220px;
    }

    .event-location-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .event-location-street {
        font-size: 22px;
    }

    .event-location-city {
        font-size: 16px;
    }

    .event-sidebar {
        padding: 20px;
    }
}
