/**
 * Single-Post (News + Fanfoto) – Galerie, Lightbox, Buttons, Kommentare.
 * EINE Quelle für alle Single-Post-Styles.
 * Hohe Spezifität (body .ff-single-fanfoto) überschreibt GeneratePress.
 * Deploy: nach Theme-Root (generatepress-child).
 */

/* ===== UNIVERSAL-FIXES für Single-Seiten (greift immer) ===== */

/* Hintergrund der gesamten Seite auf Grau zwingen (falls Body weiß ist) */
body.single {
    background: #f5f5f5 !important;
}

/* 1. Layout: EINE große weiße Karte, breiter */
body.single .ff-main.ff-single-news .ff-container,
body.single .ff-main.ff-single-fanfoto .ff-container,
body.single .ff-container {
    max-width: 1360px !important;
    width: 97%;
    margin: clamp(0px, 3vw, 40px) auto !important;
    padding: clamp(20px, 5vw, 60px) clamp(12px, 6vw, 80px) !important;
    background: #fff !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 24px rgba(0,0,0,0.04) !important;
    border: 1px solid #eee !important;
    box-sizing: border-box;
}

/* Innere Karten (Artikel, Kommentare) neutralisieren -> alles auf einem Hintergrund */
body.single .ff-single-news-article,
body.single .ff-comments-wrap .comment-body {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* 2. Überschriften-Fix */
body.single .entry-title,
body.single h1.ff-page-title,
body.single .ff-page-title {
    font-size: clamp(1.5rem, 4vw, 2.8rem) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #111 !important;
    hyphens: auto !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    margin-bottom: 12px !important;
    padding-bottom: 16px !important;
    border-bottom: 4px solid #c62828 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 3. Bilder IMMER volle Breite */
body.single .entry-content img,
body.single .entry-content figure img,
body.single article img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    margin: 24px 0 !important;
    object-fit: cover !important;
}
/* Ausnahme: Smileys oder Icons im Text nicht riesig machen */
body.single .entry-content img.emoji,
body.single .entry-content img.avatar {
    width: auto !important;
    box-shadow: none !important;
    margin: 0 !important;
    display: inline !important;
}

/* 4. Kommentare: ALLES rot, was Link ist */
body.single .logged-in-as a,
body.single .comment-reply-link,
body.single #comments a {
    color: #c62828 !important;
}
body.single .logged-in-as {
    color: #888 !important;
}

/* 5. Zurück-Button (Galerie): Exakt wie Alle Teams (Pill, weiß, Hover slide rot) */
body.single .ff-back-link {
    margin: 0 0 24px;
}
body.single .ff-back-link a,
body.single a.ff-back-btn {
    outline: none;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    background: #fff; /* Wie Fotos Deutschland */
    border-radius: 500px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    transition: color 0.25s, border-color 0.25s;
    z-index: 1;
}
body.single .ff-back-link a::before,
body.single a.ff-back-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #c62828;
    transform: skew(30deg) translate3d(-100%, 0, 0);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    z-index: -1;
}
body.single .ff-back-link a:hover,
body.single a.ff-back-btn:hover {
    color: #fff;
    border-color: #c62828;
    box-shadow: none;
    text-decoration: none;
}
body.single .ff-back-link a:hover::before,
body.single a.ff-back-btn:hover::before {
    transform: skew(30deg) translate3d(0, 0, 0);
}

/* 6. Kommentar-Button: exakt wie Fotos-Deutschland / Zurück-Button */
button.ff-btn-slide,
body.single .form-submit .ff-btn-slide {
    outline: none;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    background: #fff;
    border-radius: 500px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: none !important;
    transition: color 0.25s, border-color 0.25s;
    z-index: 1;
    font-family: inherit;
}
button.ff-btn-slide::before,
body.single .form-submit .ff-btn-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #c62828;
    transform: skew(30deg) translate3d(-100%, 0, 0);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
    z-index: -1;
}
button.ff-btn-slide:hover,
body.single .form-submit .ff-btn-slide:hover {
    color: #fff;
    border-color: #c62828;
    box-shadow: none;
    text-decoration: none;
}
button.ff-btn-slide:hover::before,
body.single .form-submit .ff-btn-slide:hover::before {
    transform: skew(30deg) translate3d(0, 0, 0);
}

/* Fallback: input submit */
body.single .form-submit input[type="submit"] {
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #555 !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 500px !important;
    box-shadow: none !important;
}
body.single .form-submit input[type="submit"]:hover {
    color: #fff !important;
    background: #c62828 !important;
    border-color: #c62828 !important;
}

