/* FFplus Paywall auf Single-Beiträgen */

.ff-single-fv-article.ff-plus-locked .ff-single-fv-header-lead,
.ff-single-fv-article.ff-plus-locked .ff-single-fv-header-meta-row {
    position: relative;
}

.ff-single-fv-aufmacher {
    position: relative;
}

.ff-single-fv-header-title-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.ff-single-fv-header-title-row .ff-single-fv-title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.ff-plus-title-logo {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: 0.12em;
    line-height: 0;
}

.ff-plus-title-logo img {
    display: block;
    width: 57px;
    height: 29.5px;
    max-width: none;
    object-fit: contain;
    border: none;
    padding: 0;
    box-shadow: none;
    vertical-align: middle;
}

.ff-home-card-rubrik-row--ffplus,
.ff-home-card-rubrik-row:has(.ff-plus-feed-logo) {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.ff-home-card-rubrik-row--ffplus .ff-home-card-rubrik {
    flex: 1 1 auto;
    min-width: 0;
}

.ff-plus-feed-logo {
    flex: 0 0 auto;
    margin-left: auto;
    margin-top: 1px;
    line-height: 0;
}

.ff-plus-feed-logo img {
    display: block;
    width: 30px;
    height: 15.5px;
    max-width: none;
    object-fit: contain;
    border: none;
    padding: 0;
}

.ff-home-card-lead > .ff-home-card-fv-count {
    display: block;
    margin-top: 2px;
}

.ff-single-fv-header .ff-single-fv-header-meta-row {
    flex-wrap: wrap;
}

.ff-plus-paywall-stack {
    position: relative;
    background: #fff;
}

/* News: echter Beitragsanfang unter dem Hero, unten mit Verlauf abgeschnitten */
.ff-plus-paywall-clip {
    position: relative;
    max-height: 560px;
    overflow: hidden;
}

.ff-plus-paywall-clip__fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 280px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 30%,
        rgba(255, 255, 255, 0.82) 55%,
        rgba(255, 255, 255, 0.97) 78%,
        #ffffff 100%
    );
}

.ff-plus-paywall-clip + .ff-plus-paywall-zone {
    padding-top: 8px;
}

@media screen and (max-width: 768px) {
    .ff-plus-paywall-clip {
        max-height: 440px;
    }

    .ff-plus-paywall-clip__fade {
        height: 200px;
    }
}

/* News: Kacheln in voller Hero-Breite (wie Fotos & Videos), nicht in der 700px-Textspalte */
.ff-plus-paywall-wide {
    width: 100%;
    margin-top: 25px;
    box-sizing: border-box;
}

.ff-plus-paywall-preview {
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Gleiche Kachelzeile auf News und Fotos & Videos: 2 × 477×299, Abstand 46px */
body.single .ff-main.ff-single-fv .ff-plus-paywall-preview .ff-single-fv-gallery-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 46px;
    margin: 0 !important;
    width: 100%;
}

body.single .ff-main.ff-single-fv .ff-plus-paywall-preview .ff-gv-slot {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

body.single .ff-main.ff-single-fv .ff-plus-paywall-preview .ff-single-fv-gallery-cell {
    aspect-ratio: 477 / 299;
    overflow: hidden;
}

body.single .ff-main.ff-single-fv .ff-plus-paywall-preview .ff-single-fv-gallery-cell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Unter den 2 sichtbaren Kacheln: nächste Zeile im Verlauf (oben leicht, unten weiß) */
.ff-plus-paywall-ghost {
    position: relative;
    margin-top: 46px;
    height: 240px;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.ff-plus-paywall-ghost__text {
    max-width: min(700px, 100%);
    margin: 0 auto;
}

.ff-plus-paywall-ghost__fade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.55) 25%,
        rgba(255, 255, 255, 0.82) 50%,
        rgba(255, 255, 255, 0.96) 72%,
        #ffffff 88%,
        #ffffff 100%
    );
}

.ff-plus-paywall-zone {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: 8px;
    padding-bottom: 48px;
    background: #fff;
}

/* Ohne Verlauf-Zeile: normaler Abstand unter den Kacheln */
.ff-plus-paywall-preview + .ff-plus-paywall-zone {
    padding-top: 46px;
}

@media screen and (max-width: 768px) {
    body.single .ff-main.ff-single-fv .ff-plus-paywall-preview .ff-single-fv-gallery-row {
        gap: 12px;
    }

    .ff-plus-paywall-ghost {
        margin-top: 12px;
        height: 140px;
    }
}

/* Abo-Box (Figma: 392px, gap 30) */
.ff-plus-paywall-cta {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: 392px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
    color: #1d2327;
}

.ff-plus-paywall-cta__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.ff-plus-paywall-cta__logo {
    margin: 0;
    line-height: 0;
}

.ff-plus-paywall-cta__logo img {
    display: block;
    width: 68px;
    height: 32px;
    object-fit: contain;
}

.ff-plus-paywall-cta__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    width: 100%;
    max-width: 352px;
}

.ff-plus-paywall-cta__title {
    margin: 0;
    width: 100%;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: #1d2327;
}

.ff-plus-paywall-cta__lead {
    margin: 0;
    width: 100%;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: #1d2327;
}

.ff-plus-paywall-cta__commerce {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    max-width: 392px;
}

.ff-plus-paywall-cta__offer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
}

.ff-plus-paywall-cta__offer-text {
    margin: 0;
    flex: 1 1 auto;
    max-width: 218px;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: #1d2327;
    white-space: pre-line;
}

.ff-plus-paywall-cta__price {
    margin: 0;
    flex: 0 0 auto;
    text-align: center;
}

.ff-plus-paywall-cta__price strong {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: #1d2327;
}

.ff-plus-paywall-cta__price span {
    display: block;
    margin-top: 4px;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0;
    color: #1d2327;
}

.ff-plus-paywall-cta__benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 391px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.ff-plus-paywall-cta__benefits li {
    position: relative;
    margin: 0;
    padding-left: 22px;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: #1d2327;
}

.ff-plus-paywall-cta__benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 3.5px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #b43526;
    color: #fff;
    font-size: 9px;
    line-height: 13px;
    text-align: center;
}

.ff-plus-paywall-cta__actions {
    margin: 0;
}

.ff-plus-paywall-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 132px;
    height: 36px;
    padding: 8px 15px;
    border: 1px solid #b43526;
    border-radius: 21px;
    color: #b43526;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.005em;
    text-decoration: none;
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease;
}

.ff-plus-paywall-cta__btn:hover,
.ff-plus-paywall-cta__btn:focus-visible {
    background: #b43526;
    color: #fff;
}

.ff-plus-paywall-cta__payments {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 392px;
}

.ff-plus-paywall-cta__payments li {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 29px;
}

.ff-plus-paywall-cta__payments img {
    display: block;
    flex: 0 0 auto;
    max-width: none !important;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.8;
}

@media screen and (max-width: 640px) {
    .ff-plus-paywall-cta__offer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ff-plus-paywall-cta__offer-text {
        max-width: none;
        text-align: center;
    }

    .ff-plus-paywall-cta__payments {
        gap: 16px;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding: 0 4px;
    }
}
