/**
 * blues.at — Frontend ohne Elementor/The7.
 * Farben/Links orientiert am Live-Custom-CSS (#0d1c55).
 */

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

:root {
    --blues-navy: #0d1c55;
    --blues-navy-hover: #152a7a;
    --blues-text: #1a1a1a;
    --blues-muted: #5c5c5c;
    --blues-line: #e2e2e2;
    --blues-max: 1280px;
    --blues-pad: clamp(1rem, 4vw, 2rem);
    --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Allerta Stencil", sans-serif;
}

html {
    scroll-behavior: smooth;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--blues-text);
    background: #fff;
}

img,
video {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--blues-navy);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

a:hover {
    color: var(--blues-navy-hover);
}

.site-main a:not(.button):not(.post-thumbnail):not(.custom-logo-link) {
    text-decoration: underline;
}

h1,
h2,
h3,
.entry-title {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1,
.page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.skip-link:focus {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 100000;
    clip: auto !important;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    background: #fff;
    color: var(--blues-navy);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* ——— Header ——— */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--blues-line);
    box-shadow: 0 1px 0 rgba(13, 28, 85, 0.06);
}

.site-header__inner {
    max-width: var(--blues-max);
    margin: 0 auto;
    padding: 0.75rem var(--blues-pad);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.site-branding .custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.site-branding .custom-logo {
    max-height: 72px;
    width: auto;
}

.site-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    text-decoration: none;
    color: var(--blues-navy);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0.5rem;
    margin: 0;
    border: 1px solid var(--blues-line);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--blues-navy);
    border-radius: 1px;
}

.main-navigation {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.25rem;
}

.primary-menu a {
    display: block;
    padding: 0.35rem 0;
    text-decoration: none;
    font-weight: 600;
    color: var(--blues-navy);
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
    text-decoration: underline;
}

.primary-menu ul {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0 0 1rem;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        flex-basis: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease;
    }

    .main-navigation.is-open {
        max-height: 100vh;
        opacity: 1;
    }

    .primary-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0 1rem;
        gap: 0;
    }

    .primary-menu a {
        padding: 0.6rem 0;
    }
}

/* ——— Layout ——— */

.site-content {
    flex: 1 0 auto;
}

.site-main {
    max-width: var(--blues-max);
    margin: 0 auto;
    padding: 2rem var(--blues-pad) 3rem;
}

.site-main--narrow {
    max-width: 52rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    margin: 0 0 0.5rem;
}

.archive-description {
    color: var(--blues-muted);
}

.entry {
    margin-bottom: 2.5rem;
}

.entry-title {
    margin: 0 0 1rem;
}

.entry-title a {
    text-decoration: none;
    color: inherit;
}

.entry-title a:hover {
    color: var(--blues-navy);
    text-decoration: underline;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry--archive {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--blues-line);
}

.archive-list .entry--archive:last-child {
    border-bottom: none;
}

/* WordPress / Blöcke */

.alignwide {
    max-width: min(100%, var(--blues-max));
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.wp-block-image figcaption {
    font-size: 0.9rem;
    color: var(--blues-muted);
}

/* Pagination */

.pagination,
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--blues-line);
}

.pagination a,
.nav-links a {
    font-weight: 600;
}

/* ——— Footer ——— */

.site-footer {
    margin-top: auto;
    background: var(--blues-navy);
    color: #f0f2ff;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: #c8d4ff;
}

.site-footer__inner {
    max-width: var(--blues-max);
    margin: 0 auto;
    padding: 1.5rem var(--blues-pad);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.95rem;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer__nav a {
    text-decoration: underline;
}

/* Scroll top */

.scroll-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 900;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--blues-navy);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
    box-shadow: 0 4px 14px rgba(13, 28, 85, 0.35);
}

.scroll-top:hover {
    background: var(--blues-navy-hover);
}

.scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.button {
    display: inline-block;
    padding: 0.65rem 1.25rem;
    background: var(--blues-navy);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    border-radius: 4px;
}

.button:hover {
    background: var(--blues-navy-hover);
    color: #fff !important;
}

/* Plugin: blues-events list/calendar hooks */

.blues-events-list,
.blues-calendar {
    margin-top: 1rem;
}

/*
 * Plugin: Status-Klassen gelten für Kalenderzellen (.blues-event) und für
 * Listenzeilen (.blues-event-item). Ohne Separierte Selektoren würden
 * geplante Events die gesamte Karte einfärben (#4CAF50 / Rot / Orange).
 */
