/*
 * GENERATED FILE - DO NOT EDIT.
 * Built from the files listed in inc/css-manifest.php.
 * Regenerate with: php tools/build-css.php
 */

/* ===== fonts.css ===== */
@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('../fonts/PlusJakartaSans-Variable.woff2') format('woff2-variations');
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Plus Jakarta Sans';
	src: url('../fonts/PlusJakartaSans-Variable-Italic.woff2') format('woff2-variations');
	font-weight: 300 800;
	font-style: italic;
	font-display: swap;
}

/* ===== base.css ===== */
/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  /* Primary brand color */
  --fp-brand: #4fa93d;
  --fp-brand-strong: #3d8a2f;
  /* CTA / action accent - distinct hue on purpose, reserved for buttons. */
  --fp-cta: #ffb300;
  --fp-cta-hover: #e6a200;
  --fp-cta-hover-strong: #b37e00;
  --fp-cta-rgb: 255, 179, 0;
  /* Soft supporting green - badges, borders, gradients, light touches. */
  --fp-accent: #a9dab6;
  --fp-accent-soft: #e8f5ec;
  --fp-secondary: #a9dab6;
  --fp-sage: #a9dab6;
  --fp-black: #132016;
  --fp-graphite: #1f321f;
  --fp-panel: #2e4a2e;
  --fp-white: #ffffff;
  /* Neutral backgrounds - kept green out of the backdrop on purpose, so the
     brand green reads as a bold accent instead of a soft all-over tint. */
  --fp-bg: #ececec;
  --fp-bg-soft: #fafafa;
  --fp-bg-warm: #ebebeb;
  --fp-text: #16241a;
  --fp-text-muted: #44573e;
  --fp-border: #dcdcdc;
  --fp-accent-hover: #7cc08f;
  --fp-accent-hover-soft: #e8f5ec;
  --fp-dark-rgb: 19, 32, 22;
  --fp-graphite-rgb: 31, 50, 31;
  --fp-white-rgb: 255, 255, 255;
  --fp-brand-rgb: 79, 169, 61;
  --fp-accent-rgb: 169, 218, 182;
  --fp-secondary-rgb: 169, 218, 182;
  --fp-shadow-rgb: 19, 32, 22;
  --fp-radius: 14px;
  --fp-btn-radius: 12px;
  --fp-container: 1300px;
  --fp-gutter: 24px;
  --fp-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale - shared rhythm so sections stop compounding independent paddings */
  --fp-space-xs: 16px;
  --fp-space-sm: 24px;
  --fp-space-md: 32px;
  --fp-space-lg: 48px;
  --fp-space-section: 72px;
  --fp-space-section-lg: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 106.25%;
}

body {
  margin: 0;
  font-family: var(--fp-font);
  color: var(--fp-text);
  background: var(--fp-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.fp-main {
  position: relative;
}
.fp-page-motif {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  height: 480px !important;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  mask-image: linear-gradient(to bottom, transparent, black 42%);
}
.fp-page-motif svg {
  width: 100%;
  height: 100%;
  object-position: bottom;
  object-fit: cover;
}
.fp-main > section {
  position: relative;
  z-index: 1;
}

.fp-container {
  max-width: var(--fp-container);
  margin: 0 auto;
  padding: 0 var(--fp-gutter);
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 800;
}

.fp-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  text-align: center;
  margin-bottom: 48px;
  color: var(--fp-text);
}

/* Buttons */
.fp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--fp-btn-radius);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.15s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.15s cubic-bezier(0.2, 0, 0, 1),
    background 0.15s cubic-bezier(0.2, 0, 0, 1),
    border-color 0.15s cubic-bezier(0.2, 0, 0, 1);
  border: 1.5px solid transparent;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.fp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(var(--fp-white-rgb), 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.fp-btn:hover::before {
  transform: translateX(120%);
  transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}
.fp-btn:hover {
  transform: translateY(-2px);
}
.fp-btn:active {
  transform: translateY(0) scale(0.97);
}
.fp-btn:focus-visible {
  outline: 2px solid var(--fp-accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .fp-btn::before {
    display: none;
  }
}
.fp-btn--primary {
  background: linear-gradient(160deg, var(--fp-cta) 0%, var(--fp-cta-hover) 100%);
  border-color: rgba(var(--fp-white-rgb), 0.2);
  color: var(--fp-white);
  box-shadow:
    0 12px 28px rgba(var(--fp-cta-rgb), 0.36),
    inset 0 1px 0 rgba(var(--fp-white-rgb), 0.22);
}
.fp-btn--primary:hover {
  background: linear-gradient(160deg, var(--fp-cta-hover) 0%, var(--fp-cta-hover-strong) 100%);
  border-color: rgba(var(--fp-white-rgb), 0.3);
  box-shadow:
    0 18px 40px rgba(var(--fp-cta-rgb), 0.44),
    inset 0 1px 0 rgba(var(--fp-white-rgb), 0.28);
}
.fp-btn--outline {
  border-color: var(--fp-brand-strong);
  border-width: 2px;
  color: var(--fp-brand-strong);
  background: rgba(var(--fp-white-rgb), 0.68);
  box-shadow: 0 10px 22px rgba(var(--fp-shadow-rgb), 0.06);
}
.fp-btn--outline:hover {
  background: var(--fp-brand-strong);
  border-color: var(--fp-brand-strong);
  color: var(--fp-white);
  box-shadow: 0 14px 30px rgba(var(--fp-brand-rgb), 0.28);
}
.fp-btn--white {
  background: var(--fp-white);
  border-color: var(--fp-border);
  color: var(--fp-black);
  box-shadow: 0 14px 34px rgba(var(--fp-dark-rgb), 0.2);
}
.fp-btn--white:hover {
  background: var(--fp-bg-warm);
  border-color: var(--fp-brand-strong);
}
.fp-btn--lg {
  padding: 12px 24px;
  font-size: 1.05rem;
}
.fp-btn--icon {
  gap: 10px;
}
.fp-btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Shared eyebrow tag, used across sections */
.fp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--fp-radius);
  background: rgba(var(--fp-accent-rgb), 0.14);
  color: var(--fp-accent-soft);
  border: 1px solid rgba(var(--fp-accent-rgb), 0.3);
  margin-bottom: 24px;
}
.fp-eyebrow--dark {
  background: rgba(var(--fp-brand-rgb), 0.1);
  color: var(--fp-brand-strong);
  border-color: rgba(var(--fp-brand-rgb), 0.24);
}
.fp-eyebrow--light {
  background: rgba(var(--fp-white-rgb), 0.14);
  color: var(--fp-white);
  border-color: rgba(var(--fp-white-rgb), 0.24);
}
.fp-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px currentColor22;
}

