/* ══════════════ Horizontal Content Collection (PHASE 3-B) ══════════════
   Builder V2 구조:  PAGE → Vertical Story Sections → Horizontal Collection Sections → Content Cards.
   Story(3-A) = "페이지가 보여준다"(자동 모션).  Collection(3-B) = "사용자가 둘러본다"(직접 탐색).
   그래서 여기에는 자동 캐러셀·등장 애니메이션이 없다 — 사용자 제스처(스와이프/휠 가로/화살표)만.

   공통 구조 한 벌:  .f2r-collection → head(hint + nav) → viewport → track → card
   Program Card / Video Card 는 이 Collection 위의 card *type* 이다(별도 캐러셀 아님).

   마크업 정본은 academy_sections.js(renderCollectionShell), 배선은 academy_collection.js.
   토큰은 academy_public.css(landing_buildit.css와 동일)를 그대로 쓴다. */

.f2r-collection { --f2r-card-w: 300px; margin-top: 22px; }

.f2r-collection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  margin-bottom: 12px;
}
.f2r-collection-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--ink-faint);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  word-break: keep-all;
}
.f2r-collection-controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* 진행 카운터 — 스크롤/스와이프/화살표와 함께 선두 카드 번호가 바뀐다(academy_collection.js). */
.f2r-collection-progress {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.f2r-collection-progress [data-collection-current] { color: var(--ink); }
.f2r-collection-progress-sep { opacity: .45; }
.f2r-collection-nav { display: flex; gap: 8px; flex-shrink: 0; }
.f2r-collection-arrow {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s var(--ease), color .15s var(--ease), opacity .15s var(--ease);
}
.f2r-collection-arrow:hover { border-color: var(--accent); color: var(--accent); }
.f2r-collection-arrow:focus-visible { outline: 2px solid rgba(37, 99, 235, .4); outline-offset: 2px; }
.f2r-collection-arrow:disabled { opacity: .3; cursor: default; border-color: var(--line); color: var(--ink); }

/* viewport 는 track 을 잘라 페이지가 가로로 밀리지 않게 한다. 스크롤은 track 내부에서만. */
.f2r-collection-viewport { overflow: hidden; }
.f2r-collection-track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 4px 4px 12px;
  list-style: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-left: 4px;
  scroll-behavior: smooth;           /* 화살표 이동의 부드러움은 CSS 가 담당(JS 는 위치만 세팅) */
  overscroll-behavior-x: contain;   /* track 끝에서 페이지로 스크롤이 새지 않게 */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.f2r-collection-track::-webkit-scrollbar { display: none; }

.f2r-collection-card {
  flex: 0 0 var(--f2r-card-w);
  max-width: 86%;
  scroll-snap-align: start;
  display: flex;
}
.f2r-collection-card > * { width: 100%; }

/* Active / edge treatment — JS(js-collection)가 붙을 때만. 뷰포트 가장자리에서 절반 이상 잘린 카드는
   미세하게 축소·감광해 "shelf" 느낌을 준다. 과한 3D/coverflow 아님. transform/opacity 만 사용. */
html.js-collection .f2r-collection-card > * {
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
html.js-collection .f2r-collection-card.is-dimmed > * {
  transform: scale(.94);
  opacity: .55;
}
html.js-collection .f2r-collection-card.is-active { z-index: 1; }
.f2r-collection[data-collection-static] .f2r-collection-card > * { transform: none; opacity: 1; }

/* 데스크톱: 여러 카드 동시 표시 + 다음 카드 일부 peek(고정 px 카드폭이 컨테이너 대비 자연스럽게 2~3.x개).
   Programs = Mini Web Experience(넓게), Actual Class = Phone Deck(좁게, 더 많이 peek). */
@media (min-width: 761px) {
  .f2r-collection { --f2r-card-w: 300px; }
  .f2r-collection--videos { --f2r-card-w: 210px; }
  .f2r-collection--lectures { --f2r-card-w: 320px; }
}
/* 데스크톱: 카드가 다 들어가면 grid(가로 스크롤·화살표·카운터 불필요 → 숨김).
   Shopify 레퍼런스 확정 — 홈의 collection 은 carousel 이 아니라 grid. 자동 이동 없음.
   Programs = 4-카드 grid(4개 존재 즉시 인지), Actual Class = 영상 카드가 다 들어가는 만큼 grid. */
@media (min-width: 900px) {
  .f2r-collection--programs .f2r-collection-viewport,
  .f2r-collection--videos .f2r-collection-viewport { overflow: visible; }
  .f2r-collection--programs .f2r-collection-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 4px;
    align-items: stretch;
  }
  .f2r-collection--videos .f2r-collection-track {
    display: grid;
    /* Programs 와 동일하게 4-트랙 고정 — auto-fit + 1fr 은 빈 5번째 트랙(+gap)을 만들어 마지막
       카드가 clientWidth 밖으로 밀려 is-dimmed 로 축소·이탈했다(Phase 4 부터의 버그).
       justify-items:center 도 쓰지 않는다(카드 폭 붕괴 원인). 폰 프레임은 카드 안에서 중앙 배치. */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 4px;
    justify-items: stretch;
  }
  .f2r-collection--programs .f2r-collection-card,
  .f2r-collection--videos .f2r-collection-card { flex: none; max-width: none; justify-self: stretch; }
  .f2r-collection--videos .f2r-phone-frame { max-width: 200px; margin-left: auto; margin-right: auto; }
  /* 데스크톱 grid 는 스크롤되지 않는다 — edge 축소/감광(is-dimmed) 은 모바일 가로 스크롤 전용. */
  html.js-collection .f2r-collection--programs .f2r-collection-card.is-dimmed > *,
  html.js-collection .f2r-collection--videos .f2r-collection-card.is-dimmed > * { transform: none; opacity: 1; }
  .f2r-collection--programs .f2r-collection-head,
  .f2r-collection--videos .f2r-collection-head { display: none; }

  /* Programs 카드 정렬 — 동일 높이(grid) + 통일된 미디어 비율 + CTA bottom align(margin-top:auto). */
  .f2r-collection--programs .f2r-program-card-media { aspect-ratio: 16 / 10; }
  .f2r-collection--programs .f2r-program-card-name { min-height: 2.6em; }
}
.f2r-collection--programs .f2r-program-card-media { aspect-ratio: 16 / 10; }

/* 모바일: 화살표 숨김. 터치 스와이프 + scroll-snap + 다음 카드 peek. JS 제스처 라이브러리 없음. */
@media (max-width: 760px) {
  .f2r-collection { --f2r-card-w: 78vw; }
  .f2r-collection--videos { --f2r-card-w: 60vw; }
  .f2r-collection--lectures { --f2r-card-w: 80vw; }
  .f2r-collection-nav { display: none; }
  .f2r-collection-head { min-height: 0; margin-bottom: 10px; }
  .f2r-collection-card { max-width: 82vw; }
  /* 모바일에서는 폰 프레임을 카드 폭에 맞춰 채운다(screen-in-screen 축소 방지). */
  .f2r-phone-frame { max-width: none; border-radius: 26px; }
}

/* 빌더 캔버스: 편집 UX 우선 — 가로 스크롤 대신 wrap 배치(3-B 지침: 편집 UX와 public presentation 분리).
   실제 발행 페이지는 가로 컬렉션으로 보인다는 hint 를 카드 위에 남긴다. */
.f2r-collection[data-collection-static] .f2r-collection-nav { display: none; }
.f2r-collection[data-collection-static] .f2r-collection-viewport { overflow: visible; }
.f2r-collection[data-collection-static] .f2r-collection-track {
  flex-wrap: wrap;
  overflow: visible;
  scroll-snap-type: none;
}
.f2r-collection[data-collection-static] .f2r-collection-card { flex-basis: 260px; max-width: 320px; }

/* ── Program Card (sec-lessons) — V2 ─────────────────────────────────────
   고정 2×2 SaaS 카드에서 벗어나 하나의 작은 Web Experience 처럼 보이게 한다:
   VISUAL STAGE(대표 미디어) → 프로그램 라벨 → 이름 → 한 줄 설명 → 이런 학생에게
   → 핵심 특징 → 대상 → 상담 CTA.  존재하지 않는 필드는 렌더하지 않는다(가짜 데이터 없음).
   미디어는 lesson_products 에 이미 등록된 대표 이미지/영상을 그대로 쓴다. */
/* 공통 디바이스형 프레임(2학기 영어내신 / 학습철학 / 대표수업 동일 디자인 언어).
   콘텐츠·동작·미디어 재생은 변경 없음 — 카드 외형만 강화한다. */
.f2r-program-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 3px solid var(--device-rim, #bcc3cf);
  border-radius: var(--device-radius, 22px);
  background: #fff;
  box-shadow: var(--device-shadow, 0 0 0 1px rgba(15,23,42,.045), inset 0 0 0 1.5px rgba(255,255,255,.92), 0 12px 30px rgba(10,12,20,.10));
  overflow: hidden;
}
.f2r-program-card-media {
  position: relative;
  display: block;
  width: 100%;
  /* IMAGE 대표 미디어 = 16:10 stage. VIDEO = 실제 업로드 영상 비율(--f2r-media-aspect,
     academy_sections.js mediaAspectRatio, 9:16~16:9 클램프) → pillarbox 최소화. */
  aspect-ratio: var(--f2r-media-aspect, 16 / 10);
  max-height: 62vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg-soft);
  overflow: hidden;
}
.f2r-program-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 대표 이미지(IMAGE, VIDEO 아님)만 crop 대신 contain으로 전체를 보여준다.
   --f2r-media-aspect는 academy_sections.js applyImageMediaAspect()가 실제 이미지
   비율(9:16~16:9 클램프)로 채우므로 대부분 letterbox 없이 꽉 찬다 — 값을 못 구한
   극단적 비율일 때만 여백이 생긴다. VIDEO 썸네일은 기존 cover 동작을 유지한다. */