.blues-event-item.blues-event-scheduled,
.blues-event-item.blues-event-cancelled,
.blues-event-item.blues-event-postponed {
    background-color: #fff;
}

/* Info Corner (ehem. Elementor + EA Accordion): Inhalt ohne JS sichtbar */

.blues-info-corner--legacy .e-n-tabs-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 1.5rem 0 1rem;
    padding: 0;
    list-style: none;
}

.blues-info-corner--legacy .e-n-tab-title {
    background: #f4f5f9;
    border: 1px solid var(--blues-line);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font: inherit;
    font-weight: 600;
    cursor: default;
    color: var(--blues-navy);
}

.blues-info-corner--legacy .e-n-tabs-content [role="tabpanel"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 2rem;
}

.blues-info-corner--legacy .eael-adv-accordion .elementor-tab-title {
    font-weight: 700;
    margin: 0.75rem 0 0.25rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--blues-line);
    pointer-events: none;
}

.blues-info-corner--legacy .eael-adv-accordion .eael-advanced-accordion-icon-closed,
.blues-info-corner--legacy .eael-adv-accordion .eael-advanced-accordion-icon-opened,
.blues-info-corner--legacy .eael-adv-accordion .fa-toggle {
    display: none !important;
}

.blues-info-corner--legacy .eael-accordion-content {
    display: block !important;
    padding: 0.5rem 0 1rem 0.25rem;
}

.blues-info-corner--legacy .eael-accordion-content p {
    margin: 0.5rem 0;
}

/* Kompakte Event-Liste auf der Startseite */

.site-main .blues-events-list-widget.mode-compact .blues-events-list {
    margin-top: 0.5rem;
}

/* ——— Startseite (statische Front Page): Struktur & Shortcodes ———
   Inhalt ist flaches Elementor-/Migrations-HTML; Zuordnung über Typografie,
   :nth-of-type nur wo stabil (Hero + Einleitung). Event-Liste: scoped unter .home. */

body.home .entry--page .entry-content {
    padding-top: 0.25rem;
}

/* NEWS-Text | Nächste Konzerte (50/50, Markup im Seiteninhalt) */
body.home .blues-home-news-concerts-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.75rem);
    align-items: baseline;
    margin: 0 0 1.5rem;
}

@media (max-width: 900px) {
    body.home .blues-home-news-concerts-row {
        grid-template-columns: 1fr;
    }
}

/* Eine gemeinsame Zeile für NEWS + Konzerte (Linie bündig) */
body.home .blues-home-news-col > h2:first-child {
    font-family: var(--font-display);
    margin: 0 0 0.55rem !important;
    padding: 0 0 0.35rem !important;
    border-bottom: 2px solid rgba(13, 28, 85, 0.15);
    color: var(--blues-navy);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Konzerte: Überschrift + „Alle Termine“ rechts, eine Unterstreichung */
body.home .blues-home-concerts-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    margin: 0 0 0.55rem !important;
    padding: 0 0 0.35rem !important;
    border-bottom: 2px solid rgba(13, 28, 85, 0.15);
}

body.home .blues-home-concerts-head h2 {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-family: var(--font-display);
    color: var(--blues-navy);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    flex: 1 1 auto;
    min-width: 0;
}

body.home a.blues-home-all-dates {
    flex-shrink: 0;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--blues-navy);
    text-decoration: none;
    white-space: nowrap;
    align-self: center;
}

body.home a.blues-home-all-dates:hover {
    color: var(--blues-navy-hover);
    text-decoration: underline;
}

body.home .blues-home-news-col p {
    margin-top: 0;
    margin-bottom: 1rem;
    max-width: none;
    color: var(--blues-text);
}

body.home .blues-home-news-col p:last-child {
    margin-bottom: 0;
}

body.home .blues-home-concerts-col .blues-events-list {
    margin-top: 0;
    margin-bottom: 0;
}

/* Hero: zwei Teile nebeneinander, unterschiedliche Schriftgrößen */
body.home .entry-content > h2:first-of-type {
    display: inline-block;
    margin: 0 0.5rem 0 0;
    vertical-align: baseline;
    font-size: clamp(1.85rem, 5vw, 3rem);
    color: var(--blues-navy);
    letter-spacing: 0.03em;
}

