/* Tri Bezig — V10M11 R4 — correctif ciblé d'affichage
   Remplace le CSS home-compact-v11.css de la R3. */

/* ACCUEIL : largeur et centrage réellement contraints */
section.home-dashboard { box-sizing:border-box; width:100%; margin-top:-88px; padding:0 20px 28px; }
section.home-dashboard > div.home-cards.home-cards-layout {
  box-sizing:border-box !important;
  width:min(1080px,100%) !important;
  max-width:1080px !important;
  margin-inline:auto !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:18px !important;
  justify-content:center !important;
  align-items:stretch !important;
}
section.home-dashboard > .home-cards-layout > article.home-card {
  box-sizing:border-box; min-width:0 !important; width:100% !important;
  max-width:none !important; min-height:0 !important; height:auto !important;
  padding:20px !important; overflow:hidden;
}
section.home-dashboard .event-image {max-width:100%;height:clamp(210px,22vw,290px) !important;object-fit:contain;}
section.home-dashboard .burger-image-wrap {height:clamp(210px,22vw,290px) !important;max-height:290px;}
section.home-dashboard .burger-image {width:100%;height:100% !important;object-fit:contain;}
section.home-dashboard .burger-card h2 {font-size:clamp(1.5rem,2.7vw,2.3rem);line-height:1.1;}
section.home-dashboard > a.tb-home-infos {
  box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;
  width:min(1080px,100%) !important;max-width:1080px !important;margin:14px auto 0 !important;
  padding:14px 20px;border:1px solid rgba(255,255,255,.18);border-radius:14px;
  background:#242328;color:white;text-decoration:none;
}
.tb-home-infos strong,.tb-home-infos small {display:block;}
.tb-home-infos small {opacity:.8;margin-top:4px;}
.tb-home-infos > span:last-child {color:#7fd1df;font-weight:700;text-align:right;}
.tb-home-infos:hover {border-color:#7fd1df;}

/* INFOS : le formulaire ne peut plus déborder de sa carte */
.info-grid > article.tb-info-newsletter,
.info-grid > article.tb-info-newsletter * {box-sizing:border-box;}
.info-grid > article.tb-info-newsletter {min-width:0 !important;max-width:100%;overflow:hidden;}
.info-grid > article.tb-info-newsletter form.newsletter-form.newsletter-form-v1 {
  width:100% !important;max-width:100% !important;min-width:0 !important;
  display:block !important;margin:14px 0 0 !important;
}
.info-grid > article.tb-info-newsletter .newsletter-form-row {
  display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;
  gap:10px !important;align-items:center !important;width:100% !important;max-width:100% !important;
}
.info-grid > article.tb-info-newsletter .newsletter-form-row input[type=email] {
  width:100% !important;min-width:0 !important;max-width:100% !important;
  height:46px !important;padding:10px 12px !important;
  border:1px solid #c7c4c0 !important;border-radius:9px !important;background:#fff;
}
.info-grid > article.tb-info-newsletter .newsletter-form-row button {
  width:auto !important;min-width:0 !important;max-width:100% !important;
  height:46px !important;padding:0 15px !important;border:0 !important;
  border-radius:9px !important;background:#61aec4 !important;color:white !important;
  font-weight:800 !important;white-space:nowrap;
}
.info-grid > article.tb-info-newsletter form.newsletter-form-v1 > label.newsletter-consent {
  box-sizing:border-box !important;display:grid !important;
  grid-template-columns:18px minmax(0,1fr) !important;column-gap:10px !important;
  align-items:start !important;width:100% !important;max-width:100% !important;
  min-width:0 !important;margin:16px 0 0 !important;padding:0 !important;
  font-size:.82rem !important;line-height:1.45 !important;text-align:left !important;
  white-space:normal !important;overflow-wrap:anywhere !important;
}
.info-grid > article.tb-info-newsletter form.newsletter-form-v1 > label.newsletter-consent > input[type=checkbox] {
  all:revert !important;appearance:auto !important;-webkit-appearance:checkbox !important;
  box-sizing:border-box !important;display:block !important;position:static !important;
  width:16px !important;height:16px !important;min-width:16px !important;max-width:16px !important;
  min-height:16px !important;max-height:16px !important;margin:3px 0 0 !important;
}
.info-grid > article.tb-info-newsletter form.newsletter-form-v1 > label.newsletter-consent > span {
  display:block !important;min-width:0 !important;max-width:100% !important;
  width:auto !important;position:static !important;white-space:normal !important;
  overflow-wrap:anywhere !important;line-height:1.45 !important;
}
.info-grid > article.tb-info-newsletter > small {display:block;margin-top:15px;color:#615c57;}

@media(max-width:900px) {
  section.home-dashboard {margin-top:-38px;padding:0 14px 24px;}
  section.home-dashboard > div.home-cards.home-cards-layout {grid-template-columns:minmax(0,1fr) !important;max-width:620px !important;}
  section.home-dashboard > a.tb-home-infos {max-width:620px !important;}
}
@media(max-width:560px) {
  section.home-dashboard > .home-cards-layout > article.home-card {padding:15px !important;}
  section.home-dashboard > a.tb-home-infos {flex-direction:column;align-items:flex-start;}
  section.home-dashboard > a.tb-home-infos > span:last-child {text-align:left;}
  .info-grid > article.tb-info-newsletter .newsletter-form-row {grid-template-columns:minmax(0,1fr) !important;}
  .info-grid > article.tb-info-newsletter .newsletter-form-row button {width:100% !important;}
}
@media(prefers-reduced-motion:reduce){.tb-home-infos{transition:none !important}}



/* V10M11 R6 — composition homogène et compacte. */
section.home-dashboard > div.home-cards.home-cards-layout {
  width:min(1120px,100%) !important;max-width:1120px !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:stretch !important;gap:18px !important;
}
section.home-dashboard > .home-cards-layout > article.tb-editorial-card {
  padding:18px !important;min-height:0 !important;height:auto !important;
  display:flex !important;flex-direction:column !important;gap:10px !important;
  text-align:left !important;overflow:hidden !important;
}
section.home-dashboard .tb-editorial-inner {
  display:grid !important;grid-template-columns:minmax(0,195px) minmax(0,1fr) !important;
  gap:18px !important;align-items:center !important;width:100% !important;
}
section.home-dashboard .tb-editorial-media {
  position:relative !important;display:block !important;float:none !important;
  width:100% !important;max-width:195px !important;height:auto !important;
  aspect-ratio:1/1 !important;margin:0 !important;padding:0 !important;
  background:transparent !important;overflow:hidden !important;border-radius:12px !important;
}
section.home-dashboard .tb-editorial-media img {
  display:block !important;width:100% !important;height:100% !important;
  max-height:none !important;object-fit:contain !important;
  border-radius:12px !important;margin:0 !important;
}
section.home-dashboard .tb-editorial-media .price-badge {
  position:absolute !important;top:7px !important;right:7px !important;
  width:auto !important;min-width:56px !important;height:auto !important;
  padding:10px 8px !important;font-size:.9rem !important;line-height:1.2 !important;
}
section.home-dashboard .tb-editorial-copy {
  min-width:0 !important;display:flex !important;flex-direction:column !important;
  align-items:flex-start !important;justify-content:center !important;
  gap:9px !important;text-align:left !important;
}
section.home-dashboard .tb-editorial-copy-full {grid-column:1/-1 !important;min-height:175px !important}
section.home-dashboard .tb-editorial-kicker {
  font-size:.8rem !important;line-height:1.3 !important;font-weight:800 !important;
  letter-spacing:.04em !important;margin:0 !important;
}
section.home-dashboard .tb-editorial-copy h2 {
  font-size:clamp(1.15rem,1.8vw,1.55rem) !important;line-height:1.16 !important;
  margin:0 !important;text-align:left !important;
}
section.home-dashboard .tb-editorial-description {
  margin:0 !important;font-size:.95rem !important;line-height:1.4 !important;
  display:-webkit-box !important;-webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;overflow:hidden !important;
}
section.home-dashboard .tb-editorial-copy .card-link {
  margin:4px 0 0 !important;display:inline-block !important;align-self:flex-start !important;
  font-size:.9rem !important;
}
section.home-dashboard .tb-editorial-secondary {
  display:block !important;padding:9px 10px !important;margin-top:2px !important;
  border-top:1px solid #e4ded6 !important;color:#b94468 !important;
  font-size:.85rem !important;text-decoration:none !important;
}
section.home-dashboard > a.tb-home-infos {max-width:1120px !important;width:min(1120px,100%) !important;}
@media(max-width:900px) {
 section.home-dashboard > div.home-cards.home-cards-layout {grid-template-columns:minmax(0,1fr) !important;max-width:620px !important;}
 section.home-dashboard .tb-editorial-inner {grid-template-columns:minmax(0,175px) minmax(0,1fr) !important;}
 section.home-dashboard .tb-editorial-media {max-width:175px !important;}
}
@media(max-width:480px) {
 section.home-dashboard .tb-editorial-inner {grid-template-columns:minmax(0,112px) minmax(0,1fr) !important;gap:12px !important;}
 section.home-dashboard .tb-editorial-media {max-width:112px !important;}
 section.home-dashboard .tb-editorial-copy {gap:6px !important;}
 section.home-dashboard .tb-editorial-copy h2 {font-size:1.1rem !important;}
 section.home-dashboard .tb-editorial-description {font-size:.82rem !important;-webkit-line-clamp:3 !important;}
 section.home-dashboard .tb-editorial-media .price-badge {min-width:0 !important;padding:5px !important;font-size:.7rem !important;}
}

/* V10M11 R7 — carrousel compact, sans saut de mise en page */
section.home-dashboard .tb-news-carousel {justify-content:space-between !important;}
section.home-dashboard .tb-carousel-slides {width:100%;min-width:0;flex:1;display:grid;align-items:center;}
section.home-dashboard .tb-carousel-slide {grid-area:1/1;min-width:0;width:100%;}
section.home-dashboard .tb-carousel-slide[hidden] {display:none !important;}
section.home-dashboard .tb-carousel-controls {display:flex;justify-content:center;align-items:center;gap:13px;min-height:25px;margin-top:3px;}
section.home-dashboard .tb-carousel-dots {display:flex;align-items:center;justify-content:center;gap:8px;}
section.home-dashboard .tb-carousel-dot {appearance:none;border:0;border-radius:50%;width:9px;height:9px;padding:0;background:#d1c8c3;cursor:pointer;transition:background .2s,width .2s;}
section.home-dashboard .tb-carousel-dot.is-active {width:23px;border-radius:10px;background:#cb456d;}
section.home-dashboard .tb-carousel-arrow {appearance:none;border:0;background:transparent;color:#b64a6a;cursor:pointer;font-size:25px;line-height:1;width:26px;height:27px;padding:0;}
section.home-dashboard .tb-carousel-arrow:hover {color:#832d4a;}
section.home-dashboard .tb-carousel-controls button:focus-visible {outline:2px solid #5aaec7;outline-offset:4px;}
@media(prefers-reduced-motion:reduce){section.home-dashboard .tb-carousel-dot{transition:none;}}
