/* Homepage — sluit bewust aan op de bestaande blauwe huisstijl. */
body.home-page {
  min-height: 100%;
  height: auto;
  overflow: auto;
  background: var(--bg);
  color: var(--text);
}

.home-page img { display: block; max-width: 100%; }
.home-page a { text-decoration: none; }
.home-page a:hover { text-decoration: none; }

.home-skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 750;
  transition: top .15s ease;
}
.home-skip-link:focus { top: 12px; }

.home-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  background:
    linear-gradient(
      180deg,
      rgba(248,252,255,.985) 0%,
      rgba(235,246,255,.985) 100%
    );
  border-bottom: 1px solid rgba(18,67,112,.14);
  box-shadow: 0 6px 22px rgba(18,67,112,.07);
  backdrop-filter: blur(12px);
}

.home-header__inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  margin: 0 auto;
}

.home-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.home-brand img {
  width: 46px;
  height: 46px;
  padding: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-brand__name {
  color: var(--text);
  font-family: inherit;
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}

.home-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 26px;
  margin-left: 22px;
}

.home-nav a {
  position: relative;
  padding: 10px 3px;
  color: var(--text-soft);
  font-size: .83rem;
  font-weight: 700;
  transition: color .18s ease;
}

.home-nav a::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.home-nav a:hover,
.home-nav a:focus-visible {
  color: var(--accent-strong);
}

.home-nav a:hover::after,
.home-nav a:focus-visible::after {
  transform: scaleX(1);
}

.home-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-language {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-language a {
  display: grid;
  width: 31px;
  height: 28px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.home-language a:hover {
  border-color: var(--home-line);
  background: rgba(255,255,255,.74);
  transform: translateY(-1px);
}

.home-language a.active {
  border-color: rgba(0,132,255,.38);
  background: rgba(0,132,255,.10);
}

.home-map-button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title arrow"
    "subtitle arrow";
  column-gap: 14px;
  align-items: center;
  min-width: 176px;
  min-height: 48px;
  padding: 8px 14px 8px 16px;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 14px;
  background: linear-gradient(180deg, #18b96f 0%, #10985c 100%);
  color: #fff;
  box-shadow:
    0 0 0 2px rgba(22,174,105,.10),
    0 5px 12px rgba(14,148,89,.16),
    inset 0 1px 0 rgba(255,255,255,.20);
  transition:
    transform .18s ease,
    background-color .18s ease,
    box-shadow .18s ease;
}

.home-map-button__title {
  grid-area: title;
  font-size: .86rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
}

.home-map-button__subtitle {
  grid-area: subtitle;
  margin-top: 2px;
  font-size: .62rem;
  font-weight: 650;
  line-height: 1.1;
  opacity: .92;
}

.home-map-button__arrow {
  grid-area: arrow;
  align-self: center;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  transition: transform .18s ease;
}

.home-map-button__badge {
  position: absolute;
  top: 3px;
  right: 7px;
  transform: translateY(-50%);
  padding: 3px 7px;
  border-radius: 999px;
  background: #1976d2;
  color: #fff;
  font-size: .50rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 3px 7px rgba(0,92,180,.18);
}

.home-map-button:hover,
.home-map-button:focus-visible {
  background: linear-gradient(180deg, #1bc176 0%, #0e8c55 100%);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px rgba(22,191,114,.18),
    0 10px 22px rgba(14,169,101,.26),
    inset 0 1px 0 rgba(255,255,255,.26);
}

.home-map-button:hover .home-map-button__arrow,
.home-map-button:focus-visible .home-map-button__arrow {
  transform: translateX(3px);
}

.home-hero {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(390px, 1.04fr);
  align-items: center;
  gap: 42px;
  margin: 28px auto 18px;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(0,132,255,.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 12%, rgba(0,132,255,.10), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,250,255,.96));
  box-shadow: 0 12px 32px rgba(20,80,140,.08);
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.home-eyebrow,
.home-kicker {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.15rem, 3.55vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 850;
}

.home-hero__intro {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.home-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 800;
  transition: transform .15s ease, background .15s ease;
}

.home-button:hover { transform: translateY(-1px); }

.home-button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,132,255,.20);
}

.home-button--primary:hover { background: var(--accent-strong); }

.home-button--secondary {
  background: rgba(255,255,255,.86);
  color: var(--accent-strong);
}

.home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.home-hero__facts li {
  display: grid;
  gap: 1px;
}

.home-hero__facts strong {
  color: var(--accent-strong);
  font-size: 1.18rem;
}

.home-hero__facts span {
  color: var(--text-muted);
  font-size: .74rem;
}

.home-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  box-shadow: 0 10px 26px rgba(20,80,140,.12);
}

