#primary {
  margin: 0;
}
main {
  display: none;
}
.wrapper {
  overflow: visible;
}
/* Banner CTA Section */
.section--banner-cta {
  padding: 3rem 1.5rem;
}

.section--banner-cta .section-wrapper {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem 3rem;
  display: flex;
  gap: 3rem;
  box-shadow: 0 0 2rem 2rem rgba(0, 0, 0, 0.08);
  margin-top: -5rem;
}

body:has(
  #content .wrapper section.section--banner-cta:last-of-type .section-wrapper.over-bottom
) footer.footer-2024 .container {
  margin-top: 10rem;
}

.section--banner-cta .over-bottom {
  width: 80%;
  display: flex;
  flex-flow: column;
  text-align: center;
  padding: 4rem;
  background-image: var(--mobile-bg);
  background-size: 120% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 30;
  margin-bottom: -15rem;
  gap: 1rem;
}

.section--banner-cta .over-bottom .blurb {
  max-width: 100%;
  margin-top: 1rem;
}

.section--banner-cta .over-bottom .button-wrapper {
  margin: 0 auto;
}

.section--banner-cta .heading {
  color: #1C4220;
}
.section--banner-cta .blurb {
  font-size: 1rem;
  max-width: 90%;
  color: #1C4220;
}
.section--banner-cta .button-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  flex-shrink: 0;
}

/* One Col Section */
.section--one-col {
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center calc(100% + 0.5rem);
  padding: 4rem 1.5rem 6rem;
  margin: 5rem 0 !important;
}

.section--one-col .section-wrapper {
  display: flex;
  gap: 3rem;
  flex-direction: column;
}

.section--one-col .heading-wrapper {
  display: flex;
  flex-direction: row;
}

.section--one-col .content-wrapper {
  max-width: 70%;
}

.section--one-col .heading {
  font-family: 'Libre Caslon Text', serif;
  color: #1C4220;
  margin-bottom: 1rem;
  width: 80%;
}

.section--one-col .blurb {
  color: #1C4220;
}

.section--one-col .button-wrapper {
  margin: 5rem auto 0 auto;
}

.section--one-col .button-wrapper .btn {
  font-weight: 700;
}

.section--one-col .blocks {
  gap: 1.5rem;
}

.section--one-col .block {
  flex: 0 0 calc(25% - 1.125rem);
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  text-decoration: none;
}

.section--one-col .block:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
  border: 2px solid #1C4220;
}

.section--one-col .block-text-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1C4220;
  margin-bottom: 0.5rem;
}

.section--one-col .block-text-content {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #1C4220;
}


/* Two Col Section */
.section {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.reverse .section-wrapper .two-col {
  flex-direction: row-reverse;
}

.two-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
}

.margin-top-desktop-medium {
  margin-top: 5rem;
}
.margin-top-desktop-high {
  margin-top: 10rem;
}

.col {
  flex: 1;
}

.section--banner-cta .heading,
.section--one-col .heading,
.section--two-col-all .heading,
.section--two-col-all .section-wrapper .two-col .left h1 {
  font-family: 'Libre Caslon Text', serif !important;
  font-weight: 500 !important;
}

.section--two-col-all .heading {
  font-size: 2.5rem !important;
  margin-bottom: 1.5rem;
  color: #1C4220;
}

.section--two-col-all .section-wrapper .two-col .left h1 {
  font-size: 3rem !important;
}

.section--two-col-all .blurb {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 32rem;
  color: #1C4220;
}

.button-wrapper {
  margin-bottom: 2rem;
}
.blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
  max-width: 100%;
}

.two-col .blocks .block {
  display: flex;
  flex: 0 0 100%;
}

.block a {
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1C4220;
  text-decoration: none;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
}

.block a:hover {
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.12);
  border: 2px solid #1C4220;
}

.block-icon {
  width: 4rem;
  height: auto;
  flex-shrink: 0;
}

.block-text {
  flex: 1;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: normal;
}

.block-arrow {
  font-size: 1rem;
  line-height: 1;
  margin-right: 2rem;
}

.block.has-sublinks {
  flex-direction: column;
  align-items: stretch;
  align-self: flex-start;
}

.block.has-sublinks > a {
  border-radius: 1rem;
  position: relative;
}

.sublinks-wrapper {
  background: #FFFFFF;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  border-left: 2px solid #FF8046;
  border-right: 2px solid #FF8046;
  border-bottom: 1px solid #FF8046;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.sublinks-wrapper a {
  box-shadow: none !important;
}

.block.has-sublinks.is-expanded > a {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.block.has-sublinks.is-expanded .sublinks-wrapper {
  max-height: 500px;
  padding: 0.75rem 1rem;
  opacity: 1;
}

/* Individual sublink */
.sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1C4220;
  text-decoration: none;
  transition: background-color 0.15s ease;
  margin-bottom: 0.5rem;
}

