.supporters-section {
  background: #f5f2eb;
}

.supporters-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.supporters-heading h2 {
  margin: 0;
  font-size: clamp(2.05rem, 1.7rem + 1.75vw, 3.4rem);
  line-height: 1.08;
}

.supporters-heading h2 em {
  color: var(--pink);
  font-style: normal;
}

.supporters-heading p {
  margin: 0;
  color: #5e5a66;
}

.supporters-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.supporters-grid-preview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.supporter-card {
  min-width: 0;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(31, 21, 58, .07);
}

.supporter-card article {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.supporter-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(11rem, 19vw, 16rem);
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, #171138, #32216f 64%, #4a205f);
  color: #fff;
}

button.supporter-visual {
  width: 100%;
  padding: 0;
  cursor: zoom-in;
}

.supporter-visual img.supporter-photo {
  width: 100%;
  height: 100%;
  min-height: inherit;
  max-height: 19rem;
  object-fit: contain;
  background: #171138;
}

.supporter-motif {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: center;
  width: min(88%, 18rem);
}

.supporter-motif img {
  width: clamp(3.75rem, 5vw, 5.25rem);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .2));
}

.supporter-motif span {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(.72rem, .66rem + .2vw, .86rem);
  color: rgba(255, 255, 255, .7);
}

.supporter-motif strong {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: clamp(1.35rem, 1.08rem + 1vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--cyan);
}

.supporter-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.supporter-content time {
  order: -1;
  margin-bottom: .85rem;
  color: #77727d;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.supporter-content h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.25rem, 1.1rem + .55vw, 1.7rem);
  line-height: 1.2;
}

.supporter-content .supporter-amount {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--violet);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: clamp(1.5rem, 1.25rem + .85vw, 2rem);
  font-weight: 800;
}

.supporter-homepage,
.additional-support-card a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--violet);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

.supporter-amount + .supporter-homepage {
  margin-top: .75rem;
}

.supporters-empty {
  padding: 2rem;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
  color: #5e5a66;
}

.supporters-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin-top: 2.25rem;
}

.supporters-more p {
  min-height: 1.5rem;
  margin: 0;
  color: #5e5a66;
}

.supporters-all {
  margin-top: 2.25rem;
}

.additional-support-section {
  background: #fff;
}

.supporters-section + .additional-support-section {
  border-top: 1px solid var(--line);
}

.additional-support-heading {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(20rem, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.additional-support-heading h2 {
  margin: 0;
  font-size: clamp(2.05rem, 1.7rem + 1.75vw, 3.4rem);
  line-height: 1.08;
}

.additional-support-heading h2 em {
  color: var(--pink);
  font-style: normal;
}

.additional-support-heading p {
  margin: 0;
  color: #5e5a66;
}

.additional-support-categories {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}

.additional-support-category > h3 {
  margin: 0 0 1.35rem;
  font-size: clamp(1.7rem, 1.45rem + 1vw, 2.4rem);
  text-transform: none;
}

.additional-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.additional-support-card {
  min-width: 0;
}

.additional-support-card article {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 13rem;
  padding: clamp(1.35rem, 2.7vw, 2rem);
  border-top: 5px solid var(--cyan);
  background: #f5f2eb;
}

.additional-support-category + .additional-support-category .additional-support-card article {
  border-top-color: var(--pink);
}

.additional-support-card h4 {
  margin: 0 0 .8rem;
  overflow-wrap: anywhere;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: clamp(1.3rem, 1.12rem + .55vw, 1.7rem);
  line-height: 1.18;
  text-transform: uppercase;
}

.additional-support-card p {
  margin: 0;
  color: #5e5a66;
}

.supporter-homepage:focus-visible,
.additional-support-card a:focus-visible {
  outline: 4px solid var(--cyan);
  outline-offset: 4px;
}

.supporters-hero {
  padding: clamp(10rem, 16vw, 13rem) 0 clamp(4.5rem, 8vw, 7rem);
  background: radial-gradient(circle at 85% 10%, rgba(239, 43, 139, .28), transparent 32%), linear-gradient(135deg, #171138, #32216f);
  color: #fff;
}

.supporters-hero h1 {
  max-width: none;
  font-size: clamp(3rem, 2.2rem + 4vw, 6rem);
}

.supporters-hero h1 em {
  display: inline;
  color: var(--cyan);
}

.supporters-hero p:last-child {
  max-width: 48rem;
  margin: 1.75rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, .94rem + .25vw, 1.16rem);
}

.photo-dialog {
  width: min(92vw, 74rem);
  max-height: 92vh;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 0;
  background: #111020;
  box-shadow: 0 35px 120px rgba(0, 0, 0, .5);
}

.photo-dialog::backdrop {
  background: rgba(8, 7, 18, .86);
}

.photo-dialog img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 3rem);
  object-fit: contain;
}

.photo-dialog-close {
  position: absolute;
  z-index: 2;
  top: .65rem;
  right: .65rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(17, 16, 32, .82);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
}

.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;
}

.supporter-visual:focus-visible,
.photo-dialog-close:focus-visible,
.supporters-more button:focus-visible {
  outline: 4px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .supporters-grid,
  .supporters-grid-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supporters-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .additional-support-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

@media (max-width: 620px) {
  .supporters-grid,
  .supporters-grid-preview {
    grid-template-columns: 1fr;
  }

  .supporter-visual {
    min-height: 13rem;
  }

  .supporter-content {
    min-height: 9.5rem;
  }

  .supporters-hero {
    padding-top: 8.5rem;
  }

  .additional-support-grid {
    grid-template-columns: 1fr;
  }

  .additional-support-card article {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-dialog {
    scroll-behavior: auto;
  }
}
