/*
ALL HAIL TAXIS
Taxi Insights Style
V41

Scope: /taxi-insights/ only through PHP asset loader.
Direction: Taxi Market Index black glass system, white/yellow title, no blue/cyan/purple, no ERAs video, no Taxi Services image.
V31: preserves V27 layout, removes CSS mobile-menu guard, and keeps header/menu rescue in the PHP snippet only.
V32: aligns article/sidebar/card outlines and black-glass panels with the compact NYC Taxi Insights aesthetic.
V33: restores the hero overlay and text shadow for better readability while preserving V32 cards.
V34: fixes Most Read order numbers showing as 0 on mobile Safari by removing style containment from ranked list items.
V35: preserves the approved Taxi Insights Briefing HTML content.
V36: removes yellow hero outline, forces thin grey hero outline, and compacts mobile hero height.
*/

#aht-taxi-insights.aht-ti-v13,
#aht-taxi-insights.aht-ti-v13 * {
  box-sizing: border-box;
}

#aht-taxi-insights.aht-ti-v13 {
  --aht-yellow: #dfbf4a;
  --aht-yellow-deep: #cfa52a;
  --aht-black: #000;
  --aht-panel: rgba(12,12,12,.92);
  --aht-panel-strong: rgba(7,7,7,.965);
  --aht-glass: linear-gradient(180deg, rgba(255,255,255,.082), rgba(255,255,255,.022));
  --aht-border: rgba(255,255,255,.14);
  --aht-border-soft: rgba(255,255,255,.09);
  --aht-border-yellow: rgba(223,191,74,.40);
  --aht-text: #fff;
  --aht-muted: rgba(255,255,255,.76);
  --aht-soft: rgba(255,255,255,.58);
  --aht-radius-lg: 22px;
  --aht-radius-md: 15px;
  --aht-radius-sm: 10px;
  display: block;
  width: 100%;
  color: var(--aht-text) !important;
  background: #000 !important;
  font-family: inherit;
  isolation: isolate;
  margin: 0 auto;
  padding: 0 0 84px;
  overflow: hidden;
}

#aht-taxi-insights .aht-v13-shell {
  width: min(1540px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 42px 0 0;
}

#aht-taxi-insights a,
#aht-taxi-insights button,
#aht-taxi-insights input {
  font-family: inherit;
}

#aht-taxi-insights a {
  color: inherit !important;
  text-decoration: none !important;
}

#aht-taxi-insights img {
  max-width: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

#aht-taxi-insights figure {
  margin: 0 !important;
}

#aht-taxi-insights .aht-v13-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 378px;
  gap: 18px;
  align-items: stretch;
}

/* Shared black-glass panel system */
#aht-taxi-insights .aht-v13-hero-card,
#aht-taxi-insights .aht-v13-rail-card,
#aht-taxi-insights .aht-v13-story-link,
#aht-taxi-insights .aht-v13-side-box,
#aht-taxi-insights .aht-v13-metric,
#aht-taxi-insights .aht-v13-hotspots,
#aht-taxi-insights .aht-v13-analysis-feature,
#aht-taxi-insights .aht-v13-feature-links a,
#aht-taxi-insights .aht-v13-alerts {
  background: var(--aht-glass), var(--aht-panel-strong) !important;
  border: 1px solid var(--aht-border) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 16px 38px rgba(0,0,0,.42) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Visual media layers, real images, no background-image dependency */
#aht-taxi-insights .aht-v13-media,
#aht-taxi-insights .aht-v13-update-thumb,
#aht-taxi-insights .aht-v13-carousel figure {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  background: #050505 !important;
  overflow: hidden !important;
}

#aht-taxi-insights .aht-v13-media img,
#aht-taxi-insights .aht-v13-update-thumb img,
#aht-taxi-insights .aht-v13-carousel figure img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: translateZ(0);
  filter: saturate(1.08) contrast(1.08) brightness(1.02) !important;
}


/* Show article visuals more fully */
#aht-taxi-insights .aht-v13-story-link .aht-v13-media img,
#aht-taxi-insights .aht-v13-analysis-feature .aht-v13-media img,
#aht-taxi-insights .aht-v13-carousel figure img,
#aht-taxi-insights .aht-v13-update-thumb img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #050505 !important;
}

#aht-taxi-insights .aht-v13-story-link::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.18) 48%, rgba(0,0,0,.84) 100%),
    linear-gradient(90deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.03) 60%, rgba(0,0,0,.16) 100%);
}

#aht-taxi-insights .aht-v13-analysis-feature::before,
#aht-taxi-insights .aht-v13-carousel a::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.82) 100%),
    linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.03) 55%, rgba(0,0,0,.14) 100%);
}

/* Hero */
#aht-taxi-insights .aht-v13-hero-card {
  position: relative;
  min-height: 410px;
  border-radius: var(--aht-radius-lg);
  overflow: hidden;
  display: block !important;
  isolation: isolate;
}

#aht-taxi-insights .aht-v13-hero-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}

#aht-taxi-insights .aht-v13-hero-media img {
  filter: saturate(1.10) contrast(1.06) brightness(.96) !important;
}

#aht-taxi-insights .aht-v13-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.58) 43%, rgba(0,0,0,.20) 68%, rgba(0,0,0,.42) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.34) 55%, rgba(0,0,0,.78) 100%);
}

#aht-taxi-insights .aht-v13-hero-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 2;
  border-radius: calc(var(--aht-radius-lg) - 1px);
  border: 1px solid rgba(255,201,31,.22);
  box-shadow: inset 0 -1px 0 rgba(255,201,31,.28);
  pointer-events: none;
}

#aht-taxi-insights .aht-v13-hero-copy {
  position: relative;
  z-index: 4;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 610px;
  padding: 52px 54px;
}

#aht-taxi-insights .aht-v13-kicker,
#aht-taxi-insights .aht-v13-section-kicker {
  margin: 0 0 10px !important;
  color: var(--aht-yellow) !important;
  -webkit-text-fill-color: var(--aht-yellow) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .28em !important;
  line-height: 1.2 !important;
}

#aht-taxi-insights .aht-v13-hero-copy h1 {
  margin: 0 0 16px !important;
  font-size: clamp(72px, 6.4vw, 118px) !important;
  line-height: .86 !important;
  letter-spacing: -.06em !important;
  font-weight: 950 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 8px 28px rgba(0,0,0,.68);
}

#aht-taxi-insights .aht-v13-hero-copy h1 span {
  display: block !important;
  font: inherit !important;
  background: transparent !important;
  background-image: none !important;
}

#aht-taxi-insights .aht-v13-title-white {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-fill-color: #ffffff !important;
}

#aht-taxi-insights .aht-v13-title-yellow {
  color: #ffc91f !important;
  -webkit-text-fill-color: #ffc91f !important;
  text-fill-color: #ffc91f !important;
  text-shadow: 0 6px 24px rgba(255,201,31,.18), 0 8px 28px rgba(0,0,0,.68) !important;
}

#aht-taxi-insights .aht-v13-hero-lede {
  margin: 0 0 22px !important;
  max-width: 500px;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.36 !important;
}

#aht-taxi-insights .aht-v13-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

#aht-taxi-insights .aht-v13-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff !important;
  background: rgba(0,0,0,.56) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  font-size: 12px;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

#aht-taxi-insights .aht-v13-hero-points span::before,
#aht-taxi-insights .aht-v13-alert-copy div span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--aht-yellow);
  box-shadow: 0 0 14px rgba(255,201,31,.85);
  flex: 0 0 auto;
}

#aht-taxi-insights .aht-v13-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#aht-taxi-insights .aht-v13-hero-actions span,
#aht-taxi-insights .aht-v13-hero-actions em,
#aht-taxi-insights .aht-v13-outline-btn,
#aht-taxi-insights .aht-v13-alert-form button,
#aht-taxi-insights .aht-v13-analysis-feature em,
#aht-taxi-insights .aht-v13-feature-links em,
#aht-taxi-insights .aht-v13-map-controls a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-style: normal;
  white-space: nowrap;
}

#aht-taxi-insights .aht-v13-hero-actions span,
#aht-taxi-insights .aht-v13-alert-form button,
#aht-taxi-insights .aht-v13-analysis-feature em {
  background: linear-gradient(180deg, #e1c252 0%, #d5ac2b 100%) !important;
  border: 1px solid rgba(255,235,170,.20) !important;
  color: #000 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 10px 24px rgba(0,0,0,.20);
}

#aht-taxi-insights .aht-v13-hero-actions em,
#aht-taxi-insights .aht-v13-outline-btn,
#aht-taxi-insights .aht-v13-feature-links em,
#aht-taxi-insights .aht-v13-map-controls a {
  background: rgba(6,6,6,.82) !important;
  border: 1px solid rgba(223,191,74,.44) !important;
  color: #fff !important;
}

/* Hero rail */
#aht-taxi-insights .aht-v13-hero-rail {
  display: grid;
  gap: 14px;
}

#aht-taxi-insights .aht-v13-rail-card {
  position: relative;
  min-height: 128px;
  border-radius: var(--aht-radius-md);
  overflow: hidden;
  isolation: isolate;
  display: block !important;
}

#aht-taxi-insights .aht-v13-rail-card .aht-v13-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}

#aht-taxi-insights .aht-v13-rail-card::before,
#aht-taxi-insights .aht-v13-story-link::before,
#aht-taxi-insights .aht-v13-analysis-feature::before,
#aht-taxi-insights .aht-v13-carousel a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.18) 43%, rgba(0,0,0,.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,.44) 0%, rgba(0,0,0,.08) 58%, rgba(0,0,0,.28) 100%);
}

#aht-taxi-insights .aht-v13-rail-card::after,
#aht-taxi-insights .aht-v13-story-link::after,
#aht-taxi-insights .aht-v13-analysis-feature::after,
#aht-taxi-insights .aht-v13-carousel a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.085);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

#aht-taxi-insights .aht-v13-market-card {
  background: var(--aht-glass), rgba(16,16,16,.95) !important;
}

#aht-taxi-insights .aht-v13-market-card::before {
  background: radial-gradient(circle at 78% 22%, rgba(255,201,31,.10), transparent 42%);
}

#aht-taxi-insights .aht-v13-rail-copy {
  position: relative;
  z-index: 3;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  max-width: 78%;
}

#aht-taxi-insights .aht-v13-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(223,191,74,.92) !important;
  color: #000 !important;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
  box-shadow: none;
}

#aht-taxi-insights .aht-v13-rail-card strong,
#aht-taxi-insights .aht-v13-rail-card small,
#aht-taxi-insights .aht-v13-rail-card em {
  display: block;
}

#aht-taxi-insights .aht-v13-rail-card strong {
  margin: 7px 0 4px;
  color: #fff;
  font-size: 18px;
  line-height: 1.04;
  font-weight: 950;
}

#aht-taxi-insights .aht-v13-rail-card small {
  color: var(--aht-muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

#aht-taxi-insights .aht-v13-rail-card em {
  margin-top: 8px;
  color: var(--aht-yellow);
  font-size: 10px;
  line-height: 1;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#aht-taxi-insights .aht-v13-rail-chart {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 130px;
  height: 56px;
  z-index: 2;
  color: var(--aht-yellow);
  overflow: visible;
}

#aht-taxi-insights .aht-v13-rail-chart .aht-v13-gridline {
  stroke: rgba(255,255,255,.17);
  stroke-width: 2;
}

#aht-taxi-insights .aht-v13-rail-chart .aht-v13-mainline {
  stroke: var(--aht-yellow);
  stroke-width: 7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255,201,31,.36));
}

#aht-taxi-insights .aht-v13-rail-chart circle {
  fill: #fff;
  stroke: var(--aht-yellow);
  stroke-width: 4;
}

/* Topic tabs */
#aht-taxi-insights .aht-v13-topics {
  margin: 18px 0 28px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0,1fr));
  gap: 10px;
}

#aht-taxi-insights .aht-v13-topics button {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.16) !important;
  background: var(--aht-glass), rgba(16,16,16,.86) !important;
  color: #fff !important;
  font-size: 11px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

#aht-taxi-insights .aht-v13-topics button span {
  color: var(--aht-yellow) !important;
  -webkit-text-fill-color: var(--aht-yellow) !important;
  font-size: 10px;
  font-weight: 950;
}

#aht-taxi-insights .aht-v13-topics button.is-active {
  border-color: var(--aht-border-yellow) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 0 18px rgba(255,201,31,.10) !important;
}

/* Main content */
#aht-taxi-insights .aht-v13-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

#aht-taxi-insights .aht-v13-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 12px;
}

#aht-taxi-insights .aht-v13-section-head h2,
#aht-taxi-insights .aht-v13-side-head h2,
#aht-taxi-insights .aht-v13-hotspots h2,
#aht-taxi-insights .aht-v13-alert-copy h2 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 32px !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
  font-weight: 950 !important;
}

#aht-taxi-insights .aht-v13-section-head p {
  margin: 0 !important;
  color: var(--aht-muted) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

#aht-taxi-insights .aht-v13-story-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 12px;
}

#aht-taxi-insights .aht-v13-story-card {
  margin: 0 !important;
}

#aht-taxi-insights .aht-v13-story-card.is-hidden {
  display: none !important;
}

#aht-taxi-insights .aht-v13-story-large {
  grid-row: span 2;
}

#aht-taxi-insights .aht-v13-story-link {
  position: relative;
  display: block !important;
  width: 100% !important;
  min-height: 236px;
  border-radius: var(--aht-radius-md);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

#aht-taxi-insights .aht-v13-story-large .aht-v13-story-link {
  min-height: 492px;
}

#aht-taxi-insights .aht-v13-story-link > .aht-v13-media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

#aht-taxi-insights .aht-v13-story-link .aht-v13-media img {
  filter: saturate(1.10) contrast(1.08) brightness(1.02) !important;
}

