/* AeroTravel v87.5 — one canonical route page with 12-month data */
.sr875-months,
.sr875-insights,
.sr875-route-facts,
.sr875-route-clusters{
  margin-top:14px;
  padding:24px;
  border:1px solid #dfe4ec;
  border-radius:10px;
  background:#fff;
}
.sr875-months{scroll-margin-top:84px}
.sr875-month-trend{
  display:grid;
  grid-template-columns:repeat(12,minmax(52px,1fr));
  gap:7px;
  align-items:end;
  min-height:190px;
  margin-top:18px;
  padding:16px 12px 9px;
  border:1px solid #e3e8ef;
  border-radius:9px;
  background:#f7f9fc;
  overflow-x:auto;
}
.sr875-month-trend a{
  display:grid;
  grid-template-rows:26px 124px 22px;
  align-items:end;
  min-width:52px;
  color:#58657a;
  text-align:center;
  text-decoration:none;
}
.sr875-month-trend b{
  align-self:start;
  overflow:hidden;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.sr875-month-trend i{
  display:block;
  width:72%;
  height:var(--month-bar);
  min-height:18px;
  margin:0 auto;
  border-radius:5px 5px 2px 2px;
  background:#1464f4;
}
.sr875-month-trend span{
  align-self:end;
  font-size:10px;
  font-weight:800;
}
.sr875-month-trend a:hover i{background:#0d47bf}
.sr875-month-trend a.is-cheapest b,
.sr875-month-trend a.is-cheapest span{color:#087443}
.sr875-month-trend a.is-cheapest i{background:#16a36a}

.sr875-month-tabs{
  display:flex;
  gap:7px;
  margin-top:14px;
  padding-bottom:5px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
}
.sr875-month-tabs a{
  flex:0 0 150px;
  display:grid;
  gap:4px;
  padding:11px 12px;
  border:1px solid #dfe4ec;
  border-radius:8px;
  color:#172238;
  background:#fff;
  text-decoration:none;
  scroll-snap-align:start;
}
.sr875-month-tabs a:hover,
.sr875-month-tabs a.is-active{
  border-color:#95b5fa;
  background:#f0f5ff;
}
.sr875-month-tabs span{font-size:12px;font-weight:900}
.sr875-month-tabs small{color:#657188;font-size:10px}

.sr875-month-details{
  display:grid;
  gap:8px;
  margin-top:16px;
}
.sr875-month-detail{
  scroll-margin-top:86px;
  border:1px solid #dfe4ec;
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}
.sr875-month-detail[open]{border-color:#b9c9e7}
.sr875-month-detail summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  min-height:68px;
  padding:13px 15px;
  cursor:pointer;
  list-style:none;
}
.sr875-month-detail summary::-webkit-details-marker{display:none}
.sr875-month-detail summary:hover{background:#f7f9fc}
.sr875-month-detail summary span{display:grid;gap:3px;min-width:0}
.sr875-month-detail summary small{
  color:#657188;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.sr875-month-detail summary b{
  overflow:hidden;
  font-size:14px;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.sr875-month-detail summary strong{
  color:#172238;
  font-size:15px;
  white-space:nowrap;
}
.sr875-month-detail-body{
  padding:15px;
  border-top:1px solid #e8ecf2;
  background:#fbfcfe;
}
.sr875-month-detail-body>p{
  margin:0 0 12px;
  color:#4f5c70;
  font-size:13px;
  line-height:1.55;
}
.sr875-month-date-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}
.sr875-month-date-list a{
  display:grid;
  gap:3px;
  padding:10px;
  border:1px solid #dfe4ec;
  border-radius:7px;
  background:#fff;
  color:#172238;
  text-decoration:none;
}
.sr875-month-date-list a:hover{border-color:#9eb9ed}
.sr875-month-date-list span{color:#657188;font-size:10px}
.sr875-month-date-list b{font-size:13px}
.sr875-month-search{
  display:inline-flex;
  margin-top:12px;
  color:#1464f4;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}
.sr875-data-note{
  margin:15px 0 0;
  color:#657188;
  font-size:11px;
  line-height:1.55;
}

.sr875-insight-grid,
.sr875-facts-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:16px;
}
.sr875-insight-grid article,
.sr875-facts-grid article{
  min-width:0;
  padding:15px;
  border:1px solid #dfe4ec;
  border-radius:8px;
  background:#f8fafc;
}
.sr875-insight-grid span,
.sr875-facts-grid span{
  display:block;
  margin-bottom:7px;
  color:#657188;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.sr875-insight-grid b,
.sr875-facts-grid b{
  display:block;
  overflow:hidden;
  font-size:17px;
  line-height:1.2;
  text-overflow:ellipsis;
}
.sr875-insight-grid p,
.sr875-facts-grid p{
  margin:7px 0 0;
  color:#657188;
  font-size:11px;
  line-height:1.45;
}

.sr875-airport-columns{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:15px;
}
.sr875-airport-columns>div{
  padding:14px;
  border:1px solid #dfe4ec;
  border-radius:8px;
}
.sr875-airport-columns h3{margin:0 0 10px;font-size:14px}
.sr875-airport-columns a,
.sr875-airport-columns>div>span{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:9px;
  align-items:center;
  padding:8px 0;
  border-top:1px solid #edf0f4;
  color:#172238;
  text-decoration:none;
}
.sr875-airport-columns h3+a,
.sr875-airport-columns h3+span{border-top:0}
.sr875-airport-columns a:hover span{color:#1464f4}
.sr875-airport-columns b{font-size:11px}
.sr875-airport-columns span{font-size:12px}

.sr875-cluster-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.sr875-cluster-grid>div{
  padding:14px;
  border:1px solid #dfe4ec;
  border-radius:8px;
  background:#fbfcfe;
}
.sr875-cluster-grid h3{margin:0 0 9px;font-size:15px}
.sr875-cluster-grid a{
  display:grid;
  grid-template-columns:78px minmax(0,1fr);
  gap:9px;
  align-items:center;
  min-height:42px;
  padding:7px 0;
  border-top:1px solid #edf0f4;
  color:#172238;
  text-decoration:none;
}
.sr875-cluster-grid h3+a{border-top:0}
.sr875-cluster-grid a:hover b{color:#1464f4}
.sr875-cluster-grid span{color:#657188;font-size:10px;font-weight:800}
.sr875-cluster-grid b{
  overflow:hidden;
  font-size:12px;
  white-space:nowrap;
  text-overflow:ellipsis;
}

/* Chart scale: higher price = higher bar, cheapest highlighted. */
.sr862-chart a.is-best-price b,
.sr862-chart a.is-best-price span{color:#087443}
.sr862-chart a.is-best-price i{background:#16a36a!important}

@media(max-width:980px){
  .sr875-month-trend{grid-template-columns:repeat(12,70px)}
  .sr875-insight-grid,
  .sr875-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sr875-month-date-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .sr875-months,
  .sr875-insights,
  .sr875-route-facts,
  .sr875-route-clusters{padding:17px}
  .sr875-month-detail summary{
    grid-template-columns:1fr;
    gap:7px;
  }
  .sr875-month-detail summary b{white-space:normal}
  .sr875-month-detail summary strong{font-size:14px}
  .sr875-insight-grid,
  .sr875-facts-grid,
  .sr875-airport-columns,
  .sr875-cluster-grid{grid-template-columns:1fr}
}
@media(max-width:440px){
  .sr875-month-date-list{grid-template-columns:1fr}
}
