/* ==========================================================================
   Slople 3 – Designsystem und Seitengerüst
   ========================================================================== */

:root {
    --ink: #0f1b2d;
    --ink-2: #334155;
    --muted: #556070; /* AA auch auf --bg */
    --line: #e2e8f0;
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --brand: #0b62c4;
    --brand-ink: #0b3a66;
    --brand-soft: #e6f0fb;
    --sky: #38bdf8;
    --pro: #15803d;   /* WCAG AA mit weisser Schrift (5:1); vorher #16a34a = 3.3:1 */
    --pro-ink: #166534;
    --pro-soft: #e8f7ee;
    --warn: #f59e0b;
    --danger: #dc2626;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .08);
    --shadow-lg: 0 20px 50px rgba(15, 27, 45, .18);
    --header-h: 64px;
    --wrap: 1180px;
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --ink: #e6edf6;
        --ink-2: #c3cfdd;
        --muted: #94a3b8;
        --line: #243246;
        --bg: #0b1421;
        --surface: #111d2e;
        --surface-2: #0f1a29;
        --brand: #4a9bf0;
        --brand-ink: #9cc8f7;
        --brand-soft: #13263d;
        --pro: #15803d;
        --pro-ink: #6ee7a0;
        --pro-soft: #0f2a1c;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Nur Inhaltsbilder begrenzen – Leaflet-Kacheln und App-Icons brauchen ihre festen Masse */
.entry__content img, .entry__content video, .hero img, .section img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .15em; }
a:hover { color: var(--brand-ink); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 750; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text, .skip-link:not(:focus) {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--surface); padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 780px; }
.site-main { flex: 1 0 auto; }

