﻿.gallery-section {
  display: flex;
  padding: 80px 96px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  align-self: stretch;
}
.camp-gallery {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.camp-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.camp-card > img {
  width: 554px;
  height: 315px;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
}

.camp-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.camp-text-content .heading-text-box {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

.camp-text-content .heading-text-box > a:first-child {
  flex: 1 0 0;
  color: #101828;
  font-family: "MavenPro-SemiBold";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
}
.camp-cta-box {
  display: flex;
  justify-content: center;
  align-items: center;
}
.camp-cta-box a {
  display: flex;
  color: #015888;
  gap: 12px;
  font-family: "MavenPro-SemiBold";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
.camp-cta-box a:hover,
.camp-cta-box a:focus-visible {
  color: #00446a;
}
.camp-cta-box a img {
  width: 24px;
  height: 24px;
  aspect-ratio: 1 / 1;
  transform-origin: 20% 80%;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.2s ease;
  will-change: transform;
}
.camp-cta-box a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(1, 88, 136, 0.2);
}

.camp-cta-box a:hover img {
  transform: translate(6px, -6px) rotate(-18deg);
}

.camps-progress {
  display: flex;
  padding: 0px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  align-self: stretch;
  border-radius: 8px;
  background: #fff;
}

.camps-progress-bar {
  position: relative;
  height: 8px;
  border-radius: 8px;
  width: 100%;
  background: white;
  overflow: hidden;
}

.camps-progress-bg {
  position: absolute;
  inset: 0;
  background: #eaecf0;
  border-radius: inherit;
}

.camps-progress-fg {
  position: absolute;
  inset: 0;
  background: #006ba6;
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(0);
  width: 100% !important;
  will-change: transform;
}
.camps-funding-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
}
.camps-funding-info .camps-funding-info-item:first-child span {
  color: var(--colors-text-text-secondary-700, #344054);
  text-align: center;

  font-family: "MavenPro-SemiBold";
  font-size: 14px;
  font-style: normal;
  line-height: 20px;
}
.camps-funding-info .camps-funding-info-item:nth-child(2) span {
  color: var(--colors-text-text-quarterary-500, #667085);
  text-align: center;
  font-family: "MavenPro-Medium";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}

.camps-progress.animate .camps-progress-fg {
  animation: campsFill 1200ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.camps-progress.animate .camps-progress-fg::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 14px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  opacity: 0.35;
}

@keyframes campsFill {
  to {
    transform: scaleX(calc(var(--p, 0) / 100));
  }
}

@media (prefers-reduced-motion: reduce) {
  .camps-progress.animate .camps-progress-fg {
    animation: none;
    transform: scaleX(calc(var(--p, 0) / 100));
  }
}

.load-more-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg, 12px);
  cursor: pointer;
}
.load-more-btn p {
  color: #015888;
  font-family: "MavenPro-SemiBold";
  font-size: 18px;
  font-style: normal;
  line-height: 28px;
}
.load-more-btn img {
  width: 24px;
  height: 24px;
}
/* *************************************************************** */

/* *************************************************************** */

/* *************************************************************** */
.gallery-category-tabs-sort-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
.gallery-category-tabs-container {
  display: flex;
  max-width: 80%;
  align-items: center;
  gap: 12px;
  overflow-x: hidden;
}

.gallery-category-tabs-scroll-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 12px;
  flex: 1;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  scrollbar-width: none;
}
.gallery-category-tabs-scroll-wrapper {
  height: 44px;
  align-items: center;
  transform: translateZ(0);
  will-change: scroll-position;
}
.gallery-category-tabs-scroll-wrapper::-webkit-scrollbar {
  display: none;
}
.gallery-category-tabs-scroll-wrapper.dragging {
  cursor: grabbing;
}

.gallery-category-tabs-arrow {
  flex-shrink: 0;
  cursor: pointer;
}

.gallery-category-tabs-arrow img {
  width: 24px;
  height: 24px;
}

.category-tab-box {
  flex: 0 0 auto;
  padding: 2px 14.286px;
  align-items: center;
  border-radius: 13791.725px;
  border-radius: 9999px;
  border: 1.4px solid #eaecf0;
  background: #f9fafb;
  cursor: pointer;
  white-space: nowrap;
}

.category-tab-box p {
  color: var(--Component-colors-Utility-Gray-utility-gray-700, #344054);
  text-align: center;
  font-family: "MavenPro-Medium";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28.571px;
}
.category-tab-box.active {
  border: 1.4px solid #b2ddff;
}

.category-tab-box.active p {
  color: #175cd3;
}
.calendar-sort-download-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  width: 18%;
  align-self: stretch;
}
.custom-dropdown-wrapper {
  width: 100%;
  height: 100%;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  gap: 8px;
}

.custom-dropdown-container {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 6px;
  position: relative;
}

.custom-dropdown-toggle {
  padding: 10px 14px;
  background: white;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Maven Pro", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #101828;
  justify-content: space-between;
}

.custom-dropdown-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  transition: transform 0.1s ease-in;
}
.custom-dropdown-toggle:hover .custom-dropdown-icon {
  transform: rotate(180deg);
  transition: transform 0.1s ease-in;
}

.custom-dropdown-menu {
  display: none;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: white;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  position: absolute;
  top: 55px;
  z-index: 100;
  width: 100%;
  min-width: 150px;
}

.custom-dropdown-option {
  padding: 10px 14px;
  cursor: pointer;
  font-family: "Maven Pro", sans-serif;
  font-size: 16px;
  color: #101828;
}

.custom-dropdown-option:hover {
  background-color: #f0f0f0;
}
@media screen and (min-width: 2560px) {
  .gallery-section {
    padding: 3.125vw 13.75vw;
    gap: 1.875vw;
  }
  .camp-gallery {
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25vw;
  }
  .camp-card > img {
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 1728px) {
  .camp-gallery {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .camp-card > img {
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 1280px) {
  .camp-gallery {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .camp-card > img {
    width: 100%;
    height: auto;
  }
  .camp-text-content .heading-text-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media screen and (max-width: 542px) {
  .gallery-section {
    padding: 80px 32px;
    width: 100%;
  }
  .camp-gallery {
    grid-template-columns: 1fr;
  }
  .camp-card {
    width: 100%;
  }
  .camp-card > img {
    width: 100%;
    height: auto;
  }
  .gallery-category-tabs-sort-container {
    flex-direction: column;
    gap: 24px;
  }
  .gallery-category-tabs-container {
    max-width: 100%;
  }
  .calendar-sort-download-container {
    width: 100%;
  }
}
