/* "Progressive education" section with the latest news (#huProgressive, .hu-progressive-stage--news).
   The panels keep the section's original expanding-photo design (index.css); this file only adapts it to
   real headlines, which are longer than the old fixed phrases, and makes each panel a link. */
.hu-progressive-stage--news .hu-progressive-panel {
  display: block;
  color: #ffffff;
  text-decoration: none;
}
.hu-progressive-stage--news .hu-progressive-panel:focus-visible {
  outline: 2px solid #86d5b2;
  outline-offset: 3px;
}
.hu-progressive-stage--news .hu-progressive-copy span {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hu-progressive-stage--news .hu-progressive-copy h3 {
  font-size: clamp(19px, 1.05rem + 0.75vw, 28px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.hu-progressive-stage--news .hu-progressive-panel.is-active h3,
.hu-progressive-stage--news .hu-progressive-panel:hover h3,
.hu-progressive-stage--news .hu-progressive-panel:focus-visible h3 { -webkit-line-clamp: 3; }
.hu-progressive-stage--news .hu-progressive-copy p {
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* in the narrow panels the summary stays hidden, not just transparent, so it can't push the headline up */
@media (min-width: 901px) {
  .hu-progressive-stage--news .hu-progressive-panel:not(.is-active):not(:hover):not(:focus-visible) .hu-progressive-copy p {
    display: none;
  }
  /* hovering another panel hands the wide space to it */
  .hu-progressive-stage--news:hover .hu-progressive-panel.is-active:not(:hover) { flex: 1 1 0; }
  .hu-progressive-stage--news:hover .hu-progressive-panel.is-active:not(:hover) .hu-progressive-copy p { display: none; }
  .hu-progressive-stage--news:hover .hu-progressive-panel.is-active:not(:hover) h3 { -webkit-line-clamp: 5; }
}

.hu-progressive-more {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark, rgba(0, 0, 0, 0.12));
}
.hu-progressive-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b5d3b;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.hu-progressive-more a span { transition: transform 0.2s ease; }
.hu-progressive-more a:hover span { transform: translateX(4px); }
.hu-progressive-more a:focus-visible { outline: 2px solid #0b5d3b; outline-offset: 4px; }
html[data-theme="dark"] .hu-progressive-more a { color: #86d5b2; }

/* Section heading in Lato, like the other new home sections (index.css sets a display serif here). */
.hu-progressive-heading h2,
.hu-progressive-heading h2 em {
  font-family: "Lato", "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hu-progressive-heading h2 { margin-top: 0; font-size: clamp(34px, 1.6rem + 2.6vw, 60px); line-height: 1.05; }
.hu-progressive-heading > p { font-family: "Inter", system-ui, sans-serif; }
@media (max-width: 600px) {
  .hu-progressive-heading h2 { font-size: clamp(30px, 8.5vw, 40px); }
}

/* smaller heading (requested) */
.hu-progressive-heading h2 { font-size: clamp(28px, 1.2rem + 1.7vw, 44px); line-height: 1.1; }
@media (max-width: 600px) { .hu-progressive-heading h2 { font-size: clamp(26px, 7vw, 32px); } }
