.panel {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 12px;
  margin-bottom: 14px;
}

.panel__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.45;
}

h1.panel__title { font-size: 30px; letter-spacing: -0.6px; line-height: 1.2; }

.panel__lead {
  margin: 2px 0 14px;
  max-width: 620px;
  font-size: 15px;
  color: var(--text-3);
}

.panel__head + .panel__lead { margin-top: -10px; }

.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: var(--pill);
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.45;
  text-transform: uppercase;
}

.badge--l { font-size: 11.5px; }
.badge--black { background: var(--black); }
.badge--muted { background: var(--surface-muted); color: var(--text-2); }
.badge--outline { background: transparent; border: 1.5px solid var(--red); color: var(--red-dark); }

.kicker {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red-dark);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
  margin: -10px 0 0;
  font-size: 13.5px;
  line-height: 20px;
  color: var(--text-3);
}

/* 20px line + 12px above and below: every link is a 44px tap target. */
.breadcrumb a,
.breadcrumb [aria-current] { padding: 12px 0; }
.breadcrumb a:hover { color: var(--red-dark); text-decoration: underline; }

/* The current page (often a long news title) stays on one line; the h1 right below shows it in full. */
.breadcrumb [aria-current] {
  flex: 1 1 0;
  min-width: min(8em, 100%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-2);
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.chip:hover { color: var(--red-dark); border-color: var(--red-dark); }
.chip[aria-current] { background: var(--red); border-color: var(--red); color: #fff; }

.empty {
  padding: 24px;
  border-radius: var(--radius-s);
  background: var(--tile);
  color: var(--text-3);
  text-align: center;
}

@media (max-width: 480px) {
  .panel { padding: 16px; }
  .panel__title { font-size: 21px; }
  h1.panel__title { font-size: 25px; }
}
