/* Society Studios EXACT COPY - Event Detail Page */

/* Container Utilities - Matching Society Studios */
.u-container {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 9px;
    padding-right: 9px;
}

.u-container-pad {
    padding-left: 4.5vw;
    padding-right: 4.5vw;
}

/* Event Header - Minimal */
.event-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 4.5vw;
    background: transparent;
    mix-blend-mode: difference;
}

.event-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-to-events,
.header-logo {
    color: var(--text-primary);
    text-decoration: none;
    font-size: calc(13.17647px + 0.19608vw);
    font-size: calc(0.82353rem + 0.19608vw);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.back-to-events:hover,
.header-logo:hover {
    opacity: 0.6;
}

/* Event Hero Section - EXACT COPY of c-project-hero */
.event-hero-section {
    position: relative;
    overflow: hidden;
}

.event-hero-section .u-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 36px;
    justify-content: center;
    min-height: 100vh;
    position: sticky;
    top: 0;
    max-width: none;
    padding: 0;
}

.event-hero-inner {
    width: 100%;
    text-align: center;
    padding: 0 9px;
}

.event-hero-title {
    font-size: calc(32.58824px + 1.76471vw);
    font-size: calc(2.03676rem + 1.76471vw);
    line-height: 1.2em;
    padding: 0 4.5vw;
    text-align: center;
    text-transform: uppercase;
    color: var(--text-primary);
}

.event-hero-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 4.5vw;
}

.meta-item {
    border: 1px solid var(--text-primary);
    border-radius: 100px;
    font-size: calc(9.76471px + 0.29412vw);
    font-size: calc(0.61029rem + 0.29412vw);
    line-height: 1.1em;
    padding: 8px 13px;
    text-transform: uppercase;
}

.meta-item:first-child {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.event-featured-media {
    aspect-ratio: 1440/810;
    border-radius: 0;
    height: 100%;
    margin-top: 46px;
    overflow: hidden;
    transform: scale(0.6);
    transform-origin: center;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    will-change: transform;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.event-featured-media .media-wrapper {
    background-color: #333;
    height: 100%;
    position: relative;
    width: 100%;
}

.event-featured-media .media-wrapper img,
.event-featured-media .media-wrapper video {
    background-position: 50%;
    bottom: 0;
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.event-featured-media .media-wrapper video {
    display: block;
}

/* Event Details Section - EXACT COPY of c-project-details */
.event-detail-section {
    padding: 64px 0 80px;
    background: var(--bg-primary);
}

.event-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    max-width: 1320px;
    margin: 0 auto;
}

/* Event Main Content Styling */
.event-main-content {
    padding: 0;
}

.event-paragraph {
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    line-height: 1.75;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.event-paragraph.star-emoji {
    font-size: clamp(1.125rem, 1.6vw, 1.25rem);
    font-weight: 500;
    color: var(--accent);
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(200, 148, 95, 0.05) 0%, rgba(200, 148, 95, 0.02) 100%);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
}

/* Event Highlights */
.event-highlight {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--accent-light));
}

.event-highlight:hover {
    transform: translateX(8px);
    box-shadow: -8px 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.event-highlight-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

/* Event Lists */
.event-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.event-list li {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.event-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.875rem;
    top: 0.125rem;
}

.event-list li:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Sidebar Widget */
.event-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.75rem;
}

.sidebar-widget p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.sidebar-widget p strong {
    color: var(--text-primary);
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
}

.event-details-section {
    padding: 128px 0 140px;
}

.details-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    max-width: 1320px;
}

.details-left {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 0;
    padding-right: 64px;
    width: 100%;
}

.details-left > .details-group:not(:last-child) {
    margin-bottom: 48px;
}

