/*
Theme Name: FF Täfertingen Redesign
Theme URI: https://feuerwehr-taefertingen.de/
Author: FF Täfertingen
Author URI: https://feuerwehr-taefertingen.de/
Description: Eigenes Classic/Hybrid WordPress Theme für die Freiwillige Feuerwehr Täfertingen.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: ff-taefertingen
*/
:root {
  --ff-red: #d71920;
  --ff-red-dark: #a70f15;
  --ff-dark: #0d1117;
  --ff-dark-soft: #171b22;
  --ff-text: #111827;
  --ff-muted: #6b7280;
  --ff-border: #e5e7eb;
  --ff-bg: #f6f7f9;
  --ff-card: #ffffff;
  --ff-orange: #f59e0b;
  --ff-blue: #1d4ed8;
  --ff-green: #16a34a;
  --ff-purple: #7c3aed;
  --ff-radius: 14px;
  --ff-radius-sm: 9px;
  --ff-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --ff-shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.06);
  --ff-container: 1180px;
  --ff-gutter: 24px;
  --ff-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--ff-font);
  color: var(--ff-text);
  background: var(--ff-bg);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--ff-red);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input,
textarea,
select {
  font: inherit;
}
.ff-container {
  width: min(calc(100% - 40px), var(--ff-container));
  margin-inline: auto;
}
.ff-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}
.ff-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ff-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}
.ff-brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ff-red);
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(215, 25, 32, 0.28);
}
.ff-brand-mark svg {
  width: 30px;
  height: 30px;
}
.ff-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ff-brand-title {
  line-height: 1.12;
  text-transform: uppercase;
}
.ff-brand-title span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.ff-brand-title strong {
  display: block;
  font-size: 24px;
  letter-spacing: 0.01em;
}
.ff-nav-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
}
.ff-primary-menu,
.ff-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ff-primary-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.ff-primary-menu a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 15px;
}
.ff-primary-menu .current-menu-item > a,
.ff-primary-menu .current_page_item > a,
.ff-primary-menu a:hover {
  color: #fff;
}
.ff-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}
.ff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: var(--ff-radius-sm);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.ff-btn:hover {
  transform: translateY(-1px);
}
.ff-btn-primary {
  color: #fff;
  background: var(--ff-red);
  box-shadow: 0 10px 22px rgba(215, 25, 32, 0.22);
}
.ff-btn-primary:hover {
  color: #fff;
  background: var(--ff-red-dark);
}
.ff-btn-secondary {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.35);
}
.ff-btn-secondary:hover {
  color: #fff;
  background: rgba(255,255,255,.14);
}
.ff-btn-ghost {
  color: var(--ff-red);
  border-color: var(--ff-border);
  background: #fff;
}
.ff-btn-ghost:hover {
  border-color: rgba(215,25,32,.28);
  background: #fff5f5;
}
.ff-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ff-dark);
}
.ff-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,8,13,.94) 0%, rgba(5,8,13,.74) 39%, rgba(5,8,13,.28) 75%), var(--ff-hero-image, url("assets/img/hero-placeholder.svg"));
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.ff-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(0deg, rgba(13,17,23,.65), transparent);
}
.ff-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 70px 0;
}
.ff-hero-small .ff-hero-inner {
  min-height: 260px;
  padding: 58px 0;
}
.ff-hero-content {
  width: min(650px, 100%);
}
.ff-eyebrow,
.ff-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
.ff-breadcrumbs a:hover {
  color: #fff;
}
.ff-hero h1,
.ff-page-title {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 900;
}
.ff-hero-small h1 {
  font-size: clamp(38px, 4vw, 56px);
}
.ff-hero p {
  margin: 20px 0 0;
  max-width: 600px;
  color: rgba(255,255,255,.9);
  font-size: 19px;
  line-height: 1.55;
}
.ff-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.ff-main {
  background: var(--ff-bg);
}
.ff-section {
  padding: 56px 0;
}
.ff-section-tight {
  padding: 34px 0;
}
.ff-section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.ff-section-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 900;
}
.ff-section-kicker {
  color: var(--ff-red);
  font-weight: 900;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 9px;
}
.ff-section-intro {
  margin: 8px 0 0;
  color: var(--ff-muted);
  max-width: 680px;
}
.ff-link-red {
  color: var(--ff-red);
  font-weight: 900;
  font-size: 14px;
}
.ff-stat-strip {
  background: #fff;
  border-bottom: 1px solid var(--ff-border);
}
.ff-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ff-stat-item {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 18px;
  border-right: 1px solid var(--ff-border);
}
.ff-stat-item:last-child {
  border-right: 0;
}
.ff-stat-icon,
.ff-icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: var(--ff-red);
  background: #fff5f5;
}
.ff-stat-icon svg,
.ff-icon-box svg {
  width: 26px;
  height: 26px;
}
.ff-stat-item strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
}
.ff-stat-item span {
  display: block;
  color: var(--ff-muted);
  font-size: 14px;
  margin-top: 3px;
}
.ff-grid {
  display: grid;
  gap: var(--ff-gutter);
}
.ff-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ff-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ff-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ff-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr) minmax(300px, .72fr);
  gap: var(--ff-gutter);
  align-items: start;
}
.ff-card,
.ff-panel,
.ff-news-card,
.ff-event-card,
.ff-download-card,
.ff-person-card,
.ff-vehicle-card,
.ff-filter-bar {
  background: var(--ff-card);
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-soft);
}
.ff-news-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.ff-news-image,
.ff-card-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #111827, #d71920);
  overflow: hidden;
}
.ff-news-image img,
.ff-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ff-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ff-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ff-muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.ff-card-meta svg {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}
.ff-card-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.ff-card-title a:hover {
  color: var(--ff-red);
}
.ff-card-excerpt {
  color: var(--ff-muted);
  font-size: 14px;
  margin: 10px 0 18px;
}
.ff-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ff-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 6px;
  color: #fff;
  background: var(--ff-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.ff-badge-orange {
  background: var(--ff-orange);
}
.ff-badge-blue {
  background: var(--ff-blue);
}
.ff-badge-green {
  background: var(--ff-green);
}
.ff-badge-purple {
  background: var(--ff-purple);
}
.ff-arrow {
  color: var(--ff-red);
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}
.ff-panel {
  padding: 22px;
}
.ff-list {
  display: grid;
  gap: 12px;
}
.ff-incident-mini,
.ff-event-mini {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--ff-border);
}
.ff-incident-mini:last-child,
.ff-event-mini:last-child {
  border-bottom: 0;
}
.ff-incident-mini time,
.ff-event-mini time {
  color: var(--ff-muted);
  font-size: 12px;
  font-weight: 800;
}
.ff-incident-mini strong,
.ff-event-mini strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}
.ff-incident-mini span,
.ff-event-mini span {
  display: block;
  color: var(--ff-muted);
  font-size: 13px;
}
.ff-small-btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid var(--ff-border);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  background: #fff;
}
.ff-small-btn:hover {
  border-color: rgba(215,25,32,.3);
  background: #fff5f5;
}
.ff-date-block {
  display: grid;
  place-items: center;
  min-width: 70px;
  color: var(--ff-red);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}
.ff-date-block strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.04em;
}
.ff-date-block span {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
}
.ff-cta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
}
.ff-cta-tile {
  padding: 28px 24px;
  background: #fff;
  border-right: 1px solid var(--ff-border);
  min-height: 170px;
}
.ff-cta-tile:last-child {
  border-right: 0;
}
.ff-cta-tile h3 {
  margin: 14px 0 5px;
  font-size: 18px;
  line-height: 1.2;
}
.ff-cta-tile p {
  margin: 0;
  color: var(--ff-muted);
  font-size: 14px;
}
.ff-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.4fr;
  gap: 14px;
  padding: 16px;
  margin: 28px 0;
}
.ff-filter-bar select,
.ff-filter-bar input,
.ff-field,
.ff-form input,
.ff-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--ff-border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--ff-text);
  outline: 0;
}
.ff-filter-bar select:focus,
.ff-filter-bar input:focus,
.ff-form input:focus,
.ff-form textarea:focus {
  border-color: rgba(215,25,32,.45);
  box-shadow: 0 0 0 4px rgba(215,25,32,.08);
}
.ff-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ff-border);
  margin-bottom: 0;
}
.ff-tab {
  padding: 15px 18px;
  border-bottom: 3px solid transparent;
  font-weight: 900;
  color: var(--ff-muted);
}
.ff-tab-active {
  color: var(--ff-red);
  border-color: var(--ff-red);
}
.ff-incident-table {
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  overflow: hidden;
  box-shadow: var(--ff-shadow-soft);
}
.ff-incident-row {
  display: grid;
  grid-template-columns: 90px 130px minmax(180px, 260px) 1fr 70px 110px;
  gap: 18px;
  align-items: center;
  padding: 17px 20px;
  border-top: 1px solid var(--ff-border);
}
.ff-incident-row:first-child {
  border-top: 0;
}
.ff-incident-row p {
  margin: 0;
  color: var(--ff-muted);
  font-size: 14px;
}
.ff-page-header-light {
  padding: 64px 0 24px;
  background: linear-gradient(90deg, #fff 0%, #fff 55%, rgba(215,25,32,.05) 100%);
}
.ff-page-header-light h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -.05em;
}
.ff-page-header-light p {
  color: var(--ff-muted);
  max-width: 700px;
  margin: 16px 0 0;
}
.ff-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
}
.ff-article {
  background: #fff;
  border-radius: var(--ff-radius);
  border: 1px solid var(--ff-border);
  box-shadow: var(--ff-shadow-soft);
  overflow: hidden;
}
.ff-article-header {
  padding: 34px 34px 26px;
}
.ff-article-header h1 {
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.ff-article-header .ff-card-meta {
  margin-top: 22px;
  margin-bottom: 0;
}
.ff-article-content {
  padding: 0 34px 38px;
}
.ff-article-content h2,
.ff-content h2 {
  margin: 34px 0 12px;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.ff-article-content p,
.ff-content p {
  color: #303746;
}
.ff-article-content ul,
.ff-content ul {
  color: #303746;
}
.ff-featured {
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, var(--ff-dark), var(--ff-red));
  overflow: hidden;
}
.ff-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ff-sidebar-card {
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  padding: 24px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-incident-detail-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.ff-incident-detail-nav-link,
.ff-incident-detail-nav-empty {
  min-height: 96px;
}
.ff-incident-detail-nav-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 20px;
  color: var(--ff-text);
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-soft);
}
.ff-incident-detail-nav-next {
  grid-template-columns: minmax(0, 1fr) 42px;
  text-align: right;
}
.ff-incident-detail-nav-link:hover {
  border-color: rgba(215, 25, 32, 0.32);
  transform: translateY(-1px);
}
.ff-incident-detail-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--ff-red);
  border-radius: 4px;
}
.ff-incident-detail-nav-prev .ff-incident-detail-nav-icon {
  transform: rotate(180deg);
}
.ff-incident-detail-nav-icon svg {
  width: 18px;
  height: 18px;
}
.ff-incident-detail-nav-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--ff-muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.ff-incident-detail-nav-link strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
}
.ff-facts {
  display: grid;
  gap: 0;
}
.ff-fact-row {
  display: grid;
  grid-template-columns: 34px 1fr 1.2fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ff-border);
  align-items: start;
}
.ff-fact-row:last-child {
  border-bottom: 0;
}
.ff-fact-row svg {
  width: 22px;
  height: 22px;
  color: var(--ff-red);
}
.ff-fact-label {
  color: var(--ff-muted);
  font-weight: 800;
  font-size: 14px;
}
.ff-fact-value {
  font-weight: 800;
}
.ff-quote-box {
  border-left: 5px solid var(--ff-red);
  background: #fff7f7;
  padding: 22px 24px;
  border-radius: 0 var(--ff-radius-sm) var(--ff-radius-sm) 0;
  margin: 28px 0;
  font-size: 18px;
  font-weight: 800;
}
.ff-person-card {
  overflow: hidden;
  text-align: center;
}
.ff-person-photo {
  aspect-ratio: 1.35 / 1;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: grid;
  place-items: end center;
}
.ff-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ff-person-card .ff-card-body {
  align-items: center;
}
.ff-download-card {
  padding: 24px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}
