/*
 * Club St.Tropez – MEC Veranstaltungsdetailseite
 * Version 1.9.0
 * Sämtliche Darstellungsregeln liegen ausschließlich in dieser Datei.
 */

.mf-event-page {
    background: #fff;
    color: #252525;
    font-family: Raleway, Arial, sans-serif;
}

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

/* Flyer links, Veranstaltungsdaten rechts */
.mf-event-page .mf-event-hero {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 45px;
    align-items: start;
    width: calc(100% - 48px);
    max-width: 1060px;
    margin: 0 auto;
    padding: 35px 0 45px;
}

.mf-event-page .mf-event-flyer {
    width: 100%;
    max-width: 360px;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.mf-event-page .mf-event-flyer-image {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.mf-event-page .mf-event-details {
    min-width: 0;
    margin: 0;
    padding: 24px 0 0;
}

.mf-event-page .mf-event-eyebrow {
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: #eea227;
    font-family: Raleway, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
}

.mf-event-page h1.mf-event-title {
    display: flex !important;
    flex-wrap: wrap !important;
    column-gap: .22em;
    row-gap: 0;
    align-items: baseline;
    margin: 0 !important;
    padding: 0 !important;
    color: #191919 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    line-height: 1.22 !important;
    letter-spacing: -.3px !important;
    text-transform: none !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Jeder Teil zwischen zwei Gedankenstrichen bildet eine untrennbare Einheit.
   Der Browser bricht nur dann VOR der Einheit um, wenn sie nicht mehr passt. */
.mf-event-page .mf-event-title-segment {
    display: block;
    flex: 0 0 auto;
    max-width: 100%;
    margin-right: 0;
    vertical-align: baseline;
    white-space: nowrap;
    hyphens: none;
}

/* Der Titel bleibt einzeilig, solange alles passt. Andernfalls wird der
   komplette Rest nach dem ersten Strich gemeinsam umgebrochen, sofern er passt.
   Zu lange Reste dürfen wiederum an ihren weiteren Strichen umbrechen. */
.mf-event-page .mf-event-title-tail {
    display: flex;
    flex: 0 0 auto;
    width: max-content;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    column-gap: .22em;
    row-gap: 0;
    align-items: baseline;
}

.mf-event-page .mf-event-accent {
    display: block;
    width: 55px;
    height: 2px;
    margin: 24px 0 29px;
    background: #eea227;
}

/* Beschriftungen und Werte */
.mf-event-page .mf-event-info-row {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    margin: 0 0 22px;
    padding: 0;
}

.mf-event-page .mf-event-info-label {
    position: relative;
    margin: 0;
    padding: 0 0 0 23px;
    color: #737373;
    font-family: Raleway, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;
}

/* Dezente, goldene Liniensymbole zu den Informationen. */
.mf-event-page .mf-event-info-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3.5px;
    width: 16px;
    height: 16px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.mf-event-page .mf-event-info-row--date .mf-event-info-label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23eea227' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");
}

.mf-event-page .mf-event-info-row--time .mf-event-info-label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23eea227' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.mf-event-page .mf-event-info-row--price .mf-event-info-label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23eea227' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v5a2 2 0 0 0 0 4v5H4v-5a2 2 0 0 0 0-4V5Z'/%3E%3Cpath d='M12 5v2m0 3v4m0 3v2' stroke-dasharray='2 2'/%3E%3C/svg%3E");
}

.mf-event-page .mf-event-info-row--location .mf-event-info-label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23eea227' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.mf-event-page .mf-event-info-value {
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #292929;
    font-family: Raleway, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

/* Drei Eintrittspreise */
.mf-event-page .mf-event-price-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 0;
    padding: 0;
}

