/* Tewkesbury Voices handoff system */

:root {
  --tv-header-height: 76px;
  --tv-current-header-height: 76px;
  --tv-back-to-top-inset: 24px;
  --tv-max: 1120px;
  --tv-wide: 1180px;
  --tv-prose: 820px;
  --tv-figure: 1040px;

  --tv-navy-900: #080b18;
  --tv-navy-850: #0b0f22;
  --tv-navy-800: #0d1330;
  --tv-navy-700: #10162e;
  --tv-navy-footer: #0b1026;
  --tv-gold: #c9a75e;
  --tv-gold-dim: #b89a55;
  --tv-gold-link: #d9c084;
  --tv-gold-border: rgba(201, 167, 94, 0.62);
  --tv-cream-100: #faf5e8;
  --tv-cream-200: #f6efdf;
  --tv-cream-text: #e9dcb7;
  --tv-cream-muted: #c3bda8;
  --tv-ink: #1a1712;
  --tv-ink-muted: #6b6252;
  --tv-card-muted: #5f5848;
  --tv-card-subtle: #766b59;
  --tv-slate-light: #a7adc4;
  --tv-slate-muted: #8890b0;
  --tv-slate-dim: #6b7290;
  --tv-red: #ce1126;
  --tv-red-deep: #c01d28;
  --tv-red-label: #b5242c;
  --tv-research: #2f4a78;
  --tv-publications: #b06a3c;
  --tv-link-on-light: #7f3f2a;
  --tv-link-on-dark: var(--tv-gold-link);
  --tv-footer-link: #ffffff;
  --tv-projects: #3d6b7a;
  --tv-features: #4a6fa8;

  --tv-font-display: var(--wp--preset--font-family--display, "Marcellus", Georgia, serif);
  --tv-font-editorial: var(--wp--preset--font-family--editorial, "Cormorant Garamond", Georgia, serif);
  --tv-font-body: var(--wp--preset--font-family--body, "Source Sans 3", "Segoe UI", system-ui, sans-serif);
  --tv-font-mono: "Courier New", ui-monospace, monospace;

  --tv-inset: clamp(1rem, 3vw, 2rem);
  --tv-section-y: clamp(3rem, 6vw, 5rem);
  --tv-radius: 7px;
  --tv-shadow-card: 0 18px 42px rgba(4, 6, 14, 0.22), 0 2px 8px rgba(4, 6, 14, 0.18);
  --tv-shadow-card-hover: 0 24px 60px rgba(4, 6, 14, 0.32), 0 8px 16px rgba(4, 6, 14, 0.2);

  /* Compatibility aliases consumed by the copied plugins. */
  --ea-ink: var(--tv-ink);
  --ea-parchment: var(--tv-cream-100);
  --ea-parchment-light: var(--tv-cream-200);
  --ea-warm-white: var(--tv-cream-100);
  --ea-terracotta: var(--tv-publications);
  --ea-aegean: var(--tv-research);
  --ea-gold: var(--tv-gold);
  --ea-stone: var(--tv-card-muted);
  --ea-stone-light: #e6dcc4;
  --ea-stone-faint: rgba(201, 167, 94, 0.2);
  --ea-moss: var(--tv-projects);

  --eabs-ink: var(--tv-ink);
  --eabs-parchment: var(--tv-cream-100);
  --eabs-parchment-light: var(--tv-cream-200);
  --eabs-stone: var(--tv-card-muted);
  --eabs-stone-light: #e6dcc4;
  --eabs-muted: var(--tv-card-subtle);
  --eabs-terracotta: var(--tv-link-on-light);
  --eabs-accent: var(--tv-research);
  --eabs-accent-faint: rgba(47, 74, 120, 0.08);
  --eabs-font-display: var(--tv-font-display);
  --eabs-font-body: var(--tv-font-body);
  --eabs-radius: 7px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--tv-current-header-height, 76px) + 1rem);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--tv-navy-850);
  color: var(--tv-cream-text);
  font-family: var(--tv-font-body);
  -webkit-font-smoothing: antialiased;
}

body.tv-mobile-menu-is-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  #wpadminbar {
    position: fixed !important;
  }
}

