.ago32-gallery-board,
.ago32-video-proof {
  width: 100%;
  margin: clamp(22px, 5vw, 54px) auto;
  color: #fffaf0;
  background: #171a14;
  padding: clamp(24px, 4vw, 48px) max(16px, calc((100vw - 1180px) / 2));
  border-block: 1px solid rgba(214, 183, 106, 0.24);
}

.ago32-gallery-head,
.ago32-video-copy {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.ago32-kicker {
  color: #d6b76a;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ago32-gallery-board h2,
.ago32-video-proof h2 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.ago32-gallery-board p,
.ago32-video-proof p {
  margin: 0;
  color: rgba(247, 240, 223, 0.82);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.5;
}

.ago32-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 14px;
}

.ago32-gallery-filters button {
  min-height: 40px;
  border: 1px solid rgba(214, 183, 106, 0.34);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.06);
  color: #fffaf0;
  padding: 0 12px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
}

.ago32-gallery-filters button[aria-pressed="true"] {
  background: #0e786b;
  border-color: #70d2bf;
}

.ago32-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.ago32-gallery-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  color: #fffaf0;
  text-decoration: none;
  background: #0f1410;
}

.ago32-gallery-card[data-ago32-hidden] {
  display: none;
}

.ago32-gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(0.98) contrast(1.03);
  transform: scale(1.01);
  transition: transform 380ms ease, filter 380ms ease;
}

.ago32-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.58));
}

.ago32-gallery-card span,
.ago32-gallery-card em {
  position: absolute;
  z-index: 1;
  left: 12px;
  right: 12px;
}

.ago32-gallery-card span {
  bottom: 38px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.1;
}

.ago32-gallery-card em {
  bottom: 14px;
  color: #f2cf76;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.ago32-gallery-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.08);
}

.ago32-video-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(18px, 4vw, 38px);
  align-items: center;
}

.ago32-video-proof video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  background: #0f1410;
}

.ago32-video-copy a {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #d6b76a;
  color: #161812;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 900;
}

footer[data-ago32-compact="true"],
.site-footer[data-ago32-compact="true"] {
  --ago32-footer-gap: clamp(12px, 2vw, 20px);
}

.ago32-footer-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 var(--ago32-footer-gap, 16px);
}

.ago32-footer-strip a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid rgba(214, 183, 106, 0.28);
  color: inherit;
  padding: 0 11px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 850;
}

@media (max-width: 1080px) {
  .ago32-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ago32-video-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ago32-gallery-board,
  .ago32-video-proof {
    padding-inline: 11px;
  }

  .ago32-gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .ago32-gallery-filters button {
    flex: 0 0 auto;
  }

  .ago32-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ago32-gallery-card,
  .ago32-gallery-card img {
    min-height: 174px;
  }

  .ago32-gallery-card span {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ago32-gallery-card img {
    transition: none;
  }
}
