:root {
  --blog-ink: #361501;
  --blog-heading: #542602;
  --blog-accent: #7b2f08;
  --blog-paper: rgba(255, 248, 236, 0.86);
  --blog-border: rgba(84, 38, 2, 0.24);
  --blog-shadow: 0 12px 28px rgba(54, 21, 1, 0.14);
}

.main--blog .main-section--blog-filter .main-section__master-content,
.main--blog .main-section--blog-content .main-section__master-content {
  width: 2560px;
}

@media (min-width: 901px) {
  .main--blog .main-section--footer .main-footer--desktop {
    /* The story footer artwork grew by 36px, so move every desktop item equally. */
    transform: translateY(20px);
  }

  /* Responsive WebP variants round their height to whole pixels. Keep the artwork flush with the
     aspect-ratio box so that rounding cannot reveal the page background between sections. */
  .main--blog .main-section--header .main-section__picture,
  .main--blog .main-section--blog-filter .main-section__picture,
  .main--blog .main-section--blog-content .main-section__picture {
    overflow: hidden;
  }

  .main--blog .main-section--header .main-section__picture > picture,
  .main--blog .main-section--blog-filter .main-section__picture > picture,
  .main--blog .main-section--blog-content .main-section__picture > picture,
  .main--blog .main-section--header .main-section__image,
  .main--blog .main-section--blog-filter .main-section__image,
  .main--blog .main-section--blog-content .main-section__image {
    height: 100%;
  }

  .main--blog .main-section--header .main-section__image,
  .main--blog .main-section--blog-filter .main-section__image,
  .main--blog .main-section--blog-content .main-section__image {
    object-fit: fill;
  }
}

.blog-filter {
  position: absolute;
  inset: 0;
}

.blog-filter__book,
.blog-filter__city {
  position: absolute;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.blog-filter__book {
  left: 629px;
  top: 49px;
  width: 204px;
  height: 178px;
  cursor: pointer;
}

.blog-filter__book[hidden],
.blog-card[hidden],
.blog-page__empty[hidden] {
  display: none;
}

.blog-filter__city {
  cursor: pointer;
}

.blog-filter__city.is-inactive {
  cursor: pointer;
}

.blog-filter__city.is-inactive img {
  opacity: 0;
}

.blog-filter__tools {
  position: absolute;
  left: 891px;
  top: 236px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: center;
  width: 775px;
  height: 85px;
  padding: 0 34px 0 48px;
  color: #f8ead1;
  font-family: "Alverata Irregular", Georgia, serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.blog-filter__result-summary {
  display: flex;
  align-items: center;
  min-width: 0;
}

.blog-filter__types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.blog-filter__type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  color: #fff9e9;
  font: 700 16px/1.2 "Alverata Irregular", Georgia, serif;
  cursor: pointer;
}

.blog-filter__type input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #d5ad55;
}

.blog-filter__type strong {
  font-weight: 700;
}

.blog-filter__tools--overview {
  display: flex;
  justify-content: center;
}

.blog-filter__overview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 42px;
  padding: 0 28px;
  border: 1px solid rgba(246, 226, 183, 0.72);
  border-radius: 4px;
  background: rgba(30, 20, 13, 0.64);
  box-shadow: inset 0 1px 7px rgba(0, 0, 0, 0.58), 0 2px 5px rgba(0, 0, 0, 0.35);
  color: #fff9e9;
  font: 700 16px/1.2 "Alverata Irregular", Georgia, serif;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.82);
}

.blog-filter__overview-link:hover,
.blog-filter__overview-link:focus-visible {
  border-color: #fff4d8;
  background: rgba(74, 42, 19, 0.76);
}

.blog-filter__search {
  position: relative;
  display: flex;
  align-items: center;
  width: 300px;
  height: 42px;
  border: 1px solid rgba(246, 226, 183, 0.72);
  border-radius: 4px;
  background: rgba(30, 20, 13, 0.64);
  box-shadow: inset 0 1px 7px rgba(0, 0, 0, 0.58), 0 2px 5px rgba(0, 0, 0, 0.35);
}

.blog-filter__search-icon {
  position: relative;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-left: 16px;
  border: 2px solid #f8ead1;
  border-radius: 50%;
  opacity: 0.86;
}

.blog-filter__search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: #f8ead1;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.blog-filter__search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 14px 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff9e9;
  font: 700 16px/1.2 "Alverata Irregular", Georgia, serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.82);
}

