/*
Theme Name: Drugvigil Blog
Theme URI: https://www.drugvigil.com
Author: Drugvigil
Author URI: https://www.drugvigil.com
Description: Custom WordPress theme matching the Drugvigil main website design.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: drugvigil
*/

:root {
  --primary-dark: #000000;
  --primary-medium: #0b3b2f;
  --primary-accent: #16c784;
  --primary-light: #43f0b6;
  --accent-secondary: #0ea66f;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --text-dark: #1b2336;
  --text-muted: #415674;
  --border-light: #e8ecf1;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --radius: 14px;
}

/* ============================================================
   FONT OPTIONS — Uncomment ONE to activate
   SERIF (classy, editorial):
     1. Lora         — warm, balanced, great for long reads
     2. Merriweather — traditional, sturdy, high readability
     3. Playfair Display — elegant, editorial, magazine-like
   SANS-SERIF (clean, modern):
     4. Inter        — crisp, UI-friendly, very readable
     5. DM Sans      — geometric, modern, minimal
     6. Source Sans 3 — Adobe's workhorse, clean & neutral
============================================================ */

/* SYSTEM FONT STACK (Olivero-style) — used as base for the entire theme */
/* Provides native look on every OS without loading external fonts */

/* ACTIVE FONT — change this line to switch */
/* Option 1   .blog-font { font-family: 'Lora', Georgia, serif; } */
/* Option 2   .blog-font { font-family: 'Merriweather', Georgia, serif; } */
/* Option 3   .blog-font { font-family: 'Playfair Display', Georgia, serif; } */
/* Option 4   .blog-font { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif; } */
/* Option 5   .blog-font { font-family: 'DM Sans', Arial, sans-serif; } */
/* Option 6   .blog-font { font-family: 'Source Sans 3', Arial, sans-serif; } */
/* Option 7 — ACTIVE */ .blog-font { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; }

/* Blog content typography — only for blog areas, not nav/footer */
.entry-content,
.post-card-excerpt,
.single-post-body,
.author-card-bio,
.comments-section .comment-body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  line-height: 1.8;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.post-card, .posts-grid,
.post-card-title, .post-card-category, .post-card-readmore,
.post-card-meta, .post-card-author, .post-card-footer,
.post-card-excerpt, .post-card-body,
.cat-widget-title, .blog-category-title, .post-tags-label, .post-share-label,
.author-card-name, .author-card-role, .author-card-posts,
.pagination, .sidebar-search, .widget-title,
.cat-list, .tag-cloud, .toc-inline, .sidebar-widget,
.related-card-body, .post-nav-item, .post-hero-cats, .post-hero-tags,
.post-hero-meta, .blog-home-hero, .cta-widget, .services-list,
.recent-post-title, .recent-post-date, .cat-all-item,
.comment-respond, .comment-header,
.post-edit-link, .count {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
}
a { color: var(--primary-accent); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--accent-secondary); }
img { max-width: 100%; height: auto; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 30px; }

/* ============================================================
   HEADER/FOOTER — loaded from main site CSS
   Only blog-specific overrides here
============================================================ */
.admin-bar .top-header { top: 32px; }
.admin-bar .fixed-top { top: 72px; }
@media (max-width: 782px) {
  .admin-bar .top-header { top: 46px; }
  .admin-bar .fixed-top { top: 86px; }
}

/* ============================================================
   PAGE HEADER
============================================================ */
.page-header { background: linear-gradient(135deg, var(--primary-medium), var(--text-dark)); padding: 50px 0; text-align: center; color: var(--white); }
.page-header h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.page-header .breadcrumb { display: flex; justify-content: center; gap: 8px; list-style: none; font-size: 13px; }
.page-header .breadcrumb a { color: var(--primary-accent); }
.page-header .breadcrumb .separator { color: rgba(255,255,255,0.4); }
.page-header .breadcrumb .current { color: rgba(255,255,255,0.6); }

