/* Hallmark · editorial student reel · Edumax red / charcoal.
 * Pre-emit critique: P5 H5 E5 S5 R5 V5. Native horizontal scroll; no idle motion. */
.edumax-landing .em-story-reel{padding:var(--space-lg) 0 var(--space-md);background:var(--color-ink);border-radius:var(--radius-hero);overflow:clip;color:var(--color-on-dark)}
.edumax-landing .em-reel-heading{padding-inline:var(--space-lg);display:flex;justify-content:space-between;align-items:baseline;gap:var(--space-md);margin-bottom:var(--space-lg)}
.edumax-landing .em-reel-heading h3{color:var(--color-on-dark);font-family:var(--font-display);font-size:var(--text-xl);letter-spacing:-.04em}
.edumax-landing .em-reel-heading p{color:var(--color-on-dark);opacity:.8;font-size:var(--text-sm);margin:0;max-width:28ch}
.edumax-landing .em-story-reel .em-videos{display:flex;gap:var(--space-md);padding:var(--space-2xs) var(--space-lg) var(--space-md);border-radius:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--space-lg);scrollbar-width:none;background:transparent}
.edumax-landing .em-story-reel .em-videos::-webkit-scrollbar{display:none}
.edumax-landing .em-story-reel .em-video-item{flex:0 0 min(68%,720px);width:auto;min-width:0;grid-area:auto;scroll-snap-align:start}
.edumax-landing .em-story-reel .em-video{display:flex;flex-direction:column;min-height:0;border-radius:var(--radius-card);overflow:clip;position:relative}
.edumax-landing .em-story-reel .em-video-image{width:100%;height:auto;min-height:0;aspect-ratio:16/9;flex:none;position:relative;overflow:clip}
.edumax-landing .em-story-reel .em-video-image>img{width:100%;height:100%;object-fit:contain;display:block}
.edumax-landing .em-story-reel .em-video-caption{width:100%;min-height:168px;padding:var(--space-md);font-size:var(--text-sm);align-self:auto;display:flex;flex-direction:column;align-items:start;justify-content:flex-start;gap:var(--space-2xs)}
.edumax-landing .em-story-country{font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.12em;font-weight:600;color:var(--color-on-dark);opacity:.8}
.edumax-landing .em-story-student{font-family:var(--font-display);font-size:clamp(1.3rem,2.6vw,2rem);font-weight:700;line-height:1.2;letter-spacing:-.045em;color:var(--color-on-dark)}
.edumax-landing .em-story-university{font-size:var(--text-sm);font-weight:400;line-height:1.4;color:var(--color-on-dark);opacity:.85}
.edumax-landing .em-story-reel .em-play{left:var(--space-md);bottom:var(--space-sm);height:48px;width:auto;border-radius:var(--radius-action);padding-inline:var(--space-sm);justify-content:center;font-size:var(--text-sm);gap:var(--space-xs)}
.edumax-landing .em-story-reel .em-story-play-label{position:static;clip-path:none;width:auto;height:auto;overflow:visible;white-space:normal}
.edumax-landing .em-reel-controls{display:flex;justify-content:space-between;align-items:center;padding:var(--space-xs) var(--space-lg) 0;gap:var(--space-md)}
.edumax-landing .em-reel-controls[hidden]{display:none}
.em-reel-position{font-variant-numeric:tabular-nums;font-size:var(--text-sm);letter-spacing:.08em;white-space:nowrap}
.em-reel-controls>div{display:flex;gap:var(--space-xs)}
.edumax-landing .em-reel-controls button{display:grid;place-items:center;width:52px;height:52px;border:1px solid color-mix(in srgb,var(--color-paper) 40%,transparent);background:transparent;color:var(--color-on-dark);border-radius:50%;cursor:pointer;padding:0}
.edumax-landing .em-reel-controls button:disabled{opacity:.35;cursor:default}
.edumax-landing .em-reel-controls button:not(:disabled):hover{background:var(--color-accent);border-color:var(--color-accent)}
.edumax-landing .em-story-reel :is(button,.em-videos):focus-visible{outline:3px solid var(--color-on-dark);outline-offset:3px}
.edumax-landing .em-story-reel .em-video:focus-visible{outline-offset:2px}
.edumax-landing .em-stories-next{margin-top:0}
@media(max-width:767px){.edumax-landing .em-story-reel{padding-block:var(--space-md)}.edumax-landing .em-reel-heading{padding-inline:var(--space-sm);flex-direction:column;gap:var(--space-xs);margin-bottom:var(--space-md)}.edumax-landing .em-reel-heading h3{font-size:var(--text-lg)}.edumax-landing .em-reel-heading p{font-size:var(--text-xs);max-width:none}.edumax-landing .em-story-reel .em-videos{padding-inline:var(--space-sm);scroll-padding-inline:var(--space-sm);gap:var(--space-sm)}.edumax-landing .em-story-reel .em-video-item{flex-basis:calc(100% - var(--space-sm))}.edumax-landing .em-story-reel .em-video-caption{padding:var(--space-sm);min-height:148px}.edumax-landing .em-story-reel .em-play{left:var(--space-sm);bottom:var(--space-xs);height:44px;font-size:var(--text-xs)}.edumax-landing .em-story-student{font-size:var(--text-xl)}.edumax-landing .em-story-university{font-size:var(--text-xs)}.edumax-landing .em-reel-controls{padding-inline:var(--space-sm)}}

