/*****************************
*HTML Styling
******************************/

.gb-carousel-item:nth-child(4n + 1) .flip_card_container,
.gb-carousel-item:nth-child(4n + 1) .flip_content {
  background-color: var(--yellow);
  color: black !important;
}

.gb-carousel-item:nth-child(4n + 1) .flip_card_container,
.gb-carousel-item:nth-child(4n + 1) .flip_content {
  background-color: var(--yellow);
}

.gb-carousel-item:nth-child(4n + 1) .flip_inner_card_text,
.gb-carousel-item:nth-child(4n + 1) .flip_inner_card_text p,
.gb-carousel-item:nth-child(4n + 1) .flip_inner_card_text strong,
.gb-carousel-item:nth-child(4n + 1) .flip_inner_card_text span {
  color: black !important;
}

.gb-carousel-item:nth-child(4n + 2) .flip_card_container,
.gb-carousel-item:nth-child(4n + 2) .flip_content {
  background-color: var(--accent);
}

.gb-carousel-item:nth-child(4n + 3) .flip_card_container,
.gb-carousel-item:nth-child(4n + 3) .flip_content {
  background-color: var(--orange);
}

.gb-carousel-item:nth-child(4n + 4) .flip_card_container,
.gb-carousel-item:nth-child(4n + 4) .flip_content {
  background-color: var(--red);
}

/* Query Styling For Grids */
.query_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

body {
  background-color: var(--base) !important;
}

.entry-title {
  display: none;
}
.separate-containers .site-main {
  margin: 0 !important;
}

.separate-containers .inside-article {
  padding: 0 !important;
}

