/* Editorial additions share the original palette and spacing system. */
.seo-menu {
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 24px;
}

.seo-menu-group {
  min-width: 0;
}

.seo-menu-group > p {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 8px 0;
}

.seo-menu-group > a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.45;
  border-bottom: 1px solid #edf0f6;
}

.seo-menu-group > a:hover {
  color: var(--blue);
}

.seo-footer {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  padding-block: 60px;
}

.seo-footer b {
  display: block;
  margin-bottom: 20px;
}

.seo-footer a {
  display: block;
  margin: 12px 0;
  color: #b6c3d8;
  font-size: 13px;
  line-height: 1.55;
}

.seo-footer a:hover {
  color: #fff;
}

.seo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.seo-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition:
    transform 0.2s,
    border-color 0.2s;
  min-width: 0;
}

.seo-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.seo-card > span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.seo-card h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 16px 12px 25px 0;
}

.seo-card > b {
  position: absolute;
  bottom: 16px;
  right: 20px;
  color: var(--blue);
}

.seo-home > p {
  max-width: 900px;
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 36px;
}

.seo-intro {
  max-width: 1120px;
}

.seo-intro h1 {
  font-size: clamp(32px, 4.5vw, 62px);
  max-width: 1000px;
  overflow-wrap: break-word;
}

.seo-intro > p {
  max-width: 850px;
}

.seo-screen {
  margin: 32px 0 48px;
}

.seo-screen img {
  max-height: 650px;
  object-fit: contain;
  background: #f4f6fa;
}

.seo-screen figcaption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 12px;
}

.seo-hub {
  padding-block: 30px 45px;
}

.seo-hub h2 {
  font-size: 32px;
}

.seo-action {
  padding: 48px;
  border-radius: 24px;
  background: var(--navy);
  color: #fff;
  margin-block: 30px 90px;
}

.seo-action h2 {
  font-size: 36px;
}

.seo-action .seo-card {
  color: var(--ink);
}

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  padding-top: 24px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.seo-breadcrumbs [aria-current] {
  opacity: 0.7;
}

.seo-tagline {
  font-size: clamp(13px, 1.4vw, 20px) !important;
  line-height: 1.4 !important;
  margin: 12px 0 0 !important;
  color: #d9e5f9 !important;
}

.explore-heading h1 {
  max-width: 790px;
  font-size: clamp(30px, 3.4vw, 56px);
}

.feature-hero h1 {
  font-size: clamp(32px, 4.2vw, 64px);
  overflow-wrap: break-word;
}

.prose-section p {
  max-width: 75ch;
}

.article-layout > * {
  min-width: 0;
}

.seo-related h2 {
  font-size: clamp(28px, 3vw, 42px);
}

@media (max-width: 1100px) {
  .seo-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 700px) {
  .seo-cards {
    grid-template-columns: 1fr;
  }

  .seo-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .seo-card {
    padding: 23px;
  }

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

  .seo-intro {
    padding-block: 32px 24px;
  }

  .seo-intro h1,
  .feature-hero h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .seo-home > p {
    font-size: 16px;
  }

  .seo-action {
    padding: 28px 22px;
    margin-block: 24px 50px;
  }

  .seo-action h2 {
    font-size: 28px;
  }

  .seo-hub {
    padding-block: 20px;
  }

  .seo-breadcrumbs {
    padding-top: 16px;
    font-size: 11px;
  }

  .seo-menu-group > a {
    padding: 13px 0;
  }

  .explore-heading h1 {
    font-size: 28px;
  }

  .seo-tagline {
    font-size: 13px !important;
  }

  .seo-screen {
    margin-inline: 0;
  }

  .seo-screen img {
    max-height: 480px;
  }

  .seo-related {
    padding-block: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-card {
    transition: none;
  }

  .seo-card:hover {
    transform: none;
  }
}

.stock-outcomes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stock-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.stock-figures span {
  padding: 16px;
  border: 1px solid #cbd7e8;
  border-radius: 8px;
  background: #f6f8fc;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.stock-figures strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.stock-related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .stock-outcomes,
  .stock-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .stock-outcomes,
  .stock-figures,
  .stock-related {
    grid-template-columns: 1fr;
  }
}

.seo-attribution {
  font-size: 12px;
  color: var(--muted);
  padding-top: 20px;
  margin-bottom: 0;
}

.seo-attribution a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keep the shared interactive hero visible on all twelve Ukrainian capability pages. */
html[lang="uk"] body.stock-page .feature-hero.zone-hero,
html[lang="uk"] body.services-page .feature-hero.zone-hero {
  display: flex;
}

/* Zone heroes use an absolutely positioned breadcrumb trail. Keep the shared
   SEO spacing from pushing that trail into the hero content. */
.zone-hero .seo-breadcrumbs {
  z-index: 3;
  width: var(--container-width);
  max-width: none;
  padding: 0;
  margin: 0 auto;
}

/* The breadcrumb is an overlay of the hero itself, not of the bottom-aligned
   content container. This keeps it beside the header at every viewport height. */
.zone-hero > .container {
  position: static;
}

@media (max-width: 850px) {
  .zone-hero {
    min-height: max(560px, calc(100svh - 65px));
  }

  .zone-hero .seo-breadcrumbs {
    top: 12px;
    max-width: none;
    font-size: 11px;
    line-height: 1.45;
  }
}

/* Posts and video surveillance guide. */
.posts-page .article-layout {
  max-width: 1320px;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
}

.posts-page .prose {
  max-width: 900px;
}

.posts-page .prose-section {
  padding-bottom: 52px;
  margin-bottom: 42px;
}

.posts-page .prose h2 {
  max-width: 760px;
  letter-spacing: 0;
}

.posts-page .post-lead {
  color: var(--ink);
  font-size: 19px;
  font-weight: 550;
  line-height: 1.75;
}

.post-points {
  display: grid;
  gap: 0;
  padding: 0 !important;
  margin: 4px 0 28px;
  list-style: none;
  border-top: 1px solid var(--line);
}

.post-points li {
  position: relative;
  padding: 11px 10px 11px 30px;
  border-bottom: 1px solid var(--line);
}

.post-points li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(52, 105, 255, 0.1);
}

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

