.ap5-highlight {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(140, 170, 190, 0.16);
  border-bottom: 1px solid rgba(140, 170, 190, 0.16);
  background:
    radial-gradient(circle at 8% 20%, rgba(33, 158, 150, 0.11), transparent 34rem),
    linear-gradient(180deg, #0d1829 0%, #0b1525 100%);
}

.ap5-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 44%, rgba(66, 196, 184, 0.035) 50%, transparent 56% 100%);
}

.ap5-highlight-inner {
  position: relative;
  width: min(100% - 2rem, var(--content-width));
  margin: 0 auto;
  padding: clamp(1.15rem, 3vw, 2rem) 0;
}

.ap5-highlight-card {
  display: grid;
  gap: 1.15rem;
  align-items: center;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(69, 185, 175, 0.35);
  border-radius: 1rem;
  background: rgba(9, 20, 35, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.ap5-highlight-copy {
  min-width: 0;
}

.ap5-highlight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  margin: 0 0 0.8rem;
  color: var(--attention-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ap5-highlight-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--attention-500);
  box-shadow: 0 0 0 0 rgba(73, 185, 175, 0.36);
  animation: ap5-attention-pulse 2.8s ease-out infinite;
}

.ap5-highlight h2 {
  max-width: 15ch;
  margin: 0;
  color: #f4f6f8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.ap5-highlight-lead {
  max-width: 62rem;
  margin: 0.9rem 0 0;
  color: rgba(238, 243, 248, 0.83);
  font-size: clamp(0.96rem, 1.8vw, 1.12rem);
  line-height: 1.65;
}

.ap5-highlight-lead strong {
  color: #f5f8fa;
}

.ap5-highlight-note {
  max-width: 60rem;
  margin: 0.65rem 0 0;
  color: rgba(201, 213, 224, 0.68);
  font-size: 0.82rem;
  line-height: 1.55;
}

.ap5-highlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.ap5-highlight-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(73, 185, 175, 0.44);
  border-radius: 0.65rem;
  color: #f1f7f7;
  background: rgba(24, 113, 106, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ap5-highlight-link::after {
  content: "→";
  margin-left: 0.65rem;
  color: var(--attention-400);
}

.ap5-highlight-secondary {
  color: rgba(220, 230, 238, 0.8);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.ap5-highlight-secondary:hover,
.ap5-highlight-secondary:focus-visible {
  color: #f2f7f7;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (hover: hover) and (pointer: fine) {
  .ap5-highlight-link:hover {
    transform: translateY(-2px);
    border-color: rgba(80, 192, 181, 0.7);
    background: rgba(24, 113, 106, 0.32);
  }
}

@media (min-width: 58rem) {
  .ap5-highlight-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(1.5rem, 4vw, 4rem);
  }

  .ap5-highlight-actions {
    max-width: 18rem;
    justify-content: flex-end;
  }

  .ap5-highlight-link {
    width: 100%;
  }
}

@media (max-width: 57.99rem) {
  .ap5-highlight-inner {
    width: min(100% - 1.15rem, var(--content-width));
  }

  .ap5-highlight-card {
    padding: 1.15rem;
    border-radius: 0.85rem;
  }

  .ap5-highlight h2 {
    max-width: 12ch;
  }

  .ap5-highlight-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ap5-highlight-link {
    width: 100%;
  }

  .ap5-highlight-secondary {
    padding: 0.2rem 0.1rem;
  }
}

@keyframes ap5-attention-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(73, 185, 175, 0.36);
  }
  55%, 100% {
    box-shadow: 0 0 0 0.65rem rgba(73, 185, 175, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap5-highlight-dot {
    animation: none;
  }

  .ap5-highlight-link {
    transition: none;
  }
}
