@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital@1&display=swap'); /* Regular Italic */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@600&display=swap'); /* SemiBold Roman */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@1,600&display=swap'); /* SemiBold Italic */


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-green: #14765D;
  --secondary-green: #F5F6F1;
  --hover-green: #1A9979;
  --background-beige: #FEFDF8;
}

.white {
  color: white;
  border: solid white;
}

body {
  font-family: "Source Sans 3", sans-serif;
  background: var(--background-beige);
  color: black;
  line-height: 1.5;
}

.container {
  max-width: 1400px;
  margin-left: 80px;
  margin-right: 80px;
  padding-right: 20px;
}

p a {
  color: var(--primary-green);
  text-decoration: underline;
}

p strong {
  font-weight: 600;
}

p a:hover {
  color: var(--hover-green);
}

h1, h2, h3 {
  margin: 10px 0;
  font-weight: 600;
}

.material-icons {
  font-family: 'Material Icons';
}

/* Header */

#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background-beige);
    padding: 13px 0;
    transition: box-shadow 0.2s ease;
}

#header.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
}

.menu {
    display: flex;
    gap: 40px;
}

.menu a {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 18px;
}

.menu a:hover {
    color: var(--hover-green);
}

/* Hero */

.hero {
    background: var(--primary-green);
    color: white;
    padding: 60px 0;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    max-width: 700px;
    font-size: 18px;
}

/* Cards */

.cards {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.card {
    background: var(--secondary-green);
    padding: 25px;
    border-radius: 16px;
    flex: 1;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.card ul {
    list-style: none;
}

.card li {
    margin-bottom: 5px;
    font-size: 18px;
}

.green-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.green-link:before {
    font-family: 'Material Icons';
    content: 'chevron_right';
    font-size: 18px;
    margin-right: 1px;
    vertical-align: middle;
}

.green-link span:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 1000px) {
    .cards {
        flex-wrap: wrap;
    }

    .card {
        flex: 1 1 calc(50% - 30px);
    }
}

@media (max-width: 700px) {
    .container {
        margin-left: 20px;
        margin-right: 20px !important;
    }

    .menu {
        gap: 20px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .cards {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }
}

/* Hamburger */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #14765D;
    display: block;
}

/* Mobile */

@media (max-width: 700px) {

    .hamburger {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 20px 0;
        border-top: 1px solid #eee;
    }

    .menu a {
        padding: 12px 20px;
        display: block;
    }

    .menu.active {
        display: flex;
        background: white;
    }

    .header-inner {
        position: relative;
    }
}

/* Footer */

.footer {
    background: #171717;
    color: #BFBFBF;
    padding-top: 50px;
    font-family: "Source Sans 3", sans-serif;
}

.footer-inner {
    max-width: 1400px;
    margin-left: 80px;
    margin-right: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

/* Column separator lines */
.footer-col {
    position: relative;
    padding-right: 40px;
}

.footer-col:not(:last-child) {
    border-right: 2px solid #8A8A8A;
}

/* Logo */
.footer-logo img {
    height: 70px;
    margin-bottom: 20px;
}

/* Text spacing */
.footer-col p {
    margin-bottom: 8px;
}

.footer-email {
    margin-top: 20px;
}

/* Link columns */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px;
    border-radius: 6px;
}

.footer-links a:after {
    font-family: 'Material Icons';
    content: 'chevron_right';
    font-size: 18px;
    margin-left: 1px;
    vertical-align: middle;
}

.footer-links a:hover {
  background-color: #292929;
}

/* Bottom copyright */
.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 10px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col::after {
        display: none;
    }

    .footer-inner {
        margin-left: 20px;
    }

    .footer-col:not(:last-child) {
        border-right: 2px solid #171717;
    }
}