#aht-taxi-insights .aht-v13-story-link:hover .aht-v13-media img,
#aht-taxi-insights .aht-v13-hero-card:hover .aht-v13-hero-media img,
#aht-taxi-insights .aht-v13-rail-card:hover .aht-v13-media img,
#aht-taxi-insights .aht-v13-analysis-feature:hover .aht-v13-media img,
#aht-taxi-insights .aht-v13-carousel a:hover figure img {
  transform: scale(1.032) translateZ(0);
  transition: transform .55s ease;
}

#aht-taxi-insights .aht-v13-story-copy {
  position: relative;
  z-index: 3;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  max-width: 92%;
  text-shadow: 0 2px 10px rgba(0,0,0,.68);
}

#aht-taxi-insights .aht-v13-story-copy h3 {
  margin: 10px 0 8px !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: .98 !important;
  letter-spacing: -.04em !important;
  font-weight: 950 !important;
}

#aht-taxi-insights .aht-v13-story-large .aht-v13-story-copy h3 {
  font-size: 34px !important;
  max-width: 560px;
}

#aht-taxi-insights .aht-v13-story-copy p,
#aht-taxi-insights .aht-v13-analysis-feature p,
#aht-taxi-insights .aht-v13-alert-copy p {
  margin: 0 0 9px !important;
  color: rgba(255,255,255,.84) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

#aht-taxi-insights .aht-v13-story-copy small,
#aht-taxi-insights .aht-v13-update small,
#aht-taxi-insights .aht-v13-metric small {
  color: rgba(255,255,255,.78) !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
  font-weight: 850 !important;
}

#aht-taxi-insights .aht-v13-button-row {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
}

/* Sidebar */
#aht-taxi-insights .aht-v13-sidebar {
  display: grid;
  gap: 14px;
}

#aht-taxi-insights .aht-v13-side-box {
  border-radius: var(--aht-radius-md);
  padding: 16px;
}

#aht-taxi-insights .aht-v13-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

#aht-taxi-insights .aht-v13-side-head h2 {
  font-size: 22px !important;
}

#aht-taxi-insights .aht-v13-side-head a {
  color: #fff !important;
  opacity: .82;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

#aht-taxi-insights .aht-v13-update {
  display: grid !important;
  grid-template-columns: 72px 1fr;
  gap: 11px;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.09);
}

#aht-taxi-insights .aht-v13-update:first-of-type {
  border-top: 0;
  padding-top: 0;
}

#aht-taxi-insights .aht-v13-update-thumb,
#aht-taxi-insights .aht-v13-update-chart {
  display: block !important;
  margin: 0 !important;
  width: 72px !important;
  height: 54px !important;
  border-radius: 9px;
  overflow: hidden;
  grid-row: span 2;
  background: #101010;
  border: 1px solid rgba(255,255,255,.11);
}

#aht-taxi-insights .aht-v13-update-chart {
  position: relative;
  background: var(--aht-glass), rgba(12,12,12,.95) !important;
}

#aht-taxi-insights .aht-v13-update-chart::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 28px;
  height: 4px;
  background: var(--aht-yellow);
  box-shadow: 14px -7px 0 var(--aht-yellow), 28px -1px 0 var(--aht-yellow), 42px -14px 0 var(--aht-yellow);
  transform: skewY(-12deg);
}

#aht-taxi-insights .aht-v13-update b {
  color: #fff;
  font-size: 12px;
  line-height: 1.12;
  font-weight: 950;
  align-self: end;
}

#aht-taxi-insights .aht-v13-update small {
  align-self: start;
}

#aht-taxi-insights .aht-v13-ranked {
  list-style: none !important;
  counter-reset: aht-rank;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 8px;
}

#aht-taxi-insights .aht-v13-ranked li {
  counter-increment: aht-rank;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
}

#aht-taxi-insights .aht-v13-ranked li::before {
  content: counter(aht-rank);
  width: 21px;
  height: 21px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: var(--aht-yellow);
  color: #000;
  font-size: 11px;
  font-weight: 950;
}

#aht-taxi-insights .aht-v13-ranked a {
  color: #fff !important;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
}

#aht-taxi-insights .aht-v13-trends {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#aht-taxi-insights .aht-v13-trends a {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  color: #fff !important;
  font-size: 10px;
  font-weight: 850;
}

/* Market */
#aht-taxi-insights .aht-v13-market,
#aht-taxi-insights .aht-v13-analysis {
  margin-top: 34px;
}

#aht-taxi-insights .aht-v13-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
}

#aht-taxi-insights .aht-v13-metric {
  min-height: 112px;
  border-radius: var(--aht-radius-md);
  padding: 17px;
  position: relative;
  overflow: hidden;
}

#aht-taxi-insights .aht-v13-metric::before,
#aht-taxi-insights .aht-v13-feature-links a::before,
#aht-taxi-insights .aht-v13-alerts::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.06), transparent 35%);
  pointer-events: none;
}

#aht-taxi-insights .aht-v13-metric span,
#aht-taxi-insights .aht-v13-metric strong,
#aht-taxi-insights .aht-v13-metric small {
  position: relative;
  z-index: 1;
  display: block;
}

#aht-taxi-insights .aht-v13-metric span {
  color: #fff;
  opacity: .9;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

#aht-taxi-insights .aht-v13-metric strong {
  margin: 7px 0 2px;
  color: #fff;
  font-size: 30px;
  letter-spacing: -.04em;
  line-height: 1;
  font-weight: 950;
}

#aht-taxi-insights .aht-v13-sparkline,
#aht-taxi-insights .aht-v13-metric-bars i {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  height: 26px;
  display: block;
  overflow: hidden;
}

#aht-taxi-insights .aht-v13-sparkline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 4px;
  background: var(--aht-yellow);
  border-radius: 999px;
  transform: skewY(-9deg);
  box-shadow:
    22px -8px 0 -1px var(--aht-yellow),
    44px 1px 0 -1px var(--aht-yellow),
    66px -13px 0 -1px var(--aht-yellow),
    88px -6px 0 -1px var(--aht-yellow),
    110px -17px 0 -1px var(--aht-yellow);
  filter: drop-shadow(0 0 6px rgba(255,201,31,.36));
}

#aht-taxi-insights .aht-v13-line-3::before {
  transform: skewY(5deg);
  opacity: .86;
}

#aht-taxi-insights .aht-v13-metric-bars i {
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

#aht-taxi-insights .aht-v13-metric-bars i::before {
  content: "";
  width: 18px;
  height: 35%;
  border-radius: 5px 5px 2px 2px;
  background: var(--aht-yellow);
  box-shadow: 24px -6px 0 var(--aht-yellow), 48px -1px 0 var(--aht-yellow), 72px -13px 0 var(--aht-yellow), 96px -5px 0 var(--aht-yellow), 120px -18px 0 var(--aht-yellow);
}

/* Hotspots */
#aht-taxi-insights .aht-v13-hotspots {
  margin-top: 28px;
  border-radius: var(--aht-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 245px 1fr;
  padding: 14px;
  gap: 14px;
}

#aht-taxi-insights .aht-v13-hotspots h2 {
  margin-bottom: 12px !important;
}

#aht-taxi-insights .aht-v13-hotspots h2 span {
  color: var(--aht-yellow) !important;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 850;
}

#aht-taxi-insights .aht-v13-hotspot-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  gap: 8px;
}

#aht-taxi-insights .aht-v13-hotspot-list li {
  margin: 0 !important;
  padding: 0 !important;
}

#aht-taxi-insights .aht-v13-hotspot-list button {
  width: 100%;
  min-height: 49px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  text-align: left;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.04) !important;
  color: #fff !important;
  padding: 7px 10px;
  cursor: pointer;
}

#aht-taxi-insights .aht-v13-hotspot-list li.is-active button {
  background: rgba(255,201,31,.13) !important;
  border-color: var(--aht-border-yellow) !important;
}

#aht-taxi-insights .aht-v13-hotspot-list b,
#aht-taxi-insights .aht-v13-map-dot {
  width: 25px;
  height: 25px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--aht-yellow);
  color: #000;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 0 18px rgba(255,201,31,.45);
}

#aht-taxi-insights .aht-v13-hotspot-list span {
  color: #fff;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 950;
}

#aht-taxi-insights .aht-v13-hotspot-list small {
  display: block;
  margin-top: 3px;
  color: var(--aht-muted);
  font-size: 10px;
  font-weight: 750;
}

#aht-taxi-insights .aht-v13-map {
  min-height: 290px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 82% 72%, rgba(255,201,31,.18), transparent 14%),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px),
    #071015;
  background-size: auto, 70px 70px, 70px 70px, auto;
}

#aht-taxi-insights .aht-v13-map::before,
#aht-taxi-insights .aht-v13-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(34deg, transparent 42%, rgba(255,255,255,.13) 42.5%, transparent 44%),
    linear-gradient(151deg, transparent 41%, rgba(255,255,255,.11) 41.5%, transparent 43%),
    linear-gradient(12deg, transparent 49%, rgba(255,255,255,.075) 49.6%, transparent 51%);
  opacity: .82;
}

#aht-taxi-insights .aht-v13-map::after {
  filter: blur(3px);
  opacity: .30;
}

#aht-taxi-insights .aht-v13-map-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  border: 0 !important;
  cursor: pointer;
  z-index: 3;
}

#aht-taxi-insights .aht-v13-map-dot::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 999px;
  background: rgba(255,201,31,.24);
  filter: blur(9px);
  z-index: -1;
}

#aht-taxi-insights .aht-v13-map-dot.is-active {
  transform: translate(-50%, -50%) scale(1.16);
}

#aht-taxi-insights .aht-v13-map-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  width: 156px;
  padding: 13px;
  border-radius: 13px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 36px rgba(0,0,0,.45);
}

#aht-taxi-insights .aht-v13-map-controls span,
#aht-taxi-insights .aht-v13-map-controls strong,
#aht-taxi-insights .aht-v13-map-controls small {
  display: block;
}

#aht-taxi-insights .aht-v13-map-controls span {
  color: var(--aht-muted);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

#aht-taxi-insights .aht-v13-map-controls strong {
  margin: 3px 0 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

#aht-taxi-insights .aht-v13-map-controls small {
  color: var(--aht-muted);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

#aht-taxi-insights .aht-v13-map-controls i {
  display: block;
  height: 6px;
  margin: 6px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,201,31,.28), var(--aht-yellow));
}

#aht-taxi-insights .aht-v13-map-controls a {
  width: 100%;
  min-height: 28px;
  padding: 0 8px;
  margin-top: 8px;
  font-size: 8px;
}

/* Featured analysis */
#aht-taxi-insights .aht-v13-analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 14px;
}

#aht-taxi-insights .aht-v13-analysis-feature {
  position: relative;
  min-height: 240px;
  border-radius: var(--aht-radius-md);
  overflow: hidden;
  display: block !important;
  isolation: isolate;
}

#aht-taxi-insights .aht-v13-analysis-feature .aht-v13-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}

#aht-taxi-insights .aht-v13-analysis-feature > div {
  position: relative;
  z-index: 3;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  max-width: 86%;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}

#aht-taxi-insights .aht-v13-analysis-feature h3 {
  margin: 10px 0 8px !important;
  color: #fff !important;
  font-size: 30px !important;
  line-height: .96 !important;
  font-weight: 950 !important;
  letter-spacing: -.04em !important;
}

#aht-taxi-insights .aht-v13-analysis-feature em {
  align-self: flex-start;
  min-height: 34px;
  margin-top: 4px;
}

#aht-taxi-insights .aht-v13-carousel-wrap {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0,1fr) 30px;
  gap: 8px;
  align-items: center;
}

#aht-taxi-insights .aht-v13-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(128px, 1fr);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

#aht-taxi-insights .aht-v13-carousel::-webkit-scrollbar {
  display: none;
}

#aht-taxi-insights .aht-v13-carousel a {
  min-height: 240px;
  border-radius: 13px;
  overflow: hidden;
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  padding: 13px;
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(16,16,16,.9) !important;
  isolation: isolate;
}

#aht-taxi-insights .aht-v13-carousel figure {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  z-index: 0 !important;
}

#aht-taxi-insights .aht-v13-carousel span,
#aht-taxi-insights .aht-v13-carousel strong {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 10px rgba(0,0,0,.72);
}

#aht-taxi-insights .aht-v13-carousel span,
#aht-taxi-insights .aht-v13-feature-links span {
  color: var(--aht-yellow) !important;
  -webkit-text-fill-color: var(--aht-yellow) !important;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}

#aht-taxi-insights .aht-v13-carousel strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 950;
}

#aht-taxi-insights .aht-v13-carousel-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.70) !important;
  color: var(--aht-yellow) !important;
  border: 1px solid var(--aht-border-yellow) !important;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

#aht-taxi-insights .aht-v13-feature-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-top: 14px;
}

#aht-taxi-insights .aht-v13-feature-links a {
  min-height: 128px;
  position: relative;
  overflow: hidden;
  border-radius: var(--aht-radius-md);
  padding: 18px;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
}

#aht-taxi-insights .aht-v13-feature-links strong {
  position: relative;
  z-index: 1;
  margin: 8px 0 12px;
  color: #fff;
  font-size: 18px;
  line-height: 1.08;
  font-weight: 950;
}

#aht-taxi-insights .aht-v13-feature-links span,
#aht-taxi-insights .aht-v13-feature-links em {
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

#aht-taxi-insights .aht-v13-feature-links em {
  min-height: 28px;
  padding: 0 11px;
  font-size: 9px;
}

/* Alerts */
#aht-taxi-insights .aht-v13-alerts {
  position: relative;
  margin-top: 26px;
  border-radius: var(--aht-radius-lg);
  min-height: 118px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 76px 1fr 360px;
  gap: 22px;
  align-items: center;
  overflow: hidden;
}

