/* Website, ontwerp & code: J.kiewiet · Interbit.nl — https://interbit.nl */
/* Nieuws: het blauw en goud van de originele fotokaartjes. */
#nieuws {
  --nieuws-goud: #ffda56;
  --nieuws-wit: #f4f8fa;
  --nieuws-zacht: #c5d8e4;
  position: relative;
  isolation: isolate;
  padding: clamp(64px, 7vw, 112px) max(24px, 6vw);
  overflow: hidden;
  color: var(--nieuws-wit);
  background: var(--foto-vlak);
  border-block: 1px solid #ffda5633;
  scroll-margin-top: 100px;
}
#nieuws .nieuws-binnen { max-width: 1320px; margin-inline: auto; }
#nieuws .nieuws-kop { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 34px; border-bottom: 1px solid #c5d8e42b; }
#nieuws .nieuws-bovenregel, #nieuws .nieuws-label { font: 700 .875rem/1.5 'DM Sans', Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--nieuws-goud); margin: 0 0 20px; }
#nieuws .nieuws-bovenregel { display: flex; align-items: center; gap: 12px; }
#nieuws .nieuws-bovenregel > span { font-size: 1.5rem; }
#nieuws #nieuws-titel { margin: 0; font: 700 clamp(40px, 4.8vw, 72px)/1.02 'DM Sans', Arial, sans-serif; letter-spacing: -.055em; color: var(--nieuws-wit); text-shadow: none; }
#nieuws #nieuws-titel em { display: inline-block; color: var(--nieuws-goud); font-family: 'Playfair Display', Georgia, serif; font-size: .98em; font-weight: 700; line-height: 1.13; letter-spacing: -.045em; }
#nieuws .nieuws-editie { margin: 0 0 9px; color: var(--nieuws-zacht); font-size: .875rem; line-height: 1.6; }
#nieuws .nieuws-editie span { color: var(--nieuws-goud); margin-inline: 10px; }
#nieuws .nieuws-hoofdbericht { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(36px, 5vw, 80px); padding-block: 54px 0; }
#nieuws .nieuws-verhaal { max-width: 38rem; }
#nieuws .nieuws-verhaal h3 { color: var(--nieuws-wit); margin: 0 0 26px; font: 700 clamp(2rem, 3.1vw, 3rem)/1.16 'DM Sans', Arial, sans-serif; letter-spacing: -.045em; }
#nieuws .nieuws-verhaal h3 { color: var(--nieuws-goud); font-size: 1.5rem; letter-spacing: -.02em; }
#nieuws .nieuws-verhaal > p.nieuws-fotos-volgen { color: var(--nieuws-goud); font-style: italic; }
#nieuws .nieuws-verhaal > p:not(.nieuws-label) { color: var(--nieuws-zacht); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.8; margin-block: 0 20px; text-wrap: pretty; }
#nieuws .nieuws-onderwerp-lijn { display: block; width: 100%; height: 1px; margin: clamp(28px, 3vw, 40px) 0; border: 0; background: linear-gradient(90deg, var(--nieuws-goud) 0 48px, #ffda5659 48px, #ffda5626 80%, transparent); }
#nieuws .nieuws-verhaal strong { color: var(--nieuws-wit); font-weight: 600; }
#nieuws .nieuws-verhaal time { color: var(--nieuws-goud); font-weight: 700; }
#nieuws .nieuws-verhaal > .nieuws-binnenkort { color: var(--nieuws-wit); font-weight: 600; }
#nieuws .nieuws-binnenkort > span { color: var(--nieuws-goud); font-size: 1.5rem; margin-right: 9px; }
#nieuws .nieuws-tekstlink { display: inline-flex; align-items: center; gap: 20px; padding-block: 8px; border-bottom: 1px solid #ffda5677; color: var(--nieuws-goud); font-size: .875rem; font-weight: 700; text-decoration: none; line-height: 1.5; }
#nieuws .nieuws-tekstlink > span { font-size: 1.35rem; transition: transform 200ms ease; }
#nieuws .nieuws-tekstlink:hover > span { transform: translate(3px, -3px); }
#nieuws .nieuws-kaartpresentatie { min-width: 0; }
#nieuws .nieuws-kaartbijschrift { display: inline-block; max-width: 100%; margin: 0 5px 36px; color: var(--nieuws-goud); font: italic 700 clamp(1.5rem, 2.3vw, 2.125rem)/1.35 'Playfair Display', Georgia, serif; letter-spacing: -.025em; transform: rotate(-3deg); transform-origin: left center; text-shadow: 0 2px 18px #ffda5626; }
#nieuws .nieuws-kaartbijschrift > span:first-child { position: relative; display: inline-block; padding-bottom: 12px; color: var(--nieuws-goud); }
#nieuws .nieuws-kaartbijschrift > span:first-child::after { content: ''; position: absolute; left: 2px; bottom: 2px; width: 72%; height: 2px; border-radius: 50%; background: linear-gradient(90deg, #ffda56, #ffda564d 75%, transparent); transform: rotate(-1deg); }
#nieuws .nieuws-kaartstapel { padding: 12px 9px 8px; perspective: 1200px; }
#nieuws .nieuws-fotokaart { position: relative; margin: 0; transform: rotate(var(--kaart-hoek)); transition: transform 400ms ease; }
#nieuws .nieuws-fotokaart-voor { --kaart-hoek: -5deg; width: 93%; z-index: 1; }
#nieuws .nieuws-fotokaart-achter { --kaart-hoek: 6deg; width: 75%; margin: -24px 0 0 auto; z-index: 2; }
#nieuws .nieuws-fotokaart a { position: relative; display: block; border-radius: 4px; overflow: hidden; background: #142f40; box-shadow: 0 24px 48px #0008, 0 0 0 1px #ffffff36; text-decoration: none; }
#nieuws .nieuws-fotokaart img { display: block; width: 100%; height: auto; aspect-ratio: 1800 / 1284; }
#nieuws .nieuws-fotokaart a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 15%, #ffffff00 36%, #ffffff30 47%, #ffffff00 58%, transparent 80%); background-size: 250% 100%; background-position: 100% 0; pointer-events: none; transition: background-position 800ms ease; }
#nieuws .nieuws-kaart-zoom { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 18px; padding: 8px 12px; border: 1px solid #ffffff36; border-radius: 3px; background: #102a3cee; color: #fff; font: 600 .875rem/1.4 'DM Sans', Arial, sans-serif; }
#nieuws .nieuws-kaart-zoom > span { color: var(--nieuws-goud); font-size: 1.15rem; }
#nieuws .nieuws-kaarttip { text-align: right; margin: 34px 0 0; font-size: .875rem; line-height: 1.6; color: var(--nieuws-zacht); }
#nieuws .nieuws-kaarttip > span { color: var(--nieuws-goud); padding-right: 8px; }
#nieuws .nieuws-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #ffda5650; }
#nieuws .nieuws-moment { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: start; gap: 28px; padding: 36px 32px 12px 0; }
#nieuws .nieuws-moment + .nieuws-moment { padding-left: 36px; padding-right: 0; border-left: 1px solid #c5d8e42b; }
#nieuws .nieuws-moment time { display: flex; flex-direction: column; gap: 5px; color: var(--nieuws-goud); }
#nieuws .nieuws-moment time strong { font-size: 4.75rem; line-height: 1; letter-spacing: -.075em; font-weight: 600; }
#nieuws .nieuws-moment time span { font-size: .875rem; line-height: 1.5; }
#nieuws .nieuws-moment time span:last-child { color: var(--nieuws-zacht); font-size: .75rem; }
#nieuws .nieuws-moment .nieuws-label { font-size: .75rem; margin-bottom: 12px; letter-spacing: .1em; }
#nieuws .nieuws-moment h3 { font: 700 1.5rem/1.25 'DM Sans', Arial, sans-serif; letter-spacing: -.035em; margin: 0 0 14px; color: var(--nieuws-wit); }
#nieuws .nieuws-moment p:not(.nieuws-label) { font-size: 1rem; line-height: 1.75; color: var(--nieuws-zacht); margin: 0 0 12px; }
#nieuws .nieuws-moment .nieuws-fotos-volgen { color: var(--nieuws-goud); font-style: italic; }
#nieuws .nieuws-live-punt { display: inline-block; vertical-align: 1px; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--nieuws-goud); box-shadow: 0 0 12px #ffda5688; }
#nieuws > .scroll-markering { display: none; }
#nieuws :is(a, button):focus-visible, .fotokaart-venster button:focus-visible { outline: 3px solid #ffda56; outline-offset: 6px; }

