/*
 Theme Name:   MausamAlert
 Theme URI:    http://mausamalert.com/
 Description:  GeneratePress Child Theme for MausamAlert
 Author:       Antigravity
 Template:     generatepress
 Version:      1.0.0
*/

/* ════════════════════════════════════════
   TOKENS & BASE
════════════════════════════════════════ */
:root {
  /* Core Backgrounds */
  --bg: #070F1E;
  --bg2: #0B1628;
  --bg3: #0F1E35;
  --bg4: #13253F;

  /* Borders */
  --border: #1C3A5A;
  --border2: #2A5080;

  /* Text */
  --white: #ffffff;
  --text: #ffffff;
  --dim: #8AAAC8;
  --dimmer: #547090;
  --muted: #6A7E92;

  /* Accents */
  --blue: #5BB8F5;
  --blue2: #8ECFF8;
  --blue-light: #E8F2FF;

  --orange: #FF8C00;
  --amber: #FFAA00;
  --red: #FF4400;

  --yellow: #FFD700;
  --green: #3DD68C;
  --teal: #00C9B8;

  /* RGB Components for rgba() */
  --blue-rgb: 91, 184, 245;
  --orange-rgb: 255, 140, 0;
  --red-rgb: 255, 68, 0;
  --alert-red-rgb: 255, 40, 0;
  --alert-yellow-rgb: 255, 220, 0;
  --black-rgb: 0, 0, 0;

  /* Specialized Gradients & Elements */
  --hero-g1: #071830;
  --hero-g2: #0C2040;

  --aqi-1: #3dd68c;
  --aqi-2: #ffeb3b;
  --aqi-3: #ff9800;
  --aqi-4: #f44336;
  --aqi-5: #9c27b0;

  --alert-orange: #FF9060;
  --alert-red-light: #FF6040;
  --alert-red: #FF4040;

  --scrollbar-track: #334455;

  /* Layout */
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 4px 24px rgba(var(--black-rgb), .4);
}

.mausam-app {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* mobile bottom-nav gap */
@media(max-width:767px) {
  .mausam-app-footer-spacing {
    padding-bottom: 66px;
  }
}

/* ════════════════════════════════════════
   TYPOGRAPHY UTIL
════════════════════════════════════════ */
.mausam-h {
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mausam-raj {
  font-family: 'Rajdhani', sans-serif;
}

/* ════════════════════════════════════════
   TOP NAV
════════════════════════════════════════ */
.mausam-nav {
  position: sticky;
  top: 0;
  z-index: 400;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 12px;
}

.mausam-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.mausam-logo:hover {
  text-decoration: none;
}

.mausam-logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mausam-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}

.mausam-logo-domain {
  font-size: 9px;
  color: var(--blue);
  letter-spacing: 2px;
  display: block;
  line-height: 1.2;
}

.mausam-nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin-left: 8px;
  margin-bottom: 0;
}

.mausam-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 11px;
  border-radius: 7px;
  transition: all .18s;
  font-family: 'Noto Sans Devanagari', sans-serif;
  white-space: nowrap;
}

.mausam-nav-links a:hover,
.mausam-nav-links a.active {
  background: var(--bg4);
  color: var(--blue);
}

.mausam-nav-spacer {
  flex: 1;
}

.mausam-nav-search {
  display: flex;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 0 14px;
  gap: 7px;
  height: 36px;
  transition: all .2s ease;
}

.mausam-nav-search:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.15);
  background: var(--bg4);
}

.mausam-nav-search input[type="text"] {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  width: 160px;
  font-family: 'Noto Sans Devanagari', sans-serif;
  box-shadow: none;
  transition: width .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mausam-nav-search input[type="text"]:focus {
  width: 210px;
  background: transparent;
  border: none;
}

.mausam-nav-search input::placeholder {
  color: var(--dim);
}

.mausam-nav-search span {
  color: var(--dim);
  font-size: 14px;
}

.mausam-alert-pill {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  animation: mausam-blink 2.2s ease infinite;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

@keyframes mausam-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .6;
  }
}

.mausam-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
}

.mausam-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .28s;
}

.mausam-burger.x span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mausam-burger.x span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mausam-burger.x span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ════════════════════════════════════════
   MOBILE DRAWER