.mf-event-page .mf-event-price {
    display: grid;
    grid-template-columns: 72px max-content;
    gap: 7px;
    align-items: baseline;
    margin: 0;
    padding: 0;
    color: #292929;
    font-family: Raleway, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

.mf-event-page .mf-event-price-group,
.mf-event-page .mf-event-price-amount {
    font-weight: 400 !important;
}

/* MEC-Standortwidget optisch vereinfachen */
.mf-event-page .mf-event-mec-location,
.mf-event-page .mf-event-mec-location dl,
.mf-event-page .mf-event-mec-location dt,
.mf-event-page .mf-event-mec-location dd {
    margin: 0 !important;
    padding: 0 !important;
}

.mf-event-page .mf-event-mec-location .mec-frontbox,
.mf-event-page .mf-event-mec-location .mec-events-meta-group,
.mf-event-page .mf-event-mec-location .mec-single-event-location {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.mf-event-page .mf-event-mec-location .mec-events-single-section-title,
.mf-event-page .mf-event-mec-location i,
.mf-event-page .mf-event-mec-location .mec-event-loc-place::before,
.mf-event-page .mf-event-mec-location .mec-event-loc-place::after {
    display: none !important;
    content: none !important;
}

.mf-event-page .mf-event-mec-location dd,
.mf-event-page .mf-event-mec-location .mec-address,
.mf-event-page .mf-event-mec-location .mec-event-loc-place {
    color: #292929 !important;
    font-family: Raleway, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.mf-event-page .mf-event-mec-location .mec-address {
    display: block;
    white-space: pre-line;
}

/* Beschreibung über die gesamte Contentbreite (maximal 1060px) */
.mf-event-page .mf-event-description {
    margin: 0;
    padding: 38px 0 55px;
    background: #fff;
    border-top: none;
}

.mf-event-page .mf-event-container {
    width: calc(100% - 48px);
    max-width: 1060px;
    margin: 0 auto;
    padding: 0;
}

.mf-event-page .mf-event-description h2 {
    margin: 0 0 22px !important;
    padding: 0 !important;
    color: #191919 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 27px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.mf-event-page .mf-event-description-content {
    width: 100% !important;
    max-width: 1060px !important;
    margin: 0;
    padding: 0;
    color: #626262;
    font-family: Raleway, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}

.mf-event-page .mf-event-description-content p {
    margin: 0 0 14px;
    padding: 0;
}

.mf-event-page .mf-event-description-content a {
    color: #d58a14;
}

.mf-event-page .mf-event-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 25px 0 0;
    padding: 0;
    color: #d58a14;
    font-family: Raleway, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    text-decoration: none;
}

.mf-event-page .mf-event-back:hover {
    color: #a96805;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .mf-event-page .mf-event-hero {
        grid-template-columns: minmax(0, 35%) minmax(0, 1fr);
        gap: 30px;
    }

    .mf-event-page .mf-event-details {
        padding-top: 10px;
    }

    .mf-event-page h1.mf-event-title {
        font-size: 29px !important;
    }
}

@media (max-width: 767px) {
    .mf-event-page .mf-event-hero {
        display: flex;
        flex-direction: column;
        width: calc(100% - 36px);
        max-width: 520px;
        gap: 28px;
        padding: 25px 0 35px;
    }

    .mf-event-page .mf-event-flyer {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .mf-event-page .mf-event-details {
        width: 100%;
        padding: 0;
    }

    .mf-event-page .mf-event-eyebrow {
        font-size: 15px !important;
        margin-bottom: 12px !important;
    }

    .mf-event-page h1.mf-event-title {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    .mf-event-page .mf-event-title-segment {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .mf-event-page .mf-event-accent {
        margin: 22px 0 27px;
    }

    .mf-event-page .mf-event-info-row {
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 18px;
    }

    .mf-event-page .mf-event-info-label {
        font-size: 15px !important;
        letter-spacing: 1px !important;
    }

    .mf-event-page .mf-event-info-value,
    .mf-event-page .mf-event-price,
    .mf-event-page .mf-event-mec-location dd,
    .mf-event-page .mf-event-mec-location .mec-address,
    .mf-event-page .mf-event-mec-location .mec-event-loc-place {
        font-size: 14px !important;
    }

    .mf-event-page .mf-event-price {
        grid-template-columns: 67px max-content;
        gap: 7px;
    }

    .mf-event-page .mf-event-description {
        padding: 32px 0 45px;
    }

    .mf-event-page .mf-event-container {
        width: calc(100% - 36px);
        max-width: 520px;
    }

    .mf-event-page .mf-event-description h2 {
        font-size: 25px !important;
        margin-bottom: 18px !important;
    }

    .mf-event-page .mf-event-description-content {
        max-width: 100% !important;
        font-size: 14px !important;
    }
}


