/* ITSS · finitions responsive (téléphone, tablette, desktop) · 2026-11-08 */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
img,video,iframe,svg{max-width:100%}
img{height:auto}

/* Bloc promo adhésion : jamais plus large que l'écran */
.itss-adh-promo{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.itss-adh-promo>*{min-width:0;max-width:100%}
.itss-adh-promo .btn{white-space:normal;text-align:center;justify-content:center;max-width:100%;line-height:1.25}
@media (max-width:480px){
  .itss-adh-promo{padding:18px 16px !important;border-radius:14px !important}
  .itss-adh-promo>span:last-child{flex-direction:column}
  .itss-adh-promo .btn{width:100%;flex:1 1 100%}
}

/* Communauté : filtre de thème contenu dans sa colonne */
.community-filter-label{max-width:100%;min-width:0}
body.community-hub-page .community-filter-label select,.community-filter-label select{width:100% !important;max-width:100% !important;min-width:0 !important;box-sizing:border-box !important}

/* ITSS Ciné : en-tête sur tablette (641–1024 px) */
@media (min-width:641px) and (max-width:1024px){
  .cine-app-header-inner{grid-template-columns:auto auto minmax(0,1fr) auto auto !important;gap:10px !important}
  .cine-watch-brand{min-width:0;max-width:200px}
  .cine-watch-search{min-width:0 !important;width:100% !important}
  .cine-watch-search input{min-width:0;width:100%}
  .cine-exit-link span,.cine-watch-login span{display:none}
  .cine-exit-link,.cine-watch-login{padding-inline:10px !important;min-width:40px;justify-content:center}
}

/* Tableaux publics : défilement horizontal propre au lieu de déborder */
@media (max-width:760px){
  main table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* Textes longs (e-mails, références, URL) */
main a,main p,main li,main dd{overflow-wrap:break-word}

/* ITSS Ciné · lecteur : la vidéo n'est jamais coupée (format paysage ou téléphone) */
.cine-player-shell video{width:100% !important;height:100% !important;object-fit:contain !important;background:#000}
.cine-player-shell.is-portrait{aspect-ratio:9/16 !important;width:auto !important;height:min(82vh,860px) !important;max-width:100% !important;margin-inline:auto !important;background:#000}
@media (max-width:640px){
  .cine-player-shell.is-portrait{width:100% !important;height:auto !important;max-height:80vh !important;max-height:80svh !important}
}
