/* JR Roofing Dublin story video V6: self-hosted, flat brand palette, accessible controls. */
.jr-story-section{background:#e9f3f9}
.jr-story-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(28px,6vw,82px);align-items:center}
.jr-story-media{margin:0;min-width:0}
.jr-story-player{position:relative;overflow:hidden;isolation:isolate;aspect-ratio:16/9;background:#082a49;border-radius:14px;box-shadow:0 22px 52px rgba(8,42,73,.18);border:1px solid rgba(8,42,73,.13)}
.jr-story-video{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;background:#082a49}
.jr-story-play{display:none;position:absolute;inset:0;width:100%;height:100%;border:0;margin:0;padding:18px;cursor:pointer;color:#fff;background:rgba(8,42,73,.18);align-items:center;justify-content:center;transition:background .2s ease,opacity .25s ease}
.video-js-ready .jr-story-play{display:flex}
.video-js-ready .jr-story-player.is-started .jr-story-play{opacity:0;pointer-events:none;visibility:hidden}
.jr-story-play:hover{background:rgba(8,42,73,.28)}
.jr-story-play:focus-visible{outline:3px solid #f18b3e;outline-offset:-5px}
.jr-story-play-symbol{width:70px;height:70px;border-radius:50%;background:#f18b3e;display:grid;place-items:center;color:#082a49;box-shadow:0 10px 30px rgba(8,42,73,.38);transition:transform .24s ease}
.jr-story-play:hover .jr-story-play-symbol{transform:scale(1.1)}
.jr-story-play-name{position:absolute;left:16px;bottom:17px;background:rgba(8,42,73,.92);padding:12px 15px;border-radius:8px;max-width:calc(100% - 32px);display:grid;gap:3px;text-align:left}
.jr-story-play-name strong{font-size:clamp(.7rem,1.2vw,.92rem);font-weight:800}
.jr-story-play-name small{font-size:.69rem;color:#d8e7f2}
.jr-story-caption{margin-top:13px;display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:#55728a;font-size:.7rem;line-height:1.5;font-weight:650}
.jr-caption-dot{width:7px;height:7px;background:#f18b3e;border-radius:50%;flex:none}
.jr-caption-sep{color:#849bac}
.jr-story-copy h2{font-size:clamp(2.2rem,3.4vw,3.9rem);line-height:1.13;letter-spacing:-.045em}
.jr-story-copy p:not(.eyebrow){margin:15px 0 0;color:#526a7f;line-height:1.77;font-size:clamp(.84rem,1vw,.95rem)}
.jr-story-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:27px}
.jr-story-actions .btn-orange{border-radius:6px;min-height:50px}
.jr-story-actions .text-link{margin-top:0;white-space:nowrap}
.jr-story-link{color:#082a49;text-decoration:none;cursor:pointer;transition:background .2s ease,transform .2s ease}
.jr-story-link:hover{background:#ffab67;transform:translateY(-2px)}
.jr-story-link:focus-visible{outline:3px solid #126fa6;outline-offset:3px}
.jr-story-jump{margin-left:auto;font-size:1.5rem;font-weight:800;line-height:1}
@media(max-width:900px){.jr-story-grid{grid-template-columns:1fr;gap:30px}.jr-story-copy h2{max-width:690px}.jr-story-section .jr-story-media{width:100%}}
@media(max-width:540px){.jr-story-player{border-radius:9px}.jr-story-play-symbol{width:55px;height:55px}.jr-story-play-symbol svg{width:23px;height:23px}.jr-story-play-name{left:10px;bottom:10px;padding:7px 9px}.jr-story-play-name strong{font-size:.69rem}.jr-story-play-name small{font-size:.61rem}.jr-story-caption{font-size:.65rem}.jr-story-actions{flex-direction:column;align-items:stretch}.jr-story-actions .btn-orange{text-align:center}.jr-story-actions .text-link{align-self:flex-start}.jr-story-jump{font-size:1.1rem}}
@media(prefers-reduced-motion:reduce){.jr-story-play,.jr-story-play-symbol,.jr-story-link{transition:none!important}}
