/* ── MODEL PRIMARY CTA — komplett ──────────────────────────── */

/* Mobile: untereinander, kompakt */
.model-primary-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 8px 0 0 0 !important;
}

/* Schatten auf allen Buttons erzwingen */
.model-primary-cta .cta-button {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 9px 10px !important;
    margin-bottom: 8px !important;
    align-items: center !important;
    gap: 8px !important;
}

.model-primary-cta .standard-btn,
.model-primary-cta .free-btn,
.model-primary-cta .mixed-btn {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Desktop: 2-spaltig nebeneinander */
@media (min-width: 1024px) {
    .model-primary-cta {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        align-items: start !important;
        margin: 0 0 4px 0 !important;
    }
    .model-primary-cta .cta-button {
        width: 100% !important;
        margin-bottom: 0 !important;
        padding: 12px 14px !important;
    }
    .cta-button .btn-platform { font-size: 12px !important; }
    .cta-button .btn-label    { font-size: 15px; }
    .btn-icon-wrapper { margin-right: 15px; }
    .model-answer-paragraph { margin-bottom: 30px; }
}

/* --- VEREINHEITLICHTER PREMIUM HEADER (Smart & Lean) --- */
.single-model .model-page-header {
    width: 100%;
    background: linear-gradient(45deg, #0079C1 10%, #a855f7 90%) !important;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 121, 193, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
    box-sizing: border-box;
    padding: 5px 7px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

/* 09.08.2026, 2. Durchgang: Die H1 enthaelt nur noch Name und Alias.
   Sie hat damit die Rolle uebernommen, die vorher .fb-name-block hatte.
   width:auto ist noetig, damit im Flex-Container .fb-title-group Platz
   fuer die Icons bleibt — mit width:100% haette die H1 sie rausgedraengt.
   text-align:left ueberschreibt die globale h1/h2-Zentrierung aus
   style.css, die dort seit 09.08. ohne !important steht. */
.single-model .model-name {
    display: flex !important;
    flex-direction: column;
    width: auto;
    max-width: 1200px;
    gap: 2px;
    margin: 0 !important;
    color: #ffffff !important;
    text-align: left;
}

/* GRUPPE FÜR NAME UND LOGO
   Ist seit 09.08. der Flex-Container, der vorher die H1 selbst war. */
.fb-title-group {
    display: flex;
    justify-content: space-between; /* Name links, Logo rechts */
    align-items: center;
    width: 100%;
}

/* Nicht mehr im Markup (die H1 hat die Rolle uebernommen), bleibt als
   Regel stehen, falls andere Templates die Klasse noch verwenden. */
.fb-name-block {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.fb-main-name {
    font-size: 15px !important;
    font-weight: 700;
}

.single-model .model-aka {
    font-size: 11px !important;
    font-style: italic;
    font-weight: 400;
    opacity: 0.85;
}

/* PLATFORM LOGO CONTAINER */
.fb-icon-separator {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 2px
}

.fb-icon-separator img {
    width: 36px !important;
    height: 36px !important;
    background: #ffffff;
    padding: 5px;
    margin: 2px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    object-fit: contain;
}

/* INFO TEXT UNTER DEM NAMEN
   09.08.2026: Steckte bis dahin als <div> INNERHALB der <h1> und war damit
   ungueltiges HTML. Jetzt ein <p> als Geschwister der h1 im .model-page-header.
   Der Header ist flex/column, das Element sitzt also weiterhin unter dem Namen.
   margin: 0 ist neu noetig, weil <p> im Gegensatz zu <div> einen
   Browser-Default-Margin hat. Rest unveraendert. */
.fb-info-block {
    text-align: left;
    align-self: flex-start;
    font-size: 13px !important;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding-top: 0px;
    margin: 0;
    width: 100%;
}

/* --- DESKTOP ANPASSUNG (Ab 1024px) --- */
@media (min-width: 1024px) {
    /* 09.08.2026: Der Header ist auf Desktop jetzt selbst die Flex-Zeile.
       Vorher war es die .model-name (h1), weil der Info-Text darin lag.
       Seit dem Heading-Umbau sind h1 und .fb-info-block Geschwister, die
       Zeile muss also eine Ebene hoeher entstehen. Optik identisch:
       Name links, Info-Text per margin-left:auto rechts. */
    .single-model .model-page-header {
        padding: 15px 30px !important;
        margin-bottom: 25px;
        margin-top: 15px;
        flex-direction: row !important;
        align-items: center;
        gap: 25px;
    }

    /* 09.08.2026, 2. Durchgang: Die H1 bleibt auch auf Desktop eine Spalte
       (Name oben, Alias darunter). Die waagerechte Zeile entsteht eine Ebene
       hoeher in .fb-title-group und .model-page-header. Vorher stand hier
       flex-direction:row, weil die H1 damals noch Icons und Info-Text
       enthielt. */
    .single-model .model-name {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        width: auto;
    }

    .single-model .model-aka {
    font-size: 1.1rem !important;
    }

    .fb-title-group {
        width: auto;
        gap: 20px;
    }

    .fb-main-name {
        font-size: 1.7rem !important;
        font-weight: 800;
    }

    .fb-info-block {
        width: auto;
        padding-top: 0;
        margin-left: auto; /* Info-Text nach ganz rechts */
        font-size: 1.1rem !important;
        text-align: right;
        align-self: center;
    }
}

/* ================================================================
   HERO ROW FIX — Bild + CTA nebeneinander ab Mobile
   Ersetzt den alten Block:
   "@media (min-width: 1024px) { .single-model .model-main-layout ... }"
   ================================================================ */

/* ── 1. SHOW/HIDE: Mobile vs Desktop (komplett neu) ──────────── */

.fb-mb-only { display: block; }
.fb-dt-only { display: none;  }

@media (min-width: 1024px) {
    .fb-mb-only { display: none  !important; }
    .fb-dt-only { display: block !important; }
}



/* BASIS (Mobile first — gilt immer, kein Media Query) */
.single-model .model-main-layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    align-items: flex-start !important;
    width: 100% !important;
}

/* Bild: 55% der Breite auf Mobile */
.single-model .model-layout-left {
    flex: 0 0 55% !important;
    width: 55% !important;
    max-width: 55% !important;
}

/* CTA Seite: nimmt den Rest */
.single-model .model-layout-right {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
}

/* Tablet: etwas mehr Abstand */
@media (min-width: 600px) {
    .single-model .model-main-layout {
        gap: 16px !important;
    }
    .single-model .model-layout-left {
        flex: 0 0 45% !important;
        width: 45% !important;
        max-width: 45% !important;
    }
}

/* ── 4. BIO-LINIE (komplett neu) ─────────────────────────────── */
/*
   Ersetzt die Kacheln für Land/Alter/Kategorien.
   Einfache Text-Links, kein Pill-Design.
   Beispiel: Age: 21 · 🇺🇸 USA  |  Amateur · Brunette · Teen
*/
.fb-bio-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    margin: 20px 0 8px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    flex-direction: column;
}

.fb-bio-line .fb-bio-meta {
    margin-right: 6px;
}

.fb-bio-link {
    color: #0079C1;
    text-decoration: none;
    font-weight: 500;
}
.fb-bio-link:hover {
    text-decoration: underline;
}


/* ── 5. RECHTE SPALTE DESKTOP (komplett neu) ─────────────────── */
/*
   .fb-right-detail enthält auf Desktop:
   Socials → Bio → Editorial → Blog
   Kein spezielles Styling nötig außer minimalem Abstand.
*/
.fb-right-detail {
    margin-top: 30px;
}


/* Desktop: fixes Bild auf 450px wie vorher */
@media (min-width: 1024px) {
    .single-model .model-main-layout {
        gap: 40px !important;
        min-height: 675px !important;
    }
    .single-model .model-layout-left {
        flex: 0 0 450px !important;
        width: 450px !important;
        max-width: 450px !important;
        position: relative !important;
        top: 0 !important;
        z-index: 1;
    }
    .single-model .model-full-content {
        margin-top: 40px;
        width: 100%;
    }
    .fb-bio-line {
    margin: 25px 0 15px;
    }
}

/* Bild füllt seinen Container */
.model-layout-left #image-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── GALLERY & LIGHTBOX UNIFIED BLOCK (SLIM VERSION) ────────────────── */

/* ── IMAGE CAROUSEL WRAPPER ──────────────────────────────────── */
#image-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 1.1rem;
    overflow: hidden;
    border-radius: 12px;
}

#image-carousel .image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0;
    display: block;
}