/* 7. Navigation: Bilder groß */
body.single .ff-nav-thumb {
    width: 90px !important;
    height: 90px !important;
}


/* ===== GALERIE (Fotos Deutschland) - Grid & Lightbox ===== */

/* Grid: Bilder füllen die Zellen, keine Kacheln/Rahmen um die Bilder */
.ff-fanfoto-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin-top: 24px;
}
/* Galerie Grid: Sauber, kein Standard-Button-Grau */
.ff-gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent !important;
    cursor: pointer;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px; /* Leicht abgerundet sieht professioneller aus */
    box-shadow: none !important;
    appearance: none; /* Wichtig: Entfernt Button-Styles */
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: opacity 0.2s;
}
.ff-gallery-item:hover {
    opacity: 0.9;
    background: transparent !important;
}
.ff-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    border-radius: 8px !important; /* Passend zum Container */
}

/* Lightbox Overlay */
.ff-gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.ff-gallery-lightbox.ff-lightbox-open {
    opacity: 1;
    pointer-events: auto;
}
.ff-gallery-lightbox[hidden] {
    display: flex !important; /* Überschreibt hidden attribute für transition, opacity regelt Sichtbarkeit */
    opacity: 0;
    pointer-events: none;
}

/* Lightbox Content */
.ff-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ff-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    border-radius: 4px;
    margin: 0 !important;
}

/* Lightbox Controls: position fixed, bleiben immer an gleicher Stelle (bewegen sich nicht) */
.ff-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 100001;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ff-lightbox-prev,
.ff-lightbox-next {
    position: fixed;
    top: 50%;
    margin-top: -26px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    z-index: 100001;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.ff-lightbox-prev { left: 20px; }
.ff-lightbox-next { right: 20px; }
.ff-lightbox-prev:hover,
.ff-lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}

.ff-lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    margin-left: -40px;
    width: 80px;
    text-align: center;
    color: #bbb;
    font-size: 14px;
    font-family: sans-serif;
    z-index: 100001;
}

