/* =========================================================
   FairPlay Blog — extra styles (loads after style.css)
   Reuses the :root variables defined in style.css.
   ========================================================= */

/* ---------- blog intro ---------- */
.blog-intro { padding: 40px 0 8px; }
.blog-intro h1 { margin-bottom: .3em; }
.blog-intro p { max-width: 65ch; color: var(--text-muted); font-size: 1.05rem; }

/* ---------- category sections ---------- */
.cat-section { padding: 22px 0 6px; }
.cat-head {
  display: flex; align-items: baseline; gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px; margin: 18px 0 22px;
}
.cat-head h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.7rem); }
.cat-head .count { color: var(--text-dim); font-size: .85rem; font-weight: 600; }

/* ---------- card grid ---------- */
.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .14s ease, border-color .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(243,108,33,0.55); box-shadow: 0 10px 26px rgba(0,0,0,0.4); }
.post-card .thumb { display: block; aspect-ratio: 16 / 9; background: var(--bg-dark); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.05rem; margin: 2px 0 0; line-height: 1.3; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a:hover { color: var(--orange); }
.post-card .excerpt { color: var(--text-muted); font-size: .9rem; margin: 0; }
.post-card .readmore { margin-top: auto; color: var(--orange); font-weight: 600; font-size: .85rem; }

/* ---------- category tag chip ---------- */
.tag {
  align-self: flex-start;
  font-size: .7rem; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
  color: var(--orange); background: rgba(243,108,33,0.1);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: .82rem; color: var(--text-dim); padding: 14px 0 2px; }
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--orange); text-decoration: none; }
.breadcrumbs span { color: var(--text-dim); margin: 0 6px; }

/* ---------- article ---------- */
.article { padding: 8px 0 10px; }
.article-head { max-width: 820px; }
.article-head .tag { margin-bottom: 14px; }
.article h1 { margin: 0 0 .35em; }
.article-meta { color: var(--text-dim); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 22px; }
.article-figure { margin: 0 0 26px; }
.article-figure img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.article-figure figcaption { font-size: .8rem; color: var(--text-dim); margin-top: 8px; }

.article-body { max-width: 760px; }
.article-body > p:first-of-type { font-size: 1.08rem; color: var(--text-muted); }
.article-body h2 { scroll-margin-top: 80px; }
.article-body img { border-radius: var(--radius-lg); border: 1px solid var(--line); margin: 8px 0 22px; }

/* ---------- key takeaways box ---------- */
.takeaways {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 18px 20px; margin: 26px 0;
}
.takeaways h2, .takeaways h3 { margin-top: 0; }
.takeaways ul { margin-bottom: 0; }

/* ---------- responsible gaming note ---------- */
.rg-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(76,175,80,0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px; margin: 26px 0;
  font-size: .9rem; color: var(--text-muted);
}
.rg-note .badge18 { background: var(--orange); color: #fff; font-weight: 700; border-radius: 6px; padding: 2px 7px; font-size: .72rem; flex-shrink: 0; }

/* ---------- inline FAQ (reuses .faq from style.css) ---------- */
.article-body .faq { margin-top: 14px; }

/* ---------- related / next reads ---------- */
.related { margin: 30px 0 6px; }
.related h2 { margin-bottom: 12px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related li a {
  display: block; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px; color: var(--text); font-weight: 500;
}
.related li a:hover { border-color: rgba(243,108,33,0.55); color: var(--orange); text-decoration: none; }
