@import url("base.css");

/* V2: compactere, informatievere variant */
.shell {
  width: min(1080px, calc(100% - 40px));
}

.header-inner {
  height: 64px;
}

.brand {
  font-size: 17px;
}

.brand-mark {
  width: 31px;
  height: 31px;
  font-size: 15px;
}

.main-nav {
  gap: 28px;
  font-size: 13px;
}

.main-nav a.is-active::after {
  bottom: -21px;
}

.hero-inner {
  padding: 54px 0 57px;
  text-align: left;
}

.hero-orb {
  display: none;
}

.hero .eyebrow {
  margin-bottom: 9px;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -3px;
}

.hero h1 br {
  display: none;
}

.hero-copy {
  max-width: 610px;
  margin: 14px 0 22px;
  font-size: 16px;
  line-height: 1.55;
}

.city-search-wrap {
  position: relative;
  width: min(640px, 100%);
}

.city-search {
  width: 100%;
  margin: 0;
  box-shadow: 0 10px 28px rgba(19, 43, 50, .1);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 5;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(19, 43, 50, .12);
}

.search-suggestions li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.search-suggestions li:hover,
.search-suggestions li[aria-selected="true"] {
  background: #edf4f1;
}

.search-suggestions strong {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
}

.search-suggestions span {
  color: var(--ink-soft);
  font-size: 12px;
}

.sitemap-page {
  padding-top: 36px;
}

.sitemap-grid {
  grid-template-columns: repeat(3, 1fr);
}

.city-search input {
  padding-block: 10px;
}

.city-search button {
  padding-block: 10px;
}

.search-status {
  margin-bottom: 0;
}

.popular-searches {
  justify-content: flex-start;
  margin-top: 4px;
}

.cities-section {
  padding: 53px 0 62px;
}

.section-heading {
  align-items: center;
  margin-bottom: 24px;
}

.section-heading h2,
.about-content h2,
.newsletter h2,
.more-cities h2 {
  font-size: clamp(27px, 3.4vw, 36px);
  letter-spacing: -1.3px;
}

.section-heading > p {
  max-width: 420px;
  font-size: 14px;
}

.city-grid {
  gap: 10px;
}

.city-card {
  padding: 18px;
}

.city-card-top {
  margin-bottom: 15px;
}

.city-initial {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.city-card h3 {
  font-size: 18px;
}

.city-card p {
  margin-bottom: 8px;
}

.about-content-wide {
  max-width: 640px;
}

.about-grid {
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
}

.about-image img {
  aspect-ratio: 1.28;
}

.image-note {
  right: -14px;
  bottom: 18px;
  padding: 13px 16px;
}

.about-content h2 {
  margin-bottom: 16px;
}

.about-content > p:not(.eyebrow) {
  margin-block: 9px;
  font-size: 14px;
}

.check-list {
  gap: 6px;
  margin: 17px 0 20px;
  font-size: 14px;
}

.newsletter {
  padding: 38px 0;
}

.newsletter h2 {
  font-size: 25px;
}

.site-footer {
  padding: 24px 0;
}

/* Compacte stadspagina */
.city-title-band {
  padding: 20px 0 38px;
}

.breadcrumbs {
  margin-bottom: 27px;
}

.city-title-row h1 {
  margin-bottom: 7px;
  font-size: clamp(36px, 5vw, 54px);
  letter-spacing: -2.4px;
}

.city-title-row > div:first-child > p:last-child {
  font-size: 16px;
}

.title-monogram {
  flex-basis: 88px;
  width: 88px;
  height: 88px;
  font-size: 40px;
}

.city-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 58px;
  padding-top: 45px;
  padding-bottom: 64px;
}

.next-sunday {
  gap: 18px;
  padding: 18px 20px;
}

.calendar-tile {
  flex-basis: 66px;
}

.calendar-tile strong {
  font-size: 26px;
}

.next-sunday h2 {
  font-size: 20px;
}

.intro {
  margin: 29px 0;
  font-size: 18px;
}

.article-figure {
  margin-bottom: 42px;
}

.article-figure img {
  aspect-ratio: 16 / 7;
}

.article-content > section {
  margin-bottom: 43px;
}

.article-content section h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.article-content section > p:not(.section-number) {
  margin-block: 8px;
  font-size: 15px;
}

.info-callout {
  margin-top: 17px;
  padding: 16px;
}

.date-list {
  margin-top: 18px;
}

.date-list > div {
  padding-block: 9px;
}

.date-list time span {
  width: 34px;
  height: 34px;
}

.district-grid {
  margin-top: 17px;
}

.district-grid > div {
  padding: 16px;
}

.district-grid h3 {
  margin: 10px 0 5px;
}

.sidebar-card {
  padding: 20px;
}

.quick-facts h2 {
  margin-bottom: 15px;
  font-size: 18px;
}

.quick-facts dl {
  margin-bottom: 18px;
}

.quick-facts dl div {
  padding-block: 8px;
}

.page-nav a {
  padding-block: 7px;
}

.sidebar-image-card,
.sidebar-image-card img {
  min-height: 180px;
}

.more-cities {
  padding: 49px 0 58px;
}

.nearby-grid {
  margin-top: 20px;
}

.nearby-grid a {
  padding: 18px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 30px, 620px);
  }

  .header-inner {
    height: 60px;
  }

  .main-nav {
    top: 60px;
  }

  .hero-inner {
    padding: 43px 0 49px;
  }

  .hero h1 {
    font-size: 41px;
  }

  .cities-section {
    padding: 45px 0 50px;
  }

  .about-section {
    padding: 55px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .city-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
  }

  .city-layout > * {
    grid-column: 1;
    max-width: 100%;
  }

  .city-title-row {
    display: block;
  }

  .article-content,
  .city-title-row,
  .city-title-row > div,
  .next-sunday,
  .next-sunday > div:last-child {
    min-width: 0;
  }

  .next-sunday > div:last-child {
    flex: 1;
  }

  .city-sidebar {
    position: static;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
  }

  .hero h1,
  .city-title-row h1,
  .hero-copy,
  .intro,
  .next-sunday h2,
  .next-sunday p {
    overflow-wrap: break-word;
  }
}

@media (max-width: 520px) {
  .hero h1 br {
    display: initial;
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: -1.4px;
  }

  .city-card {
    padding: 17px;
  }

  .about-content > p:not(.eyebrow) {
    font-size: 15px;
  }

  .city-sidebar {
    grid-template-columns: 1fr;
  }

  .quick-facts dl div {
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
}