.fotokaart-venster { width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 18px; border: 1px solid #ffda5670; border-radius: 10px; background: #0e2433; color: #f4f8fa; box-shadow: 0 32px 120px #000a; }
.fotokaart-venster::backdrop { background: #040d17e6; backdrop-filter: blur(12px); }
.fotokaart-venster-kop, .fotokaart-venster-voet { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fotokaart-venster-kop { padding: 0 0 14px; }
.fotokaart-venster h2 { font: 600 1rem/1.4 'DM Sans', Arial, sans-serif; margin: 0; color: #ffda56; }
.fotokaart-venster button { cursor: pointer; min-width: 44px; min-height: 44px; border: 1px solid #c5d8e447; border-radius: 4px; color: #f4f8fa; background: #1b3e53; font: 600 .875rem/1.4 'DM Sans', Arial, sans-serif; }
.fotokaart-venster button:hover { color: #0e2433; background: #ffda56; }
.fotokaart-sluiten { display: flex; gap: 16px; align-items: center; padding-inline: 14px; }
.fotokaart-sluiten span { font-size: 1.5rem; }
.fotokaart-groot { display: block; width: 100%; height: auto; max-height: calc(100dvh - 190px); object-fit: contain; }
.fotokaart-venster-voet { padding-top: 14px; }
.fotokaart-venster-voet p { font-size: .875rem; margin: 0; }
html.fotokaart-open { overflow: hidden; }


@media (min-width: 801px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #nieuws .nieuws-fotokaart:hover { z-index: 3; transform: translateY(-9px) rotate(0deg) rotateX(var(--kaart-x, 0deg)) rotateY(var(--kaart-y, 0deg)); }
  #nieuws .nieuws-fotokaart:hover a::after { background-position: 0 0; }
}
@media (max-width: 1100px) and (min-width: 1001px) {
  #nieuws .nieuws-moment { grid-template-columns: 78px minmax(0, 1fr); gap: 20px; }
  #nieuws .nieuws-moment + .nieuws-moment { padding-left: 24px; }
}
@media (max-width: 1000px) {
  #nieuws .nieuws-hoofdbericht { grid-template-columns: 1fr; gap: 44px; }
  #nieuws .nieuws-verhaal { max-width: 680px; }
  #nieuws .nieuws-kaartpresentatie { width: min(100%, 640px); margin-inline: auto; }
  #nieuws .nieuws-data { grid-template-columns: 1fr; }
  #nieuws .nieuws-moment { grid-template-columns: 100px minmax(0, 1fr); padding: 30px 0; }
  #nieuws .nieuws-moment + .nieuws-moment { padding: 30px 0 0; border-left: 0; border-top: 1px solid #c5d8e42b; }
}
@media (max-width: 800px) {
  #nieuws #nieuws-titel { font-size: clamp(36px, 8.5vw, 52px); }
}
@media (max-width: 600px) {
  #nieuws { padding: 52px 24px; scroll-margin-top: 78px; }
  #nieuws .nieuws-kop { display: block; padding-bottom: 26px; }
  #nieuws .nieuws-editie { margin: 22px 0 0; }
  #nieuws .nieuws-hoofdbericht { padding-block: 32px 44px; }
  #nieuws .nieuws-verhaal h3 { font-size: 1.5rem; }
  #nieuws .nieuws-kaartbijschrift { margin-bottom: 32px; font-size: clamp(1.45rem, 6vw, 2rem); }
  #nieuws .nieuws-kaart-zoom { top: 8px; right: 8px; padding: 5px 8px; gap: 10px; font-size: .75rem; }
  #nieuws .nieuws-kaarttip { text-align: center; }
  #nieuws .nieuws-moment { grid-template-columns: 76px minmax(0, 1fr); gap: 20px; }
  #nieuws .nieuws-moment time strong { font-size: 3.75rem; }
  #nieuws .nieuws-moment time span { font-size: .8125rem; }
  #nieuws .nieuws-moment time span:last-child { font-size: .75rem; }
  #nieuws .nieuws-moment h3 { font-size: 1.375rem; }
  .fotokaart-venster { padding: 12px; }
  .fotokaart-venster h2 { font-size: .875rem; }
}
@media (max-width: 360px) {
  #nieuws .nieuws-moment { grid-template-columns: 1fr; gap: 16px; }
  #nieuws .nieuws-moment time { flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  #nieuws *, #nieuws *::after, .fotokaart-venster { animation: none !important; transition: none !important; }
  #nieuws .nieuws-fotokaart { transform: none; }
  #nieuws .nieuws-fotokaart-achter { margin-top: 18px; }
}

@media (max-width: 800px) {
  #nieuws .nieuws-kaartstapel { display: grid; gap: 24px; padding: 0; perspective: none; }
  #nieuws .nieuws-fotokaart { width: 100%; margin: 0; transform: none; }
  #nieuws .nieuws-fotokaart a { box-shadow: 0 12px 28px #10202c40, 0 0 0 1px #ffffff36; }
}
