/* ============================================================
   Home page — banner/hero section (fragment/banner.php)
   Full-bleed poster banner, matching this arrangement:
   giant repeated watermark word edge-to-edge in the background,
   large graphic bleeding off the right/bottom, solid dark box
   floating on the left with the headline + CTA. No rounded card
   wrapper — the panel runs the full width of the viewport.
   Relies on the shared theme variables (--bg, --ink, --pine, etc.)
   declared in index.php's own <style> block.
   ============================================================ */

.banner-panel {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(680px, 94vh, 980px);
  overflow: hidden;
  background: var(--pine, #17402e);
}
@media (max-width: 991.98px) { .banner-panel { min-height: clamp(560px, 86vh, 800px); } }
@media (max-width: 575.98px) { .banner-panel { min-height: clamp(480px, 80vh, 680px); } }

/* optional auto-sliding background photos (up to 5) — pure CSS
   crossfade, each <img> reuses the same @keyframes (generated inline
   per-request in banner.php since the % stops depend on photo count),
   staggered via animation-delay. Sits behind everything else; a
   left-to-right dark scrim keeps the watermark/card text legible over
   whatever photo is showing. */
.banner-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.banner-bg-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation-name: bannerBgFade;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  /* Decorative only (aria-hidden) — block right-click "save image as",
     drag-out, and mobile long-press-to-save. pointer-events:none means
     a right-click here falls through to the plain div behind it, so
     the browser shows its normal empty context menu instead of one
     with a "Save image" option. */
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
.banner-bg-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 31, 22, .92) 0%, rgba(10, 31, 22, .72) 40%, rgba(10, 31, 22, .42) 100%);
}

/* giant repeated watermark word, full width, bleeding off both edges */
.banner-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.banner-watermark span {
  display: block;
  font-weight: 800;
  font-size: clamp(90px, 16vw, 260px);
  line-height: .92;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .06);
  white-space: nowrap;
  text-align: center;
}
.banner-watermark span:last-child {
  color: rgba(185, 138, 47, .09);
  transform: translateX(6%);
}

/* large brass trophy silhouette, bleeding off the bottom-right */
.banner-mark {
  position: absolute;
  right: 2%;
  bottom: -8%;
  z-index: 2;
  font-size: clamp(280px, 34vw, 620px);
  line-height: 1;
  color: var(--brass, #b98a2f);
  opacity: .95;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .4));
  background: linear-gradient(160deg, #f1d894 0%, var(--brass, #b98a2f) 50%, #7a5518 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 767.98px) {
  .banner-mark { font-size: clamp(220px, 60vw, 320px); right: -6%; bottom: -6%; opacity: .55; }
}

/* solid dark box, floating left — sharp corners, opaque (not a gradient) */
.banner-card {
  position: relative;
  z-index: 3;
  background: #0a1f16;
  border-radius: 4px;
  padding: 48px 52px;
  width: min(46%, 500px);
  margin-left: 8%;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .4);
}
@media (max-width: 991.98px) { .banner-card { width: min(58%, 440px); margin-left: 6%; padding: 40px; } }
@media (max-width: 575.98px) {
  .banner-card { width: 86%; margin-left: 7%; padding: 28px 26px; }
}

.banner-card h1 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.banner-tagline {
  color: rgba(255, 255, 255, .68);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255, 255, 255, .8);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  border-radius: 999px;
  padding: .7rem 1.6rem;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.banner-cta i { font-size: .85rem; transition: transform .15s ease; }
.banner-cta:hover {
  background: var(--brass, #b98a2f);
  border-color: var(--brass, #b98a2f);
  color: #0a1f16;
}
.banner-cta:hover i { transform: translateX(3px); }
