/* Sorti de views/index.ejs le 15/11/2026 pour alléger les pages (fichier mis en cache par le navigateur). Modifier ICI, plus dans la vue. */

/* ══ THÈME ACCUEIL — même charte que les pages actualités/articles ══
   Ce bloc vient APRÈS les styles des sections ci-dessus : à spécificité égale,
   il l'emporte sans avoir à toucher chaque règle d'origine. */

/* Largeur et gouttières identiques pour toutes les sections */
.ith-section{max-width:1180px;padding:0 32px;margin:0 auto 36px;padding-top:40px}
.promo-row{max-width:1180px;margin:0 auto 12px;padding:0 32px;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.hs-ev-inner{max-width:1180px !important;padding:0 32px !important}

/* État du réseau : titre à gauche, heure à droite (plus de doublon avec la bande "Info trafic" au-dessus) */
.ith-head{justify-content:space-between;margin-bottom:22px;gap:12px}
.ith-head-title{font-size:clamp(26px,3.4vw,38px);letter-spacing:-.8px;margin:0}
.ith-head-time{font-size:13.5px;background:#fff;border:1.5px solid #e0e0d8;border-radius:100px;padding:7px 14px;color:#68687a}

/* Cartes de modes : plus compactes, accent coloré en haut */
.ith-msg{border-radius:16px}

/* Tableau d'état : UNE carte, 2 colonnes, une ligne par mode
   (logo | nom + lignes | statut) au lieu de 4 grosses cartes séparées. */
.ith-modes{gap:0;grid-template-columns:1fr 1fr;background:#fff;border:1.5px solid #e0e0d8;border-radius:24px;overflow:hidden;box-shadow:0 3px 12px rgba(0,0,0,.06)}
.ith-mode{position:relative;display:grid;grid-template-columns:44px 1fr auto;grid-template-areas:"logo name badge" "logo lines badge";column-gap:16px;row-gap:3px;align-items:center;padding:22px 26px 22px 32px;border:none;border-radius:0;box-shadow:none;background:transparent;text-align:left;transition:background .2s}
.ith-mode::before{content:'';position:absolute;left:0;top:16px;bottom:16px;width:4px;border-radius:0 4px 4px 0;background:currentColor}
.ith-mode::after{display:none}
.ith-mode:nth-child(odd){border-right:1.5px solid #ece9df}
.ith-mode:nth-child(-n+2){border-bottom:1.5px solid #ece9df}
.ith-mode:hover{transform:none;box-shadow:none;background:#fafaf6}
.ith-mode-logo{grid-area:logo;width:44px;height:44px}
.ith-mode-name{grid-area:name;align-self:end;font-size:15px;letter-spacing:.1px;line-height:1.2}
.ith-mode-lines{grid-area:lines;align-self:start;justify-content:flex-start;margin:0;min-height:0}
.ith-mode-lines img{height:20px}
.ith-mode-cta{display:none}
/* "Normal" partout n'apprend rien : on n'affiche un statut que s'il y a une alerte */
.ith-status-ok{display:none !important}
.ith-status-prevu{background:rgba(0,117,201,.12);color:#0075c9}
.ith-status-badge{grid-area:badge;margin:0;font-size:12px;padding:6px 13px;border-radius:100px;white-space:nowrap}
/* Le bord rouge générique des cartes en alerte colorait aussi les séparateurs */
.ith-modes .ith-mode.ith-mode--alert{border-color:#ece9df !important}
.ith-mode:has(.ith-status-interruption){background:#fff6f6}
.ith-mode:has(.ith-status-interruption):hover{background:#fff0f0}

/* Bandeau récap métro */
.ith-recap-banner{border-radius:20px;border:1.5px solid #e0e0d8;box-shadow:0 3px 12px rgba(0,0,0,.06)}

/* Jeu concours + TM'Prono : côte à côte, cartes compactes */
.promo-row .jc-promo,.promo-row .tp-promo{padding:0}
.promo-row .jc-promo-in,.promo-row .tp-promo-in{padding:0;max-width:none;height:100%}
.promo-row .jc-promo-card,.promo-row .tp-promo-card{
  flex-direction:column;align-items:flex-start;gap:12px;height:100%;
  border-radius:24px;padding:26px 26px 24px;box-shadow:0 8px 24px rgba(0,0,0,.14)
}
.promo-row .jc-promo-body,.promo-row .tp-promo-body{flex:1 1 auto}
.promo-row .jc-promo-title,.promo-row .tp-promo-title{font-size:20px;line-height:1.25;letter-spacing:-.3px}
.promo-row .jc-promo-sub,.promo-row .tp-promo-sub{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.promo-row .jc-promo-cta,.promo-row .tp-promo-cta{margin-top:4px}
.promo-row .jc-promo-ico,.promo-row .tp-promo-ico{width:46px;height:46px;font-size:19px;border-radius:14px}

@media(max-width:900px){
  .ith-modes{grid-template-columns:repeat(2,1fr)}
  .promo-row{grid-template-columns:1fr}
}
@media(max-width:768px){
  .ith-section{padding:28px 16px 0}
  .promo-row{padding:0 16px}
  .hs-ev-inner{padding:0 16px !important}
}
@media(max-width:560px){
  .ith-head{flex-wrap:wrap}
  .ith-head-title{font-size:24px}
  .ith-head-time{font-size:12px;padding:6px 12px}
  .ith-msg-corps{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  /* Téléphone : une colonne, une ligne par mode, séparateurs horizontaux */
  .ith-modes{grid-template-columns:1fr;border-radius:20px}
  .ith-mode{grid-template-columns:36px 1fr auto;grid-template-areas:"logo name badge";column-gap:12px;padding:14px 14px 14px 20px}
  .ith-mode:nth-child(odd){border-right:none}
  .ith-mode:nth-child(-n+2){border-bottom:none}
  .ith-mode:not(:last-child){border-bottom:1.5px solid #ece9df}
  .ith-mode::before{top:12px;bottom:12px}
  .ith-mode-logo{width:36px;height:36px}
  .ith-mode-name{align-self:center;font-size:14.5px;min-width:0}
  .ith-mode-lines{display:none}
  .ith-status-badge{font-size:11.5px;padding:5px 10px}
  .promo-row .jc-promo-card,.promo-row .tp-promo-card{text-align:left;padding:22px 20px}
  .promo-row .jc-promo-cta,.promo-row .tp-promo-cta{width:100%;justify-content:center}
}
/* Bandeau "Récap pannes métro" sur téléphone : icône + titre sur une ligne, flèche seule
   (le texte "Voir l'analyse" écrasait le titre en une colonne étroite) */
@media(max-width:640px){
  .ith-recap-banner{flex-wrap:nowrap;gap:12px;padding:14px 16px;border-radius:18px}
  .ith-recap-ico{width:40px;height:40px;font-size:16px}
  .ith-recap-title{font-size:14.5px;line-height:1.3}
  .ith-recap-cta{margin-left:0;font-size:0;gap:0;width:32px;height:32px;justify-content:center;background:rgba(204,0,0,.08);border-radius:50%}
  .ith-recap-cta i{font-size:13px}
}