/* Shared icon badge, used across card grids (why-choose, quick-nav, etc.) */
.fp-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--fp-radius);
  background: linear-gradient(135deg, rgba(var(--fp-accent-rgb), 0.22), rgba(var(--fp-brand-rgb), 0.12));
  color: var(--fp-brand-strong);
  flex-shrink: 0;
}
.fp-icon {
  width: 22px;
  height: 22px;
}
.fp-icon-badge {
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}
:is(.fp-why-card, .fp-quick-nav__card):hover .fp-icon-badge {
  transform: scale(1.08) rotate(-4deg);
}

@media (max-width: 780px) {
  :root {
    --fp-space-xs: 12px;
    --fp-space-sm: 18px;
    --fp-space-md: 24px;
    --fp-space-lg: 34px;
    --fp-space-section: 52px;
    --fp-space-section-lg: 64px;
    --fp-radius: 12px;
    --fp-gutter: 18px;
  }

  html {
    font-size: 100%;
  }

  body {
    line-height: 1.65;
  }

  .fp-section-title {
    font-size: 1.85rem;
    line-height: 1.18;
    margin-bottom: 28px;
  }

  .fp-btn {
    min-height: 48px;
    padding: 13px 18px;
    width: 100%;
    text-align: center;
  }

  .fp-btn--lg {
    padding: 14px 18px;
    font-size: 1rem;
  }

  .fp-eyebrow {
    margin-bottom: 16px;
  }
}

@media (max-width: 420px) {
  :root {
    --fp-gutter: 16px;
  }

  .fp-section-title {
    font-size: 1.7rem;
  }
}

/* Scroll-reveal entrance for card grids - one-shot, JS adds .is-visible via
   IntersectionObserver. Skipped entirely under prefers-reduced-motion. */
.fp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.4s cubic-bezier(0.2, 0, 0, 1),
    transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}
.fp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fp-reveal--1 {
  transition-delay: 0.05s;
}
.fp-reveal--2 {
  transition-delay: 0.1s;
}
.fp-reveal--3 {
  transition-delay: 0.15s;
}
.fp-reveal--4 {
  transition-delay: 0.2s;
}
.fp-reveal--5 {
  transition-delay: 0.25s;
}
@media (prefers-reduced-motion: reduce) {
  .fp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/*
 * WordPress emits .screen-reader-text on markup that must exist for assistive
 * technology but must never be seen: the "Posts pagination" heading from
 * the_posts_pagination(), search form labels, comment navigation headings.
 * Core does not ship a stylesheet for it - every theme supplies its own - so
 * without this rule those strings render as visible page content.
 *
 * clip-path rather than the deprecated clip property, and no display:none /
 * visibility:hidden, which would hide the text from screen readers too and
 * defeat the point.
 */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  word-wrap: normal;
}

/* Skip links and other focusable helpers must become visible when tabbed to. */
.screen-reader-text:focus {
  z-index: 100000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 20px;
  clip-path: none;
  border-radius: var(--fp-btn-radius);
  background: var(--fp-white);
  color: var(--fp-text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(var(--fp-shadow-rgb), 0.18);
}

/* ===== header.css ===== */
/* ==========================================================================
   Header
   ========================================================================== */
.fp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(var(--fp-white-rgb), 0.96);
  backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--fp-border);
  box-shadow: 0 18px 50px rgba(var(--fp-shadow-rgb), 0.08);
}
.fp-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;

}
.fp-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  max-width: 280px;
  min-height: 52px;
  text-decoration: none;
  flex-shrink: 0;
  overflow: hidden;
}
.fp-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.fp-logo .custom-logo-link {
  display: block;
  width: 100%;
  max-width: 100%;
}
.fp-logo__text {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--fp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-nav__list {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}
.fp-nav__list a {
  position: relative;
  color: var(--fp-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 4px;
  overflow-wrap: break-word;
}
.fp-nav__list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fp-accent), var(--fp-secondary));
  transition: width 0.2s ease;
}
.fp-nav__list a:hover {
  color: var(--fp-brand);
}
.fp-nav__list a:hover::after {
  width: 100%;
}

.fp-nav__list--guides {
  gap: 22px;
  padding-left: 22px;
  margin-left: 22px;
  border-left: 1px solid var(--fp-border);
  overflow-x: auto;
  max-width: 46vw;
  scrollbar-width: thin;
}
.fp-nav__list--guides a {
  font-size: 0.85rem;
  white-space: nowrap;
}

.fp-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  align-self: flex-end;
  padding-bottom: 6px;
}
.fp-header__cta {
  display: none;
}
@media (min-width: 860px) {
  .fp-header__cta {
    display: inline-flex;
    min-height: 46px;
    padding: 10px 20px;
    font-size: 0.9rem;
    box-shadow: 0 14px 38px rgba(var(--fp-cta-rgb), 0.28);
  }
}

/* Mobile hamburger toggle */
.fp-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--fp-bg-soft);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  cursor: pointer;
  padding: 0 10px;
}
.fp-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fp-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.fp-nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.fp-nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.fp-nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 860px) {
  .fp-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex: 1;
    align-self: flex-end;
    padding-bottom: 6px;
  }
  .fp-nav-toggle {
    display: none;
  }
}
@media (max-width: 859px) {
  .fp-header__inner {
    gap: 14px;
    min-height: 66px;
  }

  .fp-logo {
    min-width: 0;
    max-width: min(260px, calc(100vw - 112px));
    min-height: 48px;
  }

  .fp-logo__text {
    font-size: 1rem;
  }

  .fp-header__actions {
    align-self: center;
    padding-bottom: 0;
  }

  .fp-nav {
    display: none;
  }
}

.fp-mobile-nav {
  border-top: 1px solid var(--fp-border);
  background: var(--fp-white);
  padding: 20px 24px 28px;
}
.fp-mobile-nav__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fp-mobile-nav__list a {
  display: block;
  min-height: 48px;
  padding: 13px 0;
  color: var(--fp-text-muted);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--fp-border);
}
.fp-mobile-nav__list a:hover {
  color: var(--fp-brand);
}
.fp-mobile-nav__heading {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fp-brand);
}
.fp-mobile-nav__list--guides a {
  font-weight: 400;
  font-size: 0.9rem;
  padding: 12px 0;
}
.fp-mobile-nav__cta {
  width: 100%;
}

@media (max-width: 420px) {
  .fp-mobile-nav {
    padding: 16px 18px 24px;
  }
}

/* ===== hero.css ===== */
/* ==========================================================================
   Hero - black, bold asymmetric layout
   ========================================================================== */