body.home .entry-content > h2:nth-of-type(2) {
    display: inline-block;
    margin: 0 0 1.75rem 0;
    vertical-align: baseline;
    font-size: clamp(1.35rem, 3.8vw, 2.1rem);
    color: var(--blues-navy);
    opacity: 0.88;
    letter-spacing: 0.02em;
}

/* Gegen zu große section-margins von allgemeinen h2-Regeln */
body.home .entry--page .entry-content > h2:first-of-type,
body.home .entry--page .entry-content > h2:nth-of-type(2) {
    margin-top: 0 !important;
}

@media (max-width: 720px) {
    body.home .entry-content > h2:first-of-type,
    body.home .entry-content > h2:nth-of-type(2) {
        display: block;
    }

    body.home .entry-content > h2:first-of-type {
        margin-right: 0;
    }

    body.home .entry-content > h2:nth-of-type(2) {
        margin-top: 0.2rem;
    }
}

/* Bereichsüberschriften ohne Link (NEWS, Festivals, TV, Konzerte, …) */
body.home .entry-content > h2:not(:has(> a)):not(:has(i)) {
    font-family: var(--font-display);
    margin-top: 2.5rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid rgba(13, 28, 85, 0.15);
    color: var(--blues-navy);
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
}

body.home .entry-content > h2:not(:has(> a)):not(:has(i)):first-of-type,
body.home .entry-content > h2:not(:has(> a)):not(:has(i)):nth-of-type(2) {
    border-bottom: none;
    padding-bottom: 0;
}

/* Karten-Titel (Festivals, … — Neuerscheinungen in .blues-home-release-card) */
body.home .entry-content > h2:has(> a) {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 1.35rem;
    margin-bottom: 0.4rem;
    color: var(--blues-text);
    border: none;
    padding-bottom: 0;
}

/* Festival-/Workshop-Grid (Markup via themes functions.php) */
body.home .blues-home-festival-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1.35rem 1.25rem;
    margin: 0.35rem 0 2.75rem;
    align-items: stretch;
}

body.home .blues-home-feature-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1rem 1rem 1.1rem;
    background: linear-gradient(165deg, #f8f9fd 0%, #fff 55%);
    border: 1px solid var(--blues-line);
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(13, 28, 85, 0.07);
}

body.home .blues-home-feature-card h2 {
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.65rem;
    padding: 0;
    border: none;
    color: var(--blues-text);
}

body.home .blues-home-feature-card h2 a {
    text-decoration: none;
    color: var(--blues-navy);
}

body.home .blues-home-feature-card h2 a:hover {
    text-decoration: underline;
}

body.home .blues-home-feature-card p {
    margin: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0.35rem;
    background: rgba(13, 28, 85, 0.04);
    border-radius: 8px;
    overflow: hidden;
}

body.home .blues-home-feature-card p a {
    display: block;
    width: 100%;
    line-height: 0;
    text-decoration: none;
}

body.home .blues-home-feature-card img {
    width: 100%;
    height: auto;
    max-height: min(52vh, 340px);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

body.home .blues-home-feature-card p br {
    display: none;
}

/* Neuerscheinungen: 3 Spalten (Karten via Theme-Filter) */
body.home .blues-home-releases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem 1.25rem;
    margin: 0.5rem 0 2.5rem;
    align-items: stretch;
}

@media (max-width: 960px) {
    body.home .blues-home-releases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    body.home .blues-home-releases-grid {
        grid-template-columns: 1fr;
    }
}

body.home .blues-home-release-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0.75rem 0.85rem 1rem;
    background: linear-gradient(165deg, #fafbff 0%, #fff 70%);
    border: 1px solid var(--blues-line);
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(13, 28, 85, 0.06);
}

body.home .blues-home-release-card h2 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.55rem;
    padding: 0;
    border: none;
    color: var(--blues-text);
}

body.home .blues-home-release-card h2 a {
    text-decoration: none;
    color: var(--blues-navy);
}

body.home .blues-home-release-card h2 a:hover {
    text-decoration: underline;
}

body.home .blues-home-release-card > p,
body.home .blues-home-release-card > a:has(img) {
    margin: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0.3rem;
    background: rgba(13, 28, 85, 0.04);
    border-radius: 8px;
    line-height: 0;
}

body.home .blues-home-release-card > a:has(img) {
    text-decoration: none;
}

