/* What's New hub — scoped so WP header/footer stay intact. */

body.page-whats-new,
body.page-id-31441 {
  background: #f8fafc;
}

body.page-whats-new .fbtl-entry > h1,
body.page-id-31441 .fbtl-entry > h1 {
  display: none !important;
}

body.page-whats-new .fbtl-entry,
body.page-id-31441 .fbtl-entry,
body.page-whats-new .fbtl-entry-whats-new,
body.page-id-31441 .fbtl-entry-whats-new {
  max-width: none;
  padding: 0;
  margin: 0;
}

.fbtl-wn-hub,
.fbtl-wn-hub *,
.fbtl-wn-hub *::before,
.fbtl-wn-hub *::after {
  box-sizing: border-box;
}

.fbtl-wn-hub {
  --navy: #092242;
  --green: #00ab3b;
  --green-d: #007d2b;
  --lime: #c9db00;
  --charcoal: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --soft: #f8fafc;
  --white: #ffffff;
  --serif: "Barlow Condensed", sans-serif;
  --sans: Inter, sans-serif;
  --ease: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 8px;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--soft);
  line-height: 1.6;
}

.fbtl-wn-hub a { color: inherit; }

.fbtl-wn-hub .hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 56px 5% 52px;
}
.fbtl-wn-hub .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.fbtl-wn-hub .hero-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 10px;
}
.fbtl-wn-hub .hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--navy);
  line-height: 1.05;
  margin: 0 0 12px;
}
.fbtl-wn-hub .hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}
.fbtl-wn-hub .hero-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 6px;
}

.fbtl-wn-hub .filter-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 12px rgba(9, 34, 66, 0.05);
}
.fbtl-wn-hub .filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.fbtl-wn-hub .filter-inner::-webkit-scrollbar { display: none; }
.fbtl-wn-hub .filter-btn {
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--ease);
}
.fbtl-wn-hub .filter-btn:hover { color: var(--navy); }
.fbtl-wn-hub .filter-btn.active { color: var(--green); border-bottom-color: var(--green); }

.fbtl-wn-hub .page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 5% 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  align-items: start;
}

