:root {
  --red: #d82027;
  --red-dark: #ad121a;
  --red-soft: #fff0f1;
  --blue: #173f96;
  --blue-soft: #edf3ff;
  --ink: #111827;
  --muted: #5d6675;
  --line: #e8ebf0;
  --surface: #ffffff;
  --surface-soft: #f7f8fb;
  --shadow-soft: 0 12px 34px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 22px 60px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f1f3f6;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.45;
  letter-spacing: 0;
}

body.admin-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-shell {
  width: min(1560px, calc(100% - 48px));
  min-height: calc(100svh - 48px);
  margin: 24px auto;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(232, 235, 240, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  min-height: 76px;
  padding: 0 4vw;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(232, 235, 240, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.header-actions,
.hero-actions,
.panel-head,
.text-action,
.emergency-pill,
.admin-trigger,
.button,
.contact-item,
.news-card,
.backup-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  min-width: max-content;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
}

.brand-mark .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.brand strong {
  font-size: 1.22rem;
  line-height: 1;
}

.site-nav {
  justify-content: center;
  gap: 1.25rem;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0.1rem;
  color: #242a35;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.12rem;
  height: 2px;
  background: transparent;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--red);
  outline: none;
}

.site-nav a.is-active::after,
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  background: var(--red);
}

.header-actions {
  justify-content: end;
  gap: 0.65rem;
}

.admin-trigger,
.emergency-pill,
.button,
.text-action,
.icon-button {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.admin-trigger {
  gap: 0.48rem;
  min-height: 42px;
  padding: 0.6rem 0.86rem;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 750;
}

.emergency-pill {
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(216, 32, 39, 0.25);
  font-weight: 800;
}

.admin-trigger:hover,
.emergency-pill:hover,
.button:hover,
.text-action:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.icon-button {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.icon-button.is-visible {
  display: grid;
}

.hero-dashboard {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 640px;
  padding: 5.2rem 4vw 3.4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.85) contrast(0.96) brightness(0.68);
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.15), transparent 30%),
    linear-gradient(90deg, rgba(216, 32, 39, 0.82) 0%, rgba(177, 36, 32, 0.72) 28%, rgba(54, 33, 31, 0.36) 58%, rgba(17, 24, 39, 0.42) 100%);
}

.hero-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.04) 0%, rgba(17, 24, 39, 0.28) 100%),
    linear-gradient(90deg, rgba(216, 32, 39, 0.58) 0%, rgba(216, 32, 39, 0.26) 32%, rgba(255, 255, 255, 0.02) 62%);
}

.hero-copy {
  max-width: 620px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 800;
}

.eyebrow span:first-child {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: 4.35rem;
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
  white-space: pre-line;
}

.hero-copy h1::after {
  content: "";
}

.hero-copy p:not(.eyebrow) {
  max-width: 500px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-cta {
  position: relative;
  min-width: 220px;
  color: var(--red);
  background: #fff;
  border-color: #fff;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.hero-cta:hover {
  color: var(--red-dark);
  background: #fff;
}

.button {
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  font-weight: 800;
}

.button-primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 12px 24px rgba(216, 32, 39, 0.22);
}

.button-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(17, 24, 39, 0.14);
}

.button-light:hover {
  color: var(--blue);
  border-color: rgba(23, 63, 150, 0.22);
}

.button-join {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 24px rgba(23, 63, 150, 0.22);
}

.button-join:hover {
  background: #12337a;
  border-color: #12337a;
}

.button-danger {
  color: #fff;
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.hero-badge {
  position: absolute;
  right: 0;
  bottom: 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  min-width: 300px;
  padding: 1.1rem 2rem 1.1rem 2.8rem;
  color: var(--ink);
  background: #fff;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.16);
}

.hero-badge img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.hero-badge strong,
.hero-badge small {
  display: block;
  line-height: 1;
}

.hero-badge strong {
  font-size: 1.35rem;
  text-transform: uppercase;
}

.hero-badge small {
  margin-top: 0.25rem;
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 850;
  white-space: nowrap;
}

.stats-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: min(1320px, calc(100% - 8vw));
  margin: -1.6rem auto 1rem;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.stat-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem;
  min-height: 80px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.96);
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 50%;
}

.stat-item strong {
  display: block;
  font-size: 1.42rem;
  line-height: 1;
}

.stat-copy {
  display: block;
  min-width: 0;
}

.stat-copy span {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.25;
}

.dashboard-grid,
.bottom-grid,
.content-row,
.contact-home-row {
  display: grid;
  gap: 1rem;
  width: min(1320px, calc(100% - 8vw));
  margin: 0 auto 1rem;
}

