/* ==========================================================================
   GU Medienauftritte — Frontend-Styles
   CI: #2f2e2e (Text), #757374 (Grau), #d8d8d8 (Hellgrau),
       #ff4466 (Akzent), Font: Trebuchet MS
   ========================================================================== */

/* --- Grundstruktur --- */

.gu-ma-section {
    margin-bottom: 3rem;
}

.gu-ma-section-title {
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #2f2e2e;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d8d8d8;
}

.gu-ma-aktuell-section .gu-ma-section-title {
    color: #ff4466;
    border-bottom-color: #ff4466;
}

.gu-ma-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gu-ma-empty {
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    color: #757374;
    font-style: italic;
}

/* --- Einzelner Auftritt --- */

.gu-ma-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gu-ma-item:hover {
    border-color: #757374;
    box-shadow: 0 2px 8px rgba(47, 46, 46, 0.08);
}

.gu-ma-item--aktuell {
    border-left: 4px solid #ff4466;
}

/* --- Badges --- */

.gu-ma-item__badges {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-shrink: 0;
    min-width: 90px;
}

.gu-ma-badge {
    display: inline-block;
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
}

/* Badge-Farben pro Medientyp */
.gu-ma-badge--tv {
    background: #ff4466;
    color: #ffffff;
}

.gu-ma-badge--print {
    background: #2f2e2e;
    color: #ffffff;
}

.gu-ma-badge--online {
    background: #757374;
    color: #ffffff;
}

.gu-ma-badge--podcast {
    background: #ffdae0;
    color: #2f2e2e;
}

.gu-ma-badge--gastbeitrag {
    background: #d8d8d8;
    color: #2f2e2e;
}

/* --- Content --- */

.gu-ma-item__content {
    flex: 1;
    min-width: 0;
}

.gu-ma-item__title {
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2f2e2e;
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
}

.gu-ma-item__title a {
    color: #2f2e2e;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.gu-ma-item__title a:hover {
    color: #ff4466;
    border-bottom-color: #ff4466;
}

.gu-ma-item__external-icon {
    font-size: 0.85em;
    margin-left: 0.3em;
    opacity: 0.5;
}

.gu-ma-item__title a:hover .gu-ma-item__external-icon {
    opacity: 1;
}

.gu-ma-item__meta {
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 0.9rem;
    color: #757374;
    margin: 0 0 0.3rem 0;
}

.gu-ma-item__medium {
    font-weight: 600;
}

.gu-ma-item__separator {
    margin: 0 0.4em;
}

.gu-ma-item__datum {
    font-style: italic;
}

.gu-ma-item__beschreibung {
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 0.9rem;
    color: #757374;
    margin: 0.4rem 0 0 0;
    line-height: 1.4;
}

/* ==========================================================================
   Bekannt-aus Logo-Banner  —  Shortcode: [bekannt_aus]
   ========================================================================== */

.gu-ma-bekannt-aus {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 2rem 0;
    text-align: center;
}

.gu-ma-bekannt-aus__titel {
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #757374;
    margin-bottom: 1.8rem;
}

.gu-ma-bekannt-aus__titel span {
    display: inline-block;
    position: relative;
}

.gu-ma-bekannt-aus__titel span::before,
.gu-ma-bekannt-aus__titel span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: #d8d8d8;
}

.gu-ma-bekannt-aus__titel span::before {
    right: calc(100% + 1em);
}

.gu-ma-bekannt-aus__titel span::after {
    left: calc(100% + 1em);
}

.gu-ma-bekannt-aus__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 2.5rem;
}

.gu-ma-bekannt-aus__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    max-width: 160px;
}

.gu-ma-bekannt-aus__logo img {
    max-height: 40px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.3s ease;
}

.gu-ma-bekannt-aus__logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* --- Responsive --- */

@media (max-width: 600px) {
    .gu-ma-item {
        flex-direction: column;
        gap: 0.6rem;
        padding: 1rem;
    }

    .gu-ma-item__badges {
        flex-direction: row;
        min-width: unset;
    }

    .gu-ma-section-title {
        font-size: 1.3rem;
    }

    .gu-ma-bekannt-aus__logos {
        gap: 1.5rem 1.8rem;
    }

    .gu-ma-bekannt-aus__logo img {
        max-height: 30px;
        max-width: 120px;
    }

    .gu-ma-bekannt-aus__titel span::before,
    .gu-ma-bekannt-aus__titel span::after {
        width: 30px;
    }
}