.details-group {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.details-group:not(:last-child):has(+ .details-group) {
    margin-bottom: 28px;
}

.group-title {
    font-size: 14px;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    line-height: 1.2em;
    opacity: 0.6;
    text-transform: uppercase;
    width: 100%;
}

.group-text {
    font-size: calc(14.35294px + 0.39216vw);
    font-size: calc(0.89706rem + 0.39216vw);
    line-height: 1.25em;
    width: 100%;
}

.details-right {
    width: 100%;
}

.event-description-content {
    position: relative;
}

.event-description-content > p:not(:last-child) {
    margin-bottom: 24px;
}

.event-description-content p {
    color: var(--text-primary);
    font-size: calc(15.52941px + 0.58824vw);
    font-size: calc(0.97059rem + 0.58824vw);
    line-height: 1.35em;
}

.event-description-content strong {
    font-weight: 600;
}

.event-actions {
    margin-top: 48px;
}

.event-register-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: calc(13.17647px + 0.19608vw);
    font-size: calc(0.82353rem + 0.19608vw);
    letter-spacing: 0.08em;
    line-height: 1em;
    text-transform: uppercase;
    padding: 16px 32px;
    background-color: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 100px;
    transition: transform 0.35s ease, opacity 0.3s ease;
}

.event-register-btn:hover {
    transform: scale(1.05);
}

/* Gallery Sections - EXACT COPY of c-project-media */
.event-gallery-section {
    padding-left: 9px;
    padding-right: 9px;
}

.gallery-section-inner {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    margin-left: auto;
    margin-right: auto;
    padding: 9px;
    gap: 18px;
    text-align: center;
}

.gallery-section-inner.single-image {
    grid-template-columns: 1fr;
}

.gallery-section-inner.two-images {
    grid-template-columns: 1fr 1fr;
}

.gallery-media-item {
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    text-align: center;
    position: relative;
    will-change: transform;
}

.gallery-media-item.square {
    aspect-ratio: 1/1;
}

.gallery-media-item:not(.square) {
    aspect-ratio: 16/9;
}

.gallery-media-item img,
.gallery-media-item video {
    height: 120%; /* Extra height for parallax effect */
    max-height: none;
    max-width: none;
    object-fit: cover;
    width: 100%;
    display: block;
    will-change: transform;
    transform: translateY(0);
}

.gallery-media-item video {
    background-color: #000;
}

/* Program Section */
.event-program-section {
    padding: 128px 0 140px;
    background: var(--bg-secondary);
}

.section-title-large {
    font-size: calc(32.58824px + 1.76471vw);
    font-size: calc(2.03676rem + 1.76471vw);
    line-height: 1.2em;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 64px;
    color: var(--text-primary);
}

.program-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.program-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 48px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(var(--rgb--1, 255, 255, 255), 0.1);
}

.program-item:last-child {
    border-bottom: none;
}

.program-time {
    font-size: calc(14.35294px + 0.39216vw);
    font-size: calc(0.89706rem + 0.39216vw);
    font-weight: 600;
    color: var(--accent);
    line-height: 1.25em;
}

.program-content-title {
    font-size: calc(17.29412px + 2.54902vw);
    font-size: calc(1.08088rem + 2.54902vw);
    line-height: 1.25em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.program-content-desc {
    font-size: calc(15.52941px + 0.58824vw);
    font-size: calc(0.97059rem + 0.58824vw);
    line-height: 1.35em;
    color: rgba(var(--rgb--1, 255, 255, 255), 0.6);
    margin-bottom: 8px;
}

.program-content-speaker {
    font-size: calc(13.17647px + 0.19608vw);
    font-size: calc(0.82353rem + 0.19608vw);
    color: var(--accent);
    font-style: italic;
}

/* Speakers Section */
.event-speakers-section {
    padding: 128px 0 140px;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 48px;
    margin-top: 64px;
}

.speaker-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 32px;
}

.speaker-card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-secondary);
}

.speaker-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(17.29412px + 2.54902vw);
    font-size: calc(1.08088rem + 2.54902vw);
    font-weight: 700;
    color: var(--accent);
    background: var(--bg-tertiary);
}

