/* Site-wide typography (frontend layout body) */
body.font-manrope-site,
body.font-manrope-site input,
body.font-manrope-site button,
body.font-manrope-site select,
body.font-manrope-site textarea {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Mobile Logo Alignment Fix */
@media (max-width: 991px) {
  .header-default .wrapper-header .col-md-4.col-6 {
    padding-left: 0;
    padding-right: 0;
  }
  
  .header-default .logo-header {
    justify-content: flex-start !important;
    margin-left: 0;
    padding-left: 0;
  }
  
  .header-default .logo-header img {
    max-width: 120px;
    height: auto;
  }
}

@media (max-width: 576px) {
  .header-default .wrapper-header .col-md-4.col-6 {
    padding-left: 5px;
    padding-right: 5px;
  }
  
  .header-default .logo-header {
    justify-content: flex-start !important;
    margin-left: 0;
  }
  
  .header-default .logo-header img {
    max-width: 100px;
  }
}

/* Mobile Product Grid - Show 2 Products per Row */
@media (max-width: 768px) {
  .wrapper-shop.tf-col-3,
  .tf-grid-layout.tf-col-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .wrapper-shop.tf-col-1,
  .tf-grid-layout.tf-col-1 {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Breadcrumb Fix - Prevent Text Wrapping */
@media (max-width: 768px) {
  nav.breadcrumbs ul,
  ul.breadcrumbs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 2px !important;
  }
  
  nav.breadcrumbs ul li,
  ul.breadcrumbs li {
    font-size: 11px !important;
    line-height: 16px !important;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  nav.breadcrumbs ul li a,
  ul.breadcrumbs li a,
  nav.breadcrumbs ul li span,
  ul.breadcrumbs li span {
    font-size: 11px !important;
    white-space: nowrap;
  }
  
  nav.breadcrumbs ul li i,
  ul.breadcrumbs li i {
    font-size: 10px !important;
    margin: 0 2px !important;
  }
  
  nav.breadcrumbs ul li .icon,
  ul.breadcrumbs li .icon {
    font-size: 10px !important;
    margin: 0 2px !important;
  }
}

@media (max-width: 576px) {
  nav.breadcrumbs ul,
  ul.breadcrumbs {
    gap: 1px !important;
  }
  
  nav.breadcrumbs ul li,
  ul.breadcrumbs li {
    font-size: 10px !important;
    line-height: 14px !important;
  }
  
  nav.breadcrumbs ul li a,
  ul.breadcrumbs li a,
  nav.breadcrumbs ul li span,
  ul.breadcrumbs li span {
    font-size: 10px !important;
  }
  
  nav.breadcrumbs ul li i,
  ul.breadcrumbs li i,
  nav.breadcrumbs ul li .icon,
  ul.breadcrumbs li .icon {
    font-size: 9px !important;
    margin: 0 1px !important;
  }
}

/* Footer: collapsible sections on mobile only (default collapsed) */
@media (max-width: 767px) {
  #footer .footer-col-block .footer-heading-mobile {
    cursor: pointer;
    padding: 14px 40px 14px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  /* Plus icon: horizontal bar (::after) - override theme's footer .footer-heading::after */
  #footer .footer-heading-mobile::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    bottom: auto;
    left: auto;
    width: 12px;
    height: 1px;
    margin: 0;
    transform: translate(50%, -50%);
    background-color: #333;
    transition: transform 0.25s ease-in-out;
  }
  /* Plus icon: vertical bar (::before) */
  #footer .footer-heading-mobile::before {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 1px;
    height: 12px;
    margin: 0;
    transform: translate(50%, -50%);
    background-color: #333;
    transition: opacity 0.25s ease-in-out;
  }
  /* Expanded state: minus (hide vertical, keep horizontal) */
  #footer .footer-col-block.open .footer-heading-mobile::before {
    opacity: 0;
  }
  #footer .footer-col-block.open .footer-heading-mobile::after {
    transform: translate(50%, -50%);
  }
  #footer .footer-col-block:not(.open) .tf-collapse-content {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  #footer .footer-col-block.open .tf-collapse-content {
    max-height: 1200px;
    padding-top: 0;
    padding-bottom: 12px;
    margin-bottom: 0;
    transition: max-height 0.3s ease;
  }
  #footer .footer-col-block.open .footer-heading-mobile {
    border-bottom-color: transparent;
  }
  #footer .footer-col-block .tf-collapse-content p,
  #footer .footer-col-block .tf-collapse-content .footer-menu-list {
    margin-bottom: 0;
  }
  #footer .footer-bottom-legal {
    font-size: 12px;
    line-height: 1.6;
  }
}

/* Homepage marquee: readable speed + clickable lines */
.tf-marquee.tf-marquee-homepage .marquee-wrapper {
  animation-duration: 240s;
}

