/* ═══════════════════════════════════════════════════════════════════════════
   Movie Database Theme — Main CSS
   Light mode only
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables: Light Mode ─────────────────────────────────────────── */
:root {
    --fdb-accent:        #1A56FF;
    --fdb-accent-dark:   #1240cc;
    --fdb-accent-light:  #e8f0ff;

    /* Light mode colours */
    --fdb-bg:            #ffffff;
    --fdb-bg-2:          #f5f6f8;
    --fdb-bg-3:          #eef0f4;
    --fdb-text:          #111827;
    --fdb-text-2:        #4b5563;
    --fdb-text-3:        #9ca3af;
    --fdb-border:        #e5e7eb;
    --fdb-border-2:      #d1d5db;
    --fdb-card-bg:       #ffffff;
    --fdb-card-shadow:   0 2px 12px rgba(0,0,0,.07);
    --fdb-card-hover-shadow: 0 8px 32px rgba(0,0,0,.12);
    --fdb-overlay-light: rgba(0,0,0,.35);
    --fdb-overlay-heavy: rgba(0,0,0,.65);

    /* Footer */
    --fdb-footer-bg:     #0f1626;
    --fdb-footer-text:   #cbd5e1;
    --fdb-footer-border: rgba(255,255,255,.08);

    /* Status colours */
    --fdb-status-available:     #059669;
    --fdb-status-available-bg:  #ecfdf5;
    --fdb-status-licensed:      #d97706;
    --fdb-status-licensed-bg:   #fffbeb;
    --fdb-status-not-available: #dc2626;
    --fdb-status-not-bg:        #fef2f2;

    /* Spacing & radii */
    --fdb-radius:        10px;
    --fdb-radius-sm:     6px;
    --fdb-radius-lg:     16px;
    --fdb-radius-pill:   999px;
    --fdb-container:     1280px;
    --fdb-header-h:      70px;
    --fdb-transition:    .2s ease;
}

/* TV series details module */
.fdb-module-tv-series .fdb-tv-series-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.fdb-module-tv-series .fdb-tv-series-stat {
  background: var(--fdb-bg-2);
  border: 1px solid var(--fdb-border);
  border-radius: var(--fdb-radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fdb-module-tv-series .fdb-tv-series-stat-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fdb-text-3);
  font-weight: 700;
}
.fdb-module-tv-series .fdb-tv-series-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fdb-text);
}
.fdb-module-tv-series .fdb-tv-series-seasons {
  display: grid;
  gap: 12px;
}
.fdb-module-tv-series .fdb-tv-series-season {
  background: var(--fdb-bg-2);
  border: 1px solid var(--fdb-border);
  border-radius: var(--fdb-radius);
  padding: 14px 16px;
}
.fdb-module-tv-series .fdb-tv-series-season-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.fdb-module-tv-series .fdb-tv-series-season-header h3 {
  margin: 0;
  font-size: 1rem;
}
.fdb-module-tv-series .fdb-tv-series-season-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fdb-text-2);
  font-size: .86rem;
}
.fdb-module-tv-series .fdb-tv-series-season-synopsis {
  margin: 0;
  color: var(--fdb-text-2);
  line-height: 1.6;
}

/* ── Dark Mode ─────────────────────────────────────────────────────────── */
/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif; background: var(--fdb-bg); color: var(--fdb-text); line-height: 1.6; transition: background var(--fdb-transition), color var(--fdb-transition); -webkit-font-smoothing: antialiased; }
html, body { min-height: 100%; }
body { display: flex; flex-direction: column; }
main, .fdb-main-content, .fdb-home-page { flex: 1 0 auto; }
footer.fdb-footer { margin-top: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fdb-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; }

/* ── Container ─────────────────────────────────────────────────────────── */
.fdb-container { max-width: var(--fdb-container); margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--fdb-bg); border-bottom: 1px solid var(--fdb-border); height: var(--fdb-header-h); transition: background var(--fdb-transition), box-shadow var(--fdb-transition); }
.fdb-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.fdb-header-inner { display: flex; align-items: center; gap: 24px; height: 100%; max-width: var(--fdb-container); margin: 0 auto; padding: 0 24px; }
.fdb-header-brand { flex-shrink: 0; }
.fdb-site-name { font-size: 1.15rem; font-weight: 800; color: var(--fdb-text); letter-spacing: -.02em; font-family: 'Courier New', monospace; }
.fdb-custom-logo-link img { max-height: 44px; width: auto; }

/* Nav */
.fdb-nav { flex: 1; }
.fdb-nav-menu { display: flex; list-style: none; gap: 4px; }
.fdb-nav-menu a { display: block; position: relative; padding: 6px 14px; font-size: .875rem; font-weight: 500; color: var(--fdb-text-2); border-radius: var(--fdb-radius-sm); transition: all var(--fdb-transition); }
.fdb-nav-menu a:hover, .fdb-nav-menu .current-menu-item > a { color: var(--fdb-accent); background: var(--fdb-accent-light); text-decoration: none; }
.fdb-nav-menu a.fdb-force-current-link { background: var(--fdb-accent) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(26, 86, 255, 0.24); }

/* Dropdown menus */
.fdb-nav-menu .menu-item {
  position: relative;
}
.fdb-nav-menu .menu-item-has-children > a,
.fdb-nav-menu .page_item_has_children > a {
  padding-right: 24px;
}
.fdb-nav-menu .menu-item-has-children > a::after,
.fdb-nav-menu .page_item_has_children > a::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: .75;
}
.fdb-nav-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--fdb-border);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, .14);
  padding: 8px;
  display: none;
  z-index: 1200;
}
.fdb-nav-menu > .menu-item:last-child .sub-menu,
.fdb-nav-menu > .menu-item:nth-last-child(2) .sub-menu {
  left: auto;
  right: 0;
}
.fdb-nav-menu .menu-item:hover > .sub-menu,
.fdb-nav-menu .menu-item:focus-within > .sub-menu {
  display: block;
}
.fdb-nav-menu .sub-menu li {
  list-style: none;
}
.fdb-nav-menu .sub-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Separate Elementor heading parts (eyebrow/title/subtitle) */
.fdb-micro-heading-part .fdb-container {
  max-width: 900px;
}
.fdb-micro-heading-part .fdb-micro-heading-part-inner {
  margin: 0;
}
.fdb-micro-heading-part.fdb-micro-heading-left .fdb-micro-heading-part-inner {
  text-align: left;
}
.fdb-micro-heading-part.fdb-micro-heading-center .fdb-micro-heading-part-inner {
  text-align: center;
}
.fdb-micro-heading-part.fdb-micro-heading-right .fdb-micro-heading-part-inner {
  text-align: right;
}
.fdb-micro-heading-part-eyebrow {
  margin: 0;
}
.fdb-micro-heading-part-title {
  margin: 0;
}
.fdb-micro-heading-part-subtitle {
  margin: 0 0 24px 0;
}
.fdb-micro-heading-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--fdb-text);
}
.fdb-micro-heading-subtitle {
  margin: 0;
  color: var(--fdb-text-2);
}

/* Header Controls */
.fdb-header-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.fdb-search-toggle { background: none; border: none; cursor: pointer; padding: 8px; border-radius: var(--fdb-radius-sm); color: var(--fdb-text-2); display: flex; align-items: center; transition: color var(--fdb-transition), background var(--fdb-transition); }
.fdb-search-toggle:hover { color: var(--fdb-accent); background: var(--fdb-bg-2); }

/* Mobile toggle */
.fdb-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.fdb-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--fdb-text); border-radius: 2px; transition: all .3s; }

/* Search overlay */
.fdb-search-overlay { position: fixed; top: 0; left: 0; right: 0; z-index: 2000; background: var(--fdb-bg); padding: 0 24px; height: var(--fdb-header-h); display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--fdb-accent); transform: translateY(-100%); transition: transform .3s ease; }
.fdb-search-overlay.open { transform: translateY(0); }
.fdb-search-form { flex: 1; display: flex; align-items: center; gap: 12px; max-width: var(--fdb-container); margin: 0 auto; }
.fdb-search-form input[type=search] { flex: 1; background: transparent; border: none; font-size: 1.25rem; color: var(--fdb-text); outline: none; }
.fdb-search-form button { background: none; border: none; cursor: pointer; color: var(--fdb-text-2); }
.fdb-search-close { background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--fdb-text-2); padding: 8px; }
.fdb-search-suggest { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); width: min(760px, calc(100vw - 24px)); background: var(--fdb-bg); border: 1px solid var(--fdb-border); border-radius: 10px; box-shadow: 0 14px 36px rgba(0,0,0,.16); display: none; max-height: 65vh; overflow: auto; }
.fdb-search-suggest.open { display: block; }
.fdb-search-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--fdb-border); color: var(--fdb-text); text-decoration: none; }
.fdb-search-item:last-child { border-bottom: 0; }
.fdb-search-item:hover { background: var(--fdb-bg-2); }
.fdb-search-item-thumb img, .fdb-search-item-thumb-empty { width: 38px; height: 38px; border-radius: 6px; object-fit: cover; display: block; background: var(--fdb-bg-3); }
.fdb-search-item-main { display: flex; flex-direction: column; gap: 2px; }
.fdb-search-item-main strong { font-size: .95rem; line-height: 1.2; }
.fdb-search-item-main em { font-size: .73rem; color: var(--fdb-text-3); font-style: normal; text-transform: uppercase; letter-spacing: .08em; }

/* WooCommerce */
.fdb-woo-loop-format,
.fdb-shop-format {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  background: #e7f0ff;
  color: #1146c8;
}

.fdb-shop-page {
  padding: calc(var(--fdb-header-h) + 12px) 0 42px;
  background: linear-gradient(180deg, #eef2f9 0%, #edf2fb 100%);
}
.fdb-shop-page .fdb-container {
  max-width: min(1600px, calc(100% - 48px));
}
.fdb-shop-hero {
  margin-bottom: 18px;
}
.fdb-shop-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin: 0 0 4px;
  color: #0f172a;
}
.fdb-shop-hero p {
  margin: 0;
  color: #4b5563;
}
.fdb-shop-toolbar {
  margin-bottom: 16px;
  background: #ffffff;
  border: 1px solid var(--fdb-border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}
.fdb-shop-grid {
  display: grid;
  grid-template-columns: repeat(var(--fdb-shop-cols, 4), minmax(0, 1fr));
  gap: 20px;
}
.fdb-shop-card {
  background: #fff;
  border: 1px solid var(--fdb-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fdb-shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(15, 23, 42, .14);
  border-color: #b9ccef;
}
.fdb-shop-card-media {
  position: relative;
  display: block;
  aspect-ratio: auto;
  background: transparent;
  overflow: hidden;
}
.fdb-shop-card-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 0;
  background: transparent;
  margin: 0;
}
.fdb-shop-format-wrap {
  position: absolute;
  right: 8px;
  top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  z-index: 2;
}
.fdb-shop-format {
  position: static;
  box-shadow: 0 4px 12px rgba(17, 70, 200, .2);
}
.fdb-shop-card-body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  min-height: 208px;
}
.fdb-shop-card-title {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.3em * 3);
  word-break: break-word;
}
.fdb-shop-card-title a {
  color: var(--fdb-text);
  text-decoration: none;
}
.fdb-shop-card-meta {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fdb-shop-card-meta span {
  font-size: .75rem;
  color: #6b7280;
  background: #f1f5fb;
  border: 1px solid #dbe4f3;
  padding: 3px 8px;
  border-radius: 999px;
}
.fdb-shop-card-bottom {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.fdb-shop-price {
  font-weight: 800;
  color: #0f172a;
  font-size: 1.25rem;
}
.fdb-shop-view {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--fdb-accent);
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
}
.fdb-shop-pagination {
  margin-top: 18px;
}

/* Shop card variants */
.fdb-shop-style-poster_clean .fdb-shop-card {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}
.fdb-shop-style-poster_clean .fdb-shop-card-media img {
  object-fit: contain;
  padding: 8px;
}
.fdb-shop-style-poster_clean .fdb-shop-card-body {
  border-top: 1px solid #e1e9f5;
}

.fdb-shop-style-poster_overlay .fdb-shop-card {
  position: relative;
}
.fdb-shop-style-poster_overlay .fdb-shop-card-body {
  margin-top: -56px;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15,23,42,.2), rgba(15,23,42,.95));
  color: #fff;
}
.fdb-shop-style-poster_overlay .fdb-shop-card-title a,
.fdb-shop-style-poster_overlay .fdb-shop-price {
  color: #fff;
}
.fdb-shop-style-poster_overlay .fdb-shop-card-meta span {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.2);
  color: #dbeafe;
}

.fdb-shop-style-horizontal_compact .fdb-shop-grid {
  grid-template-columns: 1fr;
}
.fdb-shop-style-horizontal_compact .fdb-shop-card {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.fdb-shop-style-horizontal_compact .fdb-shop-card-media {
  aspect-ratio: auto;
  min-height: 100%;
  background: #dfe7f5;
}
.fdb-shop-style-horizontal_compact .fdb-shop-card-media img {
  height: 100%;
  object-fit: cover;
}
.fdb-shop-style-horizontal_compact .fdb-shop-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fdb-shop-style-minimal .fdb-shop-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.fdb-shop-style-minimal .fdb-shop-card:hover {
  transform: none;
  box-shadow: none;
}
.fdb-shop-style-minimal .fdb-shop-card-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d8e2f2;
}
.fdb-shop-style-minimal .fdb-shop-card-body {
  padding: 12px 2px 0;
}
.fdb-shop-style-minimal .fdb-shop-view {
  border-radius: 999px;
}

@media (max-width: 1200px) {
  .fdb-shop-grid {
    grid-template-columns: repeat(min(var(--fdb-shop-cols, 4), 3), minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .fdb-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fdb-shop-style-horizontal_compact .fdb-shop-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .fdb-shop-grid {
    grid-template-columns: 1fr;
  }
}

.fdb-product-page {
  background: linear-gradient(180deg, #eef2f9 0%, #edf2fb 100%);
  padding-bottom: 56px;
}
.fdb-product-hero {
  position: relative;
  margin-top: 0;
  background: center/cover no-repeat var(--fdb-product-banner);
}
.fdb-product-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,8,18,.9), rgba(4,8,18,.45));
}
.fdb-product-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 34px;
  padding-top: calc(var(--fdb-header-h) + 34px);
  padding-bottom: 40px;
  align-items: start;
}
.fdb-product-cover-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fdb-product-cover img {
  width: 100%;
  border-radius: 14px;
  box-shadow:
    0 26px 56px rgba(2, 6, 23, .48),
    0 0 0 1px rgba(255,255,255,.18),
    0 0 36px var(--fdb-cover-glow, #1A56FF);
}
.fdb-product-cover {
  border-radius: 16px;
}
.fdb-product-thumb-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.fdb-product-thumb {
  padding: 0;
  border: 1px solid #334155;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
}
.fdb-product-thumb img {
  width: 100%;
  height: 56px;
  object-fit: cover;
}
.fdb-product-summary h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.04;
  margin: 0 0 10px;
}
.fdb-product-kicker {
  color: #c9d8ff;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
}
.fdb-product-excerpt {
  margin: 14px 0 0;
  color: #e5ecff;
  max-width: 980px;
  font-size: 1.05rem;
  line-height: 1.72;
}
.fdb-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.fdb-product-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  color: #1e3a8a;
  font-size: .78rem;
  font-weight: 700;
}
.fdb-product-badge.fdb-product-badge-link {
  text-decoration: none;
}
.fdb-product-badge.fdb-product-badge-link:hover {
  background: #dbeafe;
  color: #1e40af;
}
.fdb-product-purchase-panel {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, .6);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 72px;
  max-width: 620px;
  margin-left: auto;
}
.fdb-product-price {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1;
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,.25);
  margin-right: auto;
}
.fdb-product-price ins, .fdb-product-price bdi {
  text-decoration: none;
}
.fdb-product-cart form.cart {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin: 0;
}
.fdb-product-cart .quantity input {
  height: 44px;
  min-width: 60px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
}
.fdb-product-cart .single_add_to_cart_button {
  min-height: 44px;
  border-radius: 9px;
  border: 0;
  background: var(--fdb-accent);
  font-weight: 700;
  padding: 0 16px;
}
.fdb-product-linked-title {
  display: inline-flex;
  margin-top: 14px;
  color: #dbe8ff;
  font-weight: 600;
}