/* 1. Basis-Bild */
#current-image { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

/* 2. Gemeinsame Styles für Steuerung (Blur, Hintergrund, Transition) */
.gallery-counter, 
.carousel-counter,
.lb-close,
.carousel-arrow {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    color: white !important;
    z-index: 100006;
    transition: opacity 0.4s ease, transform 0.2s, visibility 0.4s !important;
}

/* 3. Obere Leiste: Counter (Links) & Schließen (Rechts) */
.gallery-counter, 
.carousel-counter,
.lb-close {
    position: absolute !important;
    top: 15px !important; 
}

/* Counter (Links) - Wieder kompakt wie gewünscht */
.gallery-counter, 
.carousel-counter {
    left: 15px !important;
    right: auto !important;
    bottom: auto !important;
    padding: 6px 14px !important; /* Dein Original-Maß für Kompaktheit */
    border-radius: 20px !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    align-items: center;
    pointer-events: none;
    transform: none !important;
}

/* Schließen Button (Rechts) - Kreisgröße wie die Pfeile */
.lb-close {
    right: 15px !important;
    left: auto !important;
    width: 44px !important; 
    height: 44px !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10000000 !important;
    cursor: pointer;
}

.lb-close svg {
    width: 24px !important;
    height: 24px !important;
    stroke: currentColor !important;
    stroke-width: 2.5 !important;
}