.ff-downloads-centered .ff-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px));
  justify-content: center;
}
.ff-pdf-icon {
  width: 58px;
  height: 70px;
  border-radius: 10px;
  background: var(--ff-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.ff-membership-page {
  display: grid;
  gap: 34px;
}
.ff-membership-club-hint h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.18;
}
.ff-membership-club-hint p {
  margin: 0;
  color: var(--ff-muted);
}
.ff-membership-way {
  display: grid;
  gap: 26px;
}
.ff-membership-way-head {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.ff-membership-way-head span {
  color: var(--ff-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.ff-membership-way-head h2 {
  margin: 4px 0 8px;
  font-size: 30px;
  line-height: 1.15;
}
.ff-membership-way-head p {
  margin: 0;
  color: var(--ff-muted);
}
.ff-membership-timeline {
  position: relative;
  display: grid;
  gap: 26px;
  max-width: 980px;
  margin-inline: auto;
  width: 100%;
}
.ff-membership-timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(180deg, var(--ff-red), rgba(215, 25, 32, .12));
  border-radius: 999px;
}
.ff-membership-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.ff-membership-marker {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  grid-column: 2;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ff-red);
  color: var(--ff-red);
  box-shadow: var(--ff-shadow-soft);
  text-decoration: none;
}
a.ff-membership-marker:hover,
a.ff-membership-marker:focus {
  color: #fff;
  background: var(--ff-red);
}
.ff-membership-marker span {
  position: absolute;
  top: -8px;
  right: -5px;
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ff-red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.ff-membership-marker svg {
  width: 28px;
  height: 28px;
}
.ff-membership-step-card {
  min-height: 84px;
  grid-column: 3;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-membership-step-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.ff-membership-step-card-link:hover,
.ff-membership-step-card-link:focus {
  border-color: rgba(215, 25, 32, .45);
  box-shadow: 0 18px 38px rgba(215, 25, 32, .12);
}
.ff-membership-step:nth-child(even) .ff-membership-step-card {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}
.ff-membership-step-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.2;
}
.ff-membership-step-card p {
  margin: 0;
  color: var(--ff-muted);
}
.ff-membership-step-card a {
  color: var(--ff-red);
  font-weight: 900;
}
.ff-membership-club-hint {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 24px;
  border-radius: 8px;
  background: var(--ff-red);
  color: #fff;
}
.ff-membership-club-hint > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
}
.ff-membership-club-hint svg {
  width: 27px;
  height: 27px;
}
.ff-membership-club-hint p {
  color: rgba(255, 255, 255, .88);
}
.ff-membership-download-head {
  margin-top: 8px;
  scroll-margin-top: 120px;
}
.ff-membership-download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ff-gutter);
}
.ff-membership-download-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  overflow: hidden;
  background: var(--ff-card);
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-membership-download-top {
  min-height: 92px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, var(--ff-red), var(--ff-red-dark));
  color: #fff;
}
.ff-membership-download-top .ff-pdf-icon {
  width: 54px;
  height: 62px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  box-shadow: none;
}
.ff-membership-download-type {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.ff-membership-download-copy {
  padding: 0 20px 20px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.ff-membership-download-copy .ff-card-excerpt {
  margin: 0;
}
.ff-membership-download-copy .ff-small-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.ff-download-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  color: var(--ff-muted);
  background: #f9fafb;
  font-size: 13px;
  font-weight: 900;
}
.ff-vehicle-card {
  overflow: hidden;
}
.ff-spec-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-bottom: 1px solid var(--ff-border);
}
.ff-spec-item {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--ff-border);
}
.ff-spec-item:last-child {
  border-right: 0;
}
.ff-spec-item svg {
  color: var(--ff-red);
  width: 30px;
  height: 30px;
}
.ff-spec-item span {
  display: block;
  color: var(--ff-muted);
  font-size: 13px;
  font-weight: 800;
}
.ff-spec-item strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
}
.ff-vehicle-detail {
  display: grid;
  gap: 22px;
}
.ff-vehicle-tabs {
  position: sticky;
  top: 82px;
  z-index: 20;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  background: rgba(246, 247, 249, 0.96);
  border-bottom: 1px solid var(--ff-border);
  backdrop-filter: blur(12px);
}
.ff-vehicle-tabs > a {
  display: none;
}
.ff-vehicle-tab {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--ff-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.ff-vehicle-tab:hover,
.ff-vehicle-tab:focus,
.ff-vehicle-tab.is-active {
  color: var(--ff-red);
  border-bottom-color: var(--ff-red);
}
.ff-vehicle-tabs svg {
  width: 19px;
  height: 19px;
}
.ff-vehicle-detail [hidden] {
  display: none !important;
}
.ff-vehicle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}
.ff-vehicle-detail-wide .ff-vehicle-layout {
  grid-template-columns: 1fr;
}
.ff-vehicle-detail-wide .ff-vehicle-side {
  display: none;
}
.ff-vehicle-main,
.ff-vehicle-side {
  display: grid;
  gap: 22px;
}
.ff-vehicle-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ff-vehicle-panel {
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 5px;
  box-shadow: var(--ff-shadow-soft);
  padding: 20px;
}
.ff-vehicle-panel-wide {
  grid-column: span 2;
}
.ff-vehicle-panel-full {
  grid-column: 1 / -1;
}
.ff-vehicle-panel h2,
.ff-vehicle-cta h2 {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.2;
  text-transform: uppercase;
}
.ff-vehicle-panel h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  background: var(--ff-red);
}
.ff-vehicle-copy p {
  margin: 0 0 12px;
}
.ff-vehicle-copy p:last-child {
  margin-bottom: 0;
}
.ff-vehicle-fact-list,
.ff-vehicle-data-list {
  display: grid;
  gap: 12px;
}
.ff-vehicle-fact-list > div {
  display: grid;
  grid-template-columns: 22px minmax(90px, .8fr) 1fr;
  gap: 10px;
  align-items: center;
}
.ff-vehicle-fact-list svg,
.ff-vehicle-check-list svg,
.ff-vehicle-highlight svg,
.ff-vehicle-incident svg {
  width: 18px;
  height: 18px;
  color: var(--ff-red);
}
.ff-vehicle-fact-list span,
.ff-vehicle-data-list span {
  color: var(--ff-muted);
  font-size: 13px;
}
.ff-vehicle-fact-list strong,
.ff-vehicle-data-list strong {
  font-size: 14px;
  line-height: 1.35;
}
.ff-vehicle-data-list > div {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ff-border);
}
.ff-event-mini {
  grid-template-columns: auto minmax(0, 1fr);
}
.ff-vehicle-data-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.ff-vehicle-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ff-vehicle-check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}
.ff-vehicle-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ff-vehicle-highlight {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}
.ff-vehicle-highlight strong,
.ff-vehicle-highlight span {
  display: block;
}
.ff-vehicle-highlight span {
  color: var(--ff-muted);
  font-size: 13px;
}
.ff-vehicle-equipment-accordion {
  display: grid;
  gap: 12px;
}
.ff-vehicle-equipment-item {
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.ff-vehicle-equipment-item summary {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.ff-vehicle-equipment-item summary::-webkit-details-marker {
  display: none;
}
.ff-vehicle-equipment-item summary svg {
  width: 20px;
  height: 20px;
  color: var(--ff-red);
  flex: 0 0 auto;
}
.ff-vehicle-equipment-item summary svg:last-child {
  color: var(--ff-muted);
  transform: rotate(90deg);
  transition: transform .18s ease;
}
.ff-vehicle-equipment-item[open] summary svg:last-child {
  transform: rotate(-90deg);
}
.ff-vehicle-equipment-item summary small {
  color: var(--ff-muted);
  font-size: 12px;
  font-weight: 700;
}
.ff-vehicle-equipment-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px 14px 54px;
}
.ff-vehicle-equipment-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}
.ff-vehicle-equipment-item ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0;
  padding: 0 16px 16px 54px;
  color: var(--ff-muted);
  font-size: 13px;
  line-height: 1.55;
}
.ff-vehicle-equipment-item li {
  padding-left: 2px;
}
.ff-vehicle-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.ff-vehicle-section {
  scroll-margin-top: 150px;
  display: grid;
  gap: 16px;
}
.ff-vehicle-carousel {
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
  width: 100%;
}
.ff-vehicle-carousel-controls {
  display: flex;
  gap: 8px;
}
.ff-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ff-border);
  border-radius: 999px;
  color: var(--ff-red);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--ff-shadow-soft);
}
.ff-icon-btn:hover,
.ff-icon-btn:focus {
  border-color: var(--ff-red);
}
.ff-icon-btn svg {
  width: 18px;
  height: 18px;
}
[data-carousel-prev] svg {
  transform: rotate(180deg);
}
.ff-vehicle-carousel-viewport {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--ff-shadow-soft);
}
.ff-vehicle-carousel-track {
  display: flex;
  transition: transform .28s ease;
  will-change: transform;
}
.ff-vehicle-carousel-slide {
  min-width: 100%;
  margin: 0;
}
.ff-vehicle-carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  max-height: 520px;
  object-fit: contain;
  display: block;
  background: #fff;
}
.ff-vehicle-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--ff-muted);
  font-size: 13px;
}
.ff-vehicle-carousel-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 8px;
}
.ff-vehicle-carousel-thumb {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  box-shadow: var(--ff-shadow-soft);
}
.ff-vehicle-carousel-thumb[hidden] {
  display: none;
}
.ff-vehicle-carousel-thumb:hover,
.ff-vehicle-carousel-thumb:focus,
.ff-vehicle-carousel-thumb.is-active {
  border-color: var(--ff-red);
}
.ff-vehicle-carousel-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ff-vehicle-cta {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 22px;
  color: #fff;
  border-radius: 5px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .52)),
    var(--ff-vehicle-cta-image, url("assets/img/hero-placeholder.svg"));
  background-size: cover;
  background-position: center;
  box-shadow: var(--ff-shadow-soft);
}
.ff-vehicle-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
}
.ff-vehicle-cta .ff-btn {
  width: 100%;
  justify-content: center;
}
.ff-vehicle-map-preview {
  min-height: 78px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #e5eadf, #f4f6f1);
  border-radius: 5px;
}
.ff-vehicle-map-preview svg {
  width: 34px;
  height: 34px;
  color: var(--ff-red);
}
.ff-vehicle-incident-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ff-vehicle-incident {
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 5px;
  padding: 18px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-vehicle-incident time {
  display: block;
  color: var(--ff-muted);
  font-size: 13px;
  font-weight: 800;
}
.ff-vehicle-incident h3 {
  margin: 6px 0 8px;
  font-size: 18px;
}
.ff-vehicle-incident p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--ff-muted);
  font-size: 14px;
}
.ff-vehicle-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  max-width: 100%;
}
.ff-vehicle-pagination ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ff-vehicle-pagination li {
  display: contents;
}
.ff-vehicle-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 10px;
  border: 1px solid var(--ff-border);
  border-radius: 9px;
  background: #fff;
  font-weight: 900;
  line-height: 1;
}
.ff-vehicle-pagination .current {
  color: #fff;
  border-color: var(--ff-red);
  background: var(--ff-red);
}
.ff-vehicle-pagination .prev,
.ff-vehicle-pagination .next {
  padding-inline: 16px;
}
.ff-accordion {
  display: grid;
  gap: 10px;
}
.ff-accordion details {
  border: 1px solid var(--ff-border);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.ff-accordion summary {
  cursor: pointer;
  font-weight: 900;
  padding: 16px 18px;
}
.ff-accordion div {
  padding: 0 18px 18px;
  color: var(--ff-muted);
}
.ff-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
}
.ff-contact-info {
  display: grid;
  gap: 14px;
}
.ff-contact-item {
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  padding: 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}
.ff-contact-item svg {
  color: var(--ff-red);
  width: 28px;
  height: 28px;
}
.ff-form {
  display: grid;
  gap: 14px;
}
.ff-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ff-form textarea {
  min-height: 160px;
  resize: vertical;
}
.ff-contact-page {
  padding-top: 0;
}
.ff-contact-page .ff-contact-info {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: -34px 0 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  box-shadow: var(--ff-shadow);
}
.ff-contact-page .ff-contact-item {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
  padding: 22px 24px;
  grid-template-columns: 46px minmax(0, 1fr);
}
.ff-contact-page .ff-contact-item + .ff-contact-item {
  border-left: 1px solid var(--ff-border);
}
.ff-contact-page .ff-contact-item > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #fff;
  background: var(--ff-red);
  border-radius: 999px;
}
.ff-contact-page .ff-contact-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
}
.ff-contact-page .ff-contact-item p {
  margin: 0;
  color: var(--ff-muted);
  font-size: 14px;
  line-height: 1.6;
}
.ff-contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 22px;
  align-items: start;
}
.ff-contact-side-stack {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.ff-contact-panel,
.ff-contact-side-card {
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
}
.ff-contact-panel {
  padding: 24px;
  min-width: 0;
}
.ff-panel-title {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 12px;
  font-size: 20px;
  text-transform: uppercase;
}
.ff-panel-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--ff-red);
}
.ff-contact-form-wrap form,
.ff-contact-form-wrap .wpcf7-form {
  display: grid;
  gap: 14px;
}
.ff-contact-form-wrap p {
  margin: 0;
}
.ff-contact-form-wrap label {
  display: grid;
  gap: 7px;
  color: var(--ff-muted);
  font-weight: 700;
}
.ff-contact-form-wrap input:not([type="checkbox"]):not([type="submit"]),
.ff-contact-form-wrap textarea,
.ff-contact-form-wrap select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--ff-border);
  border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
  font: inherit;
}
.ff-contact-form-wrap textarea {
  min-height: 170px;
  resize: vertical;
}
.ff-contact-form-wrap input[type="submit"],
.ff-contact-form-wrap button[type="submit"] {
  width: fit-content;
  border: 0;
  border-radius: 5px;
  padding: 13px 22px;
  background: var(--ff-red);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.ff-contact-map-visual {
  height: 210px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #eef0ed;
}
.ff-contact-map-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.ff-contact-map-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--ff-red);
  background:
    linear-gradient(35deg, transparent 48%, rgba(215, 25, 32, .12) 49% 51%, transparent 52%),
    linear-gradient(145deg, transparent 48%, rgba(0, 0, 0, .08) 49% 51%, transparent 52%),
    #edf0ec;
}
.ff-contact-map-placeholder svg {
  width: 48px;
  height: 48px;
}
.ff-contact-route {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0 0;
}
.ff-contact-route-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ff-text);
  background: #f4f4f4;
  border-radius: 999px;
}
.ff-contact-route-icon svg {
  width: 22px;
  height: 22px;
}
.ff-contact-route strong {
  display: block;
  margin-bottom: 6px;
}
.ff-contact-route p {
  margin: 0 0 10px;
  color: var(--ff-muted);
}
.ff-contact-sidebar {
  display: grid;
  gap: 12px;
}
.ff-contact-side-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}
.ff-contact-side-icon {
  color: var(--ff-red);
}
.ff-contact-side-icon svg {
  width: 32px;
  height: 32px;
}
.ff-contact-side-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.25;
  text-transform: uppercase;
}
.ff-contact-side-card p {
  margin: 0 0 12px;
  color: var(--ff-muted);
  font-size: 14px;
}
.ff-contact-notice-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
  padding: 22px 28px;
  background: var(--ff-red);
  color: #fff;
  border-radius: 8px;
}
.ff-contact-notice-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.ff-contact-notice-item svg {
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 2px solid rgba(255,255,255,.65);
  border-radius: 999px;
}
.ff-contact-notice-item strong,
.ff-contact-notice-item span {
  display: block;
}
.ff-contact-notice-item strong {
  font-size: 17px;
  text-transform: uppercase;
}
.ff-contact-notice-item span {
  opacity: .92;
}
.ff-legal-page {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
}
.ff-legal-content {
  color: var(--ff-text);
  font-size: 16px;
  line-height: 1.75;
}
.ff-legal-content h1,
.ff-legal-content h2,
.ff-legal-content h3 {
  line-height: 1.25;
}
.ff-legal-content h1 {
  margin: 0 0 24px;
  font-size: clamp(30px, 4vw, 46px);
}
.ff-legal-content h2 {
  margin: 34px 0 14px;
  font-size: clamp(22px, 2.6vw, 30px);
}
.ff-legal-content h3 {
  margin: 26px 0 10px;
  font-size: 19px;
}
.ff-legal-content p,
.ff-legal-content ul {
  margin: 0 0 16px;
}
.ff-legal-content ul {
  padding-left: 22px;
}
.ff-legal-content a {
  color: var(--ff-red);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.ff-emergency-box {
  background: #fff;
  color: var(--ff-text);
  border: 1px solid rgba(215,25,32,.2);
  border-radius: var(--ff-radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-emergency-box strong {
  color: var(--ff-red);
  display: block;
  font-size: 18px;
}
.ff-emergency-112 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ff-red);
  font-weight: 900;
}
.ff-emergency-112 > svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.ff-emergency-112 span {
  font-size: 50px;
  line-height: 1;
}
.ff-site-footer {
  background: #fff;
  border-top: 1px solid var(--ff-border);
}
.ff-footer-main {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr .9fr 1.15fr;
  gap: 34px;
  padding: 42px 0;
}
.ff-footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ff-footer-brand .ff-brand-mark {
  width: 54px;
  height: 54px;
}
.ff-footer-brand .ff-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ff-footer-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 8px;
}
.ff-footer-main h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 900;
}
.ff-footer-main p,
.ff-footer-main li,
.ff-footer-main a {
  color: var(--ff-muted);
  font-size: 14px;
  line-height: 1.5;
}
.ff-footer-main a:hover {
  color: var(--ff-red);
}
.ff-footer-menu li {
  margin: 3px 0;
}
.ff-socials {
  display: flex;
  gap: 10px;
}
.ff-socials a,
.ff-socials span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f3f4f6;
  color: var(--ff-red);
  font-weight: 900;
}
.ff-footer-bottom {
  background: var(--ff-dark);
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.ff-footer-bottom-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ff-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  max-width: 100%;
}
.ff-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 10px;
  border: 1px solid var(--ff-border);
  border-radius: 9px;
  background: #fff;
  font-weight: 900;
  line-height: 1;
}
.ff-pagination .current {
  color: #fff;
  border-color: var(--ff-red);
  background: var(--ff-red);
}
.ff-pagination .prev,
.ff-pagination .next {
  padding-inline: 16px;
}
.ff-content {
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  padding: 34px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-empty {
  padding: 30px;
  text-align: center;
  color: var(--ff-muted);
  background: #fff;
  border: 1px dashed var(--ff-border);
  border-radius: var(--ff-radius);
}
.ff-station-page,
.ff-history-page {
  display: grid;
  gap: 34px;
}
.ff-info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.ff-info-pill {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-info-pill svg {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: var(--ff-red);
}
.ff-info-pill span {
  color: var(--ff-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.ff-info-pill strong {
  font-size: 17px;
}
.ff-station-sections {
  display: grid;
  gap: 38px;
}
.ff-station-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
  gap: 28px;
  align-items: center;
  padding-top: 34px;
  border-top: 1px solid var(--ff-border);
}
.ff-station-block.is-reversed .ff-station-copy {
  order: 2;
}
.ff-content-meta,
.ff-history-period span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--ff-red);
  background: rgba(215, 25, 32, .08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.ff-station-copy h2,
.ff-history-copy h2,
.ff-station-map h2 {
  margin: 10px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}
.ff-rich-copy {
  color: var(--ff-text);
  line-height: 1.75;
}
.ff-rich-copy p:last-child {
  margin-bottom: 0;
}
.ff-station-media img,
.ff-history-image img,
.ff-inline-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}
.ff-station-media > img,
.ff-history-image img {
  aspect-ratio: 4 / 3;
  box-shadow: var(--ff-shadow-soft);
}
.ff-inline-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.ff-inline-gallery img {
  aspect-ratio: 4 / 3;
}
.ff-station-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 26px;
  align-items: stretch;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-station-map > div {
  min-width: 0;
}
.ff-content-address {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
  color: var(--ff-muted);
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.ff-content-address svg {
  width: 20px;
  height: 20px;
  color: var(--ff-red);
  flex: 0 0 auto;
}
.ff-station-map-visual {
  display: grid;
  place-items: center;
  min-height: 180px;
  color: var(--ff-red);
  background:
    linear-gradient(135deg, rgba(215, 25, 32, .09), rgba(5, 8, 13, .04)),
    #f4f6f8;
  border-radius: 8px;
}
.ff-station-map-visual svg {
  width: 48px;
  height: 48px;
}
.ff-history-intro {
  max-width: 760px;
  color: var(--ff-muted);
  font-size: 18px;
  line-height: 1.7;
}
.ff-history-timeline {
  position: relative;
  display: grid;
  gap: 28px;
}
.ff-history-timeline::before {
  content: "";
  position: absolute;
  left: 165px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ff-border);
}
.ff-history-entry {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 42px;
}
.ff-history-entry::before {
  content: "";
  position: absolute;
  left: 158px;
  top: 26px;
  width: 16px;
  height: 16px;
  background: var(--ff-red);
  border: 4px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--ff-red);
}
.ff-history-period {
  padding-top: 18px;
  text-align: right;
  padding-right: 22px;
}
.ff-history-card {
  display: grid;
  grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-history-copy h2 {
  margin-top: 0;
}
.ff-fire-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ff-dark);
}
.ff-fire-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, .96) 0%, rgba(5, 8, 13, .78) 38%, rgba(5, 8, 13, .28) 72%),
    var(--ff-hero-image, url("assets/img/hero-placeholder.svg"));
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.ff-fire-hero-inner {
  position: relative;
  z-index: 1;
  min-height: clamp(410px, 48vw, 560px);
  display: flex;
  align-items: center;
  padding: 70px 0;
}
.ff-fire-hero-content {
  width: min(650px, 100%);
}
.ff-fire-hero h1,
.ff-fire-overview h2,
.ff-fire-tasks h2,
.ff-fire-editor-block h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
}
.ff-fire-hero h1 {
  font-size: clamp(42px, 5vw, 66px);
}
.ff-fire-hero h1::after,
.ff-fire-overview h2::after,
.ff-fire-tasks h2::after,
.ff-fire-editor-block h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 16px;
  background: var(--ff-red);
}
.ff-fire-hero p {
  margin: 22px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, .92);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
}
.ff-fire-hero p + p {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
}
.ff-fire-page {
  background: #f7f8fa;
}
.ff-fire-overview {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.55fr);
  gap: 46px;
  align-items: start;
  margin-bottom: 52px;
}
.ff-fire-overview h2,
.ff-fire-tasks h2,
.ff-fire-editor-block h2 {
  font-size: clamp(24px, 2.5vw, 32px);
}
.ff-fire-intro p {
  margin: 24px 0 0;
  color: #374151;
  font-weight: 600;
}
.ff-fire-intro p + p {
  margin-top: 18px;
}
.ff-fire-stats-wrap > h2 {
  margin-bottom: 24px;
}
.ff-fire-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ff-fire-stat-card {
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, .9);
  border-radius: var(--ff-radius-sm);
  box-shadow: var(--ff-shadow-soft);
}
.ff-fire-stat-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ff-red);
}
.ff-fire-stat-icon svg {
  width: 34px;
  height: 34px;
}
.ff-fire-stat-card strong {
  display: block;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  font-weight: 900;
}
.ff-fire-stat-card span:not(.ff-fire-stat-icon) {
  display: block;
  color: var(--ff-text);
  font-size: 14px;
  font-weight: 900;
}
.ff-fire-stat-card p {
  margin: 6px 0 0;
  color: var(--ff-muted);
  font-size: 14px;
  line-height: 1.45;
}
.ff-fire-tasks {
  margin-bottom: 52px;
}
.ff-fire-task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.ff-fire-task-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-sm);
  box-shadow: var(--ff-shadow-soft);
}
.ff-fire-task-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}
.ff-fire-task-image img,
.ff-fire-task-image .ff-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.ff-fire-task-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: -26px auto 0;
  color: #fff;
  background: var(--ff-red);
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 22px rgba(215, 25, 32, .24);
}
.ff-fire-task-icon svg {
  width: 25px;
  height: 25px;
}
.ff-fire-task-body {
  padding: 16px 18px 22px;
  text-align: center;
}
.ff-fire-task-body h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
}
.ff-fire-task-body p {
  margin: 12px 0 0;
  color: var(--ff-muted);
  font-size: 14px;
  line-height: 1.5;
}
.ff-fire-command {
  margin-top: 54px;
}
.ff-fire-command > h2 {
  margin: 0 0 30px;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
}
.ff-fire-command > h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 16px;
  background: var(--ff-red);
}
.ff-command-tree {
  position: relative;
}
.ff-command-tree-level {
  position: relative;
}
.ff-command-tree-top {
  display: flex;
  justify-content: center;
  padding-bottom: 58px;
}
.ff-command-tree-top::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 2px;
  height: 38px;
  background: var(--ff-border);
}
.ff-command-tree-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ff-command-tree-top + .ff-command-tree-groups::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--ff-border);
}
.ff-command-group {
  position: relative;
  min-width: 0;
}
.ff-command-top-group {
  width: min(680px, 100%);
}
.ff-command-top-group::before {
  display: none;
}
.ff-command-top-cards {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
}
.ff-command-group::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -20px;
  width: 2px;
  height: 20px;
  background: var(--ff-border);
}
.ff-command-group > h3 {
  min-height: 42px;
  display: grid;
  place-items: center;
  margin: 0 0 14px;
  padding: 10px 12px;
  color: #fff;
  background: var(--ff-dark);
  border-radius: var(--ff-radius-sm);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}