.fdb-product-meta-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fdb-product-card {
  background: #fff;
  border: 1px solid var(--fdb-border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}
.fdb-product-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.fdb-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fdb-product-list li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 10px;
  border-top: 1px solid #edf1f7;
  padding: 10px 0;
}
.fdb-product-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.fdb-product-list strong {
  font-size: .86rem;
  color: #6b7280;
}
.fdb-product-card-metadata .fdb-product-list strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fdb-meta-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  line-height: 1;
  background: #e8f0ff;
  color: #1d4ed8;
  flex-shrink: 0;
}
.fdb-product-list li a {
  color: #1d4ed8;
  font-weight: 600;
}
.fdb-product-chip-block {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.fdb-product-chip-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d7e3f4;
  background: #f6f9ff;
  color: #1e40af;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
}
.fdb-product-chip-link:hover {
  background: #e9f0ff;
  text-decoration: none;
}
.fdb-product-video-section,
.fdb-product-longdesc,
.fdb-product-related {
  margin-top: 22px;
}
.fdb-product-video-section-trailer {
  max-width: 100%;
}
.fdb-product-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d6e2f3;
}
.fdb-product-video-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.fdb-product-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.fdb-product-video-section-trailer .fdb-product-video-grid {
  grid-template-columns: 1fr;
}
.fdb-product-video-section-trailer .fdb-product-video-player {
  aspect-ratio: 16 / 8.8;
  border-radius: 12px;
}
.fdb-product-video-item h4 {
  margin: 0 0 8px;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #475569;
}
.fdb-product-extras {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fdb-product-extras li {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  border: 1px solid #d9e6fb;
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  font-size: .95rem;
  line-height: 1.55;
  box-shadow: 0 8px 16px rgba(30, 64, 175, .06);
}
.fdb-product-extras li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(145deg, #1a56ff, #36b8ff);
  box-shadow: 0 0 0 4px #dbeafe;
}
.fdb-product-longdesc {
  background: #fff;
  border: 1px solid var(--fdb-border);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .06);
}
.fdb-product-longdesc p {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.8;
}
.fdb-product-page-layout_2 .fdb-product-hero-inner {
  align-items: end;
  padding-bottom: 26px;
}
.fdb-product-page-layout_2 {
  --fdb-l2-cover-offset: 66px;
}
.fdb-product-page-layout_2 .fdb-product-cover-col {
  margin-bottom: calc(-1 * var(--fdb-l2-cover-offset));
  position: relative;
  z-index: 3;
}
.fdb-product-page-layout_2 .fdb-product-summary .fdb-product-purchase-panel {
  display: none;
}
.fdb-product-l2-main {
  margin-top: calc(var(--fdb-l2-cover-offset) + 8px);
  display: grid;
  gap: 18px;
  align-items: stretch;
}
.fdb-product-l2-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
}
.fdb-product-l2-sidebar,
.fdb-product-l2-content {
  display: grid;
  gap: 16px;
}
.fdb-product-l2-sidebar {
  align-content: stretch;
}
.fdb-product-l2-sidebar > .fdb-product-card {
  align-self: stretch;
  height: auto;
}
.fdb-product-l2-buy .fdb-product-purchase-panel {
  margin-top: 6px;
  max-width: 100%;
  width: 100%;
  min-height: 0;
  padding: 10px 12px;
  margin-left: 0;
}
.fdb-product-l2-buy .fdb-product-price {
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}
.fdb-product-l2-content-top .fdb-product-video-section-trailer {
  margin-top: 0;
}
.fdb-product-l2-buy .fdb-product-cart form.cart {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.fdb-product-l2-content-top {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: 16px;
}
.fdb-product-l2-content-top .fdb-product-l2-buy {
  margin: 0;
}
.fdb-product-l2-content-top .fdb-product-video-section-trailer {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.fdb-product-l2-content-top .fdb-product-video-section-trailer .fdb-product-video-player {
  aspect-ratio: 16 / 8.9;
}
.fdb-product-l2-metadata .fdb-product-card {
  margin-top: 0;
}
.fdb-product-card-horizontal .fdb-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.fdb-product-card-horizontal .fdb-product-list li {
  grid-template-columns: 140px 1fr;
}

.fdb-product-page-layout_4 .fdb-product-l4-top {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  padding-top: calc(var(--fdb-header-h) + 26px);
  margin-bottom: 20px;
  align-items: stretch;
}
.fdb-product-l4-intro {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border-color: rgba(148, 163, 184, .25);
}
.fdb-product-l4-intro .fdb-product-kicker,
.fdb-product-l4-intro .fdb-product-excerpt {
  color: #cbd5e1;
}
.fdb-product-l4-intro h1 {
  color: #fff;
}
.fdb-product-page-layout_4 .fdb-product-l4-row {
  display: grid;
  gap: 18px;
}
.fdb-product-page-layout_4 .fdb-product-l4-row-main {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
}
.fdb-product-page-layout_4 .fdb-product-l4-row-lower {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}
.fdb-product-page-layout_4 .fdb-product-l4-main-left,
.fdb-product-page-layout_4 .fdb-product-l4-main-right,
.fdb-product-page-layout_4 .fdb-product-l4-lower-left,
.fdb-product-page-layout_4 .fdb-product-l4-lower-right {
  display: grid;
  gap: 16px;
}
.fdb-product-page-layout_4 .fdb-product-l4-main-left .fdb-product-video-section-trailer {
  margin-top: 0;
}
.fdb-product-page-layout_4 .fdb-product-l4-main-left .fdb-product-video-player {
  aspect-ratio: 16 / 8.9;
}
.fdb-product-page-layout_4 .fdb-product-l4-metadata .fdb-product-card {
  margin-top: 10px;
}
.fdb-product-page-layout_4 .fdb-product-cover-col,
.fdb-product-page-layout_4 .fdb-product-l4-intro {
  height: 100%;
}
.fdb-product-page-layout_4 .fdb-product-l4-lower-right .fdb-product-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.fdb-product-page-layout_4 .fdb-product-l4-lower-right .fdb-product-extras li {
  margin: 0;
}

.fdb-product-page-layout_3 .fdb-product-l3-top {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  padding-top: calc(var(--fdb-header-h) + 26px);
  margin-bottom: 20px;
}
.fdb-product-summary-card {
  background: #fff;
  border: 1px solid var(--fdb-border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, .06);
}
.fdb-product-summary-card .fdb-product-kicker {
  color: #64748b;
}
.fdb-product-summary-card h1 {
  color: #0f172a;
}
.fdb-product-summary-card .fdb-product-excerpt {
  color: #334155;
}

.fdb-product-page-layout_3 .fdb-product-meta-grid {
  margin-top: 0;
}

.fdb-product-page-layout_2 .fdb-product-video-section-trailer,
.fdb-product-page-layout_3 .fdb-product-video-section-trailer {
  max-width: 100%;
}
.fdb-product-related .related > h2 {
  margin: 0 0 12px;
}

@media (max-width: 900px) {
  .fdb-product-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: calc(var(--fdb-header-h) + 22px);
  }
  .fdb-product-cover-col {
    max-width: 220px;
  }
  .fdb-product-meta-grid {
    grid-template-columns: 1fr;
  }
  .fdb-product-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .fdb-product-video-grid {
    grid-template-columns: 1fr;
  }
  .fdb-product-price {
    border-right: 0;
    padding-right: 0;
  }
  .fdb-product-cart form.cart {
    flex-wrap: wrap;
  }
  .fdb-product-page-layout_2 .fdb-product-cover-col {
    margin-bottom: 0;
  }
  .fdb-product-l2-main {
    margin-top: 20px;
  }
  .fdb-product-l2-top {
    grid-template-columns: 1fr;
  }
  .fdb-product-page-layout_3 .fdb-product-l3-top {
    grid-template-columns: 1fr;
    padding-top: calc(var(--fdb-header-h) + 18px);
  }
  .fdb-product-card-horizontal .fdb-product-list {
    grid-template-columns: 1fr;
  }
  .fdb-product-page-layout_4 .fdb-product-l4-top {
    grid-template-columns: 1fr;
    padding-top: calc(var(--fdb-header-h) + 18px);
  }
  .fdb-product-page-layout_4 .fdb-product-l4-row-main,
  .fdb-product-page-layout_4 .fdb-product-l4-row-lower {
    grid-template-columns: 1fr;
  }
  .fdb-product-page-layout_4 .fdb-product-l4-lower-right .fdb-product-extras {
    grid-template-columns: 1fr;
  }
}

.woocommerce-notices-wrapper .woocommerce-message {
  position: relative;
  padding-right: 46px !important;
}
.woocommerce-notices-wrapper .woocommerce-message .fdb-notice-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: rgba(17, 24, 39, .08);
  color: #1f2937;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.woocommerce-notices-wrapper .woocommerce-message .fdb-notice-close:hover {
  background: rgba(17, 24, 39, .16);
}

.fdb-media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 6, 23, .82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.fdb-media-lightbox.open {
  display: flex;
}
.fdb-media-lightbox-inner {
  position: relative;
  max-width: min(980px, 90vw);
  max-height: 86vh;
}
.fdb-media-lightbox-inner img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.fdb-media-lightbox-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.fdb-media-lightbox-prev,
.fdb-media-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, .75);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.fdb-media-lightbox-prev { left: 8px; }
.fdb-media-lightbox-next { right: 8px; }

/* Alternate header layout: menu left, logo centered */
.fdb-header.fdb-header-layout-logo_center .fdb-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; }
.fdb-header.fdb-header-layout-logo_center .fdb-nav { order: 1; justify-self: start; }
.fdb-header.fdb-header-layout-logo_center .fdb-header-brand { order: 2; justify-self: center; }
.fdb-header.fdb-header-layout-logo_center .fdb-header-controls { order: 3; justify-self: end; }
.fdb-header.fdb-header-layout-logo_right .fdb-header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 16px; }
.fdb-header.fdb-header-layout-logo_right .fdb-nav { order: 1; justify-self: start; min-width: 0; }
.fdb-header.fdb-header-layout-logo_right .fdb-header-brand { order: 2; justify-self: end; }
.fdb-header.fdb-header-layout-logo_right .fdb-header-controls { order: 3; justify-self: end; }

/* Page offset for fixed header */
main, .fdb-hero { padding-top: var(--fdb-header-h); }
.fdb-hero { padding-top: 0; } /* Hero handles its own offset */

/* ══════════════════════════════════════════════════════════════════════════
   HERO SECTION — Banner + Poster Overlap
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-hero { margin-top: var(--fdb-header-h); position: relative; }
.fdb-hero-banner { position: relative; min-height: 90vh; background: var(--fdb-bg-3) var(--banner-url) center/cover no-repeat; display: flex; align-items: flex-end; }
.fdb-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.85) 40%, rgba(0,0,0,.3) 100%), linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%); }
.fdb-hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--fdb-container); margin: 0 auto; padding: 0 24px 0 24px; display: flex; align-items: flex-end; gap: 40px; }

/* Poster — top half in banner, bottom half bleeds below */
.fdb-hero-poster-wrap { flex-shrink: 0; position: relative; margin-bottom: -80px; z-index: 10; }
.fdb-hero-poster { width: 220px; }
.fdb-hero-poster img { width: 100%; border-radius: var(--fdb-radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* Title content to the right of poster */
.fdb-hero-content { flex: 1; padding-bottom: 40px; color: #fff; }
.fdb-hero-year { font-size: .875rem; font-weight: 600; opacity: .8; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.fdb-hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 12px; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.fdb-hero-tagline { font-size: 1rem; opacity: .85; margin-bottom: 16px; max-width: 600px; }
.fdb-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fdb-hero-genre { color: #fff; opacity: .85; font-size: .875rem; }
.fdb-hero-genre:hover { opacity: 1; text-decoration: none; }
.fdb-sep { opacity: .5; }
.fdb-meta-dot { font-size: .875rem; opacity: .8; }
.fdb-meta-badge { display: inline-flex; align-items: center; padding: 3px 10px; border: 1px solid rgba(255,255,255,.6); border-radius: var(--fdb-radius-sm); font-size: .75rem; font-weight: 600; color: #fff; }
.fdb-hero-status { margin-top: 12px; }

/* Back bar — below hero, above content */
.fdb-back-bar { background: var(--fdb-bg); border-bottom: 1px solid var(--fdb-border); position: relative; z-index: 5; }
.fdb-back-bar .fdb-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 100px; padding-bottom: 16px; }
.fdb-back-link { display: flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--fdb-text-2); font-weight: 500; }
.fdb-back-link:hover { color: var(--fdb-accent); text-decoration: none; }
.fdb-title-taxonomy-bar { display: flex; flex-wrap: wrap; gap: 8px; }

/* ══════════════════════════════════════════════════════════════════════════
   PILLS / TAGS / BADGES
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-pill { display: inline-flex; align-items: center; padding: 4px 12px; background: var(--fdb-bg-2); color: var(--fdb-text-2); border-radius: var(--fdb-radius-pill); font-size: .75rem; font-weight: 600; border: 1px solid var(--fdb-border); }
.fdb-pill-genre   { background: var(--fdb-accent-light); color: var(--fdb-accent); border-color: transparent; }
.fdb-tag, .fdb-genre-tag { display: inline-flex; align-items: center; padding: 3px 10px; background: var(--fdb-accent-light); color: var(--fdb-accent); border-radius: var(--fdb-radius-pill); font-size: .75rem; font-weight: 600; }
.fdb-runtime-tag { background: var(--fdb-bg-3); color: var(--fdb-text-2); }

/* Status badges */
.fdb-status-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--fdb-radius-pill); font-size: .75rem; font-weight: 600; }
.fdb-status-available-for-licensing,
.fdb-status-available   { background: var(--fdb-status-available-bg); color: var(--fdb-status-available); }
.fdb-status-licensed     { background: var(--fdb-status-licensed-bg);  color: var(--fdb-status-licensed); }
.fdb-status-not-available{ background: var(--fdb-status-not-bg);       color: var(--fdb-status-not-available); }
/* ══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: var(--fdb-radius-sm); font-size: .875rem; font-weight: 600; cursor: pointer; border: none; text-decoration: none; transition: all var(--fdb-transition); white-space: nowrap; }
.fdb-btn:hover { text-decoration: none; }
.fdb-btn-primary   { background: var(--fdb-accent); color: #fff; }
.fdb-btn-primary:hover { background: var(--fdb-accent-dark); }
.fdb-btn-accent    { background: var(--fdb-accent); color: #fff; }
.fdb-btn-accent:hover { background: var(--fdb-accent-dark); }
.fdb-btn-secondary { background: #ff6b35; color: #fff; }
.fdb-btn-secondary:hover { background: #e55a25; }
.fdb-btn-outline   { background: transparent; color: var(--fdb-text); border: 1.5px solid var(--fdb-border-2); }
.fdb-btn-outline:hover { border-color: var(--fdb-accent); color: var(--fdb-accent); }
.fdb-btn-ghost     { background: transparent; color: var(--fdb-text-2); }
.fdb-btn-ghost:hover { color: var(--fdb-accent); }
.fdb-btn-wide      { width: 100%; justify-content: center; }
.fdb-btn-sm        { padding: 6px 14px; font-size: .8rem; }
.fdb-btn-play      { background: rgba(255,255,255,.2); color: #fff; border: 1.5px solid rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.fdb-btn-play:hover { background: var(--fdb-accent); border-color: var(--fdb-accent); }

/* ══════════════════════════════════════════════════════════════════════════
   MODULES WRAPPER
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-content-area { background: var(--fdb-bg); padding: 48px 0 80px; }
.fdb-modules-wrap { display: flex; flex-direction: column; gap: 0; }
.fdb-module { padding: 48px 0; border-bottom: 1px solid var(--fdb-border); }
.fdb-module:last-child { border-bottom: none; }
.fdb-module-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; color: var(--fdb-text); }
.fdb-module-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }

/* ── Trailer ───────────────────────────────────────────────────────────── */
.fdb-trailer-player-wrap { max-width: 760px; }
.fdb-trailer-thumb-btn { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--fdb-bg-3); border: none; border-radius: var(--fdb-radius-lg); overflow: hidden; cursor: pointer; display: block; }
.fdb-trailer-thumb { width: 100%; height: 100%; object-fit: cover; }
.fdb-play-circle { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); transition: background var(--fdb-transition); }
.fdb-trailer-thumb-btn:hover .fdb-play-circle { background: rgba(26,86,255,.6); }

/* ── Videos row ────────────────────────────────────────────────────────── */
.fdb-videos-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
.fdb-video-card { flex: 0 0 220px; scroll-snap-align: start; }
.fdb-video-thumb { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--fdb-bg-3); border-radius: var(--fdb-radius); overflow: hidden; cursor: pointer; border: none; }
.fdb-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fdb-video-thumb-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--fdb-text-3); }
.fdb-video-play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.3); color: #fff; transition: background var(--fdb-transition); }
.fdb-video-thumb:hover .fdb-video-play-icon { background: rgba(26,86,255,.55); }
.fdb-video-label { font-size: .8rem; color: var(--fdb-text-2); margin-top: 8px; text-align: center; }

/* ── Synopsis ──────────────────────────────────────────────────────────── */
.fdb-synopsis-content { font-size: 1rem; line-height: 1.8; color: var(--fdb-text-2); max-width: 800px; }

