/* Autour. Road-sign vernacular: commune entry plate, direction chips, enamel street plaque. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url("/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --ground: #F2F4EF;
  --surface: #FFFFFF;
  --ink: #15181C;
  --ink-soft: #4E5660;
  --rule: #D5DAD2;
  --sign-white: #FFFFFF;
  --sign-ink: #15181C;
  --sign-red: #C4122F;
  --plaque: #1D3A8A;
  --plaque-ink: #FFFFFF;
  --link: #1D3A8A;
  --yellow: #F2C230;
  --yellow-ink: #2A2204;
  --warn: #8A4B0F;
  --warn-bg: #FBEFD9;
  --ok: #1E6B45;
  --error: #A3162B;
  --field: #FFFFFF;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", Verdana, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #11151A; --surface: #1A2027; --ink: #ECEFF1; --ink-soft: #A3ADB8; --rule: #2C353F;
    --plaque: #24479F; --link: #9DB7FF; --warn: #F0C27A; --warn-bg: #3A2C12; --ok: #7FD1A6; --error: #FF8A9A; --field: #11151A;
  }
}
:root[data-theme="dark"] {
  --ground: #11151A; --surface: #1A2027; --ink: #ECEFF1; --ink-soft: #A3ADB8; --rule: #2C353F;
  --plaque: #24479F; --link: #9DB7FF; --warn: #F0C27A; --warn-bg: #3A2C12; --ok: #7FD1A6; --error: #FF8A9A; --field: #11151A;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.5; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: 68rem; margin: 0 auto; padding-inline: 1rem; padding-block: 1.25rem 3rem; display: flex; flex-direction: column; gap: 2rem; }

/* Commune entry sign */
.masthead { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
/* The sign is one object: every dimension is in em of its own font-size, so it scales without changing shape. */
.panneau { position: relative; font-size: clamp(2rem, 8.5vw, 3.4rem); background: var(--sign-white); color: var(--sign-ink); border: 0.125em solid var(--sign-red); border-radius: 0.25em; padding: 0.18em 0.46em 0.25em; box-shadow: 0 0 0 0.055em var(--sign-white), 0 0.05em 0.18em rgba(0,0,0,.18); max-width: 100%; text-decoration: none; display: inline-block; font-family: var(--display); line-height: 0.98; text-transform: uppercase; }
.panneau .autour { display: flex; align-items: center; gap: 0.12em; font-weight: 600; font-size: 0.32em; letter-spacing: 0.14em; color: #4E5660; margin-bottom: 0.15em; }
.panneau .autour .de { position: static; width: 2.1em; height: 0.92em; transform: rotate(-4deg); flex: none; }
.panneau .ville { display: block; font-weight: 700; font-size: 1em; letter-spacing: 0.01em; text-wrap: balance; }
.panneau > .de { position: absolute; right: -0.6em; bottom: -0.25em; width: 1.39em; height: 0.61em; transform: rotate(-4deg); }
.edition { margin: 0; color: var(--ink-soft); max-width: 40rem; }
.edition strong { color: var(--ink); }
.jump { font-weight: 700; }
/* Top of the sennecey page (Eric, 2026-10-10): "Mon espace" first thing on the page, and the weekly club and
   association activities one tap away instead of only at the bottom. */
.haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem 1rem; margin-bottom: -1rem; }
.haut a { font-size: 1rem; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 0.35rem 0.9rem; line-height: 1.3; }
.haut-lien { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); }
.haut-espace { background: var(--ink); color: var(--ground); margin-left: auto; }
@media (max-width: 40rem) { .haut-espace { order: -1; margin-left: 0; } .haut { justify-content: flex-start; } }
.haut a:hover { text-decoration: underline; }
@media (max-width: 26rem) { .haut { gap: 0.5rem; } .haut a { padding: 0.3rem 0.7rem; } }
@media (min-width: 60rem) { .jump { display: none; } }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.layout { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 60rem) { .layout { grid-template-columns: minmax(0, 1fr) 23rem; gap: 3rem; } .aside { position: sticky; top: 1rem; } }
.main, .aside { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }

h2.day { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.03em; margin: 0; display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
h2.day .date { font-weight: 600; font-size: 1.1rem; color: var(--ink-soft); letter-spacing: 0.06em; }
.day-block { display: flex; flex-direction: column; gap: 0.9rem; }
.day-block > h2 { border-bottom: 0.2rem solid var(--ink); padding-bottom: 0.35rem; }

.events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.event { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.25rem 0.9rem; padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.event:last-child { border-bottom: none; }
.event .time { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.event .time small { display: block; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.event .body { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.event h3 { margin: 0; font-family: var(--body); font-weight: 700; font-size: 1.15rem; line-height: 1.25; text-wrap: balance; }
.event p { margin: 0; }
.event .where { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center; color: var(--ink-soft); font-size: 0.98rem; }
.event .meta { color: var(--ink-soft); font-size: 0.95rem; }

/* Direction-sign chip: white plate, black border */
.fleche { font-family: var(--display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; background: var(--sign-white); color: var(--sign-ink); border: 2px solid var(--sign-ink); padding: 0.05rem 0.5rem; border-radius: 0.2rem; white-space: nowrap; }
.fleche.ici { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow-ink); }
.pill { font-size: 0.85rem; font-weight: 700; background: var(--warn-bg); color: var(--warn); padding: 0.1rem 0.5rem; border-radius: 99px; align-self: flex-start; }

.soon h2 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.4rem; color: var(--ink-soft); }
.soon .event { grid-template-columns: 4.6rem minmax(0, 1fr); padding-block: 0.75rem; }
.soon .event .time { font-size: 1.1rem; }
.soon .event h3 { font-size: 1.05rem; }

.savoir h2 { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.03em; margin: 0; border-bottom: 0.2rem solid var(--yellow); padding-bottom: 0.35rem; }
.savoir-intro { margin: 0.6rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.notices { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 0 1.5rem; }
.notice { padding-block: 0.9rem; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.notice-head { display: flex; flex-wrap: wrap; gap: 0.35rem 0.6rem; align-items: center; }
.notice .fleche { white-space: normal; }
.notice-when { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: 0.03em; color: var(--ink-soft); }
.notice h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; font-weight: 700; text-wrap: balance; }
.notice p { margin: 0; font-size: 0.98rem; }

h2.partie { font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0.4rem 0 -0.4rem; color: var(--ink-soft); }
.entre-deux { background: var(--warn-bg); color: var(--ink); border-left: 0.3rem solid var(--warn); padding: 0.9rem 1rem; margin: 0; line-height: 1.45; }
.entre-deux strong { display: block; font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.03em; }
.entre-deux a { display: inline-block; margin-top: 0.3rem; font-weight: 700; }
.empty-note { background: var(--surface); border: 1px dashed var(--rule); padding: 0.9rem 1rem; color: var(--ink-soft); margin: 0; }

/* Enamel street plaque */
.plaque { background: var(--plaque); color: var(--plaque-ink); border-radius: 0.5rem; padding: 0.35rem; box-shadow: 0 0.15rem 0.6rem rgba(0,0,0,.2); }
.plaque-inner { border: 2px solid rgba(255,255,255,.85); border-radius: 0.3rem; padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.8rem; }
.plaque h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.03em; text-wrap: balance; }
.plaque p { margin: 0; }
.plaque .fine { font-size: 0.9rem; opacity: 0.92; }
.plaque a { color: #FFFFFF; }

form { display: flex; flex-direction: column; gap: 0.75rem; }
label { font-weight: 700; font-size: 0.95rem; display: flex; flex-direction: column; gap: 0.3rem; }
label .opt { font-weight: 400; opacity: 0.8; }
label .lab { display: block; }
input[type="email"], input[type="text"], select, textarea { font: inherit; color: var(--ink); background: var(--field); border: 2px solid var(--ink); border-radius: 0.3rem; padding: 0.6rem 0.7rem; width: 100%; min-height: 2.9rem; }
.plaque input, .plaque select { border-color: #FFFFFF; background: #FFFFFF; color: #15181C; }
textarea { min-height: 5rem; resize: vertical; }
input[type="file"] { font: inherit; max-width: 100%; }
button { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; border: none; border-radius: 0.3rem; padding: 0.7rem 1.1rem; min-height: 3rem; background: var(--ink); color: var(--ground); }
.plaque button { background: var(--yellow); color: var(--yellow-ink); }
button[disabled] { opacity: 0.6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; font-weight: 700; }
.status.ok { color: var(--ok); } .status.err { color: var(--error); }
.plaque .status.ok, .plaque .status.err { color: #FFFFFF; background: rgba(0,0,0,.25); padding: 0.5rem 0.7rem; border-radius: 0.3rem; }

.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 0.5rem; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.8rem; }
.card h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.03em; text-wrap: balance; }
.card p { margin: 0; }
.wa { display: inline-flex; align-self: flex-start; font-weight: 700; }

.prose { max-width: 42rem; display: flex; flex-direction: column; gap: 1rem; }
.prose h1 { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1.05; text-transform: uppercase; margin: 0; text-wrap: balance; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.03em; margin: 0.8rem 0 0; }
.prose p, .prose ul { margin: 0; }
.prose li + li { margin-top: 0.35rem; }

footer.site { border-top: 3px solid var(--ink); padding-top: 1.5rem; color: var(--ink-soft); font-size: 0.93rem; display: flex; flex-direction: column; gap: 0.4rem; }
footer.site p { margin: 0; max-width: 46rem; }
.pied-haut { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.pied-logo img { display: block; width: 165px; height: auto; }
.pied-eric { display: flex; align-items: center; gap: 0.8rem; max-width: 30rem; color: var(--ink); }
.pied-eric img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.pied-icones { list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pied-icones a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); color: var(--ink); font-weight: 700; text-decoration: none; }
.pied-icones a:hover span { text-decoration: underline; }
.pied-icones a[href^="https://wa.me"] svg { color: #25D366; }
.pied-pro { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 0.6rem; padding: 0.9rem 1.2rem; border-radius: 0.8rem; background: var(--ink); color: var(--ground); text-decoration: none; max-width: 34rem; }
.pied-pro strong { font: 700 1.35rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.pied-pro strong::after { content: " →"; }
.pied-pro span { font-size: 0.95rem; opacity: 0.9; }
.pied-pro:hover strong { text-decoration: underline; }
.pied-legal { font-size: 0.85rem; }
.pied-numero { font-size: 0.85rem; margin-top: 0.4rem !important; }

@media (max-width: 26rem) { .event { grid-template-columns: 3.9rem minmax(0, 1fr); } .event .time { font-size: 1.2rem; } }
@media (prefers-reduced-motion: no-preference) { button { transition: transform .08s ease; } button:active { transform: translateY(1px); } }
@media print { .aside, footer.site a, .pied-icones, .pied-eric img, .haut { display: none; } body { background: #fff; } }

.chks { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.25rem 0.8rem; }
.chk { font-weight: 400; flex-direction: row; align-items: center; gap: 0.4rem; }
fieldset { border: 1px solid var(--rule); border-radius: 0.3rem; padding: 0.6rem 0.8rem; margin: 0; }
.plaque fieldset { border-color: rgba(255,255,255,.7); }
legend { font-weight: 700; font-size: 0.95rem; padding: 0 0.3rem; }
.row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: end; }
.row > label { flex: 1 1 10rem; }
.svcs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.svc { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; border-bottom: 1px solid var(--rule); padding-bottom: 0.6rem; }
.svc button { font-size: 0.95rem; min-height: 2.2rem; padding: 0.3rem 0.7rem; }
button.danger { background: var(--error); color: #fff; }
.prose .card { margin: 0; }

.kicker { margin: 0 0 -0.3rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.panneau-seul { font-size: clamp(2.6rem, 10vw, 4.2rem); margin-right: 0.6em; }
.annonce { display: inline-block; vertical-align: 0.15em; margin-right: 0.45rem; font: 700 0.68rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--ink-soft); border-radius: 3px; padding: 0.2rem 0.35rem 0.15rem; }
.prose .small { font-size: 0.9rem; color: var(--ink-soft); }
.boutons { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.bouton { display: inline-block; font: 700 1rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; background: var(--plaque); color: var(--plaque-ink); border-radius: 4px; padding: 0.7rem 1rem; }
.bouton.secondaire { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: calc(0.7rem - 2px) calc(1rem - 2px); }
.exemple { list-style: none; padding: 0.4rem 0.8rem; margin: 0.5rem 0; border: 1px dashed var(--rule); border-radius: 6px; background: var(--surface); }
.event h3 a.titre { color: inherit; text-decoration: none; }
.event h3 a.titre:hover { text-decoration: underline; }
.sortie .kicker { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.3rem; }
.sortie .quand { font-size: 1.1rem; }
.sortie .boutons { margin: 1.2rem 0; }
.autres { padding-left: 1.1rem; }
.autres span { color: var(--ink-soft); font-size: 0.9rem; }
.appli { margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid rgba(255,255,255,0.35); display: flex; flex-direction: column; gap: 0.5rem; }
.appli-titre { margin: 0; font: 700 0.95rem/1.2 var(--display); letter-spacing: 0.05em; text-transform: uppercase; }
.appli button { width: 100%; }
.semaine { margin: 1.2rem 0 0.5rem; }
.semaine h2 { font: 700 1.3rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 3px solid var(--ink); padding-bottom: 0.3rem; margin: 0 0 0.5rem; }
.semaine dl { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.35rem 0.8rem; margin: 0; }
.semaine dt { font: 700 1rem/1.4 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.semaine dd { margin: 0; line-height: 1.4; }
.semaine .slot { display: block; }
.semaine small { color: var(--ink-soft); }

/* Appels aux habitants (2026-10-01). */
.appels { margin: 1.6rem 0 0.5rem; }
.appels h2 { font: 700 1.7rem/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.03em; margin: 0; border-bottom: 0.2rem solid var(--ink); padding-bottom: 0.35rem; }
.appels ul { list-style: none; margin: 0; padding: 0; }
.appels li { padding-block: 0.9rem; border-bottom: 1px solid var(--rule); }
.appels h3 { margin: 0 0 0.3rem; font-size: 1.1rem; line-height: 1.25; }
.appels p { margin: 0; }
.appels .appel-contact { margin-top: 0.4rem; font-weight: 600; }

/* Cours et activités, chaque semaine (2026-10-02). */
.lien-activites { margin: 0.9rem 0 0; font-weight: 700; }
.lien-activites a { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 0.35rem 0.9rem; text-decoration: none; color: var(--ink); background: var(--surface); }
.act-intro { color: var(--ink-soft); }
.act-filtres { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; margin: 1rem 0 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font: 600 0.95rem var(--display); letter-spacing: 0.03em; text-transform: uppercase; border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 0.2rem 0.75rem; cursor: pointer; }
.chip.on { background: var(--ink); color: var(--paper, #fff); }
.act-filtres select { font: inherit; padding: 0.2rem 0.4rem; }
.act-age { margin-top: 0.4rem; }
.act-age .lab { font: 700 0.95rem var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.act-age input { font: inherit; width: 4rem; padding: 0.2rem 0.4rem; }
.act-age-note { color: var(--ink-soft); font-size: 0.9rem; margin: 0.2rem 0 0; }
.age-np { display: none; font-style: italic; }
.age-on .age-np { display: inline; }
.act-day h2 { font: 700 1.5rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; border-bottom: 3px solid var(--ink); padding-bottom: 0.3rem; margin: 1.6rem 0 0; }
.act-day ul { list-style: none; margin: 0; padding: 0; }
.act { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 0.8rem; padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
.act[hidden], .act-day[hidden] { display: none; }
.act-time { font: 700 1.15rem/1.1 var(--display); }
.act-time small { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.act h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.act p { margin: 0.2rem 0 0; }
.act-org { font-weight: 600; }
.act-where, .act-meta { color: var(--ink-soft); font-size: 0.95rem; }
.act-contact { font-size: 0.95rem; }
.act > div { min-width: 0; }
.act-contact, .act-where, .act-meta, .act h3, .act-org { overflow-wrap: anywhere; }
.prose { min-width: 0; }
/* Paid annonces (Eric, 2026-10-08): a light box in the plaque's colour, still tagged "Annonce"; "À réserver" opens the website page and holds paid
   Monday-to-Thursday events in the two issues before them (lib/annonces.mjs). */
.event.paye { background: color-mix(in srgb, var(--plaque) 9%, transparent); border: 1px solid color-mix(in srgb, var(--plaque) 35%, transparent); border-radius: 0.45rem; padding-inline: 0.7rem; margin-block: 0.4rem; }
.soon.reserver { margin-bottom: 0.5rem; }
.reserver-intro { margin: 0 0 0.3rem; color: var(--ink-soft); font-size: 0.95rem; }
/* An advertiser's Instagram or Facebook post, loaded on click (lib/social.mjs). */
.publication { margin: 1rem 0; }
.publication iframe { display: block; width: 100%; max-width: 540px; height: 760px; border: 1px solid var(--rule); border-radius: 0.45rem; background: #fff; }

/* Eric's local introduction, alongside the existing newsletter card. */
.founder img{display:block;width:100px;height:100px;object-fit:cover;border-radius:50%;margin-bottom:1rem}
.founder-portrait{float:right;max-width:38%;height:auto;border-radius:1rem;margin:0 0 1rem 1.5rem}
@media(max-width:480px){.founder-portrait{float:none;display:block;max-width:180px;margin:0 0 1rem}}

.panneau h1.ville{margin:0;font-weight:inherit}

/* Advertiser photo at the top of their page, and an Instagram/Facebook post shown first as its own picture. */
.photo-organisateur { margin: 0 0 1rem; }
.photo-organisateur img { display: block; width: 100%; max-height: 22rem; object-fit: cover; border-radius: 1rem; }
.publication.avec-image .apercu { position: relative; display: block; width: 100%; max-width: 30rem; padding: 0; border: 0; background: none; cursor: pointer; }
.publication.avec-image .apercu img { display: block; width: 100%; height: auto; border-radius: 1rem; }
/* Under the picture, not over it: posters put the date and time at the bottom (Eric, 2026-10-09). */
.publication.avec-image .apercu .bouton { display: inline-block; margin-top: 0.6rem; white-space: nowrap; }
.photo-page { display: block; max-width: 100%; max-height: 14rem; border-radius: 0.6rem; margin-bottom: 0.8rem; }


/* Advertiser space: four tabs instead of one long page */
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; border-bottom: 2px solid var(--rule); padding-bottom: 0.4rem; margin-bottom: 0.2rem; }
.tabs button { background: transparent; color: var(--ink); border: 2px solid var(--rule); min-height: 2.4rem; padding: 0.3rem 0.9rem; font-weight: 700; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.tab-panel { display: flex; flex-direction: column; gap: 1rem; }
.tab-panel[hidden] { display: none; }
.annuaire { margin-top: 2.5rem; }
.annuaire > h2 { margin-bottom: .4rem; }
.svc-filtres input[type=search] { font: inherit; padding: 0.45rem 0.7rem; border: 2px solid var(--ink); border-radius: 0.4rem; width: 100%; max-width: 26rem; }
.semblables { list-style: none; padding: 0; }
.semblables li { margin: 0 0 0.8rem; }

/* Poster form (2026-10-10): camera and library buttons, up to six thumbnails. */
.photos-affiche { border: 0; padding: 0; margin: 0 0 0.8rem; min-width: 0; }
.photos-affiche legend { padding: 0; margin-bottom: 0.4rem; }
.photo-boutons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.photo-boutons .bouton { cursor: pointer; }
.hors-ecran { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.vignettes { list-style: none; padding: 0; margin: 0 0 0.5rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.vignettes:empty { display: none; }
.vignettes li { position: relative; }
.vignettes img { display: block; width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: 0.4rem; border: 1px solid var(--rule); }
.vignettes .retirer { position: absolute; top: -0.4rem; right: -0.4rem; width: 1.6rem; height: 1.6rem; padding: 0; border-radius: 50%; line-height: 1; font-size: 1.1rem; background: var(--ink, #222); color: #fff; border: 2px solid #fff; cursor: pointer; }

/* Organizer accounts (2026-10-10): posters residents sent that match the account. */
.suggs { list-style: none; padding: 0; margin: 0; }
.sugg { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.6rem 0; border-top: 1px solid var(--rule); }
.sugg img { width: 5rem; height: auto; border-radius: 0.4rem; flex: none; }
.sugg p { margin: 0 0 0.5rem; }
.sugg button { margin: 0.3rem 0.4rem 0 0; }
.porte-orga { margin-top: 2rem; padding: 1rem; border: 1px solid var(--rule); border-radius: 0.6rem; }
/* A special edition running alongside the weekly (2026-10-14, Halloween): one link at the top of the page, issue.special. */
/* Special edition band at the top of the page (Eric, 2026-10-15), in the special's colours with its drawing and print button. */
.special-bande { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0 0 1rem; padding: 0.8rem 1rem; border-radius: 10px; background: var(--special, #3B1F4E); color: #fff; }
.special-bande img { width: 56px; height: 56px; flex: none; }
.special-texte { flex: 1 1 16rem; color: #fff; text-decoration: none; line-height: 1.35; }
.special-texte strong { display: block; font-family: var(--display, "Barlow Condensed", Arial, sans-serif); font-size: 1.35em; text-transform: uppercase; letter-spacing: .03em; color: var(--special-accent, #fff); }
.special-texte:hover span { text-decoration: underline; }
.special-boutons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.special-boutons a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 0.4rem 0.95rem; line-height: 1.3; }
.special-voir { background: var(--special-accent, #fff); color: var(--special, #3B1F4E); }
.special-imprimer { border: 2px solid #fff; color: #fff; }
.special-boutons a:hover, .special-boutons a:focus { text-decoration: underline; }
.special-boutons svg { width: 1.1em; height: 1.1em; }
.masthead-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0; }
.imprimer-haut { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 0.4rem 0.95rem; background: var(--ink); color: var(--ground); }
.imprimer-haut svg { width: 1.15em; height: 1.15em; }
.imprimer-haut:hover, .imprimer-haut:focus { text-decoration: underline; }
@media print { .special-bande, .imprimer-haut { display: none; } }
@media (max-width: 40rem) { .special-bande img { width: 44px; height: 44px; } .special-texte { flex: 1 1 0; min-width: 0; } .special-texte strong { font-size: 1.15em; } }

/* Newspaper look (Eric, 2026-10-21): the issue's drawing beside the town sign, and "À la une" at the top of the page:
   the free highlight, the big local event chosen by Autour and never sold, and any paid one, labelled. */
@font-face { font-family: "Source Serif 4"; font-weight: 700; font-display: swap; src: url("/fonts/source-serif-4-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
.masthead:has(> .vignette) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.9rem 1rem; }
.masthead:has(> .vignette) > * { grid-column: 1 / -1; }
.masthead:has(> .vignette) > .panneau { grid-column: 1; grid-row: 1; justify-self: start; }
.masthead > .vignette { grid-column: 2 !important; grid-row: 1; margin: 0; border: 2px solid var(--ink); background: #fff; padding: 6px 8px 4px; text-align: center; }
.vignette img { display: block; width: 120px; height: 90px; object-fit: contain; margin: 0 auto; }
.vignette figcaption { font: 700 0.8rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.05em; color: #15181C; margin-top: 4px; }
.une { --une: #3B1F4E; --une-ink: #fff; --une-tint: #F3EEF5; }
.une-titre { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.7rem; font: 700 1.9rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.05em; }
.une-titre::after { content: ""; flex: 1; border-top: 3px solid var(--ink); }
.une-grille { display: grid; gap: 1rem; }
.une.avec-payee .une-grille { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.une-libre { background: var(--une-tint); color: #15181C; border-top: 6px solid var(--une); padding: 1rem 1.1rem 1.1rem; }
.une-libre a { color: #15181C; }
.puce { display: inline-block; background: var(--une); color: var(--une-ink); font: 700 0.85rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.5rem; }
.une-libre h3 { margin: 0.6rem 0 0.4rem; font: 700 clamp(1.8rem, 5vw, 2.5rem)/1.05 "Source Serif 4", Georgia, serif; }
.une-libre h3 a { text-decoration: none; }
.une-libre h3 a:hover { text-decoration: underline; }
.chapo { margin: 0; font: italic 400 1.15rem/1.45 "Source Serif 4", Georgia, serif; max-width: 42rem; }
.quand { margin: 0.7rem 0 0; padding: 0.45rem 0; border-top: 1px solid #15181C; border-bottom: 1px solid #15181C; font: 700 1.05rem/1.35 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.une-suite { margin: 0.6rem 0 0; font-weight: 600; }
.une-payee { border: 3px solid #15181C; background: #FDF3CF; color: #15181C; box-shadow: 5px 5px 0 var(--yellow); }
.une-payee a { color: #15181C; }
.une-payee .bandeau { display: flex; justify-content: space-between; margin: 0; background: #15181C; color: var(--yellow); font: 700 0.85rem var(--display); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.6rem; }
.une-payee > div { padding: 0.8rem; }
.une-payee .qui { margin: 0; font: 700 0.9rem var(--display); text-transform: uppercase; color: #4E5660; }
.une-payee h3 { margin: 0.2rem 0 0.5rem; font: 700 1.25rem/1.15 "Source Serif 4", Georgia, serif; }
.une-payee .date { display: inline-block; margin: 0; background: var(--sign-red); color: #fff; font: 700 0.95rem var(--display); text-transform: uppercase; padding: 0.1rem 0.5rem; }
h3 .une-mark { display: inline-block; vertical-align: 0.15em; margin-left: 0.35rem; background: #3B1F4E; color: #fff; font: 700 0.72rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.35rem; text-decoration: none; }
@media (max-width: 40rem) {
  .vignette img { width: 76px; height: 60px; }
  .vignette figcaption { font-size: 0.68rem; max-width: 76px; margin-inline: auto; }
  .masthead > .vignette { padding: 4px 5px 3px; }
  .une.avec-payee .une-grille { grid-template-columns: 1fr; }
}
@media print { .une-mark { display: none; } }
