/* COURSES HERO: title on the left, illustration on the right, dotted field between. Desktop only. */
.courses-hero-art { display: none; }
.courses-hero-chips { display: none; }

@media (min-width: 1000px) {
  .page-hero {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 0;
    padding: calc(var(--navbar-h, 68px) + 1.5rem) 0 1.5rem;
  }

  /* dotted field: strongest behind the picture, fading out toward the title (dotted field) */
  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(25, 195, 217, .30) 1px, transparent 1.4px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 45% 130% at 74% 50%, #000 0%, transparent 72%);
            mask-image: radial-gradient(ellipse 45% 130% at 74% 50%, #000 0%, transparent 72%);
  }

  .page-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 2rem;
  }

  .courses-hero-text { max-width: 620px; }
  .page-hero .page-title { font-size: clamp(2.8rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .65rem; }
  .page-hero .page-subtitle { font-size: 1.15rem; line-height: 1.6; max-width: 500px; margin: 0; }

  .courses-hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
  .courses-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .82rem;
    color: #aab6c6;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .10);
  }
  .courses-hero-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #19c3d9; opacity: .8; }

  .courses-hero-art {
    display: block;
    justify-self: center;
    height: 250px;
    width: auto;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 18px 30px rgba(25, 195, 217, .10));
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
            mask-composite: intersect;
  }
}
