/* === LUKS Jedynka theme — czerwień klubowa === */

:root {
  --club-red: #c8102e;
  --club-red-dark: #8b0000;
  --club-red-darker: #6a0000;
  --bs-primary: #c8102e;
  --bs-primary-rgb: 200, 16, 46;
  --bs-link-color: #c8102e;
  --bs-link-hover-color: #8b0000;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background-color: #fff;
}

.my-lg-6 {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

/* Bootstrap primary overrides */
.btn-primary,
.btn-danger {
  background-color: var(--club-red);
  border-color: var(--club-red);
}
.btn-primary:hover,
.btn-danger:hover {
  background-color: var(--club-red-dark);
  border-color: var(--club-red-dark);
}
.bg-danger { background-color: var(--club-red) !important; }
.text-danger { color: var(--club-red) !important; }
.btn-outline-danger {
  color: var(--club-red);
  border-color: var(--club-red);
}
.btn-outline-danger:hover {
  background-color: var(--club-red);
  border-color: var(--club-red);
}

a { color: var(--club-red); }
a:hover { color: var(--club-red-dark); }

/* Header / Navbar */
.club-header {
  z-index: 1030;
  background: linear-gradient(90deg, var(--club-red) 0%, var(--club-red-darker) 100%);
}

.club-announcement-bar {
  background: rgba(16, 10, 10, 0.18);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
}

.club-announcement-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
}

.club-announcement-link:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.club-navbar {
  background: transparent;
}
.club-navbar .navbar-brand { color: #fff; letter-spacing: 0.04em; }
.club-header-cta {
  border-radius: 999px;
  padding-inline: 1rem;
  font-weight: 700;
}

.nav-item-cta {
  margin-top: 0.6rem;
}
.club-navbar .nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.6rem 0.9rem;
  white-space: nowrap;
}

.club-navbar .navbar-collapse {
  margin-top: 0.5rem;
  padding: 0.4rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.14);
}
.club-navbar .nav-link:hover,
.club-navbar .nav-link.active {
  color: #fff;
  border-bottom: 2px solid #fff;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--club-red) 0%, var(--club-red-darker) 100%);
  color: #fff;
}
.hero .lead { color: rgba(255,255,255,0.95); }
.hero-logo { width: 110px; height: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }

.hero-showcase {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.16), transparent 30%),
    linear-gradient(135deg, var(--club-red) 0%, var(--club-red-darker) 100%);
}

.hero-carousel,
.hero-fallback,
.hero-side-panel {
  min-height: 100%;
}

.hero-carousel {
  border-radius: 1.5rem;
  overflow: hidden;
}

.hero-carousel-image {
  min-height: 440px;
  max-height: 620px;
  object-fit: cover;
}

.hero-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.05) 0%, rgba(10, 10, 10, 0.68) 100%);
}

.hero-carousel-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 2rem;
}

.hero-carousel-text,
.hero-carousel-summary {
  max-width: 38rem;
  color: rgba(255,255,255,0.92);
}

.hero-carousel-text p:last-child {
  margin-bottom: 0;
}

.hero-chip,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-side-panel {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(49, 8, 8, 0.22);
  backdrop-filter: blur(8px);
}

.hero-side-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: rgba(255,255,255,0.12);
  border-radius: 1rem;
  padding: 0.65rem;
}

.hero-side-kicker {
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-side-copy,
.hero-side-copy p {
  color: rgba(255,255,255,0.92);
}

.hero-post-stack {
  display: grid;
  gap: 0.9rem;
}

.hero-post-stack-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.09);
  color: #fff;
  transition: transform .18s ease, background .18s ease;
}

.hero-post-stack-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
}

.hero-post-stack-label {
  color: rgba(255,255,255,0.64);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-fallback {
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(0,0,0,0.2));
}

.hero-stats-band {
  margin-top: -2rem;
  position: relative;
  z-index: 3;
}

.hero-stat-card {
  height: 100%;
  padding: 1.1rem 1.2rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 18px 34px rgba(39, 18, 18, 0.14);
}

.hero-stat-value {
  color: var(--club-red-dark);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
  font-weight: 800;
}

.hero-stat-label {
  margin-top: 0.5rem;
  color: #191919;
  font-weight: 700;
}

.hero-stat-description {
  margin-top: 0.55rem;
  color: #666;
  font-size: 0.92rem;
}

.promo-rail-section {
  background:
    linear-gradient(180deg, rgba(250,247,247,0.92) 0%, rgba(255,255,255,0.96) 100%);
}

.promo-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border-radius: 1.4rem;
  min-height: 100%;
  box-shadow: 0 20px 44px rgba(20,20,20,0.08);
}

