/* HDH homepage UX v2: does not remove/change ads, video queries, or SEO settings */
body.home .hdh-home-discovery{max-width:1700px;margin:0 auto;padding:22px 20px 14px;color:#F5F3FF}
body.home .hdh-home-intro{background:linear-gradient(110deg,#201B44,#111529 75%);border:1px solid rgba(123,92,246,.25);border-radius:16px;padding:24px 30px;display:flex;align-items:center;justify-content:space-between;gap:22px}
body.home .hdh-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:#22D3EE}
body.home .hdh-home-intro h1{font-size:clamp(24px,2.4vw,34px);line-height:1.2;margin:6px 0 8px;font-weight:800}
body.home .hdh-home-intro p{color:#C8C1DE;margin:0;font-size:14px}
body.home .hdh-home-actions{display:flex;gap:10px;flex-wrap:wrap}
body.home .hdh-home-actions a,body.home .hdh-home-tools button{border:1px solid rgba(255,255,255,.18);border-radius:9px;padding:10px 15px;color:#fff;font-weight:700;font-size:13px;text-decoration:none;background:#282347;white-space:nowrap}
body.home .hdh-home-actions .hdh-home-primary{background:#7B5CF6;border-color:#7B5CF6}
body.home .hdh-home-actions a:hover{background:#493D86}
body.home .hdh-home-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:17px 5px 2px;font-size:13px;color:#B6AED5}
body.home .hdh-home-tools button{cursor:pointer;padding:9px 13px;background:#1D1B36}
body.home .hdh-home-tools a{color:#E9E2FF;text-decoration:none}
body.home .hdh-home-tools a:hover{color:#22D3EE}
body.home .video-loop .video-block{height:100%;background:#17132D;border:1px solid rgba(255,255,255,.045);border-radius:12px;overflow:hidden}
body.home .video-loop .video-block .infos{padding:10px 10px 12px;display:block}
body.home .video-loop .video-block .title{font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
body.home .video-loop .video-block .video-datas{margin-top:9px}
body.home .video-loop .video-block .thumb{display:block;overflow:hidden}
body.home #secondary{transition:opacity .2s ease}
body.home.hdh-filters-collapsed #secondary{display:none!important}
body.home.hdh-filters-collapsed #content>.container.d-flex .video-loop{flex:1 1 100%!important;min-width:0}
body.home .video-loop .row.no-gutters>[class*="col-"]{padding:5px!important}
@media(max-width:1023px){body.home .hdh-home-intro{flex-direction:column;align-items:flex-start;padding:20px}body.home .hdh-home-discovery{padding:12px 12px 6px}}
@media(max-width:600px){body.home .hdh-home-actions{width:100%}body.home .hdh-home-actions a{flex:1 1 auto;text-align:center}body.home .hdh-home-intro h1{font-size:24px}}

/* Home discovery revision 1.1 */
body.home .hdh-home-intro{padding:22px 28px}
body.home .hdh-home-search{width:min(420px,100%);flex:0 1 420px}
body.home .hdh-home-search label{display:block;color:#C8C1DE;font-size:12px;margin-bottom:7px;font-weight:700}
body.home .hdh-home-search>div{display:flex;gap:8px}
body.home .hdh-home-search input{min-width:0;flex:1;background:#0B1020;color:#fff;border:1px solid #52466F;border-radius:9px;padding:11px 12px}
body.home .hdh-home-search input:focus{outline:2px solid #22D3EE}
body.home .hdh-home-search button{border:0;border-radius:9px;padding:10px 16px;background:#7B5CF6;color:#fff;font-weight:700}
body.home .hdh-home-gallery-section{margin:18px 0 4px}
body.home .hdh-section-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:0 0 14px}
body.home .hdh-section-heading h2{font-size:23px;margin:3px 0 0;font-weight:800}
body.home .hdh-section-heading>a{color:#22D3EE;font-size:13px;font-weight:700;text-decoration:none}
body.home .hdh-home-gallery-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
body.home .hdh-home-gallery-grid .hdh-discovery-card{background:#15142C;border:1px solid rgba(255,255,255,.08);border-radius:12px;overflow:hidden}
body.home .hdh-home-gallery-grid .hdh-discovery-card a{gap:0}
body.home .hdh-home-gallery-grid .hdh-discovery-card img{border-radius:0;aspect-ratio:3/4;object-fit:cover}
body.home .hdh-home-gallery-grid .hdh-card-title{font-size:13px;padding:10px 10px 3px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.home .hdh-home-gallery-grid .hdh-card-meta{font-size:12px;padding:0 10px 12px}
body.home .hdh-home-tools{padding-top:18px}
@media(max-width:1000px){body.home .hdh-home-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body.home .hdh-home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.home .hdh-home-search{width:100%;flex:1 1 100%}}
/* Keep filters level with the content: discovery now lives inside the video column */
body.home #content .video-loop>.hdh-home-discovery{max-width:none;width:100%;margin:0;padding:12px 12px 14px}
body.home #content .video-loop .hdh-home-intro{padding:16px 20px;border-radius:12px}
body.home #content .video-loop .hdh-home-intro h1{font-size:24px}
body.home #content .video-loop .hdh-home-gallery-section{margin:14px 0 6px}
body.home #content .video-loop .hdh-home-gallery-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
body.home #content .video-loop .hdh-home-gallery-grid .hdh-discovery-card{max-width:180px}
body.home #content .video-loop .hdh-home-gallery-grid .hdh-discovery-card img{max-height:205px;object-position:top}
body.home #content .video-loop .hdh-home-tools{padding-top:12px}
@media(max-width:1000px){body.home #content .video-loop .hdh-home-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body.home #content .video-loop .hdh-home-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