.f2r-program-card-media[data-media-fit="image"] img {
  object-fit: contain;
}
.f2r-program-card-media .f2r-video-play {
  width: 46px;
  height: 46px;
  font-size: 15px;
}

.f2r-program-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
.f2r-program-card-eyebrow {
  margin-bottom: 6px;
  color: var(--ultramarine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  word-break: keep-all;
}
.f2r-program-card-name {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -.02em;
  word-break: keep-all;
}
.f2r-program-card-kicker {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  word-break: keep-all;
}
.f2r-program-card-need {
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.62;
  word-break: keep-all;
}
/* V2-11: 핵심 특징 = 독립된 Visual Highlight Box. 카드 테두리(var(--line), 은은함)와
   구분되는 강한 테두리 + "핵심 특징" 라벨 + 강조 타이포로 한눈에 차별점으로 읽힌다.
   gradient/neon/큰 그림자 없음 — 명확한 border + 대비만. */
.f2r-program-card-highlight {
  position: relative;
  margin: 4px 0 14px;
  padding: 14px 14px 13px;
  border: 1.5px solid var(--ultramarine);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.58;
  letter-spacing: -.01em;
  word-break: keep-all;
}
.f2r-program-card-highlight::before {
  content: "핵심 특징";
  display: block;
  margin-bottom: 5px;
  color: var(--ultramarine);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
}
.f2r-program-card-grade {
  margin-bottom: 14px;
  color: var(--ink-faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  word-break: keep-all;
}

/* Phase 5.2: Phase 5.1 이 대표수업(sec-lessons) Program Card 안에 잘못 넣었던 학교 셀렉터 /
   Digital Twin 패널(.f2r-program-card-schools / .f2r-twin-*)은 제거됐다. 학교별 출제자 Digital
   Twin 은 「2학기 영어 내신」 섹션(sec-featured)의 .featured-twin 패널에서만 보여준다
   (academy_public.css .featured-twin*, academy_public.js wireFeaturedSchoolTwin). */
.f2r-program-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-align: center;
  cursor: pointer;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.f2r-program-card-cta:hover { background: var(--accent); transform: translateY(-1px); }
.f2r-collection[data-collection-static] .f2r-program-card-cta { cursor: default; }

/* Hover 생명력(데스크톱) — Shopify 레퍼런스: 스크롤은 1회 reveal, hover 가 요소를 살린다.
   포인터가 정밀한(=데스크톱) 환경에서만. transform/box-shadow 만, 180ms. */
@media (hover: hover) and (pointer: fine) {
  html.js-collection .f2r-collection:not([data-collection-static]) .f2r-program-card,
  html.js-collection .f2r-collection:not([data-collection-static]) .f2r-phone-card {
    transition: transform var(--hover-duration, 180ms) var(--hover-ease, ease),
                box-shadow var(--hover-duration, 180ms) var(--hover-ease, ease);
  }
  html.js-collection .f2r-collection:not([data-collection-static]) .f2r-program-card:hover,
  html.js-collection .f2r-collection:not([data-collection-static]) .f2r-phone-card:hover {
    transform: translateY(var(--hover-lift, -6px));
    box-shadow: 0 22px 44px rgba(10, 12, 20, .1);
  }
  html.js-collection .f2r-collection:not([data-collection-static]) .f2r-program-card:hover .f2r-program-card-highlight {
    border-color: var(--accent);
  }
  /* Actual Class — hover 시 폰 프레임 테두리 강조 + micro-scale. */
  html.js-collection .f2r-collection:not([data-collection-static]) .f2r-phone-card:hover .f2r-phone-frame {
    border-color: var(--accent);
    transform: scale(1.02);
  }
}
@media (prefers-reduced-motion: reduce) {
  html.js-collection .f2r-program-card,
  html.js-collection .f2r-phone-card,
  .f2r-phone-frame { transition: none; }
  html.js-collection .f2r-program-card:hover,
  html.js-collection .f2r-phone-card:hover { transform: none; }
  html.js-collection .f2r-phone-card:hover .f2r-phone-frame { transform: none; }
}
/* Actual Class 재생 계약(V2-8, .f2r-media-viewport 이하)은 위 규칙과 무관 — 미변경. */

/* ── Mini Lecture Card (sec-minilectures) — V2-9 ────────────────────────
   "교육자가 직접 설명하는 짧은 학습 콘텐츠". Actual Class(폰 덱)와 시각적으로 구분된다:
   가로형 강의 카드(제목 + 학습 포인트). 미디어 재생은 V2-8 공통 Media Viewport 계약 재사용
   (.f2r-lecture-media 는 .f2r-media-viewport). 원본 영상 비율은 --f2r-media-aspect. CTA 없음. */
.f2r-lecture-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.f2r-lecture-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--f2r-media-aspect, 16 / 9);
  max-height: 52vh;
  margin: 0;
  border: 0;
  background: #0b0d12;
  overflow: hidden;
}
.f2r-lecture-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.f2r-lecture-media-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, .5);
}
.f2r-lecture-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 16px 18px 18px;
}
.f2r-lecture-card-tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ultramarine);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  word-break: keep-all;
}
.f2r-lecture-card-title {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -.02em;
  word-break: keep-all;
}
.f2r-lecture-card-note {
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  word-break: keep-all;
}

