/*
Theme Name: Coyote Theme for ForestWatch
Description: The Coyote Theme for ForestWatch. Based on the Twenty Twenty Four theme.
Author: Nick Niles
Author URI: https://tassu.net/
Template: twentytwentyfour
Version: 1.0.0
*/

@import url("https://use.typekit.net/zhr1uox.css");
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@0,100..900;1,100..900&display=swap'); */

:root {
  --nav-underline-color-special: var(--wp--preset--color--green-medium);
  --bg-color: white;
  --cta-button-bg: var(--wp--preset--color--green-medium);
  --cta-button-bg-hover: #fdd7a07d;
}

.visually-hidden {
  display: none;
}

:where(.wp-site-blocks *:focus) {
    outline-width: 0px !important;
    outline-style: solid;
}

.entry-content a {
  text-decoration: underline;
}

.wp-block-navigation-item a {
  text-decoration: none;
}

.hero-lead {
  /* text-shadow: 0 1px 2px rgba(0, 0, 0, .75) */
}

.single-post, .page-template-wp-custom-template-news-publications-template, .archive, body.news  {
  /* --bg-color: var(--wp--preset--color--purple-light); */

  h1 {
    color: var(--wp--preset--color--purple-normal);
  }

  .news-grid {
  
    .wp-block-post-title a {
      text-decoration: none;
      text-decoration-color: rgba(196, 192, 242, .3);
      text-underline-offset: -0.05em;
      text-decoration-thickness: 0.25em;
      text-decoration-style: solid;
      text-decoration-skip-ink: none;
    }
  }

  .news-grid ul li:first-child {
    grid-column: 1 / -1;

    .post-details {
      width: 100%;
      background-color: var(--wp--preset--color--blue-light);
      margin-top: 0;
      padding: 0rem 2rem 2rem 0 !important;
      max-width: 1000px;

      h2 {
        max-width: 1000px;
      }

      h2 a {
        font-size: var(--wp--preset--font-size--x-large) !important;
      }
      
      @media screen and (min-width: 1024px) {
        padding: 1rem 2rem 2rem 0 !important;
        margin-top: -5rem;
      }

      .wp-block-post-title {
        font-size: var(--wp--preset--font-size--large) !important;

        @media screen and (min-width: 1024px) {
          font-size: var(--wp--preset--font-size--xx-large) !important;
        }
      }
    }
  }
}

body {
  background-color: var(--bg-color);
}

.wp-block-navigation {

    --navigation-layout-align: baseline;
}
/*
Theme Name: Twenty Twenty-Four Child
Template: twentytwentyfour
*/

.lead-line {
    text-align: center;
    font-size: 1.25rem;
    color: white;
}

.hover-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-radius: 2px;
}

.hover-card figure img {
  border-radius: 4px;
}

.hover-card:hover {
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-15px);
}

.does-overlap-header {
  margin-top: -6rem !important;
  position: relative;
  z-index: 1;
}

.interactive-map {
  width: 100% !important;
  max-width: 100% !important;
  height: 800px !important;
}

.reading-time-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.45);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  width: fit-content;
  font-size: 0.875rem;
  margin: 0 auto;
  margin-top: 1rem;

  figure {
    margin: 0;
    margin-right: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    svg {
      width: 1.25rem;
    }
  }

  &.reading-time-post {
    background-color: transparent;
    padding: 0;
    border-radius: 2rem;
    color: #333;
    justify-content: flex-start;
    margin-left: 0;

  }
}

.reading-time-indicator p {
  /* font-family: "futura-pt", sans-serif;
  font-weight: 500;
  letter-spacing: 0.125em;
  text-transform: uppercase; */
  display: inline;
  margin: 0;
}

.no-read-time .reading-time-indicator {
  display: none;
}

