.event-page {
    background-color: #f4f6fb;
    min-height: 100vh;
}
.breadcrumb-wrapper {
    padding: 0.75rem 0;
}

.breadcrumb {
    font-size: 0.85rem;
    background: transparent;
}

.event-header {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    /*border-left: 5px solid #667eea;*/
}

.event-header-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg,#667eea,#764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e1b4b;
    line-height: 1.2;
    margin: 0;
}

.event-code-badge {
    display: inline-block;
    margin-top: .3rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #6366f1;
    background: #eef2ff;
    border-radius: 6px;
    padding: .2rem .65rem;
}
.event-header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .75rem;
    margin-left: auto;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1.25rem;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    transition: background .18s ease, box-shadow .18s ease, transform .12s ease;
    cursor: pointer;
    white-space: nowrap;
}

    .btn-action:hover,
    .btn-action:focus-visible {
        transform: translateY(-1px);
        text-decoration: none;
    }

.btn-action-primary {
    background: linear-gradient(135deg,#667eea,#764ba2);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 3px 10px rgba(79,70,229,.35);
}

    .btn-action-primary:hover,
    .btn-action-primary:focus-visible {
        background: linear-gradient(135deg,#3730a3,#6d28d9);
        box-shadow: 0 5px 16px rgba(79,70,229,.45);
        color: #fff;
    }

.btn-action-secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #c7d2fe;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

    .btn-action-secondary:hover,
    .btn-action-secondary:focus-visible {
        background: #eef2ff;
        border-color: #a5b4fc;
        color: #3730a3;
        box-shadow: 0 3px 10px rgba(79,70,229,.15);
    }

.detail-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    overflow: hidden;
    background: #fff;
}

.detail-card-header {
    background: #f8f9ff;
    border-bottom: 1px solid #e5e7eb;
    padding: .85rem 1.25rem;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #667eea;
}
.detail-list {
    margin: 0;
    padding: 0;
}

.detail-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    align-items: start;
}

    .detail-row:last-child {
        border-bottom: none;
    }

    .detail-row dt {
        font-size: .8rem;
        font-weight: 600;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: .04em;
        padding-top: .05rem;
    }

    .detail-row dd {
        font-size: .92rem;
        color: #1f2937;
        margin: 0;
        word-break: break-word;
    }

.detail-description {
    line-height: 1.65;
    color: #374151;
    max-height: 300px;
    overflow-y: auto;
}

.getting-there-body {
    padding: 24px;
}

.getting-there-intro {
    color: #374151;
    font-size: .95rem;
    margin-bottom: 1rem;
}

.getting-there-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.getting-there-option {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
}

.getting-there-icon {
    flex-shrink: 0;
    width: 1.35rem;
    text-align: center;
    margin-top: .15rem;
    color: #667eea;
    font-size: 1.1rem;
}

.getting-there-option-title {
    font-size: .95rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.getting-there-option-desc {
    font-size: .875rem;
    color: #6b7280;
    margin-top: .15rem;
    line-height: 1.45;
}

.kiwitaxi-widget-wrap {
    margin-top: 20px;
    width: 100%;
}

.kiwitaxi-widget-embed {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.kiwitaxi-widget-embed > * {
    width: 100% !important;
    max-width: 100%;
}

.detail-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

    .detail-link:hover,
    .detail-link:focus {
        color: #3730a3;
        text-decoration: underline;
    }

.company-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: .88rem;
    color: #667eea;
    text-decoration: none;
}

    .company-link:hover {
        color: #3730a3;
        text-decoration: underline;
    }

.tag-badge {
    display: inline-block;
    margin: .15rem .2rem .15rem 0;
    padding: .2rem .6rem;
    font-size: .75rem;
    font-weight: 600;
    background: #ede9fe;
    color: #6d28d9;
    border-radius: 20px;
}

.badge-capacity {
    display: inline-flex;
    align-items: center;
    padding: .3rem .75rem;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
    background: #dbeafe;
    color: #1d4ed8;
}

.status-badge {
    display: inline-block;
    padding: .5rem 1.5rem;
    border-radius: 30px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.status-active,
.status-published {
    background: #d1fae5;
    color: #065f46;
}

.status-pending,
.status-draft {
    background: #fef9c3;
    color: #78350f;
}

.status-cancelled,
.status-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.status-unknown {
    background: #f3f4f6;
    color: #6b7280;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border-top: 1px solid #e5e7eb;
}

.pricing-tier {
    padding: 1rem .85rem;
    text-align: center;
    border-right: 1px solid #f3f4f6;
}

    .pricing-tier:last-child {
        border-right: none;
    }

.pricing-tier-label {
    font-size: .62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
    margin-bottom: .4rem;
}

.pricing-tier-price {
    font-size: 1.10rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: .25rem;
}

.pricing-tier-meta {
    font-size: .62rem;
    color: #9ca3af;
    line-height: 1.4;
}

.event-image-card {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.event-video-card {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
}

.yt-lazy-facade {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    padding: 0;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.yt-lazy-facade__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yt-lazy-facade__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 54px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.78);
}

.yt-lazy-facade__play::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 16px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 18px solid #fff;
}

.yt-lazy-facade:hover .yt-lazy-facade__play {
    background: #ff0000;
}

.promo-video-audio-toggle {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.promo-video-audio-toggle:hover {
    background: rgba(0, 0, 0, 0.8);
}

.promo-video-audio-toggle.is-unmuted {
    background: rgba(22, 163, 74, 0.9);
}

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

.event-video-embed {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.promo-video-error {
    display: none;
    padding: 1rem;
    background: #111;
    color: #fff;
    text-align: center;
}

.promo-video-error.is-visible {
    display: block;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    background: #16a34a;
    color: #fff;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s ease;
}

    .btn-map:hover {
        background: #15803d;
        color: #fff;
    }

.map-thumbnail {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: .75rem;
}

.google-contentMap {
    max-width: 340px;
}

.event-google-map-modal-shell {
    position: relative;
}

#googleMapFrame {
    border: 0;
    width: 300px;
    height: 400px;
}

/* Google Map modal: map centered in body; loader dead-centers ring + % in body (vertical & horizontal) */
.event-google-map-modal-body {
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-google-map-frame-wrap {
    width: 300px;
    max-width: 100%;
}

.event-map-loading-overlay {
    position: absolute;
    inset: 0;
    display: none;
    background: rgba(255, 255, 255, 0.92);
    z-index: 2;
}

.event-map-loading-overlay.event-map-loading-overlay--active {
    display: block;
}

.event-map-loading-overlay-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* % sits inside ring; drop extra margin from avatar ring layout */
.event-map-loading-ring-wrap {
    margin-bottom: 0;
}

@media (max-width:575.98px) {

    .event-header {
        margin-top: 40px;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: .2rem;
        padding: .65rem 1rem;
    }

        .detail-row dt {
            font-size: .72rem;
        }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-tier {
        border-right: none;
        border-bottom: 1px solid #f3f4f6;
    }

        .pricing-tier:last-child {
            border-bottom: none;
        }

    .event-cover-img {
        height: 200px;
    }

    .event-video-card {
        aspect-ratio: 4 / 3;
    }

    .getting-there-body {
        padding: 20px 16px;
    }

    .getting-there-option {
        gap: .7rem;
    }
}

@media (max-width:479.98px) {

    .event-header-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: .75rem;
    }
}