body h1 {
  font-family: var(--gp-font--poppins) !important;
  font-size: clamp(2.625rem, 10vw, 3.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  margin-bottom: 30px !important;
}

body p {
  color: var(--contrast);
  font-family: var(--gp-font--poppins) !important;
  font-size: 1.125rem !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5 !important;
}

body h2 {
  color: var(--contrast);
  font-family: var(--gp-font--poppins) !important;
  font-size: clamp(2.375rem, 5vw, 2.688rem) !important;
  font-style: italic;
  font-weight: 800;
  line-height: 1.4 !important;
}
body h3 {
  color: var(--contrast);
  font-family: var(--gp-font--poppins) !important;
  font-size: clamp(1.5rem, 5vw, 2rem) !important;
  font-style: italic;
  font-weight: 800;
  line-height: 1.1 !important;
}

body li {
  color: var(--contrast);
  font-family: var(--gp-font--poppins) !important;
  font-size: 0.938rem !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.688rem;
}

body li::marker {
  color: var(--accent);
}

section.s4k_section {
  width: 100%;
}

.s4k_container {
  width: 100%;
  max-width: var(--gb-container-width);
  margin: 33px auto;
  padding-left: 32px;
  padding-right: 32px;
}

.text_center {
  text-align: center;
}

.flexbox {
  display: flex;
  gap: 60px;
}

.flexcolumn {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.align_item_center {
  align-items: center;
}

.featured-image.page-header-image.grid-container.grid-parent {
  display: none;
}


/* From Stle.css */
.map-wrapper {
    position: relative;
}

.county-popup {
    display: none;
    position: absolute;
    background: #fff;
    border-radius: 6px;
    padding: 16px 20px;
    min-width: 220px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 100;
    pointer-events: none;
    font-size: 14px;
    line-height: 1.5;
}

.county-popup.is-visible {
    display: block;
}

.county-popup h3 {
    margin: 0 0 8px;
    color: #e87722;
    font-size: 15px;
    font-weight: 700;
}

.county-popup ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.county-popup li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.county-popup li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/*****************************
*Colors
******************************/
.text-red {
  color: var(--red) !important;
}
.text-blue {
  color: var(--accent) !important;
}
.text-orange {
  color: var(--orange) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

/*****************************
*Page Styling
******************************/

/*Hero Section*/
.hero_section {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    var(--base) 63%,
    var(--orange) 63%,
    rgba(255, 209, 60, 0) 100%
  );
}

.hero_container {
  padding: 67px 32px 2px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero_content {
  width: 100%;
  max-width: var(--gb-container-width);
  text-align: center;
}

.hero_text_wrapper {
  width: 100%;
  max-width: 800px;
  margin: auto;
  margin-bottom: 90px;
}

span.hero_tagline {
  color: var(--black);
  text-align: center;
  font-family: var(--gp-font--poppins);
  font-size: clamp(1rem, 5vw, 1.438rem);
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  animation: fadeSlideUp 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  text-transform: uppercase;
}

img.gb-media-a2349996.g4k_img, img.hero_logo {
  animation: fadeSlideUp 0.7s ease forwards !important;
}

img.hero_logo{
      max-width: 300px;
    width: 100%;
}

h1.hero_heading {
  animation: fadeSlideUp 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
  font-style: italic;
}

p.hero_text {
  color: var(--contrast);
  font-family: Poppins;
  font-size: 1.438rem !important;
  font-style: italic;
  font-weight: 400;
  line-height: 27px;
  animation: fadeSlideUp 0.3s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero_button {
  animation: fadeSlideUp 0.4s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
  transition: background all 0.5s ease-in-out;
}

.img_border_radius {
  border-radius: 27px;
}

.pagination_effect {
  animation: fadeSlideUp 0.5s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

img.hero_image {
  width: 100%;
  height: 754px;
  object-fit: cover;
  /* object-position: center; */
  animation: fadeSlideUp 0.6s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*****************************
* Buttons
******************************/

/*Button Flex*/
.button_flex{
	display:flex;
	flex-wrap: wrap;
	gap:20px;
}

/* Buttons */
.primary_card_button {
  background-clip: padding-box;
  width: 100%;
  max-width: 350px;
  border-radius: 64px;
  border: 1px solid rgba(0, 0, 0, 0);
  display: inline-flex;
  padding: 16.5px 30.6px 17.5px 33px;
  justify-content: center;
  align-items: center;
  font-family: var(--gp-font--barlow);
  font-size: 1rem;
  font-style: normal;
  font-weight: 800;
  line-height: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  background-repeat: no-repeat;
  background-size: 200% 100%;
  background-position: 0% 0;
  transition:
    background-position 0.3s ease-in-out,
    color 0.3s ease-in-out;

  &.white_btn {
    background-image: linear-gradient(
      to right,
      var(--base) 50%,
      var(--yellow) 50%
    );
    color: inherit;

    &:hover {
      background-position: 100% 0;
      color: #1e3a8a;
    }
  }

  &.blue_btn {
    background-image: linear-gradient(
      to right,
      var(--accent) 50%,
      var(--yellow) 50%
    );
    color: var(--base);

    &:hover {
      background-position: 100% 0;
      color: #1e3a8a;
    }
  }

  &.outline_btn {
    border: 5px solid var(--base) !important;
    background-image: linear-gradient(
      to right,
      transparent 50%,
      var(--base) 50%
    );
    color: var(--base);

    &:hover {
      background-position: 100% 0;
      color: var(--accent);
    }
  }

  &.outline_btn_orange {
    border: 5px solid var(--orange) !important;
    background-image: linear-gradient(
      to right,
      transparent 50%,
      var(--orange) 50%
    );
    color: var(--orange);

    &:hover {
      background-position: 100% 0;
      color: var(--white);
    }
  }

  &.yellow_btn {
    background-image: linear-gradient(to right, var(--yellow) 50%, #ebaa0c 50%);
    color: var(--accent);

    &:hover {
      background-position: 100% 0;
      color: var(--base);
    }
  }

  &.orange_btn {
    background-image: linear-gradient(
      to right,
      var(--orange) 50%,
      var(--yellow) 50%
    );
    color: var(--white);

    &:hover {
      background-position: 100% 0;
      color: var(--base);
    }
  }
}

/*****************************
*About Page
******************************/

.our_impact_container {
  width: 100%;
  max-width: 1010px;
  margin: 60px auto 0;
}

/* Makes List or Bullet Points center when added in */
.content_paragraph ul,
.content_paragraph ol {
    display: inline-block;
    text-align: left;
    margin: auto;
    padding-left: 1.2em;
}
/* 
.content_paragraph ul li,
.content_paragraph ol li {
    margin-bottom: 0.5em;
} */

.white_box {
  padding: 15px 22px;
  background-color: var(--white);
  border-radius: 17px;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: all 0.3s ease-in-out 0s;
}

.white_box.red-hover:hover {
  background-color: var(--red) !important;
}
.white_box.yellow-hover:hover {
  background-color: var(--yellow) !important;
}
.white_box.accent-hover:hover {
  background-color: var(--accent) !important;
}
.white_box.brown-hover:hover {
  background-color: #d32f2f !important;
}

.white_box .impact_svg svg {
  width: 100px !important;
  height: auto;
}

.impact_grid_box {
  margin-top: 30px;
}

.impact_flex {
  align-items: center;
  flex-direction: column;
  display: flex;
  transition: all 0.5s ease 0s;
}

/*Challenges Section*/
.blue_container_image_box {
  margin-top: 120px;
}

.challenges_flexbox {
  align-items: center;
}

.challenges_textarea {
  width: 100%;
  max-width: 752px;
  padding: 60px 0;
}

.challenges_img_wrapper {
  margin-top: -60px;
  padding-bottom: 30px;
}

img.challenges_image {
  width: 100%;
  max-width: 668px;
  height: 825.66px;
  flex-shrink: 0;
  aspect-ratio: 72/89;
  object-fit: cover;
}

.bg-accent h2,
.bg-accent p {
  color: var(--base) !important;
}

.textarea {
  width: 100%;
  max-width: 752px;
  padding-top: 60px;
}

/* .our_goals_section li {
  margin-bottom: 20px;
} */

ul.marker_ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* .marker_ul .marker_list::marker {
  font-size: 30px;
} */

/*****************************
*Our Team Page
******************************/

/* .team_text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
} */

.team_text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

a.read_more {
  color: #d32f2f;
  font-family: var(--gp-font--poppins);
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  line-height: 150%;
  margin-top: 20px !important;
  text-decoration: none !important;
}

/*****************************
*Athlete Spotlight
******************************/
.athlete_spotlight_item:nth-child(1),
.content_box:nth-child(1) {
  background: var(--accent) !important;
  color: var(--base) !important;
}

.content_box {
  background: var(--accent) !important;
  color: var(--base) !important;
}

.athlete_spotlight_item h3 {
  color: white;
  margin-bottom: 0;
}

.athlete_spotlight_item {
  padding: 13px;
}

.s4k_item_black_bg {
  padding: 20px !important;
  background: black;
  border-radius: 10px;
}

.image_box,
.content_box {
  height: 400px;
  border-radius: 10px;
}

/*Search Function*/
.athlete-search-wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto 32px;
}
#athlete-search-input {
  width: 100%;
  padding: 10px 44px 14px 8px;
  border: none;
  border-bottom: 3px solid #2f4bd6;
  border-radius: 0;
  font-size: clamp(1rem, 5vw, 1.125rem);
  font-weight: 500;
  color: #2f4bd6;
  background: transparent;
  outline: none;
  font-family: var(--gp-font--poppins);
}
#athlete-search-input::placeholder {
  color: #2f4bd6;
  opacity: 1;
}
.athlete-search-icon {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-60%);
  width: 30px;
  height: 30px;
  color: #2f4bd6;
  cursor: pointer;
}
#athlete-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 8px;
  margin-top: 6px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.athlete-search-item {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 16px;
  color: #1a2b6d;
}
.athlete-search-item:hover {
  background: #f0f4ff;
}
.athlete-search-none {
  padding: 10px 16px;
  color: #888;
  font-size: 16px;
}

/*****************************
*Sponsors
******************************/

.sponsor_query {
  overflow: hidden;
  width: 100%;
}
.sponsor_looper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: sponsor-scroll 20s linear infinite;
  margin-bottom: 33px;
}
.sponsor_looper:hover {
  animation-play-state: paused;
}
.sponsor_loop_item {
  flex-shrink: 0;
  width: 220px;
  height: 170px;
  margin-right: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor_loop_item img {
  max-height: 170px !important;
  max-width: 100% !important;
  width: auto;
  height: auto;
  object-fit: contain;
}
@keyframes sponsor-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/*****************************
*Flip Cards
******************************/
.flip_card_container {
  cursor: pointer;
}

.flip_card_container .black_bg {
  position: relative;
  perspective: 1000px;
  height: 500px;
  overflow: hidden;
}

.flip_card_container .flip_img,
.flip_card_container .flip_content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 90%;
  height: 90%;
  margin: auto;
  box-sizing: border-box;
  backface-visibility: hidden;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
}

.flip_card_container .flip_img {
  transform: rotateY(0deg);
}

.flip_card_container .flip_content {
  transform: rotateY(180deg);
  overflow-y: auto;
}

.flip_card_container.is-flipped .flip_img {
  transform: rotateY(-180deg);
}

.flip_card_container.is-flipped .flip_content {
  transform: rotateY(0deg);
}

.flip_inner_card_text p {
  color: var(--base) !important;
  margin-bottom: 6px !important;
}

.flip_inner_small_text p {
  font-size: 12px !important;
}

p.job_title {
  font-size: 12px !important;
}

/*Tesimonaial Page*/

.testimonial_modal_overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

.testimonial_modal_panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  padding: 40px;
  z-index: 9999;
}

.testimonial_modal_overlay.is_active,
.testimonial_modal_panel.is_active {
  display: block;
}

.testimonial_modal_close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

.testimonial_modal_text {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.testimonial_modal_name {
  font-weight: bold;
  margin: 0;
}

.testimonial_modal_role {
  margin: 0;
  color: #666;
}

/*****************************
*Events
******************************/
.featured-image.page-header-image-single {
    display: none;
}

p.mec_label {
  margin-bottom: 0px;
}

p.mec_value{
  color: var(--accent);
  font-weight: 700;
}

.button_container {
    display: flex;
    justify-content: center;
	margin: 60px auto 0;
}

.button_flex_centered{
	    display: flex;
    flex-wrap: wrap;
    gap: 20px;
	justify-content: center;
}

.email_flex{
	 display: flex;
	 justify-content: center;
	align-items: center;
}

.email_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
}

.email_icon svg {
    width: 100%;
    height: 100%;
}

a.email_item{
    color: var(--accent);
    column-gap: 0.5em;
    font-family: var(--gp-font--poppins);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
	display: flex;
	align-items: center;
	
}


/*****************************
*Media Queries
******************************/

@media (max-width: 768px) {
  .entry-content:not(:first-child),
  .entry-summary:not(:first-child),
  .page-content:not(:first-child) {
    margin-top: 0 !important;
  }

  .hero_container {
    padding: 20px 32px 20px 32px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .column_reverse {
    flex-direction: column-reverse !important;
  }

  .flexbox {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hero_section {
    background: var(--base);
  }

  span.hero_tagline {
    display: none;
  }

  .hero_content {
    text-align: left;
    display: flex;
    flex-direction: column-reverse;
    gap: 27px;
  }

  .hero_content p,
  .hero_content .hero_text_wrapper {
    margin-bottom: 0 !important;
  }

  .hero_text_wrapper {
    margin-bottom: 27px;
  }

  img.hero_image {
    width: 100%;
    height: 287px;
    object-fit: cover;
    object-position: center;
  }

  .s4k_container {
    text-align: left !important;
    margin: 33px auto;
    margin-top: 0 !important;
  }

  /* Button */
  .primary_card_button{
    width: 100%;
    max-width: 100%;
  }

  /*About Page*/
  .impact_flex {
    align-items: flex-start;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .challenges_img_wrapper {
    margin-top: 0;
    margin-bottom: -60px;
  }

  img.challenges_image {
    height: 454px;
    object-position: top;
  }
  .img_wrapper {
    width: 100%;
  }
  .our_goals_section.img_wrapper {
    width: 100%;
    object-position: top;
  }

  .challenges_textarea {
    padding-bottom: 20px !important;
    padding-top: 20px !important;
  }

  .main_header {
    margin-bottom: 70px;
  }

  .hero_button {
    width: 100% !important;
  }

  .title_s4k_box {
    text-align: end;
  }

  .s4k_mec_content {
    margin-top: 43px;
  }

  .mec_btn{
    width: 100%;
  }
	
	/*Button Flex*/
.button_flex a, .button_flex_centered a{
	width: 100%;
}
	
	.email_flex{
		justify-content: flex-start;
	}
	
	
}

@media (max-width: 400px) {
  .impact_flex {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}