.ff-command-tree-groups .ff-command-group > h3 {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 120px);
  z-index: 40;
  margin-bottom: 0;
}
.ff-command-tree-groups .ff-command-group-cards {
  position: relative;
  z-index: 1;
  margin-top: -8px;
}
.ff-command-group-cards {
  display: grid;
  gap: 14px;
}
.ff-command-person-card {
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius-sm);
  box-shadow: var(--ff-shadow-soft);
}
.ff-command-person-card-primary {
  box-shadow: var(--ff-shadow);
}
.ff-command-person-photo {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f3f4f6;
}
.ff-command-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ff-command-person-photo > span {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  color: var(--ff-red);
  background: #fff;
  border: 1px solid rgba(215, 25, 32, .16);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(215, 25, 32, .16);
}
.ff-command-person-photo svg {
  width: 58px;
  height: 58px;
}
.ff-command-person-body {
  padding: 18px;
  text-align: center;
}
.ff-command-person-body h3 {
  margin: 0;
  color: var(--ff-text);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  position: static;
  display: block;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
}
.ff-command-person-role {
  margin: 7px 0 0;
  color: var(--ff-muted);
  font-size: 14px;
  font-weight: 800;
}
.ff-command-person-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.ff-command-person-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  color: var(--ff-red);
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.ff-command-person-links svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
.ff-board-section {
  background: #f6f7f9;
}
.ff-board-intro {
  max-width: 780px;
  margin: -12px 0 30px;
}
.ff-board-intro p {
  margin: 0;
  color: var(--ff-muted);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
}
.ff-board-intro p + p {
  margin-top: 10px;
}
.ff-board-tree .ff-command-tree-groups {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1120px;
  margin-inline: auto;
}
.ff-board-tree .ff-command-top-cards {
  grid-template-columns: repeat(3, minmax(0, 320px));
}
.ff-board-tree .ff-board-other-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.ff-board-tree .ff-command-tree-groups .ff-command-group > h3 {
  position: static;
  margin-bottom: 14px;
}
.ff-board-tree .ff-command-tree-groups .ff-command-group-cards {
  margin-top: 0;
}
.ff-child-card-vorstand .ff-card-image img {
  object-position: center 22%;
}
.ff-youth-hero .ff-hero-inner {
  min-height: clamp(410px, 48vw, 560px);
}
.ff-youth-fact-strip {
  position: relative;
  z-index: 2;
}
.ff-youth-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ff-youth-fact-item {
  min-height: 96px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-right: 1px solid var(--ff-border);
}
.ff-youth-fact-item:last-child {
  border-right: 0;
}
.ff-youth-fact-item strong {
  display: block;
  color: var(--ff-text);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 950;
}
.ff-youth-fact-item span:not(.ff-stat-icon) {
  display: block;
  margin-top: 4px;
  color: var(--ff-muted);
  font-size: 13px;
  line-height: 1.35;
}
.ff-youth-page {
  background: #fff;
  padding: clamp(34px, 5vw, 62px) 0 clamp(42px, 6vw, 76px);
}
.ff-youth-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.ff-youth-intro-copy {
  min-width: 0;
}
.ff-youth-intro-copy .ff-section-intro {
  max-width: 820px;
  margin-bottom: 24px;
}
.ff-youth-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ff-youth-info-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 18px;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: var(--ff-radius);
  box-shadow: var(--ff-shadow-soft);
}
.ff-youth-card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--ff-red);
  background: #fff5f5;
  border-radius: 6px;
}
.ff-youth-card-icon svg {
  width: 28px;
  height: 28px;
}
.ff-youth-info-card h3,
.ff-youth-benefit h3 {
  margin: 0;
  color: var(--ff-text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 950;
}
.ff-youth-info-card p,
.ff-youth-benefit p {
  margin: 9px 0 0;
  color: var(--ff-muted);
  font-size: 13px;
  line-height: 1.45;
}
.ff-youth-photo {
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--ff-red);
  background: #f4f4f4;
  border-radius: var(--ff-radius);
}
.ff-youth-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ff-youth-photo > span svg {
  width: 76px;
  height: 76px;
}
.ff-youth-benefits-wrap {
  margin-top: clamp(34px, 5vw, 58px);
  padding-top: 28px;
  border-top: 1px solid var(--ff-border);
}
.ff-youth-benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 18px;
}
.ff-youth-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ff-youth-benefit {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.ff-youth-benefit > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ff-red);
  background: #fff5f5;
  border-radius: 6px;
}
.ff-youth-benefit svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 1120px) {
  .ff-youth-fact-grid,
  .ff-youth-card-grid,
  .ff-youth-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ff-youth-fact-item:nth-child(2n) {
    border-right: 0;
  }
}
@media (max-width: 900px) {
  .ff-youth-intro-grid {
    grid-template-columns: 1fr;
  }
  .ff-youth-photo {
    max-width: 520px;
  }
}
.ff-join-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 38px;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 5vw, 76px);
  color: #fff;
  background: linear-gradient(90deg, var(--ff-red), var(--ff-red-dark));
  border-radius: 0;
  box-shadow: 0 20px 40px rgba(215, 25, 32, .22);
}
.ff-join-banner-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.ff-join-banner-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  color: #fff;
}
.ff-join-banner-icon svg {
  width: 46px;
  height: 46px;
}
.ff-join-banner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
  font-weight: 950;
  text-transform: uppercase;
}
.ff-join-banner p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}
.ff-join-banner-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  color: var(--ff-red);
  background: #fff;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
}
.ff-join-banner-button:hover {
  color: var(--ff-red-dark);
  transform: translateY(-1px);
}
.ff-join-banner-button svg {
  width: 17px;
  height: 17px;
}
@media (max-width: 760px) {
  .ff-youth-benefits-layout {
    grid-template-columns: 1fr;
  }
  .ff-join-banner {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .ff-join-banner-copy {
    align-items: flex-start;
  }
  .ff-join-banner-button {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .ff-youth-fact-grid,
  .ff-youth-card-grid,
  .ff-youth-benefit-grid {
    grid-template-columns: 1fr;
  }
  .ff-youth-fact-item {
    border-right: 0;
    border-bottom: 1px solid var(--ff-border);
  }
  .ff-youth-fact-item:last-child {
    border-bottom: 0;
  }
  .ff-join-banner-copy {
    display: grid;
    gap: 12px;
  }
}
.ff-fire-editor-block {
  margin-top: 18px;
}
.ff-fire-editor-block > h2 {
  margin-bottom: 24px;
}
.ff-fire-editor-block .ff-content {
  max-width: 920px;
}
.ff-chronik-section {
  background: #f6f7f9;
}
.ff-chronik-intro {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  margin-bottom: 56px;
}
.ff-chronik-intro h2,
.ff-chronik-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 950;
  text-transform: uppercase;
}
.ff-chronik-intro h2::after,
.ff-chronik-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 16px;
  background: var(--ff-red);
}
.ff-chronik-intro p {
  margin: 22px 0 0;
  color: var(--ff-muted);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 700;
}
.ff-chronik-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ff-chronik-highlight {
  min-width: 0;
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 5px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-chronik-highlight span {
  color: var(--ff-red);
}
.ff-chronik-highlight svg {
  width: 30px;
  height: 30px;
}
.ff-chronik-highlight strong {
  color: var(--ff-text);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  font-weight: 950;
}
.ff-chronik-highlight em {
  color: var(--ff-muted);
  font-size: 13px;
  line-height: 1.3;
  font-style: normal;
  font-weight: 850;
}
.ff-chronik-head {
  margin-bottom: 30px;
}
.ff-chronik-timeline {
  position: relative;
  display: grid;
  gap: 34px;
  max-width: 1160px;
  margin-inline: auto;
  padding-block: 6px;
}
.ff-chronik-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(215, 25, 32, .55) 8%, rgba(215, 25, 32, .55) 92%, transparent);
  transform: translateX(-50%);
}
.ff-chronik-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  align-items: start;
}
.ff-chronik-marker {
  position: relative;
  z-index: 2;
  grid-column: 2;
  display: grid;
  place-items: center;
}
.ff-chronik-marker span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ff-red);
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(215, 25, 32, .24);
}
.ff-chronik-marker svg {
  width: 24px;
  height: 24px;
}
.ff-chronik-card {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 5px;
  box-shadow: var(--ff-shadow-soft);
}
.ff-chronik-item:nth-child(even) .ff-chronik-card {
  grid-column: 3;
}
.ff-chronik-card-body {
  padding: clamp(22px, 3vw, 30px);
}
.ff-chronik-period {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 6px 11px;
  color: #fff;
  background: var(--ff-dark);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
}
.ff-chronik-card h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  font-weight: 950;
}
.ff-chronik-card p {
  margin: 14px 0 0;
  color: var(--ff-muted);
  font-size: 16px;
  line-height: 1.68;
}
.ff-chronik-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ff-dark);
}
.ff-chronik-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1000px) {
  .ff-chronik-intro {
    grid-template-columns: 1fr;
  }
  .ff-chronik-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .ff-chronik-timeline::before {
    left: 27px;
  }
  .ff-chronik-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
  }
  .ff-chronik-marker {
    grid-column: 1;
  }
  .ff-chronik-card,
  .ff-chronik-item:nth-child(even) .ff-chronik-card {
    grid-column: 2;
  }
  .ff-chronik-marker span {
    width: 46px;
    height: 46px;
    border-width: 5px;
  }
  .ff-chronik-marker svg {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 560px) {
  .ff-chronik-highlights {
    grid-template-columns: 1fr;
  }
  .ff-chronik-intro p,
  .ff-chronik-card p {
    font-size: 15px;
  }
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1200px) {
  .ff-contact-page .ff-contact-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ff-contact-page .ff-contact-item {
    border-left: 0;
    border-top: 1px solid var(--ff-border);
  }
  .ff-contact-page .ff-contact-item:nth-child(-n + 2) {
    border-top: 0;
  }
  .ff-contact-page .ff-contact-item:nth-child(2n) {
    border-left: 1px solid var(--ff-border);
  }
  .ff-contact-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  }
  .ff-contact-sidebar {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .ff-home-layout,
  .ff-single-layout,
  .ff-contact-layout {
    grid-template-columns: 1fr;
  }
  .ff-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ff-footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
  .ff-fire-overview {
    grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
    gap: 30px;
  }
  .ff-fire-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ff-command-tree-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
  .ff-command-tree-top + .ff-command-tree-groups::before,
  .ff-command-group::before {
    display: none;
  }
}
@media (max-width: 900px) {
  .ff-menu-toggle {
    display: inline-flex;
  }
  .ff-header-inner {
    flex-wrap: wrap;
  }
  .ff-nav-wrap {
    position: static;
    flex: 0 0 100%;
    order: 3;
    width: 100%;
    display: none;
    padding: 18px 20px 22px;
    background: var(--ff-dark);
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-direction: column;
    align-items: stretch;
  }
  .ff-site-header.ff-menu-open .ff-nav-wrap {
    display: flex;
  }
  .ff-primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .ff-primary-menu a {
    display: block;
    padding: 12px 0;
  }
  .ff-grid-2,
  .ff-grid-3,
  .ff-grid-4,
  .ff-stat-grid,
  .ff-cta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ff-home-layout {
    display: block;
  }
  .ff-home-layout > * + * {
    margin-top: 24px;
  }
  .ff-filter-bar {
    grid-template-columns: 1fr 1fr;
  }
  .ff-fire-overview {
    grid-template-columns: 1fr;
  }
  .ff-command-top-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ff-incident-row {
    grid-template-columns: 80px 1fr auto;
  }
  .ff-incident-row p,
  .ff-incident-row .ff-small-btn {
    grid-column: 2 / -1;
  }
}
@media (max-width: 640px) {
  .ff-container {
    width: min(calc(100% - 28px), var(--ff-container));
  }
  .ff-brand-title span {
    font-size: 11px;
  }
  .ff-brand-title strong {
    font-size: 18px;
  }
  .ff-hero-inner {
    min-height: 380px;
    padding: 48px 0;
  }
  .ff-hero-actions,
  .ff-section-title-row,
  .ff-footer-bottom-inner {
    align-items: stretch;
    flex-direction: column;
  }
  .ff-grid-2,
  .ff-grid-3,
  .ff-grid-4,
  .ff-stat-grid,
  .ff-cta-grid,
  .ff-filter-bar,
  .ff-form-row,
  .ff-spec-grid,
  .ff-footer-main {
    grid-template-columns: 1fr;
  }
  .ff-stat-item,
  .ff-cta-tile,
  .ff-spec-item {
    border-right: 0;
    border-bottom: 1px solid var(--ff-border);
  }
  .ff-incident-mini,
  .ff-event-mini {
    grid-template-columns: 1fr auto;
  }
  .ff-event-mini {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .ff-incident-mini .ff-small-btn,
  .ff-event-mini .ff-small-btn {
    grid-column: 1 / -1;
  }
  .ff-article-header,
  .ff-article-content,
  .ff-content {
    padding-inline: 22px;
  }
  .ff-fire-hero-inner {
    min-height: 380px;
    padding: 48px 0;
  }
  .ff-fire-hero p {
    font-size: 16px;
  }
  .ff-fire-stats,
  .ff-fire-task-grid,
  .ff-command-top-cards,
  .ff-command-tree-groups {
    grid-template-columns: 1fr;
  }
  .ff-command-tree-top {
    padding-bottom: 24px;
  }
  .ff-command-tree-top::after {
    display: none;
  }
  .ff-fire-stat-card {
    min-height: 0;
  }
  .ff-download-card {
    grid-template-columns: 1fr;
  }
}
.ff-grid-5 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .ff-grid-5 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .ff-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* Reference redesign: classic fire brigade layout */
:root {
  --ff-red: #d71920;
  --ff-red-dark: #b61218;
  --ff-dark: #111111;
  --ff-dark-soft: #1c1c1c;
  --ff-text: #171717;
  --ff-muted: #666666;
  --ff-border: #e8e8e8;
  --ff-bg: #f7f7f7;
  --ff-card: #ffffff;
  --ff-radius: 6px;
  --ff-radius-sm: 4px;
  --ff-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  --ff-shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.08);
  --ff-container: 100%;
  --ff-gutter: 28px;
}