.dashboard-grid {
  grid-template-columns: 0.78fr 1.22fr;
}

.bottom-grid {
  grid-template-columns: 1.35fr 0.85fr;
}

.contact-home-row {
  grid-template-columns: 1fr;
}

.content-row {
  grid-template-columns: 1fr;
}

.action-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(1320px, calc(100% - 8vw));
  margin: 0 auto 1rem;
}

.action-strip article {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.action-strip img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  opacity: 0.88;
}

.action-strip article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.78));
}

.action-strip div {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
}

.action-strip span {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
}

.action-strip strong {
  display: block;
  max-width: 320px;
  font-size: 1.14rem;
  line-height: 1.08;
}

.panel {
  min-width: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 9px 26px rgba(17, 24, 39, 0.06);
}

.panel-head {
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0;
}

.panel h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.1;
}

.panel p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-head a,
.text-link,
.text-action,
.responders-content a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--red);
  background: none;
  border: 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--red-dark);
}

.vehicle-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  padding: 0.9rem;
}

.mini-vehicle {
  min-width: 0;
  padding: 0.65rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-vehicle img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: contain;
  margin-bottom: 0.5rem;
  background: #fff;
  border-radius: 8px;
}

.mini-vehicle h3 {
  margin: 0;
  font-size: 0.95rem;
}

.mini-vehicle p {
  font-size: 0.78rem;
}

.responders-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
}

.responders-content strong {
  display: block;
  max-width: 240px;
  font-size: 1.45rem;
  line-height: 1.05;
}

.responders-content a {
  display: inline-flex;
  margin-top: 1rem;
}

.pulse-icon {
  width: 110px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-panel {
  overflow: hidden;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  padding: 2.2rem 1rem 1rem;
}

.timeline-line {
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  top: 2.75rem;
  height: 1px;
  background: #ccd2dc;
}

.timeline article {
  position: relative;
  text-align: center;
}

.timeline article span {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 0.62rem;
  background: #fff;
  border: 2px solid var(--red);
  border-radius: 50%;
}

.timeline strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.timeline p {
  font-size: 0.72rem;
}

.about-panel,
.youth-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
}

.about-panel img,
.youth-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-panel div,
.youth-panel div {
  align-self: center;
  padding: 2.6rem;
}

.about-panel h2,
.youth-panel h2 {
  font-size: 2.45rem;
  line-height: 1.05;
}

.about-panel p,
.youth-panel p {
  max-width: 640px;
  font-size: 1.18rem;
  line-height: 1.45;
}

.news-panel {
  width: min(1320px, calc(100% - 8vw));
  margin: 1rem auto;
  overflow: hidden;
  padding-bottom: 0.9rem;
}

.news-head {
  padding: 1.2rem 1.2rem 0;
}

.news-head h2 {
  font-size: 1.75rem;
}

.news-head p {
  font-size: 1rem;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 1.2rem 0.3rem;
}

.news-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-soft);
}

.news-card-image {
  position: relative;
  display: block;
}

.news-card-content {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  padding: 1rem;
}

.news-date {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  min-height: 56px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(232, 235, 240, 0.9);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(12px);
}

.news-date strong {
  display: block;
  color: var(--red);
  font-size: 1.1rem;
  line-height: 1;
}

.news-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.news-card h3 a:hover,
.news-card h3 a:focus-visible {
  color: var(--red);
}

.news-card-content > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.93rem;
}

.news-card button {
  justify-self: start;
  margin-top: 0.2rem;
  padding: 0;
  color: var(--red);
  background: none;
  border: 0;
  font-weight: 850;
  cursor: pointer;
}

.news-body {
  display: none;
}

.news-body p {
  display: block;
  overflow: visible;
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-card.is-open .news-body {
  display: block;
  margin-top: 0.45rem;
}

.intervention-panel {
  width: min(1320px, calc(100% - 8vw));
  margin: 1rem auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    #fff;
}

.intervention-head {
  padding: 1.2rem 1.2rem 0;
}

.intervention-head h2 {
  font-size: 1.75rem;
}

.intervention-head p {
  font-size: 1rem;
}

.intervention-list {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  grid-auto-rows: minmax(178px, auto);
  gap: 1rem;
  padding: 1rem 1.2rem 1.2rem;
}

.intervention-list[data-count="1"] {
  grid-template-columns: 1fr;
}

.intervention-list[data-count="2"] {
  grid-auto-rows: minmax(320px, auto);
}

.intervention-card {
  position: relative;
  display: grid;
  min-height: 178px;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.16);
}

