/* ============================================================
   FancyPart Magazin – main.css
   ============================================================ */

/* ── RESET & BASIS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--wp--preset--font-family--body, 'Source Sans 3', Arial, sans-serif);
    font-size: var(--wp--preset--font-size--md, 1rem);
    line-height: 1.7;
    color: var(--wp--preset--color--text-dark, #1a1a2e);
    background: #e8e9eb; /* Seitenhintergrund - sichtbar als Rand neben dem Wrapper */
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--wp--preset--color--primary, #e63946); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wp--preset--color--primary-dark, #c1121f); }

/* =============================================================
   SEITEN-WRAPPER: Alle Bereiche haben dieselbe max. Breite
   Header, Ticker, Hero, Navigation, Inhalt und Footer sind
   alle in .fp-page-wrap eingebettet = gleiche Breite ueberall.
   Der Koerper-Hintergrund ist seitlich als Rand sichtbar.
   ============================================================= */
.fp-page-wrap {
    max-width: var(--fp-content-width, 1200px);
    margin: 0 auto;
    background: var(--wp--preset--color--background, #f8f9fa);
    box-shadow: 0 0 60px rgba(0,0,0,.12);
    /* overflow:hidden entfernt - wuerde sticky header brechen */
}



/* ── LAYOUT WRAPPER ── */
.fp-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HEADER ── */
.fp-header {
    background: var(--fp-header-bg, #1a1a2e);
    position: relative;
    z-index: 100;
    width: 100%;
    padding-bottom: 4px;   /* Spalt unten am Header sichtbar */
}

.fp-header.is-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.fp-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 100%;
    margin: 0 auto;
    gap: 16px;
}

/* Logo-Bereich immer ganz links */
.fp-header-top > .fp-logo-area {
    margin-right: auto;
    order: 1;
}
.fp-header-top > .fp-header-right {
    order: 2;
    flex-shrink: 0;
}

/* Logo-Bereich */
.fp-logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;        /* Logo schrumpft nicht */
}

/* WordPress custom logo wrapper */
.fp-logo-area .custom-logo-link,
.fp-logo-area .site-logo,
.fp-logo-area figure {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.fp-logo-area img,
.fp-logo-area .custom-logo {
    height: 52px;
    width: auto;
    display: block;
    /* Empfohlen: 400×160px, PNG transparent oder SVG */
}

.fp-site-name { color: var(--fp-header-text, #fff); }
.fp-site-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}
.fp-site-tagline { font-size: .8rem; opacity: .75; line-height: 1.3; }

/* Header rechts */
.fp-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Suchfeld */
.fp-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    padding: 6px 12px;
    transition: background .2s;
}
.fp-search-wrap:focus-within { background: rgba(255,255,255,.18); }
.fp-search-wrap input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: .85rem;
    width: 140px;
}
.fp-search-wrap input::placeholder { color: rgba(255,255,255,.5); }
.fp-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
}

