
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;600;700&display=swap');
:root {
  --ink: #0c1723;
  --muted: #4c5a6a;
  --bg: #e9edf3;
  --card: #ffffff;
  --primary: #1769aa;
  --nav: #233044;
  --nav-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Public Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--primary); text-decoration: none; }
.topbar {
  background: var(--nav);
  color: #fff;
  padding: 12px 20px;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  box-shadow: var(--nav-shadow);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 64px;
  padding: 6px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02857em;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.brand { font-size: 18px; letter-spacing: 0.02em; margin-right: 6px; color: #fff; text-decoration: none; }
.nav-spacer { flex: 1; }
.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.page { max-width: 1100px; margin: 0 auto; padding: 32px 16px 64px; }
.panel {
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 45%, #f7f9fc 100%);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e3e8ef;
  box-shadow: 0 8px 18px rgba(12, 23, 35, 0.06);
  margin-bottom: 28px;
}
.overline {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
.title { margin: 0 0 8px; font-size: clamp(28px, 5vw, 32px); font-weight: 700; }
.lede { margin: 0; color: var(--muted); max-width: 720px; line-height: 1.6; }
.filters {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.search {
  flex: 1 1 260px;
  min-width: 220px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #dbe6f2;
  background: #ffffff;
  font-size: 15px;
}
.tag-button {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d4e3f5;
  background: #eef4fb;
  color: #0e3f68;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tag-button.active {
  background: #1769aa;
  color: #ffffff;
  border-color: #1769aa;
  box-shadow: 0 6px 16px rgba(23, 105, 170, 0.25);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 740px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(12, 23, 35, 0.08);
  border: 1px solid #e7eef7;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.2s ease;
}
.card:hover {
  box-shadow: 0 8px 20px rgba(12, 23, 35, 0.16);
  border-color: #b6d4f6;
  transform: translateY(-2px);
}
.card-hero {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.card-body {
  padding: 12px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}
.card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}
.card-title a { text-decoration: none; color: var(--ink); }
.card-title a:hover { color: var(--primary); }
.card-date {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
}
.card-summary {
  margin: 8px 0 0;
  color: #4c5a6a;
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 0; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f2fb;
  color: #0e3f68;
  font-size: 13px;
  border: 1px solid #d3e5f8;
}
.empty {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px dashed #c5d7ec;
  color: var(--muted);
  text-align: center;
}
/* Article detail */
header.shell { padding-bottom: 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.1;
}
.lede-article { margin: 0 0 16px; font-size: 18px; color: #1f2c3c; }
.article-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  margin: 24px auto 0;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 33, 55, 0.16);
  height: clamp(260px, 40vw, 420px);
  display: flex;
  align-items: stretch;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.38) 55%, rgba(0,0,0,0.26) 100%);
}
.article-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 0;
  padding: 20px clamp(28px, 8vw, 48px) 22px 16px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  flex: 1 0 auto;
  max-width: 640px;
  box-sizing: border-box;
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
}
.article-hero .eyebrow { color: rgba(255,255,255,0.75); }
.article-hero h1 { color: #fff; }
.article-hero .lede-article { color: rgba(255,255,255,0.9); }
.article-hero .chip {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.26);
  color: #f6f8fb;
}
.article-hero .chip-row { margin-top: 10px; }
.article-hero .chip a { color: inherit; }
.article-hero a { color: #f6f8fb; }
.article-hero a:hover { color: #fff; }
@media (min-width: 900px) {
  .article-hero__content {
    padding: 32px 38px 36px 24px;
    width: 80%;
  }
}
main {
  background: var(--card);
  border-radius: 0 0 20px 20px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(12, 23, 35, 0.08);
  margin-top: -24px;
  position: relative;
  z-index: 1;
}
main p { line-height: 1.7; color: #1f2c3c; }
main h2 { margin-top: 32px; margin-bottom: 12px; }
main h3 { margin-top: 28px; margin-bottom: 10px; }
main ul, main ol { padding-left: 24px; color: #1f2c3c; }
main li { line-height: 1.7; margin-bottom: 6px; }
main a[data-pill], main a.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(23, 105, 170, 0.25);
  transition: all 0.2s ease;
  margin: 10px 0;
}
main a[data-pill]:hover, main a.cta:hover {
  box-shadow: 0 8px 20px rgba(23, 105, 170, 0.32);
  transform: translateY(-1px);
}
main blockquote {
  border-left: 4px solid var(--primary);
  margin: 18px 0;
  padding: 12px 16px;
  background: #f0f6fc;
  color: #1f2c3c;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 8px;
  font-weight: 600;
  background: transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.back:hover {
  background: #eef4fb;
  color: #0e3f68;
  border-color: #0e3f68;
}
footer {
  margin: 32px 0 0;
  font-size: 14px;
  color: var(--muted);
}