.wp-block-navigation li a  {
  /* background-color: red; */
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  letter-spacing: 0.1rem;
  font-style: normal;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  transition: border-bottom 0.3s ease;
  
  /* .has-main-underline & {
    border-bottom: 4px solid var(--nav-underline-color-special);

    &:hover {
      border-bottom: 4px solid var(--wp--preset--color--green-dark);
      text-decoration: none;
    }
  } */

  &:hover {
    border-bottom: 1px solid currentColor;
  }
}

.has-main-underline {
  align-items: baseline;
}

.main-nav-links {
  align-items: baseline;
}

.news-page .wp-block-navigation li a {
  color: var(--wp--preset--color--purple-medium);
  border-bottom-color: var(--wp--preset--color--purple-medium);
}

.is-aligned-baseline {
  align-items: baseline;
}

/* .wp-block-navigation li:nth-child(3) {
  @media (min-width: 1200px) {
    margin-right: 3rem;
  }
} */

.wp-block-navigation li.no-underline a {
  border-bottom: 4px solid transparent;
}


.wp-block-navigation li.current-menu-item a, li.current-menu-ancestor a {
  border-bottom: 2px solid black !important;

  footer & {
    border-bottom: none !important;
  }
}

footer .wp-block-navigation li a {
  border-bottom: none;
  padding-bottom: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: none;

  &:hover {
    border-bottom: none;
    text-decoration: underline;
  }
}

footer .wp-block-navigation li:nth-child(4) {
  border-bottom: none;

  a {
    border-bottom: none;
  }
}

footer .wp-block-navigation li.current-menu-item a {
  border-bottom: none;
}

.childpages-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 0;
  max-width: 100%;

  .page-excerpt {
    margin-top: 0;
  }

  a {
    text-decoration: none;
  }
}

.childpage-card {
  background-color:var(--wp--preset--color--green-light);
  padding: 1rem;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  &:hover {
    transform: scale(1.01);
  }

  @media (min-width: 768px) {
    grid-column: span 3;
  }

  @media (min-width: 1024px) {
    grid-column: span 2;
  }

  .childpage-image {
    margin: 0;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (9/16 = 0.5625 or 56.25%) */

    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
  }

  &:hover .childpage-image {
    img {
      transform: scale(1.02);
    }
  }
}

.action-card {
  .childpage-image {
    padding: 0;
    margin-bottom: .5rem;
  }

  a {
    text-decoration: none;
  }
}

.childpage-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  height: 100%;
}

.childpage-content-top {
  flex-grow: 0;
}

.childpage-button-container {
  margin-top: auto;
  padding-top: 1rem;
}

.childpage-card.is-featured {
  grid-column: span 6;

  @media (min-width: 768px) {
    grid-column: span 3;
  }
}

.childpage-card h3 {
  margin: 0;
  margin-bottom: 1rem;
  font-size: var(--wp--preset--font-size--medium-large);
  font-weight: 300;
}

.action-cta-card {
  border-radius: 4px;
}

.wp-block-button, .event-link {
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  letter-spacing: 0.1rem;
  font-style: normal;
  text-transform: uppercase;

  &:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  a {
    text-decoration: none;
  }
}

/* .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background):hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: black;
  border: 1px solid black;
}

.wp-block-navigation .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background):hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid white;
} */



/* .nav-button-secondary a {
  width: fit-content;
  background-color: none;
  color: white;
}  */

.flex-align-baseline {
  align-items: baseline;
}
.post-title-block {
  position: relative;
  z-index: 1;
}
.post-title-block .title-meta {
  max-width: calc(720px + 6rem);
  margin: 0 auto;
}

.post-hero-image {
  background-color: var(--wp--preset--color--purple-medium);
}