.edumax-landing .em-story-reel .em-video{height:100%;border:1px solid color-mix(in srgb,var(--color-paper) 20%,transparent);background:color-mix(in srgb,var(--color-paper) 5%,var(--color-ink));text-decoration:none;color:var(--color-on-dark)}
.edumax-landing .em-story-reel .em-play{position:absolute;z-index:2;top:auto;transform:none;display:inline-flex;align-items:center;gap:var(--space-xs);background:var(--color-accent);color:var(--color-on-accent);border:1px solid color-mix(in srgb,var(--color-paper) 30%,transparent);font-weight:700}
.em-country-watch{margin-block:var(--space-2xl);scroll-margin-top:calc(var(--header-height) + var(--space-md))}
.em-country-watch>h2{font-size:clamp(2rem,4vw,3.5rem);letter-spacing:-.05em}
.em-country-watch-intro{max-width:65ch;margin-block:var(--space-sm) var(--space-lg)}
.edumax-landing .em-story-reel .em-country-video-title{font-family:var(--font-display);font-size:var(--text-lg);line-height:1.4;letter-spacing:-.02em;font-weight:600;white-space:normal;overflow-wrap:anywhere;color:var(--color-on-dark)}
.em-story-reel .em-reel-controls .em-icon{width:24px;height:24px;color:inherit}
.edumax-landing .em-story-reel .em-video:focus-visible{outline:3px solid var(--color-on-dark);outline-offset:2px}
@media(max-width:767px){.edumax-landing .em-story-reel .em-country-video-title{font-size:var(--text-sm)}.edumax-landing .em-story-reel .em-video-caption{white-space:normal}}

