/*
  Theme Name: Stupski
  Theme URI: https://www.4sitestudios.com
  Description: Stupski Theme based on Revolution
  Version: 1.0.5
  Author: fuelthemes
  Template: revolution
  Text Domain: revolution
    Domain Path: /inc/languages
    
    You will find the real stylesheet (where you should put your work)
    in assets/scss/style.scss.
*/

/* fixed menu – Tayo */
.intern-fixed-menu .wpb_column .btn {
  width: 100%;
  height: 58px;
  letter-spacing: 0.25px;
  font-family: "Circular Std";
  font-style: normal;
  font-weight: 600 !important;
  font-size: 18px !important;
  border-radius: 4px;
}

.intern-fixed-menu {
  position: fixed;
  bottom: 0;
  z-index: 1000;
  background-color: white;
  margin-bottom: 0 !important;
  gap: 2px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding-top: 8px !important;
}

.intern-fixed-menu>.wpb_column {
  flex: 1;
}


/* Temporary Theming by Mike W to be replaced by Fernando later */
#blue-line-wrapper,
#green-line-wrapper,
#orange-line-wrapper {
  height: auto;
  width: 50%;
  position: absolute;
  max-width: 800px;
}

@media only screen and (max-width: 890px) {

  #green-line-wrapper,
  #blue-line-wrapper,
  #orange-line-wrapper {
    display: none;
  }
}

@media only screen and (min-width: 889px) {
  #green-line-wrapper {
    height: auto;
    width: 75%;
    transform: translateX(-50%) translateY(60%) rotate(-30deg);
  }

  #blue-line-wrapper {
    width: 75%;
    transform: translateX(-40%) translateY(60%) rotate(-30deg);
  }

  #orange-line-wrapper {
    width: 75%;
    transform: translateX(0%) translateY(55%) rotate(-90deg);
  }
}

@media only screen and (min-width: 1001px) {
  #green-line-wrapper {
    transform: translateX(-50%) translateY(50%);
  }

  #blue-line-wrapper {
    transform: translateX(-30%) translateY(60%);
  }

  #orange-line-wrapper {
    transform: translateX(0%) translateY(45%) rotate(-120deg);
  }
}

@media only screen and (min-width: 1201px) {
  #green-line-wrapper {
    transform: translateX(-50%) translateY(20%);
  }

  #blue-line-wrapper {
    transform: translateX(-50%) translateY(60%);
  }

  #orange-line-wrapper {
    transform: translateX(0%) translateY(25%) rotate(-90deg);
  }
}

.latest-news-wrapper,
#resources {
  margin-bottom: 45px;
}


.st-hero-section {
  background-size: cover;
  background-repeat: no-repeat;
}

.st-image-header-centered {
  padding: 12vh 0 48vh 0 !important;
}

@media (max-width: 640px) {
  .st-hero-section {
    background-size: contain;
  }

  .st-image-header-centered {
    padding: 3vh 0 23vh 0 !important;
  }

  .st-image-header-centered h1 {
    padding: 12px 20px !important;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .st-hero-section {
    background-size: cover;
  }

  .st-image-header-centered {
    padding: 5vh 0 30vh 0 !important;
  }

  .st-image-header-centered h1 {
    padding: 2px 20px !important;
  }
}



.grants-list-pre-footer {
  background-image: url(/wp-content/themes/stupski/assets/images/stupski-bottom-graphic-variant.svg) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  min-height: 300px;
}

.grants-list-static-tag {
  font-size: 12px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.67;
  letter-spacing: 0.37px;
  text-align: left;
  padding: 0 4px;
  display: inline-block;
  margin: 10px 0;
}

.grants-list-pre-footer-tag {
  background-color: #3498d8;
  color: #ffffff;
}

.grants-list-post-header-tag {
  background-color: #f4d35e;
  color: #444444;
}

.grants-list-pre-footer.row.no-column-padding>div.columns {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 35px;
}

.grants-list-pre-footer.row.no-column-padding>div.columns>.vc_column-inner {
  padding: 96px 20px;
}



.grants-list-pre-footer-description {
  max-width: 800px;
  /*font-weight: 900;*/
  font-size: 44px;
  line-height: 1;
}

.grants-list-pre-footer-description a {
  color: #3498d8;
}

.grants-list-pre-footer-description a svg {
  height: 40px;
  width: auto;
  margin-bottom: -8px;
}


#grants-list-learn-more {
  margin-bottom: 30px;
}

#grants-list-learn-more svg {
  margin-right: 5px;
  display: block;
}

#grants-list-learn-more a {
  color: inherit !important;
  display: flex;
  align-items: center;
}

#debug {
  display: none;
}

.template-historical-grants {
  background-color: #f9f8f6;
  padding-top: 125px;
}

.sgi__historical_menu {
  background-color: #ffffff;
}

.sgi-historical-menu-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.sgi-historical-menu-wrapper .sgi__historical_menu {
  width: 350px;
}

@media (max-width: 1000px) {
  .sgi-historical-menu-wrapper .sgi__historical_menu {
    width: 1000%;
  }
}

/* Tayo additions to historical grants */
.template-historical-grants .description p {
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.2px;
}

.template-historical-grants h1.entry-title {
  line-height: 84px;
  letter-spacing: -2px;
}

.sgi-historical-menu-wrapper .sgi__historical_menu {
  width: 417px;
}

.sgi__historical_menu {
  padding: 50px 50px !important;
  border-radius: 6px;
}

.sgi__historical_menu ul li a {
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sgi__historical_menu ul li a:hover {
  opacity: 0.8;
  transform: translateX(10px);
}

.page-historical-grants a.sgi-view-more {
  background-color: #F9F8F6;
}

.page-historical-grants a.sgi-view-more {
  background-color: #F9F8F6;
  border: solid 2px !important;
  border-radius: 4px;
}

.sgi__section.issue-area-food-security .sgi-view-more:hover {
  background-color: #4fb96f;
  color: #fff !important;
  border: 2px solid #4fb96f !important;
}

.sgi__section.issue-area-special-initiative .sgi-view-more:hover {
  background-color: #f5d35f;
  color: #444 !important;
  border: 2px solid #f5d35f !important;
}

.sgi__section.issue-area-early-brain-development .sgi-view-more:hover {
  background-color: #ed476f;
  color: #fff !important;
  border: 2px solid #ed476f !important;
}

.sgi__section.issue-area-serious-illness-care .sgi-view-more:hover {
  background-color: #3497d8;
  color: #fff !important;
  border: 2px solid #3497d8 !important;
}

.sgi__section.issue-area-postsecondary-success .sgi-view-more:hover {
  background-color: #f08e24;
  color: #fff !important;
  border: 2px solid #f08e24 !important;
}

.sgi__section__content ul {
  margin-bottom: 12px !important;
}

.sgi__section {
  margin-bottom: 100px !important;
}

.post-content .sgi__section__content ul {
  padding-left: 0px;
}

.sgi__section__content ul li>div .sgi-first-line {
  padding-bottom: 4px;
}

.sgi__section__content ul li.sgi-subsection-top>div hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.grants-list-pre-footer-description {
  max-width: 740px;
  font-style: normal;
  font-size: 32px;
  line-height: 32px;
  letter-spacing: -0.88px;
}

.grants-list-pre-footer-description p,
.grants-list-pre-footer-description p a {
  font-style: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.grants-list-pre-footer-description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .grants-list-pre-footer-description {
    max-width: 100%;
    font-size: 22px;
    line-height: 22px;
  }

  .grants-list-pre-footer-description a svg {
    display: none;
  }
}

.thb-testimonials a .thb-testimonial:hover {
  text-decoration: underline;
}

.hover-only {
  display: none;
}

a:hover .hover-only {
  display: block;
}

.mt-10 {
  margin-top: 10px;
}

@media (max-width: 1000px) {
  .mobile-only {}

  .desktop-only {
    display: none;
  }
}

@media (min-width: 1001px) {
  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }
}


/* Stupski 4 Column Block */