.post-points-columns li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.post-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 8px 0 28px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: #0b1930;
  overflow-x: auto;
}

.post-flow span {
  flex: 1 0 auto;
  min-width: 108px;
  padding: 11px 14px;
  border: 1px solid rgba(134, 186, 255, 0.32);
  border-radius: 6px;
  background: rgba(47, 112, 230, 0.2);
  text-align: center;
  font-size: 14px;
  font-weight: 650;
}

.post-flow b {
  color: #77b7ff;
  font-size: 18px;
  font-weight: 500;
}

.post-flow-long span {
  min-width: 98px;
}

.post-capacity {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 8px 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.post-capacity span {
  padding: 18px 15px;
  color: var(--muted);
  background: #f7f9fc;
  font-size: 14px;
  line-height: 1.5;
}

.post-capacity b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
}

.post-questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 !important;
  margin: 4px 0 28px;
  list-style: none;
}

.post-questions li {
  position: relative;
  min-height: 58px;
  padding: 13px 14px 13px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #f7f9fc;
  line-height: 1.55;
}

.post-questions li::before {
  content: "?";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.post-process-section {
  padding: 38px !important;
  border: 1px solid #d9e4f3 !important;
  border-radius: 8px;
  background: #f5f8fd;
}

.post-related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid #d9e4f3;
}

.prose .post-related-links a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 2px;
  border-bottom: 1px solid #d9e4f3;
  color: #174fba;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.post-related-links a:hover {
  color: var(--blue);
}

.post-related-links b {
  flex: 0 0 auto;
  color: var(--blue);
}

.posts-faq .faq-list {
  margin-top: 28px;
}

@media (max-width: 700px) {
  .posts-page .prose-section {
    padding-bottom: 34px;
    margin-bottom: 30px;
  }

  .posts-page .post-lead {
    font-size: 17px;
  }

  .post-points-columns,
  .post-capacity,
  .post-questions,
  .post-related-links {
    grid-template-columns: 1fr;
  }

  .post-points-columns li:nth-child(odd) {
    border-right: 0;
  }

  .post-flow {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
  }

  .post-flow span {
    min-width: 0;
  }

  .post-flow b {
    display: none;
  }

  .post-process-section {
    padding: 24px 18px !important;
  }
}

.breadcrumbs.feature-breadcrumbs {
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.zone-hero .breadcrumbs.feature-breadcrumbs,
.zone-hero .breadcrumbs.feature-breadcrumbs > * {
  color: #fff;
  opacity: 1;
}

.zone-hero .breadcrumbs.feature-breadcrumbs a:hover {
  color: #fff;
}

@media (max-width: 850px) {
  .breadcrumbs.feature-breadcrumbs {
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
  }

  .zone-hero .breadcrumbs.feature-breadcrumbs {
    flex-wrap: nowrap;
    min-width: 0;
    padding: 4px 2px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    white-space: nowrap;
    color: #fff;
    text-shadow: 0 1px 6px #000;
    scrollbar-width: thin;
    scrollbar-color: #ffffff80 transparent;
    -webkit-overflow-scrolling: touch;
  }

  .zone-hero .breadcrumbs.feature-breadcrumbs > * {
    flex: 0 0 auto;
    color: #fff;
    opacity: 1;
  }

  .zone-hero .breadcrumbs.feature-breadcrumbs a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .zone-hero .breadcrumbs.feature-breadcrumbs a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
}
