/**
 * Event detail – extends magazine-detail-style for event single (admission, datetime, location, related media, connect, shortcode-similar-events).
 */
.single-event .main > .inner .two-col .wc-l {
    padding: 0;
    margin: 0;
}
/* Full-width wrapper */
body.single-event {
    overflow-x: hidden;
}
body.single-event .main > .inner:has(.magazine-detail-style) {
    padding-top: 0 !important;
}
body.single-event .magazine-search-style .select2 {
    width: 100% !important;
}

.shortcode-similar-events-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f9f7f1;
    box-sizing: border-box;
    overflow-x: hidden;
}
.shortcode-similar-events-wrapper .fea-evt-row.fea-evt-list--scroll .fea-evt-item {
    width: calc(100% / 4 - 15px) !important;
}


.shortcode-similar-events-wrapper .fea-evt-row.fea-evt-list--scroll .fea-evt-item {
    flex: 0 0 auto;
    flex-shrink: 0;
    width: calc(25% - 11.25px);
    min-width: 280px;
}

.shortcode-similar-events-wrapper .featured-event-blk {
    background-color: transparent;
}

.shortcode-similar-events-wrapper .shortcode-feature-event.shortcode-similar-events {
    color: #000000;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.magazine-detail-style .event-date {
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.magazine-detail-style .magazine-detail-header-top .header-left {
    display: inline-flex;
    align-items: center;
}

.magazine-detail-style .magazine-detail-header-top .header-left .btn-bm:hover {
    color: #000;
}

.magazine-detail-style .magazine-detail-header-top .header-left .btn-bm::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-size: 1.25rem;
    color: #000;
}

.magazine-detail-style .magazine-detail-header-top .header-left .btn-bm.bookmark_highlight::before {
    font-weight: 900;
}

