/* =========================================
   PawGuide Pro — Main Stylesheet
   pawguide-pro.com
   ========================================= */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1B5E3B;
  --green-light: #2D7A52;
  --green-bg:    #EBF5EE;
  --orange:      #E8631A;
  --orange-light:#FF8040;
  --yellow:      #F5B800;
  --dark:        #1A1A1A;
  --gray-700:    #374151;
  --gray-500:    #6B7280;
  --gray-300:    #D1D5DB;
  --gray-100:    #F3F4F6;
  --white:       #FFFFFF;
  --radius:      10px;
  --shadow:      0 2px 12px rgba(0,0,0,.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,.12);
  --font-body:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-head:   'Merriweather', Georgia, serif;
  --max-w:       1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: #FAFAFA;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section    { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--green);
  color: var(--white);
  font-size: .82rem;
  padding: 8px 0;
  text-align: center;
  letter-spacing: .02em;
}
.trust-bar span { margin: 0 16px; opacity: .9; }
.trust-bar strong { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 40px; height: 40px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.logo-text { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--green); }
.logo-text span { color: var(--orange); }

/* Nav */
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active { background: var(--green-bg); color: var(--green); }

/* Search */
.header-search { display: flex; align-items: center; gap: 8px; }
.search-box {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: 24px;
  padding: 6px 14px;
  gap: 8px;
  transition: border-color .2s;
}
.search-box:focus-within { border-color: var(--green); }
.search-box input {
  border: none; background: transparent;
  font-size: .9rem; outline: none; width: 160px;
  color: var(--dark);
}
.search-box svg { color: var(--gray-500); flex-shrink: 0; }

.btn-menu {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 4px; color: var(--dark);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #1B5E3B 0%, #2D7A52 50%, #1a4a2e 100%);
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  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.04'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 700;
}
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero p {
  font-size: 1.1rem;
  opacity: .88;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-search {
  display: flex;
  background: var(--white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  max-width: 460px;
}
.hero-search input {
  flex: 1; border: none; outline: none;
  padding: 14px 20px;
  font-size: 1rem;
  color: var(--dark);
}
.hero-search button {
  background: var(--orange);
  border: none; cursor: pointer;
  padding: 14px 24px;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  transition: background .2s;
  white-space: nowrap;
}
.hero-search button:hover { background: var(--orange-light); }
.hero-stats {
  display: flex; gap: 32px; margin-top: 28px;
}
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 700; color: var(--yellow); }
.hero-stat span { font-size: .82rem; opacity: .75; }

/* Hero Image Area */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-card-featured {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(8px);
}
.hero-card-featured .tag {
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: inline-block;
  margin-bottom: 10px;
}
.hero-card-featured h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.hero-card-featured .meta { font-size: .8rem; opacity: .7; }
.hero-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-card-sm {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 14px;
}
.hero-card-sm .icon { font-size: 1.6rem; margin-bottom: 6px; }
.hero-card-sm p { font-size: .82rem; opacity: .8; line-height: 1.4; }

/* ---------- Categories ---------- */
.categories-strip { background: var(--white); border-bottom: 1px solid var(--gray-300); }
.cat-list {
  display: flex; gap: 8px;
  padding: 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-list::-webkit-scrollbar { display: none; }
.cat-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-300);
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  transition: all .2s;
  cursor: pointer;
  background: var(--white);
}
.cat-pill:hover, .cat-pill.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.cat-pill .cat-icon { font-size: 1.1rem; }

