/* General */

.fade-in,
.fade-in-up {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible,
.fade-in-up.is-visible {
  opacity: 1;
}

.fade-in-up {
  transform: translateY(20px);
}

.fade-in-up.is-visible {
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.25s; }

.resource-highlight-cards,
.resource-feature,
.resource-partners {
  padding: 24px 0;
}

.resource-highlight-cards h2,
.resource-highlight-cards h3,
.resource-feature h2,
.resource-partners h2 {
  color: #262E38;
  margin-top: 0;
}


/* Banner */
.banner-resources {
  overflow: hidden;
}

.banner-resources a {
  display: block;
}

.banner-resources img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: 
    opacity 0.7s ease,
    transform 0.3s ease;
}

.banner-resources.is-visible img {
  opacity: 1;
}

.banner-resources:hover img {
  transform: scale(1.03);
}



/* Card overlap section */

.resource-highlight {
  background: #8bc53f;
  padding: 45px 0;
  position: relative;
  z-index: 1;
}

.resource-highlight--dark {
  background: #262e38;
}

.resource-highlight h1,
.resource-highlight h2,
.resource-highlight p {
  color: #fff;
  margin-top: 0;
}

.resource-highlight-cards .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-img-wrapper {
  overflow: hidden;
}

.card-img-wrapper img {
  transition: transform 0.4s ease;
}

.card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

@media (min-width: 768px) {
  .resource-highlight {
    padding: 60px 0 160px;
  }

  .resource-highlight p {
    font-size: 20px;
  }

  .resource-highlight-cards {
     margin-top: -130px;
     position: relative;
     z-index: 2;
  }
}






/* Data highlight section */

.resource-data-highlights p {
  margin-bottom: 0;
}

.resource-data-highlights .card-body {
    padding: 0;
}

.resource-data-highlights .card {
    padding: 24px;
}

.resource-data-highlights .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.resource-data-highlights .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  background-color: #f8f9fa;
}

.resource-data-highlights svg {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  display: block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.resource-data-highlights .card:hover svg {
  transform: scale(1.1);
}

.resource-data-highlights a svg {
    width: 28px;
    height: 28px;
    fill: #262e38;
    transition: all 0.3s;
}

.resource-data-highlights a:hover svg {
    fill: #8bc53f;
}

@media (min-width: 768px) {
  .resource-data-highlights h3 {
    margin-top: 0;
  }

  .resource-highlight-cards-inner {
    background: #fff;
    border-radius: 16px;
    padding: 16px 16px 0;
  }
}







/* Resource feature section */

.resource-feature .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-feature .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.resource-feature img {
  transition: transform 0.6s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-feature .card:hover img {
  transform: scale(1.05);
}

.resource-feature .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.resource-feature .card:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .resource-feature .card:hover {
    transform: none;
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  }
}



/* Accordion */

.hide-title-rss table.ZineTools,
.hide-title-rss .ZineArticle.Zine_accordion,
.hide-title-rss .ZinePath {
  display: none;
}

.resource-highlight-cards .ZineIndex {
  background: #fff;
  border-radius: .25rem;
}

.resource-highlight-cards .Zine .ZineIndex th.accordioncontrol {
  color: #8bc53f;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .125);
}

.resource-highlight-cards .Zine .ZineIndex .accordioncontrolicon img {
  filter: none;
}

.resource-highlight-cards .Zine .ZineIndex th.accordioncontrol .accordioncontrol {
  padding: 24px;
}

@media (min-width: 768px) {
  .resource-highlight-cards .ZineIndex {
    padding: 24px 24px 0;
  }
}



/* Breadcrumb */

.breadcrumb {
    background-color: #e9ecef;
    margin: 0;
}

.pmenu,
.pmenu a {
    font-size: 13px;
}

.pmenu a {
    margin: 0 5px;
    font-weight: 500;
}

.pmenu a::after {
    content: none;
}

.pmenu a:first-child {
    margin-left: 0;
}

.pmenu a:last-child {
    margin-right: 0;
}

.pmenu a:hover,
.pmenu a:active,
.pmenu a:focus {
    color: #8bc53f;
}


/* Funders & Partners */

.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 4vw, 24px);
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-list li {
  flex: 0 1 clamp(180px, 15vw, 230px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-list img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
}

.partner-list img {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.partner-list a:hover img {
  transform: scale(1.05);
}