/* =========================================
   Smart Arogya – Main Stylesheet
   Healthline-inspired, performance-optimized
   ========================================= */

/* CSS Variables */
:root {
  --green: #006633;
  --green-light: #007a3d;
  --green-pale: #e8f5ee;
  --red: #c0392b;
  --red-pale: #fdecea;
  --blue: #1a5276;
  --blue-pale: #ebf5fb;
  --purple: #6c3483;
  --purple-pale: #f5eef8;
  --orange: #d35400;
  --orange-pale: #fef5e7;
  --pink: #a93226;
  --pink-pale: #fce4ec;

  --text-primary: #1a1a1a;
  --text-secondary: #444;
  --text-muted: #777;
  --border: #e8e8e8;
  --bg-light: #f7f8f9;
  --white: #ffffff;

  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --radius: 8px;
  --radius-sm: 4px;

  --header-h: 64px;
  --max-w: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  padding: 6px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-links { display: flex; gap: 16px; }
.top-links a { color: rgba(255,255,255,.85); transition: color .2s; }
.top-links a:hover { color: var(--white); }

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--green);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon { font-size: 20px; color: var(--green); }
.logo-text {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -.3px;
}
.logo-text strong { font-weight: 700; color: var(--green); }

/* Nav */
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li > a.active { background: var(--green-pale); color: var(--green); }
.chevron { font-size: 10px; opacity: .6; }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  z-index: 100;
  padding: 8px 0;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: background .15s, color .15s;
}
.dropdown li a:hover { background: var(--green-pale); color: var(--green); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: background .2s;
}
.search-btn:hover { background: var(--bg-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: .3s; }

/* Search overlay */
.search-overlay {
  display: none;
  padding: 12px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.search-overlay.open { display: block; }
.search-overlay .container { display: flex; align-items: center; gap: 12px; }
.search-input {
  flex: 1;
  padding: 10px 16px;
  font-size: 16px;
  border: 2px solid var(--green);
  border-radius: 50px;
  outline: none;
}
.search-close {
  font-size: 18px;
  color: var(--text-muted);
  padding: 4px 8px;
  cursor: pointer;
}

/* =========================================
   CATEGORY BADGES
   ========================================= */
.category-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.category-badge.green  { background: var(--green-pale); color: var(--green); }
.category-badge.red    { background: var(--red-pale); color: var(--red); }
.category-badge.blue   { background: var(--blue-pale); color: var(--blue); }
.category-badge.purple { background: var(--purple-pale); color: var(--purple); }
.category-badge.orange { background: var(--orange-pale); color: var(--orange); }
.category-badge.pink   { background: var(--pink-pale); color: var(--pink); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section { padding: 32px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}

/* Hero Main */
.hero-main-link { display: block; }
.hero-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; }
.hero-img-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform .4s;
}
.hero-main-link:hover .hero-img-wrap img { transform: scale(1.02); }
.hero-img-wrap .category-badge { position: absolute; top: 16px; left: 16px; }
.hero-content { padding: 20px 0 0; }
.hero-title {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.hero-title:hover { color: var(--green); }
.hero-excerpt { font-size: 15px; color: var(--text-secondary); margin-bottom: 12px; }
.article-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.article-meta .author { font-weight: 600; color: var(--green); }

/* Hero Side */
.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-side-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.hero-side-card:hover { box-shadow: var(--shadow-md); }
.hero-side-card a { display: flex; gap: 0; }
.side-img-wrap { flex-shrink: 0; width: 120px; }
.side-img-wrap img { width: 120px; height: 100%; object-fit: cover; }
.side-content { padding: 12px; flex: 1; }
.side-content h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.4;
  margin: 6px 0 4px;
}
.side-excerpt { font-size: 13px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta-date { font-size: 12px; color: var(--text-muted); margin-top: 6px; display: block; }

/* =========================================
   CATEGORY PILLS
   ========================================= */
.category-pills-section { padding: 24px 0; }
.pills-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.pills-scroll::-webkit-scrollbar { display: none; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: background .2s, border-color .2s, color .2s;
}
.pill:hover { background: var(--green-pale); border-color: var(--green); color: var(--green); }

/* =========================================
   MAIN LAYOUT
   ========================================= */
.main-layout { padding: 8px 0 40px; }
.content-sidebar-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.sidebar { position: sticky; top: calc(var(--header-h) + 16px); }

/* Section Header */
.content-section { padding: 32px 0; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}
.accent-bar { display: inline-block; width: 4px; height: 22px; background: var(--green); border-radius: 2px; }
.accent-bar.purple-bar { background: var(--purple); }
.accent-bar.orange-bar { background: var(--orange); }
.accent-bar.pink-bar   { background: var(--pink); }
.accent-bar.blue-bar   { background: var(--blue); }
.accent-bar.green-bar  { background: var(--green); }

.see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  padding: 6px 12px;
  border: 1px solid var(--green);
  border-radius: 50px;
  transition: background .2s, color .2s;
}
.see-all:hover { background: var(--green); color: var(--white); }

.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* =========================================
   CARD GRID
   ========================================= */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
  background: var(--white);
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-img-wrap { position: relative; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 180px; object-fit: cover; transition: transform .4s; }
.article-card:hover .card-img-wrap img { transform: scale(1.03); }
.card-img-wrap .category-badge { position: absolute; top: 10px; left: 10px; }
.card-body { padding: 16px; }
.card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card:hover .card-title { color: var(--green); }
.card-excerpt { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 10px; }

.featured-card .card-img-wrap img { height: 220px; }

/* =========================================
   LIST CARD LAYOUT (Mental Health)
   ========================================= */
.list-card-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.list-card-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.list-card-main a { display: block; }
.list-card-main img { width: 100%; height: 240px; object-fit: cover; }
.list-card-body { padding: 16px; }
.list-card-body h3 { font-family: var(--font-serif); font-size: 20px; line-height: 1.3; margin: 10px 0 8px; }
.list-card-body p { font-size: 14px; color: var(--text-secondary); }
.list-card-main:hover .list-card-body h3 { color: var(--green); }

.list-card-stack { display: flex; flex-direction: column; gap: 16px; }
.mini-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.mini-card:last-child { border-bottom: none; padding-bottom: 0; }
.mini-card img { width: 90px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.mini-cat { font-size: 11px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .5px; }
.mini-card h4 { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 4px 0 4px; color: var(--text-primary); }
.mini-card:hover h4 { color: var(--green); }
.mini-date { font-size: 12px; color: var(--text-muted); }

/* =========================================
   TWO COL SECTION
   ========================================= */
.two-col-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two-col-block {}
.mini-list-card { margin-bottom: 16px; }
.mini-list-card a { display: flex; gap: 14px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.mini-list-card a:hover { box-shadow: var(--shadow-md); }
.mini-list-card img { width: 130px; height: 100px; object-fit: cover; flex-shrink: 0; }
.mini-list-card div { padding: 12px 12px 12px 0; }
.mini-list-card h3 { font-family: var(--font-serif); font-size: 15px; line-height: 1.4; margin: 6px 0 4px; }
.mini-list-card p { font-size: 13px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.link-list li a {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  gap: 8px;
  transition: color .15s, padding-left .15s;
}
.link-list li a:hover { color: var(--green); padding-left: 4px; }

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.widget-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  color: var(--text-primary);
}

/* Newsletter Widget */
.newsletter-widget { background: var(--green); color: var(--white); text-align: center; }
.newsletter-icon { font-size: 32px; margin-bottom: 12px; }
.newsletter-widget h3 { font-size: 18px; margin-bottom: 8px; }
.newsletter-widget p { font-size: 14px; opacity: .9; margin-bottom: 16px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}
.newsletter-form button {
  padding: 10px;
  background: var(--text-primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}
.newsletter-form button:hover { background: #333; }

/* Trending List */
.trending-list { display: flex; flex-direction: column; gap: 0; }
.trending-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.trending-list li:last-child { border-bottom: none; }
.trend-num { font-size: 22px; font-weight: 900; color: var(--border); line-height: 1; flex-shrink: 0; margin-top: 2px; }
.trending-list a { font-size: 14px; font-weight: 600; color: var(--text-secondary); line-height: 1.4; }
.trending-list a:hover { color: var(--green); }

/* Category Widget */
.category-widget-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .15s;
}
.category-widget-list li:last-child a { border-bottom: none; }
.category-widget-list li a:hover { color: var(--green); }
.category-widget-list span { font-size: 16px; }

/* Tip Widget */
.tip-widget { background: var(--green-pale); border-color: var(--green); }
.tip-header { font-size: 14px; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.tip-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Social Widget */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.social-btn {
  display: block;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  transition: opacity .2s;
}
.social-btn:hover { opacity: .85; }
.social-btn.fb { background: #1877f2; }
.social-btn.tw { background: #1da1f2; }
.social-btn.yt { background: #ff0000; }
.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* =========================================
   TOOLS BANNER
   ========================================= */
.tools-banner { background: var(--bg-light); padding: 48px 0; border-top: 1px solid var(--border); }
.tools-banner h2 { font-family: var(--font-serif); font-size: 28px; text-align: center; margin-bottom: 8px; }
.tools-banner > .container > p { text-align: center; color: var(--text-muted); margin-bottom: 32px; }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.tool-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tool-icon { font-size: 36px; margin-bottom: 12px; }
.tool-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.tool-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.tool-link { font-size: 13px; font-weight: 700; color: var(--green); }
.tool-link:hover { text-decoration: underline; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer { background: #1a1a1a; color: rgba(255,255,255,.75); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 12px 0 20px; max-width: 280px; }
.footer-logo .logo-icon { color: #4caf82; }
.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-text strong { color: #4caf82; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  font-size: 14px;
  color: var(--white);
  transition: background .2s;
}
.footer-social a:hover { background: var(--green); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.65); display: block; padding: 5px 0; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  text-align: center;
}
.disclaimer { font-size: 12px; color: rgba(255,255,255,.4); max-width: 700px; margin: 0 auto 8px; line-height: 1.6; }
.copyright { font-size: 12px; color: rgba(255,255,255,.4); }

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background .2s;
  z-index: 500;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--green-light); }

/* =========================================
   CATEGORY PAGE
   ========================================= */
.page-hero {
  background: var(--green);
  color: var(--white);
  padding: 48px 0;
  margin-bottom: 40px;
}
.page-hero h1 { font-family: var(--font-serif); font-size: 36px; margin-bottom: 8px; }
.page-hero p { font-size: 16px; opacity: .85; }
.breadcrumb { font-size: 13px; margin-bottom: 12px; opacity: .8; }
.breadcrumb a { color: var(--white); text-decoration: underline; }

.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* =========================================
   ARTICLE PAGE
   ========================================= */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 40px 0; }
.article-body { max-width: 720px; }
.article-header { margin-bottom: 28px; }
.article-header h1 { font-family: var(--font-serif); font-size: 34px; line-height: 1.3; margin: 12px 0; }
.article-header .article-meta { margin-top: 16px; }
.article-hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.article-hero-img img { width: 100%; max-height: 450px; object-fit: cover; }
.article-content { font-size: 17px; line-height: 1.8; color: var(--text-primary); }
.article-content h2 { font-family: var(--font-serif); font-size: 24px; margin: 32px 0 12px; }
.article-content h3 { font-size: 20px; font-weight: 700; margin: 24px 0 10px; }
.article-content p { margin-bottom: 18px; }
.article-content ul { padding-left: 24px; margin-bottom: 18px; list-style: disc; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 4px solid var(--green); padding: 12px 20px; background: var(--green-pale); margin: 24px 0; font-style: italic; border-radius: 0 var(--radius) var(--radius) 0; }

/* Key Takeaway Box */
.key-takeaway {
  background: var(--green-pale);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
}
.key-takeaway-title { font-weight: 700; color: var(--green); margin-bottom: 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-side-card a { flex-direction: column; }
  .side-img-wrap { width: 100%; }
  .side-img-wrap img { width: 100%; height: 160px; }
  .content-sidebar-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); z-index: 999; padding: 16px; box-shadow: var(--shadow-md); }
  .main-nav.open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open .nav-list > li > a { padding: 12px 8px; border-bottom: 1px solid var(--border); }
  .main-nav.open .dropdown { display: block; position: static; border: none; box-shadow: none; padding-left: 16px; }
  .hamburger { display: flex; }
  .hero-side { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .list-card-layout { grid-template-columns: 1fr; }
  .two-col-sections { grid-template-columns: 1fr; }
  .hero-img-wrap img { height: 260px; }
  .hero-title { font-size: 22px; }
  .top-bar { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .pills-scroll { gap: 6px; }
  .pill { padding: 7px 12px; font-size: 12px; }
}