════════════════════════════════════════ */
.mausam-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.mausam-drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(var(--black-rgb), .65);
  backdrop-filter: blur(3px);
}

.mausam-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 270px;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  padding: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.mausam-drawer.open {
  display: block;
}

.mausam-drawer.open .mausam-drawer-panel {
  transform: translateX(0);
}

.mausam-drawer-header {
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  gap: 8px;
}

.mausam-drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mausam-drawer-links li a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 20px;
  color: var(--muted);
  text-decoration: none;
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  transition: all .18s;
}

.mausam-drawer-links li a:hover {
  color: var(--blue);
  background: var(--bg4);
}

.mausam-drawer-icon {
  font-size: 19px;
  width: 24px;
  text-align: center;
}

/* ════════════════════════════════════════
   TICKER
════════════════════════════════════════ */
.mausam-ticker {
  background: linear-gradient(90deg, var(--orange), var(--amber));
  height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  overflow: hidden;
}

.mausam-ticker-chip {
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: 'Noto Sans Devanagari', sans-serif;
  flex-shrink: 0;
}

.mausam-ticker-wrap {
  overflow: hidden;
  flex: 1;
}

.mausam-ticker-txt {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--bg2);
  animation: mausam-ticker 45s linear infinite;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

@keyframes mausam-ticker {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ════════════════════════════════════════
   CITY SEARCH BAR
════════════════════════════════════════ */
.mausam-city-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mausam-city-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}

.mausam-city-select {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Noto Sans Devanagari', sans-serif;
  outline: none;
  cursor: pointer;
  flex: 1;
  min-width: 160px;
}

.mausam-city-select:focus {
  border-color: var(--orange);
}

.mausam-city-text-input {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  flex: 1;
  min-width: 140px;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mausam-city-text-input::placeholder {
  color: var(--dim);
}

.mausam-city-text-input:focus {
  border-color: var(--blue);
}

.mausam-coord-input {
  flex: none;
  width: 145px;
}

.mausam-load-btn {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans Devanagari', sans-serif;
  white-space: nowrap;
  transition: opacity .18s;
  flex-shrink: 0;
}

.mausam-load-btn:active {
  opacity: .8;
  transform: scale(.97);
}

.mausam-status-txt {
  font-size: 12px;
  font-family: 'Noto Sans Devanagari', sans-serif;
  width: 100%;
  display: none;
}

.mausam-status-txt.ok {
  color: var(--green);
}

.mausam-status-txt.err {
  color: var(--aqi-4);
}

@media(max-width:767px) {
  .mausam-city-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .mausam-city-bar-inner>span {
    align-self: center;
    margin: 4px 0;
  }

  .mausam-city-select,
  .mausam-city-text-input {
    min-width: unset;
    width: 100%;
  }

  .mausam-coord-input {
    width: 100%;
    flex: auto;
  }

  .mausam-load-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .mausam-city-bar {
    padding: 10px 14px;
    gap: 8px;
  }
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.mausam-hero {
  background: linear-gradient(160deg, var(--hero-g1) 0%, var(--hero-g2) 45%, var(--bg2) 100%);
  border-bottom: 1px solid var(--border);
  padding: 28px 18px 24px;
  border-radius: var(--r);
}

.mausam-hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.mausam-hero-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
  flex-wrap: wrap;
}

.mausam-loc-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--blue);
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mausam-date-chip {
  font-size: 12px;
  color: var(--muted);
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mausam-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.mausam-temp-col {
  text-align: center;
}

.mausam-temp-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 90px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -3px;
}

.mausam-temp-num sup {
  font-size: 38px;
  color: var(--blue);
  letter-spacing: 0;
  vertical-align: super;
  margin-left: 2px;
}

