:root {
  --green: #72af26;
  --green-light: #85c830;
  --text: #555;
  --heading: #444;
  --border: #ddd;
  --soft: #f7f7f7;
  --dark: #3a3b3d;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  line-height: 1.5;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Ubuntu", "Open Sans", "Segoe UI", Arial, sans-serif;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: #4e7f11;
}

.site {
  min-height: 100vh;
}

.topbar {
  border-bottom: 1px solid #ebebeb;
  background: #fff;
}

.topbar-inner,
.header-inner,
.nav-inner,
.page,
.front-slider-inner,
.front-intro-inner,
.footer-inner {
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  min-height: 34px;
  align-items: center;
  font-size: 12px;
}

.topbar-inner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar-inner a {
  display: block;
  padding: 9px 10px;
  color: #999;
}

.topbar-inner a:hover {
  color: var(--green);
  background: #efefef;
}

.header {
  background: #eee;
}

.header-inner {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.logo {
  display: block;
  width: min(430px, 100%);
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  background: var(--green);
}

.nav-inner {
  position: relative;
}

.nav-toggle {
  display: none;
  width: 100%;
  border: 0;
  padding: 12px 14px;
  color: #eee;
  background: var(--green);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nav-toggle-icon {
  display: inline-block;
  position: relative;
  width: 18px;
  height: 12px;
  margin-right: 9px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  vertical-align: -1px;
}

.nav-toggle-icon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  border-top: 2px solid currentColor;
}

.nav-menu-wrap {
  width: 100%;
}

.nav-inner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-inner li {
  position: relative;
}

.nav a,
.nav .nav-label {
  display: block;
  padding: 13px 16px;
  color: #eee;
  font-size: 14px;
  cursor: default;
}

.nav a:hover,
.nav a[aria-current="page"],
.nav li:hover > a,
.nav li:hover > .nav-label {
  color: #fff;
  background: var(--green-light);
}

.nav .sub-menu {
  position: absolute;
  z-index: 10;
  left: 0;
  top: 100%;
  display: none;
  width: 250px;
  background: var(--green-light);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
  display: block;
}

.nav .sub-menu li {
  width: 100%;
}

.nav .sub-menu a {
  color: #111;
  padding: 10px 14px;
  line-height: 1.3;
}

.nav .sub-menu a:hover,
.nav .sub-menu a[aria-current="page"] {
  color: #111;
  background: #93d63e;
}

.main {
  background: #fff;
}

.front-page {
  display: block;
  width: 100%;
  padding-top: 0;
}

.front-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #8ccb2f;
}

.front-slider-inner {
  position: relative;
  overflow: hidden;
  background: #111;
  margin-bottom: 0;
}

.front-slides {
  display: grid;
}

.front-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 700ms ease;
}

.front-slide.is-active {
  opacity: 1;
}

.front-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.front-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
}

.front-caption h2 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
}

.front-intro {
  background: #fff;
}

.front-intro-inner {
  display: block;
  padding: 46px 0 44px;
}

.front-intro .entry-title {
  margin-bottom: 28px;
  text-align: center;
  font-size: 24px;
}

.front-intro-photo {
  float: right;
  width: min(390px, 42%);
  height: auto;
  margin: 0 0 18px 42px;
}

.front-intro .entry-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: right;
  font-size: 16px;
  line-height: 1.55;
}

.front-intro .button {
  margin-top: 4px;
}

.front-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  width: min(900px, calc(100% - 28px));
  margin: 34px auto 58px;
}

.front-column h2 {
  margin: 0 0 16px;
  color: var(--heading);
  font-size: 24px;
  font-weight: 400;
}

.front-column img {
  display: block;
  width: 100%;
  aspect-ratio: 420 / 175;
  height: clamp(145px, 19vw, 175px);
  object-fit: cover;
  object-position: center;
  margin-bottom: 14px;
}

.front-column p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 42px;
  padding: 36px 0 48px;
}

.page.front-page {
  display: block;
  width: 100%;
  padding: 0;
}

.page-full {
  display: block;
}

.content {
  min-width: 0;
}

.entry-title {
  margin: 0 0 24px;
  color: var(--heading);
  font-size: 24px;
  font-weight: 500;
}

.content h2 {
  color: var(--heading);
  font-size: 17px;
  font-weight: 500;
  margin: 28px 0 10px;
}

.content p,
.content ul {
  margin: 0 0 1em;
}

.content .entry-summary {
  clear: both;
  margin-bottom: 22px;
}

.content .entry-summary .entry-title {
  margin-bottom: 10px;
  font-size: 19px;
}

.content .entry-summary::after {
  content: "";
  display: block;
  clear: both;
}

.content .post_thumbnail {
  max-width: min(420px, 48%);
}

.content img,
.content figure,
.content iframe,
.content video {
  max-width: 100%;
}

.content iframe[src*="youtube.com"],
.content iframe[src*="youtu.be"] {
  display: block;
  width: min(100%, 760px);
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 28px auto 10px;
  border: 0;
}

.content img {
  height: auto;
}

.content figure {
  margin: 0 0 1em;
}

.content .alignleft {
  float: left;
  margin: 4px 18px 12px 0;
}

.content .alignright {
  float: right;
  clear: right;
  max-width: min(300px, 45%);
  height: auto;
  margin: 4px 0 12px 18px;
}

.content li .alignright,
.content p .alignright {
  margin-left: 24px;
  margin-bottom: 16px;
}

.content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.entry-content::after {
  content: "";
  display: block;
  clear: both;
}

.content-break {
  clear: both;
  height: 1px;
  margin: 18px 0;
}

.image-text-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  gap: 30px;
  align-items: start;
  margin: 0 0 26px;
}

.image-text-media {
  display: grid;
  gap: 28px;
}