.intervention-card.is-featured {
  grid-row: span 2;
  min-height: 372px;
}

.intervention-list[data-count="2"] .intervention-card.is-featured,
.intervention-list[data-count="1"] .intervention-card.is-featured {
  grid-row: auto;
}

.intervention-list[data-count="2"] .intervention-card {
  min-height: 320px;
}

.intervention-card-link {
  position: relative;
  display: grid;
  height: 100%;
  min-height: inherit;
  color: #fff;
}

.intervention-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.intervention-card:hover img,
.intervention-card:focus-within img {
  transform: scale(1.045);
}

.intervention-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(216, 32, 39, 0.58), rgba(15, 23, 42, 0.2) 48%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.86));
}

.intervention-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 0.45rem;
  min-width: 0;
  padding: 1rem;
}

.intervention-card.is-featured .intervention-card-content {
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

.intervention-date {
  display: inline-grid;
  justify-self: start;
  place-items: center;
  min-width: 52px;
  min-height: 56px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.intervention-date strong {
  display: block;
  color: var(--red);
  font-size: 1.1rem;
  line-height: 1;
}

.intervention-meta {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intervention-card h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  line-height: 1.02;
}

.intervention-card:not(.is-featured) h3 {
  font-size: 1.28rem;
}

.intervention-card p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  line-height: 1.38;
}

.intervention-card:not(.is-featured) p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.intervention-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
  color: #fff;
  font-weight: 900;
}

.intervention-more .icon {
  width: 1rem;
  height: 1rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem;
}

.contact-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.contact-item {
  gap: 0.65rem;
  color: #263140;
  font-size: 0.9rem;
}

.contact-item span {
  display: grid;
  gap: 0.08rem;
}

.contact-item small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
}

.contact-item .icon {
  color: var(--red);
}

.contact-mark {
  display: grid;
  place-items: center;
  min-width: 150px;
  opacity: 0.12;
}

.contact-mark img {
  width: 150px;
}

.vehicle-detail {
  width: min(1320px, calc(100% - 8vw));
  margin: 0 auto 1rem;
}

.vehicle-detail article {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
}

.vehicle-detail img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.vehicle-detail div {
  align-self: center;
  padding: 2rem;
  color: #fff;
}

.vehicle-detail h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.05;
}

.vehicle-detail p {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.4rem 4vw 1.8rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-detailed {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.2fr) auto;
  align-items: start;
  justify-content: stretch;
  gap: 2rem;
  padding: 1.6rem 4vw;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  text-align: left;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span,
.footer-copy {
  display: block;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.footer-contact h2 {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: 1rem;
}

.footer-detailed .contact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.2rem;
  margin-top: 0;
}

.footer-copy {
  align-self: end;
  white-space: nowrap;
}

.subpage-main {
  width: min(1320px, calc(100% - 8vw));
  margin: 0 auto;
  padding-bottom: 1rem;
}

.subpage-hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1rem;
  align-items: stretch;
  margin: 1rem 0;
}

.subpage-hero-text {
  grid-template-columns: 1fr;
}

.subpage-hero-copy,
.subpage-hero-media,
.subpage-section,
.subpage-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 9px 26px rgba(17, 24, 39, 0.06);
}

.subpage-hero-copy {
  display: grid;
  align-content: center;
  min-height: 420px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.subpage-hero-text .subpage-hero-copy {
  min-height: auto;
}

.subpage-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
}

.subpage-hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.subpage-hero-text .subpage-hero-copy p:not(.eyebrow) {
  max-width: 880px;
}

.subpage-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.subpage-section {
  margin-bottom: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.subpage-section h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.subpage-section > p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.rich-copy {
  display: grid;
  gap: 1rem;
  max-width: 980px;
  margin-top: 1rem;
  color: #303947;
  font-size: 1.02rem;
}

.rich-copy p {
  margin: 0;
}

.subpage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.subpage-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.subpage-grid.one {
  grid-template-columns: minmax(0, 1fr);
}

.subpage-card {
  box-shadow: none;
}

.subpage-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.subpage-card div {
  padding: 1rem;
}

.subpage-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.12;
}

.subpage-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.operative-section {
  background:
    linear-gradient(180deg, #fff 0%, rgba(247, 249, 252, 0.86) 100%);
}

.operative-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 1rem;
  margin-top: 1rem;
}

.operative-photo {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.operative-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}

.operative-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.66)),
    linear-gradient(90deg, rgba(17, 24, 39, 0.42), rgba(17, 24, 39, 0));
}

.operative-photo figcaption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
}