/* ── Rights Table ──────────────────────────────────────────────────────── */
.fdb-rights-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.fdb-rights-icon { width: 40px; height: 40px; background: var(--fdb-accent-light); border-radius: var(--fdb-radius-sm); display: flex; align-items: center; justify-content: center; color: var(--fdb-accent); flex-shrink: 0; margin-top: 4px; }
.fdb-rights-subtitle { font-size: .875rem; color: var(--fdb-text-2); margin-top: 4px; }
.fdb-rights-table-wrap { overflow-x: auto; border-radius: var(--fdb-radius); border: 1px solid var(--fdb-border); }
.fdb-rights-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.fdb-rights-table th { background: var(--fdb-bg-2); padding: 12px 16px; font-size: .8rem; font-weight: 600; text-align: center; color: var(--fdb-text-2); border-bottom: 1px solid var(--fdb-border); }
.fdb-rights-table td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--fdb-border); font-size: .875rem; }
.fdb-rights-table tr:last-child td { border-bottom: none; }
.fdb-rights-territory { text-align: left !important; font-weight: 600; }
.fdb-rights-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--fdb-radius-pill); font-size: .75rem; font-weight: 600; }
.fdb-rights-badge-available     { background: var(--fdb-status-available-bg); color: var(--fdb-status-available); }
.fdb-rights-badge-licensed      { background: var(--fdb-status-licensed-bg);  color: var(--fdb-status-licensed); }
.fdb-rights-badge-not_available { background: var(--fdb-status-not-bg);       color: var(--fdb-status-not-available); }
.fdb-rights-na { color: var(--fdb-text-3); font-size: .75rem; }
.fdb-rights-legend { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }

/* ── Tech Specs ────────────────────────────────────────────────────────── */
.fdb-tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.fdb-tech-item { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--fdb-bg-2); border-radius: var(--fdb-radius); border: 1px solid var(--fdb-border); }
.fdb-tech-icon { width: 36px; height: 36px; background: var(--fdb-accent-light); border-radius: var(--fdb-radius-sm); display: flex; align-items: center; justify-content: center; color: var(--fdb-accent); flex-shrink: 0; }
.fdb-tech-info { display: flex; flex-direction: column; gap: 2px; }
.fdb-tech-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--fdb-text-3); }
.fdb-tech-value { font-size: .9rem; font-weight: 600; color: var(--fdb-text); }

/* ── Cast/Crew ─────────────────────────────────────────────────────────── */
.fdb-cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 20px; }
.fdb-cast-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.fdb-cast-photo { width: 90px; height: 90px; overflow: hidden; flex-shrink: 0; }
.fdb-cast-photo.fdb-photo-circle { border-radius: 50%; }
.fdb-cast-photo.fdb-photo-square { border-radius: var(--fdb-radius); }
.fdb-cast-photo.fdb-photo-rectangle { width: 84px; height: 120px; border-radius: 10px; }
.fdb-shape-circle .fdb-cast-photo { border-radius: 50%; }
.fdb-shape-square .fdb-cast-photo { border-radius: var(--fdb-radius); }
.fdb-shape-rectangle .fdb-cast-photo { width: 84px; height: 120px; border-radius: 10px; }
.fdb-cast-photo img { width: 100%; height: 100%; object-fit: cover; }
.fdb-cast-photo-placeholder { width: 100%; height: 100%; background: var(--fdb-bg-3); display: flex; align-items: center; justify-content: center; color: var(--fdb-text-3); }
.fdb-cast-info { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.fdb-cast-name { font-size: .875rem; font-weight: 600; color: var(--fdb-text); }
a.fdb-cast-name, .fdb-cast-name { display: block; }
a.fdb-cast-name:hover { color: var(--fdb-accent); text-decoration: none; }
.fdb-cast-role { display: block; font-size: .75rem; color: var(--fdb-text-3); }

/* ── Production Details ────────────────────────────────────────────────── */
.fdb-production-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.fdb-production-item { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--fdb-bg-2); border-radius: var(--fdb-radius); border-left: 3px solid var(--fdb-accent); }
.fdb-production-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fdb-accent); }
.fdb-production-value { font-size: .95rem; font-weight: 500; color: var(--fdb-text); }

/* ── Gallery ───────────────────────────────────────────────────────────── */
.fdb-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.fdb-gallery-grid.fdb-gallery-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.fdb-gallery-grid.fdb-gallery-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fdb-gallery-grid.fdb-gallery-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fdb-gallery-grid.fdb-gallery-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fdb-gallery-grid.fdb-gallery-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fdb-gallery-grid.fdb-gallery-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.fdb-gallery-item { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--fdb-radius); display: block; }
.fdb-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fdb-gallery-item:hover img { transform: scale(1.05); }
.fdb-gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transition: opacity var(--fdb-transition); }
.fdb-gallery-item:hover .fdb-gallery-overlay { opacity: 1; }