body {
  background: var(--ff-bg);
  color: var(--ff-text);
}

.ff-container {
  width: 100%;
  max-width: var(--ff-container);
  padding-inline: 5%;
}

.ff-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
}

.ff-topbar {
  background: linear-gradient(#202020, #080808);
  color: #fff;
  min-height: 32px;
}

.ff-topbar-inner {
  min-height: 32px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.ff-topbar-actions {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.ff-topbar-emergency {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 16px;
  background: var(--ff-red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ff-topbar-emergency:hover {
  color: #fff;
  background: var(--ff-red-dark);
}

.ff-topbar-emergency svg,
.ff-topbar-socials svg {
  width: 16px;
  height: 16px;
}

.ff-topbar-socials {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 14px;
}

.ff-topbar-socials a,
.ff-topbar-socials span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
}

.ff-topbar-socials a:hover {
  color: #fff;
}

.ff-header-inner {
  min-height: 76px;
  gap: 28px;
}

.ff-brand {
  color: var(--ff-text);
  letter-spacing: 0;
  gap: 12px;
}

.ff-brand:hover {
  color: var(--ff-text);
}

.ff-brand-mark {
  width: 58px;
  height: 58px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--ff-red);
}

.ff-brand-logo {
  transform: translateY(-7px);
}

.ff-brand-mark svg {
  width: 44px;
  height: 44px;
}

.ff-brand-title {
  color: var(--ff-text);
}

.ff-brand-title span {
  color: #222;
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.ff-brand-title strong {
  color: var(--ff-red);
  font-size: 24px;
  letter-spacing: 0.01em;
}

.ff-primary-menu {
  gap: 0;
}

.ff-primary-menu > li {
  position: relative;
}

.ff-primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ff-border);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.ff-primary-menu li:hover > .sub-menu,
.ff-primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ff-primary-menu .sub-menu a {
  display: block;
  min-height: 0;
  padding: 11px 18px;
  color: var(--ff-text);
  font-size: 13px;
  font-weight: 850;
  text-transform: none;
  white-space: nowrap;
}

.ff-primary-menu .sub-menu a:hover {
  color: var(--ff-red);
  background: #fff5f5;
}

.ff-primary-menu .menu-item-has-children > a {
  gap: 7px;
}

.ff-primary-menu .menu-item-has-children > a::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  order: 2;
}

.ff-primary-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 0 16px;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.ff-primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: transparent;
}

.ff-primary-menu .current-menu-item > a,
.ff-primary-menu .current_page_item > a,
.ff-primary-menu a:hover {
  color: var(--ff-red);
}

.ff-primary-menu .current-menu-item > a::after,
.ff-primary-menu .current_page_item > a::after,
.ff-primary-menu > li > a:hover::after {
  background: var(--ff-red);
}

.ff-menu-toggle {
  border-color: var(--ff-border);
  color: var(--ff-text);
  background: #fff;
  border-radius: 4px;
}

.ff-menu-toggle svg,
.ff-btn svg {
  width: 18px;
  height: 18px;
}

.ff-main {
  background: var(--ff-bg);
}

.ff-btn {
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: none;
}

.ff-btn-primary {
  background: var(--ff-red);
  color: #fff;
  border-color: var(--ff-red);
}

.ff-btn-secondary {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}

.ff-home-hero {
  position: relative;
  min-height: 500px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.76) 34%, rgba(0, 0, 0, 0.18) 72%),
    var(--ff-hero-image, url("assets/img/hero-placeholder.svg"));
  background-size: cover;
  background-position: center;
}