/* 4. Navigations-Pfeile (Immer mittig, außer im mobilen Carousel) */
.carousel-arrow { 
    position: absolute; 
    top: 50% !important; 
    transform: translateY(-50%) !important; 
    width: 44px !important;
    height: 44px !important;
    border: none; 
    cursor: pointer; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0 !important;
}

.carousel-arrow svg { 
    width: 24px; 
    height: 24px; 
}

.carousel-arrow.left { left: 15px !important; }
.carousel-arrow.right { right: 15px !important; }

/* 5. Sichtbarkeits-Logik */
#image-carousel .carousel-arrow,
#image-carousel .gallery-counter { 
    opacity: 0; 
    visibility: hidden; 
}

#image-carousel:not(.inactive) .carousel-arrow,
#image-carousel:not(.inactive) .gallery-counter { 
    opacity: 1; 
    visibility: visible; 
}

@media (hover: hover) {
    #image-carousel:hover .carousel-arrow,
    #image-carousel:hover .gallery-counter { 
        opacity: 1; 
        visibility: visible; 
    }

    /* Arrows + Counter auch sichtbar wenn User über Thumbnails hovert */
    .model-layout-left.has-gallery:has(.fb-thumb-strip:hover) #image-carousel .carousel-arrow,
    .model-layout-left.has-gallery:has(.fb-thumb-strip:hover) #image-carousel .gallery-counter {
        opacity: 1;
        visibility: visible;
    }
}

#model-lightbox .carousel-arrow,
#model-lightbox .carousel-counter,
#model-lightbox .lb-close {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

/* 6. Mobile Spezial-Logik (< 1024px) */
@media (max-width: 1023px) {
    #image-carousel .carousel-arrow {
        top: auto !important;
        bottom: 15px !important;
        transform: none !important;
    }

    #model-lightbox .carousel-arrow {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    .gallery-counter, .carousel-counter, .lb-close {
        top: 12px !important;
    }
    .gallery-counter, .carousel-counter { left: 12px !important; }
    .lb-close { right: 12px !important; }
}

