.home-news[hidden], .home-news__dialog [hidden] { display:none !important }
.home-news { min-width:0; max-width:40rem; margin:.4rem 0 .65rem; border:1px solid #cbb88d; border-radius:12px; background:#fffbf0; color:#173d34; padding:0; text-align:left; }
.home-news > .home-news__summary { cursor:pointer; list-style:none; display:grid; grid-template-columns:auto max-content 1fr; align-items:center; gap:.1rem .5rem; min-height:44px; box-sizing:border-box; padding:.35rem .65rem; font:inherit; line-height:1.3; }
.home-news__summary::-webkit-details-marker {display:none}
.home-news__summary strong {font-size:.95rem}
.home-news__preview {grid-column:1 / -1; grid-row:2; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:#485b50; font-size:.8rem}
.home-news[open] .home-news__preview {display:none}
.home-news__summary::after { content:''; grid-column:3; grid-row:1; width:.48rem; height:.48rem; margin-left:auto; margin-right:.16rem; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); }
.home-news[open] > .home-news__summary::after { transform:rotate(225deg) }
.home-news__count { color:#75334a; background:#f7e8db; border-radius:1rem; padding:.14rem .5rem; font-size:.77rem; font-weight:700; }
.home-news .home-news__items { display:block; list-style:none; margin:0; padding:0 .65rem .25rem; }
.home-news__items > li { border-top:1px solid #e5d8bc; }
.home-news .home-news__item { appearance:none; display:flex; gap:.6rem; align-items:center; justify-content:space-between; min-height:46px; width:100%; margin:0; padding:.35rem .2rem; background:transparent; color:#173d34; border:0 none; border-radius:3px; box-shadow:none; font:inherit; text-align:left; cursor:pointer; overflow-wrap:anywhere; }
.home-news__item:focus-visible,.home-news__item:hover { background:#f6eedc }
.home-news__item-copy { min-width:0; display:grid; gap:.1rem; line-height:1.3 }
.home-news__item-copy strong { font-size:.93rem }
.home-news__kind { font-size:.74rem; font-weight:600; color:#76425a }
.home-news__action { flex:none; color:#74324b }
.home-news__feedback { margin:.4rem .65rem; color:#902344; font-size:.875rem }
.home-news__feedback:empty { display:none }
.home-news__dialog { width:min(34rem,calc(100% - 1.5rem)); border:1px solid #b69a5d; background:#fff9eb; color:#173d34; border-radius:15px; padding:1.25rem }
.home-news__dialog::backdrop { background:#112b24a0 }
.home-news__body { white-space:pre-wrap; overflow-wrap:anywhere }
.home-news__dialog-buttons { display:flex; flex-wrap:wrap; gap:.5rem }
.home-news-admin { margin:0 0 1rem; padding:.65rem; border:1px solid #c7aa77; border-radius:12px; background:#fff9eb }
.home-news-admin summary { font-weight:700; cursor:pointer; color:#6d2842 }
.home-news-admin form { margin-top:.6rem }
.home-news-admin label { display:block }
.home-news-admin input, .home-news-admin textarea, .home-news-admin select { max-width:100%; width:100% }
.home-news-admin__active { list-style:none; margin:.7rem 0 0; padding:0 }
.home-news-admin__active li { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.5rem; border-top:1px solid #ddcba8; padding:.4rem 0 }
.home-news :focus-visible, .home-news__dialog :focus-visible, .home-news-admin :focus-visible { outline:2px solid #902344; outline-offset:2px }

.mls-surprise {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  width: 100%;
  max-width: 64rem;
  margin: 1.25rem auto;
  border: 1px solid #9d8653;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #183b36;
  color: #fff3d6;
  box-shadow: 0 8px 26px #162d231a;
  text-align: left;
  box-sizing: border-box;
}
.mls-surprise__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  object-position: center;
}
.mls-surprise__texte { align-self: center; padding: clamp(18px, 3.5vw, 38px); }
.mls-surprise .mls-surprise__rubrique {
  margin: 0 0 .4rem;
  color: #f0d39e;
  font: 700 .76rem/1.4 system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mls-surprise .mls-surprise__titre {
  margin: 0;
  color: #fff3d6;
  font: 500 clamp(1.6rem, 3.5vw, 2.5rem)/1.08 Georgia, serif;
  text-wrap: balance;
}
.mls-surprise .mls-surprise__invitation {
  margin: .8rem 0 1rem;
  color: #f4ecdc;
  font: 400 1rem/1.5 system-ui, sans-serif;
}
.mls-surprise .mls-surprise__lien {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  box-sizing: border-box;
  padding: .7rem 1.1rem;
  border-radius: .55rem;
  background: #f2d397;
  color: #17372f;
  font: 700 1rem/1.25 system-ui, sans-serif;
  text-decoration: none;
}
.mls-surprise .mls-surprise__lien:hover { background: #ffe8b7; }
.mls-surprise .mls-surprise__lien:focus-visible { outline: 3px solid white; outline-offset: 3px; }
@media (max-width: 620px) {
  .mls-surprise { display: block; }
  .mls-surprise__image { height: auto; min-height: 0; aspect-ratio: 2.25; }
}

.welcome-heading:has(.mls-menu-parents) { display: block; }
.mls-menu-parents, .mls-rubrique-parents {
  box-sizing: border-box;
  min-width: 0;
  margin: .65rem 0;
  border: 1px solid #c9ad78;
  border-radius: 14px;
  background: #fffaf0;
  color: #193e34;
  text-align: left;
}
.mls-menu-parents { max-width: 46rem; }
.mls-menu-parents > summary, .mls-rubrique-parents > summary {
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 1rem;
  min-height: 46px;
  box-sizing: border-box;
  list-style: none;
  cursor: pointer;
  font: 650 1rem/1.3 system-ui, sans-serif;
  color: #153f34;
}
.mls-menu-parents > summary::-webkit-details-marker, .mls-rubrique-parents > summary::-webkit-details-marker { display: none; }
.mls-menu-parents > summary::after, .mls-rubrique-parents > summary::after {
  content: ''; width: .48rem; height: .48rem; border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg); margin: -.2rem .2rem 0 0; flex: none;
}
.mls-menu-parents[open] > summary::after, .mls-rubrique-parents[open] > summary::after { transform: rotate(225deg); margin-top: .25rem; }
.mls-menu-parents__contenu { padding: .6rem .8rem .8rem; border-top: 1px solid #e4d6b9; }
.mls-menu-parents .family-sections, .mls-menu-parents .parent-tools {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr)); width: 100%; max-width: none; margin: 0; gap: .45rem;
}
.mls-menu-parents .section-choice, .mls-menu-parents .parent-tools > :is(a,button) {
  margin: 0; min-height: 44px; width: 100%; box-sizing: border-box; overflow-wrap: anywhere;
}
.mls-menu-parents [hidden], .mls-menu-parents #show-parents { display: none !important; }
.mls-menu-parents .section-choice { padding: .65rem .75rem; }
.mls-menu-parents .section-choice span { display: none; }
.mls-menu-parents__jeu {
  display: flex; align-items: center; gap: .75rem; min-height: 52px; padding: .55rem; margin: .55rem 0;
  border: 1px solid #cdb782; border-radius: 10px; background: #eff5ed; color: #1b4235; text-decoration: none;
}
.mls-menu-parents__jeu img { width: 3.65rem; height: 2.8rem; object-fit: cover; border-radius: 6px; }
.mls-menu-parents__jeu strong, .mls-menu-parents__jeu small { display: block; color: #193f34; }
.mls-menu-parents__jeu small { margin-bottom: .1rem; font-size: .78rem; }
.mls-menu-parents__jeu:hover, .mls-menu-parents > summary:hover, .mls-rubrique-parents > summary:hover { background: #f4ead2; border-radius: 13px; }
.mls-menu-parents :focus-visible, .mls-rubrique-parents > summary:focus-visible { outline: 3px solid #8d2143; outline-offset: 2px; }
.mls-rubrique-parents[open] { padding: 0 clamp(.6rem,2vw,1rem) .6rem; }
.mls-rubrique-parents[open] > summary { margin: 0 clamp(-1rem,-2vw,-.6rem); }
.mls-rubrique-parents .mls-surprise { margin: .5rem 0; }
