/* =====================================================
   tools999.com — Blog Stylesheet
   Upload to: /blog.css  (served from root)
   Self-contained — only needs head-common.php Bootstrap
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --b-accent:      #2563eb;
  --b-accent-dark: #1d4ed8;
  --b-ink:         #0f172a;
  --b-ink-soft:    #334155;
  --b-ink-muted:   #64748b;
  --b-bg:          #f8fafc;
  --b-card:        #ffffff;
  --b-border:      #e2e8f0;
  --b-tag-bg:      #eff6ff;
  --b-tag-color:   #1d4ed8;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06), 0 2px 10px rgba(0,0,0,.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
  --font-head: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ── Base ── */
.blog-page {
  background: var(--b-bg);
  font-family: var(--font-body);
}

/* ── Breadcrumb ── */
.blog-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--b-border);
  padding: 10px 0;
  font-size: 12.5px;
  color: var(--b-ink-muted);
  font-family: var(--font-body);
}
.blog-breadcrumb a { color: var(--b-accent); text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-breadcrumb .bc-sep { margin: 0 7px; opacity: .4; }

/* ══════════════════════════════════════════════════════
   BLOG INDEX HERO
══════════════════════════════════════════════════════ */
.blog-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(99,102,241,.18) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23fff' stroke-opacity='.03' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
}
.blog-hero-inner {
  position: relative; z-index: 1;
  max-width: 640px;
}
.blog-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
  font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
  font-family: var(--font-body);
}
.blog-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  color: #fff; line-height: 1.22; margin-bottom: 14px;
  font-weight: 700; letter-spacing: -.3px;
}
.blog-hero p {
  color: rgba(255,255,255,.65);
  font-size: 16px; max-width: 480px;
  margin-bottom: 32px; line-height: 1.72;
  font-family: var(--font-body);
}
.blog-hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
}
.hero-stat { text-align: left; }
.hero-stat-num {
  display: block; font-family: var(--font-head);
  font-size: 28px; font-weight: 700; color: #fff; line-height: 1;
}
.hero-stat-label {
  font-size: 11.5px; color: rgba(255,255,255,.45);
  margin-top: 3px; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: .06em;
}

/* ══════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  padding: 52px 0 96px;
}

/* ══════════════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════════════ */
.section-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--font-head);
  font-size: 1.35rem; font-weight: 700;
  color: var(--b-ink); white-space: nowrap; margin: 0;
}
.section-head-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--b-border), transparent);
}
.section-head-count {
  font-size: 11.5px; color: var(--b-ink-muted);
  background: #f1f5f9; border: 1px solid var(--b-border);
  padding: 3px 10px; border-radius: 100px; white-space: nowrap;
  font-family: var(--font-body);
}

/* ══════════════════════════════════════════════════════
   CATEGORY TAG
══════════════════════════════════════════════════════ */
.cat-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--b-tag-color);
  background: var(--b-tag-bg);
  border: 1px solid #bfdbfe;
  padding: 3px 11px; border-radius: 100px;
  text-decoration: none; transition: all .15s;
  font-family: var(--font-body);
}
.cat-tag:hover { background: #dbeafe; color: var(--b-accent-dark); }

/* ══════════════════════════════════════════════════════
   FEATURED POST
══════════════════════════════════════════════════════ */
.featured-post {
  background: var(--b-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--b-border);
  box-shadow: var(--shadow-md);
  margin-bottom: 52px;
  transition: box-shadow .25s, transform .25s;
}
.featured-post:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.featured-post-img {
  width: 100%;
  aspect-ratio: 21/8;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  position: relative;
}
.featured-post-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
  display: block;
}
.featured-post:hover .featured-post-img img { transform: scale(1.04); }
.feat-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
}
.feat-img-placeholder .big-emoji {
  font-size: 76px;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.3));
}
.feat-img-placeholder span {
  font-size: 11px; color: rgba(255,255,255,.4);
  letter-spacing: .1em; text-transform: uppercase;
}
.featured-badge {
  position: absolute; top: 18px; left: 18px;
  background: #ea580c;
  color: #fff; font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 13px; border-radius: 5px;
  font-family: var(--font-body);
}
.featured-post-body {
  padding: 28px 32px 32px;
}
.featured-post-body h2 {
  font-family: var(--font-head);
  font-size: 1.55rem; font-weight: 700;
  line-height: 1.3; color: var(--b-ink);
  margin: 10px 0 12px;
}
.featured-post-body h2 a {
  color: inherit; text-decoration: none;
  transition: color .15s;
}
.featured-post-body h2 a:hover { color: var(--b-accent); }
.post-excerpt {
  color: var(--b-ink-soft); font-size: 15px;
  line-height: 1.72; margin-bottom: 16px;
  font-family: var(--font-body);
}
.post-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--b-ink-muted);
  margin-bottom: 20px; flex-wrap: wrap;
  font-family: var(--font-body);
}
.post-meta-dot { opacity: .4; }
.read-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--b-accent); color: #fff;
  padding: 10px 22px; border-radius: var(--r-sm);
  text-decoration: none; font-size: 14px; font-weight: 600;
  transition: background .15s, box-shadow .15s, transform .15s;
  font-family: var(--font-body);
  box-shadow: 0 2px 10px rgba(37,99,235,.25);
}
.read-more-btn:hover {
  background: var(--b-accent-dark); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}