/* 빌더 캔버스 전용: 콘텐츠가 없을 때 클릭해 편집기를 여는 placeholder. */
.f2r-lecture-empty {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--ink-soft);
  text-align: center;
  cursor: pointer;
}
.f2r-lecture-empty strong { color: var(--ink); font-size: 14px; font-weight: 800; }
.f2r-lecture-empty span { font-size: 12px; }

/* ── Actual Class Shorts = Phone Screen Deck (V2-3) ─────────────────────
   기존 업로드 세로 숏폼을 보존하되, 일반 video 카드가 아니라 "휴대폰 화면을 넘겨본다"는
   경험으로 프레임에 담는다. 특정 기종 복제는 아니고, 즉시 "폰 화면"으로 인지되게만 한다.
   클릭하면 그 자리에서 재생(academy_collection.js data-collection-play). 새 라이브러리 없음. */
/* Phase 5.2: 바깥에 흰 "큰 박스"(collection card)를 만들지 않는다 — Phase 5.1 의 .f2r-phone-card
   흰 박스 border/bg/padding 제거. 사용자가 원하는 건 *휴대폰 화면 자체*(폰 프레임)의 외곽선이다.
   → .f2r-phone-frame(폰 베젤)에 명확한 테두리, .f2r-phone-screen(영상/썸네일)에 crisp 안쪽 선.
   media viewport / video 재생 계약(.f2r-media-viewport 이하)은 건드리지 않는다. */
