/* Opt-in patterns. Do not target legacy .is-style-section or the approved homepage. */
.mwc-foundation {
  box-sizing: border-box;
  min-width: 0;
}

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

.mwc-section {
  max-width: 1140px;
  margin-inline: auto;
  padding: 60px 10px;
}

.mwc-foundation :is(h1, h2, h3) {
  font-family: Georgia, serif;
  font-weight: 400;
}

.mwc-foundation h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.17;
}

.mwc-foundation h3 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

.mwc-foundation p {
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 1.76;
}

.mwc-page-hero.wp-block-cover {
  width: calc(100% - 40px);
  max-width: 1250px;
  min-height: 615px;
  margin: 40px auto 0;
  padding: 60px;
  border-radius: 15px;
  overflow: clip;
  text-align: center;
}

.mwc-page-hero h1 {
  font-size: clamp(42px, 6.25vw, 90px);
  line-height: 1;
  color: #fff;
}

.mwc-page-hero p {
  max-width: 960px;
  margin-inline: auto;
  font-family: Georgia, serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.42;
  color: #fff;
}

.mwc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mwc-card-grid > .mwc-card {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.mwc-card {
  border-radius: 12px;
  overflow: clip;
  background: #e7e7e7;
  padding: 20px;
}

.mwc-card > :first-child {
  margin-top: 0;
}

.mwc-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.mwc-card :is(h3, p) {
  overflow-wrap: anywhere;
}

.mwc-foundation .mwc-gallery {
  gap: 20px;
}

.mwc-foundation .mwc-gallery img {
  border-radius: 10px;
}

.mwc-cta {
  text-align: center;
  background: #a7d6c9;
  border-radius: 12px;
  padding: 60px 30px;
}

.mwc-cta .wp-block-buttons {
  justify-content: center;
}

.mwc-foundation .wp-block-button__link {
  min-height: 44px;
  padding: 12px 24px;
  background: #0c0c0c;
  color: #fff;
  font: 16px/1.4 Roboto, sans-serif;
  border-radius: 4px;
}

.mwc-foundation :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #287263;
  outline-offset: 3px;
}

.mwc-form-section {
  max-width: 900px;
  padding: 60px 30px;
  background: #080808;
  color: #fff;
}

.mwc-form-section .gform_wrapper :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  padding: 14px;
  background: #111;
  color: #fff;
  border: 1px solid #54595f;
  border-radius: 4px;
}

.mwc-form-section .gform_wrapper.gform-theme .gfield :is(input, textarea)::placeholder {
  color: #bfbfbf;
  opacity: 1;
}

.mwc-form-section .gform_wrapper :is(.gform_button, input[type="submit"]) {
  min-height: 44px;
  padding: 12px 24px;
  background: #fff;
  color: #111;
  border: 1px solid #fff;
  border-radius: 4px;
}

.mwc-form-section :is(a, button, input, select, textarea):focus-visible {
  outline-color: #a7d6c9;
}

.mwc-form-section .gform_wrapper :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  max-width: 100%;
  min-height: 44px;
}

.mwc-form-section .gform_wrapper :is(.gfield, .ginput_container) {
  min-width: 0;
}

@media (max-width: 1024px) {
  .mwc-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mwc-section {
    padding-inline: 20px;
  }
}

@media (max-width: 767px) {
  .mwc-page-hero.wp-block-cover {
    width: calc(100% - 20px);
    min-height: 600px;
    margin-top: 10px;
    padding: 24px;
  }

  .mwc-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mwc-section {
    padding: 40px 20px;
  }

  .mwc-foundation .mwc-gallery.wp-block-gallery > .wp-block-image {
    width: 100%;
  }
}
