/** Single event styles (Figma: Dragonfly Website, "Event Details - Desktop") **/
.single-event {
    /* Figma fonts → site fonts: Eros → Elsie Swash Caps, ITC New Baskerville → Libre Baskerville,
       Double → Roboto Condensed */
    --event-font-display: 'Elsie Swash Caps', serif;
    --event-font-body: 'Libre Baskerville', serif;
    --event-font: 'Roboto Condensed', sans-serif;
    --event-teal: #175b69;
    --event-gold: #cc9e5b;
    --event-gold-light: #ddbf92;
    --event-dot: #a28d44;
    --event-paper: #eae5d4;
    --event-label: #e8e8e8;
    --event-value: #b6b6b6;
    --event-muted: #929292;

    background: #000;
    color: var(--event-paper);
}

.single-event *,
.single-event *::before,
.single-event *::after {
    box-sizing: border-box;
}

.single-event p,
.single-event h1,
.single-event h2,
.single-event ul,
.single-event dl,
.single-event dd {
    margin: 0;
    padding: 0;
}

.single-event__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 60px 80px;
}

/* Back link */
.single-event .single-event__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--event-muted);
    font-family: var(--event-font);
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.31px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-event .single-event__back:hover {
    color: var(--event-paper);
}

/* Main image (2:1, square image on small screens) */
.single-event__image,
.single-event__image img {
    display: block;
    width: 100%;
}

.single-event__image {
    margin-top: 40px;
}

.single-event .single-event__image img {
    max-width: none;
    height: auto;
}

/* ==========================================================================
   Layout: info bar + main column on the left, details box on the right
   ========================================================================== */
.single-event__layout {
    display: grid;
    grid-template-columns: minmax(0, 930px) 309px;
    grid-template-areas:
        "info side"
        "main side";
    justify-content: space-between;
    column-gap: 40px;
    row-gap: 40px;
    margin-top: 30px;
}

.single-event__info    { grid-area: info; }
.single-event__sidebar { grid-area: side; align-self: start; }
.single-event__main    { grid-area: main; }

/* Info bar */
.single-event__info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px 40px;
    padding: 24px;
    background: var(--event-teal);
}

.single-event__info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.single-event__info-item > img {
    flex-shrink: 0;
}

.single-event .single-event__info-label {
    color: var(--event-label);
    font-family: var(--event-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.single-event .single-event__info-value {
    margin-top: 4px;
    color: var(--event-value);
    font-family: var(--event-font);
    font-size: 20px;
    line-height: 24px;
}

/* Title and text */
.single-event .single-event__title {
    max-width: 716px;
    color: var(--event-gold);
    font-family: var(--event-font-display);
    font-size: 58px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 1.16px;
    text-transform: none;
}

.single-event__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 859px;
    margin-top: 30px;
}

.single-event__title + .single-event__section {
    margin-top: 16px;
}

.single-event .single-event__heading {
    color: var(--event-gold);
    font-family: var(--event-font);
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 0.07px;
    text-transform: none;
}

.single-event .single-event__heading--about {
    color: var(--event-gold-light);
}

.single-event__content {
    color: var(--event-paper);
    font-family: var(--event-font-body);
    font-size: 20px;
    line-height: 1.5;
}

.single-event .single-event__content p {
    margin: 0 0 1.5em;
}

.single-event .single-event__content > :last-child {
    margin-bottom: 0;
}

.single-event .single-event__content a {
    color: var(--event-gold);
}

/* Featuring */
.single-event__lineup {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.single-event__lineup li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--event-paper);
    font-family: var(--event-font);
    font-size: 20px;
    line-height: 1;
}

.single-event__lineup li::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--event-dot);
}

/* ==========================================================================
   Details box
   ========================================================================== */
.single-event__sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    background: var(--event-teal);
}

.single-event .single-event__sidebar-title {
    color: #fff;
    font-family: var(--event-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-transform: none;
}

.single-event__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.single-event__details dt {
    color: var(--event-label);
    font-family: var(--event-font);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

.single-event__details dd {
    margin-top: 4px;
    color: var(--event-value);
    font-family: var(--event-font);
    font-size: 18px;
    line-height: 1.1;
}

/* Buttons: Elementor's global button style via .elementor-button, full width */
.single-event__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.single-event .single-event__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

/* Second colour from the design; Elementor's global button is teal */
.single-event .elementor-button.single-event__button--share {
    border: 0;
    background-color: var(--event-gold);
}

/* ==========================================================================
   Tablet and mobile
   ========================================================================== */
@media (max-width: 1024px) {
    .single-event__inner {
        padding: 32px 32px 64px;
    }

    .single-event__layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "info"
            "side"
            "main";
    }

    .single-event__sidebar {
        align-self: stretch;
    }
}

@media (max-width: 767px) {
    .single-event__inner {
        padding: 24px 20px 60px;
    }

    .single-event .single-event__back {
        font-size: 17px;
    }

    .single-event__image {
        margin-top: 24px;
    }

    .single-event__layout {
        row-gap: 24px;
        margin-top: 24px;
    }

    .single-event__info {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
        padding: 20px;
    }

    .single-event .single-event__info-value {
        font-size: 17px;
        line-height: 22px;
    }

    .single-event .single-event__title {
        font-size: 38px;
    }

    .single-event__content,
    .single-event__lineup li {
        font-size: 17px;
    }
}