.breadcrumbs {
  font-weight: 400;

  a {
    /* color: var(--wp--preset--color--purple-medium); */
    font-weight: 500;
    font-size: 1rem;
    font-family: 'futura-pt', sans-serif;
    transition: color 0.3s ease;
    letter-spacing: 0.125em;
    text-transform: uppercase;

    &:hover {
      color: var(--wp--preset--color--purple-normal);
      text-decoration: underline;
    }
  }

  .breadcrumb-separator {
    color: black;
    margin: 0 0.5rem;
  }

  &.person-breadcrumbs {
    color: var(--wp--preset--color--green-medium);

    a {
      color: var(--wp--preset--color--green-normal);
      margin-right: 4px;
      margin-left: 4px;

      &:first-child {
        margin-left: 0;
      }
    }
  }
  
  &.wildlife-breadcrumbs {
    color: white;
    a {
      color: var(--wp--preset--color--orange-medium);
      margin-right: 4px;
      margin-left: 4px;
  
      &:first-child {
        margin-left: 0;
      }
    }
}

&.victory-breadcrumbs {
  color: white;

  a {
    color: var(--wp--preset--color--blue-medium);

    &:hover {
      color: var(--wp--preset--color--blue-light);
    }
  }
}

&.aligncenter {
  text-align: center;
}
}

.page-template .breadcrumbs {
  text-align: center;
  a {
    color: white;
  }

  .breadcrumb-separator {
    color: white;
  }
}

.breadcrumbs span span.current-item {
  display: none;
}

.taxonomy-post_tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  
  .wp-block-post-terms__separator {
    display: none;
  }
}

.taxonomy-post_tag a {
  background-color: var(--wp--preset--color--purple-light);
  color: var(--wp--preset--color--purple-normal);
  margin: 0;
  padding: 0.25rem 0.5rem;
  border: 1px solid white;
  transition: border 0.3s ease;

  &:hover {
    background-color: white;
    color: black;
    border: 1px solid var(--wp--preset--color--purple-medium);
    text-decoration: none;
  }
}

/* DROP CAPS */
.wp-block-post-content.entry-content:not(.wp-block-columns) > p:first-child:first-letter,
p.has-dropcap:first-letter {
  font-family: var(--wp--preset--font-family--montserrat);
  float: left;
  font-size: 6rem;
  line-height: 0.65;
  margin: 0.1em 0.1em 0.2em 0;
  font-weight: 600;
}

/* CTA BUFFET */
.cta-buffet {
  .wp-element-button, .wp-block-button__link {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    background-color: var(--cta-button-bg);
  }

  .cta-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 1rem;

    .wp-block-button {
      width: 100%;
      max-width: 500px;

      .wp-block-button__link {
        width: 100%;
        transition: background-color 0.3s ease;
        color: black;
        /* border: 1px solid black; */


        &:hover {
          background-color: var(--cta-button-bg-hover);
          color: black;
        }
      }
    }

  }

  .big-cta-button {
    transition: background-color 0.3s ease;
  }

  .big-cta-button:hover {
    background-color: var(--cta-button-bg-hover) !important;
  }

  .big-cta-button a {
    text-decoration: none;
  }

  .donate-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }
}

a.not(.wp-block-button__link)[target="_blank"] {
  text-decoration: underline;
  /* white-space: nowrap; */
}

.next-page-teaser {
  padding: 0;

  h3 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
    margin-bottom: 2rem;
    font-weight: 325;
    color: var(--wp--preset--color--purple-normal);
  }

  a {
    text-decoration: none;
  }
}

.next-page-wrapper {
  padding: 1rem;
  border: 1px solid transparent;
  
  &:hover {
    border: 1px solid var(--wp--preset--color--purple-medium);
  }
}

.next-page-link {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    align-items: center;
  }

  h4 {
    margin: 0;
    margin-bottom: 0.5rem;
    font-size: var(--wp--preset--font-size--medium-large);
    font-weight: 325;
  }

  p {
    margin: 0;
  }
}

#text-column {
  max-width: 720px;
}
#sticky-sidebar {
  position: relative;
  top: 0;
  
  @media screen and (min-width: 768px) {
    position: sticky;
    top: 4rem;
  }
}

#sticky-sidebar a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--wp--preset--color--green-normal);
  position: relative;

  &:hover {
    color: var(--wp--preset--color--green-dark);
  }
  
  &.active {
    color: var(--wp--preset--color--green-dark);

    &:before {
      content: "\2192";
      padding-right: 0.25rem;
      position: absolute;
      left: -1.25rem;
      /* top: 2px; */
    }

  }
}

