/*
Theme Name: Blocksy Child
Template: blocksy
*/

/* ====================================================== */
/* === BUTTON BASE CLASS (KONSOLIDIERUNG) === */
/* Definiert gemeinsame Stile für alle Kategorie-/Länder-Buttons */
/* ====================================================== */


/* Optional: Damit der Filter nicht ganz oben am Rand klebt, wenn man springt */
html {
    scroll-behavior: smooth;
}

/* Optional: Damit der Filter nicht ganz oben am Rand klebt, wenn man springt */
#SF-Filters {
    scroll-margin-top: 100px; 
}

@font-face {
    font-family: "Open Sans Fallback";
    src: local("Arial");
    size-adjust: 100%;
    ascent-override: 95%;
    descent-override: 25%;
    line-gap-override: 0%;
}
.page-title, .intro-text, .model-name, .cta-heading-line, .single-model-title {
    font-family: "Open Sans Fallback", sans-serif !important;
}

.intro-text {
    background: none; border-radius: 0; padding: 0;
    max-width: 900px; margin: 0 auto 30px auto;
    color: #333; font-weight: 600; font-size: 1.4rem;
    line-height: 1.6; text-align: center !important;
}
@media (max-width: 1023px) {
    .intro-text { font-size: 1.15rem; padding-left: 15px; padding-right: 15px; }
}

.fb-btn-base {
    display: inline-block;
    color: #000000 !important; 
    background: #fff; 
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); 
    border-radius: 6px; /* Basis-Radius für alle kleinen Buttons */
    text-decoration: none;
    transition: all 0.2s; 
    text-transform: uppercase;
    line-height: 1.2;
    vertical-align: middle;
    outline: none;
    cursor: pointer;
}

