/*
 * Custom ACF block styles for happynectar.
 *
 * Extracted from the legacy withministries2023 theme.css. Contains rules
 * for the 17 custom blocks (image-content-block, hero-video, team-grid, etc.).
 * Long-term plan: rebuild blocks as NectarBlocks-native and retire this file.
 */

.gallery_section.desktop {
  padding: 100px 0;
  display: flex;
  gap: 16px;
  flex-direction: column;
}

@media screen and (max-width: 767px) {
  .gallery_section.desktop {
    display: none;
  }
}

.gallery_section.desktop .row {
  display: flex;
  gap: 16px;
}

.gallery_section.desktop .image img {
  width: 100%;
  display: block;
}

.gallery_section.mobile {
  padding: 50px 0;
  display: flex;
  gap: 6px;
}

@media screen and (min-width: 768px) {
  .gallery_section.mobile {
    display: none;
  }
}

.gallery_section.mobile .column {
  flex: 1;
}

.gallery_section.mobile .image + .image {
  margin-top: 6px;
}

.gallery_section.mobile .image img {
  width: 100%;
  display: block;
}

.block-image-content-block {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
}

.block-image-content-block.image_right {
  flex-direction: row-reverse;
}

@media screen and (max-width: 767px) {
  .block-image-content-block {
    flex-direction: column;
  }
  .block-image-content-block.image_right {
    flex-direction: column;
  }
  .block-image-content-block.mobile_image_bottom {
    flex-direction: column-reverse;
  }
}

.block-image-content-block .image_wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.block-image-content-block .image_wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-image-content-block .image_wrapper .influencer_badge {
  position: absolute;
  bottom: 2vw;
  right: 9vw;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .block-image-content-block .image_wrapper .influencer_badge {
    bottom: 7vw;
    right: 10vw;
  }
}

.block-image-content-block .image_wrapper.image-crop {
  padding: 10vh 0;
  background: #ffffff;
}

.block-image-content-block .image_wrapper.image-crop.bg_offwhite {
  background: #FAF5F2;
}

.block-image-content-block .image_wrapper.image-crop.bg_orange {
  background: #FF9433;
}

.block-image-content-block .image_wrapper.image-crop .inner {
  width: 80%;
  margin-left: auto;
  max-width: 600px;
}

.block-image-content-block .image_wrapper.image-crop .inner img {
  border-radius: 20px;
  overflow: hidden;
  border: 0.75px solid #000000;
  box-shadow: -16px 16px 0 #FF9433;
}

.block-image-content-block .image_wrapper.image-crop.shadow_slate .inner img {
  box-shadow: -16px 16px 0 #232A3C;
}

@media screen and (max-width: 767px) {
  .block-image-content-block .image_wrapper.image-crop {
    padding: 10vh 0 5vh;
  }
  .block-image-content-block .image_wrapper.image-crop .inner {
    margin-left: 10%;
  }
  .block-image-content-block .image_wrapper.image-crop .inner img {
    box-shadow: -10px 10px 0 #FF9433;
  }
  .block-image-content-block .image_wrapper.image-crop.shadow_slate .inner img {
    box-shadow: -10px 10px 0 #232A3C;
  }
}

@media screen and (min-width: 768px) {
  .block-image-content-block.image_right .image_wrapper.image-crop .inner {
    margin-right: auto;
    margin-left: 20px;
  }
}

.block-image-content-block .feature_wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 2em;
  background: #ffffff;
}

@media screen and (min-width: 768px) {
  .block-image-content-block .feature_wrapper {
    aspect-ratio: 1;
  }
}

.block-image-content-block .feature_wrapper.bg_offwhite {
  background: #FAF5F2;
}

.block-image-content-block .feature_wrapper.bg_orange {
  background: #FF9433;
}

.block-image-content-block .feature_wrapper .together_feature {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: -3px 8px 16px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 80%;
}

