
.mpe-wrapper {
    --mpe-accent-rgb: 197, 160, 89;
    width: min(80%, 1320px);
    margin: 0 auto;
    padding: 84px 64px;
    color: #2c2c2c;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.12);
    border-radius: 34px;
    background-image:
        radial-gradient(circle at top left, rgba(255,255,255,0.8), transparent 34%),
        radial-gradient(circle at bottom right, rgba(197,160,89,0.05), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.12));
    box-shadow: 0 34px 110px -62px rgba(30, 24, 18, 0.22);
    backdrop-filter: saturate(110%);
}

.mpe-editorial-luxe::before,
.mpe-editorial-luxe::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.mpe-editorial-luxe::before {
    inset: 14px;
    border: 1px solid rgba(197, 160, 89, 0.08);
    border-radius: 24px;
}

.mpe-editorial-luxe::after {
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), transparent 30%, transparent 70%, rgba(197,160,89,0.04));
}

.mpe-shell {
    position: relative;
    z-index: 1;
}

.mpe-shell--centered {
    max-width: 1140px;
    margin: 0 auto;
}

.mpe-content-column--full {
    min-width: 0;
}

.mpe-header {
    text-align: center;
    margin: 0 auto 98px;
    max-width: 760px;
}

.mpe-main-title {
    margin: 0 0 14px;
    font-family: Georgia, serif;
    font-size: 40px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.05;
}

.mpe-subtitle {
    font-size: 12px;
    letter-spacing: 0.48em;
    text-transform: uppercase;
    opacity: 0.92;
}

.mpe-day-section {
    margin-bottom: 96px;
}

.mpe-day-section:last-of-type {
    margin-bottom: 88px;
}

.mpe-day-header {
    margin: 0 auto 40px;
}

.mpe-day-header--centered {
    text-align: center;
    max-width: 760px;
}

.mpe-day-number {
    font-family: Georgia, serif;
    font-size: 64px;
    opacity: .18;
    line-height: .92;
    margin-bottom: 10px;
}

.mpe-day-title-box {
    width: 100%;
}

.mpe-day-label {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.mpe-day-date {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
}

.mpe-day-meta-row,
.mpe-event-meta-row {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 6px 0;
}

.mpe-day-meta-row--centered,
.mpe-event-meta-row--centered {
    margin: 0 auto;
}

.mpe-day-meta-row::after,
.mpe-event-meta-row::after {
    content: '';
    position: absolute;
    left: -18px;
    right: -18px;
    bottom: -6px;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--mpe-accent-rgb), 0), rgba(var(--mpe-accent-rgb), 0.44), rgba(var(--mpe-accent-rgb), 0));
    transform: scaleX(0.36);
    transform-origin: center;
    opacity: 0.7;
    transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .45s ease;
}

.mpe-day-meta-row:hover::after,
.mpe-event-meta-row:hover::after,
.mpe-day-meta-row:focus-within::after,
.mpe-event-meta-row:focus-within::after {
    opacity: 1;
    transform: scaleX(1);
}

.mpe-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 0;
}

.mpe-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 12px;
    bottom: 12px;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(var(--mpe-accent-rgb), 0), rgba(var(--mpe-accent-rgb), 0.72) 14%, rgba(var(--mpe-accent-rgb), 0.72) 86%, rgba(var(--mpe-accent-rgb), 0));
    box-shadow: 0 0 0 1px rgba(255,255,255,0.32);
}

.mpe-event {
    position: relative;
    margin-bottom: 36px;
}

.mpe-event:last-child {
    margin-bottom: 0;
}

.mpe-event-grid {
    display: grid;
    grid-template-columns: minmax(270px, 340px) 180px minmax(280px, 1fr);
    align-items: center;
    gap: 34px;
    min-height: 182px;
}

.mpe-event-visual-column {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.mpe-event-visual {
    width: min(100%, 308px);
    opacity: 0;
    transform: translate3d(-18px, 0, 0);
    transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1), filter .6s ease;
    will-change: opacity, transform;
}

.mpe-event-visual.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.mpe-event-visual--empty {
    opacity: 0;
    pointer-events: none;
}