.fp-hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: clamp(32px, 4vw, 56px) 0 0;
  background-image:
    radial-gradient(circle at 74% 58%, rgba(var(--fp-cta-rgb), 0.36) 0%, rgba(var(--fp-cta-rgb), 0) 27%),
    linear-gradient(112deg, rgba(var(--fp-dark-rgb), 0.9) 0%, rgba(var(--fp-graphite-rgb), 0.84) 48%, rgba(var(--fp-brand-rgb), 0.78) 100%),
    url('../images/hero-bg-skyline.jpg');
  background-size: auto, auto, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: var(--fp-white);
}
.fp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--fp-dark-rgb), 0.18), transparent 36%, rgba(var(--fp-white-rgb), 0.035)),
    radial-gradient(ellipse at 50% 120%, rgba(var(--fp-white-rgb), 0.08), transparent 58%);
  pointer-events: none;
}
.fp-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(var(--fp-brand-rgb), 0.18) 0%, rgba(var(--fp-brand-rgb), 0) 36%),
    radial-gradient(circle at 16% 84%, rgba(var(--fp-accent-rgb), 0.14) 0%, rgba(var(--fp-accent-rgb), 0) 34%);
  pointer-events: none;
}
.fp-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--fp-white-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--fp-white-rgb), 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.82;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
  pointer-events: none;
}
.fp-skyline-motif {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  pointer-events: none;
}
.fp-skyline-motif svg {
  width: 100%;
  height: 100%;
}
.fp-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
  padding-bottom: clamp(24px, 3vw, 36px);
}

.fp-hero__headline {
  max-width: 820px;
  font-size: clamp(2.5rem, 3.6vw, 3.75rem);
  line-height: 1.12;
  color: var(--fp-white);
  margin-bottom: 20px;
}
.fp-text-accent {
  color: var(--fp-accent-soft);
  text-shadow: 0 0 36px rgba(var(--fp-accent-rgb), 0.18);
}
.fp-hero__subheading {
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.6;
  color: rgba(var(--fp-white-rgb), 0.78);
  max-width: 56ch;
  margin-bottom: 36px;
}
.fp-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.fp-hero__actions .fp-btn {
  min-height: 44px;
}
.fp-hero__actions .fp-btn--primary {
  box-shadow:
    0 20px 44px rgba(var(--fp-cta-rgb), 0.3),
    inset 0 1px 0 rgba(var(--fp-white-rgb), 0.2);
}
.fp-btn--ghost {
  border-color: rgba(var(--fp-white-rgb), 0.28);
  color: var(--fp-white);
  background: transparent;
}
.fp-btn--ghost:hover {
  border-color: var(--fp-white);
  background: rgba(var(--fp-white-rgb), 0.08);
}

.fp-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 320px;
  perspective: 900px;
}
.fp-hero__chip {
  position: absolute;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--fp-radius);
  background: rgba(var(--fp-dark-rgb), 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--fp-white-rgb), 0.1);
  box-shadow: 0 18px 42px rgba(var(--fp-dark-rgb), 0.42);
  white-space: nowrap;
  animation: fp-float 5s ease-in-out infinite;
}
.fp-hero__chip--1 {
  top: 14px;
  left: -8px;
  color: var(--fp-accent-soft);
}
.fp-hero__chip--2 {
  bottom: 78px;
  right: -10px;
  color: rgba(var(--fp-white-rgb), 0.84);
  animation-delay: 1.5s;
}
@keyframes fp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.fp-hero__card {
  position: relative;
  width: 100%;
  max-width: 360px;
  align-self: center;
}
.fp-hero__card-glow {
  position: absolute;
  inset: -16%;
  z-index: -1;
  background: radial-gradient(circle, rgba(var(--fp-cta-rgb), 0.4) 0%, rgba(var(--fp-cta-rgb), 0) 70%);
  filter: blur(6px);
  pointer-events: none;
}

.fp-hero__ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(var(--fp-accent-rgb), 0.16);
  background: rgba(var(--fp-white-rgb), 0.05);
  overflow: hidden;
  padding: 12px 0;
  padding-right: 56px;
}
.fp-hero__ticker::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64px;
  background: linear-gradient(90deg, transparent, var(--fp-black) 70%);
  pointer-events: none;
}
.fp-hero__ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(var(--fp-white-rgb), 0.62);
  animation: fp-ticker 22s linear infinite;
}
.fp-hero__ticker-track span:nth-child(odd) {
  color: var(--fp-accent-soft);
}
@keyframes fp-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* Pause the ticker: user toggle (WCAG 2.2.2), hover, or keyboard focus */
.fp-hero__ticker.is-paused .fp-hero__ticker-track,
.fp-hero__ticker:hover .fp-hero__ticker-track,
.fp-hero__ticker:focus-within .fp-hero__ticker-track {
  animation-play-state: paused;
}
.fp-hero__ticker-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(var(--fp-white-rgb), 0.24);
  background: rgba(var(--fp-dark-rgb), 0.6);
  color: rgba(var(--fp-white-rgb), 0.8);
  cursor: pointer;
}
.fp-hero__ticker-toggle:hover,
.fp-hero__ticker-toggle:focus-visible {
  border-color: var(--fp-accent-soft);
  color: var(--fp-white);
}
.fp-hero__ticker-toggle .fp-icon {
  width: 16px;
  height: 16px;
}
.fp-hero__ticker-icon--play {
  display: none;
}
.fp-hero__ticker.is-paused .fp-hero__ticker-icon--pause {
  display: none;
}
.fp-hero__ticker.is-paused .fp-hero__ticker-icon--play {
  display: block;
}
.fp-hero__card-pulse {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fp-accent);
  box-shadow: 0 0 0 rgba(var(--fp-accent-rgb), 0.58);
  animation: fp-pulse 2s infinite;
}
@keyframes fp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--fp-accent-rgb), 0.58);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(var(--fp-accent-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--fp-accent-rgb), 0);
  }
}
.fp-hero__card-image {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 30px 70px rgba(var(--fp-dark-rgb), 0.45),
    inset 0 1px 0 rgba(var(--fp-white-rgb), 0.1);
  transition: transform 0.4s ease;
}
.fp-hero__card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (hover: hover) {
  .fp-hero__card-image:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 1180px) {
  .fp-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 44px;
  }
  .fp-hero__headline {
    font-size: clamp(2.25rem, 3.6vw, 3rem);
  }
  .fp-hero__card {
    max-width: 340px;
  }
}

@media (max-width: 860px) {
  .fp-hero {
    min-height: auto;
    padding-top: 34px;
  }
  .fp-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 26px;
  }
  .fp-hero__headline {
    max-width: 100%;
    font-size: clamp(2rem, 7vw, 2.75rem);
    margin-bottom: 16px;
  }
  .fp-hero__subheading {
    margin-bottom: 26px;
  }
  .fp-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .fp-hero__visual {
    order: -1;
    min-height: 260px;
    margin-bottom: 0;
  }
  .fp-hero__chip {
    display: none;
  }
  .fp-hero__card {
    max-width: 380px;
  }
}

