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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #40576d;
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: #79b942;
}

.dyn-field {
  display: contents;
}

.rt :is(h1, h2, h3, h4, h5, h6, p) {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  margin: 0;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: #fff;
  padding: 8px 16px;
}

.skip-to-content:focus {
  left: 8px;
}

/* Theme heading separator (source: has-heading-seperator-below) */
.new-hero-gyors-title h1::after, .new-closing-title h2::after, .aw-banner-title h2::after, .aw-grants-title h2::after {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background: #78b942;
  margin: 15px 0;
}

.aw-banner-title h2::after, .aw-grants-title h2::after {
  margin: 15px auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eaedf1;
}

.hdr-row {
  height: 90px;
  display: flex;
  align-items: center;
  padding: 0 15px 0 20px;
}

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.hdr-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.main-nav > a, .main-nav summary {
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  color: #79b942;
  text-decoration: none;
  padding: 0 10px;
  margin: 0 6px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  height: 90px;
  position: relative;
}

.main-nav summary::-webkit-details-marker {
  display: none;
}

.main-nav summary::after {
  content: "";
  border-top: 4px solid currentColor;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  margin-left: 2px;
}

.main-nav > a:hover, .main-nav summary:hover, .mega[open] > summary {
  color: #5e9c2b;
}

.mega[open] > summary::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 27px;
  height: 2px;
  background: #79b942;
}

.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 90px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  padding: 25px 25px 30px;
  cursor: default;
}

.mega-panel--split {
  padding: 0 0 0 25px;
}

.mega-grid {
  display: grid;
  gap: 66px;
}

.mega-grid--svc {
  grid-template-columns: 1fr 1fr 2fr;
}

.mega-grid--sol {
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
}

.mega-grid--sol .mega-col {
  padding: 25px 0 30px;
}

.mega-grid--two {
  grid-template-columns: 1fr 1fr;
}

.mega-col {
  min-width: 0;
}

.mega-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0 12px 17px;
  border-bottom: 1px solid #79b942;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  color: #455365;
}

.mega-head img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.mega-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mega-subhead {
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  color: #455365;
  margin: 10px 0 12px;
}

.mega-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 12px;
}

.mega-links a {
  color: #455365;
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
}

.mega-links a:hover {
  color: #79b942;
}

.mega-desc-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 12px;
  margin-bottom: 24px;
}

.mega-desc-links a {
  text-decoration: none;
  color: #455365;
  display: flex;
  flex-direction: column;
}

.mega-desc-title {
  font-size: 16.8px;
  font-weight: 700;
  line-height: 21px;
}

.mega-desc-text {
  font-size: 12.8px;
  line-height: 17.28px;
  padding-top: 6px;
}

.mega-desc-links a:hover .mega-desc-title {
  color: #79b942;
}

.mega-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-radius: 15px;
  text-decoration: none;
  color: #455365;
  margin-top: 10px;
  margin-bottom: 20px;
  transition: filter 0.2s;
}

.mega-card:hover {
  filter: brightness(0.97);
}

.mega-card--blue {
  background: #e7eef9;
}

.mega-card--green {
  background: #d9ead1;
}

.mega-card img {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 15px;
  flex-shrink: 0;
}

.mega-card > span {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.mega-card-text {
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.1em;
}

.mega-contact {
  background: #d9ead1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 40px;
  text-decoration: none;
  color: #455365;
}

.mega-contact img {
  width: 140px;
  height: auto;
  flex-shrink: 0;
}

.mega-contact-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 200px;
}

.mega-contact-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.mega-contact-body {
  font-size: 16px;
  line-height: 24px;
}

.mega-contact-btn {
  align-self: center;
  margin-top: 18px;
  background: #79b942;
  color: #fff;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 23px;
}

.lang {
  position: relative;
  margin: 0 14px 0 10px;
}

.lang summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 90px;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.lang summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #455365;
  border-bottom: 1.5px solid #455365;
  transform: rotate(45deg) translateY(-3px);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 70px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 140px;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  color: #455365;
  text-decoration: none;
  font-size: 14px;
}

