:root {
  --serif: "Spectral", "Georgia", "Times New Roman", serif;
  --sans: "Spectral", "Georgia", "Times New Roman", serif;
  --navy: #3A4750;
  --navy-dark: #2C363E;
  --gold: #4F5A2E;
  --gold-light: #6b7a42;
  --bg: #F8F3E7;
  --bg-soft: #F4EEE1;
}

body { font-weight: 400; }

.logo .wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}

.home-page header.site-header:not(.is-scrolled) .logo .wordmark,
.video-page header.site-header:not(.is-scrolled) .logo .wordmark,
.image-page header.site-header:not(.is-scrolled) .logo .wordmark,
.home-page header.site-header:not(.is-scrolled) nav.main-nav a,
.home-page header.site-header:not(.is-scrolled) .nav-toggle,
.video-page header.site-header:not(.is-scrolled) nav.main-nav a,
.video-page header.site-header:not(.is-scrolled) .nav-toggle,
.image-page header.site-header:not(.is-scrolled) nav.main-nav a,
.image-page header.site-header:not(.is-scrolled) .nav-toggle {
  color: #F0EAD9;
}

.hero-content h1,
.hero .hero-lede,
.hero-video-center h1,
.hero-video-center p { color: #F0EAD9; }

.content-card { border-color: rgba(58, 71, 80, .12); box-shadow: 0 12px 32px rgba(58, 71, 80, .08); }
.content-card .content-meta,
.content-card a,
.publication-back,
.publication-source a { color: var(--gold); }
.content-card h3,
.publication h1,
.publication-block h2 { color: var(--navy); }
.content-home-section.alt { background: var(--bg-soft); }
.publication-notice { border-left-color: var(--gold); background: var(--bg-soft); }

/* Etusivun tilastot+tiedote ja hero yhdistetty samaan videotaustaan (yksi <video>, ei kahta). */
.home-intro-video {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: auto;
  min-height: 0;
  padding: 132px 0 64px;
}

.home-intro-video .hero-overlay {
  background: linear-gradient(180deg, rgba(16, 25, 43, .86) 0%, rgba(16, 25, 43, .66) 40%, rgba(10, 20, 35, .48) 62%, rgba(6, 14, 26, .9) 100%);
}

.home-intro-video .capacity-update-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 56px;
  padding: 0 24px;
  color: #f0ead9;
}

/* .hero h1 (small-caps, serif display style) would otherwise win over
   .statistics-heading h1 by source order — restore the plain stats heading style. */
.home-intro-video .statistics-heading h1 {
  max-width: 620px;
  font-variant: normal;
  letter-spacing: normal;
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.08;
  margin: 0;
}

.home-intro-video .hero-content {
  margin-top: auto;
}

/* Kaksi lukua (250+ yhteydenottoa / 92 varsinaisesti avustettu) samassa statistics-total-laatikossa. */
.statistics-total {
  flex-wrap: wrap;
  row-gap: 18px;
}