/* Mobile Adjustments for Lightbox */
@media (max-width: 768px) {
    .ff-fanfoto-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    .ff-lightbox-prev, 
    .ff-lightbox-next {
        padding: 10px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}


/* ===== Single-Content (News) – modern, an Startseite angepasst ===== */
/* Restliche spezifische Styles für News-Container */
body.single main.ff-main.ff-single-news,
body.single main.ff-main.ff-single-fanfoto {
    background: #f5f5f5;
}
/* Galerie-Seite: nichts abschneiden, Inhalt darf nach unten wachsen */
body.single .ff-single-sticky-wrap,
body.single main.ff-main.ff-single-fanfoto,
body.single main.ff-main.ff-single-fanfoto .ff-container {
    overflow: visible !important;
    min-height: 0;
}

body.single .ff-main.ff-single-news .ff-single-news-article {
    /* Neutralisiert durch Universal-Fix oben */
}

/* Meta-Zeile (Datum) unter der Überschrift */
body.single .ff-main.ff-single-news .ff-single-meta {
    font-size: 15px;
    font-weight: 500;
    color: #666;
    margin: 0 0 32px;
    letter-spacing: 0.01em;
}

/* Featured Image: normal in der Kachel (nicht breiter) */
body.single .ff-main.ff-single-news .ff-single-featured-img {
    margin: 0 0 36px; /* Keine negativen Margins mehr */
    border-radius: 12px; /* Rundung passend zum Bild */
    overflow: hidden;
    box-shadow: none;
    border: none;
}
@media (max-width: 768px) {
    body.single .ff-main.ff-single-news .ff-single-featured-img {
        margin: 0 0 24px;
        border-radius: 8px;
    }
}
body.single .ff-main.ff-single-news .ff-single-featured-img img {
    width: 100%;
    height: auto;
    max-height: 600px; /* Etwas höher erlaubt */
    object-fit: cover;
    display: block;
    margin: 0 !important;
}

/* Lightbox Controls: fixed, KEINE BEWEGUNG bei Hover, nur Farbe */
/* Icons per CSS (SVG), damit sie sicher mittig sind, egal was im HTML steht */
.ff-lightbox-close {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background-color: #c62828 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 24px !important;
    border: 2px solid #111 !important;
    color: transparent !important; /* Text ausblenden */
    font-size: 0 !important;
    cursor: pointer !important;
    z-index: 200000 !important;
    padding: 0 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    transform: none !important;
    transition: background-color 0.2s !important;
}
/* Falls span/svg im HTML sind: ausblenden */
.ff-lightbox-close span,
.ff-lightbox-close svg {
    display: none !important;
}
.ff-lightbox-close:hover {
    background-color: #b71c1c !important;
    transform: none !important;
}

.ff-lightbox-prev,
.ff-lightbox-next {
    position: fixed !important;
    top: 50% !important;
    margin-top: -26px !important;
    background-color: #c62828 !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 24px !important;
    border: 2px solid #111 !important;
    color: transparent !important;
    font-size: 0 !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 200000 !important;
    border-radius: 50% !important;
    width: 52px !important;
    height: 52px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    transform: none !important;
    transition: background-color 0.2s !important;
}
.ff-lightbox-prev {
    left: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}
.ff-lightbox-next {
    right: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
}
.ff-lightbox-prev span,
.ff-lightbox-next span,
.ff-lightbox-prev svg,
.ff-lightbox-next svg {
    display: none !important;
}
.ff-lightbox-prev:hover,
.ff-lightbox-next:hover {
    background-color: #b71c1c !important;
    transform: none !important;
}

/* Titel (Fotos Deutschland Galerie): Größer & Fetter */
body.single .ff-main.ff-single-fanfoto .ff-page-title {
    font-size: 2.6rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

/* ===== Kommentar-Sektion: ohne Rahmen, nur Überschrift / Eingabefeld / Liste ===== */
body.single .ff-comments-wrap {
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 638px;
    width: 100%;
    box-sizing: border-box;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
body.single .ff-comments-wrap #comments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}
body.single .ff-comments-wrap .comments-title,
body.single .ff-comments-wrap #comments .comments-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: #000000;
    margin: 0;
    padding: 0;
    border: none !important;
    width: 100%;
    order: 1;
}
/* Zusätzliche Überschriften im Formular ausblenden (z. B. „Antwort hinterlassen“) */
body.single .ff-comments-wrap #respond .comment-reply-title,
body.single .ff-comments-wrap #respond h3 {
    display: none !important;
}
/* Kein roter Unterstrich/Links in Kommentarbereich */
body.single .ff-comments-wrap #comments a,
body.single .ff-comments-wrap .comment-reply-link {
    color: #7B7B7B !important;
}
body.single .ff-comments-wrap .comment-author a { color: #000000 !important; }
body.single .ff-comments-wrap #respond {
    order: 2;
    width: 100%;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}
body.single .ff-comments-wrap .comment-form-author,
body.single .ff-comments-wrap .comment-form-email,
body.single .ff-comments-wrap .comment-form-url,
body.single .ff-comments-wrap .comment-notes {
    display: none !important;
}
body.single .ff-comments-wrap #respond .comment-form-comment,
body.single .ff-comments-wrap #respond .comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    border: none !important;
    background: transparent !important;
}
body.single .ff-comments-wrap .comment-form-comment textarea,
body.single .ff-comments-wrap .comment-form textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
    height: 30px;
    min-height: 30px;
    padding: 0 12px;
    background: #fff;
    border: none;
    border-bottom: 1px solid #CECECE;
    border-radius: 0;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 16px;
    color: #000;
    resize: none;
    box-shadow: none !important;
}
body.single .ff-comments-wrap .must-log-in {
    margin: 0;
    padding: 0;
    background: none !important;
    border: none !important;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 14px;
    color: #7B7B7B;
}
body.single .ff-comments-wrap .must-log-in a {
    color: #B43526;
}
body.single .ff-comments-wrap .form-submit {
    margin-top: 8px;
    padding: 0;
    border: none !important;
    background: none !important;
}
body.single .ff-comments-wrap .comment-form-comment textarea::placeholder,
body.single .ff-comments-wrap .comment-form textarea::placeholder {
    color: #7B7B7B;
}
body.single .ff-comments-wrap .comment-list,
body.single .ff-comments-wrap ul.children {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    order: 3;
}
body.single .ff-comments-wrap .comment-list:empty {
    display: none;
}
body.single .ff-comments-wrap .comment-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 0 !important;
    width: 100%;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