.ff-home-hero-inner {
  max-width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding-left: 20%;
  padding-right: 5%;
}

.ff-home-hero-content {
  width: min(560px, 100%);
}

.ff-home-hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ff-home-hero h1 span,
.ff-home-hero h1 strong {
  display: block;
}

.ff-home-hero h1 strong {
  color: var(--ff-red);
  margin-top: 8px;
}

.ff-home-hero h1 strong::after,
.ff-home-section-heading h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 18px;
  background: var(--ff-red);
}

.ff-home-hero p {
  max-width: 430px;
  margin: 22px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
}

.ff-home-teasers {
  position: relative;
  z-index: 2;
  margin-top: -28px;
}

.ff-home-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ff-home-teaser-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 16px;
  min-height: 150px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 5px;
  box-shadow: var(--ff-shadow);
  overflow: hidden;
}

.ff-home-teaser-copy {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.ff-home-teaser-copy > div {
  min-width: 0;
}

.ff-home-teaser-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--ff-red);
}

.ff-home-teaser-icon svg {
  width: 20px;
  height: 20px;
}

.ff-home-teaser-card h2 {
  margin: 0 0 14px;
  font-size: clamp(12px, 1.05vw, 16px);
  line-height: 1.2;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ff-home-teaser-card p {
  margin: 0 0 16px;
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.ff-link-red,
.ff-home-more-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ff-red);
  font-size: 13px;
  font-weight: 900;
}

