/* Artia13 News Reader 1.3.27 — local city header and weather */
.a13nr-local-ai-section {
  margin: clamp(24px, 5vw, 48px) 0;
  padding: clamp(16px, 4vw, 26px);
  border: 1px solid rgba(20, 34, 51, .09);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 0%, #f5f8fb 100%);
  box-shadow: 0 12px 32px rgba(16, 28, 50, .045);
}
.a13nr-local-ai-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:16px; }
.a13nr-local-ai-heading h2 { margin:5px 0 6px; color:#141b2b; font-size:clamp(24px, 5vw, 32px); line-height:1.12; letter-spacing:-.025em; }
.a13nr-local-ai-heading p { margin:0; max-width:42rem; color:#606b7b; font-size:15px; line-height:1.5; }
.a13nr-local-pin { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; border-radius:50%; color:#0e6e72; background:#e0f3f1; font-size:28px; }
.a13nr-local-ai-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px; align-items:center; }
.a13nr-local-ai-controls input { min-width:0; width:100%; min-height:48px; padding:0 15px; border:1px solid #d4dce5; border-radius:14px; background:#fff; color:#171d29; font-size:16px; }
.a13nr-local-ai-controls button { min-height:48px; border:0; border-radius:14px; padding:0 17px; font-size:15px; font-weight:700; cursor:pointer; transition:opacity .2s ease, transform .2s ease; }
.a13nr-local-primary { color:#fff; background:#1769d2; }
.a13nr-local-secondary { grid-column:1/-1; color:#133247; background:#e7f1fa; }
.a13nr-local-ai-controls button:disabled { cursor:wait; opacity:.62; }
.a13nr-local-ai-privacy { margin:9px 0 0; color:#717c8c; font-size:12px; line-height:1.45; }
.a13nr-local-ai-status { min-height:1.4em; margin:12px 0 2px; color:#4d5d6f; font-size:14px; line-height:1.5; }
.a13nr-local-ai-section.is-loading .a13nr-local-ai-status:before { content:""; display:inline-block; width:9px; height:9px; margin-right:8px; border-radius:50%; background:#1b7f78; animation:a13nr-local-pulse 1.2s infinite; }
.a13nr-local-rail { margin-top:20px; }
.a13nr-local-rail-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin:0 0 11px; }
.a13nr-local-rail-head h3 { margin:0; font-size:20px; line-height:1.2; color:#141b2b; }
.a13nr-local-rail-count { color:#697586; font-size:12px; white-space:nowrap; }
.a13nr-local-rail-track { display:grid; grid-auto-columns:minmax(220px, 72%); grid-auto-flow:column; gap:13px; overflow-x:auto; overflow-y:hidden; padding:2px 2px 13px; scroll-snap-type:x proximity; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; scrollbar-width:thin; }
.a13nr-local-story { min-width:0; overflow:hidden; border:1px solid #dfe5eb; border-radius:16px; background:#fff; scroll-snap-align:start; box-shadow:0 3px 12px rgba(16,28,50,.035); }
.a13nr-local-story-link { display:flex; height:100%; color:inherit; text-decoration:none; flex-direction:column; }
.a13nr-local-story img, .a13nr-local-story-art { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; background:#142139; }
.a13nr-local-story-art { display:grid; place-items:center; color:#e8c771; font-size:19px; font-weight:800; letter-spacing:.18em; background:linear-gradient(135deg,#101c32,#0f6b70); }
.a13nr-local-story h4 { margin:13px 14px 7px; color:#151c29; font-size:17px; font-weight:750; line-height:1.28; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.a13nr-local-story-excerpt { margin:0 14px 12px; color:#5c6877; font-size:14px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.a13nr-local-story-foot { margin:auto 14px 13px; padding-top:4px; color:#7b8490; font-size:12px; }
.a13nr-local-story-link:focus-visible { outline:3px solid #1769d2; outline-offset:-3px; }
.a13nr-local-transparency { margin-top:30px; padding:16px 18px; border-left:4px solid #d7b85b; border-radius:0 12px 12px 0; background:#f6f8fb; color:#374254; font-size:14px; line-height:1.65; }
.a13nr-local-transparency p { margin:.45em 0; }
.a13nr-local-transparency a { color:#165da8; font-weight:650; text-decoration:underline; }
@keyframes a13nr-local-pulse { 0%,100% { opacity:.35; transform:scale(.85); } 50% { opacity:1; transform:scale(1); } }
@media (min-width:650px) {
  .a13nr-local-ai-controls { grid-template-columns:minmax(200px,1fr) auto auto; }
  .a13nr-local-secondary { grid-column:auto; }
  .a13nr-local-rail-track { grid-auto-columns:minmax(250px, 33%); }
}
@media (max-width:480px) {
  .a13nr-local-ai-section { margin-left:-2px; margin-right:-2px; padding:15px 13px 10px; border-radius:18px; }
  .a13nr-local-ai-heading { gap:10px; }
  .a13nr-local-ai-heading p { font-size:14px; }
  .a13nr-local-pin { width:38px; height:38px; flex-basis:38px; font-size:24px; }
  .a13nr-local-ai-controls { grid-template-columns:minmax(0,1fr) auto; }
  .a13nr-local-ai-controls input { min-height:47px; font-size:16px; padding:0 12px; }
  .a13nr-local-ai-controls button { min-height:47px; padding:0 12px; font-size:14px; }
  .a13nr-local-secondary { grid-column:1/-1; }
  .a13nr-local-rail-head h3 { font-size:18px; }
  .a13nr-local-rail-track { grid-auto-columns:minmax(235px, 83%); gap:11px; }
  .a13nr-local-story h4 { font-size:17px; }
}
@media (prefers-reduced-motion:reduce) {
  .a13nr-local-ai-section.is-loading .a13nr-local-ai-status:before { animation:none; }
}

/* 1.3.25 — followed locations and dedicated local-news experience. */
.a13nr-local-city-list{display:flex;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;margin:0 0 15px;padding:2px 2px 7px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.a13nr-local-city-list[hidden]{display:none}
.a13nr-local-city-chip-wrap{display:inline-flex;flex:0 0 auto;align-items:center;overflow:hidden;border:1px solid #d7dfe8;border-radius:999px;background:#fff;scroll-snap-align:start}
.a13nr-local-city-chip{min-height:42px;padding:8px 14px;border:0;background:transparent;color:#283647;font-size:15px;font-weight:750;white-space:nowrap;cursor:pointer}
.a13nr-local-city-chip.is-active{background:#d8efff;color:#0b4269}
.a13nr-local-city-remove{width:34px;min-height:42px;border:0;border-left:1px solid #e6ebf0;background:transparent;color:#606b7b;font-size:20px;cursor:pointer}
.a13nr-local-city-chip-wrap:has(.a13nr-local-city-chip.is-active){border-color:#b5def8;background:#d8efff}
.a13nr-local-method-note{margin:17px 0 0;padding-top:12px;border-top:1px solid #e5eaf0;color:#707c8c;font-size:12px;line-height:1.5}
.a13nr-local-ai-section.is-dedicated{margin-top:18px;padding:clamp(18px,3vw,30px);border-radius:22px;background:#fff;box-shadow:0 4px 18px rgba(16,28,50,.045)}
.a13nr-local-ai-section.is-dedicated .a13nr-local-ai-heading h2{font-size:clamp(28px,5vw,36px)}
.a13nr-local-ai-section.is-dedicated .a13nr-local-ai-heading{margin-bottom:22px}
.a13nr-local-ai-section.is-dedicated .a13nr-local-rail-track{grid-auto-columns:minmax(260px,44%)}
.a13nr-local-ai-section.is-dedicated .a13nr-local-story h4{font-size:18px;line-height:1.3}
@media(max-width:600px){
  .a13nr-local-ai-section.is-dedicated{margin:0 -12px;padding:17px 14px 14px;border:0;border-radius:0;box-shadow:none;background:#fff}
  .a13nr-local-ai-section.is-dedicated .a13nr-local-ai-heading{margin:6px 0 18px}
  .a13nr-local-ai-section.is-dedicated .a13nr-local-ai-heading h2{font-size:27px}
  .a13nr-local-ai-section.is-dedicated .a13nr-local-ai-heading p{font-size:14px}
  .a13nr-local-city-chip{min-height:43px;padding:8px 13px;font-size:15px}
  .a13nr-local-ai-section.is-dedicated .a13nr-local-rail-track{grid-auto-columns:minmax(260px,86%)}
  .a13nr-local-method-note{font-size:12px}
}


/* City + current-weather header shared by "Pour vous" and "Actualités locales". */
.a13nr-local-location-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:4px 0 12px;
  padding:2px 0 16px;
  border-bottom:1px solid #e1e5e9;
}
.a13nr-local-location-title-wrap { min-width:0; }
.a13nr-local-location-title {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#087780;
  font-size:clamp(27px, 6vw, 34px);
  font-weight:650;
  line-height:1.15;
  letter-spacing:-.025em;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.a13nr-local-location-title:hover { color:#075c65; text-decoration:underline; text-underline-offset:4px; }
.a13nr-local-location-title:focus-visible { outline:3px solid #1769d2; outline-offset:4px; border-radius:5px; }
.a13nr-local-location-arrow { font-size:1.25em; line-height:.8; }
.a13nr-local-location-subtitle { margin:5px 0 0; color:#707986; font-size:13px; line-height:1.35; }
.a13nr-local-weather {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:48px;
  max-width:48%;
  padding:8px 15px;
  border:1px solid #dfe3e6;
  border-radius:999px;
  background:#fff;
  color:#202630;
  box-shadow:0 1px 2px rgba(16,28,50,.025);
  white-space:nowrap;
}
.a13nr-local-weather-temp { font-size:19px; font-weight:500; font-variant-numeric:tabular-nums; }
.a13nr-local-weather-icon { display:inline-block; font-size:24px; line-height:1; filter:saturate(.72); }
.a13nr-local-weather-loading,
.a13nr-local-weather-unavailable { color:#75808d; font-size:12px; line-height:1.25; white-space:normal; text-align:center; }
.a13nr-local-weather.is-loading { min-width:82px; }
.a13nr-local-weather.is-unavailable { max-width:130px; min-height:42px; }
.a13nr-local-empty-state {
  margin:5px 0 14px;
  padding:17px 18px;
  border-radius:14px;
  background:#f4f7fa;
  color:#596576;
  font-size:15px;
  line-height:1.55;
}
.a13nr-local-rail + .a13nr-local-rail { margin-top:26px; }
.a13nr-local-rail-count { font-variant-numeric:tabular-nums; }
.a13nr-local-weather[title] { cursor:help; }

@media (max-width:480px) {
  .a13nr-local-location-head {
    align-items:center;
    gap:10px;
    margin-top:1px;
    padding-bottom:14px;
  }
  .a13nr-local-location-title { font-size:30px; }
  .a13nr-local-location-subtitle { font-size:12px; }
  .a13nr-local-weather {
    gap:7px;
    min-height:45px;
    padding:7px 12px;
  }
  .a13nr-local-weather-temp { font-size:18px; }
  .a13nr-local-weather-icon { font-size:22px; }
}
@media (max-width:360px) {
  .a13nr-local-location-head { gap:7px; }
  .a13nr-local-location-title { font-size:26px; }
  .a13nr-local-weather { max-width:45%; padding:6px 9px; }
  .a13nr-local-weather-temp { font-size:16px; }
}