/* Homepage hero: title + CTA bottom-left (overrides slider-style2 vertical center) */
.tf-slideshow.hero-banner-airekart.slider-style2 .box-content {
  top: auto;
  bottom: 56px;
  left: 0;
  right: auto;
  transform: none;
  width: auto;
  max-width: min(560px, 92vw);
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: left;
  z-index: 2;
}
.tf-slideshow.hero-banner-airekart.slider-style2 .box-content .container {
  display: block;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: auto;
}
.tf-slideshow.hero-banner-airekart.slider-style2 .content-slider {
  text-align: left;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .tf-slideshow.hero-banner-airekart.slider-style2 .box-content {
    bottom: 44px;
    max-width: min(100%, 100vw - 2rem);
  }
}

/* Mega menu: category column headings (theme already styles .menu-heading) */
.box-nav-ul .mega-menu .menu-heading a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}
.box-nav-ul .mega-menu .menu-heading a:hover {
  color: var(--primary);
}
.box-nav-ul .mega-menu .menu-link-text {
  font-weight: 400;
  opacity: 0.9;
}
.box-nav-ul .mega-menu .menu-link-text:hover {
  opacity: 1;
}

/* Keep top navbar labels on one line (e.g. Live AQI, About Us). */
#header .box-nav-ul .item-link {
  white-space: nowrap;
  flex-wrap: nowrap;
}

.tf-marquee.tf-marquee-homepage .marquee-child-item a.tf-marquee-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}
.tf-marquee.tf-marquee-homepage .marquee-child-item a.tf-marquee-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Blog pages (aligned with Modave list/detail structure) */
.blog-thumb-placeholder,
.blog-mini-thumb,
.blog-hero-placeholder,
.blog-author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #044c9f 0%, #3d7ab8 52%, #8dc655 100%);
  color: #fff;
  text-decoration: none;
}
.blog-thumb-placeholder {
  width: 100%;
  min-height: 240px;
  border-radius: 8px;
}
.blog-thumb-placeholder--short {
  min-height: 200px;
}
.blog-thumb-placeholder span {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  opacity: 0.9;
}
.blog-mini-thumb {
  width: 84px;
  height: 84px;
  border-radius: 8px;
}
.blog-mini-thumb span {
  font-size: 1.1rem;
  font-weight: 700;
}
.blog-hero-placeholder {
  width: 100%;
  min-height: 380px;
  border-radius: 10px;
}
.blog-hero-placeholder span {
  font-size: 4.2rem;
  font-weight: 800;
}
.blog-author-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  font-weight: 800;
}