.mausam-temp-desc {
  font-size: 16px;
  color: var(--blue2);
  margin-top: 6px;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mausam-temp-feels {
  font-size: 12px;
  color: var(--dim);
  margin-top: 3px;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mausam-hero-icon {
  font-size: 90px;
  text-align: center;
  filter: drop-shadow(0 0 20px rgba(var(--blue-rgb), .3));
}

.mausam-stats-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mausam-scard {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 12px;
}

.mausam-scard-lbl {
  font-size: 16px;
  color: var(--dim);
  font-family: 'Noto Sans Devanagari', sans-serif;
  margin-bottom: 2px;
}

.mausam-scard-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.mausam-scard-val small {
  font-size: 10px;
  color: var(--blue);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}

.mausam-minmax-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding: 10px 0 0;
  border-top: 1px solid var(--border);
}

.mausam-minmax-item {
  text-align: center;
}

.mausam-minmax-lbl {
  font-size: 12px;
  color: var(--dim);
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mausam-minmax-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.mausam-minmax-val.hi {
  color: var(--amber);
}

.mausam-minmax-val.lo {
  color: var(--blue);
}

@media(max-width:767px) {
  .mausam-hero {
    padding: 18px 14px 20px;
  }

  .mausam-hero-grid {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .mausam-hero-icon {
    font-size: 60px;
    align-self: start;
    margin-top: 6px;
  }

  .mausam-temp-num {
    font-size: 72px;
  }

  .mausam-temp-num sup {
    font-size: 30px;
  }

  .mausam-stats-col {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .mausam-scard {
    padding: 8px 10px;
  }

  .mausam-scard-val {
    font-size: 16px;
  }

  .mausam-scard-lbl {
    font-size: 11px;
  }

  .mausam-date-chip {
    display: none;
  }
}

@media(max-width:380px) {
  .mausam-temp-num {
    font-size: 60px;
  }

  .mausam-stats-col,
  .mausam-minmax-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    text-align: center;
  }
}

/* ════════════════════════════════════════
   SECTION WRAPPER
════════════════════════════════════════ */
.mausam-sec {
  padding: 20px 18px;
  /* max-width: 960px; */
  margin: 0 auto;
}

@media(max-width:767px) {
  .mausam-sec {
    padding: 16px 14px;
  }
}

.mausam-sec-title {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.mausam-sec-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 17px;
  background: linear-gradient(180deg, var(--orange), var(--amber));
  border-radius: 2px;
  flex-shrink: 0;
}

.mausam-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ════════════════════════════════════════
   HOURLY STRIP
════════════════════════════════════════ */
.mausam-hourly-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 4px 12px rgba(var(--black-rgb), 0.15);
}

.mausam-h-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  min-width: 66px;
  flex-shrink: 0;
  transition: border-color .18s;
  box-shadow: 0 4px 12px rgba(var(--black-rgb), 0.15);
}

.mausam-h-card.now {
  background: var(--bg4);
  border-color: var(--orange);
}

.mausam-h-card:hover {
  border-color: var(--blue);
}

.mausam-h-time {
  font-size: 12px;
  color: var(--dim);
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mausam-h-icon {
  font-size: 26px;
  margin: 5px 0;
}

.mausam-h-temp {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.mausam-h-rain {
  font-size: 11px;
  color: var(--blue);
  margin-top: 2px;
}

/* ════════════════════════════════════════
   TOMORROW CARD
════════════════════════════════════════ */
.mausam-tmrw-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(var(--black-rgb), 0.15);
}

.mausam-tmrw-icon {
  font-size: 64px;
  text-align: center;
}

.mausam-tmrw-desc {
  font-size: 16px;
  color: var(--blue2);
  font-family: 'Noto Sans Devanagari', sans-serif;
  margin-bottom: 12px;
}

.mausam-tmrw-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media(max-width:767px) {
  .mausam-tmrw-card {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    padding: 14px;
    text-align: center;
  }

  .mausam-tmrw-icon {
    font-size: 48px;
  }

  .mausam-tmrw-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .mausam-tmrw-desc {
    font-size: 14px;
    margin-bottom: 8px;
  }
}

/* ════════════════════════════════════════
   WEEKLY ROWS
════════════════════════════════════════ */
.mausam-week-grid {
  display: grid;
  gap: 7px;
}

.mausam-w-row {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 110px 32px 110px 1fr 65px;
  align-items: center;
  gap: 10px;
  transition: border-color .18s;
  box-shadow: 0 4px 12px rgba(var(--black-rgb), 0.15);
}

.mausam-w-row.today {
  border-color: var(--orange);
}

.mausam-w-row:hover {
  border-color: var(--blue);
}

.mausam-w-day {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.mausam-w-icon {
  font-size: 24px;
  text-align: center;
}

.mausam-w-desc {
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mausam-w-bar-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.mausam-w-lo {
  font-size: 14px;
  color: var(--dim);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  white-space: nowrap;
}

.mausam-w-hi {
  font-size: 14px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  white-space: nowrap;
}

.mausam-w-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.mausam-w-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.mausam-w-rain {
  font-size: 13px;
  color: var(--blue);
  text-align: right;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

@media(max-width:767px) {
  .mausam-w-row {
    grid-template-columns: 76px 28px 75px 1fr 50px;
    padding: 10px 11px;
    gap: 7px;
  }

  .mausam-w-day {
    font-size: 12px;
  }

  .mausam-w-desc {
    font-size: 11px;
  }
}


/* ════════════════════════════════════════
   STATES
════════════════════════════════════════ */
.mausam-states-wrap {
  padding: 20px 18px;
  margin-top: var(--r);
}

.mausam-states-inner {
  /* max-width: 960px; */
  margin: 0 auto;
}

@media(max-width:767px) {
  .mausam-states-wrap {
    padding: 16px 14px;
  }
}

.mausam-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 3px;
}

.mausam-tabs::-webkit-scrollbar {
  display: none;
}

.mausam-tab {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  padding: 6px 13px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .18s;
  font-family: 'Noto Sans Devanagari', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

.mausam-tab.on,
.mausam-tab:hover {
  background: var(--bg4);
  border-color: var(--orange);
  color: var(--orange);
}

.mausam-states-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

@media(max-width:767px) {
  .mausam-states-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .mausam-st-card {
    text-align: center;
  }
}

.mausam-st-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.mausam-st-card:hover {
  border-color: var(--blue);
  background: var(--bg3);
}

.mausam-st-name {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.mausam-st-arrow {
  font-size: 18px;
  color: var(--dim);
  font-family: monospace;
}

.mausam-view-all-btn {
  width: 100%;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  transition: all .2s;
}

.mausam-view-all-btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--border);
}



/* ════════════════════════════════════════
   AQI
════════════════════════════════════════ */
.mausam-aqi-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(var(--black-rgb), 0.15);
}

.mausam-aqi-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}

.mausam-aqi-lbl {
  font-size: 14px;
  color: var(--dim);
  font-family: 'Noto Sans Devanagari', sans-serif;
  margin-top: 3px;
}

.mausam-aqi-level {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 9px;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.mausam-aqi-scale {
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--aqi-2), var(--aqi-3), var(--aqi-4), var(--aqi-5));
  position: relative;
  margin-bottom: 5px;
}

.mausam-aqi-needle {
  position: absolute;
  top: -5px;
  width: 17px;
  height: 17px;
  background: var(--white);
  border: 2.5px solid var(--green);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: left .5s;
}

.mausam-aqi-rng {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--dimmer);
  margin-bottom: 12px;
  font-weight: bold;
}

