/* Steiermark TV - automatisch aus stv-layout-web.css fachlich getrennt.
   Gemeinsame Regeln liegen in stv-layout-core.css; diese Datei enthaelt nur seitentypspezifische Bloecke. */

/* =========================
   DESKTOP
========================= */

.stv-episode-layout {
    position: relative;
    width: var(--stv-stage-width);
    min-width: var(--stv-stage-width);
    max-width: var(--stv-stage-width);
    margin: 18px auto 54px;
    padding: var(--stv-stage-padding);
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 30px;
    display: grid;
    grid-template-columns: var(--stv-main-track-width) var(--stv-sidebar-width);
    grid-template-areas:
        "hero share"
        "main sidebar"
        "comments sidebar"
        "third sidebar";
    column-gap: var(--stv-stage-gap);
    row-gap: var(--stv-stage-gap);
    align-items: start;
    overflow: visible;
    isolation: isolate;
    --stv-sidebar-tail-height: 0px;
}

/* allgemeine Deko aus */
.stv-episode-layout::after,
.stv-episode-hero::before,
.stv-episode-hero::after,
.stv-episode-main::before,
.stv-episode-main::after,
.stv-episode-sidebar::after,
.stv-green-panel::before,
.stv-green-panel::after {
    display: none !important;
}

.stv-episode-hero,
.stv-episode-top-banner,
.stv-episode-share,
.stv-episode-main,
.stv-episode-comments,
.stv-episode-third,
.stv-episode-sidebar {
    position: relative;
    min-width: 0;
    align-self: start;
}

/* Standardposition OHNE jede Banner-Sonderlogik */
.stv-episode-share {
    transform: translateY(-130px);
}

.stv-episode-main,
.stv-episode-comments,
.stv-episode-third,
.stv-episode-sidebar {
    transform: translateY(-160px);
}

/* Wenn Banner sichtbar ist:
   nur rechte Seitenleiste wieder exakt auf die Höhe ohne Banner setzen */
.stv-episode-layout.stv-layout-has-top-banner .stv-episode-sidebar {
    transform: translateY(-160px) !important;
}

.stv-episode-layout.stv-layout-has-top-banner .stv-share-stack__share {
    transform: translateY(-90px);
}

.stv-episode-layout.stv-layout-has-top-banner .stv-share-stack__favorite {
    transform: translateY(-90px);
}

/* Lime-Rechteck bei sichtbarem Banner 90px nach oben */
.stv-episode-layout.stv-layout-has-top-banner .stv-share-stack::after {
    transform: translateY(-90px);
}

