/* blog page — styles copied unchanged from blog.html */

.page-hero .wrap { padding-bottom: clamp(56px, 7vw, 88px); }
.featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); overflow: hidden; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); text-decoration: none; transition: box-shadow .25s ease; }
.featured:hover { box-shadow: 0 26px 56px rgba(12,28,79,.2); }
.featured-media { position: relative; min-height: 380px; overflow: hidden; }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.featured:hover .featured-media img { transform: scale(1.04); }
.featured-badge { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--orange); color: var(--navy-deep); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.featured-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 48px); }
.featured-body .tag { align-self: flex-start; }
.featured-body h2 { margin: 16px 0 0; font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.2; }
.featured-body p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.featured-body .post-meta { margin-top: 18px; }
.featured-body .button { align-self: flex-start; margin-top: 26px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: clamp(56px, 7vw, 80px) 0 32px; }
.toolbar h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border: 2px solid #DDE3F0; border-radius: 999px; background: var(--white); color: var(--navy); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); }
.search { position: relative; flex: 0 1 280px; }
.search svg { position: absolute; top: 50%; left: 14px; color: var(--muted); transform: translateY(-50%); }
.search input { width: 100%; min-height: 44px; padding: 10px 14px 10px 40px; border: 2px solid #DDE3F0; border-radius: 999px; font: inherit; font-size: 14px; }
.search input:focus { border-color: var(--navy); outline: none; }
.controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 30px; }
.empty { padding: 48px 24px; border: 2px dashed #DDE3F0; border-radius: var(--radius); color: var(--muted); text-align: center; }
.empty strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: 18px; }
.impact-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(56px, 7vw, 80px); }
.impact-item { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--soft); }
.impact-item strong { display: block; color: var(--navy); font-size: 28px; font-weight: 800; line-height: 1.1; }
.impact-item span { color: var(--muted); font-size: 14px; }
.impact-icon { display: grid; flex: none; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--white); color: var(--red); box-shadow: 0 6px 16px rgba(12,28,79,.08); }
@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 0; aspect-ratio: 16 / 10; }
  .impact-strip { grid-template-columns: 1fr; }
  .search { flex-basis: 100%; }
}

/* Theme addition: page links when there are more than 12 stories (uses the design's chip style). */
.krm-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.krm-pagination .chip { display: inline-flex; align-items: center; text-decoration: none; }