/* ══════════════════════════════════════════════════════
   POSTS GRID
══════════════════════════════════════════════════════ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--b-card);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--b-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #bfdbfe;
}
.post-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  position: relative; flex-shrink: 0;
}
.post-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .5s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.05); }
.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.card-img-placeholder .emoji { font-size: 42px; }
.card-img-placeholder span { font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; }
.post-card-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.post-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.02rem; font-weight: 700;
  color: var(--b-ink); line-height: 1.38;
  margin: 9px 0 10px;
}
.post-card-body h3 a {
  color: inherit; text-decoration: none;
  transition: color .15s;
}
.post-card-body h3 a:hover { color: var(--b-accent); }
.post-card-footer {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px; color: var(--b-ink-muted);
  font-family: var(--font-body);
}
.card-read-link {
  margin-left: auto; color: var(--b-accent);
  font-weight: 600; text-decoration: none; font-size: 13px;
  transition: color .15s;
}
.card-read-link:hover { color: var(--b-accent-dark); }

/* ══════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════ */
.pagination-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 7px; margin-top: 52px; flex-wrap: wrap;
}
.pag-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  border: 1.5px solid var(--b-border);
  border-radius: var(--r-sm);
  background: var(--b-card); color: var(--b-ink-soft);
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: all .18s; font-family: var(--font-body);
}
.pag-btn:hover { background: var(--b-accent); color: #fff; border-color: var(--b-accent); }
.pag-btn.active { background: var(--b-accent); color: #fff; border-color: var(--b-accent); pointer-events: none; }
.pag-dots { color: var(--b-ink-muted); line-height: 40px; }

/* ══════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════ */
.blog-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--b-card);
  border: 1px solid var(--b-border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.sidebar-card-head {
  padding: 13px 18px;
  display: flex; align-items: center; gap: 9px;
  border-bottom: 1px solid var(--b-border);
  background: #f8fafc;
}
.sidebar-card-head span { font-size: 15px; }
.sidebar-card-head h3 {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 700;
  color: var(--b-ink); margin: 0;
}
.sidebar-card-body { padding: 6px 18px 12px; }
.tool-list { list-style: none; padding: 0; margin: 0; }
.tool-list li { border-bottom: 1px solid #f8fafc; }
.tool-list li:last-child { border-bottom: none; }
.tool-list a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 0; color: var(--b-ink-soft);
  font-size: 13.5px; text-decoration: none;
  transition: color .15s, padding-left .15s;
  font-family: var(--font-body);
}
.tool-list a:hover { color: var(--b-accent); padding-left: 4px; }
.tl-arr { margin-left: auto; color: var(--b-border); font-size: 13px; }
.tool-list a:hover .tl-arr { color: var(--b-accent); }

.cat-pills { display: flex; flex-wrap: wrap; gap: 7px; padding: 14px 18px; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 500;
  border: 1px solid var(--b-border);
  background: #f8fafc; color: var(--b-ink-soft);
  text-decoration: none; transition: all .15s;
  font-family: var(--font-body);
}
.cat-pill:hover { background: var(--b-accent); color: #fff; border-color: var(--b-accent); }

.sidebar-search { padding: 14px 18px; }
.sidebar-search form { display: flex; gap: 7px; }
.sidebar-search input {
  flex: 1; padding: 9px 12px;
  border: 1.5px solid var(--b-border); border-radius: var(--r-sm);
  font-size: 13px; outline: none; transition: border-color .15s;
  font-family: var(--font-body); background: #f8fafc; color: var(--b-ink);
}
.sidebar-search input:focus { border-color: var(--b-accent); background: #fff; }
.sidebar-search button {
  padding: 9px 14px; background: var(--b-accent); color: #fff;
  border: none; border-radius: var(--r-sm); cursor: pointer; font-size: 15px;
  transition: background .15s;
}
.sidebar-search button:hover { background: var(--b-accent-dark); }

.nl-widget {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  border-radius: var(--r-md); padding: 24px 20px;
  position: relative; overflow: hidden;
}
.nl-widget::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  pointer-events: none;
}
.nl-widget h3 {
  font-family: var(--font-head);
  font-size: 15px; color: #fff; margin-bottom: 7px;
}
.nl-widget p {
  font-size: 13px; color: rgba(255,255,255,.6);
  margin-bottom: 16px; line-height: 1.55; font-family: var(--font-body);
}
.nl-form { display: flex; flex-direction: column; gap: 8px; }
.nl-form input {
  padding: 10px 13px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.1);
  color: #fff; font-size: 13.5px; outline: none;
  transition: border-color .15s; font-family: var(--font-body);
}
.nl-form input::placeholder { color: rgba(255,255,255,.38); }
.nl-form input:focus { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.14); }
.nl-form button {
  padding: 10px; border-radius: var(--r-sm);
  background: #fff; border: none;
  color: var(--b-accent); font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: opacity .15s;
  font-family: var(--font-body);
}
.nl-form button:hover { opacity: .92; }

/* ══════════════════════════════════════════════════════
   SINGLE POST HERO
══════════════════════════════════════════════════════ */
.single-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
  padding: 56px 0 0;
  position: relative; overflow: hidden;
}
.single-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 90% 50%, rgba(99,102,241,.2) 0%, transparent 65%);
  pointer-events: none;
}
.single-hero-inner {
  position: relative; z-index: 1;
  max-width: 840px; margin: 0 auto;
  padding: 0 24px 52px;
}
.single-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  color: #fff; line-height: 1.24;
  margin: 16px 0 20px; font-weight: 700;
  letter-spacing: -.2px;
}
.single-hero-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  color: rgba(255,255,255,.5); font-size: 13px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-body);
}
.single-hero-meta strong { color: rgba(255,255,255,.82); }