.promo-card-ruby {
  background: linear-gradient(145deg, #fff1f3 0%, #ffd7de 100%);
  color: #4a1019;
}

.promo-card-night {
  background: linear-gradient(145deg, #15171c 0%, #272b36 100%);
  color: #fff;
}

.promo-card-gold {
  background: linear-gradient(145deg, #fff5da 0%, #f6d789 100%);
  color: #402d00;
}

.promo-card-eyebrow {
  display: inline-flex;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: rgba(255,255,255,0.5);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.promo-card-link {
  color: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-supporter-slide {
  min-height: 440px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.1), transparent 35%),
    linear-gradient(145deg, #8f1127 0%, #53040c 100%);
}

.hero-supporter-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  width: min(100%, 430px);
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

.hero-supporter-logo {
  max-width: 100%;
  height: auto;
}

/* Section title with red underline */
.section-title {
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--club-red);
  margin-top: 0.6rem;
  border-radius: 2px;
}

.section-kicker {
  background: rgba(200, 16, 46, 0.1);
  color: var(--club-red);
}

.section-note {
  max-width: 34rem;
}

/* Tiles */
.club-tile {
  border: 1px solid #eee;
  border-radius: 0.6rem;
  background: #fff;
  color: #222;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.club-tile:hover {
  transform: translateY(-3px);
  border-color: var(--club-red);
  box-shadow: 0 10px 24px rgba(200,16,46,0.12);
  color: #222;
}
.club-tile h3 { color: var(--club-red); }

.club-tile-magazine {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 0;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(200,16,46,0.14), transparent 25%),
    linear-gradient(180deg, #fff 0%, #f8f2f3 100%);
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.08);
}

.club-tile-index {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  font-weight: 800;
  color: rgba(200,16,46,0.12);
}

.club-tile-arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: rgba(200,16,46,0.09);
  color: var(--club-red);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* News card */
.news-section {
  background: linear-gradient(180deg, #faf7f7 0%, #fff 100%);
}

.news-card { transition: transform .18s ease, box-shadow .18s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.12); }

.news-card-tile {
  border-radius: 1.35rem;
}

.news-card-media {
  min-height: 220px;
  overflow: hidden;
}

.news-card-image,
.news-card-placeholder {
  height: 100%;
  min-height: 220px;
  width: 100%;
  object-fit: cover;
}

.news-card-placeholder {
  background: linear-gradient(135deg, var(--club-red) 0%, var(--club-red-darker) 100%);
}

.news-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.35) 100%);
}

.news-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: rgba(255,255,255,0.92);
  color: var(--club-red-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.news-card-footer {
  color: var(--club-red);
}

.news-card-cta {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-card-arrow {
  font-size: 1.3rem;
  line-height: 1;
}

/* Content typography */
.content img { max-width: 100%; height: auto; border-radius: 0.4rem; margin: 1rem 0; }
.content h2, .content h3 { color: var(--club-red-dark); margin-top: 1.6rem; }
.content blockquote {
  border-left: 4px solid var(--club-red);
  padding-left: 1rem;
  font-style: italic;
  color: #555;
}

/* Footer */
.club-footer { background: #1a1a1a; color: #fff; }
.supporters-strip { background: var(--club-red-darker); }
.club-social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(255,255,255,0.09);
  color: #fff;
  font-weight: 700;
}

.club-social-pill:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.supporter-logo {
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  max-height: 60px;
  width: auto;
  filter: none;
}
.letter-spacing { letter-spacing: 0.15em; }

/* Wagtail userbar adjustments */
.wagtail-userbar { z-index: 1100; }

/* Supporters showcase */
.supporters-showcase {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.supporter-card {
  padding: 1.8rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid #eee;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}

.supporter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.supporter-card-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.06), rgba(0, 0, 0, 0.02));
}

.supporter-card-logo {
  max-width: 100%;
  height: auto;
  max-height: 120px;
}

.supporter-card h3 {
  color: var(--club-red-dark);
}

.supporter-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-section {
  background: linear-gradient(135deg, var(--club-red) 0%, var(--club-red-darker) 100%);
  color: #fff;
}

.hero-section h1 {
  color: #fff;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
}

@media (max-width: 991.98px) {
  .hero-stats-band {
    margin-top: 0;
  }

  .hero-carousel-image {
    min-height: 340px;
  }

  .hero-carousel-caption {
    padding: 1.4rem;
  }
}

@media (max-width: 767.98px) {
  .hero-side-panel,
  .hero-fallback {
    padding: 1.25rem;
  }

  .club-announcement-bar {
    font-size: 0.86rem;
  }

  .club-tile-magazine {
    min-height: 210px;
  }

  .hero-carousel-image {
    min-height: 280px;
  }

  .hero-supporter-slide {
    min-height: 300px;
  }
}