.stupski-4-columns-block {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.stupski-4-columns-block .column {
  flex: 0 0 25%;
  height: 100%;
  background-repeat: no-repeat;
  border-radius: 12px;
  background-size: 400% auto;
  position: relative;
  display: block;
  /*height: 500px;*/
  height: calc(100vw / 1.95);
}

.stupski-4-columns-block .column:nth-child(1) {
  background-position: 0% 50%;
}

.stupski-4-columns-block .column:nth-child(2) {
  background-position: 33.3% 50%;
}

.stupski-4-columns-block .column:nth-child(3) {
  background-position: 66.6% 50%;
}

.stupski-4-columns-block .column:nth-child(4) {
  background-position: 100% 50%;
}

.stupski-4-columns-block .column .button-container {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: bottom 0.5s;
}

.stupski-4-columns-block .column:hover .button-container {
  bottom: 38px;
}

.stupski-4-columns-block .column .button-container svg {
  opacity: 0;
}

.stupski-4-columns-block .column:hover .button-container svg {
  opacity: 1;
}

.stupski-4-columns-block .column .scb-button {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stupski-4-columns-block .column .scb-button span {
  border-radius: 12px;
  color: #ffffff;
  padding: 12px;
  font-family: 'Poppins';
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  width: fit-content;
}

.stupski-4-columns-block .column:nth-child(1) .scb-button span {
  background-color: #4EB96F;
  border-color: #4EB96F;
}

.stupski-4-columns-block .column:nth-child(2) .scb-button span {
  background-color: #F08E24;
  border-color: #F08E24;
}

.stupski-4-columns-block .column:nth-child(3) .scb-button span {
  background-color: #E54873;
  border-color: #E54873;
}

.stupski-4-columns-block .column:nth-child(4) .scb-button span {
  background-color: #3C97D2;
  border-color: #3C97D2;
}

@media (max-width: 1023px) {
  .stupski-4-columns-block {
    flex-wrap: wrap;
  }

  .stupski-4-columns-block .column {
    flex: 0 0 calc(50% - 2px);
    background-size: 200% 200%;
    height: 350px;
  }

  .stupski-4-columns-block .column:nth-child(1) {
    background-position: 0% 0%;
  }

  .stupski-4-columns-block .column:nth-child(2) {
    background-position: 100% 0%;
  }

  .stupski-4-columns-block .column:nth-child(3) {
    background-position: 0% 100%;
  }

  .stupski-4-columns-block .column:nth-child(4) {
    background-position: 100% 100%;
  }

  .stupski-4-columns-block .column .scb-button span {
    padding: 6px;
    font-size: 24px;
    line-height: 20px;
  }

}

@media (max-width: 700px) {
  .stupski-4-columns-block .column {
    flex: 0 0 100%;
    background-size: cover;
  }
}

@media (min-width: 701px) and (max-width: 1023px) {
  .stupski-4-columns-block .column {
    height: 250px;
  }
}


/* Stupski Recent Posts Block */
.stupski-recent-posts-block .posts-list {
  display: flex;
  justify-content: space-between;
  /*max-width: 1330px;*/
  margin: 0 auto;
  flex-wrap: wrap;
}

@media (max-width: 1400px) {
  .stupski-recent-posts-block .posts-list {
    /*max-width: calc(100% - 70px);*/
  }
}

.stupski-recent-posts-block .posts-list .post {
  flex: 0 0 32%;
  display: flex;
  gap: 27px;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1034px) {
  .stupski-recent-posts-block .posts-list {
    max-width: calc(100% - 50px);
  }
}

@media (max-width: 800px) {
  .stupski-recent-posts-block .posts-list {
    flex-wrap: wrap;
    gap: 30px;
  }

  .stupski-recent-posts-block .posts-list .post {
    flex: 0 0 100%;
  }
}

.stupski-recent-posts-block .post .post-image-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
}

.stupski-recent-posts-block .post .post-image {
  width: 100%;
  padding-bottom: 70%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: all 0.7s;
  transform: scale(1.0);
  position: relative;
}

.stupski-recent-posts-block .post:hover .post-image {
  transform: scale(1.2);
}

.stupski-recent-posts-block .post svg {
  position: absolute;
  bottom: 8px;
  right: 8px;
  opacity: 0;
}

.stupski-recent-posts-block .post:hover svg {
  opacity: 1;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  top: 0;
  left: 0;
  gap: 2px;
}

.tags-list .tag {
  font-family: 'Poppins';
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 8px;
  margin: 2.5px 0;
}

.stupski-recent-posts-block .post .title {
  color: #090909;
  font-family: 'Poppins';
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: -0.1px;
  transition: transform 0.7s;
  transform: translateY(0px);
}

.stupski-recent-posts-block .post:hover .title {
  transform: translateY(-10px);
}

.stupski-recent-posts-block .divider {
  display: flex;
  justify-content: flex-end;
}

.stupski-recent-posts-block .divider img {
  width: calc(100% - 75px);
  transform: translateY(calc(100vw * -0.013));
}

@media (max-width: 600px) {
  .stupski-recent-posts-block .divider img {
    transform: translateY(calc(100vw * -0.01));
    width: 90%;
  }
}

.templated-content-container .post-content .wpb_text_column p a {
  color: inherit !important;
  font-weight: 900;
  text-decoration: underline;
}

.templated-content-container .post-content .wpb_text_column a:not(.btn):not(.button):hover:after {
  display: none;
}

.templated-content-container .post-content .stupski-recent-posts-block a.view-more,
.stupski-recent-posts-block .view-more {
  display: flex;
  padding: 20px 32px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  background: var(--navy-blue, #2D3E50);
  color: var(--white, #FFF) !important;
  text-align: center;
  font-family: 'Poppins';
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: 1.575px;
  text-transform: uppercase;
  width: fit-content;
  margin: 0 auto;
  border: 1px solid #2D3E50;
  transform: translateY(0);
  transition: all 0.5s;
  text-decoration: none !important;
}

.templated-content-container .post-content .stupski-recent-posts-block a.view-more:hover,
.stupski-recent-posts-block .view-more:hover {
  transform: translateY(-5px);
  color: var(--white, #FFF) !important;
}

.stupski-recent-posts-block .view-more.disabled {
  opacity: 0.2;
}

.stupski-recent-posts-block .view-more.disabled:hover {
  background: var(--navy-blue, #2D3E50);
  color: var(--white, #FFF) !important;
}

/* Stupski Homepage Tweaks */
.color-aqua {
  color: #74C6D1 !important;
}

.color-green {
  color: #B6E97F !important;
}

.color-dark-pink {
  color: #E54873 !important;
}

.color-sunflower {
  color: #F4D35E !important;
}

.color-celestial-blue {
  color: #3C97D2 !important;
}

.color-emerald {
  color: #4EB96F !important;
}

.color-saffron {
  color: #F08E24 !important;
}

section#prefooter:after {
  content: ' ';
  background-image: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  position: absolute;
  left: 0;
  top: 0;
  height: 60vh;
  width: 100%;
}

#our-programs .wpb_content_element {
  margin-bottom: 16px;
}

a.link-variant-1 {
  padding-bottom: 2px;
  border-bottom: 1px solid;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
}

a.link-variant-1:hover {
  padding-bottom: 4px;
  padding-top: 3px;
  color: #2D3E50;
}

.wpb_text_column a:not(.btn):not(.button).rounded-button-inverse,
a.rounded-button-inverse {
  display: flex;
  width: fit-content;
  text-align: center;
  padding: 20px 32px;
  justify-content: center;
  align-items: center;
  border-radius: 35px;
  border: 1px solid;
  background-color: #2D3E50;
  color: #ffffff;
  transition: background-color 0.7s, color 0.7s;
  margin: 0 auto;
  font-family: 'Poppins';
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.575px;
}

.wpb_text_column a:not(.btn):not(.button).rounded-button-inverse:hover,
a.rounded-button-inverse:hover {
  text-decoration: none;
  transform: unset;
  background-color: #ffffff;
  color: #2D3E50;
}

.wpb_text_column a:not(.btn):not(.button).rounded-button,
a.rounded-button {
  display: flex;
  padding: 12px 18px;
  text-align: center;
  justify-content: center;
  align-items: center;
  border-radius: 35px;
  border: 1px solid;
  color: #2D3E50;
  transition: background-color 0.7s, color 0.7s;
  font-family: 'Poppins';
}

.wpb_text_column a:not(.btn):not(.button).rounded-button:hover,
a.rounded-button:hover {
  text-decoration: none;
  transform: unset;
  background-color: #2D3E50;
  color: #ffffff;
}

.rounded-button:after,
.rounded-button-inverse:after {
  display: none !important;
}

.horizontal-buttons-container {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 639px) {
  .horizontal-buttons-container {
    justify-content: flex-start;
  }
}


/* Stupski Custom Hero Block */
.stupski-hero-block {
  background-color: #ffffff;
}

.stupski-hero-block .inner-container {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

@media (max-width: 600px) {
  .stupski-hero-block .inner-container {
    height: 50vh;
  }
}

.stupski-hero-block .overlay {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.stupski-hero-block .overlay.desktop .overlay-description {
  color: #fff;
  margin: 8px;
  line-height: 1.4;
}

.stupski-hero-block .overlay.desktop {
  color: #fff;
  position: absolute;
  left: 60px;
  bottom: 60px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  width: 380px;
}

.stupski-hero-block .overlay.mobile {
  position: static;
  width: 100%;
  padding: 32px 25px;
}

body.home .stupski-hero-block h1.overlay-title {
  font-size: 64px;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  color: inherit;
  letter-spacing: unset;
  text-align: left;
}

.stupski-hero-block .overlay.mobile h1.overlay-title {
  text-align: left !important;
}

.stupski-hero-block .overlay.mobile .overlay-description {
  color: inherit;
  font-family: 'Poppins';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 139%;
}

.stupski-hero-block .divider {
  margin-top: calc(100vw * -.022);
  z-index: 2;
  position: relative;
}

.stupski-hero-block ul.overlay-menu {
  position: absolute;
  right: 60px;
  bottom: 60px;
  list-style-type: none;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 0;
}

.stupski-hero-block ul.overlay-menu li {
  border-top: 1px solid rgba(255, 255, 255, 0.75);
}

.stupski-hero-block ul.overlay-menu li:has(a:hover) {
  border-color: rgba(116, 198, 209, 0.75);
}

.stupski-hero-block ul.overlay-menu li a {
  color: #ffffff;
  font-family: 'Averta-Regular';
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
  transform: translateY(10px);
  display: block;
  transition: transform 0.7s;
}

.stupski-hero-block ul.overlay-menu li a:hover {
  transform: translateY(5px);
}

.stupski-hero-block img {
  width: 100%;
  max-height: 100vh;
}

.stupski-hero-block .caption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  height: 28px;
  width: 28px;
  z-index: 40;
}

.stupski-hero-block .caption:hover {
  cursor: pointer;
}

.stupski-hero-block .tinted-cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.00) 31.73%), rgba(0, 0, 0, 0.10);
  position: absolute;
  left: 0;
  top: 0;
}

.stupski-hero-block .desktop {
  display: block;
}

.stupski-hero-block .flex-desktop {
  display: flex;
}

.stupski-hero-block .mobile {
  display: none;
}

@media (max-width: 600px) {

  .stupski-hero-block .desktop,
  .stupski-hero-block .flex-desktop {
    display: none;
  }

  .stupski-hero-block .mobile {
    display: block;
  }
}

@media (min-width: 601px) and (max-width: 800px) {
  .stupski-hero-block ul.overlay-menu {
    bottom: 10vh;
    right: 27%;
  }

  .stupski-hero-block .overlay.desktop {
    width: calc(100% - 120px);
    bottom: 15vh;
  }
}

/* Footer Update */
#footer {
  position: relative;
  color: white;
  padding-bottom: 0px !important;
}

#footer * {
  color: inherit;
}