.fbtl-wn-hub .stream-section { margin-bottom: 60px; }
.fbtl-wn-hub .section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.fbtl-wn-hub .section-head h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0;
}
.fbtl-wn-hub .section-head-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.fbtl-wn-hub .pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
}
.fbtl-wn-hub .pill-academy { background: #f0fdf4; color: #166534; border: 1px solid #dcfce7; }
.fbtl-wn-hub .pill-pep { background: #fef2f2; color: #991b1b; border: 1px solid #fee2e2; }
.fbtl-wn-hub .pill-routines { background: #fffbeb; color: #92400e; border: 1px solid #fef3c7; }
.fbtl-wn-hub .pill-racket { background: #f0f9ff; color: #075985; border: 1px solid #e0f2fe; }
.fbtl-wn-hub .pill-box { background: #f5f3ff; color: #5b21b6; border: 1px solid #ede9fe; }
.fbtl-wn-hub .pill-character { background: #fff7ed; color: #9a3412; border: 1px solid #ffedd5; }
.fbtl-wn-hub .pill-download { background: #f0fdf4; color: #065f46; border: 1px solid #d1fae5; }
.fbtl-wn-hub .pill-video { background: #fdf2f8; color: #86198f; border: 1px solid #fae8ff; }
.fbtl-wn-hub .pill-announce { background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }
.fbtl-wn-hub .pill-eq { background: #e6f9ed; color: #08692e; border: 1px solid rgba(0, 171, 59, 0.25); }

.fbtl-wn-hub .today-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fbtl-wn-hub .today-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--ease);
}
.fbtl-wn-hub .today-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(9, 34, 66, 0.07);
}
.fbtl-wn-hub .today-card:hover .card-title { color: var(--green); }
.fbtl-wn-hub .today-card.is-feature {
  grid-template-columns: minmax(280px, 42%) 1fr;
  border: 2px solid var(--navy);
  box-shadow: 0 18px 42px rgba(9, 34, 66, 0.1);
}
.fbtl-wn-hub .today-card.is-feature .card-thumb {
  min-height: 260px;
}
.fbtl-wn-hub .today-card.is-feature .card-body {
  padding: 28px 32px;
  gap: 10px;
}
.fbtl-wn-hub .today-card.is-feature .card-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}
.fbtl-wn-hub .today-card.is-feature .card-desc {
  font-size: 0.98rem;
}
.fbtl-wn-hub .today-card.is-feature .open-btn {
  padding: 8px 16px;
}
.fbtl-wn-hub .card-thumb {
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  min-height: 130px;
}
.fbtl-wn-hub .card-thumb.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #092242, #00ab3b);
  color: #c9db00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px;
  text-align: center;
}
.fbtl-wn-hub .card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.fbtl-wn-hub .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.fbtl-wn-hub .card-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}
.fbtl-wn-hub .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  gap: 8px;
}
.fbtl-wn-hub .card-time {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.fbtl-wn-hub .open-btn {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 5px 12px;
  border-radius: 3px;
}
.fbtl-wn-hub .today-card:hover .open-btn {
  background: var(--green);
  color: var(--white);
}

.fbtl-wn-hub .week-days { display: flex; flex-direction: column; gap: 20px; }
.fbtl-wn-hub .day-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 8px 14px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 3px;
  margin-bottom: 8px;
}
.fbtl-wn-hub .day-label.today-label {
  background: var(--navy);
  color: var(--lime);
  border-color: var(--navy);
}
.fbtl-wn-hub .day-items { display: flex; flex-direction: column; gap: 6px; }
.fbtl-wn-hub .row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-decoration: none;
  color: inherit;
  transition: var(--ease);
  gap: 12px;
}
.fbtl-wn-hub .row-item:hover {
  border-color: var(--navy);
  padding-left: 22px;
}
.fbtl-wn-hub .row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.fbtl-wn-hub .row-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fbtl-wn-hub .row-time {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.fbtl-wn-hub .archive-weeks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fbtl-wn-hub .archive-box,
.fbtl-wn-hub .month-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: var(--ease);
}
.fbtl-wn-hub .archive-box { padding: 22px 24px; display: block; }
.fbtl-wn-hub .archive-box:hover,
.fbtl-wn-hub .month-row:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(9, 34, 66, 0.05);
}
.fbtl-wn-hub .archive-box-title,
.fbtl-wn-hub .month-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.fbtl-wn-hub .archive-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fbtl-wn-hub .archive-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--soft);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 3px;
}
.fbtl-wn-hub .archive-months { display: flex; flex-direction: column; gap: 12px; }
.fbtl-wn-hub .month-row {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fbtl-wn-hub .month-row:hover .month-title { color: var(--green); }
.fbtl-wn-hub .month-arrow { color: var(--muted); }

.fbtl-wn-hub .sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 64px;
}
.fbtl-wn-hub .widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.fbtl-wn-hub .widget-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.fbtl-wn-hub .widget-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 6px;
}
.fbtl-wn-hub .widget-body {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.fbtl-wn-hub .zoom-block {
  background: var(--soft);
  border-left: 3px solid var(--green);
  padding: 14px 16px;
  border-radius: 4px;
  margin-top: 12px;
}
.fbtl-wn-hub .zoom-time {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.fbtl-wn-hub .zoom-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}
.fbtl-wn-hub .zoom-link:hover { text-decoration: underline; }
.fbtl-wn-hub .latest-link {
  display: block;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.35;
  margin-bottom: 14px;
}
.fbtl-wn-hub .latest-link:last-child { margin-bottom: 0; }
.fbtl-wn-hub .latest-link:hover { color: var(--green); }
.fbtl-wn-hub .latest-link span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

.fbtl-wn-hub .wn-empty {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: var(--muted);
}
.fbtl-wn-hub .wn-empty-title {
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.fbtl-wn-hub .wn-empty p { margin: 0; }
.fbtl-wn-hub .wn-back {
  margin: 0 0 18px;
  font-size: 0.88rem;
  font-weight: 700;
}
.fbtl-wn-hub .wn-back a { color: var(--green); text-decoration: none; }
.fbtl-wn-hub .wn-back a:hover { text-decoration: underline; }

.fbtl-wn-hub .is-filter-hidden { display: none !important; }

@media (max-width: 1024px) {
  .fbtl-wn-hub .page-body { grid-template-columns: 1fr; }
  .fbtl-wn-hub .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .fbtl-wn-hub .today-card,
  .fbtl-wn-hub .today-card.is-feature { grid-template-columns: 1fr; }
  .fbtl-wn-hub .card-thumb { height: 140px; min-height: auto; }
  .fbtl-wn-hub .today-card.is-feature .card-thumb { height: 200px; }
  .fbtl-wn-hub .archive-weeks { grid-template-columns: 1fr; }
  .fbtl-wn-hub .sidebar { grid-template-columns: 1fr; }
  .fbtl-wn-hub .hero-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .fbtl-wn-hub .row-item { flex-direction: column; align-items: flex-start; }
  .fbtl-wn-hub .row-title { white-space: normal; }
}
