@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist/Geist-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist/Geist-Italic-VariableFont_wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --salmon: #eb5d56;
  --mint: #a8d9c6;
  --yellow: #E6DE72;
  --blue: #8296C8;
  --sky: #87d5ff;
  --black: #000000;
  --white: #ffffff;
  --tile-gap: 0;
}

html {
  scroll-behavior: smooth;
}

a {
  cursor: pointer;
}

body {
  font-family: "Geist", sans-serif;
  background: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #000000;
  color: #fff;
  padding: 1.5rem;
}
.cookie-banner p {
  font-size: 1.3rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 1.5rem;
}
.cookie-banner-actions button {
  border: 1px solid #fff;
  padding: 0.5rem 1.5rem;
  font-size: 1.3rem;
  background-color: #000000;
  color: #fff;
  cursor: pointer;
}
.cookie-banner-actions button:hover,
.cookie-banner-actions button:active {
  filter: invert();
}

/* ARTICLE DETAIL */
.article-content,
.page-content {
  flex: 1;
}

/* NAV */
nav {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .header-left {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: flex-start;
  text-decoration: none;
  align-items: center;
}
nav .logo {
  height: 70px;
}
nav .logo img {
  height: 100%;
  display: block;
}
nav .site-header {
  color: #fff;
  text-decoration: none;
}
nav .site-header > a:visited {
  text-decoration: none;
}
nav .site-title {
  font-size: 2.6rem;
  font-weight: 400;
}
nav .site-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
}
nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  text-transform: lowercase;
}
nav .nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 400;
  white-space: nowrap;
}
nav .nav-links a:hover,
nav .nav-links a.active {
  text-decoration: underline;
}
nav .nav-links .lang-switch {
  font-size: 1.3rem;
  color: var(--white);
  text-transform: uppercase;
}
nav .nav-links .lang-switch a {
  color: var(--white);
}
nav .nav-links .lang-switch .current {
  font-weight: 700;
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--white);
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* TILE GRID */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tile-gap);
}

.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--black);
  overflow: hidden;
}
.tile.salmon,
.tile-image.salmon {
  background: var(--salmon);
}
.tile.mint,
.tile-image.mint {
  background: var(--mint);
}
.tile.white,
.tile-image.white {
  background: var(--white);
}
.tile.yellow,
.tile-image.yellow {
  background: var(--yellow);
}
.tile.blue,
.tile-image.blue {
  background: var(--blue);
}

.tile-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}
.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.tile-image:hover img {
  transform: scale(1.03);
}
.tile-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.tile .tile-title {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.tile .tile-excerpt {
  font-size: 1.3rem;
  line-height: 1.6;
  flex: 1;
}
.tile .tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.tile .tile-tag {
  border: 1.5px solid var(--black);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  font-size: 1.3rem;
  font-weight: 500;
  white-space: nowrap;
}
.tile .more {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
}
.tile .tile-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tile .tile-arrow img {
  width: 17px;
  height: 17px;
}

/* SECTION HEADER (category pages) */
.section-header {
  padding: 3rem 2rem 2rem;
}
.section-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 400;
}
.section-header p {
  font-size: 1.3rem;
  margin-top: 0.5rem;
  max-width: 40ch;
}
.section-header-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

