.videos-page{max-width:1400px;margin:0 auto;padding:30px 20px 60px}
.videos-header{max-width:900px;margin:20px 0 32px}
.videos-header .eyebrow{letter-spacing:.12em;text-transform:uppercase;font-size:.8rem;font-weight:700;color:#777}
.videos-header h1{font-size:clamp(2rem,5vw,3.5rem);margin:.2em 0}
.videos-header>p:last-child{font-size:1.1rem;line-height:1.6;color:#555}
.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:22px}
.video-card{min-width:0;overflow:hidden;background:#fff;border-radius:14px;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.video-thumb{position:relative;display:block;width:100%;padding:0;border:0;background:#111;cursor:pointer;aspect-ratio:16/9;overflow:hidden}
.video-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.video-thumb:hover img{transform:scale(1.04)}
.video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:58px;height:42px;border-radius:12px;background:rgba(220,0,0,.92);color:#fff;font-size:22px}
.video-card iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
.video-card-content{padding:14px}
.video-card-content h2,.video-card-content h3{margin:0 0 8px;font-size:1rem;line-height:1.45}
.video-card-content time{color:#666;font-size:.85rem}
.video-card-content p{margin:8px 0 0;line-height:1.5;color:#555;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.project-videos{margin:30px 20px 40px}
.project-videos-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.project-videos-heading h2{margin:0;font-size:clamp(1.4rem,3vw,2rem)}
.project-videos-heading a{font-weight:600;text-decoration:none}
.project-videos-heading a:hover{text-decoration:underline}
.videos-empty,.videos-error{padding:24px;background:#fff;border-radius:12px}
@media(max-width:600px){.project-videos{margin:24px 12px}.project-videos-heading{align-items:flex-start;flex-direction:column;gap:8px}}


.videos-filters{margin:28px 0 22px;padding:20px;background:#fff;border:1px solid rgba(0,0,0,.09);border-radius:14px}
.videos-filters label{display:flex;flex-direction:column;gap:7px;font-size:.9rem;font-weight:600}
.video-search-label{margin-bottom:7px}
.videos-filters input,.videos-filters select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #c9c9c9;border-radius:8px;background:#fff;color:#222;font:inherit}
.videos-filters input:focus,.videos-filters select:focus{outline:2px solid #777;outline-offset:1px}
.video-filter-row{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(220px,1.3fr) auto;gap:14px;align-items:end;margin-top:14px}
.video-reset{min-height:44px;padding:10px 16px;border:1px solid #aaa;border-radius:8px;background:#f3f3f3;color:#222;font:inherit;font-weight:600;cursor:pointer}
.video-reset:hover{background:#e8e8e8}
.videos-count{margin:16px 0 0;color:#666;font-size:.9rem}
.videos-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:30px 0}
.videos-pagination button{min-width:40px;min-height:40px;padding:7px 12px;border:1px solid #ccc;border-radius:8px;background:#fff;color:#222;font:inherit;cursor:pointer}
.videos-pagination button[aria-current="page"]{background:#222;color:#fff;border-color:#222}
.videos-pagination button:hover:not([aria-current="page"]){background:#eee}
@media(max-width:700px){.video-filter-row{grid-template-columns:1fr}.video-reset{width:100%}.videos-filters{padding:15px}}