.sublink:last-child {
  margin-bottom: 0;
}

.sublink-arrow {
  font-size: 1rem;
  color: #4A7C4E;
  transition: transform 0.15s ease;
}

.sublink:hover .sublink-arrow {
  transform: translateX(0.25rem);
}

.block.has-sublinks > a {
  cursor: pointer;
}

.col.right {
  display: flex;
  justify-content: center;
}

.image-wrapper {
  width: 22rem;
  max-width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  flex-shrink: 0;  
}

.over-top {
  margin-top: -12rem;
}

.over-bottom {
  margin-bottom: -15rem;
}

.aspect-ratio-3-5 {
  aspect-ratio: 3 / 5;
}

.aspect-ratio-6-5 {
  aspect-ratio: 6 / 5;
}

.aspect-ratio-2-3 {
  aspect-ratio: 2 / 3;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
}

.sbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.sbs-list li {
  flex: 0 0 calc(50% - 1rem);
  width: 100%;
}

.list-with-format li {
  flex: 0 0 100%;
  list-style-type: none; 
  background-color: #F2F4F2;
  border-radius: 1rem;
  cursor: pointer;
}

.list-with-format li:hover {
  border: 2px solid #1C4220;
  opacity: 0.8;
}

.list-with-format li img {
  width: 15%;
}

.list-with-format a {
  font-weight: 700 !important;
  padding-left: 0 !important;
  font-size: 1.1rem;
}

.list-with-format a:hover {
  text-decoration: none !important;
}

.sbs-list li a,
.sbs-list li span {
  color: #1C4220;
}
.sbs-list li.checkmark-item {
  list-style: none;
  padding-left: 2rem;
  position: relative;
}
.sbs-list li.checkmark-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.30rem;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url('/wp-content/themes/astra-child/img/checkmark.svg');
  background-size: contain;
  background-repeat: no-repeat;
}
.sbs-list li a {
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.sbs-list li a:hover {
  text-decoration: underline;
}

/* Mobile */
@media only screen and (max-width: 767px) {
  .section--banner-cta {
    margin-top: 2rem !important;
  }
  .section--banner-cta .section-wrapper {
    flex-direction: column;
    padding: 2rem;
    gap: 0;
  }
  .section--banner-cta .button-wrapper {
    width: 100%;
    flex-direction: column;
  }
  .section--banner-cta .button-wrapper a {
    width: 100%;
  }
  .section--banner-cta .over-bottom {
    text-align: start;
  }
  .section--one-col {
    background-image: var(--mobile-bg);
    background-size: 120% auto;
    padding: 3rem 1.25rem 4.5rem;
    background-position: bottom center;
  }
  .section--one-col .content-wrapper {
    max-width: 100%;
  }
  .section--one-col .section-wrapper {
    gap: 0;
  }
  .section--one-col .heading-wrapper {
    flex-direction: column;
  }
  .section--one-col .button-wrapper {
    margin: 0;
  }
  .section--one-col .button-wrapper a {
    width: 100%;
  }
  .section--one-col .block {
    flex: 0 0 100%;
  }
  
  .reverse .section-wrapper .two-col {
    flex-direction: column-reverse;      
  }
  .two-col {
    padding: 2rem 1.5rem;
  }
  .margin-top-on-mobile {
    margin-top: 15rem;
  }
  .section--banner-cta .heading,
  .section--one-col .heading,
  .section--two-col-all .heading,
  .section--two-col-all .section-wrapper .two-col .left h1 {
    font-size: 1.5rem !important;
  }
  .block a {
    gap: 0;
  }
  .block.has-sublinks.is-expanded .sublinks-wrapper {
    padding: 0.5rem 0.75rem;
  }
  
  .sublink {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
  .sbs-list {
    margin-left: 0;
  }
  .sbs-list li {
    flex: 0 0 100%;
  }
  .list-with-format a {
    font-size: 1em;
  }
  .reverse .over-bottom {
    margin-bottom: 0rem;
  }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .margin-top-on-mobile {
    margin-top: 15rem;
  }
  .reverse .section-wrapper .two-col {
    flex-direction: column-reverse;
  }
  .reverse .over-bottom {
    margin-bottom: 0rem;
  }
}

/* Desktop */
@media only screen and (min-width: 1024px) {
  .section--two-col-all {
    padding: 2.5rem 1.5rem;
  }
  .two-col {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1275px) {
  .block-text {
    overflow-wrap: normal;
    font-size: 0.6rem;
  }
}

@media only screen and (min-width: 1275px) {
  .two-col .blocks .block {
    flex: 0 0 calc(50% - 1rem) !important;
    max-width: calc(50% - 1rem) !important;
    align-self: flex-start;
  }  
}