.blog-author-avatar-image {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Live AQI page */
.live-aqi-page .live-aqi-title {
  color: #044c9f;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.live-aqi-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(4, 76, 159, 0.12);
  background: #f8fbff;
}
.live-aqi-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  justify-content: flex-end;
  flex: 1 1 280px;
  min-width: 0;
}
.live-aqi-locate-btn {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #1f2937;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
}
.live-aqi-locate-btn:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}
.live-aqi-locate-btn.is-loading,
.live-aqi-locate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.live-aqi-toolbar-search--grow {
  flex: 1 1 200px;
  min-width: min(100%, 200px);
  max-width: 100%;
}
.live-aqi-station-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  max-height: 280px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid rgba(4, 76, 159, 0.14);
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
.live-aqi-station-suggest.is-hidden {
  display: none;
}
.live-aqi-station-suggest button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 1rem;
  border: 0;
  border-bottom: 1px solid rgba(4, 76, 159, 0.08);
  background: transparent;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #0f172a;
  cursor: pointer;
}
.live-aqi-station-suggest button:last-child {
  border-bottom: 0;
}
.live-aqi-station-suggest button:hover,
.live-aqi-station-suggest button:focus-visible {
  background: #f1f5f9;
  outline: none;
}
.live-aqi-station-suggest .suggest-name {
  display: block;
  font-weight: 700;
  color: #044c9f;
}
.live-aqi-station-suggest .suggest-meta {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.15rem;
}
.live-aqi-station-suggest-empty {
  padding: 0.75rem 1rem;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.4;
}
.live-aqi-station-suggest-empty code {
  font-size: 0.8rem;
}
.live-aqi-toolbar-title h6 {
  color: #044c9f;
  font-weight: 800;
}
.live-aqi-toolbar-title p {
  font-size: 0.83rem;
}
.live-aqi-toolbar-search {
  min-width: min(100%, 320px);
  position: relative;
}
.live-aqi-toolbar-search .form-control {
  border: 1px solid rgba(4, 76, 159, 0.2);
  border-radius: 999px;
  min-height: 42px;
  padding-left: 1rem;
  font-size: 0.92rem;
}
.live-aqi-wide-col {
  width: min(80vw, 1200px);
  flex: 0 0 auto;
}
.live-aqi-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(4, 76, 159, 0.12);
  background: #f8fafc;
  text-align: center;
}
.live-aqi-skeleton-card {
  border-radius: 16px;
  border: 1px solid rgba(4, 76, 159, 0.12);
  background: #f8fbff;
  padding: 1.2rem;
}
.live-aqi-skeleton-line {
  height: 16px;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 220% 100%;
  animation: live-aqi-skeleton-shimmer 1.4s infinite;
}
.live-aqi-skeleton-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}
.live-aqi-skeleton-block {
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 220% 100%;
  animation: live-aqi-skeleton-shimmer 1.4s infinite;
}
.live-aqi-skeleton-line.w-25 { width: 25%; }
.live-aqi-skeleton-line.w-40 { width: 40%; }
.live-aqi-skeleton-line.w-100 { width: 100%; margin-bottom: 0; height: 22px; border-radius: 999px; }
@keyframes live-aqi-skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.live-aqi-location-card {
  border: 1px solid rgba(4, 76, 159, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.live-aqi-location-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(4, 76, 159, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.9) 0%, #fff 100%);
}
.live-aqi-location-name {
  color: #044c9f;
  font-weight: 700;
}
.live-aqi-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #044c9f;
  background: rgba(4, 76, 159, 0.08);
  white-space: nowrap;
}
.live-aqi-table thead th {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  border-bottom: 1px solid rgba(4, 76, 159, 0.1);
}
.live-aqi-table tbody td {
  vertical-align: middle;
  font-size: 0.9375rem;
}
.live-aqi-param {
  font-weight: 700;
  color: #1e293b;
}
.live-aqi-fallback {
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  border: 1px dashed rgba(4, 76, 159, 0.2);
  background: #fafbff;
  text-align: center;
}
.live-aqi-air-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(4, 76, 159, 0.12);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, #ffffff 0%, #fff7dd 48%, #fff2c3 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.live-aqi-air-card::before {
  content: "";
  position: absolute;
  inset: -120% auto auto -20%;
  width: 70%;
  height: 320%;
  background: linear-gradient(120deg, rgba(255,255,255,0.0), rgba(255,255,255,0.28), rgba(255,255,255,0.0));
  transform: rotate(18deg);
  pointer-events: none;
  animation: liveAqiShine 7s linear infinite;
}
.live-aqi-air-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}
.live-aqi-widget-tabs {
  display: inline-flex;
  margin: 0.95rem 0 0 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  overflow: hidden;
}
.live-aqi-widget-tabs span {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  color: #64748b;
  background: #fff;
}
.live-aqi-widget-tabs span.active {
  color: #0f172a;
  background: #dff0ff;
}
.live-aqi-air-head {
  padding: 1.15rem 1.4rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  border-bottom: 1px solid rgba(4, 76, 159, 0.08);
}
.live-aqi-status {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}
.live-aqi-air-body {
  padding: 1rem 1.4rem 1.25rem;
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr 95px minmax(170px, 220px);
  gap: 1.1rem;
  align-items: stretch;
}
.live-aqi-kicker {
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
}
.live-aqi-score {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.45rem;
}
.live-aqi-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.live-aqi-scale .band {
  font-size: 0.58rem;
  font-weight: 700;
  text-align: center;
  padding: 0.3rem 0.2rem;
  color: #0f172a;
  line-height: 1.1;
}
.live-aqi-scale .band.good { background: #88e085; }
.live-aqi-scale .band.moderate { background: #fde268; }
.live-aqi-scale .band.sensitive { background: #fdba74; }
.live-aqi-scale .band.unhealthy { background: #f98b8b; }
.live-aqi-scale .band.hazardous { background: #d89cff; }
.live-aqi-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.live-aqi-metric {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.live-aqi-metric-label {
  font-size: 0.8rem;
  color: #64748b;
}
.live-aqi-metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}
.live-aqi-metric-value span {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}
.live-aqi-mascot-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.live-aqi-mascot {
  width: 98px;
  height: 98px;
  object-fit: contain;
}
.live-aqi-weather-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.live-aqi-weather-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.live-aqi-weather-temp {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}
.live-aqi-weather-temp small {
  font-size: 0.7rem;
  color: #64748b;
  margin-left: 0.2rem;
}
.live-aqi-weather-status {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
}
.live-aqi-weather-grid {
  display: grid;
  gap: 0.45rem;
}
.live-aqi-weather-grid div {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}
.live-aqi-weather-grid span { color: #64748b; }
.live-aqi-weather-grid strong { color: #0f172a; font-weight: 700; }
.live-aqi-air-card.is-good .live-aqi-status {
  background: rgba(34, 197, 94, 0.16);
  color: #166534;
}
.live-aqi-air-card.is-moderate .live-aqi-status {
  background: rgba(250, 204, 21, 0.24);
  color: #854d0e;
}
.live-aqi-air-card.is-sensitive .live-aqi-status,
.live-aqi-air-card.is-unhealthy .live-aqi-status,
.live-aqi-air-card.is-very-unhealthy .live-aqi-status,
.live-aqi-air-card.is-hazardous .live-aqi-status {
  background: rgba(239, 68, 68, 0.18);
  color: #991b1b;
}
@keyframes liveAqiShine {
  0% { transform: translateX(-35%) rotate(18deg); opacity: 0; }
  12% { opacity: 1; }
  30% { opacity: 0; }
  100% { transform: translateX(210%) rotate(18deg); opacity: 0; }
}
@keyframes liveAqiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.live-aqi-mascot {
  animation: liveAqiFloat 3.4s ease-in-out infinite;
}
@media (max-width: 991.98px) {
  .live-aqi-wide-col {
    width: 100%;
  }
  .live-aqi-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .live-aqi-toolbar-search {
    min-width: 100%;
  }
  .live-aqi-widget-tabs {
    margin-left: 1rem;
  }
  .live-aqi-air-head {
    flex-wrap: wrap;
  }
  .live-aqi-air-body {
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 1rem;
  }
  .live-aqi-weather-card {
    grid-column: 1 / -1;
  }
  .live-aqi-mascot-wrap {
    justify-content: flex-end;
  }
}
@media (max-width: 575.98px) {
  .live-aqi-air-head,
  .live-aqi-air-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .live-aqi-air-body {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .live-aqi-widget-tabs {
    margin-left: 0.85rem;
  }
  .live-aqi-widget-tabs span {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }
  .live-aqi-score-wrap {
    text-align: center;
  }
  .live-aqi-score {
    font-size: 2.5rem;
  }
  .live-aqi-metrics {
    grid-template-columns: 1fr;
  }
  .live-aqi-scale .band {
    font-size: 0.52rem;
    padding-top: 0.28rem;
    padding-bottom: 0.28rem;
  }
  .live-aqi-mascot-wrap {
    justify-content: center;
  }
  .live-aqi-mascot {
    width: 76px;
    height: 76px;
  }
}

.blog-post-body p,
.blog-post-body li {
  color: var(--secondary-2);
  font-size: 16px;
  line-height: 1.75;
}
.blog-post-body p {
  margin-bottom: 16px;
}

/* Static detail pages (terms-of-use inspired) */
.detail-page-title {
  background-image:
    linear-gradient(180deg, rgba(248, 250, 255, 0.96) 0%, rgba(241, 247, 255, 0.9) 100%),
    url("../images/section/page-title.jpg");
  background-size: cover;
  background-position: center;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(4, 76, 159, 0.06);
  border-bottom: 1px solid rgba(4, 76, 159, 0.08);
}

.detail-page-title .heading {
  margin-bottom: 6px;
  font-size: clamp(24px, 2.4vw, 34px);
  color: #044c9f;
}

.detail-page-title .breadcrumbs {
  gap: 10px;
  margin: 0;
  padding: 0;
}

/* Normalize legacy breadcrumb bands to new style site-wide */
.tf-section.page-title {
  background-image:
    linear-gradient(180deg, rgba(248, 250, 255, 0.96) 0%, rgba(241, 247, 255, 0.9) 100%) !important;
  background-size: cover !important;
  background-position: center !important;
  border-top: 1px solid rgba(4, 76, 159, 0.06);
  border-bottom: 1px solid rgba(4, 76, 159, 0.08);
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.tf-section.page-title .title {
  color: #044c9f;
  margin-bottom: 8px;
}

.tf-section.page-title .breadcrumbs ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tf-section.page-title .breadcrumbs a {
  color: #4b5563 !important;
  font-weight: 600;
  text-decoration: none !important;
}

.tf-section.page-title .breadcrumbs span,
.tf-section.page-title .breadcrumbs li {
  color: #044c9f;
}

.detail-page-themed .page-content {
  background: #fff !important;
  border: 1px solid rgba(4, 76, 159, 0.12) !important;
  border-radius: 18px !important;
  padding: 56px 44px !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08) !important;
}

.detail-page-themed .content-section h3 {
  font-size: clamp(24px, 2.1vw, 31px) !important;
  font-weight: 700 !important;
  color: #044c9f !important;
  margin-top: 36px !important;
  margin-bottom: 16px !important;
}

.detail-page-themed .content-section h3:first-of-type {
  margin-top: 0 !important;
}

.detail-page-themed .content-section p,
.detail-page-themed .content-section li {
  font-size: 16px !important;
  line-height: 1.86 !important;
  color: #5a6472 !important;
}

.detail-page-themed .content-section ul {
  padding-left: 26px !important;
  margin-bottom: 18px !important;
}

.detail-page-themed .content-section li {
  margin-bottom: 8px !important;
}

.detail-page-themed .content-section strong {
  color: #1d2a3f !important;
}

@media (max-width: 768px) {
  .detail-page-title {
    padding: 14px 0 16px;
  }

  .detail-page-themed .page-content {
    padding: 34px 20px !important;
    border-radius: 14px !important;
  }
}

/* Live AQI clone-style refinements */
.live-aqi-page .live-aqi-wide-col {
  width: min(82vw, 1260px);
}
.live-aqi-page .live-aqi-air-card {
  border-radius: 22px;
  border: 1px solid #d8dee7;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}
.live-aqi-page .live-aqi-air-card.is-good { --aqi-bg: #d9f4d0; }
.live-aqi-page .live-aqi-air-card.is-moderate { --aqi-bg: #f8edbc; }
.live-aqi-page .live-aqi-air-card.is-sensitive { --aqi-bg: #ffe1bf; }
.live-aqi-page .live-aqi-air-card.is-unhealthy { --aqi-bg: #ffd0d0; }
.live-aqi-page .live-aqi-air-card.is-very-unhealthy { --aqi-bg: #e7d7ff; }
.live-aqi-page .live-aqi-air-card.is-hazardous { --aqi-bg: #e2c2ff; }
.live-aqi-page .live-aqi-air-card.is-muted { --aqi-bg: #edf1f5; }
.live-aqi-page .live-aqi-air-card::before {
  display: none;
}
.live-aqi-page .live-aqi-widget-topline {
  padding: 0.9rem 1.3rem 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}
.live-aqi-page .live-aqi-widget-tabs {
  margin: 0;
}
.live-aqi-page .live-aqi-widget-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.live-aqi-page .live-aqi-action-btn {
  border-radius: 999px;
  border: 1px solid #8dc6ea;
  color: #3a7aa3;
  background: #eef8ff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.28rem 0.8rem;
}
.live-aqi-page .live-aqi-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #d0d6df;
  background: #fff;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1;
}
.live-aqi-page .live-aqi-air-head {
  border-bottom: 0;
  padding-top: 0.35rem;
  padding-bottom: 0.65rem;
}
.live-aqi-page .live-aqi-location-name {
  color: #303844;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
}
.live-aqi-page .live-aqi-location-link {
  color: #2e668f;
  text-decoration: underline;
  font-weight: 700;
}
.live-aqi-page .live-aqi-air-body {
  grid-template-columns: minmax(220px, 300px) minmax(140px, 180px) 140px minmax(260px, 330px);
  padding-top: 0.2rem;
}
.live-aqi-page .live-aqi-hero-row {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 330px);
  gap: 1rem;
  margin: 0.25rem 1.4rem 0.35rem;
  align-items: stretch;
  background: var(--aqi-bg);
  border-radius: 14px;
  padding: 0.8rem;
}
.live-aqi-page .live-aqi-hero-left {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(140px, 1fr) 110px;
  align-items: end;
  column-gap: 1rem;
}
.live-aqi-page .live-aqi-kicker {
  color: #4d5562;
  font-size: 0.82rem;
}
.live-aqi-page .live-aqi-score {
  color: #d3ab21;
  font-size: clamp(3.3rem, 8vw, 4.6rem);
}
.live-aqi-page .live-aqi-reading-line {
  font-size: 0.97rem;
  color: #424b57;
  margin-top: 0.16rem;
}
.live-aqi-page .live-aqi-center-status {
  align-self: center;
  padding-top: 0;
}
.live-aqi-page .live-aqi-center-status p {
  color: #4d5562;
  font-size: 0.9rem;
}
.live-aqi-page .live-aqi-center-status h5 {
  color: #d4a81f;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
}
.live-aqi-page .live-aqi-mascot-wrap {
  align-self: end;
}
.live-aqi-page .live-aqi-mascot {
  width: 95px;
  height: 95px;
}
.live-aqi-page .live-aqi-scale-wrap {
  margin: 0 2.2rem 0.9rem 1.4rem;
}
.live-aqi-page .live-aqi-scale {
  border-radius: 4px;
}
.live-aqi-page .live-aqi-scale .band {
  font-size: 0.64rem;
  padding: 0.24rem 0.15rem;
}
.live-aqi-page .live-aqi-scale-ticks {
  margin-top: 0.24rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #57616f;
}
.live-aqi-page .live-aqi-weather-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.9rem 1rem;
}
.live-aqi-page .live-aqi-weather-grid {
  gap: 0.35rem;
}
.live-aqi-page .live-aqi-weather-grid div {
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  padding-bottom: 0.2rem;
}
.live-aqi-page .live-aqi-weather-grid div:last-child {
  border-bottom: 0;
}
@media (max-width: 1199.98px) {
  .live-aqi-page .live-aqi-hero-left {
    grid-template-columns: minmax(180px, 240px) minmax(120px, 1fr) 88px;
  }
  .live-aqi-page .live-aqi-mascot {
    width: 82px;
    height: 82px;
  }
}
@media (max-width: 991.98px) {
  .live-aqi-page .live-aqi-wide-col {
    width: 100%;
  }
  .live-aqi-page .live-aqi-widget-topline {
    flex-wrap: wrap;
  }
  .live-aqi-page .live-aqi-hero-row {
    grid-template-columns: 1fr;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .live-aqi-page .live-aqi-hero-left {
    grid-template-columns: 1fr 1fr;
    row-gap: 0.65rem;
  }
  .live-aqi-page .live-aqi-mascot-wrap {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .live-aqi-page .live-aqi-center-status {
    padding-top: 0;
  }
  .live-aqi-page .live-aqi-scale-wrap {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .live-aqi-page .live-aqi-weather-card {
    margin-top: 0.2rem;
  }
}
@media (max-width: 575.98px) {
  .live-aqi-page .live-aqi-hero-left {
    grid-template-columns: 1fr;
  }
}

/* Stable AQI component */
.live-aqi-air-card { padding: 0 !important; overflow: hidden; }
.aqi-widget { padding: 1.1rem 1.1rem 0.9rem; }
.aqi-widget__header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  margin-bottom: 0.75rem;
}
.aqi-widget__title { color: #2e333b; font-size: clamp(2rem, 2.5vw, 2.35rem); font-weight: 800; letter-spacing: -0.01em; }
.aqi-widget__location { color: #2e668f; text-decoration: underline; font-weight: 700; }
.aqi-widget__meta { font-size: 0.95rem; color: #656d79; margin-top: 0.2rem; }
.aqi-widget__badge {
  background: rgba(255,255,255,0.72); border: 1px solid rgba(15,23,42,0.08);
  border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.82rem; font-weight: 700;
}
.aqi-widget__body {
  background: var(--aqi-bg, #edf1f5);
  border-radius: 14px;
  padding: 1rem 1rem 0.95rem;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(130px, 180px) 92px 112px minmax(250px, 330px);
  gap: 0.75rem;
  align-items: center;
  min-height: 250px;
}
.aqi-widget__kicker { font-size: 0.78rem; color: #4d5562; text-transform: uppercase; }
.aqi-widget__score { font-size: clamp(4rem, 8vw, 5.15rem); line-height: 0.95; font-weight: 800; color: #d7b128; }
.aqi-widget__unit { color: #4d5562; font-size: 0.9rem; }
.aqi-widget__pollutant { color: #3f4855; font-size: 1.05rem; line-height: 1.35; font-weight: 600; }
.aqi-widget__quality p { color: #4d5562; font-size: 1rem; }
.aqi-widget__quality h5 { color: #cfad31; font-size: clamp(2rem, 2.6vw, 2.35rem); font-weight: 800; }
.aqi-widget__orb {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff973f 0%, #ff7f32 60%, #ff6a1f 100%);
  box-shadow: 0 0 0 8px rgba(255, 145, 64, 0.22), 0 0 0 18px rgba(255, 145, 64, 0.1);
  justify-self: center;
}
.aqi-widget__mascot { display: flex; justify-content: center; align-items: flex-end; height: 100%; }
.aqi-widget__mascot-img {
  width: 165px;
  height: 165px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 8px 8px rgba(15, 23, 42, 0.12));
  animation: none !important;
}
.aqi-widget__panel {
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  align-self: stretch;
}
.aqi-widget__panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.45rem; }
.aqi-widget__panel h6 { color: #2d3642; font-size: 1.12rem; font-weight: 700; }
.aqi-widget__panel-now { font-size: 0.82rem; color: #5d6774; font-weight: 700; }
.aqi-widget__panel-grid { display: grid; gap: 0.38rem; }
.aqi-widget__panel-grid div {
  display: flex; justify-content: space-between; font-size: 0.95rem;
  padding-bottom: 0.2rem; border-bottom: 1px solid rgba(15,23,42,0.07);
}
.aqi-widget__panel-grid div:last-child { border-bottom: 0; padding-bottom: 0; }
.aqi-widget__panel-grid span { color: #5f6975; }
.aqi-widget__panel-grid strong { color: #222c38; font-weight: 700; }
.aqi-widget__scale-wrap { margin-top: 0.75rem; }
.aqi-widget__scale {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: 6px; overflow: hidden; border: 1px solid rgba(15,23,42,0.1);
}
.aqi-widget__scale .band { text-align: center; font-size: 0.68rem; font-weight: 700; padding: 0.32rem 0.15rem; line-height: 1.1; color: #1f2937; }
.aqi-widget__scale .band.good { background: #88e085; }
.aqi-widget__scale .band.moderate { background: #fde268; }
.aqi-widget__scale .band.sensitive { background: #fdba74; }
.aqi-widget__scale .band.unhealthy { background: #f98b8b; }
.aqi-widget__scale .band.hazardous { background: #d89cff; }
.aqi-widget__ticks {
  display: flex; justify-content: space-between; margin-top: 0.25rem;
  color: #57616f; font-size: 0.78rem;
}

@media (prefers-reduced-motion: reduce) {
  .aqi-widget,
  .aqi-widget * {
    animation: none !important;
    transition: none !important;
  }
}
.live-aqi-air-card.is-good { --aqi-bg: #c9e9c5; }
.live-aqi-air-card.is-moderate { --aqi-bg: #f6ecbe; }
.live-aqi-air-card.is-sensitive { --aqi-bg: #ffe0ba; }
.live-aqi-air-card.is-unhealthy { --aqi-bg: #ffd0cd; }
.live-aqi-air-card.is-very-unhealthy { --aqi-bg: #e6d7ff; }
.live-aqi-air-card.is-hazardous { --aqi-bg: #dec2ff; }
.live-aqi-air-card.is-muted { --aqi-bg: #edf1f5; }

@media (max-width: 991.98px) {
  .aqi-widget__title { font-size: clamp(1.6rem, 3vw, 2rem); }
  .aqi-widget__meta { font-size: 0.86rem; }
  .aqi-widget__body { grid-template-columns: 1fr 1fr; align-items: stretch; min-height: auto; }
  .aqi-widget__quality, .aqi-widget__orb, .aqi-widget__mascot { grid-column: 1 / -1; justify-self: center; text-align: center; }
  .aqi-widget__mascot-img { width: 128px; height: 128px; }
}
@media (max-width: 575.98px) {
  .aqi-widget { padding-left: 0.8rem; padding-right: 0.8rem; }
  .aqi-widget__header { flex-direction: column; align-items: flex-start; }
  .aqi-widget__body { grid-template-columns: 1fr; gap: 0.8rem; }
  .aqi-widget__score { font-size: 3.5rem; }
  .aqi-widget__pollutant { font-size: 0.98rem; }
  .aqi-widget__orb { width: 64px; height: 64px; box-shadow: 0 0 0 6px rgba(255, 145, 64, 0.2), 0 0 0 12px rgba(255, 145, 64, 0.1); }
  .aqi-widget__mascot-img { width: 110px; height: 110px; }
}

/* Live AQI modern layout */
.aqi-modern-card {
  padding: 2rem;
  background: var(--aqi-bg, #edf1f5);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.1);
}
.live-aqi-air-card .aqi-modern-card {
  background: var(--aqi-bg);
}
.aqi-modern-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.aqi-modern-title {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: #1f2937;
}
.aqi-modern-location {
  color: #1f5f8c;
  text-decoration: underline;
  font-size: 1.05rem;
  font-weight: 700;
}
.aqi-modern-meta {
  font-size: 0.92rem;
  color: #6b7280;
}
.aqi-modern-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.35);
  color: #334155;
}
.live-aqi-air-card.is-good .aqi-modern-badge {
  background: rgba(34, 197, 94, 0.28);
  color: #14532d;
}
.live-aqi-air-card.is-moderate .aqi-modern-badge {
  background: rgba(234, 179, 8, 0.32);
  color: #854d0e;
}
.live-aqi-air-card.is-sensitive .aqi-modern-badge {
  background: rgba(249, 115, 22, 0.3);
  color: #9a3412;
}
.live-aqi-air-card.is-unhealthy .aqi-modern-badge {
  background: rgba(239, 68, 68, 0.28);
  color: #991b1b;
}
.live-aqi-air-card.is-very-unhealthy .aqi-modern-badge {
  background: rgba(168, 85, 247, 0.28);
  color: #581c87;
}
.live-aqi-air-card.is-hazardous .aqi-modern-badge {
  background: rgba(126, 34, 206, 0.32);
  color: #3b0764;
}
.live-aqi-air-card.is-muted .aqi-modern-badge {
  background: rgba(148, 163, 184, 0.35);
  color: #475569;
}
.aqi-modern-body {
  background: transparent;
  border-radius: 18px;
  padding: 0.65rem 0.2rem 0.15rem;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 140px minmax(250px, 320px);
  gap: 1rem;
  align-items: center;
}
.aqi-modern-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}
.aqi-modern-main-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.aqi-modern-left .aqi-modern-live-pill {
  display: inline-flex;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f8fafc;
  background: linear-gradient(120deg, #5dbf72 0%, #89d88f 100%);
}
.aqi-modern-score {
  margin-top: 0.45rem;
  font-size: clamp(4rem, 8vw, 5.8rem);
  line-height: 0.95;
  font-weight: 900;
  color: var(--aqi-score-color, #b45309);
}
.aqi-modern-unit { font-size: 1.18rem; color: #4b5563; margin-bottom: 0.4rem; }
.aqi-modern-pollutant { margin: 0; font-size: 1.05rem; color: #374151; font-weight: 600; }
.aqi-modern-pollutant-inline {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.2;
  white-space: nowrap;
  display: grid;
  grid-template-columns: minmax(4.8ch, max-content) 1fr;
  column-gap: 0.45rem;
  align-items: baseline;
}
.aqi-modern-pollutant-inline .label {
  color: #64748b;
  font-weight: 700;
  text-align: left;
}
.aqi-modern-pollutant-inline .value {
  color: #0f172a;
  font-weight: 900;
  text-align: left;
}
.aqi-modern-left .aqi-modern-pollutant-inline,
.aqi-modern-center .aqi-modern-pollutant-inline {
  min-height: 2.3rem;
}
.aqi-modern-left .aqi-modern-pollutant-inline {
  justify-content: flex-start;
}
.aqi-modern-center .aqi-modern-pollutant-inline {
  justify-content: flex-start;
  width: 100%;
}
.aqi-modern-center .aqi-modern-pollutant-inline:not(.aqi-modern-pollutant-below-quality) {
  margin-top: 1rem !important;
}
.aqi-modern-center {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0.45rem;
}
.aqi-modern-mascot-col {
  display: flex;
  align-items: end;
  justify-content: center;
}
.aqi-modern-quality-label { font-size: 1.15rem; color: #4b5563; }
.aqi-modern-quality-value {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.05rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--aqi-score-color, #b45309);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
}
.aqi-modern-pollutant-below-quality {
  margin-top: 6px !important;
}
.aqi-modern-mascot {
  margin-top: 0;
  width: 185px;
  height: 185px;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(15, 23, 42, 0.12));
}
.aqi-modern-right {
  background: rgb(255 255 255 / 34%);
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.aqi-modern-right h6 {
  font-size: 1.5rem;
  color: #1f2937;
  font-weight: 800;
}
.aqi-modern-rec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(100, 116, 139, 0.22);
}
.aqi-modern-rec-row:last-child { border-bottom: 0; }
.aqi-modern-rec-row span { color: #4b5563; }
.aqi-modern-rec-row strong { color: #1f2937; font-weight: 700; }
.aqi-rec-em {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff !important;
}
.aqi-rec-em--positive { background: #16a34a; }
.aqi-rec-em--caution { background: #d97706; }
.aqi-rec-em--warn { background: #ea580c; }
.aqi-rec-em--risk { background: #b91c1c; }
.aqi-rec-em--muted { background: #64748b; }
.aqi-modern-scale-wrap { margin-top: 0.82rem; }
.aqi-modern-scale {
  position: relative;
  height: 34px;
}
.aqi-modern-scale-track {
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}
.aqi-modern-scale .seg.good { background: linear-gradient(90deg, #55cc73 0%, #70d37a 100%); }
.aqi-modern-scale .seg.moderate { background: linear-gradient(90deg, #b3df53 0%, #f1db3c 100%); }
.aqi-modern-scale .seg.sensitive { background: linear-gradient(90deg, #f1d43a 0%, #f0a147 100%); }
.aqi-modern-scale .seg.unhealthy { background: linear-gradient(90deg, #ee9953 0%, #e96f65 100%); }
.aqi-modern-scale .seg.hazardous { background: linear-gradient(90deg, #c780e2 0%, #b06ddb 100%); }
.aqi-modern-marker {
  position: absolute;
  top: -4px;
  left: clamp(0%, var(--aqi-marker-left, 0%), 100%);
  transform: translateX(-50%);
  width: 10px;
  height: 30px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.32);
  background: #334155;
}
.aqi-modern-labels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  font-size: 1rem;
  color: #4b5563;
  font-weight: 900;
}
.aqi-modern-labels span:nth-child(1) { text-align: left; }
.aqi-modern-labels span:not(:first-child):not(:last-child) { text-align: center; }
.aqi-modern-labels span:last-child { text-align: right; }

.live-aqi-air-card.is-good {
  --aqi-bg: #d6edd0;
  --aqi-score-color: #15803d;
}
.live-aqi-air-card.is-moderate {
  --aqi-bg: #f5ebb7;
  --aqi-score-color: #a16207;
}
.live-aqi-air-card.is-sensitive {
  --aqi-bg: #ffe1bf;
  --aqi-score-color: #c2410c;
}
.live-aqi-air-card.is-unhealthy {
  --aqi-bg: #ffd1cc;
  --aqi-score-color: #b91c1c;
}
.live-aqi-air-card.is-very-unhealthy {
  --aqi-bg: #e9d8ff;
  --aqi-score-color: #7e22ce;
}
.live-aqi-air-card.is-hazardous {
  --aqi-bg: #dfc4ff;
  --aqi-score-color: #581c87;
}
.live-aqi-air-card.is-muted {
  --aqi-bg: #edf1f5;
  --aqi-score-color: #64748b;
}

@media (max-width: 991.98px) {
  .aqi-modern-body {
    grid-template-columns: 1fr;
  }
  .aqi-modern-main {
    grid-column: 1 / -1;
    gap: 0.8rem;
  }
  .aqi-modern-center {
    justify-self: start;
  }
  .aqi-modern-mascot-col { align-self: center; justify-self: center; }
  .aqi-modern-right {
    grid-column: auto;
  }
  .aqi-modern-mascot {
    width: 155px;
    height: 155px;
  }
}

@media (max-width: 575.98px) {
  .aqi-modern-card {
    padding: 0.75rem;
  }
  .aqi-modern-title {
    font-size: 1.55rem;
  }
  .aqi-modern-score {
    font-size: 4rem;
  }
  .aqi-modern-body {
    grid-template-columns: 1fr;
  }
  .aqi-modern-main {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .aqi-modern-pollutant-inline {
    font-size: 1.3rem;
    white-space: normal;
  }
  .aqi-modern-mascot-col {
    grid-column: auto;
    grid-row: auto;
  }
  .aqi-modern-right h6 {
    font-size: 1.2rem;
  }
  .aqi-modern-rec-row {
    font-size: 0.92rem;
  }
  .aqi-modern-pollutant-inline {
    font-size: 1.1rem;
  }
  .aqi-modern-left .aqi-modern-pollutant-inline,
  .aqi-modern-center .aqi-modern-pollutant-inline {
    min-height: auto;
    margin-top: 0.5rem !important;
  }
  .aqi-modern-mascot {
    width: 130px;
    height: 130px;
  }
}
.ml-15{
  margin-left: 15px;
}