/* =========================================================
   THE LAST KISS — EVENT PAGES
   Base site: black / white / #3085ee
   Organiser accent is supplied per event.
   ========================================================= */

.event-body-wrapper {
    padding: 0;
}

.event-shell {
    width: min(1180px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 2rem 0 6rem;
}

.event-page {
    --event-accent: #3085ee;
    --organiser-accent: #fab225;
    color: #111;
}

.event-page a {
    transition: opacity .18s ease, background .18s ease, color .18s ease;
}


/* HERO */

.event-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(2.5rem, 7vw, 6rem) 0;
    border-bottom: 1px solid #ddd;
}

.event-kicker,
.event-section-label {
    color: var(--event-accent);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.event-kicker span {
    color: #aaa;
    margin: 0 .25rem;
}

.event-hero h1 {
    max-width: 820px;
    margin: .65rem 0 1.5rem;
    font-size: clamp(2.7rem, 6.6vw, 5.8rem);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .96;
}

.event-lead {
    max-width: 760px;
    margin: 0 0 2rem;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.55;
}

.event-hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin: 2rem 0;
}

.event-hero-details > div {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.event-detail-label {
    color: #777;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.event-hero-media {
    display: flex;
    justify-content: center;
}

.event-hero-media img {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: contain;
}

.event-booking-primary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.event-booking-provider {
    display: block;
    margin-top: .55rem;
    color: #777;
    font-size: .82rem;
}


/* BUTTONS */

.event-button {
    display: inline-block;
    padding: .9rem 1.3rem;
    border: 1px solid #111;
    border-radius: 0;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
}

.event-button-primary {
    border-color: var(--event-accent);
    background: var(--event-accent);
    color: #fff !important;
}

.event-button-primary:hover {
    border-color: #111;
    background: #111;
}

.event-button-secondary {
    background: #fff;
    color: #111 !important;
}

.event-button-secondary:hover {
    background: #111;
    color: #fff !important;
}

.event-button-light {
    border-color: #fff;
    background: #fff;
    color: #111 !important;
}

.event-button-light:hover {
    opacity: .82;
}


/* MAIN TEXT */

.event-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: clamp(2.5rem, 6vw, 6rem);
    padding: 5rem 0;
}

.event-copy {
    max-width: 760px;
    font-size: 1.08rem;
    line-height: 1.8;
}

.event-copy > p:first-child {
    margin-top: 0;
    font-size: 1.27rem;
    line-height: 1.65;
}

.event-copy h2 {
    margin-top: 2.5rem;
    font-size: 2rem;
}


/* EVENT FACTS */

.event-facts {
    align-self: start;
    padding: 1.6rem;
    border: 1px solid #ddd;
    position: sticky;
    top: 7rem;
}

.event-facts h2 {
    margin: 0 0 1.5rem;
    font-size: 1.35rem;
}

.event-fact {
    padding: 1rem 0;
    border-top: 1px solid #e5e5e5;
    line-height: 1.5;
}

.event-fact > span {
    display: block;
    margin-bottom: .3rem;
    color: #777;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.event-fact strong {
    display: block;
}

.event-fact-links {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e5e5;
}

.event-fact-links a,
.event-text-link,
.event-person a,
.event-organisation a {
    color: var(--event-accent);
    font-weight: 600;
    text-decoration: none;
}

.event-fact-links a:hover,
.event-text-link:hover,
.event-person a:hover,
.event-organisation a:hover {
    opacity: .65;
}

.event-utilities {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
}

.event-link-button {
    padding: .25rem 0;
    border: 0;
    background: none;
    color: #333;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.event-link-button:hover {
    color: var(--event-accent);
}

.event-sidebar-book {
    width: 100%;
    margin-top: 1.4rem;
    text-align: center;
}


/* GENERIC SECTIONS */

.event-section {
    margin-top: 6rem;
}

.event-section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.event-section-heading h2 {
    margin: .45rem 0 .7rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.05;
}

.event-section-heading p {
    font-size: 1.05rem;
    line-height: 1.65;
}


/* VIDEO */

.event-video {
    overflow: hidden;
    width: 100%;
    background: #000;
    aspect-ratio: 16 / 9;
}

.event-video video,
.event-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

.event-caption {
    margin-top: .7rem;
    color: #777;
    font-size: .88rem;
}


/* PARTICIPANTS */

