/* Engendré depuis themes/mainstream/directory.css par bin/make-theme.php. Ne pas modifier ici. */
.geo-hub-page .hero h1 { font-size:clamp(32px,3.8vw,46px); }
.geo-hub-page .hero .eyebrow { margin-bottom:10px; }
.geo-hub-page .hero .hero-lede { margin-block:12px 16px; }
.geo-hub-page .profiles-section { padding-bottom:0; }
.department-discovery { display:grid; gap:18px; padding:18px; border:1px solid #f8eef0; border-radius:12px; background:#fffcfa; }
.department-discovery.has-siblings { grid-template-columns:minmax(0,2fr) minmax(240px,1fr); }
.department-towns>header { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.department-discovery h2 { margin:0; font-size:20px; line-height:1.4; }
.department-discovery h2 span { font-weight:400; }
.department-count { display:grid; place-items:center; min-width:28px; height:28px; border-radius:50%; background:#ffffff; color:#54192b; font-size:13px; }
.geo-hub-page .department-towns>.home-town-links { padding:0; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); }
.department-towns .home-town-links a { min-height:46px; background:#fffcfa; border-color:#f8eef0; border-radius:7px; padding:10px 12px; font-size:14px; }
.department-towns .home-more { margin-top:8px; }
.department-towns .home-more summary { padding-inline:0; }
.department-towns .home-more .home-town-links { padding:0; }
.department-siblings { border-left:1px solid #f8eef0; padding-left:24px; }
.department-siblings ul { list-style:none; padding:0; margin:14px 0 0; display:grid; gap:6px; }
.department-siblings a { display:flex; align-items:center; gap:10px; min-height:46px; padding:10px; border:1px solid #f8eef0; border-radius:7px; background:#fffcfa; font-size:14px; }
.department-siblings a span { flex:1; min-width:0; overflow-wrap:anywhere; }
.department-siblings a b { color:#6a1f37; font-weight:400; }
.department-region-link { grid-column:1/-1; justify-self:start; display:inline-flex; align-items:center; gap:20px; min-height:44px; color:#54192b; font-size:14px; }
.department-navigation a:focus-visible { outline:3px solid #6a1f37; outline-offset:3px; }
@media(max-width:720px) {
  .department-discovery,.department-discovery.has-siblings { grid-template-columns:1fr; padding:18px; gap:20px; }
  .department-siblings { border-left:0; border-top:1px solid #f8eef0; padding:20px 0 0; }
  .department-discovery h2 { font-size:18px; }
  .department-towns>header { flex-wrap:wrap; }
  .geo-hub-page .section { padding-block:24px; }
  .geo-hub-page .home-territories { padding-block:4px; }
  .home-territories>.container { gap:18px; }
  .home-territories-heading { align-items:flex-start; gap:8px; }
  .home-territories-heading .home-territories-title { font-size:23px; line-height:1.2; }
  .home-department-grid { grid-template-columns:1fr; gap:10px; }
  .home-department>header { padding:12px; }
  .home-department h3 { font-size:16px; }
  .home-city-count { font-size:11px; }
  .geo-hub-page .home-town-links { padding:8px; gap:5px; }
  .home-town-links a { min-height:40px; padding:8px; font-size:12px; }
}
.geo-hub-page .section { padding-block:30px; }
.geo-hub-page .department-date-section { padding-block:8px 20px; }
.department-date-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; }
.department-date-city { min-width:0; border:1px solid #f8eef0; border-radius:12px; background:#fffcfa; overflow:hidden; }
.department-date-city>header { padding:20px 22px; background:#fffcfa; border-bottom:1px solid #f8eef0; }
.department-city-link { display:flex; align-items:center; gap:8px; width:fit-content; color:#54192b; font-size:14px; font-weight:700; min-height:36px; }
.department-city-link b { font-weight:400; }
.department-city-link:focus-visible { outline:3px solid #6a1f37; outline-offset:4px; }
.department-date-city h2 { font-size:22px; line-height:1.35; margin:8px 0 0; }
.department-date-place { display:flex; gap:14px; padding:22px; }
.department-date-place+.department-date-place { border-top:1px solid #f8eef0; }
.department-place-icon { flex:0 0 28px; color:#6a1f37; }
.department-place-icon svg { width:28px; height:28px; }
.department-date-place>div:last-child { min-width:0; }
.department-date-place h3 { font-size:17px; line-height:1.4; margin:0 0 10px; }
.department-date-place p { margin:0; font-size:15px; line-height:1.75; overflow-wrap:anywhere; }
@media(max-width:720px) {
  .department-date-grid { grid-template-columns:1fr; gap:18px; }
  .department-date-city>header,.department-date-place { padding:18px; }
  .department-date-city h2 { font-size:21px; }
}
.geo-hub-page .home-territories h2 { font-size:clamp(24px,2.8vw,34px); margin-bottom:22px; }
.geo-hub-page .home-editorial { min-width:0; }
.geo-hub-page .home-editorial h2 { font-size:clamp(23px,2.5vw,30px); margin-bottom:16px; }
.geo-hub-page .home-editorial p { font-size:15px; line-height:1.8; margin:0; max-width:none; }
.geo-hub-page .home-editorial p+p { margin-top:16px; }
.home-reading-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 48px; }
.home-reading-grid>.home-editorial { border-top:2px solid #ddd0d3; padding-top:24px; }
.geo-hub-page :is(.home-city-grid,.home-region-grid,.home-town-links) { margin:0; padding:0; list-style:none; }
.geo-hub-page :is(.home-city-grid,.home-region-grid) { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.geo-hub-page :is(.home-city-grid,.home-region-grid)>li { min-width:0; }
.geo-hub-page :is(.home-city-card,.home-region-grid a) { display:flex; align-items:center; gap:10px; min-width:0; height:100%; padding:14px 15px; border:1px solid #f8eef0; border-radius:8px; background:#fffcfa; text-decoration:none; transition:background-color .15s,border-color .15s; }
.geo-hub-page .home-city-card { min-height:78px; background:linear-gradient(120deg,#ffffff,#fffcfa); }
.geo-hub-page :is(.home-city-card,.home-region-grid a)>span { flex:1; min-width:0; }
.geo-hub-page :is(.home-city-card,.home-region-grid a) strong { display:block; font-size:16px; letter-spacing:-.015em; line-height:1.2; overflow-wrap:anywhere; }
.geo-hub-page :is(.home-city-card,.home-region-grid a) small { display:block; margin-top:3px; color:#51434b; font-size:11px; }
.geo-hub-page :is(.home-city-card,.home-region-grid a)>b { font-size:17px; font-weight:400; color:#6a1f37; }
.geo-hub-page .home-geo-icon { flex:0 0 20px; width:20px; height:20px; color:#6a1f37; }
.geo-hub-page .home-city-card>.home-geo-icon { width:22px; height:22px; flex-basis:22px; }
.geo-hub-page .home-territories { background:#fffcfa; border-block:1px solid #f8eef0; }
.home-territories>.container { display:grid; gap:24px; }
.home-territories-heading { display:flex; align-items:center; gap:10px; margin:0; }
.home-territories-heading .eyebrow { display:grid; place-items:center; margin:0; color:#6a1f37; }
.home-territories-heading .eyebrow svg { width:22px; height:22px; }
.home-territories-heading .home-territories-title { margin:0; font-size:clamp(22px,2.5vw,30px); font-weight:800; line-height:1.2; }
.geo-hub-page .home-region-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); }
.geo-hub-page .home-region-grid a { padding:18px 22px; background:#fffcfa; }
.geo-hub-page .home-region-grid strong { font-size:19px; }
.home-department-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-items:start; }
.home-department { min-width:0; border:1px solid #f8eef0; border-radius:10px; background:#fffcfa; overflow:hidden; }
.home-department>header { display:flex; align-items:center; gap:10px; padding:14px 15px; border-bottom:1px solid #f8eef0; background:#fffcfa; }
.home-department>header>div { flex:1; min-width:0; }
.home-department h3 { margin:0; font-size:17px; }
.home-department h3 a { display:inline-block; padding-block:5px; }
.home-department h3 span { color:#6a1f37; font-size:17px; }
.home-department header small { display:block; font-size:12px; color:#51434b; }
.home-city-count { flex-shrink:0; color:#51434b; font-size:12px; }
.geo-hub-page .home-town-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; padding:10px; }
.home-town-links li { min-width:0; }
.home-town-links a { display:flex; align-items:center; gap:7px; min-height:42px; height:100%; padding:8px 10px; border:1px solid #f8eef0; border-radius:6px; background:#fffcfa; font-size:13px; font-weight:600; }
.home-town-links a>span { flex:1; min-width:0; overflow-wrap:anywhere; }
.home-town-links .home-geo-icon { flex-basis:17px; width:17px; height:17px; }
.home-town-links b { color:#6a1f37; font-weight:400; }
.geo-hub-page .home-more { padding:0; border:0; }
.home-more summary { padding:12px 20px; color:#53192b; font-size:13px; min-height:44px; }
.geo-hub-page .home-ungrouped>.home-town-links { grid-template-columns:repeat(4,minmax(0,1fr)); padding:0; }
@media(hover:hover) { .geo-hub-page :is(.home-city-card,.home-region-grid a,.home-town-links a):hover { border-color:#9c2e50; background:#ffffff; } .home-department h3 a:hover { color:#581a2d; } }
@media(max-width:1100px) { .geo-hub-page :is(.home-city-grid,.home-region-grid) { grid-template-columns:repeat(3,minmax(0,1fr)); } .home-department-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:900px) { .home-department>header { flex-wrap:wrap; } .home-city-count { padding-left:30px; width:100%; } }
@media(max-width:720px) {
  .geo-hub-page .hero { padding-block:20px; }
  .geo-hub-page .home-city-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  /* Editorial text stays in one readable column on phones. */
  .geo-hub-page .home-reading-grid { grid-template-columns:1fr; gap:8px; }
  .geo-hub-page .home-department-grid { grid-template-columns:1fr; gap:10px; }
  .geo-hub-page .home-city-card { padding:12px; min-height:66px; }
  .geo-hub-page .home-city-card strong { font-size:14px; }
  .geo-hub-page .home-city-card small { margin-top:5px; }
  .geo-hub-page .home-town-links { grid-template-columns:repeat(3,minmax(0,1fr)); padding:8px; }
  .geo-hub-page .department-towns>.home-town-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .geo-hub-page .home-ungrouped>.home-town-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .home-town-links a>span { white-space:normal; overflow-wrap:anywhere; word-break:normal; line-height:1.25; }
  .home-reading-grid>.home-editorial { margin-top:14px; }
  .geo-hub-page .home-editorial p { font-size:15px; }
  .department-date-city>header { padding:16px; }
  .department-date-place { gap:10px; padding:15px 16px; }
  .department-place-icon { flex-basis:24px; }
  .department-place-icon svg { width:24px; height:24px; }
  .department-date-city h2 { font-size:19px; }
  .department-date-place h3 { font-size:16px; margin-bottom:7px; }
  .department-date-place p { font-size:15px; line-height:1.65; }
}
@media(max-width:540px) {
  .department-discovery { padding:14px; }
  /* The rotation wrapper sits between .department-towns and the list: no child combinator. Two columns keep town names whole. */
  .geo-hub-page :is(.home-town-links,.department-towns .home-town-links,.home-ungrouped>.home-town-links) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .department-siblings { padding-top:16px; }
  .department-date-grid { gap:12px; }
}
@media(prefers-reduced-motion:reduce) { .geo-hub-page :is(.home-city-card,.home-region-grid a) { transition:none; } }
