/* Filmbuddy Magazin 1.7.8: optional Halloween feature. */
.fbdhw-toggle {
  appearance:none; -webkit-appearance:none; display:inline-grid; place-items:center;
  box-sizing:border-box; width:44px; min-width:44px; height:44px; min-height:44px;
  flex:0 0 44px; margin:0; padding:0; border:1px solid rgba(17,19,24,.14);
  border-radius:50%; background:#fff; color:#D97700;
  cursor:pointer; line-height:1; vertical-align:middle;
  transition:background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
@media(hover:hover) {
  .fbdhw-toggle:hover { border-color:#d88b3a; box-shadow:0 0 0 3px rgba(245,141,57,.10); }
}
.fbdhw-toggle:focus-visible { outline:3px solid #ffc36e !important; outline-offset:3px; }
.fbdhw-pumpkin { width:27px; height:27px; display:block; overflow:visible; flex:none; }
.fbdhw-shell { fill:rgba(247,141,39,.25); stroke:#f99a3d; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.fbdhw-ribs,.fbdhw-stem { stroke:#f9ac56; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.fbdhw-face { fill:#ffd78c; stroke:#ffd78c; stroke-width:.35; opacity:.55; transition:opacity .18s ease; }
.fbdhw-toggle[aria-pressed="true"] .fbdhw-face { opacity:1; }
.fbdhw-toggle[aria-pressed="true"] { background:#493019; color:#ffd78c; border-color:#ffaf5e; box-shadow:inset 0 0 16px rgba(250,126,38,.14),0 0 18px rgba(255,144,45,.17); }
.fbd-site-header .fbdhw-toggle { width:44px !important; height:44px !important; min-height:44px !important; flex:0 0 44px; padding:0 !important; margin:0 !important; border-radius:50% !important; }
.fbd-site-header .fbdhw-toggle .fbdhw-pumpkin,.fbd-site-header .fbdhw-toggle .fbdhw-pumpkin * { stroke-linecap:round; stroke-linejoin:round; }
/* Protect the pumpkin from shared navigation SVG rules that clear all SVG fills. */
.fbd-site-header .fbdhw-toggle .fbdhw-shell { fill:rgba(247,141,39,.25) !important; stroke:#f99a3d !important; stroke-width:1.7 !important; }
.fbd-site-header .fbdhw-toggle .fbdhw-ribs,.fbd-site-header .fbdhw-toggle .fbdhw-stem { fill:none !important; stroke:#f9ac56 !important; stroke-width:1.7 !important; }
.fbd-site-header .fbdhw-toggle .fbdhw-face { fill:#ffd78c !important; stroke:#ffd78c !important; opacity:.55; }
.fbd-site-header .fbdhw-toggle[aria-pressed="true"] .fbdhw-face { opacity:1; }
/* Neutral button colors are explicit: themes may style all generic header buttons. */
html:not([data-fbd-halloween="on"]):not([data-fbd-theme="dark"]) .fbd-site-header button.fbdhw-toggle,
html:not([data-fbd-halloween="on"]):not([data-fbd-theme="dark"]) button.fbdhw-toggle {
  background:#fff !important; border-color:rgba(17,19,24,.15) !important;
  color:#CE7500 !important; box-shadow:none !important;
}
html:not([data-fbd-halloween="on"])[data-fbd-theme="dark"] .fbd-site-header button.fbdhw-toggle,
html:not([data-fbd-halloween="on"])[data-fbd-theme="dark"] button.fbdhw-toggle {
  background:#151a25 !important; border-color:rgba(255,255,255,.16) !important;
  color:#ffac68 !important; box-shadow:none !important;
}
@media(hover:hover) {
  html:not([data-fbd-halloween="on"]) .fbd-site-header button.fbdhw-toggle:hover {
    border-color:#ed9b4d !important;
  }
}
html[data-fbd-halloween="on"] .fbd-site-header button.fbdhw-toggle,
html[data-fbd-halloween="on"] button.fbdhw-toggle {
  background:#493019 !important; border-color:#ffaf5e !important;
  color:#ffd78c !important; box-shadow:0 0 16px rgba(255,144,45,.17) !important;
}

html[data-fbd-halloween="on"] .fbdhw-toggle .fbdhw-pumpkin { filter:drop-shadow(0 0 4px rgba(255,177,90,.45)); }

/* Keep existing day and night mode fully unchanged when Halloween is off. */
html[data-fbd-halloween="on"] { color-scheme:dark; --fbdhw-bg:#0e0b13; --fbdhw-bg2:#181220; --fbdhw-panel:#201728; --fbdhw-line:rgba(250,178,110,.18); --fbdhw-text:#f6eef7; --fbdhw-muted:#c6b8c8; --fbdhw-orange:#ffa65a; --fbdhw-orange-strong:#FF9500; }
html[data-fbd-halloween="on"] body { background:var(--fbdhw-bg) !important; color:var(--fbdhw-text); }
html[data-fbd-halloween="on"] :is(.fbd-site-header,.fbd-site-footer,.fbd-home-topics,.fbd-mobile-drawer) {
  --fbd-ui-bg:#15101c; --fbd-ui-soft:#271d2e; --fbd-ui-text:#f6eef7;
  --fbd-ui-muted:#c6b8c8; --fbd-ui-line:rgba(250,178,110,.19); --fbd-ui-accent:#ffa65a;
}
html[data-fbd-halloween="on"] .fbd-site-header { background:rgba(21,16,28,.98) !important; border-bottom-color:#5a342d !important; }
html[data-fbd-halloween="on"] .fbd-site-brand i { background:#FF9500; box-shadow:0 0 14px rgba(255,156,70,.45); }
html[data-fbd-halloween="on"] .fbd-desktop-nav { background:#251b2a !important; border-color:#49313c !important; }
html[data-fbd-halloween="on"] .fbd-desktop-nav a:hover,
html[data-fbd-halloween="on"] .fbd-desktop-nav a[aria-current="page"] { background:#442b31 !important; color:#ffcc91 !important; }
html[data-fbd-halloween="on"] .fbd-site-header .fbd-theme-toggle,
html[data-fbd-halloween="on"] .fbd-site-header .fbd-site-icon { background:#271d2e !important; border-color:#5b3941 !important; color:#f7eaf6 !important; }
html[data-fbd-halloween="on"] .fbd-site-header .fbdhw-toggle { background:#493019 !important; border-color:#ffaf5e !important; }
html[data-fbd-halloween="on"] .fbd-site-header button:focus-visible,
html[data-fbd-halloween="on"] .fbd-mobile-drawer a:focus-visible,
html[data-fbd-halloween="on"] .fbd-topic-link:focus-visible { outline-color:#ffba72 !important; }
html[data-fbd-halloween="on"] .fbd-site-search-form .fbd-search-submit { background:#A95200 !important; color:#fff !important; }
html[data-fbd-halloween="on"] .fbd-site-footer { border-top-color:#563634; background:#15101c !important; }
html[data-fbd-halloween="on"] .fbd-site-footer a:hover,
html[data-fbd-halloween="on"] .fbd-site-footer a:focus-visible { color:#ffc18a !important; }
html[data-fbd-halloween="on"] :is(.fbd-topic-links a.fbd-topic-link:hover,.fbd-footer-social a:hover) { border-color:#FFAD46 !important; }

/* Home: supports both the native 1.7.5 template and the legacy saved-HTML design. */
html[data-fbd-halloween="on"] .fb-home {
  --fb-bg:#0e0b13; --fb-bg-soft:#191321; --fb-panel:#201728; --fb-panel-2:#2a1f31;
  --fb-surface:#1b1523; --fb-line:rgba(250,178,110,.18); --fb-line-strong:rgba(250,178,110,.25);
  --fb-ink:#f6eef7; --fb-text:#f6eef7; --fb-muted:#c6b8c8; --fb-accent:#FF9500;
  --fb-shadow:0 24px 65px rgba(0,0,0,.37);
  position:relative; isolation:isolate; color:#f6eef7 !important;
  background:radial-gradient(circle at 88% 3%,rgba(244,128,39,.12),transparent 28rem),
    radial-gradient(circle at 2% 32%,rgba(101,59,131,.13),transparent 35rem),#0e0b13 !important;
}
html[data-fbd-halloween="on"] .fb-home :is(.fb-intro h1,.fb-section-head h2,.fb-card__title,.fb-outro h2) { color:#faf1f8 !important; }
html[data-fbd-halloween="on"] .fb-home :is(.fb-intro p,.fb-kicker,.fb-card__excerpt,.fb-section-head__meta,.fb-outro p) { color:#c6b8c8 !important; }
html[data-fbd-halloween="on"] .fb-home :is(.fb-intro__kicker,.fb-badge) { color:#fff8ed !important; }
html[data-fbd-halloween="on"] .fb-home .fb-intro__kicker { color:#ffc18a !important; }
html[data-fbd-halloween="on"] .fb-home .fb-badge { background:#A95200 !important; }
html[data-fbd-halloween="on"] .fb-home .fb-card { border-color:rgba(247,160,93,.23) !important; background:#1b1523 !important; box-shadow:0 8px 26px rgba(0,0,0,.22); }
html[data-fbd-halloween="on"] .fb-home .fb-card:hover { border-color:rgba(255,170,99,.55) !important; box-shadow:0 14px 32px rgba(220,116,0,.14); }
html[data-fbd-halloween="on"] .fb-home .fb-story { outline:1px solid rgba(255,166,85,.18); outline-offset:-1px; }
html[data-fbd-halloween="on"] .fb-home .fb-filter { background:#231a2b !important; border-color:#63424a !important; color:#f8eaf3 !important; }
html[data-fbd-halloween="on"] .fb-home .fb-filter:hover,
html[data-fbd-halloween="on"] .fb-home .fb-filter.is-active { background:#A95200 !important; border-color:#f4a365 !important; color:#fff !important; }
html[data-fbd-halloween="on"] .fb-home .fb-load-more,
html[data-fbd-halloween="on"] .fb-home .fb-outro-links a { color:#ffe1c2 !important; background:#271d2e !important; border-color:#78513f !important; }
html[data-fbd-halloween="on"] .fb-home .fb-load-more:hover { background:#493039 !important; }
html[data-fbd-halloween="on"] .fb-home .fb-strip { background:#201627 !important; border-color:rgba(255,166,85,.24) !important; }
html[data-fbd-halloween="on"] .fb-home .fb-mast { background:#15101c !important; border-bottom-color:#563634 !important; }
html[data-fbd-halloween="on"] .fb-home .fb-intro__text { color:#c6b8c8 !important; }

/* Articles, archives, category and search views. Minimal, palette-only modifications. */
html[data-fbd-halloween="on"] :is(.fbd-article,.fbd-cat,.fbd-search,.fbd-native-page) {
  color:#f6eef7 !important;
  background:radial-gradient(circle at 89% 0%,rgba(230,118,34,.09),transparent 25rem),#0e0b13 !important;
}
html[data-fbd-halloween="on"] :is(.fbd-topbar,.fbd-native-page__article,.fbd-cat-card,.fbd-search-card,.fbd-related-card,.fbd-side-note,.fbd-comments,.fbd-google-source-cta) {
  background-color:#1b1523 !important; border-color:rgba(247,160,93,.19) !important;
}
html[data-fbd-halloween="on"] :is(.fbd-cat-card-body,.fbd-search-card-body,.fbd-cat-filter,.fbd-search-form,.fbd-native-page__content) {
  background-color:#1b1523 !important; border-color:rgba(247,160,93,.19) !important;
}
html[data-fbd-halloween="on"] :is(.fbd-title,.fbd-cat-title,.fbd-search-title,.fbd-cat-card-title,.fbd-search-card-title,.fbd-related-card h3,.fbd-native-page__content h1,.fbd-native-page__content h2,.fbd-content h2,.fbd-content h3) { color:#faf1f8 !important; }
html[data-fbd-halloween="on"] :is(.fbd-content,.fbd-content p,.fbd-content li,.fbd-deck,.fbd-cat-card-excerpt,.fbd-search-card-excerpt,.fbd-native-page__content,.fbd-native-page__content p) { color:#e0d3e0 !important; }
html[data-fbd-halloween="on"] :is(.fbd-content a,.fbd-comments a,.fbd-native-page__content a,.fbd-native-page__back) { color:#DFC4FF !important; }
html[data-fbd-halloween="on"] :is(.fbd-cat-filter.is-current,.fbd-cat-filter:hover,.fbd-search-pagination .current) { background:#A95200 !important; color:#fff !important; border-color:#FFAE46 !important; }
html[data-fbd-halloween="on"] :is(.fbd-google-source-button,.fbd-search-form button[type="submit"]) { background:#A95200 !important; border-color:#BC6500 !important; color:#fff !important; }
html[data-fbd-halloween="on"] .fbd-article a:focus-visible { outline-color:#ffb56e !important; }

/* Decorative web SVG and a faint crescent: no DOM mutation, no external resources. */
html[data-fbd-halloween="on"]:not([data-fbdhw-no-decorations="1"]) .fbd-site-header::before,
html[data-fbd-halloween="on"]:not([data-fbdhw-no-decorations="1"]) .fbd-site-header::after {
  content:""; pointer-events:none; position:absolute; top:0; width:86px; height:86px;
  opacity:.7; filter:drop-shadow(0 0 8px rgba(255,171,93,.22)); background:url("halloween-web-corner.svg") top left/contain no-repeat; z-index:0;
}
html[data-fbd-halloween="on"]:not([data-fbdhw-no-decorations="1"]) .fbd-site-header::before { left:0; }
html[data-fbd-halloween="on"]:not([data-fbdhw-no-decorations="1"]) .fbd-site-header::after { right:0; transform:scaleX(-1); }
html[data-fbd-halloween="on"] .fbd-site-header__inner { position:relative; z-index:1; }
html[data-fbd-halloween="on"]:not([data-fbdhw-no-decorations="1"]) .fb-home::after {
  content:""; position:absolute; right:7%; top:22px; pointer-events:none; width:66px; height:66px;
  border-radius:50%; box-shadow:inset -16px 3px 0 -4px rgba(255,189,113,.66);
  filter:drop-shadow(0 0 10px rgba(253,154,61,.25)); opacity:.35; z-index:0;
}
html[data-fbd-halloween="on"] .fb-home > * { position:relative; z-index:1; }

/* Decorative candles */
.fbdhw-candles { display:none; position:fixed; left:0; right:0; bottom:14px; pointer-events:none; z-index:9996; }
html[data-fbd-halloween="on"] .fbdhw-candles { display:block; }
.fbdhw-candle { position:absolute; bottom:0; width:26px; height:78px; opacity:.95; filter:drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.fbdhw-candle--left { left:18px; }
.fbdhw-candle--right { right:18px; }
.fbdhw-candle__wax { position:absolute; left:0; right:0; bottom:0; height:58px; border-radius:10px 10px 6px 6px; background:linear-gradient(180deg,#f8e4bc 0%,#f2cf95 46%,#d79d55 100%); box-shadow:inset 0 -8px 12px rgba(109,58,18,.18), inset 0 8px 10px rgba(255,255,255,.2); }
.fbdhw-candle__wax::before { content:""; position:absolute; left:50%; top:-10px; width:2px; height:12px; margin-left:-1px; background:#2b170f; border-radius:2px; }
.fbdhw-candle__wax::after { content:""; position:absolute; inset:auto 5px 10px 5px; height:2px; background:rgba(144,86,40,.2); box-shadow:0 -13px 0 rgba(144,86,40,.14),0 -26px 0 rgba(144,86,40,.1); }
.fbdhw-candle__flame { position:absolute; left:50%; top:-20px; width:14px; height:22px; margin-left:-7px; border-radius:60% 60% 65% 65% / 70% 70% 45% 45%; background:radial-gradient(circle at 50% 28%, #fff6cb 0 25%, #ffdf7b 26% 48%, #ff9f30 49% 72%, rgba(255,112,24,.96) 73% 100%); box-shadow:0 0 12px rgba(255,180,72,.65),0 0 24px rgba(255,132,30,.34); transform-origin:50% 100%; animation:fbdhw-flame 1.8s ease-in-out infinite alternate; }
.fbdhw-candle__flame::after { content:""; position:absolute; left:50%; bottom:4px; width:5px; height:8px; margin-left:-2.5px; border-radius:50%; background:rgba(255,244,193,.85); filter:blur(.6px); }
.fbdhw-candle__glow { position:absolute; left:50%; top:-28px; width:44px; height:44px; margin-left:-22px; border-radius:50%; background:radial-gradient(circle, rgba(255,189,99,.28) 0, rgba(255,149,51,.18) 36%, rgba(255,115,25,0) 72%); animation:fbdhw-glow 2s ease-in-out infinite alternate; }
@keyframes fbdhw-flame { 0% { transform:translateX(-1px) rotate(-4deg) scaleY(.96); } 50% { transform:translateX(1px) rotate(2deg) scaleY(1.05); } 100% { transform:translateX(-.5px) rotate(5deg) scaleY(.98); } }
@keyframes fbdhw-glow { 0% { transform:scale(.96); opacity:.75; } 100% { transform:scale(1.08); opacity:1; } }

@media(max-width:700px) {
  html[data-fbd-halloween="on"]:not([data-fbdhw-no-decorations="1"]) .fbd-site-header::before,
  html[data-fbd-halloween="on"]:not([data-fbdhw-no-decorations="1"]) .fbd-site-header::after { width:52px; height:52px; opacity:.42; }
  html[data-fbd-halloween="on"]:not([data-fbdhw-no-decorations="1"]) .fb-home::after { width:44px; height:44px; right:4%; top:10px; opacity:.25; }
  .fbdhw-candle { width:20px; height:64px; }
  .fbdhw-candle--left { left:8px; }
  .fbdhw-candle--right { right:8px; }
  .fbdhw-candle__wax { height:48px; }
}
@media(max-width:460px) {
  .fbdhw-candles { bottom:8px; }
  .fbdhw-candle { width:17px; height:54px; opacity:.88; }
  .fbdhw-candle__wax { height:40px; }
  .fbdhw-candle__glow { width:34px; height:34px; margin-left:-17px; top:-21px; }
  .fbdhw-candle__flame { width:10px; height:17px; margin-left:-5px; top:-15px; }
}
@media(max-width:360px) {
  /* Four accessible 44px tap targets do not fit alongside the brand on very narrow screens. */
  .fbd-site-header__inner:has(.fbdhw-toggle) { flex-wrap:wrap; row-gap:4px; padding-block:8px; }
  .fbd-site-header__inner:has(.fbdhw-toggle) .fbd-site-actions { margin-left:auto; }
}
@media(prefers-reduced-motion:reduce) {
  .fbdhw-toggle,.fbdhw-pumpkin,.fbdhw-face { transition:none !important; }
  .fbdhw-candle__flame,.fbdhw-candle__glow { animation:none !important; }
}



/* Filmbuddy 1.7.7: Halloween-only palette. Scoped to the opt-in HTML state.
   Color roles: vivid orange = actions/categories, deep violet = tags/pills,
   acid green = editorial hyperlinks, violet/green = discovery accents.
   Intentional component targeting avoids media, advertisements and warnings. */
html[data-fbd-halloween="on"] {
  --fbdhw-orange:#FF9800;
  --fbdhw-orange-bright:#FFAE32;
  --fbdhw-orange-deep:#E58200;
  --fbdhw-orange-soft:#FFD28B;
  --fbdhw-violet:#8E43CB;
  --fbdhw-violet-deep:#45205F;
  --fbdhw-violet-bright:#B576FF;
  --fbdhw-violet-text:#DFB8FF;
  --fbdhw-green:#B8F76D;
  --fbdhw-green-hover:#DBFF9D;
  --fbdhw-ink:#1D1021;
  --fbdhw-orange-strong:var(--fbdhw-orange);
  --fbdhw-purple:var(--fbdhw-violet-text);
}
/* Override custom properties as close to each magazine template as possible. */
html[data-fbd-halloween="on"] .fb-home {
  --fb-accent:var(--fbdhw-orange);
  --fb-line:rgba(168,105,219,.28);
}
html[data-fbd-halloween="on"] :is(.fbd-article,.fbd-cat,.fbd-search,.fbd-native-page) {
  --accent:var(--fbdhw-orange);
  --accent2:var(--fbdhw-violet-text);
  --fb-accent:var(--fbdhw-orange);
  --fb-line:rgba(168,105,219,.28);
}
html[data-fbd-halloween="on"] :is(.fbd-site-header,.fbd-site-footer,.fbd-home-topics,.fbd-mobile-drawer) {
  --fbd-ui-accent:var(--fbdhw-orange);
  --fbd-ui-line:rgba(177,108,221,.28);
}
/* Orange that is visibly orange, not brick red; dark foreground for contrast. */
html[data-fbd-halloween="on"] :is(
  .fb-home .fb-badge,
  .fbd-article .fbd-category,
  .fbd-article .fbd-related-cat,
  .fbd-cat .fbd-cat-badge,
  .fbd-search .fbd-search-badge
) {
  background:var(--fbdhw-orange) !important;
  color:var(--fbdhw-ink) !important;
  border-color:var(--fbdhw-orange-bright) !important;
  box-shadow:0 5px 18px rgba(255,152,0,.18) !important;
}
html[data-fbd-halloween="on"] :is(
  .fbd-site-search-form .fbd-search-submit,
  .fbd-search .fbd-search-form button[type="submit"],
  .fbd-article .fbd-content .fbd-google-source-button,
  .fbd-native-page .fbd-page-button
) {
  background:var(--fbdhw-orange) !important;
  color:var(--fbdhw-ink) !important;
  border-color:var(--fbdhw-orange-bright) !important;
  text-decoration:none !important;
  transition:background-color .2s ease,box-shadow .2s ease,transform .2s ease !important;
}
html[data-fbd-halloween="on"] :is(
  .fbd-site-search-form .fbd-search-submit:hover,
  .fbd-search .fbd-search-form button[type="submit"]:hover,
  .fbd-article .fbd-content .fbd-google-source-button:hover,
  .fbd-native-page .fbd-page-button:hover
) {
  background:#FFB642 !important;
  box-shadow:0 5px 16px rgba(255,152,0,.25) !important;
}
/* Deep purple tags (not the ordinary editorial-link style). */
html[data-fbd-halloween="on"] .fbd-article .fbd-content a.fbd-tag,
html[data-fbd-halloween="on"] .fbd-article a.fbd-tag {
  background:var(--fbdhw-violet-deep) !important;
  color:#F6E7FF !important;
  border-color:var(--fbdhw-violet-bright) !important;
  text-decoration:none !important;
  background-image:none !important;
  box-shadow:inset 0 0 0 1px rgba(222,184,255,.08) !important;
  transition:background-color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease !important;
}
html[data-fbd-halloween="on"] .fbd-article .fbd-content a.fbd-tag:is(:hover,:focus-visible),
html[data-fbd-halloween="on"] .fbd-article a.fbd-tag:is(:hover,:focus-visible) {
  background:#703296 !important;
  color:#fff !important;
  border-color:#E1A8FF !important;
  box-shadow:0 5px 16px rgba(142,67,203,.26) !important;
  transform:translateY(-2px);
}
/* Green article links: both letters and underline are green in normal state.
   Animate underline offset/weight on hover; works even for wrapped links. */
html[data-fbd-halloween="on"] :is(.fbd-content,.fbd-native-page__content,.fbd-comments) a:not(.fbd-tag):not(.fbd-category):not(.fbd-google-source-button):not(.fbd-page-button):not(.button):not(.wp-element-button),
html[data-fbd-halloween="on"] .fb-home :is(.fb-strip,.fb-outro-links) a:not(.fb-filter),
html[data-fbd-halloween="on"] .fbd-article a.fbd-back {
  color:var(--fbdhw-green) !important;
  text-decoration-line:underline !important;
  text-decoration-color:var(--fbdhw-green) !important;
  text-decoration-style:solid !important;
  text-decoration-thickness:2px !important;
  text-underline-offset:3px !important;
  background-image:none !important;
  transition:color .24s ease,text-decoration-color .24s ease,text-underline-offset .24s ease,text-shadow .24s ease !important;
}
html[data-fbd-halloween="on"] :is(.fbd-content,.fbd-native-page__content,.fbd-comments) a:not(.fbd-tag):not(.fbd-category):not(.fbd-google-source-button):not(.fbd-page-button):not(.button):not(.wp-element-button):is(:hover,:focus-visible),
html[data-fbd-halloween="on"] .fb-home :is(.fb-strip,.fb-outro-links) a:not(.fb-filter):is(:hover,:focus-visible),
html[data-fbd-halloween="on"] .fbd-article a.fbd-back:is(:hover,:focus-visible) {
  color:var(--fbdhw-green-hover) !important;
  text-decoration-color:var(--fbdhw-green-hover) !important;
  text-decoration-thickness:3px !important;
  text-underline-offset:6px !important;
  text-shadow:0 0 10px rgba(184,247,109,.20);
}
/* Hero headlines stay white over imagery; turn green when a story is selected. */
html[data-fbd-halloween="on"] .fb-home .fb-story .fb-story__title { color:#FFF8EF !important; transition:color .2s ease,text-decoration-color .2s ease !important; }
html[data-fbd-halloween="on"] .fb-home .fb-story:is(:hover,:focus-within) .fb-story__title {
  color:var(--fbdhw-green-hover) !important;
  text-decoration:underline !important;
  text-decoration-color:var(--fbdhw-green) !important;
  text-underline-offset:4px !important;
}
/* Home and results share rich violet card borders + green hover headings. */
html[data-fbd-halloween="on"] :is(.fb-home .fb-card,.fbd-cat .fbd-cat-card,.fbd-search .fbd-search-card,.fbd-article .fbd-related-card) {
  border-color:rgba(173,104,226,.38) !important;
}
html[data-fbd-halloween="on"] :is(.fb-home .fb-card:hover,.fb-home .fb-card:focus-within,.fbd-cat .fbd-cat-card:hover,.fbd-search .fbd-search-card:hover,.fbd-article .fbd-related-card:hover) {
  border-color:var(--fbdhw-violet-bright) !important;
  box-shadow:0 13px 32px rgba(107,48,158,.17) !important;
}
html[data-fbd-halloween="on"] .fb-home .fb-card .fb-card__title,
html[data-fbd-halloween="on"] .fbd-cat .fbd-cat-card .fbd-cat-card-title,
html[data-fbd-halloween="on"] .fbd-search .fbd-search-card .fbd-search-card-title,
html[data-fbd-halloween="on"] .fbd-article .fbd-related-card h3 { color:#F9F0FF !important; transition:color .2s ease,text-decoration-color .2s ease !important; }
html[data-fbd-halloween="on"] .fb-home .fb-card:is(:hover,:focus-within) .fb-card__title,
html[data-fbd-halloween="on"] .fbd-cat .fbd-cat-card:is(:hover,:focus-within) .fbd-cat-card-title,
html[data-fbd-halloween="on"] .fbd-search .fbd-search-card:is(:hover,:focus-within) .fbd-search-card-title,
html[data-fbd-halloween="on"] .fbd-article .fbd-related-card:is(:hover,:focus-within) h3 {
  color:var(--fbdhw-green) !important;
  text-decoration:underline !important;
  text-decoration-color:var(--fbdhw-green) !important;
  text-decoration-thickness:2px !important;
  text-underline-offset:4px !important;
}
/* Orange kicker, violet decorative rules, green overview info. */
html[data-fbd-halloween="on"] :is(.fb-home .fb-intro__kicker,.fbd-cat .fbd-cat-kicker,.fbd-search .fbd-search-kicker,.fbd-article .fbd-related-kicker) {
  color:var(--fbdhw-orange-bright) !important;
}
html[data-fbd-halloween="on"] :is(.fbd-search .fbd-search-kicker,.fbd-cat .fbd-cat-kicker)::before { background:var(--fbdhw-violet-bright) !important; }
html[data-fbd-halloween="on"] .fb-home .fb-section-head .fb-kicker { color:var(--fbdhw-green) !important; }
html[data-fbd-halloween="on"] .fb-home .fb-section-head h2 { text-decoration-color:var(--fbdhw-violet) !important; }
html[data-fbd-halloween="on"] .fbd-search .fbd-search-title strong { color:var(--fbdhw-violet-bright) !important; }
html[data-fbd-halloween="on"] .fbd-search .fbd-search-count { color:var(--fbdhw-green) !important; }
html[data-fbd-halloween="on"] .fbd-cat .fbd-cat-title strong { color:var(--fbdhw-violet-bright) !important; }
/* Distinguishable purple active filters + orange action buttons. */
html[data-fbd-halloween="on"] .fb-home .fb-filter.is-active,
html[data-fbd-halloween="on"] .fbd-cat .fbd-cat-filter.is-current,
html[data-fbd-halloween="on"] .fbd-search .fbd-search-pagination .page-numbers.current,
html[data-fbd-halloween="on"] .fbd-cat .fbd-cat-pagination .page-numbers.current {
  background:var(--fbdhw-violet-deep) !important;
  color:#F8E8FF !important;
  border-color:var(--fbdhw-violet-bright) !important;
}
html[data-fbd-halloween="on"] .fb-home .fb-filter:not(.is-active),
html[data-fbd-halloween="on"] .fbd-cat .fbd-cat-filter:not(.is-current) {
  border-color:rgba(177,113,226,.37) !important;
  background:#281A32 !important;
  color:#ECD7FC !important;
}
html[data-fbd-halloween="on"] .fb-home .fb-filter:is(:hover,:focus-visible),
html[data-fbd-halloween="on"] .fbd-cat .fbd-cat-filter:is(:hover,:focus-visible) {
  background:#66318E !important;
  border-color:var(--fbdhw-violet-bright) !important;
  color:#fff !important;
}
html[data-fbd-halloween="on"] .fb-home .fb-load-more,
html[data-fbd-halloween="on"] .fb-home .fb-outro-links a {
  border-color:var(--fbdhw-violet-bright) !important;
  background:#291B35 !important;
  color:var(--fbdhw-green) !important;
}
html[data-fbd-halloween="on"] .fb-home .fb-load-more:hover { background:#43245A !important; border-color:var(--fbdhw-green) !important; }
/* Date stays subdued; "Mehr lesen" becomes a green-on-purple link pill. */
html[data-fbd-halloween="on"] :is(.fbd-search .fbd-search-meta-tag:not(.fbd-search-meta-tag--read),.fbd-cat .fbd-cat-meta-tag:not(.fbd-cat-meta-tag--read)) {
  background:#2B2136 !important;
  border-color:rgba(175,116,218,.3) !important;
  color:#DCC7F0 !important;
}
html[data-fbd-halloween="on"] .fbd-search .fbd-search-meta-tag--read,
html[data-fbd-halloween="on"] .fbd-cat .fbd-cat-meta-tag--read,
html[data-fbd-halloween="on"] .fb-home .fb-card .fb-meta > span:last-child {
  background:#352044 !important;
  border-color:var(--fbdhw-violet-bright) !important;
  color:var(--fbdhw-green) !important;
  text-decoration-color:var(--fbdhw-green) !important;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease !important;
}
html[data-fbd-halloween="on"] .fbd-search .fbd-search-card:hover .fbd-search-meta-tag--read,
html[data-fbd-halloween="on"] .fbd-cat .fbd-cat-card:hover .fbd-cat-meta-tag--read,
html[data-fbd-halloween="on"] .fbd-search .fbd-search-meta-tag--read:is(:hover,:focus-visible),
html[data-fbd-halloween="on"] .fbd-cat .fbd-cat-meta-tag--read:is(:hover,:focus-visible) {
  background:#52306B !important;
  border-color:var(--fbdhw-green) !important;
  color:var(--fbdhw-green-hover) !important;
}
/* Purple accents on feature cards/search, without altering cover artwork. */
html[data-fbd-halloween="on"] .fb-home .fb-story { outline-color:rgba(181,118,255,.42) !important; }
html[data-fbd-halloween="on"] .fbd-search .fbd-search-form { border-color:rgba(181,118,255,.42) !important; }
html[data-fbd-halloween="on"] .fbd-search .fbd-search-form input:focus { outline:2px solid var(--fbdhw-green) !important; outline-offset:1px; }
html[data-fbd-halloween="on"] .fbd-article .fbd-progress span { background:linear-gradient(90deg,var(--fbdhw-violet),var(--fbdhw-orange)) !important; }
html[data-fbd-halloween="on"] .fbd-article .fbd-content blockquote {
  border-color:var(--fbdhw-violet-bright) !important;
  background:linear-gradient(130deg,rgba(94,39,126,.26),#181220) !important;
}
html[data-fbd-halloween="on"] :is(.fb-home,.fbd-article,.fbd-cat,.fbd-search,.fbd-native-page) :is(a,button,input,textarea):focus-visible {
  outline-color:var(--fbdhw-green) !important;
}
@media (prefers-reduced-motion:reduce) {
  html[data-fbd-halloween="on"] :is(.fbd-content,.fbd-native-page__content,.fbd-comments) a,
  html[data-fbd-halloween="on"] :is(.fb-card__title,.fbd-cat-card-title,.fbd-search-card-title,.fbd-related-card h3) { transition:none !important; }
}


/* v1.7.8: Halloween-only linked card title fix.
   Cards/hero are always green and NEVER underlined (including hover and focus).
   Editorial text links above remain green and underlined as before. */
html[data-fbd-halloween="on"] :is(
  .fb-home .fb-story__link,
  .fb-home .fb-card__link,
  .fbd-cat .fbd-cat-card a,
  .fbd-search .fbd-search-card a,
  .fbd-article .fbd-related-card a
) {
  text-decoration:none !important;
  text-decoration-line:none !important;
  background-image:none !important;
}
html[data-fbd-halloween="on"] :is(
  .fb-home .fb-story .fb-story__title,
  .fb-home .fb-card .fb-card__title,
  .fbd-cat .fbd-cat-card .fbd-cat-card-title,
  .fbd-search .fbd-search-card .fbd-search-card-title,
  .fbd-article .fbd-related-card a h3
) {
  color:var(--fbdhw-green) !important;
  text-decoration:none !important;
  text-decoration-line:none !important;
  text-decoration-color:transparent !important;
  background-image:none !important;
  transition:color .22s ease,text-shadow .22s ease !important;
}
html[data-fbd-halloween="on"] :is(
  .fb-home .fb-story:is(:hover,:focus-within) .fb-story__title,
  .fb-home .fb-card:is(:hover,:focus-within) .fb-card__title,
  .fbd-cat .fbd-cat-card:is(:hover,:focus-within) .fbd-cat-card-title,
  .fbd-search .fbd-search-card:is(:hover,:focus-within) .fbd-search-card-title,
  .fbd-article .fbd-related-card:is(:hover,:focus-within) h3
) {
  color:var(--fbdhw-green-hover) !important;
  text-decoration:none !important;
  text-decoration-line:none !important;
  text-shadow:0 0 12px rgba(184,247,109,.18);
}
@media(prefers-reduced-motion:reduce) {
  html[data-fbd-halloween="on"] :is(.fb-story__title,.fb-card__title,.fbd-cat-card-title,.fbd-search-card-title,.fbd-related-card h3) {
    transition:none !important;
  }
}