.lang-menu img {
  width: 20px;
  height: 20px;
}

.hdr-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #79b942;
  color: #fff;
  font-size: 15.2px;
  font-weight: 600;
  line-height: 18.24px;
  padding: 12.8px 19.2px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.hdr-cta:hover {
  background: #6aa637;
}

.hdr-cta img {
  width: 12px;
  height: 12px;
}

.nav-toggle, .burger {
  display: none;
}

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

@media (max-width: 1199px) {
  .main-nav > a, .main-nav summary {
    margin: 0;
    padding: 0 7px;
    font-size: 15px;
  }
  .logo img {
    height: 50px;
  }
}
@media (max-width: 991px) {
  .hdr-row {
    height: 70px;
    padding: 0 16px;
  }
  .logo img {
    height: 46px;
  }
  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }
  .bars, .bars::before, .bars::after {
    display: block;
    width: 26px;
    height: 3px;
    background: #79b942;
    border-radius: 2px;
    position: relative;
    content: "";
  }
  .bars::before {
    position: absolute;
    top: -8px;
  }
  .bars::after {
    position: absolute;
    top: 8px;
  }
  .nav-toggle:checked ~ .burger .bars {
    background: transparent;
  }
  .nav-toggle:checked ~ .burger .bars::before {
    top: 0;
    transform: rotate(45deg);
  }
  .nav-toggle:checked ~ .burger .bars::after {
    top: 0;
    transform: rotate(-45deg);
  }
  .hdr-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 10px 16px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }
  .nav-toggle:checked ~ .hdr-menu {
    display: flex;
  }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }
  .main-nav > a, .main-nav summary {
    height: auto;
    padding: 14px 0;
    margin: 0;
    border-bottom: 1px solid #eaedf1;
    font-size: 16px;
  }
  .mega[open] > summary::before {
    display: none;
  }
  .mega-panel, .mega-panel--split {
    position: static;
    box-shadow: none;
    padding: 16px 0;
  }
  .mega-grid, .mega-grid--svc, .mega-grid--sol, .mega-grid--two, .mega-sub {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mega-grid--sol .mega-col {
    padding: 0;
  }
  .mega-contact {
    padding: 20px;
  }
  .mega-card {
    padding: 12px;
  }
  .mega-card img {
    width: 80px;
    height: 60px;
  }
  .mega-card-text {
    letter-spacing: 0.02em;
    font-size: 14px;
  }
  .lang {
    margin: 10px 0;
  }
  .lang summary {
    height: 44px;
  }
  .lang-menu {
    position: static;
    box-shadow: none;
    padding: 0;
  }
  .hdr-cta {
    align-self: flex-start;
    margin-top: 8px;
  }
}
/* Footer */
.site-footer {
  background: #455365;
  color: #fff;
  padding: 0 0 60px;
}

.ftr-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 57px 0;
}

.ftr-grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  column-gap: 0;
  row-gap: 0;
}

.ftr-brand {
  padding: 30px 0 0;
}

.ftr-logo {
  width: 240px;
  display: block;
}

.ftr-col {
  min-width: 0;
}

.ftr-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 28.8px;
  margin: 0 0 18px;
  color: #fff;
}

.ftr-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ftr-links a {
  color: #79b942;
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
}

.ftr-links a:hover {
  color: #fff;
}

.ftr-social {
  grid-column: 1;
  display: flex;
  gap: 6px;
  margin-top: -37px;
}

.ftr-social a {
  display: block;
  width: 50px;
  height: 50px;
}

.ftr-social img {
  width: 50px;
  height: 50px;
  display: block;
}

.ftr-social a:hover img {
  opacity: 0.8;
}

.ftr-bottom {
  margin-top: 34px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  gap: 36px;
  font-size: 14px;
  line-height: 21px;
}

@media (max-width: 991px) {
  .ftr-container {
    padding: 48px 24px 0;
  }
  .ftr-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .ftr-brand {
    padding: 0;
  }
  .ftr-social {
    margin-top: 0;
    grid-column: auto;
  }
  .ftr-bottom {
    flex-direction: column;
    gap: 4px;
  }
}