.topic-hub {
  position: relative;
  padding: 96px 0 112px;
  background:
    radial-gradient(circle at 88% 14%, rgba(25, 200, 226, .11), transparent 25%),
    linear-gradient(180deg, #fff 0%, #f2f9fb 100%);
  border-bottom: 1px solid #d8e8ee;
}
.topic-hub > .shell { position: relative; z-index: 46; }

.topic-hub-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
  column-gap: 90px;
  align-items: end;
  margin-bottom: 42px;
}

.topic-hub-heading .kicker { grid-column: 1 / -1; }
.topic-hub-heading h2 {
  margin: 15px 0 0;
  max-width: 720px;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.topic-hub-heading > p:last-child {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

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

.topic-card {
  position: relative;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #cfe1e8;
  border-radius: 7px;
  background: rgba(255, 255, 255, .96);
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(7, 59, 103, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.topic-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -82px;
  bottom: -85px;
  border: 1px solid rgba(25, 200, 226, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(25, 200, 226, .045);
}
.topic-card:hover,
.topic-card:focus-visible {
  z-index: 2;
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 24px 50px rgba(7, 59, 103, .14);
  outline: 3px solid rgba(25, 200, 226, .19);
  outline-offset: 3px;
}
.topic-card[aria-expanded="true"] {
  border-color: var(--blue);
  box-shadow: 0 22px 48px rgba(7, 59, 103, .16);
}
.topic-card > span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}
.topic-card > strong {
  display: block;
  margin-top: 26px;
  max-width: 330px;
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.topic-card > small {
  display: block;
  margin-top: 13px;
  max-width: 330px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.topic-card > i {
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.topic-card-featured {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #073b67 0%, #075b92 70%, #0879bd 100%);
}
.topic-card-featured > small { color: #c8dce6; }
.topic-card-featured > i,
.topic-card-featured > span { color: var(--cyan); }
.topic-card-featured::after { border-color: rgba(255, 255, 255, .16); }
.topic-card-testing {
  grid-column: span 2;
  background:
    radial-gradient(circle at 88% 16%, rgba(25, 200, 226, .18), transparent 30%),
    linear-gradient(135deg, #fff 0%, #edfafd 100%);
}
.topic-card-contact { grid-column: span 2; }

.topic-content[hidden] { display: none !important; }
.topic-content.is-topic-opening { animation: topicContentIn .55s ease both; }
.topic-content { scroll-margin-top: 78px; }

.topic-close-wrap {
  display: grid;
  place-items: center;
  padding: 42px 20px 90px;
  background: #f2f9fb;
}
.topic-close-wrap button {
  min-width: 270px;
  padding: 16px 24px;
  border: 1px solid #f06b83;
  border-radius: 5px;
  background: #fff;
  color: #b52645;
  font: 800 13px/1.2 inherit;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(181, 38, 69, .09);
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.topic-close-wrap button span { margin-left: 12px; }
.topic-close-wrap button:hover,
.topic-close-wrap button:focus-visible {
  transform: translateY(-2px);
  background: #c82e52;
  color: #fff;
  outline: 3px solid rgba(240, 107, 131, .2);
  outline-offset: 3px;
}
.topic-close-contact { background: #073b67; padding-top: 0; }

@keyframes topicContentIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .topic-hub-heading { grid-template-columns: 1fr; gap: 18px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .topic-hub { padding: 68px 0 78px; }
  .topic-hub-heading { margin-bottom: 30px; }
  .topic-hub-heading h2 { font-size: clamp(40px, 12vw, 55px); }
  .topic-hub-heading > p:last-child { font-size: 14px; }
  .topic-grid { grid-template-columns: 1fr; gap: 12px; }
  .topic-card-testing,
  .topic-card-contact { grid-column: 1; }
  .topic-card { min-height: 205px; padding: 24px; }
  .topic-card > strong { margin-top: 18px; font-size: 29px; }
  .topic-card > i { padding-top: 20px; }
  .topic-close-wrap { padding: 34px 18px 68px; }
  .topic-close-wrap button { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .topic-card,
  .topic-close-wrap button { transition: none; }
  .topic-content.is-topic-opening { animation: none; }
}
