/* Artia13 News Reader 1.6.3 — Google News-inspired visual refinement. */
:root {
  --a13nr-page: #f5f7fa;
  --a13nr-line: #e3e8ef;
  --a13nr-content: 1280px;
  --a13nr-sidebar-width: 224px;
}

body.a13nr-body { background: #f5f7fa !important; color: #202124 !important; }
.a13nr-site { background: #f5f7fa; }
.a13nr-header { background: rgba(255,255,255,.98); border-bottom-color: #e3e8ef; }
.a13nr-topbar { max-width: 1640px; }
.a13nr-logo-img.a13nr-logo-artia13 { max-width: 156px; max-height: 54px; }
.a13nr-nav { border-top-color: #eef1f5; background: #fff; }
.a13nr-nav-shell { max-width: 1640px; margin-inline: auto; }
.a13nr-nav-scroll { gap: 5px; }
.a13nr-nav-scroll > a[data-a13nr-nav-item] {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #4d5664;
  font-size: 13px;
  font-weight: 680;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.a13nr-nav-scroll > a[data-a13nr-nav-item]:hover,
.a13nr-nav-scroll > a[data-a13nr-nav-item]:focus-visible {
  border-color: #dce6f5;
  background: #f3f7fd;
  color: #174ea6;
  text-decoration: none;
}
.a13nr-nav-scroll > a[data-a13nr-nav-item].is-active {
  border-color: #d7e5fb;
  background: #eaf2ff;
  color: #174ea6;
}
.a13nr-nav-scroll > a.a13nr-nav-flash { color: #a72b2b; background: #fff8f7; border-color: #f7e4e2; }
.a13nr-nav-scroll > a.a13nr-nav-flash.is-active { color: #9d2020; background: #fdeceb; border-color: #f4d1ce; }
.a13nr-nav-scroll > a.a13nr-nav-flash span { font-size: 9px; margin-right: 2px; }
.a13nr-nav-arrow { border-color: #e0e6ee; box-shadow: 0 2px 8px rgba(26,42,68,.10); }

/* Desktop left rail: a stable, scrollable counterpart to Google News navigation. */
.a13nr-desktop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: fixed;
  z-index: 70;
  top: 145px;
  bottom: 18px;
  left: 18px;
  width: var(--a13nr-sidebar-width);
  min-width: 0;
  padding: 8px 7px 14px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cbd4e1 transparent;
  border: 1px solid #e7ebf1;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 3px 14px rgba(32,48,72,.045);
}
.a13nr-desktop-sidebar nav { display: grid; gap: 3px; min-width: 0; }
.a13nr-desktop-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 39px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #465265;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.3;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.a13nr-desktop-sidebar nav a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.a13nr-desktop-sidebar nav a:hover,
.a13nr-desktop-sidebar nav a:focus-visible {
  background: #f3f7fc;
  border-color: #e1eaf6;
  color: #174ea6;
  text-decoration: none;
  outline: none;
}
.a13nr-desktop-sidebar nav a.is-active {
  background: #eaf2ff;
  border-color: #dce8fb;
  color: #174ea6;
  font-weight: 760;
}
.a13nr-sidebar-icon {
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #f0f3f7;
  color: #5d6c80;
  font-size: 15px;
  line-height: 1;
}
.a13nr-desktop-sidebar nav a.is-active .a13nr-sidebar-icon { background: #dce9fc; color: #174ea6; }
.a13nr-desktop-sidebar nav a.a13nr-sidebar-flash { color: #a72b2b; }
.a13nr-desktop-sidebar nav a.a13nr-sidebar-flash .a13nr-sidebar-icon { background: #fff0ef; color: #bd3434; font-size: 10px; }
.a13nr-sidebar-divider { flex: 0 0 1px; height: 1px; margin: 2px 9px; background: #edf0f4; }
.a13nr-sidebar-heading {
  padding: 2px 11px 3px;
  color: #8a94a3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.a13nr-sidebar-categories a { min-height: 34px !important; padding: 6px 11px !important; font-size: 12px !important; }
.a13nr-sidebar-categories a.is-child { padding-left: 21px !important; }
.a13nr-sidebar-category-dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #b8c4d3; }
.a13nr-sidebar-categories a.is-active .a13nr-sidebar-category-dot { background: #1a73e8; }
.a13nr-sidebar-secondary a { min-height: 34px !important; font-size: 12px !important; }
.a13nr-sidebar-secondary .a13nr-sidebar-adult { color: #77518a; }

/* The article canvas sits to the right of the navigation rail on wide screens. */
@media (min-width: 1180px) {
  .a13nr-desktop-sidebar ~ .a13nr-main {
    width: calc(100% - 292px) !important;
    max-width: 1500px;
    margin-left: 274px !important;
    margin-right: 18px !important;
  }
  .a13nr-desktop-sidebar ~ .a13nr-main.a13nr-container {
    width: calc(100% - 292px) !important;
    max-width: 1500px;
  }
  .a13nr-desktop-sidebar ~ .a13nr-main.a13nr-reading { max-width: 980px; }
}
@media (min-width: 1180px) and (max-width: 1390px) {
  .a13nr-desktop-sidebar { width: 210px; }
  .a13nr-desktop-sidebar ~ .a13nr-main,
  .a13nr-desktop-sidebar ~ .a13nr-main.a13nr-container {
    width: calc(100% - 266px) !important;
    margin-left: 248px !important;
    margin-right: 18px !important;
  }
}

/* More restrained cards and clearer editorial hierarchy. */
.a13nr-main { color: #202124; }
.a13nr-welcome { padding-top: 24px; padding-bottom: 20px; border-bottom-color: #e3e8ef; }
.a13nr-welcome h1, .a13nr-page-heading h1 { color: #202b3a; letter-spacing: -.035em; }
.a13nr-welcome p, .a13nr-page-heading > p { color: #687386; }
.a13nr-kicker { color: #687b94; font-size: 10px; letter-spacing: .105em; }
.a13nr-section-title { margin-bottom: 14px; }
.a13nr-section-title h2 { color: #202b3a; font-size: 22px; font-weight: 760; letter-spacing: -.02em; }
.a13nr-section-title > a { color: #1a73e8; font-size: 12px; font-weight: 700; }
.a13nr-card {
  border-color: #e3e8ef;
  border-radius: 15px;
  box-shadow: 0 1px 2px rgba(31,45,66,.035);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.a13nr-card:hover { border-color: #d3dfef; box-shadow: 0 5px 16px rgba(31,45,66,.075); }
.a13nr-card-media { background: #e9eef5; }
.a13nr-card-title { color: #202b3a; }
.a13nr-card-meta { color: #758197; }
.a13nr-card-category { color: #356aab !important; }
.a13nr-card-source { color: #6f7989; }
.a13nr-card-foot { color: #7d8795; }
.a13nr-card-hero .a13nr-card-copy { padding: 18px 19px 17px; }
.a13nr-card-hero .a13nr-card-title { font-size: clamp(23px, 2vw, 30px); line-height: 1.16; }
.a13nr-card-compact { border-radius: 12px; }
.a13nr-card-compact .a13nr-card-copy { padding: 10px 12px; }
.a13nr-card-compact .a13nr-card-title { font-size: 14px; line-height: 1.32; }
.a13nr-card-feed { border-radius: 13px; }
.a13nr-card-feed .a13nr-card-copy { padding: 12px 13px; }
.a13nr-card-feed .a13nr-card-title { font-size: 16px; line-height: 1.3; }
.a13nr-card-feed .a13nr-card-excerpt { color: #667286; font-size: 13px; line-height: 1.48; }
.a13nr-page-heading { border-bottom-color: #e3e8ef; }
.a13nr-article { border-color: #e3e8ef; border-radius: 17px; box-shadow: 0 2px 9px rgba(31,45,66,.035); }
.a13nr-article-image { border-radius: 14px; }

/* Flash Info is embedded in À la une without deleting its independent archive. */
.a13nr-flash-section { padding: 17px; border: 1px solid #f0dfde; border-radius: 17px; background: linear-gradient(180deg, #fff 0%, #fffafa 100%); }
.a13nr-flash-section .a13nr-section-title { margin-bottom: 12px; }
.a13nr-flash-section .a13nr-section-title h2 { display: flex; align-items: center; gap: 9px; }
.a13nr-flash-live-dot { display: inline-block; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #c43c3c; box-shadow: 0 0 0 4px rgba(196,60,60,.10); }
.a13nr-flash-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.a13nr-flash-grid .a13nr-card-compact { background: #fff; border-color: #eee4e3; }
.a13nr-flash-grid .a13nr-card-compact:hover { border-color: #e7c8c5; }
.a13nr-flash-grid .a13nr-card-category { color: #a33535 !important; }
.a13nr-flash-grid .a13nr-card-compact .a13nr-card-media { min-height: 92px; }

/* Tablet: keep the topic strip, collapse the fixed rail before the canvas gets narrow. */
@media (max-width: 1179px) {
  .a13nr-desktop-sidebar { display: none !important; }
}
@media (max-width: 900px) {
  .a13nr-flash-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  body.a13nr-body { background: #f6f8fb !important; }
  .a13nr-topbar { border-bottom: 0; }
  .a13nr-nav { border-top-color: #edf0f4; }
  .a13nr-nav-scroll > a[data-a13nr-nav-item] { min-height: 37px; padding: 7px 11px; font-size: 12px; }
  .a13nr-nav-scroll > a.a13nr-nav-flash { background: #fff7f6; }
  .a13nr-welcome { padding-top: 13px; }
  .a13nr-section-title h2 { font-size: 20px; }
  .a13nr-card { border-radius: 13px; }
  .a13nr-card-feed .a13nr-card-copy { padding: 9px 10px; }
  .a13nr-card-feed .a13nr-card-title { font-size: 14px; line-height: 1.28; }
  .a13nr-flash-section { padding: 12px; border-radius: 14px; }
  .a13nr-flash-grid { gap: 8px; }
  .a13nr-flash-grid .a13nr-card-compact { grid-template-columns: 94px minmax(0,1fr); }
  .a13nr-flash-grid .a13nr-card-compact .a13nr-card-media { min-height: 88px; }
  .a13nr-flash-grid .a13nr-card-compact .a13nr-card-copy { padding: 8px 9px; }
  .a13nr-flash-grid .a13nr-card-compact .a13nr-card-title { font-size: 13px; line-height: 1.27; }
  .a13nr-flash-grid .a13nr-card-compact .a13nr-card-meta { font-size: 9px; }
  .a13nr-mobile-menu a.a13nr-mobile-flash-link { background: #fff1ef !important; color: #9f2929 !important; font-weight: 800 !important; }
}
@media (max-width: 370px) {
  .a13nr-flash-grid .a13nr-card-compact { grid-template-columns: 82px minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .a13nr-card, .a13nr-nav-scroll > a[data-a13nr-nav-item] { transition: none !important; }
}