.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(238,247,255,.20), transparent 24%);
  pointer-events: none;
}

.home-hero__media img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.home-hero__media figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  margin: 0;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(11,31,53,.66);
  color: #fff;
  font-size: .7rem;
  line-height: 1.2;
}

.home-section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 76px 0; }
.home-section__head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.home-section__head > div { max-width: 760px; }
.home-section__head h2, .home-province-band h2, .home-map-cta h2 { margin: 0; font-size: clamp(2rem, 3.7vw, 3.4rem); line-height: 1.03; letter-spacing: -.045em; }
.home-section__head p:not(.home-kicker) { max-width: 700px; margin: 13px 0 0; color: var(--text-soft); }
.home-inline-link, .home-card-link { color: var(--accent-strong); font-weight: 800; }
.home-inline-link::after, .home-card-link::after { content: " →"; }

.home-place-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.home-place-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-panel-solid); box-shadow: var(--shadow-soft); transition: transform .17s ease, box-shadow .17s ease; }
.home-place-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20,80,140,.16); }
.home-place-card__image { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.home-place-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.home-place-card:hover .home-place-card__image img { transform: scale(1.025); }
.home-place-card__body { padding: 20px; }
.home-card-meta { margin: 0 0 8px; color: var(--accent-strong); font-size: .71rem; font-weight: 780; letter-spacing: .05em; text-transform: uppercase; }
.home-place-card h3, .home-route-card h3 { margin: 0 0 10px; font-size: 1.28rem; line-height: 1.16; }
.home-place-card h3 a { color: var(--text); }
.home-place-card__body > p:not(.home-card-meta) { min-height: 4.4em; margin: 0 0 17px; color: var(--text-soft); font-size: .91rem; }
.home-card-link { font-size: .85rem; }

.home-province-band {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(320px,.7fr);
  align-items: center;
  gap: 42px;
  margin: 4px auto 0;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(0,132,255,.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 10%, rgba(0,132,255,.20), transparent 31%),
    linear-gradient(135deg,#fff 0%,#e8f5ff 100%);
  box-shadow: var(--shadow-soft);
}
.home-province-band__copy p:not(.home-kicker) { max-width: 720px; margin: 16px 0 24px; color: var(--text-soft); }
.home-province-band__stats { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.80); }
.home-province-band__stats div { display: grid; place-items: center; min-height: 130px; padding: 18px 10px; text-align: center; border-right: 1px solid var(--line); }
.home-province-band__stats div:last-child { border-right: 0; }
.home-province-band__stats strong { color: var(--accent-strong); font-size: 1.65rem; }
.home-province-band__stats span { margin-top: 5px; color: var(--text-muted); font-size: .72rem; }

.home-theme-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.home-theme-card { display: flex; align-items: center; gap: 15px; min-height: 118px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--bg-panel-solid); color: var(--text); box-shadow: 0 6px 20px rgba(20,80,140,.07); transition: border-color .15s ease, transform .15s ease; }
.home-theme-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.home-theme-card > span { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-size: 1.12rem; font-weight: 900; }
.home-theme-card strong, .home-theme-card small { display: block; }
.home-theme-card strong {
  font-size: 1.02rem;
  line-height: 1.18;
}
.home-theme-card small { margin-top: 5px; color: var(--text-muted); font-size: .72rem; line-height: 1.3; }
.home-theme-card--strange > span { background: rgba(91,75,255,.12); color: #5140d7; }
.home-theme-card--vanished > span { background: rgba(51,65,85,.12); color: #334155; }
.home-theme-card--forgotten > span { background: rgba(245,158,11,.14); color: #a96800; }
.home-theme-card--nature > span { background: rgba(32,184,107,.13); color: #12864c; }
.home-theme-card--old > span { background: rgba(255,122,69,.14); color: #c84d1d; }
.home-theme-card--sacred > span { background: rgba(131,85,33,.12); color: #805521; }


/* Grote redactionele panelen op de homepage. */
.home-section--framed {
  width: min(1180px, calc(100% - 36px));
  margin: 36px auto 0;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(0,132,255,.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 8%, rgba(0,132,255,.10), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.98) 0%, rgba(241,249,255,.98) 100%);
  box-shadow: var(--shadow-soft);
}

.home-section--framed .home-section__head {
  margin-bottom: 34px;
}

.home-places-panel {
  margin-top: 18px;
  background:
    radial-gradient(circle at 86% 6%, rgba(0,132,255,.12), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
}

.home-places-panel .home-place-grid {
  gap: 22px;
}

.home-places-panel .home-place-card {
  border-color: rgba(18,67,112,.12);
  box-shadow: 0 10px 28px rgba(20,80,140,.10);
}

.home-themes-panel {
  background:
    radial-gradient(circle at 14% 18%, rgba(32,184,107,.10), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(91,75,255,.08), transparent 24%),
    linear-gradient(145deg, #fbfdff 0%, #f4fbf8 100%);
}

.home-themes-panel .home-theme-grid {
  gap: 16px;
}

.home-themes-panel .home-theme-card {
  background: rgba(255,255,255,.88);
  box-shadow: 0 7px 22px rgba(20,80,140,.08);
}

@media (max-width: 820px) {
  .home-section--framed {
    width: min(100% - 28px, 1180px);
    margin-top: 28px;
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .home-section--framed {
    width: calc(100% - 20px);
    margin-top: 22px;
    padding: 28px 20px;
    border-radius: 22px;
  }

  .home-section--framed .home-section__head {
    margin-bottom: 24px;
  }
}

.home-routes { margin-top: 8px; background: linear-gradient(180deg,#eef7ff 0%,#f7fbff 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-routes__inner {
  margin-top: 34px;
  margin-bottom: 34px;
  padding: 54px;
  border: 1px solid rgba(0,132,255,.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 10%, rgba(0,132,255,.10), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.96) 0%, rgba(242,249,255,.96) 100%);
  box-shadow: var(--shadow-soft);
}
.home-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-route-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(18,67,112,.12);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 28px rgba(20,80,140,.10);
}

.home-route-card > img {
  display: block;
  width: 100%;
  height: 176px;
  min-height: 176px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 18%;
  background: #eaf3fa;
}

.home-route-card > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.home-route-card .home-card-meta {
  min-height: 2.35em;
  margin: 0 0 9px;
}

.home-route-card h3 {
  min-height: 2.35em;
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.16;
}

.home-route-card p:not(.home-card-meta) {
  flex: 1 1 auto;
  min-height: 4.8em;
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: .88rem;
  line-height: 1.5;
}

.home-route-card .home-card-link {
  margin-top: auto;
}

.home-map-cta {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: 56px;
  margin: 34px auto 46px;
  padding: clamp(38px, 5vw, 58px);
  border: 1px solid rgba(0,132,255,.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 86% 14%, rgba(0,132,255,.10), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.97) 0%, rgba(244,250,255,.97) 100%);
  box-shadow: var(--shadow-soft);
}
.home-map-cta__copy { max-width: 700px; }
.home-map-cta__copy > p:not(.home-kicker) { margin: 16px 0 24px; color: var(--text-soft); }
.home-map-preview {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 10px solid var(--text);
  border-radius: 26px;
  background: #eaf4fb;
  box-shadow: var(--shadow-panel);
}

.home-map-preview img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.home-map-preview:hover img {
  transform: scale(1.015);
}

.home-footer { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; padding: 22px clamp(20px,4vw,64px); border-top: 1px solid var(--line); background: #fff; color: var(--text-muted); font-size: .78rem; }
.home-footer__brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.home-footer__brand img { width: 36px; height: 36px; }
.home-footer nav { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.home-footer nav a { color: var(--text-soft); }


@media (max-width: 1240px) {
  .home-map-button {
    min-width: 205px;
    padding-left: 16px;
    padding-right: 14px;
  }

  .home-map-button__title {
    font-size: .9rem;
  }
}

@media (max-width: 1080px) {
  .home-header__inner { grid-template-columns: 1fr auto; }
  .home-nav { display: none; }
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr); }
  .home-theme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-route-card { grid-template-columns: 112px 1fr; height: auto; min-height: 220px; }
}

@media (max-width: 820px) {
  .home-header__actions { gap: 7px; }
  .home-map-button { display: none; }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 22px auto 14px;
    padding: 30px 26px;
  }
  .home-hero__media { order: -1; }
  .home-hero__media img { height: 350px; }
  .home-hero__copy { padding: 0; }
  .home-place-grid, .home-route-grid { grid-template-columns: 1fr; }
  .home-place-card { display: grid; grid-template-columns: minmax(210px,.8fr) 1.2fr; }
  .home-place-card__image { height: 100%; aspect-ratio: auto; }
  .home-province-band, .home-map-cta { grid-template-columns: 1fr; }
  .home-route-card { grid-template-columns: 110px 1fr; height: auto; min-height: 220px; }
  .home-footer { grid-template-columns: 1fr; text-align: center; }
  .home-footer__brand, .home-footer nav { justify-content: center; }
}

@media (max-width: 560px) {
  .home-header__inner {
    width: calc(100% - 28px);
    min-height: 66px;
    gap: 12px;
  }
  .home-brand img {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 0;
  }
  .home-brand__name {
    max-width: 150px;
    white-space: normal;
    font-size: .84rem;
    line-height: 1.05;
  }
  .home-language a { min-width: 27px; padding: 5px; }
  .home-hero {
    width: calc(100% - 20px);
    margin: 14px auto 10px;
    padding: 24px 20px;
    border-radius: 22px;
  }
  .home-hero h1 {
    font-size: 2.05rem;
    line-height: 1.05;
  }
  .home-hero__intro {
    margin-top: 14px;
    font-size: 1rem;
  }
  .home-hero__media img { height: 260px; }
  .home-hero__facts { gap: 18px; }
  .home-section { width: calc(100% - 28px); padding: 52px 0; }
  .home-section__head { align-items: flex-start; flex-direction: column; }
  .home-place-card { display: block; }
  .home-place-card__image { aspect-ratio: 16/10; }
  .home-place-card__body > p:not(.home-card-meta) { min-height: 0; }
  .home-province-band { width: calc(100% - 20px); padding: 30px 24px; }
  .home-province-band__stats { grid-template-columns: 1fr; }
  .home-province-band__stats div { min-height: 88px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-province-band__stats div:last-child { border-bottom: 0; }
  .home-theme-grid { grid-template-columns: 1fr; }
  .home-route-card { grid-template-columns: 96px 1fr; height: auto; min-height: 0; }
  .home-route-card > img { min-height: 210px; }
  .home-map-cta { width: calc(100% - 28px); padding: 54px 0; }
  .home-map-preview { min-height: 235px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-place-card, .home-place-card__image img, .home-button, .home-theme-card, .home-map-preview img { transition: none; }
}


/* Fotocredits op de homepage: gelijk aan de provinciekaarten. */
.home-place-card {
  position: relative;
}

.home-place-card__image,
.home-hero__media {
  position: relative;
}

.home-attribution {
  position: absolute;
  right: .45rem;
  bottom: .42rem;
  z-index: 5;
}

.home-attribution summary {
  display: grid;
  width: 1rem;
  height: 1rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: .25rem;
  background: rgba(15,22,27,.28);
  color: rgba(255,255,255,.82);
  font-size: .58rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  list-style: none;
  opacity: .72;
  backdrop-filter: blur(2px);
  transition: opacity .15s ease, background .15s ease;
}

.home-attribution summary::-webkit-details-marker {
  display: none;
}

.home-attribution summary:hover,
.home-attribution summary:focus-visible,
.home-attribution[open] summary {
  background: rgba(15,22,27,.62);
  color: #fff;
  opacity: 1;
  outline: 1px solid rgba(255,255,255,.72);
  outline-offset: 1px;
}

.home-attribution__panel {
  position: absolute;
  right: 0;
  bottom: 1.4rem;
  width: min(18rem, calc(100vw - 2rem));
  padding: .7rem .8rem;
  border: 1px solid rgba(11,31,53,.12);
  border-radius: .55rem;
  background: rgba(255,255,255,.98);
  color: #1b2b3a;
  font-size: .75rem;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.home-attribution__panel p {
  margin: 0 0 .32rem;
}

.home-attribution__panel p:last-child {
  margin-bottom: 0;
}

.home-attribution__panel a {
  color: #0057b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-attribution__source {
  font-weight: 700;
}

/* In de hero staat het onderschrift rechtsonder; daarom staat © linksonder. */
.home-attribution--hero {
  right: auto;
  left: 12px;
  bottom: 10px;
}

.home-attribution--hero .home-attribution__panel {
  right: auto;
  left: 0;
}

@media (max-width: 560px) {
  .home-attribution {
    right: .35rem;
    bottom: .35rem;
  }

  .home-attribution summary {
    width: .95rem;
    height: .95rem;
    font-size: .50rem;
  }

  .home-attribution__panel {
    font-size: .72rem;
  }

  .home-attribution--hero {
    right: auto;
    left: .35rem;
  }
}


/* Correctie: crediticoon binnen de drie kaartafbeeldingen, linksonder. */
.home-place-card__media {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}

.home-place-card__media .home-place-card__image {
  display: block;
}

.home-place-card__media .home-attribution {
  right: auto;
  left: .45rem;
  bottom: .42rem;
}

.home-place-card__media .home-attribution__panel {
  right: auto;
  left: 0;
}

@media (max-width: 560px) {
  .home-place-card__media .home-attribution {
    right: auto;
    left: .35rem;
    bottom: .35rem;
  }
}


/* Afstand tussen Noord-Holland en het themapaneel gelijk aan de vorige paneelovergang. */
.home-themes-panel {
  margin-top: 4px;
}

@media (max-width: 820px) {
  .home-themes-panel {
    margin-top: 4px;
  }
}

@media (max-width: 560px) {
  .home-themes-panel {
    margin-top: 4px;
  }
}


@media (max-width: 820px) {
  .home-routes__inner {
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 34px 26px;
  }

  .home-map-cta {
    margin-top: 24px;
    margin-bottom: 32px;
    padding: 34px 26px;
  }
}

@media (max-width: 560px) {
  .home-routes__inner {
    width: calc(100% - 20px);
    margin: 20px auto;
    padding: 28px 20px;
    border-radius: 22px;
  }

  .home-map-cta {
    width: calc(100% - 20px);
    margin: 20px auto 28px;
    padding: 28px 20px;
    border-radius: 22px;
  }

  .home-theme-card {
    min-height: 108px;
    padding: 18px;
  }
}


@media (max-width: 820px) {
  .home-route-card .home-card-meta,
  .home-route-card h3,
  .home-route-card p:not(.home-card-meta) {
    min-height: 0;
  }
}


@media (max-width: 1080px) {
  .home-route-card > img {
    height: 154px;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .home-route-card > img {
    height: 140px;
    min-height: 0;
    margin: 10px 0 10px 10px;
  }
}


@media (max-width: 560px) {
  .home-route-card .home-card-meta {
    min-height: 0;
  }
}


.home-routes .home-section__head h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.25vw, 3rem);
}

.home-routes .home-section__head > div > p:last-child {
  max-width: 760px;
}

@media (max-width: 820px) {
  .home-route-grid {
    grid-template-columns: 1fr;
  }

  .home-route-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .home-route-card > img {
    width: 150px;
    height: 100%;
    min-height: 220px;
  }

  .home-route-card h3,
  .home-route-card p:not(.home-card-meta),
  .home-route-card .home-card-meta {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .home-route-card {
    display: flex;
  }

  .home-route-card > img {
    width: 100%;
    height: 170px;
    min-height: 170px;
  }
}