#footer .footer-slogan {
  font-size: calc(100vw / 13.25);
  width: 100%;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -4px;
  background-color: #413570;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  line-height: 1;
  height: calc(1em + 5px);
}

@media (max-width: 600px) {
  #footer .footer-slogan {
    font-size: calc(100vw / 12.5);
  }
}

#footer .footer-slogan span {
  margin-bottom: unset !important;
}



.blog-facets-container {
  background-color: rgba(244, 211, 94, 0.16);
  padding: 36px 20px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.blog-facets-container .facet-wrap .facet-label {
  color: #090909;
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'clig' off, 'liga' off;
  font-family: 'Averta-Regular';
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  padding: 10px 0;
}

.blog-facets-container .facet-wrap:first-child .facet-label {
  color: #2D3E50;
  font-family: 'Poppins';
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  line-height: 28px;
  letter-spacing: -0.1px;
}

.blog-facets-container .facetwp-dropdown {
  color: rgba(9, 9, 9, 0.4);
  font-feature-settings: 'clig' off, 'liga' off;
  font-family: 'Averta-Regular';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.118px;
  cursor: pointer;
  border-radius: 8px;
  background: #ffffff url(assets/images/dropdown-arrow-icon.svg) calc(100% - 22px) 22px no-repeat;
  border: 1px solid rgba(9, 9, 9, 0.10);
}

.blog-facets-container .facetwp-facet.facetwp-type-search input {
  background-color: #ffffff;
  border-radius: 80px;
  min-width: unset;
  width: 100%;
  padding-right: 50px;
}

.blog-facets-container .facetwp-facet.facetwp-type-search .facetwp-input-wrap {
  display: block;
}

.blog-facets-container .facetwp-facet.facetwp-type-search .facetwp-icon {
  right: 20px;
}

.blog-facets-container .facetwp-facet.facetwp-type-search .facetwp-icon:before {
  background-image: url(/wp-content/themes/stupski/assets/images/search-icon.svg);
  background-repeat: no-repeat;
}

.blog-facets-container .facetwp-facet.facetwp-type-search input {
  color: #444;
  font-feature-settings: 'clig' off, 'liga' off;
  font-family: 'Averta-Regular';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.118px;
}

.blog-facets-container .facet-wrap .facetwp-checkbox {
  background-color: white;
  color: #2D3E50;
  font-feature-settings: 'clig' off, 'liga' off;
  font-family: 'Averta-Regular';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.118px;
  padding: 10px 32px 10px 18px;
  border-radius: 8px;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  align-items: center;
  background-image: unset;
}

.blog-facets-container .facet-wrap .facetwp-checkbox.checked {
  background-image: unset;
}

.blog-facets-container .facet-wrap .facetwp-checkbox:before {
  content: ' ';
  display: block;
  background-image: url(assets/images/checkbox.svg);
  background-size: contain;
  height: 21px;
  width: 21px;
  min-width: 21px;
  background-repeat: no-repeat;
}

.blog-facets-container .facet-wrap .facetwp-checkbox.checked:before {
  background-image: url(assets/images/checked-checkbox.svg);
}

.blog-facets-container .facetwp-counter {
  display: none;
}

.blog-facets-container .clear-filters {
  color: #2D3E50;
  border: 1px solid #2D3E50;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  padding: 20px 0;
  transition: all 0.7s;
  border-radius: 35px;
}

.blog-facets-container .clear-filters:hover {
  background-color: #2D3E50;
  color: #ffffff;
  border-color: #2D3E50;
}



.divider.full-width img {
  width: 100%;
}

.divider.prefooter img {
  margin-bottom: calc(100vw * -0.008);
  z-index: 2;
  position: relative;
}



.facetwp-template[data-name="blog_posts"] {
  display: none;
  flex-direction: column;
  gap: 16px;
}



.post-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 32px;
  align-items: center;
}

.post-container .title {
  color: #090909;
  font-family: 'Poppins';
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.1px;
}