.magazine-detail-style .event-venue-org {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.magazine-detail-style .event-venue,
.magazine-detail-style .event-organizer {
    font-size: 1rem;
    line-height: 1.5;
}

.magazine-detail-style .event-venue a,
.magazine-detail-style .event-organizer a {
    color: #a855f7;
    text-decoration: none;
}

.magazine-detail-style .event-venue a:hover,
.magazine-detail-style .event-organizer a:hover {
    text-decoration: underline;
}

.magazine-detail-style .event-location-accessibility .location-venue-name {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.magazine-detail-style .event-location-accessibility .location-venue-name a {
    color: #000000;
    text-decoration: none;
}

.magazine-detail-style .event-location-accessibility .location-venue-name a:hover {
    text-decoration: underline;
}

.magazine-detail-style .event-location-accessibility .location-address-text,
.magazine-detail-style .event-location-accessibility .location-google-map,
.magazine-detail-style .event-location-accessibility .location-accessibility-text {
    margin: 0 0 1rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.magazine-detail-style .event-location-accessibility-text {
    font-size: 0.875rem;
    line-height: 1.6;
}

.magazine-detail-style .event-location-map {
    width: 100%;
    max-width: 100%;
}

.magazine-detail-style .event-location-map:not(:has(.lo-left)) {
    aspect-ratio: 1 / 1;
}

body .popup__box .accessibility-header .accessibility-title {
    color: #FFF;
}

.magazine-detail-style .event-location-map .location-wrapper + .lo-left img,
.magazine-detail-style .event-location-map #what_near_by_map,
.magazine-detail-style #what_near_by_mapbox {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.magazine-detail-style .event-location-map .locatn.location-wrapper:nth-child(3) {
    display: none;
}

.magazine-detail-style .event-location-map .location-wrapper.a-block {
    margin: 0;
}

.magazine-detail-style .event-location-map .a-block.locatn>.a-block-ct {
    padding-bottom: 0;
}

.magazine-detail-style + .shortcode-similar-events-wrapper .shortcode-similar-events .section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 1rem 0;
    text-transform: capitalize;
}

.magazine-detail-style .event-admission-details .admission-content,
.magazine-detail-style .event-datetime .datetime-content {
    color: #000000;
    font-size: 0.875rem;
    line-height: 1.6;
}

.magazine-detail-style .admission-content .admission-text p {
    display: block;
    margin: 0 0 0.5rem 0;
}

.magazine-detail-style .event-admission-details .admission-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.magazine-detail-style .event-admission-details .admission-content li {
    margin-bottom: 0.5rem;
}

.magazine-detail-style .event-times {
    margin-bottom: 1rem;
}

.magazine-detail-style .event-times ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.magazine-detail-style .event-times li {
    margin-bottom: 0.5rem;
    color: #000000;
}

.magazine-detail-style .additional-time-info {
    margin-bottom: 1rem;
}

.magazine-detail-style .datetime-disclaimer {
    font-size: 0.75rem;
    color: #666666;
    font-style: italic;
    margin-top: 1rem;
}

.magazine-detail-style .individual-times-list .event-times ul {
    list-style: disc;
    padding-left: 1.25rem;
}

.magazine-detail-style .view-individual-times-toggle {
    display: inline-block;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    padding: 0.5rem 0;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.magazine-detail-style .view-individual-times-toggle:hover {
    color: var(--primary-color);
}

.magazine-detail-style .view-individual-times-toggle .toggle-icon {
    margin-right: 0.25rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.magazine-detail-style .view-individual-times-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
}

.magazine-detail-style .individual-times-list {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.magazine-detail-style .individual-times-list[style*="display: block"],
.magazine-detail-style .individual-times-list.show {
    display: block !important;
    opacity: 1;
}

.magazine-detail-style .event-related-media-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Video thumbnails styling */
.magazine-detail-style .event-video-thumb {
    position: relative;
}

.magazine-detail-style .related-media-item.event-video-thumb {
    max-width: 240px;
}
.magazine-detail-style .event-video-thumb .btn-play-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.magazine-detail-style .event-video-thumb:hover .btn-play-video {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.magazine-detail-style .event-video-thumb .btn-play-video .play-video-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid #ffffff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

/* Video popup styling */
.single-event .video-box-wrapper {
    display: none;
    position: relative;
}

.single-event .video-box-wrapper.is-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000001;
    align-items: center;
    justify-content: center;
}

.magazine-detail-style .video-box-wrapper .wrapper-top-thumb .video {
    width: 100%;
    height: 100%;
    position: relative;
}

.magazine-detail-style .video-box-wrapper .wrapper-top-thumb .video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.magazine-detail-style .video-box-wrapper .closevideo:hover {
    background-color: rgba(255, 255, 255, 1);
}

.magazine-detail-style .video-box-wrapper .closevideo:hover i {
    color: #000;
}

.magazine-detail-style .video-box-wrapper .add-event-video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
}

.magazine-detail-style .video-box-wrapper .add-event-video-loader i {
    color: #fff;
}

.magazine-detail-style .event-connect-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
}

.magazine-detail-style .event-connect-list li {
    margin-bottom: 0.25rem;
}

.magazine-detail-style .event-connect-list a {
    color: #000;
    text-decoration: none;
}

.magazine-detail-style .event-connect-list a:hover {
    text-decoration: underline;
}

.event-related-media-block .photo-box.show {
    display: block;
}

.shortcode-similar-events-wrapper .shortcode-similar-events .nav-feature-event {
    display: none;
}

.magazine-detail-style .event-location-accessibility .location-accessibility-text + a {
    display: inline-block;
}

.magazine-detail-style .event-location-accessibility .apl-event-accessibility-js.main-detail {
    background-color: #fff;
    color: #000;
    border-radius: 0;
}

@media (max-width: 1024px) {
    .magazine-detail-style + .shortcode-similar-events-wrapper .shortcode-similar-events {
        padding: 1rem;
    }

    body .wc-l:not(.no-right-column) .magazine-detail-style .event-related-media-grid .related-media-item img {
        height: auto;
    }

    body .wc-l:not(.no-right-column) .shortcode-similar-events-wrapper .shortcode-similar-events .apl-feature-tab-horizontal .fea-evt-row.fea-evt-list--scroll .fea-evt-item,
    body .wc-l:not(.no-right-column) .shortcode-similar-events-wrapper .shortcode-similar-events .apl-modern-panel-list-items .fea-evt-row.fea-evt-list--scroll .fea-evt-item {
        width: calc(100% / 2 - 10px) !important;
    }

    .no-right-column .magazine-detail-style .event-related-media-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .shortcode-similar-events-wrapper .fea-evt-row.fea-evt-list--scroll .fea-evt-item {
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        width: calc(50% - 7.5px) !important;
        min-width: 280px !important;
    }

    body .wc-l:not(.no-right-column) .shortcode-similar-events-wrapper .shortcode-similar-events .apl-feature-tab-horizontal .fea-evt-row.fea-evt-list--scroll .fea-evt-item,
    body .wc-l:not(.no-right-column) .shortcode-similar-events-wrapper .shortcode-similar-events .apl-modern-panel-list-items .fea-evt-row.fea-evt-list--scroll .fea-evt-item {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .shortcode-similar-events-wrapper .fea-evt-row.fea-evt-list--scroll .fea-evt-item {
        width: 100% !important;
    }
}

/* Discount button v1 */
.drop-discount {
    margin-bottom: -10rem;
}
@media (max-width: 768px) {
    .magazine-detail-style .magazine-detail-header-top {
        flex-direction: row;
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .drop-discount {
        margin-bottom: 0;
    }
}

.drop-discount__btn {
    display: block;
    width: 100%;
    background: #1A2B5C;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 16px;
    border-radius: 6px 6px 0 0;
    transition: background 0.2s ease;
}

.drop-discount__btn:hover {
    background: #152243;
    color: #FFFFFF;
}

.drop-discount__card {
    background: #EAFCA5;
    border-radius: 0 0 6px 6px;
    padding: 16px;
    color: #22222A;
}

.drop-discount__icon {
    width: 32px;
    height: 32px;
    display: block;
    margin-bottom: 8px;
}

.drop-discount__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #22222A;
    margin-bottom: 4px;
}

.drop-discount__price {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #22222A;
    margin-bottom: 8px;
}

.drop-discount__code-label {
    font-size: 12px;
    line-height: 1.3;
    color: #22222A;
    margin-bottom: 4px;
}

.drop-discount__code-line {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    cursor: pointer;
}

.drop-discount__code-line:hover .drop-discount__tooltip {
    display: block;
}

.drop-discount__code-value {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #22222A;
}

.drop-discount__code-icon {
    font-size: 13px;
    color: #22222A;
    cursor: pointer;
}

.drop-discount__tooltip {
    font-size: 11px;
    display: none;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #22222A;
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}
/* END Discount button v1 */