.image-text-media img {
  display: block;
  width: 100%;
  height: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  margin-top: 4px;
  color: #777;
  font-size: 12px;
}

.wp-caption.aligncenter {
  width: 184px !important;
  margin-top: 28px;
  margin-bottom: 24px;
  text-align: center;
}

.wp-caption.aligncenter img {
  width: min(100%, 156px);
  height: 220px;
  object-fit: contain;
  background: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.wp-caption.aligncenter .wp-caption-text {
  margin-top: 14px;
  text-align: center;
}

.entry-content:has(.wp-caption.alignleft) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px 34px;
  align-items: start;
}

.entry-content:has(.wp-caption.alignleft) > p:first-child {
  grid-column: 1 / -1;
}

.entry-content:has(.wp-caption.alignleft) > .wp-caption.alignleft {
  float: none;
  width: auto !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entry-content:has(.wp-caption.alignleft) > .wp-caption.alignleft a {
  display: block;
  width: 100%;
  text-align: center;
}

.entry-content:has(.wp-caption.alignleft) > .wp-caption.alignleft img {
  width: min(100%, 156px);
  height: 220px;
  object-fit: contain;
  background: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.entry-content:has(.wp-caption.alignleft) > .wp-caption.alignleft .wp-caption-text {
  width: 100%;
  margin-top: 14px;
  text-align: left;
}

.ngg-galleryoverview,
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.ngg-galleryoverview a,
.gallery a {
  display: block;
}

.ngg-galleryoverview img,
.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.slideshowlink {
  display: none;
}

.praxis-slider {
  position: relative;
  max-width: 760px;
  margin: 28px auto 30px;
  background: #f4f4f4;
  overflow: hidden;
}

.praxis-slider-viewport {
  display: grid;
}

.praxis-slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms ease;
}

.praxis-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.praxis-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}

.praxis-slide-caption {
  padding: 10px 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 14px;
}

.praxis-slider-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 46px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.praxis-slider-button:hover,
.praxis-slider-button:focus-visible {
  background: rgba(0, 0, 0, 0.72);
}

.praxis-slider-prev {
  left: 0;
}

.praxis-slider-next {
  right: 0;
}

.ngg-galleryoverview {
  margin-top: 20px;
}

.content table {
  max-width: 100%;
  border-collapse: collapse;
}

.content th,
.content td {
  padding: 8px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.cost-table {
  width: 100%;
  margin: 20px 0 24px;
  border-collapse: collapse;
}

.cost-table th {
  color: #fff;
  background: var(--green);
  font-weight: 500;
  text-align: left;
}

.cost-table th,
.cost-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e7e7e7;
  vertical-align: top;
}

.cost-table tr:nth-child(even) td {
  background: var(--soft);
}

.cost-table .price {
  width: 115px;
  color: #333;
  font-weight: 700;
  white-space: nowrap;
}

.cost-note {
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  background: var(--soft);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 4px 0 22px;
  border: 1px solid #eee;
}

.button {
  display: inline-block;
  border: 1px solid var(--green);
  padding: 10px 14px;
  color: var(--green);
  background: #fff;
}

.button:hover {
  color: #fff;
  background: var(--green);
}

.sidebar {
  font-size: 12px;
}

.widget {
  margin-bottom: 28px;
}

.widget-title {
  margin: 0 0 10px;
  padding-bottom: 8px;
  color: #494949;
  border-bottom: 1px solid #ccc;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.calculator {
  max-width: 640px;
  border-top: 3px solid var(--green);
  padding-top: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.field-row label {
  color: var(--heading);
  font-weight: 600;
}

input[type="date"] {
  width: min(260px, 100%);
  border: 1px solid var(--border);
  border-color: #ccc #eee #eee #ccc;
  padding: 9px 10px;
  color: var(--text);
  font: inherit;
}

.hint {
  margin-top: -6px;
  color: #777;
  font-size: 12px;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
}

.result-table th {
  padding: 9px 10px;
  color: #fff;
  background: var(--green);
  font-weight: 500;
  text-align: left;
}

.result-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.result-table tr:nth-child(even) td {
  background: var(--soft);
}

.date-value {
  white-space: nowrap;
  color: #333;
  font-weight: 600;
}

.empty-note {
  margin: 18px 0 0;
  color: #777;
}

.footer {
  color: #aaa;
  background: #3a3b3d;
}

.footer-inner {
  width: min(900px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 14px;
  color: #aaa;
  font-size: 13px;
  text-align: center;
}

.footer-inner a {
  color: #d6d6d6;
}

.footer-inner a:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-inner ul {
    justify-content: center;
  }

  .header-inner {
    min-height: auto;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu-wrap {
    display: none;
  }

  .nav.is-open .nav-menu-wrap {
    display: block;
  }

  .nav-inner ul {
    display: block;
  }

  .nav a {
    padding: 11px 12px;
  }

  .nav .nav-label {
    padding: 11px 12px;
  }

  .nav .sub-menu {
    position: static;
    display: block;
    width: 100%;
    box-shadow: none;
  }

  .nav .sub-menu a {
    padding-left: 28px;
  }

  .page {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 26px;
  }

  .front-intro-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px;
  }

  .front-slider-inner {
    margin-bottom: 0;
  }

  .front-slide img {
    width: 100%;
  }

  .front-caption {
    position: static;
    background: var(--dark);
  }

  .front-intro-photo,
  .content .post_thumbnail {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1em;
  }

  .front-intro .entry-content {
    text-align: left;
  }

  .front-columns {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 8px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .content .alignleft,
  .content .alignright {
    float: none;
    display: block;
    margin: 0 0 1em;
  }

  .image-text-layout {
    grid-template-columns: 1fr;
  }

}
