.fundraisers-public-shell {
  --fundraisers-primary: #ee0979;
  --fundraisers-secondary: #ff6a00;
  --fundraisers-hover-start: #23bdb8;
  --fundraisers-hover-end: #43e794;
  --fundraisers-field-shadow: 0 5px 28.5px 1.5px rgba(149, 152, 200, .2);
  min-height: 100vh;
  overflow-x: hidden;
  background: #f5f8fb;
  color: #1d2738;
}

.fundraisers-public-shell,
.fundraisers-public-shell * {
  box-sizing: border-box;
}

.fundraisers-public-wrap {
  width: 94%;
  max-width: 1180px;
  margin: 0 auto;
}

.fundraisers-public-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 -18px 24px;
  padding: 14px 18px;
  border: 1px solid rgba(29, 39, 56, 0.08);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(29, 39, 56, 0.08);
  backdrop-filter: blur(12px);
}

.fundraisers-public-logo,
.fundraisers-public-logo:hover {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111;
  text-decoration: none;
}

.fundraisers-public-logo img {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(220, 53, 6, 0.18);
}

.fundraisers-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.fundraisers-logo-text strong {
  color: #111;
  font-size: 34px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}

.fundraisers-logo-text small {
  align-self: flex-start;
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(220, 53, 6, 0.1);
  color: #dc3506;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fundraisers-public-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fundraisers-public-nav a {
  color: #506070;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.fundraisers-public-nav a:hover {
  color: #136f63;
}

.fundraisers-public-nav .fundraisers-nav-cta {
  min-height: 38px;
  padding: 0 16px;
}

.fundraisers-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
  padding: 42px;
  border: 1px solid rgba(29, 39, 56, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(29, 39, 56, 0.09);
}

.fundraisers-kicker {
  margin: 0 0 12px;
  color: #136f63;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fundraisers-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #17233c;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.fundraisers-hero p {
  max-width: 650px;
  margin: 16px 0 0;
  color: #5f6f82;
  font-size: 17px;
  line-height: 1.6;
}

.fundraisers-button,
.fundraisers-nav-cta {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--fundraisers-field-shadow);
  transition: color .5s, box-shadow .5s, transform .18s ease;
  z-index: 1;
}

.fundraisers-button:before,
.fundraisers-button:after,
.fundraisers-nav-cta:before,
.fundraisers-nav-cta:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transition: opacity .5s, visibility .5s;
}

.fundraisers-button:before,
.fundraisers-nav-cta:before {
  background: linear-gradient(90deg, var(--fundraisers-primary) 0%, var(--fundraisers-secondary) 100%);
}

.fundraisers-button:after,
.fundraisers-nav-cta:after {
  background: linear-gradient(135deg, var(--fundraisers-hover-start) 0%, var(--fundraisers-hover-end) 100%);
  opacity: 0;
  visibility: hidden;
}

.fundraisers-button:hover,
.fundraisers-button:focus,
.fundraisers-nav-cta:hover,
.fundraisers-nav-cta:focus {
  background: transparent;
  color: #fff !important;
  text-decoration: none;
  box-shadow: var(--fundraisers-field-shadow);
  outline: 0;
}

.fundraisers-button:hover:before,
.fundraisers-button:focus:before,
.fundraisers-nav-cta:hover:before,
.fundraisers-nav-cta:focus:before {
  opacity: 0;
  visibility: hidden;
}

.fundraisers-button:hover:after,
.fundraisers-button:focus:after,
.fundraisers-nav-cta:hover:after,
.fundraisers-nav-cta:focus:after {
  opacity: 1;
  visibility: visible;
}

.fundraisers-button i {
  font-size: 18px;
  line-height: 1;
}

.fundraiser-category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.fundraiser-category-tile {
  display: grid;
  gap: 9px;
  place-items: center;
  min-height: 116px;
  padding: 14px 8px;
  border: 1px solid rgba(29, 39, 56, 0.08);
  border-radius: 8px;
  background: #fff;
  color: #1d2738;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.fundraiser-category-tile span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f5f8fb;
  color: #17233c;
}

.fundraiser-category-tile i {
  font-size: 28px;
}

.fundraiser-category-tile strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.fundraiser-category-tile:hover,
.fundraiser-category-tile.active {
  border-color: rgba(19, 111, 99, 0.35);
  box-shadow: 0 14px 28px rgba(19, 111, 99, 0.1);
  color: #136f63;
  text-decoration: none;
  transform: translateY(-2px);
}