#aht-taxi-insights .aht-v13-alert-icon {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(223,191,74,.08);
  border: 1px solid rgba(223,191,74,.32);
  color: var(--aht-yellow);
}

#aht-taxi-insights .aht-v13-alert-icon svg {
  width: 38px;
  height: 38px;
}

#aht-taxi-insights .aht-v13-alert-copy,
#aht-taxi-insights .aht-v13-alert-form {
  position: relative;
  z-index: 1;
}

#aht-taxi-insights .aht-v13-alert-copy h2 {
  font-size: 30px !important;
  margin: 0 0 5px !important;
}

#aht-taxi-insights .aht-v13-alert-copy div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

#aht-taxi-insights .aht-v13-alert-copy div span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 850;
}

#aht-taxi-insights .aht-v13-alert-copy div span::before {
  width: 5px;
  height: 5px;
}

#aht-taxi-insights .aht-v13-alert-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: center;
}

#aht-taxi-insights .aht-v13-alert-form input {
  width: 100%;
  height: 44px;
  border-radius: 999px 0 0 999px;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-right: 0 !important;
  background: rgba(0,0,0,.58) !important;
  color: #fff !important;
  padding: 0 16px !important;
  outline: 0 !important;
  font-size: 12px !important;
}

#aht-taxi-insights .aht-v13-alert-form button {
  height: 44px;
  min-height: 44px;
  border-radius: 0 999px 999px 0;
  border: 1px solid rgba(255,201,31,.95) !important;
  cursor: pointer;
}

#aht-taxi-insights .aht-v13-alert-form span[role="status"] {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: var(--aht-yellow);
  font-size: 11px;
  font-weight: 850;
}

/* Hover */
#aht-taxi-insights .aht-v13-story-link:hover,
#aht-taxi-insights .aht-v13-rail-card:hover,
#aht-taxi-insights .aht-v13-metric:hover,
#aht-taxi-insights .aht-v13-feature-links a:hover {
  border-color: rgba(255,201,31,.50) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 18px 42px rgba(0,0,0,.48),
    0 0 22px rgba(255,201,31,.10) !important;
}

/* Responsive */
@media (max-width: 1180px) {
  #aht-taxi-insights .aht-v13-shell {
    width: min(100%, calc(100vw - 22px));
  }

  #aht-taxi-insights .aht-v13-hero-grid,
  #aht-taxi-insights .aht-v13-content-grid {
    grid-template-columns: 1fr;
  }

  #aht-taxi-insights .aht-v13-hero-rail {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  #aht-taxi-insights .aht-v13-sidebar {
    grid-template-columns: repeat(3, minmax(0,1fr));
    align-items: start;
  }

  #aht-taxi-insights .aht-v13-topics {
    overflow-x: auto;
    grid-template-columns: repeat(8, minmax(150px,1fr));
    padding-bottom: 4px;
  }

  #aht-taxi-insights .aht-v13-alerts {
    grid-template-columns: 64px 1fr;
  }

  #aht-taxi-insights .aht-v13-alert-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  #aht-taxi-insights.aht-ti-v13 {
    padding-bottom: 58px;
  }

  #aht-taxi-insights .aht-v13-shell {
    width: min(100%, calc(100vw - 16px));
    padding-top: 24px;
  }

  #aht-taxi-insights .aht-v13-hero-card,
  #aht-taxi-insights .aht-v13-hero-copy {
    min-height: 520px;
  }

  #aht-taxi-insights .aht-v13-hero-copy {
    padding: 34px 26px;
    justify-content: flex-end;
  }

  #aht-taxi-insights .aht-v13-hero-copy h1 {
    font-size: clamp(62px, 19vw, 92px) !important;
  }

  #aht-taxi-insights .aht-v13-hero-rail,
  #aht-taxi-insights .aht-v13-sidebar,
  #aht-taxi-insights .aht-v13-story-grid,
  #aht-taxi-insights .aht-v13-metric-grid,
  #aht-taxi-insights .aht-v13-hotspots,
  #aht-taxi-insights .aht-v13-analysis-grid,
  #aht-taxi-insights .aht-v13-feature-links {
    grid-template-columns: 1fr;
  }

  #aht-taxi-insights .aht-v13-rail-card,
  #aht-taxi-insights .aht-v13-rail-copy {
    min-height: 158px;
  }

  #aht-taxi-insights .aht-v13-story-large {
    grid-row: auto;
  }

  #aht-taxi-insights .aht-v13-story-link,
  #aht-taxi-insights .aht-v13-story-large .aht-v13-story-link {
    min-height: 360px;
  }

  #aht-taxi-insights .aht-v13-story-copy h3,
  #aht-taxi-insights .aht-v13-story-large .aht-v13-story-copy h3 {
    font-size: 27px !important;
  }

  #aht-taxi-insights .aht-v13-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  #aht-taxi-insights .aht-v13-hotspots {
    padding: 12px;
  }

  #aht-taxi-insights .aht-v13-map {
    min-height: 340px;
  }

  #aht-taxi-insights .aht-v13-map-controls {
    left: 14px;
    right: auto;
    bottom: 14px;
  }

  #aht-taxi-insights .aht-v13-carousel-wrap {
    grid-template-columns: 26px minmax(0,1fr) 26px;
  }

  #aht-taxi-insights .aht-v13-carousel {
    grid-auto-columns: minmax(190px, 72%);
  }

  #aht-taxi-insights .aht-v13-alerts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #aht-taxi-insights .aht-v13-alert-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #aht-taxi-insights .aht-v13-alert-form input,
  #aht-taxi-insights .aht-v13-alert-form button {
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
  }

  #aht-taxi-insights .aht-v13-alert-form button {
    border-color: rgba(255,201,31,.95) !important;
  }
}

@media (max-width: 520px) {
  #aht-taxi-insights .aht-v13-shell {
    width: calc(100vw - 12px);
  }

  #aht-taxi-insights .aht-v13-hero-copy {
    padding: 28px 20px;
  }

  #aht-taxi-insights .aht-v13-hero-points {
    gap: 7px;
  }

  #aht-taxi-insights .aht-v13-hero-points span {
    font-size: 10px;
    padding: 6px 8px;
  }

  #aht-taxi-insights .aht-v13-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  #aht-taxi-insights .aht-v13-story-copy,
  #aht-taxi-insights .aht-v13-analysis-feature > div {
    padding: 19px;
    max-width: 100%;
  }

  #aht-taxi-insights .aht-v13-update {
    grid-template-columns: 64px 1fr;
  }

  #aht-taxi-insights .aht-v13-update-thumb,
  #aht-taxi-insights .aht-v13-update-chart {
    width: 64px !important;
  }
}


/*
V13 HARD FIXES
- Main story cards no longer use absolute/covered media layers.
- Images are normal visible figure blocks so WordPress/MyListing cannot hide them behind overlays.
- Keeps black glass + yellow/white direction, no blue/cyan/purple.
*/

#aht-taxi-insights.aht-ti-v13 {
  --aht-panel: rgba(18,18,18,.92);
  --aht-panel-strong: rgba(11,11,11,.96);
  --aht-glass: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.018));
}

/* Keep hero title locked to prototype colors */
#aht-taxi-insights.aht-ti-v13 .aht-v13-title-white,
#aht-taxi-insights.aht-ti-v13 .aht-v13-title-white * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: transparent !important;
  background-image: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-title-yellow,
#aht-taxi-insights.aht-ti-v13 .aht-v13-title-yellow * {
  color: #ffc91f !important;
  -webkit-text-fill-color: #ffc91f !important;
  background: transparent !important;
  background-image: none !important;
  text-shadow: 0 7px 28px rgba(255,201,31,.18), 0 8px 28px rgba(0,0,0,.68) !important;
}

/* Main story-card reliability rebuild */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
  gap: 14px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card {
  min-width: 0 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-large {
  grid-row: span 2 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link {
  display: flex !important;
  flex-direction: column !important;
  min-height: 244px !important;
  height: 100% !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018)), rgba(10,10,10,.96) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 18px 36px rgba(0,0,0,.34) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  isolation: auto !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-link {
  min-height: 502px !important;
}

/* Disable previous overlay blanket on story cards only */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link::before {
  display: none !important;
  content: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link::after {
  z-index: 5 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(255,201,31,.12) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media {
  position: relative !important;
  inset: auto !important;
  z-index: 0 !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: 144px !important;
  min-height: 144px !important;
  max-height: none !important;
  display: block !important;
  overflow: hidden !important;
  background: #111 !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-link > .aht-v13-media {
  height: 318px !important;
  min-height: 318px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: saturate(1.12) contrast(1.08) brightness(.98) !important;
  transform: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover > .aht-v13-media img {
  transform: scale(1.035) !important;
  transition: transform .45s ease !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy {
  position: relative !important;
  z-index: 2 !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 18px 20px 20px !important;
  max-width: none !important;
  background: linear-gradient(180deg, rgba(24,24,24,.94), rgba(6,6,6,.98)) !important;
  text-shadow: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy {
  padding: 22px 24px 24px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy .aht-v13-pill {
  margin-bottom: 8px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy h3 {
  margin: 0 0 8px !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 22px !important;
  line-height: 1.03 !important;
  letter-spacing: -.04em !important;
  font-weight: 950 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy h3 {
  font-size: 31px !important;
  max-width: 590px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy p {
  margin: 0 0 10px !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy small {
  margin-top: auto !important;
  color: rgba(255,255,255,.70) !important;
}

/* Tone down hero/analysis overlays so images stay visible */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::before {
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.48) 44%, rgba(0,0,0,.16) 70%, rgba(0,0,0,.36) 100%),
              linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.24) 58%, rgba(0,0,0,.65) 100%) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-carousel a::before {
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.76) 100%),
              linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.08) 58%, rgba(0,0,0,.30) 100%) !important;
}

/* Cleaner Market Index style panels */
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box,
#aht-taxi-insights.aht-ti-v13 .aht-v13-metric,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hotspots,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018)), rgba(12,12,12,.94) !important;
  border-color: rgba(255,255,255,.13) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-metric::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts::before {
  opacity: .14 !important;
}

/* Mobile: force image-first cards */
@media (max-width: 860px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-grid {
    grid-template-columns: 1fr !important;
  }
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large {
    grid-row: auto !important;
  }
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-link {
    min-height: 0 !important;
  }
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-link > .aht-v13-media {
    height: 210px !important;
    min-height: 210px !important;
  }
}

@media (max-width: 520px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-link > .aht-v13-media {
    height: 174px !important;
    min-height: 174px !important;
  }
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy h3,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy h3 {
    font-size: 24px !important;
  }
}


/* =========================================================
   V13 FINAL TUNING
   Purpose:
   - Match the darker Taxi Market Index black-glass feel.
   - Reduce over-bright yellow buttons.
   - Darken light card backgrounds.
   - Remove unused market/hotspot sections if any cached HTML remains.
   ========================================================= */
#aht-taxi-insights.aht-ti-v13 {
  --aht-yellow: #dfbf4a;
  --aht-yellow-muted: #d9a400;
  --aht-yellow-dim: rgba(255,201,31,.72);
  --aht-panel: rgba(6,6,6,.96);
  --aht-panel-strong: rgba(3,3,3,.985);
  --aht-glass: linear-gradient(180deg, rgba(255,255,255,.042), rgba(255,255,255,.008));
  --aht-border: rgba(255,255,255,.105);
  --aht-border-soft: rgba(255,255,255,.075);
  --aht-border-yellow: rgba(255,201,31,.36);
}

/* safety removal if old HTML is cached */
#aht-taxi-insights.aht-ti-v13 .aht-v13-market,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hotspots {
  display: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts {
  background: linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.010)), rgba(5,5,5,.965) !important;
  border-color: rgba(255,255,255,.105) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 18px 44px rgba(0,0,0,.52) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts {
  background: linear-gradient(180deg, rgba(255,255,255,.048), rgba(255,255,255,.012)), rgba(7,7,7,.96) !important;
}

/* Remove broad yellow / light wash from panels */
#aht-taxi-insights.aht-ti-v13 .aht-v13-metric::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts::before {
  opacity: .06 !important;
  background: radial-gradient(circle at 18% 0%, rgba(255,255,255,.06), transparent 32%) !important;
}

/* More restrained premium yellow buttons */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature em {
  background: linear-gradient(180deg, rgba(255,201,31,.88), rgba(197,139,0,.82)) !important;
  color: #080808 !important;
  -webkit-text-fill-color: #080808 !important;
  border: 1px solid rgba(255,201,31,.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    0 0 0 1px rgba(0,0,0,.42),
    0 8px 18px rgba(255,201,31,.12) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-map-controls a {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.82)), rgba(4,4,4,.92) !important;
  border: 1px solid rgba(255,201,31,.38) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 8px 18px rgba(0,0,0,.32) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em:hover {
  border-color: rgba(255,201,31,.58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 18px rgba(255,201,31,.10) !important;
}

/* Topic tabs, less light and less buttony */
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), rgba(5,5,5,.94) !important;
  border-color: rgba(255,255,255,.11) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
}
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
  background: linear-gradient(180deg, rgba(255,201,31,.075), rgba(255,255,255,.012)), rgba(6,6,6,.96) !important;
  border-color: rgba(255,201,31,.42) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 14px rgba(255,201,31,.055) !important;
}