/* Featured image */
.single-feat-img {
  max-width: 840px; margin: 0 auto;
  padding: 0 24px;
  position: relative; z-index: 1;
}
.single-feat-img-inner {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden; aspect-ratio: 21/9; max-height: 420px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}
.single-feat-img-inner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.single-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.single-img-placeholder .big-emoji { font-size: 88px; }
.single-img-placeholder span {
  font-size: 11px; color: rgba(255,255,255,.25);
  letter-spacing: .09em; text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════
   ARTICLE BODY
══════════════════════════════════════════════════════ */
.article-wrap {
  max-width: 840px; margin: 0 auto;
  padding: 0 24px 72px;
}
.article-box {
  background: var(--b-card);
  border: 1px solid var(--b-border);
  border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 48px 56px 56px;
  margin-bottom: 40px;
}
.article-box h2 {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 700;
  color: var(--b-ink); margin: 40px 0 14px; line-height: 1.28;
}
.article-box h2:first-child { margin-top: 0; }
.article-box h3 {
  font-family: var(--font-head);
  font-size: 1.12rem; font-weight: 700;
  color: var(--b-ink); margin: 26px 0 10px;
}
.article-box p {
  font-size: 16.5px; line-height: 1.82;
  color: var(--b-ink-soft); margin-bottom: 18px;
  font-family: var(--font-body);
}
.article-box ul, .article-box ol {
  margin: 10px 0 18px 24px;
  color: var(--b-ink-soft); font-size: 16.5px;
  line-height: 1.82; font-family: var(--font-body);
}
.article-box li { margin-bottom: 6px; }
.article-box strong { color: var(--b-ink); font-weight: 600; }
.article-box a {
  color: var(--b-accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.article-box a:hover { color: var(--b-accent-dark); }
.article-box blockquote {
  border-left: 3px solid var(--b-accent);
  padding: 14px 20px;
  margin: 26px 0;
  background: #eff6ff;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--b-ink-soft); font-style: italic;
  font-family: var(--font-head);
}
.article-box code {
  background: #f1f5f9; border: 1px solid #e2e8f0;
  padding: 1px 6px; border-radius: 4px;
  font-size: 14px; color: #b91c1c;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  border-radius: var(--r-md); padding: 30px 32px;
  margin: 34px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,.07), transparent 70%);
}
.cta-box h3 {
  color: #fff; font-family: var(--font-head);
  font-size: 1.2rem; margin-bottom: 8px;
}
.cta-box p {
  color: rgba(255,255,255,.62); margin-bottom: 18px;
  font-size: 14.5px; font-family: var(--font-body);
}
.cta-box a {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--b-accent);
  padding: 11px 24px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 700; font-size: 14px;
  transition: opacity .15s, transform .15s;
  font-family: var(--font-body);
}
.cta-box a:hover { opacity: .92; color: var(--b-accent-dark); transform: translateY(-1px); }

