/* v5.60.0: one static banner component, independent of legacy hero styles. */
.sp-section-header {
  display: block;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sp-text, #34373d);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.sp-section-header::before, .sp-section-header::after,
.sp-section-banner::before, .sp-section-banner::after { content: none; }
.sp-section-banner {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: none;
}
.sp-section-banner > img {
  display: block;
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2320 / 440;
  object-fit: contain;
  object-position: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: clamp(10px, 2.4vw, 28px);
  opacity: 1;
  filter: none;
  transform: none;
}
/* The approved PNG already contains its text. Keep semantic text for readers. */
.sp-section-banner__copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sp-section-tools {
  display: flex;
  box-sizing: border-box;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 20px;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  color: var(--sp-text, #34373d);
}
.sp-section-tools:has(> [hidden]:only-child) { display: none; }
.sp-section-tools .search { width: min(100%, 360px); margin: 0; }
.sp-section-tools .button { min-height: 46px; white-space: normal; }
.sp-section-tools .sp-section-updated,
.sp-section-tools > p { margin: 0 auto 0 0; color: var(--sp-muted, #737b8b); font-size: 14px; line-height: 1.5; }
.sp-section-tools--profile .profile-hero__avatar {
  width: 56px; height: 56px; min-width: 56px; flex: 0 0 56px;
  margin: 0; border-radius: 50%; background: #fff; color: #b30928;
}
.sp-section-tools--profile .profile-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sp-section-access { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; width: 100%; }
.sp-section-access span, .sp-section-access small { color: var(--sp-muted, #737b8b); font-size: 13px; }
.sp-section-access strong { font-size: 14px; }
@media (max-width: 900px) {
  /* Full image remains uncut. Its caption is repeated at a readable size below. */
  .sp-section-banner__copy {
    position: static; width: auto; height: auto;
    padding: 18px 0 0; margin: 0; overflow: visible;
    clip-path: none; white-space: normal;
  }
  .sp-section-banner__copy h1 {
    margin: 0; color: var(--sp-text, #34373d);
    font-size: clamp(28px, 5vw, 38px); font-weight: 850;
    line-height: 1.12; letter-spacing: -.035em; overflow-wrap: break-word;
  }
  .sp-section-banner__copy p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--sp-muted, #737b8b); }
  .sp-section-tools .search { width: 100%; }
}
@media (max-width: 540px) {
  .sp-section-tools { justify-content: stretch; }
  .sp-section-tools > .button, .sp-section-tools > .learning-library-header__actions { width: 100%; }
  .sp-section-tools--profile > p { flex: 1; }
}
