/* ─── DS KONGEN — Golisto Partnership Page ─── */
/* Scoped to template-golisto.php only (enqueued conditionally in functions.php). */

/* Section titles on this page use real <h2>/<h1> tags for SEO while keeping
   the site's existing .section-title look — neutralise UA heading defaults
   so the nested heading renders exactly like the sibling <span>. */
.section-title h1,
.section-title h2 { all: inherit; display: block; }

/* ─── Mini hero ─── */
.gp-hero {
  position: relative; overflow: hidden;
  padding: 64px 24px 72px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #0e3d35 0%, #0a1628 45%, #080e1c 100%);
}
.gp-hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,124,107,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,124,107,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black 30%, transparent 80%);
}
.gp-hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.gp-hero-title {
  font-family: var(--body); font-weight: 900; text-transform: uppercase;
  font-size: clamp(28px, 4.4vw, 46px); line-height: 1.15;
  color: var(--gold); letter-spacing: 0.5px;
  text-shadow: 3px 3px 0 #4a3600, 0 0 30px rgba(255,215,0,0.25);
  margin: 0 0 18px;
}
.gp-hero-lede {
  font-family: var(--prose); font-size: 18px; color: var(--text);
  max-width: 640px; margin: 0 auto 32px; line-height: 1.6;
}
.gp-hero-media { margin: 0 auto 36px; max-width: 880px; }
.gp-hero-img {
  display: block; width: 100%; height: auto; border-radius: 16px;
  border: 1px solid rgba(255,215,0,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 60px rgba(255,215,0,0.06);
}

/* ─── Prose width on this page (matches other prose pages) ─── */
.gp-prose { margin: 0 auto 28px; }
.gp-prose:last-child { margin-bottom: 0; }

/* ─── Feature grid (facts, not links — no hover-pointer, no count line) ─── */
.gp-feature-grid { margin: 8px auto 32px; max-width: 1400px; }
.gp-feature-grid .cat-card { cursor: default; }
.gp-feature-grid .cat-name { margin-bottom: 0; }

/* ─── Closing partner banner (gold/teal variant of the sale banner) ─── */
.partner-banner {
  margin: 0 60px;
  background: linear-gradient(135deg, #0d2a24 0%, #0a1628 100%);
  border: 1px solid rgba(255,215,0,0.25);
  padding: 48px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden; border-radius: 16px; flex-wrap: wrap;
}
.partner-banner::before {
  content: '♛'; position: absolute; right: -10px; top: 50%;
  transform: translateY(-50%);
  font-size: 140px; line-height: 1; color: rgba(255,215,0,0.05);
  pointer-events: none;
}
.partner-banner-text { position: relative; z-index: 1; max-width: 620px; }
.partner-banner-text h2 {
  font-family: var(--body); font-weight: 900; font-size: 36px;
  color: var(--text); line-height: 1.15; text-transform: uppercase;
  letter-spacing: 1px; margin: 0 0 10px;
}
.partner-banner-text h2 em { color: var(--gold); font-style: normal; }
.partner-banner-text p { font-family: var(--prose); font-size: 16px; color: var(--text-dim); margin: 0; }
.partner-banner .btn-primary { position: relative; z-index: 1; flex-shrink: 0; }

/* ─── Reduced motion: this page has no decorative animation of its own,
   but keep hover lifts in line with the rest of the site ─── */
@media (prefers-reduced-motion: reduce) {
  .partner-banner .btn-primary:hover,
  .gp-hero .btn-primary:hover,
  .gp-hero .btn-outline:hover {
    transform: none !important;
  }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .gp-hero { padding: 40px 20px 48px; }
  .gp-hero-lede { margin-bottom: 24px; }
  .gp-hero-media { margin-bottom: 24px; }
  .partner-banner { flex-direction: column; margin: 0 20px; padding: 28px 20px; text-align: center; }
  .partner-banner-text { max-width: 100%; }
  .partner-banner-text h2 { font-size: 28px; }
}

@media (max-width: 600px) {
  .gp-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
