.pickup {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 20px auto 0;
}

[data-top-page] .editorial-category--news {
  color: #076bcb;
}

[data-top-page] .editorial-category--event {
  color: #157b59;
}

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

.pickup-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  min-height: 105px;
  padding: 15px;
  column-gap: 15px;
  color: inherit;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgb(25 40 150 / 8%);
  text-decoration: none;
}

.pickup-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pickup-card__link:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 2px;
  border-radius: inherit;
}

.pickup-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.pickup-card--no-media {
  grid-template-columns: minmax(0, 1fr);
}

.pickup-card__more {
  position: relative;
  z-index: 2;
}

.pickup-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pickup-card__badge {
  width: fit-content;
  align-self: start;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.6875rem;
  font-weight: 700;
}

.pickup-card strong {
  font-size: 0.875rem;
  line-height: 1.5;
}

.pickup-card__media {
  grid-column: 2;
  grid-row: 1;
  min-height: 75px;
  border-radius: 5px;
}

.pickup-card__details {
  display: grid;
  grid-column: 1 / -1;
  align-self: start;
  grid-template-rows: 1fr;
  min-width: 0;
  margin-top: 15px;
  padding-top: 15px;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  opacity: 1;
  transition: grid-template-rows 0.35s ease, margin-top 0.35s ease, padding-top 0.35s ease, border-top-width 0.35s ease, opacity 0.3s ease;
}

.pickup-card__details-inner {
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  gap: 10px;
}

.pickup-card__details-inner > span {
  color: var(--color-text-sub);
  font-size: 0.75rem;
  line-height: 1.7;
}

.pickup-card__period {
  font-size: 0.6875rem;
  font-weight: 700;
}