/* ================================================================
   THUMBNAIL STRIP — Desktop only (rechts neben Hauptbild)
   ================================================================ */

/* Mobile/Tablet: komplett versteckt */
.fb-thumb-strip { display: none; }

/* Desktop ab 1024px */
@media (min-width: 1024px) {

    /* model-layout-left wird zum Flex-Row: Carousel + Thumb-Strip */
    .single-model .model-layout-left.has-gallery {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        flex: 0 0 538px !important;
        width: 538px !important;
        max-width: 538px !important;
        align-items: flex-start !important;
    }

    .single-model .model-layout-left.has-gallery #image-carousel {
        flex: 0 0 450px !important;
        width: 450px !important;
    }

    /* Thumb-Strip: vertikale scrollbare Spalte */
    .fb-thumb-strip {
        display: flex;
        flex-direction: column;
        gap: 5px;
        overflow-y: auto;
        max-height: 675px;       /* 450px × 3/2 = gleiche Höhe wie Carousel */
        flex-shrink: 0;
        scrollbar-width: thin;
        scrollbar-color: #0079C1 #f0f0f0;
        padding-right: 2px;
    }

    .fb-thumb-strip::-webkit-scrollbar       { width: 3px; }
    .fb-thumb-strip::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 2px; }
    .fb-thumb-strip::-webkit-scrollbar-thumb { background: #0079C1; border-radius: 2px; }

    /* Jeder Thumb-Button */
    .fb-thumb-btn {
        display: block;
        flex-shrink: 0;
        width: 78px;
        aspect-ratio: 2/3;       /* gleiche Logik wie Hauptbild */
        overflow: hidden;
        border: 2px solid transparent;
        border-radius: 6px;
        opacity: 0.55;
        background: #f0f0f0;
        transition: opacity 0.15s ease, border-color 0.15s ease;
        text-decoration: none;
    }

    .fb-thumb-btn.active,
    .fb-thumb-btn:hover {
        opacity: 1;
        border-color: #0079C1;
    }

    /* Bild füllt den Container — gleiche Logik wie Hauptbild */
    .fb-thumb-btn img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

/* --- Styling für den neuen Blog-CTA --- */
.model-blog-link-wrapper {
    padding-top: 10px;
}

/* --- Optimierter Blog-CTA (Konsistent zum restlichen Design) --- */
.blog-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Höhe reduziert auf 44px für die Hierarchie */
    min-height: 44px; 
    padding: 8px 20px;
    margin-bottom: 25px;
    
    /* Hintergrund wieder solide Blau */
    background: linear-gradient(135deg, #0F9FFF 0%, #0076cc 100%) !important;
    color: #ffffff !important;
    
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px; /* Leicht kleiner als der Haupt-CTA */
    text-decoration: none !important;
    border: none !important;
    
    /* Dein einheitlicher Schatten für Mobile-Sichtbarkeit */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Icon-Wrapper: Weißer Kreis bleibt für dein blaues Logo */
.blog-cta-button .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #ffffff;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.blog-cta-button .icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

/* --- Blog-CTA Hover & Active (Angeglichen an Haupt-CTA) --- */
.blog-cta-button:hover {
    /* Skalierung auf 1.02 für dezente Professionalität */
    transform: scale(1.02) !important;
    
    /* Helligkeit auf 1.05 (dein Wunschwert) */
    filter: brightness(1.05) !important;
    
    /* Schatten wird etwas tiefer/blauer beim Hover */
    box-shadow: 0 10px 22px rgba(15, 159, 255, 0.35) !important;
}

.blog-cta-button:active {
    /* Haptisches Feedback beim Tippen auf dem Handy */
    transform: scale(0.98) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.1s ease !important;
}

/* Mobile Anpassung */
@media (max-width: 1023px) {
    .blog-cta-button {
        min-height: 42px;
        font-size: 15px;
    }
}

/* --- DESKTOP: Die Grid-Optik (Premium Card) --- */
.model-single-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    /* Schatten exakt wie in deinem Grid-Layout */
    box-shadow: 0 4px 24px rgba(10, 36, 99, 0.07) !important;
    padding: 15px 30px 35px !important;
    
    /* Zentrierung, Breiten-Limitierung & 10px Sicherheitsabstand */
    margin-top: 15px !important;
    margin-bottom: 30px !important;
    
    /* Zentriert die Box und hält min. 10px Abstand zum Rand */
    margin-left: auto !important;
    margin-right: auto !important;
    width: calc(100% - 30px) !important; 
    
    max-width: 1420px !important; /* Maximale Breite festlegen */
    
    box-sizing: border-box !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important; /* Dezenter Rahmen zur Abhebung */
}

/* ================================================================
   ERGÄNZUNGEN single-model V2026
   Nur neue Klassen — bestehende bleiben unberührt
   ================================================================ */


/* 09.08.2026: <p> -> <h2>. Groesse und Fettung standen vorher nicht hier,
   sie kamen vom Blocksy-Default fuer <p> (17px Desktop). Als <h2> haetten
   Theme- und Browser-Defaults gegriffen und den Text gross und fett gemacht,
   deshalb sind sie jetzt explizit gesetzt. Optik unveraendert. */
.fb-strip-intro{
    margin-block-start: 0;
    margin-block-end: 10px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

/* Neue Ueberschrift ueber dem Editorial-Text (09.08.2026).
   14px auf beiden Breiten, zentriert, Farbe wie der Editorial-Text
   selbst (#4a4a4a). Bewusst zurueckhaltend: der Block stand vorher
   unbeschriftet da, die Zeile soll ihn gliedern und nicht dominieren. */
.fb-editorial-title{
    margin-block-start: 0;
    margin-block-end: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: #4a4a4a;
}

/* Container: 6 Spalten Desktop / 3 Spalten Mobil */
.fb-affiliate-strip .fb-affiliate-grid { 
    display: grid; 
    /* minmax(0, 1fr) ist der Schlüssel für exakt gleiche Breiten ohne !important */
    grid-template-columns: repeat(6, minmax(0, 1fr)); 
    gap: 12px; 
    padding: 12px;
    border-radius: 12px;
    width: 100%;
    background-color: #9127e945;

    box-sizing: border-box;
}

/* Die Card */
.fb-affiliate-strip .fb-compact-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    min-width: 0; /* Erlaubt das Schrumpfen für die Ellipsis */
}

/* 1. Bild-Container (Stabiles 4/5 Format) */
.fb-affiliate-strip .fb-compact-img-wrap {
    display: block;
    margin: 0;
    position: relative;
    aspect-ratio: 4 / 5; 
    line-height: 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0; 
}

.fb-affiliate-strip .fb-compact-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* 2. Der blaue Namens-Balken (Nahtlos unten) */
.fb-affiliate-strip .fb-compact-footer {
    background: #0079C1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    border-radius: 0 0 12px 12px; 
    margin-top: -1px; 
    min-width: 0;
}

/* Name links mit Ellipsis-Fix */
.fb-affiliate-strip .fb-compact-name {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 2px;
    min-width: 0; /* Zwingt den Flex-Inhalt zur Ellipsis */
}

/* Die Preis-Pille (Kontrast-Optimiert) */
.fb-affiliate-strip .fb-compact-price-pill {
    background: #9333ea;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px; 
    flex-shrink: 0; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* FREE bekommt ein dunkleres Blau für Google-Kontrast (WCAG) */
.fb-affiliate-strip .fb-compact-price-pill.is-free {
    background: #005a8f; 
}

/* --- Responsive Korrekturen --- */


@media (max-width: 1024px) {
    .fb-affiliate-strip .fb-affiliate-grid { 
        grid-template-columns: repeat(3, minmax(0, 1fr)); 
        gap: 6px; 
        padding: 6px;
    }
    .fb-affiliate-strip .fb-compact-footer { padding: 4px 6px; }
    .fb-affiliate-strip .fb-compact-name { font-size: 11px; }
    .fb-affiliate-strip .fb-compact-price-pill { padding: 1px 5px; }
    .fb-strip-intro{
    font-size: 13px;
    margin-block-end: 5px;
}
}


/* ── Detail Section ──────────────────────────────────────────── */
.model-detail-section {
    margin-top: 18px;
}


/* ── Review Section: 1-Zeile Toggle ─────────────────────────── */
.fb-review-section {
    border-top: 1px solid #eee;
}

.fb-rating-line {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 4px;
    border-radius: 8px;
    user-select: none;
    transition: background 0.15s;
}

.fb-rating-line:hover {
    background: #f8f8f8;
}

.fb-review-invite {
    color: #0079C1;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    line-height: 1.3;
}

.fb-rating-line--empty .fb-review-arrow {
    color: #0079C1;
}

.fb-review-count-label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    flex: 1;
}

.fb-review-arrow {
    font-size: 11px;
    color: #888;
    transition: transform 0.25s ease;
}

/* Formular standardmäßig versteckt */
.fb-review-form-wrap {
    display: none;
    padding-top: 10px;
}

.fb-review-form-wrap.is-open {
    display: block;
}

.fb-review-intro {
    font-size: 14px;
    line-height: 1.55;
    color: #555;
    background: #f2f6fa;
    border-left: 3px solid #0079C1;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 0 0 18px;
}

/* ============================================================
   KOMPLETT-FIX FÜR EINZEL-MODEL ANSICHT (MOBILE)
   Zusammenführung von Container-Reset & Card-Positionierung
   ============================================================ */

@media (max-width: 1023px) {
    
    /* 1. CONTAINER RESET: Erzwingt Randlosigkeit des Themes */
    .single-model .ct-main-content,
    .single-model .ct-container-full,
    .single-model .main.site-main.hfeed,
    .single-model #content,
    .single-model .site-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important; 
        width: 100% !important;
    }

    /* 2. DIE CARD: Definiert den 5px Abstand zum Rand */
    .single-model .model-single-card {
        display: block !important;
        width: auto !important; /* Erlaubt Margin-Berechnung */
        margin-left: 10px !important;  
        margin-right: 10px !important; 
        margin-top: 5px !important;
        margin-bottom: 25px !important;

        /* Innenleben & Design */
        padding: 10px 10px !important; 
        background: #ffffff;
        border-radius: 12px !important; 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        box-sizing: border-box !important;
        float: none !important;
    }

}

