.assd-school-themes {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 5vw;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 174, 239, 0.12), transparent 24rem),
    radial-gradient(circle at 92% 88%, rgba(206, 14, 45, 0.1), transparent 25rem),
    #f5f8fb;
}

.assd-school-themes::before,
.assd-school-themes::after {
  position: absolute;
  width: 13rem;
  height: 13rem;
  border: 2rem solid rgba(16, 49, 83, 0.035);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.assd-school-themes::before {
  top: -8rem;
  right: -5rem;
}

.assd-school-themes::after {
  bottom: -8rem;
  left: -5rem;
}

.assd-school-themes__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 74rem);
  margin: 0 auto;
}

.assd-school-themes__header {
  width: min(100%, 48rem);
  margin: 0 auto clamp(2.75rem, 6vw, 5rem);
  text-align: center;
}

.assd-school-themes__eyebrow {
  margin-bottom: 0.75rem;
  color: #ce0e2d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.assd-school-themes__title {
  margin: 0;
  color: #103153;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.08;
}

.assd-school-themes__list {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 4.25rem);
}

.assd-school-themes__list::before {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, #00aeef, #ce0e2d 48%, #a2c03a);
  content: "";
  transform: translateX(-50%);
}

.assd-theme {
  --theme-accent: #00aeef;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.75rem minmax(0, 1fr);
  align-items: center;
}

.assd-theme__media,
.assd-theme__content {
  min-width: 0;
}

.assd-theme__media {
  grid-column: 1;
  overflow: hidden;
  padding: clamp(0.65rem, 1.5vw, 1rem);
  border-radius: 1.5rem;
  background: #103153;
  box-shadow: 0 1.25rem 3rem rgba(16, 49, 83, 0.18);
}

.assd-theme__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.75;
  border-radius: 1rem;
  object-fit: cover;
}

.assd-theme__marker {
  position: relative;
  z-index: 2;
  grid-column: 2;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0 auto;
  border: 4px solid #f5f8fb;
  border-radius: 50%;
  background: var(--theme-accent);
  box-shadow: 0 0 0 2px var(--theme-accent);
}

.assd-theme__content {
  grid-column: 3;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 0.35rem solid var(--theme-accent);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 1rem 2.75rem rgba(16, 49, 83, 0.1);
}

.assd-theme__year {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-accent) 12%, white);
  color: #103153;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.assd-theme__title {
  margin: 0 0 0.85rem;
  color: #103153;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.12;
}

.assd-theme__description {
  margin: 0;
  color: #40546a;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.7;
}

.assd-theme:nth-child(even) .assd-theme__media {
  grid-column: 3;
}

.assd-theme:nth-child(even) .assd-theme__content {
  grid-column: 1;
  grid-row: 1;
}

@supports not (background: color-mix(in srgb, red, white)) {
  .assd-theme__year {
    background: #eef4f8;
  }
}

@media screen and (max-width: 767px) {
  .assd-school-themes {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .assd-school-themes__list::before,
  .assd-theme__marker {
    display: none;
  }

  .assd-theme {
    grid-template-columns: minmax(0, 1fr);
  }

  .assd-theme__media,
  .assd-theme:nth-child(even) .assd-theme__media {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, 24rem);
    margin: 0 auto;
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 0.75rem 2rem rgba(16, 49, 83, 0.14);
  }

  .assd-theme__content,
  .assd-theme:nth-child(even) .assd-theme__content {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 24rem);
    margin: 0 auto;
    border-top-width: 0.3rem;
    border-radius: 0 0 1.25rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assd-school-themes *,
  .assd-school-themes *::before,
  .assd-school-themes *::after {
    scroll-behavior: auto !important;
  }
}