.arrow {
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

/* Content columns */

.content-columns {
  margin-bottom: 60px;
}

.content-columns:after {
  content: "";
  display: table;
  clear: both;
}

.main-content {
  padding: 10px 80px;
  background-color: var(--background-beige);
  line-height: 165%;
}

.main-column {
  float: left;
  width: 70%;
  padding: 20px 1px;
}

.right-column {
  float: right;
  width: 30%;
  padding: 20px 1px;
}

/* Slideshow */

/* Slideshow container */
.slideshow-container {
  max-width: 800px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.img-slides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Shared alignment */
.content-inner {
  max-width: 1500px;
  margin-left: 80px;
  margin-right: 80px;
  padding-right: 20px;
}

.smaller-content-inner  {
  max-width: 1500px;
  margin-left: 360px;
  margin-right: 360px;
  padding-right: 20px;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--background-beige);
  padding: 20px 0 10px;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    margin-left: 80px;
}

.breadcrumbs li {
    font-size: 16px;
    color: black;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #999;
}

.breadcrumbs a {
    text-decoration: none;
    color: var(--primary-green);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Title strip */
.title-strip {
    background: #E8E6E7;
    padding: 60px 0;
}

.title-strip h1 {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 600;
}

.subtitle {
    margin: 0;
    font-size: 18px;
    color: black;
}

/* Content */
.page-content {
    background: var(--background-beige);
    padding: 40px 0 60px;
}

.page-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Flexbox container */
.nav-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

/* Boxes */
.nav-box {
    flex: 1 1 calc(50% - 10px);
    background: var(--secondary-green);
    padding: 30px;
    text-decoration: none;
    color: black;
    box-sizing: border-box;
    border-radius: 12px;
}

/* Title */
.nav-box h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  position: relative;
  padding-left: 24px;
}

/* 
.nav-box h3:after {
  font-family: "Material Icons";
  content: "chevron_right";
  font-size: 18px;
  margin-left: 1px;
  vertical-align: middle;
}
*/

/* Decorative dot */
.nav-box h3:before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--primary-green);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 7px;
}

/* Description */
.nav-box p {
  margin: 0;
  line-height: 1.5;
  font-size: 16px;
  padding-left: 24px;
}

/* Hover effect (underline title when hovering entire box) */
.nav-box:hover h3 {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-box {
    flex: 1 1 100%;
  }
  
  .content-inner,
  .breadcrumbs ul,
  .smaller-content-inner {
    margin-left: 20px;
    margin-right: 20px;
  }

  .nav-grid {
    gap: 15px;
  }

  .nav-box {
    flex: 1 1 100%;
  }
}

.dot-heading {
  position: relative;
  padding-left: 22px;
  display: inline-block;
}

.dot-heading:before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--primary-green);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.5em;
}

/* Tooltips */

.tooltip-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 6px;
}

.tooltip-icon {
  font-family: 'Material Icons';
  font-size: 16px;
  cursor: pointer;
  vertical-align: middle;
  color: var(--primary-green);
}

.tooltip-icon:hover {
  color: var(--hover-green);
}

.tooltip-text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  
  background: white;
  color: #111827;
  padding: 6px 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  
  border: 1px solid #f3f4f6;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 1000;
}

/* Show on hover (desktop) */
.tooltip-wrapper:hover .tooltip-text {
  opacity: 1;
}

/* Show on tap (mobile) */
.tooltip-icon:focus + .tooltip-text {
  opacity: 1;
}

.tooltip-icon:focus {
  outline: none;
}

/* Table of contents */

#content-index {
  background-color: #f5f6f1;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
}

#index-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 5px;
}

#content-list a {
  display: block;
  line-height: 1.7;
  color: var(--primary-green);
  text-decoration: none;
}

#content-list a:hover {
  text-decoration: underline;
  color: var(--hover-green);
}

a.second-level {
  margin-left: 20px;
}

@media (max-width: 768px) {
  .main-content {
    padding: 10px 20px;
  }

  .main-column,
  .right-column {
    float: none;
    width: 100%;
    padding: 15px 0;
  }
  
  .main-column {
    margin-bottom: 25px;
  }
}

/* Entries */

/* Search bar */
#entry-search {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 40px;
    font-size: 18px;
    font-family: inherit;
}

/* Grid container */
#entries-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 30px;
}

/* Cards */
.entry-card {
    flex: 0 0 calc(33.333% - 20px);
    text-decoration: none;
    color: black;
}

/* Title */
.entry-card h3 {
    margin: 0 0 6px 0;
    color: var(--primary-green);
    transition: color 0.2s ease;
}

/* Hover (whole card triggers) */
.entry-card:hover h3 {
    text-decoration: underline;
    color: var(--hover-green);
}

/* Description */
.entry-card p {
    margin: 0;
    line-height: 1.5;
}

/* Tablet */
@media (max-width: 900px) {
    .entry-card {
        flex: 1 1 calc(50% - 15px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .entry-card {
        flex: 1 1 100%;
    }
}