.mausam-aqi-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.mausam-aqi-pill {
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 6px;
  text-align: center;
}

.mausam-aqi-pill-n {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.mausam-aqi-pill-l {
  font-size: 14px;
  color: var(--dim);
  display: block;
  margin-bottom: 2px;
}

.mausam-aqi-pill-u {
  font-size: 12px;
  color: var(--blue);
}

@media(max-width:767px) {
  .mausam-aqi-card {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    padding: 14px;
    text-align: center;
  }

  .mausam-aqi-num {
    font-size: 42px;
  }

  .mausam-aqi-pills {
    gap: 5px;
  }

  .mausam-aqi-pill-n {
    font-size: 12px;
  }
}

/* ════════════════════════════════════════
   MAP PLACEHOLDER
════════════════════════════════════════ */
.mausam-map-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  height: 400px;
  position: relative;
  overflow: hidden;
}

@media(max-width:767px) {
  #mausam-map-tooltip {
    left: 0 !important;
    right: auto !important;
  }
}

.mausam-mdot {
  position: absolute;
  border-radius: 50%;
  animation: mausam-mdot 3s ease-in-out infinite;
}

@keyframes mausam-mdot {

  0%,
  100% {
    transform: scale(1);
    opacity: .85;
  }

  50% {
    transform: scale(1.8);
    opacity: .3;
  }
}

