.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-head .section-title {
  margin-bottom: 0;
}

.section-head .section-sub {
  margin: 6px 0 0;
}

.content-narrow {
  max-width: 980px;
  margin: 0 auto;
}

.text-stack p+p {
  margin-top: 8px;
}

.feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid h3 {
  margin: 0 0 4px;
  color: var(--grey);
}

.feature-grid p {
  margin: 0;
  color: #425769;
}

.section-sub {
  margin: -4px 0 14px;
  color: #5a6d80;
}

.pathway-cards .card ul {
  margin: 8px 0 0;
}

.program-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
  padding: 16px;
  box-shadow: var(--shadow);
}

.program-icon {
  margin: 0 0 8px;
  font-size: 1.9rem;
}

.program-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.program-head h3 {
  margin: 0;
}

.program-chip {
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(62, 95, 120, 0.1);
  color: var(--steel-blue);
  font-weight: 700;
}

.program-card ul {
  margin: 6px 0 10px;
}

.program-card button {
  width: 100%;
}

.event-stack {
  display: grid;
  gap: 12px;
}

.event-card {
  border: 1px solid rgba(208, 167, 95, 0.35);
  border-radius: 12px;
  background: rgba(241, 221, 174, 0.22);
  padding: 14px;
}

.event-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.event-head span {
  color: var(--steel-blue);
  font-size: 0.84rem;
  font-weight: 700;
}

.panel-callout {
  margin-top: 10px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(62, 95, 120, 0.28);
}

.band-dark {
  background: var(--grey);
  color: #fff;
}

.band-dark .section-title.dark {
  color: #fff;
}

.band-intro {
  color: #d4dde6;
}

.band-dark .feature-grid h3 {
  color: var(--light-gold);
}

.band-dark .feature-grid p {
  color: #d4dde6;
}

.method-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.method-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.method-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-grid article {
  border: 1px solid rgba(208, 167, 95, 0.3);
  border-radius: 12px;
  padding: 12px;
  background: rgba(62, 95, 120, 0.25);
}

.method-grid strong {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: rgba(208, 167, 95, 0.25);
  color: var(--light-gold);
}

.method-grid h3 {
  margin: 8px 0 6px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.pill-row span,
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(62, 95, 120, 0.14);
  background: #ecf1f5;
  color: #43586a;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s ease;
}

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

.filter-pill:hover,
.filter-pill:focus-visible {
  background: #e1e9ef;
  color: var(--grey);
}

.filter-pill.active:hover,
.filter-pill.active:focus-visible {
  background: #345a76;
  color: #fff;
}

.featured-article {
  border: 1px solid rgba(204, 171, 101, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(241, 221, 174, 0.32), rgba(62, 95, 120, 0.06)),
    #fff;
  box-shadow: 0 10px 22px rgba(37, 55, 72, 0.06);
}

.featured-article .small-meta {
  margin: 0 0 10px;
  color: #5a6977;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
}

.featured-article h3 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.featured-article .subtitle {
  margin: 12px 0 0;
  max-width: 62ch;
  color: #41576a;
  font-size: 1rem;
}

.featured-article .action-link {
  display: inline-flex;
  margin-top: 16px;
  align-items: center;
  gap: 8px;
  color: var(--grey);
}

.article-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.archive-toolbar--bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(62, 95, 120, 0.12);
}

.archive-summary {
  color: #5b7083;
  font-size: 0.9rem;
}

.archive-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  font-size: 0.92rem;
}

.archive-pagination__link,
.archive-pagination__status {
  display: inline-flex;
  align-items: center;
}

.archive-pagination__link {
  color: var(--grey);
  text-decoration: none;
  font-weight: 700;
}

.archive-pagination__link:hover,
.archive-pagination__link:focus-visible {
  color: var(--steel-blue);
}

.archive-pagination__link.disabled,
.archive-pagination__status {
  color: #748698;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(62, 95, 120, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  padding: 18px;
  box-shadow: 0 8px 18px rgba(37, 55, 72, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover,
.article-card:focus-within {
  border-color: rgba(62, 106, 139, 0.32);
  box-shadow: 0 10px 24px rgba(37, 55, 72, 0.07);
  transform: translateY(-1px);
}

.article-card__meta {
  margin: 0;
  color: #607688;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-card__title {
  margin: 10px 0 0;
  font-size: 1.08rem;
  line-height: 1.28;
}

.article-card__title a {
  color: var(--grey);
  text-decoration: none;
}

.article-card__title a:hover,
.article-card__title a:focus-visible {
  color: var(--steel-blue);
}

.article-card__excerpt {
  margin: 10px 0 0;
  color: #445a6d;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.article-card__footer {
  margin-top: auto;
  padding-top: 16px;
  color: #708395;
  font-size: 0.83rem;
}

.article-card--featured-duplicate {
  background: linear-gradient(180deg, #fcf8ee 0%, #fbfcfd 100%);
}

.directory-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.directory-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.directory-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.verified-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #dff4e3;
  color: #1b6b2a;
  font-size: 0.7rem;
  vertical-align: middle;
  font-weight: 700;
}

.meta.emphasis {
  color: var(--steel-blue);
  font-weight: 600;
}

.emergency-band {
  background: #fff3f1;
}

.emergency-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.emergency-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.emergency-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.emergency-grid article {
  background: #fff;
  border: 1px solid #f1c8c2;
  border-radius: 12px;
  padding: 14px;
}

.hotline {
  color: #c62828;
  font-size: 1.2rem;
  font-weight: 700;
}