.ff-link-red svg,
.ff-home-more-link svg {
  width: 14px;
  height: 14px;
}

.ff-home-teaser-image {
  position: relative;
  width: 148px;
  min-width: 148px;
  height: 118px;
  align-self: center;
  overflow: hidden;
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.12), rgba(17, 17, 17, 0.08)),
    #eeeeee;
}

.ff-home-teaser-thumb,
.ff-home-teaser-image .ff-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.ff-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
}

.ff-image-placeholder {
  background:
    radial-gradient(circle at 68% 26%, rgba(255, 255, 255, .38), transparent 19%),
    radial-gradient(circle at 28% 72%, rgba(255, 122, 122, .55), transparent 24%),
    linear-gradient(135deg, #6f0710 0%, #d71920 48%, #1f2937 100%);
}

.ff-home-feed-section {
  background: #fff;
  margin-top: -18px;
  padding-top: 78px;
  padding-bottom: 50px;
}

.ff-home-feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(96px, 8vw, 150px);
  row-gap: 42px;
  max-width: 1540px;
  margin-inline: auto;
}

.ff-home-feed {
  display: flex;
  flex-direction: column;
}

.ff-home-section-heading h2 {
  margin: 0 0 20px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 950;
  text-transform: uppercase;
}

.ff-home-list {
  display: grid;
  gap: 0;
  flex: 1;
}

.ff-home-incident-item,
.ff-home-event-item {
  display: grid;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ff-border);
}

.ff-home-incident-item {
  grid-template-columns: 38px 1fr 24px;
}

.ff-home-event-item {
  grid-template-columns: 76px 1fr;
}

.ff-home-incident-item > svg {
  width: 30px;
  height: 30px;
  color: var(--ff-red);
}

.ff-home-incident-item time,
.ff-home-event-item time {
  color: #686868;
  font-size: 12px;
  font-weight: 700;
}

.ff-home-incident-item h3,
.ff-home-event-item h3 {
  margin: 2px 0 2px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 950;
}

.ff-home-incident-item p,
.ff-home-event-item p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.ff-home-list-arrow svg {
  width: 18px;
  height: 18px;
}

.ff-home-more-link {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
}

.ff-date-block {
  min-width: 64px;
  color: #111;
}

.ff-date-block strong {
  font-size: 36px;
}

.ff-date-block span {
  font-size: 14px;
  color: #111;
}

.ff-home-stat-band {
  background: var(--ff-red);
  color: #fff;
}

.ff-home-stat-grid {
  min-height: 80px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
}

.ff-home-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.ff-home-stat svg {
  width: 42px;
  height: 42px;
}

.ff-home-stat strong,
.ff-home-stat span {
  display: block;
}

.ff-home-stat strong {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 950;
}

.ff-home-stat span {
  font-size: 13px;
}

.ff-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.16) 100%),
    var(--ff-hero-image, url("assets/img/hero-placeholder.svg"));
  background-size: cover;
  background-position: center;
}

.ff-hero-content {
  margin-left: 0;
}

.ff-hero h1,
.ff-page-title,
.ff-page-header-light h1,
.ff-article-header h1,
.ff-section-title,
.ff-card-title,
.ff-footer-title {
  letter-spacing: 0;
}

.ff-card,
.ff-panel,
.ff-news-card,
.ff-event-card,
.ff-download-card,
.ff-person-card,
.ff-vehicle-card,
.ff-filter-bar,
.ff-sidebar-card,
.ff-article,
.ff-content,
.ff-contact-item,
.ff-emergency-box,
.ff-incident-table {
  border-radius: 5px;
  box-shadow: var(--ff-shadow-soft);
}

.ff-badge,
.ff-small-btn,
.ff-pagination .page-numbers,
.ff-filter-bar select,
.ff-filter-bar input,
.ff-field,
.ff-form input,
.ff-form textarea {
  border-radius: 4px;
}

.ff-site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.82);
  border-top: 0;
}

.ff-site-footer .ff-container {
  padding-inline: 10%;
}

.ff-footer-main {
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr .9fr 1.15fr;
  padding: 46px 0;
}

.ff-footer-main h3,
.ff-footer-title {
  color: #fff;
  text-transform: uppercase;
}

.ff-footer-main p,
.ff-footer-main li,
.ff-footer-main a {
  color: rgba(255, 255, 255, 0.72);
}

.ff-footer-brand .ff-brand-mark,
.ff-emergency-112,
.ff-emergency-112 strong {
  color: #fff;
}

.ff-emergency-112 span {
  color: var(--ff-red);
}

.ff-socials a,
.ff-socials span {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 4px;
}

.ff-socials svg {
  width: 18px;
  height: 18px;
}

.ff-footer-bottom {
  background: #080808;
}

.ff-gallery-section {
  background: #fff;
}

.ff-gallery-filter {
  position: sticky;
  top: 88px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 12px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--ff-border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  backdrop-filter: blur(10px);
}

.ff-gallery-filter-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--ff-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ff-text);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.ff-gallery-filter-link:hover,
.ff-gallery-filter-link.is-active {
  border-color: var(--ff-red);
  background: var(--ff-red);
  color: #fff;
}

.ff-gallery-all-anchor {
  position: relative;
  top: -120px;
}

.ff-gallery-category {
  scroll-margin-top: 150px;
}

.ff-gallery-category + .ff-gallery-category {
  margin-top: 54px;
}

.ff-gallery-category-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.ff-gallery-category-head .ff-section-title {
  margin-bottom: 6px;
}

.ff-gallery-category-head .ff-section-intro {
  max-width: 760px;
  margin: 0;
}

.ff-gallery-category-head > span {
  flex: 0 0 auto;
  color: var(--ff-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ff-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
}

.ff-gallery-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
  box-shadow: var(--ff-shadow-soft);
}

.ff-gallery-tile-large {
  grid-column: span 2;
  grid-row: span 2;
}

.ff-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}

.ff-gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.34));
  opacity: .72;
  pointer-events: none;
}

.ff-gallery-tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.04);
}

.ff-hero > .ff-container.ff-hero-inner {
  width: 100%;
  max-width: none;
  padding-left: 20%;
  padding-right: 5%;
}

.ff-news-events-section {
  background: #fff;
}

.ff-news-events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(42px, 5vw, 76px);
  align-items: start;
}

.ff-news-main {
  min-width: 0;
  scroll-margin-top: 140px;
}

.ff-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ff-gutter);
}

.ff-events-sidebar {
  min-height: 100%;
}

.ff-events-sidebar-panel {
  padding: 24px;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.ff-events-sidebar-panel--fitted {
  overflow: hidden;
}

.ff-events-sidebar-head {
  margin-bottom: 10px;
}

.ff-events-sidebar-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 950;
  text-transform: uppercase;
}

.ff-events-sidebar-list {
  display: grid;
  gap: 0;
  align-content: start;
  flex: 1;
  overflow: hidden;
}

.ff-news-event-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--ff-border);
}

.ff-news-event-item:last-child {
  border-bottom: 0;
}

.ff-news-event-item[hidden] {
  display: none;
}

.ff-news-event-item-last-visible {
  border-bottom: 0;
}

.ff-news-event-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 950;
}

.ff-news-event-item time,
.ff-news-event-item p {
  display: block;
  margin: 0;
  color: var(--ff-muted);
  font-size: 13px;
  line-height: 1.4;
}

.ff-events-sidebar-link {
  width: 100%;
  margin-top: auto;
}

