/* ── Blog Archive Styles ─────────────────────────────────── */

.page-header {
  background: #1a4a4a;
  border-bottom: 4px solid var(--orange);
  padding: 52px 0 48px;
}
.page-header-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.page-header h1 {
  font-family: var(--ff-head); font-size: 42px;
  color: #f0ede8; line-height: 1.15; margin-bottom: 10px;
}
.page-header h1 span { color: var(--orange); }
.page-header p { font-size: 15px; color: #9abfbf; max-width: 480px; line-height: 1.65; }

/* ── Filter bar ──────────────────────────────────────── */
.filter-bar { background: var(--warm-bg); border-bottom: 1px solid var(--border); }
.filter-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 8px;
  height: 52px; overflow-x: auto;
}
.chip {
  padding: 5px 14px; border-radius: 20px; font-size: 13px;
  font-weight: 500; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--border); background: white; color: var(--mid);
  transition: border-color .15s, color .15s, background .15s;
}
.chip.active { background: var(--orange); color: white; border-color: var(--orange); }
.chip:hover:not(.active) { border-color: var(--orange); color: var(--orange); }

/* ── Blog grid ───────────────────────────────────────── */
.blog-body { max-width: 1160px; margin: 0 auto; padding: 48px 24px 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ── Card ────────────────────────────────────────────── */
.post-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer; transition: box-shadow .2s, transform .15s;
}
.post-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

/* ── Card hero thumbnail ─────────────────────────────── */
.card-hero {
  background: #1a4a4a;
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-shrink: 0; overflow: hidden;
}
.card-hero.pillar { background: var(--orange); }
.card-hero.pillar .card-hero-title { color: #fff; }
.card-hero.pillar .card-hero-title .hl { color: #fff7ed; }
.card-hero.pillar .card-hero-title .hl-teal { color: var(--charcoal); }
.card-hero.pillar .icon-mini { background: rgba(0,0,0,0.18); border-color: rgba(255,255,255,0.2); }
.card-hero-content {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  width: 100%;
}
.card-hero-title {
  font-family: var(--ff-head); font-size: 20px;
  font-weight: 700; color: #f0ede8; line-height: 1.25; flex: 1;
  margin: 0;
}
.card-hero-title .hl { color: var(--orange); }
.card-hero-icons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex-shrink: 0;
}
.icon-mini {
  width: 48px; height: 48px;
  background: rgba(10,48,48,0.75); border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
}
.icon-mini svg { width: 24px; height: 24px; }
.card-accent { height: 3px; background: var(--orange); width: 100%; flex-shrink: 0; }

/* ── Card body ───────────────────────────────────────── */
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.card-cat {
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--orange);
}
.card-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.card-date { font-size: 12px; color: var(--muted); }
.card-title {
  font-family: var(--ff-head); font-size: 17px;
  line-height: 1.3; color: var(--charcoal); margin-bottom: 8px;
}
.card-excerpt { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.card-read { font-size: 13px; font-weight: 600; color: var(--orange); }
.card-time { font-size: 12px; color: var(--muted); }

/* ── Pagination ──────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 52px; }
.page-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border); background: white;
  font-size: 14px; font-weight: 500; color: var(--mid);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-body); transition: border-color .15s, color .15s;
}
.page-btn.active { background: var(--orange); color: white; border-color: var(--orange); }
.page-btn:hover:not(.active) { border-color: var(--orange); color: var(--orange); }
.page-btn.wide { width: auto; padding: 0 14px; }

/* ── Blog Post Styles ───────────────────────────────────── */

article {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 32px 80px;
}
article h1 { font-family: var(--ff-head); font-size: 2.2rem; line-height: 1.2; margin-bottom: 1.5rem; }
article h2 { font-family: var(--ff-head); font-size: 1.55rem; margin: 2.8rem 0 1rem; }
article h3 { font-family: var(--ff-body); font-size: 1.1rem; font-weight: 600; margin: 2rem 0 0.6rem; }
article p  { margin-bottom: 1.2rem; font-size: 1.05rem; }
article ul, article ol { margin: 0.8rem 0 1.2rem 1.4rem; }
article li { margin-bottom: 0.5rem; font-size: 1.05rem; }
article a  { color: var(--orange); }
article a:hover { text-decoration: underline; }
article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
article th { background: var(--warm-bg); padding: 10px 14px; text-align: left; border-bottom: 2px solid var(--border); }
article td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
article figure { margin: 2rem 0; }
article figcaption { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 8px; }

/* ── FAQ Box ─────────────────────────────────────────── */
.faq-box {
  background: var(--warm-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  margin: 2.8rem 0;
}
.faq-box h2 { margin-top: 0; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 1.6rem; }
.faq-box h3 { color: var(--orange); margin-top: 1.8rem; }
.faq-box h3:first-of-type { margin-top: 0; }
.faq-box p:last-child { margin-bottom: 0; }

/* ── Blog Post Hero ──────────────────────────────────── */
.hero-wrap { margin-bottom: 0; }
.hero { background: #1a4a4a; width: 100%; overflow: hidden; font-family: var(--ff-body); }
.hero-accent { height: 5px; background: var(--orange); width: 100%; }
.hero-body {
  display: flex; align-items: center;
  justify-content: center;
  max-width: 900px; margin: 0 auto;
  padding: 44px 32px; gap: 48px;
}
.hero-left { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.hero-h1 {
  font-family: var(--ff-head); font-size: 36px;
  font-weight: 700; line-height: 1.25; color: #f0ede8;
  margin: 0;
}
.hero-h1 .hl { color: var(--orange); }
.hero-right {
  flex-shrink: 0; display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px; width: 300px; height: 260px;
}
.icon-tile {
  background: rgba(10,48,48,0.75);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
}
.hero-watermark {
  text-align: center; padding: 10px 0 14px;
  font-size: 11px; color: #2a6060;
  background: #1a4a4a;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-body { flex-direction: column; gap: 24px; }
  .hero-right { width: 100%; height: auto; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .page-header { padding: 36px 0 32px; }
  .page-header h1 { font-size: 28px; }
  .page-header p { font-size: 14px; }
  .hero-h1 { font-size: 26px; }
  .hero-body { padding: 28px 20px; gap: 20px; }
  .hero-right { width: 100%; height: 160px; }
  .faq-box { padding: 20px 16px; }
  .faq-box h2 { font-size: 1.2rem; }
  article { padding: 20px 16px 60px; }
  article h1 { font-size: 1.6rem; }
  article h2 { font-size: 1.3rem; }
  article p, article li { font-size: 0.95rem; }
  .filter-inner { gap: 6px; }
  .chip { font-size: 11px; padding: 4px 10px; }
  .card-hero { min-height: 160px; padding: 16px; }
  .card-hero-title { font-size: 16px; }
  .card-body { padding: 14px 16px 16px; }
}