.custom-breadcrumbs { display: block; margin-left: auto; margin-right: auto; max-width: 1450px; padding: 0px 10px 0px 20px; background: #fdfdfd; border-radius: 4px; }
.custom-breadcrumbs nav, .custom-breadcrumbs p { margin: 0 !important; padding: 0 !important; display: inline; border: none; }
.custom-breadcrumbs a { color: #9127e9; font-size: 13px; text-decoration: none; font-weight: 600; }
.custom-breadcrumbs a:hover { color: #0079C1; text-decoration: underline; }
.custom-breadcrumbs span { color: #9127e9; margin: 0 1px; }
.custom-breadcrumbs .last { color: #0079C1; text-decoration: none; font-size: 13px; font-weight: 600; }

/* ****************************************************** */
/* ** ENDE ANPASSUNG HAUPTSEITE BUTTONS ** */
/* ****************************************************** */

/* Zentrierung und Padding für den Haupt-Content */
.entry-content.is-layout-constrained {
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 30px;
    max-width: 1420px;
    width: 100%; /* Sicherstellung, dass er auf Mobile voll ausfüllt */
}

/* Volle Breite Container mit Zentrierung und Sicherheitsabstand */
.ct-container-full {
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0px;
    max-width: 1420px;
    width: 100%;
    box-sizing: border-box; /* Damit das Padding die Breite nicht sprengt */
}

.ct-container {
    padding-top: 0px;
}

.entry-header,
.is-width-constrained {
    padding-top: 10px;
}

/* Blog-Bilder: Links, kompakt & CLS-Safe (Hochformat) */
.wp-block-image.size-large {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin-left: 0;
    margin-right: auto;
    overflow: hidden;
    display: block;
}

.wp-block-image.size-large img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Auf kleinen Handys darf es die volle Breite nutzen */
@media (max-width: 650px) {
    .wp-block-image.size-large {
        max-width: 100%;
    }
}

/* Zentrierung der H1/H2 Titel und Haupttexte */
h1, h2,
.main-intro-title,
.main-intro-subtitle,
.page-title {
    text-align: center !important; 
}

/* Reduzierte Schriftstärke für Haupttitel beibehalten */
h1.page-title, 
h2.page-title,
.main-intro-title,
.main-intro-subtitle {
    font-weight: 600 !important; 
}

/* NEU: Global definierte Schriftgröße für ARCHIV/TAXONOMIE TITEL */
.page-title {
    font-size: 2.2rem !important; 
    line-height: 1.1;
    text-transform: none !important; 
    letter-spacing: normal !important;
    margin-top: 35px !important;
    margin-bottom: 20px !important;
}
@media (max-width: 1023px) {
    .page-title {
        font-size: 1.8rem !important; 
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
}
/* ENDE NEU: Global definierte Schriftgröße */

/* ----------------------------------------------------------------------
   3. BUTTON-STYLING
---------------------------------------------------------------------- */
#submit {
    background-color: #000; 
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- Global CTA Button Styles --- */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px;
    margin-bottom: 15px; 
    border-radius: 12px; /* Deine konsistenten 12px (vorher 8px/12px Mix) */
    font-weight: 700;
    font-size: 20px;
    text-decoration: none !important;
    text-align: center;
    box-sizing: border-box;
    
    /* NEUTRALER Schatten: Funktioniert auf JEDER Buttonfarbe */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* HOVER: Konsistente Vergrößerung statt translateY */
.cta-button:hover {
    /* Skalierung statt Sprung nach oben */
    transform: scale(1.03) !important; 
    
    /* Sanftere Helligkeit, um Unruhe zu vermeiden */
    filter: brightness(1.05) !important; 
    
    /* Schatten wird tiefer, was den "Hebe-Effekt" verstärkt */
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25) !important;
}

/* ACTIVE: Haptisches Feedback beim Klicken (wird leicht kleiner) */
.cta-button:active {
    transform: scale(0.98) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.1s ease !important;
}

/* NEU: Icon-Wrapper für Konsequenz (Sorgt dafür, dass bunte SVGs auf farbigen Buttons sichtbar bleiben) */
.btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #ffffff;
    border-radius: 50%;
    margin-right: 0px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-icon-wrapper img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

/* --- VIP & Standard Buttons --- */
.free-btn, .vip-btn, .standard-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff !important;
    border: none;
}

/* Fansly: Hellblau zu Royalblau */
.fansly-btn { 
    background: linear-gradient(135deg, #2799F6 0%, #1071c0 100%) !important; 
    border: none;
    color: #ffffff !important;
}

/* Fanvue VIP: Giftgrün zu Waldgrün */
.fanvue-btn { 
    background: linear-gradient(135deg, #49F264 0%, #2ba341 100%) !important; 
    border: none;
    color: #000000 !important; 
}

/* Fanvue FREE: Etwas helleres Grün (ähnlich der OF-Logik) */
.fanvue-free-btn { 
    background: linear-gradient(135deg, #7cff91 0%, #49F264 100%) !important; 
    border: none;
    color: #000000 !important;
}

/* LoyalFans: Rot zu Weinrot */
.loyalfans-btn { 
    background: linear-gradient(135deg, #DA0B18 0%, #8e0710 100%) !important; 
    border: none;
    color: #ffffff !important;
}

/* Einheitlicher Icon-Wrapper für beide Fanvue-Buttons */
.fanvue-btn .btn-icon-wrapper,
.fanvue-free-btn .btn-icon-wrapper {
    background: #000000 !important;
}

/* Der Trial-Button mit deinen Original-Werten */
.trial-btn {
    position: relative; /* Notwendig für den Puls im Hintergrund */
    background: linear-gradient(45deg, #0079C1 10%, #a855f7 90%) !important;
    color: #ffffff !important;
    height: auto !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: transform 0.2s ease-in-out, filter 0.2s ease !important;
}

/* Der neue, CLS-freundliche Puls-Effekt */
.trial-btn::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    background: linear-gradient(45deg, #0079C1 10%, #a855f7 90%);
    z-index: -1;
    /* Animation nur mit transform/opacity für 0.00 CLS */
    animation: pulse-clean 2s cubic-bezier(0.24, 0, 0.38, 1) infinite !important;
}

.trial-btn:hover {
    transform: scale(1.02) !important;
    filter: brightness(1.05) !important;
}

.trial-btn:active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

/* GPU-optimierte Keyframes */
@keyframes pulse-clean {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.15, 1.4); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* ── CTA Button Sub-Selektoren (global — benötigt auf Best-Of & Single-Model) ── */
.cta-button .btn-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
    flex: 1;
    min-width: 0;
}
.cta-button .btn-platform {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700;
    opacity: 0.88;
    white-space: nowrap;
}
.cta-button .btn-label {
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}
@media (max-width: 1023px) {
    .btn-platform { display: none; }
}
@media (min-width: 1024px) {
    .btn-platform { display: inline; }
}

#SF-Filters.container {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    width: calc(100% - 30px) !important;
    max-width: 1420px !important;
    margin: 10px auto 10px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Zentrierung für die inneren Filter-Elemente (Einmal reicht!) */
#SF-Filters .sf-filter-wrapper, 
#SF-Filters .sf-results-container {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

/* Clean-up für Plugins */
.filter-results-wrap, .sfp-results-container, .search-filter-query {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- PREMIUM HERO CARD (Global & Desktop) --- */
.fb-hero-card-premium {
    background: linear-gradient(45deg, #0079C1 10%, #a855f7 90%) !important;
    border-radius: 24px;
    margin: 10px auto 10px auto !important; 
    max-width: 1420px !important;
    width: calc(100% - 30px) !important; 
    padding: 30px 30px 15px 30px; 
    color: #ffffff !important;
    box-sizing: border-box !important;
    display: block;
}

/* Header-Container: Hält Icons links und die Titel-Spalte rechts */
.fb-hero-header-flex {
    display: flex;
    align-items: center; /* Zentriert Icons vertikal zur Text-Gruppe */
    gap: 30px;
    margin-bottom: 20px;
}

/* Header-Container Free Site */
.fb-hero-header-free {
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert Logo + Text als Einheit */
    gap: 15px;
    margin-bottom: 20px;
}


/* Neue Spalte für H1 und H2 direkt nebeneinander */
.fb-header-titles {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Kompaktes Gitter für die Icons (2x2 Würfel) */
.fb-platform-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    flex-shrink: 0;
}

.icon-box-mini {
    background: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.icon-box-mini:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    cursor: pointer;
}

.icon-box-mini img {
    width: 100%;
    height: auto;
    max-height: 35px;
    display: block;
}

.fb-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fb-title-light {
    font-size: 2.4rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    text-align: left;
}

.fb-subtitle-light {
    font-size: 1.4rem !important; /* Leicht angepasst für die kompakte Ansicht */
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 700 !important;
    margin: 20px 0 0 0 !important; /* Kleiner Abstand nach oben zur H1 */
    text-align: left;
}

.fb-description-light p {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 10px !important;
}

/* --- LOGIK-STEUERUNG: DESKTOP VS MOBIL --- */

/* DESKTOP (Text immer voll da, kein Pfeil) */
@media (min-width: 1025px) {
    .fb-description-light {
        max-height: none !important;
        overflow: visible !important;
    }
    .hero-read-more-trigger {
        display: none !important;
    }
}

/* Standardmäßig die mobile H2 auf Desktop verstecken */
.d-mobile-only { display: none !important; }

/* MOBIL (Text eingeklappt, Pfeil sichtbar) */
@media (max-width: 1024px) {
    .fb-description-light {
        position: relative;
        max-height: 0px;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    }

    .fb-description-light.is-open {
        max-height: 1000px;
        transition: max-height 0.5s ease-in-out;
    }

    .hero-read-more-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0px 0;
        width: 100%;
        margin-top: -5px;
    }

    .fb-hero-card-premium {
        padding: 10px 10px 10px !important;
        margin: 5px auto 5px !important; 
        width: calc(100% - 20px) !important; 
    }

    .fb-hero-header-flex {
        flex-direction: column !important; 
        text-align: center !important; 
        gap: 10px; 
        margin-bottom: 10px;
    }

    .fb-hero-header-free {
        flex-direction: row; 
        text-align: center !important; 
        gap: 10px; 
        margin-bottom: 0px;
        margin-top: 9px;
        margin-left: 9px;
    }

    .fb-platform-grid-mini {
        grid-template-columns: repeat(4, 1fr);
    }

    .icon-box-mini {
        width: 40px;
        height: 40px;
    }

    .fb-title-light { 
        font-size: 18px !important;
        font-weight: 600!important;
        text-align: center !important;
    }

    .fb-subtitle-light {
        text-align: center;
        font-size: 13px !important;
        font-weight: 500!important;
        margin-top: 0px !important;
    }

    .fb-description-light p {
    font-size: 1rem !important;
    }

    .fb-hero-text {
        align-items: center;
    }

    /* Auf Mobil: Desktop-H2 weg, mobile H2 her */
    .d-desktop-only { display: none !important; }
    .d-mobile-only { display: block !important; margin-bottom: 15px !important; }
}

/* Gemeinsames Pfeil-Styling */
.hero-read-more-trigger .arrow-icon {
    width: 12px;
    height: 12px;
    border-right: 3px solid rgba(255,255,255,0.6);
    border-bottom: 3px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.hero-read-more-trigger.is-open .arrow-icon {
    transform: rotate(-135deg);
    margin-top: 5px;
}

/* 1. Grundzustand (Stabil für alle) */
.model-zoom-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible; 
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
}

/* 2. Zoom-Effekt NUR wenn eine echte Maus vorhanden ist */
/* Das ignoriert alle Touch-Displays, egal wie groß sie sind (iPad Pro, Surface etc.) */
@media (hover: hover) and (pointer: fine) {
    .model-card.fanbrowse-clean-grid:hover .model-zoom-container {
        transform: scale(1.02) translateZ(0);
    }
}

/* 3. Sicherheits-Reset für alles andere (Touch-Geräte) */
@media (hover: none), (pointer: coarse) {
    .model-card.fanbrowse-clean-grid:hover .model-zoom-container {
        transform: scale(1) translateZ(0) !important;
        /* Verhindert den Shift-Effekt beim Zurückkehren komplett */
    }
}

/* 2. Das Bundle (Name + Bild) */
.model-main-bundle {
    display: flex;
    flex-direction: column;
    background: #ffffff; 
    border-radius: 12px; /* Grund-Rundung */
    overflow: hidden;    
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 1. BASIS-STYLE (Hintergrund blau, Flex-Layout) */
/* Durch die Kombination der Klassen erhöhen wir die Stärke, ohne !important */
.model-name.model-name-top-small, 
.fanbrowse-related-grid .model-name-top-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #0079C1; 
    color: #ffffff;
    padding: 5px 10px;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
    margin-bottom: -1px; 
    border-radius: 12px 12px 0 0;
    position: relative;
    z-index: 2;
    text-decoration: none;
    overflow: hidden;
    flex-direction: row;
}

/* 2. NAMENS-KÜRZUNG */
.fb-name-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    margin-right: 8px;
}

/* 3. DAS VIOLETTE INFO-LABEL */
.fb-info-label {
    display: flex;
    align-items: center;
    background: #9333ea;
    color: #ffffff;      
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 4. DAS WEISSE ICON */
.fb-info-svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    filter: brightness(0) invert(1);
}

/* Deine stabilen Bild-Container (unverändert) */
.model-card.fanbrowse-clean-grid .model-img-wrap {
    display: block !important;
    margin: 0 !important;
    position: relative;
    aspect-ratio: 2 / 3; 
    line-height: 0;
    overflow: hidden;
    border-radius: 0 0 12px 12px !important; 
}

.model-card.fanbrowse-clean-grid .model-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    border-radius: 0 0 12px 12px !important;
    transition: none !important;
}

/* Sicherstellen, dass die Bilder im Related-Grid auch die richtige Rundung haben */
.fanbrowse-related-grid .model-img-wrap,
.fanbrowse-related-grid .model-img-wrap img {
    border-radius: 0 0 12px 12px !important;
}

/* Verhindert, dass Layout-Stile der H1 (Abstände/Gaps) auf die kleinen Karten durchschlagen */
.fanbrowse-related-grid .model-card-interaction-wrapper .model-name {
    margin: 0 !important;
    gap: 0 !important;
}

/* 3. Das kompakte Preis-Badge */
.price-badge-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #9333ea; 
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 15px;
    z-index: 10;
    border-radius: 12px 0 0 0 !important; 
}

/* --- GRID LIMITIERUNG & ZENTRIERUNG (Desktop) --- */
#models-grid-container-old, 
div.models-grid.fanbrowse-related-grid {
    width: 100% !important;
    max-width: 1450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
}

/* --- MOBILE ANPASSUNG (Unter 1024px) --- */
@media (max-width: 1023px) {
    #models-grid-container-old, 
    div.models-grid.fanbrowse-related-grid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .model-name.model-name-top-small, 
    .fanbrowse-related-grid .model-name-top-small {
        padding: 8px 8px;
        font-size: 15px;
    }
    
    .fb-info-label {
        font-size: 9px;
        padding: 2px 5px;
    }

    .fb-info-svg {
        width: 12px;
        height: 12px;
    }

   .price-badge-overlay {
    font-size: 14px;
    padding: 11px;
    } 

}

/* ==========================================================================
   2. FILTER UI DESIGN (S&F PRO V3 - PIXEL PERFECT FIX)
   ========================================================================== */

/* --- Haupt-Box Container (Kombiniert mit Ausklapp-Logik) --- */
.filter-ui-wrap {
    /* DEIN DESIGN */
    background: #0079c1 !important;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;

    /* DIE LOGIK (Startet geschlossen) */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 35px !important; /* Horizontales Padding bleibt */
    padding-right: 35px !important;
    margin-bottom: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease, padding 0.5s ease, margin 0.3s ease;
}

/* ZUSTAND WENN OFFEN (is-open wird per JS hinzugefügt) */
.filter-ui-wrap.is-open {
    max-height: 2500px; 
    opacity: 1;
    padding-top: 35px !important; 
    padding-bottom: 35px !important;
    margin-bottom: 0px;
    margin-top: 10px;
}

/* --- MOBILE ANPASSUNG --- */
@media (max-width: 1024px) {
    .filter-ui-wrap {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .filter-ui-wrap.is-open {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
}

/* 1. Der Haupt-Button mit DEINEN Original-Werten */
.fb-filter-toggle-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 350px;
    margin: 10px auto 10px auto;
    padding: 8px 25px;
    background: linear-gradient(45deg,#0079C1 10%,#a855f7 90%) !important;
    color: #ffffff !important;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    border: none;
    z-index: 1;
    transition: transform 0.2s ease-in-out, filter 0.2s ease !important;
    text-decoration: none;
}

/* 2. Der Puls-Effekt (Technik geändert für 0.00 CLS) */
.fb-filter-toggle-btn::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    background: linear-gradient(45deg, #0079C1 10%, #a855f7 90%) !important;
    z-index: -1;
    animation: pulse-clean 2s cubic-bezier(0.24, 0, 0.38, 1) infinite !important;
}

/* 3. DEIN Original-Hover */
.fb-filter-toggle-btn:hover {
    transform: scale(1.02) !important;
    filter: brightness(1.05) !important; /* Zurück auf deinen Wert */
}

/* 4. DEIN Original-Active */
.fb-filter-toggle-btn:active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

/* 5. Keyframes (Kein Box-Shadow = Kein CLS) */
@keyframes pulse-clean {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.1, 1.3); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* --- BADGE STYLE (H3 & RESET BUTTON BASE) --- */
/* V3.2.1 Update: .search-filter-component-reset button hinzugefügt */
.sf-block h3, 
.sf-meta-item h3{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #9333ea !important;
    padding: 6px 18px !important; 
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 18px !important; 
    line-height: 1 !important;
    text-transform: uppercase !important;
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
    min-width: 0 !important;
    vertical-align: middle !important;
}

/* PIXEL-PERFECT VERTICAL ALIGNMENT (RESET & ICONS) */
.search-filter-icon,
.search-filter-component-combobox__selection-remover,
.search-filter-icon-search-filter-component-combobox__selection-remove {
    padding: 0 !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
}

.search-filter-component-combobox--mode-multiple {
    min-width: 250px;
}

.search-filter-component-combobox__selection-label {
    display: inline-block !important;
    line-height: 1 !important;
    margin: 2px !important;
    padding: 2px !important;
}

button.search-filter-input-button.search-filter-field__input svg {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    fill: #9333ea !important;
    margin: 0 !important;
}

/* 1. Nur H3: Nicht anklickbar */
.sf-block h3, 
.sf-meta-item h3 {
    cursor: default !important;
    pointer-events: none !important;
    margin: 0 0 15px 0 !important;
}

/* Reset-Button Container Alignment */
.search-filter-field--control-type-reset,
.search-filter-component-reset {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
}

/* 2. Nur Reset-Button: Anklickbar & Hover */
.sf-block-reset button, 
.sf-block-reset .search-filter-input-button,
.search-filter-component-reset button,
.sf-reset {
    cursor: pointer !important;
    pointer-events: auto !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease-in-out !important;
    color: #9333ea!important;
    font-weight: 700;
}

button.search-filter-input-button.search-filter-field__input:hover,
.search-filter-component-reset button:hover {
    transform: scale(1.03) !important;
}

/* --- DROPDOWNS (COUNTRY, AGE, PRICE) --- */
/* V3.2.1 Update: .search-filter-component-combobox__control hinzugefügt */
.search-filter-component-combobox__header,
.search-filter-component-combobox__control,
.search-filter-select-range select,
.search-filter-component-combobox {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    height: 48px !important;
    color: #0079C1 !important;
    align-content: center !important;
}

.search-filter-field.search-filter-field--id-2 {
    margin: 4px !important;
    min-width: 265px;
}

/* --- AUFKLAPP-LISTE (POPUP) --- */
.search-filter-component-combobox-base__listbox {
    color: #0079C1 !important;
}

.search-filter-component-combobox__actions {
    color: #0079C1 !important;
}

.search-filter-component-listbox,
.search-filter-component-popup,
[role="listbox"].search-filter-component-listbox {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: none !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
    margin-top: 5px !important;
    overflow-y: auto !important;
    max-height: 250px !important;
    overflow-x: hidden !important;
}

.search-filter-input-button:hover {
    transform: scale(1.03) !important;
}

/* 2. Farbe des Placeholders im Suchfeld */
[data-sf-form-id="1"] {
    --search-filter-input-placeholder-color: #0079C1 !important;
}

.search-filter-component-combobox__selection-placeholder {
    color: #0079C1 !important;
}

.search-filter-component-combobox__actions-input::placeholder {
    color: #0079C1 !important;
}

.search-filter-component-combobox .search-filter-component-combobox__actions .search-filter-component-combobox__selection, .search-filter-component-combobox .search-filter-component-combobox__actions input[type=text] {
    align-content: center !important;
}

.search-filter-component-listbox__option:first-child {
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
}

.search-filter-component-listbox__option:last-child {
    border-bottom-left-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
}

/* --- CUSTOM SCROLLBAR FIX (RUNDE ECKEN RECHTS) --- */
.search-filter-component-listbox::-webkit-scrollbar {
    width: 10px !important;
}

.search-filter-component-listbox::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-top-right-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
}

.search-filter-component-listbox::-webkit-scrollbar-thumb {
    background: #9333ea !important;
    border-radius: 10px !important;
    border: 2px solid #f1f1f1 !important;
}

.search-filter-component-listbox::-webkit-scrollbar-thumb:hover {
    background: #0079C1 !important;
}

.search-filter-component-listbox__option {
    padding: 10px 15px !important;
    transition: background 0.2s ease !important;
}

.search-filter-component-listbox__option[aria-selected="true"],
.search-filter-component-listbox__option--highlighted {
    background: #9333ea !important;
    color: #ffffff !important;
}

/* --- ALLGEMEINE ICONS (PFEILE ETC.) --- */
.search-filter-component-combobox__input-divider {
    display: none !important;
}

.search-filter-icon__svg,
.search-filter-component-combobox__listbox-toggle svg {
    width: 22px !important;
    height: 22px !important;
    fill: #0079C1 !important;
    color: #0079C1 !important;
}

/* --- LAYOUT ABSTÄNDE --- */
.sf-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    max-width: fit-content;
}

.sf-meta-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

.sf-meta-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    max-width: 265px;
    margin-right: 10px;
}

/* ── Platform icons inline row ───────────────────────────────── */
.sf-platform-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

/* Each S&F field wrapper inside the row: shrink to icon size */
.sf-platform-row .search-filter-field {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* Checkbox+label wrapper inside each field */
.sf-platform-row .search-filter-input-checkbox {
    display: flex !important;
    align-items: center;
    gap: 0 !important;
}

/* Hide the actual checkbox input, keep the label icon */
.sf-platform-row .search-filter-input-checkbox__input {
    margin: 0 !important;
}

sf-block-reset{
    flex-direction: column !important;
    align-items: flex-start !important;
    max-width: 265px !important;
}

.search-filter-field.search-filter-field--id-99,
.search-filter-field.search-filter-field--id-121,
.search-filter-field.search-filter-field--id-113{
    margin-top: 10px !important;
}


.search-filter-select-range {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 4px !important;
    min-width: 265px;
}

.search-filter-select-range__separator {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 20px !important;
}

/* ==========================================================================
   3. MODEL GRID SYSTEM
   ========================================================================== */
.models-grid, .search-filter-posts {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 24px !important;
    margin: 15px auto 10px !important; 
    width: 100% !important;
    max-width: 1420px;
}

.model-card, .post {
    background: #fff; border-radius: 12px; padding: 22px;
    box-shadow: 0 4px 24px rgba(10,36,99,0.07);
    transition: all 0.2s ease;
}

.model-card:hover, .post:hover {
    box-shadow: 0 8px 36px rgba(10,36,99,0.15);
    transform: translateY(-3px);
}

/* ==========================================================================
   4. MOBILE FIX (10px Rand)
   ========================================================================== */
@media (max-width: 1024px) {
    #SF-Filters.container { 
        /* Hier schalten wir auf 10px Rand links/rechts um */
        width: calc(100% - 20px) !important; 
        margin: 10px auto 10px!important;
    }

    .model-card, .post {
    padding: 0px;
    }
    
    .sf-meta-row { flex-direction: column; align-items: flex-start; }
    .sf-pagination-wrap { padding-left: 0 !important; text-align: center; }

    .models-grid, .search-filter-posts {
        grid-template-columns: repeat(auto-fill,minmax(155px,1fr))!important;
        gap: 12px !important;
        max-width: 850px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Chips Styling */
.fb-filter-chips-wrapper { margin-top: 20px; }
.chip-title { font-size: 0.9rem; color: #64748b; margin-bottom: 10px; text-transform: uppercase; }
.fb-chips-scroll { 
    display: flex; 
    overflow-x: auto; 
    gap: 10px; 
    padding-bottom: 10px;
    scrollbar-width: none; /* Firefox */
}
.fb-chips-scroll::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.filter-chip {
    background: #f1f5f9;
    padding: 8px 18px;
    border-radius: 20px;
    white-space: nowrap;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.filter-chip:hover { background: #a033ff; color: #fff; }


/* 1. Den äußeren Rahmen auf Flex stellen */
.fb-free-buttons-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: left !important;
    margin-bottom: 0px !important;
    margin-left: 20px;
    margin-top: 5px;
}

/* 2. Die Blockade der S&F-Feld-Container aufheben */
/* Das ist der wichtigste Teil, um die 100% Breite zu killen */
.fb-free-buttons-wrap .search-filter-field,
.fb-free-buttons-wrap .sf-field {
    width: auto !important; /* Verhindert, dass das Feld die ganze Zeile einnimmt */
    display: inline-block !important; /* Erlaubt das Nebeneinanderstehen */
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Den Inhalt der Felder (Listen & Buttons) fließen lassen */
.fb-free-buttons-wrap .sf-field__control,
.fb-free-buttons-wrap .search-filter-field__control {
    display: inline-flex !important;
    gap: 8px !important;
}

/* 2. Hover Effekt (Komma nach :hover entfernt!) */
.fb-free-buttons-wrap .search-filter-input-button:hover,
.fb-free-buttons-wrap button[type="reset"]:hover {
    transform: scale(1.03) !important;
}

.fb-filter-section {
    padding-top: 20px;
}

/* --- FanBrowse SEO FAQ Card --- */
.fb-seo-faq-card {
    max-width: 1450px;
    margin: 10px auto 10px auto;
    padding: 40px;
    background: #ffffff;
    border: 2px solid #0079C1;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
}

.fb-faq-title {
    font-size: 1.8rem;
    color: #111111;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.fb-faq-icon {
    font-size: 2rem;
}

.fb-faq-grid {
    display: grid;
    gap: 35px;
}

.fb-qa-question {
    color: #0079C1;
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.fb-qa-answer {
    color: #333333;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.fb-cta-text {
    color: #666666;
    margin-bottom: 15px;
}

.sf-end-of-results {
    padding-top: 20px; /* Kleiner Abstand zur Box */
    padding-bottom: 60px;
    text-align: center;
}

/* Mobile Optimierung */
@media (max-width: 1024px) {
    .fb-seo-faq-card {
        margin: 0px 10px 10px;
        padding: 25px 20px;
    }
    
    .fb-faq-title {
        font-size: 1.5rem;
    }
    
    .fb-qa-question {
        font-size: 1.15rem;
    }

    .fb-free-buttons-wrap {
    margin-left: 0px;
    }
}

/* --- FANBROWSE FOOTER SEO SECTION --- */
.footer-seo-content {
    padding: 30px 15px;
    font-family: sans-serif;
}

.fb-seo-container {
    max-width: 1450px;
    margin: 0 auto;
}

.fb-seo-header {
    text-align: center;
    margin-bottom: 50px;
}

.fb-seo-header h2 {
    font-size: 30px;
}

.fb-seo-header h3 {
    color: #1e293b;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.fb-seo-header p {
    max-width: 850px;
    margin: 0 auto;
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.6;
}

.fb-seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    color: #475569;
    line-height: 1.7;
}

.fb-seo-col h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.fb-seo-tags-wrap {
    margin-top: 10px;
    padding-top: 30px;
    text-align: center;
    font-size: 1rem;
}

.fb-seo-tags-title {
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fb-seo-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 25px;
}

.fb-seo-tag-cloud a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.fb-seo-tag-cloud a:hover {
    color: #0079c1;
}

.fb-seo-tag-special {
    font-weight: 800 !important;
}

.fb-seo-footer-statement {
    margin-top: 50px;
    font-weight: 900;
    color: #a033ff;
    letter-spacing: 3px;
    font-size: 1.6rem;
    text-transform: uppercase;
}

/* Mobile Optimierung */
@media (max-width: 1024px) {
    .fb-seo-header h3 { font-size: 1.8rem; }
    .fb-seo-header h2 { font-size: 20px; }
    .fb-seo-col h3 { font-size: 20px; }
    .fb-seo-footer-statement { font-size: 1.2rem; }
    .fb-seo-grid { gap: 10px; }
}

/* ============================================================
   FANBROWSE COUNTRY HUB - MOBILE COMPACT VERSION
   ============================================================ */
:root {
    --fb-purple: #9127e9;
    --fb-blue: #0079C1;
    --fb-text: #2d3436;
    --fb-muted: #636e72;
    --fb-bg: #ffffff;
}

.fb-mix-container {
    background: var(--fb-bg);
    color: var(--fb-text);
    font-family: 'Inter', sans-serif;
    padding-bottom: 20px;
}

/* Kompakter Hero */
.fb-mix-hero {
    padding: 10px 15px;
    text-align: center;
    background: #fcfcfd;
    border-bottom: 1px solid #eee;
}

.fb-mix-hero h1 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--fb-text);
    line-height: 1.2;
}

.fb-mix-hero h1 span { color: var(--fb-blue); }

.fb-mix-hero p {
    font-size: 13px;
    color: var(--fb-muted);
    margin: 0 auto 15px;
    max-width: 400px;
}

.fb-mix-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.fb-mix-stat-item strong {
    display: block;
    font-size: 16px;
    color: var(--fb-purple);
}

.fb-mix-stat-item span {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--fb-muted);
}

/* Region Layout */
.fb-mix-region {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 10px;
}

.fb-mix-region-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--fb-muted);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
    margin-bottom: 12px;
    display: block;
}

/* 2-Spalten-Grid für Mobile */
.fb-mix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* Kacheln: Flagge und Name nebeneinander */
.fb-mix-card {
    background: var(--fb-bg);
    border: 1px solid #0079C1;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 85px;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
    .fb-mix-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 121, 193, 0.18);
    }
    .fb-mix-cta-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
}

.fb-mix-header-row {
    display: flex;
    align-items: center;
    gap: 8px; /* Abstand Flagge zu Name */
    margin-bottom: 2px;
}

.fb-mix-flag { font-size: 20px; line-height: 1; }

.fb-mix-name {
    font-weight: 700;
    color: var(--fb-text);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fb-mix-native {
    font-size: 10px;
    color: var(--fb-blue);
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.fb-mix-tagline {
    font-size: 10px;
    color: var(--fb-muted);
    line-height: 1.2;
    margin: 0px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA Buttons mit weißer Emoji-Box */
.fb-mix-cta-wrap {
    max-width: 1200px;
    margin: 30px auto; /* 'auto' zentriert den Container auf dem Desktop */
    padding: 0 10px;   /* Seitlicher Abstand für Mobilgeräte */
    display: flex;
    flex-direction: column; /* Mobil: Untereinander */
    gap: 15px;
}

/* Die einzelnen CTA Boxen */
.fb-mix-cta-box {
    display: flex;
    align-items: center;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff !important;
    background-color: #0068c9;
    width: 100%;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.fb-mix-cta-box.category { background-color: var(--fb-blue); }
.fb-mix-cta-box.search { background-color: var(--fb-purple); }

.fb-mix-emoji-box {
    background: rgba(255, 255, 255, 1); /* Weiße Box */
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fb-mix-cta-title {
    font-size: 16px;
    font-weight: 700;
    display: block;
}

.fb-mix-cta-desc {
    font-size: 11px;
    display: block;
}

/* Screen Reader Accessibility */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* FAQ Section */
.fb-faq-section {
    margin-top: 20px;
    padding-bottom: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.fb-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.fb-faq-item h3 {
    color: var(--fb-blue);
    font-size: 16px;
    margin-bottom: 10px;
}

.fb-faq-item p {
    font-size: 14px;
    color: var(--fb-muted);
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .fb-mix-grid { grid-template-columns: repeat(4, 1fr); }
    .fb-mix-hero {padding: 25px 15px; }
    .fb-mix-cta-wrap {
        flex-direction: row; /* Desktop: Nebeneinander */
        justify-content: flex-start; /* Linksbündig innerhalb der 1200px */
    }

    .fb-mix-cta-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        flex: 1; /* Das ist der Zaubertrick: Beide Buttons werden exakt gleich lang */
        max-width: 592px; /* Optional: Damit sie bei 1200px inkl. Gap perfekt passen */
    }
}

.fb-search-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
.fb-search-blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
}
.fb-search-blog-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.fb-search-blog-text {
    padding: 12px 14px;
}
.fb-search-blog-text strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    color: #1a1a2e;
}
.fb-search-blog-text p {
    font-size: 13px;
    color: #555;
    margin: 0;
}
.fb-search-page-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.fb-search-page-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.fb-search-page-list li a {
    color: #0079c1;
    font-size: 15px;
}

.fb-footer-nav {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.fb-footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    color: #fff;
}
.fb-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fb-footer-col ul li {
    margin-bottom: 6px;
}
.fb-footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}
.fb-footer-col ul li a:hover {
    color: #fff;
}

/* ========================================================= */
/* VERSTECKEN DER SCHWEBENDEN "TRENDING POSTS" LEISTE (section.ct-trending-block) */
/* Diese Regel gilt FÜR ALLE BILDSCHIRMGRÖSSEN (Desktop, Tablet, Mobile) */
/* ========================================================= */

/* Blendet das schwebende Element, welches im Customizer als "section.ct-trending-block" identifiziert wurde, vollständig aus. */
.ct-trending-block {
    display: none !important;
}

/* ======================================================================
   FANBROWSE: CTA FILTER BEREICH (Shortcode: [fanbrowse_cta_filter])
   ====================================================================== */

.fanbrowse-cta-filter-wrap {
    display: block; 
    text-align: center;
    margin: 40px auto 60px;
    padding: 0 15px;
    max-width: 1200px;
    clear: both; /* FÜR DIE ÜBERLAPUNGSKORREKTUR */
    min-height: 150px; /* FÜR DIE ÜBERLAPUNGSKORREKTUR */
}

/* DIESE DREI KLASSEN ERZWINGEN DIE VERTIKALE STAPELUNG */
.cta-heading-line, .cta-info-line, .cta-button-line {
    display: block; 
    width: 100%;
    margin-bottom: 15px;
}

.cta-heading-line {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.cta-info-line {
    font-size: 1.3rem;
    color: #666;
    margin-top: 10px;
}

/* ================================================================
   FANBROWSE — Global Pill & Count Classes
   Used across: Models, Free, Categories, Countries, Taxonomy pages
   ================================================================ */

/* ── Stats Pills — Hub style (used on all pages) ─────────────── */
.fb-hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.fb-hub-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .fb-hub-stats {
    align-items: center;
    gap: 6px;
    margin-top: 8px;
  }
  .fb-hub-stat-pill {
    font-size: 11px;
    width: fit-content;
    text-align: center;
  }
}

/* ── Creator Count Badge on Category/Country Cards ───────────── */
.fb-mix-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #9127e9;
  background: #f8f5ff;
  border: 1px solid #e2d5f8;
  padding: 2px 7px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ================================================================
   ACCESSIBILITY — Links in FAQ/SEO text areas
   PageSpeed: Links must be distinguishable beyond color alone
   ================================================================ */
.fb-qa-answer a,
.fb-faq-grid a,
.fb-seo-container a,
.fb-seo-col a,
.best-of-faq a,
.best-of-content-block a,
.fb-hub-faq a,
.footer-seo-content a {
  text-decoration: underline;
}
 
.fb-qa-answer a:hover,
.fb-faq-grid a:hover,
.fb-seo-container a:hover,
.fb-seo-col a:hover,
.best-of-faq a:hover,
.best-of-content-block a:hover,
.fb-hub-faq a:hover,
.footer-seo-content a:hover {
  text-decoration: none;
}
/* ================================================================
   FANBROWSE — Country Page Sections
   Extracted from taxonomy-country.php inline styles
   All classes prefixed fb-country- to avoid conflicts
   ================================================================ */

/* ── Popular Niches Section ────────────────────────────────── */
.fb-country-niches {
  padding: 20px 20px 10px;
}

.fb-country-niches-title {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.fb-country-niches-desc {
  margin-bottom: 14px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.fb-country-niches-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Pills: #9127e9 on #f8f5ff = 5.31:1 WCAG AA ✓ */
.fb-country-niche-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8f5ff;
  border: 1px solid #e2d5f8;
  color: #9127e9;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.fb-country-niche-pill:hover {
  background: #9127e9;
  color: #fff;
  border-color: #9127e9;
}

/* Count: #666 on #f8f5ff = 5.24:1 WCAG AA ✓ */
.fb-country-niche-count {
  color: #666;
  font-size: 11px;
  font-weight: 500;
}

.fb-country-niche-pill:hover .fb-country-niche-count {
  color: rgba(255,255,255,0.8);
}

/* ── Platform Section ──────────────────────────────────────── */
.fb-country-platform-section {
  padding: 30px 20px;
}

/* ── FAQ Sections ──────────────────────────────────────────── */

.fb-country-faq-section {
  max-width: 1450px;
  margin: 10px auto;
  padding: 32px 40px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.fb-country-faq-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.fb-country-faq-grid {
  margin-top: 20px;
}

/* ── Keywords Footer ───────────────────────────────────────── */
.fb-country-keywords-wrap {
  margin-top: 24px;
}

.fb-country-keywords-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

/* ── Hero Stats ────────────────────────────────────────────── */
.fb-country-hero-stats {
  margin-top: 12px;
}

/* ── Filters Container ─────────────────────────────────────── */
.fb-country-filters-container {
  padding-top: 20px;
  min-height: auto;
}

/* ── End of Results ────────────────────────────────────────── */
.fb-country-end-results {
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

.fb-section-title {
    font-size: 30px;
}

/* ── Mobile adjustments ────────────────────────────────────── */
@media (max-width: 1023px) {
  .fb-country-niches-wrap {
    gap: 6px;
  }
  .fb-country-niche-pill {
    font-size: 12px;
    padding: 5px 11px;
  }
  .fb-section-title {
    font-size: 20px;
  }   
  .fb-country-platform-section {
    padding: 20px 16px;
  }
}

/* ================================================================
   FANBROWSE — FAQ Alignment Fix (all taxonomy pages)
   Ensures FAQ grid text aligns with design system
   ================================================================ */

/* FAQ section heading — centered like other section titles */
.fb-seo-faq-card .fb-faq-title {
  text-align: center;
}

/* FAQ grid — 2 cols desktop, 1 col mobile */
.fb-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Individual FAQ items */
.fb-qa-item {
  background: #f8f8fc;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #ececf5;
}

.fb-qa-question {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
  line-height: 1.4;
}

.fb-qa-answer {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* Links in FAQ answers — underline for accessibility */
.fb-qa-answer a,
.fb-country-keywords-text a {
  color: #9127e9;
  text-decoration: underline;
}

.fb-qa-answer a:hover,
.fb-country-keywords-text a:hover {
  text-decoration: none;
}

@media (max-width: 1023px) {
  .fb-faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .fb-qa-item {
    padding: 16px;
  }
}

/* ================================================================
   FANBROWSE — Country Page: Layout & UX Fixes
   ================================================================ */

/* ── Explore CTA (replaces "Start New Search") ─────────────── */
.fb-country-end-results {
  padding: 24px 20px 20px;
  text-align: center;
}

.fb-country-end-text {
  font-size: 15px;
  color: #555;
  margin-bottom: 14px;
}


/* old fb-explore-btn removed — see fb-explore-countries/categories/models below */

/* ── Popular Niches: center & consistent width ─────────────── */
.fb-country-niches {
  padding: 24px 20px 16px;
  max-width: 1450px;
  margin: 0 auto;
  text-align: center;
}

.fb-country-niches-title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.fb-country-niches-desc {
  margin-bottom: 14px;
  color: #555;
  font-size: 0.93rem;
  line-height: 1.6;
}

.fb-country-niches-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* Pills: #9127e9 on #f8f5ff = 5.31:1 WCAG AA ✓ */
.fb-country-niche-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8f5ff;
  border: 1px solid #e2d5f8;
  color: #9127e9;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.fb-country-niche-pill:hover {
  background: #9127e9;
  color: #fff;
  border-color: #9127e9;
}

/* Count: #5a189a on #f8f5ff = 6.7:1 WCAG AA ✓ stronger purple */
.fb-country-niche-count {
  color: #5a189a;
  font-size: 11px;
  font-weight: 600;
}

.fb-country-niche-pill:hover .fb-country-niche-count {
  color: rgba(255,255,255,0.85);
}

/* ── Platform Section ──────────────────────────────────────── */
.fb-country-platform-section {
  padding: 28px 20px;
  max-width: 1450px;
  margin: 0 auto;
}

/* .fb-country-faq-section styled below without blue border */

/* ── Keywords / Related searches — centered, constrained ───── */
.fb-country-keywords-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ececf5;
  text-align: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.fb-country-keywords-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.9;
  text-align: center;
}

/* ── Explore regions tag cloud — clean, after FAQ ──────────── */
.fb-country-regions {
  padding: 24px 20px 40px;
  text-align: center;
  border-top: 1px solid #ececf5;
  margin-top: 0;
}

.fb-country-regions-inner {
  max-width: 1450px;
  margin: 0 auto;
}

.fb-country-regions-title {
  font-size: 13px;
  font-weight: 700;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* Tag cloud links reuse fb-seo-tag-cloud styles */
.fb-country-regions .fb-seo-tag-cloud {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1023px) {
  .fb-country-niches {
    padding: 18px 16px 12px;
  }
}

/* ── Explore Button Grid ────────────────────────────────────
   Each button has its own class — no :nth-child fragility
   Mobile: 2-col (countries + categories) + full-width models
   Desktop 1024px+: 3-col equal
   ─────────────────────────────────────────────────────────── */
.fb-explore-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}
 
/* Shared base styles */
.fb-explore-countries,
.fb-explore-categories,
.fb-explore-models {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  transition: opacity 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
 
/* All Countries */
.fb-explore-countries {
  background: #0079C1;
  color: #fff;
}
 
.fb-explore-countries:hover {
  background: #005fa3;
  color: #fff;
  transform: translateY(-1px);
}
 
/* All Categories */
.fb-explore-categories {
  background: #005a94;
  color: #fff;
}
 
.fb-explore-categories:hover {
  background: #004a7a;
  color: #fff;
  transform: translateY(-1px);
}
 
/* All Models — gradient, spans full width on mobile */
.fb-explore-models {
  grid-column: 1 / -1;
  background: linear-gradient(45deg, #0079C1 10%, #a855f7 90%);
  color: #fff;
  margin-top: 5px;
}
 
.fb-explore-models:hover {
  opacity: 0.88;
  color: #fff;
  transform: translateY(-1px);
}
 
/* Desktop: all 3 in one row */
@media (min-width: 1024px) {
  .fb-explore-btn-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .fb-explore-models {
    grid-column: auto;
    margin-top: 0;
  }
}