/* Person Grid */
.person-grid {
    max-width: 1440px;
    margin: 0 auto;
}

.person-filter {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0;
  margin-bottom: 2rem;
  width: fit-content;
  margin: 0 auto;
  padding: .5rem;
  padding-left: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 2rem;
  border: 1px solid #333;
  margin-bottom: 3rem;

  .filter-label {
    font-family: var(--wp--preset--font-family--gotham);
    font-weight: 325;
    font-size: 1rem;
    margin-right: 1rem;
    text-transform: uppercase;
    color: #666;
  }
}

.filter-btn {
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    background-color: transparent;
    font-size: 1.5rem;
    border-radius: 2rem;
    font-family: var(--wp--preset--font-family--gotham);
    font-weight: 325;
    &:hover {
      text-decoration: underline;
    }
}

.filter-btn.active {
    background-color: #333;
    border-radius: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    outline: none;
    color: white;

    &:active {
      outline: none;
      border: 1px solid var(--wp--preset--color--green-dark);
      box-shadow: none;
    }
}

.person-grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 3rem;
}

.person-item {
    text-align: center;
    position: relative;

    h3 {
      font-size: 1.125rem;
      margin: 0;

      &:after {
        content: "T";
        display: inline-block;
        vertical-align: baseline;
        height: 1rem;
        width: 1rem;
        padding-top: 2px;
        margin-top: -2px;
        position: relative;
        top: -1px;
        background-color: var(--wp--preset--color--orange-medium);
        border-radius: 50%;
        margin-left: 0.5rem;
        font-size: 0.75rem;
        font-weight: 400;
      }

      .board-member & {
        &:after {
          content: "B";
          background-color: var(--wp--preset--color--purple-medium);
        }
      }
    }

    p.member-role {
      font-size: 0.875rem;
      margin: 0;
    }

    p.member-type {
      font-size: 0.75rem;
      margin: 0;
      display: inline-block;
      background-color: var(--wp--preset--color--green-medium);
      padding: 2px 4px;
      border-radius: 4px;
      position: absolute;
      top: 140px;
      left: 50%;
      transform: translateX(-50%);
    }
}

.board-member p.member-type {
  background-color: var(--wp--preset--color--purple-medium);
}

.team-member p.member-type {
  background-color: var(--wp--preset--color--orange-medium);
}

.person-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s ease;
    aspect-ratio: 1/1;
    object-fit: cover;
    &:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.1);
    }
}

.news-featured-image + .default-thumb {
  display: none;
}

#givingSelector {
  background-color: var(--wp--preset--color--orange-medium);
  padding: .5rem;
  border-radius: 3rem;
  margin-bottom: 2rem;
  width: fit-content;
  border: 1px solid var(--wp--preset--color--orange-dark);
  /* margin-top: 1rem; */

  .wp-block-button {
    margin: 0;
    padding: 1rem 2rem;
    border-radius: 4rem;
    width: 100%;
    text-align: center;

    @media (min-width: 768px) {
      width: fit-content;
    }

    &:hover:not(.selected) a {
      text-decoration: underline;
    }

    &.selected {
      background-color: var(--wp--preset--color--orange-normal);
      border: none;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
  }

  .wp-block-button__link {
    background: none;
    color: black;
    font-size: 1.25rem;
  }
}

.amount-selector-group {
  margin-top: 3rem;
  margin-bottom: 6rem;

  .wp-block-button {
    border: 1px solid var(--wp--preset--color--purple-medium);
    border-radius: 4rem;

    &:hover {
      background-color: var(--wp--preset--color--purple-light);
    }

    a {
      background: none;
      padding: 1rem 2rem;
      color: var(--wp--preset--color--purple-normal);
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      font-weight: 400;
      font-size: 1.5rem;
      letter-spacing: 0;
      text-transform: none;
    }

    &.selected {
      background-color: var(--wp--preset--color--purple-medium);
      border: 1px solid transparent;
    }
  }

  &.hidden {
    display: none;
  }
}