.post-container .tag {
  padding: 4px 8px;
  border-radius: 4px;
  font-family: 'Poppins';
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.post-container .image-container {
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 6px;
}

.post-container .text-container {
  width: calc(100% - 246px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
}

.post-container .image-container .image {
  background-repeat: no-repeat;
  background-size: cover;
  height: 150px;
  width: 150px;
  transform: scale(1.0);
  transition: all 0.7s;
}

.post-container.featured-post {
  display: none;
  background-color: rgba(244, 211, 94, 0.16);
  position: relative;
}

.post-container.featured-post .arrow-container {
  position: absolute;
  bottom: 33px;
  right: 33px;
}

.post-container.featured-post .image-container {
  width: 284px;
  height: 284px;
  border-radius: 6px 0 0 6px;
}

.post-container.featured-post .image-container .image {
  width: 284px;
  height: 284px;
}

.post-container.featured-post .text-container {
  width: calc(80% - 284px);
}

.arrow-container {
  width: 33px;
  height: 18px;
  position: relative;
  transition: transform 0.5s;
}

.arrow-container .partial-arrow {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(/wp-content/themes/stupski/assets/images/partial-arrow.svg);
  background-repeat: no-repeat;
}

.arrow-container .full-arrow {
  height: 100%;
  width: 0%;
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(/wp-content/themes/stupski/assets/images/full-arrow.svg);
  transition: width 0.25s ease-in;
  background-repeat: no-repeat;
}

.post-container:hover .image-container .image {
  transform: scale(1.2);
}

.post-container:hover .title {
  text-decoration: underline;
}

.post-container:hover .arrow-container .full-arrow {
  width: 100%;
}

.post-container:hover .arrow-container {
  transform: translateX(10px);
}

@media (max-width: 600px) {
  .post-container {
    flex-wrap: wrap;
    padding: 20px;
  }

  .post-container .image-container,
  .post-container .image-container .image,
  .post-container .text-container {
    width: 100% !important;
    height: unset !important;
  }

  .post-container .image-container .image {
    padding-bottom: 40%;
    border-radius: 16px;
  }

  .post-container .arrow-container {
    display: none;
  }
}



.facetwp-facet-load_more button {
  margin-top: 32px;
  border-radius: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2D3E50;
  border: 1px solid #2D3E50;
  background-color: #ffffff;
  padding: 20px 0;
  cursor: pointer;
  transition: all 0.7s;
  width: 100%;
  font-family: 'Poppins';
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.575px;
  text-transform: uppercase;
}

.facetwp-facet-load_more:hover button {
  background-color: #2D3E50;
  color: #ffffff;
  border-color: #ffffff;
}





.signup-form-container {
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  margin: 32px 0;
}

.signup-form-container .image-container {
  position: relative;
}

.signup-form-container .image {
  background-size: cover;
  border-radius: 16px 0 0 16px;
}

.signup-form-container .image-container .bottom-cover {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-radius: 0 0 0 16px;
}

.signup-form-container .text-container {
  background-color: rgba(244, 211, 94, 0.16);
  flex: auto;
  padding: 37px 46px;
  border-radius: 0 16px 16px 0;
}

.signup-form-container .title {
  color: #090909;
  font-family: 'Poppins';
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.1px;
  margin-bottom: 11px;
}

.signup-form-container .subtitle {
  color: #2D3E50;
  font-family: 'Poppins';
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 139%;
  margin-bottom: 21px;
}

.signup-form-container .gform_wrapper {
  margin: 0;
}

.signup-form-container .gform_wrapper .top_label .gfield_label {
  display: none;
}

.signup-form-container .gform_wrapper .ginput_container_email input {
  max-width: 324px;
  border-radius: 6px;
  border: 1px solid #2D3E50;
  color: #2D3E50;
  font-family: 'Poppins' !important;
  font-size: 21px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.1px !important;
  padding: 9px 15px !important;
  background-color: transparent;
  margin: 0;
}

.signup-form-container .gform_wrapper input[type="submit"] {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 35px;
  border: 1px solid #2D3E50;
  font-family: 'Poppins';
  font-size: 14px !important;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: 1.575px;
  text-transform: uppercase;
  color: #ffffff;
  background: #2D3E50;
  transition: all 0.5s;
  padding: 20px 32px;
  height: unset;
  width: auto !important;
}

.signup-form-container .gform_wrapper input[type="submit"]:hover {
  color: #2D3E50;
  background: #ffffff;
  border-color: #2D3E50;
}

.signup-form-container .gform_wrapper .gform_footer {
  margin: 0;
}

.signup-form-container .gform_confirmation_message {
  font-family: 'Poppins';
  font-size: 18px;
}

@media (max-width: 1300px) {
  .signup-form-container .text-container {
    padding: 16px 20px;
  }
}

@media (max-width: 600px) {
  .signup-form-container {
    flex-wrap: wrap;
  }

  .signup-form-container .image-container {
    width: 100%;
  }

  .signup-form-container .image-container .image {
    border-radius: 16px 16px 0 0;
    width: 100% !important;
  }

  .signup-form-container .image-container .bottom-cover {
    border-radius: 0;
    width: 100% !important;
  }

  .signup-form-container .text-container {
    border-radius: 0 0 16px 16px;
    height: unset !important;
    text-align: center;
  }

  .signup-form-container .gform_wrapper .ginput_container {
    display: flex;
    justify-content: center;
  }

  .signup-form-container .gform_wrapper .gform_footer {
    display: flex;
    justify-content: center;
  }
}


.default-posts-listing {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.facetwp-hidden {
  display: none !important;
}

.templated-post.head {
  text-align: center;
}

.templated-post.head .post-meta {
  color: #000;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: 'Averta-Regular';
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.56px;
  text-transform: uppercase;
}

.templated-post.head .entry-title {
  color: var(--navy-blue, #2D3E50);
  text-align: center;
  leading-trim: both;
  text-edge: cap !important;
  font-family: Georgia !important;
  font-size: 38px;
  font-style: normal;
  font-weight: 400;
  line-height: 44px;
  margin-top: 10vh;
}

.single-post .templated-post.head h1.entry-title {
  font-size: 32px;
}

.blog-left-intersections img,
.blog-left-birds img,
.blog-right-peace-symbol img,
.blog-right-bicycles img,
.blog-image-top-left img,
.blog-image-top-right img,
.blog-image-bottom-left img,
.blog-image-bottom-right img {
  width: 100%;
}

.size-291-square {
  width: 291px;
  height: 291px;
}

.blog-puzzle-pieces-left {
  transform: translate(-38%, 18%);
}

.blog-leaves-right {
  transform: translate(28%, -20%);
}

.blog-puzzle-pieces-left-v2 {
  transform: translate(-22%, -46%);
}

.blog-gears-right {
  transform: translate(36%, 23%);
}

.blog-conversations-left {
  transform: translate(-8%, 47%) scaleX(-1);
}

.blog-race-flags-right {
  transform: translate(37%, 0%);
}

.blog-lightbulb-left {
  transform: translate(-21%, -29%);
}

.blog-lightbulb-right {
  transform: translate(40%, 31%);
}

.blog-image-top-left {
  position: absolute;
  top: 0;
  left: 0;
}

.blog-image-top-right {
  position: absolute;
  top: 0;
  right: 0;
}

.blog-image-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
}

.blog-image-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
}




.blog-building-left {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-22%, -28%);
}

.blog-building-right {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(39%, 47%);
}

.blog-left-intersections {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translate(-26%, 30%);
}

.blog-right-bicycles {
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(35%, -24%);
}

.blog-left-birds {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-23%, -41%);
}

.blog-right-peace-symbol {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(39%, 22%);
}

.blog-landscape-left {
  transform: translate(-38%, 37%);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
}

.blog-bridges-right {
  transform: translate(22%, -11%);
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
}

.blog-tree-left {
  transform: translate(-50%, 45%) rotate(30deg);
}

.blog-tree-right {
  transform: translate(50%, -23%) rotate(-30deg);
}

.blog-leaf-left {
  width: 291px;
  height: 291px;
  transform: translate(-50%, -70%) rotate(9deg);
}

.blog-leaf-right {
  width: 291px;
  height: 291px;
  transform: translate(16%, 90%) rotate(-21deg);
}

.blog-left-sun {
  position: absolute;
  left: -60px;
  top: -110px;
}

.blog-right-sun {
  position: absolute;
  right: -60px;
  bottom: -110px;
}

.blog-left-circle {
  position: absolute;
  left: -136px;
  bottom: -70px;
}

.blog-right-circle {
  position: absolute;
  right: -163px;
  top: -47px;
}



article.templated .post-content {
  position: relative;
  margin-bottom: unset !important;
}

article.templated.template-bay-area .post-content:after {
  background-image: url(/wp-content/themes/stupski/assets/images/stupski-side-background-bay-area.png);
  background-repeat: repeat;
  background-size: 100%;
  content: ' ';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30%;
  opacity: 0.04;
  z-index: -1;
}

article.templated.template-hawaii .post-content:after {
  background-image: url(/wp-content/themes/stupski/assets/images/stupski-side-background-hawaii.png);
  background-repeat: repeat;
  background-size: 100%;
  content: ' ';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30%;
  opacity: 0.04;
  z-index: -1;
}

