.page-hero { padding: 80px 0 40px; background: var(--bg-blue); }

.page-hero p { color: var(--ink-soft); font-size: 17px; max-width: 50ch; line-height: 1.6; }

.cat-bar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 50; }

.cat-bar .row { display: flex; gap: 8px; padding: 16px 0; flex-wrap: wrap; align-items: center; }

.cat-bar .lbl { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); margin-right: 8px; }

.chip {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  padding: 8px 16px;
  border-radius: 24px;
  background: var(--bg-blue);
  color: var(--blue);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover { background: var(--saffron-soft); color: var(--blue); }

.chip.active { background: var(--blue); color: #fff; }

/* Featured */
.featured-section { padding: 64px 0 32px; }

.featured-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }

.feat-card {
  display: grid;
  grid-template-rows: 360px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feat-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(51,51,153,0.18); }

.feat-card .img { position: relative; }

.feat-card .img .ph { width: 100%; height: 100%; border: 0; border-radius: 0; }

.feat-card .img .badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--saffron); color: var(--blue);
  padding: 6px 12px; font-family: var(--display); font-weight: 800; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 4px;
}

.feat-card .body { padding: 32px; display: grid; gap: 14px; align-content: start; }

.feat-card .meta { display: flex; gap: 14px; align-items: center; }

.feat-card .cat { font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--saffron-deep); background: var(--saffron-soft); padding: 5px 12px; border-radius: 4px; }

.feat-card .date { font-family: var(--display); font-size: 12px; font-weight: 500; color: var(--ink-muted); }

.feat-card h2 { font-size: clamp(28px, 2.6vw, 36px); color: var(--blue); line-height: 1.15; }

.feat-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

.feat-card .read-time { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }

.feat-side { display: grid; gap: 20px; align-content: start; }

.side-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.side-card:hover { transform: translateX(4px); box-shadow: 0 12px 24px -12px rgba(51,51,153,0.15); }

.side-card .img { position: relative; }

.side-card .img .ph { height: 100%; border: 0; border-radius: 0; }

.side-card .body { padding: 18px 20px 18px 0; display: grid; gap: 8px; align-content: center; }

.side-card .cat { font-family: var(--display); font-weight: 700; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--saffron-deep); }

.side-card h4 { font-size: 16px; color: var(--blue); line-height: 1.3; }

.side-card .date { font-family: var(--display); font-size: 11px; color: var(--ink-muted); }

@media (max-width: 980px) {
  .featured-grid { grid-template-columns: 1fr; }
  .side-card { grid-template-columns: 100px 1fr; }
}

/* All posts grid */
.all-posts { padding: 64px 0 100px; background: var(--bg-paper); border-top: 1px solid var(--line); }

.all-posts .head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; gap: 32px; flex-wrap: wrap; }

.all-posts h3 { font-size: 32px; color: var(--blue); }

.all-posts .count { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 980px) { .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }

.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(51,51,153,0.18); border-color: rgba(255,153,51,0.4); }

.post-card .img { aspect-ratio: 16/10; position: relative; overflow: hidden; }

.post-card .img .ph { width: 100%; height: 100%; border: 0; border-radius: 0; transition: transform 0.4s; }

.post-card:hover .img .ph { transform: scale(1.04); }

.post-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.post-card .meta-row { display: flex; gap: 10px; align-items: center; }

.post-card .cat { font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--saffron-deep); background: var(--saffron-soft); padding: 4px 10px; border-radius: 3px; }

.post-card .date { font-family: var(--display); font-size: 11px; color: var(--ink-muted); }

.post-card h4 { font-size: 18px; color: var(--blue); line-height: 1.3; }

.post-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; }

.post-card .foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }

.post-card .author { font-family: var(--display); font-size: 11px; font-weight: 600; color: var(--ink-soft); }

.post-card .read-time { font-family: var(--display); font-size: 11px; color: var(--ink-muted); }

.post-card .read-time::before { content: '· '; }

/* Newsletter band */
.newsletter {
  background: var(--blue);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,153,51,0.22) 0, transparent 70%);
  pointer-events: none;
}

.newsletter .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; position: relative; }

.newsletter h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }

.newsletter h2 .a { color: var(--saffron); }

.newsletter p { color: #DDE0F0; font-size: 16px; max-width: 50ch; line-height: 1.6; margin-top: 12px; }

.newsletter form { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 12px; align-items: center; }

.newsletter input {
  flex: 1; border: 0; padding: 14px 18px;
  font-family: var(--body); font-size: 15px;
  background: transparent; color: var(--ink); outline: none;
}

.newsletter button {
  background: var(--saffron); color: var(--blue);
  border: 0; padding: 14px 22px;
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter button:hover { background: var(--saffron-deep); color: #fff; }

.newsletter .privacy { font-family: var(--display); font-size: 11px; color: #B5BAD8; margin-top: 12px; }

@media (max-width: 880px) {
  .newsletter .grid { grid-template-columns: 1fr; gap: 24px; }
  .newsletter form { flex-direction: column; align-items: stretch; gap: 6px; }
  .newsletter button { padding: 14px; }
}

/* ── Category filter pills ──────────────────────────────────── */
.cat-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  background: #fff;
  transition: border-color .15s, background .15s, color .15s;
  white-space: nowrap;
}

.cat-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--bg-blue);
}

.cat-pill.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