.blog-filter__search input::placeholder {
  color: rgba(248, 234, 209, 0.78);
  opacity: 1;
}

.blog-filter__city--antwerpen { left: 853px; top: 59px; width: 92px; height: 101px; }
.blog-filter__city--brugge { left: 990px; top: 48px; width: 89px; height: 107px; }
.blog-filter__city--gent { left: 1119px; top: 40px; width: 104px; height: 109px; }
.blog-filter__city--ieper { left: 1259px; top: 38px; width: 93px; height: 110px; }
.blog-filter__city--mechelen { left: 1397px; top: 42px; width: 88px; height: 110px; }
.blog-filter__city--kortrijk { left: 1529px; top: 48px; width: 93px; height: 111px; }
.blog-filter__city--leuven { left: 1667px; top: 62px; width: 88px; height: 106px; }
.blog-filter__city--hasselt { left: 1805px; top: 78px; width: 86px; height: 106px; }

.blog-filter img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-filter__label {
  position: absolute;
  display: block;
  color: #ffffff;
  font-family: "Alverata Irregular", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.82);
}

.blog-filter__label--book {
  left: 28.94px;
  top: 50.19px;
  width: 132.3px;
  height: 29.4px;
  transform: rotate(-12.95deg);
  transform-origin: center;
}

.blog-filter__label--city {
  display: none;
}

.blog-filter__label--city {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.blog-filter__label--antwerpen {
  left: 854.92px;
  top: 159.16px;
  display: block;
  width: 101px;
  height: 23px;
  font-size: 16px;
  transform: rotate(-5.06deg);
  transform-origin: center;
}

.blog-filter__label--brugge {
  left: 987.94px;
  top: 150.08px;
  display: block;
  width: 101px;
  height: 23px;
  font-size: 16px;
  transform: rotate(-3.62deg);
  transform-origin: center;
}

.blog-filter__label--gent {
  left: 1121.22px;
  top: 145.02px;
  display: block;
  width: 101px;
  height: 23px;
  font-size: 16px;
  transform: rotate(-1.8deg);
  transform-origin: center;
}

.blog-filter__label--ieper {
  left: 1253.76px;
  top: 144px;
  display: block;
  width: 101px;
  height: 23px;
  font-size: 16px;
  transform: rotate(0.36deg);
  transform-origin: center;
}

.blog-filter__label--mechelen {
  left: 1386.02px;
  top: 148.03px;
  display: block;
  width: 101px;
  height: 23px;
  font-size: 16px;
  transform: rotate(2.16deg);
  transform-origin: center;
}

.blog-filter__label--kortrijk {
  left: 1518.55px;
  top: 156.11px;
  display: block;
  width: 101px;
  height: 23px;
  font-size: 16px;
  transform: rotate(4.32deg);
  transform-origin: center;
}

.blog-filter__label--leuven {
  left: 1650.78px;
  top: 167.23px;
  display: block;
  width: 101px;
  height: 23px;
  font-size: 16px;
  transform: rotate(6.06deg);
  transform-origin: center;
}

.blog-filter__label--hasselt {
  left: 1783.83px;
  top: 181.36px;
  display: block;
  width: 101px;
  height: 23px;
  font-size: 16px;
  transform: rotate(7.57deg);
  transform-origin: center;
}

.blog-filter__label--city.is-inactive {
  opacity: 1;
  color: #9b9b9b;
}

.main--blog .main-header-page-title--plain {
  display: none;
}

.main--blog .main-header-page-title--plain .main-header-page-title__text {
  position: static;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  transform: none;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.1;
  text-decoration: none;
  text-shadow: 0 3px 8px rgba(43, 8, 2, 0.75);
}

.main--blog .main-header-page-subtitle {
  position: absolute;
  left: 50%;
  top: 520px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 592px;
  height: 68px;
  margin: 0;
  transform: translateX(-50%);
  color: #ffffff;
  font-family: "Alverata Irregular", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
  text-shadow: 7px 7px 18px rgba(0, 0, 0, 0.95), 10px 10px 35px rgba(0, 0, 0, 0.65), 0 0 8px rgba(0, 0, 0, 0.15);
}

.blog-page {
  position: absolute;
  left: 655px;
  top: 78px;
  width: 1247px;
  height: 1674px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px 30px 50px 8px;
  color: var(--blog-ink);
  font-family: "Alverata Irregular", Georgia, serif;
  line-height: 1.4;
  scrollbar-width: thin;
  scrollbar-color: rgba(84, 38, 2, 0.55) rgba(84, 38, 2, 0.08);
}

.blog-page::-webkit-scrollbar {
  width: 12px;
}

.blog-page::-webkit-scrollbar-track {
  background: rgba(84, 38, 2, 0.08);
  border-radius: 999px;
}

.blog-page::-webkit-scrollbar-thumb {
  background: rgba(84, 38, 2, 0.55);
  border-radius: 999px;
}

.blog-page a {
  color: inherit;
}

.blog-page__intro {
  max-width: 1180px;
  margin: 0 auto 42px;
  text-align: center;
}

.blog-page--index .blog-page__intro {
  display: none;
}

.blog-page__eyebrow,
.blog-card__category,
.blog-article__category {
  margin: 0 0 12px;
  color: var(--blog-accent);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-page__intro h1 {
  margin: 0;
  color: var(--blog-heading);
  font-size: 56px;
  line-height: 1;
}

.blog-page__intro > p:last-child {
  max-width: 850px;
  margin: 24px auto 0;
  font-size: 22px;
  line-height: 1.45;
}

.blog-page__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1500px;
  margin: 0 auto 46px;
}

.blog-page__categories--secondary {
  margin-top: -28px;
}

.blog-page__categories--mobile {
  display: none;
}

.blog-page__filter-tools {
  display: none;
}

.blog-page__category {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--blog-border);
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.52);
  color: inherit;
  font: inherit;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.blog-page__category:hover,
