/* =====================================================
   GP REC – Subpage styles | subpage.css
   ===================================================== */

/* Offset body for fixed header */
body {
  padding-top: var(--header-h);
}

/* =====================================================
   SUBPAGE HERO BANNER
   ===================================================== */
.subpage-hero {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--border);
}

.subpage-hero--dark {
  background: var(--black);
}

.subpage-hero--dark .breadcrumb ol {
  color: rgba(255,255,255,0.5);
}

.subpage-hero--dark .breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.subpage-hero--dark .breadcrumb li[aria-current="page"] {
  color: var(--orange);
}

.subpage-hero--dark .subpage-title {
  color: var(--white);
}

.subpage-hero--dark .subpage-subtitle {
  color: rgba(255,255,255,0.6);
}

.subpage-hero--light {
  background: var(--light-gray);
}

.subpage-hero--light .subpage-title {
  color: var(--black);
}

.subpage-hero--light .subpage-subtitle {
  color: var(--mid-gray);
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 16px;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 13px;
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--mid-gray);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb li[aria-current="page"] {
  color: var(--orange);
  font-weight: 600;
}

/* Subpage headings */
.subpage-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.subpage-subtitle {
  font-size: 1rem;
}

/* =====================================================
   SUBPAGE CONTENT
   ===================================================== */
.subpage-content {
  padding: 64px 0 80px;
}

.subpage-container {
  max-width: 860px;
}

/* Info items – light background version */
.cenik-info-light {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-item-light {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--mid-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 14px 16px;
  background: var(--light-gray);
  border-radius: var(--radius);
  border-left: 3px solid var(--orange);
}

.info-item-light svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* KARI intro text */
.kari-intro {
  margin-bottom: 32px;
  font-size: 1rem;
  color: var(--mid-gray);
  line-height: 1.7;
  padding: 20px 24px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--orange);
}

/* Subpage CTA block */
.subpage-cta {
  margin-top: 48px;
  padding: 36px;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.subpage-cta p {
  color: var(--mid-gray);
  font-size: 1rem;
}

.subpage-cta .btn {
  min-width: 220px;
  justify-content: center;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .subpage-hero {
    padding: 36px 0 28px;
  }

  .subpage-content {
    padding: 40px 0 60px;
  }

  .subpage-cta {
    padding: 24px 20px;
  }

  .subpage-cta .btn {
    width: 100%;
  }
}
