/* HEADER */
.wp-block-navigation .wp-block-navigation__responsive-container
.wp-block-navigation__submenu-container {
    width: max-content;
    min-width: max-content;
    max-width: none;
}

.wp-block-navigation__submenu-container a {
    white-space: nowrap;
}

/* FOOTER */
.wp-block-template-part .wp-block-navigation__submenu-container {
    width: max-content;
    min-width: max-content;
    max-width: none;
}

.wp-block-template-part .wp-block-navigation__submenu-container a {
    white-space: nowrap;
}

.wp-block-template-part .wp-block-navigation {
    overflow: visible;
}


/* Contact Form 7 – Basis-Styling für Eingabefelder */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background-color: #fff;
    box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

.wpcf7 input[type="submit"] {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
    opacity: 0.85;
}

/* Fehlermeldungen */
.wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 14px;
}

/* Roter Rahmen bei Fehler */
.wpcf7-not-valid {
    border-color: #c0392b;
}

/* Einzelveranstaltungen – Metadaten schöner umbrechen */
.single-tribe_events .tribe-events-meta-group {
    min-width: 280px !important;
}

/* Werte kompakter darstellen */
.single-tribe_events .tribe-events-single-section dd {
    margin-bottom: 0.5em !important;
}

/* Datum und Zeit nicht unnötig umbrechen */
.single-tribe_events .tribe-events-single-section abbr,
.single-tribe_events .tribe-events-single-section time {
    white-space: nowrap;
}

/* Abstand zwischen Label und Inhalt reduzieren */
.single-tribe_events .tribe-events-single-section dt {
    margin-bottom: 0.2em !important;
}

.single-tribe_events .tribe-events-single-section dd {
    margin-top: 0 !important;
}

/* Zwei Spalten gleichmäßiger verteilen */
.single-tribe_events .tribe-events-meta-group-container {
    display: flex !important;
    gap: 4rem;
}

/* DETAILS kompakter darstellen */
.single-tribe_events .tribe-events-single-section dt,
.single-tribe_events .tribe-events-single-section dd {
    display: inline;
    margin: 0;
}

/* Nach jedem Wert Zeilenumbruch */
.single-tribe_events .tribe-events-single-section dd::after {
    content: "";
    display: block;
    margin-bottom: 0.6em;
}

/* Zeit in derselben Zeile halten */
.single-tribe_events .tribe-events-single-section time {
    white-space: nowrap;
}

/* Veranstalter schöner */
.single-tribe_events .tribe-events-organizer dt {
    display: block !important;
    font-weight: 700 !important;
    margin-bottom: 0.3em;
}

.single-tribe_events .tribe-events-organizer dd {
    display: block !important;
    margin-bottom: 0.5em;
}

/* Mail nicht umbrechen */
.single-tribe_events .tribe-events-organizer a {
    white-space: nowrap;
}