/* Industry packs explainer on /courses/, right under the plan cards: a short
   head, one line of the twelve packs gliding past, and what each plan gets. */

body.cs-page .ip-sec { background: var(--paper); padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(28px, 3vw, 44px); }

.ip-sec h2 { margin: 0 0 10px; font: 800 clamp(26px, 2.6vw, 36px)/1.05 var(--f-disp); letter-spacing: -.045em; color: var(--ink); text-wrap: balance; }
.ip-lede { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }
.ip-deal { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.ip-deal b { margin-right: 5px; font-weight: 700; color: var(--ink); }

/* one line of packs gliding past; the second track is a copy so the loop is seamless */
.ipa-head { max-width: 760px; text-align: center; }
.ipa-head .ip-lede { margin: 0 auto; max-width: 58ch; }
.ipa-marquee { position: relative; display: flex; margin: 22px calc(-1 * var(--gutter)) 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.ipa-track { display: flex; flex: none; gap: 14px; margin: 0; padding: 6px 7px 14px; list-style: none; animation: ipaRun 70s linear infinite; }
.ipa-marquee:hover .ipa-track { animation-play-state: paused; }
@keyframes ipaRun { to { transform: translateX(-100%); } }
.ipa-card { position: relative; flex: none; width: 196px; overflow: hidden; border-radius: 18px; box-shadow: 0 0 0 3px var(--white), 0 14px 24px -16px rgba(43, 21, 0, .5); }
.ipa-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ipa-card b { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px 5px; border-radius: 9px; background: var(--white); font-size: 12.5px; font-weight: 700; line-height: 1.15; color: var(--ink); }
.ipa .ip-deal { justify-content: center; }

@media (max-width: 560px) {
  .ipa-card { width: 160px; }
  .ip-deal { gap: 4px 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ipa-track { animation: none; }
  .ipa-marquee { overflow-x: auto; }
}