/* ARTICLE DETAIL */
.article-hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
}
.article-hero-text {
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.article-hero-text h1 {
  font-size: clamp(2.2rem, 3vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
}
.article-hero-text p {
  font-size: 1.3rem;
  line-height: 1.6;
}
.article-hero-image {
  padding: 3rem 2rem 2rem 2rem;
}
.article-hero-image img,
.article-hero-image iframe {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  border: none;
  object-fit: cover;
  background-color: #fff;
}
.btn-contact {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
  width: fit-content;
  text-align: center;
}
.btn-contact:hover {
  color: var(--page-bg, var(--white));
}

/* CONTENT BLOCKS */
.block {
  padding: 1.5rem 1.5rem 2rem 1.5rem;
}
.block + .block {
  padding-top: 0;
}
.block + .block:has(.block-social-icon) {
  margin-top: -1rem;
}

.block-text-two-col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
.block-text-two-col h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
}
.block-text-two-col h3 {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 80ch;
}
.block-text-two-col strong {
  font-weight: 700;
}

.block-text-two-col {
  font-size: 1.3rem;
  line-height: 1.6;
}

.block-text-full p {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 80ch;
}

.block-text-full ul {
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 80ch;
  padding-left: 1rem;
}

.block-text-full strong {
  font-weight: 600;
}

.block-image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--tile-gap);
}
.block-image-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.block-image-gallery img:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}
/* SPLIDE CORE */
@keyframes splide-loading {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(1turn);
  }
}
.splide__track--draggable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.splide__track--fade > .splide__list > .splide__slide {
  margin: 0 !important;
  opacity: 0;
  z-index: 0;
}
.splide__track--fade > .splide__list > .splide__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.splide--rtl {
  direction: rtl;
}
.splide__track--ttb > .splide__list {
  display: block;
}
.splide__container {
  box-sizing: border-box;
  position: relative;
}
.splide__list {
  backface-visibility: hidden;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
.splide.is-initialized:not(.is-active) .splide__list {
  display: block;
}
.splide__pagination {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}
.splide__pagination li {
  display: inline-block;
  line-height: 1;
  list-style-type: none;
  margin: 0;
  pointer-events: auto;
}
.splide:not(.is-overflow) .splide__pagination {
  display: none;
}
.splide__progress__bar {
  width: 0;
}
.splide {
  position: relative;
  visibility: hidden;
}
.splide.is-initialized,
.splide.is-rendered {
  visibility: visible;
}
.splide__slide {
  backface-visibility: hidden;
  box-sizing: border-box;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  list-style-type: none !important;
  margin: 0;
  position: relative;
}
.splide__slide img {
  vertical-align: bottom;
}
.splide__spinner {
  animation: splide-loading 1s linear infinite;
  border: 2px solid #999;
  border-left-color: transparent;
  border-radius: 50%;
  bottom: 0;
  contain: strict;
  display: inline-block;
  height: 20px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
}
.splide__sr {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.splide__toggle.is-active .splide__toggle__play,
.splide__toggle__pause {
  display: none;
}
.splide__toggle.is-active .splide__toggle__pause {
  display: inline;
}
.splide__track {
  overflow: hidden;
  position: relative;
  z-index: 0;
}

/* CAROUSEL BLOCK */
.block-carousel-wrap {
  padding: 3rem 2rem;
}
.block + .block-carousel-wrap,
.block-carousel-wrap + .block {
  padding-top: 0;
}

.block-carousel .splide__slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  font-size: 1.3rem;
}
.block-carousel .splide__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
  padding: 0 0.75rem;
}
.block-carousel .splide__arrow {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  transition:
    background 0.15s,
    color 0.15s;
  background-color: #fff;
}
.block-carousel .splide__arrow:hover,
.block-carousel .splide__arrow:focus-visible {
  background: var(--black);
}
.block-carousel .splide__arrow:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}
.block-carousel .splide__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--black);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.15s;
}
.block-carousel .splide__arrow:hover svg,
.block-carousel .splide__arrow:focus-visible svg {
  stroke: var(--white);
}
.block-carousel .splide__arrow--prev svg {
  transform: scaleX(-1);
}
.block-carousel .splide__pagination {
  margin-top: 1rem;
  gap: 0.5rem;
}
.block-carousel .splide__pagination__page {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.2px solid var(--black);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.block-carousel .splide__pagination__page.is-active,
.block-carousel .splide__pagination__page:hover {
  background: var(--black);
}
.block-carousel .splide__pagination__page:focus-visible {
  outline: 1px solid var(--black);
  outline-offset: 2px;
}

.block-single-image {
  aspect-ratio: 3 / 2;
}
.block-single-image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
}
.block-single-image figcaption {
  font-size: 1.1rem;
  font-style: italic;
  color: #000000;
  margin-top: 0.5rem;
}

.block-iframe iframe {
  width: 100%;
  border: none;
  display: block;
}