.mausam-map-hint {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 13px;
  color: var(--dim);
  text-align: center;
  padding: 0 20px;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.mausam-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 18px 60px 18px;
}

.mausam-footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.mausam-footer-links a {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 18px;
  color: var(--dim);
  text-decoration: none;
}

.mausam-footer-links a:hover {
  color: var(--blue);
}

/* Leaflet Dark Theme Overrides */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--bg2) !important;
  color: var(--text) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-popup-content {
  margin: 8px 10px !important;
  line-height: 1.4;
}

.mausam-footer-copy {
  text-align: center;
  font-size: 18px;
  color: var(--dimmer);
  font-family: 'Noto Sans Devanagari', sans-serif;
}

/* ════════════════════════════════════════
   RESPONSIVE Footer
════════════════════════════════════════ */
@media(max-width:767px) {

  .mausam-footer-links a,
  .mausam-footer-copy {
    font-size: 14px;
  }

  .mausam-footer {
    padding: 30px 18px 40px 18px;
  }
}

/* ════════════════════════════════════════
   BOTTOM NAV (mobile)
════════════════════════════════════════ */
.mausam-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  height: 66px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  justify-content: space-around;
  align-items: center;
}

.mausam-bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: var(--dim);
  font-size: 9px;
  font-family: 'Noto Sans Devanagari', sans-serif;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color .18s;
  min-width: 44px;
}

.mausam-bn-icon {
  font-size: 20px;
  line-height: 1;
}

.mausam-bn-item.on,
.mausam-bn-item:hover {
  color: var(--orange);
  text-decoration: none;
}

@media(max-width:767px) {
  .mausam-bottom-nav {
    display: flex;
  }
}

/* ════════════════════════════════════════
   LOADING & UTILS
════════════════════════════════════════ */
.mausam-loading-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-family: 'Noto Sans Devanagari', sans-serif;
  padding: 6px 0;
}

.mausam-spin {
  width: 15px;
  height: 15px;
  border: 2px solid var(--border);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: mausam-spin .7s linear infinite;
  flex-shrink: 0;
}

@keyframes mausam-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ════════════════════════════════════════
   RESPONSIVE NAV OVERRIDES
════════════════════════════════════════ */
@media(max-width:767px) {
  .mausam-nav-links {
    display: none;
  }

  .mausam-nav-search {
    display: none;
  }

  .mausam-alert-pill {
    font-size: 10px;
    padding: 3px 8px;
  }

  .mausam-burger {
    display: flex;
  }
}

@media(min-width:768px) {
  .mausam-burger {
    display: none;
  }

  .mausam-bottom-nav {
    display: none;
  }
}

/* ════════════════════════════════════════
   WP ADMIN BAR FIXES
════════════════════════════════════════ */
/* WP ADMIN BAR FIXES */
.admin-bar .mausam-nav {
  top: 32px;
}

.admin-bar .mausam-drawer {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .mausam-nav {
    top: 0;
  }

  .admin-bar .mausam-drawer {
    top: 46px;
  }
}


.mausam-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  margin-top: 4px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(var(--black-rgb), 0.5);
}

.mausam-search-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.mausam-search-item:last-child {
  border-bottom: none;
}

.mausam-search-item:hover,
.mausam-search-item.mausam-search-active {
  background: var(--bg4);
}

.mausam-search-item.mausam-search-active {
  border-left: 3px solid var(--blue);
  padding-left: 11px;
}

.mausam-search-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.mausam-search-region {
  color: var(--dim);
  font-size: 12px;
}

/* ════════════════════════════════════════
   GLOBAL GENERATEPRESS THEME OVERRIDES
════════════════════════════════════════ */
:root {
  /* Override GP Base Colors */
  --base: var(--bg);
  /* Body background */
  --base-2: var(--bg2);
  /* Secondary background (widgets, secondary nav) */
  --base-3: var(--bg3);
  /* Content background (white in light mode) */

  /* Override GP Text Colors */
  --contrast: var(--text);
  /* Main text */
  --contrast-2: var(--muted);
  /* Muted text / meta */
  --contrast-3: var(--border);
  /* Borders / subtle */

  /* Override GP Accent Color */
  --accent: var(--orange);
  /* Links, buttons */

  /* Override Gutenberg Preset Colors */
  --wp--preset--color--contrast: var(--contrast);
  --wp--preset--color--contrast-2: var(--contrast-2);
  --wp--preset--color--contrast-3: var(--contrast-3);
  --wp--preset--color--base: var(--base);
  --wp--preset--color--base-2: var(--base-2);
  --wp--preset--color--base-3: var(--base-3);
  --wp--preset--color--accent: var(--accent);
}

