/* FIELDS INSIGHT: news and AI education in one desktop viewport */
.ai-education {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
  padding-top: clamp(1.25rem, 2.5vh, 2rem);
  border-top: 1px solid var(--line);
}

.ai-education h3 {
  margin: 0;
  align-self: center;
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  color: #c6004f;
  font: 700 clamp(4.2rem, 5.4vw, 6.5rem) / 1 Impact, "Arial Narrow", var(--latin), sans-serif;
  letter-spacing: -.04em;
  white-space: nowrap;
  transform: scaleX(1.08);
  transform-origin: left center;
}

.ai-education h3::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .18) 47%, rgba(255, 255, 255, .98) 50%, rgba(255, 255, 255, .18) 53%, transparent 58%);
  background-size: 250% 100%;
  background-position: 145% 0;
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  opacity: 0;
}

.ai-education.visible h3::after {
  animation: ai-light-sweep 5s cubic-bezier(.3, .65, .35, 1) .35s infinite;
}

@keyframes ai-light-sweep {
  0%, 8% { background-position: 145% 0; opacity: 0; }
  12% { opacity: 1; }
  42% { background-position: -45% 0; opacity: 1; }
  48%, 100% { background-position: -45% 0; opacity: 0; }
}

.ai-education p {
  margin: 0;
  max-width: 850px;
  color: var(--ink);
  font: 700 clamp(1.15rem, 1.65vw, 1.75rem) / 1.55 var(--sans);
  letter-spacing: -.035em;
}

@media (min-width: 1101px) and (min-height: 650px) {
  .insight {
    height: 100svh;
    min-height: 650px;
    max-height: 100svh;
    scroll-margin-top: 0;
    overflow: hidden;
    padding-top: clamp(.35rem, 1vh, .7rem);
    padding-bottom: clamp(.7rem, 1.5vh, 1rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .insight-head { margin-bottom: clamp(.7rem, 1.4vh, 1rem); }
  .insight-head h2 { margin-top: .2rem; font-size: clamp(2rem, 3vw, 2.75rem); }
  .news-thumb { height: clamp(150px, 20vh, 184px); }
  .news-copy { min-height: 92px; padding: .75rem 1.15rem .9rem; }
  .news-copy h3 { margin-top: .25rem; line-height: 1.4; }
  .ai-education {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: clamp(.65rem, 1.3vh, 1rem);
    padding-top: clamp(.55rem, 1.2vh, .85rem);
  }
}

@media (max-width: 900px) {
  .ai-education { grid-template-columns: 1fr; gap: 1.5rem; }
  .ai-education h3 { font-size: clamp(2.8rem, 11vw, 5.2rem); transform: none; }
  .ai-education p { max-width: 680px; font-size: clamp(1rem, 3.4vw, 1.35rem); }
}

@media (max-width: 500px) {
  .ai-education h3 { font-size: clamp(2.5rem, 12vw, 3.8rem); line-height: 1; }
  .ai-education p { font-size: 1rem; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-education h3::after { display: none; }
}