/* ---------- Ad Placeholder ---------- */
.ad-banner {
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ad-banner-leaderboard { height: 90px; }
.ad-banner-rectangle  { height: 250px; }
.ad-banner-inline     { height: 120px; margin: 32px 0; }

/* ---------- Featured Articles ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--green-bg), var(--gray-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
}
.card-img.tall { aspect-ratio: 4/3; }

.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--green); margin-bottom: 10px;
}
.card-tag.orange { color: var(--orange); }
.card h2, .card h3 {
  font-family: var(--font-head);
  line-height: 1.35;
  margin-bottom: 10px;
}
.card h2 { font-size: 1.25rem; }
.card h3 { font-size: 1rem; }
.card p  { font-size: .9rem; color: var(--gray-500); flex: 1; margin-bottom: 14px; }
.card-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; color: var(--gray-500);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.card-meta svg { flex-shrink: 0; }
.vet-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 12px;
  font-size: .72rem; font-weight: 700;
  padding: 2px 8px;
  margin-left: auto;
  white-space: nowrap;
}

/* Side cards stack */
.cards-stack { display: flex; flex-direction: column; gap: 16px; }
.card-horizontal {
  display: flex; gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card-horizontal:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-horizontal .card-img-sm {
  width: 100px; min-width: 100px; height: 90px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--green-bg), var(--gray-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.card-horizontal .card-body { padding: 12px 14px 12px 0; }
.card-horizontal h3 { font-size: .9rem; margin-bottom: 4px; }
.card-horizontal .card-meta { border-top: none; padding-top: 0; margin-top: 4px; }

/* ---------- Article Grid (3-col) ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---------- Section Header ---------- */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  display: flex; align-items: center; gap: 10px;
}
.section-header h2::before {
  content: '';
  display: inline-block;
  width: 4px; height: 28px;
  background: var(--orange);
  border-radius: 2px;
}
.view-all {
  font-size: .88rem; font-weight: 600;
  color: var(--green);
  display: flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.view-all:hover { gap: 8px; }

/* ---------- Main + Sidebar Layout ---------- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.widget-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-bg);
  color: var(--dark);
}
.popular-list { display: flex; flex-direction: column; gap: 14px; }
.popular-item {
  display: flex; gap: 12px; align-items: flex-start;
}
.popular-num {
  font-size: 1.4rem; font-weight: 800;
  color: var(--gray-300); line-height: 1;
  flex-shrink: 0; width: 28px;
}
.popular-item h4 { font-size: .88rem; font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.popular-item span { font-size: .75rem; color: var(--gray-500); }

/* Newsletter */
.newsletter-widget {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}
.newsletter-widget h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 6px; }
.newsletter-widget p { font-size: .85rem; opacity: .85; margin-bottom: 16px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input {
  border: none; border-radius: 6px;
  padding: 10px 14px; font-size: .9rem; outline: none;
  width: 100%;
}
.newsletter-form button {
  background: var(--orange); color: var(--white);
  border: none; border-radius: 6px;
  padding: 10px 14px; font-size: .9rem; font-weight: 700;
  cursor: pointer; transition: background .2s;
}
.newsletter-form button:hover { background: var(--orange-light); }
.newsletter-widget .fine-print { font-size: .72rem; opacity: .6; margin-top: 8px; }

/* Tags cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: .8rem;
  color: var(--gray-700);
  transition: all .2s;
  cursor: pointer;
}
.tag-pill:hover { background: var(--green-bg); color: var(--green); }

/* ---------- Category Hero ---------- */
.cat-hero {
  background: linear-gradient(135deg, #0f3d2b, #1B5E3B);
  color: var(--white);
  padding: 50px 0;
}
.cat-hero .breadcrumb { font-size: .82rem; opacity: .7; margin-bottom: 12px; }
.cat-hero .breadcrumb a { color: var(--white); }
.cat-hero .breadcrumb span { margin: 0 6px; }
.cat-hero h1 { font-family: var(--font-head); font-size: 2.2rem; margin-bottom: 10px; }
.cat-hero p { opacity: .8; max-width: 600px; }
.cat-hero-icon { font-size: 3rem; margin-bottom: 12px; }

/* ---------- Article Page ---------- */
.article-header { background: var(--white); padding: 40px 0 0; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--gray-500);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--green); }
.breadcrumb svg { width: 12px; height: 12px; }
.article-category-tag {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 4px;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 10px; margin-bottom: 14px;
}
.article-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  line-height: 1.25;
  max-width: 800px;
  margin-bottom: 18px;
}
.article-meta-row {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: .85rem; color: var(--gray-500);
  padding: 16px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.author-chip { display: flex; align-items: center; gap: 8px; }
.author-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: var(--green);
  flex-shrink: 0;
}
.author-chip strong { color: var(--dark); font-weight: 600; font-size: .88rem; }
.meta-divider { color: var(--gray-300); }
.vet-reviewed-badge {
  display: flex; align-items: center; gap: 6px;
  background: var(--green-bg);
  border: 1px solid #b7dfc7;
  color: var(--green);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .78rem; font-weight: 700;
  margin-left: auto;
}

/* Article featured image */
.article-featured-img {
  width: 100%;
  aspect-ratio: 21/9;
  background: linear-gradient(135deg, var(--green-bg) 0%, #d4edda 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  margin-top: 24px;
}

/* Infographic */
.article-infographic {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.infographic-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article body */
.article-body {
  max-width: 780px;
}
.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  margin: 36px 0 14px;
  color: var(--dark);
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--dark);
}
.article-body p  { margin-bottom: 18px; font-size: 1.05rem; color: var(--gray-700); }
.article-body ul, .article-body ol {
  margin: 0 0 18px 0; padding-left: 22px;
  color: var(--gray-700); font-size: 1.05rem;
}
.article-body li { margin-bottom: 8px; list-style: disc; }
.article-body ol li { list-style: decimal; }

/* Key takeaway box */
.key-box {
  background: var(--green-bg);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.key-box strong { display: block; color: var(--green); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.key-box p { margin: 0; font-size: .98rem; }

/* Warning box */
.warn-box {
  background: #FFF8E7;
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.warn-box strong { display: block; color: #92600A; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.warn-box p { margin: 0; font-size: .98rem; color: #6B4A0D; }

/* Cost table */
.cost-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .95rem; }
.cost-table th {
  background: var(--green);
  color: var(--white);
  padding: 12px 16px;
  text-align: left; font-weight: 600;
}
.cost-table td { padding: 11px 16px; border-bottom: 1px solid var(--gray-100); }
.cost-table tr:hover td { background: var(--green-bg); }
.cost-table td:last-child { font-weight: 600; color: var(--green); }

/* TOC */
.toc {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}
.toc h4 { font-size: .9rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.toc ol { padding-left: 18px; margin: 0; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--green); font-size: .9rem; }
.toc a:hover { text-decoration: underline; }

/* Author Bio */
.author-bio {
  display: flex; gap: 20px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 48px;
}
.author-bio-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; flex-shrink: 0;
}
.author-bio h4 { font-size: 1rem; margin-bottom: 4px; }
.author-bio .role { font-size: .8rem; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.author-bio p { font-size: .88rem; color: var(--gray-500); margin: 0; }

/* Related articles */
.related-section { margin-top: 48px; padding-top: 36px; border-top: 2px solid var(--gray-100); }
.related-section h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.related-card:hover { transform: translateY(-2px); }
.related-card .card-img { font-size: 2rem; aspect-ratio: 4/3; }
.related-card .card-body { padding: 14px; }
.related-card h4 { font-size: .9rem; font-weight: 700; line-height: 1.4; }

/* ---------- Footer ---------- */
.site-footer {
  background: #111827;
  color: #D1D5DB;
  padding: 60px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text { color: var(--white); font-size: 1.2rem; }
.footer-brand p { font-size: .88rem; opacity: .65; margin-top: 12px; line-height: 1.6; }
.footer-trust { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.footer-trust-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .72rem;
  color: #9CA3AF;
}
.footer-col h4 {
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .88rem; opacity: .7; transition: opacity .2s; }
.footer-col a:hover { opacity: 1; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; opacity: .5;
  flex-wrap: wrap; gap: 8px;
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-24 { margin-bottom: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Reading Progress Bar ---------- */
#reading-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--orange); width: 0%;
  z-index: 9999; transition: width .1s linear;
}

/* ---------- Mobile Nav Open State ---------- */
@media (max-width: 768px) {
  .site-nav.nav-open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-300);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
}

/* ---------- Article count (category pages) ---------- */
.article-count { color: var(--gray-500); font-size: .9rem; margin-bottom: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { padding: 50px 0 44px; }
  .hero h1 { font-size: 2rem; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-title { font-size: 1.7rem; }
  .site-nav { display: none; }
  .btn-menu { display: block; }
  .header-search .search-box input { width: 120px; }
  .sidebar { grid-template-columns: 1fr; }
  .author-bio { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .articles-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 1.2rem; }
  .article-title { font-size: 1.45rem; }
}
