/* ============================================================================
 * CPT Biegi militarne — styling
 * ========================================================================= */

/* ===== Single ===== */
.sh-bieg-single { background: #f8f8f8; }
.sh-bieg-hero {
  background: #15181d;
  color: #fff;
  padding: 60px 24px 50px;
  position: relative;
}
.sh-bieg-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #cc1b1b;
}
.sh-bieg-hero-inner { max-width: 1080px; margin: 0 auto; }
.sh-bieg-hero .sh-kicker {
  color: #cc1b1b;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.sh-bieg-hero h1,
.sh-bieg-title {
  margin: 0 0 26px;
  font-family: var(--sh-font-display, 'Poppins', sans-serif);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.sh-bieg-archive-hero h1 {
  color: #fff;
}
.sh-bieg-hero .sh-btn-primary {
  color: #fff;
  background: #cc1b1b;
  border: 1px solid #cc1b1b;
}
.sh-bieg-hero .sh-btn-primary:hover {
  background: #a01515;
  border-color: #a01515;
}
.sh-bieg-hero .sh-btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}
.sh-bieg-hero .sh-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #fff;
  color: #fff;
}
.sh-bieg-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.sh-bieg-meta-item { display: flex; flex-direction: column; gap: 4px; }
.sh-bieg-meta-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ea1a8;
  font-weight: 600;
}
.sh-bieg-meta-value {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sh-bieg-meta-value.is-future { color: #fff; }
.sh-bieg-meta-value.is-past { color: #9ea1a8; }
.sh-bieg-badge-past {
  background: rgba(255,255,255,0.08);
  color: #c9ccd2;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.sh-bieg-tag {
  background: rgba(204,27,27,0.16);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.sh-bieg-tag:hover { background: #cc1b1b; }
.sh-bieg-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.sh-bieg-body, .sh-bieg-extras {
  padding: 40px 24px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sh-bieg-body-inner, .sh-bieg-extras-inner {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
  color: #1a1a1a;
}
.sh-bieg-extra-block + .sh-bieg-extra-block { margin-top: 30px; }
.sh-bieg-extra-block h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #cc1b1b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sh-bieg-back {
  text-align: center;
  padding: 30px 24px 60px;
  background: #f8f8f8;
}

/* ===== Archive (lista) ===== */
.sh-bieg-archive { background: #f8f8f8; }
.sh-bieg-archive-hero {
  background: #15181d;
  color: #fff;
  padding: 60px 24px 50px;
  position: relative;
}
.sh-bieg-archive-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #cc1b1b;
}
.sh-bieg-archive-hero-inner { max-width: 1080px; margin: 0 auto; }
.sh-bieg-archive-hero .sh-kicker {
  color: #cc1b1b;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.sh-bieg-archive-hero h1 {
  margin: 0 0 12px;
  font-family: var(--sh-font-display, 'Poppins', sans-serif);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.sh-bieg-archive-hero p {
  color: #c9ccd2;
  font-size: 16px;
  max-width: 600px;
  margin: 0;
}

.sh-bieg-archive-list { padding: 40px 24px 80px; }
.sh-bieg-archive-list-inner { max-width: 1080px; margin: 0 auto; }
.sh-bieg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.sh-bieg-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.15s ease;
}
.sh-bieg-card:hover {
  border-color: #cc1b1b;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(204,27,27,0.10);
}
.sh-bieg-card.is-past { opacity: 0.55; }
.sh-bieg-card.is-past:hover { opacity: 0.75; }

.sh-bieg-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #15181d;
  color: #fff;
  border-radius: 8px;
  padding: 14px 8px;
  min-height: 80px;
}
.sh-bieg-card-date-day {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  font-family: var(--sh-font-display, 'Poppins', sans-serif);
}
.sh-bieg-card-date-month {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #cc1b1b;
  margin-top: 4px;
}

.sh-bieg-card-body { min-width: 0; }
.sh-bieg-card-edycja {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cc1b1b;
  font-weight: 600;
  margin-bottom: 3px;
}
.sh-bieg-card-title {
  margin: 0 0 6px;
  font-family: var(--sh-font-display, 'Poppins', sans-serif);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: #15181d;
}
.sh-bieg-card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6b6f76;
}
.sh-bieg-card-jednostka {
  color: #cc1b1b;
  font-weight: 600;
}

.sh-bieg-card-cta {
  font-size: 12px;
  color: #6b6f76;
  font-weight: 600;
  white-space: nowrap;
}
.sh-bieg-card-status {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b6f76;
  font-weight: 600;
  white-space: nowrap;
}
.sh-bieg-card:hover .sh-bieg-card-cta { color: #cc1b1b; }

@media (max-width: 600px) {
  .sh-bieg-card {
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 14px 16px;
  }
  .sh-bieg-card-date { min-height: 64px; padding: 10px 6px; }
  .sh-bieg-card-date-day { font-size: 24px; }
  .sh-bieg-card-cta, .sh-bieg-card-status {
    grid-column: 1 / -1;
    text-align: right;
    margin-top: -4px;
  }
}