.block-image-content-block .feature_wrapper .together_feature .image {
  border-radius: 20px;
  border: 0.75px solid #000000;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.block-image-content-block .feature_wrapper .together_feature .image img {
  display: block;
  width: 100%;
}

.block-image-content-block .feature_wrapper .together_feature .logo {
  background: #232A3C;
  padding: 4em 2em 2em;
  position: relative;
  margin-top: -2em;
}

.block-image-content-block .feature_wrapper .together_feature .logo img {
  display: block;
  width: 100%;
}

.block-image-content-block .content_square {
  flex: 1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-image-content-block .content_square.bg_offwhite {
  background: #FAF5F2;
}

.block-image-content-block .content_square.bg_orange {
  background: #FF9433;
  color: #ffffff;
}

.block-image-content-block .content_square.bg_orange h1, .block-image-content-block .content_square.bg_orange h2, .block-image-content-block .content_square.bg_orange h3, .block-image-content-block .content_square.bg_orange h4, .block-image-content-block .content_square.bg_orange h5, .block-image-content-block .content_square.bg_orange h6 {
  color: #ffffff;
}

.block-image-content-block .content_square.bg_orange .button {
  color: #ffffff;
}

.block-image-content-block .content_square.bg_orange .button.outline {
  border-color: #ffffff;
}

.block-image-content-block .content_square.bg_orange .button.outline:hover {
  background: #232A3C;
  border-color: #232A3C;
}

.block-image-content-block .content_square .content_inner {
  padding: 2em;
  max-width: 600px;
}

@media screen and (max-width: 767px) {
  .block-image-content-block .content_square .content_inner {
    padding: 2em 2em 7vh;
  }
}

.block-image-content-block .content_square h1 {
  margin-bottom: 0;
}

.block-image-content-block .content_square h1 + h2 {
  margin-top: 0.25em;
  font-weight: 300;
}

.block-image-content-block .content_square .podcast_icon {
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
  .block-image-content-block .content_square .podcast_icon {
    margin-bottom: 10px;
  }
  .block-image-content-block .content_square .podcast_icon svg {
    width: 24px;
    height: 40.25px;
  }
}

.block-image-content-block .content_square .body {
  margin: 30px 0 48px;
}

@media screen and (max-width: 767px) {
  .block-image-content-block .content_square .body {
    font-size: 14px;
  }
}

.block-image-content-block .content_square .button_row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.block-image-content-block .content_square .button_row.align-left {
  justify-content: flex-start;
}

.block-image-content-block .content_square .button_row.align-center {
  justify-content: center;
}

.block-image-content-block .content_square .button_row.align-right {
  justify-content: flex-end;
}

.block-responsive-image {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.block-responsive-image .image {
  overflow: hidden;
}

.block-responsive-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-container {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
  color: #ffffff;
}

.parallax-container .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  /* Increase the height to accommodate displacement */
  transform: translateY(-10%);
}

.parallax-container .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.parallax-container .content {
  position: relative;
  text-align: center;
  padding: 3em 0;
}

.block-spread-block {
  display: flex;
  min-height: calc(var(--vh) * 100);
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.block-spread-block.image_align_right {
  flex-direction: row-reverse;
}

@media screen and (max-width: 1023px) {
  .block-spread-block {
    display: block;
    height: auto;
    overflow: visible;
  }
}

.block-spread-block .left {
  width: 50%;
}

@media screen and (max-width: 1023px) {
  .block-spread-block .left {
    width: 100%;
  }
}

.block-spread-block .left .spread_image {
  width: 100%;
  height: 100%;
}

.block-spread-block .left .spread_image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-spread-block .left .spread_video {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.block-spread-block .right {
  width: 50%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 1023px) {
  .block-spread-block .right {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .block-spread-block .right {
    margin-top: -40px;
  }
  .block-spread-block .right .wp-block-button a {
    font-size: 3.5vw;
  }
  .block-spread-block .right.show_header {
    margin-top: 0px;
  }
}

.block-spread-block .right .spread_content {
  max-width: 40em;
  margin: 0 auto;
  padding: 50px;
  flex: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .block-spread-block .right .spread_content {
    padding: 20px;
    justify-content: flex-start;
  }
}

.block-spread-block .right .spread_content > *:first-child {
  margin-top: 0;
}

.block-spread-block .right .spread_content > *:last-child {
  margin-bottom: 0;
}

.block-spread-block .right #site-footer {
  border-top: none;
}

@media screen and (max-width: 389px) {
  .block-spread-block .credits {
    font-size: 3.4vw;
  }
}

.block-core-values {
  background: #232A3C;
  color: #ffffff;
  display: flex;
  padding: 166px 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}

@media screen and (max-width: 1023px) {
  .block-core-values {
    justify-content: center;
    padding: 60px 0;
  }
}

.block-core-values .bg_line {
  position: absolute;
  left: 40%;
  height: 100%;
  width: 0.75px;
  top: 0;
  background: #FF9433;
}

@media screen and (max-width: 1023px) {
  .block-core-values .bg_line {
    display: none;
  }
}

.block-core-values .left {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.block-core-values .left img {
  width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  max-height: 100vh;
}

@media screen and (max-width: 1023px) {
  .block-core-values .left {
    width: 80%;
    max-width: 600px;
  }
  .block-core-values .left img {
    border-radius: 20px;
  }
}

.block-core-values .right {
  width: 50%;
  padding: 0 2em;
  position: relative;
}

@media screen and (max-width: 1023px) {
  .block-core-values .right {
    width: 100%;
    margin-top: 2em;
  }
}

.block-core-values .right .inner {
  max-width: 29em;
  margin: 0 auto;
}

.block-core-values .right h2 {
  width: 65%;
  margin-left: auto;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 1em;
}

@media only screen and (min-width: 1024px) {
  .block-core-values .right h2 {
    font-size: calc(28px + 12 * (100vw - 1024px) / (1440 - 1024));
  }
}

@media only screen and (min-width: 1440px) {
  .block-core-values .right h2 {
    font-size: 40px;
  }
}

@media screen and (max-width: 1023px) {
  .block-core-values .right h2 {
    font-size: 32px;
  }
}

@media screen and (max-width: 767px) {
  .block-core-values .right h2 {
    font-size: 26apx;
  }
}

.block-core-values .right .value {
  display: flex;
  font-size: 20px;
  font-family: p22-mackinac-pro, serif;
  margin-bottom: 2.6em;
  justify-content: space-between;
}

@media only screen and (min-width: 1024px) {
  .block-core-values .right .value {
    font-size: calc(20px + 6 * (100vw - 1024px) / (1440 - 1024));
  }
}

@media only screen and (min-width: 1440px) {
  .block-core-values .right .value {
    font-size: 26px;
  }
}

@media screen and (max-width: 1023px) {
  .block-core-values .right .value {
    font-size: 24px;
  }
}

@media screen and (max-width: 767px) {
  .block-core-values .right .value {
    font-size: 18px;
  }
}

.block-core-values .right .value .icon {
  width: 25%;
}

.block-core-values .right .value .icon img {
  width: 100%;
}

.block-core-values .right .value .text {
  width: 65%;
}

.block-core-values .right .value .title {
  font-weight: bold;
}

.block-logo-section {
  padding-top: 15vh;
  position: relative;
  padding-bottom: 150vh;
}

.block-logo-section .logo {
  font-size: 10px;
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  left: 10em;
  gap: 3.5em;
  margin-top: 0;
}

.block-logo-section .logo .mark {
  opacity: 0;
}

.block-logo-section .logo .mark svg {
  width: 12.7em;
  height: 12.7em;
}

.block-logo-section .logo .word {
  opacity: 0;
  margin-top: -1.4em;
}

.block-logo-section .logo .word svg {
  width: 35.1em;
  height: 11.9em;
}

@media screen and (max-width: 1023px) {
  .block-logo-section .logo {
    font-size: 5px;
    left: 0;
    transform: translateX(0);
  }
}

@media screen and (max-width: 1023px) {
  .block-logo-section .inner {
    padding-left: 5em;
  }
}

.block-logo-section .pin-spacer {
  min-width: 100%;
}

.block-team-grid {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.block-team-grid .container {
  max-width: 1020px;
  margin: 0 auto;
}

.block-team-grid .inner {
  display: flex;
  flex-wrap: wrap;
}

.block-team-grid .team_member {
  padding: 15px;
  width: calc(100% / 3);
}

.block-team-grid .team_member .border {
  border-radius: 20px;
  overflow: hidden;
  border: 0.75px solid #000000;
  position: relative;
  height: 100%;
  transform: translate3d(0, 0, 0);
  display: flex;
  flex-direction: column;
}

.block-team-grid .team_member .image {
  width: 100%;
  height: 0px;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
}

.block-team-grid .team_member .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-team-grid .team_member .text {
  background: white;
  padding: 1em;
  text-align: center;
  flex: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.block-team-grid .team_member .text h3, .block-team-grid .team_member .text p {
  margin: 0;
  font-weight: normal;
}

@media screen and (max-width: 768px) {
  .block-team-grid .team_member {
    width: 50%;
    padding: 8px;
  }
  .block-team-grid .team_member h3 {
    font-size: 18px;
  }
  .block-team-grid .team_member p {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .block-team-grid .team_member {
    width: 100%;
    padding: 8px;
  }
  .block-team-grid .team_member .border {
    flex-direction: row;
  }
  .block-team-grid .team_member .border .image {
    width: 50%;
    padding-bottom: 50%;
  }
  .block-team-grid .team_member .border .text {
    width: 50%;
  }
}

.block-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 80px 0;
  background: #232A3C;
  color: #FAF5F2;
}

.block-section.theme_slate h1 {
  color: #ffffff;
}

.block-section.theme_white {
  background: #ffffff;
  color: #000000;
}

.block-section .container {
  max-width: 40em;
  margin: 0 auto;
}

.block-section.alignwide .container {
  max-width: 70em;
}

.block-section .gform_wrapper.gravity-theme .gfield_required {
  display: none;
}

#page-content > .container > *:last-child.block-section {
  margin-bottom: 0px;
}

.block-hero-video {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 56.25vw;
  height: 50vh;
  position: relative;
}

.block-hero-video .image {
  background: #232A3C;
  width: 100%;
  height: 100%;
  position: absolute;
}

.block-hero-video .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.block-hero-video .content {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 2em;
}

.block-hero-video .content h1 {
  color: #ffffff;
}

.block-hero-video .content .toggle_screen {
  cursor: pointer;
}

.block-hero-video .video {
  display: none;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
  align-items: center;
  justify-content: center;
  background: #232A3C;
}

.block-hero-video .video .video_wrapper {
  position: relative;
  height: auto;
  overflow: hidden;
  width: 100vh;
  max-width: 90vw;
  aspect-ratio: 1.7777777778;
}

.block-hero-video .video .video_wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  max-height: unset;
  max-width: unset;
}

.block-hero-video .video .close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.block-photo-quote {
  position: relative;
  background: #232A3C;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.block-photo-quote .image {
  height: 100%;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .block-photo-quote .image {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
  }
}

.block-photo-quote .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-photo-quote .card {
  padding: 112px 20px;
  width: 55%;
  margin-left: 35%;
}

@media screen and (max-width: 767px) {
  .block-photo-quote .card {
    width: 90%;
    margin-left: 5%;
    margin-top: -40px;
    padding-top: 0;
  }
}

.block-photo-quote .card .inner {
  border-radius: 20px;
  padding: 30px;
  background: #ffffff;
  box-shadow: -10px 10px 0 #FF9433;
  display: flex;
  justify-content: space-between;
  height: 100%;
  flex-direction: column;
  position: relative;
}

.block-photo-quote .card .inner .testimonial {
  flex: auto;
  font-size: 20px;
  font-weight: 300;
}

@media only screen and (min-width: 390px) {
  .block-photo-quote .card .inner .testimonial {
    font-size: calc(20px + 6 * (100vw - 390px) / (1280 - 390));
  }
}

@media only screen and (min-width: 1280px) {
  .block-photo-quote .card .inner .testimonial {
    font-size: 26px;
  }
}

.block-photo-quote .card .name {
  text-align: right;
  font-size: 20px;
  font-family: p22-mackinac-pro, serif;
  margin-top: 30px;
}

@media only screen and (min-width: 390px) {
  .block-photo-quote .card .name {
    font-size: calc(20px + 6 * (100vw - 390px) / (1280 - 390));
  }
}

@media only screen and (min-width: 1280px) {
  .block-photo-quote .card .name {
    font-size: 26px;
  }
}

.block-photo-quote .card .title {
  text-align: right;
}

.color_cards {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.color_cards .container {
  max-width: 1020px;
  display: flex;
  flex-wrap: wrap;
}

.color_cards .container .card {
  padding: 15px;
  width: calc(100% / 3);
}

@media screen and (max-width: 1023px) {
  .color_cards .container .card {
    width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .color_cards .container .card {
    width: 100%;
  }
}

.color_cards .container .card .inner {
  border-radius: 20px;
  padding: 30px;
  border: 0.75px solid #000000;
  background: #ffffff;
  box-shadow: -10px 10px 0 #FF9433;
  display: flex;
  justify-content: space-between;
  height: 100%;
  flex-direction: column;
  position: relative;
  top: 0px;
  left: 0px;
  -webkit-transition: all 100ms ease-in-out;
  -moz-transition: all 100ms ease-in-out;
  -ms-transition: all 100ms ease-in-out;
  -o-transition: all 100ms ease-in-out;
  transition: all 100ms ease-in-out;
}

.color_cards .container .card .inner .testimonial {
  flex: auto;
}

.color_cards .container .card:not(.no_back):hover .inner {
  box-shadow: 0 0 0 #FF9433;
}

.color_cards .container .card:nth-of-type(4n-3) .inner {
  box-shadow: -10px 10px 0 #B8D6A3;
}

.color_cards .container .card:nth-of-type(4n-3):not(.no_back):hover .inner {
  box-shadow: 0 0 0 #B8D6A3;
}

.color_cards .container .card:nth-of-type(4n-2) .inner {
  box-shadow: -10px 10px 0 #9696CF;
}

.color_cards .container .card:nth-of-type(4n-2):not(.no_back):hover .inner {
  box-shadow: 0 0 0 #9696CF;
}

.color_cards .container .card:nth-of-type(4n) .inner {
  box-shadow: -10px 10px 0 #FFB0C4;
}

.color_cards .container .card:nth-of-type(4n):not(.no_back):hover .inner {
  box-shadow: 0 0 0 #FFB0C4;
}

.color_cards .container .card .name {
  text-align: right;
  font-size: 20px;
  font-family: p22-mackinac-pro, serif;
  margin-top: 30px;
}

@media only screen and (min-width: 390px) {
  .color_cards .container .card .name {
    font-size: calc(20px + 6 * (100vw - 390px) / (1280 - 390));
  }
}

@media only screen and (min-width: 1280px) {
  .color_cards .container .card .name {
    font-size: 26px;
  }
}

.color_cards .container .card .title {
  text-align: right;
}

.color_cards .container .card:not(.no_back):hover .inner {
  top: 5px;
  left: -5px;
}

@media screen and (min-width: 768px) {
  .block-impact-cards.four_cards .container .card {
    width: 50%;
  }
  .block-impact-cards.four_cards .container {
    max-width: 40em;
    margin: 0 auto;
  }
}

.block-impact-cards .container .card.has_back .inner:hover {
  cursor: pointer;
}

.block-impact-cards .container .card .inner {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1em;
}

@media screen and (min-width: 768px) {
  .block-impact-cards .container .card .inner_front {
    aspect-ratio: 1;
  }
}

.block-impact-cards .container .card.has_image .inner {
  width: 100%;
  box-shadow: -10px 10px 0 #FF9433;
}

.block-impact-cards .container .card.has_image .inner_front {
  background-color: #FAF5F2;
}

.block-impact-cards .container .card.has_image .image_wrapper {
  width: 100%;
  height: 100%;
  padding-bottom: 1em;
}

.block-impact-cards .container .card.has_image .image_wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.block-impact-cards .container .card .number {
  font-size: 2.78em;
  font-weight: bold;
  text-align: center;
}

.block-impact-cards .container .card .label {
  text-align: center;
}

.block-impact-cards .container .card .text {
  text-align: center;
}

.block-impact-cards .container .card .text a {
  word-break: break-all;
}

.block-impact-cards .container .card .inner.inner_reverse {
  display: none;
  position: relative;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 40px;
  padding-top: 50px;
}

.block-impact-cards .container .card .inner.inner_reverse .close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.block-impact-cards .container .card.open .inner_reverse {
  display: flex;
}

.block-impact-cards .container .card.open .inner_front {
  display: none;
}

.block-impact-cards .readmore {
  margin-top: 0.25em;
  margin-bottom: 0;
  color: #FF9433;
  font-family: "DM Mono", monospace;
  font-size: 14px;
  text-align: center;
}

.block-icon-section {
  display: flex;
  gap: 1em;
  margin: 1em auto;
}

.block-icon-section .icon {
  flex: 1;
}

.block-icon-section .icon img {
  width: 100%;
  display: block;
}

.block-icon-section .text {
  flex: 7;
}

.block-icon-section .text > *:first-child {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .block-icon-section .text {
    flex: 5;
  }
}

.block-leader-tip {
  border-radius: 20px;
  padding: 20px;
  border: 0.75px solid #232A3C;
  background: #ffffff;
}

.block-leader-tip h4 {
  margin: 0;
  font-style: normal;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.block-leader-tip h4 span {
  height: 20px;
  width: 20px;
  display: block;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><g id="Group_6" data-name="Group 6" transform="translate(-3796 1218)"><g id="Ellipse_1" data-name="Ellipse 1" transform="translate(3796 -1218)" fill="none" stroke="%23ff9433" stroke-width="2"><circle cx="20" cy="20" r="20" stroke="none"/><circle cx="20" cy="20" r="19" fill="none"/></g><rect id="Rectangle_3" data-name="Rectangle 3" width="19" height="3" rx="1.5" transform="translate(3807 -1199)" fill="%23ff9433"/><rect id="Rectangle_4" data-name="Rectangle 4" width="19" height="3" rx="1.5" transform="translate(3818 -1207) rotate(90)" fill="%23ff9433"/></g></svg>');
  background-size: contain;
}

.block-leader-tip.active h4 span {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><g id="Group_5" data-name="Group 5" transform="translate(-3796 1218)"><g id="Ellipse_1" data-name="Ellipse 1" transform="translate(3796 -1218)" fill="none" stroke="%23ff9433" stroke-width="2"><circle cx="20" cy="20" r="20" stroke="none"/><circle cx="20" cy="20" r="19" fill="none"/></g><rect id="Rectangle_3" data-name="Rectangle 3" width="19" height="3" rx="1.5" transform="translate(3807 -1199)" fill="%23ff9433"/></g></svg>');
}

.block-leader-tip .content {
  display: none;
}

.block-leader-tip .content > *:last-child {
  margin-bottom: 0;
}

@media print {
  .block-leader-tip .content {
    display: block !important;
  }
}

#page-content.single_post_content .color_cards {
  width: 100%;
  margin-left: 0;
}

#page-content.single_post_content .color_cards .container {
  margin: 0;
  gap: 0;
  max-width: unset;
  width: 100%;
}

@media screen and (min-width: 768px) {
  #page-content.single_post_content .color_cards .container .card {
    width: 50%;
  }
}

.parallax-container .content > .wp-block-group {
  margin: 0 auto;
}