@media (max-width: 420px) {
  .fp-hero__visual {
    min-height: 220px;
  }

  .fp-hero__headline {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-hero__chip,
  .fp-hero__card-pulse,
  .fp-hero__ticker-track {
    animation: none;
  }
  /* Already static - the pause toggle has nothing to control. */
  .fp-hero__ticker-toggle {
    display: none;
  }
  .fp-hero__ticker {
    padding-right: 0;
  }
}

/* ===== quick-nav.css ===== */
/* ==========================================================================
   Quick nav
   ========================================================================== */
.fp-quick-nav {
  position: relative;
  overflow: hidden;
  padding: var(--fp-space-md) 0 var(--fp-space-lg);
  background-color: var(--fp-white);
}
.fp-quick-nav__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fp-space-sm);
}
.fp-quick-nav__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 26px;
  border-radius: var(--fp-radius);
  border: 1px solid var(--fp-border);
  background: var(--fp-bg-soft);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(var(--fp-shadow-rgb), 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.fp-quick-nav__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.fp-quick-nav__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(var(--fp-shadow-rgb), 0.1);
  border-color: rgba(var(--fp-brand-rgb), 0.32);
}
.fp-quick-nav__title {
  font-weight: 700;
  color: var(--fp-text);
  overflow-wrap: break-word;
}
.fp-quick-nav__text {
  font-size: 0.9rem;
  color: var(--fp-text-muted);
  overflow-wrap: break-word;
}

@media (max-width: 780px) {
  .fp-quick-nav__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .fp-quick-nav__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fp-quick-nav__card {
    padding: 20px;
  }
}

/* ===== features.css ===== */
/* ==========================================================================
   Feature zig-zag rows
   ========================================================================== */
.fp-features {
  padding: var(--fp-space-section) 0;
  background: var(--fp-white);
}
.fp-features__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--fp-space-lg);
}
.fp-features__intro .fp-section-title {
  margin-bottom: 0;
}
.fp-feature-row__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--fp-radius);
  background: linear-gradient(135deg, rgba(var(--fp-accent-rgb), 0.26), rgba(var(--fp-brand-rgb), 0.12));
  color: var(--fp-black);
  border: 1px solid rgba(var(--fp-accent-rgb), 0.28);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.fp-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fp-space-lg);
  align-items: center;
  margin-bottom: var(--fp-space-section);
}
.fp-feature-row:last-child {
  margin-bottom: 0;
}
.fp-feature-row--reverse {
  direction: rtl;
}
.fp-feature-row--reverse > * {
  direction: ltr;
}
.fp-feature-row__image {
  position: relative;
}
.fp-feature-row__image::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(var(--fp-brand-rgb), 0.16);
  border-radius: 14px;
  z-index: -1;
}
.fp-feature-row__image img {
  width: 100%;
  height: auto;
  border-radius: var(--fp-radius);
  box-shadow: 0 24px 48px rgba(var(--fp-shadow-rgb), 0.14);
  object-fit: contain;
  transition: transform 0.3s ease;
}
.fp-feature-row:hover .fp-feature-row__image img {
  transform: translateY(-4px);
}
.fp-feature-row__content h3 {
  font-size: 1.75rem;
  color: var(--fp-black);
}
.fp-feature-row__content p {
  color: var(--fp-text-muted);
  margin-bottom: 24px;
}

@media (max-width: 780px) {
  .fp-feature-row,
  .fp-feature-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--fp-space-md);
  }

  .fp-feature-row__image img {
    max-height: none;
    aspect-ratio: auto;
  }
}

/* ===== why-choose.css ===== */
/* ==========================================================================
   Why choose us
   ========================================================================== */
.fp-why-choose {
  position: relative;
  overflow: hidden;
  padding: var(--fp-space-section) 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(var(--fp-accent-rgb), 0.14) 0%, rgba(var(--fp-accent-rgb), 0) 40%),
    linear-gradient(rgba(var(--fp-brand-rgb), 0.3), rgba(var(--fp-brand-rgb), 0.3));
  background-color: var(--fp-bg-soft);
  background-size: auto, auto;
  background-position: center, center;
  background-repeat: no-repeat;
}
.fp-why-choose__inner {
  position: relative;
  z-index: 1;
}
.fp-why-choose__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--fp-space-lg);
  align-items: center;
}
.fp-why-choose__title {
  text-align: left;
  margin-bottom: 16px;
}
.fp-why-choose__content p {
  color: var(--fp-text-muted);
  margin-bottom: 28px;
}
.fp-why-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-radius: var(--fp-radius);
  border: 1px solid var(--fp-border);
  box-shadow: 0 16px 32px rgba(var(--fp-shadow-rgb), 0.06);
  transition:
    transform 0.25s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1);
}
.fp-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(var(--fp-shadow-rgb), 0.12);
}
.fp-why-card__image {
  flex-shrink: 0;
  width: 220px;
  height: 160px;
  border-radius: var(--fp-radius);
  overflow: hidden;
  background: var(--fp-bg-soft);
}
.fp-why-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fp-why-card__body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--fp-text);
}
.fp-why-card__body p {
  margin: 0;
  color: var(--fp-text-muted);
}
.fp-why-card--featured {
  background: var(--fp-white);
  border-color: rgba(var(--fp-brand-rgb), 0.3);
  border-width: 2px;
}