/* ── Awards ────────────────────────────────────────────────────────────── */
.fdb-awards-bar { display: flex; align-items: center; gap: 20px; background: linear-gradient(135deg, #0d3b5e, #0d7377); color: #fff; padding: 20px 32px; border-radius: var(--fdb-radius); position: relative; overflow: hidden; }
.fdb-awards-icon { flex-shrink: 0; }
.fdb-awards-text { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fdb-awards-label { font-size: .85rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; opacity: .9; }
.fdb-awards-count { font-size: 1.1rem; font-weight: 700; }
.fdb-awards-sep { opacity: .5; }
.fdb-awards-desc { font-size: .875rem; opacity: .8; }
.fdb-awards-line { flex: 1; height: 1px; background: rgba(255,255,255,.2); min-width: 20px; }
.fdb-awards-star { font-size: 1.5rem; opacity: .6; }

/* ── Action Buttons ────────────────────────────────────────────────────── */
.fdb-actions-wrap { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.fdb-actions-buttons { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.fdb-qr-block { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px; background: var(--fdb-bg-2); border-radius: var(--fdb-radius); border: 1px solid var(--fdb-border); text-align: center; }
.fdb-qr-label { font-size: .75rem; color: var(--fdb-text-2); font-weight: 600; }
.fdb-qr-code { border-radius: var(--fdb-radius-sm); }

/* ── Sharing ───────────────────────────────────────────────────────────── */
.fdb-sharing-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.fdb-share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: var(--fdb-radius-pill); font-size: .8rem; font-weight: 600; color: #fff; text-decoration: none; transition: opacity var(--fdb-transition); }
.fdb-share-btn:hover { opacity: .85; text-decoration: none; }
.fdb-share-twitter   { background: #000; }
.fdb-share-facebook  { background: #1877f2; }
.fdb-share-linkedin  { background: #0a66c2; }
.fdb-share-whatsapp  { background: #25d366; }
.fdb-share-pinterest { background: #e60023; }
.fdb-share-email     { background: var(--fdb-bg-3); color: var(--fdb-text) !important; border: 1px solid var(--fdb-border); }

/* ── Related Titles ────────────────────────────────────────────────────── */
.fdb-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }

/* ══════════════════════════════════════════════════════════════════════════
   FILM CARDS
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-film-grid { display: grid; gap: 20px; padding: 32px 0; }
.fdb-cols-3 { grid-template-columns: repeat(3, 1fr); }
.fdb-cols-4 { grid-template-columns: repeat(4, 1fr); }
.fdb-cols-5 { grid-template-columns: repeat(5, 1fr); }
.fdb-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Poster card */
.fdb-card-poster { background: var(--fdb-card-bg); border-radius: var(--fdb-radius); overflow: hidden; box-shadow: var(--fdb-card-shadow); transition: box-shadow var(--fdb-transition), transform var(--fdb-transition); }
.fdb-card-poster:hover { box-shadow: var(--fdb-card-hover-shadow); transform: translateY(-3px); }
.fdb-card-poster .fdb-card-link { display: block; text-decoration: none; color: inherit; }
.fdb-card-poster-img { aspect-ratio: 2/3; overflow: hidden; }
.fdb-card-poster-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fdb-card-poster:hover img { transform: scale(1.04); }
.fdb-no-poster { width: 100%; height: 100%; background: var(--fdb-bg-3); display: flex; align-items: center; justify-content: center; color: var(--fdb-text-3); }
.fdb-card-synopsis { margin: 8px 0 0; color: var(--fdb-text-2); line-height: 1.45; font-size: .95rem; }
.fdb-card-body { padding: 14px; }
.fdb-card-title { font-size: .9rem; font-weight: 700; margin-bottom: 6px; color: var(--fdb-text); line-height: 1.3; }
.fdb-card-meta { display: flex; flex-wrap: wrap; gap: 4px; }

/* Banner card */
.fdb-card-banner { border-radius: var(--fdb-radius); overflow: hidden; box-shadow: var(--fdb-card-shadow); transition: box-shadow var(--fdb-transition), transform var(--fdb-transition); }
.fdb-card-banner:hover { box-shadow: var(--fdb-card-hover-shadow); transform: translateY(-2px); }
.fdb-card-banner-link { display: block; position: relative; aspect-ratio: 16/9; background: var(--fdb-bg-3) center/cover no-repeat; text-decoration: none; }
.fdb-card-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%); }
.fdb-card-banner-tags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 1; }
.fdb-banner-tag { padding: 3px 8px; border-radius: var(--fdb-radius-pill); font-size: .7rem; font-weight: 700; }
.fdb-tag-genre   { background: var(--fdb-accent); color: #fff; }
.fdb-tag-format  { background: rgba(255,255,255,.85); color: #111; }
.fdb-tag-runtime { background: rgba(0,0,0,.55); color: #fff; }
.fdb-tag-res     { background: rgba(0,0,0,.55); color: #fff; }

/* New Titles 2-col layout */
.fdb-layout-banner_grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 768px) { .fdb-layout-banner_grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════════════
   LIBRARY / ARCHIVE PAGES
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-library-hero { position: relative; min-height: 420px; background: var(--fdb-bg-3) center/cover no-repeat; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.fdb-library-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 60%, transparent 100%); }
.fdb-library-hero-content { position: relative; z-index: 1; padding: calc(var(--fdb-header-h) + 24px) 0 24px; color: #fff; }
.fdb-library-hero-content h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 10px; }
.fdb-library-hero-meta { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.fdb-library-hero-excerpt { max-width: 600px; opacity: .85; margin-bottom: 20px; }
.fdb-library-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.fdb-library-hero-strip { position: relative; z-index: 1; display: flex; gap: 8px; padding: 16px 24px; background: rgba(0,0,0,.4); backdrop-filter: blur(8px); overflow-x: auto; }
.fdb-strip-item, .fdb-strip-current { flex: 0 0 70px; height: 100px; overflow: hidden; border-radius: var(--fdb-radius-sm); cursor: pointer; opacity: .6; transition: opacity var(--fdb-transition), border var(--fdb-transition); border: 2px solid transparent; }
.fdb-strip-active, .fdb-strip-item:hover { opacity: 1; border-color: var(--fdb-accent); }
.fdb-strip-item img, .fdb-strip-current img { width: 100%; height: 100%; object-fit: cover; }

/* Filter bar */
.fdb-filter-section { background: var(--fdb-bg); border-bottom: 1px solid var(--fdb-border); padding: 16px 0; position: sticky; top: var(--fdb-header-h); z-index: 100; }
.fdb-filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fdb-filter-search-wrap { display: flex; align-items: center; gap: 8px; background: var(--fdb-bg-2); border: 1px solid var(--fdb-border); border-radius: var(--fdb-radius-sm); padding: 8px 14px; flex: 1; min-width: 200px; color: var(--fdb-text-3); }
.fdb-filter-input { flex: 1; background: transparent; border: none; color: var(--fdb-text); outline: none; font-size: .875rem; }
.fdb-filter-dropdown-wrap select, .fdb-filter-sort-wrap select { background: var(--fdb-bg-2); border: 1px solid var(--fdb-border); color: var(--fdb-text); border-radius: var(--fdb-radius-sm); padding: 9px 14px; font-size: .875rem; cursor: pointer; outline: none; }
.fdb-filter-select:focus { border-color: var(--fdb-accent); }

/* Load more */
.fdb-load-more-wrap { text-align: center; padding: 32px 0; }
.fdb-ajax-loading { text-align: center; padding: 40px; }
.fdb-spinner { width: 36px; height: 36px; border: 3px solid var(--fdb-border); border-top-color: var(--fdb-accent); border-radius: 50%; animation: fdb-spin .7s linear infinite; display: inline-block; }
@keyframes fdb-spin { to { transform: rotate(360deg); } }
.fdb-no-results { text-align: center; padding: 60px 24px; color: var(--fdb-text-2); }
.fdb-no-results svg { margin: 0 auto 16px; opacity: .3; }

/* ══════════════════════════════════════════════════════════════════════════
   TV SERIES PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-series-page-header { padding: calc(var(--fdb-header-h) + 40px) 0 40px; background: linear-gradient(135deg, #1a1a6e, #2d5a8e); color: #fff; }
.fdb-series-header-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.fdb-series-header-content p { opacity: .8; margin-bottom: 12px; }
.fdb-series-count { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; opacity: .7; }
.fdb-series-filter-tabs { border-bottom: 1px solid var(--fdb-border); padding: 12px 0; overflow-x: auto; }
.fdb-genre-tabs { display: flex; gap: 8px; padding: 0 24px; max-width: var(--fdb-container); margin: 0 auto; min-width: auto; }
.fdb-genre-tab { background: var(--fdb-bg-2); border: 1px solid var(--fdb-border); border-radius: var(--fdb-radius-pill); padding: 6px 18px; font-size: .8rem; font-weight: 600; color: var(--fdb-text-2); cursor: pointer; transition: all var(--fdb-transition); }
.fdb-genre-tab.active, .fdb-genre-tab:hover { background: var(--fdb-accent); border-color: var(--fdb-accent); color: #fff; }
.fdb-series-list { display: flex; flex-direction: column; gap: 20px; padding: 32px 0 60px; }
.fdb-series-card { display: flex; gap: 24px; background: var(--fdb-card-bg); border-radius: var(--fdb-radius); padding: 20px; box-shadow: var(--fdb-card-shadow); border: 1px solid var(--fdb-border); transition: box-shadow var(--fdb-transition); }
.fdb-series-card:hover { box-shadow: var(--fdb-card-hover-shadow); }
.fdb-sc-poster { flex: 0 0 140px; }
.fdb-sc-poster img { width: 140px; border-radius: var(--fdb-radius-sm); aspect-ratio: 2/3; object-fit: cover; }
.fdb-sc-info { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.fdb-sc-title { font-size: 1.2rem; font-weight: 700; }
.fdb-sc-title a { color: var(--fdb-text); text-decoration: none; }
.fdb-sc-title a:hover { color: var(--fdb-accent); }
.fdb-sc-excerpt { color: var(--fdb-text-2); font-size: .9rem; line-height: 1.6; }
.fdb-sc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fdb-genre-badge { padding: 3px 10px; background: var(--fdb-accent-light); color: var(--fdb-accent); border-radius: var(--fdb-radius-pill); font-size: .75rem; font-weight: 600; }
.fdb-sc-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--fdb-text-2); font-size: .85rem; }
.fdb-sc-meta span { display: flex; align-items: center; gap: 5px; }

/* Seasons accordion */
.fdb-seasons-accordion { display: flex; flex-direction: column; gap: 8px; }
.fdb-season-item { border: 1px solid var(--fdb-border); border-radius: var(--fdb-radius-sm); overflow: hidden; }
.fdb-season-toggle { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--fdb-bg-2); border: none; cursor: pointer; color: var(--fdb-text); font-size: .9rem; font-weight: 600; text-align: left; }
.fdb-season-toggle:hover { background: var(--fdb-bg-3); }
.fdb-season-eps, .fdb-season-year { font-size: .8rem; color: var(--fdb-text-2); margin-left: auto; }
.fdb-season-year { margin-left: 0; }
.fdb-chevron { margin-left: auto; transition: transform .2s; }
.fdb-season-toggle[aria-expanded="true"] .fdb-chevron { transform: rotate(180deg); }
.fdb-season-body { padding: 14px 18px; color: var(--fdb-text-2); font-size: .9rem; }

/* ══════════════════════════════════════════════════════════════════════════
   VIDEO MODAL
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-video-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.fdb-video-modal.open { display: flex; align-items: center; justify-content: center; }
.fdb-video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(6px); }
.fdb-video-modal-inner { position: relative; z-index: 1; width: 90vw; max-width: 960px; }
.fdb-video-modal-close { position: absolute; top: -48px; right: 0; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }
.fdb-video-modal-player { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--fdb-radius); overflow: hidden; }
.fdb-video-modal-player iframe { width: 100%; height: 100%; border: none; }

/* ══════════════════════════════════════════════════════════════════════════
   HOME PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-hero-slider { position: relative; min-height: clamp(420px, 72vh, 840px); overflow: hidden; }
.fdb-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; transition: opacity .8s ease; }
.fdb-slide.active { opacity: 1; }
.fdb-slide-bg { position: absolute; inset: 0; background: center/cover no-repeat; }
.fdb-slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.8) 40%, rgba(0,0,0,.2) 100%); }
.fdb-slide-content { position: relative; z-index: 1; color: #fff; padding: calc(var(--fdb-header-h) + 40px) 0 60px; max-width: 600px; }
.fdb-slide-poster { position: absolute; right: 10%; bottom: 0; width: 220px; z-index: 2; }
.fdb-slide-poster img { border-radius: var(--fdb-radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.fdb-slider-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.fdb-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; }
.fdb-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* Recently Added section */
.fdb-home-section { padding: 60px 0; }
.fdb-home-section-header { text-align: center; margin-bottom: 36px; }
.fdb-home-section-header h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; }
.fdb-home-section-header p { color: var(--fdb-text-2); }
.fdb-poster-strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.fdb-poster-strip .fdb-card-poster { flex: 0 0 160px; scroll-snap-align: start; }

/* Platforms marquee */
.fdb-platforms-bar { border-top: 1px solid var(--fdb-border); border-bottom: 1px solid var(--fdb-border); padding: 24px 0; overflow: hidden; background: var(--fdb-bg-2); }
.fdb-platforms-track { display: flex; gap: 60px; align-items: center; animation: fdb-marquee 30s linear infinite; }
.fdb-platforms-track img { height: 28px; width: auto; opacity: .5; filter: grayscale(1); transition: opacity .3s, filter .3s; flex-shrink: 0; }
.fdb-platforms-track img:hover { opacity: 1; filter: none; }
@keyframes fdb-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Section cards 2x2 */
.fdb-section-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.fdb-section-card { position: relative; aspect-ratio: 4/2; overflow: hidden; border-radius: var(--fdb-radius-lg); }
.fdb-section-card-bg { position: absolute; inset: 0; background: center/cover no-repeat; transition: transform .6s ease; }
.fdb-section-card:hover .fdb-section-card-bg { transform: scale(1.05); }
.fdb-section-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 60%); }
.fdb-section-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; color: #fff; }
.fdb-section-card-content h3 { font-size: 1.4rem; margin-bottom: 4px; }
.fdb-section-card-content p { font-size: .875rem; opacity: .8; }
.fdb-section-card-link { position: absolute; inset: 0; z-index: 1; }

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-newsletter-bar { background: var(--fdb-accent); color: #fff; padding: 32px 0; }
.fdb-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fdb-newsletter-text h3 { font-size: 1.2rem; margin-bottom: 4px; }
.fdb-newsletter-text p { font-size: .875rem; opacity: .85; }
.fdb-newsletter-form { display: flex; gap: 0; flex: 1; max-width: 400px; }
.fdb-newsletter-form input[type=email] { flex: 1; padding: 12px 16px; border: none; border-radius: var(--fdb-radius-sm) 0 0 var(--fdb-radius-sm); font-size: .9rem; background: rgba(255,255,255,.15); color: #fff; }
.fdb-newsletter-form input::placeholder { color: rgba(255,255,255,.7); }
.fdb-newsletter-form .fdb-btn-accent { border-radius: 0 var(--fdb-radius-sm) var(--fdb-radius-sm) 0; background: rgba(0,0,0,.25); }
.fdb-newsletter-form .fdb-btn-accent:hover { background: rgba(0,0,0,.4); }

.fdb-footer-main { background: var(--fdb-footer-bg); color: var(--fdb-footer-text); padding: 60px 0 40px; }
.fdb-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(var(--fdb-footer-link-cols, 3), minmax(120px, 1fr));
  gap: 40px;
  align-items: start;
}
.fdb-footer-logo-text { font-size: 1.1rem; font-weight: 800; color: #fff; font-family: 'Courier New', monospace; margin-bottom: 12px; }
.fdb-footer-brand p { font-size: .875rem; line-height: 1.6; margin-bottom: 8px; }
.fdb-footer-social { margin-top: 20px; }
.fdb-footer-social span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; opacity: .6; margin-bottom: 8px; }
.fdb-social-icons { display: flex; gap: 8px; }
.fdb-social-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: var(--fdb-footer-text); transition: background var(--fdb-transition), color var(--fdb-transition); }
.fdb-social-icon:hover { background: var(--fdb-accent); color: #fff; text-decoration: none; }
.fdb-footer-col h4 { font-size: .875rem; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; }
.fdb-footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fdb-footer-links a { color: var(--fdb-footer-text); font-size: .875rem; }
.fdb-footer-links a::before { content: '→ '; opacity: .5; }
.fdb-footer-links a:hover { color: #fff; text-decoration: none; }
.fdb-footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: .875rem; margin-bottom: 8px; }
.fdb-footer-contact-item a { color: var(--fdb-footer-text); }
.fdb-footer-contact-item a:hover { color: #fff; }
.fdb-footer-bottom { background: rgba(0,0,0,.3); padding: 16px 0; border-top: 1px solid var(--fdb-footer-border); }
.fdb-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.fdb-footer-bottom p { font-size: .8rem; color: var(--fdb-footer-text); opacity: .7; }
.fdb-footer-legal-links { display: flex; gap: 16px; }
.fdb-footer-legal-links a { font-size: .8rem; color: var(--fdb-footer-text); opacity: .6; }
.fdb-footer-legal-links a:hover { opacity: 1; color: #fff; text-decoration: none; }

/* ══════════════════════════════════════════════════════════════════════════
   CAROUSEL
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-carousel { position: relative; overflow: hidden; }
.fdb-carousel-track { display: flex; gap: 16px; transition: transform .4s ease; }
.fdb-carousel-item { flex: 0 0 calc(20% - 13px); }
.fdb-carousel-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: var(--fdb-radius); }
.fdb-carousel-banner { position: relative; aspect-ratio: 16/9; background: center/cover no-repeat; border-radius: var(--fdb-radius); overflow: hidden; }
.fdb-carousel-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,.8),transparent); color: #fff; }
.fdb-carousel-info h4 { font-size: .9rem; margin-bottom: 4px; }
.fdb-carousel-title h4 { font-size: .875rem; font-weight: 600; margin-top: 8px; color: var(--fdb-text); }
.fdb-carousel-prev, .fdb-carousel-next { position: absolute; top: 50%; transform: translateY(-50%); background: var(--fdb-bg); border: 1.5px solid var(--fdb-border); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.4rem; z-index: 10; transition: all var(--fdb-transition); }
.fdb-carousel-prev { left: -20px; }
.fdb-carousel-next { right: -20px; }
.fdb-carousel-prev:hover, .fdb-carousel-next:hover { background: var(--fdb-accent); border-color: var(--fdb-accent); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════════
   TAXONOMY CLOUD (Elementor widget)
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-taxonomy-cloud { padding: 16px 0; }
.fdb-cloud-title { font-size: 1.2rem; margin-bottom: 16px; }
.fdb-cloud-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fdb-cloud-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--fdb-bg-2); border: 1px solid var(--fdb-border); border-radius: var(--fdb-radius-pill); font-size: .875rem; color: var(--fdb-text); transition: all var(--fdb-transition); }
.fdb-cloud-tag:hover { border-color: var(--fdb-accent); color: var(--fdb-accent); background: var(--fdb-accent-light); text-decoration: none; }
.fdb-tag-count { font-size: .75rem; color: var(--fdb-text-3); }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .fdb-cols-4 { grid-template-columns: repeat(3,1fr); }
    .fdb-cols-5 { grid-template-columns: repeat(3,1fr); }
    .fdb-cols-6 { grid-template-columns: repeat(4,1fr); }
    .fdb-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    :root { --fdb-header-h: 60px; }
    .fdb-nav { display: none; }
    .fdb-nav.open { display: block; position: fixed; inset: var(--fdb-header-h) 0 0 0; background: var(--fdb-bg); padding: 20px; overflow-y: auto; z-index: 999; }
    .fdb-nav.open .fdb-nav-menu { flex-direction: column; gap: 4px; }
    .fdb-mobile-toggle { display: flex; }
    .fdb-hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 30px; }
    .fdb-hero-poster-wrap { margin-bottom: -60px; }
    .fdb-hero-poster { width: 160px; }
    .fdb-cols-3, .fdb-cols-4, .fdb-cols-5, .fdb-cols-6 { grid-template-columns: repeat(2,1fr); }
    .fdb-tech-grid { grid-template-columns: repeat(2,1fr); }
    .fdb-footer-grid { grid-template-columns: 1fr; }
    .fdb-newsletter-inner { flex-direction: column; }
    .fdb-newsletter-form { max-width: 100%; width: 100%; }
    .fdb-section-cards { grid-template-columns: 1fr; }
    .fdb-back-bar .fdb-container { flex-direction: column; align-items: flex-start; }
    .fdb-actions-wrap { flex-direction: column; }
}

@media (max-width: 480px) {
    .fdb-cols-2, .fdb-cols-3, .fdb-cols-4 { grid-template-columns: repeat(2,1fr); }
    .fdb-hero-title { font-size: 1.6rem; }
    .fdb-cast-grid { grid-template-columns: repeat(3,1fr); }
    .fdb-series-card { flex-direction: column; }
    .fdb-sc-poster { flex: none; width: 100%; }
    .fdb-sc-poster img { width: 100%; aspect-ratio: 16/9; }
}

/* Print styles for PDF export */
@media print {
    .fdb-header, .fdb-back-bar, .fdb-module-sharing, .fdb-module-related, .fdb-newsletter-bar, .fdb-footer { display: none !important; }
    .fdb-hero-banner { min-height: 300px; }
    body { background: #fff; color: #000; }
}


/* Legacy override block (kept for backward visual parity) */

/* ═══════════════════════════════════════════════════════════════════════════
   MOVIE CATALOGUE — Layout v6
   Updates: banner behind header (no gap), poster bigger + fully visible,
   trailer fills height, visible gradient background, pills removed
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── SHARED CONSTANTS ────────────────────────────────────────────────── */
:root {
    --fdb-poster-w:     300px;
    --fdb-poster-h:     450px;
    --fdb-poster-bleed: 180px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   UPDATE #4 — GRADIENT PAGE BACKGROUND (visible this time)
   Light: white → cool lavender  |  Dark: near-black → deep navy
   ═══════════════════════════════════════════════════════════════════════════ */
body {
    background: linear-gradient(168deg, #fdfdfe 0%, #eef1f8 40%, #dfe4f0 100%) !important;
    background-attachment: fixed !important;
}
/* ─── HEADER NAV — fully visible, no clipping ──────────────────────────── */
.fdb-header         { overflow: visible !important; }
.fdb-header-inner   { gap: 12px !important; overflow: visible !important; }
.fdb-nav            { flex: 1; overflow: visible !important; }
.fdb-nav-menu       { display: flex !important; flex-wrap: nowrap !important; overflow: visible !important; gap: 0 !important; }
.fdb-nav-menu a     { padding: 6px 10px !important; font-size: .82rem !important; white-space: nowrap !important; }

/* Single title page: header overlays hero, then turns solid when scrolled */
body.fdb-single-title .fdb-header {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}
body.fdb-single-title .fdb-single-title-page > .fdb-hero {
    margin-top: calc(-1 * var(--fdb-header-h)) !important;
}
body.fdb-single-title .fdb-header:not(.scrolled) .fdb-nav-menu a,
body.fdb-single-title .fdb-header:not(.scrolled) .fdb-site-name,
body.fdb-single-title .fdb-header:not(.scrolled) .fdb-search-toggle {
    color: #e5e7eb !important;
}
body.fdb-single-title .fdb-header:not(.scrolled) .fdb-nav-menu a:hover,
body.fdb-single-title .fdb-header:not(.scrolled) .fdb-nav-menu .current-menu-item > a {
    color: #ffffff !important;
    background: rgba(255,255,255,.14) !important;
}
body.fdb-single-title .fdb-header:not(.scrolled) .fdb-mobile-toggle span {
    background: #e5e7eb !important;
}
body.fdb-single-title .fdb-header.scrolled {
    background: var(--fdb-header-scrolled-bg-light, #ffffff) !important;
    border-bottom: 1px solid var(--fdb-border) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.08) !important;
}
body.fdb-single-title .fdb-header.scrolled .fdb-nav-menu a,
body.fdb-single-title .fdb-header.scrolled .fdb-site-name,
body.fdb-single-title .fdb-header.scrolled .fdb-search-toggle {
    color: var(--fdb-text-2) !important;
}

@media (max-width: 1100px) { .fdb-nav-menu a { padding: 6px 7px !important; font-size: .78rem !important; } }
@media (max-width: 960px) {
    .fdb-nav { display: none !important; }
    .fdb-nav.open {
        display: block !important;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--fdb-bg);
        border-bottom: 1px solid var(--fdb-border);
        padding: 8px 0;
        z-index: 1001;
    }
    .fdb-nav.open .fdb-nav-menu { flex-direction: column !important; }
    .fdb-nav.open .fdb-nav-menu a { padding: 11px 20px !important; font-size: .875rem !important; }
    .fdb-mobile-toggle { display: flex !important; }
}


/* ══════════════════════════════════════════════════════════════════════════
   UPDATE #1 — BANNER: NO GAP BETWEEN HEADER AND BANNER
   Root cause: main has padding-top:70px AND .fdb-hero has margin-top:70px
   Fix: zero BOTH out. Banner starts at page y=0, slides behind the header.
   Hero inner content has padding-top to push text below the nav bar.
   ══════════════════════════════════════════════════════════════════════════ */

/* Zero out the <main> element's padding-top */
main.fdb-single-title-page,
.fdb-single-title-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Zero out the hero section's margin-top */
.fdb-single-title-page .fdb-hero,
.fdb-single-title-page > .fdb-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Banner image starts at page top, visually behind the fixed header */
.fdb-single-title-page .fdb-hero-banner {
    position: relative;
    min-height: calc(var(--fdb-header-h) + 510px) !important;
    max-height: calc(var(--fdb-header-h) + 660px) !important;
    height: auto !important;
    background: #06090f var(--banner-url) center 25% / cover no-repeat !important;
    display: flex !important;
    align-items: flex-end !important;
    overflow: visible !important;
}

/* Dark gradient overlay for legibility */
.fdb-single-title-page .fdb-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,  rgba(0,0,0,.92) 0%, rgba(0,0,0,.62) 40%, rgba(0,0,0,.15) 100%),
        linear-gradient(to top,    rgba(0,0,0,.75) 0%, transparent 55%),
        linear-gradient(to bottom, rgba(0,0,0,.45) 0%, transparent 30%) !important;
    pointer-events: none;
}

/* Hero inner: flex row at bottom of banner; padding-top clears the fixed nav */
.fdb-single-title-page .fdb-hero-inner {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: flex-end !important;
    gap: 28px;
    width: 100%;
    padding-top: calc(var(--fdb-header-h) + 8px) !important;
    padding-bottom: 0 !important;
}


/* ══════════════════════════════════════════════════════════════════════════
   UPDATE #2 — POSTER: BIGGER (240×360), FULLY VISIBLE, BLEEDS BELOW BANNER
   Root cause: poster too small + overflow clipped by parents
   Fix: 240px wide, margin-bottom:-180px, overflow:visible on all ancestors
   ══════════════════════════════════════════════════════════════════════════ */

.fdb-hero-poster-wrap {
    display: block !important;
    flex-shrink: 0;
    align-self: flex-end;
    position: relative;
    z-index: 10;
    margin-bottom: calc(-1 * var(--fdb-poster-bleed)) !important;
    transform: translateY(-40px);
}

.fdb-hero-poster-img,
.fdb-hero-poster-wrap img,
.fdb-hero-poster img {
    width:  var(--fdb-poster-w)  !important;
    height: var(--fdb-poster-h)  !important;
    object-fit: cover !important;
    display: block;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 4px 16px rgba(0,0,0,.35);
}

.fdb-hero-poster {
    width: var(--fdb-poster-w) !important;
}


/* ── Hero text content ── */
.fdb-hero-content {
    flex: 1;
    padding-bottom: 28px;
    color: #fff;
    min-width: 0;
}
.fdb-hero-year {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    opacity: .7;
    margin-bottom: 6px;
}
.fdb-hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 0 2px 20px rgba(0,0,0,.7);
}
.fdb-hero-tagline {
    font-size: .9rem;
    opacity: .82;
    margin-bottom: 12px;
    max-width: 560px;
}
.fdb-hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}
.fdb-cert {
    display: inline-flex;
    padding: 2px 8px;
    border: 1.5px solid rgba(255,255,255,.6);
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .05em;
}
.fdb-hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 11px;
    background: rgba(255,255,255,.13);
    border-radius: 999px;
    font-size: .78rem;
    color: #fff;
    font-weight: 500;
}
.fdb-hero-pill-genre {
    background: rgba(26,86,255,.45);
    text-decoration: none !important;
}
.fdb-hero-pill-genre:hover { background: var(--fdb-accent); text-decoration: none !important; }


/* ══════════════════════════════════════════════════════════════════════════
   UPDATE #3 — POST-HERO: TRAILER FILLS HEIGHT, BOTTOM-ALIGNED WITH BUTTONS
   Root cause: align-items:end made trailer short with dead space above
   Fix: right column stretches to fill; trailer stage uses flex:1 to grow
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-post-hero {
    background: transparent;
    border-bottom: 1px solid var(--fdb-border);
    position: relative;
    z-index: 5;
    margin-top: -10px;
    overflow: visible !important;
}

.fdb-post-hero-grid {
    display: grid;
    grid-template-columns: var(--fdb-poster-w) 1fr;
    gap: 28px;
    align-items: end !important;
    padding-top: 6px;
    padding-bottom: 32px;
}

/* LEFT column — buttons pushed to bottom (below poster) */
.fdb-ph-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-end;
}

/* Spacer = poster bleed so buttons start below poster's bottom edge */
.fdb-poster-spacer {
    height: calc(var(--fdb-poster-bleed) + 56px) !important;
    flex-shrink: 0;
}

/* RIGHT column — trailer fills available height */
.fdb-ph-right {
    display: flex;
    flex-direction: column;
}

.fdb-trailer-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fdb-trailer-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--fdb-text-3);
    margin-bottom: 10px;
    flex-shrink: 0;
}

/* Trailer stage fills remaining height — NOT fixed aspect-ratio */
.fdb-trailer-stage {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0f18;
    cursor: pointer;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fdb-trailer-thumb-img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.fdb-trailer-blank {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d1117, #1c2230);
}

/* Play overlay & rectangular play button */
.fdb-trailer-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.28);
    transition: background .2s;
    z-index: 2;
}
.fdb-trailer-stage:hover .fdb-trailer-play-overlay {
    background: rgba(26,86,255,.35);
}

.fdb-rect-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(0,0,0,.45);
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 6px;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .04em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background .2s, border-color .2s;
    pointer-events: none;
    white-space: nowrap;
}
.fdb-trailer-stage:hover .fdb-rect-play-btn {
    background: var(--fdb-accent);
    border-color: var(--fdb-accent);
}


/* ── ACTION BUTTONS stack ─────────────────────────────────────────────── */
.fdb-action-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fdb-ab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .18s;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.fdb-ab:hover { text-decoration: none !important; transform: translateY(-1px); }
.fdb-ab svg { flex-shrink: 0; }

.fdb-ab-primary  { background: var(--fdb-accent); color: #fff !important; border-color: var(--fdb-accent); }
.fdb-ab-primary:hover { background: var(--fdb-accent-dark); border-color: var(--fdb-accent-dark); }

.fdb-ab-outline  { background: transparent; color: var(--fdb-text) !important; border-color: var(--fdb-border-2); }
.fdb-ab-outline:hover { border-color: var(--fdb-accent); color: var(--fdb-accent) !important; }

.fdb-ab-imdb     { background: #F5C518; color: #000 !important; border-color: #F5C518; font-weight: 700; }
.fdb-ab-imdb:hover { background: #e0b400; border-color: #e0b400; }

.fdb-ab-teal     { background: #0d7377; color: #fff !important; border-color: #0d7377; }
.fdb-ab-teal:hover { background: #0a5e61; border-color: #0a5e61; }

.fdb-ab-dark     { background: #1a1a2e; color: #fff !important; border-color: #3a3a5e; }
.fdb-ab-dark:hover { background: #252543; border-color: #4a4a6e; }

/* QR row */
.fdb-qr-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--fdb-bg-2);
    border: 1px solid var(--fdb-border);
    border-radius: 8px;
    margin-top: 4px;
}
.fdb-qr-row img { border-radius: 6px; flex-shrink: 0; }
.fdb-qr-row span { font-size: .72rem; color: var(--fdb-text-3); font-weight: 500; }


/* ══════════════════════════════════════════════════════════════════════════
   CONTENT AREA & MODULES
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-content-area   { background: transparent !important; padding: 40px 0 80px; }
.fdb-modules-wrap   { display: flex; flex-direction: column; }
.fdb-module         { padding: 36px 0; border-bottom: 1px solid var(--fdb-border); }
.fdb-module:last-child { border-bottom: none; }
.fdb-module-title   { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; color: var(--fdb-text); }

/* Synopsis — FULL WIDTH (no max-width cap) */
.fdb-module-synopsis p,
.fdb-module-synopsis .fdb-synopsis-text,
.fdb-module-synopsis .fdb-synopsis-body,
.fdb-synopsis-content {
    max-width: none !important;
    width: 100% !important;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--fdb-text-2);
}


/* ══════════════════════════════════════════════════════════════════════════
   TECH SPECS — colourful card design
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-tech-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)) !important;
    gap: 14px !important;
}
.fdb-tech-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 18px 16px 16px !important;
    border-radius: 12px !important;
    border: 1.5px solid !important;
    position: relative;
    overflow: hidden;
    transition: transform .18s, box-shadow .18s;
}
.fdb-tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.fdb-tech-item::after {
    content: '';
    position: absolute;
    top: -40%; left: -20%;
    width: 60%; height: 200%;
    background: rgba(255,255,255,.08);
    transform: rotate(20deg);
    pointer-events: none;
}
/* Light mode colour themes */
.fdb-tech-item:nth-child(1) { background: linear-gradient(140deg,#dbeafe,#eff6ff) !important; border-color: #93c5fd !important; color: #1d4ed8 !important; }
.fdb-tech-item:nth-child(2) { background: linear-gradient(140deg,#fef3c7,#fffbeb) !important; border-color: #fcd34d !important; color: #b45309 !important; }
.fdb-tech-item:nth-child(3) { background: linear-gradient(140deg,#d1fae5,#ecfdf5) !important; border-color: #6ee7b7 !important; color: #065f46 !important; }
.fdb-tech-item:nth-child(4) { background: linear-gradient(140deg,#ede9fe,#f5f3ff) !important; border-color: #c4b5fd !important; color: #5b21b6 !important; }
.fdb-tech-item:nth-child(5) { background: linear-gradient(140deg,#fce7f3,#fff1f6) !important; border-color: #f9a8d4 !important; color: #9d174d !important; }
.fdb-tech-item:nth-child(6) { background: linear-gradient(140deg,#cffafe,#ecfeff) !important; border-color: #67e8f9 !important; color: #0e7490 !important; }
/* Dark mode colour themes */
.fdb-tech-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.5);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.fdb-tech-label  { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .65; }
.fdb-tech-value  { font-size: .95rem; font-weight: 700; color: inherit !important; line-height: 1.3; }


/* ══════════════════════════════════════════════════════════════════════════
   VIDEOS — adaptive grid
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-videos-row-wrap { display: grid !important; gap: 14px !important; }
.fdb-video-card   { min-width: 0; }
.fdb-video-play-btn {
    position: relative; width: 100%; aspect-ratio: 16/9;
    border: none; border-radius: 8px; overflow: hidden;
    cursor: pointer; display: block; padding: 0; background: #111;
}
.fdb-video-play-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdb-video-no-thumb { width:100%; height:100%; background:linear-gradient(135deg,#0d1117,#1c2230); display:flex; align-items:center; justify-content:center; }
.fdb-video-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.28);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.fdb-video-play-btn:hover .fdb-video-overlay { background: rgba(26,86,255,.42); }
.fdb-video-label { font-size: .8rem; font-weight: 500; color: var(--fdb-text-2); margin-top: 8px; text-align: center; }


/* ══════════════════════════════════════════════════════════════════════════
   VIDEO MODAL
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-video-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.fdb-video-modal.open { display: block; }
.fdb-video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); }
.fdb-video-modal-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; padding: 24px;
}
.fdb-video-modal-inner iframe {
    width: 90vw; height: 50.625vw;
    max-width: 1200px; max-height: 90vh;
    border-radius: 8px; border: none;
}
.fdb-video-modal-close {
    position: absolute; top: 16px; right: 20px;
    background: rgba(255,255,255,.1); border: none; color: #fff;
    font-size: 1.8rem; width: 44px; height: 44px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s; line-height: 1; z-index: 2;
}
.fdb-video-modal-close:hover { background: rgba(255,255,255,.25); }


/* ══════════════════════════════════════════════════════════════════════════
   SUPPRESS OLD / REPLACED ELEMENTS
   ══════════════════════════════════════════════════════════════════════════ */
.fdb-back-bar              { display: none !important; }
.fdb-back-link             { display: none !important; }
.fdb-module-actions        { display: none !important; }
.fdb-module-action_buttons { display: none !important; }
.fdb-post-hero-layout      { display: none !important; }
.fdb-pills-bar             { display: none !important; }
.fdb-title-taxonomy-bar    { display: none !important; }

/* Hide watch trailer button inside the banner hero area */
.fdb-hero-content .fdb-btn-play,
.fdb-hero-content .fdb-hero-play { display: none !important; }


/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .fdb-post-hero-grid {
        grid-template-columns: 1fr !important;
        padding-top: 24px;
    }
    .fdb-hero-poster-wrap { display: none !important; }
    .fdb-poster-spacer    { height: 0 !important; }
    .fdb-hero-title       { font-size: 1.6rem !important; }
    .fdb-hero-banner      { min-height: 280px !important; max-height: 360px !important; }
    .fdb-trailer-stage    { min-height: 200px; }
    .fdb-tech-grid        { grid-template-columns: repeat(2, 1fr) !important; }
    .fdb-rect-play-btn    { padding: 10px 20px !important; font-size: .85rem !important; }
    .fdb-ab               { justify-content: center; }
}

@media (max-width: 480px) {
    .fdb-hero-banner { min-height: 220px !important; max-height: 300px !important; }
    .fdb-tech-grid   { grid-template-columns: 1fr 1fr !important; }
}

/* Final polish overrides */
.fdb-ph-right {
    justify-content: stretch !important;
    align-self: stretch !important;
}
.fdb-trailer-wrap {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}
.fdb-trailer-label {
    display: none !important;
}
.fdb-trailer-stage {
    flex: 1 1 auto !important;
    width: 100%;
    aspect-ratio: auto;
    min-height: 300px !important;
}

.fdb-synopsis-content,
.fdb-module-synopsis p,
.fdb-module-synopsis .fdb-synopsis-text,
.fdb-module-synopsis .fdb-synopsis-body {
    color: var(--fdb-text) !important;
}

.fdb-tech-label {
    color: currentColor !important;
    opacity: .82 !important;
}
.fdb-tech-value {
    color: currentColor !important;
    opacity: 1 !important;
}

.fdb-rights-table-wrap {
    border-color: rgba(148, 163, 184, .42) !important;
}
.fdb-rights-table th,
.fdb-rights-table td {
    border-bottom-color: rgba(148, 163, 184, .36) !important;
}
.fdb-rights-table th + th,
.fdb-rights-table td + td {
    border-left: 1px solid rgba(148, 163, 184, .24);
}
@media (max-width: 768px) {
    .fdb-trailer-stage {
        min-height: 0 !important;
    }
}

/* Runtime safety overrides */
body.fdb-single-title .fdb-single-title-page > .fdb-hero,
body.single-fdb_title .fdb-single-title-page > .fdb-hero {
    margin-top: calc(-1 * var(--fdb-header-h)) !important;
}
body.fdb-single-title .fdb-header:not(.scrolled),
body.single-fdb_title .fdb-header:not(.scrolled) {
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
}

.fdb-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}
.fdb-video-modal.open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.fdb-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 0;
}
.fdb-video-modal-inner {
    position: relative;
    z-index: 1;
    width: min(92vw, 1200px) !important;
    max-width: 1200px !important;
    height: auto !important;
    padding: 0 !important;
    display: block !important;
}
.fdb-video-modal-player {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}
.fdb-video-modal-player iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
.fdb-video-modal-close {
    top: -44px !important;
    right: 0 !important;
}

@media (max-width: 768px) {
    .fdb-post-hero {
        margin-top: -8px;
    }
    body.single-fdb_title .fdb-single-title-page .fdb-hero-inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        align-items: end !important;
        padding-top: calc(var(--fdb-header-h) + 14px) !important;
        padding-bottom: 18px !important;
    }
    body.single-fdb_title .fdb-single-title-page .fdb-hero-content {
        order: 1;
        padding-bottom: 0 !important;
    }
    body.single-fdb_title .fdb-single-title-page .fdb-hero-poster-wrap {
        order: 2;
        transform: none !important;
        margin: 0 0 12px !important;
    }
    body.single-fdb_title .fdb-single-title-page .fdb-hero-banner {
        min-height: calc(var(--fdb-header-h) + 380px) !important;
        max-height: none !important;
    }
    .fdb-hero-poster-wrap {
        display: block !important;
        margin-bottom: -56px !important;
    }
    .fdb-hero-poster-wrap img,
    .fdb-hero-poster-img,
    .fdb-hero-poster img,
    .fdb-hero-poster {
        width: 180px !important;
        height: 270px !important;
    }
    .fdb-video-modal-inner {
        width: 94vw !important;
    }
}

/* Rights table redesign for clear light/dark readability */
.fdb-module-rights .fdb-rights-header {
    margin-bottom: 16px;
}
.fdb-module-rights .fdb-rights-subtitle {
    color: var(--fdb-text-2) !important;
    opacity: .95;
}
.fdb-module-rights .fdb-rights-table-wrap {
    background: #ffffff !important;
    border: 1px solid #d6dbe6 !important;
    border-radius: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
}
.fdb-module-rights .fdb-rights-table {
    min-width: 860px;
    border-collapse: separate !important;
    border-spacing: 0;
}
.fdb-module-rights .fdb-rights-table th {
    background: #f3f5fa !important;
    color: #4b5563 !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #d6dbe6 !important;
}
.fdb-module-rights .fdb-rights-table td {
    background: #ffffff !important;
    color: #111827 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.fdb-module-rights .fdb-rights-table th + th,
.fdb-module-rights .fdb-rights-table td + td {
    border-left: 1px solid #e2e8f0 !important;
}
.fdb-module-rights .fdb-rights-territory {
    color: #111827 !important;
}
.fdb-module-rights .fdb-rights-badge {
    font-size: .95rem !important;
    font-weight: 700 !important;
    padding: 7px 16px !important;
    border-radius: 999px !important;
}
.fdb-module-rights .fdb-rights-badge-available {
    background: #dcfce7 !important;
    color: #059669 !important;
}
.fdb-module-rights .fdb-rights-badge-licensed {
    background: #fef3c7 !important;
    color: #d97706 !important;
}
.fdb-module-rights .fdb-rights-badge-not_available {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}
@media (max-width: 768px) {
    .fdb-module-rights .fdb-rights-table {
        min-width: 980px !important;
    }
}

/* Technical specs visibility boost */
/* Watch On module */
.fdb-watch-on-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.fdb-watch-on-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--fdb-border);
    background: var(--fdb-card-bg);
    border-radius: 10px;
    text-decoration: none !important;
    color: var(--fdb-text);
}
.fdb-watch-on-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255,255,255,.1);
}
.fdb-watch-on-fallback {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--fdb-accent-light);
    color: var(--fdb-accent);
}
.fdb-watch-on-name {
    font-size: .88rem;
    font-weight: 600;
}

/* Enquiry modal */
.fdb-enquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}
.fdb-enquiry-modal.open {
    display: block;
}
.fdb-enquiry-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}
.fdb-enquiry-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 640px);
    margin: 6vh auto 0;
    background: var(--fdb-card-bg);
    border: 1px solid var(--fdb-border);
    border-radius: 12px;
    padding: 20px;
}
.fdb-enquiry-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.7rem;
    color: var(--fdb-text-2);
    cursor: pointer;
}
.fdb-enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.fdb-enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.fdb-enquiry-form input,
.fdb-enquiry-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--fdb-border);
    border-radius: 8px;
    background: var(--fdb-bg);
    color: var(--fdb-text);
}
.fdb-enquiry-status {
    min-height: 18px;
    font-size: .85rem;
    color: var(--fdb-text-2);
}

/* Allow button and anchor versions of action pills */
button.fdb-ab {
    width: 100%;
    text-align: left;
    border: 1.5px solid transparent;
    cursor: pointer;
}

@media (max-width: 768px) {
    .fdb-enquiry-grid {
        grid-template-columns: 1fr;
    }
}

/* Single page fine-tuning (v2) */
body.single-fdb_title .fdb-post-hero {
    margin-top: 14px !important; /* add space below banner */
}
body.single-fdb_title .fdb-poster-spacer {
    height: calc(var(--fdb-poster-bleed) + 22px) !important; /* bring buttons closer to poster bottom */
}
body.single-fdb_title .fdb-ph-right {
    display: flex !important;
    flex-direction: column !important;
    align-self: end !important;
    gap: 12px !important;
}
body.single-fdb_title .fdb-trailer-wrap {
    display: block !important;
    flex: 0 0 auto !important;
}
body.single-fdb_title .fdb-trailer-stage {
    aspect-ratio: 16 / 9 !important; /* keep trailer/player shape */
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
}
body.single-fdb_title .fdb-hero-year {
    font-size: 1rem !important;
    letter-spacing: .14em !important;
    font-weight: 700 !important;
}
body.single-fdb_title .fdb-hero-title {
    font-size: clamp(2.4rem, 5.8vw, 4.2rem) !important;
    line-height: 1.04 !important;
}
body.single-fdb_title .fdb-short-synopsis-card {
    background: var(--fdb-card-bg);
    border: 1px solid var(--fdb-border);
    border-radius: 10px;
    padding: 12px 14px;
}
body.single-fdb_title .fdb-short-synopsis-kicker {
    margin: 0 0 6px;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--fdb-text-2);
}
body.single-fdb_title .fdb-short-synopsis-text {
    margin: 0;
    font-size: .92rem;
    line-height: 1.6;
    color: var(--fdb-text);
}
body.single-fdb_title .fdb-hero-banner {
    position: relative;
}
body.single-fdb_title .fdb-hero-qr {
    position: absolute;
    right: 24px;
    bottom: 16px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(4px);
}
body.single-fdb_title .fdb-hero-qr img {
    border-radius: 6px;
    background: #fff;
}
body.single-fdb_title .fdb-hero-qr span {
    font-size: .72rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
@media (max-width: 768px) {
    body.single-fdb_title .fdb-hero-qr {
        right: 14px;
        bottom: 10px;
        transform: scale(.9);
        transform-origin: bottom right;
    }
}

/* Single page safety overrides for both body class variants */
body.fdb-single-title .fdb-post-hero {
    margin-top: 14px !important;
}
body.fdb-single-title .fdb-poster-spacer {
    height: calc(var(--fdb-poster-bleed) + 22px) !important;
}
body.fdb-single-title .fdb-ph-right {
    display: flex !important;
    flex-direction: column !important;
    align-self: end !important;
    gap: 12px !important;
}
body.fdb-single-title .fdb-trailer-wrap {
    display: block !important;
    flex: 0 0 auto !important;
}
body.fdb-single-title .fdb-trailer-stage {
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    flex: 0 0 auto !important;
}
body.fdb-single-title .fdb-hero-year {
    font-size: 1rem !important;
    letter-spacing: .14em !important;
    font-weight: 700 !important;
}
body.fdb-single-title .fdb-hero-title {
    font-size: clamp(2.4rem, 5.8vw, 4.2rem) !important;
    line-height: 1.04 !important;
}
body.fdb-single-title .fdb-short-synopsis-card {
    background: var(--fdb-card-bg);
    border: 1px solid var(--fdb-border);
    border-radius: 10px;
    padding: 12px 14px;
}
body.fdb-single-title .fdb-short-synopsis-kicker {
    margin: 0 0 6px;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--fdb-text-2);
}
body.fdb-single-title .fdb-short-synopsis-text {
    margin: 0;
    font-size: .92rem;
    line-height: 1.6;
    color: var(--fdb-text);
}
body.fdb-single-title .fdb-hero-banner {
    position: relative;
}
body.fdb-single-title .fdb-hero-qr {
    position: absolute;
    right: 24px;
    bottom: 16px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: 10px;
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(4px);
}
body.fdb-single-title .fdb-hero-qr img {
    border-radius: 6px;
    background: #fff;
}
body.fdb-single-title .fdb-hero-qr span {
    font-size: .72rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
@media (max-width: 768px) {
    body.fdb-single-title .fdb-hero-qr {
        right: 14px;
        bottom: 10px;
        transform: scale(.9);
        transform-origin: bottom right;
    }
}

/* Final single-title polish */
body.single-fdb_title .fdb-post-hero,
body.fdb-single-title .fdb-post-hero {
    margin-top: 4px !important; /* small clean gap below banner */
}
body.single-fdb_title .fdb-post-hero-grid,
body.fdb-single-title .fdb-post-hero-grid {
    padding-top: 0 !important;
}
body.single-fdb_title .fdb-poster-spacer,
body.fdb-single-title .fdb-poster-spacer {
    height: calc(var(--fdb-poster-bleed) - 46px) !important; /* reduce hero row height so short synopsis sits higher */
}
body.single-fdb_title .fdb-ph-right,
body.fdb-single-title .fdb-ph-right {
    align-self: stretch !important; /* fill row height */
    display: flex !important;
    flex-direction: column !important;
    margin-top: 0 !important;
    gap: 10px !important;
}
body.single-fdb_title .fdb-short-synopsis-card,
body.fdb-single-title .fdb-short-synopsis-card {
    margin-top: 2px !important;
}
body.single-fdb_title .fdb-trailer-wrap,
body.fdb-single-title .fdb-trailer-wrap {
    margin-top: auto !important; /* keeps trailer aligned with action buttons at bottom */
}

body.single-fdb_title .fdb-short-synopsis-card,
body.fdb-single-title .fdb-short-synopsis-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    padding: 2px 0 0;
}
body.single-fdb_title .fdb-short-synopsis-kicker,
body.fdb-single-title .fdb-short-synopsis-kicker {
    font-weight: 800 !important;
    letter-spacing: .13em;
    color: var(--fdb-text) !important;
}

