/* Fonts */

@font-face {
  font-family: korolev;
  src: url("/assets/fonts/korolev-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: korolev;
  src: url("/assets/fonts/korolev-medium-italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: korolev;
  src: url("/assets/fonts/korolev-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: korolev;
  src: url("/assets/fonts/korolev-bold-italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: oscine;
  src: url("/assets/fonts/oscine-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: oscine;
  src: url("/assets/fonts/oscine-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: oscine;
  src: url("/assets/fonts/oscine-bolditalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  --tablet: 830px;
  background: #fff;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  margin: 0px 0px 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  font-family: korolev, Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: #1d1d1b;
  background: #fff;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0rem;
  font-weight: 400;
  line-height: 1.6;
}

main {
  flex: 1;
}

a {
  color: #245564;
}

a:hover {
  color: #245564;
}

p {
  margin: 0 0 1.5rem;
}

h2 {
  margin: 1.5rem 0;
  color: #245564;
  font-family: oscine, Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}

h3 {
  color: #245564;
  font-size: 1.3rem;
  font-weight: 600;
}

ul {
  margin: 0.5rem 0 1.5rem;
  padding-left: 1.25rem;
}

img {
  max-width: 100%;
  height: auto;
}

blockquote {
  margin: 1.5rem 0;
  padding: 0 20px;
  border-left: 12px solid #24556433;
  font-size: 1rem;
  font-style: italic;
}

blockquote p {
  margin: 0;
}

blockquote p + p {
  margin-top: 0.5rem;
}

.container {
  padding: 2.5rem 1.25rem 3rem;
  max-width: clamp(min(350px, 95vw), 95vw, 800px);
  margin: 0px auto;
}

.container-page {
  padding: 0.5rem 1.25rem 1rem;
  max-width: clamp(min(350px, 95vw), 95vw, 800px);
  margin: 0px auto;
}
section:first-of-type .container-page {
  padding-top: 2.5rem;
}
section:last-of-type .container-page {
  padding-bottom: 3rem;
}

section h2 {
  margin: 0 0 1.5rem;
  color: #245564;
  font-family: oscine, Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}
.container-page h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-block: 1rem 0;
  text-align: left;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-style: normal;}
/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 4px 35px;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  text-decoration: none;
}

.button-green {
  background: #73a646;
  color: #f5f5f5;
}
.button:hover {
  box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 30px;
}
.button-green:hover {
  background: #245564;
  color: #f5f5f5;
}

.button-lime {
  background: #cad521;
  color: #1d1d1b;
}

.button-lime:hover {
  ccolor: #245564;
  opacity: 0.9;
}

/* Page content */

.page-body-hero p:has(> img[src^="/assets/images/"]) {
  display: none;
}

.page-section {
  --section-margin: 0;
  --section-background: transparent;
  margin: var(--section-margin);
  background-color: var(--section-background);
}

.page-section-berichten {
  --section-margin: 0;
  --section-background: aliceblue;
}

.page-meta,
.page-excerpt {
  margin: 0 0 1.5rem;
  color: #245564;
}

.page-excerpt {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Home */

.home-page .references-section {
  margin-top: 2.5rem;
}

.post-list {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 20px;
}

.excerpt {
  margin: 0px 0px 1.5rem;
  font-family: korolev, Tahoma, Geneva, Verdana, sans-serif;
}
.parent-link {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.references-section {
  padding: 50px 0px;
  background-image: url("/assets/decoration/mensen.png");
  background-repeat: no-repeat;
  background-size: 90px auto;
  border-bottom: 2px solid rgb(115, 166, 70);
  background-blend-mode: normal;
  background-position: right 50px bottom 0px;
}

.references blockquote {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.25rem;
  border-left: 12px solid rgba(36, 85, 100, 0.25);
  font-style: italic;
}

.references blockquote p {
  margin: 0;
}

.references blockquote footer {
  margin-top: 0.5rem;
  color: #245564;
  font-style: normal;
  font-weight: 700;
}

/* Tablet */

@media (max-width: 830px) {
  h2 {
    font-size: 1.8rem;
  }
}