body.home .blues-home-release-card img {
    width: 100%;
    height: auto;
    max-height: min(38vw, 220px);
    object-fit: contain;
    display: block;
}

body.home .blues-home-release-card p br {
    display: none;
}

/* Poster / Cover nach Karten-Titel (nur noch loser Fallback außerhalb der Karten) */
body.home .entry-content > h2:has(> a) + a:has(img),
body.home .entry-content > h2:has(> a) + img,
body.home .entry-content > h2:has(> a) + p:has(a img),
body.home .entry-content > h2:has(> a) + p:has(img) {
    display: block;
    margin-bottom: 0.25rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(13, 28, 85, 0.12);
}

body.home .entry-content > h2:has(> a) + a:has(img) img,
body.home .entry-content > h2:has(> a) + img,
body.home .entry-content > h2:has(> a) + p:has(img) img,
body.home .entry-content > h2:has(> a) + p a img {
    display: block;
    width: 100%;
    max-width: min(100%, 18rem);
    height: auto;
}

/* Partner */
body.home .entry-content > h2:has(i) {
    margin-top: 2.75rem;
    border-bottom-color: rgba(13, 28, 85, 0.2);
    font-style: normal;
}

body.home .entry-content > h2:has(i) + figure,
body.home .entry-content > h2:has(i) + figure + p:has(a img),
body.home .entry-content > h2:has(i) + p:has(a img),
body.home .entry-content > h2:has(i) + a:has(img) {
    display: inline-flex;
    align-items: center;
    margin: 0.35rem 1.5rem 1rem 0;
    vertical-align: middle;
}

body.home .entry-content > h2:has(i) + figure img,
body.home .entry-content > h2:has(i) + figure + p:has(a img) img,
body.home .entry-content > h2:has(i) + p:has(a img) img,
body.home .entry-content > h2:has(i) + a:has(img) img {
    max-height: 72px;
    width: auto;
    display: block;
    box-shadow: none;
}

body.home .entry-content > h2:has(i) + figure + p:has(a img),
body.home .entry-content > h2:has(i) + p:has(a img) {
    margin-bottom: 1rem;
}

body.home .entry-content > h2:has(i) + figure + p:has(a img) br,
body.home .entry-content > h2:has(i) + p:has(a img) br {
    display: none;
}

/* Call-to-Action Schluss */
body.home .entry-content > a.button {
    margin-top: 1.25rem;
    margin-bottom: 2rem;
}

/* [blues_events_list] nur in der Startseiten-Konzertspalte: einzeilig, marine */
body.home .blues-home-concerts-col .blues-events-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

body.home .blues-home-concerts-col .blues-event-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.45rem;
    padding: 0.12rem 0.35rem;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(13, 28, 85, 0.05);
    border: 1px solid rgba(13, 28, 85, 0.1);
    background: #eceef4 !important;
    position: relative;
    overflow: hidden;
    transform: none;
    grid-template-columns: unset;
}

body.home .blues-home-concerts-col .blues-event-item:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(13, 28, 85, 0.1);
}

body.home .blues-home-concerts-col .blues-event-status {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.15rem;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #b00020;
}

body.home .blues-home-concerts-col .blues-event-date {
    position: static;
    flex: 0 0 auto;
    align-self: center;
    min-width: 2.5rem;
    padding: 0.22rem 0.38rem;
    background: var(--blues-navy);
    color: #fff;
    border-radius: 5px;
    box-shadow: none;
}

body.home .blues-home-concerts-col .blues-event-day {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.05;
}

body.home .blues-home-concerts-col .blues-event-month {
    margin: 0;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.95;
}

/* Plugin .blues-event-details: margin/padding/bg/box — sonst weiße „Karte“ in grauer Zeile */
body.home .blues-home-concerts-col .blues-event-details {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, min(42%, 10.5rem));
    grid-template-rows: auto auto;
    column-gap: 0.45rem;
    row-gap: 0.06rem;
    align-items: start;
    justify-items: start;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
    text-align: left !important;
}

/* Titel max. ca. Länge „Hans Theessink Birthday Bash 2026 – Tag 3“ (40ch), länger mit … */
body.home .blues-home-concerts-col .blues-event-title {
    grid-column: 1;
    grid-row: 1;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: 0.9rem !important;
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.15 !important;
    min-width: 0;
    width: auto;
    max-width: min(100%, 40ch);
    overflow: hidden !important;
    align-self: center;
    white-space: nowrap !important;
    text-overflow: ellipsis;
}