@media (max-width: 900px) {
  .fp-why-choose__inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .fp-why-card {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding: 22px;
  }
  .fp-why-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

/* ===== faq.css ===== */
/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.fp-faq {
  padding: var(--fp-space-section) 0;
  background-color: var(--fp-white);
  background-image: url('../images/bg-faq.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.fp-faq__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--fp-space-md);
}
.fp-faq__intro .fp-section-title {
  margin-bottom: 0;
}
.fp-faq__inner {
  max-width: 900px;
}
.fp-accordion {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
}
.fp-accordion__item {
  background: rgba(var(--fp-white-rgb), 0.92);
  border: 1px solid rgba(var(--fp-brand-rgb), 0.14);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(var(--fp-shadow-rgb), 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
/* The expanded item spans both columns so its content has room to breathe. */
.fp-accordion__item:has(.fp-accordion__panel.is-open) {
  grid-column: 1 / -1;
}
@media (max-width: 700px) {
  .fp-accordion {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.fp-accordion__item:has(.fp-accordion__trigger[aria-expanded='true']) {
  border-color: rgba(var(--fp-accent-rgb), 0.42);
  box-shadow: 0 16px 36px rgba(var(--fp-accent-rgb), 0.12);
}
.fp-accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fp-text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.fp-accordion__trigger:hover {
  color: var(--fp-brand-strong);
}
.fp-accordion__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(var(--fp-brand-rgb), 0.12);
  color: var(--fp-brand-strong);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.fp-accordion__trigger[aria-expanded='true'] .fp-accordion__icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--fp-accent), var(--fp-accent-soft));
  color: var(--fp-black);
}
.fp-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--fp-text-muted);
  transition: grid-template-rows 0.3s ease;
}
.fp-accordion__panel.is-open {
  grid-template-rows: 1fr;
}
.fp-accordion__panel-inner {
  overflow: hidden;
  padding: 0 24px 22px;
}

@media (max-width: 480px) {
  .fp-accordion__trigger {
    min-height: 58px;
    padding: 18px;
    gap: 12px;
    font-size: 1rem;
  }

  .fp-accordion__panel-inner {
    padding: 0 18px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fp-accordion__panel {
    transition-duration: 0.01ms;
  }
}

/* ===== guide-accordion.css ===== */
/* ==========================================================================
   Guide accordion (richer panels than the plain FAQ accordion)
   ========================================================================== */
.fp-guide {
  position: relative;
  overflow: hidden;
  padding: var(--fp-space-section) 0;
  background-image:
    radial-gradient(circle at 12% 85%, rgba(var(--fp-brand-rgb), 0.06) 0%, rgba(var(--fp-brand-rgb), 0) 42%),
    linear-gradient(rgba(var(--fp-brand-rgb), 0.3), rgba(var(--fp-brand-rgb), 0.3)),
    linear-gradient(rgba(var(--fp-white-rgb), 0.75), rgba(var(--fp-white-rgb), 0.75)),
    url('../images/bg-guide.png');
  background-color: var(--fp-bg-soft);
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}
.fp-guide__inner {
  position: relative;
  z-index: 1;
}
.fp-guide__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--fp-space-md);
}
.fp-guide__intro .fp-section-title {
  margin-bottom: 0;
}
.fp-guide__inner {
  max-width: 980px;
}
.fp-guide__panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 0 24px 22px;
  overflow: hidden;
}
.fp-guide__panel-image img {
  border-radius: var(--fp-radius);
  width: 100%;
  height: auto;
  box-shadow: 0 16px 32px rgba(var(--fp-shadow-rgb), 0.1);
}
@media (max-width: 700px) {
  .fp-guide__panel {
    grid-template-columns: 1fr;
  }
  .fp-guide__panel-image {
    order: -1;
    margin-bottom: 16px;
  }
}
.fp-guide__panel h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--fp-text);
}
.fp-guide__panel p {
  color: var(--fp-text-muted);
}
.fp-guide__checklist {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fp-guide__checklist li {
  padding-left: 24px;
  position: relative;
  color: var(--fp-text);
  font-size: 0.95rem;
}
.fp-guide__checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--fp-brand-strong);
  font-weight: 700;
}
.fp-guide__cta {
  margin-top: var(--fp-space-lg);
  padding: var(--fp-space-md);
  border-radius: var(--fp-radius);
  background: var(--fp-white);
  box-shadow: 0 16px 32px rgba(var(--fp-shadow-rgb), 0.08);
  text-align: center;
}
.fp-guide__cta h3 {
  font-size: 1.4rem;
  color: var(--fp-text);
  margin-bottom: 8px;
}
.fp-guide__cta p {
  color: var(--fp-text-muted);
  max-width: 620px;
  margin: 0 auto 20px;
}

/* ===== steps.css ===== */
/* ==========================================================================
   Numbered steps / how it works
   ========================================================================== */
.fp-steps {
  position: relative;
  overflow: hidden;
  padding: var(--fp-space-section) 0;
  background: var(--fp-white);
}
.fp-steps__motif {
  z-index: 0;
}
.fp-steps__intro {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--fp-space-lg);
}
.fp-steps__intro .fp-section-title {
  margin-bottom: 0;
}
.fp-steps__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fp-space-sm);
}
.fp-step-card:nth-child(even) {
  transform: translateY(20px);
}
.fp-step-card {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--fp-radius);
  background: var(--fp-bg-soft);
  border: 1px solid var(--fp-border);
  text-align: center;
  box-shadow: 0 16px 32px rgba(var(--fp-shadow-rgb), 0.05);
  transition:
    transform 0.25s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1);
}
.fp-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(var(--fp-shadow-rgb), 0.1);
}
.fp-step-card__icon {
  margin: 0 auto 14px;
}
.fp-step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fp-accent), var(--fp-brand));
  color: var(--fp-white);
  font-weight: 700;
}
.fp-step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--fp-text);
}
.fp-step-card p {
  margin: 0;
  color: var(--fp-text-muted);
  font-size: 0.92rem;
}
.fp-steps__cta {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: var(--fp-space-lg);
}

@media (max-width: 900px) {
  .fp-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .fp-steps__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fp-step-card:nth-child(even) {
    transform: none;
  }
  .fp-step-card {
    padding: 24px 20px;
  }
}

/* ===== comparison-table.css ===== */
/* ==========================================================================
   Comparison table
   ========================================================================== */
.fp-comparison {
  position: relative;
  overflow: hidden;
  padding: var(--fp-space-section) 0;
  background-image:
    radial-gradient(circle at 88% 20%, rgba(var(--fp-accent-rgb), 0.08) 0%, rgba(var(--fp-accent-rgb), 0) 38%),
    url('../images/bg-comparison.png');
  background-color: var(--fp-white);
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.fp-comparison__inner {
  position: relative;
  z-index: 1;
}
.fp-comparison__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--fp-space-md);
}
.fp-comparison__intro .fp-section-title {
  margin-bottom: 0;
}
.fp-comparison__scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border-radius: var(--fp-radius);
  border: 1px solid var(--fp-border);
  background: var(--fp-white);
  box-shadow: 0 20px 44px rgba(var(--fp-shadow-rgb), 0.08);
}
.fp-comparison__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.fp-comparison__table th,
.fp-comparison__table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--fp-border);
  white-space: nowrap;
}
.fp-comparison__table thead th {
  background: var(--fp-bg);
  font-weight: 700;
  color: var(--fp-text);
}
.fp-comparison__table tbody th {
  font-weight: 600;
  color: var(--fp-text);
}
.fp-comparison__table tbody tr:last-child td,
.fp-comparison__table tbody tr:last-child th {
  border-bottom: none;
}
.fp-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.fp-badge--good {
  background: rgba(var(--fp-accent-rgb), 0.18);
  color: var(--fp-brand-strong);
}
.fp-badge--neutral {
  background: var(--fp-bg);
  color: var(--fp-text-muted);
}
.fp-badge--warn {
  background: rgba(217, 119, 6, 0.14);
  color: #92400e;
}
.fp-comparison__note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--fp-text-muted);
}
.fp-comparison__cta {
  margin-top: var(--fp-space-md);
  text-align: center;
}

@media (max-width: 780px) {
  .fp-comparison__scroll {
    margin-right: calc(-1 * var(--fp-gutter));
    padding-bottom: 8px;
    border-right: 0;
    border-radius: var(--fp-radius) 0 0 var(--fp-radius);
  }

  .fp-comparison__table {
    min-width: 720px;
  }

  .fp-comparison__table th,
  .fp-comparison__table td {
    padding: 14px 16px;
  }
}

/* ===== betting-markets.css ===== */
/* ==========================================================================
   Betting markets showcase - dark section, arch image cards, stats row
   ========================================================================== */
