/* ============================================================
   JAŚKO KAJAKI – SINGLE POST STYLES
   Palette: Deep River #0E3A5B | Kayak Teal #1F7A8C
            Forest Shore #5C7A5B | Sand Light #E9DFCF
            Sun Accent #F4A261 | Foam White #F8FAFB | Ink #1C2730
   ============================================================ */

.jk-single-main {
  background: #F8FAFB;
  font-family: 'Inter', system-ui, sans-serif;
  color: #1C2730;
}

/* ── Hero ────────────────────────────────────────────────── */
.jk-single-hero {
  background: linear-gradient(150deg, #0a2034 0%, #0E3A5B 55%, #1F7A8C 100%);
  padding: 56px 24px 64px;
}

.jk-single-hero__inner {
  max-width: 800px;
  margin: 0 auto;
}

/* Breadcrumb */
.jk-single-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}

.jk-single-breadcrumb a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.18s;
}

.jk-single-breadcrumb a:hover {
  color: #F4A261;
}

/* Category badge */
.jk-single-cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(244,162,97,0.18);
  border: 1px solid rgba(244,162,97,0.4);
  color: #F4A261;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Title */
.jk-single-hero__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 20px;
}

/* Lead */
.jk-single-hero__lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 640px;
}

/* Date */
.jk-single-hero__date {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* ── Article / Content ───────────────────────────────────── */
.jk-single-article {
  padding: 56px 24px 48px;
}

.jk-single-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #2a3740;
}

.jk-single-content > * + * {
  margin-top: 1.2em;
}

.jk-single-content p {
  margin: 0 0 1.3em;
}

.jk-single-content h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #0E3A5B;
  line-height: 1.3;
  margin: 2.2em 0 0.7em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid #E9DFCF;
}

.jk-single-content h2:first-child {
  margin-top: 0;
}

.jk-single-content h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: #1F7A8C;
  line-height: 1.35;
  margin: 1.8em 0 0.5em;
}

.jk-single-content ul {
  padding-left: 0;
  margin: 0 0 1.3em;
  list-style: none;
}

.jk-single-content ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  color: #2a3740;
}

.jk-single-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F4A261;
  flex-shrink: 0;
}

.jk-single-content a {
  color: #1F7A8C;
  text-decoration: underline;
  text-decoration-color: rgba(31,122,140,0.35);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.18s, text-decoration-color 0.18s;
}

.jk-single-content a:hover {
  color: #0E3A5B;
  text-decoration-color: rgba(14,58,91,0.5);
}

.jk-single-content strong {
  font-weight: 700;
  color: #0E3A5B;
}

/* ── CTA ─────────────────────────────────────────────────── */
.jk-single-cta {
  background: linear-gradient(135deg, #5C7A5B 0%, #0E3A5B 100%);
  padding: 72px 24px;
  text-align: center;
}

.jk-single-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.jk-single-cta__lead {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0 0 10px;
}

.jk-single-cta__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.25;
}

.jk-single-cta__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin: 0 0 28px;
  line-height: 1.6;
}

.jk-single-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.jk-single-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.18s;
}

.jk-single-cta__btn--primary {
  background: #F4A261;
  color: #1C2730;
}

.jk-single-cta__btn--primary:hover {
  background: #e8904a;
  transform: translateY(-1px);
}

.jk-single-cta__btn--secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.jk-single-cta__btn--secondary:hover {
  background: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}

/* ── Powiązane linki ─────────────────────────────────────── */
.jk-single-links {
  padding: 56px 24px;
  background: #fff;
}

.jk-single-links__inner {
  max-width: 900px;
  margin: 0 auto;
}

.jk-single-links__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0E3A5B;
  margin: 0 0 28px;
  text-align: center;
}

.jk-single-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .jk-single-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .jk-single-links__grid {
    grid-template-columns: 1fr;
  }
}

.jk-single-link-card {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 16px;
  border-radius: 12px;
  border: 1.5px solid #E9DFCF;
  background: #F8FAFB;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s;
  position: relative;
}

.jk-single-link-card:hover {
  border-color: #1F7A8C;
  box-shadow: 0 4px 20px rgba(31,122,140,0.12);
  transform: translateY(-2px);
}

.jk-single-link-card--accent {
  border-color: rgba(244,162,97,0.35);
  background: rgba(244,162,97,0.04);
}

.jk-single-link-card--accent:hover {
  border-color: #F4A261;
  box-shadow: 0 4px 20px rgba(244,162,97,0.15);
}

.jk-single-link-card__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5C7A5B;
  margin-bottom: 4px;
}

.jk-single-link-card--accent .jk-single-link-card__label {
  color: #c47a3e;
}

.jk-single-link-card__name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0E3A5B;
  margin-bottom: 6px;
}

.jk-single-link-card__desc {
  font-size: 0.8125rem;
  color: #5a6f7a;
  line-height: 1.45;
  flex: 1;
}

.jk-single-link-card__arrow {
  position: absolute;
  top: 20px;
  right: 18px;
  font-size: 1rem;
  color: #1F7A8C;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
}

.jk-single-link-card:hover .jk-single-link-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Powrót do bloga ─────────────────────────────────────── */
.jk-single-back {
  padding: 24px 24px 48px;
  text-align: center;
}

.jk-single-back__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1F7A8C;
  text-decoration: none;
  transition: color 0.18s, gap 0.18s;
}

.jk-single-back__link:hover {
  color: #0E3A5B;
  gap: 10px;
}