.speaker-card-info h3 {
    font-size: calc(17.29412px + 2.54902vw);
    font-size: calc(1.08088rem + 2.54902vw);
    line-height: 1.25em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.speaker-card-title {
    font-size: calc(13.17647px + 0.19608vw);
    font-size: calc(0.82353rem + 0.19608vw);
    line-height: 1.2em;
    color: var(--accent);
    margin-bottom: 16px;
}

.speaker-card-bio {
    font-size: calc(15.52941px + 0.58824vw);
    font-size: calc(0.97059rem + 0.58824vw);
    line-height: 1.35em;
    color: rgba(var(--rgb--1, 255, 255, 255), 0.6);
}

/* Related Events Section - EXACT COPY of c-project-related */
.event-related-section {
    padding: 46px 0 24px;
}

.related-inner {
    display: flex;
    flex-direction: column;
}

.related-heading {
    align-items: center;
    display: flex;
    height: 100svh;
    justify-content: center;
    position: sticky;
    top: 0;
}

.related-heading .section-title-large {
    font-size: calc(3.05882px + 37.84314vw);
    font-size: calc(0.19118rem + 37.84314vw);
    line-height: 0.9em;
    max-width: none;
    text-transform: uppercase;
    margin-bottom: 0;
}

.related-content {
    margin-top: 120px;
    position: relative;
    z-index: 2;
}

.related-events-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.related-event-card {
    text-decoration: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px;
    transition: transform 0.35s ease;
}

.related-event-card:hover {
    transform: translateX(12px);
}

.related-event-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-secondary);
    border-radius: 12px;
}

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

.related-event-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: calc(9.76471px + 0.29412vw);
    font-size: calc(0.61029rem + 0.29412vw);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(var(--rgb--1, 255, 255, 255), 0.6);
}