.pickup-card__more {
  display: inline-flex;
  width: fit-content;
  min-height: 35px;
  padding: 5px 20px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  color: #fff;
  background: var(--color-primary-dark);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.pickup__toggle {
  display: flex;
  min-height: 35px;
  margin: 5px auto 5px;
  padding: 5px 20px;
  align-items: center;
  gap: 10px;
  color: #008079;
  background: transparent;
  border: 0;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.pickup__toggle::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.35s ease;
}

.pickup.is-collapsed .pickup-card__details {
  grid-template-rows: 0fr;
  margin-top: 0;
  padding-top: 0;
  border-top-width: 0;
  opacity: 0;
}

.pickup:not(.is-collapsed) .pickup__toggle::after {
  transform: translateY(2px) rotate(225deg);
}

.top-carousel {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 10px auto 70px;
}

@media (min-width: 768px) {
  body:has(.floating-user--authenticated) [data-top-page] .top-carousel {
    width: min(calc(100% - 200px), var(--content-width));
    margin-inline: auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  [data-top-page] .top-carousel {
    width: min(calc(100% - clamp(56px, 10vw, 120px)), var(--content-width));
  }

  body:has(.floating-user--authenticated) [data-top-page] .top-carousel {
    width: min(calc(100% - clamp(200px, 24vw, 240px)), var(--content-width));
  }
}

.top-carousel__viewport {
  position: relative;
  overflow: visible;
  background: #d9d9d9;
  border-radius: 5px;
}

.top-carousel__track {
  display: grid;
  overflow: hidden;
  border-radius: inherit;
}

.top-carousel__slide {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.top-carousel__slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.top-carousel__slide a {
  display: block;
}

.top-carousel__hotspot {
  position: absolute;
  z-index: 1;
}

.top-carousel__slide--1 .top-carousel__hotspot { top: 59%; height: 39%; }
.top-carousel__slide--1 .top-carousel__hotspot--1 { left: 30%; width: 21%; }
.top-carousel__slide--1 .top-carousel__hotspot--2 { left: 52%; width: 22%; }
.top-carousel__slide--1 .top-carousel__hotspot--3 { left: 75%; width: 23%; }
.top-carousel__slide--2 .top-carousel__hotspot { top: 33%; height: 65%; }
.top-carousel__slide--2 .top-carousel__hotspot--1 { left: 2%; width: 31%; }
.top-carousel__slide--2 .top-carousel__hotspot--2 { left: 34%; width: 32%; }
.top-carousel__slide--2 .top-carousel__hotspot--3 { left: 67%; width: 31%; }

.top-carousel__slide a:focus-visible {
  outline: 4px solid var(--color-primary-dark);
  outline-offset: -5px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px #fff;
}

.top-carousel__slide picture,
.top-carousel__thumb picture {
  display: block;
}

.top-carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
}

.top-carousel__arrow {
  position: absolute;
  z-index: 2;
  top: calc(100% + 10px);
  display: grid;
  width: 45px;
  height: 45px;
  padding: 0;
  place-items: center;
  color: var(--color-primary);
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgb(0 0 0 / 12%);
  cursor: pointer;
}

.top-carousel__arrow--prev {
  left: 0;
}

.top-carousel__arrow--next {
  right: 0;
}

.top-carousel__arrow span {
  width: 12px;
  height: 12px;
  border-top: 3px solid currentcolor;
  border-right: 3px solid currentcolor;
}

.top-carousel__arrow--prev span {
  transform: translateX(2px) rotate(-135deg);
}

.top-carousel__arrow--next span {
  transform: translateX(-2px) rotate(45deg);
}

.top-carousel__dots {
  display: flex;
  min-height: 45px;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.top-carousel__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: #a9acb4;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.top-carousel__dots button[aria-current="true"] {
  background: var(--color-primary-dark);
}

.top-carousel__dots .top-carousel__pause {
  display: grid;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  padding: 0;
  place-items: center;
  background: var(--color-primary-dark);
  border: 1px solid var(--color-primary-dark);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(25 40 150 / 14%);
}

.top-carousel__pause img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.top-carousel__play-icon {
  display: none;
}

.top-carousel__pause[aria-pressed="true"] .top-carousel__pause-icon {
  display: none;
}

.top-carousel__pause[aria-pressed="true"] .top-carousel__play-icon {
  display: block;
}

.top-carousel__pause.is-paused {
  background: var(--color-primary-dark);
  box-shadow: 0 0 0 3px rgb(0 184 173 / 18%);
}

.top-carousel__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 10px;
  gap: 15px;
}

.top-carousel__thumb {
  padding: 0;
  overflow: hidden;
  background: #d9d9d9;
  border: 3px solid transparent;
  border-radius: 5px;
  cursor: pointer;
}

.top-carousel__thumb.is-active {
  border-color: var(--color-primary);
}

.top-carousel__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 2109 / 746;
  object-fit: contain;
}

.section-container {
  width: min(calc(100% - 40px), var(--content-width));
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 35px;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.625rem, var(--font-fluid-vw-2-4, 2.4vw), 2.375rem);
  line-height: 1.4;
}

.section-heading h1 span,
.section-heading h2 span {
  color: var(--color-navy);
}

.section-heading__wave {
  display: block;
  width: 55px;
  height: 10px;
  margin: 5px auto 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 55 10'%3E%3Cpath d='M1 5c4-7 8 7 12 0s8 7 12 0 8 7 12 0 8 7 12 0' fill='none' stroke='%2300b8ad' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-heading p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.audience-section {
  padding: 0 0 70px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 20px;
  align-items: stretch;
  gap: 30px;
}