.ff-incident-hero {
  padding: 70px 0;
  color: #fff;
  background: linear-gradient(135deg, #111 0%, #1c1c1c 70%, #2b0b0d 100%);
}

.ff-incident-hero-content {
  width: min(760px, 100%);
}

.ff-incident-hero .ff-breadcrumbs {
  color: rgba(255, 255, 255, .72);
}

.ff-incident-hero .ff-breadcrumbs a {
  color: #fff;
}

.ff-incident-hero h1 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.ff-incident-hero h1::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 16px;
  background: var(--ff-red);
}

.ff-incident-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 700;
}

.ff-incidents-section {
  background: #f6f7f9;
}

.ff-incidents-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(28px, 4vw, 42px);
  align-items: start;
}

.ff-incidents-main {
  min-width: 0;
  scroll-margin-top: 140px;
}

.ff-incidents-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ff-incidents-head h2,
.ff-incident-filter-card h2,
.ff-incident-stats-card h2,
.ff-incident-contact-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 950;
}

.ff-incidents-head h2 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 24px;
  margin-left: 8px;
  padding: 3px 8px;
  color: #fff;
  background: var(--ff-red);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
}

.ff-incident-sort-form {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ff-muted);
  font-size: 14px;
  font-weight: 800;
}

.ff-incident-sort-form select,
.ff-incident-filter-card select {
  min-height: 42px;
  padding: 0 38px 0 12px;
  border: 1px solid var(--ff-border);
  border-radius: 5px;
  background: #fff;
  color: var(--ff-text);
  font: inherit;
}

.ff-incident-card-list {
  display: grid;
  gap: 14px;
}

.ff-incident-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 5px;
  box-shadow: var(--ff-shadow-soft);
}

.ff-incident-card-image {
  position: relative;
  display: block;
  min-height: 170px;
  background: linear-gradient(135deg, var(--ff-dark), var(--ff-red));
  overflow: hidden;
}

.ff-incident-card-image img,
.ff-incident-card-image .ff-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.ff-incident-card-image .ff-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.ff-incident-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px;
}

.ff-incident-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ff-muted);
  font-size: 13px;
  font-weight: 800;
}

.ff-incident-card-meta svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.ff-incident-card h3 {
  margin: 10px 0 6px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 950;
}

.ff-incident-card p {
  margin: 0 0 18px;
  color: #303746;
  line-height: 1.45;
}

.ff-incident-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: auto;
  padding-right: 130px;
  color: var(--ff-muted);
  font-size: 13px;
  font-weight: 800;
}

.ff-incident-card-facts span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
}

.ff-incident-card-facts svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.ff-incident-more-link {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ff-red);
  font-size: 13px;
  font-weight: 950;
}

.ff-incident-more-link svg {
  width: 16px;
  height: 16px;
}

.ff-incidents-sidebar {
  display: grid;
  gap: 18px;
}

.ff-incident-filter-card,
.ff-incident-stats-card,
.ff-incident-contact-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 5px;
  box-shadow: var(--ff-shadow-soft);
}

.ff-incident-filter-card {
  display: grid;
  gap: 12px;
}

.ff-incident-filter-card label {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 950;
}

.ff-incident-filter-card .ff-btn {
  width: 100%;
}

.ff-incident-stats-card {
  display: grid;
  gap: 0;
}

.ff-incident-stats-card h2 {
  margin-bottom: 10px;
}

.ff-incident-stat {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--ff-border);
}

.ff-incident-stat:last-child {
  border-bottom: 0;
}

.ff-incident-stat svg {
  width: 28px;
  height: 28px;
  color: var(--ff-red);
}

.ff-incident-stat strong,
.ff-incident-stat span {
  display: block;
}

.ff-incident-stat strong {
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
}

.ff-incident-stat span {
  margin-top: 3px;
  color: var(--ff-muted);
  font-size: 13px;
}

.ff-incident-contact-card p {
  margin: 10px 0 18px;
  color: var(--ff-muted);
}

.ff-calendar-section {
  background: #fff;
}

.ff-calendar-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
}

.ff-calendar-year {
  text-align: center;
}

.ff-calendar-year h2 {
  margin: 2px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  font-weight: 950;
}

.ff-calendar-current {
  white-space: nowrap;
}

.ff-year-calendar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ff-gutter);
}

.ff-month-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--ff-border);
  border-radius: 5px;
  box-shadow: var(--ff-shadow-soft);
  overflow: hidden;
}

.ff-month-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 20px;
  color: #fff;
  background: var(--ff-dark);
}

.ff-month-head span {
  color: var(--ff-red);
  font-size: 15px;
  font-weight: 950;
}

.ff-month-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 950;
}

.ff-month-events {
  display: grid;
}

.ff-calendar-event {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ff-border);
}

.ff-calendar-event:last-child {
  border-bottom: 0;
}

.ff-calendar-event time {
  color: var(--ff-red);
  font-weight: 900;
  line-height: 1.1;
}

.ff-calendar-event time strong,
.ff-calendar-event time span {
  display: block;
}

.ff-calendar-event time span {
  margin-top: 4px;
  color: var(--ff-muted);
  font-size: 12px;
}

.ff-calendar-event h4 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 950;
}

.ff-calendar-event p,
.ff-month-empty {
  margin: 0;
  color: var(--ff-muted);
  font-size: 13px;
  line-height: 1.4;
}

.ff-month-empty {
  padding: 18px 20px;
}