body.single-fdb_title .fdb-module-synopsis .fdb-synopsis-content,
body.fdb-single-title .fdb-module-synopsis .fdb-synopsis-content {
    border: 1px solid rgba(148, 163, 184, .30);
    border-radius: 10px;
    padding: 12px 14px;
    background: transparent;
}
/* Mobile: prevent hero title/year overlapping the fixed header */
@media (max-width: 768px) {
    body.single-fdb_title .fdb-single-title-page .fdb-hero-inner,
    body.fdb-single-title .fdb-single-title-page .fdb-hero-inner {
        padding-top: calc(var(--fdb-header-h) + 34px) !important;
    }
    body.single-fdb_title .fdb-single-title-page .fdb-hero-content,
    body.fdb-single-title .fdb-single-title-page .fdb-hero-content {
        padding-top: 6px !important;
    }
    body.single-fdb_title .fdb-ph-right,
    body.fdb-single-title .fdb-ph-right {
        margin-top: 0 !important;
    }
}


/* Plugin-owned section widget layout helpers */
.fdb-dynamic-titles-grid {
    display: grid;
    grid-template-columns: repeat(var(--fdb-grid-cols, 4), minmax(0, 1fr));
    gap: 16px;
}
.fdb-dynamic-titles-grid.fdb-layout-horizontal {
    grid-template-columns: repeat(min(var(--fdb-grid-cols, 3), 3), minmax(0, 1fr));
}
.fdb-dynamic-titles-grid .fdb-card-title {
    margin-bottom: 6px;
}
.fdb-dynamic-titles-grid .fdb-card-layout-poster-only .fdb-card-body {
    display: none;
}
@media (max-width: 1024px) {
    .fdb-dynamic-titles-grid {
        grid-template-columns: repeat(min(var(--fdb-grid-cols, 3), 3), minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .fdb-dynamic-titles-grid,
    .fdb-dynamic-titles-grid.fdb-layout-horizontal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fdb-contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Creative agency page widgets */
.fdb-creative-hero {
    min-height: var(--fdb-creative-hero-min, 80vh);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0d1222, #1b2440);
    background-size: cover;
    background-position: center;
    position: relative;
}
.fdb-creative-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 20, 0.56);
}
.fdb-creative-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 32px;
    align-items: center;
}
.fdb-creative-hero-stacked .fdb-creative-hero-inner { grid-template-columns: 1fr; }
.fdb-creative-eyebrow { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: #b8c5ee; margin-bottom: 14px; }
.fdb-creative-title { color: #fff; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.04; margin: 0 0 16px; max-width: 14ch; }
.fdb-creative-desc { color: #dbe2f8; max-width: 56ch; margin-bottom: 22px; }
.fdb-creative-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fdb-creative-hero-media img { width: 100%; border-radius: 18px; display: block; box-shadow: 0 24px 60px rgba(0,0,0,.35); }

.fdb-creative-split { padding: 72px 0; }
.fdb-creative-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.fdb-creative-split.is-reverse .fdb-creative-split-copy { order: 2; }
.fdb-creative-split.is-reverse .fdb-creative-split-media { order: 1; }
.fdb-creative-section-no { display: block; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; color: var(--fdb-text-3); }
.fdb-creative-split-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.8rem); margin: 0 0 12px; }
.fdb-creative-split-copy p { color: var(--fdb-text-2); }
.fdb-creative-split-media img,
.fdb-creative-split-media iframe { width: 100%; border-radius: 16px; border: 0; min-height: 320px; display: block; }

.fdb-creative-projects { padding: 72px 0; }
.fdb-creative-head { margin-bottom: 22px; }
.fdb-creative-head h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.fdb-creative-head p { color: var(--fdb-text-2); }
.fdb-creative-project-grid { display: grid; grid-template-columns: repeat(var(--fdb-creative-cols, 3), minmax(0,1fr)); gap: 16px; }
.fdb-creative-project-card { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #0e1322; }
.fdb-creative-project-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.fdb-creative-project-card:hover .fdb-creative-project-bg { transform: scale(1.05); }
.fdb-creative-project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.1)); }
.fdb-creative-project-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; z-index: 1; }
.fdb-creative-project-body span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-bottom: 5px; }
.fdb-creative-project-body h3 { margin: 0; font-size: 1.1rem; }
.fdb-creative-project-card > a { position: absolute; inset: 0; z-index: 2; }
.fdb-creative-project-layout-minimal .fdb-creative-project-overlay { background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0)); }