.mpe-event-image {
    display: block;
    width: 100%;
    max-height: 150px;
    min-height: 150px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: 0 26px 52px -34px rgba(27, 20, 13, 0.28), 0 0 0 1px rgba(var(--mpe-accent-rgb), 0.08);
    background: rgba(255,255,255,0.58);
}

.mpe-event-timeline-column {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 182px;
    z-index: 1;
}

.mpe-event-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(255,255,255,0.98);
    border: 1.5px solid rgba(var(--mpe-accent-rgb), 0.95);
    box-shadow: 0 0 0 10px rgba(var(--mpe-accent-rgb), 0.055);
}

.mpe-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.1em;
    border-radius: 999px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(var(--mpe-accent-rgb), 0.12);
    box-shadow: 0 14px 28px -24px rgba(30,24,18,0.18);
    backdrop-filter: blur(4px);
}

.mpe-event-content {
    max-width: 500px;
    padding: 14px 0;
}

.mpe-event-title {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 29px;
    line-height: 1.14;
}

.mpe-location {
    margin-top: 8px;
    font-style: italic;
}

.mpe-address {
    margin-top: 6px;
    max-width: 560px;
    font-size: .96em;
    line-height: 1.7;
}

.mpe-footer {
    margin-top: 116px;
    padding-top: 40px;
    text-align: center;
    border-top: 1px solid rgba(var(--mpe-accent-rgb), .14);
    font-style: italic;
}

.mpe-animate-enabled .mpe-viewport-reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity .9s cubic-bezier(.22,1,.36,1), transform 1s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}

.mpe-animate-enabled .mpe-fade-soft {
    transform: translate3d(-18px, 0, 0);
}

.mpe-animate-enabled .mpe-viewport-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.mpe-animate-enabled .mpe-event-content.is-visible,
.mpe-animate-enabled .mpe-day-section.is-visible,
.mpe-animate-enabled .mpe-header.is-visible,
.mpe-animate-enabled .mpe-footer.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 1200px) {
    .mpe-wrapper {
        width: min(88%, 1120px);
        padding: 70px 46px;
    }

    .mpe-event-grid {
        grid-template-columns: minmax(220px, 280px) 160px minmax(240px, 1fr);
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    .mpe-wrapper {
        width: min(92%, 940px);
        padding: 58px 34px;
        border-radius: 28px;
    }

    .mpe-header {
        margin-bottom: 74px;
    }

    .mpe-main-title {
        font-size: 33px;
    }

    .mpe-day-date {
        font-size: 26px;
    }

    .mpe-timeline::before {
        left: 72px;
        transform: none;
    }

    .mpe-event-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        min-height: 0;
        padding-left: 112px;
    }

    .mpe-event-visual-column {
        justify-content: flex-start;
        order: 1;
    }

    .mpe-event-visual {
        width: min(100%, 360px);
    }

    .mpe-event-timeline-column {
        position: absolute;
        left: 0;
        top: 18px;
        min-height: 0;
        width: 144px;
    }

    .mpe-event-content {
        order: 2;
        max-width: 100%;
        padding: 4px 0 0;
    }
}

@media (max-width: 767px) {
    .mpe-wrapper {
        width: calc(100% - 24px);
        padding: 44px 20px;
        border-radius: 24px;
    }

    .mpe-header {
        margin-bottom: 60px;
    }

    .mpe-main-title {
        font-size: 28px;
        letter-spacing: 0.1em;
    }

    .mpe-subtitle {
        letter-spacing: 0.24em;
    }

    .mpe-day-number {
        font-size: 46px;
    }

    .mpe-day-date {
        font-size: 23px;
    }

    .mpe-timeline {
        padding-left: 0;
    }

    .mpe-timeline::before {
        left: 28px;
    }

    .mpe-event {
        margin-bottom: 34px;
    }

    .mpe-event-grid {
        padding-left: 68px;
        gap: 14px;
    }

    .mpe-event-timeline-column {
        width: 56px;
        left: 0;
        top: 8px;
    }

    .mpe-time {
        margin-bottom: 10px;
        padding: 8px 10px;
        font-size: 14px;
    }

    .mpe-event-title {
        font-size: 23px;
    }

    .mpe-event-image {
        max-height: 132px;
        min-height: 132px;
        border-radius: 18px;
    }

    .mpe-footer {
        margin-top: 74px;
    }
}