@media (max-width: 900px) {
  .ff-header-inner {
    min-height: 70px;
    flex-wrap: wrap;
  }

  .ff-nav-wrap {
    position: static;
    flex-basis: 100%;
    width: 100%;
    order: 3;
    background: #fff;
    border-bottom: 1px solid var(--ff-border);
    box-shadow: var(--ff-shadow-soft);
  }

  .ff-primary-menu a {
    color: var(--ff-text);
  }

  .ff-primary-menu > li > a {
    min-height: 44px;
    padding: 12px 0;
  }

  .ff-primary-menu .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 18px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .ff-primary-menu .sub-menu a {
    padding: 8px 0;
    white-space: normal;
  }

  .ff-home-teaser-grid,
  .ff-home-feed-grid {
    grid-template-columns: 1fr;
  }

  .ff-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .ff-gallery-filter {
    position: static;
  }

  .ff-gallery-category-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ff-home-feed-section {
    margin-top: 0;
    padding-top: 48px;
  }

  .ff-home-feed-grid {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .ff-container {
    padding-inline: 5%;
  }

  .ff-topbar-spacer {
    display: none;
  }

  .ff-topbar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .ff-topbar-emergency {
    padding-inline: 12px;
    font-size: 12px;
  }

  .ff-brand-mark {
    width: 48px;
    height: 48px;
  }

  .ff-home-hero,
  .ff-home-hero-inner {
    min-height: 430px;
  }

  .ff-home-hero-inner {
    padding-left: 5%;
    padding-right: 5%;
  }

  .ff-home-hero h1 {
    font-size: 38px;
  }

  .ff-home-teaser-card,
  .ff-home-teaser-copy,
  .ff-home-incident-item,
  .ff-home-event-item,
  .ff-home-stat-grid {
    grid-template-columns: 1fr;
  }

  .ff-home-teaser-image {
    width: 100%;
    min-width: 0;
    height: 150px;
  }

  .ff-home-list-arrow {
    display: none;
  }

  .ff-home-stat-grid {
    gap: 18px;
    padding-block: 24px;
  }

  .ff-home-stat {
    justify-content: flex-start;
  }

  .ff-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .ff-gallery-tile-large {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Mobile/tablet layout starts at 1200px. Keep desktop above this untouched. */
@media (max-width: 1200px) {
  html,
  body {
    overflow-x: hidden;
  }

  .ff-container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(18px, 4vw, 40px);
  }

  .ff-site-header {
    position: sticky;
    top: 0;
  }

  .ff-topbar-inner {
    min-height: 34px;
  }

  .ff-topbar-spacer {
    display: none;
  }

  .ff-topbar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .ff-topbar-emergency {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .ff-topbar-socials {
    gap: 2px;
    padding-left: 8px;
  }

  .ff-topbar-socials a,
  .ff-topbar-socials span {
    width: 30px;
    height: 30px;
  }

  .ff-header-inner {
    min-height: 70px;
    gap: 14px;
    flex-wrap: wrap;
  }

  .ff-brand {
    min-width: 0;
    gap: 10px;
  }

  .ff-brand-mark {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
  }

  .ff-brand-logo {
    transform: translateY(-5px);
  }

  .ff-brand-mark svg {
    width: 38px;
    height: 38px;
  }

  .ff-brand-title {
    min-width: 0;
  }

  .ff-brand-title span {
    font-size: 10px;
  }

  .ff-brand-title strong {
    font-size: 21px;
    overflow-wrap: anywhere;
  }

  .ff-menu-toggle {
    display: inline-flex;
    flex: 0 0 44px;
  }

  .ff-nav-wrap {
    position: static;
    flex: 0 0 100%;
    order: 3;
    width: 100%;
    display: none;
    padding: 8px clamp(18px, 4vw, 40px) 22px;
    background: #fff;
    border-top: 1px solid var(--ff-border);
    border-bottom: 1px solid var(--ff-border);
    box-shadow: var(--ff-shadow-soft);
  }

  .ff-site-header.ff-menu-open .ff-nav-wrap {
    display: block;
  }

  .ff-primary-menu {
    display: block;
  }

  .ff-primary-menu > li {
    border-bottom: 1px solid var(--ff-border);
  }

  .ff-primary-menu > li:last-child {
    border-bottom: 0;
  }

  .ff-primary-menu > li > a {
    min-height: 48px;
    padding: 13px 0;
    color: var(--ff-text);
    font-size: 14px;
    white-space: normal;
  }

  .ff-primary-menu > li > a::after,
  .ff-primary-menu .current-menu-item > a::after,
  .ff-primary-menu .current_page_item > a::after,
  .ff-primary-menu > li > a:hover::after {
    display: none;
  }

  .ff-primary-menu .menu-item-has-children > a::before {
    display: none;
  }

  .ff-primary-menu .sub-menu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 12px 16px;
    list-style: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
  }

  .ff-primary-menu .sub-menu a {
    display: block;
    min-height: 0;
    padding: 7px 0;
    color: var(--ff-muted);
    font-size: 13px;
    white-space: normal;
  }

  .ff-home-hero,
  .ff-home-hero-inner {
    min-height: clamp(390px, 54vw, 500px);
  }

  .ff-home-hero-inner {
    padding: 56px clamp(18px, 4vw, 40px);
  }

  .ff-hero > .ff-container.ff-hero-inner {
    padding: 56px clamp(18px, 4vw, 40px);
  }

  .ff-hero h1,
  .ff-hero-small h1 {
    max-width: 12ch;
    font-size: clamp(31px, 8vw, 44px);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .ff-home-hero-content {
    width: min(620px, 100%);
  }

  .ff-home-hero h1 {
    font-size: clamp(34px, 6vw, 54px);
    overflow-wrap: anywhere;
  }

  .ff-home-hero p {
    max-width: 560px;
    font-size: 17px;
  }

  .ff-hero-actions {
    align-items: flex-start;
  }

  .ff-home-teasers {
    display: none;
  }

  .ff-home-feed-section {
    margin-top: 0;
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .ff-home-feed-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .ff-home-feed {
    min-width: 0;
  }

  .ff-home-list {
    flex: none;
  }

  .ff-home-more-link {
    margin-top: 0;
  }

  .ff-home-stat-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 24px;
  }

  .ff-home-stat {
    justify-content: flex-start;
  }

  .ff-news-events-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ff-incidents-layout {
    grid-template-columns: 1fr;
  }

  .ff-incidents-main {
    order: 0;
  }

  .ff-incidents-sidebar {
    display: contents;
    order: 0;
  }

  .ff-incident-filter-card {
    order: -1;
  }

  .ff-incident-stats-card {
    order: 1;
  }

  .ff-incident-contact-card {
    order: 2;
  }

  .ff-incident-card {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .ff-incident-card-facts {
    padding-right: 0;
  }

  .ff-incident-more-link {
    position: static;
    margin-top: 18px;
    align-self: flex-start;
  }

  .ff-events-sidebar {
    order: -1;
  }

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

  .ff-calendar-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .ff-calendar-year {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .ff-calendar-current {
    grid-column: 1 / -1;
  }

  .ff-year-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ff-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    padding: 38px 0;
  }

  .ff-emergency-112 {
    grid-column: 1 / -1;
    align-items: flex-start;
  }

  .ff-footer-bottom-inner {
    min-height: 0;
    padding-block: 12px;
  }
}

@media (max-width: 700px) {
  .ff-container {
    padding-inline: 18px;
  }

  .ff-topbar-actions {
    justify-content: space-between;
  }

  .ff-topbar-emergency {
    padding-inline: 10px;
  }

  .ff-header-inner {
    min-height: 64px;
  }

  .ff-brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .ff-brand-title span {
    font-size: 9px;
  }

  .ff-brand-title strong {
    font-size: 18px;
  }

  .ff-nav-wrap {
    padding-inline: 18px;
  }

  .ff-home-hero,
  .ff-home-hero-inner {
    min-height: 380px;
  }

  .ff-home-hero-inner {
    padding: 42px 18px;
  }

  .ff-hero > .ff-container.ff-hero-inner {
    padding: 42px 18px;
  }

  .ff-home-hero h1 {
    font-size: 34px;
  }

  .ff-hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 360px);
  }

  .ff-btn {
    width: 100%;
  }

  .ff-home-teaser-grid {
    grid-template-columns: 1fr;
  }

  .ff-news-grid {
    grid-template-columns: 1fr;
  }

  .ff-incident-hero {
    padding: 48px 0;
  }

  .ff-incident-hero h1 {
    font-size: 38px;
  }

  .ff-incidents-head,
  .ff-incident-sort-form {
    align-items: stretch;
    flex-direction: column;
  }

  .ff-incident-sort-form select,
  .ff-incident-sort-form .ff-small-btn {
    width: 100%;
  }

  .ff-incident-card {
    grid-template-columns: 1fr;
  }

  .ff-incident-card-image,
  .ff-incident-card-image img,
  .ff-incident-card-image .ff-image-placeholder {
    min-height: 210px;
  }

  .ff-incident-card-body {
    padding: 20px;
  }

  .ff-incident-card h3 {
    font-size: 21px;
  }

  .ff-incident-card-facts {
    display: grid;
    gap: 10px;
  }

  .ff-incident-detail-nav {
    grid-template-columns: 1fr;
  }

  .ff-incident-detail-nav-empty {
    display: none;
  }

  .ff-incident-detail-nav-next {
    text-align: left;
  }

  .ff-incident-detail-nav-link,
  .ff-incident-detail-nav-next {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .ff-incident-detail-nav-next .ff-incident-detail-nav-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .ff-incident-detail-nav-next > span:first-child {
    grid-column: 2;
    grid-row: 1;
  }

  .ff-calendar-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 26px;
  }

  .ff-calendar-year,
  .ff-calendar-current {
    grid-column: auto;
    grid-row: auto;
  }

  .ff-year-calendar {
    grid-template-columns: 1fr;
  }

  .ff-calendar-event {
    grid-template-columns: 62px minmax(0, 1fr);
    padding-inline: 16px;
  }

  .ff-pagination {
    gap: 6px;
    margin-top: 26px;
  }

  .ff-pagination .page-numbers {
    min-width: 34px;
    height: 34px;
    padding-inline: 8px;
    border-radius: 6px;
    font-size: 13px;
  }

  .ff-pagination .prev,
  .ff-pagination .next {
    min-width: auto;
    padding-inline: 12px;
  }

  .ff-pagination .dots {
    display: none;
  }

  .ff-news-event-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .ff-events-sidebar-panel {
    padding: 20px;
  }

  .ff-home-teaser-card,
  .ff-home-teaser-copy,
  .ff-home-incident-item {
    grid-template-columns: 1fr;
  }

  .ff-home-event-item {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
  }

  .ff-home-event-item h3 {
    margin-top: 0;
  }

  .ff-home-list-arrow {
    display: none;
  }

  .ff-home-event-item .ff-date-block {
    place-items: center;
    text-align: center;
    min-width: 0;
  }

  .ff-home-event-item .ff-date-block strong {
    font-size: 30px;
  }

  .ff-home-event-item .ff-date-block span {
    font-size: 12px;
  }

  .ff-footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ff-footer-brand {
    align-items: flex-start;
  }

  .ff-footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .ff-topbar-socials a,
  .ff-topbar-socials span {
    width: 26px;
    height: 30px;
  }

  .ff-topbar-emergency {
    font-size: 11px;
  }

  .ff-brand {
    gap: 8px;
  }

  .ff-brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .ff-brand-logo {
    transform: translateY(-3px);
  }

  .ff-brand-title strong {
    font-size: 16px;
  }

  .ff-home-hero h1 {
    font-size: 30px;
  }

  .ff-hero h1,
  .ff-hero-small h1 {
    max-width: 11ch;
    font-size: 29px;
    line-height: 1.1;
  }

  .ff-home-hero p {
    font-size: 15px;
  }
}

@media (max-width: 1100px) {
  .ff-vehicle-layout {
    grid-template-columns: 1fr;
  }

  .ff-vehicle-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ff-station-block,
  .ff-station-map,
  .ff-history-entry,
  .ff-history-card {
    grid-template-columns: 1fr;
  }

  .ff-station-block.is-reversed .ff-station-copy {
    order: 0;
  }

  .ff-history-timeline::before,
  .ff-history-entry::before {
    display: none;
  }

  .ff-history-period {
    padding-top: 0;
    padding-right: 0;
    text-align: left;
  }

  .ff-vehicle-tabs {
    display: none;
  }

  .ff-vehicle-card-grid {
    grid-template-columns: 1fr;
  }

  .ff-vehicle-side {
    grid-template-columns: 1fr;
  }

  .ff-vehicle-panel-wide {
    grid-column: auto;
  }

  .ff-vehicle-highlight-grid,
  .ff-vehicle-incident-list {
    grid-template-columns: 1fr;
  }

  .ff-vehicle-equipment-item ul {
    grid-template-columns: 1fr;
  }

  .ff-vehicle-equipment-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ff-vehicle-tabs {
    top: 72px;
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .ff-vehicle-tab {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .ff-vehicle-side {
    grid-template-columns: 1fr;
  }

  .ff-vehicle-panel {
    padding: 18px;
  }

  .ff-vehicle-fact-list > div {
    grid-template-columns: 22px 1fr;
  }

  .ff-vehicle-fact-list strong {
    grid-column: 2;
  }

  .ff-vehicle-data-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ff-vehicle-equipment-item summary {
    grid-template-columns: 22px minmax(0, 1fr) 20px;
  }

  .ff-vehicle-equipment-item summary small {
    grid-column: 2;
  }

  .ff-vehicle-equipment-item ul {
    padding-left: 40px;
  }

  .ff-vehicle-equipment-images {
    grid-template-columns: 1fr;
    padding-left: 40px;
  }
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ff-main {
  flex: 1 0 auto;
}

.ff-site-footer {
  flex-shrink: 0;
}

body.error404 .ff-main {
  display: flex;
  flex-direction: column;
}

body.error404 .ff-main > .ff-hero {
  flex: 1 0 auto;
  display: flex;
}

body.error404 .ff-main > .ff-hero > .ff-hero-inner {
  flex: 1;
}

@media (max-width: 900px) {
  .ff-contact-page .ff-contact-info,
  .ff-contact-main-grid,
  .ff-contact-sidebar,
  .ff-contact-side-stack,
  .ff-contact-notice-band {
    grid-template-columns: 1fr;
  }

  .ff-contact-page .ff-contact-info {
    margin-top: -22px;
  }

  .ff-contact-page .ff-contact-item,
  .ff-contact-page .ff-contact-item:nth-child(2n) {
    border-left: 0;
  }

  .ff-contact-page .ff-contact-item + .ff-contact-item {
    border-top: 1px solid var(--ff-border);
  }
}

@media (max-width: 640px) {
  .ff-contact-page .ff-contact-item,
  .ff-contact-panel,
  .ff-contact-side-card {
    padding: 18px;
  }

  .ff-contact-page .ff-contact-item,
  .ff-contact-route,
  .ff-contact-side-card,
  .ff-contact-notice-item {
    grid-template-columns: 1fr;
  }

  .ff-contact-map-visual {
    height: 170px;
  }

  .ff-contact-notice-band {
    margin-inline: -20px;
    border-radius: 0;
  }
}

@media (max-width: 1000px) {
  .ff-membership-download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ff-membership-download-grid {
    grid-template-columns: 1fr;
  }

  .ff-membership-club-hint,
  .ff-membership-step-card {
    padding: 20px;
  }

  .ff-membership-way-head h2 {
    font-size: 25px;
  }

  .ff-membership-step {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .ff-membership-marker {
    width: 52px;
    height: 52px;
    grid-column: 1;
  }

  .ff-membership-marker svg {
    width: 23px;
    height: 23px;
  }

  .ff-membership-timeline::before {
    left: 25px;
    transform: none;
  }

  .ff-membership-step-card,
  .ff-membership-step:nth-child(even) .ff-membership-step-card {
    grid-column: 2;
    grid-row: auto;
    text-align: left;
  }

  .ff-membership-club-hint {
    grid-template-columns: 1fr;
  }
}
