/* Commune page (html/com_breizh/localite/default.php): 66vh hero + service sections. Desktop + mobile: same file. */

/* Hero: the full-bleed hero inside the component wrapper (breizh.css section margins would win) */
.com-breizh-localite > .heros-local { margin-top: -2rem; }
body:has(.app-entete) .com-breizh-localite > .heros-local { margin-top: calc(-1rem - var(--entete-totale, 56px)); }
.commune-heros .accueil-titre .commune-titre-suite { display: block; margin-top: 0.6rem; font-family: var(--police-texte); font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem); font-weight: 500; line-height: 1.35; letter-spacing: 0; word-spacing: normal; color: rgba(251, 250, 247, 0.85); text-shadow: 0 1px 12px rgba(0, 20, 26, 0.5); }
.commune-heros .loc-breton-nom { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); }
.commune-heros .accueil-chiffres dd { font-weight: 600; }
@media (max-width: 47.99em) { .heros-local.commune-heros .accueil-rubriques { display: none; } } /* phones: the sticky « Sur cette page » nav right under the hero has the same links; the service tiles come up */

/* Section titles: friendly questions */
.commune-page .commune-service > h2,
.commune-page .commune-question > h2,
.commune-page .commune-infos > h2 { margin-bottom: 1.25rem; }
.commune-service-h3 { margin: 1.5rem 0 0.75rem; font-family: var(--police-titre); font-size: 1.15rem; font-weight: 700; }
.commune-service > .commune-service-h3:first-of-type { margin-top: 0; }
.commune-service-plus { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: flex-end; margin: 1.5rem 0 0; }
.commune-service-intro { margin: -0.5rem 0 1.25rem; font-size: 1.1rem; max-width: 60ch; }
.commune-service-note { margin: 1.25rem 0 0; color: var(--granit); }
.commune-service .com-breizh-cartes { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.commune-service .com-breizh-carte h3 a { color: inherit; }
.commune-service .com-breizh-cc-credit { display: block; margin-top: auto; padding-top: 0.5rem; font-size: 0.75rem; color: var(--granit); }

/* Markets: name, place, days */
.commune-marches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0.6rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.commune-marches li { padding: 0.75rem 0; border-top: 1px solid var(--ligne); }
.commune-marches a { font-weight: 700; color: var(--noir-goemon); }
.commune-marches-lieu { color: var(--granit); font-size: 0.9rem; }
.commune-marches-jours { display: block; margin-top: 0.15rem; font-size: 0.9rem; color: var(--bleu-glaz-fonce); }

/* Business category tiles */
.commune-tuiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 0.75rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.commune-tuiles a { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; min-height: 44px; padding: 1rem 1.15rem; border-radius: var(--rayon); background: var(--sable); color: var(--noir-goemon); font-weight: 700; text-decoration: none; transition: background-color 200ms ease, color 200ms ease; }
.commune-tuiles a:hover, .commune-tuiles a:focus-visible { background: var(--noir-goemon); color: var(--blanc-ecume); }
.commune-tuile-nb { font-family: var(--police-titre); font-variant-numeric: tabular-nums; font-size: 1.4rem; }

/* Accessory: infos pratiques, quieter */
.commune-infos { padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 16px; background: rgba(232, 221, 200, 0.35); }
.commune-infos h3 { font-size: 1.1rem; }
.commune-infos .commune-corps { margin-top: 0; }