#form {
  margin-bottom: 6rem;
  &.hidden {
    display: none;
  }
}

.scientific-name {
  font-size: var(--wp--preset--font-size--medium);
  /* text-transform: uppercase; */
  /* letter-spacing: 0.125em; */
  display: inline-block;
  font-style: italic;
  margin-bottom: 1rem;
  background: rgba(31, 64, 24, 0.50);
  padding: 0.5rem 1.25rem;
  /* border-radius: 4rem; */
  color: white;

}

/* Webinar Grid */
.webinars-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;

  .webinar-item {
    background-color: var(--wp--preset--color--green-light);
    padding: 1rem;
  }
  lite-youtube {
    margin-bottom: 1rem;
  }

  h3 {
    font-size: var(--wp--preset--font-size--medium-large);
    font-weight: 325;
    margin: 0;
    margin-bottom: 0.5rem;
  }

  .webinar-date {
    font-size: 1rem;
    margin: 0;
    margin-bottom: 0.25rem;
    /* color: var(--wp--preset--color--green-normal); */
  }

  .webinar-description {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
  }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin: 2rem auto;
	width: 100%;
	max-width: 1440px;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media screen and (min-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-quote {
  font-size: 8rem;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', Times, serif;
  display: block;
  height: 3rem;
  margin-bottom: 1rem;
}

.testimonial-content {
    margin-bottom: 1rem;
    font-family: var(--wp--preset--font-family--heading) !important;
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--wp--preset--color--green-dark);

    p {
      margin: 0;
    }
}

.testimonial-meta {
    margin-top: auto;
    font-size: 0.9em;
}

.testimonial-author {
    font-weight: bold;
    display: block;
    font-style: normal;
}

.testimonial-role {
    color: #666;
    display: block;
}

.single-testimonial  {
  .testimonial-content {

    font-size: 1.5rem;
    text-align: center;
  }

  .testimonial-meta {
    font-size: 1.25rem;
    text-align: center;
  }

  .testimonial-quote {
    text-align: center;
  }
}

#divAmountSection {
	display: hidden !important;
}

.hidden {
	display: none !important;
}

.donate-buttons {
	display: flex !important;
	background-color: red;
}

.accomplishments-teaser figcaption {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--wp--preset--color--green-dark);

}

.accomplishments-teaser .accomplishment {
  position: relative;

  figure {
    position: relative;
    overflow: hidden;
  }

  img {
    transition: transform 0.3s ease;
  }

  &:hover {
    img {
      transform: scale(1.05);
    }
  }
}

.accomplishments-teaser a {
  width: 100%;
  text-decoration: none;
}

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

  .swiper-wrapper {
    display: flex !important;
  }
}

/* post navigation */

.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0 auto;
  max-width: 1440px;
  padding: 2rem;
  
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
  }

  p {
    margin: 0;
  }

  @media screen and (min-width: 768px) {
    gap: 3rem;
  }

  .nav-label {
    font-size: 1.25rem;
    font-weight: 600;
    /* color: var(--wp--preset--color--purple-medium); */
    margin-bottom: .5rem;
  }
}

.nav-next {
  text-align: right;
}

.footer-social-links {
  /* max-width: 330px; */
}

.footer-social-links a {
  width: 100%;
  /* content: ""; */
  /* display: none; */

  &:after {
    content: "";
    display: none;
  }
}

