/* The fiche page written by the server (fiche_page.py, audit B21): the fiche first, the home page's search form and list hidden
   behind it until its window closes (site.js: leaveServerFiche); its text blocks are not even in the page until then (an inert
   <template data-home-blocks>, fiche_page.HOME_BLOCKS). The start-up message (« Réessayer ») stays visible. */
body.fiche-page main > :not(.server-fiche):not(#searchError) { display: none; }
.server-fiche { padding: 22px 0 40px; }
.fiche-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; color: var(--muted); }
.fiche-breadcrumb li + li::before { content: '›'; margin-right: 8px; }
.fiche-breadcrumb a { color: inherit; }
.fiche-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.fiche-intro h1 { overflow-wrap: anywhere; }
.fiche-lead { color: var(--muted); margin: 12px 0; }
.fiche-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 10px 0; }
.fiche-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.fiche-figure { margin: 0; }
.fiche-cover { display: block; width: 100%; height: auto; max-height: 380px; object-fit: cover; border-radius: 12px; background: #e9eee5; }
.fiche-section { margin: 30px 0; max-width: 960px; }
.fiche-section h2 { font-size: 22px; }
.fiche-section p { overflow-wrap: anywhere; }
.fiche-services { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.fiche-services li { border-radius: 20px; background: #eff3e8; padding: 5px 11px; font-size: 14px; }
.fiche-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 26px; margin: 0; }
.fiche-facts dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.fiche-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.fiche-album { margin: 18px 0; }
.fiche-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.fiche-photos figure { margin: 0; }
.fiche-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #e9eee5; }
.fiche-photos figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }
.server-fiche nav { display: block; font-size: inherit; }  /* Not the header's navigation (site.css: nav). */
.fiche-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fiche-links a { font-weight: 600; text-decoration: underline; }
@media (max-width: 650px) {
  .server-fiche { padding-top: 16px; }
  .fiche-top { grid-template-columns: 1fr; gap: 16px; }
  .fiche-cover { max-height: 240px; }
  .fiche-actions .button-link { flex: 1 1 100%; }
}