/* Keep images visible but less golden/washed */
#aht-taxi-insights.aht-ti-v13 .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-thumb img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-carousel figure img {
  filter: saturate(1.0) contrast(1.03) brightness(.96) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy {
  background: linear-gradient(180deg, rgba(11,11,11,.94), rgba(3,3,3,.985)) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-carousel a {
  border-color: rgba(255,255,255,.10) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-pill {
  color: #f4c034 !important;
  -webkit-text-fill-color: #f4c034 !important;
  background: rgba(0,0,0,.58) !important;
  border-color: rgba(255,201,31,.30) !important;
  box-shadow: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-icon {
  background: rgba(255,201,31,.055) !important;
  border-color: rgba(255,201,31,.30) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form input {
  background: rgba(0,0,0,.76) !important;
  border-color: rgba(255,255,255,.13) !important;
}

/* Since Market Signals and Hotspots are removed, tighten the lower page spacing. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis {
  margin-top: 38px !important;
}


#aht-taxi-insights .aht-v13-hero-copy h1 span {
  display: block;
}

#aht-taxi-insights .aht-v13-section-head h2,
#aht-taxi-insights .aht-v13-side-head h2,
#aht-taxi-insights .aht-v13-alert-copy h2 {
  line-height: 1.02 !important;
  letter-spacing: -.04em !important;
}

#aht-taxi-insights .aht-v13-story-copy h3,
#aht-taxi-insights .aht-v13-analysis-feature h3,
#aht-taxi-insights .aht-v13-ranked a,
#aht-taxi-insights .aht-v13-update b {
  text-wrap: balance;
}

/* Polished latest-updates rental symbol */
#aht-taxi-insights .aht-v13-update-chart {
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}

#aht-taxi-insights .aht-v13-update-chart::before {
  display: none !important;
}

#aht-taxi-insights .aht-v13-update-chart svg {
  display: block;
  width: 72px;
  height: 54px;
}

/* Softer premium cards */
#aht-taxi-insights .aht-v13-side-box,
#aht-taxi-insights .aht-v13-feature-links a,
#aht-taxi-insights .aht-v13-alerts,
#aht-taxi-insights .aht-v13-topics button {
  background: var(--aht-glass), rgba(7,7,7,.96) !important;
}

#aht-taxi-insights .aht-v13-feature-links a {
  min-height: 134px;
}

#aht-taxi-insights .aht-v13-feature-links em,
#aht-taxi-insights .aht-v13-outline-btn,
#aht-taxi-insights .aht-v13-map-controls a {
  background: rgba(8,8,8,.90) !important;
  border-color: rgba(223,191,74,.38) !important;
}

#aht-taxi-insights .aht-v13-alert-form button,
#aht-taxi-insights .aht-v13-hero-actions span,
#aht-taxi-insights .aht-v13-analysis-feature em {
  background: linear-gradient(180deg, #dfbe4b 0%, #d0a526 100%) !important;
}

#aht-taxi-insights .aht-v13-ranked li {
  align-items: center;
  padding: 4px 0;
}

#aht-taxi-insights .aht-v13-ranked a {
  display: block;
  padding: 8px 10px;
  background: rgba(255,255,255,.03);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.06);
}


/* ===== V15 button refinement ===== */
#aht-taxi-insights.aht-ti-v13 {
  --aht-premium-gold-1: #e0c152;
  --aht-premium-gold-2: #cda228;
  --aht-premium-gold-border: rgba(240,210,110,.34);
}

/* Solid premium gold buttons, closer to Market Index */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature em {
  background: linear-gradient(180deg, var(--aht-premium-gold-1) 0%, var(--aht-premium-gold-2) 100%) !important;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
  border: 1px solid var(--aht-premium-gold-border) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 22px rgba(0,0,0,.18) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature em:hover {
  background: linear-gradient(180deg, #e5c85c 0%, #d2a82e 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 12px 24px rgba(0,0,0,.18) !important;
}

/* Outline CTA buttons, quieter gold border */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em {
  background: linear-gradient(180deg, rgba(12,12,12,.92), rgba(5,5,5,.96)) !important;
  border: 1px solid rgba(214,173,48,.42) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 18px rgba(0,0,0,.28) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em:hover {
  border-color: rgba(224,193,82,.55) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 22px rgba(0,0,0,.30) !important;
}

/* Most Read numbers should match the muted premium gold */
#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li::before {
  width: 32px !important;
  height: 32px !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, var(--aht-premium-gold-1) 0%, var(--aht-premium-gold-2) 100%) !important;
  border: 1px solid rgba(246,221,136,.20) !important;
  color: #111 !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 12px rgba(0,0,0,.18) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li {
  grid-template-columns: 32px 1fr !important;
  gap: 12px !important;
  align-items: center !important;
}

/* Most Read strips align more like the reference */
#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked a {
  min-height: 48px;
  display: flex !important;
  align-items: center !important;
  padding: 8px 14px !important;
  background: rgba(255,255,255,.025) !important;
  border: 1px solid rgba(255,255,255,.05) !important;
  border-radius: 0 !important;
}

/* Rental Rates icon sizing / polish */
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg {
  width: 82px !important;
  height: 62px !important;
}

/* Gold topic numbers in top filter should be quieter */
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button span {
  color: #d7b240 !important;
}


/* ===== V16 FINAL RESET: default width + Taxi Market Index yellow/button system ===== */

/* Back to the default/non-full-width layout */
#aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
  width: min(1180px, calc(100vw - 32px)) !important;
  max-width: 1180px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-grid {
  grid-template-columns: minmax(0, 1fr) 360px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-content-grid {
  grid-template-columns: minmax(0, 1fr) 330px !important;
}

/* Match Taxi Market Index yellow system */
#aht-taxi-insights.aht-ti-v13 {
  --aht-yellow: #ffc91f !important;
  --aht-yellow-deep: #e5ad00 !important;
  --aht-premium-gold-1: #ffc91f !important;
  --aht-premium-gold-2: #ffc91f !important;
  --aht-premium-gold-border: rgba(255,201,31,.90) !important;
  --aht-border-yellow: rgba(255,201,31,.54) !important;
}

/* Filled buttons exactly follow the Taxi Market Index yellow look */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature em {
  background: #ffc91f !important;
  background-image: none !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border: 1px solid #ffc91f !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature em:hover {
  background: #ffd84a !important;
  border-color: #ffd84a !important;
  box-shadow: none !important;
}

/* Dark outline buttons match Market Index outline treatment */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em {
  background: #050505 !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 1px solid rgba(255,201,31,.70) !important;
  box-shadow: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em:hover {
  border-color: #ffc91f !important;
  background: #0a0a0a !important;
  box-shadow: none !important;
}

/* Most Read badges now use the exact Market Index yellow */
#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li::before {
  background: #ffc91f !important;
  background-image: none !important;
  border: 1px solid #ffc91f !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  box-shadow: none !important;
}

/* All small yellow labels/icons/lines back to Market Index yellow */
#aht-taxi-insights.aht-ti-v13 .aht-v13-title-yellow,
#aht-taxi-insights.aht-ti-v13 .aht-v13-kicker,
#aht-taxi-insights.aht-ti-v13 .aht-v13-section-kicker,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-carousel span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-pill {
  color: #ffc91f !important;
  -webkit-text-fill-color: #ffc91f !important;
}

/* Pills should not look like dull gold buttons */
#aht-taxi-insights.aht-ti-v13 .aht-v13-pill {
  background: rgba(0,0,0,.66) !important;
  border: 1px solid rgba(255,201,31,.42) !important;
  box-shadow: none !important;
}

/* Topic active state */
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
  border-color: rgba(255,201,31,.70) !important;
  background: linear-gradient(180deg, rgba(255,201,31,.09), rgba(255,255,255,.01)), rgba(5,5,5,.96) !important;
  box-shadow: none !important;
}

/* Rental rates update icon lines use same yellow */
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg rect[fill],
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg rect:first-child {
  fill: #090909 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg rect:not(:first-child),
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg circle {
  fill: #ffc91f !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg path[stroke="#e1c252"],
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg path[stroke="#dfbf4a"],
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg path[stroke="#cfa52a"] {
  stroke: #ffc91f !important;
}

/* Keep panel tone dark and premium */
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.010)), rgba(7,7,7,.96) !important;
}

/* Responsive keeps default scale, not the rejected full-width look */
@media (max-width: 1180px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
    width: min(1000px, calc(100vw - 28px)) !important;
    max-width: 1000px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-grid,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-content-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 860px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
    width: min(100%, calc(100vw - 20px)) !important;
    max-width: none !important;
  }
}


/* ===== V17: full-image card display + interactions + remove Featured Analysis spacing ===== */

/* Remove Featured Analysis section if old HTML remains cached */
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis {
  display: none !important;
}

/* After removing Featured Analysis, keep newsletter spacing premium */
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts {
  margin-top: 38px !important;
}

/*
  Full image solution:
  - Editorial/news sites either crop with object-fit: cover for equal cards, or show full images with object-fit: contain and a controlled media ratio.
  - For your image-heavy cards, use contain so the entire article graphic is visible, then keep the text in a separate black-glass copy area.
*/
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-carousel a,
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-thumb {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.010)), #050505 !important;
}

/* Main article cards: visible full image area */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  background: #050505 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media img {
  object-fit: contain !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  filter: saturate(1.04) contrast(1.03) brightness(.98) !important;
}

/* Text stays below the media, so no headline covers the image */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy {
  position: relative !important;
  z-index: 2 !important;
  min-height: 184px !important;
  padding: 22px 24px !important;
  background: linear-gradient(180deg, rgba(10,10,10,.96), rgba(3,3,3,.985)) !important;
  text-shadow: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-link {
  min-height: 0 !important;
  height: auto !important;
}

/* Big first card gets a slightly taller media panel but still shows the full image */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-link > .aht-v13-media {
  aspect-ratio: 16 / 10 !important;
}

/* Remove old absolute-card overlays on story cards */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link::before {
  display: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link::after {
  border-color: rgba(255,255,255,.10) !important;
}

/* Rail cards: make all article graphics less cropped */
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card .aht-v13-media img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #050505 !important;
}

/* Carousel cards, if any remain cached, show full graphic */
#aht-taxi-insights.aht-ti-v13 .aht-v13-carousel figure img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #050505 !important;
}

/* Latest update thumbnails should not crop article graphics */
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-thumb img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #050505 !important;
}

/* Hover animations for topic tabs */
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease,
    color .22s ease !important;
  will-change: transform;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:focus-visible {
  transform: translateY(-3px);
  border-color: #ffc91f !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.30), 0 0 0 1px rgba(255,201,31,.18) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
  transform: translateY(-2px);
}