.operative-photo span,
.operative-lead span,
.operative-data-head span {
  display: block;
  color: var(--red);
  font-weight: 900;
}

.operative-photo span {
  color: rgba(255, 255, 255, 0.78);
}

.operative-photo strong {
  display: block;
  max-width: 720px;
  margin-top: 0.25rem;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.operative-lead {
  overflow: hidden;
  color: #fff;
  background: #0e1728;
  border-radius: 8px;
}

.operative-lead img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

.operative-lead div {
  padding: 1.2rem;
}

.operative-lead span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.operative-lead h3 {
  margin: 0.25rem 0 0;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.operative-lead p {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.operative-stats {
  grid-template-columns: repeat(4, 1fr);
}

.operative-data {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 1rem;
  margin-top: 1rem;
}

.operative-chart,
.operative-types {
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.operative-data-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.operative-data-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.operative-data-head span {
  color: var(--blue);
  text-align: right;
  white-space: nowrap;
}

.operative-bars {
  display: grid;
  grid-template-columns: repeat(11, minmax(44px, 1fr));
  align-items: end;
  gap: 0.45rem;
  min-height: 220px;
  margin-top: 0.8rem;
}

.operative-bar {
  display: grid;
  grid-template-rows: auto 150px auto;
  gap: 0.35rem;
  min-width: 0;
  text-align: center;
}

.operative-bar span {
  color: var(--ink);
  font-weight: 900;
  font-size: 0.9rem;
}

.operative-bar i {
  display: block;
  align-self: end;
  width: 100%;
  min-height: 18px;
  height: var(--h);
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 999px 999px 4px 4px;
  box-shadow: 0 10px 18px rgba(216, 32, 39, 0.16);
}

.operative-bar.is-peak i {
  background: linear-gradient(180deg, var(--blue) 0%, #102f72 100%);
  box-shadow: 0 10px 18px rgba(23, 63, 150, 0.18);
}

.operative-bar.is-current i {
  background: linear-gradient(180deg, #263b63 0%, #111827 100%);
}

.operative-bar small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.1;
}

.operative-chart p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.operative-types ul {
  display: grid;
  gap: 0.48rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.operative-types li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.62rem 0.72rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.operative-types li span {
  color: #303947;
}

.operative-types li strong {
  color: var(--red);
  font-size: 1.08rem;
}

.history-story .rich-copy {
  max-width: 1120px;
}

.history-info-list {
  grid-template-columns: repeat(4, 1fr);
}

.history-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.history-vehicle-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.history-vehicle-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.history-vehicle-card::after {
  content: none;
}

.history-vehicle-card div {
  padding: 1rem;
  color: var(--ink);
}

.history-vehicle-card span {
  display: inline-flex;
  margin-bottom: 0.4rem;
  padding: 0.25rem 0.5rem;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 8px;
  font-weight: 900;
}

.history-vehicle-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.08;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.info-list article {
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-list .icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  color: var(--red);
}

.info-list strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.info-list span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
}

.join-page .hero-actions {
  margin-top: 1.5rem;
}

.join-intro {
  position: relative;
}

.join-question-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.join-question-list article,
.join-role-grid article,
.join-contact-card {
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.join-question-list article {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.join-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.join-gallery article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
}

.join-gallery img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.86;
}

.join-gallery article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.78));
}

.join-gallery div {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
}

.join-gallery span {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
}

.join-gallery strong {
  display: block;
  max-width: 330px;
  font-size: 1.35rem;
  line-height: 1.08;
}

.join-age-list {
  grid-template-columns: repeat(3, 1fr);
}

.join-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.join-role-grid h3,
.join-contact-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.join-role-grid p,
.join-contact-card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.join-cta-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.join-cta-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.join-cta-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
}

.join-cta-panel .eyebrow {
  margin-bottom: 1rem;
}

.join-contact-card {
  align-self: start;
  background: #fff;
  color: var(--ink);
}

.join-contact-card p {
  color: var(--muted);
}

.people-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.people-list article {
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.people-list strong,
.people-list span {
  display: block;
}

.people-list span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.rank-breakdown {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rank-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.rank-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
}

.rank-head span {
  color: var(--blue);
  font-weight: 900;
}

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

.rank-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rank-grid strong {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 8px;
  font-size: 1.15rem;
}

.rank-grid span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 820;
  line-height: 1.18;
}

.leadership-groups {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 1rem;
  margin-top: 1rem;
}

.leadership-cover-grid {
  margin-top: 1rem;
}

.leadership-cover-card div {
  padding: 0.9rem 1rem;
}

.leadership-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.leadership-profile-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1fr;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.leadership-profile-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 18%;
  background: #fff;
}