/* ============================================================
   BLOG HOME HERO BANNER
============================================================ */
.blog-home-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 50px;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: #0a1a20;
}
.blog-home-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,59,47,0.6) 0%, rgba(27,35,54,0.65) 100%);
}
.blog-home-hero .hero-pattern {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.5; pointer-events: none;
}
.blog-home-hero .hero-content {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto; text-align: center;
}
.blog-home-hero .hero-badge {
  display: inline-block; padding: 5px 16px;
  background: rgba(41,184,139,0.2); color: #29b88b;
  border-radius: 20px; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; border: 1px solid rgba(41,184,139,0.3);
  margin-bottom: 16px;
}
.blog-home-hero h1 {
  color: #fff !important; font-size: clamp(24px, 3.5vw, 36px) !important;
  font-weight: 800 !important; margin-bottom: 10px !important;
  letter-spacing: -0.02em; text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1.25;
}
.blog-home-hero .hero-subtitle {
  color: rgba(255,255,255,0.75); font-size: 15px;
  line-height: 1.6; margin-bottom: 18px;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.blog-home-hero .hero-search {
  display: flex; max-width: 440px; margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25); border-radius: 10px; overflow: hidden;
}
.blog-home-hero .hero-search input {
  flex: 1; padding: 14px 18px; border: none; font-size: 14px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif; outline: none;
}
.blog-home-hero .hero-search button {
  padding: 14px 22px; background: var(--primary-accent); color: #fff;
  border: none; cursor: pointer; font-size: 15px; transition: background 0.3s;
}
.blog-home-hero .hero-search button:hover { background: var(--accent-secondary); }
.blog-home-hero .hero-stats {
  display: flex; justify-content: center; gap: 30px;
  margin-top: 22px; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
}
.blog-home-hero .hero-stat {
  text-align: center; color: rgba(255,255,255,0.7); font-size: 13px;
}
.blog-home-hero .hero-stat strong {
  display: block; font-size: 18px; color: #fff; font-weight: 800;
}

@media (max-width: 768px) {
  .blog-home-hero { padding: 110px 0 45px; min-height: 320px; }
  .blog-home-hero .hero-stats { gap: 20px; }
  .blog-home-hero .hero-stat strong { font-size: 18px; }
}

/* ============================================================
   BLOG ARCHIVE LAYOUT — 3 column grid with left sidebar
============================================================ */
.blog-archive-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 40px 0;
}

/* Left category sidebar */
.category-sidebar { position: sticky; top: 80px; align-self: start; }
.admin-bar .category-sidebar { top: 112px; }
.cat-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}
.cat-widget.has-padding { padding: 18px; }
.blog-category-header {
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--primary-medium), var(--text-dark));
}
.blog-category-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-light);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  margin: 0;
}
.blog-category-list { padding: 6px 0; }
.cat-list { list-style: none; }
.cat-list li { margin: 0; border-bottom: 1px solid #f3f4f6; }
.cat-list li:last-child { border-bottom: none; }
.cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  color: var(--text-dark);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.cat-list li a:hover,
.cat-list li.current-cat a {
  background: #f0faf5;
  color: var(--primary-accent);
  border-left-color: var(--primary-accent);
}
.cat-list li a .count {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.cat-list li a:hover .count,
.cat-list li.current-cat a .count { color: var(--primary-accent); }

/* All categories button */
.cat-all-item {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 10px 18px;
  background: none; border: none; cursor: pointer;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif; font-size: 13px; font-weight: 600;
  color: var(--text-dark); border-left: 3px solid transparent;
  border-bottom: 1px solid #f3f4f6; transition: all 0.2s;
  text-decoration: none;
}
.cat-all-item:hover, .cat-all-item.active {
  background: #f0faf5; color: var(--primary-accent);
  border-left-color: var(--primary-accent);
}
.cat-all-item .count { font-size: 11px; color: var(--text-muted); font-weight: 600; }

/* Tags cloud in sidebar */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 5px; padding: 14px 18px; }
.tag-cloud a {
  padding: 4px 10px;
  background: var(--off-white);
  color: var(--text-muted);
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 600;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  border: 1px solid var(--border-light);
}
.tag-cloud a:hover { background: var(--primary-accent); color: var(--white); border-color: var(--primary-accent); }

/* Search in sidebar */
.sidebar-search { display: flex; padding: 14px 18px; }
.sidebar-search input {
  flex: 1; padding: 9px 12px; border: 1px solid var(--border-light);
  border-radius: 6px 0 0 6px; font-size: 13px; outline: none; border-right: none;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
}
.sidebar-search input:focus { border-color: var(--primary-accent); }
.sidebar-search button {
  padding: 9px 13px; background: var(--primary-accent); color: var(--white);
  border: none; border-radius: 0 6px 6px 0; cursor: pointer; font-size: 13px;
}

/* Post grid — 3 columns */
.posts-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
}

