.section-blocks {
  padding: 0;
  position: relative;
  margin: 7rem 0;
}
.section-blocks .background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--black);
}
.section-blocks .background img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.section-blocks .container {
  position: relative;
}
.section-blocks .container img.top-icon {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.section-blocks .container h1, .section-blocks .container h2 {
  max-width: 700px;
  margin: 0 auto 25px;
  text-align: center;
  font-weight: 600;
}
.section-blocks .container .text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.75em;
}
.section-blocks .container > .buttons {
  display: block;
  margin: 75px auto 0;
}
.section-blocks .container > .buttons .button {
  max-width: -moz-max-content;
  max-width: max-content;
  margin: 0 auto 20px;
}
.section-blocks .container > .buttons .button:last-child {
  margin-bottom: 0;
}
.section-blocks .container .blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  grid-gap: 20px;
  width: 100%;
}
.section-blocks .container .blocks:not(:first-child) {
  margin-top: 50px;
}
.section-blocks .container .blocks .block {
  padding: 30px;
  background-color: #fff;
  width: calc(33% - 14px);
  aspect-ratio: 1;
  color: var(--black);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 30px 0 30px 30px;
}
.section-blocks .container .blocks .block .background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.section-blocks .container .blocks .block .background img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.section-blocks .container .blocks .block .background:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 150%;
  transition: all 0.5s;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0, 0, 0) 50%);
}
.section-blocks .container .blocks .block .content {
  color: var(--white);
  padding: 0 30px;
  position: absolute;
  bottom: 20px;
  left: 0;
}
.section-blocks .container .blocks .block .content .icon img {
  height: 40px;
}
.section-blocks .container .blocks .block .content h3 {
  font-size: 1.2em;
  font-weight: 500;
  text-align: left;
  margin: 10px 0 30px;
}
.section-blocks .container .blocks .block .content .text {
  text-align: left;
  line-height: 1.5em;
  font-size: 0.9em;
  margin-bottom: 0;
  transition: all 0.3s;
}
.section-blocks .container .blocks .block .content .text *:first-child {
  margin-top: 0;
}
.section-blocks .container .blocks .block .content .text *:last-child {
  margin-bottom: 0;
}
.section-blocks .container .blocks .block .content .list {
  margin: 25px 0;
}
.section-blocks .container .blocks .block .content .list > div {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  grid-gap: 10px;
  margin-bottom: 15px;
}
.section-blocks .container .blocks .block .content .list > div > img {
  width: 30px;
  margin-top: -5px;
}
.section-blocks .container .blocks .block .content .list > div > p {
  flex: 1;
  font-size: 0.9em;
}
.section-blocks .container .blocks .block .content p.link {
  margin: 20px 0 0;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}
.section-blocks .container .blocks .block .content *:last-child {
  margin-bottom: 0;
}
.section-blocks .container .blocks .block .content-overlay {
  position: absolute;
  top: 100%;
  height: 100%;
  left: 0;
  width: 100%;
  padding: 50px;
  color: var(--white);
  transition: all 0.3s;
  background-image: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.5), rgba(var(--primary-rgb), 0.9));
}
.section-blocks .container .blocks .block:hover .background:after {
  opacity: 0;
}
.section-blocks .container .blocks .block:hover .content-overlay {
  top: 0;
}