.related-event-title {
    font-size: calc(17.29412px + 2.54902vw);
    font-size: calc(1.08088rem + 2.54902vw);
    line-height: 1.25em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.related-event-location {
    font-size: calc(13.17647px + 0.19608vw);
    font-size: calc(0.82353rem + 0.19608vw);
    color: rgba(var(--rgb--1, 255, 255, 255), 0.6);
}

.back-to-all-events {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: calc(13.17647px + 0.19608vw);
    font-size: calc(0.82353rem + 0.19608vw);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 32px;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 100px;
    transition: transform 0.35s ease;
}

.back-to-all-events:hover {
    transform: scale(1.05);
}

/* CTA Section */
.event-cta-section {
    padding: 128px 0 140px;
    border-top: 1px solid rgba(var(--rgb--1, 255, 255, 255), 0.1);
}

.cta-heading-wrapper {
    margin-bottom: 64px;
}

.cta-title-large {
    font-size: calc(32.58824px + 1.76471vw);
    font-size: calc(2.03676rem + 1.76471vw);
    line-height: 1.2em;
    text-align: center;
    text-transform: uppercase;
    color: var(--text-primary);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cta-text-link {
    font-size: calc(17.29412px + 2.54902vw);
    font-size: calc(1.08088rem + 2.54902vw);
    line-height: 1.25em;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 32px;
    transition: opacity 0.3s ease;
}

.cta-text-link:hover {
    opacity: 0.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: calc(13.17647px + 0.19608vw);
    font-size: calc(0.82353rem + 0.19608vw);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 32px;
    background-color: var(--accent);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 100px;
    transition: transform 0.35s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

.cta-media {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.cta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
.event-footer {
    padding: 64px 0 48px;
    border-top: 1px solid rgba(var(--rgb--1, 255, 255, 255), 0.1);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.footer-menu {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: calc(13.17647px + 0.19608vw);
    font-size: calc(0.82353rem + 0.19608vw);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    opacity: 0.6;
}

.footer-top {
    margin-bottom: 24px;
}

.footer-label {
    font-size: 14px;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    line-height: 1.2em;
    opacity: 0.6;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.footer-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: calc(14.35294px + 0.39216vw);
    font-size: calc(0.89706rem + 0.39216vw);
    line-height: 1.25em;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.6;
}

.footer-middle {
    margin-bottom: 24px;
}

.footer-tagline {
    font-size: calc(13.17647px + 0.19608vw);
    font-size: calc(0.82353rem + 0.19608vw);
    color: rgba(var(--rgb--1, 255, 255, 255), 0.6);
}

.footer-copyright {
    font-size: calc(13.17647px + 0.19608vw);
    font-size: calc(0.82353rem + 0.19608vw);
    color: rgba(var(--rgb--1, 255, 255, 255), 0.6);
}

/* Responsive - Matching Society Studios breakpoints */
@media (max-width: 1024px) {
    .details-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .details-left {
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 24px;
    }

    .details-left > .details-group:not(:last-child) {
        margin-bottom: 0;
    }

    .cta-inner {
        grid-template-columns: 1fr;
    }

    .related-event-card {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

/* Page Header Styling */
.page-header {
    padding: calc(var(--spacing-lg) + 80px) 0 var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="%23c8945f" opacity="0.1"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: none;
}

.page-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    font-style: italic;
}

/* Gallery Section Styling */
.event-gallery-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.section-title-large {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 1rem;
}

.section-title-large::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    border-radius: 2px;
}

/* Event Photos Grid - Enhanced Style */
.event-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.event-photo-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-tertiary);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-photo-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.event-photo-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.event-photo-item:hover::after {
    opacity: 1;
}

.event-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.event-photo-item:hover img {
    transform: scale(1.1);
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 32px;
}

.lightbox-next {
    right: 32px;
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Light Theme Support */
body.light-theme .lightbox-overlay {
    background: rgba(250, 248, 244, 0.98);
}

body.light-theme .lightbox-close,
body.light-theme .lightbox-prev,
body.light-theme .lightbox-next {
    background: rgba(26, 20, 16, 0.1);
    border-color: rgba(26, 20, 16, 0.2);
    color: var(--text-primary);
}

body.light-theme .lightbox-close:hover,
body.light-theme .lightbox-prev:hover,
body.light-theme .lightbox-next:hover {
    background: rgba(26, 20, 16, 0.2);
}

body.light-theme .lightbox-counter {
    background: rgba(26, 20, 16, 0.1);
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .event-content-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .event-sidebar {
        position: relative;
        top: 0;
    }

    .details-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .details-left {
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 24px;
    }

    .details-left > .details-group:not(:last-child) {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .event-hero-section .u-container {
        gap: 24px;
    }

    .event-featured-media {
        transform: scale(0.8);
    }

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

    .speaker-card {
        grid-template-columns: 1fr;
    }

    .speaker-card-image {
        width: 100%;
        height: 200px;
        border-radius: 12px;
    }

    .program-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-section-inner.two-images {
        grid-template-columns: 1fr;
    }

    .event-photos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-header {
        padding: calc(var(--spacing-md) + 80px) 0 var(--spacing-md);
    }

    .page-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .page-subtitle {
        font-size: 1.125rem;
    }

    .event-detail-section {
        padding: 48px 0 64px;
    }

    .event-content-wrapper {
        gap: 32px;
    }

    .event-paragraph {
        font-size: 1.0625rem;
        margin-bottom: 1.5rem;
    }

    .event-highlight {
        padding: 1.75rem;
        margin: 2rem 0;
    }

    .event-highlight-title {
        font-size: 1.25rem;
    }

    .event-list li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .event-gallery-section {
        padding: 60px 0;
    }

    .section-title-large {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .event-photo-item {
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 16px;
    }

    .lightbox-next {
        right: 16px;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
    }

    .lightbox-counter {
        bottom: -30px;
        font-size: 0.875rem;
        padding: 0.4rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .event-paragraph {
        font-size: 1rem;
        line-height: 1.65;
    }

    .event-highlight {
        padding: 1.5rem;
    }

    .event-highlight-title {
        font-size: 1.125rem;
    }

    .sidebar-widget {
        padding: 1.25rem;
    }

    .widget-title {
        font-size: 1.125rem;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev svg,
    .lightbox-next svg {
        width: 20px;
        height: 20px;
    }

    .lightbox-close {
        width: 36px;
        height: 36px;
    }

    .lightbox-close svg {
        width: 24px;
        height: 24px;
    }
}