.model-comments-wrapper {
    margin-top: 15px;
}

/* Verhindert, dass das Kommentarfeld auf Mobile zu breit wird */
.model-comments-wrapper #respond {
    padding: 0;
}

/* ── MODEL META ROW & SOCIALS ────────────────────────────────── */
.model-meta-row { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100%; margin-top: 0; padding-left: 3px; padding-right: 3px; box-sizing: border-box; }

/* --- SOCIAL MEDIA ICONS --- */
.model-socials { display: flex; gap: 20px; align-items: center; }
.model-socials a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; opacity: .82; transition: opacity .2s, transform .2s; }
.model-socials a:hover { opacity: 1; transform: scale(1.13); }
.model-socials img { width: 28px; height: 28px; display: block; }

/* ── ANSWER PARAGRAPH ────────────────────────────────────────── */
.model-answer-paragraph { font-size: 15px !important; line-height: 1.6; font-weight: 500; contain: layout; margin-bottom: 20px; margin-top: 20px; }

/* ── EDITORIAL CONTENT & EXPAND SYSTEM ──────────────────────── */
.model-editorial-content {
    font-size: 13px; /* Von vermutlich 16px auf 14px */
    line-height: 1.6;
    color: #4a4a4a; /* Ein leichtes Anthrazit wirkt edler als tiefschwarz */
    margin-bottom: 25px;
    margin-top: 5px;
    text-align: left; /* Optional: 'justify' nur, wenn die Worttrennung gut funktioniert */
}

