*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #2D6A4F;
  --brand-dark: #1B4332;
  --brand-light: #D8F3DC;
  --accent: #F4A261;
  --text-1: #111827;
  --text-2: #374151;
  --text-3: #6B7280;
  --border: #E5E7EB;
  --bg: #F9FAFB;
  --white: #ffffff;
  --radius: 12px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--text-1);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
.site-header {
  background: #F8FAF9;
  padding: 0 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid rgba(45,106,79,0.08);
  transition: box-shadow 0.3s;
}
.site-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.site-header-brand:hover { text-decoration: none; }
.paw {
  width: 30px; height: 30px;
  background: var(--brand);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.site-header-nav { display: flex; gap: 12px; align-items: center; }
.site-header-nav a { color: #374151; font-size: 0.875rem; font-weight: 500; text-decoration: none; padding: 8px 18px; border-radius: 8px; transition: background 0.2s, color 0.2s; }
.site-header-nav a:hover { background: rgba(45,106,79,0.07); color: #111827; text-decoration: none; }
.btn-cta {
  background: #2D6A4F;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,106,79,0.32); }

/* ── Blog Index ── */
.hero-blog {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: #fff;
  padding: 72px 24px 60px;
  text-align: center;
}
.hero-blog h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.hero-blog p { font-size: 1.1rem; opacity: 0.85; max-width: 540px; margin: 0 auto; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  padding: 56px 0 72px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }
.card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--brand-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-1); line-height: 1.4; }
.card-desc { font-size: 0.9rem; color: var(--text-3); flex: 1; margin-bottom: 20px; }
.card-meta { font-size: 0.8rem; color: var(--text-3); margin-bottom: 16px; }
.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-link::after { content: ' →'; }

/* ── Article Layout ── */
.article-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 56px 24px 48px;
}
.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--brand-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.article-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--text-1);
}
.article-meta { font-size: 0.875rem; color: var(--text-3); }
.article-meta span { margin-right: 16px; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar-cta { display: none; }
}

/* ── Article Content ── */
.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-1);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-light);
}
.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--brand-dark);
}
.article-content p { margin-bottom: 20px; color: var(--text-2); }
.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
  color: var(--text-2);
}
.article-content li { margin-bottom: 8px; }
.article-content strong { color: var(--text-1); }

.tip-box {
  background: var(--brand-light);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 0.95rem;
}
.tip-box strong { color: var(--brand-dark); }

.warning-box {
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 0.95rem;
}

/* ── Sidebar ── */
.article-sidebar { position: sticky; top: 72px; }
.sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.sidebar-card ul { list-style: none; margin: 0; padding: 0; }
.sidebar-card ul li { margin-bottom: 10px; }
.sidebar-card ul li a { font-size: 0.9rem; font-weight: 500; color: var(--text-2); }
.sidebar-card ul li a:hover { color: var(--brand); }

.sidebar-cta {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.sidebar-cta h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; text-transform: none; letter-spacing: 0; }
.sidebar-cta p { font-size: 0.85rem; opacity: 0.85; margin-bottom: 16px; color: #fff; }
.sidebar-cta a {
  display: block;
  background: #fff;
  color: #1B4332;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.sidebar-cta a:hover { opacity: 0.9; text-decoration: none; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 56px 24px;
  text-align: center;
  margin-top: 24px;
}
.cta-banner h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { opacity: 0.85; margin-bottom: 28px; font-size: 1rem; }
.cta-banner a {
  display: inline-block;
  background: #fff;
  color: #1B4332;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.cta-banner a:hover { opacity: 0.9; text-decoration: none; }

/* ── Footer ── */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.6);
  padding: 32px 24px;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; margin: 0 8px; }
.site-footer a:hover { color: #fff; }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-3);
  padding: 14px 0 0;
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-3); }
.breadcrumb span { margin: 0 6px; }

@media (max-width: 600px) {
  .site-header { padding: 0 20px; }
  .site-header-nav .hide-mobile { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .article-title { font-size: 1.6rem; }
}
