/* ============================================================
   JAŚKO KAJAKI – BLOG STYLES
   Palette tokens z homepage.css:
     Deep River   #0E3A5B
     Kayak Teal   #1F7A8C
     Forest Shore #5C7A5B
     Sand Light   #E9DFCF
     Sun Accent   #F4A261
     Foam White   #F8FAFB
     Ink          #1C2730
   ============================================================ */

/* ── Base reset ──────────────────────────────────────────── */
.jk-blog-main {
  background: #F8FAFB;
  font-family: 'Inter', system-ui, sans-serif;
  color: #1C2730;
}

/* ── Hero ────────────────────────────────────────────────── */
.jk-blog-hero {
  background: linear-gradient(135deg, #0E3A5B 0%, #1F7A8C 100%);
  padding: 72px 24px 64px;
  text-align: center;
}

.jk-blog-hero__inner {
  max-width: 680px;
  margin: 0 auto;
}

.jk-blog-hero__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.15;
}

.jk-blog-hero__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  margin: 0;
  line-height: 1.65;
}

/* ── Posts section ───────────────────────────────────────── */
.jk-blog-posts {
  padding: 64px 24px;
}

.jk-blog-posts__inner {
  max-width: 1160px;
  margin: 0 auto;
}

/* ── Grid ────────────────────────────────────────────────── */
.jk-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 640px) {
  .jk-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Card ────────────────────────────────────────────────── */
.jk-blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(14,58,91,0.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.jk-blog-card:hover {
  box-shadow: 0 6px 28px rgba(14,58,91,0.13);
  transform: translateY(-2px);
}

.jk-blog-card__thumb-link {
  display: block;
  overflow: hidden;
}

.jk-blog-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.jk-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.jk-blog-card:hover .jk-blog-card__img {
  transform: scale(1.04);
}

.jk-blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.jk-blog-card__meta {
  font-size: 0.8125rem;
  color: #5C7A5B;
  font-weight: 500;
}

.jk-blog-card__cat {
  background: #E9DFCF;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
}

.jk-blog-card__title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 700;
  color: #0E3A5B;
  margin: 0;
  line-height: 1.35;
}

.jk-blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.jk-blog-card__title a:hover {
  color: #1F7A8C;
}

.jk-blog-card__excerpt {
  font-size: 0.9375rem;
  color: #3a4a55;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.jk-blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1F7A8C;
  text-decoration: none;
  margin-top: 8px;
  align-self: flex-start;
  transition: color 0.18s ease, gap 0.18s ease;
}

.jk-blog-card__more:hover {
  color: #0E3A5B;
  gap: 8px;
}

.jk-blog-card__more svg {
  transform: rotate(-90deg);
}

/* ── Pagination ──────────────────────────────────────────── */
.jk-blog-pagination {
  margin-top: 48px;
  text-align: center;
}

.jk-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.jk-blog-pagination .page-numbers a,
.jk-blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  background: #fff;
  color: #0E3A5B;
  border: 1px solid #E9DFCF;
  transition: background 0.18s, color 0.18s;
}

.jk-blog-pagination .page-numbers a:hover {
  background: #1F7A8C;
  color: #fff;
  border-color: #1F7A8C;
}

.jk-blog-pagination .page-numbers.current {
  background: #0E3A5B;
  color: #fff;
  border-color: #0E3A5B;
}

/* ── Empty state ─────────────────────────────────────────── */
.jk-blog-empty {
  text-align: center;
  padding: 48px 0;
  color: #5C7A5B;
  font-size: 1.0625rem;
}

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

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

.jk-blog-cta__lead {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  font-weight: 600;
}

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

.jk-blog-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 8px;
  background: #F4A261;
  color: #1C2730;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.18s ease;
}

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

/* ── Single post styles (używane przez Blocksy default template) */
.jk-blog-main .entry-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #1C2730;
}

.jk-blog-main .entry-content h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #0E3A5B;
  margin: 2em 0 0.75em;
  line-height: 1.3;
}

.jk-blog-main .entry-content h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1F7A8C;
  margin: 1.75em 0 0.6em;
}

.jk-blog-main .entry-content p {
  margin: 0 0 1.2em;
}

.jk-blog-main .entry-content ul {
  padding-left: 1.5em;
  margin: 0 0 1.2em;
}

.jk-blog-main .entry-content li {
  margin-bottom: 0.4em;
}

.jk-blog-main .entry-content a {
  color: #1F7A8C;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jk-blog-main .entry-content a:hover {
  color: #0E3A5B;
}

/* ============================================================
   ARCHIWUM KATEGORII WYDARZEŃ  (/category/wydarzenia/)
   ============================================================ */

/* Eyebrow w hero */
.jk-blog-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}

/* Nagłówek sekcji wpisów */
.jk-events-section-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  color: #0E3A5B;
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid #E9DFCF;
}

/* Grid wydarzeń: max 2 kolumny (plakaty wyglądają lepiej niż 3) */
.jk-events-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 720px) {
  .jk-events-grid {
    grid-template-columns: 1fr;
  }
}

/* Thumbnail: wyższy aspect-ratio dla plakatów/pionowych obrazków */
.jk-events-card__thumb {
  aspect-ratio: 3 / 2;
}

/* Zachowaj górę obrazka (tytuł plakatu zwykle u góry) */
.jk-events-card__img {
  object-position: top center;
}

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