/* ==========================================================
   CANTARE TEMPLATE — FULL STYLESHEET
   ========================================================== */

@font-face {
    font-family: 'Bresley';
    src: url('Bresley-Regular.woff2') format('woff2'),
        url('Bresley-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@import url("https://fonts.googleapis.com/css2?family=Lato:wght@900&display=swap");

:root{
  /* palette */
  --c1:#127379;
  --c2:#a7a9ac;
  --c3:#231f20;
  --c4:#ffffff;
  --c5:#0f666c;
  --c6:#0d5358;
  --c7:#e7eff0;
  --c8:#cfe0e2;
  --c9:#222222;

  /* layout */
  --inner: 1200px;
  --pad: 20px;

  --menu-h: 90px;

  /* radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --user-font-scale: 1;
}


html {
	margin: 0;
	padding: 0;
	overflow-x: clip;
}

body {
	font-family: agenda, sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: calc(18px * var(--user-font-scale));
	line-height: calc(26px * var(--user-font-scale));
	margin:0;
  	padding:0;
	color: #4f4f4f;
	min-width: 0;
	overflow-x: clip;
}
*, *::before, *::after{ box-sizing:border-box; }

img{ max-width:100%; display:block; }


h1 {
	font-family: 'Bresley';
	font-weight: 400;
	font-style: normal;
	margin: 40px 0 20px;
	font-size: 70px;
	line-height: 70px;
	color: #8f1a26;
	padding-top: 5px;
  	padding-left: 10px;
}

h2 {
	font-family: arvo, serif;
	font-weight: 400;
	font-style: normal;
	font-size: 32px;
	color: #8f1a26 !important;
	line-height: 60px !important;
	margin-top: 16px;
	margin-bottom: 5px;
}

h3 {
	font-family: arvo, serif;
	font-weight: 400;
	font-style: normal;
	line-height: 50px !important;
	margin-top: 20px;
	margin-bottom: 20px;
	color: #8f1a26;
	font-size: 26px;
}

h4{
	font-family: arvo, serif;
	font-weight: 400;
	font-style: normal;
  font-size: 22px
  line-height: 40px !important;
  margin-top: 27px;
  color: #8f1a26;
}

p {
	margin: 5px 0;
	padding: 0;
}

a{
	color: #1a6f75;
	text-decoration:none;
}

a:hover{
	color: #47b2b9;
}


#content {
	margin: 0 auto;
	width: 1260px;
	max-width: 86%;
	padding-bottom: 50px;
	min-height: 800px;
}

.content-fade-section {
	position: relative;
}

.content-fade-section::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 140px;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
	pointer-events: none;
	z-index: 1;
}

.content-fade-section > #content {
	position: relative;
	z-index: 2;
}

#content ul {
	color: #1a6f75;
	background: #E7ECEF;
	border-radius: 8px;
	padding: 20px 40px;
}



/* Header */
.site-header {
  width: 100%;
  min-height: 250px;
  position: relative;
  z-index: 20;
  background-image: url("images/head3600.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.site-header__inner {
  width: 1260px;
  max-width: 96%;
  min-height: 250px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
}

.text-resizer {
  position: absolute;
  top: 16px;
  right: 0;
  display: inline-flex;
  gap: 6px;
  z-index: 5;
}

.text-resizer__btn {
  min-width: 36px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(143, 26, 38, 0.9);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-family: arvo, serif;
  font-size: 14px;
  line-height: 1;
  opacity: .4;
}

.text-resizer__btn--sm { font-size: 14px; }
.text-resizer__btn--md { font-size: 18px; }
.text-resizer__btn--lg { font-size: 22px; }

.text-resizer__btn:hover,
.text-resizer__btn.is-active {
  background: #8f1a26;
  opacity: 1;
}

.site-header__logo {
  width: clamp(160px, 18vw, 250px);
  flex: 0 0 auto;
}

.site-header__logo img {
  width: 100%;
  height: auto;
}

.site-header__nav {
  flex: 1 1 auto;
}

@media (max-width: 2400px) {
  .site-header {
    background-image: url("images/head2400.png");
  }
}

@media (max-width: 1800px) {
  .site-header {
    background-image: url("images/head1800.png");
  }
}

@media (max-width: 1000px) {
.site-header {
	background-image: url("images/head1000.png");
	background-size: 100%;
	background-position-y: top;
}
  .text-resizer {
    top: 10px;
    right: 6px;
  }
}

@media (max-width: 900px) {
  .site-header__logo {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 4;
  }
  .text-resizer {
    top: 12px;
    right: 65px;
  }
}

.header-photo {
  width: 100%;
  height: calc(100vw * 2506 / 3600);
  max-height: 1250px;
  margin-top: -110px;
  position: relative;
  z-index: 1;
  pointer-events: none;
  background-image: var(--cantare-hero-1800);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

@media (min-width: 1801px) {
  .header-photo {
    background-image: var(--cantare-hero-2400);
  }
}

@media (min-width: 2401px) {
  .header-photo {
    background-image: var(--cantare-hero-3600);
  }
}

@media (max-width: 1000px) {
  .header-photo {
    background-image: var(--cantare-hero-1000);
  }
}

@media (max-width: 1000px) {
.header-photo {
	width: 100%;
	margin-top: -170px;
	position: relative;
	z-index: 1;
}
}

@media (max-width: 900px) {
  .header-photo {
    width: 100%;
    margin-top: -190px;
    position: relative;
    z-index: 1;
  }
}

.header-photo picture,
.header-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3600 / 2506;
  pointer-events: none;
  user-select: none;
}

.header-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
}

.content-overlap {
  position: relative;
  z-index: 3;
  margin-top: clamp(-330px, -17vw, -90px) !important;
}

#content img {
  border-radius: 20px;
}

#content {
  scroll-margin-top: 30px;
}

/* Subpagina's: de volledige hero blijft zichtbaar, maar rustiger achter de content. */
body.cantare-subpage .header-photo {
  position: absolute;
  top: 250px;
  left: 0;
  right: 0;
  z-index: 1;
}

body.cantare-subpage .header-photo::after {
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.88) 62%,
    rgba(255, 255, 255, 1) 100%
  );
}

body.cantare-subpage .content-overlap {
  margin-top: -150px !important;
  padding-top: 130px;
}

@media (max-width: 900px) {
  body.cantare-subpage .content-overlap {
    margin-top: -150px !important;
    padding-top: 130px;
  }
}
