/* ==========================================================
   OUR PARTNERS & SUPPORTERS page template
   Loaded only on pages using page-templates/our-partners.php
   ========================================================== */
.our-partners { padding-top: 0; }

/* HERO */
.op2-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 1.5rem 4rem;
}
.op2-hero-bg { position: absolute; inset: 0; z-index: 0; }
.op2-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.op2-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(43,31,18,0.7) 0%, rgba(217,154,43,0.45) 100%);
}
.op2-hero-content {
  position: relative; z-index: 1;
  max-width: 56rem;
  text-align: center;
  color: #fff;
}
.op2-hero-content .eyebrow {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.op2-hero-content .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
.op2-hero-content h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  margin: 1rem 0 0;
  line-height: 1.1;
}

/* NARRATIVE */
.op2-narrative { padding: 5rem 1.5rem; }
.op2-narrative .inner-content {
  font-size: 1.1rem;
  line-height: 1.85;
}
.op2-narrative .inner-content p { color: var(--muted-foreground); margin: 0 0 1.25rem; }
.op2-narrative .inner-content p:first-child::first-letter {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  float: left;
  line-height: 0.9;
  margin: 0.35rem 0.6rem 0 0;
}

/* SECTIONS */
.op2-section { padding: 4rem 0 5rem; }
.op2-sponsors { background: var(--card); border-top: 1px solid var(--border); }
.op2-supporters { background: var(--background); border-top: 1px solid var(--border); }
.op2-head { margin-bottom: 2.5rem; padding: 0 1.5rem; }
.op2-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin: 0.75rem 0 0;
}

/* MARQUEE */
.op2-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.op2-marquee:hover .op2-track { animation-play-state: paused; }
.op2-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding: 0.5rem 0;
  animation: op2Slide var(--op2-duration, 40s) linear infinite;
}
.op2-marquee--reverse .op2-track { animation-direction: reverse; }
@keyframes op2Slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* SPONSOR LOGO TILE */
.op2-logo {
  flex: 0 0 auto;
  width: 200px;
  height: 110px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.op2-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -14px rgba(0,0,0,0.2);
}
.op2-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.25s, opacity 0.25s;
}
.op2-logo:hover img { filter: none; opacity: 1; }
.op2-logo-placeholder {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--muted-foreground);
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* SUPPORTER NAME PILL */
.op2-name {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--foreground);
  white-space: nowrap;
  box-shadow: 0 4px 14px -8px rgba(0,0,0,0.12);
  transition: transform 0.25s, color 0.25s, border-color 0.25s;
}
.op2-name svg { color: var(--primary); flex-shrink: 0; }
.op2-name:hover {
  transform: translateY(-2px);
  color: var(--primary);
  border-color: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
  .op2-track { animation: none; }
}
