:root {
  --theme-bg: #025022;
  --theme-surface-dark: #025022;
  --theme-text: #ffffff;
  --theme-ink: #4C4C4C;
  --mb-accent: #025022;
}

body {
  background: var(--mb-alt, #E8EBE5);
  color: var(--mb-ink, #4C4C4C);
  font-family: "Inter", system-ui, ui-sans-serif, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inria Serif", Georgia, serif;
}

/* Offset fixed header when jumping to #anchors */
section[id] {
  scroll-margin-top: 110px;
}

.theme-container {
  width: min(1300px, 92%);
  margin: 0 auto;
}

.theme-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
  transition:
    background-color 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

.theme-header.is-scrolled {
  background: var(--mb-accent, #025022);
  padding-top: 15px;
  padding-bottom: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Single post / classic page: solid header from the start. */
body.pasingle-layout .theme-header {
  background: var(--mb-accent, #025022);
  padding-top: 15px;
  padding-bottom: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.theme-header__shell {
  display: flex;
  gap: 28px;
}

.theme-header__brand {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.theme-header__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.theme-header__utils {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 60px;
  padding-bottom: 0;
  transition:
    opacity 0.25s ease,
    max-height 0.3s ease,
    padding 0.3s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.theme-header__divider {
  display: none;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 0;
  margin-bottom: 14px;
  margin-top: 0;
  transition:
    opacity 0.25s ease,
    margin 0.3s ease,
    visibility 0.25s ease;
}

.theme-header .custom-logo-link,
.theme-header .custom-logo-link img,
.theme-header img.custom-logo {
  max-height: 88px;
  max-width: 240px;
  width: auto;
  height: auto;
  display: block;
  transition: max-height 0.3s ease, max-width 0.3s ease;
}

.theme-header.is-scrolled .custom-logo-link,
.theme-header.is-scrolled .custom-logo-link img,
.theme-header.is-scrolled img.custom-logo,
body.pasingle-layout .theme-header .custom-logo-link,
body.pasingle-layout .theme-header .custom-logo-link img,
body.pasingle-layout .theme-header img.custom-logo {
  max-height: 52px;
  max-width: 160px;
}

.theme-logo a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  transition: font-size 0.3s ease;
}

.theme-header.is-scrolled .theme-logo a,
body.pasingle-layout .theme-header .theme-logo a {
  font-size: 1.15rem;
}

.theme-header__wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-family: "Inter", system-ui, ui-sans-serif, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.theme-header__wa-icon {
  display: inline-flex;
  color: #0ea64e;
}

.theme-header.is-scrolled .theme-header__wa-icon {
  color: #fff;
}

.theme-header__social {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.theme-header__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  color: #fff;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.theme-header__social-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.theme-header__social-icon:hover,
.theme-header__social-icon:focus-visible {
  color: #fff;
  opacity: 0.75;
  border: 0;
  background: transparent;
}

.theme-header__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 40px;
  border-radius: 0;
  background: #00000099;
  color: #fff;
  font-family: "Inter", system-ui, ui-sans-serif, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.theme-header__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0ea64e;
  box-shadow: 0 0 0 3px rgba(14, 166, 78, 0.25);
}

.theme-header__status.is-closed .theme-header__status-dot {
  background: #c45c5c;
  box-shadow: 0 0 0 3px rgba(196, 92, 92, 0.28);
}

.theme-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, ui-sans-serif, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  width: 100%;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 28px;
}

@media (min-width: 1024px) {
  .mb-nav-overlay {
    display: none !important;
  }

  .theme-header__utils,
  .theme-header__divider {
    display: flex;
  }

  .theme-header__divider {
    display: block;
  }

  .theme-header.is-scrolled .theme-header__utils,
  .theme-header.is-scrolled .theme-header__divider,
  body.pasingle-layout .theme-header__utils,
  body.pasingle-layout .theme-header__divider {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    transform: translateY(-6px);
  }

  #mb-primary-navigation.mb-primary-nav {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
  }

  .theme-nav__list {
    max-width: 900px;
    margin-left: auto;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
  }

  .theme-header.is-scrolled .theme-header__main,
  body.pasingle-layout .theme-header__main {
    justify-content: center;
  }
}

.theme-nav__list > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  padding-bottom: 6px;
  transition: color 0.2s ease;
}

.theme-nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--mb-primary, #0ea64e);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.theme-nav__list > li > a:hover,
.theme-nav__list > li > a:focus-visible,
.theme-nav__list > li.current-menu-item > a,
.theme-nav__list > li.current-menu-ancestor > a,
.theme-nav__list > li.group:hover > a,
.theme-nav__list > li.group:focus-within > a,
.theme-nav__list > li.group.is-mb-submenu-open > a {
  color: var(--mb-primary, #0ea64e);
}

.theme-nav__list > li > a:hover::after,
.theme-nav__list > li > a:focus-visible::after,
.theme-nav__list > li.current-menu-item > a::after,
.theme-nav__list > li.current-menu-ancestor > a::after,
.theme-nav__list > li.group:hover > a::after,
.theme-nav__list > li.group:focus-within > a::after,
.theme-nav__list > li.group.is-mb-submenu-open > a::after {
  transform: scaleX(1);
}

.theme-burger {
  background: transparent;
  color: #fff;
  border: 0;
  display: none;
  position: relative;
  z-index: 32;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  cursor: pointer;
}

#primary {
  min-height: 40vh;
}


.theme-header__contact .mb-social-icon,
.theme-header__contact-wrap .mb-social-icon {
  background: var(--mb-primary);
  color: #111;
  border-radius: 8px;
}

.theme-header__contact .mb-social-icon[href*='wa.me'],
.theme-header__contact-wrap .mb-social-icon[href*='wa.me'] {
  background: #5dd26e;
  color: #fff;
}

.theme-header__contact .mb-social-icon[href*='wa.me']:hover,
.theme-header__contact .mb-social-icon[href*='wa.me']:focus-visible,
.theme-header__contact-wrap .mb-social-icon[href*='wa.me']:hover,
.theme-header__contact-wrap .mb-social-icon[href*='wa.me']:focus-visible {
  background: #4bc35f;
  color: #fff;
}

.theme-header__contact .mb-social-icon svg,
.theme-header__contact-wrap .mb-social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mb-btn-primary,
.mb-btn-secondary,
.mb-btn-tertiary,
.pacs__cta,
.pahero-slide__cta {
  border-radius: 50px;
  font-family: "Inter", system-ui, ui-sans-serif, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  min-height: 65px;
}

.theme-footer {
  background: #023718;
  color: #fff;
  padding: 0;
  position: relative;
  border-top: 1px solid #ffffff1a;
}

.theme-footer__main {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}

.theme-footer__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.theme-footer__watermark img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  user-select: none;
}

.theme-footer__inner {
  position: relative;
  z-index: 1;
}

.theme-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(3, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 40px;
  align-items: start;
}

.theme-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.theme-footer__logo-slot {
  max-width: 220px;
  margin-bottom: 22px;
}

.theme-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.theme-footer__logo-link--text {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.theme-footer .theme-footer__logo-slot .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.theme-footer__logo-img,
.theme-footer__logo-slot .custom-logo-link img,
.theme-footer__logo-slot img.custom-logo {
  max-width: 220px;
  max-height: 96px;
  width: auto;
  height: auto;
  display: block;
}

.theme-footer__about {
  margin: 0 0 22px;
  max-width: 260px;
  font-family: "Inter", system-ui, ui-sans-serif, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.theme-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.theme-footer__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.theme-footer__social-icon:hover,
.theme-footer__social-icon:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.theme-footer .theme-footer__col-title {
  margin: 0 0 18px;
  font-family: "Inter", system-ui, ui-sans-serif, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
}

.theme-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.theme-footer__menu li {
  margin: 0 0 16px;
}

.theme-footer__menu a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-family: "Inter", system-ui, ui-sans-serif, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.theme-footer__menu a:hover,
.theme-footer__menu a:focus-visible {
  color: #fff;
  opacity: 1;
}

.theme-footer__contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.theme-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", system-ui, ui-sans-serif, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
}

.theme-footer__contact-icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: #0ea64e;
}

.theme-footer__contact-text {
  color: inherit;
  text-decoration: none;
}

a.theme-footer__contact-text:hover,
a.theme-footer__contact-text:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.theme-footer__bottom {
  background: #012a12;
  padding: 18px 0;
}

.theme-footer__bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.theme-footer__bottom-left {
  justify-self: start;
  min-height: 1em;
}

.theme-footer__copyright {
  margin: 0;
  text-align: center;
  justify-self: center;
  font-family: "Inter", system-ui, ui-sans-serif, sans-serif;
  font-size: 13px;
  opacity: 0.9;
  max-width: 100%;
}

.theme-footer__bottom-right {
  justify-self: end;
}

.theme-footer__privacy {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.9;
}

a.theme-footer__privacy:hover,
a.theme-footer__privacy:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.theme-footer__dev {
  display: inline-block;
  line-height: 0;
  opacity: 0.95;
  text-decoration: none;
}

.theme-footer__dev img {
  height: 28px;
  width: auto;
  max-width: 160px;
  display: block;
}

.theme-footer__dev:hover {
  opacity: 1;
}

#primary {
  min-height: 40vh;
}


@media (max-width: 1023px) {
  body.is-mb-mobile-nav-open {
    overflow: hidden;
  }

  .theme-header__shell {
    justify-content: space-between;
  }

  .theme-header__main {
    display: contents;
  }

  .theme-header__utils,
  .theme-header__divider {
    display: none !important;
  }

  .theme-header .custom-logo-link,
  .theme-header .custom-logo-link img,
  .theme-header img.custom-logo {
    max-height: 56px;
    max-width: 160px;
  }

  .theme-burger {
    margin-left: auto;
    display: inline-flex;
  }

  .mb-nav-overlay:not(.hidden) {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 29;
    cursor: pointer;
    background: rgba(5, 6, 10, 0.52);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  #mb-primary-navigation.mb-primary-nav:not(.hidden) {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 30;
    box-sizing: border-box;
    width: min(320px, 90vw);
    max-width: min(320px, 100vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(env(safe-area-inset-top, 0px) + 5.25rem) 1.35rem max(1.25rem, env(safe-area-inset-bottom, 0px))
      max(1rem, env(safe-area-inset-left, 0px));
    background: #0f1116;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.42);
    animation: mb-theme-nav-drawer-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes mb-theme-nav-drawer-in {
    from {
      transform: translateX(103%);
      opacity: 0.96;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .theme-nav__list {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.2rem;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .theme-nav__list > li > a {
    display: block;
    padding: 0.6rem 0.35rem;
    border-radius: 6px;
  }

  .theme-nav__list > li > a::after {
    display: none;
  }

  .theme-footer__main {
    padding: 64px 0 48px;
  }

  .theme-footer__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .theme-footer__brand {
    width: 100%;
    max-width: 320px;
  }

  .theme-footer__col {
    width: 100%;
    max-width: 320px;
  }

  .theme-footer .theme-footer__col-title,
  .theme-footer__menu,
  .theme-footer__contact {
    text-align: center;
  }

  .theme-footer__menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .theme-footer__contact-item {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .theme-footer__bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }

  .theme-footer__bottom-left,
  .theme-footer__bottom-right,
  .theme-footer__copyright {
    justify-self: center;
  }
}
