/* Search engines (spec docs/specs/seo-pages.md): the « about » block of the
   app pages (api/_seo.js aboutBlock, in the HTML itself) and the city pages
   « Massage de dernière minute à Paris » (api/_seo.js renderCityPage).
   Brand colours from the end of styles.css (--z-*). */

/* ── « About » block: quiet, at the end of the page or of the map's list ── */
.seo-about {
  margin-top: 8px;
  padding: 16px 16px 6px;
  border-radius: 14px;
  background: var(--z-cream, #f7f5f0);
  color: var(--z-ink, #2e3235);
  font-size: 14px;
  line-height: 1.5;
}
#sidebar .seo-about h1,
.seo-about h1, .seo-about h2 {
  display: block;
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--z-ink, #2e3235);
}
.seo-about h2, .seo-about h3 { margin: 14px 0 8px; font-size: 15px; color: var(--z-ink, #2e3235); }
.seo-about p { margin: 0 0 8px; color: #4a4f52; }
.seo-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.seo-city-h { margin: 0 0 4px !important; font-weight: 700; }
.seo-about ul { list-style: none; margin: 0 0 10px; padding: 0; }
.seo-about li { margin: 2px 0; }
.seo-about a { color: var(--z-green, #3f5e4f); text-decoration: none; }
.seo-about a:hover, .seo-about a:focus-visible { text-decoration: underline; }
.seo-city-h a { color: var(--z-ink, #2e3235); }

/* In the app (tabbar.js sets html.has-tabbar, i.e. JS ran) members don't see
   the block: it stays in the served HTML for search engines and shows
   without JS (owner 2026-10-15: « il faut le retirer » from the Offres list). */
html.has-tabbar .seo-about { display: none; }

/* ── City pages ── */
.seo-page { margin: 0; background: var(--z-cream, #f7f5f0); color: var(--z-ink, #2e3235); }
.seo-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 720px; margin: 0 auto; padding: 14px 18px;
}
.seo-brand { font-size: 22px; font-weight: 800; letter-spacing: 0.16em; color: var(--z-ink, #2e3235); text-decoration: none; }
.seo-lang { font-size: 14px; color: var(--z-green, #3f5e4f); }
.seo-main { max-width: 720px; margin: 0 auto; padding: 4px 18px 24px; font-size: 16px; line-height: 1.6; }
.seo-main h1 { font-size: 28px; line-height: 1.2; margin: 6px 0 14px; }
.seo-main h2 { font-size: 18px; margin: 0 0 10px; }
.seo-main p { margin: 0 0 12px; color: #3d4245; }
.seo-crumbs { font-size: 13px; color: #5f6467; }
.seo-crumbs a { color: #5f6467; }
.seo-cta {
  display: inline-block; margin: 6px 0 4px; padding: 12px 18px; border-radius: 24px;
  background: var(--z-green, #3f5e4f); color: #fff; font-weight: 700; text-decoration: none;
}
.seo-box { margin-top: 18px; padding: 16px; border-radius: 14px; background: #fff; }
.seo-box h2 + ul + h2 { margin-top: 16px; }
.seo-slots, .seo-links, .seo-how { margin: 0; padding: 0; }
.seo-slots { list-style: none; }
.seo-slots li + li { border-top: 1px solid #f1f0eb; }
.seo-slots a { display: grid; gap: 2px; padding: 10px 0; color: inherit; text-decoration: none; }
.seo-slot-when { font-weight: 700; }
.seo-slot-when::first-letter { text-transform: uppercase; }
.seo-slot-what { font-size: 14px; color: #5f6467; }
.seo-slot-price s { color: #5f6467; }
.seo-slot-price b { color: var(--z-green, #3f5e4f); }
.seo-slot-off { font-size: 13px; font-weight: 700; color: #7a6230; }
.seo-empty { color: #4a4f52; }
.seo-how { padding-left: 20px; }
.seo-how li { margin: 4px 0; }
.seo-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-links a {
  display: inline-block; padding: 8px 12px; border-radius: 18px; border: 1px solid #e6e3da;
  background: #fff; color: var(--z-green, #3f5e4f); font-size: 14px; text-decoration: none;
}
.seo-page .site-footer { max-width: 720px; margin: 8px auto 24px; padding: 12px 18px 0; }