.audience-card {
  --audience-color: var(--color-navy);
  display: grid;
  margin-top: 60px;
  overflow: visible;
  grid-template-rows: auto auto;
  align-content: end;
  color: var(--color-text);
  background: #fff;
  border: 1px solid #687080;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgb(25 40 150 / 8%);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.audience-card {
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.audience-card:hover {
  box-shadow: 0 10px 25px rgb(25 40 150 / 14%);
  transform: translateY(-5px);
}

.audience-card__image {
  display: flex;
  height: 218px;
  margin-top: -70px;
  padding: 0 8px;
  align-items: flex-end;
  justify-content: center;
}

.audience-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.audience-card--described {
  grid-template-rows: auto 1fr auto;
}

.audience-card__description {
  padding: 20px;
  font-size: 0.75rem;
  line-height: 1.8;
}

.audience-card__label {
  display: flex;
  min-height: 55px;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #fff;
  background: var(--audience-color);
  border-radius: 0 0 18px 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
}

.css-arrow {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-top: 2px solid currentcolor;
  border-right: 2px solid currentcolor;
  transform: rotate(45deg);
}

.progress-section {
  padding: 55px 0 70px;
  background-color: #fbfce9;
  background-image: repeating-linear-gradient(45deg, rgb(209 232 194 / 26%) 0, rgb(209 232 194 / 26%) 10px, transparent 10px, transparent 25px);
}

.progress-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.progress-card-list > .progress-card,
.progress-card-list > .learning-panel--code {
  flex: 0 0 calc((100% - 40px) / 3);
}

.progress-card-list--has-main > .progress-card:first-child {
  flex-basis: calc((200% - 20px) / 3);
}

@media (max-width: 1199px) {
  .progress-card-list > .progress-card,
  .progress-card-list > .learning-panel--code {
    flex-basis: calc((100% - 20px) / 2);
  }

  .progress-card-list--has-main > .progress-card:first-child {
    flex-basis: 100%;
  }
}

.progress-section__error,
.progress-card__error {
  color: var(--color-text-sub);
  font-size: 0.875rem;
}

.progress-card__registration {
  padding: 0;
  color: var(--color-navy);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

.progress-card__complete { margin: 16px 0 0; font-weight: 700; }

.progress-card,
.learning-panel {
  min-width: 0;
  padding: 25px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgb(25 40 150 / 8%);
}

.progress-card {
  display: flex;
  flex-direction: column;
}

.progress-card--current {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  padding: 25px;
  align-items: stretch;
  gap: 30px;
}

.progress-card__summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.progress-card__user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
}

.progress-card__user > div { min-width: 0; overflow-wrap: anywhere; }

.progress-card__login { max-width: 100%; overflow-wrap: anywhere; }

.progress-card--current .learning-panel--lesson h3 { white-space: normal; overflow-wrap: anywhere; }

.progress-card__user > img {
  width: 65px;
  height: 65px;
  flex: 0 0 65px;
  background: #eef7f6;
  border-radius: 50%;
  object-fit: cover;
}

.progress-card__user h3,
.progress-card__user p,
.progress-meter p {
  margin: 0;
}

.progress-card__user h3 {
  color: var(--color-navy);
  font-size: 1.25rem;
}

.progress-card__user p {
  font-size: 0.6875rem;
  font-weight: 700;
}

.progress-card__status {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
}

.progress-meter {
  margin-top: 20px;
}

.progress-meter > p {
  margin-bottom: 5px;
  font-size: 0.75rem;
  font-weight: 700;
}

.progress-meter__value {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-meter__bar {
  display: block;
  width: auto;
  height: 12px;
  flex: 1;
  overflow: hidden;
  appearance: none;
  background: #e8e8e8;
  border: 0;
  border-radius: 10px;
}

.progress-meter__bar::-webkit-progress-bar {
  background: #e8e8e8;
  border-radius: 10px;
}

.progress-meter__bar::-webkit-progress-value {
  background: var(--color-primary-dark);
  border-radius: 10px;
}

.progress-meter__bar::-moz-progress-bar {
  background: var(--color-primary-dark);
  border-radius: 10px;
}

.progress-meter__value strong {
  color: var(--color-text-sub);
  font-size: 0.75rem;
  white-space: nowrap;
}

.progress-meter__value small {
  font-size: 0.5625rem;
}

.learning-actions {
  display: grid;
  margin-top: 20px;
  gap: 10px;
}

.learning-button {
  display: inline-flex;
  width: 100%;
  min-height: 45px;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #fff;
  background: var(--color-primary-dark);
  border: 2px solid var(--color-primary-dark);
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.learning-button:hover {
  filter: brightness(0.94);
}

.learning-button--quiz {
  background: #ee5367;
  border-color: #ee5367;
}

.learning-button--outline {
  margin-top: auto;
  color: var(--color-primary-dark);
  background: #fff;
  white-space: nowrap;
}

.progress-card__history {
  width: fit-content;
  margin: 10px auto 0;
  font-size: 0.75rem;
  font-weight: 700;
}

.learning-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.learning-panel--lesson {
  display: flex;
  min-height: 315px;
  padding: 0;
  overflow: visible;
  background: #f4f8d8;
  border: 3px solid var(--color-text);
  border-radius: 0 30px 30px;
  box-shadow: none;
}

.learning-panel__lesson-content {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 255px;
  flex: 1;
  overflow: visible;
  flex-direction: column;
  background: #f7f9d9;
  border-radius: 0 27px 0 0;
}

.learning-panel__body {
  z-index: 2;
  width: 55%;
  margin-left: auto;
  padding: 20px 10px 0 0;
  text-align: left;
}

.learning-panel__tag {
  position: absolute;
  z-index: 3;
  top: -10px;
  left: -3px;
  display: block;
  width: 100px;
  height: 130px;
  overflow: hidden;
  font-size: 0.6875rem;
  font-weight: 700;
}

.learning-panel__tag img {
  width: 170px;
  max-width: none;
  height: auto;
}

.learning-panel__tag span {
  position: absolute;
  top: 20px;
  left: 25px;
  white-space: nowrap;
}

.learning-panel--lesson h3 {
  margin: 0;
  font-size: clamp(0.875rem, var(--font-fluid-vw-1-15, 1.15vw), 1.125rem);
  line-height: 1.55;
  white-space: nowrap;
}

.learning-panel--lesson .learning-panel__image {
  z-index: 1;
  width: 74%;
  max-height: 210px;
  margin: auto auto 0;
  object-fit: contain;
  object-position: center bottom;
}

.learning-panel--lesson .learning-button {
  min-height: 55px;
  flex: 0 0 auto;
  border: 0;
  border-top: 3px solid var(--color-text);
  border-radius: 0 0 27px 27px;
  font-size: 1.0625rem;
}

.learning-panel__utility-image {
  width: 100%;
  height: 130px;
  margin-bottom: 15px;
  object-fit: contain;
}

.learning-panel--utility h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.6;
}

.learning-panel--utility p {
  margin: 0 0 20px;
  color: var(--color-text-sub);
  font-size: 0.6875rem;
  line-height: 1.8;
  text-align: left;
}

@media (max-width: 1024px) {
  .pickup__list {
    gap: 15px;
  }

  .pickup-card {
    grid-template-columns: minmax(0, 1fr) 70px;
  }

  .pickup-card--no-media {
    grid-template-columns: minmax(0, 1fr);
  }

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learning-panel__utility-image {
    height: 160px;
  }
}

@media (max-width: 767px) {
  .progress-card-list > .progress-card,
  .progress-card-list > .learning-panel--code {
    flex-basis: 100%;
  }

  .pickup,
  .top-carousel,
  .section-container {
    width: min(calc(100% - 30px), var(--content-width));
  }

  .pickup__list {
    grid-template-columns: 1fr;
  }

  .pickup-card {
    min-height: 90px;
  }

  .top-carousel {
    margin-bottom: 50px;
  }

  .top-carousel__arrow {
    width: 40px;
    height: 40px;
  }

  .top-carousel__arrow--prev {
    left: 10px;
  }

  .top-carousel__arrow--next {
    right: 10px;
  }

  .top-carousel__thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  .top-carousel__slide--1 .top-carousel__hotspot--1 { left: 19%; width: 25%; }
  .top-carousel__slide--1 .top-carousel__hotspot--2 { left: 44.5%; width: 27.5%; }
  .top-carousel__slide--1 .top-carousel__hotspot--3 { left: 72.5%; width: 27%; }
  .top-carousel__slide--2 .top-carousel__hotspot { top: 31%; height: 66%; }
  .top-carousel__slide--2 .top-carousel__hotspot--1 { left: 1%; width: 32%; }
  .top-carousel__slide--2 .top-carousel__hotspot--2 { left: 34%; width: 32%; }
  .top-carousel__slide--2 .top-carousel__hotspot--3 { left: 67%; width: 32%; }

  .audience-section {
    padding-bottom: 50px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    gap: 20px;
  }

  .audience-card__image {
    height: min(218px, 58vw);
  }

  .progress-section {
    padding: 45px 0 55px;
  }

  .progress-card,
  .learning-panel {
    padding: 20px;
  }

  .progress-card--current {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .progress-card__summary {
    padding: 0;
  }

  .learning-panel--lesson {
    padding: 0;
  }

  .learning-panel__utility-image {
    height: 145px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pickup-card__details,
  .pickup__toggle::after {
    transition: none;
  }

  .top-carousel__slide {
    transition: none;
  }
}

/* Front-page sections below learning progress. */
[data-top-page] .progress-section--learning {
  padding-bottom: 80px;
}

.top-good-actions {
  padding: 80px 0 88px;
  background-color: #fff;
  background-image: linear-gradient(rgb(25 40 150 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(25 40 150 / 6%) 1px, transparent 1px);
  background-size: 25px 25px;
}

.top-good-actions .section-heading {
  margin-bottom: 64px;
}

.top-good-actions .section-heading .top-good-actions__eyebrow {
  position: relative;
  display: inline-block;
  isolation: isolate;
  margin-bottom: 8px;
  color: var(--color-navy);
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  font-weight: 800;
  line-height: 1.35;
}

.top-good-actions__eyebrow::after {
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: 2px;
  left: -8px;
  height: 9px;
  background: #72e9dc;
  content: '';
}

.top-good-actions .section-heading h2 span {
  color: var(--color-navy);
}

.top-good-actions .section-heading h2 b {
  color: var(--color-primary-dark);
  font-size: 1.25em;
}

.top-good-actions .section-heading p {
  line-height: 1.8;
}

.top-good-actions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.top-good-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 385px;
  padding: 42px 20px 18px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(125px, 1fr) auto;
  gap: 14px;
  background: rgb(255 255 255 / 94%);
  border: 2px solid #525866;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgb(25 40 150 / 8%);
}

.top-good-card__number {
  position: absolute;
  top: -35px;
  left: 50%;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  color: #fff;
  background: var(--color-navy);
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 0 rgb(25 40 150 / 10%);
  font-size: 1.25rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.top-good-card__copy {
  align-self: start;
}

.top-good-card__copy h3 {
  margin: 0 0 14px;
  color: var(--color-navy);
  font-size: 1.25rem;
  line-height: 1.45;
}

.top-good-card__copy p {
  margin: 0;
  color: #333;
  font-size: 0.8125rem;
  line-height: 1.8;
}

.top-good-card > img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.top-good-card__links {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
}

.top-good-card__links a {
  display: flex;
  min-height: 44px;
  padding: 8px 20px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--color-navy);
  background: #fff;
  border: 2px solid var(--color-navy);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.top-good-card__links a.is-primary {
  color: #fff;
  background: var(--color-navy);
}

.top-good-card__links a:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.top-good-card__links a:focus-visible {
  outline: 4px solid rgb(20 170 145 / 38%);
  outline-offset: 3px;
}

.top-good-start {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 385px;
  padding: 18px;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #dffaf4, #c7f4ed);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgb(25 40 150 / 8%);
  text-align: center;
}

.top-good-start::before {
  position: absolute;
  top: 28px;
  right: 24px;
  bottom: 68px;
  left: 24px;
  background: radial-gradient(ellipse 52% 18% at 28% 18%, #fff 98%, transparent 100%),
    radial-gradient(ellipse 47% 25% at 64% 34%, #fff 98%, transparent 100%),
    radial-gradient(ellipse 56% 33% at 38% 61%, #fff 98%, transparent 100%);
  content: '';
}

.top-good-start__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 42px 34% 0 0;
}

.top-good-start__label {
  position: absolute;
  top: -12px;
  left: -14px;
  display: inline-block;
  padding: 5px 12px;
  color: #222;
  background: #ffdc32;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  transform: rotate(-10deg);
}

.top-good-start h3 {
  margin: 0 0 8px;
  color: #006c66;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.45;
}

.top-good-start p {
  margin: 0;
  color: #333;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.6;
}

.top-good-start__art {
  position: absolute;
  z-index: 1;
  right: 2px;
  bottom: 60px;
  width: 55%;
  height: 65%;
}

.top-good-start__art::before {
  content: none;
}

.top-good-start__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.top-good-start__button {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  margin-top: auto;
  min-height: 44px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--color-primary-dark);
  border: 2px solid #fff;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}

.top-good-start__button:hover { filter: brightness(1.08); }
.top-good-start__button:focus-visible { outline: 4px solid rgb(20 170 145 / 38%); outline-offset: 3px; }

.top-information {
  padding: 62px 0 74px;
  background: #fff;
}

.top-information__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.92fr);
  align-items: stretch;
  gap: 38px;
}

.top-news,
.top-calendar {
  min-width: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 24px rgb(25 40 150 / 8%);
}

.top-news {
  padding: 26px 30px 30px;
}

.top-news > header {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-news h2,
.top-calendar h2 {
  margin: 0;
}

.top-news h2 {
  color: var(--color-navy);
  font-size: 1.5rem;
}

.top-news > header > a {
  display: inline-flex;
  min-width: 130px;
  min-height: 38px;
  padding: 7px 18px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: var(--color-navy);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.top-news ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid #dfe3ed;
  list-style: none;
}

.top-news li {
  display: grid;
  min-height: 48px;
  padding: 8px 4px;
  grid-template-columns: 82px 72px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #dfe3ed;
}

.top-news li.top-news__empty {
  display: block;
  padding: 15px 4px;
}

.top-news time {
  color: #6d7280;
  font-size: 0.6875rem;
}

.top-news li > span {
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 800;
  text-align: center;
}

.top-news li > a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #242936;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.top-news li > a:hover {
  text-decoration: underline;
}

.top-news li > a .css-arrow {
  color: var(--color-navy);
}

.top-calendar {
  position: relative;
  padding: 42px 34px 24px;
  overflow: hidden;
  text-align: center;
}

.top-calendar__bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 28px;
  background: #ea3f70;
}

.top-calendar h2 {
  color: #e83468;
  font-size: 1.3125rem;
  line-height: 1.5;
}

.top-calendar > p {
  margin: 18px 0;
  font-size: 0.75rem;
  line-height: 1.8;
}

.top-calendar > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.top-calendar > div button {
  display: flex;
  min-height: 54px;
  padding: 8px 14px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #df1952;
  background: #fff;
  border: 2px solid #ea3f70;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-family: inherit;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.top-calendar > small {
  display: block;
  margin-top: 14px;
  color: #747474;
  font-size: 0.5625rem;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 1100px) {
  .top-good-actions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 24px;
  }

  .top-good-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 150px auto;
  }

  .top-good-card > img {
    height: 150px;
  }

  .top-information__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .top-good-actions__grid {
    gap: 48px 20px;
  }
}

@media (max-width: 600px) {
  .top-good-actions__grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }
}

@media (max-width: 767px) {
  [data-top-page] .progress-section--learning {
    padding-bottom: 60px;
  }

  .top-good-actions,
  .top-information {
    padding: 58px 0;
  }

  .top-good-actions .section-heading {
    margin-bottom: 60px;
  }

  .top-news {
    padding: 22px 18px;
  }

  .top-news > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-news li {
    grid-template-columns: 78px 68px minmax(0, 1fr);
    gap: 7px;
  }

  .top-calendar {
    padding: 42px 20px 24px;
  }
}

@media (max-width: 560px) {
  .top-good-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 155px auto;
  }

  .top-news li {
    grid-template-columns: 1fr auto;
  }

  .top-news li > a {
    grid-column: 1 / -1;
  }

  .top-calendar > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  [data-top-page] .pickup {
    width: calc(100% - 16px);
    margin-top: 8px;
  }

  [data-top-page] .pickup__list {
    gap: 5px;
  }

  [data-top-page] .pickup-card {
    grid-template-columns: minmax(0, 1fr) 48px;
    grid-template-rows: 1fr;
    min-height: 54px;
    padding: 6px 8px;
    column-gap: 8px;
    border-radius: 7px;
  }

  [data-top-page] .pickup-card--no-media {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-top-page] .pickup-card__badge {
    padding: 4px 7px;
    font-size: 0.5rem;
    text-align: center;
  }

  [data-top-page] .pickup-card strong {
    font-size: 0.625rem;
    line-height: 1.45;
  }

  [data-top-page] .pickup-card__media {
    grid-column: 2;
    grid-row: 1;
    min-height: 40px;
  }

  [data-top-page] .pickup__toggle {
    min-height: 26px;
    margin: 2px auto 2px;
    padding: 2px 12px;
    font-size: 0.5625rem;
  }

  [data-top-page] .top-carousel {
    width: 100%;
    margin-bottom: 42px;
  }

  [data-top-page] .top-carousel__viewport {
    border-radius: 0;
  }

  [data-top-page] .top-carousel__slide picture,
  [data-top-page] .top-carousel__slide img {
    display: block;
    width: 100%;
  }

  [data-top-page] .top-carousel__arrow {
    width: 30px;
    height: 36px;
    background: rgb(255 255 255 / 78%);
    box-shadow: none;
  }

  [data-top-page] .top-carousel__arrow--prev { left: 0; }
  [data-top-page] .top-carousel__arrow--next { right: 0; }

  [data-top-page] .top-carousel__dots {
    min-height: 36px;
    margin-top: 10px;
    gap: 6px;
  }

  [data-top-page] .top-carousel__dots button {
    width: 7px;
    height: 7px;
  }

  [data-top-page] .top-carousel__dots .top-carousel__pause {
    width: 19px;
    height: 19px;
  }

  [data-top-page] .top-carousel__pause img {
    width: 12px;
    height: 12px;
  }

  [data-top-page] .top-carousel__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: calc(100% - 28px);
    margin: 3px auto 0;
    gap: 5px;
  }

  [data-top-page] .top-carousel__thumb {
    min-width: 0;
    border-width: 2px;
  }

  [data-top-page] .top-carousel__thumb picture,
  [data-top-page] .top-carousel__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1672 / 680;
    object-fit: contain;
  }

  [data-top-page] .section-heading {
    margin-bottom: 24px;
  }

  [data-top-page] .section-heading h1,
  [data-top-page] .section-heading h2 {
    font-size: 1.5rem;
  }

  [data-top-page] .section-heading p {
    font-size: 0.6875rem;
  }

  [data-top-page] .audience-section {
    padding-bottom: 48px;
  }

  [data-top-page] .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 10px;
    gap: 18px 10px;
  }

  [data-top-page] .audience-card {
    margin-top: 32px;
    border-radius: 10px;
  }

  [data-top-page] .audience-card__image {
    height: 122px;
    margin-top: -40px;
    padding: 0 3px;
  }

  [data-top-page] .audience-card__label {
    min-height: 38px;
    padding: 6px 5px;
    gap: 8px;
    border-radius: 0 0 9px 9px;
    font-size: 0.625rem;
  }

  [data-top-page] .progress-section--learning {
    padding: 48px 0 58px;
  }

  [data-top-page] .progress-card-list {
    gap: 12px;
  }

  [data-top-page] .progress-card--current {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    padding: 12px;
    gap: 10px;
  }

  [data-top-page] .progress-card__user {
    gap: 7px;
  }

  [data-top-page] .progress-card__user > img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  [data-top-page] .progress-card__user h3 { font-size: 0.875rem; }
  [data-top-page] .progress-card__user p,
  [data-top-page] .progress-meter > p { font-size: 0.5rem; }
  [data-top-page] .progress-card__status { font-size: 0.5rem; }
  [data-top-page] .progress-meter { margin-top: 10px; }
  [data-top-page] .progress-meter__bar { height: 8px; }
  [data-top-page] .progress-meter__value strong { font-size: 0.5625rem; }
  [data-top-page] .learning-actions { margin-top: 10px; gap: 6px; }
  [data-top-page] .learning-button { min-height: 34px; padding: 6px 8px; gap: 7px; font-size: 0.5625rem; }
  [data-top-page] .progress-card__history { margin-top: 6px; font-size: 0.5rem; text-align: center; }

  [data-top-page] .progress-section--learning .learning-panel--lesson {
    min-height: 226px;
    border-radius: 10px;
    box-shadow: 0 0 0 3px rgb(20 170 145 / 18%);
  }

  [data-top-page] .progress-section--learning .learning-panel__lesson-content {
    min-height: 190px;
    border-radius: 8px 8px 0 0;
  }

  [data-top-page] .progress-section--learning .learning-panel__tag {
    top: -8px;
    left: 1px;
    width: 65px;
    height: 90px;
    padding: 8px 2px 0 18px;
    font-size: 0.5rem;
  }

  [data-top-page] .progress-section--learning .learning-panel__tag strong { font-size: 0.8125rem; }
  [data-top-page] .progress-section--learning .learning-panel__body { width: calc(100% - 66px); padding: 11px 5px 0 0; }
  [data-top-page] .progress-section--learning .learning-panel--lesson h3 { font-size: 0.625rem; }
  [data-top-page] .progress-section--learning .learning-panel--lesson .learning-panel__image { width: 94%; max-height: 125px; }
  [data-top-page] .progress-section--learning .learning-panel--lesson .learning-button { min-height: 34px; border-radius: 0 0 8px 8px; }

  [data-top-page] .learning-panel--utility {
    min-height: 250px;
    padding: 13px 10px;
  }

  [data-top-page] .learning-panel__utility-image {
    height: 92px;
    margin-bottom: 8px;
  }

  [data-top-page] .learning-panel--utility h3 {
    margin-bottom: 7px;
    font-size: 0.75rem;
  }

  [data-top-page] .learning-panel--utility p {
    margin-bottom: 10px;
    font-size: 0.5625rem;
    line-height: 1.65;
  }

  [data-top-page] .progress-card-list > .progress-card:not(:first-child),
  [data-top-page] .progress-card-list:not(.progress-card-list--has-main) > .progress-card {
    min-height: 215px;
    padding: 16px;
  }

  [data-top-page] .top-good-actions {
    padding: 58px 0 62px;
  }

  [data-top-page] .top-good-actions .section-heading {
    margin-bottom: 54px;
  }

  [data-top-page] .top-good-actions__grid {
    gap: 54px;
  }

  [data-top-page] .top-good-card {
    min-height: 310px;
    padding: 39px 14px 14px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 142px auto;
    gap: 12px 6px;
    border-radius: 12px;
  }

  [data-top-page] .top-good-card__number {
    top: -29px;
    width: 58px;
    height: 58px;
    border-width: 4px;
    font-size: 1rem;
  }

  [data-top-page] .top-good-card__copy h3 { margin-bottom: 9px; font-size: 1.0625rem; }
  [data-top-page] .top-good-card__copy p { font-size: 0.625rem; line-height: 1.7; }
  [data-top-page] .top-good-card > img { height: 142px; }
  [data-top-page] .top-good-card__links { gap: 7px; }
  [data-top-page] .top-good-card__links a { min-height: 38px; padding: 6px 10px; font-size: 0.625rem; }

  [data-top-page] .top-information {
    padding: 46px 0 60px;
  }

  [data-top-page] .top-information__grid {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  [data-top-page] .audience-grid {
    grid-template-columns: 1fr;
  }

  [data-top-page] .audience-card__label {
    font-size: 0.875rem;
  }
}

@media (max-width: 390px) {
  [data-top-page] .progress-card--current {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }

  [data-top-page] .progress-card--current {
    padding: 9px;
    gap: 7px;
  }

  [data-top-page] .top-good-card {
    grid-template-columns: minmax(0, 1fr) 118px;
  }
}

@media (max-width: 600px) {
  [data-top-page] .progress-card--current {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 350px) {
  [data-top-page] .audience-card__image {
    height: 108px;
  }

  [data-top-page] .progress-card--current {
    grid-template-columns: 1fr;
  }
}