.statistics-total-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.statistics-total-item strong {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.statistics-total-divider {
  align-self: stretch;
  width: 1px;
  background: rgba(240, 234, 217, .25);
}

@media (max-width: 700px) {
  .home-intro-video {
    padding: 108px 0 40px;
  }
  .home-intro-video .capacity-update-inner {
    margin-bottom: 40px;
  }
  .statistics-total-divider {
    display: none;
  }
}


/* Päivystysnumero etusivun yläosassa (tilastojen yläpuolella). */
.home-intro-video .update-kicker { color: #c8d19b; }
.duty-line {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: 48px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(240, 234, 217, .25);
}
.duty-line h2 {
  margin: 0 0 14px;
  color: #f0ead9;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
}
.home-intro-video .duty-line-lede {
  margin: 0;
  max-width: 520px;
  color: rgba(240, 234, 217, .88);
  font-size: 1.05rem;
  line-height: 1.55;
}
.duty-line-number {
  display: inline-block;
  color: #f0ead9;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid #c8d19b;
  padding-bottom: 6px;
}
.duty-line-number:hover,
.duty-line-number:focus-visible { color: #c8d19b; }
.duty-line-facts {
  display: grid;
  grid-template-columns: auto auto;
  gap: 18px 32px;
  margin: 22px 0 0;
}
.duty-line-facts dt {
  color: rgba(240, 234, 217, .62);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.duty-line-facts dd {
  margin: 0;
  color: #f0ead9;
  font-size: 1.05rem;
  line-height: 1.4;
}

/* Tilastot siirretty päivystysnumeron alapuolelle ja hieman pienemmiksi. */
.home-intro-video .statistics-block { margin-top: 44px; }
.home-intro-video .statistics-heading h2 {
  max-width: 620px;
  margin: 0;
  color: #f0ead9;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
}

@media (max-width: 700px) {
  .duty-line {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 28px;
  }
  .duty-line-facts { grid-template-columns: 1fr; gap: 14px; }
  .home-intro-video .statistics-block { margin-top: 34px; }
}

/* Kaksi päivystysnumeroa allekkain. */
.duty-line-numbers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.duty-line .duty-line-number { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }

/* WhatsApp feature card above contact form */
.wa-feature {
  margin: 48px 0 0;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #d9e6dc;
  border-left: 6px solid #25D366;
  padding: 40px 44px;
  box-shadow: 0 10px 30px rgba(44, 54, 62, 0.08);
}
.wa-feature-icon {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-feature-icon .wa-logo { width: 50px; height: 50px; }
.wa-feature-body h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 12px;
}
.wa-feature-body p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 760px;
}
.wa-feature-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #128C4A;
  color: #fff;
  font-size: 1.15rem;
  padding: 16px 30px;
  border-radius: 4px;
}
.wa-feature-button:hover { background: #0f7a40; color: #fff; transform: translateY(-1px); }
.wa-feature-button .wa-logo--btn { width: 24px; height: 24px; flex: 0 0 auto; }
html.is-rtl .wa-feature { border-left: 1px solid #d9e6dc; border-right: 6px solid #25D366; }
@media (max-width: 700px) {
  .wa-feature { flex-direction: column; gap: 18px; padding: 28px 22px; margin-top: 32px; }
  .wa-feature-icon { width: 64px; height: 64px; }
  .wa-feature-icon .wa-logo { width: 38px; height: 38px; }
  .wa-feature-body h3 { font-size: 1.6rem; }
  .wa-feature-body p { font-size: 1.05rem; }
  .wa-feature-button { width: 100%; justify-content: center; font-size: 1.05rem; padding: 15px 18px; text-align: center; }
}

/* Thank-you pages */
.thanks-copy p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 16px; }
.thanks-numbers { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; font-size: 1.2rem; }
.thanks-numbers a { color: var(--navy); }
.thanks-actions { margin-top: 32px; }

/* WhatsApp in header */
nav.main-nav a.nav-whatsapp,
.home-page header.site-header:not(.is-scrolled) nav.main-nav a.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #128C4A;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  border-bottom: 0;
  font-weight: 600;
  white-space: nowrap;
}
nav.main-nav a.nav-whatsapp:hover { background: #0f7a40; color: #fff; }
nav.main-nav a.nav-whatsapp .wa-logo { width: 18px; height: 18px; flex: 0 0 auto; }
.header-whatsapp-mobile { display: none; }
@media (max-width: 1150px) and (min-width: 701px) {
  nav.main-nav a.nav-whatsapp { padding: 8px; }
  nav.main-nav a.nav-whatsapp span { display: none; }
}
@media (max-width: 700px) {
  nav.main-nav a.nav-whatsapp { display: none; }
  .header-whatsapp-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #128C4A;
    color: #fff;
    margin-left: auto;
    margin-right: 12px;
  }
  .header-whatsapp-mobile .wa-logo { width: 22px; height: 22px; }
  html.is-rtl .header-whatsapp-mobile { margin-left: 12px; margin-right: auto; }
}

.contact-options > .contact-choice:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