.fp-markets {
  position: relative;
  overflow: hidden;
  padding: var(--fp-space-section-lg) 0;
  background: linear-gradient(135deg, var(--fp-black) 0%, var(--fp-graphite) 100%);
  color: var(--fp-white);
}
.fp-markets__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--fp-accent-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--fp-accent-rgb), 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, black 30%, transparent 85%);
  pointer-events: none;
}
.fp-markets__inner {
  position: relative;
  z-index: 1;
}
.fp-markets__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--fp-space-lg);
  margin-bottom: var(--fp-space-lg);
  flex-wrap: wrap;
}
.fp-markets__heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--fp-white);
  max-width: 14ch;
  margin-bottom: 0;
}
.fp-markets__intro {
  max-width: 42ch;
  color: rgba(var(--fp-white-rgb), 0.7);
  text-align: right;
  margin: 0;
}

.fp-markets__row {
  display: flex;
  gap: 20px;
  margin-bottom: var(--fp-space-lg);
}
.fp-markets__card {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}
.fp-markets__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(var(--fp-white-rgb), 0.75);
  white-space: nowrap;
  padding-bottom: 8px;
  flex-shrink: 0;
}
.fp-markets__image {
  width: 100%;
  height: 320px;
  border-radius: 160px 160px 12px 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(var(--fp-dark-rgb), 0.4);
}
.fp-markets__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fp-markets__image-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--fp-brand) 0%, var(--fp-graphite) 100%);
}

.fp-markets__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fp-space-lg);
  padding-top: var(--fp-space-lg);
  border-top: 1px solid rgba(var(--fp-white-rgb), 0.12);
  flex-wrap: wrap;
}
.fp-markets__stats {
  display: flex;
  gap: var(--fp-space-lg);
  flex-wrap: wrap;
}
.fp-markets__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fp-markets__stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fp-accent);
}
.fp-markets__stat-label {
  font-size: 0.85rem;
  color: rgba(var(--fp-white-rgb), 0.65);
}

@media (max-width: 900px) {
  .fp-markets__head {
    align-items: flex-start;
  }
  .fp-markets__intro {
    text-align: left;
  }
}
@media (max-width: 700px) {
  .fp-markets__head {
    gap: 18px;
    margin-bottom: var(--fp-space-md);
  }
  .fp-markets__heading h2 {
    max-width: 100%;
  }
  .fp-markets__row {
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }
  .fp-markets__card {
    flex: 0 0 auto;
  }
  .fp-markets__image {
    width: 130px;
    height: 260px;
    border-radius: 130px 130px 10px 10px;
  }
  .fp-markets__footer {
    gap: var(--fp-space-md);
    padding-top: var(--fp-space-md);
  }
  .fp-markets__stats {
    width: 100%;
    gap: 20px;
  }
}

/* ===== testimonials.css ===== */
/* ==========================================================================
   Testimonials
   ========================================================================== */
.fp-testimonials {
  padding: var(--fp-space-section) 0;
  background-color: var(--fp-white);
  background-image:
    linear-gradient(rgba(var(--fp-white-rgb), 0.85), rgba(var(--fp-white-rgb), 0.85)),
    url('../images/bg-testimonials.png');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.fp-testimonials__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--fp-space-md);
}
.fp-testimonials__intro .fp-section-title {
  margin-bottom: 0;
}
.fp-testimonials__carousel {
  position: relative;
}
.fp-testimonials__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 8px 16px;
}
.fp-testimonials__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.fp-testimonials__control {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(var(--fp-brand-rgb), 0.22);
  border-radius: 50%;
  background: var(--fp-white);
  color: var(--fp-brand-strong);
  box-shadow: 0 12px 28px rgba(var(--fp-shadow-rgb), 0.1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  line-height: 1;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.fp-testimonials__control span {
  display: block;
  font-size: 1.8rem;
  line-height: 0.8;
  transform: translateY(-1px);
}
.fp-testimonials__control:hover,
.fp-testimonials__control:focus-visible {
  background: var(--fp-brand-strong);
  border-color: var(--fp-brand-strong);
  color: var(--fp-white);
  outline: none;
}
.fp-testimonials__control:focus-visible {
  box-shadow:
    0 0 0 3px rgba(var(--fp-accent-rgb), 0.55),
    0 12px 28px rgba(var(--fp-shadow-rgb), 0.1);
}
.fp-testimonials__control:active {
  transform: scale(0.96);
}
.fp-testimonials__control:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.fp-testimonial-card {
  position: relative;
  flex: 0 0 min(360px, 85vw);
  scroll-snap-align: start;
  background: rgba(var(--fp-white-rgb), 0.94);
  border: 1px solid rgba(var(--fp-brand-rgb), 0.14);
  border-radius: 12px;
  padding: 36px 32px 28px;
  box-shadow: 0 20px 40px rgba(var(--fp-shadow-rgb), 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  overflow: hidden;
}
.fp-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(var(--fp-shadow-rgb), 0.12);
  border-color: rgba(var(--fp-accent-rgb), 0.36);
}
.fp-testimonial-card__quote-mark {
  position: absolute;
  top: -4px;
  right: 20px;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(var(--fp-accent-rgb), 0.14);
  line-height: 1;
  pointer-events: none;
}
.fp-testimonial-card__rating {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.fp-star {
  color: var(--fp-border);
  font-size: 0.95rem;
}
.fp-star--filled {
  color: var(--fp-accent);
}
.fp-testimonial-card__quote {
  position: relative;
  font-size: 1.05rem;
  margin-bottom: 28px;
  color: var(--fp-text);
}
.fp-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--fp-border);
}
.fp-testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fp-accent), var(--fp-accent-soft));
  color: var(--fp-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.fp-testimonial-card__author div {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}
.fp-testimonial-card__author span {
  color: var(--fp-text-muted);
}

@media (max-width: 780px) {
  .fp-testimonials__track {
    gap: 16px;
    margin-right: calc(-1 * var(--fp-gutter));
    padding-right: var(--fp-gutter);
    scrollbar-width: none;
  }

  .fp-testimonials__track::-webkit-scrollbar {
    display: none;
  }

  .fp-testimonials__controls {
    display: flex;
  }

  .fp-testimonial-card {
    flex-basis: min(340px, 84vw);
    padding: 32px 24px 24px;
  }
}

/* ===== blog.css ===== */
/* ==========================================================================
   Blog listing
   ========================================================================== */
.fp-blog {
  padding: 64px 0 96px;
}
.fp-blog__header {
  margin-bottom: 40px;
}
.fp-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.fp-post-card {
  background: var(--fp-white);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(var(--fp-shadow-rgb), 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.fp-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(var(--fp-shadow-rgb), 0.12);
}
.fp-post-card__thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--fp-border);
}
.fp-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fp-post-card__thumb-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--fp-brand), var(--fp-secondary));
}
.fp-post-card__body {
  padding: 20px;
}
.fp-post-card__date {
  font-size: 0.8rem;
  color: var(--fp-text-muted);
}
.fp-post-card__title a {
  color: var(--fp-text);
  text-decoration: none;
}
.fp-post-card__excerpt {
  color: var(--fp-text-muted);
  font-size: 0.95rem;
}
.fp-post-card__link {
  color: var(--fp-brand);
  font-weight: 600;
  text-decoration: none;
}
/*
 * the_posts_pagination() renders <nav class="navigation pagination"> wrapping
 * a .nav-links div of .page-numbers items. The gap used to sit on
 * .fp-pagination, which only ever had one child (the nav), so it did nothing -
 * the numbers themselves were unstyled default links.
 */