.leadership-profile-card.is-commander img {
  object-position: center;
}

.leadership-profile-card div {
  align-self: center;
  padding: 1rem;
}

.leadership-profile-card span {
  color: var(--red);
  font-weight: 900;
}

.leadership-profile-card h3 {
  margin: 0.35rem 0 0.45rem;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
}

.leadership-group {
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.leadership-group.single {
  margin-top: 1rem;
}

.leadership-group h3 {
  margin: 0;
  padding: 1rem 1rem 0.85rem;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.1;
}

.leadership-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.leadership-group.compact .leadership-list {
  grid-template-columns: 1fr;
}

.leadership-list div {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.leadership-list div:nth-child(2n),
.leadership-group.compact .leadership-list div {
  border-right: 0;
}

.leadership-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.leadership-group.compact .leadership-list div:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.leadership-group.compact .leadership-list div:last-child {
  border-bottom: 0;
}

.leadership-list span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

.leadership-list strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.2;
}

.vehicle-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.vehicle-page-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.vehicle-page-card img {
  align-self: center;
  width: 100%;
  object-fit: contain;
}

.vehicle-page-card h3 {
  margin: 0;
}

.vehicle-page-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.equipment-page .subpage-hero-media img {
  object-position: center;
}

.equipment-page .subpage-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.equipment-page .subpage-hero-copy {
  min-width: 0;
}

.equipment-page .subpage-hero-copy h1 {
  font-size: clamp(2.4rem, 4.2vw, 4.1rem);
  line-height: 1.02;
}

.equipment-page .subpage-hero-copy h1 span {
  display: block;
}

.equipment-intro .rich-copy {
  max-width: 1120px;
}

.equipment-highlights strong {
  color: var(--ink);
}

.equipment-vehicle-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.equipment-vehicle-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 9px 26px rgba(17, 24, 39, 0.05);
}

.equipment-vehicle-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.equipment-vehicle-body {
  display: grid;
  align-content: start;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.equipment-tag {
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.28rem 0.55rem;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.equipment-vehicle-body h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.94;
}

.equipment-subtitle {
  margin: 0.45rem 0 0;
  color: var(--blue);
  font-size: 1.08rem;
  font-weight: 850;
}

.equipment-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0.8rem;
}

.equipment-facts span {
  padding: 0.48rem 0.65rem;
  color: #303947;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.equipment-vehicle-body h4 {
  margin: 0.85rem 0 0.25rem;
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.equipment-vehicle-body p {
  margin: 0;
  color: var(--muted);
}

.equipment-detail-list {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.equipment-detail-list li::marker {
  color: var(--red);
}

.equipment-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.equipment-list-grid article {
  padding: 1.1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.equipment-list-grid h3 {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
}

.equipment-list-grid ul {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.equipment-gallery-section > p {
  max-width: 820px;
}

.equipment-gallery {
  display: grid;
  grid-template-areas:
    "main aid hose"
    "main tools hose"
    "ladder ladder drive"
    "snow snow drive";
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.9fr) minmax(0, 0.96fr);
  grid-auto-rows: minmax(220px, 15vw);
  gap: 1rem;
  margin-top: 1rem;
}

.equipment-gallery-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 9px 26px rgba(17, 24, 39, 0.08);
}

.equipment-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 220ms ease;
}

.equipment-gallery-card.is-main {
  grid-area: main;
}

.equipment-gallery-card.is-aid {
  grid-area: aid;
}

.equipment-gallery-card.is-hose {
  grid-area: hose;
}

.equipment-gallery-card.is-tools {
  grid-area: tools;
}

.equipment-gallery-card.is-ladder {
  grid-area: ladder;
}

.equipment-gallery-card.is-drive {
  grid-area: drive;
}

.equipment-gallery-card.is-snow {
  grid-area: snow;
}

.equipment-gallery-card.is-main img {
  object-position: center;
}

.equipment-gallery-card.is-aid img,
.equipment-gallery-card.is-tools img {
  object-position: center;
}

.equipment-gallery-card.is-hose img {
  object-position: 35% center;
}

.equipment-gallery-card.is-drive img {
  object-position: 58% center;
}

.equipment-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.02), rgba(17, 24, 39, 0.74));
}

.equipment-gallery-card div {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: #fff;
}

.equipment-gallery-card span {
  display: block;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.85rem;
  font-weight: 900;
}

.equipment-gallery-card strong {
  display: block;
  max-width: 560px;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  line-height: 1.05;
}

