/* Quartiers Aix.fr : grille 2/3–1/3, cartes blanches, noir, crème et sable.
   Règles limitées à /montreal/ et aux guides d’arrondissement. */
.borough-page,.borough-hub{--borough-line:#e5e7eb;--borough-cream:#f6f5f0;--borough-sand:#e8e5d9;color:#0f172a}
.borough-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;align-items:start;margin-top:14px}
.borough-layout>*{min-width:0}
.borough-article{background:#fff;border:1px solid var(--borough-line);border-radius:16px;padding:20px 22px}
.borough-heading .kicker{color:#475569;margin:0 0 10px;font-size:.78rem}
.borough-heading .page-title{color:#111;font-size:clamp(28px,4.2vw,42px);line-height:1.12;margin:8px 0 16px;font-weight:900;text-align:center;overflow-wrap:anywhere;letter-spacing:-.025em}
.borough-tagline{font-size:1.05rem;line-height:1.6;color:#374151;font-weight:650;text-align:center;margin:0 0 18px}
.borough-intro{font-size:1.05rem;line-height:1.7;color:#334155;margin:0 0 20px}
.borough-main-map{margin:16px 0;border:1px solid var(--borough-line);border-radius:16px;overflow:hidden;background:#e3dac1;box-shadow:0 10px 24px #00000014;scroll-margin-top:100px}
.borough-main-map img{display:block;width:100%;height:auto;object-fit:contain}
.borough-main-map figcaption{padding:11px 14px;font-size:.87rem;line-height:1.6;color:#475569;background:#fff;border-top:1px solid var(--borough-line)}
.borough-main-map figcaption strong{color:#111}
.borough-main-map figcaption a{text-decoration:underline;text-underline-offset:3px}
.borough-page .anchor-nav,.borough-hub .anchor-nav{border:0;padding:0;margin:22px 0;gap:9px}
.borough-page .anchor-nav a,.borough-hub .anchor-nav a{background:#fff;color:#111;border:1px solid #d8d8d8;padding:9px 13px}
.borough-section{padding:24px 0;scroll-margin-top:100px;border-bottom:1px solid var(--borough-line)}
.borough-section:last-child{border:0;padding-bottom:8px}
.borough-section h2,.borough-hub h2,.borough-next h2{color:#111;font-size:1.35rem;line-height:1.35;margin:0 0 14px;letter-spacing:0}
.borough-section h3{color:#111;font-size:1.04rem;line-height:1.4;margin:0 0 10px}
.borough-section p{line-height:1.72;color:#334155;margin:0 0 14px}
.borough-section>p:last-child{margin-bottom:0}
.borough-section .eyebrow{font-size:.7rem;letter-spacing:.07em;color:#64748b;margin:0 0 8px}
.borough-byline{font-size:.8rem;line-height:1.7;color:#64748b;margin:0 0 18px}
.borough-byline a{text-decoration:underline;text-underline-offset:3px}
.borough-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:var(--borough-cream);border:1px solid var(--borough-line);border-radius:16px;padding:16px;margin:22px 0}
.borough-summary>div{background:#fff;border:1px solid var(--borough-line);border-radius:12px;padding:16px}
.borough-summary .eyebrow{font-size:.91rem;font-weight:750;letter-spacing:0;text-transform:none;color:#111;margin:0 0 12px}
.borough-summary ul{padding-left:18px;margin:0}
.borough-summary li{font-size:.92rem;color:#334155;line-height:1.65;margin:8px 0}
.borough-section-intro{font-size:.94rem}
.borough-sector{padding:17px 0;border-bottom:1px solid var(--borough-line)}
.borough-sector:last-child{border:0;padding-bottom:0}
.borough-sector p{font-size:.96rem;margin:0}
.borough-highlights{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.borough-highlight{display:flex;flex-direction:column;align-items:flex-start;padding:18px;background:var(--borough-cream);border:1px solid var(--borough-line);border-radius:12px}
.borough-highlight p{font-size:.93rem;margin:0 0 16px}
.borough-source-link{font-size:.85rem;font-weight:650;text-decoration:underline;text-underline-offset:4px;margin-top:auto;color:#111}
.borough-section#balade{background:var(--borough-cream);border:1px solid var(--borough-line);border-radius:16px;padding:22px;margin:22px 0}
.borough-walk{list-style:none;padding:0;margin:20px 0}
.borough-walk li{padding:0 0 18px 19px;border-left:2px solid #cbbd79;margin:0}
.borough-walk li:last-child{padding-bottom:0}
.borough-walk h3{font-size:1rem}
.borough-walk p{font-size:.94rem;margin:0}
.borough-walk-note{border-top:1px solid #ddd8c9;padding-top:16px;font-size:.85rem}
.borough-family{background:var(--borough-cream);border-left:4px solid #cbbd79;border-radius:0 10px 10px 0;padding:18px 20px;margin-top:22px}
.borough-family p{font-size:.94rem;margin:0}
.borough-mobility{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}
.borough-mobility>div{padding:15px;border:1px solid var(--borough-line);border-radius:12px;background:#fff}
.borough-mobility h3{font-size:.96rem}
.borough-mobility p{font-size:.88rem;line-height:1.65;margin:0}
.borough-inline-links{font-size:.87rem;margin-top:20px!important}
.borough-inline-links a{text-decoration:underline;text-underline-offset:4px}
.borough-checks{padding-left:22px;margin:18px 0}
.borough-checks li{padding:9px 0;color:#334155;line-height:1.7;font-size:.94rem}
.borough-aside-sticky{position:sticky;top:88px;display:flex;flex-direction:column;gap:14px}
.borough-toc,.borough-aside-note{background:#fff;border:1px solid var(--borough-line);border-radius:16px;padding:18px 20px}
.borough-toc h2,.borough-aside-note h2{color:#111;font-size:1.16rem;line-height:1.35;margin:0 0 12px}
.borough-toc ul{list-style:none;padding:0;margin:0}
.borough-toc li{border-bottom:1px solid #eef2f7}
.borough-toc li:last-child{border:0}
.borough-toc a{display:block;color:#111;font-size:.9rem;line-height:1.5;padding:9px 0}
.borough-toc a:hover{text-decoration:underline;text-underline-offset:3px}
.borough-aside-note p{color:#475569;font-size:.93rem;line-height:1.65;margin:0 0 15px}
.borough-facts{margin:0}
.borough-facts>div{padding:12px 0;border-bottom:1px dashed #e5e7eb}
.borough-facts>div:last-child{border:0}
.borough-facts dt{font-size:.88rem;font-weight:750;color:#111}
.borough-facts dd{font-size:.92rem;color:#475569;margin:4px 0 0;line-height:1.6}
.borough-side-photo{margin:0;border:1px solid var(--borough-line);border-radius:16px;overflow:hidden;background:#fff}
.borough-side-photo img{width:100%;height:auto;max-height:330px;object-fit:cover}
.borough-side-photo figcaption{padding:12px 16px;font-size:.76rem;line-height:1.65;color:#64748b}
.borough-side-photo figcaption a{text-decoration:underline;text-underline-offset:2px}
.borough-overview-map{display:block;margin:0 -4px 15px}
.borough-overview-map img{width:100%;height:auto;border:1px solid var(--borough-line);border-radius:10px}
.borough-sources{padding:0;margin:20px 0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.borough-sources li{padding:15px;border:1px solid var(--borough-line);border-radius:12px;font-size:.88rem}
.borough-sources a{font-weight:650;text-decoration:underline;text-underline-offset:3px;color:#111;overflow-wrap:anywhere}
.borough-sources span{display:block;font-size:.83rem;margin-top:7px;color:#64748b;line-height:1.65}
.borough-map-credit{font-size:.79rem!important;color:#64748b!important;line-height:1.65!important}
.borough-map-credit a{text-decoration:underline;text-underline-offset:3px}
.borough-next{margin-top:24px;padding:22px;background:#fff;border:1px solid var(--borough-line);border-radius:16px}
.borough-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.borough-related>a{display:flex;flex-direction:column;background:#fff;border:1px solid var(--borough-line);border-radius:14px;overflow:hidden}
.borough-related>a>img{width:100%;height:auto}
.borough-related>a>div{padding:18px;display:flex;flex:1;flex-direction:column}
.borough-related h3{font-size:1.15rem;color:#111;margin:0 0 10px;line-height:1.35;overflow-wrap:anywhere}
.borough-related p{font-size:.92rem;color:#475569;margin:0 0 15px}
.borough-related span{font-size:.85rem;font-weight:700;margin-top:auto;color:#111}
.borough-hub-explainer{background:var(--borough-cream);border-left:4px solid #111;border-radius:8px;padding:17px 20px;margin:20px 0 26px}
.borough-hub-explainer p{font-size:.95rem;line-height:1.7;margin:0;color:#334155}
.borough-hub-explainer strong{color:#111}
.borough-index{padding:0;scroll-margin-top:100px}
.borough-index .section-head{margin-bottom:16px}
.borough-index .section-head .eyebrow{display:none}
.borough-index .section-head p{font-size:.95rem;color:#475569}
.borough-filters{padding:16px;border:1px solid var(--borough-line);border-radius:12px;background:var(--borough-cream)}
.borough-filters label{font-size:.84rem;font-weight:700;color:#111}
.borough-filters .search-field{max-width:none;background:#fff;margin:7px 0 14px}
.borough-filters .filter-bar{margin:0;gap:7px}
.borough-filters .filter-bar button{font-size:.79rem;min-height:40px}
.borough-filters .filter-bar button[aria-pressed=true]{background:#111;color:#fff;border-color:#111}
.borough-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}
.borough-card{background:#fff;border:1px solid var(--borough-line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .15s,box-shadow .15s}
.borough-card:hover{opacity:1;border-color:#baa66b;box-shadow:0 8px 22px #00000012}
.borough-card-image{background:#e3dac1}
.borough-card-image img{width:100%;height:auto;aspect-ratio:1000/630;object-fit:contain}
.borough-card-body{padding:18px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.borough-card h3{color:#111;font-size:1.15rem;line-height:1.35;margin:0 0 10px;overflow-wrap:anywhere}
.borough-card p{font-size:.93rem;line-height:1.65;color:#475569;margin:0 0 18px}
.borough-card-cta{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:auto;padding-top:12px;border-top:1px solid var(--borough-line);font-size:.83rem;font-weight:700;color:#111}
.borough-card-cta b{font-size:1.1rem}
.borough-hub-map{margin:30px 0;padding:22px 0;border-top:1px solid var(--borough-line);border-bottom:1px solid var(--borough-line);scroll-margin-top:100px}
.borough-hub-map>p{font-size:.95rem;line-height:1.7;color:#475569}
.borough-map-interactive{margin:18px 0;border:1px solid var(--borough-line);border-radius:16px;overflow:hidden;background:#e3dac1}
.borough-map-interactive svg{display:block;width:100%;height:auto}
.borough-hub-faq{padding:0 0 10px;scroll-margin-top:100px}
.borough-page .faq summary,.borough-hub .faq summary{color:#111;background:#f9f9f7}
.borough-page .faq details[open] summary,.borough-hub .faq details[open] summary{background:var(--borough-cream)}
@media(max-width:1200px){.borough-mobility{grid-template-columns:1fr}.borough-mobility p{font-size:.93rem}.borough-summary{grid-template-columns:1fr}.borough-highlights{grid-template-columns:1fr}}
@media(max-width:980px){.borough-layout{grid-template-columns:1fr}.borough-aside-sticky{position:static;display:grid;grid-template-columns:1fr 1fr;align-items:start}.borough-summary,.borough-highlights{grid-template-columns:1fr 1fr}.borough-main-map{max-width:850px;margin-left:auto;margin-right:auto}.borough-heading .page-title{font-size:clamp(28px,5vw,42px)}}
@media(max-width:620px){.borough-article{padding:18px 16px}.borough-heading .page-title{font-size:1.9rem;line-height:1.2}.borough-tagline,.borough-intro{font-size:1rem}.borough-main-map{border-radius:12px}.borough-main-map figcaption{font-size:.8rem;padding:10px 12px}.borough-section{padding:24px 0}.borough-section h2,.borough-hub h2,.borough-next h2{font-size:1.25rem}.borough-section p{font-size:.95rem}.borough-summary,.borough-highlights,.borough-sources,.borough-related,.borough-aside-sticky,.borough-cards{grid-template-columns:1fr}.borough-summary{padding:12px;gap:12px}.borough-summary>div{padding:15px}.borough-section#balade{padding:18px}.borough-family{padding:17px}.borough-toc,.borough-aside-note{padding:18px}.borough-next{padding:18px 16px;margin-top:18px}.borough-card-body{padding:18px}.borough-card h3{font-size:1.2rem}.borough-hub-explainer{padding:16px}.borough-filters{padding:14px}.borough-hub-map{padding-top:22px}.borough-page .anchor-nav a,.borough-hub .anchor-nav a{font-size:.79rem;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.borough-card{transition:none}}
@media print{.borough-aside,.borough-next,.borough-page .anchor-nav{display:none}.borough-layout{display:block}.borough-article{border:0;padding:0}.borough-main-map{max-width:600px}.borough-section{break-inside:avoid}}
