/* 2026 sibling-site refresh — .no is the warmer community and family surface. */

:root {
  --dbn-site-red: #ba0c2f;
  --dbn-site-blue: #00205b;
  --dbn-site-ink: #17130f;
  --dbn-site-paper: #f5f0e7;
  --dbn-site-line: rgba(0, 32, 91, 0.14);
}

.site-header {
  border-top: 3px solid var(--dbn-site-red);
}

.site-logo {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
}

.site-edition {
  border-left: 1px solid var(--dbn-site-line);
  color: var(--dbn-site-blue);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.35;
  max-width: 14ch;
  padding-left: 0.75rem;
  text-transform: uppercase;
}

.v2-shell .v2-hero {
  min-height: min(760px, calc(100dvh - 76px));
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.v2-shell .v2-hero__bg {
  background-image: url('/assets/images/home-family-rights-hero.webp');
  background-position: center;
  filter: none;
}

.v2-shell .v2-hero__veil {
  background: linear-gradient(90deg, rgba(4, 13, 31, 0.98) 0%, rgba(4, 19, 45, 0.90) 42%, rgba(4, 18, 40, 0.34) 73%, rgba(4, 13, 31, 0.12) 100%);
}

.v2-shell .v2-hero__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.9fr);
}

.v2-shell .v2-hero__main {
  max-width: 690px;
}

.v2-shell .v2-hero__title {
  font-size: clamp(3.1rem, 7vw, 6.25rem);
  max-width: 12ch;
}

.v2-shell .v2-flag {
  align-self: end;
  background: rgba(4, 18, 40, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 3px solid #f4c542;
  justify-self: end;
  padding: 1.2rem;
  width: min(230px, 100%);
}

.v2-shell .v2-flag__svg {
  width: 88px;
}

.v2-shell .v2-flag__cap {
  margin: 0;
  text-align: left;
}

.v2-network {
  background: #fff;
  border-bottom: 1px solid var(--dbn-site-line);
  border-top: 1px solid var(--dbn-site-line);
}

.v2-network__inner {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(11rem, 0.65fr) minmax(15rem, 1fr) minmax(18rem, 1.45fr);
  min-height: 96px;
  padding-inline: var(--v2-gutter);
}

.v2-network__label,
.v2-network__site {
  align-items: center;
  display: flex;
  margin: 0;
  padding: 1rem 1.25rem;
}

.v2-network__label {
  color: #6f675e;
  font-family: var(--v2-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.v2-network__site {
  border-left: 1px solid var(--dbn-site-line);
  color: var(--dbn-site-blue);
  gap: 1rem;
  text-decoration: none;
}

.v2-network__site strong {
  color: var(--dbn-site-red);
  font-family: var(--v2-serif);
  font-size: 1.65rem;
}

.v2-network__site > span {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.v2-network__site small {
  color: #756f67;
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  margin-top: 0.25rem;
}

.v2-network__site b {
  margin-left: auto;
}

.v2-network__site.is-active {
  background: var(--dbn-site-paper);
  box-shadow: inset 0 -3px 0 var(--dbn-site-red);
}

.v2-network__site:not(.is-active):hover {
  background: #faf8f4;
}

.v2-shell .v2-title,
.v2-shell .v2-display {
  text-wrap: balance;
}

.v2-shell .v2-lede,
.v2-shell .v2-route__body,
.v2-shell .v2-domain > p,
.v2-shell .v2-guide__desc {
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .site-edition { display: none; }

  .v2-shell .v2-hero {
    min-height: auto;
  }

  .v2-shell .v2-hero__grid {
    grid-template-columns: 1fr;
  }

  .v2-shell .v2-flag {
    justify-self: start;
  }

  .v2-network__inner {
    grid-template-columns: 1fr 1fr;
  }

  .v2-network__label {
    grid-column: 1 / -1;
    min-height: 44px;
  }
}

@media (max-width: 620px) {
  .v2-shell .v2-hero {
    padding-block: 4rem 3rem;
  }

  .v2-shell .v2-hero__bg {
    background-position: 64% center;
  }

  .v2-shell .v2-hero__veil {
    background: rgba(4, 16, 37, 0.86);
  }

  .v2-shell .v2-hero__title {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .v2-shell .v2-flag {
    align-items: flex-start;
    width: 100%;
  }

  .v2-network__inner {
    display: block;
    padding-inline: 0;
  }

  .v2-network__site {
    border-left: 0;
    border-top: 1px solid var(--dbn-site-line);
  }
}