.fundraisers-filter {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 260px auto;
  gap: 12px;
  align-items: center;
  margin: 28px 0 8px;
  padding: 14px;
  border: 1px solid rgba(29, 39, 56, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.fundraisers-filter-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(29, 39, 56, 0.16);
  border-radius: 8px;
  background: #fff;
}

.fundraisers-filter-field i {
  color: #136f63;
  font-size: 20px;
}

.fundraisers-filter input,
.fundraisers-filter select {
  width: 100%;
  height: 44px;
  margin: 0;
  border: 0;
  color: #1d2738;
  font-size: 14px;
  outline: 0;
}

.fundraisers-filter select {
  display: block;
}

.fundraisers-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 34px 0 18px;
}

.fundraisers-section-heading h2 {
  margin: 0;
  color: #17233c;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.fundraisers-section-heading p {
  margin: 6px 0 0;
  color: #6a7788;
}

.fundraiser-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.fundraiser-card {
  overflow: hidden;
  border: 1px solid rgba(29, 39, 56, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(29, 39, 56, 0.08);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.fundraiser-card:hover {
  box-shadow: 0 18px 42px rgba(29, 39, 56, 0.13);
  transform: translateY(-2px);
}

.fundraiser-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: #fff;
}

.fundraiser-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.fundraiser-card:hover .fundraiser-card-media img {
  transform: scale(1.04);
}

.fundraiser-card-media span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(23, 35, 60, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.fundraiser-card-media span i {
  font-size: 16px;
}

.fundraiser-card-body {
  padding: 16px;
}

.fundraiser-card-title {
  display: block;
  color: #17233c;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.18;
  text-decoration: none;
}

.fundraiser-card-title:hover {
  color: #dc3506;
  text-decoration: none;
}

.fundraiser-card-body p {
  min-height: 48px;
  margin: 9px 0 14px;
  color: #5f6f82;
  font-size: 14px;
  line-height: 1.55;
}

.fundraiser-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf2;
}

.fundraiser-progress span {
  display: block;
  height: 100%;
  min-width: 5%;
  border-radius: 999px;
  background: #56bf49;
}

.fundraiser-card-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.fundraiser-card-footer strong {
  color: #17233c;
  font-size: 15px;
  font-weight: 900;
}

.fundraiser-card-footer small {
  color: #6a7788;
  font-size: 12px;
}

.fundraiser-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  color: #6a7788;
  font-size: 12px;
}

.fundraiser-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fundraiser-card-meta i {
  font-size: 15px;
}

.fundraisers-pagination {
  margin: 28px 0 48px;
}

.fundraisers-pagination .pagination {
  justify-content: center;
}

.fundraisers-empty {
  display: grid;
  place-items: center;
  padding: 54px 24px;
  border: 1px dashed rgba(29, 39, 56, 0.18);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.fundraisers-empty i {
  color: #136f63;
  font-size: 44px;
}

.fundraisers-empty h2 {
  margin: 12px 0 6px;
  color: #17233c;
  font-size: 24px;
  font-weight: 800;
}

.fundraisers-empty p {
  margin: 0;
  color: #6a7788;
}

@media (max-width: 1100px) {
  .fundraiser-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .fundraiser-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .fundraisers-public-wrap {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0 16px;
  }

  .fundraisers-public-topbar,
  .fundraisers-public-nav,
  .fundraisers-hero,
  .fundraisers-filter,
  .fundraisers-section-heading {
    display: block;
  }

  .fundraisers-public-nav {
    margin-top: 14px;
  }

  .fundraisers-public-topbar {
    margin-left: 0;
    margin-right: 0;
  }

  .fundraisers-public-nav a {
    display: inline-block;
    margin: 0 10px 8px 0;
  }

  .fundraisers-hero {
    padding: 26px;
  }

  .fundraisers-hero h1 {
    font-size: 30px;
    max-width: calc(100vw - 84px);
    overflow-wrap: break-word;
  }

  .fundraisers-hero p {
    max-width: calc(100vw - 84px);
  }

  .fundraisers-hero .fundraisers-button {
    margin-top: 22px;
    max-width: 280px;
    width: 100%;
  }

  .fundraiser-category-grid {
    display: flex;
    gap: 12px;
    margin-left: -16px;
    margin-right: -16px;
    overflow-x: auto;
    padding: 0 16px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .fundraiser-category-grid::-webkit-scrollbar {
    display: none;
  }

  .fundraiser-category-tile {
    flex: 0 0 164px;
    scroll-snap-align: start;
  }

  .fundraisers-filter-field,
  .fundraisers-filter .fundraisers-button {
    margin-top: 10px;
    width: 100%;
  }

  .fundraiser-card-footer {
    display: block;
  }

  .fundraiser-card-footer small {
    display: block;
    margin-top: 4px;
  }

  .fundraiser-card-grid {
    grid-template-columns: 1fr;
  }
}