.fdb-creative-logos { padding: 70px 0 36px; }
.fdb-creative-logos h3 { text-align: center; margin-bottom: 18px; }
.fdb-creative-logo-grid { display: grid; grid-template-columns: repeat(var(--fdb-logo-cols, 6), minmax(0, 1fr)); gap: 14px; }
.fdb-creative-logo-item { border: 1px solid var(--fdb-border); border-radius: 12px; padding: 16px; background: var(--fdb-card-bg); display: flex; align-items: center; justify-content: center; min-height: 86px; }
.fdb-creative-logo-item img { max-height: 34px; width: auto; filter: grayscale(1); opacity: .85; }
.fdb-creative-logo-item:hover img { filter: grayscale(0); opacity: 1; }

.fdb-creative-cta { margin: 48px auto 80px; }
.fdb-creative-cta-inner {
    border-radius: 18px;
    padding: 34px;
    background: linear-gradient(130deg, #10223f, #1f3564);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.fdb-creative-cta h2 { color: #fff; margin: 0 0 8px; }
.fdb-creative-cta p { color: #e1e8ff; margin: 0 0 8px; }
.fdb-creative-cta-mail { color: #9bc6ff; }

@media (max-width: 1024px) {
    .fdb-creative-hero-inner,
    .fdb-creative-split-grid { grid-template-columns: 1fr; }
    .fdb-creative-project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .fdb-creative-logo-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .fdb-creative-hero { padding-top: 92px; }
    .fdb-creative-project-grid,
    .fdb-creative-logo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .fdb-creative-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* 2026-02-24: Screenbound-style hero + logos/titles refinement */
.fdb-widget-home-hero { margin-bottom: 4px; }
.fdb-widget-platform-logos { margin-top: 0; }
.fdb-widget-home-hero + .fdb-widget-platform-logos .fdb-platforms-bar { margin-top: 0; }

.fdb-hero-slider {
  min-height: clamp(520px, 78vh, 860px);
  height: min(860px, 78vh);
  overflow: hidden;
  border-bottom: 0;
}

.fdb-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

.fdb-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.fdb-slide .fdb-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}

.fdb-slide-content {
  max-width: 700px;
  padding: clamp(92px, 12vh, 132px) 0 clamp(54px, 8vh, 86px);
}

.fdb-hero-title {
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-wrap: balance;
}

.fdb-hero-tagline {
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  color: rgba(255,255,255,.92);
  max-width: 58ch;
  margin: 0 0 20px;
}

.fdb-slide-poster {
  position: relative;
  right: auto;
  bottom: auto;
  width: clamp(190px, 22vw, 290px);
  justify-self: end;
}

.fdb-slide-poster img {
  border-radius: 10px;
  box-shadow: 0 26px 60px rgba(0,0,0,.42);
}

.fdb-slider-dots {
  bottom: 18px;
}

.fdb-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,.68);
}

.fdb-dot.active {
  width: 8px;
  border-radius: 50%;
  background: #fff;
}

.fdb-platforms-bar {
  padding: 20px 0;
}

.fdb-platforms-track {
  gap: clamp(26px, 4vw, 54px);
}

.fdb-platforms-track img {
  height: clamp(30px, 3.2vw, 46px);
  width: auto;
  opacity: .92;
  filter: grayscale(1) contrast(1.06);
}

.fdb-platforms-bar.is-marquee .fdb-platforms-track {
  animation: fdb-marquee 30s linear infinite;
}

.fdb-platforms-bar.is-fixed .fdb-platforms-track {
  animation: none;
  justify-content: center;
  flex-wrap: wrap;
}

.fdb-home-section-header h2,
.fdb-micro-heading h2 {
  letter-spacing: -0.02em;
  font-weight: 900;
}

.fdb-home-section-header p,
.fdb-micro-heading p,
.fdb-creative-desc {
  font-size: clamp(.95rem, 1.05vw, 1.08rem);
}

@media (max-width: 1024px) {
  .fdb-hero-slider {
    min-height: clamp(440px, 72vh, 680px);
    height: auto;
  }

  .fdb-slide .fdb-container {
    grid-template-columns: 1fr minmax(150px, 220px);
  }
}

@media (max-width: 820px) {
  .fdb-slide .fdb-container {
    grid-template-columns: 1fr;
  }

  .fdb-slide-poster {
    display: none;
  }

  .fdb-slide-content {
    max-width: 100%;
    padding: calc(var(--fdb-header-h) + 26px) 0 52px;
  }
}

/* 2026-02-24: header logo + home hero polish */
.fdb-theme-logo-link {
  display: inline-flex;
  align-items: center;
}

.fdb-theme-logo-link .custom-logo {
  max-height: var(--fdb-header-logo-h, 52px);
  width: auto;
}

.fdb-logo-transparent {
  display: none;
}

.fdb-hero-slider {
  min-height: clamp(420px, 58vh, 620px) !important;
  height: clamp(420px, 58vh, 620px) !important;
  margin-bottom: 0 !important;
}

.fdb-slide .fdb-container {
  position: relative;
  display: block;
  height: 100%;
}

.fdb-slide-content {
  position: relative;
  z-index: 2;
  max-width: min(56%, 760px);
  padding: calc(var(--fdb-header-h) + 14px) 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.fdb-slide-poster {
  position: absolute;
  right: clamp(24px, 6vw, 110px);
  bottom: clamp(32px, 7vh, 74px);
  width: clamp(220px, 24vw, 320px);
}

.fdb-slider-dots {
  bottom: 10px;
}

.fdb-platforms-bar {
  padding: 12px 0 !important;
  margin-top: 0 !important;
}

.fdb-platforms-track img {
  height: var(--fdb-platform-logo-h, 52px);
  max-height: var(--fdb-platform-logo-h, 52px);
}

.fdb-footer-brand .custom-logo,
.fdb-footer-brand img.custom-logo {
  max-height: var(--fdb-footer-logo-h, 56px);
  width: auto;
  margin-bottom: 12px;
}

.fdb-widget-home-hero,
.fdb-widget-platform-logos,
.elementor-widget-fdb_home_hero_widget,
.elementor-widget-fdb_platform_logos_widget {
  margin-bottom: 0 !important;
}

.elementor-widget-fdb_platform_logos_widget .elementor-widget-container,
.elementor-widget-fdb_home_hero_widget .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.fdb-header-inner {
  gap: 16px;
}

.fdb-nav {
  min-width: 0;
}

.fdb-nav-menu {
  gap: 2px;
}

.fdb-nav-menu a {
  padding: 6px 10px;
  font-size: .82rem;
}

.fdb-header-controls {
  margin-left: auto;
}

@media (max-width: 820px) {
  .fdb-nav-menu .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    min-width: 0;
  }
  .fdb-theme-logo-link .custom-logo {
    max-height: min(var(--fdb-header-logo-h, 52px), 46px);
  }

  .fdb-slide-content {
    max-width: 100%;
  }

  .fdb-slide-poster {
    display: none;
  }
}

/* 2026-02-24: reliability overrides for header + hero */
.fdb-header {
  height: var(--fdb-header-h) !important;
}

.fdb-header-inner {
  position: relative;
  min-height: var(--fdb-header-h);
  padding-right: 96px;
}

.fdb-nav {
  padding-right: 12px;
}

.fdb-header-controls {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0 !important;
  z-index: 5;
}

.fdb-search-toggle {
  display: inline-flex !important;
}

.fdb-slide .fdb-container {
  display: block !important;
  position: relative !important;
  height: 100% !important;
}

.fdb-slide-content {
  position: absolute !important;
  left: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: min(54%, 760px) !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  z-index: 4 !important;
}

.fdb-widget-home-hero .fdb-hero-title,
.fdb-widget-home-hero .fdb-hero-tagline,
.fdb-widget-home-hero .fdb-hero-meta {
  color: #fff !important;
  opacity: 1 !important;
}

.fdb-slide-poster {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: clamp(24px, 6vw, 110px) !important;
  bottom: auto !important;
  width: clamp(230px, 24vw, 340px) !important;
  z-index: 4 !important;
}

.fdb-hero-slider {
  min-height: clamp(430px, 56vh, 610px) !important;
  height: clamp(430px, 56vh, 610px) !important;
}

.fdb-platforms-track img {
  filter: brightness(0) saturate(100%) !important;
}

.fdb-platforms-bar {
  padding: 10px 0 !important;
}

.fdb-platforms-track {
  gap: clamp(34px, 5vw, 68px) !important;
}

.fdb-platforms-track img {
  height: max(var(--fdb-platform-logo-h, 56px), 46px) !important;
  max-height: max(var(--fdb-platform-logo-h, 56px), 46px) !important;
}

@media (max-width: 1024px) {
  .fdb-slide-content {
    width: min(62%, 680px) !important;
  }
}

@media (max-width: 820px) {
  .fdb-header-inner {
    padding-right: 70px;
  }
  .fdb-header-controls {
    right: 12px;
  }
  .fdb-slide-content {
    position: relative !important;
    left: 0 !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    padding: calc(var(--fdb-header-h) + 20px) 0 48px !important;
  }
  .fdb-slide-poster {
    display: none !important;
  }
}

/* 2026-02-24: final home slider + settings reliability */
.home .elementor-top-section:first-child,
.home .elementor-top-section:first-child > .elementor-container,
.home .elementor-top-section:first-child > .elementor-container > .elementor-column,
.home .elementor-top-section:first-child > .elementor-container > .elementor-column > .elementor-widget-wrap {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

.home .elementor-widget-fdb_home_hero_widget,
.home .elementor-widget-fdb_home_hero_widget > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.home .fdb-widget-home-hero .fdb-hero-slider {
  margin-bottom: 0 !important;
  min-height: clamp(380px, 52vh, 560px) !important;
  height: clamp(380px, 52vh, 560px) !important;
}

.home .fdb-widget-home-hero .fdb-slide-content {
  left: clamp(18px, 4vw, 80px) !important;
  width: min(46%, 640px) !important;
}

.home .fdb-widget-home-hero .fdb-slide-poster {
  right: clamp(20px, 6vw, 120px) !important;
  width: clamp(168px, 17.6vw, 256px) !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}

.home .fdb-widget-home-hero .fdb-slide-poster img {
  border-radius: 20px !important;
}

.home .fdb-widget-home-hero .fdb-slider-dots {
  bottom: 14px !important;
  gap: 10px !important;
}

.home .fdb-widget-home-hero .fdb-dot {
  width: 11px !important;
  height: 11px !important;
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(0,0,0,.35) !important;
}

.home .fdb-widget-home-hero .fdb-dot.active {
  width: 28px !important;
  height: 11px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border-color: rgba(0,0,0,.45) !important;
}

.home .fdb-widget-home-hero + .fdb-widget-platform-logos .fdb-platforms-bar,
.home .elementor-widget-fdb_platform_logos_widget .fdb-platforms-bar {
  margin-top: 0 !important;
}

body.single-fdb_title .fdb-header-on-title:not(.scrolled) .fdb-logo-light,
body.fdb-single-title .fdb-header-on-title:not(.scrolled) .fdb-logo-light {
  display: none !important;
}

body.single-fdb_title .fdb-header-on-title:not(.scrolled) .fdb-logo-transparent,
body.fdb-single-title .fdb-header-on-title:not(.scrolled) .fdb-logo-transparent {
  display: block !important;
}

/* Header menu active state as button */
.fdb-nav-menu .current-menu-item > a,
.fdb-nav-menu .current_page_item > a,
.fdb-nav-menu .current-menu-ancestor > a {
  background: var(--fdb-accent) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(26, 86, 255, 0.24);
}

/* Header overflow behaviours for menu-left/logo-right scenarios */
.fdb-header.fdb-menu-overflow-compact .fdb-nav-menu a {
  padding: 6px 8px !important;
  font-size: .78rem !important;
}
.fdb-header.fdb-menu-overflow-wrap .fdb-header-inner {
  align-items: flex-start !important;
  padding-top: 10px;
  padding-bottom: 10px;
}
.fdb-header.fdb-menu-overflow-wrap .fdb-nav-menu {
  flex-wrap: wrap !important;
  row-gap: 6px;
}
.fdb-header.fdb-menu-overflow-wrap.fdb-header-layout-logo_center .fdb-header-inner {
  grid-template-columns: minmax(0, 1fr) auto auto !important;
}
.fdb-header.fdb-menu-overflow-wrap.fdb-header-layout-logo_right .fdb-header-inner {
  grid-template-columns: minmax(0, 1fr) auto auto !important;
}
.fdb-header.fdb-menu-overflow-wrap.fdb-header-layout-logo_center .fdb-nav {
  min-width: 0;
  width: 100%;
}
.fdb-header.fdb-menu-overflow-wrap.fdb-header-layout-logo_right .fdb-nav {
  min-width: 0;
  width: 100%;
}
.fdb-header.fdb-menu-overflow-scroll .fdb-nav {
  overflow: visible !important;
  scrollbar-width: none;
}
.fdb-header.fdb-menu-overflow-scroll .fdb-nav::-webkit-scrollbar {
  display: none;
}
.fdb-header.fdb-menu-overflow-scroll .fdb-nav-menu {
  flex-wrap: nowrap !important;
  width: auto;
  padding-bottom: 2px;
}

/* Sticky footer hardening */
html, body {
  min-height: 100vh !important;
}
body {
  display: flex !important;
  flex-direction: column !important;
}
body > main,
body > .fdb-main-content,
body > .fdb-home-page,
body > .fdb-archive-page {
  flex: 1 0 auto;
}
footer.fdb-footer {
  margin-top: auto !important;
}

/* 2026-02-24: header submenu + menu alignment reliability */
.fdb-header .fdb-nav {
  overflow: visible !important;
}
.fdb-header .fdb-nav-menu {
  overflow: visible !important;
}
.fdb-header.fdb-header-layout-logo_left .fdb-nav {
  display: flex;
  justify-content: flex-end;
  padding-left: 28px;
  padding-right: 56px;
}
.fdb-header.fdb-header-layout-logo_left .fdb-nav-menu {
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
  width: auto;
}
.fdb-header .fdb-nav-menu .menu-item-has-children > a,
.fdb-header .fdb-nav-menu .page_item_has_children > a {
  padding-right: 30px !important;
}
.fdb-header .fdb-nav-menu .menu-item-has-children > a::after,
.fdb-header .fdb-nav-menu .page_item_has_children > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  right: 10px;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
  color: var(--fdb-accent);
  opacity: 1;
}
.fdb-header .fdb-nav-menu .menu-item-has-children > .sub-menu,
.fdb-header .fdb-nav-menu .page_item_has_children > .sub-menu {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  top: calc(100% + 2px) !important;
}
.fdb-header .fdb-nav-menu .menu-item-has-children:hover > .sub-menu,
.fdb-header .fdb-nav-menu .menu-item-has-children:focus-within > .sub-menu,
.fdb-header .fdb-nav-menu .page_item_has_children:hover > .sub-menu,
.fdb-header .fdb-nav-menu .page_item_has_children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Banner layout card content */
.fdb-card-layout-banner .fdb-card-banner-link {
  min-height: 220px;
}
.fdb-card-banner-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.76), rgba(0,0,0,0));
}
.fdb-card-banner-info .fdb-card-title {
  color: #fff;
  margin: 0;
}