.model-editorial-content p {
    margin-bottom: 12px;
}

/* --- EDITORIAL CONTENT & EXPAND SYSTEM --- */

/* Wrapper startet kompakt */
.editorial-wrapper { 
    position: relative; 
    max-height: 120px; 
    overflow: hidden; 
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Ausgeklappt */
.editorial-wrapper.is-expanded { 
    max-height: 1500px; /* Realistischerer Wert für bessere Performance */
}

/* Fade-Effekt */
.editorial-fade-overlay { 
    position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; 
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1)); 
    pointer-events: none; transition: opacity 0.3s;
}
.editorial-wrapper.is-expanded .editorial-fade-overlay { opacity: 0; }

.fb-reviewed-by { font-size: 0.8rem; color: #504e4a; margin-top: 10px; text-align: right; }
.fb-reviewed-by a { color: #0079C1; font-weight: bold; }

/* Der Pfeil-Button */
.read-more-link {
    background: none; border: none; display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 15px 0; cursor: pointer; transition: opacity 0.3s;
}

/* Pfeil-Icon */
.arrow-icon {
    width: 12px; height: 12px; border-right: 3px solid #a1a1a1; border-bottom: 3px solid #a1a1a1;
    transform: rotate(45deg); margin-bottom: 5px;
}

/* --- Schlanker Hover-Effekt für den Aufklapp-Pfeil --- */
.read-more-link:hover .arrow-icon {
    border-color: #0079C1 !important; /* Wird Blau */
    transform: rotate(45deg) scale(1.1); /* Bleibt nach unten gerichtet, wird aber größer */
    transition: all 0.2s ease-in-out;
}

/* Der Button selbst bekommt keinen extra Lift, damit es ruhig bleibt */
.read-more-link:hover {
    filter: brightness(1.1);
}

/* Wenn ausgeklappt: Button unsichtbar machen */
.read-more-link.is-hidden { 
    display: none; 
}

/* ── MODEL EXCERPT ───────────────────────────────────────────── */
.model-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 25px;
    margin-top: 15px;
}

/* ── ANSWER PARAGRAPH LINKS ──────────────────────────────────── */
.model-answer-paragraph a {
    color: #005a8e !important;
    font-weight: 600;
}

/* ── STERNE-RATING ANZEIGE ───────────────────────────────────── */
.model-rating-display {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 1em;
}
.rating-stars {
    position: relative;
    display: inline-block;
    color: #ccc;
    font-size: 1.5em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    --star-width: 21px;
    width: calc(5 * var(--star-width) + 4 * 0.1em);
}
.rating-stars .star-base { letter-spacing: 0.1em; }
.rating-stars::before {
    content: '★★★★★';
    position: absolute;
    top: 0; left: 0;
    overflow: hidden;
    color: #FFD700;
    letter-spacing: 0.1em;
    width: calc(var(--rating) * var(--star-width) + (var(--rating) - 1) * 0.1em);
}
.rating-value {
    font-weight: bold;
    line-height: 1;
    margin-right: 6px;
}
.review-count {
    font-size: 0.9em;
    color: #666;
    padding-left: 8px;
}
@media (max-width: 1023px) {
    .review-count { display: none !important; }
}

/* ── STERNE-RATING EINGABE (Kommentarformular) ───────────────── */
.rating-input-group {
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    unicode-bidi: bidi-override;
    overflow: hidden;
}
.rating-input > label {
    color: #ccc;
    cursor: pointer;
    font-size: 2.2em;
    padding: 0 1px;
    transition: color 0.2s;
    line-height: 1;
}
.rating-input > label:hover,
.rating-input > label:hover ~ label { color: #FFD700; }
.rating-input > input:checked ~ label { color: #FFD700; }
.rating-input > input { display: none; }


/* ── MORE MODELS — Sektion-Header (ersetzt frühere Inline-Styles) ── */

.single-model .more-models-sub {
    display: block;
    color: #000;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}