.wp-block-image.alignfull a, .wp-block-image.alignwide figcaption a {
  width: auto;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
  width: 100%;
  justify-content: center;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media screen and (min-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);
  }

  .event-card {
    display: flex;
    /* height: 700px; */
    /* min-height: fit-content; */
    flex-direction: column;
    text-decoration: none;
    background-color: var(--wp--preset--color--green-light);
    padding: 1rem;
    padding-bottom: 2rem;
	  /* max-width: 500px; */
    /* justify-content: space-between; */

    .event-content {
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }

    .event-link {
      margin-top: auto;
      font-size: var(--wp--preset--font-size--medium);
      border: 1px solid rgba(0, 0, 0, .5);
      width: fit-content;
      padding: 0.5rem 1rem;
      text-transform: uppercase;
      letter-spacing: 0.1rem;
      font-weight: 400;
      
    }

        .event-date {
      /* position: absolute; */
      bottom: 0rem;
      left: 0;
      width: fit-content;
      margin-bottom: 0rem;
      /* color: white; */
    }

    h3 {
      margin: 0;
      margin-bottom: .5rem;
      /* text-transform: uppercase; */
      font-size: var(--wp--preset--font-size--medium-large);
      font-weight: 300;
    }
  }

  .event-card-image-wrapper {
    position: relative;
    margin-bottom: var(--wp--custom--spacing--tw-large);

    figure {
      position: relative;
      overflow: hidden;
      margin: 0;
    }


  }
}

.publication-cards a:after {
  content: "";
  display: none;
}

.topbar-xs {
  display: block !important;

  @media screen and (min-width: 599px) {
    display: none !important;
  }
}

.topbar-s {
  display: none !important;

  @media screen and (min-width: 600px) and (max-width: 1200px) {
    display: block !important;
  }
}

.topbar-m {
  display: none !important;

  @media screen and (min-width: 1201px) and (max-width: 1459px) {
    display: block !important;
  }
}

.topbar-xl {
  display: none !important;

  @media screen and (min-width: 1460px) {
    display: block !important;
  }

}

.translated-ltr {
.topbar-xs {
  display: block !important;

  @media screen and (min-width: 599px) {
    display: none !important;
  }
}

.topbar-s {
  display: none !important;

  @media screen and (min-width: 600px) and (max-width: 1240px) {
    display: block !important;
  }
}

.topbar-m {
  display: none !important;

  @media screen and (min-width: 1241px) and (max-width: 1572px) {
    display: block !important;
  }
}

.topbar-xl {
  display: none !important;

  @media screen and (min-width: 1573px) {
    display: block !important;
  }

}
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.language-chooser-fixed {
  position: absolute;
  width: 8rem;
  justify-content: end;
  top: 0;
  right: 1.5rem;
  z-index: 1000;
}

.gtranslate_wrapper {
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.5rem;

  a {
    font-family: "futura-pt", sans-serif;
    font-weight: 500;
    letter-spacing: 0.1rem;
    font-style: normal;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--wp--preset--color--purple-medium);

    &.gt-current-lang {
      color: #333;
    }
  }
}