article.templated .post-content .post-date {
  color: var(--black, #090909);
  leading-trim: both;
  text-edge: cap;
  font-family: 'Averta-Regular';
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  margin: 0 0 42px 0;
}

article.templated .post-content .post-excerpt * {
  color: var(--black, #090909);
  leading-trim: both;
  text-edge: cap;
  font-family: Georgia !important;
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
  line-height: 38px;
}

article.templated .post-content .row:not(.full-width-row) {
  max-width: 80%;
  margin: 0 auto;
}

.layer-above {
  position: relative;
  z-index: 11;
}

.big-first-letter::first-letter {
  color: #000;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  initial-letter: 4;
  padding-right: 10px;
}

article.templated .post-content .section-title * {
  color: #000;
  leading-trim: both;
  text-edge: cap;
  font-family: 'Poppins' !important;
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
}

article.templated .post-content p {
  color: var(--black, #090909);
  leading-trim: both;
  text-edge: cap;
  font-family: 'Averta-Regular';
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 28px;
}

article.templated.template-bay-area .post-content .section-title:before {
  content: ' ';
  background-image: url(/wp-content/themes/stupski/assets/images/content-divider.svg);
  background-repeat: no-repeat;
  height: 10px;
  width: 162px;
  max-width: 100%;
  display: block;
  margin-bottom: 14px;
}

article.templated.template-perspectives .post-content .section-title:before {
  content: ' ';
  background-image: url(/wp-content/themes/stupski/assets/images/green-content-divider.svg);
  background-repeat: no-repeat;
  height: 10px;
  width: 162px;
  max-width: 100%;
  display: block;
  margin-bottom: 14px;
}

article.templated .post-content .recent-posts-section-title p {
  color: var(--navy-blue, #2D3E50);
  text-align: center;
  font-family: 'Poppins';
  font-size: 44px;
  font-style: normal;
  font-weight: 600;
  line-height: 44px;
  /* 100% */
  letter-spacing: -0.88px;
}

article.templated .post-content .recent-posts-section-content p {
  color: var(--black, #090909);
  text-align: center;
  font-family: 'Averta-Regular';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.118px;
}

article.templated figcaption {
  leading-trim: both;
  text-edge: cap;
  font-family: 'Averta-Regular';
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
}

article.templated .wpb_single_image .vc_figure-caption {
  padding-top: 20px;
  border-top: 3px solid black;
  margin-top: 20px;
}

article.templated.template-bay-area .wpb_single_image .vc_figure-caption,
article.templated.template-perspectives .wpb_single_image .vc_figure-caption {
  border-top: unset;
  margin-top: unset;
}

article.templated.template-bay-area .wpb_single_image .vc_figure-caption:before {
  border-top: unset;
  background-image: url(/wp-content/themes/stupski/assets/images/sidebar-divider.svg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 10px;
  width: 100%;
  content: ' ';
  display: block;
  margin-bottom: 16px;
}

article.templated.template-perspectives .wpb_single_image .vc_figure-caption:before {
  border-top: unset;
  background-image: url(/wp-content/themes/stupski/assets/images/green-sidebar-divider.svg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 10px;
  width: 100%;
  content: ' ';
  display: block;
  margin-bottom: 16px;
}

article.templated.template-bay-area .wpb_single_image img,
article.templated.template-perspectives .wpb_single_image img {
  border-radius: 12px;
}

article.templated .wpb_single_image .vc_single_image-wrapper,
article.templated .wpb_single_image img {
  width: 100%;
}

.image-flare,
.image-flare img {
  width: 291px;
  height: auto;
}

.quote-row {
  position: relative;
}

.quote-flare {
  width: 291px;
  height: 291px;
}

.quote-icon {
  width: 68px;
  margin: 0 auto;
}

article.templated .post-content .quoted-text * {
  color: #000;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: Georgia;
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
  line-height: 38px;
}

article.templated .post-content .quoted-person p {
  color: #000;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: Georgia;
  font-size: 24px;
  font-weight: 600;
}




article.templated .post-content .sidebar-text {
  padding-top: 16px;
  border-top: 3px solid black;
}

article.templated.template-bay-area .post-content .sidebar-text,
article.templated.template-perspectives .post-content .sidebar-text {
  border-top: unset;
}

article.templated.template-bay-area .post-content .sidebar-text:before {
  background-image: url(/wp-content/themes/stupski/assets/images/sidebar-divider.svg);
  background-repeat: no-repeat;
  height: 10px;
  width: 100%;
  content: ' ';
  display: block;
  margin-bottom: 16px;
}

article.templated.template-perspectives .post-content .sidebar-text:before {
  background-image: url(/wp-content/themes/stupski/assets/images/green-sidebar-divider.svg);
  background-repeat: no-repeat;
  height: 10px;
  width: 100%;
  content: ' ';
  display: block;
  margin-bottom: 16px;
}

article.templated .post-content .sidebar-text p,
article.templated .post-content .sidebar-text li {
  color: var(--black, #090909);
  leading-trim: both;
  text-edge: cap;
  font-family: 'Averta-Regular';
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
}

article.templated .post-content .sidebar-text ul,
article.templated .post-content .sidebar-text ol {
  margin-left: 0;
}




.thb-divider-container.curve_bay_area {
  height: 20px !important;
}

article.templated .post-content .row .thb-divider-container {
  width: 101%;
}

.divider img {
  width: 100%;
}

.divider.mw-97 {
  max-width: 97%;
}

.divider.adust-upwards-and-rotate-002-25 img {
  transform: translateY(calc(100vw * -0.02)) rotate(-2.5deg);
}

.divider.adjust-upwards-013 img {
  transform: translateY(calc(100vw * -0.013));
}

.divider.adjust-upwards-01 img {
  transform: translateY(calc(100vw * -0.01));
}

.divider.adjust-upwards-006 img {
  transform: translateY(calc(100vw * -0.006));
}

@media (max-width: 710px) {
  .divider.adjust-upwards-006 img {
    transform: translateY(-10px);
  }
}

.curve_bay_area svg,
.curve_perspectives svg {
  width: 100%;
  height: 100%;
}

.row .thb-divider-container.curve_perspectives,
.row .thb-divider-container.curve_bay_area {
  bottom: -1px;
}

article.templated.template-hawaii ul {
  list-style-type: none;
  list-style-image: url(/wp-content/themes/stupski/assets/images/hawaii-green-bullet.svg);
}

article.templated.template-hawaii .sidebar-text ul {
  list-style-type: none;
  list-style-image: url(/wp-content/themes/stupski/assets/images/hawaii-green-small-bullet.svg);
}

article.templated.template-perspectives ul {
  list-style-type: none;
  list-style-image: url(/wp-content/themes/stupski/assets/images/green-bullet.svg);
}

article.templated.template-bay-area ul {
  list-style-type: none;
  list-style-image: url(/wp-content/themes/stupski/assets/images/yellow-bullet.svg);
}

article.templated.template-bay-area .sidebar-text ul {
  list-style-type: none;
  list-style-image: url(/wp-content/themes/stupski/assets/images/yellow-small-bullet.svg);
}


.post-content .wpb_text_column a:not(.btn):not(.button).rounded-button-inverse,
.post-content a.rounded-button-inverse {
  color: white !important;
}

.post-content .wpb_text_column a:not(.btn):not(.button).rounded-button-inverse:hover,
.post-content a.rounded-button-inverse:hover {
  color: #2D3E50 !important;
}

.row.max_width.images-row {
  padding: 0;
}

.row.images-row .wpb_wrapper {
  display: flex;
  gap: 20px;
}



.templated.template-perspectives ol {
  list-style: none;
  counter-reset: item;
}

.templated.template-perspectives ol li {
  counter-increment: item;
  position: relative;
}

.templated.template-perspectives ol li:before {
  content: counter(item);
  border-radius: 100%;
  color: #B6E97F;
  width: 1.2em;
  margin-left: -4rem;
  position: absolute;
  margin-top: -5px;
  display: block;
  text-align: right;
  top: 0;
  left: 0;
  font-size: 96px;
  line-height: 1;
  font-weight: 900;
  font-family: 'Poppins';
  width: fit-content;
}

article.templated .post-content .center-hero-column {
  min-height: 60vh;
}

@media (min-width: 1441px) {
  .templated .post-content .full-width-row {
    margin: 0 calc(calc(1440px - 100vw) / 2);
    width: 100vw;
  }

  article.templated .post-content .center-hero-column {
    min-height: 60vh;
  }
}

@media (max-width: 600px) {

  article.templated .post-content .post-excerpt *,
  article.templated .post-content .quoted-text * {
    font-size: 24px;
    line-height: 28px;
  }

  article.templated .post-content .quoted-person p {
    font-size: 20px;
  }
}


.post-meta.multiple-authors a~a::before {
  content: ", ";
}


.stupski-video-block {
  margin-bottom: 24px;
  position: relative;
}

.stupski-video-block .thumbnail-slider {
  width: 100%;
}

.stupski-video-block .main-slider .splide__slide img {
  width: 100%;
  margin-left: -8px;
}

.stupski-video-block .main-slider .splide__slide:first-child img {
  margin-left: 0px;
}

.stupski-video-block .thumbnail-slider .splide__slide {
  width: 20%;
  cursor: pointer;
}

.stupski-video-block .thumbnail-slider .splide__slide img {
  height: auto;
  max-width: 100%;
}

.stupski-video-block .thumbnail-slider .thumbnail-title {
  color: #000;
  leading-trim: both;
  text-edge: cap;
  font-family: 'Averta-Regular';
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  margin-top: 15px;
}

.stupski-video-block-callout {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 260px;
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  border-width: 2px;
  border-style: solid;

  position: absolute;
  right: -123px;
  top: -11px;
  transform: rotate(3deg);
  z-index: 1;

  font-family: Poppins;
}
.stupski-video-block-callout__top-label {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.stupski-video-block-callout__title {
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
}
.stupski-video-block:has(.main-slider.splide.is-playing) .stupski-video-block-callout {
  display: none;
}
@media(max-width: 1023px) {
	.stupski-video-block-callout {
		right: -75px;
	}
}

.single-stupski_person .templated-content-container {
  max-width: unset;
}

.templated-content-container blockquote {
  padding: 0 28px;
  border-left: 4px solid #000;
  text-align: unset;
  /*
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
*/
}

blockquote {
  color: #000;
  leading-trim: both;
  text-edge: cap;
  font-family: 'Averta-Regular';
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px;
  position: relative;
}

blockquote svg {
  width: 19px;
  height: 16px;
}

blockquote.quote-position-top svg {
  position: absolute;
  top: 10px;
  right: 0;
}

.templated-content-container .post-content blockquote a {
  text-decoration: underline;
  color: inherit !important;
  font-weight: 600;
}

.templated-content-container p {
  color: #000;
  font-family: 'Averta-Regular';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
}

.templated-content-container .section-title h2 {
  color: #000;
  font-family: 'Poppins';
  font-size: 60px;
  font-style: normal;
  font-weight: 900;
  line-height: 60px;
}


.stupski-video-block.inset-with-color {
  /*
  padding: 22px 74px;
  */
  padding: 22px 93px 22px 74px;
  border-radius: var(--Border-Radius-Small, 6px);
}

@media (max-width: 768px) {
  .stupski-video-block.inset-with-color {
    padding: 12px 36px;
  }
}

@media (max-width: 400px) {
  .stupski-video-block.inset-with-color {
    padding: 0;
  }
}

.staff-type {
  display: inline-flex;
  padding: 4px 4px 2px 4px;
  justify-content: center;
  align-items: center;
  background-color: #2D3E50;
  color: white;
  font-family: 'Poppins';
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 12px;
  text-transform: uppercase;
}

.social-media-line {
  display: flex;
  gap: 24px;
  align-items: center;
}

.social-media-line svg {
  color: #2d3e50;
}

.social-media-line svg:hover {
  color: #3c97d2;
}

.templated-content-container h2 {
  color: #2d3e50;
}

.templated-content-container h1 a,
.templated-content-container h1 svg {
  color: inherit !important;
}

.position-relative {
  position: relative;
}

.portrait-bg-bubble {
  position: absolute;
  right: -100px;
  top: -50px;
}

@media (max-width: 1024px) {
  .portrait-bg-bubble {
    display: none;
  }
}

.person-portrait-column {
  margin-bottom: -200px;
}

.person-portrait-column .alignleft img {
  border-radius: 6px;
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.10);
}

@media (max-width: 1024px) {
  .person-portrait-column {
    margin-bottom: 0;
  }
}

.left-person-hero-column {
  position: relative;
}

.left-person-hero-column-divider {
  position: absolute;
  bottom: 0;
  left: -35px;
  width: 200%;
}

@media (max-width: 600px) {
  .left-person-hero-column h1 {
    font-size: 48px;
  }

  .left-person-hero-column h2 {
    font-size: 32px;
  }
}

.single-stupski_person .templated-content-container .left-person-hero-column h1 {
  margin-bottom: 0 !important;
  display: flex;
  gap: 6px;
}

.single-stupski_person .templated-content-container .left-person-hero-column h1 a {
  display: inline-flex;
  align-items: center;
}

.single-stupski_person .templated-content-container blockquote.stupski-style p a {
  font-weight: 600;
}


.stupski-video-block .splide__list {
  gap: 8px;
}

.stupski-video-block .main-slider {
  margin-bottom: 20px;
}

.stupski-video-block .main-slider .splide__track {
  border-radius: 12px;
}

.stupski-video-block .thumbnail-slider .splide__track {
  width: calc(100% - 100px);
  margin: 0 auto;
}

.stupski-video-block .splide__video__play {
  background: unset;
  width: 68px;
  height: 48px;
}

.stupski-video-block .splide__video__play:after {
  background-image: url(/wp-content/themes/stupski/assets/images/video-play-button.svg);
  background-repeat: no-repeat;
  border: none;
  width: 68px;
  height: 48px;
  margin-left: unset;
}

.stupski-video-block .splide__arrow {
  background: unset;
  opacity: 1;
  width: 48px;
  height: 48px;
}

.stupski-video-block .splide__arrow--prev,
.stupski-video-block .splide__arrow--next {
  top: 3em;
}

.stupski-video-block .splide__arrow--prev {
  left: 0em;
}

.stupski-video-block .splide__arrow--next {
  right: 0em;
}

.stupski-video-block .splide__arrow--prev:after {
  background-image: url(/wp-content/themes/stupski/assets/images/video-block-left-button.svg);
  background-repeat: no-repeat;
  width: 48px;
  height: 48px;
  content: ' ';
  margin-left: -32px;
}

.stupski-video-block .splide__arrow--next:after {
  background-image: url(/wp-content/themes/stupski/assets/images/video-block-right-button.svg);
  background-repeat: no-repeat;
  width: 48px;
  height: 48px;
  content: ' ';
  margin-right: -32px;
}

.stupski-video-block .splide__arrow svg {
  display: none;
}

.stupski-video-block .thumbnail-slider .splide__slide {
  opacity: 0.25;
}

.stupski-video-block .thumbnail-slider .splide__slide.is-active {
  opacity: 1;
}





.stupski-external-link-block {
  background: white;
  display: flex;
  position: relative;
  border-radius: var(--Border-Radius-Medium, 12px);
  margin-bottom: 24px;
}

.stupski-external-link-block.right {
  flex-direction: row-reverse;
  justify-content: space-between;
}

.stupski-external-link-block .divider {
  position: absolute;
  left: 0;
  bottom: 0;
}

.stupski-external-link-block .title {
  color: var(--navy-blue, #2D3E50);
  font-family: 'Poppins';
  font-size: 44px;
  font-style: normal;
  font-weight: 900;
  line-height: 44px;
}

.stupski-external-link-block .title span {
  padding: 2px 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-size: 0% 3px;
  background-repeat: no-repeat;
  transition: background-size .5s;
  line-height: 1.1;
}

@keyframes animatedLine {
  from {
    background-size: 0% 3px;
    padding-right: 0px;
  }

  90% {
    padding-right: 30px;
  }

  to {
    background-size: 100% 3px;
    padding-right: 0px;
  }
}

.stupski-external-link-block:hover .title span {
  background-size: 100% 3px;
  animation-duration: .5s;
  animation-name: animatedLine;
}

.stupski-external-link-block .text {
  padding: 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  position: relative;
  transform: translateY(0);
  transition: all 0.3s;
}

.stupski-external-link-block .text .arrow-container {
  position: absolute;
  right: 31px;
  bottom: 28px;
  transition: transform 0.5s;
}

.stupski-external-link-block .top {
  display: flex;
  gap: 12px;
}

.stupski-external-link-block .tag {
  color: var(--navy-blue, #2D3E50);
  font-family: 'Poppins';
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 8px;
}

.stupski-external-link-block .top-link {
  color: var(--navy-blue, #2D3E50) !important;
  font-family: 'Poppins';
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 20px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.stupski-external-link-block .bottom-link {
  color: var(--navy-blue, #2D3E50) !important;
  font-family: 'Averta-Regular';
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
  padding-bottom: 4px;
  border-bottom: 2px solid #2D3E50;
  width: fit-content;
  z-index: 1;
}

.stupski-external-link-block.left .divider {
  border-radius: 0 0 0 12px;
}

.stupski-external-link-block .image-container {
  min-width: 300px;
  max-width: 364px;
  min-height: 300px;
  width: 100%;
  overflow: hidden;
}

.stupski-external-link-block.left .image-container {
  border-radius: 12px 0 0 12px;
}

.stupski-external-link-block.right .image-container {
  border-radius: 0 12px 12px 0;
}

.stupski-external-link-block .image-container .image {
  width: 100%;
  height: 100%;
  background-size: cover;
  transition: all 0.3s;
}

.stupski-external-link-block:hover .arrow-container .full-arrow {
  width: 100%;
}

.stupski-external-link-block:hover .arrow-container {
  transform: translateX(10px);
}

.stupski-external-link-block:hover .stupski-external-link-block {
  padding-top: -5px;
}

.stupski-external-link-block:hover .text {
  transform: translateY(-4px);
}

.stupski-external-link-block:hover .image-container .image {
  transform: scale(1.05);
}

@media (max-width: 768px) {

  .stupski-external-link-block,
  .stupski-external-link-block.right {
    flex-direction: column;
  }

  .stupski-external-link-block .image-container {
    width: 100%;
    height: 300px;
    max-width: unset;
  }

  .stupski-external-link-block.left .image-container,
  .stupski-external-link-block.right .image-container {
    border-radius: 12px 12px 0 0;
  }

  .stupski-external-link-block.left .divider {
    display: none;
  }

  .stupski-external-link-block .top {
    flex-wrap: wrap;
  }

  .stupski-external-link-block .title {
    font-size: 36px;
  }
}





/*
.profile-leaves-right {
  transform: translate(-20%, -35%);
}
*/
.profile-leaves-right {
  transform: translate(-88px, 114px);
}

.profile-lightbulb-left {
  transform: translate(-85px, 100%);
  /*
  transform: rotate(-30deg) translate(-250px, 325px);
  transform: rotate(-30deg) translate(-30%, 20%);
  */
}

.insight-header-divider {
  transform: rotate(-0.5deg) translate(-35px, -12px);
}

@media (min-width: 845px) {
  .insight-header-divider {
    transform: rotate(-0.5deg) translate(-35px, -14px);
  }
}

@media (min-width: 1024px) {
  .insight-header-divider {
    transform: rotate(-0.5deg) translate(-35px, -18px);
  }
}

@media (min-width: 1400px) {
  .insight-header-divider {
    transform: rotate(-0.5deg) translate(-35px, -22px);
  }
}

@media (min-width: 1600px) {
  .insight-header-divider {
    transform: rotate(-1.1deg) translate(-35px, -25px);
  }
}

@media (min-width: 1800px) {
  .insight-header-divider {
    transform: rotate(-1.1deg) translate(-35px, -24px);
  }
}

@media (min-width: 1900px) {
  .insight-header-divider {
    transform: rotate(-1.1deg) translate(-35px, -26px);
  }
}

@media (min-width: 90rem) {
  .left-person-hero-column-divider {
    position: absolute;
    bottom: 0;
    left: calc(50% - 50vw);
    width: calc(100% + 100vw);
  }

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


@media (max-width: 768px) {
  .single-stupski_person .templated-content-container .section-title h2 {
    font-size: 30px;
    line-height: 1.1;
  }
}

.zIndex1 {
  z-index: 1;
}

#footer {
  padding-bottom: unset !important;
}

#footer .footer-slogan {
  background-color: unset;
  position: static;
  padding: 0;
  margin: 0;
}

#footer .footer-slogan span {
  line-height: unset;
  margin-bottom: -1%;
}


/* get rid of prev footer artifact */
#footer::before {
  display: none;
}

/* Homepage hero */
.stupski-hero-block .overlay.desktop {
  width: 400px;
}

body.home .stupski-hero-block h1.overlay-title {
  font-size: 64px;
  font-weight: 700;
}

/* Main menu */
header.header .full-menu a {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #444;
  font-family: 'Poppins';
}

.stupski-hero-block ul.overlay-menu li a {
  color: #ffffff;
  font-family: 'Poppins';
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 61px;
  transform: translateY(10px);
  display: block;
  transition: transform 0.7s;
}


/* blog listing on homepage */
.stupski-recent-posts-block .post .title {
  color: #090909;
  font-family: 'Poppins';
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.1px;
  transition: transform 0.7s;
  transform: translateY(0px);
}

header.dark-header .full-menu a {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #444;
}

/* global misc */
blockqoute,
p,
a {
  font-family: 'Poppins';
}

a.link-variant-1 {
  letter-spacing: .01rem;
}

.wpb_text_column a:not(.btn):not(.button).rounded-button,
a.rounded-button {
  font-family: 'Poppins';
  font-size: 18px;
  font-weight: 600;
}

.parent-our-programs .latest-news-wrapper p span {
  font-weight: 600;
}

#resources h2 {
  font-weight: 600;
}

#resources .resource h3 {
  font-weight: 600;
}

/* map */
.grants-map-block__upper-right-interface-box__title {
  font-weight: 600;
}

.grants-map-block__upper-right-interface-box__label-value-pair__label {
  font-weight: 700;
}

.grants-map-block__upper-right-interface-box__location-filter__filters__california__button,
.grants-map-block__upper-right-interface-box__location-filter__filters__hawaii__button {
  font-weight: 700;
}

.grants-map-block__upper-right-interface-box__label-value-pair__info-tooltip-popup {
  line-height: 20px;
}

.grants-map-block__upper-right-interface-box__subtitle {
  font-weight: 600;
}

.grants-map-block__upper-right-interface-box__location-filter__filters__hawaii:after {
  color: #BFE9EA;
}

.grants-map-block.info-hi-hawaii .grants-map-block__upper-right-interface-box__region-list[data-zoom-display="hawaii"] div[data-linked-region="hi-hawaii"] {
  color: #BFE9EA;
  border-color: #BFE9EA;
}

.grants-map-block__desktop__regional-info-panel__top-bar__title {
  font-weight: 600;
}

/* basic page header */
#FourSite .title-header h1 {
  font-weight: 600;
}

#FourSite #timeline .cards-container .colorful {
  font-weight: 600;
}

#FourSite #timeline .cards-container .card h3 {
  font-weight: 600;
  font-size: 40px;
}

#FourSite #timeline .cards-container .card p.small {
  font-size: 18px;
  line-height: 1.4;
  padding-top: 16px;
}

#FourSite #timeline .cards-container .card {
  text-align: center;
}

/*
#FourSite #timeline .cards-container .card .image {
  left: 50%;
  transform: translateX(-50%);
}
*/

/* Grants DB */
.sgi .sgi-title {
  font-weight: 600;
  font-size: 32px;
}

/* staff */
.thb-team-row .thb-team-member:not(.member_style3) .team-container .member-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.1px;
  line-height: 28px;
  font-family: "Poppins", sans-serif;
  color: #2d3e50;
}

.thb-countdown .thb-countdown-ul li .timestamp {
  font-size: 34px;
  line-height: 0.9;
  margin-bottom: 10px;
  font-weight: 600;
  padding-top: 20px;
}

.templated-content-container .section-title h2 {
  color: #000;
  font-family: 'Poppins';
  font-size: 60px;
  font-style: normal;
  font-weight: 600;
  line-height: 60px;
}

/* internship */
.intern-fixed-menu .wpb_column .btn {
  width: 100%;
  height: 58px;
  font-size: 18px;
  font-family: 'Poppins';
  letter-spacing: 0.25px;
  font-weight: 600;
}


h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
  font-weight: 600;
}

.stupski-divider-overlap-bottom {
  margin-bottom: -61px!important;
  z-index: 11!important;
  position: relative!important;
}
.stupski-divider-row {
  height: 60px;
  margin-top: -1px;
}
.stupski-divider--negative-bottom-margin {
  margin-bottom: -8px;
}
.stupski-divider--negative-top-margin {
  margin-top: -60px;  
  z-index: 1;
  display: block;
  position: relative;
}

.stupski-broken-word-svg {
  position: relative;
  margin-top: 10px;
  margin-bottom: 10px;
}
.stupski-broken-word-svg svg:nth-child(2) {
  position: absolute;
  right: 10px;
  top: -2px;
}
.stupski-podcast-intro-title {
  font-family: Poppins;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 58px;
  letter-spacing: -1.92px;
  margin-bottom: 20px;
}
.stupski-podcast-intro-title__light {
  font-size: 64px;
  font-style: italic;
  font-weight: 300;
  line-height: 58px;
}

div.hentry .bfr-podcast-lp-intro p {
  font-family: Poppins!important;
  font-size: 32px!important;
  font-style: normal!important;
  font-weight: 500!important;
  line-height: 32px!important;
  letter-spacing: -0.1px!important;
}

.bfr-podcast-lp-intro ul {
  list-style-type: none;
  list-style-image: url(/wp-content/themes/stupski/assets/images/bfr-wedge-bullet-point.png);
  margin-left: 57px;
}

.bfr-podcast-lp-intro li {
  leading-trim: both;
  text-edge: cap;
  font-family: Georgia;
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
}




.stupski-bfr-header__social-links {
  display: flex;
  gap: 16px;
}
.stupski-bfr-header__social-links a {
  display: flex;
  align-items: center;
  gap: 4px;
}



.stupski-diagonal-divider {
  position: relative;
}
.stupski-diagonal-divider__image-container {
  position: absolute;
  top: 0;
  left: 0;  
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.stupski-diagonal-divider img {
  max-width: 134px;
  height: auto;
}

.bfr-latest-news .latest-news-wrapper .btn,
.latest-news-wrapper .btn {
  display: flex;
  padding: 24px 32px;
  justify-content: center;
  align-items: center;
  gap: 14px;
  border-radius: 100px;
  background: #1F3245;
  width: fit-content;
  margin: 0 auto;
  transition: all 0.3s;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.bfr-latest-news .latest-news-wrapper .btn:hover,
.latest-news-wrapper .btn:hover {
  transform: translateY(-2px);
  background-color: #1F3245 !important;
  opacity: 1 !important;
  color: white !important;
}

#latest-news .posts-shortcode {
  gap: 20px!important;
}
#latest-news .small-12.large-4.columns {
  padding: 20px !important;
  flex: 0 0 100%!important;
  max-width: 100%!important;
}
@media (min-width: 700px) {
  #latest-news .small-12.large-4.columns {
    padding: 0px !important;
    flex: 0 0 calc(50% - 20px) !important;
    max-width: 48%!important;
  }
}
@media (min-width: 1024px) {
  #latest-news .small-12.large-4.columns {
    flex: 0 0 calc(33% - 40px) !important;
    max-width: calc(33% - 40px) !important;
  }
}





