:root {
  --navy: #071b2d;
  --navy-2: #102e44;
  --mint: #88f0ca;
  --mint-dark: #2d9d7e;
  --white: #ffffff;
  --paper: #f5f8f6;
  --line: #b9c7c6;
  --ink-soft: #49606d;
  --red: #d84d3f;
  --shell: min(1240px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--navy);
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration-color: var(--mint-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  transform: none;
}

.edition-bar {
  background: var(--mint);
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.edition-bar .shell {
  display: flex;
  justify-content: space-between;
  min-height: 28px;
  align-items: center;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--navy);
}

.masthead {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 28px;
  align-items: end;
  min-height: 112px;
  padding-block: 20px 18px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--navy);
  font-size: 42px;
  line-height: 1;
  text-decoration: none;
}

.brand span {
  font-weight: 400;
}

.brand strong {
  position: relative;
  font-weight: 800;
}

.brand strong::after {
  position: absolute;
  right: 1px;
  bottom: -8px;
  left: 1px;
  height: 5px;
  background: var(--mint);
  content: "";
}

.brand small {
  margin-left: 3px;
  font-size: 15px;
  font-weight: 700;
}

.brand-line {
  max-width: 290px;
  margin: 0 0 3px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-link,
.menu-toggle {
  min-height: 40px;
  padding: 8px 0;
  border: 0;
  border-bottom: 3px solid var(--mint-dark);
  background: transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.section-nav {
  border-top: 1px solid var(--line);
}

.section-nav .shell {
  display: flex;
  min-height: 48px;
  align-items: stretch;
}

.section-nav a {
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.section-nav a:first-child {
  border-left: 1px solid var(--line);
}

.section-nav a:hover,
.section-nav a[aria-current="page"] {
  background: var(--navy);
  color: var(--mint);
}

.front {
  padding-top: 36px;
}

.front-label,
.section-heading {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 24px;
  align-items: baseline;
  border-top: 3px solid var(--navy);
  padding-top: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.front-label span:last-child,
.section-heading > span {
  text-align: right;
}

.front-title {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
  gap: 48px;
  align-items: end;
  padding: 26px 0 32px;
}

.front-title h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(48px, 7.4vw, 106px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.front-title p {
  margin: 0;
  border-left: 6px solid var(--mint);
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.45;
}

.story-card {
  min-width: 0;
}

.story-image {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
  text-decoration: none;
}

.story-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 350ms ease;
}

.story-image:hover img {
  transform: scale(1.025);
}

.story-copy {
  position: relative;
  padding-top: 18px;
}

.story-copy .kicker,
.kicker {
  color: var(--mint-dark);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.story-copy h2 {
  margin: 8px 0 10px;
  font-size: 25px;
  line-height: 1.12;
}

.story-copy h2 a {
  text-decoration: none;
}

.story-copy h2 a:hover {
  text-decoration: underline;
}

.story-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.story-number {
  float: right;
  color: var(--line);
  font-size: 42px;
  font-weight: 800;
  line-height: 0.8;
}

.story-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  background: var(--navy);
  color: var(--white);
}

.story-card--featured .story-image img {
  height: 100%;
  min-height: 470px;
}

.story-card--featured .story-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px;
}

.story-card--featured .story-copy::before {
  content: "Hoofdverhaal";
  margin-bottom: auto;
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.story-card--featured .story-copy h2 {
  font-size: 40px;
}

.story-card--featured .story-copy p,
.story-card--featured .story-meta {
  color: #d3e1e3;
}

.latest,
.categories,
.related,
.category-stories {
  padding-block: 92px;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading p,
.section-heading h2 {
  margin: 0;
}

.section-heading h2 {
  font-size: 24px;
  line-height: 1.2;
  text-transform: none;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 28px;
}

.quote-band {
  background: var(--mint);
  border-block: 1px solid var(--navy);
}

.quote-band .shell {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 48px;
  align-items: end;
  padding-block: 60px;
}

.quote-band p {
  max-width: 920px;
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.16;
}

.quote-band span {
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
}

.category-strip {
  display: grid;
  grid-template-columns: 80px minmax(180px, 1fr) minmax(280px, 2fr) 40px;
  gap: 24px;
  align-items: center;
  min-height: 112px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.category-strip:last-child {
  border-bottom: 1px solid var(--line);
}

.category-strip > span {
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 800;
}

.category-strip strong {
  font-size: 22px;
}

.category-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.category-strip b {
  font-size: 26px;
  text-align: right;
  transition: transform 180ms ease;
}

.category-strip:hover b {
  transform: translateX(5px);
}

.search-band {
  background: var(--navy);
  color: var(--white);
}

.search-band > .shell {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: end;
  padding-block: 62px;
}

.search-band h2 {
  margin: 6px 0 0;
  font-size: 34px;
  line-height: 1.1;
}

.inline-search,
.search-form > div {
  display: flex;
}

.inline-search input,
.search-form input {
  min-width: 0;
  flex: 1;
  height: 54px;
  border: 1px solid var(--white);
  border-radius: 0;
  padding: 0 16px;
  background: var(--white);
  color: var(--navy);
}

.inline-search button,
.search-form button {
  min-width: 120px;
  border: 1px solid var(--mint);
  border-radius: 0;
  padding: 0 18px;
  background: var(--mint);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--navy);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 72px;
  padding-block: 64px;
}

.brand-footer {
  font-size: 31px;
}

.footer-grid p {
  max-width: 420px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  text-decoration: none;
}

.footer-grid > div:not(:first-child) a:hover {
  text-decoration: underline;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 16px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Article */
.article-header {
  display: grid;
  grid-template-columns: 110px minmax(0, 900px);
  gap: 42px;
  padding-block: 72px 48px;
}

.article-index {
  display: flex;
  flex-direction: column;
  color: var(--mint-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-index span:first-child {
  color: var(--line);
  font-size: 64px;
  line-height: 0.9;
}

.article-heading h1 {
  max-width: 940px;
  margin: 14px 0 24px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.standfirst {
  max-width: 800px;
  margin: 0;
  border-left: 6px solid var(--mint);
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.5;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-hero {
  margin-block: 0;
}

.article-hero img {
  width: 100%;
  max-height: 720px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-hero figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 11px;
}

.article-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 720px);
  gap: 64px;
  justify-content: center;
  padding-block: 66px 90px;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 20px;
  border-top: 5px solid var(--mint);
  padding-top: 14px;
}

.article-aside span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-aside p {
  color: var(--ink-soft);
  font-size: 13px;
}

.article-body {
  min-width: 0;
  color: #173447;
  font-size: 18px;
  line-height: 1.78;
}

.article-body > p:first-child {
  margin-top: 0;
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
}

.article-body h2 {
  margin: 62px 0 14px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.15;
}

.article-body h3 {
  margin: 40px 0 10px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.25;
}

.article-body h4 {
  margin: 30px 0 8px;
  color: var(--mint-dark);
  font-size: 17px;
  text-transform: uppercase;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 24px;
}

.article-body li + li {
  margin-top: 8px;
}

.article-body li::marker {
  color: var(--mint-dark);
  font-weight: 800;
}

.article-body table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}

.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--navy);
  color: var(--white);
}

.related {
  border-top: 1px solid var(--navy);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* Category */
.category-header {
  display: grid;
  grid-template-columns: 160px minmax(0, 800px);
  gap: 44px;
  align-items: start;
  padding-block: 80px;
}

.category-header > span {
  color: var(--mint-dark);
  font-size: 104px;
  font-weight: 800;
  line-height: 0.85;
}

.category-header h1,
.search-header h1 {
  margin: 8px 0 20px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
}

.category-header div > p:last-child,
.search-header > p {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: 19px;
}

.category-stories {
  border-top: 1px solid var(--line);
}

.category-page .story-grid .story-card:only-child {
  max-width: 600px;
}

.category-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 30px 70px;
}

.category-next p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.category-next a {
  font-weight: 700;
  text-decoration: none;
}

/* Search */
.search-header {
  padding-block: 80px 56px;
}

.search-form {
  max-width: 760px;
  margin-top: 38px;
}

.search-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-form input {
  border-color: var(--navy);
}

.search-results {
  min-height: 440px;
  border-top: 1px solid var(--line);
  padding-block: 50px 90px;
}

.search-list {
  display: grid;
  gap: 0;
}

.search-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}

.search-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.search-item h3 {
  margin: 7px 0 8px;
  font-size: 25px;
  line-height: 1.15;
}

.search-item h3 a {
  text-decoration: none;
}

.search-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.search-item .story-meta {
  justify-content: flex-start;
}

.search-empty,
.search-error,
.search-loading {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .masthead {
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    min-height: 86px;
    align-items: center;
  }

  .brand {
    font-size: 34px;
  }

  .brand-line {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .section-nav {
    display: none;
  }

  .section-nav.is-open {
    display: block;
  }

  .section-nav .shell {
    display: block;
    width: 100%;
  }

  .section-nav a,
  .section-nav a:first-child {
    min-height: 48px;
    border: 0;
    border-top: 1px solid var(--line);
    padding-inline: 16px;
  }

  .front-title,
  .story-card--featured,
  .quote-band .shell,
  .search-band > .shell {
    grid-template-columns: 1fr;
  }

  .front-title {
    gap: 22px;
  }

  .front-title h1 {
    font-size: 64px;
  }

  .story-card--featured .story-image img {
    min-height: 0;
  }

  .story-card--featured .story-copy {
    min-height: 380px;
    padding: 30px;
  }

  .quote-band .shell,
  .search-band > .shell {
    gap: 24px;
  }

  .quote-band span {
    text-align: left;
  }

  .category-strip {
    grid-template-columns: 50px 1fr 30px;
    padding-block: 20px;
  }

  .category-strip p {
    grid-column: 2 / 4;
  }

  .article-header,
  .category-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-index {
    flex-direction: row;
    gap: 12px;
    align-items: baseline;
  }

  .article-index span:first-child {
    font-size: 40px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-aside {
    position: static;
  }

  .category-header > span {
    font-size: 70px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 24px);
  }

  body {
    font-size: 15px;
  }

  .edition-bar span:first-child {
    display: none;
  }

  .edition-bar .shell {
    justify-content: flex-end;
  }

  .masthead {
    gap: 12px;
  }

  .brand {
    font-size: 27px;
  }

  .brand small {
    font-size: 11px;
  }

  .search-link,
  .menu-toggle {
    font-size: 11px;
  }

  .front {
    padding-top: 24px;
  }

  .front-label,
  .section-heading {
    grid-template-columns: 1fr auto;
  }

  .front-label span:nth-child(2),
  .section-heading h2 {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .front-label span:last-child,
  .section-heading > span {
    grid-column: 2;
    grid-row: 1;
  }

  .front-title {
    padding-block: 22px 26px;
  }

  .front-title h1 {
    font-size: 44px;
  }

  .front-title p {
    font-size: 16px;
  }

  .story-card--featured .story-copy {
    min-height: 330px;
    padding: 22px;
  }

  .story-card--featured .story-copy h2 {
    font-size: 29px;
  }

  .latest,
  .categories,
  .related,
  .category-stories {
    padding-block: 62px;
  }

  .story-grid,
  .related-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .quote-band p {
    font-size: 28px;
  }

  .category-strip {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 12px;
  }

  .category-strip strong {
    font-size: 18px;
  }

  .inline-search,
  .search-form > div {
    display: grid;
  }

  .inline-search button,
  .search-form button {
    min-height: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal {
    flex-direction: column;
  }

  .article-header,
  .category-header,
  .search-header {
    padding-block: 50px 36px;
  }

  .article-heading h1,
  .category-header h1,
  .search-header h1 {
    font-size: 40px;
  }

  .standfirst {
    font-size: 17px;
  }

  .article-layout {
    padding-block: 44px 68px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.72;
  }

  .article-body > p:first-child {
    font-size: 18px;
  }

  .article-body h2 {
    margin-top: 48px;
    font-size: 28px;
  }

  .article-body h3 {
    font-size: 21px;
  }

  .article-body table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .category-header > span {
    font-size: 54px;
  }

  .search-item {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