/* Social Icons */
.fp-social-icons { display: flex; gap: 12px; align-items: center; }
.fp-social-icons a {
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
    transition: color .2s;
    display: flex;
    align-items: center;
}
.fp-social-icons a:hover { color: var(--wp--preset--color--primary, #e63946); }

/* ── NAVIGATION ── */
.fp-nav-bar {
    background: var(--wp--preset--color--primary, #e63946);
    width: 100%;
    margin-top: 4px;       /* Spalt: Hintergrund zwischen Header und Nav */
}
.fp-nav-inner {
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}
.fp-nav-bar ul { list-style: none; display: flex; margin: 0; padding: 0; }
.fp-nav-bar ul li a {
    display: flex;
    align-items: center;        /* Vertikal zentriert */
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    padding: 0 16px;
    height: 42px;               /* Feste Höhe – gleich für alle Elemente */
    text-decoration: none;
    opacity: .9;
    transition: opacity .2s, background .2s;
    letter-spacing: .3px;
    line-height: 1;
}

/* Polylang Sprachumschalter – gleiche Höhe */
.fp-nav-bar .wp-block-navigation__submenu-container,
.fp-nav-bar .pll-parent-menu-item > a,
.fp-nav-bar li.pll-parent-menu-item {
    display: flex;
    align-items: center;
    height: 42px;
}

/* Polylang Flagge vertikal zentrieren */
.fp-nav-bar .pll-parent-menu-item img,
.fp-nav-bar li img {
    vertical-align: middle;
    display: inline-block;
    max-height: 20px;
    width: auto;
}
.fp-nav-bar ul li a:hover,
.fp-nav-bar ul li.current-menu-item a { opacity: 1; background: rgba(0,0,0,.18); }

/* Dropdown */
.fp-nav-bar ul li { position: relative; }
.fp-nav-bar ul li ul {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: #c1121f;
    min-width: 180px;
    z-index: 200;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.fp-nav-bar ul li:hover > ul { display: block; }
.fp-nav-bar ul li ul li a { padding: 9px 16px; border-top: 1px solid rgba(255,255,255,.1); }

/* ── BREAKING NEWS TICKER ── */
.fp-ticker {
    background: #222;
    padding: 7px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 4px;       /* Spalt: Hintergrund zwischen Nav und Ticker */
}
.fp-ticker-label {
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.fp-ticker-track {
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
}
.fp-ticker-inner {
    display: inline-flex;
    gap: 40px;
    animation: fp-ticker-scroll var(--fp-ticker-duration, 30s) linear infinite;
}
.fp-ticker-inner a {
    color: #ddd;
    font-size: .8rem;
    text-decoration: none;
    white-space: nowrap;
}
.fp-ticker-inner a:hover { color: #fff; }
.fp-ticker-inner a::before { content: '›  '; color: var(--wp--preset--color--primary, #e63946); }

@keyframes fp-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.fp-ticker-inner:hover { animation-play-state: paused; }

/* Ticker Geschwindigkeiten */
body.fp-ticker-slow   .fp-ticker-inner { animation-duration: 50s; }
body.fp-ticker-medium .fp-ticker-inner { animation-duration: 30s; }
body.fp-ticker-fast   .fp-ticker-inner { animation-duration: 16s; }

/* ── HERO BEREICH ── */
.fp-hero {
    position: relative;
    overflow: hidden;
    background: #1a1a2e;
}
.fp-hero-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    /* Empfohlen: 1920×800px, JPG/WebP, max. 800KB */
}
.fp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
}
.fp-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px;
    max-width: var(--fp-content-width, 1200px);
    margin: 0 auto;
}
.fp-hero-cat {
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.fp-hero-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
    max-width: 680px;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.fp-hero-meta {
    color: rgba(255,255,255,.75);
    font-size: .8rem;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.fp-hero-dots {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}
.fp-hero-dots span {
    width: 28px;
    height: 3px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
    cursor: pointer;
    transition: background .3s;
}
.fp-hero-dots span.active { background: var(--wp--preset--color--primary, #e63946); }

/* ── HAUPT-LAYOUT (Inhalt + Seitenleiste) ── */
.fp-main-layout {
    display: grid;
    gap: 24px;
    padding: 24px;
    max-width: 100%;
    margin: 0 auto;
    align-items: start;
}
.fp-main-layout.sidebar-right  { grid-template-columns: 1fr var(--fp-sidebar-width, 300px); }
.fp-main-layout.sidebar-left   { grid-template-columns: var(--fp-sidebar-width, 300px) 1fr; }
.fp-main-layout.no-sidebar     { grid-template-columns: 1fr; }

.fp-main-layout.sidebar-left .fp-content  { order: 2; }
.fp-main-layout.sidebar-left .fp-sidebar  { order: 1; }

/* ── WEDGE BLÖCKE ── */
.fp-wedges { display: flex; flex-direction: column; gap: 24px; }

.fp-wedge {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.fp-wedge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid #f1f3f5;
}
.fp-wedge-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--wp--preset--color--text-dark, #1a1a2e);
    display: flex;
    align-items: center;
    gap: 10px;
}
.fp-wedge-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--wp--preset--color--primary, #e63946);
    border-radius: 2px;
}
.fp-wedge-more {
    font-size: .78rem;
    color: var(--wp--preset--color--primary, #e63946);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.fp-wedge-more:hover { color: var(--wp--preset--color--primary-dark, #c1121f); }

/* Wedge Grid Layouts */
.fp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.fp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.fp-grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; }
.fp-grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; }

/* Artikel-Karte */
.fp-article-card {
    padding: 14px;
    border-right: 1px solid #f1f3f5;
    transition: background .2s;
}
.fp-article-card:last-child { border-right: none; }
.fp-article-card:hover { background: #fafafa; }

.fp-article-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #eee;
    /* Empfohlen: 800×500px, JPG/WebP */
}
.fp-article-thumb-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: #f1f3f5;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.5rem;
}

.fp-art-cat {
    font-size: .68rem;
    font-weight: 700;
    color: var(--wp--preset--color--primary, #e63946);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 5px;
}
.fp-art-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: .9rem;
    font-weight: 600;
    color: var(--wp--preset--color--text-dark, #1a1a2e);
    line-height: 1.4;
    margin-bottom: 6px;
}
.fp-art-title a { color: inherit; }
.fp-art-title a:hover { color: var(--wp--preset--color--primary, #e63946); }
.fp-art-meta { font-size: .72rem; color: #868e96; display: flex; gap: 10px; }
.fp-art-excerpt { font-size: .82rem; color: #495057; line-height: 1.55; margin-bottom: 8px; }

/* Artikel-Liste (kompakt) */
.fp-article-list {
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
}
.fp-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
}
.fp-list-item:last-child { border-bottom: none; }
.fp-list-thumb {
    width: 68px;
    height: 52px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
    background: #eee;
}
.fp-list-title { font-size: .83rem; font-weight: 600; color: #1a1a2e; line-height: 1.4; }
.fp-list-title a { color: inherit; }
.fp-list-title a:hover { color: var(--wp--preset--color--primary, #e63946); }
.fp-list-meta { font-size: .7rem; color: #868e96; margin-top: 3px; }

/* ── SEITENLEISTE ── */
.fp-sidebar { display: flex; flex-direction: column; gap: 20px; }
.fp-sidebar-widget {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.fp-widget-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: .9rem;
    font-weight: 700;
    color: var(--wp--preset--color--text-dark, #1a1a2e);
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f5;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fp-widget-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: var(--wp--preset--color--primary, #e63946);
    border-radius: 2px;
}
.fp-widget-body { padding: 14px 16px; }

/* Widget: Menü */
.fp-widget-menu { list-style: none; }
.fp-widget-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: .84rem;
    color: #495057;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.fp-widget-menu li a:hover { background: #f8f9fa; color: var(--wp--preset--color--primary, #e63946); }
.fp-widget-menu .count { font-size: .72rem; color: #adb5bd; background: #f1f3f5; padding: 1px 7px; border-radius: 20px; }

/* Widget: Beliebt */
.fp-popular-list { display: flex; flex-direction: column; gap: 12px; }
.fp-pop-item { display: flex; gap: 12px; align-items: flex-start; }
.fp-pop-num { font-size: 1.6rem; font-weight: 700; color: #dee2e6; line-height: 1; min-width: 28px; }
.fp-pop-title { font-size: .83rem; font-weight: 600; color: #1a1a2e; line-height: 1.4; }
.fp-pop-cat { font-size: .7rem; color: var(--wp--preset--color--primary, #e63946); margin-top: 2px; }

/* Widget: Tag-Cloud */
.fp-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.fp-tag {
    font-size: .76rem;
    padding: 4px 11px;
    background: #f8f9fa;
    color: #495057;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.fp-tag:hover { border-color: var(--wp--preset--color--primary, #e63946); color: var(--wp--preset--color--primary, #e63946); }

/* ── EINZELARTIKEL ── */
.fp-single { max-width: 100%; margin: 0 auto; padding: 24px; }

.fp-post-header { margin-bottom: 28px; }
.fp-post-featured {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 24px;
    /* Empfohlen: 1200×630px, JPG/WebP */
}
.fp-post-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a2e;
    margin-bottom: 14px;
}
.fp-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: .8rem;
    color: #868e96;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 24px;
}
.fp-post-meta a { color: #868e96; }
.fp-post-meta a:hover { color: var(--wp--preset--color--primary, #e63946); }
.fp-post-meta .fp-cat-badge {
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* Artikel-Inhalt Typografie */
.fp-post-content { font-size: 1.05rem; line-height: 1.8; color: #343a40; }
.fp-post-content p { margin-bottom: 1.4em; }
.fp-post-content h2 { font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif); font-size: 1.6rem; font-weight: 700; margin: 1.8em 0 .8em; }
.fp-post-content h3 { font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif); font-size: 1.3rem; font-weight: 600; margin: 1.5em 0 .7em; }
.fp-post-content ul, .fp-post-content ol { padding-left: 1.6em; margin-bottom: 1.4em; }
.fp-post-content li { margin-bottom: .4em; }
.fp-post-content blockquote {
    border-left: 4px solid var(--wp--preset--color--primary, #e63946);
    padding: 16px 20px;
    margin: 1.6em 0;
    background: #fff8f8;
    border-radius: 0 6px 6px 0;
    font-size: 1.1rem;
    font-style: italic;
    color: #495057;
}
.fp-post-content img { border-radius: 8px; margin: 1em 0; }
.fp-post-content figcaption { font-size: .8rem; color: #868e96; text-align: center; margin-top: 6px; }
.fp-post-content code { background: #f1f3f5; padding: 2px 6px; border-radius: 3px; font-family: var(--wp--preset--font-family--mono, monospace); font-size: .9em; }
.fp-post-content pre { background: #1a1a2e; color: #f8f9fa; padding: 20px; border-radius: 8px; overflow-x: auto; margin-bottom: 1.4em; }

/* Artikel Tags */
.fp-post-tags { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e9ecef; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fp-post-tags-label { font-size: .8rem; color: #868e96; font-weight: 600; }

/* Autoren-Box */
.fp-author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 22px;
    margin-top: 32px;
}
.fp-author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    /* Empfohlen: 400×400px, JPG/PNG */
}
.fp-author-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.fp-author-role { font-size: .78rem; color: var(--wp--preset--color--primary, #e63946); margin-bottom: 8px; }
.fp-author-bio { font-size: .85rem; color: #495057; line-height: 1.6; }

/* Verwandte Artikel */
.fp-related { margin-top: 32px; }
.fp-related-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--wp--preset--color--primary, #e63946); }
.fp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── KOMMENTARE ── */
.fp-comments { margin-top: 40px; padding-top: 32px; border-top: 2px solid #e9ecef; }
.fp-comments-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }

.comment-list { list-style: none; }
.comment {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 16px;
}
.comment .children {
    list-style: none;
    margin-left: 32px;
    margin-top: 14px;
}
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-author .avatar { border-radius: 50%; }
.comment-meta { font-size: .75rem; color: #868e96; }
.comment-body p { font-size: .9rem; line-height: 1.65; color: #343a40; }
.comment-reply-link { font-size: .78rem; color: var(--wp--preset--color--primary, #e63946); font-weight: 600; margin-top: 8px; display: inline-block; }

.comment-respond { margin-top: 32px; }
.comment-respond h3 { font-family: var(--wp--preset--font-family--heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: .83rem; font-weight: 600; margin-bottom: 5px; color: #495057; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 9px 13px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: .9rem;
    font-family: inherit;
    transition: border-color .2s;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--wp--preset--color--primary, #e63946); }
.comment-form .description { font-size: .75rem; color: #868e96; margin-top: 3px; display: block; }
.comment-form .submit {
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.comment-form .submit:hover { background: var(--wp--preset--color--primary-dark, #c1121f); }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: #495057; }

/* ── NEWSLETTER BLOCK ── */
.fp-newsletter {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 40px 24px;
    text-align: center;
    margin: 24px 0;
}
.fp-newsletter-inner { max-width: 540px; margin: 0 auto; }
.fp-newsletter-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.fp-newsletter-text { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.fp-newsletter-form { display: flex; gap: 10px; }
.fp-newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: .9rem;
    outline: none;
}
.fp-newsletter-btn {
    padding: 10px 20px;
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.fp-newsletter-btn:hover { background: var(--wp--preset--color--primary-dark, #c1121f); }

/* ── FOOTER ── */
.fp-footer { background: #1a1a2e; padding: 40px 24px 24px; }
.fp-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 100%;
    margin: 0 auto 32px;
}
.fp-footer-title {
    color: #fff;
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.fp-footer-col p { color: #adb5bd; font-size: .84rem; line-height: 1.7; }
.fp-footer-col a { display: block; color: #adb5bd; font-size: .84rem; padding: 4px 0; text-decoration: none; transition: color .2s; }
.fp-footer-col a:hover { color: var(--wp--preset--color--primary, #e63946); }

.fp-footer-social { display: flex; gap: 12px; margin-top: 14px; }
.fp-footer-social a { color: #adb5bd; font-size: 1.2rem; display: flex; align-items: center; }
.fp-footer-social a:hover { color: var(--wp--preset--color--primary, #e63946); }

.fp-footer-copy {
    background: rgba(0,0,0,.3);
    margin: 0 -24px -24px;
    padding: 12px 24px;
    text-align: center;
    color: #6c757d;
    font-size: .78rem;
    border-top: 1px solid rgba(255,255,255,.06);
}

/* ── ARCHIV-SEITE ── */
.fp-archive-header { padding: 28px 24px; background: #fff; border-bottom: 1px solid #e9ecef; margin-bottom: 24px; }
.fp-archive-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.fp-archive-description { font-size: .9rem; color: #495057; }
.fp-archive-count { font-size: .8rem; color: #868e96; margin-top: 4px; }

.fp-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── AUTOREN-SEITE ── */
.fp-author-header {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 28px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.fp-author-header-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.fp-author-header-name { font-family: var(--wp--preset--font-family--heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.fp-author-header-role { color: var(--wp--preset--color--primary, #e63946); font-size: .84rem; font-weight: 600; margin-bottom: 10px; }
.fp-author-header-bio { font-size: .9rem; color: #495057; line-height: 1.65; }

/* ── BREADCRUMBS ── */
.fp-breadcrumbs {
    padding: 10px 24px;
    font-size: .78rem;
    color: #868e96;
    max-width: var(--fp-content-width, 1200px);
    margin: 0 auto;
}
.fp-breadcrumbs a { color: #868e96; }
.fp-breadcrumbs a:hover { color: var(--wp--preset--color--primary, #e63946); }
.fp-breadcrumbs span { margin: 0 6px; }

/* ── PAGINIERUNG ── */
.fp-pagination { display: flex; justify-content: center; gap: 8px; padding: 24px; flex-wrap: wrap; }
.fp-pagination a, .fp-pagination span {
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: .85rem;
    color: #495057;
    text-decoration: none;
    transition: all .2s;
}
.fp-pagination a:hover { border-color: var(--wp--preset--color--primary, #e63946); color: var(--wp--preset--color--primary, #e63946); }
.fp-pagination .current { background: var(--wp--preset--color--primary, #e63946); border-color: var(--wp--preset--color--primary, #e63946); color: #fff; }

/* ── KATEGORIE-TEMPLATE AKZENTFARBEN ── */
.cat-politik    .fp-wedge-title::before,
.cat-politik    .fp-art-cat      { color: #1565c0; }
.cat-politik    .fp-wedge-title::before { background: #1565c0; }

.cat-wirtschaft .fp-wedge-title::before,
.cat-wirtschaft .fp-art-cat     { color: #2e7d32; }
.cat-wirtschaft .fp-wedge-title::before { background: #2e7d32; }

.cat-sport      .fp-wedge-title::before,
.cat-sport      .fp-art-cat     { color: #c62828; }
.cat-sport      .fp-wedge-title::before { background: #c62828; }

.cat-kultur     .fp-wedge-title::before,
.cat-kultur     .fp-art-cat     { color: #6a1b9a; }
.cat-kultur     .fp-wedge-title::before { background: #6a1b9a; }

.cat-technik    .fp-wedge-title::before,
.cat-technik    .fp-art-cat     { color: #00695c; }
.cat-technik    .fp-wedge-title::before { background: #00695c; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .fp-main-layout.sidebar-right,
    .fp-main-layout.sidebar-left { grid-template-columns: 1fr; }

    .fp-sidebar.mobile-hidden { display: none; }
    .fp-sidebar.mobile-visible { display: flex; }

    .fp-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .fp-archive-grid { grid-template-columns: repeat(2, 1fr); }
    .fp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .fp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {

    /* ── PAGE WRAP ── */
    .fp-page-wrap { box-shadow: none; }

    /* ── HEADER ── */
    .fp-header-top {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        gap: 8px;
    }

    /* Logo kleiner */
    .fp-logo-area img,
    .fp-logo-area .custom-logo {
        height: 36px;
    }
    .fp-site-title   { font-size: 1rem; }
    .fp-site-tagline { display: none; } /* Untertitel auf Mobile ausblenden */

    /* Header rechts: nur Social Icons, kein Suchfeld */
    .fp-header-right {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    .fp-search-wrap { display: none; } /* Suche auf Mobile ausblenden */

    /* Social Icons im Header kleiner */
    .fp-social-header-link { padding: 4px; }
    .fp-social-icon-img    { width: 18px; height: 18px; }
    .fp-social-icons       { gap: 6px; border-right: none; padding-right: 0; margin-right: 0; }

    /* ── NAVIGATION ── */
    .fp-nav-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .fp-nav-bar::-webkit-scrollbar { display: none; }
    .fp-nav-inner {
        padding: 0 8px;
        width: max-content;
        min-width: 100%;
    }
    .fp-nav-bar ul li a {
        padding: 0 10px;
        height: 38px;
        font-size: .8rem;
        white-space: nowrap;
    }

    /* ── HERO GRID ── */
    .fp-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .fp-hero-main  { height: 260px; }
    .fp-hero-sub   {
        grid-template-rows: repeat(2, 130px);
        height: 266px; /* 2x130 + 6px gap */
    }
    .fp-hero-main-title  { font-size: 1.1rem; }
    .fp-hero-main-content { padding: 16px; }
    .fp-hero-sub-title   { font-size: .82rem; }
    .fp-hero-sub-content { padding: 8px 12px; }

    /* ── WEDGES ── */
    .fp-grid-3, .fp-grid-2 { grid-template-columns: 1fr; }
    .fp-grid-2-1, .fp-grid-1-2 { grid-template-columns: 1fr; }

    /* ── LAYOUT ── */
    .fp-main-layout {
        grid-template-columns: 1fr !important;
        padding: 12px;
        gap: 16px;
    }
    .fp-main-layout.sidebar-left .fp-content,
    .fp-main-layout.sidebar-left .fp-sidebar { order: unset; }
    .fp-sidebar.mobile-hidden { display: none; }

    /* ── ARTIKEL ── */
    .fp-post-title    { font-size: 1.4rem; }
    .fp-post-featured { max-height: 240px; }
    .fp-related-grid  { grid-template-columns: 1fr; }
    .fp-archive-grid  { grid-template-columns: 1fr; }
    .fp-author-box    { flex-direction: column; }
    .fp-author-header { flex-direction: column; }

    /* ── NEWSLETTER ── */
    .fp-newsletter-form { flex-direction: column; }
    .fp-newsletter { padding: 28px 16px; }

    /* ── FOOTER ── */
    .fp-footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .fp-footer      { padding: 28px 16px 16px; }
}

/* ── DARK MODE (optional, vorbereitet) ── */
@media (prefers-color-scheme: dark) {
    /* Kann später aktiviert werden */
}

/* ── PRINT ── */
@media print {
    .fp-header, .fp-nav-bar, .fp-ticker, .fp-sidebar,
    .fp-newsletter, .fp-footer, .fp-comments { display: none; }
    .fp-main-layout { grid-template-columns: 1fr; }
    body { color: #000; background: #fff; }
}

/* ============================================================
   MAGAZIN GRID HERO
   Ansatz: feste Hoehen, kein position:absolute auf Bildern
   ============================================================ */

.fp-hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 6px;
    background: transparent;
    height: 460px;
    overflow: hidden;
}

/* ── Grosses Bild links ── */
.fp-hero-main {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: #1a1a2e;
    height: 460px;         /* Exakt gleiche Höhe wie Grid */
}
.fp-hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}
.fp-hero-main:hover .fp-hero-main-img { transform: scale(1.04); }

.fp-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#1a1a2e,#0f3460);
    display: block;
}
.fp-hero-main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,.92) 0%,
        rgba(0,0,0,.35) 45%,
        transparent 100%);
    pointer-events: none;
}
.fp-hero-main-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 32px;
}
.fp-hero-cat-badge {
    display: inline-block;
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 3px 9px;
    border-radius: 3px;
    margin-bottom: 9px;
}
.fp-hero-main-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: clamp(1.1rem, 2vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.fp-hero-main-meta {
    font-size: .78rem;
    color: rgba(255,255,255,.75);
    display: flex;
    gap: 8px;
}

/* ── 3 kleine Artikel rechts ── */
.fp-hero-sub {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    height: 460px;
    overflow: hidden;
    background: transparent;
}

/* Jeder Sub-Artikel füllt seinen Grid-Slot komplett */
.fp-hero-sub-item {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: #16213e;
    height: 100%;          /* Füllt den 1fr Grid-Slot */
    min-height: 0;         /* Verhindert Überlauf */
}

.fp-hero-sub-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
    position: absolute;
    top: 0; left: 0;
}
.fp-hero-sub-item:hover .fp-hero-sub-img { transform: scale(1.06); }

.fp-hero-sub-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,.9) 0%,
        rgba(0,0,0,.2) 60%,
        transparent 100%);
    pointer-events: none;
}
.fp-hero-sub-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 10px 14px;
}
.fp-hero-cat-sm { font-size: .6rem; padding: 2px 7px; margin-bottom: 4px; }
.fp-hero-sub-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 3px;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.fp-hero-sub-meta { font-size: .7rem; color: rgba(255,255,255,.65); }

/* Responsive Hero Grid */
@media (max-width: 768px) {
    .fp-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .fp-hero-main { height: 280px; }
    .fp-hero-sub  { grid-template-rows: repeat(2, 130px); }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .fp-hero-grid { height: 340px; }
}

* ============================================================
   FancyPart Magazin – main.css
   ============================================================ */

/* ── RESET & BASIS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--wp--preset--font-family--body, 'Source Sans 3', Arial, sans-serif);
    font-size: var(--wp--preset--font-size--md, 1rem);
    line-height: 1.7;
    color: var(--wp--preset--color--text-dark, #1a1a2e);
    background: #e8e9eb; /* Seitenhintergrund - sichtbar als Rand neben dem Wrapper */
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--wp--preset--color--primary, #e63946); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wp--preset--color--primary-dark, #c1121f); }

/* =============================================================
   SEITEN-WRAPPER: Alle Bereiche haben dieselbe max. Breite
   Header, Ticker, Hero, Navigation, Inhalt und Footer sind
   alle in .fp-page-wrap eingebettet = gleiche Breite ueberall.
   Der Koerper-Hintergrund ist seitlich als Rand sichtbar.
   ============================================================= */
.fp-page-wrap {
    max-width: var(--fp-content-width, 1200px);
    margin: 0 auto;
    background: var(--wp--preset--color--background, #f8f9fa);
    box-shadow: 0 0 60px rgba(0,0,0,.12);
    /* overflow:hidden entfernt - wuerde sticky header brechen */
}



/* ── LAYOUT WRAPPER ── */
.fp-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HEADER ── */
.fp-header {
    background: var(--fp-header-bg, #1a1a2e);
    position: relative;
    z-index: 100;
    width: 100%;
    padding-bottom: 4px;   /* Spalt unten am Header sichtbar */
}

.fp-header.is-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.fp-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 100%;
    margin: 0 auto;
    gap: 16px;
}

/* Logo-Bereich immer ganz links */
.fp-header-top > .fp-logo-area {
    margin-right: auto;
    order: 1;
}
.fp-header-top > .fp-header-right {
    order: 2;
    flex-shrink: 0;
}

/* Logo-Bereich */
.fp-logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;        /* Logo schrumpft nicht */
}

/* WordPress custom logo wrapper */
.fp-logo-area .custom-logo-link,
.fp-logo-area .site-logo,
.fp-logo-area figure {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.fp-logo-area img,
.fp-logo-area .custom-logo {
    height: 52px;
    width: auto;
    display: block;
    /* Empfohlen: 400×160px, PNG transparent oder SVG */
}

.fp-site-name { color: var(--fp-header-text, #fff); }
.fp-site-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}
.fp-site-tagline { font-size: .8rem; opacity: .75; line-height: 1.3; }

/* Header rechts */
.fp-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Suchfeld */
.fp-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    padding: 6px 12px;
    transition: background .2s;
}
.fp-search-wrap:focus-within { background: rgba(255,255,255,.18); }
.fp-search-wrap input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: .85rem;
    width: 140px;
}
.fp-search-wrap input::placeholder { color: rgba(255,255,255,.5); }
.fp-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: center;
}

/* Social Icons */
.fp-social-icons { display: flex; gap: 12px; align-items: center; }
.fp-social-icons a {
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
    transition: color .2s;
    display: flex;
    align-items: center;
}
.fp-social-icons a:hover { color: var(--wp--preset--color--primary, #e63946); }

/* ── NAVIGATION ── */
.fp-nav-bar {
    background: var(--wp--preset--color--primary, #e63946);
    width: 100%;
    margin-top: 4px;       /* Spalt: Hintergrund zwischen Header und Nav */
}
.fp-nav-inner {
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}
.fp-nav-bar ul { list-style: none; display: flex; margin: 0; padding: 0; }
.fp-nav-bar ul li a {
    display: flex;
    align-items: center;        /* Vertikal zentriert */
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    padding: 0 16px;
    height: 42px;               /* Feste Höhe – gleich für alle Elemente */
    text-decoration: none;
    opacity: .9;
    transition: opacity .2s, background .2s;
    letter-spacing: .3px;
    line-height: 1;
}

/* Polylang Sprachumschalter – gleiche Höhe */
.fp-nav-bar .wp-block-navigation__submenu-container,
.fp-nav-bar .pll-parent-menu-item > a,
.fp-nav-bar li.pll-parent-menu-item {
    display: flex;
    align-items: center;
    height: 42px;
}

/* Polylang Flagge vertikal zentrieren */
.fp-nav-bar .pll-parent-menu-item img,
.fp-nav-bar li img {
    vertical-align: middle;
    display: inline-block;
    max-height: 20px;
    width: auto;
}
.fp-nav-bar ul li a:hover,
.fp-nav-bar ul li.current-menu-item a { opacity: 1; background: rgba(0,0,0,.18); }

/* Dropdown */
.fp-nav-bar ul li { position: relative; }
.fp-nav-bar ul li ul {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: #c1121f;
    min-width: 180px;
    z-index: 200;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.fp-nav-bar ul li:hover > ul { display: block; }
.fp-nav-bar ul li ul li a { padding: 9px 16px; border-top: 1px solid rgba(255,255,255,.1); }

/* ── BREAKING NEWS TICKER ── */
.fp-ticker {
    background: #222;
    padding: 7px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 4px;       /* Spalt: Hintergrund zwischen Nav und Ticker */
}
.fp-ticker-label {
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.fp-ticker-track {
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
}
.fp-ticker-inner {
    display: inline-flex;
    gap: 40px;
    animation: fp-ticker-scroll var(--fp-ticker-duration, 30s) linear infinite;
}
.fp-ticker-inner a {
    color: #ddd;
    font-size: .8rem;
    text-decoration: none;
    white-space: nowrap;
}
.fp-ticker-inner a:hover { color: #fff; }
.fp-ticker-inner a::before { content: '›  '; color: var(--wp--preset--color--primary, #e63946); }

@keyframes fp-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.fp-ticker-inner:hover { animation-play-state: paused; }

/* Ticker Geschwindigkeiten */
body.fp-ticker-slow   .fp-ticker-inner { animation-duration: 50s; }
body.fp-ticker-medium .fp-ticker-inner { animation-duration: 30s; }
body.fp-ticker-fast   .fp-ticker-inner { animation-duration: 16s; }

/* ── HERO BEREICH ── */
.fp-hero {
    position: relative;
    overflow: hidden;
    background: #1a1a2e;
}
.fp-hero-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    /* Empfohlen: 1920×800px, JPG/WebP, max. 800KB */
}
.fp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
}
.fp-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px;
    max-width: var(--fp-content-width, 1200px);
    margin: 0 auto;
}
.fp-hero-cat {
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.fp-hero-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
    max-width: 680px;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.fp-hero-meta {
    color: rgba(255,255,255,.75);
    font-size: .8rem;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.fp-hero-dots {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}
.fp-hero-dots span {
    width: 28px;
    height: 3px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
    cursor: pointer;
    transition: background .3s;
}
.fp-hero-dots span.active { background: var(--wp--preset--color--primary, #e63946); }

/* ── HAUPT-LAYOUT (Inhalt + Seitenleiste) ── */
.fp-main-layout {
    display: grid;
    gap: 24px;
    padding: 24px;
    max-width: 100%;
    margin: 0 auto;
    align-items: start;
}
.fp-main-layout.sidebar-right  { grid-template-columns: 1fr var(--fp-sidebar-width, 300px); }
.fp-main-layout.sidebar-left   { grid-template-columns: var(--fp-sidebar-width, 300px) 1fr; }
.fp-main-layout.no-sidebar     { grid-template-columns: 1fr; }

.fp-main-layout.sidebar-left .fp-content  { order: 2; }
.fp-main-layout.sidebar-left .fp-sidebar  { order: 1; }

/* ── WEDGE BLÖCKE ── */
.fp-wedges { display: flex; flex-direction: column; gap: 24px; }

.fp-wedge {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.fp-wedge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid #f1f3f5;
}
.fp-wedge-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--wp--preset--color--text-dark, #1a1a2e);
    display: flex;
    align-items: center;
    gap: 10px;
}
.fp-wedge-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--wp--preset--color--primary, #e63946);
    border-radius: 2px;
}
.fp-wedge-more {
    font-size: .78rem;
    color: var(--wp--preset--color--primary, #e63946);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.fp-wedge-more:hover { color: var(--wp--preset--color--primary-dark, #c1121f); }

/* Wedge Grid Layouts */
.fp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.fp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.fp-grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; }
.fp-grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; }

/* Artikel-Karte */
.fp-article-card {
    padding: 14px;
    border-right: 1px solid #f1f3f5;
    transition: background .2s;
}
.fp-article-card:last-child { border-right: none; }
.fp-article-card:hover { background: #fafafa; }

.fp-article-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #eee;
    /* Empfohlen: 800×500px, JPG/WebP */
}
.fp-article-thumb-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: #f1f3f5;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.5rem;
}

.fp-art-cat {
    font-size: .68rem;
    font-weight: 700;
    color: var(--wp--preset--color--primary, #e63946);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 5px;
}
.fp-art-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: .9rem;
    font-weight: 600;
    color: var(--wp--preset--color--text-dark, #1a1a2e);
    line-height: 1.4;
    margin-bottom: 6px;
}
.fp-art-title a { color: inherit; }
.fp-art-title a:hover { color: var(--wp--preset--color--primary, #e63946); }
.fp-art-meta { font-size: .72rem; color: #868e96; display: flex; gap: 10px; }
.fp-art-excerpt { font-size: .82rem; color: #495057; line-height: 1.55; margin-bottom: 8px; }

/* Artikel-Liste (kompakt) */
.fp-article-list {
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
}
.fp-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
}
.fp-list-item:last-child { border-bottom: none; }
.fp-list-thumb {
    width: 68px;
    height: 52px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
    background: #eee;
}
.fp-list-title { font-size: .83rem; font-weight: 600; color: #1a1a2e; line-height: 1.4; }
.fp-list-title a { color: inherit; }
.fp-list-title a:hover { color: var(--wp--preset--color--primary, #e63946); }
.fp-list-meta { font-size: .7rem; color: #868e96; margin-top: 3px; }

/* ── SEITENLEISTE ── */
.fp-sidebar { display: flex; flex-direction: column; gap: 20px; }
.fp-sidebar-widget {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.fp-widget-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: .9rem;
    font-weight: 700;
    color: var(--wp--preset--color--text-dark, #1a1a2e);
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f5;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fp-widget-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: var(--wp--preset--color--primary, #e63946);
    border-radius: 2px;
}
.fp-widget-body { padding: 14px 16px; }

/* Widget: Menü */
.fp-widget-menu { list-style: none; }
.fp-widget-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: .84rem;
    color: #495057;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.fp-widget-menu li a:hover { background: #f8f9fa; color: var(--wp--preset--color--primary, #e63946); }
.fp-widget-menu .count { font-size: .72rem; color: #adb5bd; background: #f1f3f5; padding: 1px 7px; border-radius: 20px; }

/* Widget: Beliebt */
.fp-popular-list { display: flex; flex-direction: column; gap: 12px; }
.fp-pop-item { display: flex; gap: 12px; align-items: flex-start; }
.fp-pop-num { font-size: 1.6rem; font-weight: 700; color: #dee2e6; line-height: 1; min-width: 28px; }
.fp-pop-title { font-size: .83rem; font-weight: 600; color: #1a1a2e; line-height: 1.4; }
.fp-pop-cat { font-size: .7rem; color: var(--wp--preset--color--primary, #e63946); margin-top: 2px; }

/* Widget: Tag-Cloud */
.fp-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.fp-tag {
    font-size: .76rem;
    padding: 4px 11px;
    background: #f8f9fa;
    color: #495057;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.fp-tag:hover { border-color: var(--wp--preset--color--primary, #e63946); color: var(--wp--preset--color--primary, #e63946); }

/* ── EINZELARTIKEL ── */
.fp-single { max-width: 100%; margin: 0 auto; padding: 24px; }

.fp-post-header { margin-bottom: 28px; }
.fp-post-featured {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 24px;
    /* Empfohlen: 1200×630px, JPG/WebP */
}
.fp-post-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a2e;
    margin-bottom: 14px;
}
.fp-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: .8rem;
    color: #868e96;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 24px;
}
.fp-post-meta a { color: #868e96; }
.fp-post-meta a:hover { color: var(--wp--preset--color--primary, #e63946); }
.fp-post-meta .fp-cat-badge {
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* Artikel-Inhalt Typografie */
.fp-post-content { font-size: 1.05rem; line-height: 1.8; color: #343a40; }
.fp-post-content p { margin-bottom: 1.4em; }
.fp-post-content h2 { font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif); font-size: 1.6rem; font-weight: 700; margin: 1.8em 0 .8em; }
.fp-post-content h3 { font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif); font-size: 1.3rem; font-weight: 600; margin: 1.5em 0 .7em; }
.fp-post-content ul, .fp-post-content ol { padding-left: 1.6em; margin-bottom: 1.4em; }
.fp-post-content li { margin-bottom: .4em; }
.fp-post-content blockquote {
    border-left: 4px solid var(--wp--preset--color--primary, #e63946);
    padding: 16px 20px;
    margin: 1.6em 0;
    background: #fff8f8;
    border-radius: 0 6px 6px 0;
    font-size: 1.1rem;
    font-style: italic;
    color: #495057;
}
.fp-post-content img { border-radius: 8px; margin: 1em 0; }
.fp-post-content figcaption { font-size: .8rem; color: #868e96; text-align: center; margin-top: 6px; }
.fp-post-content code { background: #f1f3f5; padding: 2px 6px; border-radius: 3px; font-family: var(--wp--preset--font-family--mono, monospace); font-size: .9em; }
.fp-post-content pre { background: #1a1a2e; color: #f8f9fa; padding: 20px; border-radius: 8px; overflow-x: auto; margin-bottom: 1.4em; }

/* Artikel Tags */
.fp-post-tags { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e9ecef; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fp-post-tags-label { font-size: .8rem; color: #868e96; font-weight: 600; }

/* Autoren-Box */
.fp-author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 22px;
    margin-top: 32px;
}
.fp-author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    /* Empfohlen: 400×400px, JPG/PNG */
}
.fp-author-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.fp-author-role { font-size: .78rem; color: var(--wp--preset--color--primary, #e63946); margin-bottom: 8px; }
.fp-author-bio { font-size: .85rem; color: #495057; line-height: 1.6; }

/* Verwandte Artikel */
.fp-related { margin-top: 32px; }
.fp-related-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--wp--preset--color--primary, #e63946); }
.fp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── KOMMENTARE ── */
.fp-comments { margin-top: 40px; padding-top: 32px; border-top: 2px solid #e9ecef; }
.fp-comments-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }

.comment-list { list-style: none; }
.comment {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 16px;
}
.comment .children {
    list-style: none;
    margin-left: 32px;
    margin-top: 14px;
}
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-author .avatar { border-radius: 50%; }
.comment-meta { font-size: .75rem; color: #868e96; }
.comment-body p { font-size: .9rem; line-height: 1.65; color: #343a40; }
.comment-reply-link { font-size: .78rem; color: var(--wp--preset--color--primary, #e63946); font-weight: 600; margin-top: 8px; display: inline-block; }

.comment-respond { margin-top: 32px; }
.comment-respond h3 { font-family: var(--wp--preset--font-family--heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: .83rem; font-weight: 600; margin-bottom: 5px; color: #495057; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 9px 13px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: .9rem;
    font-family: inherit;
    transition: border-color .2s;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--wp--preset--color--primary, #e63946); }
.comment-form .description { font-size: .75rem; color: #868e96; margin-top: 3px; display: block; }
.comment-form .submit {
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.comment-form .submit:hover { background: var(--wp--preset--color--primary-dark, #c1121f); }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: #495057; }

/* ── NEWSLETTER BLOCK ── */
.fp-newsletter {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 40px 24px;
    text-align: center;
    margin: 24px 0;
}
.fp-newsletter-inner { max-width: 540px; margin: 0 auto; }
.fp-newsletter-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.fp-newsletter-text { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.fp-newsletter-form { display: flex; gap: 10px; }
.fp-newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: .9rem;
    outline: none;
}
.fp-newsletter-btn {
    padding: 10px 20px;
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.fp-newsletter-btn:hover { background: var(--wp--preset--color--primary-dark, #c1121f); }

/* ── FOOTER ── */
.fp-footer { background: #1a1a2e; padding: 40px 24px 24px; }
.fp-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 100%;
    margin: 0 auto 32px;
}
.fp-footer-title {
    color: #fff;
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.fp-footer-col p { color: #adb5bd; font-size: .84rem; line-height: 1.7; }
.fp-footer-col a { display: block; color: #adb5bd; font-size: .84rem; padding: 4px 0; text-decoration: none; transition: color .2s; }
.fp-footer-col a:hover { color: var(--wp--preset--color--primary, #e63946); }

.fp-footer-social { display: flex; gap: 12px; margin-top: 14px; }
.fp-footer-social a { color: #adb5bd; font-size: 1.2rem; display: flex; align-items: center; }
.fp-footer-social a:hover { color: var(--wp--preset--color--primary, #e63946); }

.fp-footer-copy {
    background: rgba(0,0,0,.3);
    margin: 0 -24px -24px;
    padding: 12px 24px;
    text-align: center;
    color: #6c757d;
    font-size: .78rem;
    border-top: 1px solid rgba(255,255,255,.06);
}

/* ── ARCHIV-SEITE ── */
.fp-archive-header { padding: 28px 24px; background: #fff; border-bottom: 1px solid #e9ecef; margin-bottom: 24px; }
.fp-archive-title { font-family: var(--wp--preset--font-family--heading); font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.fp-archive-description { font-size: .9rem; color: #495057; }
.fp-archive-count { font-size: .8rem; color: #868e96; margin-top: 4px; }

.fp-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── AUTOREN-SEITE ── */
.fp-author-header {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 28px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.fp-author-header-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.fp-author-header-name { font-family: var(--wp--preset--font-family--heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.fp-author-header-role { color: var(--wp--preset--color--primary, #e63946); font-size: .84rem; font-weight: 600; margin-bottom: 10px; }
.fp-author-header-bio { font-size: .9rem; color: #495057; line-height: 1.65; }

/* ── BREADCRUMBS ── */
.fp-breadcrumbs {
    padding: 10px 24px;
    font-size: .78rem;
    color: #868e96;
    max-width: var(--fp-content-width, 1200px);
    margin: 0 auto;
}
.fp-breadcrumbs a { color: #868e96; }
.fp-breadcrumbs a:hover { color: var(--wp--preset--color--primary, #e63946); }
.fp-breadcrumbs span { margin: 0 6px; }

/* ── PAGINIERUNG ── */
.fp-pagination { display: flex; justify-content: center; gap: 8px; padding: 24px; flex-wrap: wrap; }
.fp-pagination a, .fp-pagination span {
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: .85rem;
    color: #495057;
    text-decoration: none;
    transition: all .2s;
}
.fp-pagination a:hover { border-color: var(--wp--preset--color--primary, #e63946); color: var(--wp--preset--color--primary, #e63946); }
.fp-pagination .current { background: var(--wp--preset--color--primary, #e63946); border-color: var(--wp--preset--color--primary, #e63946); color: #fff; }

/* ── KATEGORIE-TEMPLATE AKZENTFARBEN ── */
.cat-politik    .fp-wedge-title::before,
.cat-politik    .fp-art-cat      { color: #1565c0; }
.cat-politik    .fp-wedge-title::before { background: #1565c0; }

.cat-wirtschaft .fp-wedge-title::before,
.cat-wirtschaft .fp-art-cat     { color: #2e7d32; }
.cat-wirtschaft .fp-wedge-title::before { background: #2e7d32; }

.cat-sport      .fp-wedge-title::before,
.cat-sport      .fp-art-cat     { color: #c62828; }
.cat-sport      .fp-wedge-title::before { background: #c62828; }

.cat-kultur     .fp-wedge-title::before,
.cat-kultur     .fp-art-cat     { color: #6a1b9a; }
.cat-kultur     .fp-wedge-title::before { background: #6a1b9a; }

.cat-technik    .fp-wedge-title::before,
.cat-technik    .fp-art-cat     { color: #00695c; }
.cat-technik    .fp-wedge-title::before { background: #00695c; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .fp-main-layout.sidebar-right,
    .fp-main-layout.sidebar-left { grid-template-columns: 1fr; }

    .fp-sidebar.mobile-hidden { display: none; }
    .fp-sidebar.mobile-visible { display: flex; }

    .fp-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .fp-archive-grid { grid-template-columns: repeat(2, 1fr); }
    .fp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .fp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {

    /* ── PAGE WRAP ── */
    .fp-page-wrap { box-shadow: none; }

    /* ── HEADER ── */
    .fp-header-top {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        gap: 8px;
    }

    /* Logo kleiner */
    .fp-logo-area img,
    .fp-logo-area .custom-logo {
        height: 36px;
    }
    .fp-site-title   { font-size: 1rem; }
    .fp-site-tagline { display: none; } /* Untertitel auf Mobile ausblenden */

    /* Header rechts: nur Social Icons, kein Suchfeld */
    .fp-header-right {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    .fp-search-wrap { display: none; } /* Suche auf Mobile ausblenden */

    /* Social Icons im Header kleiner */
    .fp-social-header-link { padding: 4px; }
    .fp-social-icon-img    { width: 18px; height: 18px; }
    .fp-social-icons       { gap: 6px; border-right: none; padding-right: 0; margin-right: 0; }

    /* ── NAVIGATION ── */
    .fp-nav-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .fp-nav-bar::-webkit-scrollbar { display: none; }
    .fp-nav-inner {
        padding: 0 8px;
        width: max-content;
        min-width: 100%;
    }
    .fp-nav-bar ul li a {
        padding: 0 10px;
        height: 38px;
        font-size: .8rem;
        white-space: nowrap;
    }

    /* ── HERO GRID ── */
    .fp-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .fp-hero-main  { height: 260px; }
    .fp-hero-sub   {
        grid-template-rows: repeat(2, 130px);
        height: 266px; /* 2x130 + 6px gap */
    }
    .fp-hero-main-title  { font-size: 1.1rem; }
    .fp-hero-main-content { padding: 16px; }
    .fp-hero-sub-title   { font-size: .82rem; }
    .fp-hero-sub-content { padding: 8px 12px; }

    /* ── WEDGES ── */
    .fp-grid-3, .fp-grid-2 { grid-template-columns: 1fr; }
    .fp-grid-2-1, .fp-grid-1-2 { grid-template-columns: 1fr; }

    /* ── LAYOUT ── */
    .fp-main-layout {
        grid-template-columns: 1fr !important;
        padding: 12px;
        gap: 16px;
    }
    .fp-main-layout.sidebar-left .fp-content,
    .fp-main-layout.sidebar-left .fp-sidebar { order: unset; }
    .fp-sidebar.mobile-hidden { display: none; }

    /* ── ARTIKEL ── */
    .fp-post-title    { font-size: 1.4rem; }
    .fp-post-featured { max-height: 240px; }
    .fp-related-grid  { grid-template-columns: 1fr; }
    .fp-archive-grid  { grid-template-columns: 1fr; }
    .fp-author-box    { flex-direction: column; }
    .fp-author-header { flex-direction: column; }

    /* ── NEWSLETTER ── */
    .fp-newsletter-form { flex-direction: column; }
    .fp-newsletter { padding: 28px 16px; }

    /* ── FOOTER ── */
    .fp-footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .fp-footer      { padding: 28px 16px 16px; }
}

/* ── DARK MODE (optional, vorbereitet) ── */
@media (prefers-color-scheme: dark) {
    /* Kann später aktiviert werden */
}

/* ── PRINT ── */
@media print {
    .fp-header, .fp-nav-bar, .fp-ticker, .fp-sidebar,
    .fp-newsletter, .fp-footer, .fp-comments { display: none; }
    .fp-main-layout { grid-template-columns: 1fr; }
    body { color: #000; background: #fff; }
}

/* ============================================================
   MAGAZIN GRID HERO
   ============================================================ */

.fp-hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    height: 460px;
    gap: 3px;
    background: transparent;
    overflow: hidden;
}

/* Grosses Bild links */
.fp-hero-main {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: #1a1a2e;
    height: 100%;          /* Nimmt volle Grid-Zellen-Hoehe */
}
.fp-hero-main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}
.fp-hero-main:hover .fp-hero-main-img { transform: scale(1.03); }

.fp-hero-placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: absolute;
    inset: 0;
}

.fp-hero-main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,.92) 0%,
        rgba(0,0,0,.4)  45%,
        rgba(0,0,0,.0)  100%);
    z-index: 1;
}
.fp-hero-main-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 32px;
    z-index: 2;
}

.fp-hero-cat-badge {
    display: inline-block;
    background: var(--wp--preset--color--primary, #e63946);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 3px 9px;
    border-radius: 3px;
    margin-bottom: 9px;
}
.fp-hero-main-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.fp-hero-main-meta {
    font-size: .78rem;
    color: rgba(255,255,255,.75);
    display: flex;
    gap: 8px;
}

/* Alter Hero-Sub Block entfernt – siehe oben */
.fp-hero-sub-item:hover .fp-hero-sub-img { transform: scale(1.05); }

.fp-hero-sub-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.2)  60%,
        transparent     100%);
    z-index: 1;
}
.fp-hero-sub-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 10px 14px;
    z-index: 2;
}
.fp-hero-cat-sm {
    font-size: .6rem;
    padding: 2px 7px;
    margin-bottom: 4px;
}
.fp-hero-sub-title {
    font-family: var(--wp--preset--font-family--heading, 'Playfair Display', serif);
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 3px;
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.fp-hero-sub-meta {
    font-size: .7rem;
    color: rgba(255,255,255,.65);
}

@media (max-width: 768px) {
    .fp-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .fp-hero-main { height: 260px; }
    .fp-hero-sub {
        grid-template-rows: none;
        grid-template-columns: 1fr;
    }
    .fp-hero-sub-item { height: 110px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .fp-hero-grid { height: 340px; }
    .fp-hero-main-title { font-size: 1.2rem; }
    .fp-hero-sub-title  { font-size: .8rem; }
}

/* ============================================================
   SOCIAL MEDIA WIDGET
   ============================================================ */

/* Icons-only Layout */
.fp-social-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.fp-social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--wp--preset--color--text-medium, #495057);
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--wp--preset--color--border, #dee2e6);
    background: var(--wp--preset--color--background, #f8f9fa);
    transition: all .2s ease;
    line-height: 1;
}

.fp-social-icon-link:hover {
    border-color: var(--wp--preset--color--primary, #e63946);
    color: var(--wp--preset--color--primary, #e63946);
    background: #fff8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230,57,70,.15);
}

/* Icons + Text Layout */
.fp-social-icons-text .fp-social-icon-link {
    padding: 8px 14px;
    width: 100%;
    justify-content: flex-start;
    font-size: .88rem;
    font-weight: 500;
}

/* Plattform-Farben beim Hover */
.fp-social-facebook:hover    { border-color: #1877f2; color: #1877f2; background: #f0f5ff; box-shadow: 0 4px 12px rgba(24,119,242,.15); }
.fp-social-instagram:hover   { border-color: #e1306c; color: #e1306c; background: #fff0f5; box-shadow: 0 4px 12px rgba(225,48,108,.15); }
.fp-social-twitter:hover     { border-color: #000;    color: #000;    background: #f5f5f5; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.fp-social-youtube:hover     { border-color: #ff0000; color: #ff0000; background: #fff0f0; box-shadow: 0 4px 12px rgba(255,0,0,.15); }
.fp-social-tiktok:hover      { border-color: #010101; color: #010101; background: #f5f5f5; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.fp-social-linkedin:hover    { border-color: #0077b5; color: #0077b5; background: #f0f8ff; box-shadow: 0 4px 12px rgba(0,119,181,.15); }
.fp-social-pinterest:hover   { border-color: #e60023; color: #e60023; background: #fff0f0; box-shadow: 0 4px 12px rgba(230,0,35,.15); }
.fp-social-whatsapp:hover    { border-color: #25d366; color: #25d366; background: #f0fff5; box-shadow: 0 4px 12px rgba(37,211,102,.15); }
.fp-social-telegram:hover    { border-color: #0088cc; color: #0088cc; background: #f0f8ff; box-shadow: 0 4px 12px rgba(0,136,204,.15); }
.fp-social-discord:hover     { border-color: #5865f2; color: #5865f2; background: #f3f4ff; box-shadow: 0 4px 12px rgba(88,101,242,.15); }
.fp-social-twitch:hover      { border-color: #9146ff; color: #9146ff; background: #f7f0ff; box-shadow: 0 4px 12px rgba(145,70,255,.15); }
.fp-social-rss:hover         { border-color: #f26522; color: #f26522; background: #fff5f0; box-shadow: 0 4px 12px rgba(242,101,34,.15); }
.fp-social-email:hover       { border-color: #e63946; color: #e63946; background: #fff8f8; }

/* Größen */
.fp-social-size-small  .fp-social-icon-link { padding: 6px; border-radius: 6px; }
.fp-social-size-large  .fp-social-icon-link { padding: 10px; border-radius: 10px; }

/* Social Icons vor Suchfeld – Trenner */
.fp-header-right .fp-social-icons {
    border-right: 1px solid rgba(255,255,255,.15);
    padding-right: 16px;
    margin-right: 4px;
}
/* Falls keine Icons vorhanden – kein Trenner */
.fp-header-right .fp-social-icons:empty {
    display: none;
    border: none;
    padding: 0;
    margin: 0;
}