/* Centering the posts if there is less than three */
.stupski-recent-posts-block[data-count="1"] .posts-list {
  justify-content: center;
}
.stupski-recent-posts-block[data-count="2"] .posts-list {
  gap: 20px;
	justify-content: center;
}





.post-content a.stupski-single-button {
	display: flex;
	padding: 20px 32px;
	justify-content: center;
	align-items: center;
	border-radius: 100px;
	text-align: center;
	font-family: 'Poppins';
	font-size: 14px;
	font-style: normal;
	font-weight: 900;
	line-height: normal;
	letter-spacing: 1.575px;
	text-transform: uppercase;
	width: fit-content;
	border: 1px solid #2D3E50;
	transform: translateY(0)!important;
	transition: all 0.5s;
	text-decoration: none !important;
}
.post-content a.stupski-single-button:after {
  display: none;
}
.post-content a.stupski-single-button:hover {
	transform: translateY(-5px)!important;
}
.post-content a.stupski-single-button--cs-navy-blue {
	background-color: #2D3E50!important;
	color: #ffffff!important;
}
.post-content a.stupski-single-button--cs-navy-blue:hover {
  color: #ffffff!important;
}




@media (min-width: 891px) {
  #wrapper header.header .secondary-area {
    position: relative;
    background-color: transparent;
  }
}