.blog-page__category.is-active {
  background: var(--blog-accent);
  color: #fff8ec;
  transform: translateY(-2px);
}

.blog-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 18px 36px rgba(54, 21, 1, 0.2);
  transform: translateY(-5px);
}

.blog-card__image-wrap {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #6d351c;
}

.blog-card__image-wrap--empty {
  display: grid;
  place-items: center;
  padding: 32px;
  background: linear-gradient(135deg, #4f220d, #aa6c31);
  color: #fff3d7;
  font-size: 30px;
  text-align: center;
}

.blog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px 26px;
  background: rgba(255, 248, 236, 0.72);
}

.blog-card__body h2 {
  margin: 0;
  color: var(--blog-heading);
  font-size: 28px;
  line-height: 1.08;
}

.blog-card__excerpt {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.45;
}

.blog-card__read {
  margin-top: auto;
  padding-top: 20px;
  color: var(--blog-accent);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blog-page__empty {
  max-width: 900px;
  margin: 80px auto;
  padding: 46px;
  border: 1px solid var(--blog-border);
  background: var(--blog-paper);
  box-shadow: var(--blog-shadow);
  text-align: center;
}

.blog-page__empty h2 {
  margin: 0;
  color: var(--blog-heading);
  font-size: 30px;
}

.blog-page--article {
  padding-top: 24px;
}

.blog-article__back {
  display: none;
  margin-bottom: 34px;
  color: var(--blog-accent);
  font-family: Georgia, serif;
  font-size: 26px;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blog-article {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.blog-article__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: stretch;
  padding-bottom: 78px;
}

.blog-article__hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40px;
  background: transparent url("/assets/images/pagedivider.webp") center / contain no-repeat;
}

.blog-article__hero-image-wrap {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 0;
  background: transparent;
  border-radius: 20px;
}

.blog-article__hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.blog-article__hero-copy {
  display: flex;
  flex-direction: column;
}

.blog-article__city-cta {
  display: none;
  margin: auto 0 0;
  padding: 28px 34px;
  border-radius: 8px;
  background: rgba(255, 248, 236, 0.72);
  font-size: 20px;
  line-height: 1.5;
}

.blog-article__city-cta p {
  margin: 0 0 16px;
}

.blog-article__city-cta a {
  color: var(--blog-link-color, var(--blog-accent));
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blog-article__hero-copy h1 {
  margin: 0;
  color: var(--blog-heading);
  font-size: 54px;
  line-height: 1.02;
}

.blog-article__excerpt {
  margin: 28px 0 0;
  font-size: 32px;
  line-height: 1.42;
}

.blog-article__body {
  max-width: 1180px;
  margin: 52px auto 0;
  font-size: 20px;
  line-height: 1.6;
}

.blog-article__body h2,
.blog-article__body h3,
.blog-article__body h4 {
  margin: 44px 0 14px;
  color: var(--blog-heading);
  line-height: 1.1;
}

.blog-article__body h2 { font-size: 34px; }
.blog-article__body h3 { font-size: 28px; }
.blog-article__body h4 { font-size: 24px; }
.blog-article__body p { margin: 0 0 22px; }
.blog-article__body hr {
  height: 40px;
  margin: 38px auto;
  border: 0;
  background: transparent url("/assets/images/pagedivider.webp") center / contain no-repeat;
}
.blog-article__body ul,
.blog-article__body ol { margin: 0 0 24px; padding-left: 34px; }
.blog-article__body li + li { margin-top: 8px; }
.blog-article__body a { color: var(--blog-link-color, var(--blog-accent)); text-decoration: underline; }
.blog-article__body img { display: block; max-width: 100%; height: auto; margin: 28px auto; }
.blog-article__body blockquote { margin: 28px 0; padding: 18px 26px; border-left: 5px solid var(--blog-accent); background: rgba(255, 248, 236, 0.55); }

@media (max-width: 900px) {
  .main--blog .main-section--blog-filter {
    display: none;
  }

  .main--blog .main-section--blog-content .main-section__master-content {
    width: 900px;
  }

  .blog-page {
    left: 46px;
    top: 377px;
    width: 805px;
    height: 1627px;
    padding: 24px 20px 60px 8px;
  }

  .blog-page--index .blog-page__intro {
    display: block;
  }

  .blog-page__intro {
    max-width: 760px;
    margin-bottom: 34px;
  }

  .blog-page__eyebrow,
  .blog-card__category,
  .blog-article__category {
    font-size: 20px;
  }

  .blog-page__intro h1 {
    font-size: 44px;
  }

  .blog-page__intro > p:last-child {
    font-size: 21px;
  }

  .blog-page__categories {
    max-width: 790px;
    gap: 10px;
    margin-bottom: 34px;
  }

  .blog-page__categories--mobile {
    display: flex;
    margin-bottom: 18px;
  }

  .blog-page__filter-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 760px;
    margin: 0 0 34px;
    color: var(--blog-ink);
    font-family: "Alverata Irregular", Georgia, serif;
  }

  .blog-page__filter-tools .blog-filter__type {
    font-size: 19px;
  }

  .blog-page__filter-tools .blog-filter__type {
    color: var(--blog-ink);
  }

  .blog-page__filter-tools .blog-filter__search {
    width: 100%;
    border-color: var(--blog-border);
    background: rgba(255, 248, 236, 0.76);
    box-shadow: none;
  }

  .blog-page__filter-tools .blog-filter__search-icon {
    border-color: var(--blog-ink);
  }

  .blog-page__filter-tools .blog-filter__search-icon::after {
    background: var(--blog-ink);
  }

  .blog-page__filter-tools .blog-filter__search input {
    color: var(--blog-ink);
    text-shadow: none;
  }

  .blog-page__filter-tools .blog-filter__search input::placeholder {
    color: rgba(54, 21, 1, 0.62);
  }

  .main--blog .main-header-page-title--plain {
    display: block;
    top: 636px !important;
    width: 740px;
  }

  .main--blog .main-header-page-title--plain .main-header-page-title__text {
    font-size: 28px !important;
  }

  .main--blog .main-header-page-subtitle {
    display: none;
  }

  .blog-page__categories--secondary {
    margin-top: -18px;
  }

  .blog-page__category {
    padding: 13px 20px;
    font-size: 20px;
  }

  .blog-article__back {
    font-size: 24px;
  }

  .blog-page__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .blog-card {
    min-height: 0;
  }

  .blog-card__image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .blog-card__body {
    padding: 28px 30px;
  }

  .blog-card__body h2 {
    font-size: 29px;
  }

  .blog-card__excerpt,
  .blog-card__read {
    font-size: 20px;
  }

  .blog-page--article {
    padding-top: 24px;
  }

  .blog-article {
    padding: 0;
  }

  .blog-article__hero {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    padding-bottom: 34px;
  }

  .blog-article__hero-image-wrap {
    aspect-ratio: 1 / 1;
  }

  .blog-article__city-cta {
    margin: 42px auto 0;
    padding: 24px 26px;
    font-size: 20px;
  }

  .blog-article__hero-copy h1 {
    font-size: 43px;
  }

  .blog-article__excerpt {
    font-size: 32px;
  }

  .blog-article__body {
    margin-top: 38px;
    font-size: 21px;
  }

  .blog-article__body h2 { font-size: 32px; }
  .blog-article__body h3 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-page__category,
  .blog-card,
  .blog-filter__city {
    transition: none;
  }
}