/* Global Typography Override */
body,
button,
input,
select,
textarea {
  font-family: 'Inter', sans-serif;
}

/* Structural Tweaks */
/* Restyle default widgets and content boxes */
.widget,
.inside-article,
.comments-area,
.site-main>article,
.sidebar .widget {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background-color: var(--bg3);
}

/* Ensure global form inputs match dark theme */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  background-color: var(--bg4);
  color: var(--text);
  border-color: var(--border);
  border-radius: var(--r-sm);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  color: var(--text);
}

/* Primary buttons should look like Mausam buttons */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.button:visited,
a.wp-block-button__link:not(.has-background) {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
a.button:focus {
  color: var(--white);
  opacity: 0.8;
  background-color: rgba(var(--orange-rgb), .13);
}

/* Site header and footer */
.site-header,
.site-footer {
  background-color: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-bottom: none;
  border-top: 1px solid var(--border);
}

/* Ensure standard links use the accent color and hover nicely */
a {
  color: var(--blue);
}

a:hover {
  color: var(--blue);
}

/* Hourly Chart Backgrounds */
.mausam-h-bg {
  border: 1px solid transparent;
  background: transparent;
}

.mausam-h-bg:hover {
  border-color: var(--border2);
  background: var(--bg2);
}

.mausam-h-bg.active {
  border-color: var(--blue);
  background: var(--bg2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ════════════════════════════════════════
   LIGHT MODE
════════════════════════════════════════ */
html.light-mode {
  --bg: #F4F7F6;
  --bg2: #FFFFFF;
  --bg3: #F9FAFB;
  --bg4: #E1E7EF;

  --border: #E5E7EB;
  --border2: #D1D5DB;

  --text: #111827;
  --white: #111827;
  --dim: #4B5563;
  --dimmer: #6B7280;
  --muted: #374151;

  --blue: #0284C7;
  --blue2: #0369A1;
  --blue-light: #BAE6FD;

  --orange: #EA580C;
  --amber: #D97706;
  --red: #DC2626;

  --yellow: #CA8A04;
  --green: #059669;
  --teal: #0D9488;

  --hero-g1: #E0F2FE;
  --hero-g2: #BAE6FD;
  --scrollbar-track: #E5E7EB;
}

html.light-mode .mausam-alert-pill,
html.light-mode .mausam-ticker-chip,
html.light-mode .mausam-load-btn,
html.light-mode .mausam-logo-badge {
  color: #ffffff !important;
}

html.light-mode .mausam-aqi-needle {
  background: #ffffff !important;
}

/* ════════════════════════════════════════
   PORTAL HERO (Home Page)
════════════════════════════════════════ */
.mausam-portal-hero {
  position: relative;
  text-align: center;
  padding: 60px 20px 40px;
  overflow: hidden;
  background: var(--bg);
}

.mausam-portal-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.15;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, var(--blue) 1px, transparent 1px),
    linear-gradient(to bottom, var(--blue) 1px, transparent 1px);
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.mausam-portal-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.mausam-portal-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 15px;
}

.mausam-portal-subtitle {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.5;
}

.mausam-portal-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mausam-portal-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.mausam-portal-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 12px;
}

.mausam-portal-card p {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 0;
}

.mausam-portal-card strong {
  color: var(--white);
}

.mausam-portal-search-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.mausam-portal-input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  font-size: 15px;
}

.mausam-portal-input:focus {
  outline: none;
  border-color: var(--blue);
}