/* großes grünes Design-Rechteck */
.stv-episode-layout::before {
    content: "";
    display: block !important;
    position: absolute;
    top: 19px;
    left: 872px;
    width: 110px;
    height: 110px;
    border-radius: 24px;
    background: linear-gradient(160deg, #2fa43a 0%, #1c7a2d 42%, #0a4b1f 100%);
    box-shadow: 0 18px 34px rgba(10, 55, 23, 0.14);
    z-index: 0;
    pointer-events: none;
}

/* HERO */
.stv-episode-hero {
    grid-area: hero;
    width: var(--stv-hero-width);
    z-index: 1;
    margin: 0 0 -34px 0;
}

.stv-episode-hero-card {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #ffffff 0%, var(--stv-white-soft) 100%);
    border-radius: 22px;
    padding: 14px 18px 24px;
    min-height: 136px;
    box-sizing: border-box;
    box-shadow: var(--stv-shadow-hero);
    overflow: hidden;
}

.stv-episode-title {
    margin: 0;
    font-size: clamp(1.62rem, 2.05vw, 2.4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: #111111;
}

.stv-episode-meta {
    margin-top: 8px;
    font-size: 0.88rem;
    line-height: 1.3;
    color: var(--stv-text-soft);
}

/* TOP BANNER:
   nur unter dem Hero in der linken Hauptspalte,
   ohne sonst etwas zu verschieben */
.stv-episode-top-banner {
    position: absolute;
    top: 144px;
    left: var(--stv-stage-padding);
    width: var(--stv-main-track-width);
    display: none;
    z-index: 3;
}

.stv-episode-layout.stv-layout-has-top-banner .stv-episode-top-banner {
    display: block !important;
}

.stv-episode-top-banner__inner {
    width: 100%;
    min-height: 90px;
    max-height: 90px;
    height: 90px;
    overflow: hidden;
}

.stv-episode-top-banner-mobile {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
}

.stv-episode-top-banner-mobile__inner {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--stv-shadow-card-soft);
}

.stv-mobile-manual-banner,
.stv-mobile-manual-banner a {
    display: block;
    width: 100%;
}

.stv-mobile-manual-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* Sichtbarkeit Share/Favoriten */
.stv-share-panel--desktop {
    display: none !important;
}

.stv-episode-video .stv-share-panel--mobile,
.stv-episode-video .stv-favorite-panel--mobile {
    display: block;
}

.stv-share-panel--mobile {
    margin-top: 18px;
}

.stv-favorite-panel--mobile {
    margin-top: 14px;
}

@media (min-width: 992px) {
    .stv-share-panel--desktop {
        display: block !important;
    }

    .stv-episode-video .stv-share-panel--mobile,
    .stv-episode-video .stv-favorite-panel--mobile {
        display: none !important;
    }
}

/* RIGHT TOP GROUP */
.stv-episode-share {
    grid-area: share;
    z-index: 2;
    width: 452px;
    height: 280px;
    margin: 18px 0 -32px -8px;
    justify-self: start;
}

.stv-share-stack {
    position: relative;
    width: 452px;
    height: 280px;
    overflow: visible;
}

/* ursprüngliches großes Rechteck hier deaktiviert */
.stv-share-stack::before {
    content: none;
    display: none;
}

/* Lime-Block */
.stv-share-stack::after {
    content: "";
    position: absolute;
    top: 86px;
    left: 216px;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(155deg, var(--stv-lime-1) 0%, var(--stv-lime-2) 60%, #b9d556 100%);
    box-shadow: 0 12px 20px rgba(78, 109, 26, 0.16);
    z-index: 1;
}

/* Sendung teilen */
.stv-share-stack__share {
    position: absolute;
    top: 151px;
    left: -75px;
    z-index: 1;
    width: 244px;
    min-height: 111px;
    box-sizing: border-box;
    padding: 14px 14px 24px 16px;
    border-radius: 24px;
    background: linear-gradient(155deg, var(--stv-lime-1) 0%, var(--stv-lime-2) 58%, var(--stv-lime-3) 100%);
    box-shadow: 0 12px 22px rgba(78, 109, 26, 0.18);
}

/* kleiner dunkler Block */
.stv-share-stack__share::before {
    content: "";
    position: absolute;
    top: 1px;
    right: -65px;
    width: 25px;
    height: 25px;
    border-radius: 7px;
    background: linear-gradient(160deg, #16712a 0%, #0a4b1f 100%);
    z-index: 1;
}

/* kleiner heller Block */
.stv-share-stack__share::after {
    content: "";
    position: absolute;
    top: -71px;
    right: -34px;
    width: 25px;
    height: 25px;
    border-radius: 7px;
    background: linear-gradient(160deg, #2ca43c 0%, #1a7a2d 100%);
    z-index: 1;
}

.stv-share-stack__share .stv-section-title {
    margin: 0 0 10px;
    color: #263312;
    font-size: 0.98rem;
    line-height: 1.08;
    font-weight: 700;
}

.stv-share-stack__share > *:not(.stv-section-title) {
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(77, 105, 29, 0.16);
}

.stv-share-stack__share a,
.stv-share-stack__share button,
.stv-share-stack__share span,
.stv-share-stack__share i,
.stv-share-stack__share svg {
    color: #263312 !important;
}

.stv-share-stack__share .a2a_kit,
.stv-share-panel .a2a_kit {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.stv-share-stack__share .a2a_kit::after,
.stv-share-panel .a2a_kit::after {
    display: none !important;
}

.stv-share-stack__share .a2a_kit a,
.stv-share-stack__share .a2a_kit span,
.stv-share-panel .a2a_kit a,
.stv-share-panel .a2a_kit span {
    float: none !important;
    flex: 0 0 auto;
    margin: 0 !important;
}

/* Favoriten */
.stv-share-stack__favorite {
    position: absolute;
    top: 240px;
    left: 70px;
    z-index: 5;
    max-width: 184px;
}

.stv-share-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(155deg, var(--stv-lime-1) 0%, var(--stv-lime-2) 58%, var(--stv-lime-3) 100%);
    border-radius: 18px;
    padding: 14px 16px 16px;
    box-shadow: var(--stv-shadow-lime);
    color: #263312;
    overflow: visible;
}

.stv-share-panel .stv-section-title {
    margin: 0;
    color: #263312;
    font-size: 0.98rem;
    line-height: 1.06;
    font-weight: 700;
}

.stv-share-panel > *:not(.stv-section-title) {
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(77, 105, 29, 0.16);
}

.stv-share-panel a,
.stv-share-panel button,
.stv-share-panel span,
.stv-share-panel i,
.stv-share-panel svg {
    color: #263312 !important;
}

.stv-favorite-button {
    width: auto;
    max-width: 184px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 23px;
    border: 1px solid rgba(11, 107, 58, 0.24);
    border-radius: 999px;
    background: linear-gradient(160deg, #1f8f3b 0%, #0f6e2f 56%, #084b20 100%);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(10, 69, 30, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.stv-favorite-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(10, 69, 30, 0.28);
}

.stv-favorite-button:disabled {
    opacity: 0.68;
    cursor: default;
    transform: none;
}

.stv-favorite-button.is-active {
    background: linear-gradient(160deg, #1f8f3b 0%, #0f6e2f 56%, #084b20 100%);
    color: #ffffff;
    border-color: rgba(11, 107, 58, 0.26);
}

/* MAIN */
.stv-episode-main {
    grid-area: main;
    width: var(--stv-main-track-width);
    z-index: 4;
    margin: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.stv-episode-video {
    position: relative;
    z-index: 3;
    width: var(--stv-video-width);
    margin: 0;
    background: #143017;
    overflow: hidden;
    border-radius: var(--stv-radius-xl);
    box-shadow: var(--stv-shadow-main);
}

.stv-episode-video iframe,
.stv-episode-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* Mobile Favoriten unter Video */
.stv-favorite-panel--mobile .stv-favorite-button {
    max-width: none;
    background: linear-gradient(155deg, var(--stv-lime-1) 0%, var(--stv-lime-2) 58%, var(--stv-lime-3) 100%);
    color: #263312;
    border-color: rgba(96, 129, 35, 0.18);
    box-shadow: 0 8px 16px rgba(78, 109, 26, 0.16);
}

.stv-favorite-panel--mobile .stv-favorite-button.is-active {
    background: linear-gradient(160deg, #1f8f3b 0%, #0f6e2f 56%, #084b20 100%);
    color: #ffffff;
    border-color: rgba(11, 107, 58, 0.26);
}

.stv-episode-main-content {
    position: relative;
    z-index: 5;
    width: calc(var(--stv-main-content-width-narrow) - 2px);
    margin: 0 0 0 var(--stv-main-content-offset-left);
    padding: 16px 18px 18px;
    box-sizing: border-box;
    background: linear-gradient(160deg, #53c84a 0%, #34a63a 36%, #1f842f 68%, #11662a 100%);
    border-bottom-left-radius: var(--stv-radius-xl);
    border-bottom-right-radius: var(--stv-radius-xl);
    box-shadow: var(--stv-shadow-main);
}

.stv-episode-main-content,
.stv-episode-main-content h1,
.stv-episode-main-content h2,
.stv-episode-main-content h3,
.stv-episode-main-content h4,
.stv-episode-main-content p,
.stv-episode-main-content li,
.stv-episode-main-content div,
.stv-episode-main-content span,
.stv-episode-main-content a {
    color: #ffffff;
}

.stv-episode-main-content p,
.stv-episode-main-content li {
    max-width: calc(100% - 30px);
}

.stv-episode-main-content p {
    margin: 0 0 14px;
    font-size: 1.02rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.stv-episode-main-content p:last-child {
    margin-bottom: 0;
}

/* Link-Blöcke */
.stv-template-link-box,
.stv-episode-main-content .stv-cta-box {
    position: relative;
    z-index: 3;
    margin-top: 14px;
    margin-left: -78px;
    width: calc(100% + 28px);
    max-width: 560px;
    padding: 11px 15px;
    background: linear-gradient(155deg, var(--stv-lime-1) 0%, var(--stv-lime-2) 58%, var(--stv-lime-3) 100%);
    border-radius: 10px;
    box-shadow: var(--stv-shadow-lime);
}

.stv-template-link-box,
.stv-template-link-box a,
.stv-template-link-box span,
.stv-episode-main-content .stv-cta-box,
.stv-episode-main-content .stv-cta-box a,
.stv-episode-main-content .stv-cta-box span {
    color: #263312 !important;
    font-weight: 700;
}

/* Galerie jetzt im Hauptblock */
.stv-main-gallery {
    margin-top: 22px;
}

.stv-main-gallery__title {
    margin: 0 0 12px;
    font-size: 1.12rem;
    line-height: 1.08;
    font-weight: 600;
    color: #ffffff;
}

.stv-main-gallery__body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.stv-main-gallery__body > * {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.stv-main-gallery__body > div,
.stv-main-gallery__body > ul,
.stv-main-gallery__body > ol,
.stv-main-gallery__body .simple-gallery,
.stv-main-gallery__body .simple-gallery-list,
.stv-main-gallery__body .simple-gallery-images,
.stv-main-gallery__body .gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
}

.stv-main-gallery__body li,
.stv-main-gallery__body figure,
.stv-main-gallery__body .simple-gallery-item,
.stv-main-gallery__body .gallery-item,
.stv-main-gallery__body .thumbnail {
    width: 130px !important;
    max-width: 130px !important;
    min-width: 130px !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    flex: 0 0 130px !important;
    border-radius: 14px !important;
    background: transparent !important;
    position: relative;
}

.stv-main-gallery__body a {
    display: block !important;
    width: 130px !important;
    max-width: 130px !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: transparent !important;
    position: relative;
}

.stv-main-gallery__body img {
    width: 130px !important;
    max-width: 130px !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 14px !important;
    box-shadow: var(--stv-shadow-card-soft);
    object-fit: contain !important;
    aspect-ratio: auto !important;
}

.stv-main-gallery__body li::before,
.stv-main-gallery__body li::after,
.stv-main-gallery__body figure::before,
.stv-main-gallery__body figure::after,
.stv-main-gallery__body .simple-gallery-item::before,
.stv-main-gallery__body .simple-gallery-item::after,
.stv-main-gallery__body .gallery-item::before,
.stv-main-gallery__body .gallery-item::after,
.stv-main-gallery__body .thumbnail::before,
.stv-main-gallery__body .thumbnail::after,
.stv-main-gallery__body a::before,
.stv-main-gallery__body a::after {
    border-radius: 14px !important;
}

/* Kommentare */
.stv-episode-comments {
    grid-area: comments;
    z-index: 2;
    width: var(--stv-main-content-width-narrow);
    margin: 0 0 0 var(--stv-main-content-offset-left);
    justify-self: start;
}

.stv-comments-panel {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdf9 100%);
    border-radius: var(--stv-radius-xl);
    padding: 22px 22px 18px;
    box-shadow: var(--stv-shadow-card);
    box-sizing: border-box;
}

.stv-episode-comments .ccm-conversation-wrapper,
.stv-episode-comments .ccm-conversation-wrapper form {
    width: 100%;
}

.stv-episode-comments .ccm-conversation-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stv-episode-comments .ccm-conversation-wrapper textarea,
.stv-episode-comments .ccm-conversation-wrapper textarea.form-control,
.stv-episode-comments .ccm-conversation-wrapper .form-control[type="text"],
.stv-episode-comments .ccm-conversation-wrapper input[type="text"] {
    width: 100%;
    border: 2px solid #b8d8b0 !important;
    border-radius: 16px !important;
    padding: 14px 16px !important;
    font-size: 1rem !important;
    line-height: 1.5;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
}

.stv-episode-comments .ccm-conversation-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.stv-episode-comments .ccm-conversation-wrapper textarea:focus,
.stv-episode-comments .ccm-conversation-wrapper textarea.form-control:focus,
.stv-episode-comments .ccm-conversation-wrapper .form-control[type="text"]:focus,
.stv-episode-comments .ccm-conversation-wrapper input[type="text"]:focus,
.stv-episode-comments .ccm-conversation-wrapper *:focus-visible {
    border-color: #2f9b39 !important;
    box-shadow: 0 0 0 4px rgba(47, 155, 57, 0.18) !important;
    outline: none !important;
}

.stv-episode-comments .ccm-conversation-wrapper button.btn-submit,
.stv-episode-comments .ccm-conversation-wrapper input.btn-submit,
.stv-episode-comments .ccm-conversation-wrapper .btn.btn-submit {
    align-self: flex-end;
    min-width: 170px;
    padding: 13px 22px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(160deg, #53c84c 0%, #2d9838 55%, #12692f 100%) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
    box-shadow: 0 12px 22px rgba(24, 88, 31, 0.20);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.stv-episode-comments .ccm-conversation-wrapper button.btn-submit:hover,
.stv-episode-comments .ccm-conversation-wrapper input.btn-submit:hover,
.stv-episode-comments .ccm-conversation-wrapper .btn.btn-submit:hover,
.stv-episode-comments .ccm-conversation-wrapper button.btn-submit:focus,
.stv-episode-comments .ccm-conversation-wrapper input.btn-submit:focus,
.stv-episode-comments .ccm-conversation-wrapper .btn.btn-submit:focus {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 14px 24px rgba(24, 88, 31, 0.24);
    outline: none !important;
}

.stv-episode-comments .ccm-conversation-wrapper .btn,
.stv-episode-comments .ccm-conversation-wrapper button,
.stv-episode-comments .ccm-conversation-wrapper input[type="submit"] {
    text-transform: none;
}

/* THIRD */
.stv-episode-third {
    grid-area: third;
    grid-column: 1 / -1;
    z-index: 2;
    width: var(--stv-stage-width);
    margin-top: 0;
    margin-left: calc(-1 * var(--stv-stage-padding));
}

.stv-episode-third .stv-green-panel {
    width: 100%;
    padding: 18px 18px 20px;
    border-radius: 26px;
    overflow: hidden;
}

.stv-episode-third .stv-section-title {
    margin-bottom: 0;
}

/* SIDEBAR */
.stv-episode-sidebar {
    grid-area: sidebar;
    width: calc(100% + 34px);
    z-index: 1;
    margin-top: -40px;
    margin-left: -34px;
    padding: 182px 18px 26px 78px;
    box-sizing: border-box;
    overflow: visible;
    background: transparent;
    border-radius: 30px;
    box-shadow: none;
}

.stv-episode-sidebar::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: calc(-1 * var(--stv-sidebar-tail-height));
    left: -45px;
    right: 0;
    border-radius: 30px;
    background: linear-gradient(160deg, #2f9c37 0%, #1c782b 34%, #0d5320 68%, #063716 100%);
    box-shadow: 0 22px 40px rgba(16, 44, 16, 0.18);
    z-index: 1;
    pointer-events: none;
}

/* Inhalt der Seitenleiste 20px weiter nach unten, Hintergrund bleibt */
.stv-sidebar-stack {
    position: relative;
    z-index: 2;
    top: -50px;
}

.stv-episode-sidebar > .stv-section-title,
.stv-episode-sidebar > .stv-sidebar-grid,
.stv-episode-sidebar > .stv-edit-area {
    position: relative;
    z-index: 2;
    top: -70px;
}

.stv-episode-sidebar > .stv-section-title {
    margin-bottom: 20px;
    padding-left: 6px;
}

.stv-episode-sidebar > .stv-section-title::before {
    content: "";
    position: absolute;
    left: 6px;
    right: 12px;
    top: -18px;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
}

/* Seitenleiste kompakter und hochwertiger */
.stv-sidebar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 6px;
}

.stv-sidebar-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding: 12px 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.stv-sidebar-card:last-child {
    border-bottom: 0;
    padding-bottom: 10px;
}

.stv-sidebar-card--featured {
    padding-top: 42px;
}

.stv-sidebar-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: linear-gradient(155deg, var(--stv-lime-1) 0%, var(--stv-lime-2) 58%, var(--stv-lime-3) 100%);
    color: #233214;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.76rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 10px 18px rgba(70, 98, 21, 0.22);
}

.stv-sidebar-card__image {
    width: 100%;
    max-width: 214px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--stv-shadow-card-soft);
}

.stv-sidebar-card__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.stv-sidebar-card__content {
    display: block;
    max-width: 214px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.stv-sidebar-card__title {
    margin: 0 0 1px;
    font-size: 0.84rem;
    line-height: 1.16;
    font-weight: 600;
    color: #ffffff;
}

.stv-sidebar-card__date {
    margin-top: 0;
    font-size: 0.72rem;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.88);
}

.stv-sidebar-more-link {
    position: relative;
    z-index: 2;
    margin: 14px 0 0;
    padding-left: 6px;
}

.stv-sidebar-more-link a {
    color: #ffffff;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.86rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.stv-sidebar-more-link a:hover,
.stv-sidebar-more-link a:focus {
    text-decoration: underline;
}

/* Standard grüne Panels */
.stv-green-panel {
    position: relative;
    padding: 18px;
    border-radius: var(--stv-radius-xl);
    background: linear-gradient(155deg, #79de64 0%, #52c34a 36%, #2c9738 72%, #11662d 100%);
    box-shadow: 0 16px 28px rgba(24, 55, 20, 0.10);
    overflow: visible;
}

.stv-section-title {
    margin: 0 0 14px;
    font-size: 1.16rem;
    line-height: 1.08;
    font-weight: 600;
    color: #111111;
}

.stv-section-title--light {
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.stv-third-editor-area {
    position: relative;
    z-index: 2;
    margin-bottom: 14px;
}

/* Slider */
.stv-slider-header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.stv-slider-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stv-slider-button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 247, 237, 0.98) 100%);
    color: #1f4d21;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(24, 55, 20, 0.16);
}

.stv-slider-button:hover,
.stv-slider-button:focus {
    transform: translateY(-1px);
}

.stv-third-slider-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-left: 0;
    overflow: hidden;
}

.stv-third-slider-wrap::before,
.stv-third-slider-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 6px;
    width: 48px;
    pointer-events: none;
    z-index: 3;
}

.stv-third-slider-wrap::before {
    left: 0;
    background: linear-gradient(90deg, rgba(25, 95, 33, 0.92) 0%, rgba(25, 95, 33, 0) 100%);
}

.stv-third-slider-wrap::after {
    right: 0;
    background: linear-gradient(270deg, rgba(25, 95, 33, 0.92) 0%, rgba(25, 95, 33, 0) 100%);
}

.stv-third-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 210px;
    gap: 14px;
    overflow-x: auto;
    padding: 0 8px 6px 0;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.stv-third-slider::-webkit-scrollbar {
    display: none;
}

.stv-third-slide {
    scroll-snap-align: start;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdf9 100%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--stv-shadow-card);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stv-third-slide:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 24px rgba(15, 36, 12, 0.12);
}

.stv-third-slide__image {
    position: relative;
}

.stv-third-slide__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.stv-third-slide__image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(160deg, #1d6f2e 0%, #145826 42%, #072f15 100%);
}

.stv-third-slide__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: linear-gradient(155deg, var(--stv-lime-1) 0%, var(--stv-lime-2) 58%, var(--stv-lime-3) 100%);
    color: #233214;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.76rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 10px 18px rgba(70, 98, 21, 0.22);
    pointer-events: none;
}

.stv-third-slide__content {
    padding: 12px 12px 10px;
}

.stv-third-slide__title {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.16;
    font-weight: 600;
    color: #111111;
    min-height: 3.28em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stv-third-slide__date {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.78rem;
    line-height: 1.2;
    color: var(--stv-text-soft);
}

.stv-third-slide__text {
    display: none !important;
}

.stv-edit-area {
    margin-top: 16px;
}

/* Werbeflächen */
@media (min-width: 1080px) {
    .stv-episode-layout > .stv-episode-main .stv-episode-video::before,
    .stv-episode-layout > .stv-episode-main .stv-episode-video::after {
        content: "Werbefläche";
        position: absolute;
        top: 86px;
        width: 190px;
        height: 680px;
        border: 3px dashed rgba(44, 127, 43, 0.55);
        border-radius: 30px;
        color: rgba(43, 111, 40, 0.75);
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 26px;
        box-sizing: border-box;
        font-family: 'Poppins', Arial, sans-serif;
        font-size: 1rem;
        font-weight: 600;
        background: #ffffff;
        box-shadow: 0 8px 20px rgba(48, 87, 36, 0.04);
        z-index: -1;
    }

    .stv-episode-layout > .stv-episode-main .stv-episode-video::before {
        right: calc(100% + 28px);
    }

    .stv-episode-layout > .stv-episode-main .stv-episode-video::after {
        left: calc(100% + 330px);
    }
}

/* =========================
   TABLET
========================= */

@media (max-width: 1079px) {
    .stv-episode-share,
    .stv-episode-main,
    .stv-episode-comments,
    .stv-episode-third,
    .stv-episode-sidebar {
        transform: none !important;
    }

    .stv-episode-layout::before {
        display: none !important;
    }

    .stv-episode-layout {
        width: min(100% - 28px, 100%);
        min-width: 0;
        max-width: none;
        margin: 20px auto 28px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "main"
            "share"
            "comments"
            "third"
            "sidebar";
        gap: 20px;
        --stv-sidebar-tail-height: 0px;
    }

    .stv-episode-layout > .stv-episode-main .stv-episode-video::before,
    .stv-episode-layout > .stv-episode-main .stv-episode-video::after,
    .stv-third-slider-wrap::before,
    .stv-third-slider-wrap::after {
        display: none;
    }

    .stv-episode-top-banner {
        display: none !important;
    }

    .stv-episode-top-banner-mobile {
        display: block;
        margin: 0;
    }

    .stv-episode-top-banner-mobile__inner {
        border-radius: 18px;
    }

    .stv-episode-hero,
    .stv-episode-share,
    .stv-episode-main,
    .stv-episode-comments,
    .stv-episode-third,
    .stv-episode-sidebar,
    .stv-episode-video {
        margin: 0;
        width: 100%;
        max-width: none;
    }

    .stv-episode-main {
        overflow: visible;
    }

    .stv-episode-main-content {
        width: 100%;
        margin-left: 0;
        padding: 14px;
        background: linear-gradient(160deg, #53c84a 0%, #34a63a 36%, #1f842f 68%, #11662a 100%);
    }

    .stv-episode-main-content p,
    .stv-episode-main-content li {
        max-width: none;
    }

    .stv-episode-main-content p {
        font-size: 1rem;
        line-height: 1.58;
        font-weight: 400;
    }

    .stv-main-gallery__body {
        gap: 10px;
    }

    .stv-episode-share {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .stv-share-stack {
        display: none;
    }

    .stv-share-panel {
        padding: 12px 14px 14px;
    }

    .stv-favorite-panel--mobile .stv-favorite-button {
        width: auto;
        max-width: none;
        white-space: nowrap;
    }

    .stv-episode-comments {
        width: 100%;
        margin-left: 0;
    }

    .stv-comments-panel {
        padding: 18px 18px 16px;
    }

    .stv-episode-third {
        width: 100%;
        margin-left: 0;
        grid-column: auto;
    }

    .stv-episode-third .stv-green-panel {
        width: 100%;
        padding: 16px;
    }

    .stv-episode-sidebar {
        padding: 18px;
        width: 100%;
        margin: 0;
        background: linear-gradient(160deg, #2e9634 0%, #1b7329 34%, #0d5220 68%, #063717 100%);
        box-shadow: 0 22px 40px rgba(16, 44, 16, 0.18);
    }

    .stv-episode-sidebar::before {
        display: none;
    }

    .stv-sidebar-stack {
        top: 0;
    }

    .stv-episode-sidebar > .stv-section-title,
    .stv-episode-sidebar > .stv-sidebar-grid,
    .stv-episode-sidebar > .stv-edit-area {
        top: 0;
    }

    .stv-episode-sidebar > .stv-section-title::before {
        display: none;
    }

    .stv-sidebar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        padding-left: 0;
    }

    .stv-sidebar-card {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .stv-sidebar-card__image,
    .stv-sidebar-card__content {
        width: 100%;
        max-width: none;
    }

    .stv-sidebar-more-link {
        padding-left: 0;
    }

    .stv-third-slider-wrap {
        width: 100%;
        margin-left: 0;
    }

    .stv-third-slider {
        grid-auto-columns: minmax(240px, 72%);
        padding-left: 0;
        gap: 12px;
    }

    .stv-template-link-box,
    .stv-episode-main-content .stv-cta-box {
        margin-left: 0;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 589px) {
    .stv-episode-layout {
        width: min(100% - 18px, 100%);
        margin: 14px auto 22px;
        padding: 0;
        background: transparent;
        gap: 16px;
        grid-template-areas:
            "hero"
            "topbanner"
            "main"
            "share"
            "comments"
            "third"
            "sidebar";
    }

    .stv-episode-hero-card {
        min-height: 0;
        padding: 14px 18px 16px;
    }

    .stv-episode-top-banner-mobile {
        grid-area: topbanner;
        margin: 0;
    }

    .stv-episode-hero-card,
    .stv-share-panel,
    .stv-episode-video,
    .stv-episode-main-content,
    .stv-episode-sidebar,
    .stv-green-panel,
    .stv-main-gallery__body,
    .stv-comments-panel,
    .stv-third-slide {
        border-radius: 18px;
    }

    .stv-episode-title {
        font-size: clamp(1.45rem, 5.5vw, 1.95rem);
        line-height: 1.04;
    }

    .stv-episode-meta {
        font-size: 0.9rem;
    }

    .stv-episode-main-content {
        padding: 14px;
    }

    .stv-episode-main-content p,
    .stv-episode-main-content li {
        max-width: none;
    }

    .stv-episode-main-content p {
        font-size: 1rem;
        line-height: 1.56;
        font-weight: 400;
    }

    .stv-template-link-box,
    .stv-episode-main-content .stv-cta-box {
        padding: 10px 12px;
        border-radius: 8px;
    }

    .stv-section-title {
        font-size: 1.08rem;
    }

    .stv-main-gallery__title {
        font-size: 1.04rem;
    }

    .stv-slider-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .stv-slider-controls {
        align-self: flex-end;
    }

    .stv-third-slider {
        grid-auto-columns: 84%;
        gap: 12px;
    }

    .stv-sidebar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding-left: 0;
    }

    .stv-sidebar-card__title {
        font-size: 0.88rem;
    }

    .stv-sidebar-card__date {
        font-size: 0.74rem;
    }

    .stv-favorite-panel--mobile .stv-favorite-button {
        width: 100%;
        max-width: none;
        min-height: 40px;
        padding: 10px 14px;
        font-size: 0.88rem;
        white-space: normal;
        border-radius: 14px;
    }
}

@media (max-width: 589px) and (orientation: portrait) {
    .stv-main-gallery__body,
    .stv-main-gallery__body > div,
    .stv-main-gallery__body > ul,
    .stv-main-gallery__body > ol,
    .stv-main-gallery__body .simple-gallery,
    .stv-main-gallery__body .simple-gallery-list,
    .stv-main-gallery__body .simple-gallery-images,
    .stv-main-gallery__body .gallery {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .stv-main-gallery__body > div,
    .stv-main-gallery__body > ul,
    .stv-main-gallery__body > ol,
    .stv-main-gallery__body .simple-gallery,
    .stv-main-gallery__body .simple-gallery-list,
    .stv-main-gallery__body .simple-gallery-images,
    .stv-main-gallery__body .gallery {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .stv-main-gallery__body li,
    .stv-main-gallery__body figure,
    .stv-main-gallery__body .simple-gallery-item,
    .stv-main-gallery__body .gallery-item,
    .stv-main-gallery__body .thumbnail {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: none !important;
    }

    .stv-main-gallery__body a,
    .stv-main-gallery__body img {
        width: 100% !important;
        max-width: none !important;
    }
}

/* =========================
   MOBILE HOCHFORMAT: FAVORITEN-ICON NEBEN SENDUNG TEILEN
========================= */
.stv-favorite-button--mobile-icon {
    display: none;
}

@media (max-width: 599px) {
    .stv-share-panel--mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 12px 13px 14px;
        border-radius: 16px;
    }

    .stv-share-panel--mobile .stv-share-panel__mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    .stv-share-panel--mobile .stv-share-panel__mobile-header .stv-section-title {
        margin: 0;
        font-size: 1rem;
        line-height: 1.08;
        white-space: nowrap;
    }

    .stv-share-panel--mobile .stv-share-panel__mobile-body {
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid rgba(77, 105, 29, 0.16);
    }

    .stv-share-panel--mobile > *:not(.stv-share-panel__mobile-header):not(.stv-share-panel__mobile-body) {
        width: auto;
        min-width: 0;
        padding-top: 0;
        border-top: 0;
    }

    .stv-share-panel--mobile .a2a_kit {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center;
        justify-content: flex-start;
        gap: 8px 10px;
        width: 100%;
        white-space: normal;
        overflow: visible;
    }

    .stv-share-panel--mobile .a2a_kit a,
    .stv-share-panel--mobile .a2a_kit span {
        float: none !important;
        flex: 0 0 auto;
        margin: 0 !important;
    }

    .stv-favorite-button--mobile-icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border: 0;
        border-radius: 14px;
        background: linear-gradient(160deg, #1f8f3b 0%, #0f6e2f 56%, #084b20 100%);
        box-shadow: 0 10px 18px rgba(10, 69, 30, 0.22);
        color: transparent !important;
        font-size: 0 !important;
        line-height: 0;
        text-indent: -9999px;
        overflow: hidden;
        white-space: nowrap;
    }

    .stv-favorite-button--mobile-icon::before {
        content: '+';
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 1.9rem;
        line-height: 1;
        font-weight: 700;
        text-indent: 0;
    }

    .stv-favorite-button--mobile-icon.is-active::before {
        content: '✓';
        font-size: 1.45rem;
    }

    .stv-favorite-button--mobile-icon:hover,
    .stv-favorite-button--mobile-icon:focus {
        transform: none;
        box-shadow: 0 10px 18px rgba(10, 69, 30, 0.22);
    }

    .stv-favorite-panel--mobile {
        display: none !important;
    }
}

/* =========================
   WEB-ANSICHT: AD-KORREKTUR
   - stk_tv_block: 757px, linksbuendig ueber dem Slider
   - unter dem Slider genau ein Slot: stk_tv_bottom, 1080px, mittig
========================= */
@media (min-width: 1080px) {
    .stv-episode-main-block-ad {
        margin-left: -19px !important;
    }

    .stv-episode-slider-ad {
        width: 757px !important;
        min-width: 757px !important;
        max-width: 757px !important;
        margin: 0 0 8px 0 !important;
        justify-self: start !important;
        align-self: start !important;
    }

    .stv-episode-slider-ad .stv-google-slot,
    .stv-episode-slider-ad .stv-google-slot__inner,
    .stv-episode-slider-ad .adsbygoogle,
    .stv-episode-slider-ad ins.adsbygoogle {
        width: 757px !important;
        min-width: 757px !important;
        max-width: 757px !important;
    }

    .stv-episode-bottom-ad {
        grid-column: 1 / -1 !important;
        width: 1080px !important;
        min-width: 1080px !important;
        max-width: 1080px !important;
        margin: 16px auto 0 !important;
        justify-self: center !important;
        align-self: start !important;
    }

    .stv-episode-bottom-ad__inner,
    .stv-episode-bottom-ad .stv-google-slot,
    .stv-episode-bottom-ad .stv-google-slot__inner,
    .stv-episode-bottom-ad .adsbygoogle,
    .stv-episode-bottom-ad ins.adsbygoogle {
        width: 1080px !important;
        min-width: 1080px !important;
        max-width: 1080px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* =========================
   WEB-ANSICHT: STICKY-BANNER HINTER FOOTER
   - nur grosse Web-Ansicht mit seitlichen Sticky-Bannern
   - Footer liegt optisch ueber den fixed Bannern
========================= */
@media (min-width: 1420px) {
    .stv-episode-desktop-sticky-ad {
        z-index: 10 !important;
    }

    .site-footer.stv-site-footer {
        position: relative;
        z-index: 40;
    }
}

/* =========================
   MOBILE HOCHFORMAT: FAVORITEN-SCHRIFTBUTTON + DUNKLER HAUPTBLOCK
   - nur Mobil Hochformat
   - blendet den schriftlichen Favoriten-Button wieder ein
   - Hauptblock dunkler fuer bessere Lesbarkeit
========================= */
@media (max-width: 589px) and (orientation: portrait) {
    .stv-episode-main-content {
        background: linear-gradient(160deg, #1d6f2e 0%, #145826 36%, #0d441e 68%, #072f15 100%);
    }

    .stv-favorite-button--mobile-icon {
        display: none !important;
    }

    .stv-favorite-panel--mobile {
        display: block !important;
        margin-top: 12px;
    }

    .stv-favorite-panel--mobile .stv-favorite-button {
        width: 100%;
        max-width: none;
        min-height: 40px;
        padding: 10px 14px;
        font-size: 0.88rem;
        white-space: normal;
        border-radius: 14px;
        background: linear-gradient(160deg, #1f8f3b 0%, #0f6e2f 56%, #084b20 100%);
        color: #ffffff;
        border-color: rgba(11, 107, 58, 0.26);
        box-shadow: 0 10px 18px rgba(10, 69, 30, 0.22);
    }

    .stv-favorite-panel--mobile .stv-favorite-button.is-active {
        background: linear-gradient(160deg, #1f8f3b 0%, #0f6e2f 56%, #084b20 100%);
        color: #ffffff;
        border-color: rgba(11, 107, 58, 0.26);
    }
}

/* =========================
   MOBILE HOCHFORMAT: FAVORITEN-SCHRIFTBUTTON + DUNKLER HAUPTBLOCK
   - nur Mobil Hochformat
   - blendet den schriftlichen Favoriten-Button wieder ein
   - Hauptblock dunkler fuer bessere Lesbarkeit
========================= */
@media (max-width: 589px) and (orientation: portrait) {
    .stv-episode-main-content {
        background: linear-gradient(160deg, #1d6f2e 0%, #145826 36%, #0d441e 68%, #072f15 100%);
    }

    .stv-favorite-button--mobile-icon {
        display: none !important;
    }

    .stv-favorite-panel--mobile {
        display: block !important;
        margin-top: 12px;
    }

    .stv-favorite-panel--mobile .stv-favorite-button {
        width: 100%;
        max-width: none;
        min-height: 40px;
        padding: 10px 14px;
        font-size: 0.88rem;
        white-space: normal;
        border-radius: 14px;
        background: linear-gradient(160deg, #1f8f3b 0%, #0f6e2f 56%, #084b20 100%);
        color: #ffffff;
        border-color: rgba(11, 107, 58, 0.26);
        box-shadow: 0 10px 18px rgba(10, 69, 30, 0.22);
    }

    .stv-favorite-panel--mobile .stv-favorite-button.is-active {
        background: linear-gradient(160deg, #1f8f3b 0%, #0f6e2f 56%, #084b20 100%);
        color: #ffffff;
        border-color: rgba(11, 107, 58, 0.26);
    }
}

/* =========================
   MOBILE HOCHFORMAT: FAVORITEN-BUTTON UEBERLAPPEND RECHTS
   - nur Mobil Hochformat
   - Favoriten-Button deutlich ueber dem Bereich "Sendung teilen"
   - schmaeler und hoeher, Text darf zweizeilig sein
========================= */
@media (max-width: 589px) and (orientation: portrait) {
    .stv-mobile-actions {
        position: relative;
    }

    .stv-mobile-actions__favorite {
        position: relative;
        z-index: 8;
        width: 46%;
        margin: -112px 0 10px auto;
    }

    .stv-favorite-panel--mobile {
        display: block !important;
        margin-top: 0;
    }

    .stv-favorite-panel--mobile .stv-favorite-button {
        width: 100%;
        max-width: none;
        min-height: 64px;
        padding: 12px 10px;
        font-size: 0.82rem;
        line-height: 1.18;
        white-space: normal;
        text-align: center;
        border-radius: 16px;
        word-break: normal;
        overflow-wrap: break-word;
    }
}

.stv-episode-mobile-bottom-google-ad {
    display: none;
}

.stv-episode-mobile-bottom-google-ad__inner {
    width: 100%;
}


.stv-episode-comments-mobile-google-ad {
    display: none;
}

.stv-episode-comments-mobile-google-ad__inner {
    width: 100%;
}

.stv-episode-third-mobile-google-ad {
    display: none;
}

.stv-episode-third-mobile-google-ad__inner {
    width: 100%;
}

/* =========================
   MOBILE HOCHFORMAT: LEERE BANNER-SLOTS AUSBLENDEN
   - Composer-Banner zwischen Hero und Video nur bei is-ready
   - Revive-Banner unter dem Video nur bei is-ready
   - ohne Banner kein Leerraum und kein Label "Werbung"
========================= */
@media (max-width: 589px) and (orientation: portrait) {
    .stv-episode-layout {
        grid-template-areas:
            "hero"
            "main"
            "share"
            "comments"
            "third"
            "sidebar";
    }

    .stv-episode-layout:has(.stv-episode-top-banner-mobile.is-ready) {
        grid-template-areas:
            "hero"
            "topbanner"
            "main"
            "share"
            "comments"
            "third"
            "sidebar";
    }

    .stv-episode-top-banner-mobile {
        display: none !important;
        margin: 0 !important;
    }

    .stv-episode-top-banner-mobile.is-ready {
        display: block !important;
        grid-area: topbanner;
        margin: 0 !important;
    }

    .stv-below-video-ad-panel {
        display: none !important;
        margin-top: 0 !important;
    }

    .stv-below-video-ad-panel.is-ready {
        display: block !important;
        margin-top: 5px !important;
    }
}


/* =========================
   MOBILE HOCHFORMAT: GOOGLE-WERBUNG AUSBLENDEN
   - nur Google-Werbung
   - nur Mobil Hochformat
   - Revive und manuelle Banner bleiben unberuehrt
========================= */
@media (max-width: 589px) and (orientation: portrait) {
    .stv-episode-desktop-sticky-ad,
    .stv-episode-main-block-ad,
    .stv-episode-slider-ad,
    .stv-episode-bottom-ad,
    .stv-sidebar-ad-slot,
    .stv-episode-google-block {
        display: none !important;
    }

    .stv-episode-comments-mobile-google-ad,
    .stv-episode-third-mobile-google-ad,
    .stv-episode-mobile-bottom-google-ad {
        display: none !important;
        width: min(100% - 18px, 100%);
        margin-left: auto;
        margin-right: auto;
    }

    .stv-episode-comments-mobile-google-ad--above {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .stv-episode-comments-mobile-google-ad--below {
        margin-top: 12px;
        margin-bottom: 0;
    }

    .stv-episode-third-mobile-google-ad {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .stv-episode-comments-mobile-google-ad.is-ready,
    .stv-episode-third-mobile-google-ad.is-ready,
    .stv-episode-mobile-bottom-google-ad.is-ready {
        display: block !important;
    }

    .stv-episode-comments-mobile-google-ad__inner,
    .stv-episode-comments-mobile-google-ad .stv-google-slot,
    .stv-episode-comments-mobile-google-ad .stv-google-slot__inner,
    .stv-episode-comments-mobile-google-ad .stv-google-ad-slot,
    .stv-episode-comments-mobile-google-ad .stv-google-ad-slot__inner,
    .stv-episode-comments-mobile-google-ad .adsbygoogle,
    .stv-episode-comments-mobile-google-ad ins.adsbygoogle,
    .stv-episode-third-mobile-google-ad__inner,
    .stv-episode-third-mobile-google-ad .stv-google-slot,
    .stv-episode-third-mobile-google-ad .stv-google-slot__inner,
    .stv-episode-third-mobile-google-ad .stv-google-ad-slot,
    .stv-episode-third-mobile-google-ad .stv-google-ad-slot__inner,
    .stv-episode-third-mobile-google-ad .adsbygoogle,
    .stv-episode-third-mobile-google-ad ins.adsbygoogle,
    .stv-episode-mobile-bottom-google-ad__inner,
    .stv-episode-mobile-bottom-google-ad .stv-google-slot,
    .stv-episode-mobile-bottom-google-ad .stv-google-slot__inner,
    .stv-episode-mobile-bottom-google-ad .stv-google-ad-slot,
    .stv-episode-mobile-bottom-google-ad .stv-google-ad-slot__inner,
    .stv-episode-mobile-bottom-google-ad .adsbygoogle,
    .stv-episode-mobile-bottom-google-ad ins.adsbygoogle {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================
   WEB-ANSICHT: LEEREN REVIVE-BANNER UNTER VIDEO AUSBLENDEN
   - nur Web-Ansicht
   - ohne ausgelieferten Banner kein Label und kein Abstand
========================= */
@media (min-width: 1080px) {
    .stv-below-video-ad-panel:not(.is-ready) {
        display: block !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    .stv-below-video-ad-panel:not(.is-ready) > .stv-below-video-ad-panel__label {
        display: none !important;
    }
}

/* =========================
   WEB-ANSICHT: SPALT ZWISCHEN VIDEO UND HAUPTBLOCK SCHLIESSEN
   - nur Web-Ansicht
   - kompensiert Rundungsfehler in Safari und Firefox
   - Hauptblock ueberlappt Video/Banner um 10px
========================= */
@media (min-width: 1080px) {
    .stv-episode-main-content {
        margin-top: 0;
    }
}

/* =========================

/* =========================
   ALLE ANSICHTEN: KOMMENTARE-UEBERSCHRIFT GROESSER
   - nur die eigentliche Ueberschrift "KOMMENTARE"
   - nicht die Zeile mit der Kommentaranzahl, z. B. "3 Kommentare"
   - gleicher Stil wie Seitentitel, aber kein h1
========================= */
.stv-episode-comments .stv-conversation-comments-title,
.stv-comments-panel__title {
    font-family: 'Poppins', Arial, sans-serif !important;
    font-size: clamp(1.62rem, 2.05vw, 2.4rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.03em !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin: 0 0 14px !important;
}

@media (max-width: 589px) and (orientation: portrait) {
    .stv-episode-comments .stv-conversation-comments-title,
    .stv-comments-panel__title {
        font-size: clamp(1.45rem, 5.5vw, 1.95rem) !important;
        line-height: 1.04 !important;
    }
}

/* =========================
   KLEINER MONITOR / TABLET QUER: WEB-LAYOUT NACH LINKS + RECHTER STICKY-BANNER
   - 1080px bis 1419px: 1080px-Weblayout bleibt erhalten, wird aber nach links gerueckt
   - ab 1200px bleibt rechts genug Platz fuer den rechten Sticky-Banner
   - linker Sticky-Banner bleibt in dieser Zwischenansicht ausgeblendet
========================= */
@media (min-width: 1080px) and (max-width: 1419px) {
    .stv-episode-layout {
        margin-left: max(16px, calc(((100vw - var(--stv-stage-width)) / 2) - 88px));
        margin-right: auto;
    }
}

/* =========================
   KLEINER MONITOR / TABLET QUER: STICKY-BANNER HINTER FOOTER
   - nur Zwischenansicht mit rechtem Sticky-Banner
   - Footer liegt optisch ueber dem fixed Banner
========================= */
@media (min-width: 1200px) and (max-width: 1419px) {
    .site-footer.stv-site-footer {
        position: relative;
        z-index: 40;
    }
}

/* =========================
   TABLET HOCHFORMAT / MOBIL QUERFORMAT: ZWEISPALTIGER ENTWURF
   - nur 590px bis 1079px
   - Mobil Hochformat bis 589px bleibt unveraendert
   - Kleiner Monitor/Web ab 1080px bleibt unveraendert
   - Seitenleiste bleibt rechts sichtbar
   - Aktionen stehen unter Video/Revive nebeneinander
========================= */
@media (min-width: 590px) and (max-width: 1079px) {
    .stv-episode-layout {
        width: min(100% - 24px, 1040px) !important;
        min-width: 0 !important;
        max-width: 1040px !important;
        margin: 18px auto 28px !important;
        padding: 12px !important;
        background: #ffffff !important;
        border-radius: 24px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) clamp(172px, 29vw, 260px) !important;
        grid-template-areas:
            "hero hero"
            "main sidebar"
            "comments sidebar"
            "third third" !important;
        column-gap: clamp(12px, 2vw, 18px) !important;
        row-gap: 10px !important;
        align-items: start !important;
        overflow: visible !important;
        --stv-sidebar-tail-height: 0px;
    }

    .stv-episode-layout:has(.stv-episode-top-banner-mobile.is-ready) {
        grid-template-areas:
            "hero hero"
            "topbanner sidebar"
            "main sidebar"
            "comments sidebar"
            "third third" !important;
    }

    .stv-episode-share {
        display: none !important;
    }

    .stv-episode-hero,
    .stv-episode-top-banner-mobile,
    .stv-episode-main,
    .stv-episode-comments,
    .stv-episode-third,
    .stv-episode-sidebar {
        transform: none !important;
        margin: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .stv-episode-hero {
        grid-area: hero !important;
        width: 100% !important;
    }

    .stv-episode-hero-card {
        min-height: 0 !important;
        padding: 14px 18px 16px !important;
        border-radius: 20px !important;
    }

    .stv-episode-top-banner-mobile {
        grid-area: topbanner !important;
        grid-column: auto !important;
        align-self: start !important;
        display: none !important;
        width: 100% !important;
        margin: 0 !important;
        z-index: 7 !important;
    }

    .stv-episode-top-banner-mobile.is-ready {
        display: block !important;
    }

    .stv-episode-top-banner-mobile__inner {
        width: 100% !important;
        max-width: none !important;
        height: clamp(72px, 8.8vw, 92px) !important;
        max-height: clamp(72px, 8.8vw, 92px) !important;
        border-radius: 18px !important;
        line-height: 0 !important;
        overflow: hidden !important;
    }

    .stv-episode-top-banner-mobile .stv-mobile-manual-banner,
    .stv-episode-top-banner-mobile .stv-mobile-manual-banner a,
    .stv-episode-top-banner-mobile .stv-mobile-manual-banner img {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
    }

    .stv-episode-top-banner-mobile .stv-mobile-manual-banner img {
        height: clamp(72px, 8.8vw, 92px) !important;
        object-fit: cover !important;
    }


    .stv-episode-main {
        grid-area: main !important;
        width: 100% !important;
        overflow: visible !important;
        margin-top: 0 !important;
    }

    .stv-episode-video {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        border-radius: 20px !important;
    }

    .stv-below-video-ad-panel {
        width: 100% !important;
        max-width: none !important;
        margin: 6px 0 0 !important;
    }

    .stv-below-video-ad-panel:not(.is-ready) {
        display: block !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    .stv-below-video-ad-panel:not(.is-ready) > .stv-below-video-ad-panel__label {
        display: none !important;
    }

    .stv-below-video-ad-panel__body,
    .stv-below-video-ad-panel .stv-revive-slot,
    .stv-below-video-ad-panel .stv-revive-slot__inner,
    .stv-below-video-ad-panel iframe,
    .stv-below-video-ad-panel img,
    .stv-below-video-ad-panel object,
    .stv-below-video-ad-panel embed {
        width: 100% !important;
        max-width: none !important;
    }

    .stv-mobile-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(176px, 0.62fr) !important;
        gap: 12px !important;
        align-items: stretch !important;
        margin: 14px 0 0 !important;
    }

    .stv-mobile-actions__share,
    .stv-mobile-actions__favorite,
    .stv-share-panel--mobile,
    .stv-favorite-panel--mobile {
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .stv-share-panel--mobile {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        height: 100% !important;
        padding: 12px 14px 14px !important;
        border-radius: 18px !important;
    }

    .stv-share-panel--mobile .stv-section-title {
        margin: 0 !important;
        font-size: 0.98rem !important;
        line-height: 1.08 !important;
        white-space: nowrap !important;
    }

    .stv-share-panel--mobile .a2a_kit {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px 10px !important;
        width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .stv-favorite-panel--mobile {
        display: flex !important;
        height: 100% !important;
        align-items: stretch !important;
    }

    .stv-favorite-panel--mobile .stv-favorite-button {
        width: 100% !important;
        max-width: none !important;
        min-height: 100% !important;
        padding: 12px 14px !important;
        border-radius: 18px !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.18 !important;
        background: linear-gradient(160deg, #1f8f3b 0%, #0f6e2f 56%, #084b20 100%) !important;
        color: #ffffff !important;
        border-color: rgba(11, 107, 58, 0.26) !important;
        box-shadow: 0 10px 18px rgba(10, 69, 30, 0.22) !important;
    }

    .stv-episode-main-content {
        width: 85% !important;
        margin: 14px 0 0 auto !important;
        padding: 14px !important;
        border-radius: 18px !important;
        background: linear-gradient(160deg, #53c84a 0%, #34a63a 36%, #1f842f 68%, #11662a 100%) !important;
    }

    .stv-episode-main-content p,
    .stv-episode-main-content li {
        max-width: none !important;
    }

    .stv-template-link-box,
    .stv-episode-main-content .stv-cta-box {
        margin-left: -48px !important;
        width: calc(100% + 24px) !important;
        max-width: 560px !important;
    }

    .stv-episode-comments {
        grid-area: comments !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    .stv-comments-panel {
        padding: 18px 18px 16px !important;
        border-radius: 18px !important;
    }

    .stv-episode-sidebar {
        grid-area: sidebar !important;
        width: 100% !important;
        padding: 16px !important;
        border-radius: 22px !important;
        background: linear-gradient(160deg, #2e9634 0%, #1b7329 34%, #0d5220 68%, #063717 100%) !important;
        box-shadow: 0 22px 40px rgba(16, 44, 16, 0.18) !important;
    }

    .stv-episode-sidebar::before,
    .stv-episode-sidebar > .stv-section-title::before,
    .stv-episode-layout::before,
    .stv-episode-layout > .stv-episode-main .stv-episode-video::before,
    .stv-episode-layout > .stv-episode-main .stv-episode-video::after {
        display: none !important;
    }

    .stv-sidebar-stack,
    .stv-episode-sidebar > .stv-section-title,
    .stv-episode-sidebar > .stv-sidebar-grid,
    .stv-episode-sidebar > .stv-edit-area {
        top: 0 !important;
    }

    .stv-episode-sidebar > .stv-section-title {
        margin-bottom: 14px !important;
        padding-left: 0 !important;
    }

    .stv-sidebar-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding-left: 0 !important;
    }

    .stv-sidebar-card {
        grid-template-columns: 1fr !important;
        padding: 10px !important;
    }

    .stv-sidebar-card__image,
    .stv-sidebar-card__content {
        width: 100% !important;
        max-width: none !important;
    }

    .stv-sidebar-card__title {
        font-size: 0.82rem !important;
        line-height: 1.16 !important;
    }

    .stv-sidebar-card__date {
        font-size: 0.72rem !important;
    }

    .stv-sidebar-more-link {
        padding-left: 0 !important;
    }

    .stv-episode-third {
        grid-area: third !important;
        grid-column: 1 / -1 !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    .stv-episode-third .stv-green-panel {
        width: 100% !important;
        padding: 16px !important;
        border-radius: 20px !important;
    }

    .stv-third-slider-wrap {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .stv-third-slider {
        grid-auto-columns: minmax(220px, 34%) !important;
        gap: 12px !important;
        padding-left: 0 !important;
    }

    .stv-episode-comments-mobile-google-ad,
    .stv-episode-third-mobile-google-ad,
    .stv-episode-mobile-bottom-google-ad,
    .stv-episode-desktop-sticky-ads,
    .stv-episode-desktop-sticky-ad {
        display: none !important;
    }
}

/* =========================
   TABLET HOCHFORMAT / MOBIL QUERFORMAT: COMPOSER-BANNER OHNE GRID-LUECKE
   - nur 590px bis 1079px
   - verhindert, dass die Sidebar-Hoehe die Banner-Zeile aufzieht
   - Banner und Video liegen in derselben linken Grid-Zone, Video startet direkt darunter
========================= */
@media (min-width: 590px) and (max-width: 1079px) {
    .stv-episode-layout {
        grid-template-areas:
            "hero hero"
            "main sidebar"
            "comments sidebar"
            "third third" !important;
    }

    .stv-episode-layout:has(.stv-episode-top-banner-mobile.is-ready) {
        grid-template-areas:
            "hero hero"
            "main sidebar"
            "comments sidebar"
            "third third" !important;
    }

    .stv-episode-top-banner-mobile {
        grid-area: main !important;
        grid-column: 1 / 2 !important;
        grid-row: auto !important;
        align-self: start !important;
        justify-self: stretch !important;
        position: relative !important;
        z-index: 8 !important;
        display: none !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .stv-episode-top-banner-mobile.is-ready {
        display: block !important;
    }

    .stv-episode-layout:has(.stv-episode-top-banner-mobile.is-ready) .stv-episode-main {
        margin-top: calc(clamp(72px, 8.8vw, 92px) + 8px) !important;
    }
}

/* =========================
   TABLET HOCHFORMAT / MOBIL QUERFORMAT: FEINJUSTIERUNG BANNER, LINKS, KOMMENTARE
   - nur 590px bis 1079px
   - Composer-Banner in der reservierten Flaeche sichtbar halten
   - Linkboxen weiter nach links ziehen
   - Abstand zwischen Hauptblock und Kommentaren reduzieren
========================= */
@media (min-width: 590px) and (max-width: 1079px) {
    .stv-episode-top-banner-mobile {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 30 !important;
        display: none !important;
        width: 100% !important;
        height: clamp(72px, 8.8vw, 92px) !important;
        pointer-events: auto !important;
    }

    .stv-episode-top-banner-mobile.is-ready {
        display: block !important;
    }

    .stv-episode-top-banner-mobile__inner,
    .stv-episode-top-banner-mobile .stv-mobile-manual-banner,
    .stv-episode-top-banner-mobile .stv-mobile-manual-banner a,
    .stv-episode-top-banner-mobile .stv-mobile-manual-banner img {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: clamp(72px, 8.8vw, 92px) !important;
        max-height: clamp(72px, 8.8vw, 92px) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .stv-episode-top-banner-mobile .stv-mobile-manual-banner img {
        object-fit: cover !important;
    }

    .stv-template-link-box,
    .stv-episode-main-content .stv-cta-box {
        margin-left: -78px !important;
        width: calc(100% + 28px) !important;
        max-width: 560px !important;
    }

    .stv-episode-comments {
        margin-top: -24px !important;
    }
}

/* =========================
   TABLET HOCHFORMAT / MOBIL QUERFORMAT: BANNER, HAUPTBLOCK, KOMMENTARE FIX
   - nur 590px bis 1079px
   - Composer-Banner liegt im Hauptbereich unter dem Hero und ueber dem Video
   - Hauptblock dunkler
   - kein Abstand zwischen Hauptblock und Kommentaren
========================= */
.stv-episode-top-banner-tablet {
    display: none;
}

@media (min-width: 590px) and (max-width: 1079px) {
    .stv-episode-layout,
    .stv-episode-layout:has(.stv-episode-top-banner-mobile.is-ready) {
        grid-template-areas:
            "hero hero"
            "main sidebar"
            "comments sidebar"
            "third third" !important;
    }

    .stv-episode-top-banner-mobile {
        display: none !important;
        position: static !important;
        height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }

    .stv-episode-layout:has(.stv-episode-top-banner-mobile.is-ready) .stv-episode-main,
    .stv-episode-main {
        margin-top: 0 !important;
    }

    .stv-episode-top-banner-tablet {
        display: block !important;
        width: 100% !important;
        margin: 0 0 8px !important;
        padding: 0 !important;
        position: relative !important;
        z-index: 4 !important;
    }

    .stv-episode-top-banner-tablet__inner,
    .stv-episode-top-banner-tablet .stv-mobile-manual-banner,
    .stv-episode-top-banner-tablet .stv-mobile-manual-banner a,
    .stv-episode-top-banner-tablet .stv-mobile-manual-banner img {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
    }

    .stv-episode-top-banner-tablet__inner {
        height: clamp(72px, 8.8vw, 92px) !important;
        max-height: clamp(72px, 8.8vw, 92px) !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        line-height: 0 !important;
        box-shadow: var(--stv-shadow-card-soft) !important;
    }

    .stv-episode-top-banner-tablet .stv-mobile-manual-banner img {
        height: clamp(72px, 8.8vw, 92px) !important;
        object-fit: cover !important;
    }

    .stv-episode-main-content {
        background: linear-gradient(160deg, #1d6f2e 0%, #145826 36%, #0d441e 68%, #072f15 100%) !important;
    }

    .stv-episode-comments {
        margin-top: -10px !important;
    }
}

/* =========================
   TABLET HOCHFORMAT / MOBIL QUERFORMAT: ABSTAND HAUPTBLOCK ZU KOMMENTAREN ENTFERNEN
   - nur 590px bis 1079px
   - Punkte 1 und 2 aus Schritt 23 bleiben unveraendert
   - Kommentarblock wird direkt an den Beschreibungshauptblock herangezogen
========================= */
@media (min-width: 590px) and (max-width: 1079px) {
    .stv-episode-layout {
        row-gap: 0 !important;
    }

    .stv-episode-comments {
        margin-top: -72px !important;
    }
}


/* =========================
   TABLET HOCHFORMAT / MOBIL QUERFORMAT: GOOGLE-SLOTS NUR UEBER/UNTER KOMMENTAREN
   - nur 590px bis 1079px
   - verwendet stk_tv_mobile oberhalb und unterhalb des Kommentarblocks
   - andere Google-Slots in dieser Ansicht werden ausgeblendet
   - leere Slots erzeugen keinen Abstand
========================= */
@media (min-width: 590px) and (max-width: 1079px) {
    .stv-episode-main-block-ad,
    .stv-episode-slider-ad,
    .stv-episode-bottom-ad,
    .stv-sidebar-ad-slot,
    .stv-episode-google-block,
    .stv-episode-third-mobile-google-ad,
    .stv-episode-mobile-bottom-google-ad {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .stv-episode-comments-mobile-google-ad {
        display: none !important;
        grid-column: 1 / 2 !important;
        width: 100% !important;
        max-width: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .stv-episode-comments-mobile-google-ad.is-ready {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .stv-episode-comments-mobile-google-ad--above.is-ready {
        margin: 0 0 10px !important;
    }

    .stv-episode-comments-mobile-google-ad--below.is-ready {
        margin: 10px 0 0 !important;
    }

    .stv-episode-comments-mobile-google-ad .stv-ad-frame__label {
        display: block !important;
    }

    .stv-episode-comments-mobile-google-ad__inner,
    .stv-episode-comments-mobile-google-ad .stv-google-slot,
    .stv-episode-comments-mobile-google-ad .stv-google-slot__inner,
    .stv-episode-comments-mobile-google-ad .stv-google-ad-slot,
    .stv-episode-comments-mobile-google-ad .stv-google-ad-slot__inner,
    .stv-episode-comments-mobile-google-ad .adsbygoogle,
    .stv-episode-comments-mobile-google-ad ins.adsbygoogle {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================
   TABLET HOCHFORMAT / MOBIL QUERFORMAT: KOMMENTAR-ADS UND ABSTAENDE FINAL
   - nur 590px bis 1079px
   - Sidebar darf die Hoehe der linken Inhaltsreihen nicht mehr aufziehen
   - stk_tv_mobile steht direkt vor und direkt nach dem Kommentarblock
   - der zusaetzliche untere Kommentar-Slot bleibt ausserhalb dieser Ansicht unsichtbar
========================= */
.stv-episode-comments-mobile-google-ad--tablet-only {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

@media (min-width: 590px) and (max-width: 1079px) {
    .stv-episode-layout,
    .stv-episode-layout:has(.stv-episode-top-banner-mobile.is-ready) {
        grid-template-areas:
            "hero hero"
            "main sidebar"
            "comment_ad_above sidebar"
            "comments sidebar"
            "comment_ad_below sidebar"
            "third third" !important;
        row-gap: 0 !important;
        align-items: start !important;
    }

    .stv-episode-main {
        grid-area: main !important;
        margin-bottom: 0 !important;
    }

    .stv-episode-comments-mobile-google-ad--above {
        grid-area: comment_ad_above !important;
        grid-column: 1 / 2 !important;
        align-self: start !important;
        justify-self: stretch !important;
    }

    .stv-episode-comments {
        grid-area: comments !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        align-self: start !important;
    }

    .stv-episode-comments-mobile-google-ad--below {
        grid-area: comment_ad_below !important;
        grid-column: 1 / 2 !important;
        align-self: start !important;
        justify-self: stretch !important;
    }

    .stv-episode-third {
        grid-area: third !important;
        margin-top: 0 !important;
        align-self: start !important;
    }

    .stv-episode-sidebar {
        grid-area: sidebar !important;
        align-self: start !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .stv-episode-sidebar .stv-sidebar-stack {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px !important;
        border-radius: 22px !important;
        background: linear-gradient(160deg, #2e9634 0%, #1b7329 34%, #0d5220 68%, #063717 100%) !important;
        box-shadow: 0 22px 40px rgba(16, 44, 16, 0.18) !important;
    }

    .stv-episode-main-block-ad,
    .stv-episode-slider-ad,
    .stv-episode-bottom-ad,
    .stv-sidebar-ad-slot,
    .stv-episode-google-block,
    .stv-episode-third-mobile-google-ad,
    .stv-episode-mobile-bottom-google-ad {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .stv-episode-comments-mobile-google-ad {
        display: none !important;
        width: 100% !important;
        max-width: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .stv-episode-comments-mobile-google-ad.is-ready {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .stv-episode-comments-mobile-google-ad--above.is-ready {
        margin: 0 0 8px !important;
    }

    .stv-episode-comments-mobile-google-ad--below.is-ready {
        margin: 8px 0 0 !important;
    }

    .stv-episode-comments-mobile-google-ad .stv-ad-frame__label {
        display: block !important;
    }

    .stv-episode-comments-mobile-google-ad__inner,
    .stv-episode-comments-mobile-google-ad .stv-google-slot,
    .stv-episode-comments-mobile-google-ad .stv-google-slot__inner,
    .stv-episode-comments-mobile-google-ad .stv-google-ad-slot,
    .stv-episode-comments-mobile-google-ad .stv-google-ad-slot__inner,
    .stv-episode-comments-mobile-google-ad .adsbygoogle,
    .stv-episode-comments-mobile-google-ad ins.adsbygoogle {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================
   TABLET HOCHFORMAT / MOBIL QUERFORMAT: SIDEBAR-HINTERGRUND UND BOTTOM-AD
   - nur 590px bis 1079px
   - Sidebar-Hintergrund laeuft optisch bis hinter den Slider weiter
   - stk_tv_bottom steht unter dem Slider ueber die volle Seitenbreite
   - andere Ansichten bleiben unveraendert
========================= */
.stv-episode-responsive-bottom-ad {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

@media (min-width: 590px) and (max-width: 1079px) {
    .stv-episode-layout,
    .stv-episode-layout:has(.stv-episode-top-banner-mobile.is-ready) {
        grid-template-areas:
            "hero hero"
            "main sidebar"
            "comment_ad_above sidebar"
            "comments sidebar"
            "comment_ad_below sidebar"
            "third third"
            "responsive_bottom_ad responsive_bottom_ad" !important;
    }

    .stv-episode-sidebar .stv-sidebar-stack {
        position: relative !important;
        isolation: isolate !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .stv-episode-sidebar .stv-sidebar-stack::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: var(--stv-tablet-sidebar-background-height, 100%);
        min-height: 100%;
        border-radius: 22px;
        background: linear-gradient(160deg, #2e9634 0%, #1b7329 34%, #0d5220 68%, #063717 100%);
        box-shadow: 0 22px 40px rgba(16, 44, 16, 0.18);
        z-index: 0;
        pointer-events: none;
    }

    .stv-episode-sidebar .stv-sidebar-stack > * {
        position: relative;
        z-index: 1;
    }

    .stv-episode-third {
        position: relative !important;
        z-index: 3 !important;
    }

    .stv-episode-responsive-bottom-ad {
        grid-area: responsive_bottom_ad !important;
        grid-column: 1 / -1 !important;
        display: none !important;
        width: 100% !important;
        max-width: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 14px 0 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .stv-episode-responsive-bottom-ad.is-ready {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .stv-episode-responsive-bottom-ad__inner,
    .stv-episode-responsive-bottom-ad .stv-google-slot,
    .stv-episode-responsive-bottom-ad .stv-google-slot__inner,
    .stv-episode-responsive-bottom-ad .stv-google-ad-slot,
    .stv-episode-responsive-bottom-ad .stv-google-ad-slot__inner,
    .stv-episode-responsive-bottom-ad .adsbygoogle,
    .stv-episode-responsive-bottom-ad ins.adsbygoogle {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* =========================
   WEB / WEB SCHMAL: STK_TV_BOTTOM UEBER DEN FUNKTIONIERENDEN EINZEL-SLOT
   - nur ab 1080px
   - verwendet denselben stk_tv_bottom-Wrapper wie Tablet Hochformat
   - verhindert doppelte stk_tv_bottom-Einbindung in Web/Web schmal
========================= */
@media (min-width: 1080px) {
    .stv-episode-responsive-bottom-ad {
        grid-column: 1 / -1 !important;
        display: block !important;
        width: 1080px !important;
        min-width: 1080px !important;
        max-width: 1080px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 16px auto 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        justify-self: center !important;
        align-self: start !important;
    }

    .stv-episode-responsive-bottom-ad__inner,
    .stv-episode-responsive-bottom-ad .stv-google-slot,
    .stv-episode-responsive-bottom-ad .stv-google-slot__inner,
    .stv-episode-responsive-bottom-ad .stv-google-ad-slot,
    .stv-episode-responsive-bottom-ad .stv-google-ad-slot__inner,
    .stv-episode-responsive-bottom-ad .adsbygoogle,
    .stv-episode-responsive-bottom-ad ins.adsbygoogle {
        display: block !important;
        width: 1080px !important;
        min-width: 1080px !important;
        max-width: 1080px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: visible !important;
    }
}

/* =========================
   MOBILE HOCHFORMAT: RESPONSIVE STK_TV_BOTTOM
   - nur bis 589px
   - verwendet denselben stk_tv_bottom-Wrapper wie Tablet Hochformat
========================= */
@media (max-width: 589px) and (orientation: portrait) {
    .stv-episode-layout,
    .stv-episode-layout:has(.stv-episode-top-banner-mobile.is-ready) {
        grid-template-areas:
            "hero"
            "main"
            "share"
            "comments"
            "third"
            "responsive_bottom_ad"
            "sidebar" !important;
    }

    .stv-episode-layout:has(.stv-episode-top-banner-mobile.is-ready) {
        grid-template-areas:
            "hero"
            "topbanner"
            "main"
            "share"
            "comments"
            "third"
            "responsive_bottom_ad"
            "sidebar" !important;
    }

    .stv-episode-responsive-bottom-ad {
        grid-area: responsive_bottom_ad !important;
        display: none !important;
        width: min(100% - 18px, 100%) !important;
        max-width: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 12px auto 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .stv-episode-responsive-bottom-ad.is-ready {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .stv-episode-responsive-bottom-ad__inner,
    .stv-episode-responsive-bottom-ad .stv-google-slot,
    .stv-episode-responsive-bottom-ad .stv-google-slot__inner,
    .stv-episode-responsive-bottom-ad .stv-google-ad-slot,
    .stv-episode-responsive-bottom-ad .stv-google-ad-slot__inner,
    .stv-episode-responsive-bottom-ad .adsbygoogle,
    .stv-episode-responsive-bottom-ad ins.adsbygoogle {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .stv-episode-mobile-bottom-google-ad {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

/* =========================
   MOBILE HOCHFORMAT: PATRONANZ 468x60 RESPONSIVE SKALIEREN
   - nur Mobil Hochformat
   - GAM liefert weiterhin 468x60
   - optisch wird der Banner auf die verfuegbare Seitenbreite begrenzt
========================= */
@media (max-width: 589px) and (orientation: portrait) {
    .stv-below-video-ad-panel.is-ready {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: hidden !important;
    }

    .stv-below-video-ad-panel__body,
    .stv-below-video-patronage-slot,
    .stv-below-video-patronage-slot .stv-gam-ad-slot,
    .stv-below-video-patronage-slot .stv-google-ad-slot,
    .stv-below-video-patronage-slot .stv-gam-ad-slot__container,
    .stv-below-video-patronage-slot .stv-google-ad-slot__container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .stv-below-video-patronage-slot .stv-gam-ad-slot__container,
    .stv-below-video-patronage-slot .stv-google-ad-slot__container,
    .stv-below-video-patronage-slot iframe {
        aspect-ratio: 468 / 60 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .stv-below-video-patronage-slot iframe,
    .stv-below-video-patronage-slot img,
    .stv-below-video-patronage-slot object,
    .stv-below-video-patronage-slot embed {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

/* =========================
   EPISODEN-SLIDER: H2-GROESSE UND LINKE KANTE
   - nur Slider-Ueberschriften im Bereich der Episoden-Slider
   - linker Verlauf deaktiviert, damit der erste Slide nicht eckig wirkt
========================= */
.stv-episode-third .stv-slider-header h2.stv-section-title,
.stv-episode-third .stv-slider-header .stv-section-title {
    font-size: clamp(1.62rem, 2.05vw, 2.4rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.03em !important;
    font-weight: 600 !important;
}

.stv-third-slider-wrap::before {
    display: none !important;
}