.form-salesforce {

  .form-fields {
    margin-bottom: 3rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  /* .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  } */

  .form-group label {
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .form-group input[type="text"],
  .form-group input[type="email"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  .form-group input[type="submit"] {
    border: 2px solid black;
    background-color: transparent;
    border-radius: 0;
    cursor: pointer;
    font-weight: 350;
    letter-spacing: 0.05em;
    padding-inline: 2rem;
  }
  
  .form-group input[type="submit"]:hover {
    background-color: #fff;
  }
}




.impact-carousel .swiper-wrapper {
  align-items: stretch;
}

.impact-carousel .swiper-slide {
  height: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--wp--preset--color--purple-normal) !important;
}

.quote-author {
  font-style: normal !important;
}

.donate-page #mobile-donate-button {
  display: none !important;
}

.language-en {
  display: none !important;
}

html.translated-ltr {
  .language-es {
    display: none !important;
  }

  .language-en {
    display: block !important;
  }
}

/* Language Switcher Styles */
.language-en, .language-es {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.language-en:hover, .language-es:hover {
    opacity: 0.8;
}

/* If the elements are in a navigation menu */
.wp-block-navigation .language-en,
.wp-block-navigation .language-es {
    display: inline-flex;
    align-items: center;
}

.copyright a:hover {
  text-decoration: underline;
  color: var(--wp--preset--color--green-light);
}

.hero-button a {
  border: 1px solid white !important;
  background-color: transparent !important;
}

.hero-button a:hover {
  background-color: rgba(0, 0, 0, .2) !important;
  border: 1px solid white !important;
}

.is-futura {
  font-family: "futura-pt", sans-serif !important;
  font-weight: 400 !important;
}

/* Event Card Styles */
.event-link {
    margin-top: 1rem;
}

.get-tickets {
    display: inline-block;
    transition: transform 0.2s ease;
}

/* .event-card:hover .get-tickets {
    transform: translateX(5px);
    text-decoration: underline;
} */

.news-cards-wrapper {
  align-items: stretch;
}

.news-card {
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
  /* box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1); */
  position: relative;
  display: flex;
  flex-direction: column;

  &:hover {
    transform: scale(1.01);
    /* box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25); */
  }
}

/* News card image zoom effect */
.news-card figure, .event-card figure {
  overflow: hidden;
  /* border-radius: 4px; */
}

.news-card img, .event-card img {
  transition: transform 0.3s ease;
}

.news-card:hover img, .event-card:hover img {
  transform: scale(1.025);
}

.news-teaser-card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.news-teaser-card-content h3 {
  margin: 0;
  margin-bottom: 0.5rem;
}

.news-teaser-card-date {
  margin-top: auto;
  padding-top: 1rem;
}

/* Styles for childpage button */
.childpage-button {
  margin-top: 1rem;
}

.childpage-button .wp-block-button__link {
  padding: 0;
  color: #333;
  border: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, .2);
  border-radius: 0;
  transition: all 0.3s ease;
  background-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.childpage-card:hover .childpage-button .wp-block-button__link {
  background-color: transparent;
  border-bottom: 1px solid black;
}

.newsflash-banner {
    background-color: #fcc474;
    color: #000;
    padding: 10px;
    text-align: center;
    font-weight: 350;
    position: relative;
    a {
      color: #000;
      text-decoration: underline;
    }

    .newsflash-close {
      position: absolute;
      top: 4px;
      right: 1rem;
      cursor: pointer;
      font-size: 1.5rem;
      font-weight: 300;
    }
}

.impact-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.impact-stats > * {
  flex: 1;
  flex-basis: 360px;
}

/* Constant Contact */

.ctct-form-container.ctct-form-embed {
  label {
    font-size: 1.25rem !important;
font-family: var(--wp--preset--font-family--gotham) !important;    
font-weight: 400 !important;
  }
  .ctct-form-defaults {
    background: none !important;
  }

  .ctct-form-button {
    border:2px solid var(--wp--preset--color--purple-normal) !important;
    background: none !important;
    color:var(--wp--preset--color--purple-normal) !important;
    font-family: var(--wp--preset--font-family--gotham) !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 1rem !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    
    &:hover {
      background-color: var(--wp--preset--color--purple-normal) !important;
      color: white !important;
    }
  }
}

.fight-for-grid {
  grid-template-columns: 1fr !important;
  gap: 2rem;

  @media screen and (min-width: 768px) {
    grid-template-columns: 1fr 1fr !important;
  }

  @media screen and (min-width: 1024px) {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}

.hero-ticket-button {
  .wp-block-buttons {
    justify-content: center;
  }
}

.grecaptcha-badge {
  position: relative !important;
  top: 2rem !important;
  right: 0 !important;
}

.partner-title {
  text-decoration: none !important;
  font-size: var(--wp--preset--font-size--medium) !important;
  position: relative;

  a {
    text-decoration: none !important;
    display: inline;
    position: relative;


  }
}

svg.external-link-icon {
  display: inline-block;
  width: 1em;           
  height: 1em;    
  position: relative;
  top: 0.125em;
  /* margin-inline-start: 0.25em;
  vertical-align: -0.125em; */
}

.event-details-button a {
  color: black !important;
}

.mobile-reverse {
	flex-direction: row-reverse !important;
}