/**
 * RBM Events – Frontend Styles
 */


body .m-0,
body .m-0 p {
    margin: 0;
    margin-block-end: 0 !important;
}

body .elementor-widget-image:has(figure figcaption.widget-image-caption.wp-caption-text) {
    margin-bottom: 2rem;
}

figure figcaption.widget-image-caption.wp-caption-text {
    font-size: 13px;
    position: absolute;
    right: 0;
    margin: 0;
}

/* Shortcode: rbm_event_artist */
.rbm-artist-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.rbm-artist-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 0.744;
    box-shadow: 0 0 0 !important;
    margin-bottom: 0.75rem;
}

.rbm-artist-card__image img.rbm-artist-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rbm-artist-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.rbm-artist-card__name {
    font-weight: 700;
    text-decoration: none;
    color: inherit;
}

.rbm-artist-card__instrument {
}

/* Shortcode: rbm_artist_media – Custom Mini-Player */
.rbm-artist-media {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rbm-audio-player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    transition: border-color 0.2s;
    max-width: 687px;
}

.rbm-audio-player:hover {
    border-color: #bbb;
}

.rbm-audio-player.is-playing {
    border-color: var( --e-global-color-accent );
}

.rbm-audio-player__btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var( --e-global-color-accent );
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.rbm-audio-player__btn:hover {
    background: var( --e-global-color-accent );
}

.rbm-audio-player__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.rbm-audio-player__name {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rbm-audio-player__progress {
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.rbm-audio-player__progress-bar {
    width: 0;
    height: 100%;
    background: #0040FF;
    border-radius: 3px;
    transition: width 0.15s linear;
}

.rbm-audio-player__time {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #777;
    font-variant-numeric: tabular-nums;
    min-width: 2.8em;
    text-align: right;
}






/* Container für den Effekt (Porträts mit Overlay) */
.portrait-hover-effect {
    position: relative;
    display: block;
    text-decoration: none; /* Entfernt Unterstreichung bei Links */
    line-height: 0; /* Verhindert Lücke unter dem Bild */
    box-shadow: none !important;
}

.portrait-hover-effect figure {
    position: relative;
    margin-bottom: 20px;
    box-shadow: none !important;
}

.portrait-hover-effect figcaption {
    font-size: 11px !important;
    position: absolute;
    bottom: -6px;
    right: 0;
}

/* Bild Styling */
.portrait-hover-effect img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1; /* Bild im Hintergrund */
    vertical-align: bottom; /* Verhindert weißen Streifen */
    aspect-ratio: 0.744;
    object-fit: cover;
}

/* Gefüllte Border (Standard: Desktop & Tablet) */
.portrait-hover-effect::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #DC005C;
    z-index: 2; /* Border über dem Bild */
}

/* Overlay-Styling (Standard: Desktop & Tablet) */
.portrait-hover-effect::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--hover-color, #DC005D33); /* Standardfarbe des Overlays in HEX mit 50% Transparenz */
    transition: height 0.5s ease-in-out; /* Dauer und Art der Animation */
    z-index: 3; /* Overlay im Vordergrund */
    pointer-events: none; /* Overlay blockiert keine Klicks */
}

/* Hover-Effekt */
.portrait-hover-effect:hover::after,
.portrait-hover-effect.hover-active::after {
    height: 100%;
    background: #DC005D4D; /* Ändere die Transparenz auf 70% bei Hover */
}

/* Responsive Fix: Mobilgeräte unter 768px → width: 100% */
@media (max-width: 767px) {
    .portrait-hover-effect::before,
    .portrait-hover-effect::after {
        width: 100%;
    }
}

/* Neuer Name für den festen Balken unten: wide-bottom-border */
.wide-bottom-border {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.wide-bottom-border:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -220px; /* Negative Marge hier einfügen */
    width: 750px;
    height: 18px;
    background-color: #DC005C;
}

@media only screen and (max-width: 768px) {
    .wide-bottom-border:after {
        width: 100%;
        height: 11px;
        right: 0; /* Ausrichtung an das schmälere Bild anpassen */
    }
}

/* =========================================
   Künstler:innen-Typografie – Desktop & Tablet
   ========================================= */
@media (min-width: 769px) {
    .artist-text p {
        line-height: 1.5;
    }
}

/* =========================================
   Künstler:innen-Typografie – Mobil
   ========================================= */
@media (max-width: 768px) {
    .artist-text p {
        line-height: 1.4;
    }
}




.rbm-location-events__item {
    margin-bottom: 20px;
}
.rbm-location-events__item a  {
    text-decoration: none !important;
}


.rbm-location-events__item .rbm-location-events__date {
    display: block;
    color: var(--e-global-color-accent);
}