/* FAQ */
.faq-block {
  border: 1px solid var(--b-border);
  border-radius: var(--r-md); overflow: hidden;
  margin: 32px 0;
}
.faq-head-bar {
  background: #f8fafc; padding: 10px 22px;
  font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--b-ink-muted); border-bottom: 1px solid var(--b-border);
  font-weight: 700; font-family: var(--font-body);
}
.faq-item {
  padding: 18px 22px;
  border-bottom: 1px solid var(--b-border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h4 {
  font-family: var(--font-head); font-size: 15px;
  font-weight: 700; color: var(--b-ink); margin-bottom: 7px;
}
.faq-item p {
  font-size: 14.5px; color: var(--b-ink-soft);
  margin: 0; line-height: 1.68;
  font-family: var(--font-body);
}

/* Share Bar */
.share-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--b-border);
  border-bottom: 1px solid var(--b-border);
  margin-bottom: 28px;
}
.share-label {
  font-size: 13px; color: var(--b-ink-muted);
  font-weight: 600; font-family: var(--font-body);
}
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: opacity .15s, transform .15s;
  font-family: var(--font-body);
}
.share-btn:hover { opacity: .83; transform: translateY(-1px); }
.share-btn.tw  { background: #000; color: #fff; }
.share-btn.fb  { background: #1877f2; color: #fff; }
.share-btn.wa  { background: #25d366; color: #fff; }
.share-btn.cp  { background: #f1f5f9; color: var(--b-ink); border: 1px solid var(--b-border); }

/* Author Box */
.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  background: #f8fafc; border: 1px solid var(--b-border);
  border-radius: var(--r-md); padding: 22px;
  margin: 26px 0;
}
.author-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.author-info h4 {
  font-family: var(--font-head); font-size: 15px;
  color: var(--b-ink); margin-bottom: 5px;
}
.author-info p {
  font-size: 13.5px; color: var(--b-ink-muted);
  line-height: 1.58; margin: 0; font-family: var(--font-body);
}
.author-info a { color: var(--b-accent); text-decoration: none; }

/* Tags */
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.art-tag {
  display: inline-block; padding: 5px 13px; border-radius: 100px;
  background: #f1f5f9; border: 1px solid var(--b-border);
  font-size: 12px; color: var(--b-ink-muted); text-decoration: none;
  transition: all .15s; font-family: var(--font-body);
}
.art-tag:hover { background: var(--b-accent); color: #fff; border-color: var(--b-accent); }

/* Related Posts */
.related-section {
  background: #f1f5f9;
  border-top: 1px solid var(--b-border);
  padding: 56px 0 72px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 28px;
}

/* Back link */
.back-to-blog {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--b-ink-muted); font-size: 13.5px;
  text-decoration: none; border: 1.5px solid var(--b-border);
  padding: 10px 20px; border-radius: var(--r-sm);
  background: var(--b-card); transition: all .18s;
  font-family: var(--font-body);
}
.back-to-blog:hover {
  background: var(--b-accent); color: #fff;
  border-color: var(--b-accent);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
}
@media (max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .blog-hero { padding: 44px 0 40px; }
  .blog-layout { padding: 36px 0 72px; }
  .article-box { padding: 28px 22px 32px; }
  .featured-post-body { padding: 22px 20px 26px; }
  .single-hero-inner { padding: 0 16px 40px; }
  .article-wrap { padding: 0 16px 56px; }
}
@media (max-width: 500px) {
  .related-grid { grid-template-columns: 1fr; }
  .blog-hero h1 { font-size: 1.7rem; }
  .share-bar { gap: 7px; }
  .share-btn { padding: 7px 11px; font-size: 12px; }
  .blog-hero-stats { gap: 24px; }
}
