/* ─═ tarotwrozka.pl Blog — v2 Typography & Readability ─═ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(160deg, #faf7f0 0%, #f0ead8 50%, #e8dfc8 100%);
  color: #1e2a1a;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ── Navigation ── */
.top-nav {
  background: linear-gradient(135deg, #1e3a1e 0%, #2d5a2d 100%);
  padding: 14px 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 998;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  border-bottom: 3px solid #c9973e;
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-inner a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 22px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  background: rgba(201, 151, 62, 0.12);
  border: 1.5px solid rgba(201, 151, 62, 0.5);
  letter-spacing: 0.02em;
}

.nav-inner a:hover {
  background: #c9973e;
  color: #1e3a1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 151, 62, 0.4);
  border-color: #c9973e;
}

.bar {
  background: linear-gradient(135deg, #c9973e 0%, #b8860b 100%);
  color: #1e3a1e;
  text-align: center;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.bar a { color: #1e3a1e; text-decoration: underline; font-weight: 700; }

/* ── Article container — optimal reading width ── */
.article {
  max-width: 730px;
  margin: 0 auto;
  padding: 3rem 1.8rem 4rem;
}

/* ── Headings ── */
.article h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: #1e3a1e;
  letter-spacing: -0.02em;
}

.article .meta {
  color: #7a7a6a;
  font-size: 0.88rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #d4c9b0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  letter-spacing: 0.01em;
}

.article .meta .arcana {
  background: #1e3a1e;
  color: #f0e6d0;
  padding: 3px 14px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.78rem;
  display: inline-block;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 2.8rem 0 1rem;
  color: #2d5a2d;
  border-left: 4px solid #c9973e;
  padding-left: 18px;
}

.article h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 0.7rem;
  color: #1e2a1a;
}

.article h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: #2d5a2d;
  font-style: italic;
}

.article p {
  margin-bottom: 1.3rem;
  color: #2a3028;
  font-size: 1.08rem;
  line-height: 1.8;
}

.article ul, .article ol {
  margin: 0 0 1.3rem 1.5rem;
  color: #2a3028;
  font-size: 1.08rem;
  line-height: 1.8;
}

.article li { margin-bottom: 0.6rem; }

.article strong { color: #1e3a1e; font-weight: 600; }
.article em { color: #3d5a3d; font-style: italic; }

/* ── Blockquote / verse ── */
.article blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.8rem;
  border-left: 4px solid #c9973e;
  background: rgba(201, 151, 62, 0.06);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #3d4a3d;
  font-size: 1.05rem;
}

.article blockquote p { margin-bottom: 0; font-size: inherit; }

/* ── Card info boxes ── */
.card-meaning {
  background: rgba(255,255,255,0.6);
  border-radius: 16px;
  padding: 1.8rem 2.2rem;
  margin-bottom: 1.8rem;
  border: 1px solid #e0d6c0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.card-meaning h2 { margin-top: 0; }

/* ── FAQ section ── */
.faq-item {
  margin-bottom: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255,255,255,0.4);
  border-radius: 12px;
  border: 1px solid #e0d6c0;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: #c9973e;
  box-shadow: 0 2px 12px rgba(201, 151, 62, 0.1);
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  color: #1e3a1e;
  cursor: pointer;
}

.faq-item p {
  margin-bottom: 0;
  font-size: 1.02rem;
}

/* ── Key insight / highlight box ── */
.insight {
  background: linear-gradient(135deg, rgba(45, 90, 45, 0.06), rgba(201, 151, 62, 0.08));
  border: 1px solid rgba(201, 151, 62, 0.3);
  border-radius: 14px;
  padding: 1.5rem 1.8rem;
  margin: 1.8rem 0;
}

.insight p { margin-bottom: 0; }

/* ── Tip box — golden left border ── */
.tip {
  border-left: 4px solid #c9973e;
  padding: 1rem 1.5rem;
  background: rgba(201, 151, 62, 0.05);
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}

.tip strong { color: #b8860b; }

/* ── CTA card ── */
.cta-card {
  background: linear-gradient(135deg, #1e3a1e 0%, #2d5a2d 100%);
  color: white;
  border-radius: 18px;
  padding: 2.8rem 2.5rem;
  text-align: center;
  margin: 3.5rem 0 2rem;
  border-bottom: 4px solid #c9973e;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(201,151,62,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.cta-card p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #b8860b 0%, #c9973e 50%, #daa520 100%);
  color: #1e3a1e;
  padding: 0.95rem 2.8rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.02rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 25px rgba(201, 151, 62, 0.5);
}

/* ── Blog header ── */
header.blog-header {
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
  position: relative;
}

header.blog-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #c9973e;
  margin: 1.2rem auto 0;
  border-radius: 2px;
}

header.blog-header h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: #1e3a1e;
  letter-spacing: -0.02em;
}

header.blog-header h1 span { color: #c9973e; }

header.blog-header p {
  color: #6b6b5e;
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0.8rem auto 0;
  line-height: 1.7;
}

/* ── Section dividers on blog index ── */
.section-divider {
  text-align: center;
  margin: 3rem 0 1.5rem;
  position: relative;
}

.section-divider h2 {
  font-size: 1.6rem;
  color: #1e3a1e;
  display: inline-block;
  background: linear-gradient(160deg, #faf7f0 0%, #f0ead8 100%);
  padding: 0 1.2rem;
  position: relative;
  z-index: 1;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9973e, transparent);
  z-index: 0;
}

.section-subtitle {
  margin-bottom: 25px;
  color: #7a7a6a;
  font-size: 1.02rem;
  text-align: center;
  font-style: italic;
}

/* ── Blog article list ── */
.blog-list {
  list-style: none;
  margin: 1.5rem 0;
}

.blog-list li {
  margin-bottom: 1.2rem;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.4);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.blog-list li:hover {
  background: rgba(255,255,255,0.7);
  border-color: rgba(201, 151, 62, 0.3);
  transform: translateX(4px);
}

.blog-list a {
  text-decoration: none;
  color: #2a3028;
  display: block;
}

.blog-list h2 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  color: #1e3a1e;
  font-weight: 700;
  font-family: 'Playfair Display', Georgia, serif;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.blog-list a:hover h2 { color: #c9973e; }

.blog-list .preview {
  color: #5a5a4a;
  font-size: 0.92rem;
  margin: 0.3rem 0 0.2rem;
  line-height: 1.5;
}

.blog-list .date {
  color: #8a8a7a;
  font-size: 0.82rem;
  font-weight: 400;
}

/* ── Card link grid ── */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 30px;
}

.card-grid a {
  background: rgba(30, 58, 30, 0.06);
  padding: 6px 12px;
  border-radius: 8px;
  color: #1e3a1e;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.card-grid a:hover {
  background: #1e3a1e;
  color: #f0e6d0;
  border-color: #c9973e;
  transform: translateY(-2px);
}

/* ── Footer ── */
footer {
  background: linear-gradient(135deg, #1e3a1e 0%, #2d5a2d 100%);
  color: #d4c9b0;
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

footer a {
  color: #c9973e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

footer a:hover { color: #f0e6d0; }

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .article { padding: 2rem 1.2rem 3rem; }
  .article p { font-size: 1.02rem; }
  .cta-card { padding: 2rem 1.5rem; }
  .blog-list li { padding: 1rem; }
  .nav-inner a { font-size: 0.85rem; padding: 7px 16px; }
}

/* ── Blog cards (guides, spreads — block-level links) ── */
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.5);
  border: 1px solid #e0d6c0;
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.blog-card:hover {
  background: rgba(255,255,255,0.8);
  border-color: #c9973e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201, 151, 62, 0.12);
}

.blog-card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3a1e;
  margin: 0 0 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
  transition: color 0.2s;
}

.blog-card:hover .blog-card-content h3 {
  color: #c9973e;
}

.blog-card-content p {
  color: #4a5a4a;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.blog-card-tag {
  display: inline-block;
  background: rgba(201, 151, 62, 0.12);
  color: #b8860b;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(201, 151, 62, 0.2);
}

.read-more {
  color: #c9973e;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.blog-card:hover .read-more {
  color: #b8860b;
  letter-spacing: 0.03em;
}

/* ── Global link reset for blog page ── */
.blog-index a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-index a h2 {
  color: #1e3a1e;
  transition: color 0.2s;
}

.blog-index a:hover h2 {
  color: #c9973e;
}

/* ── Strong link reset — NO blue or underline anywhere ── */
.article a:not(.blog-card):not(.card-grid a):not(.blog-list a):not(.blog-index a):not(.cta-button):not(.back-link),
.wrap a,
main a {
    color: #2d5a2d;
    text-decoration: underline;
    font-weight: 600;
}
.article a:hover, .wrap a:hover, main a:hover {
    color: #f5a623;
}