@media (max-width: 1150px) {
  .section-blocks .container .blocks .block:hover .content {
    top: 25%;
  }
}
@media (max-width: 1000px) {
  .section-blocks .container .blocks .block {
    aspect-ratio: 0.4;
  }
}
@media (max-width: 900px) {
  .section-blocks .container .blocks .block {
    width: calc(50% - 10px);
    aspect-ratio: 1;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
  }
  .section-blocks .container .blocks .block .background:after {
    top: 0;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0, 0, 0));
  }
  .section-blocks .container .blocks .block .content {
    top: 0 !important;
    overflow-y: auto;
    position: relative;
    padding: 0;
    height: auto;
    max-height: 100%;
    align-self: flex-end;
  }
  .section-blocks .container .blocks .block .content h3 {
    position: relative;
    bottom: unset;
    left: 0;
  }
  .section-blocks .container .blocks .block .content-overlay {
    position: relative;
    top: unset;
    background-image: unset;
    padding: 20px 0 0;
    height: auto;
  }
  .section-blocks .container .blocks .block .content-overlay .text {
    text-align: left;
  }
}
@media (max-width: 700px) {
  .section-blocks .container .blocks .block {
    aspect-ratio: 1.5;
    flex: unset;
    width: 100%;
  }
}
@media (max-width: 500px) {
  .section-blocks .container .blocks .block {
    aspect-ratio: 1;
  }
}
/*

CTA Block

*/
.section-blocks .container .blocks .block.cta-block .background {
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  background-color: unset;
}
.section-blocks .container .blocks .block.cta-block .background:after {
  display: none;
}
.section-blocks .container .blocks .block.cta-block .content {
  bottom: unset;
  top: 0;
  align-self: flex-start;
}
.section-blocks .container .blocks .block.cta-block .content h3 {
  text-align: center;
  color: var(--black);
  margin: 50px auto 20px;
  font-size: 1.75em;
  font-weight: 600;
}
.section-blocks .container .blocks .block.cta-block .content h3 span.primary {
  color: var(--primary);
}
.section-blocks .container .blocks .block.cta-block .content a.button {
  width: -moz-max-content;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

/*

Options - Theme cards

*/
.section-blocks[options~=theme-cards] .container .blocks {
  grid-gap: 20px;
}
.section-blocks[options~=theme-cards] .container .blocks .block {
  aspect-ratio: unset;
  flex: unset;
  display: block;
  padding: 0;
  background-color: var(--gray);
}
.section-blocks[options~=theme-cards] .container .blocks .block .content {
  position: relative;
  top: unset;
  bottom: unset;
  width: unset;
  height: unset;
  color: unset;
  text-align: center;
  padding: 30px 30px 40px;
  transition: all 0.2s;
}
.section-blocks[options~=theme-cards] .container .blocks .block .content .icon {
  background-color: rgba(var(--white-rgb), 0.5);
  width: 65px;
  height: 65px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  padding: 8px;
}
.section-blocks[options~=theme-cards] .container .blocks .block .content .icon img {
  max-width: 75%;
  max-height: 75%;
}
.section-blocks[options~=theme-cards] .container .blocks .block .content h3 {
  position: relative;
  bottom: unset;
  left: unset;
  right: unset;
  font-weight: 600;
  transition: unset;
  text-align: center;
  font-size: 1.5em;
  margin: 0 0 20px;
}
.section-blocks[options~=theme-cards] .container .blocks .block .content h3:last-child {
  margin-bottom: 0;
}
.section-blocks[options~=theme-cards] .container .blocks .block .content .text {
  transition: unset;
  text-align: center;
  font-weight: 500;
  position: relative;
  font-size: 1em;
}
.section-blocks[options~=theme-cards] .container .blocks .block .content .text p, .section-blocks[options~=theme-cards] .container .blocks .block .content .text ul {
  margin-bottom: 0.5em;
}
.section-blocks[options~=theme-cards] .container .blocks .block .content .text:after {
  content: "";
  width: 40px;
  height: 2px;
  border-radius: 5px;
  position: absolute;
  bottom: -12px;
  background-color: var(--white);
  left: 50%;
  transform: translateX(-50%);
}
.section-blocks[options~=theme-cards] .container .blocks a.block:hover {
  text-decoration: none;
}
.section-blocks[options~=theme-cards] .container .blocks a.block:hover .background:before {
  top: 0;
}
.section-blocks[options~=theme-cards] .container .blocks a.block:hover .content {
  color: var(--primary);
}
.section-blocks[options~=theme-cards][options~=card-colors] .container .blocks .block {
  background-color: var(--primary);
  color: var(--white);
}
.section-blocks[options~=theme-cards][options~=card-colors] .container .blocks .block:nth-child(2), .section-blocks[options~=theme-cards][options~=card-colors] .container .blocks .block:nth-child(5), .section-blocks[options~=theme-cards][options~=card-colors] .container .blocks .block:nth-child(8) {
  background-color: var(--secondary);
}
.section-blocks[options~=theme-cards][options~=card-colors] .container .blocks .block .content .icon {
  background-color: rgba(var(--white-rgb), 0.5);
}

@media (max-width: 820px) {
  .section-blocks[options~=theme-cards] .container .blocks .block {
    width: calc(50% - 10px);
  }
  .section-blocks[options~=theme-cards][options~=card-colors] .container .blocks .block:nth-child(odd) {
    background-color: var(--primary);
  }
  .section-blocks[options~=theme-cards][options~=card-colors] .container .blocks .block:nth-child(even) {
    background-color: var(--secondary);
  }
}
@media (max-width: 600px) {
  .section-blocks[options~=theme-cards] .container .blocks .block {
    width: 100%;
  }
}
/*

Options - Theme large cards

*/
.section-blocks[options~=theme-large-cards] .container .blocks {
  grid-gap: 20px;
}
.section-blocks[options~=theme-large-cards] .container .blocks .block {
  aspect-ratio: unset;
  flex: unset;
  display: block;
  padding: 0;
  background-color: var(--gray);
  width: calc(50% - 10px);
}
.section-blocks[options~=theme-large-cards] .container .blocks .block .content {
  position: relative;
  top: unset;
  bottom: unset;
  width: unset;
  height: unset;
  color: unset;
  padding: 80px 50px;
  transition: all 0.2s;
}
.section-blocks[options~=theme-large-cards] .container .blocks .block .content .icon {
  margin: 0 auto 20px 0;
}
.section-blocks[options~=theme-large-cards] .container .blocks .block .content .icon img {
  height: 70px;
  width: auto;
}
.section-blocks[options~=theme-large-cards] .container .blocks .block .content h3 {
  position: relative;
  bottom: unset;
  left: unset;
  right: unset;
  transition: unset;
  font-size: 1.75em;
  font-weight: 600;
  margin: 0 0 15px;
  max-width: 300px;
  font-family: "ITC Avant Garde", sans-serif;
}
.section-blocks[options~=theme-large-cards] .container .blocks .block .content h3:last-child {
  margin-bottom: 0;
}
.section-blocks[options~=theme-large-cards] .container .blocks .block .content .text {
  transition: unset;
  font-weight: 500;
  position: relative;
}
.section-blocks[options~=theme-large-cards] .container .blocks .block .content .text:after {
  content: "";
  width: 40px;
  height: 2px;
  border-radius: 5px;
  position: absolute;
  bottom: -12px;
  background-color: var(--white);
  left: 50%;
  transform: translateX(-50%);
}
.section-blocks[options~=theme-large-cards] .container .blocks a.block:hover {
  text-decoration: none;
}
.section-blocks[options~=theme-large-cards] .container .blocks a.block:hover .background:before {
  top: 0;
}
.section-blocks[options~=theme-large-cards] .container .blocks a.block:hover .content {
  color: var(--primary);
}
.section-blocks[options~=theme-large-cards][options~=card-colors] .container .blocks .block {
  color: var(--white);
}
.section-blocks[options~=theme-large-cards][options~=card-colors] .container .blocks .block:nth-child(odd) {
  background-color: var(--primary);
}
.section-blocks[options~=theme-large-cards][options~=card-colors] .container .blocks .block:nth-child(even) {
  background-color: var(--secondary);
}

@media (max-width: 1000px) {
  .section-blocks[options~=theme-large-cards] .container .blocks .block .content {
    padding: 60px 20px;
  }
}
@media (max-width: 800px) {
  .section-blocks[options~=theme-large-cards] .container .blocks .block {
    width: 100%;
  }
}
/*

Options - Theme team

*/
.section-blocks[options~=theme-team] .container {
  max-width: 1000px;
}
.section-blocks[options~=theme-team] .container .blocks {
  grid-gap: 50px;
}
.section-blocks[options~=theme-team] .container .blocks .block {
  overflow: unset;
  padding: unset;
  background-color: unset;
  aspect-ratio: unset;
  border-radius: unset;
  width: calc(33% - 34px);
}
.section-blocks[options~=theme-team] .container .blocks .block .background {
  position: relative;
  background-color: unset;
  width: unset;
  height: unset;
}
.section-blocks[options~=theme-team] .container .blocks .block .background img {
  height: unset;
  -o-object-fit: unset;
     object-fit: unset;
  transition: all 0.2s;
  cursor: pointer;
}
.section-blocks[options~=theme-team] .container .blocks .block .background img:hover {
  transform: scale(1.05);
}
.section-blocks[options~=theme-team] .container .blocks .block .background:after {
  display: none;
}
.section-blocks[options~=theme-team] .container .blocks .block .content {
  position: relative;
  color: var(--black);
  padding: 0;
  margin-top: 25px;
  bottom: unset;
  top: unset;
}
.section-blocks[options~=theme-team] .container .blocks .block .content h3 {
  margin: 0 0 5px;
  text-align: center;
}
.section-blocks[options~=theme-team] .container .blocks .block .content-overlay {
  position: relative;
  top: unset;
  height: unset;
  padding: unset;
  color: var(--black);
  background-image: unset;
}
.section-blocks[options~=theme-team] .container .blocks .block .content-overlay .text {
  text-align: center;
}
.section-blocks[options~=theme-team] .container .blocks .block .content-overlay .text > *:not(:first-child) {
  font-size: 0.84em;
  line-height: 1.5em;
}
.section-blocks[options~=theme-team] .container .blocks .block .content-overlay .text *:last-child {
  margin-bottom: 0;
}
.section-blocks[options~=theme-team] .container .blocks .block .content-overlay .text > *:not(:has(.title)) {
  display: none;
}

@media (max-width: 900px) {
  .section-blocks[options~=theme-team] .container .blocks .block {
    display: block;
  }
}
@media (max-width: 700px) {
  .section-blocks[options~=theme-team] .container .blocks .block {
    width: calc(50% - 25px);
  }
}
@media (max-width: 500px) {
  .section-blocks[options~=theme-team] .container .blocks .block {
    width: 100%;
    max-width: 300px;
  }
}
.modal[modal=team-bio] .container {
  background: none;
  display: flex;
  align-items: flex-start;
  grid-gap: 100px;
}
.modal[modal=team-bio] .container .image {
  width: calc(50% - 50px);
}
.modal[modal=team-bio] .container .image img {
  max-width: 100%;
}
.modal[modal=team-bio] .container .content {
  width: calc(50% - 50px);
}
.modal[modal=team-bio] .container .content h3.name {
  margin: 0 0 20px;
  text-align: center;
}
.modal[modal=team-bio] .container .content .text {
  font-size: 1.1em;
}
.modal[modal=team-bio] .container .content .text p:has(.title) {
  font-weight: 500;
  font-size: 1.3em;
}

@media (max-width: 900px) {
  .modal[modal=team-bio] .container {
    grid-gap: 25px;
    flex-wrap: wrap;
  }
  .modal[modal=team-bio] .container .image {
    width: 100%;
  }
  .modal[modal=team-bio] .container .image img {
    display: block;
    margin: auto;
    max-width: 300px;
  }
  .modal[modal=team-bio] .container .content {
    width: 100%;
  }
  .modal[modal=team-bio] .container .content h3.name {
    font-size: 2em;
  }
  .modal[modal=team-bio] .container .content .text {
    font-size: 1em;
  }
}
/*

Options - Background Primary

*/
.section-blocks[options~=background-primary] {
  background-color: var(--primary);
  margin: 0;
  padding: 8rem 0;
  color: var(--white);
}
.section-blocks[options~=background-primary] .container .heading img.top-icon {
  filter: brightness(0) invert(1);
}
.section-blocks[options~=background-primary] .container .blocks .block {
  background-color: var(--white);
}

/*

Options - Background Secondary

*/
.section-blocks[options~=background-secondary] {
  background-color: var(--secondary);
  margin: 0;
  padding: 8rem 0;
  color: var(--white);
}
.section-blocks[options~=background-secondary] .container .heading img.top-icon {
  filter: brightness(0) invert(1);
}
.section-blocks[options~=background-secondary] .container .blocks .block {
  background-color: var(--white);
}

/*

Scroll Animations

*/
.section-blocks.scrolled-to .block:nth-child(1) {
  animation: block1 1s forwards;
}
.section-blocks.scrolled-to .block:nth-child(2) {
  animation: block2 1.25s forwards;
}
.section-blocks.scrolled-to .block:nth-child(3) {
  animation: block3 1.5s forwards;
}
.section-blocks.scrolled-to .block:nth-child(4) {
  animation: block4 1.75s forwards;
}
.section-blocks.scrolled-to .block:nth-child(5) {
  animation: block5 2s forwards;
}
.section-blocks.scrolled-to .block:nth-child(6) {
  animation: block6 2.25s forwards;
}
.section-blocks.scrolled-to .block:nth-child(7) {
  animation: block7 2.5s forwards;
}
.section-blocks.scrolled-to .block:nth-child(8) {
  animation: block8 2.75s forwards;
}
.section-blocks.scrolled-to .block:nth-child(9) {
  animation: block9 3s forwards;
}
.section-blocks.scrolled-to .block:nth-child(10) {
  animation: block10 3.25s forwards;
}
.section-blocks.scrolled-to .block:nth-child(11) {
  animation: block11 3.5s forwards;
}
.section-blocks.scrolled-to .block:nth-child(12) {
  animation: block12 3.75s forwards;
}
.section-blocks.scrolled-to .block {
  animation: block13 4s forwards;
}

@keyframes block1 {
  from {
    margin: -50px 0 50px;
    opacity: 0;
  }
  to {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block2 {
  0%, 20% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block3 {
  0%, 33% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block4 {
  0%, 43% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block5 {
  0%, 50% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block6 {
  0%, 55% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block7 {
  0%, 60% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block8 {
  0%, 64% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block9 {
  0%, 67% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block10 {
  0%, 70% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block11 {
  0%, 72% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block12 {
  0%, 74% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}
@keyframes block13 {
  0%, 75% {
    margin: -50px 0 50px;
    opacity: 0;
  }
  100% {
    margin: 0;
    opacity: 1;
  }
}