/* ===============================================
   HEADER & NAVIGATION
   =============================================== */
/* Blurred header styling */
.header.fixed {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: #f1f0eb solid 1px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(10px);
}

/* Main navigation styling */
nav#full-menu {
  backdrop-filter: blur(16px);
  border-radius: 10000px;
  padding: 0 40px;
  color: #fff !important;  
}

#wrapper .header.light-header .thb-full-menu.thb-underline>li>a:before,
#wrapper .header.dark-header .thb-full-menu.thb-underline>li>a:before {
  display: none;
}
#wrapper .header.light-header .thb-full-menu.thb-underline>li>a:hover:before,
#wrapper .header.dark-header .thb-full-menu.thb-underline>li>a:hover:before {
  display: block;
}

nav#full-menu a {
  font-weight: 500;
}

.header.dark-header.fixed nav#full-menu,
.header.light-header.fixed nav#full-menu {
  background: unset;
  backdrop-filter: unset;
}

/* Dropdown Menu Styles */
.thb-dropdown-color-light .thb-full-menu .sub-menu {
  background: #fff;
  padding: 4px;
}

.thb-full-menu .sub-menu li {
  background-color: unset;
  border: solid 1px white;
  border-radius: 4px;
  margin-bottom: 0px;
}

.thb-full-menu .sub-menu li:hover {
  background-color: #f8e399;
  border: solid 1px #f4d35e;
  border-radius: 4px;
  margin-bottom: 0px;
}