.fp-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.fp-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.fp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 44px minimum touch target, matching the mobile rules elsewhere. */
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-btn-radius);
  background: var(--fp-white);
  color: var(--fp-text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.fp-pagination a.page-numbers:hover,
.fp-pagination a.page-numbers:focus-visible {
  border-color: var(--fp-brand);
  background: var(--fp-accent-soft);
  color: var(--fp-brand-strong);
}
.fp-pagination .page-numbers.current {
  border-color: var(--fp-brand);
  background: var(--fp-brand);
  color: var(--fp-white);
}
/* The ellipsis is not a link - no box around it. */
.fp-pagination .page-numbers.dots {
  min-width: 0;
  padding: 0 4px;
  border-color: transparent;
  background: transparent;
  color: var(--fp-text-muted);
}

@media (max-width: 600px) {
  .fp-blog {
    padding: 44px 0 64px;
  }

  .fp-blog__header {
    margin-bottom: 28px;
  }

  .fp-blog__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fp-post-card__body {
    padding: 18px;
  }

  .fp-post-card__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .fp-pagination {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
  }
}

/* ===== latest-guides.css ===== */
/* ==========================================================================
   Latest guides / blog teaser (reuses .fp-post-card from blog.css)
   ========================================================================== */
.fp-latest-guides {
  padding: var(--fp-space-section) 0;
  background: var(--fp-white);
}
.fp-latest-guides__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--fp-space-lg);
}
.fp-latest-guides__intro .fp-section-title {
  margin-bottom: 0;
}
.fp-post-card--featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin-bottom: var(--fp-space-md);
}
.fp-post-card--featured .fp-post-card__thumb {
  aspect-ratio: auto;
  height: 100%;
}
.fp-post-card--featured .fp-post-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fp-post-card--featured .fp-post-card__title {
  font-size: 1.5rem;
}
.fp-latest-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fp-space-sm);
}
.fp-latest-guides__cta {
  text-align: center;
  margin-top: var(--fp-space-lg);
}

@media (max-width: 900px) {
  .fp-post-card--featured {
    grid-template-columns: 1fr;
  }
  .fp-latest-guides__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .fp-latest-guides__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fp-latest-guides__intro {
    margin-bottom: var(--fp-space-md);
  }

  .fp-post-card--featured .fp-post-card__body {
    padding: 22px 18px;
  }

  .fp-post-card--featured .fp-post-card__title {
    font-size: 1.25rem;
  }
}

/* ===== cta.css ===== */
/* ==========================================================================
   Pre-footer CTA
   ========================================================================== */
.fp-precta {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(var(--fp-dark-rgb), 0.82), rgba(var(--fp-dark-rgb), 0.88)),
    url('../images/bg-precta.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: rgba(var(--fp-white-rgb), 0.82);
  padding: var(--fp-space-section) 0;
  text-align: center;
}
.fp-precta__glow {
  display: none;
}
.fp-precta__inner {
  position: relative;
  z-index: 1;
}
.fp-precta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--fp-white);
}
.fp-precta p {
  max-width: 50ch;
  margin: 0 auto 32px;
  opacity: 0.9;
}
.fp-precta .fp-btn--white {
  background: linear-gradient(160deg, var(--fp-cta) 0%, var(--fp-cta-hover) 100%);
  border-color: transparent;
  color: var(--fp-white);
  box-shadow: 0 10px 26px rgba(var(--fp-cta-rgb), 0.32);
}
.fp-precta .fp-btn--white:hover {
  background: linear-gradient(160deg, var(--fp-cta-hover) 0%, var(--fp-cta-hover-strong) 100%);
}

@media (max-width: 600px) {
  .fp-precta h2 {
    font-size: 1.65rem;
  }

  .fp-precta p {
    margin-bottom: 24px;
  }
}

/* ===== footer.css ===== */
/* ==========================================================================
   Footer
   ========================================================================== */
.fp-footer {
  position: relative;
  overflow: hidden;
  background: var(--fp-white);
  color: var(--fp-text-muted);
}
.fp-footer__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: var(--fp-space-lg) 24px 0;
  flex-wrap: wrap;
}
.fp-footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.fp-footer__brand p {
  margin: 0;
  color: var(--fp-text-muted);
  max-width: 46ch;
  line-height: 1.6;
}
.fp-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  padding: var(--fp-space-lg) 24px;
}
.fp-footer__top ~ .fp-footer__inner {
  padding-top: var(--fp-space-md);
}
/* Whichever single column survives (disclaimer/guides/contact are all
   conditional) should span the full row instead of being squeezed into
   its own grid track while empty siblings waste the rest of the width. */
.fp-footer__inner:has(> .fp-footer__col:only-child) > .fp-footer__col {
  grid-column: 1 / -1;
}
.fp-footer .fp-logo {
  display: inline-flex;
  align-items: center;
  color: var(--fp-text);
  flex-shrink: 0;
  width: 220px;
  max-width: 100%;
}
.fp-footer .fp-logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.fp-footer .fp-logo .custom-logo-link {
  display: block;
  width: 100%;
  max-width: 100%;
}
.fp-footer .fp-logo__text {
  font-weight: 700;
  font-size: 1.2rem;
}