body.home .blues-home-concerts-col .blues-event-title a {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: var(--blues-navy);
    text-decoration: none;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: normal;
    overflow-wrap: normal;
}

body.home .blues-home-concerts-col .blues-event-title a:hover {
    color: var(--blues-navy-hover);
    text-decoration: underline;
}

/* Zeit oben, Ort darunter — Ort wie „Mehr erfahren“ (0,76rem) */
body.home .blues-home-concerts-col .blues-event-meta {
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
    background: transparent !important;
    display: inline-flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 0.1rem;
    font-size: 0.78rem;
    color: var(--blues-muted);
    white-space: normal;
    align-self: center;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

body.home .blues-home-concerts-col .blues-event-time {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem !important;
    font-size: 0.78rem;
    line-height: 1.2;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
}

body.home .blues-home-concerts-col .blues-event-time .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 14px;
    flex-shrink: 0;
}

body.home .blues-home-concerts-col .blues-event-venue {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem !important;
    font-size: 0.76rem !important;
    font-weight: 600;
    line-height: 1.2 !important;
    letter-spacing: 0.01em;
    color: var(--blues-muted);
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    max-width: 100%;
}

body.home .blues-home-concerts-col .blues-event-venue .dashicons {
    width: 12px;
    height: 12px;
    font-size: 12px;
    line-height: 12px;
    flex-shrink: 0;
}

body.home .blues-home-concerts-col .blues-event-excerpt {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

body.home .blues-home-concerts-col .blues-event-details .blues-event-more,
body.home .blues-home-concerts-col a.blues-event-more {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100%;
    background: none !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--blues-navy) !important;
    font-size: 0.76rem !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

body.home .blues-home-concerts-col .blues-event-details .blues-event-more:hover,
body.home .blues-home-concerts-col a.blues-event-more:hover {
    transform: none !important;
    box-shadow: none !important;
    background: none !important;
    background-image: none !important;
    color: var(--blues-navy-hover) !important;
    text-decoration: underline;
}

body.home .blues-home-concerts-col .blues-event-more::after {
    content: " \2192";
    font-size: 0.85em;
}

body.home .blues-home-concerts-col .blues-event-image {
    display: none;
}

@media (max-width: 640px) {
    body.home .blues-home-concerts-col .blues-event-details {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 0.18rem;
    }

    body.home .blues-home-concerts-col .blues-event-title {
        grid-column: 1;
        grid-row: 1;
    }

    body.home .blues-home-concerts-col .blues-event-title a {
        white-space: nowrap;
    }

    body.home .blues-home-concerts-col .blues-event-meta {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        align-items: flex-start;
        flex-direction: column;
        white-space: normal;
        max-width: 100%;
    }

    body.home .blues-home-concerts-col .blues-event-more {
        grid-column: 1;
        grid-row: 3;
    }
}

/* ——— Breitere Inhalte (Events, Künstler) ——— */

.site-main--wide {
    max-width: var(--blues-max);
}

/* Einzelseiten: Hero-Bild */
.entry-hero {
    margin: 0 0 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 4px 24px rgba(13, 28, 85, 0.1);
}

.entry-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: min(52vh, 420px);
}

.blues-at-single--event .entry-header,
.blues-at-single--kuenstler .entry-header {
    margin-bottom: 1.25rem;
}

.blues-at-single--event .entry-title,
.blues-at-single--kuenstler .entry-title {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
}

/* Archiv Künstler */
.blues-at-archive--kuenstler .page-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--blues-line);
}

.blues-at-artist-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.35rem 1.25rem;
}

.blues-at-artist-card {
    margin: 0;
}

.blues-at-artist-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--blues-line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(13, 28, 85, 0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blues-at-artist-card__link:hover {
    box-shadow: 0 8px 28px rgba(13, 28, 85, 0.12);
    transform: translateY(-3px);
}

.blues-at-artist-card__media {
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #e8eaf4 0%, #d4d8e8 100%);
    overflow: hidden;
}

.blues-at-artist-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blues-at-artist-card__link:hover .blues-at-artist-card__media img {
    transform: scale(1.04);
}

.blues-at-artist-card__body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.35rem;
}

.blues-at-artist-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.25;
    color: var(--blues-navy);
}