.f2r-phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.f2r-phone-frame {
  position: relative;
  width: 100%;
  max-width: 232px;
  aspect-ratio: 9 / 19;
  padding: 9px;
  /* 폰 베젤 외곽선 — 검은 프레임 위에서는 밝은 rim 으로, 흰 배경 대비로는 외곽 halo 로 보인다. */
  border: 3px solid #5b6070;
  border-radius: 34px;
  background: linear-gradient(160deg, #16181f, #0a0b0f);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .16), 0 14px 32px rgba(10, 12, 20, .3), inset 0 0 0 1.5px rgba(255, 255, 255, .1);
  transition: transform 200ms var(--hover-ease, ease), border-color 200ms var(--hover-ease, ease);
}
.f2r-phone-cam {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  z-index: 2;
}
.f2r-phone-screen {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55);   /* 영상/썸네일을 정확히 둘러싸는 안쪽 경계선 */
}
.f2r-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.f2r-phone-card.is-landscape .f2r-phone-screen img { object-fit: contain; }
.f2r-phone-screen-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, .55);
}

.f2r-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s var(--ease), background .15s var(--ease);
}
.f2r-video-card-dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

/* ── Common Video Playback (V2-8): Media Viewport 계약 ─────────────────────
   뷰포트는 크기·비율·overflow·radius 를 소유하고 재생 중에도 유지된다.
   그 "안에서" 트리거(.f2r-media-play)만 플레이어(.f2r-media-player)로 교체된다
   → 외곽 크기 불변. 원본 비율은 object-fit:contain 으로 보존(letterbox, crop 금지).
   마크업 정본: academy_sections.js mediaViewportHtml. 배선: academy_collection.js onPlayClick. */
.f2r-media-viewport { position: relative; }
.f2r-media-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  display: block;
  cursor: pointer;
}
.f2r-media-play:hover .f2r-video-play { transform: scale(1.08); background: rgba(0, 0, 0, .6); }
.f2r-media-play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.f2r-collection[data-collection-static] .f2r-media-play { cursor: default; }
.f2r-media-player {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
/* 업로드 <video>: 원본 비율을 뷰포트 안에 담는다 — 잘라내지 않고 letterbox. */
video.f2r-media-player { object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
  .f2r-collection-track { scroll-behavior: auto; }
  .f2r-collection-arrow,
  .f2r-program-card-cta,
  .f2r-video-play { transition: none; }
  html.js-collection .f2r-collection-card > *,
  html.js-collection .f2r-collection-card.is-dimmed > * {
    transform: none;
    opacity: 1;
    transition: none;
  }
}