/* ============================================================
   POST CARD — compact for grid
============================================================ */
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-image { width: 100%; height: 90px; object-fit: cover; }
.post-card-body { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; }
.post-card-meta { display: flex; gap: 8px; font-size: 10.5px; color: var(--text-muted); margin-bottom: 4px; }
.post-card-meta i { color: var(--primary-accent); margin-right: 2px; }
.post-card-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-accent);
  margin-bottom: 4px;
}
.post-card-title { font-size: 13px; font-weight: 600; line-height: 1.35; margin-bottom: 4px; word-spacing: 0.02em; }
.post-card-title a { color: var(--text-dark); }
.post-card-title a:hover { color: var(--primary-accent); }
.post-card-excerpt { color: var(--text-muted); font-size: 11.5px; line-height: 1.5; letter-spacing: 0.01em; word-spacing: 0.03em; margin-bottom: 6px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.post-card-author { font-size: 11px; }
.post-card-readmore { font-size: 11px; }
.post-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.post-card-author img {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
}
.post-card-readmore {
  font-size: 12px; font-weight: 700; color: var(--primary-accent);
  display: flex; align-items: center; gap: 4px;
}
.post-card-readmore:hover { gap: 8px; }

/* No thumbnail fallback */
.post-card-no-thumb {
  height: 115px;
  background: linear-gradient(135deg, var(--primary-medium), var(--text-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card-no-thumb i { font-size: 36px; color: rgba(255,255,255,0.2); }

/* ============================================================
   PAGINATION
============================================================ */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 35px 0 10px; grid-column: 1 / -1; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border-radius: 8px; font-weight: 600; font-size: 13px;
  background: var(--white); color: var(--text-dark); box-shadow: var(--shadow-sm);
}
.pagination .current { background: var(--primary-accent); color: var(--white); }
.pagination a:hover { background: var(--primary-accent); color: var(--white); }

/* ============================================================
   SINGLE POST HERO COVER — featured image as background
============================================================ */
.post-hero-cover {
  position: relative;
  overflow: hidden;
  padding: 140px 0 60px;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: #0a1a20;
}
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,42,46,0.72) 0%, rgba(10,26,32,0.78) 100%);
}
.post-hero-pattern {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.5;
  pointer-events: none;
}
.post-hero-content {
  position: relative; z-index: 1;
  max-width: 860px; margin: 0 auto; text-align: center;
}
.post-hero-cats { margin-bottom: 14px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.post-hero-cats a {
  display: inline-block; padding: 4px 14px;
  background: rgba(41,184,139,0.2); color: #29b88b;
  border-radius: 20px; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  border: 1px solid rgba(41,184,139,0.3);
}
.post-hero-cats a:hover { background: #29b88b; color: #fff; }
.post-hero-content h1 {
  color: #ffffff !important;
  font-size: clamp(26px, 3.5vw, 42px) !important;
  font-weight: 800 !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
  line-height: 1.25 !important;
}
.post-hero-tags {
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.post-hero-tags a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 12px;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
  border-radius: 14px; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  font-size: 11px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
}
.post-hero-tags a i { font-size: 9px; }
.post-hero-tags a:hover { background: rgba(255,255,255,0.2); color: #fff; }

.post-hero-content { color: #fff !important; }
.post-hero-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif; font-size: 13px;
  color: rgba(255,255,255,0.7); margin-bottom: 16px;
}
.post-hero-meta i { color: #29b88b; margin-right: 4px; }
.post-hero-cover .breadcrumb {
  display: inline-flex; align-items: center; gap: 12px;
  list-style: none; padding: 8px 18px;
  border-radius: 999px; background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif; font-size: 13px;
}
.post-hero-cover .breadcrumb a { color: rgba(255,255,255,0.9); }
.post-hero-cover .breadcrumb a:hover { color: #29b88b; }
.post-hero-cover .breadcrumb .separator { color: rgba(255,255,255,0.4); }
.post-hero-cover .breadcrumb .current { color: #29b88b; }

/* ============================================================
   SINGLE POST LAYOUT — wider with sidebar
============================================================ */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 35px;
  padding: 45px 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Main content */
.single-post-content {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.single-post-body { padding: 42px 48px; }

/* Services sidebar widget */
.services-sidebar-widget {
  background: var(--white); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.services-sidebar-widget .widget-title {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-accent);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
}
.services-list { list-style: none; }
.services-list li { margin-bottom: 3px; }
.services-list li a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  color: var(--text-dark); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  font-size: 13px; font-weight: 500; transition: all 0.2s;
}
.services-list li a i { color: var(--primary-accent); width: 18px; text-align: center; font-size: 14px; }
.services-list li a:hover { background: #f0faf5; color: var(--primary-accent); }
/* post body starts directly with TOC or content */

/* Entry content — readable typography */
.entry-content { font-size: 17px; line-height: 1.9; color: #2d3748; letter-spacing: 0.015em; word-spacing: 0.05em; }
.entry-content h2 { font-size: 24px; font-weight: 800; margin: 35px 0 15px; color: var(--text-dark); }
.entry-content h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; color: var(--text-dark); }
.entry-content h4 { font-size: 17px; font-weight: 700; margin: 22px 0 10px; }
.entry-content p { margin-bottom: 22px; }
.entry-content ul, .entry-content ol { margin: 18px 0 18px 28px; }
.entry-content li { margin-bottom: 8px; }
.entry-content img { border-radius: 12px; margin: 25px 0; box-shadow: var(--shadow-sm); }
.entry-content blockquote {
  border-left: 4px solid var(--primary-accent);
  padding: 20px 28px;
  margin: 28px 0;
  background: linear-gradient(135deg, #f0faf5, #f8fdfb);
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
}
.entry-content blockquote p { margin-bottom: 0; }
.entry-content a { color: var(--primary-accent); font-weight: 600; border-bottom: 1px solid transparent; }
.entry-content a:hover { border-bottom-color: var(--primary-accent); }
.entry-content pre, .entry-content code {
  background: #f4f6f9; padding: 2px 6px; border-radius: 4px;
  font-size: 14px; font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
.entry-content pre { padding: 20px; border-radius: 10px; overflow-x: auto; margin: 20px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.entry-content table th, .entry-content table td {
  padding: 12px 16px; border: 1px solid var(--border-light); text-align: left; font-size: 14px;
}
.entry-content table th { background: var(--off-white); font-weight: 700; }

/* Post tags */
.post-tags { margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--border-light); }
.post-tags-label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.post-tags a {
  display: inline-block; padding: 5px 14px;
  background: var(--off-white); color: var(--text-muted);
  border-radius: 20px; font-size: 12.5px; font-weight: 600; margin: 3px 3px 3px 0;
}
.post-tags a:hover { background: var(--primary-accent); color: var(--white); }

/* Share buttons */
.post-share {
  margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 12px;
}
.post-share-label { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.post-share a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--off-white); color: var(--text-muted); font-size: 15px;
}
.post-share a:hover { background: var(--primary-accent); color: var(--white); }

/* Post navigation */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 35px;
}
.post-nav-item {
  background: var(--white); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm); transition: all 0.3s;
}
.post-nav-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-nav-item .nav-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 6px; }
.post-nav-item .nav-title { font-size: 14px; font-weight: 600; color: var(--text-dark); line-height: 1.4; }
.post-nav-item .nav-title:hover { color: var(--primary-accent); }
.post-nav-item.next { text-align: right; }

/* Related posts */
.related-posts { margin-top: 40px; }
.related-posts-title {
  font-size: 20px; font-weight: 800; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.related-posts-title i { color: var(--primary-accent); }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card img { width: 100%; height: 120px; object-fit: cover; }
.related-card-body { padding: 14px; }
.related-card-body h4 { font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.related-card-body h4 a { color: var(--text-dark); }
.related-card-body h4 a:hover { color: var(--primary-accent); }
.related-card-body .date { font-size: 11px; color: var(--text-muted); margin-top: 5px; }

/* ============================================================
   RIGHT SIDEBAR — Author & Widgets
============================================================ */
.single-sidebar { position: sticky; top: 80px; align-self: start; }

/* Author card */
.author-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  margin-bottom: 22px;
}
.author-card-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 14px;
  border: 3px solid var(--primary-accent);
  display: block;
}
.author-card-name { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.author-card-role { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.author-card-bio { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.author-card-social { display: flex; justify-content: center; gap: 8px; list-style: none; margin-bottom: 14px; }
.author-card-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--off-white); color: var(--text-muted); font-size: 13px;
}
.author-card-social a:hover { background: var(--primary-accent); color: var(--white); }
.author-card-posts { font-size: 12px; color: var(--text-muted); }
.author-card-posts strong { color: var(--primary-accent); }

/* TOC widget */
.toc-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.toc-widget-title {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-accent);
}
.toc-widget ul { list-style: none; }
.toc-widget ul li { margin-bottom: 4px; }
.toc-widget ul li a {
  display: block; padding: 6px 10px; border-radius: 6px;
  color: var(--text-dark); font-size: 13px; font-weight: 500;
}
.toc-widget ul li a:hover { background: #f0faf5; color: var(--primary-accent); }

/* Sidebar widget generic */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.sidebar-widget .widget-title {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-accent);
}
.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li { padding: 7px 0; border-bottom: 1px solid #f5f5f5; font-size: 13.5px; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--text-dark); font-weight: 500; }
.sidebar-widget ul li a:hover { color: var(--primary-accent); }

/* CTA widget */
.cta-widget {
  background: linear-gradient(135deg, var(--primary-medium), var(--text-dark));
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  margin-bottom: 22px;
}
.cta-widget h3 { color: var(--primary-light); font-size: 16px; margin-bottom: 8px; }
.cta-widget p { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 16px; line-height: 1.5; }
.cta-widget .cta-btn {
  display: inline-block; padding: 10px 24px;
  background: var(--primary-accent); color: var(--white);
  border-radius: 8px; font-weight: 700; font-size: 13px;
}
.cta-widget .cta-btn:hover { background: var(--primary-light); color: var(--primary-dark); }

/* ============================================================
   INLINE TABLE OF CONTENTS
============================================================ */
.toc-inline {
  background: var(--off-white); border-radius: 12px; padding: 22px 26px;
  margin-bottom: 30px; border: 1px solid var(--border-light);
}
.toc-inline-title {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.toc-inline-title i { color: var(--primary-accent); }
.toc-inline ul { list-style: none; counter-reset: toc; }
.toc-inline ul li { counter-increment: toc; margin-bottom: 4px; }
.toc-inline ul li a {
  display: block; padding: 5px 10px; border-radius: 6px;
  color: var(--text-dark); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
  font-size: 13.5px; font-weight: 500; line-height: 1.4;
}
.toc-inline ul li a::before {
  content: counter(toc) ". "; color: var(--primary-accent); font-weight: 700;
}
.toc-inline ul li a:hover { background: rgba(22,199,132,0.08); color: var(--primary-accent); }

/* Post categories inline */
.post-categories-inline { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.post-categories-inline .post-category { margin-bottom: 0; }

/* Recent posts in sidebar */
.recent-posts-list { list-style: none; }
.recent-post-item { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.recent-post-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.recent-post-item a { display: flex; gap: 10px; align-items: center; color: var(--text-dark); }
.recent-post-item a:hover .recent-post-title { color: var(--primary-accent); }
.recent-post-thumb { width: 55px; height: 55px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.recent-post-info { display: flex; flex-direction: column; }
.recent-post-title { font-size: 13px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-post-date { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* ============================================================
   COMMENTS
============================================================ */
.comments-section {
  background: var(--white); border-radius: var(--radius);
  padding: 35px 45px; box-shadow: var(--shadow-sm); margin-top: 30px;
}
.comments-section .comments-title { font-size: 20px; font-weight: 800; margin-bottom: 25px; }
.comment-list { list-style: none; }
.comment-list .comment {
  padding: 20px 0; border-bottom: 1px solid var(--border-light);
}
.comment-list .comment:last-child { border-bottom: none; }
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.comment-header img { width: 40px; height: 40px; border-radius: 50%; }
.comment-header .author-name { font-weight: 700; font-size: 14px; }
.comment-header .comment-date { font-size: 12px; color: var(--text-muted); }
.comment-body p { font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.comment-reply-link { font-size: 12px; font-weight: 700; color: var(--primary-accent); }

.comment-respond { margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--border-light); }
.comment-respond .comment-reply-title { font-size: 18px; font-weight: 800; margin-bottom: 15px; }
.comment-respond label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border-light);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  margin-bottom: 14px; outline: none; transition: border 0.3s;
}
.comment-respond input:focus, .comment-respond textarea:focus { border-color: var(--primary-accent); }
.comment-respond .submit {
  background: var(--primary-accent); color: var(--white); border: none;
  padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: background 0.3s;
}
.comment-respond .submit:hover { background: var(--accent-secondary); }

/* ============================================================
   READING PROGRESS BAR
============================================================ */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: var(--primary-accent); width: 0%; transition: width 0.1s;
}

/* Footer & Go-Top — handled by main site CSS */

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .blog-archive-layout { grid-template-columns: 200px 1fr; gap: 20px; }
  .single-post-layout { grid-template-columns: 1fr; max-width: 820px; }
  .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-archive-layout { grid-template-columns: 1fr; }
  .category-sidebar { position: static; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-home-hero, .page-header, .post-hero-cover { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .single-post-body { padding: 25px 22px; }
  .post-hero-cover { padding: 110px 0 45px; min-height: 300px; }
  .post-nav { grid-template-columns: 1fr; }
  .related-posts-grid { grid-template-columns: 1fr 1fr; }
  .comments-section { padding: 25px 22px; }
}

@media (max-width: 480px) {
  .posts-grid { grid-template-columns: 1fr; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 22px; }
}

/* ============================================================
   GUTENBERG BLOCK STYLES — full compatibility
============================================================ */

/* --- Color palette classes --- */
.has-primary-dark-color { color: #000000; }
.has-primary-dark-background-color { background-color: #000000; }
.has-primary-medium-color { color: #0b3b2f; }
.has-primary-medium-background-color { background-color: #0b3b2f; }
.has-primary-accent-color { color: #16c784; }
.has-primary-accent-background-color { background-color: #16c784; }
.has-primary-light-color { color: #43f0b6; }
.has-primary-light-background-color { background-color: #43f0b6; }
.has-accent-secondary-color { color: #0ea66f; }
.has-accent-secondary-background-color { background-color: #0ea66f; }
.has-white-color { color: #ffffff; }
.has-white-background-color { background-color: #ffffff; }
.has-off-white-color { color: #f8f9fb; }
.has-off-white-background-color { background-color: #f8f9fb; }
.has-text-dark-color { color: #1b2336; }
.has-text-dark-background-color { background-color: #1b2336; }
.has-text-muted-color { color: #415674; }
.has-text-muted-background-color { background-color: #415674; }

/* --- Font sizes --- */
.has-small-font-size { font-size: 13px; }
.has-normal-font-size { font-size: 16px; }
.has-medium-font-size { font-size: 20px; }
.has-large-font-size { font-size: 28px; }
.has-huge-font-size { font-size: 36px; }

/* --- Gradient classes --- */
.has-dark-to-green-gradient-background { background: linear-gradient(135deg, #1b2336, #0b3b2f); }
.has-green-to-light-gradient-background { background: linear-gradient(135deg, #16c784, #43f0b6); }
.has-dark-overlay-gradient-background { background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3)); }

/* --- Alignment --- */
.entry-content .alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.entry-content .alignfull { max-width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); width: 100vw; }
.entry-content .aligncenter { text-align: center; }
.entry-content .alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.entry-content .alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }

/* --- Paragraph --- */
.entry-content p { margin-bottom: 1.2em; }
.wp-block-paragraph.has-drop-cap:first-letter {
    font-size: 3.2em; font-weight: 700; float: left;
    line-height: 0.85; margin: 0.05em 0.1em 0 0;
    color: var(--primary-accent);
}

/* --- Headings --- */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
    font-weight: 700; color: var(--text-dark);
    line-height: 1.3; margin-top: 1.6em; margin-bottom: 0.6em;
}
.entry-content h1 { font-size: 2em; }
.entry-content h2 { font-size: 1.6em; }
.entry-content h3 { font-size: 1.3em; }
.entry-content h4 { font-size: 1.1em; }

/* --- Lists --- */
.entry-content ul, .entry-content ol { margin-bottom: 1.2em; padding-left: 1.8em; }
.entry-content li { margin-bottom: 0.4em; }
.wp-block-list { margin-bottom: 1.2em; padding-left: 1.8em; }

/* --- Image --- */
.wp-block-image { margin-bottom: 1.5em; }
.wp-block-image img { max-width: 100%; height: auto; border-radius: 10px; }
.wp-block-image figcaption {
    font-size: 13px; color: var(--text-muted); text-align: center;
    margin-top: 8px; font-style: italic;
}

/* --- Gallery --- */
.wp-block-gallery { margin-bottom: 1.5em; }
.wp-block-gallery .wp-block-image img { border-radius: 8px; }
.wp-block-gallery figcaption { font-size: 12px; color: var(--text-muted); }

/* --- Quote --- */
.wp-block-quote {
    border-left: 4px solid var(--primary-accent);
    padding: 16px 20px; margin: 1.5em 0;
    background: var(--off-white); border-radius: 0 10px 10px 0;
}
.wp-block-quote p { font-style: italic; color: var(--text-muted); margin-bottom: 0.5em; }
.wp-block-quote cite, .wp-block-quote footer {
    font-size: 13px; color: var(--text-muted); font-style: normal; font-weight: 600;
}
.wp-block-quote.is-style-large, .wp-block-quote.is-large {
    padding: 24px 30px; font-size: 1.2em;
}

/* --- Pullquote --- */
.wp-block-pullquote {
    border-top: 3px solid var(--primary-accent);
    border-bottom: 3px solid var(--primary-accent);
    padding: 24px 0; margin: 2em 0; text-align: center;
}
.wp-block-pullquote blockquote p { font-size: 1.4em; font-weight: 600; color: var(--text-dark); }
.wp-block-pullquote cite { font-size: 14px; color: var(--text-muted); }

/* --- Table --- */
.wp-block-table { margin-bottom: 1.5em; overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table th, .wp-block-table td {
    border: 1px solid var(--border-light); padding: 10px 14px; text-align: left;
}
.wp-block-table th { background: var(--off-white); font-weight: 600; }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--off-white); }
.wp-block-table figcaption { font-size: 13px; color: var(--text-muted); margin-top: 8px; text-align: center; }

/* --- Buttons --- */
.wp-block-buttons { margin-bottom: 1.5em; display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-button__link {
    display: inline-block; padding: 12px 28px; border-radius: 8px;
    font-weight: 600; font-size: 15px; text-decoration: none;
    transition: all 0.3s; cursor: pointer;
    background: var(--primary-accent); color: #fff;
}
.wp-block-button__link:hover { background: var(--accent-secondary); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent; border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--primary-accent); color: #fff;
}

/* --- Columns --- */
.wp-block-columns { margin-bottom: 1.5em; display: flex; flex-wrap: wrap; gap: 20px; }
.wp-block-column { flex: 1; min-width: 0; }
@media (max-width: 768px) {
    .wp-block-columns { flex-direction: column; }
    .wp-block-column { flex-basis: 100% !important; }
}

/* --- Group --- */
.wp-block-group { margin-bottom: 1.5em; }
.wp-block-group.has-background { padding: 24px; border-radius: 10px; }

/* --- Cover --- */
.wp-block-cover { margin-bottom: 1.5em; border-radius: 10px; overflow: hidden; min-height: 300px; display: flex; align-items: center; }
.wp-block-cover__inner-container { max-width: 720px; margin: 0 auto; padding: 30px; }

/* --- Media & Text --- */
.wp-block-media-text { margin-bottom: 1.5em; display: grid; grid-template-columns: 50% 1fr; align-items: center; gap: 24px; }
.wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr 50%; }
.wp-block-media-text img { border-radius: 10px; width: 100%; height: auto; }
@media (max-width: 768px) {
    .wp-block-media-text, .wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr; }
}

/* --- Separator --- */
.wp-block-separator {
    border: none; border-top: 2px solid var(--border-light);
    margin: 2em auto; max-width: 120px;
}
.wp-block-separator.is-style-wide { max-width: 100%; }
.wp-block-separator.is-style-dots {
    border: none; max-width: none; text-align: center;
    background: none !important;
}
.wp-block-separator.is-style-dots::before {
    content: '\00b7 \00b7 \00b7'; font-size: 24px; letter-spacing: 16px;
    color: var(--text-muted);
}

/* --- Spacer --- */
.wp-block-spacer { display: block; }

/* --- Code / Preformatted --- */
.wp-block-code, .wp-block-preformatted {
    background: #1b2336; color: #e2e8f0; padding: 20px 24px;
    border-radius: 10px; overflow-x: auto; margin-bottom: 1.5em;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 14px; line-height: 1.6;
}
.wp-block-code code { background: none; padding: 0; color: inherit; font-size: inherit; }

/* --- Verse --- */
.wp-block-verse {
    font-family: Georgia, serif; font-style: italic;
    padding: 16px 20px; border-left: 3px solid var(--primary-accent);
    white-space: pre-wrap; margin-bottom: 1.5em; color: var(--text-muted);
}

/* --- File --- */
.wp-block-file { margin-bottom: 1.5em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wp-block-file a:first-child { font-weight: 600; color: var(--primary-accent); }
.wp-block-file .wp-block-file__button {
    display: inline-block; padding: 8px 20px; background: var(--primary-accent);
    color: #fff; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none;
}
.wp-block-file .wp-block-file__button:hover { background: var(--accent-secondary); }

/* --- Embed / Video --- */
.wp-block-embed { margin-bottom: 1.5em; }
.wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; }
.wp-block-embed__wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* --- Details (accordion) --- */
.wp-block-details { margin-bottom: 1em; border: 1px solid var(--border-light); border-radius: 8px; overflow: hidden; }
.wp-block-details summary {
    padding: 14px 18px; font-weight: 600; cursor: pointer;
    background: var(--off-white); list-style: none;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::before { content: '\25B6'; margin-right: 10px; font-size: 12px; transition: transform 0.2s; display: inline-block; }
.wp-block-details[open] summary::before { transform: rotate(90deg); }
.wp-block-details > *:not(summary) { padding: 14px 18px; }

/* --- Footnotes --- */
.wp-block-footnotes { font-size: 14px; color: var(--text-muted); border-top: 1px solid var(--border-light); padding-top: 16px; margin-top: 2em; }

/* --- Author archive header --- */
.author-archive-header { display: flex; align-items: center; gap: 20px; margin-bottom: 12px; }
.author-archive-avatar { border-radius: 50%; width: 80px; height: 80px; }
.author-archive-role { font-size: 14px; color: var(--primary-accent); font-weight: 600; margin-top: 2px; }
.author-archive-bio { font-size: 14px; color: var(--text-muted); margin-top: 4px; max-width: 600px; }

/* --- Inline code within paragraphs --- */
.entry-content p code, .entry-content li code {
    background: var(--off-white); padding: 2px 6px; border-radius: 4px;
    font-size: 0.88em; font-family: 'SFMono-Regular', Consolas, monospace;
}

/* --- Links in content --- */
.entry-content a { color: var(--primary-accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--accent-secondary); }