.blues-at-artist-card__excerpt {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--blues-muted);
    flex: 1 1 auto;
}

.blues-at-artist-card__cta {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blues-navy);
    letter-spacing: 0.02em;
}

.blues-at-artist-card__link:hover .blues-at-artist-card__cta {
    text-decoration: underline;
}

/* Veranstaltung (Single): Meta-Block & Tickets — Theme-Palette */
body.single-blues_event .blues-event-details {
    margin-bottom: 2rem;
}

body.single-blues_event .event-meta-item,
body.single-blues_event .musician-meta-item,
body.single-blues_event .venue-meta-item {
    border-left-color: var(--blues-navy);
    background: #f7f8fb;
}

body.single-blues_event .meta-icon {
    color: var(--blues-navy);
}

body.single-blues_event .meta-content strong,
body.single-blues_event .detail-content strong,
body.single-blues_event .detail-label {
    color: var(--blues-navy);
}

body.single-blues_event .ticket-button,
body.single-blues_event .event-tickets .ticket-button {
    background: var(--blues-navy);
    box-shadow: none;
    border-radius: 6px;
}

body.single-blues_event .ticket-button:hover {
    background: var(--blues-navy-hover);
    color: #fff;
}

body.single-blues_event .event-status.status-cancelled {
    background-color: #b00020;
}

body.single-blues_event .event-status.status-postponed {
    background-color: #b35c00;
}

body.single-blues_event .event-categories {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--blues-muted);
}

/* Künstler (Single): Meta-Grid */
body.single-blues_musician .blues-musician-details {
    margin-bottom: 1.5rem;
}

body.single-blues_musician .musician-meta-item {
    border-left-color: var(--blues-navy);
    background: #f7f8fb;
}

body.single-blues_musician .meta-icon {
    color: var(--blues-navy);
}

body.single-blues_musician .musician-upcoming-events {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--blues-line);
}

body.single-blues_musician .musician-upcoming-events h3 {
    font-family: var(--font-display);
    color: var(--blues-navy);
    font-size: 1.25rem;
    margin: 0 0 1rem;
}

/* Event-Listen & Filter (außer Startseite): Palette + Typo */
body:not(.home) .blues-events-list {
    gap: 1.25rem;
}

body:not(.home) .blues-events-filters {
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.5rem;
    background: #f7f8fb;
    border: 1px solid var(--blues-line);
    border-radius: 8px;
    box-shadow: none;
}

body:not(.home) .blues-filter-item select:focus,
body:not(.home) .blues-filter-item input:focus {
    border-color: var(--blues-navy);
    box-shadow: 0 0 0 3px rgba(13, 28, 85, 0.12);
}

body:not(.home) .blues-filter-button {
    background: var(--blues-navy);
    box-shadow: none;
    border-radius: 6px;
}

body:not(.home) .blues-filter-button:hover {
    background: var(--blues-navy-hover);
    box-shadow: 0 4px 14px rgba(13, 28, 85, 0.25);
    transform: translateY(-1px);
}

body.page-id-14:not(.home) .blues-events-list {
    margin-top: 0;
}

body:not(.home) .blues-event-item {
    border: 1px solid var(--blues-line);
    box-shadow: 0 2px 12px rgba(13, 28, 85, 0.06);
    border-radius: 8px;
}

body:not(.home) .blues-event-item:hover {
    box-shadow: 0 4px 20px rgba(13, 28, 85, 0.1);
    transform: translateY(-2px);
}

body:not(.home) .blues-event-date {
    background: var(--blues-navy);
    box-shadow: 0 2px 10px rgba(13, 28, 85, 0.2);
}

body:not(.home) .blues-event-more {
    background: var(--blues-navy);
    box-shadow: none;
}

body:not(.home) .blues-event-more:hover {
    background: var(--blues-navy-hover);
    color: #fff;
}

body:not(.home) .blues-event-image {
    background: linear-gradient(145deg, #e8eaf4 0%, #d4d8e8 100%);
}

body:not(.home) .blues-event-title {
    font-family: var(--font-display);
    font-weight: 400;
}

body:not(.home) .blues-event-title a {
    color: var(--blues-navy);
}

body:not(.home) .blues-event-title a:hover {
    color: var(--blues-navy-hover);
}

body:not(.home) .blues-event-time i,
body:not(.home) .blues-event-venue i {
    color: var(--blues-navy);
}