/* ---------- Buttons ---------- */
.btn, .pmpro_btn, input[type="submit"].pmpro_btn, #wp-submit, #dlg_submit, .button-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 42px; padding: .55em 1.1em;
    font: 600 .95rem/1.2 var(--font);
    border-radius: 999px; border: 1px solid transparent;
    background: var(--brand); color: #fff; text-decoration: none; cursor: pointer;
    transition: background .15s, box-shadow .15s, transform .05s;
    white-space: nowrap;
}
.btn:hover, .pmpro_btn:hover, #wp-submit:hover, #dlg_submit:hover { background: var(--brand-ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); }
.btn-pro { background: var(--pro); color: #fff; box-shadow: 0 4px 14px rgba(21, 128, 61, .3); }
.btn-pro:hover { background: var(--pro-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { min-height: 34px; padding: .35em .9em; font-size: .85rem; }
.btn-lg { min-height: 52px; padding: .75em 1.5em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-disabled { background: var(--surface-2); color: var(--muted); border-color: var(--line); cursor: default; box-shadow: none; }
.btn-disabled:hover { background: var(--surface-2); color: var(--muted); }
.slople-trial-form { display: contents; }

.badge { display: inline-block; font: 700 .68rem/1 var(--font); letter-spacing: .04em; padding: .3em .5em; border-radius: 6px; }
.badge-pro { background: var(--pro); color: #fff; }
.badge-trial { background: var(--warn); color: #3b2500; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
    height: var(--header-h); max-width: 1440px; margin: 0 auto; padding: 0 16px;
    display: flex; align-items: center; gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand .logo-mark { width: 36px; height: 36px; }
.brand__name { font: 800 1.45rem/1 var(--font-display); letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand--small .logo-mark { width: 28px; height: 28px; }
.brand--small .brand__name { font-size: 1.15rem; }

.main-nav { flex: 1; min-width: 0; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a, .main-nav summary {
    display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
    border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; cursor: pointer;
}
.main-nav a:hover, .main-nav summary:hover { background: var(--surface-2); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.main-nav__item--pro a { color: var(--pro-ink); }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* Aufklappmenüs mit <details> */
details.menu { position: relative; }
details.menu > summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 999px; cursor: pointer; color: var(--ink-2); font-weight: 600; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu > summary:hover { background: var(--surface-2); }
.menu__list {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 950; min-width: 220px; max-height: 70vh; overflow: auto;
    list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.menu__list--right { left: auto; right: 0; }
.menu__list a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; height: auto; font-weight: 500; }
.menu__list a:hover { background: var(--surface-2); }
.menu__list a[aria-current] { color: var(--brand); font-weight: 700; }
.menu__list .fa { width: 16px; text-align: center; color: var(--muted); }
.menu__head { padding: 8px 12px; font-weight: 700; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu__pro, .menu__pro .fa { color: var(--pro-ink) !important; }
.avatar-sm { width: 32px; height: 32px; border-radius: 50%; }
.lang-code { font-size: .85rem; }

/* Mobil: Navigation als Leiste unten */
@media (max-width: 860px) {
    :root { --header-h: 56px; }
    .main-nav {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
        background: var(--surface); border-top: 1px solid var(--line);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .main-nav > ul { justify-content: space-around; }
    .main-nav a, .main-nav summary { flex-direction: column; gap: 2px; height: 56px; padding: 6px 8px; font-size: .7rem; border-radius: 10px; }
    .main-nav .fa { font-size: 1.25rem; }
    .main-nav .menu__list { top: auto; bottom: calc(100% + 8px); left: auto; right: 0; }
    .main-nav__item--favs { display: none; }
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .header-cta { display: none; }
    .brand__name { font-size: 1.25rem; }
}
@media (max-width: 380px) {
    .header-actions .btn-ghost { padding: .4em .7em; }
}

/* ---------- Hinweisbalken ---------- */
.pro-bar { background: var(--pro-soft); color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--pro) 25%, transparent); font-size: .92rem; }
.pro-bar--trial { background: #fff7e6; border-color: #fde3a7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pro-bar--trial { background: #2a210d; border-color: #4a3a12; } }
.pro-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.pro-bar .fa { margin-right: 6px; color: var(--pro); }
.pro-bar--trial .fa { color: var(--warn); }
.flash { padding: 12px 0; font-weight: 600; }
.flash--success { background: var(--pro); color: #fff; }
.flash--info { background: var(--brand-soft); color: var(--brand-ink); }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 400px at 85% -10%, rgba(56, 189, 248, .35), transparent 60%),
        linear-gradient(180deg, #0b3a66 0%, #0b62c4 100%);
    color: #fff;
    padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 4vw, 48px);
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero__inner { display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.4fr 1fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: #bae6fd; margin-bottom: .75em; }
.lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: inherit; max-width: 60ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hero__fineprint { font-size: .88rem; opacity: .85; margin: 0; }
.hero__fineprint .fa { color: #86efac; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.hero__stats > div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 14px; }
.hero__stats dt { font-size: .78rem; opacity: .8; }
.hero__stats dd { margin: 0; font: 800 clamp(1.3rem, 1rem + 1.2vw, 1.9rem)/1.1 var(--font-display); }

/* ---------- Abschnitte (Landing) ---------- */
.section { padding: clamp(40px, 7vw, 88px) 0; }
.section:nth-of-type(even) { background: var(--surface); }
.section__title { text-align: center; }
.section__lead { text-align: center; color: var(--muted); max-width: 60ch; margin: 0 auto 32px; }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.steps__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: 1.2rem; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }

.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); padding-bottom: 16px; margin: 0; }

.final-cta { text-align: center; }
.section--final-cta { background: linear-gradient(135deg, var(--brand-ink), var(--brand)) !important; color: #fff; }
.section--final-cta h2 { color: #fff; margin-bottom: 20px; }

/* ---------- Preiskarten ---------- */
.plans { display: grid; gap: 20px; max-width: 880px; margin: 0 auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.plan--pro { border: 2px solid var(--pro); }
.plan__ribbon { position: absolute; top: -13px; right: 20px; background: var(--pro); color: #fff; font: 700 .78rem/1 var(--font); padding: 7px 10px; border-radius: 999px; }
.plan__head h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 8px; }
.plan--pro .plan__head h3 .fa { color: var(--pro); }
.plan__price { margin: 6px 0 4px; }
.plan__amount { font: 800 2.2rem/1 var(--font-display); }
.plan__per { color: var(--muted); }
.plan__desc { color: var(--muted); font-size: .95rem; }
.plan__features { list-style: none; margin: 10px 0 22px; padding: 0; flex: 1; }
.plan__features li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.plan__features .fa { margin-top: 4px; width: 16px; flex: none; }
.plan__features .yes .fa { color: var(--pro); }
.plan__features .no { color: var(--muted); }
.plan__features .no .fa { color: var(--line); }
.plan__foot { display: grid; gap: 10px; }
.plan__alt { text-align: center; font-size: .9rem; color: var(--muted); }
.plan__guarantee { font-size: .85rem; color: var(--muted); text-align: center; margin: 0; }

.pricing { padding: clamp(24px, 5vw, 56px) 0; }
.pricing__head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.pricing__head .lead { color: var(--muted); margin: 0 auto; }
.pricing__note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 24px; }

/* ---------- Inhaltsseiten ---------- */
.content-area { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(32px, 5vw, 64px); }
.entry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); max-width: 860px; margin: 0 auto 24px; }
.entry--teaser { max-width: 860px; }
.entry__title a { color: inherit; text-decoration: none; }
.entry__meta { color: var(--muted); font-size: .9rem; }
.entry__content > *:last-child { margin-bottom: 0; }
.entry__content [style*="color:white"], .entry__content [style*="color: white"] { color: inherit !important; }
.page-template-default .entry:has(.pricing) { background: transparent; border: 0; box-shadow: none; max-width: none; padding: 0; }

.empty-state { text-align: center; max-width: 560px; }
.empty-state__code { font: 800 5rem/1 var(--font-display); color: var(--brand-soft); margin: 0; -webkit-text-stroke: 2px var(--brand); }

/* ---------- Formulare ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], input[type="tel"], select, textarea {
    width: 100%; max-width: 100%; min-height: 44px; padding: 10px 12px;
    font: 400 1rem/1.3 var(--font); color: var(--ink);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .15s, box-shadow .15s;
}
select:not([multiple]):not([size]) {
    -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 38px; text-overflow: ellipsis;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
select:not([multiple]):not([size]):hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
select:disabled { opacity: .6; cursor: not-allowed; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
label { font-weight: 600; font-size: .92rem; }

/* ---------- Login-Dialog ---------- */
.dialog { width: min(440px, calc(100vw - 32px)); border: 0; border-radius: 18px; padding: 28px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(11, 20, 33, .55); backdrop-filter: blur(3px); overflow: hidden; overscroll-behavior: contain; }
.dialog:modal { overscroll-behavior: contain; } /* Scrollen im/über dem Dialog bewegt die Seite dahinter nicht */
.dialog__close-form { position: absolute; top: 10px; right: 10px; margin: 0; }
.dialog__close { background: none; border: 0; font-size: 1.2rem; color: var(--muted); cursor: pointer; padding: 8px; border-radius: 8px; }
.dialog__close:hover { background: var(--surface-2); }
.dialog form p { margin: 0 0 14px; }
.dialog label { display: block; margin-bottom: 6px; }
.dialog .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.dialog #dlg_submit { width: 100%; }
.dialog__meta { font-size: .9rem; text-align: center; }
.dialog__signup { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.dialog__signup p { font-size: .92rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 32px 0 20px; font-size: .92rem; margin-top: auto; }
.site-footer__inner { display: grid; gap: 20px; }
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer__brand p { color: var(--muted); margin: 8px 0 0; }
.site-footer__links, .site-footer__langs { display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer a[aria-current] { font-weight: 700; color: var(--ink); }
.site-footer__legal { color: var(--muted); font-size: .82rem; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.is-app .site-footer { padding: 20px 0 16px; }

/* ==========================================================================
   Paid Memberships Pro
   ========================================================================== */
.pmpro { --pmpro--color--accent: var(--brand); --pmpro--color--base: var(--surface); --pmpro--color--contrast: var(--ink); --pmpro--color--border: var(--line); }
/* Nur die eigentliche Karte rahmen (früher doppelt: Abschnitt + Karte) */
.pmpro .pmpro_card { background: var(--surface) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: var(--shadow) !important; color: var(--ink); }
.pmpro .pmpro_section, .pmpro .pmpro_form_fieldset { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }

/* ---------- Checkout ---------- */
.is-checkout .content-area { max-width: 1080px; margin: 0 auto; }
.is-checkout .entry { max-width: none; background: none; border: 0; box-shadow: none; padding: 0; }
.is-checkout .entry__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 20px; }
/* Übersicht (pmpro_checkout_before_form) liegt VOR der <section> → Raster auf dem .pmpro-Wrapper */
.is-checkout .entry__content > .pmpro { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) {
    .is-checkout .entry__content > .pmpro { grid-template-columns: minmax(0, 1fr) 360px; }
    .is-checkout .entry__content > .pmpro > .co-summary { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 16px); }
    .is-checkout .entry__content > .pmpro > section { grid-column: 1; grid-row: 1; min-width: 0; }
}
/* AGB-Checkbox neben dem Text */
.is-checkout #pmpro_tos_fields .pmpro_form_field-checkbox, .is-checkout .pmpro_form_field-tos { display: flex; align-items: flex-start; gap: 10px; }
.is-checkout #pmpro_tos_fields input[type="checkbox"], .is-checkout .pmpro_form_field-tos input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--pro); }
.is-checkout #pmpro_tos_fields label { font-weight: 500; }
.is-checkout #pmpro_form .pmpro_card { padding: 4px 0 0; }
.is-checkout #pmpro_form .pmpro_card_title { font-size: 1.1rem; }
.is-checkout #pmpro_form .pmpro_card_actions { background: var(--surface-2); border-top: 1px solid var(--line); font-size: .9rem; }
.is-checkout #pmpro_form .pmpro_form_fields { gap: 14px; }
.is-checkout #pmpro_form .pmpro_form_input { min-height: 46px; }
.is-checkout .pmpro_form_submit, .is-checkout .pmpro_submit { margin-top: 8px; }
.is-checkout #pmpro_tos_fields, .is-checkout .pmpro_tos_wrap { margin: 16px 0 8px; padding: 0; }
.is-checkout .pmpro_btn-submit-checkout { box-shadow: 0 8px 22px rgba(22, 163, 74, .35); }

.co-summary { border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.co-summary__head { padding: 20px 22px 18px; color: #fff; background-color: #0b3a66; background-image: radial-gradient(400px 200px at 100% 0, rgba(74, 222, 128, .25), transparent 60%), linear-gradient(150deg, #072a4d, #0b62c4); }
.co-summary__head.is-basic { background-color: #334155; background-image: linear-gradient(150deg, #334155, #475569); }
.co-summary__eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #dbeafe; }
.co-summary__head h2 { color: #fff; margin: 4px 0 0; font-size: 1.7rem; }
.co-summary__head h2 span { color: #4ade80; }
.co-summary__features { list-style: none; margin: 0; padding: 16px 22px 4px; display: grid; gap: 8px; font-size: .93rem; }
.co-summary__features .fa { color: var(--pro); margin-right: 8px; }
.co-summary__price { margin: 12px 22px 0; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); display: grid; gap: 6px; }
.co-summary__price div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.co-summary__price dt { color: var(--muted); font-size: .9rem; }
.co-summary__price dd { margin: 0; font-weight: 800; }
.co-summary__price div:first-child dd { font-size: 1.4rem; color: var(--pro-ink); }
.co-summary__trust { list-style: none; margin: 0; padding: 14px 22px 20px; display: grid; gap: 8px; font-size: .86rem; color: var(--ink-2); }
.co-summary__trust .fa { color: var(--brand); width: 18px; margin-right: 6px; }
@media (max-width: 899px) {
    .co-summary__features { display: none; }
    .co-summary__head { padding: 14px 18px; }
    .co-summary__head h2 { font-size: 1.35rem; }
    .co-summary__price { margin: 10px 18px 0; }
    .co-summary__trust { padding: 12px 18px 16px; }
}
.pmpro_card_title, .pmpro_section_title { font-family: var(--font-display); }
.pmpro_form_input, .pmpro_form_field input { border-radius: var(--radius-sm) !important; }
.pmpro_btn-submit-checkout, #pmpro_btn-submit { width: 100%; min-height: 52px; font-size: 1.05rem; background: var(--pro) !important; border-radius: 999px !important; }
.pmpro_message { border-radius: var(--radius-sm); }
.pmpro_tos_wrap, #pmpro_tos_fields { font-size: .9rem; }
.checkout-trust { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; color: var(--ink-2); font-size: .9rem; }
.checkout-trust .fa { color: var(--pro); width: 18px; margin-right: 6px; }
.pmpro_checkout-field-bcountry, .pmpro_checkout-field-bphone { display: none; }

/* ==========================================================================
   Theme My Login (/login/, /register/, /lostpassword/)
   ========================================================================== */
.tml { max-width: 420px; margin: 0 auto; }
.tml .tml-field-wrap { margin-bottom: 14px; }
.tml .tml-label { display: block; margin-bottom: 6px; }
.tml .tml-button { width: 100%; }
.tml .tml-links { list-style: none; padding: 0; display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }

/* ==========================================================================
   BuddyPress (Legacy-Templates)
   ========================================================================== */
#buddypress { color: var(--ink); }
#buddypress .activity-list > li, #buddypress #item-header {
    background: var(--surface); border: 1px solid var(--line) !important; border-radius: var(--radius); padding: 16px !important; margin-bottom: 14px; box-shadow: var(--shadow);
}
#buddypress .activity-list .activity-avatar img, #buddypress img.avatar { border-radius: 50%; }
#buddypress .activity-header { font-size: .95rem; color: var(--ink-2); }
#buddypress .activity-header a:first-child { font-weight: 700; }
#buddypress .activity-inner { font-size: 1rem; }
#buddypress .activity-meta a, #buddypress .generic-button a, #buddypress button, #buddypress input[type="submit"] {
    border-radius: 999px !important; border: 1px solid var(--line) !important; background: var(--surface) !important; color: var(--ink-2) !important; padding: 6px 12px !important; font-size: .85rem !important;
}
#buddypress .activity-meta a:hover, #buddypress .generic-button a:hover { background: var(--surface-2) !important; color: var(--brand) !important; }
#buddypress #whats-new-form textarea { min-height: 90px; border-radius: var(--radius-sm); }
#buddypress div.item-list-tabs ul li a { border-radius: 999px; padding: 6px 12px; }
#buddypress div.item-list-tabs ul li.selected a, #buddypress div.item-list-tabs ul li.current a { background: var(--brand-soft); color: var(--brand); }
.membersList { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px; margin-bottom: 28px; }
.membersList img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }
.membersList a { display: block; }
.isPro img.avatar, a.isPro img { outline: 3px solid var(--pro); outline-offset: 2px; }

/* Mobil: backdrop-filter würde die fixe Navigation unten im Header einsperren */
@media (max-width: 860px) {
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
}

/* BuddyPress: eingebettete Gruppenkarten kompakt */
#buddypress .activity-list .bp-group-preview, #buddypress .activity-list .activity-inner .bp-group-cover, #buddypress .activity-list .bp-generic-avatar-preview { max-height: 0; overflow: hidden; display: none; }
#buddypress .activity-list .activity-inner img.avatar[src*="mystery-group"], #buddypress .activity-list .activity-inner .group-avatar { width: 48px !important; height: 48px !important; }

/* Flächen mit weisser Schrift: feste Markenfarben statt Variablen (die im Dunkelmodus hell werden) */
.section--final-cta { background: linear-gradient(135deg, #0b3a66, #0b62c4) !important; }

/* ==========================================================================
   Wochenplaner (Pro)
   ========================================================================== */
.entry:has(.planner) { max-width: 1180px; }
.planner__head { margin-bottom: 18px; }
.planner__head .lead { color: var(--muted); }
.planner__settings { margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.planner__settings > summary { cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.planner__settings > summary::-webkit-details-marker { display: none; }
.planner__settings > summary .fa { color: var(--brand); }
.planner__summary { font-weight: 500; color: var(--muted); font-size: .9rem; margin-left: auto; }
.planner__form { display: grid; gap: 16px; padding: 4px 16px 16px; }
.planner__type { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.planner__type legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.planner__type label, .planner__check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.planner__nums { display: flex; flex-wrap: wrap; gap: 12px; }
.planner__nums label { display: grid; gap: 4px; font-size: .88rem; }
.planner__nums span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.planner__nums input { width: 90px; min-height: 40px; }
.planner__alerts { align-items: flex-start; font-size: .92rem; }
.planner__alerts input { margin-top: 4px; }
.planner__saved { color: var(--pro-ink); font-weight: 600; margin-left: 10px; }
.planner__form .btn { justify-self: start; }

.planner__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.planner__table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; font-size: .9rem; }
.planner__table th, .planner__table td { padding: 8px; text-align: center; border-bottom: 1px solid var(--line); }
.planner__table thead th { position: sticky; top: 0; background: var(--surface); font-weight: 700; }
.planner__table thead th span { display: block; }
.planner__table thead th small { color: var(--muted); font-weight: 500; }
.planner__slopecol { position: sticky; left: 0; z-index: 1; background: var(--surface); text-align: left !important; min-width: 170px; max-width: 220px; }
.planner__slopecol a { font-weight: 700; color: var(--ink); text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.planner__slopecol a:hover { color: var(--brand); }
.planner__slopecol small { color: var(--muted); display: block; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.planner__cell { min-width: 84px; }
.planner__cell a, .planner__cell > span, .planner__cell > strong { display: grid; place-items: center; gap: 2px; min-height: 52px; border-radius: 10px; text-decoration: none; color: inherit; padding: 4px; }
.planner__cell strong { font-size: .85rem; }
.planner__cell small { font-size: .72rem; opacity: .85; }
.planner__cell.is-l0 > span, .planner__cell.is-lna > span { color: var(--muted); }
.planner__cell.is-l1 a, .planner__cell.is-l1 > strong, .planner__key.is-l1 { background: #dcfce7; color: #166534; }
.planner__cell.is-l2 a, .planner__cell.is-l2 > strong, .planner__key.is-l2 { background: #86efac; color: #14532d; }
.planner__cell.is-l3 a, .planner__cell.is-l3 > strong, .planner__key.is-l3 { background: #15803d; color: #fff; }
.planner__cell a:hover { filter: brightness(.95); }
.planner__key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin: 0 4px 0 10px; border: 1px solid var(--line); }
.planner__key.is-l0 { background: var(--surface); }
.planner__legend { color: var(--muted); font-size: .82rem; margin-top: 10px; }
.planner__empty { padding: 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }

.planner__teaser { position: relative; }
.planner__demo { filter: blur(2px) saturate(.9); opacity: .75; pointer-events: none; user-select: none; }
.planner__teaser-card { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(420px, calc(100% - 24px)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; text-align: center; }
.planner__teaser-card h2 { font-size: 1.2rem; }
.planner__teaser-card h2 .fa { color: var(--pro); }
.planner__teaser-card ul { text-align: left; margin: 0 0 16px; padding-left: 20px; color: var(--ink-2); }
.planner__teaser-card .slople-trial-form { display: block; }
@media (max-width: 600px) { .planner__teaser-card { position: relative; inset: auto; transform: none; margin: -60px auto 0; } }
@media (max-width: 860px) { .main-nav__item--planner span { font-size: .66rem; } }

/* Planer mobil: je Hang eine Zeile mit 7 kompakten Tagesfeldern */
.planner__count { display: none; font-style: normal; }
@media (max-width: 700px) {
    .planner__scroll { overflow: visible; border: 0; background: none; }
    .planner__table, .planner__table tbody { display: block; min-width: 0; }
    .planner__table thead { display: none; }
    .planner__table tr { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 12px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
    .planner__table th, .planner__table td { border: 0; padding: 0; }
    .planner__table .planner__slopecol { grid-column: 1 / -1; position: static; min-width: 0; max-width: none; margin-bottom: 6px; background: none; }
    .planner__cell { min-width: 0; }
    .planner__cell::before { content: attr(data-day); display: block; font-size: .68rem; color: var(--muted); margin-bottom: 2px; }
    .planner__cell a, .planner__cell > span, .planner__cell > strong { min-height: 40px; padding: 2px; border-radius: 8px; }
    .planner__cell a strong, .planner__cell a small { display: none; }
    .planner__cell .planner__count { display: block; font-weight: 700; font-size: .8rem; }
    .planner__cell.is-l0 > span, .planner__cell.is-lna > span { background: var(--surface-2); }
    .planner__demo .planner__cell > strong { font-size: .6rem; }
    .planner__legend { line-height: 2; }
}

/* ==========================================================================
   Pro-Verkaufsbereich (pitch)
   ========================================================================== */
.section__eyebrow { text-align: center; color: var(--pro-ink); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 8px; }
.pitch { display: grid; gap: clamp(28px, 4vw, 44px); max-width: 1080px; margin: 0 auto; }

.pitch__stage {
    position: relative; display: grid; gap: 28px; align-items: center; overflow: hidden;
    padding: clamp(22px, 4vw, 44px); border-radius: 24px; color: #fff;
    background:
        radial-gradient(600px 300px at 90% 10%, rgba(74, 222, 128, .22), transparent 60%),
        radial-gradient(500px 300px at 0% 100%, rgba(56, 189, 248, .25), transparent 60%),
        linear-gradient(150deg, #072a4d 0%, #0b3a66 45%, #0b62c4 100%);
    box-shadow: 0 30px 60px rgba(11, 58, 102, .28);
}
@media (min-width: 900px) { .pitch__stage { grid-template-columns: 1.05fr 1fr; } }
.pitch__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(74, 222, 128, .18); color: #bbf7d0; font-weight: 700; font-size: .85rem; border: 1px solid rgba(74, 222, 128, .35); }
.pitch__title { color: #fff; font: 800 clamp(2rem, 1.4rem + 2.4vw, 3rem)/1.05 var(--font-display); margin: 14px 0 6px; letter-spacing: -.02em; }
.pitch__title span { background: linear-gradient(90deg, #4ade80, #a7f3d0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pitch__claim { font-size: 1.15rem; opacity: .9; margin-bottom: 18px; }
.pitch__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 16px; }
.pitch__amount { font: 800 2.6rem/1 var(--font-display); }
.pitch__per { opacity: .85; }
.pitch__monthly { font-size: .85rem; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.pitch__bullets { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.pitch__bullets li { display: flex; gap: 10px; align-items: flex-start; }
.pitch__bullets .fa { color: #4ade80; margin-top: 4px; }
.pitch__cta .btn, .pitch__cta .slople-trial-form .btn { min-width: 240px; font-size: 1.1rem; min-height: 56px; box-shadow: 0 10px 30px rgba(22, 163, 74, .45); }
.pitch__cta .slople-trial-form { display: inline-block; }
.pitch__cta .btn-disabled { background: rgba(255, 255, 255, .15); color: #fff; border-color: transparent; box-shadow: none; }
.pitch__fine { font-size: .85rem; opacity: .8; margin: 14px 0 0; }
.pitch__free { margin: 8px 0 0; font-size: .9rem; }
.pitch__free a { color: #bae6fd; }

/* Vorschau-Collage */
.pitch__preview { position: relative; min-height: 360px; }
.pv-card { position: absolute; background: rgba(255, 255, 255, .97); color: #0f1b2d; border-radius: 16px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.pv-label { margin: 0 0 8px; font-size: .75rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }
.pv-strong { margin: 0; font-weight: 700; }
.pv-muted { margin: 2px 0 0; color: #64748b; font-size: .9rem; }
.pv-card--wind { top: 0; left: 0; width: min(330px, 92%); background: linear-gradient(160deg, #0b3a66, #0b62c4); color: #fff; transform: rotate(-2deg); z-index: 2; }
.pv-card--wind .pv-label { color: rgba(255, 255, 255, .75); }
.pv-wind { display: flex; align-items: center; gap: 16px; }
.pv-dial { width: 120px; height: 120px; flex: none; overflow: visible; }
.pv-fit { display: inline-flex; gap: 6px; align-items: center; margin: 6px 0; padding: 3px 10px; border-radius: 999px; background: #dcfce7; color: #166534; font-weight: 700; font-size: .82rem; }
.pv-extra { margin: 0; font-size: .82rem; opacity: .85; }
.pv-card--week { right: 0; top: 150px; width: min(300px, 88%); transform: rotate(1.5deg); z-index: 3; }
.pv-row { display: grid; grid-template-columns: 1fr repeat(7, 18px); gap: 4px; align-items: center; font-size: .8rem; font-weight: 600; margin-top: 4px; }
.pv-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-c { display: block; width: 18px; height: 18px; border-radius: 5px; background: #f1f5f9; }
.pv-c.is-l1 { background: #dcfce7; } .pv-c.is-l2 { background: #86efac; } .pv-c.is-l3 { background: #16a34a; }
.pv-card--mail { left: 8%; bottom: 0; width: min(310px, 86%); transform: rotate(-1deg); z-index: 4; border-left: 4px solid #16a34a; }
/* Kompass-Stile der App auch hier (Vorschau) */
.pv-dial .wc-face { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.pv-dial .wc-sector { fill: rgba(74, 222, 128, .55); }
.pv-dial .wc-arrow-nav { fill: #fff; stroke: #0b3a66; stroke-width: 3; stroke-linejoin: round; }
.pv-dial .wc-sector-edge { fill: none; stroke: #4ade80; stroke-width: 3; stroke-linecap: round; }
.pv-dial .wc-tick { stroke: rgba(255, 255, 255, .32); stroke-width: 1; }
.pv-dial .wc-tick.is-major { stroke: rgba(255, 255, 255, .7); stroke-width: 1.6; }
.pv-dial .wc-card { fill: #fff; font: 800 8px/1 var(--font); }
.pv-dial .wc-needle line { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.pv-dial .wc-needle path, .pv-dial .wc-needle circle { fill: #fff; }
.pv-dial .wc-hub { fill: #0b3a66; stroke: rgba(255, 255, 255, .22); }
.pv-dial .wc-speed { fill: #fff; font: 800 12px/1 var(--font); }
.pv-dial .wc-unit { fill: rgba(255, 255, 255, .7); font: 600 5.5px/1 var(--font); }
@media (max-width: 899px) {
    .pitch__preview { min-height: 0; display: grid; gap: 12px; }
    .pv-card { position: relative; inset: auto; width: auto; transform: none; }
    .pv-card--mail { display: none; }
}

/* Funktionskacheln */
.pitch__features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pitch__features li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.pitch__features li:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pitch__ficon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--pro-soft), var(--brand-soft)); color: var(--pro-ink); font-size: 1.2rem; margin-bottom: 12px; }
.pitch__features h4 { margin: 0 0 4px; font-size: 1.02rem; }
.pitch__features p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Vergleich */
.pitch__compare { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pitch__compare table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .95rem; }
.pitch__compare th, .pitch__compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.pitch__compare tbody th { text-align: left; font-weight: 500; color: var(--ink-2); }
.pitch__compare thead th { font: 800 1.05rem/1.2 var(--font-display); }
.pitch__compare thead small { display: block; font: 500 .8rem/1.4 var(--font); color: var(--muted); }
.pitch__compare .is-pro { background: color-mix(in srgb, var(--pro) 7%, transparent); }
.pitch__compare thead .is-pro { color: var(--pro-ink); border-top: 3px solid var(--pro); }
.pitch__compare td.is-pro { font-weight: 600; color: var(--ink); }
.pitch__compare .fa-check { color: var(--pro); font-size: 1.1rem; }
.pitch__compare .cmp-no { color: var(--line); font-weight: 700; }
.pitch__compare tfoot td, .pitch__compare tfoot th { border-bottom: 0; padding: 16px; }
.pitch__compare .cmp-current { color: var(--muted); font-size: .85rem; }
.pitch__compare tfoot .slople-trial-form { display: inline-block; }

/* Vertrauen */
.pitch__trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); text-align: center; }
.pitch__trust li { color: var(--muted); font-size: .9rem; }
.pitch__trust strong { display: block; color: var(--ink); font: 800 1.35rem/1.3 var(--font-display); }
.pitch__trust .fa { color: var(--pro); }

/* Pitch: Feinschliff */
.pitch > * { min-width: 0; }
@media (min-width: 900px) { .pitch__features { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
    .pitch__features { gap: 10px; }
    .pitch__features li { display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; padding: 14px; }
    .pitch__ficon { grid-row: span 2; width: 40px; height: 40px; margin: 0; font-size: 1.05rem; }
    .pitch__features h4 { font-size: .98rem; }
    .pitch__features p { font-size: .86rem; }
    .pitch__compare table { min-width: 0; font-size: .82rem; table-layout: fixed; }
    .pitch__compare th, .pitch__compare td { padding: 10px 6px; }
    .pitch__compare tbody th { width: 46%; padding-left: 12px; }
    .pitch__compare thead th { font-size: .92rem; }
    .pitch__compare tfoot th { display: none; }
    .pitch__compare tfoot td { padding: 12px 4px; }
    .pitch__compare tfoot td:first-of-type { display: none; }
    .pitch__compare tfoot tr { display: block; }
    .pitch__compare tfoot td.is-pro { display: block; background: none; }
    .pitch__compare tfoot .btn, .pitch__compare tfoot .slople-trial-form, .pitch__compare tfoot .slople-trial-form .btn { width: 100%; display: flex; }
    .pitch__trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .pitch__compare tfoot { display: none; } }
.pitch__direct { margin: 10px 0 0; font-size: .9rem; }
.pitch__direct a { color: #fff; font-weight: 700; }
.pitch__direct span { display: block; opacity: .75; font-size: .82rem; }
.checkout-cardtrial { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: var(--pro-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--pro) 30%, transparent); font-size: .92rem; }
.checkout-cardtrial strong { color: var(--pro-ink); }
.is-checkout #pmpro_tos_fields label.pmpro_form_label { display: flex !important; align-items: center; gap: 10px; flex-wrap: wrap; }
.is-checkout #pmpro_tos_fields .pmpro_form_field-checkbox { display: block; }

/* ==========================================================================
   Aktivitäten: Profil, Community und Hang-Seite (gemeinsames Design)
   Selektoren bewusst spezifisch, damit bp-legacy (buddypress.css) überstimmt wird
   ========================================================================== */
:is(#buddypress, .slope-canvas-sub) ul.activity-list { list-style: none; margin: 0; padding: 0; }
:is(#buddypress, .slope-canvas-sub) ul.activity-list > li {
    display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px;
    margin: 0 0 12px; padding: 18px 20px !important; background: var(--surface);
    border: 1px solid var(--line) !important; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15, 27, 45, .05);
}
:is(#buddypress, .slope-canvas-sub) ul.activity-list > li .activity-avatar { float: none; margin: 0; grid-row: 1 / span 2; }
:is(#buddypress, .slope-canvas-sub) ul.activity-list > li .activity-avatar img.avatar,
:is(#buddypress, .slope-canvas-sub) ul.activity-list > li.mini .activity-avatar img.avatar {
    display: block; float: none; width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; margin: 0 !important; border-radius: 50%;
}
:is(#buddypress, .slope-canvas-sub) ul.activity-list > li .activity-content { margin: 0 !important; min-width: 0; }

/* Kopfzeile: Name fett, Rest gedämpft, keine Unterstreichungen */
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-header {
    margin: 0 0 6px !important; font-size: .9rem; line-height: 1.45; color: var(--muted);
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-header p { margin: 0; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-header a { color: var(--ink); font-weight: 600; text-decoration: none; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-header a:hover { color: var(--brand); }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-header a.activity-time-since { color: var(--muted); font-weight: 400; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-header a.activity-time-since::before { content: "· "; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-header img.avatar { display: none; }

/* Inhalt */
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-inner {
    margin: 0 !important; font-size: 1rem; line-height: 1.6; color: var(--ink); overflow: hidden;
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-inner p { margin: 0 0 .6em; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-inner > :last-child { margin-bottom: 0; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-read-more { margin-left: 4px; white-space: nowrap; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-read-more a { font-weight: 600; color: var(--brand); text-decoration: none; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-read-more a::after { content: " →"; }
/* Hang-Karte (statt BuddyPress-Gruppenkarte mit Platzhalterbild) */
.slope-card {
    display: flex; align-items: center; gap: 14px; max-width: 420px; margin-top: 4px; padding: 8px 14px 8px 8px;
    color: var(--ink); text-decoration: none; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: border-color .15s, background .15s;
}
.slope-card:hover { border-color: var(--brand); background: var(--brand-soft); }
.slope-card__map { position: relative; flex: 0 0 auto; width: 96px; height: 96px; overflow: hidden; border-radius: 8px; background: #dfe8e1; }
.slope-card__map img { position: absolute; width: 256px !important; max-width: none !important; height: 256px !important; border-radius: 0 !important; }
.slope-card__pin {
    position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
    background: var(--brand); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(15, 27, 45, .45);
}
.slope-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.slope-card__name { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.slope-card__place { font-size: .85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slope-card__cta { margin-top: 6px; font-size: .85rem; font-weight: 700; color: var(--brand); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .slope-card__map img { filter: brightness(.8) contrast(1.1); } }
:root[data-theme="dark"] .slope-card__map img { filter: brightness(.8) contrast(1.1); }

/* Bilder aus „Activity Plus“: Kachelraster statt untereinander */
:is(#buddypress, .slope-canvas-sub) .activity-list .bpfb_images { display: flex; flex-wrap: wrap; gap: 8px; }
:is(#buddypress, .slope-canvas-sub) .activity-list .bpfb_images br { display: none; }
:is(#buddypress, .slope-canvas-sub) .activity-list .bpfb_images a { display: block; }
:is(#buddypress, .slope-canvas-sub) .activity-list .bpfb_images img {
    display: block; width: 132px !important; height: 132px !important; object-fit: cover; border-radius: 10px; margin: 0 !important;
}
@media (max-width: 560px) {
    :is(#buddypress, .slope-canvas-sub) .activity-list .bpfb_images img { width: 96px !important; height: 96px !important; }
}

/* Aktionen: leise Pillen mit Icons, Löschen nach rechts */
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0 !important; padding: 0;
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta:not(:has(a)) { display: none; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.button {
    display: inline-flex; align-items: center; gap: 6px; margin: 0 !important; padding: 5px 12px !important;
    font-size: .82rem !important; font-weight: 600; line-height: 1.4 !important; text-decoration: none;
    color: var(--muted) !important; background: transparent !important; border: 1px solid var(--line) !important; border-radius: 999px !important;
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.button:hover { color: var(--brand) !important; background: var(--brand-soft) !important; border-color: transparent !important; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.button::before { font: normal normal normal 14px/1 FontAwesome; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.acomment-reply::before { content: "\f0e5"; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.view::before { content: "\f086"; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.fav::before { content: "\f006"; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.unfav::before { content: "\f005"; color: var(--warn); }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.delete-activity { margin-left: auto !important; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.delete-activity::before { content: "\f014"; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.delete-activity:hover { color: var(--danger) !important; background: transparent !important; border-color: currentColor !important; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-content .activity-meta a.bp-primary-action span {
    margin: 0; padding: 0 7px; font-size: .75rem; line-height: 1.5; border-radius: 999px;
    background: var(--surface-2) !important; color: var(--ink-2) !important; border: 1px solid var(--line);
}

/* Kommentar-Threads: flach statt endlos eingerückt, Avatar links */
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments {
    grid-column: 2; margin: 0 !important; padding: 0; border: 0 !important; background: none; min-width: 0;
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments ul { list-style: none; margin: 0 !important; padding: 0 !important; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments > ul { margin-top: 14px !important; border-top: 1px solid var(--line); }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments ul li {
    display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px;
    margin: 0; padding: 12px 0 0 !important; border: 0 !important; background: none; list-style: none;
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments ul li > ul { grid-column: 1 / -1; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-avatar { grid-row: 1 / span 3; float: none; margin: 0; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-avatar img.avatar {
    display: block; float: none; width: 32px !important; height: 32px !important; margin: 0 !important; border: 0 !important; border-radius: 50%; object-fit: cover;
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-meta { margin: 0 !important; padding: 0; font-size: .85rem; line-height: 1.4; color: var(--muted); }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-meta a { color: var(--ink); font-weight: 600; text-decoration: none; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-meta a.activity-time-since { color: var(--muted); font-weight: 400; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-meta a.activity-time-since::before { content: "· "; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-content {
    margin: 2px 0 0 !important; font-size: .95rem; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere;
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-content p { margin: 0 0 .4em; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-content > :last-child { margin-bottom: 0; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-options { display: flex; gap: 14px; margin: 4px 0 0 !important; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-options a { font-size: .8rem; font-weight: 600; color: var(--muted); text-decoration: none; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-options a:hover { color: var(--brand); }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments .acomment-options a.delete:hover { color: var(--danger); }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments li.show-all { display: block; padding-top: 10px !important; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments li.show-all a { font-size: .85rem; font-weight: 600; color: var(--brand); text-decoration: none; }

/* Antwortformular (wird per JS eingeblendet) */
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments form.ac-form {
    display: none; margin: 12px 0 0 !important; padding: 12px !important; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments form.ac-form div.ac-reply-avatar { display: none; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments form.ac-form div.ac-reply-content { margin: 0 !important; padding: 0 !important; color: var(--muted); }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments form.ac-form .ac-textarea { margin: 0 0 10px; padding: 0; background: none; border: 0; }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments form.ac-form textarea {
    display: block; box-sizing: border-box; width: 100%; min-height: 72px; padding: 10px 12px; resize: vertical;
    font: inherit; font-size: .95rem; line-height: 1.5; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments form.ac-form textarea:focus { outline: 3px solid var(--brand-soft); border-color: var(--brand); }
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments form.ac-form input[type="submit"] {
    margin: 0 !important; padding: 7px 16px !important; font-size: .85rem !important; font-weight: 700;
    color: #fff !important; background: var(--brand) !important; border: 0 !important; border-radius: 999px !important; cursor: pointer;
}
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments form.ac-form .ac-reply-cancel { margin-left: 8px; font-size: .85rem; color: var(--muted); text-decoration: none; }

/* Beitragsformular „Was gibt's Neues?“ */
:is(#buddypress, .slope-canvas-sub) form#whats-new-form {
    display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; margin: 0 0 16px !important; padding: 14px !important;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #whats-new-avatar { float: none; margin: 0; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #whats-new-avatar img.avatar { display: block; width: 40px !important; height: 40px !important; margin: 0; border-radius: 50%; object-fit: cover; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #whats-new-content { margin: 0 !important; padding: 0 !important; min-width: 0; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #whats-new-textarea { margin: 0; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form textarea {
    display: block; box-sizing: border-box; width: 100%; height: 88px; min-height: 64px; padding: 10px 12px; resize: vertical;
    font: inherit; font-size: 1rem; line-height: 1.5; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
:is(#buddypress, .slope-canvas-sub) form#whats-new-form textarea:focus { background: var(--surface); border-color: var(--brand) !important; outline: 3px solid var(--brand-soft); }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #whats-new-options {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; height: auto !important; overflow: visible !important; margin-top: 10px;
}
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #whats-new-options::after { display: none; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #whats-new-submit { order: 9; float: none; margin: 0 0 0 auto; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #aw-whats-new-submit {
    margin: 0 !important; padding: 8px 18px !important; font-size: .9rem !important; font-weight: 700;
    color: #fff !important; background: var(--brand) !important; border: 0 !important; border-radius: 999px !important; cursor: pointer;
}
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #aw-whats-new-submit:hover { filter: brightness(1.08); }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #aw-whats-new-submit:disabled { opacity: .6; cursor: default; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #whats-new-post-in-box { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form #whats-new-options select {
    max-width: 220px; margin: 0; padding: 6px 10px; font: inherit; font-size: .85rem; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
/* Zusatzleiste von „Activity Plus“ (Fotos, Videos, Links) */
:is(#buddypress, .slope-canvas-sub) form#whats-new-form .bpfb_toolbar_container { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 0; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form a.bpfb_toolbarItem {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: .8rem; font-weight: 600; line-height: 1.4;
    color: var(--muted); text-decoration: none; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
}
:is(#buddypress, .slope-canvas-sub) form#whats-new-form a.bpfb_toolbarItem::before { font: normal normal normal 13px/1 FontAwesome; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form a#bpfb_addPhotos::before { content: "\f030"; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form a#bpfb_addVideos::before { content: "\f03d"; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form a#bpfb_addLinks::before { content: "\f0c1"; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form a.bpfb_toolbarItem:hover,
:is(#buddypress, .slope-canvas-sub) form#whats-new-form a.bpfb_toolbarItem.bpfb_active { color: var(--brand); background: var(--brand-soft); border-color: transparent; }
:is(#buddypress, .slope-canvas-sub) form#whats-new-form .bpfb_form_container { min-width: 0; }

/* Hang-Seite: schmale Spalte – kompakter, Formular ohne Avatar */
:is(#buddypress, .slope-canvas-sub).slope-canvas-sub ul.activity-list > li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; padding: 14px !important; background: var(--surface-2); box-shadow: none; }
:is(#buddypress, .slope-canvas-sub).slope-canvas-sub form#whats-new-form { grid-template-columns: minmax(0, 1fr); background: var(--surface-2); }
:is(#buddypress, .slope-canvas-sub).slope-canvas-sub form#whats-new-form #whats-new-avatar { display: none; }

@media (max-width: 560px) {
    #buddypress ul.activity-list > li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; padding: 14px !important; }
    :is(#buddypress, .slope-canvas-sub) .activity-list .activity-comments { grid-column: 1 / -1; }
}
/* Freundschaften: die Kopfzeile sagt alles, keine grosse Profilkarte */
:is(#buddypress, .slope-canvas-sub) .activity-list .activity-inner:has(> .bp-member-activity-preview:only-child),
:is(#buddypress, .slope-canvas-sub) .activity-list .bp-member-activity-preview { display: none; }

/* Piloten-Verzeichnis */
.pilots__tools { display: flex; gap: 8px; margin-bottom: 16px; }
.pilots__search { position: relative; flex: 1 1 auto; min-width: 0; }
.pilots__search input[type="search"] { padding-left: 44px; border-radius: 999px; background: var(--surface-2); }
.pilots__go { box-shadow: none !important; outline-offset: 2px; position: absolute; left: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.pilots__go:hover, .pilots__go:focus-visible { color: var(--brand); background: var(--brand-soft); }
.pilots__sort { position: relative; flex: 0 0 auto; }
.pilots__sort > .fa { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--brand); pointer-events: none; font-size: .9rem; }
.pilots__sort select { width: auto; padding-left: 38px; border-radius: 999px; background-color: var(--surface-2); font-weight: 600; font-size: .92rem; }
@media (max-width: 480px) {
    .pilots__sort select { width: 52px; padding: 0; color: transparent; background-image: none; }
    .pilots__sort select option { color: var(--ink); }
    .pilots__sort > .fa { left: 50%; transform: translate(-50%, -50%); }
}
.pilots__count { color: var(--ink-2); font-size: .9rem; margin: 0 0 12px; }
.pilots__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.pilot-card a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; border: 1px solid var(--line, #e2e8f0); border-radius: var(--radius-sm, 10px); text-decoration: none; color: inherit; text-align: center; height: 100%; }
.pilot-card a:hover, .pilot-card a:focus-visible { border-color: var(--brand); background: var(--surface-2); }
.pilot-card img.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.pilot-card__name { font-weight: 700; overflow-wrap: anywhere; }
.pilot-card__meta { font-size: .8rem; color: var(--ink-2); }
.pilot-card.is-pro img.avatar { box-shadow: 0 0 0 3px #22c55e; }
.pilots__pages { margin-top: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.pilots__pages .page-numbers { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line, #e2e8f0); text-decoration: none; }
.pilots__pages .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Mobile Navigation unten: gleich breite Felder, aktive Pille mit Luft rundherum, Icons einheitlich hoch */
@media (max-width: 860px) {
    .main-nav { padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(15, 27, 45, .06); }
    .main-nav > ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; justify-content: stretch; }
    .main-nav > ul > li { min-width: 0; }
    .main-nav > ul > li[hidden], .main-nav__item--favs { display: none !important; }
    .main-nav a, .main-nav summary { justify-content: center; width: 100%; height: 52px; padding: 4px 2px; gap: 3px; border-radius: 12px; font-size: .72rem; white-space: nowrap; }
    .main-nav .fa { width: 24px; height: 22px; display: grid; place-items: center; font-size: 1.2rem; line-height: 1; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* Startseite: neue Bilder und Videos (Mosaik, auf Mobile Wischleiste) */
.media-feed { container-type: inline-size; margin: 24px 0 8px; }
.media-feed__title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 700 1.15rem/1.3 var(--font-display, var(--font)); color: var(--ink); }
.media-feed__title .fa { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: .95rem; }
.media-feed__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 10px; }
.media-feed__item { aspect-ratio: 4 / 3; min-width: 0; margin: 0; padding: 0; }
.media-feed__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.media-feed__item a { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 14px; background: var(--surface-2); color: #fff; text-decoration: none; box-shadow: 0 0 0 1px var(--line); isolation: isolate; }
.media-feed__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.media-feed__item a::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(6, 14, 26, .82), rgba(6, 14, 26, 0)); pointer-events: none; }
.media-feed__item a:hover img, .media-feed__item a:focus-visible img { transform: scale(1.05); }
.media-feed__item a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.media-feed__cap { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 8px; display: flex; flex-direction: column; gap: 1px; line-height: 1.25; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.media-feed__cap strong { font-size: .85rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-feed__cap span { font-size: .75rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-feed__item:first-child .media-feed__cap { left: 16px; bottom: 14px; }
.media-feed__item:first-child .media-feed__cap strong { font-size: 1.1rem; }
.media-feed__item:first-child .media-feed__cap span { font-size: .85rem; }
.media-feed__play { position: absolute; z-index: 1; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(6, 14, 26, .55); backdrop-filter: blur(4px); font-size: 16px; }
.media-feed__play .fa { margin-left: 3px; }
@container (min-width: 900px) { .media-feed__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@container (max-width: 559px) {
    .media-feed__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
    .media-feed__grid::-webkit-scrollbar { display: none; }
    .media-feed__item, .media-feed__item:first-child { flex: 0 0 72%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
    .media-feed__item:first-child .media-feed__cap { left: 10px; bottom: 8px; }
    .media-feed__item:first-child .media-feed__cap strong { font-size: .85rem; }
    .media-feed__item:first-child .media-feed__cap span { font-size: .75rem; }
}
@media (max-width: 767px) { .media-feed { display: block !important; } }