.edumax-landing .em-country-watch .em-story-reel .em-video-image{position:relative;isolation:isolate}
.edumax-landing .em-country-watch .em-story-reel .em-play{background:var(--color-accent);color:var(--color-on-accent);bottom:var(--space-sm);left:var(--space-sm);top:auto;transform:none;box-shadow:var(--shadow-photo)}
.edumax-landing .em-country-watch .em-story-reel .em-play .em-icon{color:var(--color-on-accent);stroke:currentColor;fill:none;width:20px;height:20px}
.edumax-landing .em-stories-next{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);padding:var(--space-md) var(--space-lg);border:1px solid var(--color-rule);border-radius:var(--radius-card);background:var(--color-paper)}
.em-stories-next h3{font-family:var(--font-display);font-size:var(--text-lg);line-height:1.4;letter-spacing:-.025em}
.em-stories-next .em-eyebrow{font-size:var(--text-xs);color:var(--color-muted)}
.em-stories-next .em-button{flex:none;min-height:48px;gap:var(--space-xs)}
@media(max-width:767px){.edumax-landing .em-stories-next{flex-direction:column;align-items:stretch;padding:var(--space-md)}.em-stories-next .em-button{width:100%;justify-content:center}.edumax-landing .em-story-reel .em-country-video-title{font-size:var(--text-sm)}}
/* Compact, consistent playback affordance on every reel. */
body.edumax-landing .em-story-reel .em-video-image{position:relative;min-height:0;isolation:isolate}
body.edumax-landing .em-story-reel .em-video .em-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:60px;height:60px;min-height:0;padding:0;border:1px solid color-mix(in srgb,var(--color-paper) 70%,transparent);border-radius:50%;background:var(--color-paper);color:var(--color-accent);box-shadow:var(--shadow-photo);gap:0}
body.edumax-landing .em-story-reel .em-play>span:not(.em-story-play-icon){display:none}
body.edumax-landing .em-story-reel .em-play .em-story-play-icon{display:grid;place-items:center;width:28px;height:28px}
body.edumax-landing .em-story-reel .em-play .em-icon{display:block;width:25px;height:25px;margin:0;color:var(--color-accent);stroke:currentColor;fill:none}
body.edumax-landing .em-story-reel .em-videos{margin:0}
body.edumax-landing .em-reel-heading h3{margin:0}
@media(max-width:767px){body.edumax-landing .em-story-reel{padding-block:var(--space-sm)}body.edumax-landing .em-story-reel .em-reel-heading{margin:0 0 var(--space-sm);padding-inline:var(--space-sm)}body.edumax-landing .em-story-reel .em-reel-heading h3{display:none}body.edumax-landing .em-story-reel .em-reel-heading p{font-size:var(--text-xs);max-width:30ch;line-height:1.5}body.edumax-landing .em-story-reel .em-videos{padding-bottom:var(--space-xs)}body.edumax-landing .em-story-reel .em-video-caption{min-height:112px;padding:var(--space-sm);gap:var(--space-2xs);justify-content:flex-start}body.edumax-landing .em-story-reel .em-story-country{font-size:.6875rem}body.edumax-landing .em-story-reel .em-story-student{font-size:var(--text-lg)}body.edumax-landing .em-story-reel .em-video .em-play{width:48px;height:48px}body.edumax-landing .em-story-reel .em-play .em-icon{width:22px;height:22px}body.edumax-landing .em-story-reel .em-reel-controls{padding-top:var(--space-xs)}body.edumax-landing .em-story-reel .em-reel-controls button{width:44px;height:44px}}
/* A single film is a compact feature; carousel controls apply only to multiple films. */
body.edumax-landing .em-country-watch .em-story-reel-single{padding:0;background:transparent;border-radius:var(--radius-card)}
body.edumax-landing .em-country-watch .em-story-reel-single .em-videos{display:block;padding:0;overflow:visible;scroll-snap-type:none;background:transparent}
body.edumax-landing .em-country-watch .em-story-reel-single .em-video-item{width:100%;max-width:none}
body.edumax-landing .em-country-watch .em-story-reel-single .em-video{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:0;border:1px solid var(--color-rule)}
body.edumax-landing .em-country-watch .em-story-reel-single .em-video-image{width:100%;height:auto;aspect-ratio:16/9}
body.edumax-landing .em-country-watch .em-story-reel-single .em-video-caption{min-height:0;width:auto;padding:clamp(1rem,3vw,2rem);box-sizing:border-box;justify-content:center}
body.edumax-landing .em-country-watch .em-story-reel-single .em-story-student{font-size:clamp(1.2rem,2.3vw,1.8rem)}
/* Explicit contrasting states defeat inherited white-on-white play glyph rules. */
body.edumax-landing :is(.em-story-reel,.em-student-films) .em-video .em-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:56px;height:56px;min-height:0;padding:0;border:2px solid var(--color-on-accent);border-radius:50%;background:var(--color-accent);color:var(--color-on-accent);box-shadow:var(--shadow-photo);transition:background .2s,box-shadow .2s,scale .2s;gap:0}
body.edumax-landing :is(.em-story-reel,.em-student-films) .em-video .em-play .em-icon{display:block;width:23px;height:23px;margin:0;fill:currentColor;stroke:currentColor;color:var(--color-on-accent)}
body.edumax-landing :is(.em-story-reel,.em-student-films) .em-video .em-play .em-story-play-icon{display:grid;place-items:center;width:26px;height:26px;color:var(--color-on-accent)}
body.edumax-landing :is(.em-story-reel,.em-student-films) .em-video:is(:hover,:focus-visible) .em-play{background:var(--color-accent-hover);scale:1.08;box-shadow:0 0 0 8px color-mix(in oklch,var(--color-accent) 20%,transparent)}
body.edumax-landing :is(.em-story-reel,.em-student-films) .em-video:focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}
body.edumax-landing :is(.em-story-reel,.em-student-films) .em-video:active .em-play{scale:.96}
@media(max-width:767px){body.edumax-landing .em-country-watch .em-story-reel-single .em-video{grid-template-columns:minmax(0,1fr)}body.edumax-landing .em-country-watch .em-story-reel-single .em-video-caption{padding:var(--space-md)}body.edumax-landing :is(.em-story-reel,.em-student-films) .em-video .em-play{width:48px;height:48px}}
@media(prefers-reduced-motion:reduce){body.edumax-landing :is(.em-story-reel,.em-student-films) .em-video .em-play{transition:none}body.edumax-landing :is(.em-story-reel,.em-student-films) .em-video:is(:hover,:focus-visible,:active) .em-play{scale:1}}
