/* Category media stays below the original Lighthouse entrance. */
.homepage-flow .clarity-section-grid article{overflow:hidden}
.homepage-flow .category-preview{display:block;position:relative;align-self:stretch;width:calc(100% + 40px);max-width:none;aspect-ratio:16/9;margin:-20px -20px 18px;background:#041824;border-bottom:1px solid #b99a60;color:#fff0d0;text-decoration:none;overflow:hidden}
.category-preview img{display:block;width:100%;height:100%;object-fit:cover}
.category-preview-label{position:absolute;inset:auto 10px 10px auto;display:flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid #e2c48699;border-radius:4px;background:#041824ed;color:#fff1d0;font:600 12px/1.4 Arial,sans-serif;text-transform:none;letter-spacing:0}
.category-preview:hover .category-preview-label,.category-preview:focus-visible .category-preview-label{background:#f2ce87;color:#10202c}
.category-preview-label>span{font-size:15px}
.homepage-flow .category-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:2px 16px;width:100%}
.homepage-flow .category-card-actions .category-full-guide{display:inline-flex;align-items:center;min-height:44px;color:#d2e2e9;font:12px/1.4 Arial,sans-serif;text-underline-offset:3px}
.homepage-flow .clarity-section-grid .category-full-guide{display:inline-flex;align-items:center;min-height:44px;color:#d2e2e9;font:12px/1.4 Arial,sans-serif;text-underline-offset:3px}
.homepage-flow .category-media-note{font:12px/1.5 Arial,sans-serif;color:#c5d6df;margin:16px 0 0}
.homepage-flow .category-media-note a{color:#e8d3a5}
.category-film-dialog{box-sizing:border-box;position:fixed;width:min(1120px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #b99a60;border-radius:10px;background:#061c2a;color:#fff0d0;overflow:auto;box-shadow:0 28px 100px #000b}
.category-film-dialog::backdrop{background:#010b13e8}
.category-film-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px}
.category-film-header h2{margin:0;font:400 clamp(22px,3vw,30px)/1.2 Georgia,serif;letter-spacing:-.02em}
.category-film-close{flex:none;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #b99a60;background:#0b293b;color:#fff0d0;border-radius:4px;cursor:pointer;font:600 14px/1.3 Arial,sans-serif}
.category-film-dialog video{display:block;width:100%;aspect-ratio:16/9;background:#020f18}
.category-film-body{padding:16px 20px 20px;font:15px/1.6 Arial,sans-serif}
.category-film-body>p{margin:0 0 12px;color:#cbdce4;font-size:12px}
.category-film-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin-bottom:12px}
.category-film-links a{display:inline-flex;align-items:center;min-height:44px;padding:7px 0;color:#ffe0a0;font:600 14px/1.4 Arial,sans-serif;text-underline-offset:4px}
.category-film-body details>summary{min-height:44px;padding:10px 0;cursor:pointer;color:#ffe0a0}
.category-film-body ol{padding-left:22px}.category-film-body li{margin:8px 0}
.category-film-body details p{color:#d4e1e8}
.category-film-dialog :focus-visible,.category-preview:focus-visible{outline:3px solid #a6e5ff;outline-offset:3px}
.category-film-page{margin:0;background:#061c2a;color:#fff0d0;font:16px/1.65 Arial,sans-serif}
.category-film-page main{width:min(1100px,calc(100% - 36px));margin:32px auto 60px}
.category-film-page h1{font:400 clamp(30px,5vw,48px)/1.2 Georgia,serif}
.category-film-page a{color:#ffe0a0;display:inline-flex;align-items:center;min-height:44px}
.category-film-page video{display:block;width:100%;aspect-ratio:16/9;background:#020f18;border:1px solid #b99a60}
.category-film-page .category-film-body{padding:16px 0}
@media(max-width:700px){.homepage-flow .category-preview{width:calc(100% + 34px);margin:-17px -17px 16px}.category-film-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:7px}.category-film-header{padding:10px 12px;gap:8px}.category-film-header h2{font-size:23px}.category-film-body{padding:14px 12px}.category-film-links{display:grid;gap:2px}.category-preview-label{font-size:13px}}
@media(prefers-reduced-motion:reduce){.category-preview *{transition:none!important;animation:none!important}}

.category-film-page video.lh-portrait-video{aspect-ratio:9/16;max-height:75dvh;object-fit:contain}