.fp-footer__disclaimer {
  font-size: 0.88rem;
  color: var(--fp-text-muted);
  max-width: 42ch;
  line-height: 1.7;
}
.fp-footer h4 {
  color: var(--fp-brand);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: var(--fp-space-sm);
}
.fp-footer__col p {
  margin: 0 0 8px;
}
.fp-footer__col--guides {
  min-width: 0;
}
.fp-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 14px;
}
.fp-footer__nav a,
.fp-footer__col a {
  display: inline-block;
  color: var(--fp-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  overflow-wrap: break-word;
}
.fp-footer__nav a:hover,
.fp-footer__col a:hover {
  color: var(--fp-brand);
  transform: translateX(2px);
}

@media (max-width: 560px) {
  .fp-footer__nav {
    grid-template-columns: 1fr;
  }
}
.fp-footer__legal {
  border-top: 1px solid var(--fp-border);
  padding: var(--fp-space-sm) 0;
  font-size: 0.82rem;
}
.fp-footer__legal-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--fp-text-muted);
}
.fp-footer__legal-links a {
  display: inline-block;
  color: var(--fp-text-muted);
  margin-left: 8px;
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.fp-footer__legal-links a:hover {
  color: var(--fp-brand);
}

@media (max-width: 780px) {
  .fp-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fp-footer__top-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .fp-footer .fp-logo {
    width: 200px;
  }
}

@media (max-width: 420px) {
  .fp-footer .fp-logo {
    width: 180px;
  }
}

/* ===== single-post.css ===== */
/* ==========================================================================
   Single post
   ========================================================================== */
.fp-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--fp-brand);
  z-index: 100;
  transition: width 0.1s linear;
}
.fp-single-post__hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.fp-single-post__layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.fp-single-post__content {
  min-width: 0;
}
.fp-single-post__header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  overflow-wrap: break-word;
  word-break: normal;
}
.fp-single-post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--fp-text-muted);
  font-size: 0.9rem;
}
.fp-single-post__body {
  font-size: 1.05rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.fp-single-post__body > * {
  max-width: 100%;
  margin-top: 0;
  margin-bottom: 24px;
}
.fp-single-post__body > :last-child {
  margin-bottom: 0;
}
.fp-single-post__body h2 {
  margin-top: 44px;
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: normal;
}
.fp-single-post__body h3 {
  margin-top: 34px;
  margin-bottom: 14px;
  overflow-wrap: break-word;
  word-break: normal;
}
.fp-single-post__body p,
.fp-single-post__body li {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.fp-single-post__body ul,
.fp-single-post__body ol {
  padding-left: 1.35em;
}
.fp-single-post__body li + li {
  margin-top: 8px;
}
.fp-single-post__body a {
  color: var(--fp-brand-strong);
  text-underline-offset: 3px;
}
.fp-single-post__body img {
  height: auto;
  border-radius: var(--fp-radius);
}
.fp-single-post__body figure {
  margin-left: 0;
  margin-right: 0;
}
.fp-single-post__body figcaption {
  margin-top: 8px;
  color: var(--fp-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.fp-single-post__body blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 18px 22px;
  border-left: 4px solid var(--fp-brand);
  background: var(--fp-bg-soft);
  border-radius: 0 var(--fp-radius) var(--fp-radius) 0;
}
.fp-single-post__body .wp-block-table {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.fp-single-post__body table {
  width: auto;
  max-width: 760px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  table-layout: auto;
}
.fp-single-post__body > table {
  display: table;
  max-width: 100%;
}
.fp-single-post__body th,
.fp-single-post__body td {
  padding: 12px 14px;
  border: 1px solid var(--fp-border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}
.fp-single-post__body thead th {
  background: var(--fp-bg);
  color: var(--fp-text);
}
.fp-toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  padding: 20px;
  background: var(--fp-white);
}
.fp-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}
.fp-toc a {
  color: var(--fp-text-muted);
  text-decoration: none;
}
.fp-toc a:hover {
  color: var(--fp-brand);
}
.fp-related-posts {
  padding: 48px 0 80px;
  border-top: 1px solid var(--fp-border);
}
.fp-related-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.fp-related-posts__item {
  display: flex;
  flex-direction: column;
  /* Cards were collapsing to their content height, so a card with an image
     and one without sat at different sizes in the same row. */
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  background: var(--fp-white);
  color: var(--fp-text);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.fp-related-posts__item:hover,
.fp-related-posts__item:focus-visible {
  transform: translateY(-2px);
  border-color: var(--fp-accent);
  box-shadow: 0 10px 24px rgba(var(--fp-shadow-rgb), 0.1);
}
.fp-related-posts__thumb {
  display: block;
  aspect-ratio: 16/10;
  background: var(--fp-bg-soft);
}
/*
 * The bug behind the oversized related-post image: aspect-ratio and
 * object-fit were set, but with no width the img rendered at its intrinsic
 * size and blew past the card. width/height 100% is what makes the ratio
 * actually govern the box.
 */
.fp-related-posts__thumb img,
.fp-related-posts__thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fp-related-posts__thumb-fallback {
  background: linear-gradient(135deg, var(--fp-accent-soft), var(--fp-bg-warm));
}
.fp-related-posts__title {
  display: block;
  padding: 14px 16px 16px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
}
.fp-related-posts__item:hover .fp-related-posts__title {
  color: var(--fp-brand-strong);
}

/*
 * Previous/next post navigation. Note the_post_navigation()'s 'class' arg
 * REPLACES the default "post-navigation" rather than adding to it, so the
 * emitted markup is <nav class="navigation fp-post-nav">, with a .nav-links
 * wrapper holding .nav-previous / .nav-next.
 */
.fp-post-nav {
  padding: 40px 0 0;
  border-top: 1px solid var(--fp-border);
}
.fp-post-nav .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
/* Only one neighbour exists on the first/last post - keep it on its own
   side rather than letting it stretch across both columns. */
.fp-post-nav .nav-next:only-child {
  grid-column: 2;
}
.fp-post-nav .nav-previous,
.fp-post-nav .nav-next {
  display: flex;
}
.fp-post-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  background: var(--fp-white);
  color: var(--fp-text);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.fp-post-nav a:hover,
.fp-post-nav a:focus-visible {
  border-color: var(--fp-accent);
  box-shadow: 0 10px 24px rgba(var(--fp-shadow-rgb), 0.1);
}
.fp-post-nav .nav-next a {
  text-align: right;
}
.fp-post-nav__label {
  color: var(--fp-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fp-post-nav__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}
.fp-post-nav a:hover .fp-post-nav__title {
  color: var(--fp-brand-strong);
}

@media (max-width: 900px) {
  .fp-single-post__layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 52px;
  }
  .fp-toc {
    position: static;
  }
}

@media (max-width: 600px) {
  .fp-single-post__hero img {
    max-height: 300px;
  }

  .fp-single-post__layout {
    padding-top: 32px;
    padding-bottom: 44px;
  }

  .fp-single-post__header h1 {
    font-size: 1.65rem;
    line-height: 1.18;
    margin-bottom: 18px;
  }

  .fp-single-post__meta {
    margin-bottom: 28px;
  }

  .fp-single-post__body {
    font-size: 1rem;
    line-height: 1.75;
  }

  .fp-single-post__body > * {
    margin-bottom: 22px;
  }

  .fp-single-post__body h2 {
    margin-top: 38px;
    font-size: 1.45rem;
  }

  .fp-single-post__body h3 {
    margin-top: 30px;
    font-size: 1.2rem;
  }

  .fp-single-post__body ul,
  .fp-single-post__body ol {
    padding-left: 1.15em;
  }

  .fp-single-post__body blockquote {
    padding: 16px 18px;
  }

  .fp-single-post__body th,
  .fp-single-post__body td {
    padding: 11px 12px;
  }

  .fp-single-post__body table {
    width: max-content;
    max-width: none;
    min-width: 640px;
    margin-left: 0;
    margin-right: 0;
  }

  .fp-single-post__body .wp-block-table {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .fp-single-post__body > table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fp-toc {
    padding: 18px;
  }

  .fp-toc a {
    display: block;
    min-height: 40px;
    padding: 7px 0;
  }

  .fp-related-posts {
    padding: 36px 0 56px;
  }
}

@media (max-width: 600px) {
  .fp-post-nav .nav-links {
    grid-template-columns: 1fr;
  }

  .fp-post-nav .nav-next:only-child {
    grid-column: 1;
  }

  .fp-post-nav .nav-next a {
    text-align: left;
  }
}
