/* Homepage hero video: replaces the old exam-terminal preview in the "mock" cell. */
.fsd-land-hero .fsd-mock--video { max-width: none; justify-self: stretch; position: relative; background: #F7F3E8; }
.fsd-mock__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #F7F3E8; }
.fsd-mock__sound { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid #151515; border-radius: 50%; background: #F7F3E8; color: #151515; cursor: pointer; padding: 0; }
.fsd-mock__sound:focus-visible { outline: 3px solid var(--accent, #831d32); outline-offset: 2px; }
.fsd-mock__sound[aria-pressed="true"] .fsd-mock__mutex { display: none; }
.fsd-mock__sound[aria-pressed="false"] .fsd-mock__waves { display: none; }
/* A single media column keeps the picker directly below the video. */
.fsd-land-hero .fsd-wrap:has(.fsd-land-hero__media) { grid-template-areas: "facts facts" "a mock"; align-items: start; }
.fsd-land-hero__media { grid-area: mock; display: grid; gap: var(--s-4); align-self: start; min-width: 0; }
.fsd-land-hero__media .fsd-mock--video { grid-area: auto; width: 100%; margin: 0; }
.fsd-land-hero__media .fsd-land-hero__b { grid-area: auto; }
.fsd-land-hero__media .fsd-examfinder { margin-top: 0; }
@media (max-width: 999px) {
	.fsd-land-hero .fsd-wrap:has(.fsd-land-hero__media) { grid-template-areas: "facts" "a" "mock"; }
	.fsd-land-hero__media { margin-top: var(--s-5); }
}
@media (max-width: 640px) {
	.fsd-land-hero__media .fsd-mock--video { display: block; }
}
.fsd-land-hero__media .fsd-land-hero__cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: 0; }
/* The floating chooser must escape the hero and remain inside the viewport. */
.fsd-land-hero:has(.fsd-examfinder.is-open) { overflow: visible; z-index: 160; }
.fsd-land-hero .fsd-examfinder__panel { position: fixed; right: auto; width: min(720px, calc(100vw - 32px)); }
.fsd-land-hero .fsd-examfinder__panel:not([hidden]) { display: flex; flex-direction: column; }
.fsd-land-hero .fsd-examfinder__grid { flex: 1 1 auto; min-width: 0; min-height: 0; width: 100%; max-height: none; grid-auto-rows: max-content; align-content: start; }
.fsd-land-hero .fsd-examfinder__card { min-width: 0; white-space: normal; }
.fsd-land-hero .fsd-examfinder__name { flex: 1 1 0; }
.fsd-land-hero .fsd-examfinder__name b { display: block; min-height: 0; overflow: visible; -webkit-line-clamp: unset; line-clamp: unset; }
.fsd-land-hero .fsd-examfinder__name .fsd-notifbadge { max-width: 100%; margin-top: 6px; white-space: normal; animation: none; }
.fsd-land-hero .fsd-examfinder__name .fsd-notifbadge__spark { display: none; }
.fsd-land-hero .fsd-examfinder__panelhead > div,
.fsd-land-hero [data-examfinder-summary] { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.fsd-land-hero .fsd-examfinder__panelhead,
.fsd-land-hero .fsd-examfinder__actions { flex: 0 0 auto; }
@media (max-width: 700px) {
	.fsd-land-hero .fsd-examfinder__grid { grid-template-columns: minmax(0, 1fr); }
	.fsd-land-hero .fsd-examfinder__panel { left: 12px; right: 12px; top: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: auto; max-height: calc(100dvh - 160px); }
}