/* Hover animations for Latest Updates rows */
#aht-taxi-insights.aht-ti-v13 .aht-v13-update {
  position: relative;
  transition: transform .22s ease, background .22s ease, border-color .22s ease !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-update::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: #ffc91f;
  opacity: 0;
  transform: scaleY(.35);
  transition: opacity .22s ease, transform .22s ease;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-update:hover {
  transform: translateX(5px);
  background: rgba(255,255,255,.025) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-update:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-update:hover .aht-v13-update-thumb img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-update:hover .aht-v13-update-chart svg {
  transform: scale(1.04);
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-update-thumb img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg {
  transition: transform .26s ease;
}

/* Hover animations for Most Read list */
#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li {
  transition: transform .22s ease;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li::before {
  transition: transform .22s ease, background .22s ease;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked a {
  transition: border-color .22s ease, background .22s ease, transform .22s ease !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li:hover {
  transform: translateX(5px);
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li:hover::before {
  transform: scale(1.06);
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li:hover a {
  border-color: rgba(255,201,31,.38) !important;
  background: rgba(255,201,31,.045) !important;
}

/* Hover animations for story cards */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link {
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover {
  transform: translateY(-4px);
  border-color: rgba(255,201,31,.46) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 18px 42px rgba(0,0,0,.44) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover > .aht-v13-media img {
  transform: scale(1.025) translateZ(0);
}

/* Filter selection animation */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card.is-filtered-in {
  animation: ahtV17FilterIn .34s ease both;
}

@keyframes ahtV17FilterIn {
  from { opacity: .22; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-update,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-card.is-filtered-in {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}


/* ===== V18: no card gaps + fill article images + restore feature links ===== */

/* Restore the feature-link strip without restoring the old Featured Analysis carousel */
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-strip {
  margin-top: 34px !important;
}

/* Keep the old Featured Analysis module hidden if cached, but allow feature links outside it */
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis {
  display: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-strip .aht-v13-feature-links {
  margin-top: 0 !important;
}

/* Remove the large masonry-style gaps by making the story grid a clean, packed two-column grid. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-large {
  grid-row: auto !important;
}

/* Make every article card the same structural system so rows stay tight. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link {
  height: 100% !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.010)), #050505 !important;
}

/* Images now fill the visual media area with no black bars/gaps. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  background: #050505 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  overflow: hidden !important;
}

/* Use cover to fill the card, like premium news sites do. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-thumb img {
  object-fit: cover !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  background: #050505 !important;
}

/* Slightly lower images where the important design sits lower in frame. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card[data-aht-topics*="rentals"] .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card[data-aht-topics*="advertising"] .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card[data-aht-topics*="market"] .aht-v13-media img {
  object-position: center 58% !important;
}

/* Keep text below image but reduce empty vertical dead space. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy {
  flex: 1 1 auto !important;
  min-height: 198px !important;
  padding: 22px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  background: linear-gradient(180deg, rgba(10,10,10,.96), rgba(3,3,3,.985)) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy h3 {
  font-size: 24px !important;
  line-height: 1.02 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy h3 {
  font-size: 30px !important;
  line-height: .98 !important;
}

/* No absolute overlay on story cards. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link::before {
  display: none !important;
}

/* Feature-link cards match restored section screenshot. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a {
  min-height: 128px !important;
}

/* Alerts spacing after restored feature links. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts {
  margin-top: 26px !important;
}

/* Interactive hover on restored feature cards. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a {
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a:hover {
  transform: translateY(-4px);
  border-color: rgba(255,201,31,.52) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 34px rgba(0,0,0,.38) !important;
}

@media (max-width: 860px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-grid,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links {
    grid-template-columns: 1fr !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy {
    min-height: 170px !important;
  }
}


/* ===== V19: mobile compact optimization ===== */

@media (hover: none) and (pointer: coarse) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-update:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update::before {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #aht-taxi-insights.aht-ti-v13 {
    padding-top: 20px !important;
    padding-bottom: 52px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
    width: calc(100vw - 24px) !important;
    max-width: none !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-grid,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-content-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card {
    min-height: 580px !important;
    border-radius: 24px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::before {
    background:
      linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.48) 48%, rgba(0,0,0,.18) 100%),
      linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.34) 46%, rgba(0,0,0,.80) 100%) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-media img {
    object-position: center center !important;
    filter: saturate(1.04) contrast(1.04) brightness(.92) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    width: 100% !important;
    padding: 48px 24px 26px !important;
    justify-content: flex-end !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-kicker {
    margin-bottom: 9px !important;
    font-size: 13px !important;
    letter-spacing: .33em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    margin-bottom: 14px !important;
    font-size: clamp(66px, 19vw, 88px) !important;
    line-height: .82 !important;
    letter-spacing: -.06em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    max-width: 340px !important;
    margin-bottom: 16px !important;
    font-size: 22px !important;
    line-height: 1.22 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points {
    gap: 8px !important;
    margin-bottom: 18px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points span {
    padding: 8px 12px !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions {
    gap: 10px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
    width: 100% !important;
    min-height: 50px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    letter-spacing: .10em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-rail {
    gap: 10px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card {
    min-height: 128px !important;
    border-radius: 18px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-copy {
    padding: 18px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-copy strong {
    font-size: 21px !important;
    line-height: 1.02 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-copy small {
    font-size: 14px !important;
    line-height: 1.18 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 10px !important;
    padding: 0 1px 10px !important;
    margin-top: 16px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics::-webkit-scrollbar {
    display: none;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
    flex: 0 0 auto !important;
    min-width: 148px !important;
    min-height: 54px !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    scroll-snap-align: start;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button span {
    font-size: 13px !important;
    margin-right: 6px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
    background:
      linear-gradient(180deg, rgba(255,201,31,.20), rgba(255,201,31,.045)),
      rgba(5,5,5,.97) !important;
    border-color: #ffc91f !important;
    box-shadow: inset 0 0 0 1px rgba(255,201,31,.42), 0 0 18px rgba(255,201,31,.10) !important;
    color: #fff !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-section-head {
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-section-kicker {
    font-size: 13px !important;
    letter-spacing: .31em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-section-head h2 {
    font-size: 40px !important;
    line-height: .94 !important;
    letter-spacing: -.055em !important;
  }

  #aht-taxi-insights.aht-ti-v13 #aht-v13-filter-status {
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin-top: 6px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link {
    border-radius: 18px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media {
    aspect-ratio: 16 / 9 !important;
    border-bottom-color: rgba(255,255,255,.08) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media img {
    object-fit: cover !important;
    object-position: center center !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy {
    min-height: 156px !important;
    padding: 17px 18px 18px !important;
    justify-content: flex-start !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy .aht-v13-pill {
    margin-bottom: 10px !important;
    font-size: 10px !important;
    letter-spacing: .15em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy h3,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy h3 {
    max-width: 100% !important;
    margin-bottom: 8px !important;
    font-size: 28px !important;
    line-height: 1.02 !important;
    letter-spacing: -.045em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy p {
    margin-bottom: 12px !important;
    font-size: 16px !important;
    line-height: 1.24 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy small {
    margin-top: auto !important;
    font-size: 13px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-button-row {
    margin: 22px 0 28px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn {
    min-height: 48px !important;
    padding: 0 22px !important;
    font-size: 13px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-sidebar {
    gap: 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-box {
    border-radius: 22px !important;
    padding: 22px 18px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-head {
    margin-bottom: 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-head h2 {
    font-size: 38px !important;
    line-height: .96 !important;
    letter-spacing: -.055em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-head a {
    font-size: 13px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update {
    grid-template-columns: 76px 1fr !important;
    gap: 12px !important;
    min-height: 82px !important;
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    background: transparent !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update:first-of-type {
    border-top: 0 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update-thumb,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart {
    width: 76px !important;
    height: 56px !important;
    border-radius: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg {
    width: 76px !important;
    height: 56px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update b {
    font-size: 17px !important;
    line-height: 1.08 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update small {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked {
    gap: 10px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li {
    grid-template-columns: 46px 1fr !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li::before {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    font-size: 21px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked a {
    min-height: 58px !important;
    padding: 10px 12px !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-trends {
    gap: 9px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-trends a {
    padding: 10px 12px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-feature-strip {
    margin-top: 22px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a {
    min-height: 144px !important;
    border-radius: 22px !important;
    padding: 24px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links span {
    font-size: 13px !important;
    letter-spacing: .18em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links strong {
    font-size: 30px !important;
    line-height: 1.02 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em {
    min-height: 40px !important;
    padding: 0 16px !important;
    font-size: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alerts {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 20px !important;
    padding: 26px 22px !important;
    border-radius: 24px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-icon {
    width: 70px !important;
    height: 70px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy h2 {
    font-size: 38px !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy p {
    font-size: 17px !important;
    line-height: 1.22 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy div {
    gap: 8px 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy div span {
    font-size: 13px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form {
    max-width: none !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    border: 0 !important;
    background: transparent !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form input,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button {
    min-height: 52px !important;
    width: 100% !important;
    border-radius: 999px !important;
    font-size: 15px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form input {
    border: 1px solid rgba(255,255,255,.13) !important;
    padding: 0 18px !important;
  }
}

@media (max-width: 390px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card {
    min-height: 548px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    padding: 42px 20px 24px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    font-size: clamp(58px, 18vw, 76px) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    font-size: 20px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy h3,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy h3 {
    font-size: 26px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-head h2 {
    font-size: 34px !important;
  }
}


/* ===== V20: structural cleanup, bigger desktop, compact mobile, no empty cards ===== */

/* Desktop should be wider, but still premium-centered, not true full width */
@media (min-width: 1181px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
    width: min(1360px, calc(100vw - 72px)) !important;
    max-width: 1360px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-grid {
    grid-template-columns: minmax(0, 1fr) 390px !important;
    gap: 22px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-content-grid {
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 26px !important;
  }
}

/* Remove no-longer-used sections even if old HTML/cache remains */
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-strip,
#aht-taxi-insights.aht-ti-v13 .aht-v13-trends {
  display: none !important;
}

/* Make article cards stop stretching into large empty black areas */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-grid {
  align-items: start !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card {
  align-self: start !important;
  height: auto !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link {
  height: auto !important;
  min-height: 0 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy {
  min-height: 0 !important;
  height: auto !important;
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
  padding: 22px 24px 24px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy small {
  margin-top: 14px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media {
  aspect-ratio: 16 / 9 !important;
}

/* Slightly reduce desktop card copy so cards stay tight */
@media (min-width: 768px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy h3 {
    font-size: 25px !important;
    line-height: 1.02 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy h3 {
    font-size: 30px !important;
    line-height: 1 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy p {
    margin-bottom: 0 !important;
  }
}

/* Bottom email signup replaces the removed Trending Topics / external link clutter */
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts {
  margin-top: 42px !important;
}

/* Keep all Taxi Insights rules scoped to this page wrapper. */
#aht-taxi-insights,
#aht-taxi-insights * {
  box-sizing: border-box;
}

/* Mobile menu/header styling is handled only by the V30 PHP snippet to avoid theme-menu conflicts. */

/* Stronger mobile compact pass */
@media (max-width: 767px) {
  #aht-taxi-insights.aht-ti-v13 {
    padding-top: 14px !important;
    padding-bottom: 42px !important;
    overflow-x: hidden !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
    width: calc(100vw - 22px) !important;
    max-width: none !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-grid,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-content-grid {
    gap: 12px !important;
  }

  /* Hero, more compact */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card {
    min-height: 500px !important;
    border-radius: 22px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    padding: 34px 22px 22px !important;
    justify-content: flex-end !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    font-size: clamp(54px, 17vw, 72px) !important;
    line-height: .82 !important;
    margin-bottom: 12px !important;
    letter-spacing: -.06em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-kicker {
    font-size: 12px !important;
    letter-spacing: .30em !important;
    margin-bottom: 8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    max-width: 315px !important;
    font-size: 18px !important;
    line-height: 1.22 !important;
    margin-bottom: 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points {
    display: flex !important;
    gap: 7px !important;
    margin-bottom: 16px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points span {
    width: auto !important;
    max-width: 100% !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: normal !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    letter-spacing: .08em !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  /* Rail cards, compact */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card {
    min-height: 112px !important;
    border-radius: 18px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-copy {
    padding: 16px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-copy strong {
    font-size: 20px !important;
    line-height: 1.02 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-copy small {
    font-size: 13px !important;
    line-height: 1.12 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-copy em {
    font-size: 12px !important;
  }

  /* Tabs, compact with clear selected state */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics {
    gap: 9px !important;
    margin-top: 12px !important;
    padding-bottom: 8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
    min-width: 132px !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
    background: linear-gradient(180deg, rgba(255,201,31,.24), rgba(255,201,31,.05)), #070707 !important;
    border-color: #ffc91f !important;
    box-shadow: inset 0 0 0 1px rgba(255,201,31,.50), 0 0 16px rgba(255,201,31,.12) !important;
  }

  /* Section title, smaller */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-section-head {
    margin-top: 18px !important;
    margin-bottom: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-section-kicker {
    font-size: 12px !important;
    letter-spacing: .30em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-section-head h2 {
    font-size: 34px !important;
    line-height: .96 !important;
  }

  #aht-taxi-insights.aht-ti-v13 #aht-v13-filter-status {
    font-size: 14px !important;
    line-height: 1.18 !important;
  }

  /* Article cards, no huge text block */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-grid {
    gap: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link {
    border-radius: 17px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media {
    aspect-ratio: 16 / 9 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy {
    min-height: 0 !important;
    padding: 15px 16px 17px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy h3,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy h3 {
    font-size: 25px !important;
    line-height: 1.02 !important;
    margin-bottom: 7px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy p {
    font-size: 14px !important;
    line-height: 1.22 !important;
    margin-bottom: 8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy small {
    font-size: 12px !important;
    margin-top: 8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-button-row {
    margin: 20px 0 22px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn {
    max-width: 280px !important;
    min-height: 46px !important;
    padding: 0 20px !important;
    font-size: 12px !important;
  }

  /* Sidebar blocks, compact and not oversized */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-box {
    padding: 18px 16px !important;
    border-radius: 20px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-head h2 {
    font-size: 32px !important;
    line-height: .98 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-head a {
    font-size: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update {
    grid-template-columns: 66px 1fr !important;
    gap: 10px !important;
    min-height: 70px !important;
    padding: 9px 0 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update-thumb,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart {
    width: 66px !important;
    height: 48px !important;
    border-radius: 10px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update-chart svg {
    width: 66px !important;
    height: 48px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update b {
    font-size: 15px !important;
    line-height: 1.06 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-update small {
    font-size: 12px !important;
    line-height: 1.06 !important;
  }

  /* Most Read compact */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked {
    gap: 8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li {
    grid-template-columns: 38px 1fr !important;
    gap: 9px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li::before {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    font-size: 18px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked a {
    min-height: 48px !important;
    padding: 9px 10px !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
  }

  /* Email signup replaces lower clutter and is compact */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-alerts {
    margin-top: 18px !important;
    padding: 22px 18px !important;
    border-radius: 22px !important;
    gap: 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-icon {
    width: 56px !important;
    height: 56px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy h2 {
    font-size: 32px !important;
    line-height: .98 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy p {
    font-size: 15px !important;
    line-height: 1.24 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy div {
    gap: 7px 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy div span {
    font-size: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    background: transparent !important;
    border: 0 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form input,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 390px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card {
    min-height: 480px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    padding: 30px 18px 20px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    font-size: clamp(50px, 16.5vw, 66px) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    font-size: 17px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy h3,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-copy h3 {
    font-size: 23px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-head h2 {
    font-size: 30px !important;
  }
}


/* ===== V21: muted V19 buttons + compact sidebar email signup under Most Read ===== */

/* Old full-width bottom signup is removed from V21 HTML. Hide it if old page HTML is cached. */
#aht-taxi-insights.aht-ti-v13 > .aht-v13-shell > .aht-v13-alerts {
  display: none !important;
}

/* Restore V19 muted gold button look, not bright yellow. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button {
  background: linear-gradient(180deg, #e1c252 0%, #d5ac2b 100%) !important;
  border: 1px solid rgba(255,235,170,.20) !important;
  color: #000 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 10px 24px rgba(0,0,0,.20) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn {
  background: rgba(6,6,6,.82) !important;
  border: 1px solid rgba(223,191,74,.44) !important;
  color: #fff !important;
}

/* Sidebar signup replaces Trending Topics and sits directly under Most Read. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup {
  display: grid !important;
  gap: 14px !important;
  padding: 22px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-top {
  display: grid !important;
  grid-template-columns: 54px 1fr !important;
  gap: 14px !important;
  align-items: center !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon {
  width: 54px !important;
  height: 54px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 15px !important;
  color: #e1c252 !important;
  background: rgba(223,191,74,.075) !important;
  border: 1px solid rgba(223,191,74,.28) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon svg {
  width: 31px !important;
  height: 31px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup h2 {
  margin: 0 0 4px !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 950 !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup p {
  margin: 0 !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 9px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form input[type="email"] {
  width: 100% !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #030303 !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  outline: none !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button {
  width: 100% !important;
  min-height: 42px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button:disabled {
  opacity: .62 !important;
  cursor: wait !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form [role="status"] {
  min-height: 15px !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px 12px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points span {
  position: relative !important;
  padding-left: 11px !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 10.5px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points span::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 5px !important;
  height: 5px !important;
  transform: translateY(-50%) !important;
  border-radius: 999px !important;
  background: #d5ac2b !important;
}

/* Mobile compact signup. */
@media (max-width: 767px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup {
    padding: 18px 16px !important;
    gap: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-top {
    grid-template-columns: 44px 1fr !important;
    gap: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 13px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon svg {
    width: 25px !important;
    height: 25px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup h2 {
    font-size: 24px !important;
    letter-spacing: -.04em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup p {
    font-size: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form input[type="email"],
  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button {
    min-height: 42px !important;
    font-size: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points {
    gap: 7px 10px !important;
  }
}


/* ===== V22: restore original brighter taxi-yellow buttons + premium signup language layout ===== */

/* Kill the old full-width bottom email bar if older HTML is cached. */
#aht-taxi-insights .aht-v13-alerts {
  display: none !important;
}

/* Original-style bright taxi yellow, replacing V21 muddy gold. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button {
  background: linear-gradient(180deg, #ffd84a 0%, #ffc91f 42%, #f3b900 100%) !important;
  border: 1px solid rgba(255,229,126,.92) !important;
  color: #090909 !important;
  text-shadow: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -1px 0 rgba(0,0,0,.10),
    0 10px 24px rgba(255,201,31,.18) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button:hover {
  background: linear-gradient(180deg, #ffe06b 0%, #ffc91f 48%, #f1b600 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.40),
    0 14px 30px rgba(255,201,31,.22) !important;
}

/* Keep secondary/outline buttons premium black with gold border. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em {
  background: rgba(5,5,5,.84) !important;
  border: 1px solid rgba(255,201,31,.55) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 22px rgba(0,0,0,.18) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em:hover {
  border-color: rgba(255,201,31,.82) !important;
  background: rgba(12,12,12,.92) !important;
}

/* Compact, premium sidebar email module. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup {
  padding: 20px !important;
  gap: 13px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-top {
  grid-template-columns: 48px 1fr !important;
  gap: 13px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  color: #ffc91f !important;
  background: rgba(255,201,31,.075) !important;
  border: 1px solid rgba(255,201,31,.34) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon svg {
  width: 28px !important;
  height: 28px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup h2 {
  font-size: 23px !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
  margin: 0 0 5px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup p {
  max-width: 30em !important;
  font-size: 12.5px !important;
  line-height: 1.25 !important;
  color: rgba(255,255,255,.82) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form {
  gap: 8px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form input[type="email"] {
  min-height: 40px !important;
  border-color: rgba(255,255,255,.16) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button {
  min-height: 40px !important;
  font-size: 11.5px !important;
  letter-spacing: .075em !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points {
  gap: 7px 10px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points span {
  font-size: 10px !important;
  color: rgba(255,255,255,.76) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points span::before {
  background: #ffc91f !important;
  box-shadow: 0 0 10px rgba(255,201,31,.35) !important;
}

@media (max-width: 767px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button {
    background: linear-gradient(180deg, #ffd84a 0%, #ffc91f 45%, #f3b900 100%) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup {
    padding: 16px !important;
    gap: 11px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-top {
    grid-template-columns: 40px 1fr !important;
    gap: 11px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon svg {
    width: 23px !important;
    height: 23px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup h2 {
    font-size: 22px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup p {
    font-size: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form input[type="email"],
  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button {
    min-height: 40px !important;
  }
}


/* ======================================================================
   V23 FINAL OVERRIDES
   Purpose:
   - Match Taxi Market Index button language: solid taxi yellow, black text,
     compact radius, no pale glossy gradient.
   - Make compact sidebar signup tighter and more premium.
   - Fix clipped mobile topic-tab active outlines with inset borders.
   ====================================================================== */

#aht-taxi-insights.aht-ti-v13 {
  --aht-v23-yellow: #ffc91f !important;
  --aht-v23-yellow-hover: #ffd232 !important;
  --aht-v23-yellow-dark: #d6a900 !important;
  --aht-v23-black: #050505 !important;
}

/* Hide any legacy bottom signup if old HTML is cached. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts,
#aht-taxi-insights .aht-v13-alerts {
  display: none !important;
}

/* Primary yellow CTA system, flatter like Taxi Market Index. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button {
  background: #ffc91f !important;
  background-image: none !important;
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  border: 1px solid #ffc91f !important;
  border-radius: 7px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 8px 18px rgba(0,0,0,.26) !important;
  text-shadow: none !important;
  filter: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span:focus-visible,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button:focus-visible,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button:focus-visible {
  background: #ffd232 !important;
  background-image: none !important;
  border-color: #ffd232 !important;
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    0 10px 20px rgba(0,0,0,.30) !important;
  transform: translateY(-1px) !important;
}

/* Secondary outline CTA system, black glass with controlled gold edge. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em {
  background: rgba(5,5,5,.92) !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid rgba(255,201,31,.58) !important;
  border-radius: 999px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 8px 18px rgba(0,0,0,.26) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em:hover {
  border-color: rgba(255,201,31,.86) !important;
  background: rgba(12,12,12,.96) !important;
}

/* Hero button dimensions, desktop. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
  min-height: 38px !important;
  padding: 0 18px !important;
  font-size: 11px !important;
  letter-spacing: .06em !important;
}

/* Compact signup under Most Read. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup {
  padding: 18px !important;
  gap: 12px !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,201,31,.055), transparent 42%),
    linear-gradient(180deg, rgba(21,21,21,.96), rgba(8,8,8,.98)) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-top {
  display: grid !important;
  grid-template-columns: 46px 1fr !important;
  gap: 12px !important;
  align-items: center !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 13px !important;
  color: #ffc91f !important;
  background: rgba(255,201,31,.065) !important;
  border: 1px solid rgba(255,201,31,.28) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup h2 {
  font-size: 22px !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
  margin: 0 0 5px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup p {
  font-size: 12.25px !important;
  line-height: 1.27 !important;
  max-width: 34em !important;
  color: rgba(255,255,255,.82) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form input[type="email"] {
  height: 38px !important;
  min-height: 38px !important;
  border-radius: 999px !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  background: #020202 !important;
  border: 1px solid rgba(255,255,255,.16) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
  border-radius: 7px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points {
  gap: 6px 10px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points span {
  font-size: 9.75px !important;
  line-height: 1.15 !important;
}

/* Desktop topic tabs, compact and not over-glowing. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics {
  overflow-y: hidden !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
  position: relative !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
  border-color: transparent !important;
  background:
    linear-gradient(180deg, rgba(255,201,31,.11), rgba(255,201,31,.035)),
    rgba(12,12,12,.95) !important;
  box-shadow:
    inset 0 0 0 1px #ffc91f,
    inset 0 1px 0 rgba(255,255,255,.08) !important;
  color: #fff !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:focus-visible {
  box-shadow:
    inset 0 0 0 1px #ffc91f,
    0 0 0 2px rgba(255,201,31,.20) !important;
}

@media (max-width: 767px) {
  /* Mobile primary buttons, compact and Market Index styled. */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button {
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 8px !important;
    background: #ffc91f !important;
    background-image: none !important;
    color: #050505 !important;
    -webkit-text-fill-color: #050505 !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.16),
      0 7px 16px rgba(0,0,0,.24) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
    min-height: 42px !important;
    height: auto !important;
    border-radius: 999px !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere !important;
  }

  /* Fix clipped mobile tab active border. */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 2px 7px !important;
    margin-top: 12px !important;
    scroll-padding-left: 2px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
    flex: 0 0 auto !important;
    min-width: 142px !important;
    max-width: 166px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 13px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    background: linear-gradient(180deg, rgba(22,22,22,.96), rgba(8,8,8,.96)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045) !important;
    white-space: nowrap !important;
    transform: none !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
    border-color: transparent !important;
    background:
      linear-gradient(180deg, rgba(255,201,31,.13), rgba(255,201,31,.045)),
      rgba(12,12,12,.96) !important;
    box-shadow:
      inset 0 0 0 1.25px #ffc91f,
      inset 0 1px 0 rgba(255,255,255,.07) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button span {
    min-width: 22px !important;
    margin-right: 7px !important;
  }

  /* Tighter mobile signup. */
  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup {
    padding: 16px !important;
    gap: 10px !important;
    border-radius: 20px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-top {
    grid-template-columns: 38px 1fr !important;
    gap: 10px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 11px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup h2 {
    font-size: 22px !important;
    line-height: .95 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup p {
    font-size: 12.5px !important;
    line-height: 1.25 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form {
    gap: 8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form input[type="email"] {
    height: 42px !important;
    min-height: 42px !important;
    font-size: 13px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button {
    width: 100% !important;
    font-size: 11.5px !important;
    letter-spacing: .085em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 10px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-points span {
    font-size: 10.5px !important;
  }
}


/* ======================================================================
   V24 FINAL OVERRIDES
   Purpose:
   - Keep V23 button color.
   - Fix desktop/mobile topic-tab border clipping and double-active-looking
     hover states.
   - Remove gold/radial overlay from the compact email signup card.
   ====================================================================== */

/* Remove gold wash/overlay from email signup card, desktop + mobile. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup {
  background:
    linear-gradient(180deg, rgba(18,18,18,.985), rgba(7,7,7,.99)) !important;
  background-image:
    linear-gradient(180deg, rgba(18,18,18,.985), rgba(7,7,7,.99)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 18px 46px rgba(0,0,0,.34) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

/* Keep icon gold, but remove broad gold fill from the card itself. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-icon {
  background: rgba(255,201,31,.045) !important;
  box-shadow: none !important;
}

/* Topic/tab system: use inner pseudo-border only so outlines never clip. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics {
  overflow-y: visible !important;
  padding-top: 2px !important;
  padding-bottom: 4px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  outline: none !important;
  background:
    linear-gradient(180deg, rgba(21,21,21,.98), rgba(8,8,8,.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 8px 16px rgba(0,0,0,.22) !important;
  transform: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:not(.is-active):hover::after,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:not(.is-active):focus-visible::after {
  border-color: rgba(255,255,255,.24) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:not(.is-active):hover {
  background:
    linear-gradient(180deg, rgba(25,25,25,.99), rgba(10,10,10,.99)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 8px 16px rgba(0,0,0,.22) !important;
  border-color: transparent !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
  border-color: transparent !important;
  background:
    linear-gradient(180deg, rgba(255,201,31,.105), rgba(255,201,31,.032)),
    linear-gradient(180deg, rgba(20,20,20,.98), rgba(7,7,7,.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 8px 16px rgba(0,0,0,.22) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active::after {
  border-color: #ffc91f !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active:hover::after,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active:focus-visible::after {
  border-color: #ffc91f !important;
}

/* Prevent old focus/box-shadow rules from creating a second external outline. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:focus,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:focus-visible,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:active {
  outline: none !important;
  border-color: transparent !important;
}

/* Mobile tab outline fix: extra scroll padding plus inner-only active border. */
@media (max-width: 767px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics {
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 4px 16px 8px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    scroll-padding-left: 16px !important;
    scroll-padding-right: 16px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
    overflow: hidden !important;
    border: 1px solid transparent !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.05),
      0 7px 15px rgba(0,0,0,.20) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button::after {
    inset: 0 !important;
    border-width: 1px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active::after {
    border-color: #ffc91f !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:not(.is-active):hover::after,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:not(.is-active):focus-visible::after {
    border-color: rgba(255,255,255,.20) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup {
    background:
      linear-gradient(180deg, rgba(18,18,18,.985), rgba(7,7,7,.99)) !important;
    background-image:
      linear-gradient(180deg, rgba(18,18,18,.985), rgba(7,7,7,.99)) !important;
  }
}


/* ======================================================================
   V25 MOBILE HERO HEIGHT FIX
   Purpose:
   - Keep the V23/V24 button color and V24 tab/email fixes.
   - Reduce the mobile hero height so it matches the compact reference where
     the first rail card appears directly after the hero.
   ====================================================================== */

@media (max-width: 767px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card {
    min-height: 0 !important;
    height: clamp(452px, 118vw, 482px) !important;
    border-radius: 22px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    min-height: 0 !important;
    height: 100% !important;
    width: 100% !important;
    padding: 30px 20px 18px !important;
    justify-content: center !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-kicker {
    margin-bottom: 7px !important;
    font-size: 11px !important;
    letter-spacing: .28em !important;
    line-height: 1.1 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    margin-bottom: 10px !important;
    font-size: clamp(50px, 15.7vw, 66px) !important;
    line-height: .82 !important;
    letter-spacing: -.06em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    max-width: 315px !important;
    margin-bottom: 12px !important;
    font-size: 17px !important;
    line-height: 1.20 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points {
    gap: 7px !important;
    margin-bottom: 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points span {
    padding: 6px 10px !important;
    font-size: 11.5px !important;
    line-height: 1 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
    width: 100% !important;
    min-height: 40px !important;
    height: auto !important;
    padding: 0 14px !important;
    font-size: 11.5px !important;
    line-height: 1.05 !important;
    letter-spacing: .075em !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-align: center !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span {
    border-radius: 8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
    border-radius: 999px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-media img {
    object-position: center center !important;
  }
}

@media (max-width: 380px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card {
    height: 448px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    padding: 28px 18px 17px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    font-size: clamp(48px, 15.2vw, 62px) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    font-size: 16px !important;
  }
}


/* ======================================================================
   V26 NOTE (retired)
   - Layout remains V25.
   - Header/dropdown menu rescue is loaded from the V26 PHP snippet at
     wp_head priority 100200 so it can override global Additional CSS.
   ====================================================================== */


/* ======================================================================
   V30 COMPACT MOBILE + TAB/HERO SPACING FIX
   Purpose:
   - Keep V23/V25 premium yellow buttons.
   - Remove extra mobile vertical dead-space above hero and above News.
   - Keep mobile hero premium but shorter, so rail cards and tabs sit closer.
   - Prevent active topic-tab border clipping on desktop and mobile.
   ====================================================================== */

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics {
  overflow-y: visible !important;
  padding-top: 3px !important;
  padding-bottom: 5px !important;
  margin-bottom: 28px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  outline: none !important;
  background:
    linear-gradient(180deg, rgba(20,20,20,.98), rgba(8,8,8,.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 8px 16px rgba(0,0,0,.22) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button::after {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  border-radius: inherit !important;
  border: 1px solid transparent !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
  border-color: rgba(255,201,31,.72) !important;
  background:
    linear-gradient(180deg, rgba(255,201,31,.095), rgba(255,201,31,.026)),
    linear-gradient(180deg, rgba(20,20,20,.98), rgba(7,7,7,.98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 0 0 1px rgba(255,201,31,.22),
    0 8px 16px rgba(0,0,0,.22) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active::after {
  border-color: rgba(255,201,31,.58) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:focus,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:focus-visible,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:active {
  outline: none !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts {
  background:
    linear-gradient(180deg, rgba(18,18,18,.985), rgba(7,7,7,.99)) !important;
  background-image:
    linear-gradient(180deg, rgba(18,18,18,.985), rgba(7,7,7,.99)) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup::after,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts::after {
  display: none !important;
  content: none !important;
}

@media (min-width: 768px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
    padding-top: 34px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-grid {
    margin-bottom: 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-content-grid {
    margin-top: 0 !important;
  }
}

@media (max-width: 767px) {
  #aht-taxi-insights.aht-ti-v13 {
    padding-top: 0 !important;
    padding-bottom: 48px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
    width: calc(100vw - 22px) !important;
    max-width: none !important;
    padding-top: 0 !important;
    margin-top: -8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-grid {
    gap: 10px !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card {
    min-height: 0 !important;
    height: clamp(420px, 108vw, 444px) !important;
    border-radius: 21px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    min-height: 0 !important;
    height: 100% !important;
    padding: 24px 18px 15px !important;
    justify-content: center !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-kicker {
    margin-bottom: 6px !important;
    font-size: 10.5px !important;
    letter-spacing: .25em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    margin-bottom: 9px !important;
    font-size: clamp(47px, 14.6vw, 60px) !important;
    line-height: .82 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    max-width: 318px !important;
    margin-bottom: 11px !important;
    font-size: 16.2px !important;
    line-height: 1.18 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points {
    gap: 7px !important;
    margin-bottom: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points span {
    padding: 6px 10px !important;
    font-size: 11.1px !important;
    line-height: 1 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions {
    gap: 7px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
    min-height: 38px !important;
    padding: 0 13px !important;
    font-size: 11px !important;
    line-height: 1.08 !important;
    letter-spacing: .072em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-rail {
    gap: 9px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card {
    min-height: 118px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics {
    margin-top: 10px !important;
    margin-bottom: 18px !important;
    padding: 4px 12px 6px !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-padding-left: 12px !important;
    scroll-padding-right: 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
    min-width: 142px !important;
    min-height: 50px !important;
    padding: 0 15px !important;
    border-radius: 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-content-grid {
    margin-top: 0 !important;
    gap: 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-section-head {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    gap: 4px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-section-kicker {
    margin-bottom: 6px !important;
    font-size: 12px !important;
    letter-spacing: .28em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-section-head h2 {
    font-size: 38px !important;
    line-height: .94 !important;
  }

  #aht-taxi-insights.aht-ti-v13 #aht-v13-filter-status {
    margin-top: 4px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 390px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card {
    height: 414px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    padding: 22px 17px 14px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    font-size: clamp(45px, 14.3vw, 56px) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    font-size: 15.5px !important;
  }
}

/* ======================================================================
   V30 NOTE
   - PHP snippet V30 handles the scoped header/dropdown rescue without desktop hover overrides.
   - This file only controls the Taxi Insights page content area.
   ====================================================================== */

/* ======================================================================
   V30 PERFORMANCE + SHARPNESS OPTIMIZATION
   Purpose:
   - Keep the premium dark/glass visual direction and interactive animations.
   - Make the glass look static instead of using expensive blur layers.
   - Keep motion compositor-friendly: transform + opacity only.
   - Remove image filters/forced GPU transforms that can make Safari/mobile look soft.
   - Reduce desktop scroll/hover repaint cost without flattening the design.
   ====================================================================== */

/* Static premium glass, no real blur layer over image/text content. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box,
#aht-taxi-insights.aht-ti-v13 .aht-v13-metric,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup {
  background:
    linear-gradient(180deg, rgba(255,255,255,.072), rgba(255,255,255,.018)),
    linear-gradient(180deg, rgba(17,17,17,.985), rgba(6,6,6,.992)) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}

/* Sharper real images, especially mobile Safari hero/cards. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link > .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-thumb img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-carousel figure img {
  filter: none !important;
  -webkit-filter: none !important;
  transform: none !important;
  backface-visibility: visible !important;
  image-rendering: auto !important;
}

/* Keep the premium overlay, but do not let it soften the actual hero image layer. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.58) 43%, rgba(0,0,0,.20) 68%, rgba(0,0,0,.42) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.31) 55%, rgba(0,0,0,.76) 100%) !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Remove old blurred decorative layers from cached/deprecated modules. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-map::after,
#aht-taxi-insights.aht-ti-v13 .aht-v13-map-dot::after {
  filter: none !important;
  -webkit-filter: none !important;
}

/* Paint/layout containment reduces desktop scroll cost without changing layout. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box,
#aht-taxi-insights.aht-ti-v13 .aht-v13-update,
#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li {
  contain: layout paint style !important;
}

/* Offscreen rendering help for lower content, ignored by browsers that do not support it. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box {
  content-visibility: auto;
  contain-intrinsic-size: 1px 360px;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card.aht-v13-story-large {
  contain-intrinsic-size: 1px 560px;
}

/* Keep shadows premium, but avoid animating expensive shadow repaints. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.065),
    0 14px 32px rgba(0,0,0,.34) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-update,
#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li,
#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked a,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button {
  transition-property: transform, opacity, border-color, background-color, color !important;
  transition-duration: .24s !important;
  transition-timing-function: cubic-bezier(.2,.7,.2,1) !important;
  will-change: auto !important;
}

/* Hover animations remain, but run only on hover-capable desktop/tablet pointers. */
@media (hover: hover) and (pointer: fine) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-update:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button:hover {
    will-change: transform !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(255,201,31,.46) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.075),
      0 16px 36px rgba(0,0,0,.38) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover .aht-v13-hero-media img,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover > .aht-v13-media img,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card:hover .aht-v13-media img,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-update:hover .aht-v13-update-thumb img {
    transform: scale(1.018) !important;
    transition: transform .30s cubic-bezier(.2,.7,.2,1) !important;
  }
}

/* Touch/mobile sharpness: no transform scaling or focus-stuck visual state on image cards. */
@media (hover: none), (pointer: coarse), (max-width: 767px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-update,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li {
    transform: none !important;
    will-change: auto !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover .aht-v13-hero-media img,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover > .aht-v13-media img,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card:hover .aht-v13-media img,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-update:hover .aht-v13-update-thumb img,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-media img,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-media img {
    transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:focus,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:focus-visible,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:active {
    transform: none !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.055),
      0 7px 14px rgba(0,0,0,.18) !important;
  }
}

/* Filter animation stays, with no filter/blur and no layout-changing properties. */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-card.is-filtered-in {
  animation: ahtV30FilterIn .24s cubic-bezier(.2,.7,.2,1) both !important;
}

@keyframes ahtV30FilterIn {
  from { opacity: .35; transform: translate3d(0, 7px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-card.is-filtered-in {
    animation: none !important;
  }
}


/* =========================================================
   V32 — NYC TAXI INSIGHTS BLACK-GLASS CARD ALIGNMENT
   Purpose:
   - Match the cleaner compact card outline/black-glass look from /nyc-taxi-insights/.
   - Preserve all V31 layout, animations, filters, and menu behavior.
   - Remove warmer/gold panel tint from cards while keeping yellow accents/buttons.
   ========================================================= */

#aht-taxi-insights.aht-ti-v13 {
  --aht-panel: rgba(5,5,5,.96);
  --aht-panel-strong: rgba(5,5,5,.985);
  --aht-glass:
    linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.014) 44%, rgba(0,0,0,.22) 100%),
    linear-gradient(135deg, rgba(255,255,255,.025) 0%, rgba(255,255,255,0) 38%);
  --aht-border: rgba(255,255,255,.16);
  --aht-border-soft: rgba(255,255,255,.105);
}

/* Primary card/panel shells, cleaner black glass, NYC archive style */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts,
#aht-taxi-insights.aht-ti-v13 .aht-v13-metric,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hotspots {
  background:
    linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.014) 44%, rgba(0,0,0,.22) 100%),
    linear-gradient(135deg, rgba(255,255,255,.025) 0%, rgba(255,255,255,0) 38%),
    #050505 !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow:
    0 18px 38px rgba(0,0,0,.44),
    inset 0 1px 0 rgba(255,255,255,.05),
    inset 0 -1px 0 rgba(0,0,0,.68) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Story/news cards: match NYC page border radius, outline, and clean black lower panel */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link {
  border-radius: 16px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.014) 44%, rgba(0,0,0,.22) 100%),
    #050505 !important;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:focus-within,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card:focus-within,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box:focus-within,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.34) !important;
}

/* Media stays sharp and dark, no warm haze over the cards */
#aht-taxi-insights.aht-ti-v13 .aht-v13-media,
#aht-taxi-insights.aht-ti-v13 .aht-v13-update-thumb,
#aht-taxi-insights.aht-ti-v13 .aht-v13-carousel figure {
  background: #050505 !important;
  border-color: rgba(255,255,255,.10) !important;
}

/* Lower story copy area, matching NYC page black glass bottoms */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy,
#aht-taxi-insights.aht-ti-v13 .aht-v13-card-copy,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-copy {
  background: #050505 !important;
}

/* Remove older gold/amber wash from story overlays, keep readable black fade only */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.18) 48%, rgba(0,0,0,.84) 100%) !important;
  opacity: 1 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link::after,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::after,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card::after,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box::after,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup::after {
  background: transparent !important;
  opacity: 0 !important;
}

/* Topic tabs: closer to NYC compact row button aesthetic */
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
  border: 1px solid rgba(255,255,255,.18) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.008) 52%, rgba(0,0,0,.20)),
    #050505 !important;
  border-radius: 10px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.40) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
  background: #ffc91f !important;
  border-color: #ffc91f !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 12px 24px rgba(0,0,0,.26) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active span {
  color:#000 !important;
  -webkit-text-fill-color:#000 !important;
}

/* Sidebar boxes and list rows, less bulky, more compact glass */
#aht-taxi-insights.aht-ti-v13 .aht-v13-update,
#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li,
#aht-taxi-insights.aht-ti-v13 .aht-v13-trends a {
  background: #050505 !important;
  border-color: rgba(255,255,255,.10) !important;
}

/* Keep all lower panels premium black, not gray/gold */
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form input,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form input {
  background:#000 !important;
  border-color: rgba(255,255,255,.16) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}

/* Image hover remains animated but sharper/compositor-friendly */
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card .aht-v13-media img {
  filter: none !important;
  transition: transform .28s ease, opacity .28s ease !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card:hover .aht-v13-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover .aht-v13-media img {
  transform: scale(1.025) !important;
}


/* =========================================================
   V33 — HERO READABILITY RESTORE
   Purpose:
   - V32 cleaned the card glass, but the hero text lost too much contrast.
   - Restore a strong premium dark overlay and text shadow on the hero only.
   - Preserve the V32 compact black-glass card aesthetic elsewhere.
   ========================================================= */

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow:
    0 22px 46px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(0,0,0,.72) !important;
}

/* Dark readability layer over the hero image only */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.76) 28%,
      rgba(0,0,0,.48) 56%,
      rgba(0,0,0,.28) 100%
    ),
    linear-gradient(180deg,
      rgba(0,0,0,.36) 0%,
      rgba(0,0,0,.14) 38%,
      rgba(0,0,0,.70) 100%
    ) !important;
}

/* Subtle premium vignette, not a gold haze */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  background:
    radial-gradient(ellipse 74% 66% at 15% 48%, rgba(0,0,0,.44), transparent 58%),
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(255,201,31,.10), transparent 56%) !important;
}

/* Keep hero media below overlay */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card .aht-v13-hero-media,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card .aht-v13-media {
  z-index: 0 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card .aht-v13-hero-media img,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card .aht-v13-media img {
  filter: none !important;
}

/* Place copy above overlays */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
  position: relative !important;
  z-index: 5 !important;
}

/* Restore premium text depth */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy .aht-v13-kicker,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy .aht-v13-hero-lede,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy .aht-v13-hero-points span {
  text-shadow:
    0 2px 2px rgba(0,0,0,.82),
    0 10px 24px rgba(0,0,0,.70),
    0 0 1px rgba(0,0,0,.90) !important;
}

/* Extra contrast behind small pills only */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points span {
  background: rgba(0,0,0,.46) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 8px 18px rgba(0,0,0,.30) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
  text-shadow: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 10px 24px rgba(0,0,0,.42) !important;
}

@media only screen and (max-width: 640px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::before {
    background:
      linear-gradient(90deg,
        rgba(0,0,0,.90) 0%,
        rgba(0,0,0,.78) 42%,
        rgba(0,0,0,.48) 100%
      ),
      linear-gradient(180deg,
        rgba(0,0,0,.42) 0%,
        rgba(0,0,0,.24) 38%,
        rgba(0,0,0,.78) 100%
      ) !important;
  }
}


/* =========================================================
   V34 — MOBILE SAFARI MOST READ COUNTER FIX
   Purpose:
   - iOS/Safari can render CSS counters as 0 when list items use style containment.
   - Preserve performance containment but remove "style" from ranked list items.
   - Restores Most Read order badges to 1, 2, 3, 4, 5 on mobile.
   ========================================================= */

#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked {
  counter-reset: aht-rank !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li {
  counter-increment: aht-rank !important;
  contain: layout paint !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-ranked li::before {
  content: counter(aht-rank) !important;
}


/* =========================================================
   V36 — HERO OUTLINE + MOBILE HEIGHT FIX
   Purpose:
   - Hero Card outline must be thin grey like the other cards, not yellow.
   - Full Hero Card outline must remain visible on mobile, including the top edge.
   - Mobile Hero Card height is reduced and top/bottom spacing is tightened.
   - Preserves V35 approved Taxi Insights Briefing HTML content.
   ========================================================= */

/* Desktop and global hero outline, grey in all states */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:focus,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:focus-visible,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:active {
  border: 1px solid rgba(255,255,255,.18) !important;
  outline: 1px solid rgba(255,255,255,.08) !important;
  outline-offset: -2px !important;
  box-shadow:
    0 20px 44px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 0 0 1px rgba(255,255,255,.045),
    inset 0 -1px 0 rgba(0,0,0,.72) !important;
}

/* Keep the readability overlay dark only, no yellow edge tint */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::before {
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.76) 28%,
      rgba(0,0,0,.48) 56%,
      rgba(0,0,0,.28) 100%
    ),
    linear-gradient(180deg,
      rgba(0,0,0,.36) 0%,
      rgba(0,0,0,.14) 38%,
      rgba(0,0,0,.70) 100%
    ) !important;
}

/* Inner grey stroke, placed above the image/overlay so the full outline is visible */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  border-radius: inherit !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(0,0,0,.66) !important;
}

/* Hero copy remains above the outline layer */
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
  z-index: 5 !important;
}

/* Prevent desktop hover from turning the hero border yellow */
@media (hover: hover) and (pointer: fine) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover {
    border-color: rgba(255,255,255,.26) !important;
    outline-color: rgba(255,255,255,.10) !important;
    box-shadow:
      0 22px 46px rgba(0,0,0,.54),
      inset 0 1px 0 rgba(255,255,255,.065),
      inset 0 0 0 1px rgba(255,255,255,.055),
      inset 0 -1px 0 rgba(0,0,0,.72) !important;
  }
}

/* Mobile compact hero, full visible outline */
@media (max-width: 767px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
    width: calc(100vw - 24px) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-grid {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    gap: 9px !important;
    overflow: visible !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:focus,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:focus-visible,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:active {
    min-height: 0 !important;
    height: clamp(374px, 96vw, 392px) !important;
    border-radius: 21px !important;
    border: 1px solid rgba(255,255,255,.19) !important;
    outline: 1px solid rgba(255,255,255,.10) !important;
    outline-offset: -2px !important;
    box-shadow:
      0 14px 30px rgba(0,0,0,.42),
      inset 0 1px 0 rgba(255,255,255,.07),
      inset 0 0 0 1px rgba(255,255,255,.05),
      inset 0 -1px 0 rgba(0,0,0,.72) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::after {
    inset: 0 !important;
    border-color: rgba(255,255,255,.18) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::before {
    background:
      linear-gradient(90deg,
        rgba(0,0,0,.90) 0%,
        rgba(0,0,0,.80) 38%,
        rgba(0,0,0,.52) 100%
      ),
      linear-gradient(180deg,
        rgba(0,0,0,.38) 0%,
        rgba(0,0,0,.22) 38%,
        rgba(0,0,0,.76) 100%
      ) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    min-height: 0 !important;
    height: 100% !important;
    width: 100% !important;
    padding: 26px 18px 14px !important;
    justify-content: flex-start !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-kicker {
    margin-bottom: 6px !important;
    font-size: 10.5px !important;
    letter-spacing: .25em !important;
    line-height: 1.1 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    margin-bottom: 9px !important;
    font-size: clamp(44px, 13.8vw, 54px) !important;
    line-height: .82 !important;
    letter-spacing: -.06em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    max-width: 320px !important;
    margin-bottom: 10px !important;
    font-size: 15.4px !important;
    line-height: 1.18 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points {
    gap: 7px !important;
    margin-bottom: 11px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points span {
    padding: 6px 10px !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
    width: 100% !important;
    min-height: 37px !important;
    padding: 0 13px !important;
    font-size: 10.8px !important;
    line-height: 1.08 !important;
    letter-spacing: .072em !important;
    white-space: normal !important;
    text-align: center !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span {
    border-radius: 8px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
    border-radius: 999px !important;
  }
}

@media (max-width: 390px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:focus,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:active {
    height: 374px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    padding: 24px 17px 13px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    font-size: clamp(43px, 13.5vw, 52px) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    font-size: 15px !important;
  }
}

@media (max-width: 360px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:focus,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:active {
    height: 362px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    padding: 22px 16px 12px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    font-size: clamp(41px, 13.2vw, 50px) !important;
  }
}


/* =========================================================
   V38 — TAXI INSIGHTS EMAIL SUBSCRIPTION STATES
   - Consent / privacy text.
   - Clear pending, success, and error states.
   - Preserves the existing compact black-glass signup card.
   ========================================================= */

#aht-taxi-insights.aht-ti-v13 .aht-v13-signup-consent {
  margin: 10px 0 0 !important;
  color: rgba(255,255,255,.62) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-signup-consent a {
  color: #ffc91f !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-signup-status {
  display: block;
  min-height: 18px;
  margin-top: 3px;
  color: rgba(255,255,255,.78) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form.is-pending .aht-v13-signup-status {
  color: #ffc91f !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form.is-success .aht-v13-signup-status {
  color: #55d987 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form.is-error .aht-v13-signup-status {
  color: #ff7a73 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form.is-error input[type="email"],
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form input[type="email"][aria-invalid="true"] {
  border-color: #ff3b30 !important;
  box-shadow: 0 0 0 2px rgba(255,59,48,.14) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-side-signup-form button[aria-busy="true"] {
  cursor: wait !important;
  opacity: .72 !important;
}

@media (max-width: 767px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-signup-consent {
    font-size: 10.5px !important;
  }
}


/* =========================================================
   V41 PREMIUM MODERNIZATION
   - Visual-only refinement: no visible copy or localization keys changed.
   - Cleaner black-glass depth, tighter hierarchy, softer borders/shadows.
   - More compact, more deliberate mobile composition.
   ========================================================= */

#aht-taxi-insights.aht-ti-v13 {
  --aht-yellow:#ffc91f;
  --aht-yellow-deep:#e8ad00;
  --aht-panel:rgba(10,10,10,.88);
  --aht-panel-strong:rgba(5,5,5,.94);
  --aht-glass:linear-gradient(180deg, rgba(255,255,255,.060), rgba(255,255,255,.012));
  --aht-border:rgba(255,255,255,.13);
  --aht-border-soft:rgba(255,255,255,.075);
  --aht-border-yellow:rgba(255,201,31,.30);
  --aht-radius-lg:24px;
  --aht-radius-md:18px;
  background:
    radial-gradient(circle at 50% -10%, rgba(255,201,31,.075), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(255,255,255,.035), transparent 24%),
    #000 !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
  width:min(1480px, calc(100vw - 30px));
  padding-top:34px;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-grid {
  gap:20px;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card,
#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box,
#aht-taxi-insights.aht-ti-v13 .aht-v13-metric,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hotspots,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts {
  border-color:rgba(255,255,255,.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 14px 34px rgba(0,0,0,.38) !important;
  backdrop-filter:blur(18px) saturate(1.04);
  -webkit-backdrop-filter:blur(18px) saturate(1.04);
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card {
  min-height:396px;
  border-radius:24px !important;
  box-shadow:
    0 22px 52px rgba(0,0,0,.52),
    inset 0 1px 0 rgba(255,255,255,.065),
    inset 0 -1px 0 rgba(0,0,0,.78) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,.91) 0%, rgba(0,0,0,.78) 30%, rgba(0,0,0,.50) 58%, rgba(0,0,0,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.10) 42%, rgba(0,0,0,.76) 100%) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card::after {
  border-color:rgba(255,255,255,.15) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(0,0,0,.70) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-media img {
  filter:saturate(1.02) contrast(1.05) brightness(.88) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
  min-height:396px;
  max-width:650px;
  padding:46px 50px;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
  margin-bottom:14px !important;
  font-size:clamp(64px, 5.65vw, 98px) !important;
  line-height:.88 !important;
  letter-spacing:-.055em !important;
  text-shadow:0 12px 32px rgba(0,0,0,.58) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-title-yellow,
#aht-taxi-insights.aht-ti-v13 .aht-v13-title-yellow * {
  color:#ffc91f !important;
  -webkit-text-fill-color:#ffc91f !important;
  text-shadow:0 8px 26px rgba(255,201,31,.14), 0 12px 32px rgba(0,0,0,.58) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
  max-width:540px;
  margin-bottom:18px !important;
  font-size:17px !important;
  line-height:1.42 !important;
  font-weight:700 !important;
  color:rgba(255,255,255,.92) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-kicker,
#aht-taxi-insights.aht-ti-v13 .aht-v13-section-kicker {
  letter-spacing:.24em !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points {
  gap:8px;
  margin-bottom:19px;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points span {
  padding:7px 10px;
  border-color:rgba(255,255,255,.105) !important;
  background:rgba(0,0,0,.48) !important;
  font-size:11px;
  font-weight:800;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points span::before,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy div span::before {
  width:7px;
  height:7px;
  box-shadow:0 0 12px rgba(255,201,31,.62);
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions {
  gap:9px;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-map-controls a {
  min-height:42px;
  border-radius:11px;
  padding:0 15px;
  font-size:10.4px;
  letter-spacing:.075em;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-form button,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature em {
  background:linear-gradient(180deg, #ffd94f 0%, #ffc91f 60%, #edb400 100%) !important;
  border-color:rgba(255,226,122,.50) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42), 0 9px 22px rgba(0,0,0,.28) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-outline-btn,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links em,
#aht-taxi-insights.aht-ti-v13 .aht-v13-map-controls a {
  background:rgba(5,5,5,.70) !important;
  border-color:rgba(255,255,255,.16) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics {
  gap:6px;
  margin:22px 0 30px;
  padding:6px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:17px;
  background:linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.012)), rgba(3,3,3,.88);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035), 0 12px 28px rgba(0,0,0,.22);
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
  min-height:40px;
  border-radius:11px;
  border-color:transparent !important;
  background:transparent !important;
  font-size:10.5px;
  transition:background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:hover,
#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button:focus-visible {
  background:rgba(255,255,255,.055) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-topics button.is-active {
  color:#000 !important;
  background:#ffc91f !important;
  border-color:#ffc91f !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34), 0 6px 16px rgba(0,0,0,.28) !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-section-head {
  margin-bottom:16px;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-section-head h2,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-head h2,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hotspots h2,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy h2 {
  letter-spacing:-.045em !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
#aht-taxi-insights.aht-ti-v13 .aht-v13-side-box,
#aht-taxi-insights.aht-ti-v13 .aht-v13-metric,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature,
#aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alerts,
#aht-taxi-insights.aht-ti-v13 .aht-v13-hotspots {
  border-radius:18px !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy h3,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature h3 {
  letter-spacing:-.035em !important;
}

#aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy p,
#aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature p,
#aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy p {
  color:rgba(255,255,255,.71) !important;
  font-weight:650 !important;
}

@media (hover:hover) and (pointer:fine) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-rail-card:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-metric:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-feature-links a:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature:hover {
    transform:translateY(-3px) !important;
    border-color:rgba(255,255,255,.22) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 18px 40px rgba(0,0,0,.48) !important;
  }
}

@media (max-width:767px) {
  #aht-taxi-insights.aht-ti-v13 {
    padding-bottom:54px;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-shell {
    width:calc(100vw - 20px) !important;
    padding-top:0 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-grid {
    margin-top:8px !important;
    margin-bottom:12px !important;
    gap:10px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:focus,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:focus-visible,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:active {
    height:368px !important;
    border-radius:20px !important;
    border-color:rgba(255,255,255,.16) !important;
    outline:none !important;
    box-shadow:0 16px 34px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.055) !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    min-height:0 !important;
    height:100% !important;
    padding:23px 18px 15px !important;
    justify-content:flex-start !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-kicker {
    margin-bottom:7px !important;
    font-size:9.8px !important;
    letter-spacing:.23em !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy h1 {
    margin-bottom:10px !important;
    font-size:clamp(45px, 13.5vw, 55px) !important;
    line-height:.84 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-lede {
    max-width:330px !important;
    margin-bottom:11px !important;
    font-size:14.2px !important;
    line-height:1.27 !important;
    font-weight:680 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points {
    gap:6px !important;
    margin-bottom:11px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-points span {
    padding:6px 8px !important;
    font-size:10px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions {
    gap:7px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions span,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-actions em {
    min-height:39px !important;
    border-radius:10px !important;
    font-size:10.2px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics {
    grid-template-columns:repeat(8, minmax(118px,1fr)) !important;
    margin:14px 0 25px !important;
    padding:4px !important;
    border-radius:14px !important;
    gap:4px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-topics button {
    min-height:37px !important;
    border-radius:10px !important;
    font-size:9.9px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-section-head h2,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-side-head h2,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hotspots h2,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-alert-copy h2 {
    font-size:29px !important;
    line-height:.98 !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-link,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-large .aht-v13-story-link {
    min-height:330px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-story-copy,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-analysis-feature > div {
    padding:18px !important;
  }
}

@media (max-width:390px) {
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:hover,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:focus,
  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-card:active {
    height:356px !important;
  }

  #aht-taxi-insights.aht-ti-v13 .aht-v13-hero-copy {
    padding:21px 16px 13px !important;
  }
}