/* Generic page hero from theme settings */
.fdb-page-hero-banner {
  position: relative;
  min-height: clamp(260px, 42vh, 520px);
  background: #0f172a center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  margin-top: calc(-1 * var(--fdb-header-h));
}
.fdb-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,.72), rgba(2,6,23,.2));
}
.fdb-page-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: calc(var(--fdb-header-h) + 22px) 0 36px;
}
.fdb-page-hero-content h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}
.fdb-page-hero-content p {
  margin: 0;
  max-width: 680px;
  font-size: 1rem;
  opacity: .92;
}

/* Watch On moved to title hero */
.fdb-hero-watch-on {
  margin-top: 14px;
  max-width: 760px;
}
.fdb-hero-watch-on-title {
  margin: 0 0 8px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
  color: #fff;
}
.fdb-hero-watch-on-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fdb-hero-watch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.16);
  background: var(--fdb-watch-bg, #ffffff);
  box-shadow: 0 8px 22px rgba(2, 6, 23, .18);
}
.fdb-hero-watch-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(2, 6, 23, .22);
}
.fdb-hero-watch-pill img {
  max-height: 22px;
  width: auto;
  display: block;
}
.fdb-hero-watch-logo-img {
  display: block;
  width: auto;
  max-width: 96px;
  max-height: 24px;
  object-fit: contain;
}
.fdb-hero-watch-pill.is-bbc .fdb-hero-watch-logo-img {
  filter: brightness(0) invert(1);
}
.fdb-watch-on-card.is-bbc .fdb-watch-on-logo {
  filter: brightness(0) invert(1);
}
.fdb-hero-watch-logo-img[src*="BBC.png"],
.fdb-watch-on-logo[src*="BBC.png"],
.fdb-hero-watch-logo-img[src*="bbc.png"],
.fdb-watch-on-logo[src*="bbc.png"] {
  filter: brightness(0) invert(1);
}
.fdb-hero-watch-logo-mask {
  display: block;
  width: 78px;
  height: 24px;
  background: var(--fdb-watch-logo, #0f172a);
  -webkit-mask-image: var(--fdb-watch-logo-src);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  mask-image: var(--fdb-watch-logo-src);
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
}
.fdb-hero-watch-pill span {
  color: var(--fdb-watch-logo, #0f172a);
  font-size: .76rem;
  font-weight: 600;
}

/* Contact page (reference-style layout) */
.fdb-contact-modern-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: 24px;
}
.fdb-contact-modern-left {
  display: grid;
  gap: 18px;
}
.fdb-contact-modern-card {
  background: var(--fdb-card-bg);
  border: 1px solid var(--fdb-border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, .06);
}
.fdb-contact-modern-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
}
.fdb-contact-modern-form > p {
  margin: 0 0 18px;
  color: var(--fdb-text-2);
}
.fdb-contact-modern-list {
  display: grid;
  gap: 14px;
}
.fdb-contact-modern-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 14px;
}
.fdb-contact-modern-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.05rem;
}
.fdb-contact-modern-item a,
.fdb-contact-modern-item span {
  color: var(--fdb-text-2);
}
.fdb-contact-modern-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.fdb-cmi-blue { background: #dbeafe; }
.fdb-cmi-green { background: #dcfce7; }
.fdb-cmi-violet { background: #ede9fe; }
.fdb-cmi-orange { background: #ffedd5; }
.fdb-cmi-slate { background: #e2e8f0; }
.fdb-contact-form-placeholder {
  border: 1px dashed var(--fdb-border-2);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--fdb-text-2);
  background: var(--fdb-bg-2);
}
.fdb-contact-modern-form input[type="text"],
.fdb-contact-modern-form input[type="email"],
.fdb-contact-modern-form input[type="url"],
.fdb-contact-modern-form input[type="tel"],
.fdb-contact-modern-form select,
.fdb-contact-modern-form textarea {
  width: 100%;
  border: 1px solid var(--fdb-border);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}
.fdb-contact-modern-form textarea {
  min-height: 150px;
}
.fdb-contact-modern-form button,
.fdb-contact-modern-form input[type="submit"] {
  border-radius: 8px;
  padding: 12px 18px;
}
@media (max-width: 980px) {
  .fdb-contact-modern-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .fdb-header.fdb-header-layout-logo_left .fdb-nav {
    display: block;
    padding-left: 0;
    padding-right: 0;
  }
  .fdb-header .fdb-nav-menu .menu-item-has-children > a,
  .fdb-header .fdb-nav-menu .page_item_has_children > a {
    padding-right: 18px !important;
  }
  .fdb-header .fdb-nav-menu .menu-item-has-children > a::after,
  .fdb-header .fdb-nav-menu .page_item_has_children > a::after {
    right: 6px;
    font-size: 12px;
  }
  .fdb-header .fdb-nav-menu .menu-item-has-children > .sub-menu,
  .fdb-header .fdb-nav-menu .page_item_has_children > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    top: auto !important;
  }
}

/* 2026-02-24: final transparency + mobile stability overrides */
body.single-fdb_title .fdb-header:not(.scrolled) .fdb-nav-menu .sub-menu,
body.fdb-single-title .fdb-header:not(.scrolled) .fdb-nav-menu .sub-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28) !important;
}
body.single-fdb_title .fdb-header:not(.scrolled) .fdb-nav-menu .sub-menu a,
body.fdb-single-title .fdb-header:not(.scrolled) .fdb-nav-menu .sub-menu a {
  color: #0f172a !important;
  opacity: 1 !important;
  font-weight: 600 !important;
  background: transparent !important;
}
body.single-fdb_title .fdb-header:not(.scrolled) .fdb-nav-menu .sub-menu a:hover,
body.fdb-single-title .fdb-header:not(.scrolled) .fdb-nav-menu .sub-menu a:hover {
  color: #1a56ff !important;
  background: #eef4ff !important;
}

@media (max-width: 768px) {
  .home .fdb-widget-home-hero .fdb-hero-slider {
    min-height: 360px !important;
    height: auto !important;
  }
  .home .fdb-widget-home-hero .fdb-slide {
    min-height: 360px !important;
  }
  .home .fdb-widget-home-hero .fdb-slide .fdb-container {
    display: block !important;
    padding-top: calc(var(--fdb-header-h) + 18px) !important;
    padding-bottom: 18px !important;
  }
  .home .fdb-widget-home-hero .fdb-slide-content {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 14px 8px !important;
  }
  .home .fdb-widget-home-hero .fdb-hero-title {
    font-size: clamp(1.7rem, 7.8vw, 2.2rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 8px !important;
  }
  .home .fdb-widget-home-hero .fdb-hero-meta {
    margin-bottom: 10px !important;
  }
  .home .fdb-widget-home-hero .fdb-hero-tagline {
    display: none !important;
  }
  .home .fdb-widget-home-hero .fdb-slide-content > div[style*="display:flex"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }
  .home .fdb-widget-home-hero .fdb-slide-content .fdb-btn {
    min-height: 38px !important;
    padding: 8px 11px !important;
    font-size: .78rem !important;
    max-width: 100% !important;
  }
  .home .fdb-widget-home-hero .fdb-btn-play {
    background: rgba(0, 0, 0, 0.48) !important;
    border-color: rgba(255, 255, 255, 0.78) !important;
    color: #fff !important;
  }
  .home .fdb-widget-home-hero .fdb-slide-poster {
    display: none !important;
  }

  .home .fdb-section-cards,
  .home .fdb-home-section-cards,
  .home .fdb-widget-section-cards .fdb-section-cards {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .home .elementor-widget-fdb_home_link_card_widget,
  .home .elementor-widget-fdb_home_link_card_widget .elementor-widget-container,
  .home .elementor-widget-fdb_home_link_card_widget .fdb-home-link-card,
  .home .elementor-widget-fdb_home_link_card_widget .fdb-section-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .home .elementor-column,
  .home .elementor-widget-wrap {
    min-width: 0 !important;
  }

  body.single-fdb_title .fdb-single-title-page .fdb-hero-inner,
  body.fdb-single-title .fdb-single-title-page .fdb-hero-inner {
    padding-top: calc(var(--fdb-header-h) + 56px) !important;
  }
  body.single-fdb_title .fdb-single-title-page .fdb-hero-content,
  body.fdb-single-title .fdb-single-title-page .fdb-hero-content {
    padding-top: 10px !important;
  }
  body.single-fdb_title .fdb-hero-title,
  body.fdb-single-title .fdb-hero-title {
    margin-top: 8px !important;
  }
}



/* =========================================================
   Modern Streaming Skin (ThemeForest premium pass)
   ========================================================= */

.fdb-skin-modern-streaming {
  --fdb-accent: #19b8ff;
  --fdb-accent-dark: #0b8ec7;
  --fdb-accent-light: #e6f7ff;
  --fdb-bg: #f4f8fc;
  --fdb-bg-2: #eaf1f8;
  --fdb-bg-3: #dce7f2;
  --fdb-text: #061a2f;
  --fdb-text-2: #3b556e;
  --fdb-text-3: #6b8196;
  --fdb-border: #c7d8e8;
  --fdb-border-2: #aec6db;
  --fdb-card-bg: #ffffff;
  --fdb-radius: 14px;
  --fdb-radius-sm: 10px;
  --fdb-radius-lg: 20px;
  --fdb-card-shadow: 0 14px 34px rgba(6, 26, 47, 0.08);
  --fdb-card-hover-shadow: 0 24px 50px rgba(6, 26, 47, 0.18);
  --fdb-footer-bg: #05111e;
  --fdb-footer-text: #c7d9e8;
  --fdb-footer-border: rgba(199, 217, 232, 0.16);
  --fdb-container: 1320px;
}

body.fdb-skin-modern-streaming {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  background:
    radial-gradient(1300px 480px at 10% -20%, #d8f0ff 0%, rgba(216, 240, 255, 0) 70%),
    radial-gradient(1000px 520px at 100% 5%, #e9f7ff 0%, rgba(233, 247, 255, 0) 68%),
    var(--fdb-bg);
  color: var(--fdb-text);
}

.fdb-skin-modern-streaming h1,
.fdb-skin-modern-streaming h2,
.fdb-skin-modern-streaming h3,
.fdb-skin-modern-streaming h4,
.fdb-skin-modern-streaming .fdb-hero-title,
.fdb-skin-modern-streaming .fdb-page-title {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  letter-spacing: -0.03em;
}

.fdb-skin-modern-streaming .fdb-header {
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86));
  border-bottom: 1px solid rgba(6, 26, 47, 0.08);
}

.fdb-skin-modern-streaming .fdb-header.scrolled {
  box-shadow: 0 10px 30px rgba(6, 26, 47, 0.12);
}

.fdb-skin-modern-streaming .fdb-nav-menu {
  gap: 8px;
}

.fdb-skin-modern-streaming .fdb-nav-menu a {
  padding: 8px 14px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.fdb-skin-modern-streaming .fdb-nav-menu a:hover,
.fdb-skin-modern-streaming .fdb-nav-menu .current-menu-item > a {
  background: linear-gradient(180deg, #ecf8ff, #dff3ff);
  border-color: #b7e4ff;
  color: #005f87;
}

.fdb-skin-modern-streaming .fdb-search-toggle,
.fdb-skin-modern-streaming .fdb-mobile-toggle,
.fdb-skin-modern-streaming .fdb-search-close {
  border: 1px solid rgba(6, 26, 47, 0.11);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 999px;
}

.fdb-skin-modern-streaming .fdb-search-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.98));
  border-bottom: 1px solid #c8dcec;
}

.fdb-skin-modern-streaming .fdb-btn,
.fdb-skin-modern-streaming button,
.fdb-skin-modern-streaming input,
.fdb-skin-modern-streaming select,
.fdb-skin-modern-streaming textarea {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.fdb-skin-modern-streaming .fdb-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.fdb-skin-modern-streaming .fdb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(6, 26, 47, 0.16);
  text-decoration: none;
}

.fdb-skin-modern-streaming .fdb-btn-primary,
.fdb-skin-modern-streaming .fdb-btn-accent,
.fdb-skin-modern-streaming .fdb-nav-menu a.fdb-force-current-link {
  background: linear-gradient(135deg, #0ca8ff, #1370ff);
  color: #ffffff;
  border-color: #0f8ee0;
}

.fdb-skin-modern-streaming .fdb-btn-outline {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #b5d0e5;
  color: #0a3557;
}

.fdb-skin-modern-streaming .fdb-page-hero-banner,
.fdb-skin-modern-streaming .fdb-hero-banner {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 56px rgba(6, 26, 47, 0.22);
}

.fdb-skin-modern-streaming .fdb-page-hero-banner::before,
.fdb-skin-modern-streaming .fdb-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(4, 10, 22, 0.72), rgba(4, 10, 22, 0.22) 45%, rgba(8, 93, 146, 0.44));
  pointer-events: none;
}

.fdb-skin-modern-streaming .fdb-page-hero-banner > *,
.fdb-skin-modern-streaming .fdb-hero-banner > * {
  position: relative;
  z-index: 1;
}

.fdb-skin-modern-streaming .fdb-filter-section {
  margin-top: 24px;
}

.fdb-skin-modern-streaming .fdb-filter-bar {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #c8dcec;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 14px 32px rgba(6, 26, 47, 0.08);
  backdrop-filter: blur(10px);
}

.fdb-skin-modern-streaming .fdb-filter-input,
.fdb-skin-modern-streaming .fdb-filter-select {
  border: 1px solid #b7cee2;
  border-radius: 12px;
  background: #ffffff;
  color: #0b2842;
  min-height: 44px;
}

.fdb-skin-modern-streaming .fdb-filter-input:focus,
.fdb-skin-modern-streaming .fdb-filter-select:focus {
  outline: none;
  border-color: #59beff;
  box-shadow: 0 0 0 3px rgba(25, 184, 255, 0.14);
}

.fdb-skin-modern-streaming .fdb-film-grid,
.fdb-skin-modern-streaming .fdb-dynamic-titles-grid {
  gap: 18px;
}

.fdb-skin-modern-streaming .fdb-card {
  border-radius: 18px;
  background: var(--fdb-card-bg);
  border: 1px solid #d3e1ee;
  box-shadow: var(--fdb-card-shadow);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.fdb-skin-modern-streaming .fdb-card:hover {
  transform: translateY(-8px);
  border-color: #8ccff8;
  box-shadow: var(--fdb-card-hover-shadow);
}

.fdb-skin-modern-streaming .fdb-card .fdb-card-link,
.fdb-skin-modern-streaming .fdb-card .fdb-card-banner-link {
  text-decoration: none;
}

.fdb-skin-modern-streaming .fdb-card-poster-img {
  position: relative;
  overflow: hidden;
}

.fdb-skin-modern-streaming .fdb-card-poster-img img,
.fdb-skin-modern-streaming .fdb-card-banner-link {
  transition: transform 0.45s ease;
}

.fdb-skin-modern-streaming .fdb-card:hover .fdb-card-poster-img img,
.fdb-skin-modern-streaming .fdb-card:hover .fdb-card-banner-link {
  transform: scale(1.05);
}

.fdb-skin-modern-streaming .fdb-card-body {
  padding: 14px 14px 16px;
}

.fdb-skin-modern-streaming .fdb-card-title {
  font-size: 1.03rem;
  font-weight: 800;
  color: #051a2f;
}

.fdb-skin-modern-streaming .fdb-card-meta {
  margin-top: 10px;
  gap: 7px;
}

.fdb-skin-modern-streaming .fdb-genre-tag,
.fdb-skin-modern-streaming .fdb-runtime-tag,
.fdb-skin-modern-streaming .fdb-status-badge,
.fdb-skin-modern-streaming .fdb-banner-tag,
.fdb-skin-modern-streaming .fdb-hero-pill {
  border-radius: 999px;
  border: 1px solid #c4d9ea;
  background: #f6fbff;
  color: #164565;
  font-weight: 700;
}

.fdb-skin-modern-streaming .fdb-library-page .fdb-card,
.fdb-skin-modern-streaming .fdb-series-page .fdb-series-card {
  animation: fdb-card-reveal 0.5s ease both;
}

.fdb-skin-modern-streaming .fdb-series-card {
  border: 1px solid #cfe0ef;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(7, 27, 44, 0.09);
}

.fdb-skin-modern-streaming .fdb-series-header-content,
.fdb-skin-modern-streaming .fdb-hero-content {
  color: #ffffff;
}

.fdb-skin-modern-streaming .fdb-hero-watch-pill {
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 20px rgba(1, 10, 20, 0.25);
}

.fdb-skin-modern-streaming .fdb-post-hero {
  margin-top: 20px;
}

.fdb-skin-modern-streaming .fdb-post-hero-grid {
  border-radius: 20px;
  border: 1px solid #c6d9ea;
  background: linear-gradient(180deg, #ffffff, #f4f9fe);
  box-shadow: 0 20px 38px rgba(8, 31, 54, 0.11);
}

.fdb-skin-modern-streaming .fdb-action-stack .fdb-ab {
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(9, 35, 59, 0.13);
}

.fdb-skin-modern-streaming .fdb-short-synopsis-card,
.fdb-skin-modern-streaming .fdb-module,
.fdb-skin-modern-streaming .fdb-rights-modern,
.fdb-skin-modern-streaming .fdb-tech-specs-grid > *,
.fdb-skin-modern-streaming .fdb-cast-grid .fdb-cast-card,
.fdb-skin-modern-streaming .fdb-crew-grid .fdb-crew-card {
  border-radius: 16px;
  border: 1px solid #d1dfec;
  box-shadow: 0 10px 24px rgba(6, 26, 47, 0.08);
  background: #ffffff;
}

.fdb-skin-modern-streaming .fdb-module-title {
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  letter-spacing: -0.02em;
}

.fdb-skin-modern-streaming .fdb-content-area {
  padding-top: 28px;
}

.fdb-skin-modern-streaming .fdb-footer {
  margin-top: 64px;
  background:
    radial-gradient(600px 280px at 18% 0%, rgba(25, 184, 255, 0.18), rgba(25, 184, 255, 0) 70%),
    radial-gradient(520px 260px at 86% 0%, rgba(19, 112, 255, 0.2), rgba(19, 112, 255, 0) 70%),
    var(--fdb-footer-bg);
}

.fdb-skin-modern-streaming .fdb-newsletter-bar {
  border-bottom: 1px solid rgba(199, 217, 232, 0.18);
}

.fdb-skin-modern-streaming .fdb-newsletter-form input[type='email'] {
  border-radius: 999px;
  border: 1px solid #90b7d6;
  background: rgba(255, 255, 255, 0.96);
  min-height: 44px;
}

.fdb-skin-modern-streaming .fdb-social-icon {
  border-radius: 999px;
  border: 1px solid rgba(199, 217, 232, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.fdb-skin-modern-streaming .fdb-page-builder-content > * {
  animation: fdb-fade-up 0.55s ease both;
}

.fdb-skin-modern-streaming .fdb-page-builder-content > *:nth-child(2) { animation-delay: 0.05s; }
.fdb-skin-modern-streaming .fdb-page-builder-content > *:nth-child(3) { animation-delay: 0.1s; }
.fdb-skin-modern-streaming .fdb-page-builder-content > *:nth-child(4) { animation-delay: 0.15s; }
.fdb-skin-modern-streaming .fdb-page-builder-content > *:nth-child(5) { animation-delay: 0.2s; }

@keyframes fdb-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fdb-card-reveal {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.fdb-skin-modern-streaming .fdb-reveal-ready {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fdb-skin-modern-streaming .fdb-reveal-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .fdb-skin-modern-streaming .fdb-header-inner,
  .fdb-skin-modern-streaming .fdb-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .fdb-skin-modern-streaming .fdb-filter-bar {
    border-radius: 14px;
    padding: 10px;
  }

  .fdb-skin-modern-streaming .fdb-post-hero-grid {
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  .fdb-skin-modern-streaming {
    --fdb-radius: 12px;
    --fdb-radius-lg: 16px;
  }

  .fdb-skin-modern-streaming .fdb-header {
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }

  .fdb-skin-modern-streaming .fdb-nav {
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(6, 26, 47, 0.16);
    border: 1px solid #cadcec;
    overflow: hidden;
  }

  .fdb-skin-modern-streaming .fdb-hero-banner,
  .fdb-skin-modern-streaming .fdb-page-hero-banner {
    border-radius: 16px;
  }

  .fdb-skin-modern-streaming .fdb-btn,
  .fdb-skin-modern-streaming .fdb-filter-input,
  .fdb-skin-modern-streaming .fdb-filter-select {
    min-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fdb-skin-modern-streaming *,
  .fdb-skin-modern-streaming *::before,
  .fdb-skin-modern-streaming *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Optional second visual demo skin */
.fdb-skin-modern-streaming-alt {
  --fdb-accent: #22c55e;
  --fdb-accent-dark: #169647;
  --fdb-accent-light: #eafbf0;
  --fdb-bg: #f6fbf8;
  --fdb-bg-2: #edf6f1;
  --fdb-bg-3: #dfeee6;
  --fdb-text: #08261a;
  --fdb-text-2: #3a6251;
  --fdb-border: #c8dfd2;
  --fdb-border-2: #aacdbb;
}

body.fdb-skin-modern-streaming-alt {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  background:
    radial-gradient(1240px 420px at 0% -20%, #dff7ea 0%, rgba(223, 247, 234, 0) 72%),
    radial-gradient(980px 500px at 100% 8%, #ecfbf3 0%, rgba(236, 251, 243, 0) 70%),
    var(--fdb-bg);
}

.fdb-skin-modern-streaming-alt .fdb-btn-primary,
.fdb-skin-modern-streaming-alt .fdb-btn-accent,
.fdb-skin-modern-streaming-alt .fdb-nav-menu a.fdb-force-current-link {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #169647;
}

/* Home/landing premium detailing */
.fdb-skin-modern-streaming .fdb-platforms-bar {
  border: 1px solid #c6dced;
  border-left: 0;
  border-right: 0;
  background: linear-gradient(180deg, #f8fcff, #eef7ff);
}

.fdb-skin-modern-streaming .fdb-platforms-track img {
  opacity: 0.72;
  filter: grayscale(1) contrast(1.08);
}

.fdb-skin-modern-streaming .fdb-platforms-track img:hover {
  opacity: 1;
  filter: grayscale(0);
}

.fdb-skin-modern-streaming .fdb-section-cards {
  gap: 20px;
}

.fdb-skin-modern-streaming .fdb-section-card,
.fdb-skin-modern-streaming .fdb-home-link-card,
.fdb-skin-modern-streaming .fdb-creative-project-card {
  border-radius: 18px;
  border: 1px solid #cadeef;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(6, 26, 47, 0.11);
}

.fdb-skin-modern-streaming .fdb-section-card:hover,
.fdb-skin-modern-streaming .fdb-home-link-card:hover,
.fdb-skin-modern-streaming .fdb-creative-project-card:hover {
  transform: translateY(-6px);
  transition: transform 0.25s ease;
}

.fdb-skin-modern-streaming .fdb-load-more-wrap {
  margin-top: 22px;
}

.fdb-skin-modern-streaming .fdb-grid-pagination ul {
  display: flex;
  gap: 10px;
  align-items: center;
  list-style: none;
  justify-content: center;
  padding: 0;
}

.fdb-skin-modern-streaming .fdb-grid-pagination a,
.fdb-skin-modern-streaming .fdb-grid-pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #bdd5e8;
  background: #ffffff;
  color: #123e5e;
  font-weight: 700;
}

.fdb-skin-modern-streaming .fdb-grid-pagination .current {
  background: linear-gradient(135deg, #0ca8ff, #1370ff);
  color: #fff;
  border-color: #0f8ee0;
}

/* =========================================================
   Resubmission Sprint v2 (global, non-skin scoped)
   ========================================================= */
body {
  background:
    radial-gradient(1400px 520px at 0% -25%, #dff1ff 0%, rgba(223, 241, 255, 0) 72%),
    radial-gradient(980px 460px at 100% 0%, #eef8ff 0%, rgba(238, 248, 255, 0) 68%),
    #f4f8fc;
  color: #071c33;
}

h1, h2, h3, h4,
.fdb-hero-title,
.fdb-page-title,
.fdb-module-title {
  font-family: 'Space Grotesk', 'Manrope', 'Segoe UI', sans-serif;
  letter-spacing: -0.028em;
}

.fdb-header {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.86));
  border-bottom: 1px solid rgba(8, 32, 55, .1);
  backdrop-filter: blur(12px);
}

.fdb-header.scrolled {
  box-shadow: 0 12px 32px rgba(6, 26, 47, 0.14);
}

.fdb-nav-menu a {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
}

.fdb-nav-menu a:hover,
.fdb-nav-menu .current-menu-item > a {
  background: linear-gradient(180deg, #ecf8ff, #ddf2ff);
  color: #005f87;
}

.fdb-btn,
button,
input,
select,
textarea {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.fdb-btn-primary,
.fdb-btn-accent,
.fdb-nav-menu a.fdb-force-current-link {
  background: linear-gradient(135deg, #0ca8ff, #1370ff) !important;
  border-color: #0f8ee0 !important;
  color: #fff !important;
}

.fdb-btn {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .01em;
}

.fdb-btn:hover {
  transform: translateY(-2px);
}

.fdb-page-hero-banner,
.fdb-hero-banner {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(6, 26, 47, 0.22);
}

.fdb-filter-bar {
  background: rgba(255,255,255,.9);
  border: 1px solid #c8dcec;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 14px 32px rgba(6,26,47,.08);
}

.fdb-filter-input,
.fdb-filter-select {
  border: 1px solid #b7cee2;
  border-radius: 12px;
  min-height: 44px;
  background: #fff;
}

.fdb-filter-input:focus,
.fdb-filter-select:focus {
  border-color: #59beff;
  box-shadow: 0 0 0 3px rgba(25,184,255,.14);
}

.fdb-film-grid,
.fdb-dynamic-titles-grid {
  gap: 18px;
}

.fdb-card,
.fdb-series-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid #d3e1ee;
  box-shadow: 0 14px 34px rgba(6, 26, 47, 0.08);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.fdb-card:hover,
.fdb-series-card:hover {
  transform: translateY(-8px);
  border-color: #8ccff8;
  box-shadow: 0 24px 50px rgba(6, 26, 47, 0.18);
}

.fdb-card-poster-img img,
.fdb-card-banner-link {
  transition: transform .45s ease;
}

.fdb-card:hover .fdb-card-poster-img img,
.fdb-card:hover .fdb-card-banner-link {
  transform: scale(1.05);
}

.fdb-card-body {
  padding: 14px 14px 16px;
}

.fdb-genre-tag,
.fdb-runtime-tag,
.fdb-status-badge,
.fdb-banner-tag,
.fdb-hero-pill {
  border-radius: 999px;
  border: 1px solid #c4d9ea;
  background: #f6fbff;
  color: #164565;
  font-weight: 700;
}

.fdb-post-hero-grid,
.fdb-short-synopsis-card,
.fdb-module,
.fdb-rights-modern,
.fdb-tech-specs-grid > *,
.fdb-cast-grid .fdb-cast-card,
.fdb-crew-grid .fdb-crew-card {
  border-radius: 16px;
  border: 1px solid #d1dfec;
  box-shadow: 0 10px 24px rgba(6, 26, 47, 0.08);
  background: #fff;
}

.fdb-footer {
  background:
    radial-gradient(600px 280px at 18% 0%, rgba(25, 184, 255, 0.18), rgba(25, 184, 255, 0) 70%),
    radial-gradient(520px 260px at 86% 0%, rgba(19, 112, 255, 0.2), rgba(19, 112, 255, 0) 70%),
    #05111e;
}

.fdb-newsletter-form input[type='email'] {
  border-radius: 999px;
  min-height: 44px;
}

.fdb-social-icon {
  border-radius: 999px;
}

@media (max-width: 767px) {
  .fdb-page-hero-banner,
  .fdb-hero-banner,
  .fdb-filter-bar,
  .fdb-card,
  .fdb-series-card,
  .fdb-post-hero-grid {
    border-radius: 14px;
  }
}