/* Animated left chevron on hover */
.thb-full-menu .sub-menu li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Chevron: initial state */
.thb-full-menu .sub-menu li > a::after {
  content: "›";
  margin-left: 6px; /* constant spacing to avoid layout jump */
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  will-change: opacity, transform;
  display: inline-block;
}

/* Animate when the LI is hovered */
.thb-full-menu .sub-menu li:hover > a::after {
  opacity: 1;
  transform: translateX(0);
}

/* Donation tab fade effects */
#fs-donation-tab {
  transition: color 0.3s ease-out;
}

#fs-donation-tab.tab-text-hidden {
  color: transparent !important;
  text-shadow: none !important; /* prevent ghosting */
}

#fs-donation-tab:hover {
  color: inherit !important;
}

/* The text wrapper for donation tab */
#fs-donation-tab .tab-label {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1;
  transition: opacity 0.3s ease-out, max-width 0.3s ease-out,
    max-height 0.3s ease-out, margin 0.3s ease-out, padding 0.3s ease-out;
}

/* Collapse when hidden (shrinks width+height) */
#fs-donation-tab.tab-text-hidden .tab-label {
  opacity: 0;
  max-width: 0;
  max-height: 0;
  margin: 0 !important;
  padding: 0 !important;
}

/* Always show on hover as a fallback */
#fs-donation-tab:hover .tab-label {
  opacity: 1;
  max-width: 20rem; /* enough to fit the text */
  max-height: 3rem; /* enough to fit the line */
}

.header.light-header .thb-full-menu.thb-underline > li > a:before  { background-color: #ffffff!important; }
.header.light-header nav#full-menu { background: #ffffff08; }

.header.dark-header .thb-full-menu.thb-underline > li > a:before  { background-color: #1f3245!important; }
.header.dark-header nav#full-menu { background: #2d3e5008; }

.header.light-header-no-image nav#full-menu { background: #ffffff08; }
.header.light-header-no-image nav#full-menu a { color: #ffffff; }
.header.light-header-no-image .thb-full-menu.thb-underline > li > a:before { background-color: #ffffff!important; }

.header.dark-header-no-image nav#full-menu { background: #2d3e5008; }
.header.dark-header-no-image nav#full-menu a { color: #1f3245; }
.header.dark-header-no-image .thb-full-menu.thb-underline > li > a:before { background-color: #1f3245!important; }

.header.light-header-with-image nav#full-menu { background: #ffffff3b; }
.header.light-header-with-image nav#full-menu a { color: #1f3245; }
.header.light-header-with-image .thb-full-menu.thb-underline > li > a:before { background-color: #1f3245!important; }

.header.dark-header-with-image nav#full-menu { background: #ffffff24; }
.header.dark-header-with-image nav#full-menu a { color: #ffffff; }
.header.dark-header-no-image .thb-full-menu.thb-underline > li > a:before { background-color: #ffffff!important; }

.header.disabled-menu-bg nav#full-menu { background: none; }
.header.dark-header.disabled-menu-bg .thb-full-menu.thb-underline > li > a:before { background-color: #1f3245!important; }
.header.light-header.disabled-menu-bg .thb-full-menu.thb-underline > li > a:before { background-color: #ffffff!important; }


.header.light-header-no-image.fixed nav#full-menu a,
.header.dark-header-no-image.fixed nav#full-menu a,
.header.light-header-with-image.fixed nav#full-menu a,
.header.dark-header-with-image.fixed nav#full-menu a {
  color: #1f3245;
}
.header.light-header-no-image.fixed .thb-full-menu.thb-underline > li > a:before,
.header.dark-header-no-image.fixed .thb-full-menu.thb-underline > li > a:before,
.header.light-header-with-image.fixed .thb-full-menu.thb-underline > li > a:before,
.header.dark-header-with-image.fixed .thb-full-menu.thb-underline > li > a:before,
.header.fixed .thb-full-menu.thb-underline > li > a:before  {
  background-color: #1f3245!important;
}
