/* Browser interactions and layout refinements for the static site. */
html { scroll-behavior: smooth; }
html.locale-restoring body { visibility: hidden; }
.form-status {
  clear: both;
  box-sizing: border-box;
  width: calc(100% - 20px);
  margin: 22px 10px 0;
  padding: 18px 22px 18px 60px;
  border: 1px solid #bce6d4;
  border-left: 4px solid #39a87d;
  border-radius: 9px;
  background: #f1fbf6;
  box-shadow: 0 8px 24px rgba(25, 95, 68, .08);
  color: #267b43;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .38s ease, transform .38s ease;
}
.form-status[hidden] { display: none !important; }
.form-status.is-visible { opacity: 1; transform: translateY(0); }
.form-status::before {
  content: "✓";
  position: absolute;
  left: 21px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #39a87d;
  color: white;
  font-size: 16px;
}
.form-status.error { border-color: #f2c6c6; border-left-color: #c94d4d; background: #fff6f6; color: #a63838; }
.form-status.error::before { content: "!"; background: #c94d4d; }
@media (prefers-reduced-motion: reduce) {
  .form-status { transition: none; transform: none; }
}
.dmcf7-form [type="submit"]:disabled { opacity: .6; cursor: wait; }
.submit-control { display: inline-block; position: relative; max-width: 100%; vertical-align: middle; }
.dmcf7-form.is-submitting .submit-control [type="submit"] {
  padding-right: 42px;
  opacity: .8;
  cursor: wait;
}
.submit-control__spinner {
  display: none;
  position: absolute;
  right: 14px;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -9px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  pointer-events: none;
  animation: submit-spin .7s linear infinite;
}
.dmcf7-form.is-submitting .submit-control__spinner { display: block; }
@keyframes submit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .submit-control__spinner { animation-duration: 1.6s; }
}
.submenu-toggle { display: none; }
@media (min-width: 1240px) {
  #menu .menu-item-has-children:hover > .sub-menu,
  #menu .menu-item-has-children:focus-within > .sub-menu {
    display: block !important;
    visibility: visible;
    opacity: 1;
  }
}
.footer_button.visible { opacity: 1 !important; visibility: visible !important; }
.site-search-results { max-width: 700px; margin: 20px auto; color: #333; text-align: left; }
.site-search-results a { display: block; padding: 6px 0; color: #222; }

/* Keep all three footer columns aligned, with quieter copy and a tighter list. */
#Footer .widgets_wrapper { padding-bottom: 4px; }
#Footer .widgets_wrapper .widget { margin-top: 12px; margin-bottom: 6px; }
#Footer .footer_copy .one { padding-top: 12px; margin-bottom: 12px; }
#Footer .widgets_wrapper h5 {
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.4;
}
#Footer .widgets_wrapper h5 i { margin-right: 4px; }
#Footer .widgets_wrapper .column:nth-child(n+2) .textwidget > h5:first-child { padding-top: 3px; }
#Footer .widgets_wrapper .column:nth-child(3) h5 i {
  display: inline-block;
  font-size: 17px;
  line-height: 1;
  vertical-align: middle;
}
#Footer .widgets_wrapper .column:first-child .textwidget img { display: block; max-width: 100%; height: auto; }
#Footer .widgets_wrapper .column:first-child .textwidget > p:has(> img) { margin: 0; }
#Footer .widgets_wrapper .column:first-child .textwidget > p:has(.big) { margin: 12px 0 11px; }
#Footer .widgets_wrapper .column:first-child .big {
  display: block;
  color: #40535e;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
#Footer .widgets_wrapper .column:first-child .textwidget > p:not(:has(img, .big)) {
  margin-bottom: 0;
  color: #68747c;
  font-size: 13.5px;
  line-height: 1.65;
}
#Footer .widgets_wrapper .column:first-child h4 {
  margin: 16px 0 0;
  padding-left: 12px;
  border-left: 3px solid #42a981;
  color: #31765a;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}
#Footer .widgets_wrapper .column:nth-child(2) h5 { margin-bottom: 14px !important; }
#Footer .widgets_wrapper .column:nth-child(3) h5:first-of-type { margin-bottom: 8px !important; }
#Footer .widgets_wrapper .column:nth-child(2) .list_mixed li {
  margin-bottom: 9px;
  padding-left: 42px;
  line-height: 1.45;
}
#Footer .widgets_wrapper .column:nth-child(2) .list_mixed li:last-child { margin-bottom: 0; }
#Footer .widgets_wrapper .column:nth-child(2) .list_mixed li::before {
  left: 21px;
  top: 2px;
  width: 13px;
  font-size: 13px;
}
#Footer .widgets_wrapper .column:nth-child(2) .list_mixed li::after { bottom: -5px; }
#Footer .widgets_wrapper .column:nth-child(3) .textwidget > p {
  margin-left: 25px !important;
  margin-bottom: 8px;
}
#Footer .widgets_wrapper .column:nth-child(3) h5:not(:first-of-type) { margin-top: 9px; margin-bottom: 8px !important; }
@media (max-width: 767px) {
  #Footer .widgets_wrapper .widget { margin-top: 12px; margin-bottom: 10px; }
  #Footer .footer_copy #back_to_top { margin: 0 0 4px; }
  #Footer .footer_copy .copyright { margin-bottom: 0; }
  #Footer .widgets_wrapper .column:first-child .big { font-size: 14px; }
  #Footer .widgets_wrapper .column:first-child h4 { font-size: 14px; }
  #Footer .widgets_wrapper .column:nth-child(2) .list_mixed li { margin-bottom: 8px; }
}

@media (max-width: 1239px) {
  #menu.site-menu-open { display: block !important; }
  #menu .submenu-toggle { display: inline-block; position: absolute; right: 8px; top: 0; border: 0; background: transparent; padding: 8px 14px; font-size: 20px; }
  #menu .menu-item-has-children { position: relative; }
  #menu .menu-item-has-children .sub-menu { display: none; }
  #menu .menu-item-has-children.submenu-open .sub-menu { display: block; }
}