.mausam-portal-btn {
  background: var(--bg4);
  color: var(--white);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.mausam-portal-btn:hover {
  background: var(--blue);
  color: var(--bg);
}

.mausam-btn-orange {
  display: block;
  background: linear-gradient(to right, var(--orange), var(--red));
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.mausam-btn-orange:hover {
  opacity: 0.9;
  color: #fff;
}

@media (min-width: 768px) {

  .mausam-portal-title {
    font-size: 42px;
  }

  .mausam-portal-subtitle {
    font-size: 18px;
  }
}

/* ════════════════════════════════════════
   QUICK NAV GRID
════════════════════════════════════════ */
.mausam-quick-nav {
  margin: 20px 15px;
}

.mausam-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mausam-quick-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 10px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mausam-quick-card:hover {
  background: var(--blue);
  color: var(--bg);
  border-color: var(--blue);
}

.mausam-quick-icon {
  font-size: 24px;
}

.mausam-quick-title {
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .mausam-quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ════════════════════════════════════════
   TOURIST PLACES GRID
════════════════════════════════════════ */
.mausam-tourist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mausam-tourist-card {
  background: var(--bg2);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 2px 8px var(--border2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border)
}

.ma-tourist-icon {
  font-size: 24px;
}

.ma-tourist-name {
  font-size: 16px;
  font-weight: 600;
}

html.dark-mode .mausam-tourist-card {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.05);
}

/* ════════════════════════════════════════
   SEASONS LIST
════════════════════════════════════════ */
.mausam-seasons-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mausam-season-card {
  background: var(--bg2);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 1px solid var(--shadow);
  border: 1px solid var(--border);
}

.mausam-season-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mausam-season-desc {
  font-size: 14px;
  margin: 0;
  color: var(--dim);
  line-height: 1.5;
}

html.dark-mode .mausam-season-card {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.05);
}

/* ════════════════════════════════════════
   FAQ SECTION
════════════════════════════════════════ */
.mausam-faq-box {
  background: var(--bg2);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow);
}

.mausam-faq-item-static {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.mausam-faq-item-static:last-child {
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 0;
}

.mausam-faq-item-static h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--text);
}

.mausam-faq-item-static p {
  font-size: 14px;
  margin: 0;
  color: var(--dim);
  line-height: 1.5;
}

html.dark-mode .mausam-faq-box {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.05);
}

html.dark-mode .mausam-faq-item-static {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}


/* Alert Card */
.alert-card p {
  margin-bottom: 0;
}

.mausam-alerts-list .alert-card {
  margin-bottom: 16px;
  overflow: hidden;
  background: rgba(var(--red-rgb), .07);
  border: 1px solid rgba(var(--red-rgb), .28);
  border-radius: var(--r);
}

.mausam-alerts-list .ac-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 18px 14px;
}

.mausam-alerts-list .ac-left {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mausam-alerts-list .ac-icon {
  width: 44px;
  height: 44px;
  background: rgba(var(--red-rgb), .14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.mausam-alerts-list .ac-title {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 4px;
}

.mausam-alerts-list .ac-location {
  font-size: 13px;
  font-weight: 600;
  opacity: .8;
}

.mausam-alerts-list .ac-badge {
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  align-self: flex-start;
}

.mausam-alerts-list .ac-text {
  padding: 0 18px 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}

.mausam-alerts-list .ac-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}

.mausam-alerts-list .ac-red {
  background: rgba(220, 38, 38, 0.05);
  border-color: rgba(220, 38, 38, 0.2);
}

.mausam-alerts-list .ac-red .ac-icon {
  background: var(--red);
  color: #fff;
}

.mausam-alerts-list .ac-red .ac-title {
  color: var(--red);
}

.mausam-alerts-list .ac-red .ac-badge {
  background: var(--red);
  color: #fff;
}

.mausam-alerts-list .ac-orange {
  background: rgba(249, 115, 22, 0.05);
  border-color: rgba(249, 115, 22, 0.2);
}

.mausam-alerts-list .ac-orange .ac-icon {
  background: var(--orange);
  color: #fff;
}

.mausam-alerts-list .ac-orange .ac-title {
  color: var(--orange);
}

.mausam-alerts-list .ac-orange .ac-badge {
  background: var(--orange);
  color: #fff;
}

.mausam-alerts-list .ac-yellow {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.2);
}

.mausam-alerts-list .ac-yellow .ac-icon {
  background: var(--amber);
  color: #fff;
}

.mausam-alerts-list .ac-yellow .ac-title {
  color: var(--amber);
}

.mausam-alerts-list .ac-yellow .ac-badge {
  background: var(--amber);
  color: #fff;
}