body.single .ff-comments-wrap .comment-author {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
}
body.single .ff-comments-wrap .comment-author a { color: #000000; }
body.single .ff-comments-wrap .comment-meta,
body.single .ff-comments-wrap .comment-metadata {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    color: #7B7B7B;
}
body.single .ff-comments-wrap .comment-content {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #000000;
}
body.single .ff-comments-wrap .reply,
body.single .ff-comments-wrap .comment-actions {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #7B7B7B;
}
body.single .ff-comments-wrap .reply a { color: #7B7B7B; display: flex; align-items: flex-end; }
body.single .ff-comments-wrap .comment-list .comment svg,
body.single .ff-comments-wrap .reply svg {
    width: 15px !important;
    height: 14px !important;
    flex-shrink: 0;
    overflow: visible;
}
body.single .ff-comments-wrap .ff-comments-toggle-wrap {
    order: 4;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 5px;
}
body.single .ff-comments-wrap .ff-comments-toggle-btn {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #000000;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
}

/* ===== Post Navigation (Vorheriger/Nächster Beitrag) ===== */
.ff-post-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    gap: 20px;
}
.ff-nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    max-width: 48%;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    transition: background 0.2s, transform 0.2s;
    flex: 1;
    min-width: 0;
    border: 1px solid #eee;
}
.ff-nav-link:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #ddd;
}
.ff-nav-prev {
    flex-direction: row;
    text-align: left;
}
.ff-nav-next {
    flex-direction: row;
    text-align: right;
    justify-content: flex-end;
}
.ff-nav-thumb {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    flex-shrink: 0;
    background-color: #ddd;
}
.ff-nav-prev .ff-nav-thumb { margin-right: 15px; }
.ff-nav-next .ff-nav-thumb { margin-left: 15px; order: 2; }
.ff-nav-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ff-nav-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}
.ff-nav-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Kommentar-Formular: Modern & Schön ===== */
body.single .comment-form {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-top: 40px;
}
body.single .comment-reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111;
    border-bottom: 2px solid #c62828;
    display: inline-block;
    padding-bottom: 8px;
}
body.single .comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
    font-size: 14px;
}
body.single .comment-form input[type="text"],
body.single .comment-form input[type="email"],
body.single .comment-form input[type="url"],
body.single .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}
body.single .comment-form input:focus,
body.single .comment-form textarea:focus {
    border-color: #c62828;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}
body.single .comment-form textarea {
    min-height: 120px;
    resize: vertical;
}
body.single .form-submit {
    margin-top: 24px;
    text-align: right;
}

/* ========== Single Fotos & Video + Single News – gleiches Layout: weiß, Header, Hero, Galerie/Text, Weitere Beiträge ========== */
body.single.ff-single-fv-page,
body.single.ff-single-fanfoto-page,
body.single.ff-single-news-page {
    background: #FFFFFF !important;
}
body.single.ff-single-fv-page .ff-single-sticky-wrap,
body.single.ff-single-fv-page .ff-main.ff-single-fv,
body.single.ff-single-fanfoto-page .ff-single-sticky-wrap,
body.single.ff-single-fanfoto-page .ff-main.ff-single-fv,
body.single.ff-single-news-page .ff-single-sticky-wrap,
body.single.ff-single-news-page .ff-main.ff-single-fv {
    background: #FFFFFF !important;
}
body.single .ff-single-sticky-wrap,
body.single .ff-main.ff-single-fv {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}
/* Single News: Fließtext – Text/Bild/Text/Bilder im Wechsel wie Figma */
body.single .ff-main.ff-single-fv .ff-single-news-content {
    margin-top: 0;
    margin-bottom: 32px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
}
body.single .ff-main.ff-single-fv .ff-single-news-content p {
    margin: 0 0 1.2em;
}
body.single .ff-main.ff-single-fv .ff-single-news-content img,
body.single .ff-main.ff-single-fv .ff-single-news-content figure img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 28px 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    object-fit: cover !important;
}
body.single .ff-main.ff-single-fv .ff-single-news-content figure {
    margin: 28px 0;
}
body.single .ff-main.ff-single-fv .ff-single-video-wrap {
    margin: 28px 0;
}
body.single .ff-main.ff-single-fv .ff-single-fv-inner {
    max-width: 1360px;
    width: 97%;
    margin: 0 auto;
    padding: 0 0 40px;
    overflow: visible;
    box-sizing: border-box;
}
/* Titel, Autor, Kommentar links – SVGs rechts, an Bildkante (nicht mittig) */
body.single .ff-main.ff-single-fv .ff-single-fv-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}
body.single .ff-main.ff-single-fv .ff-single-fv-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
body.single .ff-main.ff-single-fv .ff-single-fv-title {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: clamp(20px, 3.5vw, 28px);
    line-height: 1.25;
    font-weight: 600;
    color: #000;
    margin: 0;
    text-wrap: balance;
}
body.single .ff-main.ff-single-fv .ff-single-fv-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.3;
    color: #000;
}
body.single .ff-main.ff-single-fv .ff-single-fv-bar-left .ff-single-fv-author,
body.single .ff-main.ff-single-fv .ff-single-fv-bar-left .ff-single-fv-date,
body.single .ff-main.ff-single-fv .ff-single-fv-bar-left .ff-single-fv-comments {
    font-size: 15px;
    color: #000;
}
body.single .ff-main.ff-single-fv .ff-single-fv-bar-left .ff-single-fv-comments {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #000;
}
body.single .ff-main.ff-single-fv .ff-single-fv-bar-left .ff-single-fv-comments .ff-single-fv-comment-icon,
body.single .ff-main.ff-single-fv .ff-single-fv-bar-left .ff-single-fv-comments svg {
    flex-shrink: 0;
    width: 20px !important;
    height: 19px !important;
    display: block;
    color: #000;
}
body.single .ff-main.ff-single-fv .ff-single-fv-bar-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    color: #000;
}
body.single .ff-main.ff-single-fv .ff-single-fv-bar-right button.ff-single-fv-icon-btn,
body.single .ff-main.ff-single-fv .ff-single-fv-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #000;
    cursor: pointer;
}
body.single .ff-main.ff-single-fv .ff-single-fv-icon-btn:hover,
body.single .ff-main.ff-single-fv .ff-single-fv-icon-btn:focus {
    color: #B43526;
}
body.single .ff-main.ff-single-fv .ff-single-fv-icon-btn svg {
    display: block;
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0;
    overflow: visible;
}
body.single .ff-main.ff-single-fv .ff-single-fv-bar-right button,
body.single .ff-main.ff-single-fv .ff-single-fv-bar-left .ff-single-fv-comments {
    overflow: visible;
}
/* Hero 16:9 (breiter, nicht quadratisch) */
/* Hero 16:9, breiter wie Figma */
body.single .ff-main.ff-single-fv .ff-single-fv-hero-img {
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
body.single .ff-main.ff-single-fv .ff-single-fv-hero-img img {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 !important;
    object-fit: cover;
}
body.single .ff-main.ff-single-fv .ff-single-fv-caption {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    line-height: 16px;
    color: #717171;
    margin: 5px 0 0;
}
body.single .ff-main.ff-single-fv .ff-single-fv-gallery-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 30px;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
}
body.single .ff-main.ff-single-fv .ff-single-fv-gallery-half {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 50%;
}
body.single .ff-main.ff-single-fv .ff-single-fv-gallery-half img,
body.single .ff-main.ff-single-fv .ff-single-fv-gallery-full img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 !important;
}
body.single .ff-main.ff-single-fv .ff-single-fv-row-full .ff-single-fv-gallery-full {
    width: 100%;
}
body.single .ff-main.ff-single-fv .ff-single-fv-ad-slot {
    min-height: 80px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    border-radius: 4px;
    color: #888;
    font-size: 14px;
}
body.single .ff-main.ff-single-fv article img,
body.single .ff-main.ff-single-fv .ff-single-fv-hero-img img,
body.single .ff-main.ff-single-fv .ff-single-fv-gallery-half img,
body.single .ff-main.ff-single-fv .ff-single-fv-gallery-full img {
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
/* Weitere Beiträge: SVGs auf Single FV einheitlich 15x14 (wie Figma) */
body.single.ff-single-fv-page .ff-home-more-card-comments svg,
body.single.ff-single-fv-page .ff-home-more-card-actions svg {
    width: 15px !important;
    height: 14px !important;
}
body.single .ff-comments-wrap .comment-list li.ff-comment-hidden {
    display: none;
}
body.single .ff-comments-wrap .ff-comments-toggle-btn .ff-arrow {
    transition: transform 0.2s;
}
body.single .ff-comments-wrap .ff-comments-toggle-btn.is-open .ff-arrow {
    transform: rotate(180deg);
}
/* Breite Elemente begrenzen auf schmalen Screens */
@media (max-width: 1100px) {
    body.single .ff-main.ff-single-fv .ff-single-fv-header,
    body.single .ff-main.ff-single-fv .ff-single-fv-hero-img,
    body.single .ff-main.ff-single-fv .ff-single-fv-gallery-row {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    body.single .ff-main.ff-single-fv .ff-single-fv-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    body.single .ff-main.ff-single-fv .ff-single-fv-gallery-row {
        flex-direction: column !important;
        gap: 12px;
    }
    body.single .ff-main.ff-single-fv .ff-single-fv-gallery-half {
        max-width: 100%;
    }
    .ff-post-navigation {
        flex-direction: column;
    }
    .ff-nav-link {
        max-width: 100%;
    }
}