body,
button,
input,
select,
textarea {
  font-family: var(--tv-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--tv-font-display);
  font-weight: 400;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

@keyframes tv-menu-row-in {
  from {
    opacity: 0;
    transform: translateY(13px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

img {
  max-width: 100%;
  height: auto;
}

.wp-site-blocks {
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  display: flex;
  flex-direction: column;
  padding-top: var(--tv-current-header-height, 76px);
  background: var(--tv-navy-850);
}

.wp-site-blocks > :where(header, main, footer, .wp-block-template-part) {
  margin-block-start: 0;
}

.tv-container {
  width: min(var(--tv-max), calc(100vw - (var(--tv-inset) * 2)));
  margin-inline: auto;
}

.tv-wide {
  width: min(var(--tv-wide), calc(100vw - (var(--tv-inset) * 2)));
  margin-inline: auto;
}

.tv-prose {
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin-inline: auto;
}

.tv-eyebrow,
.tv-kicker,
.tv-label {
  color: var(--tv-gold);
  font-family: var(--tv-font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tv-gold-rule {
  width: 46px;
  height: 2px;
  background: var(--tv-gold);
}

.tv-link-arrow,
.tv-card-link {
  color: var(--tv-link-on-light);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.tv-placeholder {
  position: relative;
  min-height: 8rem;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, rgba(47, 74, 120, 0.16), rgba(201, 167, 94, 0.18));
}

.tv-placeholder::after {
  content: attr(data-label);
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  color: rgba(47, 74, 120, 0.48);
  font-family: var(--tv-font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tv-placeholder--research {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #dce4f2, #eef1f7);
}

.tv-placeholder--publications {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #f1ddca, #f7eadc);
}

.tv-placeholder--projects {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #dcecf1, #edf5f5);
}

.tv-placeholder--news {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #f4e5bd, #fbf0cf);
}

/* Header */
.tv-site-header {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  min-height: var(--tv-header-height);
  background: var(--tv-navy-800);
  border-bottom: 1px solid rgba(201, 167, 94, 0.34);
}

.tv-header-inner {
  width: min(var(--tv-wide), calc(100vw - (var(--tv-inset) * 2)));
  min-height: var(--tv-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-inline: auto;
  padding-block: 0.85rem;
}

.tv-brand,
.tv-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  color: var(--tv-gold);
  text-decoration: none;
}

.tv-brand {
  flex: 1 1 auto;
}

.tv-brand-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.tv-brand .tv-brand-copy > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.tv-brand .wp-block-site-title,
.tv-brand .wp-block-site-title a {
  margin: 0;
  color: var(--tv-gold);
  font-family: var(--tv-font-display);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
  text-decoration: none;
}

.tv-brand .wp-block-site-tagline {
  max-width: 600px;
  margin: 0;
  color: var(--tv-cream-text);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.tv-logo,
.tv-brand-mark img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(201, 167, 94, 0.35);
  object-fit: cover;
}

.tv-brand-mark {
  flex: 0 0 52px;
  margin: 0;
}

.tv-wordmark {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.tv-wordmark-main {
  color: var(--tv-cream-text);
  font-family: var(--tv-font-display);
  font-size: clamp(1rem, 1.65vw, 1.35rem);
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.tv-wordmark-sub {
  color: var(--tv-gold);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
}

.tv-primary-links,
.tv-primary-nav,
.tv-mobile-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2vw, 1.6rem);
  color: var(--tv-footer-link);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.tv-primary-links a,
.tv-primary-nav a,
.tv-mobile-links a {
  color: inherit;
  padding-block: 0.35rem;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
}

.tv-primary-links a:hover,
.tv-primary-nav a:hover,
.tv-primary-nav .current-menu-item > a,
.tv-mobile-links a:hover {
  color: var(--tv-gold-link);
  border-bottom-color: var(--tv-gold);
}

.tv-primary-nav .wp-block-navigation__container {
  gap: clamp(1rem, 2vw, 1.6rem);
}

.tv-site-header .wp-block-navigation__responsive-container-open,
.tv-site-header .wp-block-navigation__responsive-container-close {
  display: none !important;
}

.tv-mobile-links {
  display: none;
}

.tv-menu-toggle {
  display: none;
  flex: 0 0 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 8px;
  background: transparent;
  border: 1px solid rgba(201, 167, 94, 0.3);
  border-radius: 6px;
  color: var(--tv-gold);
  cursor: pointer;
}

.tv-menu-toggle:hover,
.tv-menu-toggle[aria-expanded="true"] {
  border-color: rgba(201, 167, 94, 0.72);
}

.tv-menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}

.tv-menu-toggle span:last-child {
  width: 70%;
}

.tv-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100000;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  background:
    linear-gradient(180deg, var(--tv-navy-850) 0%, var(--tv-navy-800) 58%, var(--tv-navy-850) 100%);
  color: var(--tv-cream-text);
  transition:
    transform 0.44s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.34s ease,
    visibility 0.44s;
}

.tv-mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.tv-mobile-menu__texture {
  display: none;
}

.tv-mobile-menu__panel {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: calc(2rem + env(safe-area-inset-top, 0px)) var(--tv-inset) 1.9rem;
}

.tv-mobile-menu__topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
}

.tv-mobile-menu__brand {
  display: grid;
  gap: 0.35rem;
	text-decoration: none
}

.tv-mobile-menu__brand span:first-child {
  color: var(--tv-gold);
  font-family: var(--tv-font-display);
  font-size: clamp(1.45rem, 6vw, 1.85rem);
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: none;
}

.tv-mobile-menu__brand span:last-child {
  color: var(--tv-cream-text);
  font-size: clamp(0.82rem, 3vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: none;
}

.tv-mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(201, 167, 94, 0.28);
  border-radius: 6px;
  color: var(--tv-gold);
  cursor: pointer;
  font-family: var(--tv-font-display);
  font-size: 1.38rem;
  line-height: 1;
}

.tv-mobile-menu__close:hover,
.tv-mobile-menu__close:focus-visible {
  border-color: var(--tv-gold);
}

.tv-mobile-menu__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.65rem;
  margin-bottom: 0.4rem;
  opacity: 0;
}

.tv-mobile-menu.is-open .tv-mobile-menu__eyebrow {
  animation: tv-menu-row-in 0.52s cubic-bezier(0.22, 0.61, 0.36, 1) 40ms both;
}

.tv-mobile-menu__eyebrow span:first-child {
  color: var(--tv-gold);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
}

.tv-mobile-menu__eyebrow span:last-child {
  flex: 1;
  height: 1px;
  background: rgba(201, 167, 94, 0.28);
}

.tv-mobile-menu__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv-mobile-menu__list li {
  margin: 0;
  padding: 0;
}

.tv-mobile-menu__list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding: 1.05rem 0;
  color: var(--tv-footer-link);
  border-bottom: 1px solid rgba(201, 167, 94, 0.16);
  text-decoration: none;
  opacity: 0;
  transition:
    color 0.25s ease,
    border-color 0.3s ease,
    padding-left 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tv-mobile-menu.is-open .tv-mobile-menu__list li:nth-child(1) a {
  animation: tv-menu-row-in 0.52s cubic-bezier(0.22, 0.61, 0.36, 1) 110ms both;
}

.tv-mobile-menu.is-open .tv-mobile-menu__list li:nth-child(2) a {
  animation: tv-menu-row-in 0.52s cubic-bezier(0.22, 0.61, 0.36, 1) 174ms both;
}

.tv-mobile-menu.is-open .tv-mobile-menu__list li:nth-child(3) a {
  animation: tv-menu-row-in 0.52s cubic-bezier(0.22, 0.61, 0.36, 1) 238ms both;
}

.tv-mobile-menu.is-open .tv-mobile-menu__list li:nth-child(4) a {
  animation: tv-menu-row-in 0.52s cubic-bezier(0.22, 0.61, 0.36, 1) 302ms both;
}

.tv-mobile-menu.is-open .tv-mobile-menu__list li:nth-child(5) a {
  animation: tv-menu-row-in 0.52s cubic-bezier(0.22, 0.61, 0.36, 1) 366ms both;
}

.tv-mobile-menu__list a:hover,
.tv-mobile-menu__list a:focus-visible,
.tv-mobile-menu__list a.is-current {
  color: var(--tv-gold-link);
  border-bottom-color: var(--tv-gold);
  padding-left: 10px;
}

.tv-mobile-menu__list a > span:first-child {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--tv-gold);
  transform: rotate(45deg);
}

.tv-mobile-menu__list a > span:last-child {
  flex: 1;
  font-family: var(--tv-font-display);
  font-size: clamp(1.6rem, 7.4vw, 1.82rem);
  line-height: 1;
}

.tv-mobile-menu__footer {
  margin-top: auto;
  padding-top: 1.65rem;
  opacity: 0;
}

.tv-mobile-menu.is-open .tv-mobile-menu__footer {
  animation: tv-menu-row-in 0.52s cubic-bezier(0.22, 0.61, 0.36, 1) 480ms both;
}

.tv-mobile-menu__footer > span {
  display: block;
  width: 44px;
  height: 2px;
  margin-bottom: 1rem;
  background: var(--tv-gold);
}

.tv-mobile-menu__footer p {
  max-width: 24rem;
  margin: 0;
  color: var(--tv-cream-text);
  font-family: var(--tv-font-editorial);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.4;
}

/* Footer */
.tv-site-footer {
  background: var(--tv-navy-footer);
  border-top: 2px solid var(--tv-gold);
  color: var(--tv-cream-text);
}

.tv-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: 2.6rem 2rem;
  border-bottom: 1px solid rgba(201, 167, 94, 0.2);
}

.tv-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0;
}

.tv-footer-brand .wp-block-image {
  margin: 0;
}

.tv-footer-brand .tv-logo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.tv-footer-title {
  margin: 0;
  color: var(--tv-gold);
  font-family: var(--tv-font-display);
  font-size: clamp(1.08rem, 1.3vw, 1.22rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tv-footer-copy {
  max-width: 520px;
  margin: 0;
  color: var(--tv-slate-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.tv-footer-heading {
  margin-bottom: 0.4rem;
  color: var(--tv-gold);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tv-footer-links {
  display: grid;
  gap: 0.55rem;
	margin-block-start:0;
}

.tv-footer-links p,
.tv-footer-base p,
.tv-footer-slim p {
  margin: 0;
}

.tv-footer-links a {
  color: var(--tv-footer-link);
  font-size: 0.88rem;
  text-decoration: none;
}

.tv-footer-links a:hover {
  color: var(--tv-gold-link);
}

.tv-footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  color: var(--tv-slate-dim);
  font-size: 0.75rem;
	margin-block-start:0;
}

.tv-footer-slim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem var(--tv-inset);
  background: var(--tv-navy-footer);
  border-top: 2px solid var(--tv-gold);
  color: var(--tv-cream-text);
}

.tv-footer-slim__brand {
  font-family: var(--tv-font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tv-footer-slim__meta {
  color: var(--tv-slate-muted);
  font-size: 0.8rem;
}

/* Shared page sections */
.tv-site-main {
  flex: 1 0 auto;
  background: var(--tv-navy-850);
}

.tv-site-footer,
.tv-footer-slim {
  flex-shrink: 0;
}

.tv-divider {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: min(var(--tv-max), calc(100vw - (var(--tv-inset) * 2)));
  margin: 0 auto 1.6rem;
}

.tv-divider__label {
  margin: 0;
  color: var(--tv-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tv-divider__line {
  flex: 1;
  display: block;
  height: 1px;
  background: rgba(201, 167, 94, 0.42);
  margin-block-start: 0;
}

.tv-divider__link {
  margin: 0;
}

.tv-divider__link,
.tv-divider__link a {
  color: var(--tv-gold-link);
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
}

.tv-hero-glass {
  position: relative;
  background: rgba(11, 15, 34, 0.86);
  color: var(--tv-cream-text);
  border-left: 2px solid var(--tv-gold);
  padding: clamp(1.8rem, 4vw, 2.7rem);
  box-shadow: 6px 6px 0 -1px rgba(201, 167, 94, 0.45);
}

@supports (backdrop-filter: blur(3px)) {
  .tv-hero-glass {
    backdrop-filter: blur(3px);
  }
}

.tv-hero-glass :where(h1, .wp-block-query-title) {
  margin: 0;
  color: var(--tv-cream-text);
  font-size: clamp(2.45rem, 5vw, 4.2rem);
  line-height: 1.02;
  padding-bottom: calc(1.35rem + 2px + 1.25rem);
  background-image: linear-gradient(var(--tv-gold), var(--tv-gold));
  background-position: left calc(100% - 1.25rem - 2px);
  background-repeat: no-repeat;
  background-size: 46px 2px;
}

.tv-hero-glass .tv-eyebrow {
  margin: 0;
}

.tv-hero-glass p {
  margin: 0;
  color: var(--tv-cream-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.tv-hero-glass .tv-gold-rule {
  display: none;
}

/* Homepage */
.tv-home-hero {
  min-height: clamp(500px, 64vh, 680px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(13, 19, 48, 0.88), rgba(13, 19, 48, 0.5) 62%, rgba(201, 167, 94, 0.42)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #17244e, #0d1330);
  border-bottom: 1px solid rgba(201, 167, 94, 0.22);
}

.tv-home-hero.wp-block-cover {
  min-height: clamp(500px, 64vh, 680px) !important;
  padding: 0;
  color: var(--tv-cream-text);
}

.tv-home-hero.wp-block-cover::after {
  content: none;
}

.tv-home-hero.wp-block-cover > .wp-block-cover__inner-container {
  width: 100%;
  color: inherit;
  z-index: 1;
}

.tv-home-hero.wp-block-cover :where(.wp-block-cover__image-background, .wp-block-cover__video-background) {
  filter: saturate(0.85) contrast(0.96);
}

.tv-home-hero.wp-block-cover .wp-block-cover__background {
  opacity: 1;
  background:
    linear-gradient(135deg, rgba(13, 19, 48, 0.88), rgba(13, 19, 48, 0.5) 62%, rgba(201, 167, 94, 0.42)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 14px, transparent 14px 28px) !important;
}

.tv-home-hero__inner {
  width: min(var(--tv-wide), calc(100vw - (var(--tv-inset) * 2)));
  margin-inline: auto;
  display: flex;
  justify-content: flex-end;
}

.tv-home-hero .tv-hero-glass {
  width: min(42%, 560px);
  min-width: 430px;
}

.tv-home-mission {
  padding-block: clamp(2.8rem, 5vw, 4.6rem);
}

.tv-home-mission__inner {
  width: min(820px, calc(100vw - (var(--tv-inset) * 2)));
  margin-inline: auto;
}

.tv-home-mission__marker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.3rem;
}

.tv-home-mission__marker > * {
  margin: 0;
}

.tv-home-mission__marker:empty::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 0.55rem;
  background: var(--tv-gold);
  transform: rotate(45deg);
}

.tv-home-mission__marker:empty::after {
  content: "";
  width: 46px;
  height: 2px;
  flex: 0 0 46px;
  background: var(--tv-gold);
}

.tv-home-mission__diamond {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 0.55rem;
  background: var(--tv-gold);
  transform: rotate(45deg);
}

.tv-home-mission h2 {
  margin: 0;
  color: var(--tv-cream-text);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.25;
}

.tv-home-mission p {
  max-width: 760px;
  margin: 1.8rem 0 0;
  color: var(--tv-slate-light);
  font-size: 1rem;
  line-height: 1.75;
}

.tv-home-mission strong {
  color: var(--tv-gold-link);
  font-weight: 600;
}

.tv-category-section,
.tv-latest-section,
.tv-section-feed {
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
}

.tv-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.tv-home-route-grid .ea-bento-grid {
  width: 100%;
  padding: 0;
  gap: 1.1rem;
}

.tv-home-route-grid .ea-bento-grid-card {
  background: var(--tv-cream-100);
  color: var(--tv-ink);
  border: 1.5px solid rgba(201, 167, 94, 0.58);
  border-top-width: 3px;
  border-radius: var(--tv-radius);
  box-shadow: var(--tv-shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tv-home-route-grid .ea-bento-grid-card:hover {
  box-shadow: var(--tv-shadow-card);
  transform: translateY(-3px);
}

.tv-home-route-grid .ea-bento-grid-img {
  height: 150px;
}

.tv-home-route-grid .ea-bento-grid-body {
  max-height: none;
  overflow: visible;
  padding: 1.25rem;
}

.tv-home-route-grid .ea-bento-grid-body::after {
  display: none;
}

.tv-home-route-grid .ea-bento-grid-cat {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.tv-home-route-grid .ea-bento-grid-heading {
  margin: 0 0 0.65rem !important;
  color: var(--tv-ink) !important;
  font-family: var(--tv-font-display) !important;
  font-size: clamp(1.35rem, 2vw, 1.65rem) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

.tv-home-route-grid .ea-bento-grid-desc {
  margin: 0 0 1.3rem !important;
  color: var(--tv-ink-muted) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.tv-home-route-grid .ea-bento-grid-link {
  color: var(--tv-link-on-light);
  font-size: 0.88rem;
  font-weight: 600;
}

.ea-bento-grid-card .ea-bento-grid-link {
  color: var(--tv-link-on-light);
}

.tv-archive-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--tv-cream-100);
  color: var(--tv-ink);
  border: 1.5px solid rgba(201, 167, 94, 0.58);
  border-radius: var(--tv-radius);
  text-decoration: none;
  box-shadow: var(--tv-shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tv-archive-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tv-shadow-card);
}

.tv-archive-card__image {
  min-height: 150px;
}

.tv-archive-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.tv-archive-card h3 {
  margin: 0.55rem 0 0.65rem;
  color: var(--tv-ink);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.tv-archive-card p {
  margin: 0 0 1.3rem;
  color: var(--tv-ink-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tv-archive-card .tv-card-link {
  margin-top: auto;
}

.tv-accent-research {
  color: var(--tv-research);
}

.tv-accent-publications {
  color: var(--tv-publications);
}

.tv-accent-projects {
  color: var(--tv-projects);
}

.tv-accent-news {
  color: var(--tv-red);
}

/* Section archives */
.tv-section-hero {
  min-height: clamp(330px, 43vh, 430px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(13, 19, 48, 0.9), rgba(47, 74, 120, 0.64)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px),
    var(--tv-navy-800);
}

.tv-section-hero.wp-block-cover {
  min-height: clamp(330px, 43vh, 430px) !important;
  padding: 0;
  color: var(--tv-cream-text);
}

.tv-section-hero.wp-block-cover::after {
  content: none;
}

.tv-section-hero.wp-block-cover > .wp-block-cover__inner-container {
  width: 100%;
  color: inherit;
  z-index: 1;
}

.tv-section-hero.wp-block-cover :where(.wp-block-cover__image-background, .wp-block-cover__video-background) {
  filter: saturate(0.86) contrast(0.95);
}

.tv-section-hero.wp-block-cover .wp-block-cover__background {
  opacity: 1;
  background:
    linear-gradient(135deg, rgba(13, 19, 48, 0.9), rgba(47, 74, 120, 0.64)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px) !important;
}

.tv-section-hero--publications {
  background:
    linear-gradient(135deg, rgba(13, 19, 48, 0.9), rgba(176, 106, 60, 0.58)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px),
    var(--tv-navy-800);
}

.tv-section-hero--publications.wp-block-cover .wp-block-cover__background {
  background:
    linear-gradient(135deg, rgba(13, 19, 48, 0.9), rgba(176, 106, 60, 0.58)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px) !important;
}

.tv-section-hero--projects {
  background:
    linear-gradient(135deg, rgba(13, 19, 48, 0.9), rgba(61, 107, 122, 0.62)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px),
    var(--tv-navy-800);
}

.tv-section-hero--projects.wp-block-cover .wp-block-cover__background {
  background:
    linear-gradient(135deg, rgba(13, 19, 48, 0.9), rgba(61, 107, 122, 0.62)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px) !important;
}

.tv-section-hero--news {
  background:
    linear-gradient(135deg, rgba(13, 19, 48, 0.92), rgba(206, 17, 38, 0.66)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px),
    var(--tv-navy-800);
}

.tv-section-hero--news.wp-block-cover .wp-block-cover__background {
  background:
    linear-gradient(135deg, rgba(13, 19, 48, 0.92), rgba(206, 17, 38, 0.66)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 14px, transparent 14px 28px) !important;
}

.tv-section-hero__inner {
  width: min(var(--tv-wide), calc(100vw - (var(--tv-inset) * 2)));
  margin-inline: auto;
  display: flex;
  justify-content: flex-end;
}

.tv-section-hero .tv-hero-glass {
  width: min(44%, 540px);
  min-width: 420px;
}

.tv-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.45rem 1.2rem;
}

.tv-breadcrumb {
  color: var(--tv-slate-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.tv-breadcrumb a {
  color: var(--tv-gold-link);
  text-decoration: none;
}

.tv-breadcrumb strong {
  color: var(--tv-gold);
  font-weight: 600;
}

.tv-filter-chips {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  overflow-x: auto;
}

.tv-filter-chips p {
  margin: 0;
}

.tv-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(201, 167, 94, 0.26);
  border-radius: 999px;
  color: var(--tv-slate-light);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.8rem;
  text-decoration: none;
}

.tv-chip--active {
  background: var(--tv-gold);
  color: var(--tv-navy-800);
}

/* Native fallback cards */
.tv-page-shell,
.tv-archive-shell,
.tv-search-shell,
.tv-not-found-shell {
  padding-block: var(--tv-section-y);
}

.tv-page-title,
.tv-archive-title {
  color: var(--tv-cream-text);
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.tv-page-content,
.tv-post-content {
  color: var(--tv-cream-text);
}

.tv-page-canvas {
  padding-block: 0;
}

.tv-page-content {
  width: 100%;
  max-width: none;
}

.tv-page-content > :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, .wp-block-buttons, .wp-block-table) {
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin-left: auto;
  margin-right: auto;
}

.tv-page-content > :where(.alignwide, .tv-archive-toolbar, .tv-section-feed) {
  width: min(var(--tv-max), calc(100vw - (var(--tv-inset) * 2)));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.tv-page-content > :where(.alignfull, .tv-section-hero) {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.tv-page-content > .tv-section-hero:first-child {
  margin-top: 0;
}

.tv-page-content > .tv-section-hero + .tv-archive-toolbar,
.tv-page-content > .tv-archive-toolbar + .tv-section-feed {
  margin-top: 0;
}

.tv-page-content > :first-child:not(.tv-section-hero):not(.alignfull) {
  margin-top: var(--tv-section-y);
}

.tv-page-content > :last-child:not(.tv-section-feed):not(.alignfull):not(.tv-back-to-top) {
  margin-bottom: var(--tv-section-y);
}

.tv-page-content > .tv-back-to-top {
  margin: 0;
}

.tv-section-page-content {
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin: 0 auto 1rem;
  color: var(--tv-slate-light);
}

.tv-query-grid .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.tv-post-card {
  min-height: 100%;
  background: var(--tv-cream-100);
  color: var(--tv-ink);
  border: 1px solid rgba(201, 167, 94, 0.5);
  border-radius: var(--tv-radius);
  overflow: hidden;
  padding: 1.25rem;
}

.tv-post-card h2,
.tv-post-card h3 {
  color: var(--tv-ink);
}

.tv-post-card a {
  color: inherit;
  text-decoration: none;
}

/* Plugin retint */
body .eabs,
.editor-styles-wrapper .eabs {
  --eabs-ink: var(--tv-ink);
  --eabs-parchment: var(--tv-cream-100);
  --eabs-parchment-light: var(--tv-cream-200);
  --eabs-stone: var(--tv-card-muted);
  --eabs-stone-light: #e6dcc4;
  --eabs-muted: var(--tv-card-subtle);
  --eabs-terracotta: var(--tv-link-on-light);
  --eabs-shadow-hover: var(--eabs-shadow);
  --eabs-font-display: var(--tv-font-display);
  --eabs-font-body: var(--tv-font-body);
  color: var(--tv-ink);
}

.eabs .eabs-card {
  border: 1px solid rgba(201, 167, 94, 0.48);
  border-radius: var(--tv-radius);
}

.eabs .eabs-card:hover {
  box-shadow: var(--eabs-shadow);
  transform: translateY(-3px);
}

.eabs .eabs-mini-card:hover {
  box-shadow: var(--eabs-shadow);
  transform: translateY(-3px);
}

.eabs .eabs-card__title,
.eabs .eabs__title,
.eabs-mini-card__title,
.ea-gc__title,
.ea-stack-title,
.ea-broad-title {
  font-family: var(--tv-font-display) !important;
  font-weight: 400;
}

.eabs .eabs-card__eyebrow,
.eabs-mini-card__eyebrow {
  letter-spacing: 0.15em;
}

.eabs.eabs .eabs-card__read,
.eabs.eabs .eabs-card__link-label,
.eabs.eabs .eabs-mini-card__read,
.eabs.eabs .eabs-mini-card__more {
  color: var(--tv-link-on-light);
}

.eabs.eabs .eabs-card__excerpt,
.eabs.eabs .eabs-mini-card__content {
  color: var(--tv-card-muted);
}

.eabs.eabs .eabs-card__meta,
.eabs.eabs .eabs-mini-card__meta {
  color: var(--tv-card-subtle);
}

.eabs.eabs .eabs__pagination a,
.eabs.eabs .eabs__pagination span,
.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination a,
.wp-block-query-pagination span {
  border-color: var(--tv-gold-border);
  color: var(--tv-gold-link);
}

.eabs.eabs .eabs__pagination a:hover,
.eabs.eabs .eabs__pagination .current,
.wp-block-query-pagination .current {
  color: var(--eabs-accent, var(--tv-research));
}

.tv-latest-section .eabs,
.tv-section-feed .eabs {
  width: min(var(--tv-max), calc(100vw - (var(--tv-inset) * 2)));
  margin-inline: auto;
  padding-inline: 0;
}

/* Post kit */
.tv-post {
  --tv-post-bg: var(--tv-navy-900);
  --tv-post-text: #cfcab8;
  --tv-post-muted: var(--tv-slate-muted);
  --tv-post-accent: var(--tv-gold-dim);
  --tv-post-heading: var(--tv-gold-link);
  overflow-x: clip;
  background: var(--tv-post-bg);
  color: var(--tv-post-text);
}

.tv-post--news {
  --tv-post-bg: var(--tv-cream-200);
  --tv-post-text: #3a3426;
  --tv-post-muted: var(--tv-card-subtle);
  --tv-post-accent: var(--tv-red);
  --tv-post-heading: var(--tv-red);
}

.tv-post--feature {
  --tv-post-bg: var(--tv-navy-700);
  --tv-post-text: #c9c4b2;
  --tv-post-muted: var(--tv-slate-muted);
  --tv-post-accent: var(--tv-features);
  --tv-post-heading: var(--tv-gold-link);
}

.tv-post--red-blocks {
  --tv-post-bg: var(--tv-cream-200);
  --tv-post-text: #3a3426;
  --tv-post-muted: var(--tv-card-subtle);
  --tv-post-accent: var(--tv-red);
  --tv-post-heading: var(--tv-red);
}

.tv-post-hero {
  position: relative;
  min-height: calc(100vh - var(--tv-header-height));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 30%, rgba(74, 88, 134, 0.3), transparent 55%),
    linear-gradient(180deg, rgba(7, 10, 22, 0.35), rgba(7, 10, 22, 0.78) 68%, var(--tv-post-bg) 100%),
    linear-gradient(135deg, #151b32, #0a0e20);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  margin-block-start: 0;
}

.tv-post--news .tv-post-hero {
  background:
    linear-gradient(180deg, rgba(246, 239, 223, 0), rgba(246, 239, 223, 0.55) 62%, rgba(246, 239, 223, 0.96) 88%, var(--tv-cream-200) 100%),
    radial-gradient(circle at 64% 26%, rgba(244, 196, 110, 0.55), transparent 52%),
    linear-gradient(135deg, #e8d3a4 0%, #c8a468 100%);
}

.tv-post--feature .tv-post-hero,
.tv-post--red-blocks .tv-post-hero {
  min-height: 74vh;
}

.tv-post--feature .tv-post-hero {
  background:
    linear-gradient(180deg, rgba(13, 19, 48, 0.25), rgba(13, 19, 48, 0.4)),
    radial-gradient(circle at 26% 34%, rgba(96, 130, 190, 0.55), transparent 50%),
    radial-gradient(circle at 74% 30%, rgba(198, 120, 66, 0.45), transparent 46%),
    linear-gradient(135deg, #1c2650, #131a3c);
}

.tv-post--red-blocks .tv-post-hero {
  background:
    linear-gradient(180deg, rgba(246, 239, 223, 0), rgba(246, 239, 223, 0.25) 72%, rgba(246, 239, 223, 0.6) 100%),
    radial-gradient(circle at 30% 30%, rgba(230, 80, 90, 0.42), transparent 48%),
    radial-gradient(circle at 72% 26%, rgba(240, 180, 70, 0.5), transparent 50%),
    linear-gradient(135deg, #ecd9ae, #d9bd8a);
}

.tv-post-hero .wp-block-post-featured-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  opacity: 0.96;
}

.tv-post-hero .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-post-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100vw - (var(--tv-inset) * 2)));
  margin-inline: auto;
  padding-block: clamp(4rem, 9vh, 7rem) 4rem;
}

.tv-post-hero__title {
  max-width: 680px;
}

.tv-post-hero__title h1,
.tv-post-title-card h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 1.02;
}

.tv-post-title-card h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
  overflow-wrap: anywhere;
}

.tv-post--somber .tv-post-hero__title h1 {
  letter-spacing: 0.02em;
}

.tv-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.4rem;
  color: var(--tv-post-muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.tv-post-meta a {
  color: inherit;
  text-decoration: none;
}

.tv-post-meta p {
  margin: 0;
  color: var(--tv-post-accent);
}

.tv-post-eyebrow,
.tv-post-eyebrow a {
  color: var(--tv-post-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}

.tv-post-title-card {
  position: absolute;
  left: var(--tv-inset);
  bottom: clamp(1.5rem, 6vh, 4rem);
  z-index: 2;
  width: min(560px, calc(100vw - (var(--tv-inset) * 2)));
  background: var(--tv-cream-200);
  color: var(--tv-ink);
  border-top: 3px solid var(--tv-post-accent);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  box-shadow: 12px 12px 0 rgba(13, 19, 48, 0.82);
}

.tv-post-title-card .tv-post-meta {
  color: var(--tv-card-muted);
}

.tv-post--feature .tv-post-title-card .tv-post-eyebrow,
.tv-post--feature .tv-post-title-card .tv-post-eyebrow a,
.tv-post--feature .tv-post-title-card .tv-post-meta p {
  color: var(--tv-research);
}

.tv-post--red-blocks .tv-post-title-card {
  background: var(--tv-red);
  color: var(--tv-footer-link);
  border-top: 0;
  box-shadow: 18px 18px 0 var(--tv-navy-800);
}

.tv-post--red-blocks .tv-post-title-card .tv-post-eyebrow,
.tv-post--red-blocks .tv-post-title-card .tv-post-eyebrow a,
.tv-post--red-blocks .tv-post-title-card .tv-post-meta,
.tv-post--red-blocks .tv-post-title-card .tv-post-meta a,
.tv-post--red-blocks .tv-post-title-card .tv-post-meta p {
  color: var(--tv-cream-100);
}

.tv-post-article {
  position: relative;
  z-index: 1;
  background: var(--tv-post-bg);
  color: var(--tv-post-text);
  box-shadow: 0 -40px 80px rgba(4, 6, 14, 0.48);
}

.tv-post--feature .tv-post-article,
.tv-post--red-blocks .tv-post-article {
  padding-top: clamp(3rem, 6vw, 5rem);
  box-shadow: none;
}

.tv-post-lead {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.tv-post--feature .tv-post-lead,
.tv-post--red-blocks .tv-post-lead {
  padding-top: 0;
}

.tv-post--news .tv-post-lead::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 1.6rem;
  background: var(--tv-red);
}

.tv-post--red-blocks .tv-post-lead::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 1.6rem;
  background: linear-gradient(90deg, var(--tv-red) 0 30px, var(--tv-navy-800) 30px 40px);
}

.tv-post-content {
  width: min(var(--tv-figure), calc(100vw - (var(--tv-inset) * 2)));
  margin-inline: auto;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  color: var(--tv-post-text);
  font-size: 1.08rem;
  line-height: 1.85;
}

.tv-post-content > * {
  max-width: min(var(--tv-prose), 100%);
  margin-left: auto;
  margin-right: auto;
}

.tv-post-content > .tv-cutout-band {
  max-width: none;
}

.tv-post-content > p:first-child {
  color: inherit;
  font-family: var(--tv-font-editorial);
  font-size: clamp(1.55rem, 3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
}

.tv-post-content h2,
.tv-post-content h3 {
  margin-top: 2.5rem;
  color: var(--tv-post-heading);
  font-size: clamp(1.7rem, 3vw, 2rem);
  line-height: 1.2;
}

.tv-post-content h2 {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}


.tv-post-content :where(p, li, blockquote, figcaption) a {
  color: var(--tv-post-accent);
}

.tv-post:not(.tv-post--news):not(.tv-post--red-blocks) .tv-post-content :where(p, li, blockquote, figcaption) a,
.tv-home-mission a,
.tv-page-content > :where(p, ul, ol, blockquote) a:not(.wp-block-button__link),
.tv-page-content .tv-breadcrumb a {
  color: var(--tv-gold-link);
}

.tv-post--news .tv-post-content :where(p, li, blockquote, figcaption) a,
.tv-post--red-blocks .tv-post-content :where(p, li, blockquote, figcaption) a,
.tv-content-band a,
.tv-museum-label a {
  color: var(--tv-navy-800);
}

.tv-page-content .eabs a,
.tv-post-content .eabs a,
.tv-latest-section .eabs a,
.tv-section-feed .eabs a,
.tv-page-content .ea-bento-grid-card,
.tv-post-content .ea-bento-grid-card {
  color: inherit;
}

.tv-post-content .wp-block-image,
.tv-post-content figure {
  width: 100%;
  max-width: none;
  margin: 2.2rem auto;
}

.tv-post-content .wp-block-image img,
.tv-post-content figure > img {
  display: block;
  width: 100%;
  height: auto;
}

.tv-post-content figcaption {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  color: var(--tv-post-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.tv-post-content figcaption::before {
  content: "";
  width: 14px;
  height: 1px;
  flex: 0 0 14px;
  background: var(--tv-post-accent);
  transform: translateY(-0.15rem);
}

.tv-post-content .wp-block-jetpack-image-compare .juxtapose,
.tv-page-content .wp-block-jetpack-image-compare .juxtapose,
.editor-styles-wrapper .wp-block-jetpack-image-compare .juxtapose {
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.tv-post-content .wp-block-jetpack-image-compare > figcaption,
.tv-page-content .wp-block-jetpack-image-compare > figcaption,
.editor-styles-wrapper .wp-block-jetpack-image-compare > figcaption,
.tv-post-content .wp-block-image.aligncenter > figcaption,
.tv-page-content .wp-block-image.aligncenter > figcaption,
.editor-styles-wrapper .wp-block-image.aligncenter > figcaption,
.tv-post-content > .wp-block-image > figcaption,
.tv-page-content > .wp-block-image > figcaption,
.editor-styles-wrapper > .wp-block-image > figcaption {
  display: block;
  width: fit-content;
  max-width: min(var(--tv-prose), 100%);
  margin: 0.85rem auto 0;
  color: var(--tv-post-muted);
  text-align: center;
}

.tv-post-content .wp-block-jetpack-image-compare > figcaption::before,
.tv-page-content .wp-block-jetpack-image-compare > figcaption::before,
.editor-styles-wrapper .wp-block-jetpack-image-compare > figcaption::before,
.tv-post-content .wp-block-image.aligncenter > figcaption::before,
.tv-page-content .wp-block-image.aligncenter > figcaption::before,
.editor-styles-wrapper .wp-block-image.aligncenter > figcaption::before,
.tv-post-content > .wp-block-image > figcaption::before,
.tv-page-content > .wp-block-image > figcaption::before,
.editor-styles-wrapper > .wp-block-image > figcaption::before {
  content: none;
}

.tv-post-content ul,
.tv-post-content ol {
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin: 1.2rem auto 2rem;
  padding: 0;
  list-style: none;
}

.tv-post-content li {
  position: relative;
  margin: 0.42rem 0;
  padding-left: 1.35rem;
}

.tv-post-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.925em;
  width: 0.46rem;
  height: 0.46rem;
  background: var(--tv-post-heading);
  transform: translateY(-50%) rotate(45deg);
}

.tv-post--somber .tv-post-content li::before {
  border-radius: 999px;
  transform: translateY(-50%);
}

.tv-page-content .wp-block-footnotes,
.tv-post-content .wp-block-footnotes {
  list-style: decimal;
  padding-left: 1.45rem;
}

.tv-page-content .wp-block-footnotes li,
.tv-post-content .wp-block-footnotes li {
  padding-left: 0.25rem;
  overflow-wrap: break-word;
}

.tv-page-content .wp-block-footnotes a,
.tv-post-content .wp-block-footnotes a {
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
}

.tv-page-content .wp-block-footnotes li::before,
.tv-post-content .wp-block-footnotes li::before {
  content: none;
}

.tv-page-content .wp-block-footnotes li::marker,
.tv-post-content .wp-block-footnotes li::marker {
  color: var(--tv-post-heading);
  font-weight: 700;
}

.tv-cutout-band {
  width: min(900px, calc(100vw - (var(--tv-inset) * 2)));
  min-height: clamp(320px, 34vw, 430px);
  display: grid;
  place-items: center;
  margin: clamp(3rem, 6vw, 5rem) auto;
  background:
    linear-gradient(180deg, rgba(6, 9, 18, 0.55), rgba(6, 9, 18, 0.68)),
    radial-gradient(circle at 30% 40%, rgba(60, 72, 110, 0.4), transparent 55%),
    linear-gradient(120deg, #12162a, #0b0f20);
  background-attachment: fixed;
  border-block: 1px solid color-mix(in srgb, var(--tv-post-accent), transparent 62%);
}

.tv-cutout-band blockquote {
  width: min(680px, calc(100% - 2rem));
  margin: 0;
  text-align: center;
}

.tv-cutout-band blockquote::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin: 0 auto 1.4rem;
  background: var(--tv-post-accent);
}

.tv-cutout-band p {
  margin: 0;
  color: var(--tv-cream-text);
  font-family: var(--tv-font-editorial);
  font-size: clamp(1.55rem, 3vw, 1.8rem);
  font-style: italic;
  line-height: 1.5;
}

.tv-post--news .tv-cutout-band:not(.tv-cutout-band--dark),
.tv-post--red-blocks .tv-cutout-band:not(.tv-cutout-band--dark) {
  background:
    radial-gradient(circle at 50% 50%, rgba(206, 17, 38, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(206, 17, 38, 0.035), rgba(201, 167, 94, 0.04));
  border-block-color: rgba(206, 17, 38, 0.18);
}

.tv-post--news .tv-cutout-band:not(.tv-cutout-band--dark) p,
.tv-post--red-blocks .tv-cutout-band:not(.tv-cutout-band--dark) p {
  color: rgba(58, 52, 38, 0.68);
}

.tv-post-author {
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid color-mix(in srgb, var(--tv-post-accent), transparent 42%);
  border-bottom: 1px solid color-mix(in srgb, var(--tv-post-accent), transparent 72%);
}

.tv-post-author .wp-block-post-author {
  align-items: center;
}

.tv-post-author .wp-block-post-author__name {
  font-family: var(--tv-font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.tv-post-back {
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin: 2rem auto 3rem;
}

.tv-post-back p {
  margin: 0;
}

.tv-post-back a {
  color: var(--tv-post-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.tv-post .eabs--related {
  width: min(var(--tv-max), calc(100vw - (var(--tv-inset) * 2)));
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem);
}

.tv-post .eabs--related .eabs__header,
.tv-post .eabs--related .eabs__title {
  color: var(--tv-post-heading);
}

.tv-post .eabs--related .eabs__desc {
  color: var(--tv-post-muted);
}

/* Editor layout helpers */
.editor-styles-wrapper
  .is-root-container
  > :where(.wp-block-cover.alignfull.tv-home-hero, .wp-block-cover.alignfull.tv-section-hero) {
  width: min(var(--tv-wide), 100%) !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

.editor-styles-wrapper
  .is-root-container
  > :where(.block-editor-block-list__block.wp-block-cover.tv-home-hero, .block-editor-block-list__block.wp-block-cover.tv-section-hero) {
  width: min(var(--tv-wide), 100%) !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

.editor-styles-wrapper .is-root-container > [data-align="full"]:has(> .wp-block-cover.tv-home-hero),
.editor-styles-wrapper .is-root-container > [data-align="full"]:has(> .wp-block-cover.tv-section-hero) {
  width: min(var(--tv-wide), 100%) !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}

.editor-styles-wrapper
  .is-root-container
  > [data-align="full"]
  > :where(.wp-block-cover.tv-home-hero, .wp-block-cover.tv-section-hero) {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper
  :where(.wp-block-cover.alignfull.tv-home-hero, .wp-block-cover.alignfull.tv-section-hero)
  > .wp-block-cover__inner-container {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper
  [data-align="full"]
  > :where(.wp-block-cover.tv-home-hero, .wp-block-cover.tv-section-hero)
  > .wp-block-cover__inner-container {
  width: 100% !important;
  max-width: none !important;
}

.editor-styles-wrapper
  :where(.wp-block-cover.tv-home-hero, .wp-block-cover.tv-section-hero)
  :where(.tv-home-hero__inner, .tv-section-hero__inner) {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.editor-styles-wrapper
  :where(.wp-block-cover.tv-home-hero, .wp-block-cover.tv-section-hero)
  .tv-hero-glass {
  max-width: 100%;
}

/* Editor post-template skins */
:where(.editor-styles-wrapper.tv-editor-post-skin, .tv-editor-post-skin .editor-styles-wrapper) {
  --tv-post-bg: var(--tv-navy-900);
  --tv-post-text: #cfcab8;
  --tv-post-muted: var(--tv-slate-muted);
  --tv-post-accent: var(--tv-gold-dim);
  --tv-post-heading: var(--tv-gold-link);
  background: var(--tv-post-bg) !important;
  color: var(--tv-post-text);
}

:where(
    .editor-styles-wrapper.tv-editor-post-skin--news,
    .tv-editor-post-skin--news .editor-styles-wrapper,
    .editor-styles-wrapper.tv-editor-post-skin--red-blocks,
    .tv-editor-post-skin--red-blocks .editor-styles-wrapper
  ) {
  --tv-post-bg: var(--tv-cream-200);
  --tv-post-text: #3a3426;
  --tv-post-muted: var(--tv-card-subtle);
  --tv-post-accent: var(--tv-red);
  --tv-post-heading: var(--tv-red);
}

:where(.editor-styles-wrapper.tv-editor-post-skin--feature, .tv-editor-post-skin--feature .editor-styles-wrapper) {
  --tv-post-bg: var(--tv-navy-700);
  --tv-post-text: #c9c4b2;
  --tv-post-muted: var(--tv-slate-muted);
  --tv-post-accent: var(--tv-features);
  --tv-post-heading: var(--tv-gold-link);
}

:where(.editor-styles-wrapper.tv-editor-post-skin, .tv-editor-post-skin .editor-styles-wrapper) .is-root-container {
  min-height: 100%;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  background: transparent;
  color: inherit;
}

:where(.editor-styles-wrapper.tv-editor-post-skin, .tv-editor-post-skin .editor-styles-wrapper)
  :where(a:not(.wp-block-button__link)) {
  color: var(--tv-post-accent);
}

:where(.editor-styles-wrapper.tv-editor-post-skin--somber, .tv-editor-post-skin--somber .editor-styles-wrapper)
  :where(a:not(.wp-block-button__link)),
:where(.editor-styles-wrapper.tv-editor-post-skin--feature, .tv-editor-post-skin--feature .editor-styles-wrapper)
  :where(a:not(.wp-block-button__link)) {
  color: var(--tv-gold-link);
}

:where(
    .editor-styles-wrapper.tv-editor-post-skin--news,
    .tv-editor-post-skin--news .editor-styles-wrapper,
    .editor-styles-wrapper.tv-editor-post-skin--red-blocks,
    .tv-editor-post-skin--red-blocks .editor-styles-wrapper
  )
  .tv-cutout-band:not(.tv-cutout-band--dark) {
  background:
    radial-gradient(circle at 50% 50%, rgba(206, 17, 38, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(206, 17, 38, 0.035), rgba(201, 167, 94, 0.04));
  border-block-color: rgba(206, 17, 38, 0.18);
}

:where(
    .editor-styles-wrapper.tv-editor-post-skin--news,
    .tv-editor-post-skin--news .editor-styles-wrapper,
    .editor-styles-wrapper.tv-editor-post-skin--red-blocks,
    .tv-editor-post-skin--red-blocks .editor-styles-wrapper
  )
  .tv-cutout-band:not(.tv-cutout-band--dark)
  p {
  color: rgba(58, 52, 38, 0.68);
}

:where(
    .editor-styles-wrapper.tv-editor-post-skin--news,
    .tv-editor-post-skin--news .editor-styles-wrapper,
    .editor-styles-wrapper.tv-editor-post-skin--red-blocks,
    .tv-editor-post-skin--red-blocks .editor-styles-wrapper
  )
  .tv-museum-label
  h3 {
  color: var(--tv-red);
}

:where(
    .editor-styles-wrapper.tv-editor-post-skin--news,
    .tv-editor-post-skin--news .editor-styles-wrapper,
    .editor-styles-wrapper.tv-editor-post-skin--red-blocks,
    .tv-editor-post-skin--red-blocks .editor-styles-wrapper
  )
  .tv-museum-label--dark
  h3 {
  color: var(--tv-cream-text);
}

:where(
    .editor-styles-wrapper.tv-editor-post-skin--news,
    .tv-editor-post-skin--news .editor-styles-wrapper,
    .editor-styles-wrapper.tv-editor-post-skin--red-blocks,
    .tv-editor-post-skin--red-blocks .editor-styles-wrapper
  )
  .wp-block-gallery {
  --tv-gallery-surface: var(--tv-cream-100);
  --tv-gallery-text: var(--tv-ink);
  --tv-gallery-muted: var(--tv-card-subtle);
  --tv-gallery-frame: color-mix(in srgb, var(--tv-gold), transparent 38%);
  --tv-gallery-drop-accent: color-mix(in srgb, var(--tv-post-accent), transparent 18%);
  --tv-gallery-chip-bg: var(--tv-post-accent);
  --tv-gallery-chip-text: var(--tv-cream-100);
}

/* Editor patterns */
.tv-feature-card {
  padding: clamp(1.45rem, 3vw, 2.2rem);
  border-radius: var(--tv-radius);
  border: 1.5px solid var(--tv-gold-border);
  box-shadow: var(--tv-shadow-card);
}

.tv-feature-card h2 {
  margin: 0.55rem 0 0.7rem;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.tv-feature-card p {
  max-width: 760px;
}

.tv-feature-card--light,
.tv-hero-card,
.tv-title-card {
  background: var(--tv-cream-100);
  color: var(--tv-ink);
}

.tv-feature-card--light p {
  color: var(--tv-ink-muted);
}

.tv-feature-card--dark {
  background:
    linear-gradient(135deg, rgba(201, 167, 94, 0.06), transparent 42%),
    var(--tv-navy-800);
  color: var(--tv-cream-text);
  border-color: rgba(201, 167, 94, 0.34);
}

.tv-feature-card--dark p {
  color: var(--tv-slate-light);
}

.tv-museum-label {
  background: var(--tv-cream-100);
  color: var(--tv-ink);
  border: 1.5px solid rgba(201, 167, 94, 0.64);
  border-radius: var(--tv-radius);
  padding: clamp(1.25rem, 3vw, 1.8rem);
  box-shadow: var(--tv-shadow-card);
}

.tv-museum-label h3 {
  margin: 0.65rem 0 0.35rem;
  color: var(--tv-ink);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.tv-museum-label p {
  color: var(--tv-ink-muted);
}

.tv-museum-label__meta {
  margin: 0 0 1rem;
  color: var(--tv-post-accent, var(--tv-publications));
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tv-post--news .tv-museum-label h3,
.tv-post--red-blocks .tv-museum-label h3 {
  color: var(--tv-red);
}

.tv-museum-label--dark {
  background:
    linear-gradient(135deg, rgba(201, 167, 94, 0.06), transparent 48%),
    var(--tv-navy-800);
  color: var(--tv-cream-text);
  border-color: rgba(201, 167, 94, 0.38);
}

.tv-museum-label--dark h3,
.tv-post--news .tv-museum-label--dark h3,
.tv-post--red-blocks .tv-museum-label--dark h3 {
  color: var(--tv-cream-text);
}

.tv-museum-label--dark p {
  color: var(--tv-slate-light);
}

.tv-museum-label--dark .tv-museum-label__meta {
  color: var(--tv-gold-link);
}

.tv-content-band {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--tv-cream-200);
  color: var(--tv-ink);
  margin-left:auto!important;
  margin-right:auto!important;
}



.tv-content-band h2,
.tv-content-band p {
  color: inherit;
}

.tv-content-band p {
  max-width: 760px;
  color: var(--tv-ink-muted);
}

.tv-content-band--dark {
  background:
    radial-gradient(circle at 82% 12%, rgba(201, 167, 94, 0.12), transparent 34%),
    var(--tv-navy-800);
  color: var(--tv-cream-text);
}

.tv-content-band--dark p {
  color: var(--tv-slate-light);
}

.tv-content-band--dark a {
  color: var(--tv-gold-link);
}

.tv-cutout-band--light {
  background:
    radial-gradient(circle at 50% 50%, rgba(206, 17, 38, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(206, 17, 38, 0.035), rgba(201, 167, 94, 0.04)),
    var(--tv-cream-200);
  border-block-color: rgba(206, 17, 38, 0.18);
}

.tv-cutout-band--light p {
  color: rgba(58, 52, 38, 0.72);
}

.tv-cutout-band--dark {
  background:
    linear-gradient(180deg, rgba(6, 9, 18, 0.55), rgba(6, 9, 18, 0.68)),
    radial-gradient(circle at 30% 40%, rgba(60, 72, 110, 0.4), transparent 55%),
    linear-gradient(120deg, #12162a, #0b0f20);
  border-block-color: color-mix(in srgb, var(--tv-post-accent, var(--tv-gold)), transparent 62%);
}

.tv-cutout-band--dark p {
  color: var(--tv-cream-text);
}

.tv-editorial-callout {
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin: clamp(2rem, 5vw, 3.5rem) auto;
  padding: 1.4rem 0 1.4rem 1.5rem;
  border-left: 3px solid var(--tv-post-accent, var(--tv-gold));
}

.tv-editorial-callout p {
  margin: 0;
  color: inherit;
  font-family: var(--tv-font-editorial);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
}

.tv-section-band {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.tv-section-band--dark {
  background:
    linear-gradient(135deg, rgba(47, 74, 120, 0.28), transparent 58%),
    var(--tv-navy-850);
  color: var(--tv-cream-text);
}

.tv-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tv-route-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2.4vw, 1.45rem);
  background: var(--tv-cream-100);
  color: var(--tv-ink);
  border: 1.5px solid var(--tv-gold-border);
  border-radius: var(--tv-radius);
  box-shadow: var(--tv-shadow-card);
}

.tv-route-card h3 {
  margin: 0 0 0.65rem;
  color: var(--tv-ink);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.tv-route-card h3 a {
  color: inherit;
  text-decoration: none;
}

.tv-route-card p {
  margin: 0 0 1rem;
  color: var(--tv-card-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.tv-route-card .tv-route-card__link {
  margin-top: auto;
  margin-bottom: 0;
}

.tv-route-card__link a {
  color: var(--tv-link-on-light);
  font-weight: 700;
  text-decoration: none;
}

.tv-section-band--dark .tv-route-card {
  background:
    linear-gradient(135deg, rgba(201, 167, 94, 0.08), transparent 54%),
    var(--tv-navy-800);
  color: var(--tv-cream-text);
  border-color: rgba(201, 167, 94, 0.34);
}

.tv-section-band--dark .tv-route-card h3 {
  color: var(--tv-cream-text);
}

.tv-section-band--dark .tv-route-card p {
  color: var(--tv-slate-light);
}

.tv-section-band--dark .tv-route-card__link a {
  color: var(--tv-gold-link);
}

.tv-image-caption {
  width: min(var(--tv-figure), calc(100vw - (var(--tv-inset) * 2)));
  margin-inline: auto;
}

.tv-image-caption img {
  border-radius: 2px;
}

.tv-image-caption figcaption {
  color: var(--tv-post-muted, var(--tv-slate-muted));
  font-size: 0.85rem;
  line-height: 1.55;
}

.tv-detail-strip {
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin: clamp(2.5rem, 5vw, 4rem) auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(1.2rem, 4vw, 2.4rem);
  align-items: center;
}

.tv-detail-strip__image {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(201, 167, 94, 0.4);
  overflow: hidden;
}

.tv-post-content .tv-detail-strip figure,
.tv-post-content .tv-detail-strip__image {
  width: 100%;
  max-width: none;
  margin: 0;
  left: auto;
  transform: none;
}

.tv-detail-strip__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-detail-strip__label {
  align-self: center;
}

.tv-detail-strip--dark .tv-detail-strip__image {
  border-color: rgba(201, 167, 94, 0.46);
  box-shadow: 14px 14px 0 rgba(201, 167, 94, 0.22);
}

.tv-offset-panel {
  position: relative;
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin: clamp(2.5rem, 5vw, 4rem) auto;
	margin-top: clamp(1.5rem, 2vw, 3rem);
  padding: clamp(1.55rem, 4vw, 2.25rem);
  border-top: 3px solid var(--tv-post-accent, var(--tv-gold));
  border-radius: var(--tv-radius);
}

.tv-offset-panel h3 {
  margin: 0.55rem 0 0.7rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.tv-offset-panel p {
  max-width: 680px;
}

.tv-offset-panel--light {
  background: var(--tv-cream-200);
  color: var(--tv-ink);
  box-shadow: 14px 14px 0 rgba(13, 19, 48, 0.82);
}

.tv-offset-panel--light p {
  color: var(--tv-ink-muted);
}

.tv-offset-panel--dark {
  background:
    linear-gradient(135deg, rgba(201, 167, 94, 0.08), transparent 54%),
    var(--tv-navy-800);
  color: var(--tv-cream-text);
  border-color: var(--tv-gold);
  box-shadow: 14px 14px 0 rgba(201, 167, 94, 0.24);
}

.tv-offset-panel--dark p {
  color: var(--tv-slate-light);
}

.tv-pdf-placeholder {
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin: 2rem auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(201, 167, 94, 0.38);
  border-radius: var(--tv-radius);
  box-shadow: var(--tv-shadow-card);
}

.tv-pdf-placeholder__toolbar {
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  background: rgba(13, 19, 48, 0.08);
  border-bottom: 1px solid rgba(13, 19, 48, 0.12);
}

.tv-pdf-placeholder__dot {
  width: 0.46rem;
  height: 0.46rem;
  background: var(--tv-post-accent, var(--tv-red));
  border-radius: 999px;
}

.tv-pdf-placeholder__page {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(13, 19, 48, 0.08) 10% 10.5%, transparent 10.5%),
    repeating-linear-gradient(180deg, rgba(13, 19, 48, 0.08) 0 2px, transparent 2px 24px),
    var(--tv-cream-100);
}

.tv-pdf-placeholder__label {
  margin: 0;
  color: var(--tv-post-heading, var(--tv-red));
  font-family: var(--tv-font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  text-align: center;
}

/* Core block and post add-on polish */
.wp-site-blocks {
  --tv-form-bg: var(--tv-navy-800);
  --tv-form-text: var(--tv-cream-text);
  --tv-form-muted: var(--tv-slate-muted);
  --tv-form-button-bg: var(--tv-gold);
  --tv-form-button-text: var(--tv-navy-850);
  --tv-form-button-hover: var(--tv-gold-link);
  --tv-form-accent: var(--tv-gold);
}

.tv-post--news,
.tv-post--red-blocks,
.tv-content-band,
.tv-museum-label,
.tv-route-card {
  --tv-form-bg: #fff;
  --tv-form-text: var(--tv-ink);
  --tv-form-muted: var(--tv-card-subtle);
  --tv-form-button-bg: var(--tv-navy-800);
  --tv-form-button-text: var(--tv-cream-text);
  --tv-form-button-hover: var(--tv-navy-700);
  --tv-form-accent: var(--tv-red-label);
}

.wp-site-blocks :where(input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], textarea, select) {
  width: 100%;
  min-height: 44px;
  padding: 0.68rem 0.82rem;
  background: var(--tv-form-bg);
  border: 1px solid var(--tv-gold-border);
  border-radius: 5px;
  color: var(--tv-form-text);
  font-family: var(--tv-font-body);
  font-size: 0.92rem;
  line-height: 1.4;
}

.wp-site-blocks :where(textarea) {
  min-height: 120px;
  resize: vertical;
}

.wp-site-blocks :where(input, textarea, select)::placeholder {
  color: color-mix(in srgb, var(--tv-form-muted), transparent 18%);
}

.wp-site-blocks :where(input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], textarea, select):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--tv-form-accent), transparent 50%);
  outline-offset: 2px;
  border-color: var(--tv-form-accent);
}

.wp-site-blocks :where(.wp-element-button, .wp-block-button__link, .wp-block-search__button, input[type="submit"], button[type="submit"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.45rem;
  background: var(--tv-form-button-bg);
  border: 0;
  border-radius: 4px;
  color: var(--tv-form-button-text);
  font-family: var(--tv-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.wp-site-blocks :where(.wp-element-button, .wp-block-button__link, .wp-block-search__button, input[type="submit"], button[type="submit"]):hover,
.wp-site-blocks :where(.wp-element-button, .wp-block-button__link, .wp-block-search__button, input[type="submit"], button[type="submit"]):focus-visible {
  background: var(--tv-form-button-hover);
  color: var(--tv-form-button-text);
  box-shadow: 5px 5px 0 color-mix(in srgb, var(--tv-form-accent), transparent 62%);
}

.wp-site-blocks :where(.wp-block-search) {
  display: flex;
  gap: 0.7rem;
  align-items: stretch;
}

.wp-site-blocks :where(.wp-block-search__inside-wrapper) {
  display: flex;
  gap: 0.7rem;
  width: 100%;
}

.wp-site-blocks :where(.wp-block-search__input) {
  flex: 1 1 auto;
}

.wp-site-blocks :where(.wp-block-jetpack-contact-form, .contact-form) {
  display: grid;
  gap: 0.95rem;
}

.wp-site-blocks :where(.wp-block-jetpack-contact-form label, .contact-form label, .comment-form label) {
  color: var(--tv-form-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eabs.eabs .eabs__pagination,
.wp-block-query-pagination,
.wp-block-comments-pagination {
  gap: 0.5rem;
}

.eabs.eabs .eabs__pagination a,
.eabs.eabs .eabs__pagination span,
.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination a,
.wp-block-query-pagination span,
.wp-block-comments-pagination a,
.wp-block-comments-pagination .page-numbers {
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.62rem;
  background: transparent;
  border: 1px solid var(--tv-gold-border);
  border-radius: 4px;
  color: var(--tv-gold-link);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.eabs.eabs .eabs__pagination a:hover,
.wp-block-query-pagination a:hover,
.wp-block-comments-pagination a:hover {
  border-color: var(--tv-gold);
  color: var(--tv-gold);
}

.eabs.eabs .eabs__pagination .current,
.wp-block-query-pagination .current,
.wp-block-query-pagination .page-numbers.current,
.wp-block-comments-pagination .current,
.wp-block-comments-pagination .page-numbers.current {
  background: var(--tv-gold);
  border-color: var(--tv-gold);
  color: var(--tv-navy-850);
}

.tv-post-content .wp-block-pullquote,
.tv-page-content .wp-block-pullquote {
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  max-width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin: clamp(2.2rem, 5vw, 3.6rem) auto;
  padding: clamp(1.35rem, 3vw, 1.9rem) 0;
  border-top: 1px solid color-mix(in srgb, var(--tv-post-accent, var(--tv-gold)), transparent 52%);
  border-bottom: 1px solid color-mix(in srgb, var(--tv-post-accent, var(--tv-gold)), transparent 72%);
  color: var(--tv-post-text, var(--tv-cream-text));
  text-align: center;
  overflow-wrap: anywhere;
}

.tv-post-content .wp-block-pullquote blockquote,
.tv-page-content .wp-block-pullquote blockquote {
  margin: 0;
}

.tv-post-content .wp-block-pullquote p,
.tv-page-content .wp-block-pullquote p {
  margin: 0;
  color: inherit;
  font-family: var(--tv-font-editorial);
  font-size: clamp(1.25rem, 3vw, 1.62rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
}

.tv-post-content .wp-block-pullquote cite,
.tv-page-content .wp-block-pullquote cite {
  display: block;
  margin-top: 1rem;
  color: var(--tv-post-accent, var(--tv-gold-link));
  font-family: var(--tv-font-body);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* Gallery framework */
:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery {
  --tv-gallery-columns: 3;
  --tv-gallery-accent: var(--tv-post-accent, var(--tv-gold-dim));
  --tv-gallery-surface: color-mix(in srgb, var(--tv-post-bg, var(--tv-navy-900)) 86%, var(--tv-navy-800));
  --tv-gallery-text: var(--tv-post-text, var(--tv-cream-text));
  --tv-gallery-muted: var(--tv-post-muted, var(--tv-slate-muted));
  --tv-gallery-frame: color-mix(in srgb, var(--tv-gold), transparent 48%);
  --tv-gallery-drop-accent: color-mix(in srgb, var(--tv-gallery-accent), transparent 70%);
  --tv-gallery-drop-strong: rgba(13, 19, 48, 0.88);
  --tv-gallery-chip-bg: var(--tv-navy-800);
  --tv-gallery-chip-text: var(--tv-cream-text);
  width: min(var(--tv-figure), calc(100vw - (var(--tv-inset) * 2)));
  max-width: min(var(--tv-figure), calc(100vw - (var(--tv-inset) * 2)));
  margin: clamp(2.4rem, 5vw, 4rem) auto;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  background: var(--tv-gallery-surface);
  border: 1px solid var(--tv-gold-border);
  border-radius: var(--tv-radius);
  color: var(--tv-gallery-text);
}

.tv-post--news .tv-post-content .wp-block-gallery,
.tv-post--red-blocks .tv-post-content .wp-block-gallery {
  --tv-gallery-surface: var(--tv-cream-100);
  --tv-gallery-text: var(--tv-ink);
  --tv-gallery-muted: var(--tv-card-subtle);
  --tv-gallery-frame: color-mix(in srgb, var(--tv-gold), transparent 38%);
  --tv-gallery-drop-accent: color-mix(in srgb, var(--tv-post-accent), transparent 18%);
  --tv-gallery-chip-bg: var(--tv-post-accent);
  --tv-gallery-chip-text: var(--tv-cream-100);
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.columns-2 {
  --tv-gallery-columns: 2;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.columns-3 {
  --tv-gallery-columns: 3;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.columns-4 {
  --tv-gallery-columns: 4;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(var(--tv-gallery-columns), minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 0.95rem);
  align-items: start;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.has-nested-images:not(.is-cropped):not(.is-style-tv-mosaic) {
  display: block !important;
  column-count: var(--tv-gallery-columns);
  column-gap: clamp(0.75rem, 1.6vw, 0.95rem);
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery figure.wp-block-image {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 !important;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.has-nested-images:not(.is-cropped):not(.is-style-tv-mosaic)
  figure.wp-block-image {
  display: block !important;
  break-inside: avoid;
  margin-bottom: clamp(0.75rem, 1.6vw, 0.95rem) !important;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery
  figure.wp-block-image
  > a,
:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery
  figure.wp-block-image
  > button:not(.lightbox-trigger) {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: zoom-in;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery figure.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid var(--tv-gallery-frame);
  border-radius: 0;
  object-fit: cover;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-cropped:not(.is-style-tv-mosaic)
  figure.wp-block-image
  img {
  aspect-ratio: 1 / 1;
  height: auto !important;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery figcaption {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  color: var(--tv-gallery-muted);
  font-size: 0.74rem;
  line-height: 1.42;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery figcaption::before {
  content: "";
  width: 14px;
  height: 1px;
  flex: 0 0 14px;
  margin-top: 0.52em;
  background: var(--tv-gallery-accent);
  transform: none;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.is-style-tv-mosaic {
  overflow: visible;
  padding: clamp(1.25rem, 3vw, 1.9rem);
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.is-style-tv-mosaic.has-nested-images {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem) clamp(1rem, 2.4vw, 1.65rem);
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image {
  min-width: 0;
  isolation: isolate;
  display: block !important;
  overflow: visible;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:nth-child(1) {
  grid-column: span 4;
  grid-row: span 2;
  margin-bottom: 0.9rem !important;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:nth-child(2),
:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:nth-child(3) {
  grid-column: span 2;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:nth-child(n + 4) {
  grid-column: span 3;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image
  > a,
:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image
  > button:not(.lightbox-trigger) {
  position: relative;
  z-index: 1;
  height: 100%;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:nth-child(1)::before {
  content: "";
  background: var(--tv-gallery-drop-accent);
  transform: translate(14px, 14px);
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:nth-child(3)::before {
  content: "";
  background: var(--tv-gallery-drop-strong);
  transform: translate(10px, 10px);
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:nth-child(5n)::before {
  content: "";
  background: var(--tv-gallery-drop-accent);
  transform: translate(10px, 10px);
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image
  img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  transition:
    border-color 0.18s ease,
    filter 0.18s ease;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:nth-child(1)
  img {
  height: 100% !important;
  min-height: clamp(230px, 30vw, 430px);
  aspect-ratio: auto;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:nth-child(5n)
  img {
  aspect-ratio: 16 / 9;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:hover
  img {
  border-color: color-mix(in srgb, var(--tv-gallery-accent), transparent 28%);
  filter: saturate(1.04) contrast(1.02);
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:first-child
  figcaption {
  position: absolute;
  left: -0.35rem;
  bottom: -0.9rem;
  z-index: 2;
  max-width: min(72%, 26rem);
  display: block;
  padding: 0.52rem 0.75rem;
  background: var(--tv-gallery-chip-bg);
  color: var(--tv-gallery-chip-text);
  box-shadow: 0 8px 20px rgba(4, 6, 14, 0.34);
  font-size: 0.66rem;
  line-height: 1.35;
}

:where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
  .wp-block-gallery.is-style-tv-mosaic
  figure.wp-block-image:not(:first-child)
  figcaption {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* Native WordPress lightbox, aligned to the mini-feed modal language. */
.wp-lightbox-overlay,
.tv-gallery-lightbox-ui {
  --tv-lightbox-width: min(1040px, calc(100vw - 32px));
  --tv-lightbox-height: min(760px, calc(100vh - 32px));
  --tv-lightbox-side-offset: max(26px, calc((100vw - 1040px) / 2 + 10px));
  --tv-lightbox-top-offset: max(26px, calc((100vh - 760px) / 2 + 10px));
  --tv-lightbox-nav-side: max(28px, calc((100vw - 1040px) / 2 + 12px));
  --tv-lightbox-counter-bottom: max(28px, calc((100vh - 760px) / 2 + 12px));
}

.wp-lightbox-overlay {
  background: rgba(7, 10, 21, 0.42) !important;
  background-image: none !important;
  color: var(--tv-cream-text);
  overflow: hidden !important;
}

.tv-gallery-lightbox-ui {
  position: fixed;
  inset: 0;
  z-index: 5000001;
  pointer-events: none;
}

.tv-gallery-lightbox-ui[hidden] {
  display: none !important;
}

.wp-lightbox-overlay .scrim {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: rgba(7, 10, 21, 0.78) !important;
  background-image: none !important;
}

@supports (backdrop-filter: blur(2px)) {
  .wp-lightbox-overlay .scrim {
    backdrop-filter: blur(2px);
  }
}

.wp-lightbox-overlay .lightbox-image-container {
  position: absolute !important;
  inset: 50% auto auto 50% !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: var(--tv-lightbox-width) !important;
  height: var(--tv-lightbox-height) !important;
  overflow: hidden;
  border: 1px solid var(--tv-gold-border);
  border-radius: 8px;
  background: #12100e !important;
  background-image: none !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%) !important;
}

.wp-lightbox-overlay .lightbox-image-container figure {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.wp-lightbox-overlay :where(.close-button, .wp-lightbox-close-button, .previous-button, .next-button, .wp-lightbox-navigation-button),
.tv-gallery-lightbox-ui .tv-gallery-lightbox__button {
  border: 0 !important;
  box-shadow: none !important;
}

.wp-lightbox-overlay :where(.wp-lightbox-close-button, .wp-lightbox-navigation-button)[hidden],
.tv-gallery-lightbox-ui .tv-gallery-lightbox__button[hidden] {
  display: none !important;
}

.wp-lightbox-overlay :where(.close-button, .wp-lightbox-close-button) {
  position: absolute !important;
  top: var(--tv-lightbox-top-offset) !important;
  right: var(--tv-lightbox-side-offset) !important;
  left: auto !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(26, 22, 19, 0.72) !important;
  color: #fff !important;
  fill: currentColor !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
}

.wp-lightbox-overlay :where(.close-button, .wp-lightbox-close-button):hover {
  background: rgba(26, 22, 19, 0.9) !important;
}

.wp-lightbox-overlay :where(.previous-button, .next-button, .wp-lightbox-navigation-button),
.tv-gallery-lightbox-ui .tv-gallery-lightbox__button {
  position: absolute !important;
  top: 50% !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 48px !important;
  min-width: 38px !important;
  min-height: 48px !important;
  padding: 0 !important;
  transform: translateY(-50%) !important;
  border-radius: 999px !important;
  background: rgba(250, 246, 240, 0.88) !important;
  color: var(--tv-ink) !important;
  fill: currentColor !important;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 2rem !important;
  line-height: 1 !important;
  pointer-events: auto;
}

.wp-lightbox-overlay :where(.previous-button, .next-button, .wp-lightbox-navigation-button):hover,
.tv-gallery-lightbox-ui .tv-gallery-lightbox__button:hover {
  background: #fff !important;
}

.wp-lightbox-overlay :where(.previous-button, .wp-lightbox-navigation-button-prev),
.tv-gallery-lightbox-ui .tv-gallery-lightbox__button--previous {
  left: var(--tv-lightbox-nav-side) !important;
  right: auto !important;
}

.wp-lightbox-overlay :where(.next-button, .wp-lightbox-navigation-button-next),
.tv-gallery-lightbox-ui .tv-gallery-lightbox__button--next {
  right: var(--tv-lightbox-nav-side) !important;
  left: auto !important;
}

.wp-lightbox-overlay :where(.wp-lightbox-close-button, .wp-lightbox-navigation-button) svg {
  fill: currentColor !important;
}

.wp-lightbox-overlay :where(.wp-lightbox-close-button, .wp-lightbox-navigation-button) svg path {
  fill: currentColor !important;
}

.wp-lightbox-overlay .tv-gallery-lightbox__counter,
.tv-gallery-lightbox-ui .tv-gallery-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: var(--tv-lightbox-counter-bottom);
  z-index: 4;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(18, 16, 14, 0.7);
  color: #fff;
  font-size: 0.76rem;
  line-height: 1.3;
  transform: translateX(-50%);
}

.wp-lightbox-overlay :where(button, [role="button"]):focus-visible,
.tv-gallery-lightbox-ui :where(button, [role="button"]):focus-visible {
  outline: 2px solid var(--tv-gold);
  outline-offset: 3px;
}

.wp-lightbox-overlay .lightbox-image-container img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border: 0;
  background: #12100e;
  box-shadow: none;
  object-fit: contain !important;
}

@media (max-width: 640px) {
  .wp-lightbox-overlay,
  .tv-gallery-lightbox-ui {
    --tv-lightbox-width: calc(100vw - 24px);
    --tv-lightbox-height: min(680px, calc(100vh - 24px));
    --tv-lightbox-side-offset: 22px;
    --tv-lightbox-top-offset: max(22px, calc((100vh - 680px) / 2 + 10px));
    --tv-lightbox-nav-side: 20px;
    --tv-lightbox-counter-bottom: 24px;
  }

  .wp-lightbox-overlay :where(.previous-button, .next-button, .wp-lightbox-navigation-button),
  .tv-gallery-lightbox-ui .tv-gallery-lightbox__button {
    width: 36px !important;
    height: 46px !important;
    min-width: 36px !important;
    min-height: 46px !important;
  }
}

.tv-trigger-warning {
  --tv-trigger-bg: rgba(13, 19, 48, 0.95);
  --tv-trigger-text: var(--tv-cream-text);
  --tv-trigger-accent: var(--tv-gold);
  --tv-trigger-link: var(--tv-gold-link);
  --tv-trigger-border: rgba(201, 167, 94, 0.32);
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--tv-current-header-height, 76px));
  z-index: 900;
  width: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0.62rem max(var(--tv-inset), calc((100vw - var(--tv-prose)) / 2));
  background: var(--tv-trigger-bg);
  border-left: 2px solid var(--tv-trigger-accent);
  border-bottom: 1px solid var(--tv-trigger-border);
  color: var(--tv-trigger-text);
  box-shadow: 0 12px 28px rgba(4, 6, 14, 0.16);
}

.tv-trigger-warning--promoted {
  margin-bottom: 0;
}

.tv-trigger-warning > * {
  margin-block-start: 0;
}

@supports (backdrop-filter: blur(4px)) {
  .tv-trigger-warning {
    backdrop-filter: blur(6px);
  }
}

.tv-post--news .tv-trigger-warning,
.tv-post--red-blocks .tv-trigger-warning {
  --tv-trigger-bg: rgba(250, 245, 232, 0.96);
  --tv-trigger-text: var(--tv-ink-muted);
  --tv-trigger-accent: var(--tv-red);
  --tv-trigger-link: var(--tv-navy-800);
  --tv-trigger-border: rgba(206, 17, 38, 0.22);
}

.tv-trigger-warning__copy {
  flex: 1;
  display: block;
  min-width: 0;
  margin: 0;
  color: inherit;
  font-size: 0.86rem;
  line-height: 1.42;
}

.tv-trigger-warning__copy strong {
  color: var(--tv-trigger-accent);
  font-weight: 700;
}

.tv-trigger-warning__copy a {
  color: var(--tv-trigger-link);
  text-underline-offset: 0.16em;
}

.tv-trigger-warning__marker {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.65rem;
  background: var(--tv-trigger-accent);
  transform: rotate(45deg);
  vertical-align: 0.04em;
}

.tv-trigger-warning__close {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--tv-trigger-accent), transparent 64%);
  border-radius: 4px;
  color: var(--tv-trigger-accent);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.tv-trigger-warning__close:hover,
.tv-trigger-warning__close:focus-visible {
  border-color: var(--tv-trigger-accent);
}

.editor-styles-wrapper .tv-trigger-warning {
  position: relative;
  top: auto;
  z-index: auto;
  width: min(100%, var(--tv-prose));
  max-width: 100%;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  column-gap: 0.75rem;
  margin: 1rem auto;
  padding: 0.72rem 1rem;
}

.editor-styles-wrapper .tv-trigger-warning::after {
  content: "\00d7";
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--tv-trigger-accent), transparent 64%);
  border-radius: 4px;
  color: var(--tv-trigger-accent);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1;
}

.editor-styles-wrapper .tv-trigger-warning > .tv-trigger-warning__copy {
  grid-column: 1;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: normal;
}

.editor-styles-wrapper .tv-trigger-warning > :where(.block-library-html__edit, [data-type="core/html"]) {
  display: none !important;
}

.tv-back-to-top {
  position: fixed;
  right: var(--tv-back-to-top-inset);
  bottom: var(--tv-back-to-top-inset);
  z-index: 60;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  padding: 0.72rem 0 0.58rem;
  background: rgba(13, 19, 48, 0.72);
  border: 1px solid var(--tv-gold-border);
  border-radius: var(--tv-radius);
  color: var(--tv-gold);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

@supports (backdrop-filter: blur(4px)) {
  .tv-back-to-top {
    backdrop-filter: blur(4px);
  }
}

.tv-post--news .tv-back-to-top,
.tv-post--red-blocks .tv-back-to-top {
  background: rgba(250, 245, 232, 0.9);
  color: var(--tv-ink);
}

.tv-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tv-back-to-top:hover,
.tv-back-to-top:focus-visible {
  border-color: var(--tv-gold);
  box-shadow: 5px 5px 0 rgba(201, 167, 94, 0.4);
}

.tv-post--news .tv-back-to-top:hover,
.tv-post--news .tv-back-to-top:focus-visible,
.tv-post--red-blocks .tv-back-to-top:hover,
.tv-post--red-blocks .tv-back-to-top:focus-visible {
  box-shadow: 5px 5px 0 rgba(13, 19, 48, 0.28);
}

.tv-back-to-top__chevron {
  width: 11px;
  height: 11px;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  transform: rotate(-45deg);
}

.tv-back-to-top__label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}

.tv-back-to-top__label--mobile {
  display: none;
}

.tv-post-comments {
  --tv-comment-title: var(--tv-cream-text);
  --tv-comment-body: var(--tv-post-text);
  --tv-comment-muted: var(--tv-slate-muted);
  --tv-comment-line: rgba(201, 167, 94, 0.2);
  --tv-comment-accent: var(--tv-post-accent, var(--tv-gold));
  width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding-top: 0.25rem;
  color: var(--tv-comment-body);
}

.tv-post-comments,
.tv-post-comments :where(.wp-block-comment-template, .wp-block-comment-template ol, .wp-block-comment-template li, .tv-comment-row, .tv-comment-row__body, .wp-block-column, .wp-block-comment-content) {
  max-width: 100%;
}

.tv-post--news .tv-post-comments,
.tv-post--red-blocks .tv-post-comments {
  --tv-comment-title: var(--tv-ink);
  --tv-comment-body: var(--tv-post-text);
  --tv-comment-muted: var(--tv-card-subtle);
  --tv-comment-line: rgba(201, 167, 94, 0.42);
  --tv-comment-accent: var(--tv-red-label);
}

.tv-post-comments__header,
.tv-post-comments__header > * {
  margin-block-start: 0;
}

.tv-post-comments__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--tv-comment-accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tv-post-comments__title-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
}

.tv-post-comments .wp-block-comments-title {
  flex: 0 0 auto;
  margin: 0;
  color: var(--tv-comment-title);
  font-family: var(--tv-font-display);
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
}

.tv-post-comments__rule {
  flex: 1;
  height: 1px;
  min-width: 2rem;
  background: var(--tv-comment-line);
}

.tv-post-comments .wp-block-comment-template,
.tv-post-comments .wp-block-comment-template ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv-post-comments .wp-block-comment-template > li {
  margin: 0;
  padding: 0;
}

.tv-post-comments .wp-block-comment-template ol {
  margin-left: 2.5rem;
  padding-left: 1.35rem;
  border-left: 1px solid color-mix(in srgb, var(--tv-comment-accent), transparent 72%);
}

.tv-post-comments .tv-comment-row.wp-block-columns {
  flex-wrap: nowrap !important;
  align-items: flex-start;
  margin: 0;
  padding: 1.15rem 0;
  border-top: 1px solid var(--tv-comment-line);
}

.tv-post-comments .wp-block-comment-template > li:first-child > .tv-comment-row.wp-block-columns {
  border-top: 0;
}

.tv-post-comments .tv-comment-row.wp-block-columns > .wp-block-column {
  min-width: 0;
}

.tv-post-comments .tv-comment-row__avatar {
  flex: 0 0 48px !important;
}

.tv-post-comments .avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tv-comment-accent), transparent 48%);
}

.tv-post-comments .wp-block-comment-template ol .avatar {
  width: 36px;
  height: 36px;
}

.tv-post-comments .tv-comment-row__body {
  flex: 1 1 0 !important;
  min-width: 0;
}

.tv-post-comments .tv-comment-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  align-items: baseline;
  margin: 0 0 0.4rem;
  max-width: 100%;
  min-width: 0;
}

.tv-post-comments .wp-block-comment-author-name {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--tv-comment-title);
  font-family: var(--tv-font-display);
  font-size: 1rem;
  line-height: 1.2;
  max-width: 100%;
}

.tv-post-comments .wp-block-comment-author-name a {
  color: inherit;
  text-decoration: none;
}

.tv-post-comments .bypostauthor .wp-block-comment-author-name::after {
  content: "AUTHOR";
  display: inline-flex;
  align-items: center;
  min-height: 1rem;
  padding: 0.12rem 0.38rem;
  background: var(--tv-comment-accent);
  border-radius: 3px;
  color: var(--tv-navy-850);
  font-family: var(--tv-font-body);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tv-post--news .tv-post-comments .bypostauthor .wp-block-comment-author-name::after,
.tv-post--red-blocks .tv-post-comments .bypostauthor .wp-block-comment-author-name::after {
  color: var(--tv-cream-text);
}

.tv-post-comments .wp-block-comment-date,
.tv-post-comments .wp-block-comment-edit-link {
  color: var(--tv-comment-muted);
  font-family: var(--tv-font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  max-width: 100%;
  text-transform: uppercase;
}

.tv-post-comments .wp-block-comment-date a,
.tv-post-comments .wp-block-comment-edit-link a {
  color: inherit;
  text-decoration: none;
}

.tv-post-comments .wp-block-comment-content {
  color: var(--tv-comment-body);
  font-size: 0.94rem;
  line-height: 1.72;
  overflow-wrap: break-word;
}

.tv-post-comments .wp-block-comment-content a {
  overflow-wrap: anywhere;
}

.tv-post-comments .wp-block-comment-content p {
  margin: 0 0 0.7rem;
}

.tv-post-comments .wp-block-comment-reply-link a {
  color: var(--tv-comment-accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.tv-post-comments .wp-block-comments-pagination {
  margin: 1.25rem 0 2rem;
}

.tv-post-comments .wp-block-post-comments-form {
  margin-top: 1.8rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--tv-comment-line);
}

.tv-post-comments .comment-reply-title {
  margin: 0 0 1rem;
  color: var(--tv-comment-title);
  font-family: var(--tv-font-display);
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.2;
}

.tv-post-comments .comment-reply-title::before {
  content: "Join the discussion";
  display: block;
  margin-bottom: 0.45rem;
  color: var(--tv-comment-accent);
  font-family: var(--tv-font-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tv-post-comments .comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.tv-post-comments .comment-form p {
  margin: 0;
}

.tv-post-comments :where(.comment-notes, .logged-in-as, .comment-form-comment, .comment-form-cookies-consent, .form-submit) {
  grid-column: 1 / -1;
}

.tv-post-comments .comment-form-url {
  display: none;
}

.tv-post-comments .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--tv-comment-muted);
  font-size: 0.82rem;
}

.tv-post-comments .comment-form-cookies-consent input {
  width: 14px;
  height: 14px;
  min-height: 0;
  accent-color: var(--tv-comment-accent);
}

.tv-post-comments :where(
  #respond,
  #commentform,
  .jetpack_remote_comment,
  .highlander-comment-form,
  .jetpack-comment-form,
  #comment-form-identity,
  .comment-form-service,
  .comment-subscription-form,
  .comment-form-posting-as
) {
  max-width: 100%;
  min-width: 0;
}

.tv-post-comments .comment-form:has(.jetpack_remote_comment) {
  display: block;
}

.tv-post-comments .comment-form .jetpack_remote_comment {
  grid-column: 1 / -1;
}

.tv-post-comments .jetpack_remote_comment {
  display: block;
  width: 100% !important;
  min-height: 168px;
  margin: 0;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--tv-comment-accent), transparent 48%) !important;
  border-radius: var(--tv-radius);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--tv-comment-accent), transparent 82%);
  color-scheme: light;
}

.tv-post:not(.tv-post--news):not(.tv-post--red-blocks) .tv-post-comments .jetpack_remote_comment {
  color-scheme: dark;
}

.tv-post-comments :where(.highlander-comment-form, .jetpack-comment-form, #comment-form-identity, .comment-form-service) {
  padding: 0.85rem;
  background: color-mix(in srgb, var(--tv-form-bg), transparent 14%);
  border: 1px solid color-mix(in srgb, var(--tv-comment-accent), transparent 62%);
  border-radius: var(--tv-radius);
  color: var(--tv-comment-body);
  overflow-wrap: anywhere;
}

.tv-post-comments :where(#comment-form-identity, .comment-form-service) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  color: var(--tv-comment-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.tv-post-comments :where(.comment-form-posting-as, .comment-subscription-form) {
  color: var(--tv-comment-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.tv-post-comments :where(
  .comment-form-service a,
  #comment-form-identity a,
  .highlander-comment-form a,
  .jetpack-comment-form a,
  .comment-subscription-form a
) {
  color: var(--tv-comment-accent);
}

.tv-post-comments :where(.comment-subscription-form label) {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: inherit;
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0;
  line-height: inherit;
  text-transform: none;
}

.tv-post-comments :where(.comment-subscription-form input[type="checkbox"]) {
  width: 14px;
  height: 14px;
  min-height: 0;
  margin-top: 0.22rem;
  flex: 0 0 14px;
  accent-color: var(--tv-comment-accent);
}

.tv-post-comments :where(
  .comment-form-service button,
  #comment-form-identity button,
  .highlander-comment-form button,
  .jetpack-comment-form button,
  .jetpack-comment-form input[type="submit"]
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.5rem 0.82rem;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--tv-comment-accent), transparent 42%);
  border-radius: 4px;
  color: var(--tv-comment-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}

.tv-post-comments :where(
  .comment-form-service button:hover,
  .comment-form-service button:focus-visible,
  #comment-form-identity button:hover,
  #comment-form-identity button:focus-visible,
  .highlander-comment-form button:hover,
  .highlander-comment-form button:focus-visible,
  .jetpack-comment-form button:hover,
  .jetpack-comment-form button:focus-visible
) {
  border-color: var(--tv-comment-accent);
  outline: 2px solid color-mix(in srgb, var(--tv-comment-accent), transparent 56%);
  outline-offset: 2px;
}

.tv-post-comments :where(
  .comment-awaiting-moderation,
  .comment-form-notice,
  .jetpack-comment-form-error,
  .jetpack-comment-form-notice,
  .highlander-comment-form .error
) {
  margin: 0 0 0.95rem;
  padding: 0.75rem 0.85rem;
  background: color-mix(in srgb, var(--tv-form-bg), transparent 20%);
  border-left: 2px solid var(--tv-comment-accent);
  color: var(--tv-comment-body);
  font-size: 0.86rem;
  line-height: 1.5;
}

.editor-styles-wrapper .tv-post-comments {
  width: min(100%, var(--tv-prose));
  max-width: 100%;
  min-height: 0 !important;
  margin: 1rem auto !important;
}

.editor-styles-wrapper .tv-post-comments :where(.wp-block-comment-template, [data-type="core/comment-template"]) {
  position: relative;
  display: grid !important;
  gap: 0.75rem;
  min-height: 0 !important;
  margin: 1rem 0 !important;
  padding: 0 !important;
  border-left: 0 !important;
  list-style: none;
}

.editor-styles-wrapper .tv-post-comments :where(.wp-block-comment-template, [data-type="core/comment-template"]) > * {
  display: none !important;
}

.editor-styles-wrapper .tv-post-comments :where(.wp-block-comment-template, [data-type="core/comment-template"])::before,
.editor-styles-wrapper .tv-post-comments :where(.wp-block-comment-template, [data-type="core/comment-template"])::after {
  content: "";
  display: block;
  height: 3.6rem;
  border-top: 1px solid var(--tv-comment-line);
  background:
    radial-gradient(circle at 21px 1.65rem, color-mix(in srgb, var(--tv-comment-accent), transparent 22%) 0 10px, transparent 10.5px),
    linear-gradient(var(--tv-comment-title), var(--tv-comment-title)) 52px 1.12rem / min(34%, 15rem) 0.44rem no-repeat,
    linear-gradient(var(--tv-comment-line), var(--tv-comment-line)) 52px 2.03rem / min(66%, 27rem) 0.36rem no-repeat,
    linear-gradient(var(--tv-comment-line), var(--tv-comment-line)) 52px 2.77rem / min(48%, 21rem) 0.36rem no-repeat;
}

.editor-styles-wrapper .tv-post-comments :where(.wp-block-comment-template, [data-type="core/comment-template"])::after {
  margin-left: 2.4rem;
}

.editor-styles-wrapper .tv-post-comments .wp-block-comments-pagination {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 0 !important;
  margin: 0.75rem 0 1.2rem !important;
}

.editor-styles-wrapper .tv-post-comments .wp-block-comments-pagination
  :where(.wp-block-comments-pagination-previous, .wp-block-comments-pagination-next, .wp-block-comments-pagination-numbers) {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.editor-styles-wrapper .tv-post-comments .wp-block-comments-pagination
  :where(.wp-block-comments-pagination-previous span, .wp-block-comments-pagination-next span) {
  display: inline;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: inherit;
}

/* Legacy first-pass selectors kept as aliases where useful. */

/* Responsive */
@media (max-width: 920px) {
  .tv-header-inner {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .tv-brand .wp-block-site-tagline {
    font-size: 0.78rem;
  }

  .tv-primary-links,
  .tv-primary-nav {
    display: none;
  }

  .tv-menu-toggle {
    display: flex;
  }

  .tv-mobile-links {
    display: none;
  }

  .tv-home-hero__inner,
  .tv-section-hero__inner {
    justify-content: stretch;
  }

  .tv-home-hero .tv-hero-glass,
  .tv-section-hero .tv-hero-glass {
    width: 100%;
    min-width: 0;
  }

  .tv-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-archive-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .tv-filter-chips {
    width: 100%;
    justify-content: flex-start;
  }

  .tv-query-grid .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-detail-strip {
    grid-template-columns: 1fr;
  }

  .tv-detail-strip__image {
    aspect-ratio: 16 / 10;
  }

  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.columns-3,
  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.columns-4 {
    --tv-gallery-columns: 2;
  }

  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.is-style-tv-mosaic.has-nested-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
    .wp-block-gallery.is-style-tv-mosaic
    figure.wp-block-image,
  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
    .wp-block-gallery.is-style-tv-mosaic
    figure.wp-block-image:nth-child(1),
  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
    .wp-block-gallery.is-style-tv-mosaic
    figure.wp-block-image:nth-child(2),
  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
    .wp-block-gallery.is-style-tv-mosaic
    figure.wp-block-image:nth-child(3),
  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
    .wp-block-gallery.is-style-tv-mosaic
    figure.wp-block-image:nth-child(n + 4) {
    grid-column: span 1;
    grid-row: auto;
  }

  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
    .wp-block-gallery.is-style-tv-mosaic
    figure.wp-block-image:nth-child(1) {
    grid-column: span 2;
  }

  .tv-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 2.2rem 3rem;
  }

  .tv-footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .tv-footer-copy {
    max-width: 620px;
    font-size: 1rem;
  }

  .tv-post-hero,
  .tv-cutout-band {
    background-attachment: scroll;
  }

  .tv-back-to-top {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem var(--tv-inset) calc(0.78rem + env(safe-area-inset-bottom, 0px));
    background: rgba(13, 19, 48, 0.92);
    border-width: 1px 0 0;
    border-radius: 0;
    color: var(--tv-gold);
    transform: translateY(100%);
  }

  .tv-back-to-top.is-visible {
    transform: translateY(0);
  }

  .tv-post--news .tv-back-to-top,
  .tv-post--red-blocks .tv-back-to-top {
    background: rgba(13, 19, 48, 0.92);
    color: var(--tv-gold);
  }

  .tv-back-to-top:hover,
  .tv-back-to-top:focus-visible,
  .tv-post--news .tv-back-to-top:hover,
  .tv-post--news .tv-back-to-top:focus-visible,
  .tv-post--red-blocks .tv-back-to-top:hover,
  .tv-post--red-blocks .tv-back-to-top:focus-visible {
    box-shadow: none;
  }

  .tv-back-to-top__label--desktop {
    display: none;
  }

  .tv-back-to-top__label--mobile {
    display: inline;
    font-size: 0.6rem;
    text-transform: uppercase;
  }
}

@media (max-width: 1023px) {
  .tv-post-content > .tv-cutout-band,
  .tv-page-content > .tv-cutout-band,
  .tv-post-content .wp-block-pullquote,
  .tv-page-content .wp-block-pullquote {
    width: min(100%, var(--tv-prose));
    max-width: min(100%, var(--tv-prose));
    margin-left: auto;
    margin-right: auto;
  }

  .tv-post-comments {
    overflow-x: clip;
  }

  .tv-post-comments :where(
    #respond,
    #commentform,
    .jetpack_remote_comment,
    .highlander-comment-form,
    .jetpack-comment-form,
    #comment-form-identity,
    .comment-form-service,
    .comment-subscription-form
  ) {
    width: 100%;
  }

  .tv-post-comments .comment-form:has(.jetpack_remote_comment) {
    display: block;
  }

  .tv-post-comments .jetpack_remote_comment {
    min-height: 168px;
  }

  .tv-post-comments :where(#comment-form-identity, .comment-form-service) {
    align-items: flex-start;
  }

  .tv-post-comments .wp-block-comment-template ol {
    margin-left: clamp(0.45rem, 2.8vw, 0.9rem);
    padding-left: clamp(0.6rem, 3vw, 0.9rem);
  }

  .tv-post-comments .wp-block-comment-template ol ol {
    margin-left: 0.35rem;
    padding-left: 0.55rem;
  }

  .tv-post-comments .tv-comment-row.wp-block-columns {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.35rem 0.7rem !important;
    width: 100%;
  }

  .tv-post-comments .tv-comment-row__avatar {
    width: 40px;
    flex: none !important;
  }

  .tv-post-comments .wp-block-comment-template ol .tv-comment-row.wp-block-columns {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .tv-post-comments .tv-comment-row__body {
    width: 100%;
  }

  .tv-post-comments .wp-block-comment-date,
  .tv-post-comments .wp-block-comment-edit-link {
    letter-spacing: 0.06em;
  }
}

@media (max-width: 560px) {
  :root {
    --tv-header-height: auto;
  }

 

  .tv-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .tv-brand-mark,
  .tv-brand-mark img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .tv-wordmark-main {
    font-size: 0.95rem;
  }

  .tv-wordmark-sub {
    font-size: 0.5rem;
  }

  .tv-mobile-links {
    display: none;
  }

  .tv-home-hero,
  .tv-section-hero {
    min-height: auto;
    padding-block: 3.5rem;
  }

  .tv-hero-glass {
    padding: 1.5rem;
  }

  .tv-hero-glass h1 {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
  }

  .tv-category-grid,
  .tv-route-grid,
  .tv-query-grid .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .tv-divider {
    gap: 0.8rem;
  }
 

  .tv-divider__label {
    white-space: normal;
   
  }

  .tv-post-hero {
    min-height: 78vh;
  }

  .tv-post-hero__inner {
    padding-block: 4rem 2.5rem;
  }

  .tv-post-hero__title h1,
  .tv-post-title-card h1 {
    font-size: clamp(1.75rem, 10vw, 2.6rem);
  }

  .tv-post-title-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100% - 2rem, 560px);
    margin: -5rem auto 0;
  }

  .tv-post--feature .tv-post-article,
  .tv-post--red-blocks .tv-post-article {
    padding-top: 2rem;
  }

  .tv-footer-base,
  .tv-footer-slim {
    align-items: flex-start;
    flex-direction: column;
	margin-block-start: 0;
  }

  .tv-detail-strip,
  .tv-cutout-band {
    width: min(var(--tv-prose), calc(100vw - (var(--tv-inset) * 2)));
    margin-left: auto;
    margin-right: auto;
  }

  .tv-detail-strip {
    gap: 1rem;
  }

  .tv-detail-strip__image {
    aspect-ratio: 16 / 11;
  }

  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery,
  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.columns-2,
  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.columns-3,
  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.columns-4 {
    --tv-gallery-columns: 1;
  }

  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper) .wp-block-gallery.is-style-tv-mosaic.has-nested-images {
    grid-template-columns: minmax(0, 1fr);
  }

  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
    .wp-block-gallery.is-style-tv-mosaic
    figure.wp-block-image:nth-child(1) {
    grid-column: span 1;
  }

  :where(.tv-post-content, .tv-page-content, .editor-styles-wrapper)
    .wp-block-gallery.is-style-tv-mosaic
    figure.wp-block-image:first-child
    figcaption {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
    max-width: none;
  }

  .wp-site-blocks :where(.wp-block-search, .wp-block-search__inside-wrapper) {
    flex-direction: column;
  }

  .wp-site-blocks :where(.wp-block-search__button) {
    width: 100%;
  }

  .tv-trigger-warning {
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
  }

  .tv-trigger-warning__copy {
    font-size: 0.82rem;
  }

  .tv-post-comments .comment-form {
    grid-template-columns: 1fr;
  }
}

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