
.header-main {
 
  background-image: url("../web-assets/web_backgrounds/nav-bar_element_art.webp");
  
}


/* =========================
   CAROUSEL AREA (PLACEHOLDER)
========================= */
.carousel-area {
  background: var(--white);
  width: 100%;
  /* aspect-ratio: 100%/ 100%; */
  padding: 0;
  margin: 0 0 40px 0;
}

.carousel-area .inner {
  max-width: none;
  height: 100%;
  margin: 0 auto;
}

.carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.15);
  pointer-events: none;
}

/* =========================
   FIXED-RATIO SLIDESHOW
========================= */

.carousel {
  position: relative;
  width: 100%;
  /* max-width: 1200px; */
  aspect-ratio: 16 / 4.5;
  margin: 0 auto;
  overflow: hidden;
}

.carousel .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 24s infinite; /* infinite loop */
}

.carousel .slide.one   { animation-delay: 0s; }
.carousel .slide.two   { animation-delay: 4s; }
.carousel .slide.three { animation-delay: 8s; }
.carousel .slide.four  { animation-delay: 12s; }
.carousel .slide.five  { animation-delay: 16s;}
.carousel .slide.six  { animation-delay: 20s;}

@keyframes fade {
  10%, 10% { opacity: 1; }  /* visible for 20% of the cycle */
  25%, 50% { opacity: 0; } /* then fade out */
}

/* ≤980px */
@media (max-width: 980px) {
  .carousel-area {
    margin: 0 0 30px 0;
  }
}

/* ≤770px */
@media (max-width: 770px) {
  .carousel-area {
    margin: 0 0 20px 0;
  }
}


.carousel-link {
  display: block;
  cursor: pointer;
}

.carousel-link:hover {
  opacity: 0.95;
}
/* =========================
   H2 INDEX (NEWS SECTION)
========================= */
.h2-index {
  background: #f4f1ef;
  width: 100%;
  padding: 30px 30px 40px 30px;
}

.h2-index .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.h2-index-header {
  text-align: center;
  margin-bottom: 60px;
}

.h2-index-header h2 {
  color: var(--green);
  font-size: 33px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.h2-index-header p {
  font-size: 24px;
  color: var(--black);
}

.h2-index-columns {
  display: flex;
  gap: 24px;
}

.h2-index-item {
  flex: 1;
  font-size: 15px;
  line-height: 1.5;
}

.h2-index-item .date {
  font-size: 20px;
  color: var(--black);
  margin-bottom: 6px;
}

.h2-index-item h3 {
  font-size: 18px;
  color: var(--green);
  margin-bottom: 6px;
}

.h2-index-item p {
  margin-bottom: 10px;
}

.h2-index-item a {
  color: var(--green);
  /* font-size: 16px; */
  text-decoration: none;
  font-weight: bold;
}

/* ≤770px → stack columns */
@media (max-width: 770px) {
  .h2-index-columns {
    flex-direction: column;
    gap: 40px;
  }
}

/* =========================
   H1 INDEX (WELCOME SECTION)
========================= */
.h1-index {
  background: var(--white);
  padding: 35px 15px 32px;
}

.h1-index .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.h1-index h1 {
  color: var(--green);
  font-size: 33px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.h1-index .subtitle {
  font-size: 27px;
  margin-bottom: 25px;
}

.h1-index p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto;
}

  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.cookie-actions button {
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
}

.cookie-reject {
  background: var(--yellow);
  color: var(--black);
  opacity: 0.8;
  font-weight: 700;
  transform: scale(0.95);
}

.cookie-accept {
  background: var(--black);
  color: var(--white);
  font-weight: 700;
}