.equipment-gallery-card.is-aid strong,
.equipment-gallery-card.is-hose strong,
.equipment-gallery-card.is-tools strong,
.equipment-gallery-card.is-drive strong {
  font-size: clamp(1.12rem, 1.6vw, 1.38rem);
}

.equipment-gallery-card:hover img {
  transform: scale(1.035);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-box {
  padding: 1.2rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-box h3 {
  margin: 0 0 0.75rem;
}

.contact-box p {
  margin-top: 0;
}

.contact-box.is-wide {
  grid-column: 1 / -1;
}

.contact-role-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact-role {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-role span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-role strong {
  font-size: 1.12rem;
  line-height: 1.2;
}

.contact-role em {
  color: var(--red);
  font-style: normal;
  font-weight: 850;
}

.partner-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.partner-link {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 0.9rem;
  min-height: 104px;
  padding: 0.85rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.partner-link img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.partner-link span {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 820;
  line-height: 1.15;
}

.partner-link:hover,
.partner-link:focus-visible,
.contact-role:hover,
.contact-role:focus-visible {
  border-color: rgba(224, 24, 37, 0.32);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.admin-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 24, 39, 0.28);
  backdrop-filter: blur(6px);
}

.admin-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 90;
  width: min(560px, 100%);
  max-width: 100%;
  overflow-y: auto;
  padding: 1.2rem;
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(17, 24, 39, 0.16);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.admin-panel.is-open {
  transform: translateX(0);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-header p,
.admin-header h2 {
  margin: 0;
}

.admin-header p {
  color: var(--red);
  font-weight: 800;
}

.admin-header h2 {
  font-size: 1.8rem;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-tabs button {
  min-height: 42px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.admin-tabs button.is-active {
  color: var(--red);
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.08);
}

.admin-section {
  display: none;
}

.admin-section.is-active {
  display: block;
}

.admin-form,
.backup-box {
  display: grid;
  gap: 0.9rem;
}

.admin-form label {
  display: grid;
  gap: 0.35rem;
  color: #253044;
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  min-height: 44px;
  padding: 0.68rem 0.75rem;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form-row,
.stat-editor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.admin-subtitle {
  margin-top: 0.4rem;
  color: var(--red);
  font-weight: 900;
}

.admin-status {
  min-height: 1.3rem;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.admin-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.admin-news-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-news-item h3,
.backup-box h3 {
  margin: 0;
  font-size: 0.98rem;
}

.admin-news-item p,
.backup-box p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-news-item button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--red);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.backup-box {
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.backup-actions {
  flex-wrap: wrap;
  gap: 0.6rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.archive-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 9px 26px rgba(17, 24, 39, 0.06);
}

.archive-card-image {
  position: relative;
  display: block;
  background: var(--surface-soft);
}

.archive-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.archive-card > div {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.archive-meta {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.12;
}

.archive-card h3 a:hover,
.archive-card h3 a:focus-visible {
  color: var(--red);
}

.archive-card p {
  margin: 0;
  color: var(--muted);
}

.archive-empty {
  margin-top: 1rem;
  color: var(--muted);
}

.article-main {
  padding-top: 1rem;
}

.article-detail {
  overflow: hidden;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 9px 26px rgba(17, 24, 39, 0.06);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: 430px;
}

.article-hero img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.article-hero-copy {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.article-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 0.98;
}

.article-hero-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-hero-copy time {
  color: var(--ink);
  font-weight: 850;
}

.article-body {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 3rem);
  color: #303947;
  font-size: 1.08rem;
  line-height: 1.65;
}

.article-body p {
  margin: 0;
}

.article-empty {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.article-empty h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-page h1 {
  margin: 0.15rem 0 0.4rem;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.admin-page-shell {
  display: grid;
  gap: 1rem;
}

.admin-site-header {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
}

.admin-login > div:first-child {
  max-width: 660px;
}

.admin-login p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.admin-login-form {
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.admin-toolbar h1 {
  margin-bottom: 0;
}

.admin-toolbar-actions,
.admin-form-actions,
.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-workspace .admin-tabs {
  grid-template-columns: repeat(3, 1fr);
}

.admin-split {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(320px, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-page .admin-form,
.admin-page .admin-list,
.admin-page .backup-box {
  max-width: 900px;
}

.admin-page .admin-editor,
.admin-page .admin-settings-form {
  max-width: none;
  padding: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-page .admin-editor h2,
.admin-page .admin-settings-form h2,
.admin-split h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.admin-page .admin-section.is-active {
  display: grid;
  gap: 1rem;
}

.admin-page .admin-status {
  margin-top: 0.8rem;
}

.admin-content-item {
  grid-template-columns: 92px minmax(0, 1fr) auto;
}

.admin-content-item img {
  width: 92px;
  height: 68px;
  object-fit: cover;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-content-item .admin-item-actions button {
  width: auto;
  min-width: 68px;
  padding: 0 0.7rem;
  color: var(--blue);
  font-weight: 800;
}

.admin-content-item .admin-item-actions button:last-child {
  color: var(--red);
}

.admin-empty {
  margin: 0;
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(23, 63, 150, 0.22);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .icon-button {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    justify-content: start;
    gap: 0.35rem;
    padding: 0.85rem 4vw 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-header[data-open="true"] .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 0.82rem;
  }

  .stats-bar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: -1rem auto 1rem;
  }

  .dashboard-grid,
  .bottom-grid,
  .content-row,
  .contact-home-row,
  .action-strip,
  .join-gallery,
  .leadership-profile-grid,
  .leadership-groups {
    grid-template-columns: 1fr;
  }

  .rank-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .intervention-list {
    grid-template-columns: 1fr;
  }

  .intervention-card,
  .intervention-card.is-featured {
    grid-row: auto;
    min-height: 260px;
  }
}

@media (max-width: 900px) {
  .stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-bar .stat-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: 100%;
    min-height: 100svh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .site-header {
    min-height: 66px;
    padding: 0 1rem;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .admin-trigger {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .admin-trigger span,
  .admin-trigger {
    font-size: 0;
  }

  .admin-trigger .icon {
    width: 1.1rem;
    height: 1.1rem;
  }

  .emergency-pill {
    min-height: 42px;
    padding: 0.58rem 0.8rem;
  }

  .hero-dashboard {
    min-height: auto;
    padding-top: 4.3rem;
    padding-bottom: 2.2rem;
  }

  .hero-dashboard::before {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.48)),
      linear-gradient(90deg, rgba(216, 32, 39, 0.68), rgba(216, 32, 39, 0.18) 72%);
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.32));
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 36rem;
  }

  .hero-actions {
    max-width: 420px;
  }

  .hero-actions .button {
    min-height: 50px;
  }

  .hero-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(420px, 100%);
    min-width: 0;
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    clip-path: none;
    border-radius: 8px;
  }

  .stats-bar,
  .dashboard-grid,
  .bottom-grid,
  .content-row,
  .contact-home-row,
  .action-strip,
  .vehicle-detail,
  .news-panel,
  .intervention-panel,
  .subpage-main {
    width: calc(100% - 2rem);
  }

  .vehicle-strip,
  .news-list,
  .intervention-list,
  .archive-grid,
  .article-hero,
  .about-panel,
  .youth-panel,
  .vehicle-detail article,
  .contact-panel,
  .operative-feature,
  .operative-data,
  .equipment-page .subpage-hero,
  .equipment-vehicle-card,
  .equipment-list-grid,
  .equipment-gallery,
  .subpage-hero,
  .subpage-grid,
  .subpage-grid.two,
  .info-list,
  .people-list,
  .vehicle-page-grid,
  .contact-page-grid,
  .admin-login,
  .admin-split {
    grid-template-columns: 1fr;
  }

  .join-question-list,
  .join-age-list,
  .join-role-grid,
  .join-cta-panel {
    grid-template-columns: 1fr;
  }

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

  .contact-role-list,
  .partner-links {
    grid-template-columns: 1fr;
  }

  .about-panel img,
  .youth-panel img,
  .vehicle-detail img,
  .article-hero img,
  .equipment-vehicle-card img,
  .subpage-hero-media img {
    min-height: 220px;
  }

  .article-hero {
    min-height: auto;
  }

  .article-hero-copy {
    order: -1;
  }

  .operative-photo,
  .operative-photo img {
    min-height: 300px;
  }

  .operative-lead {
    display: grid;
    grid-template-columns: minmax(180px, 0.45fr) 1fr;
  }

  .operative-lead img {
    height: 100%;
    aspect-ratio: auto;
  }

  .vehicle-detail div,
  .about-panel div,
  .youth-panel div {
    padding: 1.3rem;
  }

  .vehicle-detail h2,
  .about-panel h2,
  .youth-panel h2 {
    font-size: 1.8rem;
  }

  .about-panel p,
  .youth-panel p {
    font-size: 1rem;
  }

  .action-strip article,
  .action-strip img {
    min-height: 170px;
  }

  .join-gallery article,
  .join-gallery img {
    min-height: 210px;
  }

  .subpage-hero-copy {
    min-height: auto;
  }

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

  .equipment-vehicle-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .equipment-gallery {
    grid-template-areas: none;
    grid-auto-rows: auto;
  }

  .equipment-gallery .equipment-gallery-card {
    grid-area: auto;
    min-height: 260px;
  }

  .equipment-gallery-card img {
    min-height: 260px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .timeline-line {
    display: none;
  }

  .timeline article {
    display: grid;
    grid-template-columns: auto 58px 1fr;
    align-items: center;
    gap: 0.55rem;
    text-align: left;
  }

  .timeline article span {
    margin: 0;
  }

  .site-footer {
    display: grid;
    gap: 0.35rem;
    text-align: center;
  }

  .footer-detailed {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: left;
  }

  .footer-detailed .contact-list {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    align-self: auto;
  }

  .admin-site-header {
    grid-template-columns: auto;
    justify-items: start;
  }

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

  .admin-workspace .admin-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 1rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .site-header {
    gap: 0.7rem;
  }

  .emergency-pill {
    display: none;
  }

  .hero-dashboard {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 3.4rem;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-actions,
  .backup-actions {
    display: grid;
  }

  .hero-actions {
    gap: 0.65rem;
    margin-top: 1.45rem;
  }

  .hero-actions .button {
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    padding: 0.85rem 1rem;
  }

  .hero-cta {
    min-width: 0;
    clip-path: none;
  }

  .hero-badge {
    grid-template-columns: auto 1fr;
    width: 100%;
    gap: 0.7rem;
    margin-top: 1.25rem;
    padding: 0.85rem;
  }

  .hero-badge img {
    width: 54px;
    height: 54px;
  }

  .hero-badge strong {
    font-size: 0.98rem;
  }

  .hero-badge small {
    font-size: 0.82rem;
    white-space: normal;
    line-height: 1.15;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    margin-top: -0.75rem;
  }

  .stats-bar .stat-item:last-child {
    grid-column: auto;
  }

  .action-strip article,
  .action-strip img {
    min-height: 145px;
  }

  .join-gallery article,
  .join-gallery img {
    min-height: 180px;
  }

  .action-strip strong {
    font-size: 1rem;
  }

  .stat-item {
    grid-template-columns: auto 1fr;
    align-items: center;
    min-height: 74px;
    padding: 0.85rem;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .stat-item strong {
    font-size: 1.32rem;
  }

  .stat-copy span {
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .about-panel {
    display: block;
  }

  .about-panel img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .about-panel div {
    padding: 1.2rem;
  }

  .about-panel h2 {
    font-size: 1.65rem;
  }

  .about-panel p {
    font-size: 0.98rem;
  }

  .panel-head {
    display: grid;
  }

  .rank-head {
    display: grid;
    align-items: start;
    gap: 0.2rem;
  }

  .rank-grid,
  .leadership-profile-card {
    grid-template-columns: 1fr;
  }

  .leadership-profile-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .responders-content,
  .operative-lead,
  .admin-form-row,
  .stat-editor,
  .admin-workspace .admin-tabs,
  .leadership-list {
    grid-template-columns: 1fr;
  }

  .admin-content-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .admin-content-item img {
    width: 72px;
    height: 58px;
  }

  .admin-content-item .admin-item-actions {
    grid-column: 1 / -1;
  }

  .leadership-list div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .leadership-list div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .leadership-list div:last-child {
    border-bottom: 0;
  }

  .archive-card-image img {
    aspect-ratio: 16 / 11;
  }

  .article-body {
    font-size: 1rem;
  }

  .operative-lead img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .operative-photo,
  .operative-photo img {
    min-height: 240px;
  }

  .operative-chart {
    overflow-x: auto;
  }

  .operative-data-head {
    display: grid;
    gap: 0.25rem;
  }

  .operative-data-head span {
    text-align: left;
  }

  .operative-bars {
    min-width: 600px;
  }

  .operative-photo strong {
    font-size: 1.7rem;
  }

  .equipment-vehicle-card img {
    min-height: 190px;
  }

  .equipment-gallery .equipment-gallery-card,
  .equipment-gallery-card img {
    min-height: 220px;
  }

  .equipment-facts {
    display: grid;
  }

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

  .news-card img {
    width: 100%;
  }

  .intervention-list {
    padding: 1rem;
  }

  .intervention-card,
  .intervention-card.is-featured {
    min-height: 238px;
  }

  .intervention-card h3 {
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .intervention-card p {
    font-size: 0.92rem;
  }

  .news-panel,
  .intervention-panel,
  .vehicle-detail,
  .dashboard-grid,
  .content-row,
  .action-strip {
    margin-bottom: 0.8rem;
  }
}