.event-people {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.event-person {
    padding-top: 1.5rem;
    border-top: 3px solid #111;
}

.event-person img {
    width: 100%;
    margin-bottom: 1.2rem;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.event-person h3 {
    margin: 0 0 .25rem;
    font-size: 1.5rem;
}

.event-person-role {
    margin: 0 0 1rem;
    color: #666;
    font-size: .9rem;
}

.event-person p {
    line-height: 1.6;
}


/* BOOK */

.event-book {
    display: grid;
    grid-template-columns: minmax(220px, 360px) 1fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    padding: clamp(2rem, 6vw, 5rem);
    background: #f4f5f7;
}

.event-book-image img {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: contain;
}

.event-book-copy {
    max-width: 580px;
}

.event-book-copy h2 {
    margin: .4rem 0 1rem;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
}

.event-book-copy p {
    font-size: 1.05rem;
    line-height: 1.7;
}


/* VENUE */

.event-venue {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.event-venue h2 {
    margin: .4rem 0 .7rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
}

.event-venue-address {
    line-height: 1.65;
}

.event-venue-actions {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: .8rem;
}


/* ORGANISATIONS */

.event-organisations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.event-organisation {
    display: flex;
    min-height: 170px;
    padding: 1.8rem;
    border: 1px solid #ddd;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.event-organisation > span {
    color: #777;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.event-organisation > strong {
    margin: .9rem 0;
    font-size: 1.7rem;
}

.event-organisation img {
    max-width: 180px;
    max-height: 70px;
    margin: 1rem 0;
    object-fit: contain;
}

.event-organisation-primary {
    border-top: 8px solid var(--organiser-accent);
}


/* POSTER */

.event-poster {
    display: block;
    width: min(540px, 100%);
}

.event-poster img {
    display: block;
    width: 100%;
    height: auto;
}


/* FINAL CTA */

.event-final-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-top: 6rem;
    padding: clamp(2rem, 5vw, 4rem);
    background: #111;
    color: #fff;
}

.event-final-cta .event-section-label {
    color: #8ab7ff;
}

.event-final-cta h2 {
    margin: .45rem 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
}

.event-final-cta p {
    margin-bottom: 0;
    color: #ccc;
}


/* MOBILE */

@media (max-width: 840px) {

    .event-shell {
        width: min(100% - 2rem, 1180px);
        padding-top: 1rem;
    }

    .event-hero {
        grid-template-columns: 1fr;
        padding: 3rem 0;
    }

    .event-hero-media {
        order: -1;
    }

    .event-hero-media img {
        width: min(420px, 100%);
        max-height: 520px;
    }

    .event-main {
        grid-template-columns: 1fr;
        padding: 3.5rem 0;
    }

    .event-facts {
        position: static;
    }

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

    .event-book {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .event-book-image img {
        width: min(280px, 100%);
    }

    .event-venue,
    .event-organisations {
        grid-template-columns: 1fr;
    }

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

}

@media (max-width: 520px) {

    .event-shell {
        width: calc(100% - 1.4rem);
    }

    .event-hero h1 {
        font-size: 2.65rem;
    }

    .event-hero-details {
        flex-direction: column;
        gap: 1rem;
    }

    .event-booking-primary {
        align-items: stretch;
        flex-direction: column;
    }

    .event-button {
        text-align: center;
    }

}

/* === EVENT DESKTOP HERO OVERRIDE === */
@media (min-width: 841px) {

    .event-hero {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        align-items: initial;
        padding: 2rem 0 5rem;
    }

    .event-hero-media {
        order: -1;
        width: 100%;
        margin-bottom: 3.5rem;
    }

    .event-hero-media img {
        display: block;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .event-hero-copy {
        width: 100%;
        max-width: 900px;
    }

}
/* === END EVENT DESKTOP HERO OVERRIDE === */


/* === VERTICAL EVENT VIDEO FEATURE === */

.event-video-feature {
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    padding: clamp(2rem, 5vw, 4rem) 0;
    border-top: 1px solid #ddd;
}

.event-video-portrait {
    width: 100%;
    max-width: 430px;
    background: #000;
}

.event-video-portrait video,
.event-video-portrait iframe {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    border: 0;
    background: #000;
    object-fit: contain;
}

.event-video-copy {
    max-width: 560px;
}

.event-video-copy h2 {
    margin: .45rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.05;
}

.event-video-meta {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin-bottom: 1.4rem;
}

.event-video-meta strong {
    font-size: 1.05rem;
}

.event-video-meta span {
    color: #666;
    font-size: .95rem;
}

.event-video-copy > p {
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 840px) {

    .event-video-feature {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-video-portrait {
        width: 100%;
        max-width: none;
    }

    .event-video-copy {
        max-width: none;
    }

}

/* === END VERTICAL EVENT VIDEO FEATURE === */