/* FORM BLOCK */
.block-form {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
.block-form > * {
  grid-column: 2;
}
.block-form .form-intro {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}
.block-form .form-fields {
  display: flex;
  flex-direction: column;
}
.block-form .form-field {
  margin-bottom: 1.25rem;
}
.block-form label {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}
.block-form input,
.block-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid currentColor;
  padding: 0.35rem 0;
  font-family: inherit;
  font-size: 1.3rem;
  color: inherit;
  outline: none;
  display: block;
  border-radius: 0;
}
.block-form textarea {
  resize: vertical;
  min-height: 80px;
}
.block-form input:focus,
.block-form textarea:focus {
  border-bottom-width: 2px;
}
.block-form .form-error {
  display: block;
  font-size: 1.3rem;
  margin-top: 0.25rem;
  opacity: 0.75;
  background-color: rgb(255, 210, 210);
  border: 1px solid red;
  padding: 1rem;
  color: red;
}
.block-form .form-success {
  font-size: 1.3rem;
  font-weight: 500;
  background-color: rgb(210, 255, 210);
    border: 1px solid green;
    padding: 1rem;
  color: green;
}
.block-form button.btn-contact {
  margin-top: 0.5rem;
  cursor: pointer;
  border: none;
}
.block-social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--black);
}
.block-social-icon svg,
.block-social-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;

}
.block-social-icon .social-handle {
  font-size: 1.2rem;
}
.block-social-icon img:hover {
  filter: invert();
  border: 1px solid #000;
    border-radius: 10px;
}

/* FOOTER */
footer {
  padding: 1.25rem;
  font-size: 1.3rem;
  color: var(--black);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--white);
  border-radius: 6px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}
.footer-social a svg,
.footer-social a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer-social a:hover {
filter: invert();

}
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-links a {
  color: inherit;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* FEATURED SECTION */
.featured-section {
  padding: 0;
  width: 100%;
}
.featured-subtitle {
  margin-bottom: 1rem;
}
.featured-layout {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.featured-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
}
.featured-text p {
  margin-top: auto;
  font-size: 1.3rem;
  line-height: 1.6;
}
.featured-text h2 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}
.featured-text h3 {
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.featured-image {
  width: 100%;
  padding: 0;
  margin: 0;
}
.featured-image img,
.featured-image iframe {
  width: 100%;
  aspect-ratio: 5/2;
  border: none;
  display: block;
  object-fit: cover;
}

/* RESPONSIVE */

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

@media (max-width: 1100px) {
  .featured-image img,
  .featured-image iframe {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 900px) {
  .article-hero {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}
@media (max-width: 800px) {
  nav {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    gap: 0;
  }
  nav .header-left {
    flex: 1;
    flex-direction: row;
    gap: 1rem;
  }
  nav .logo {
    height: 55px;
  }
  .nav-hamburger {
    display: flex;
  }
  nav .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1rem 0 0.25rem;
    margin-top: 0.5rem;
  }
  nav .nav-links.open {
    display: flex;
  }
        nav .site-title {
          font-size: 2.2rem;
        }
    
        nav .site-subtitle {
          font-size: 1.3rem;
        }
    
        nav .nav-links a {
          font-size: 1.1rem;
        }
  .article-hero {
    grid-template-columns: 1fr;
  }
  .article-hero-image {
    aspect-ratio: 4 / 3;
    padding: 0;
  }
  .article-hero-text {
    padding: 2rem 1.5rem;
  }
  .block-text-two-col,
  .block-form {
    grid-template-columns: 1fr;
  }
  .block-form > * {
    grid-column: 1;
  }
  .block {
    padding: 2rem 1.5rem;
  }
  .tile .tile-excerpt {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  .tile .more {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

@media (max-width: 650px) {
  .tile-grid {
    grid-template-columns: 1fr;
  }
  .tile .tile-excerpt {
    font-size: 1.3rem;
    line-height: 1.6;
  }
  .tile .more {
    font-size: 1.3rem;
    line-height: 1.6;
  }
}

@media (max-width: 600px) {

  .cookie-banner p {
    font-size: 1rem;
  }
  .cookie-banner-actions button {
    font-size: 1rem;
  }
  .featured-layout {
    grid-template-columns: 1fr;
    padding: 0 1.5rem 0;
  }
  .featured-image img,
  .featured-image iframe {
    aspect-ratio: 4 / 3;
  }
  .featured-text {
    padding: 0 0 1.5rem 0;
  }
  .article-content,
  .page-content {
    margin-top: calc(-1 * var(--nav-h, 0px));
    padding-top: var(--nav-h, 0px);
  }
}

@media (max-width: 800px) {
  nav .logo {
      height: 35px;
    }
          nav .site-title {
              font-size: 1.6rem;
            }
          
            nav .site-subtitle {
              font-size: 1rem;
            }
          
            nav .nav-links a {
              font-size: 1rem;
            }
}