/* =========================================================================
   SIKKIM TOURISM WEATHER — partials/homePage/weatherSection
   Standalone section after "Sikkim Tourism Best Time". Uses --pt-* tokens.
   ========================================================================= */
.wx {
  background:
    radial-gradient(circle at 10% 0%, rgba(47, 143, 216, 0.08), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(248, 182, 0, 0.08), transparent 40%),
    #f7fafc;
}

.wx-s-spring  { --wx-c: #1fa36b; --wx-soft: rgba(31, 163, 107, 0.12); }
.wx-s-summer  { --wx-c: #f0a020; --wx-soft: rgba(240, 160, 32, 0.14); }
.wx-s-monsoon { --wx-c: #2f6fd8; --wx-soft: rgba(47, 111, 216, 0.12); }
.wx-s-autumn  { --wx-c: #d9772b; --wx-soft: rgba(217, 119, 43, 0.13); }
.wx-s-winter  { --wx-c: #5aa9d6; --wx-soft: rgba(90, 169, 214, 0.14); }

.wx-head {
  max-width: 880px;
  margin: 0 auto 36px;
}

.wx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--pt-radius-pill);
  background: rgba(47, 143, 216, 0.1);
  color: #2f6fd8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.wx .wx-title {
  display: block;
  margin: 14px 0;
  color: var(--pt-ink);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.wx-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #2f6fd8, #5aa9d6, var(--pt-gold));
}

.wx-lead {
  margin: 0;
  color: var(--pt-slate);
  line-height: 1.8;
}

/* ---- Year strip ---- */
.wx-year {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  margin: 0 0 30px;
  padding: 10px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.06);
  box-shadow: var(--pt-shadow-sm);
  list-style: none;
}

.wx-year li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 2px;
  border-radius: 12px;
  background: var(--wx-soft);
  border-bottom: 3px solid var(--wx-c);
}

.wx-year-month {
  color: var(--pt-ink);
  font-size: 13.5px;
  font-weight: 800;
}

.wx-year-season {
  color: var(--wx-c);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ---- Cards: 3 on top, 2 below ---- */
.wx-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.wx-card {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--pt-radius-lg);
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.06);
  box-shadow: var(--pt-shadow-sm);
  transition: transform 0.4s var(--pt-ease), box-shadow 0.4s var(--pt-ease);
}

.wx-card:nth-child(4),
.wx-card:nth-child(5) {
  grid-column: span 3;
}

.wx-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--wx-soft), transparent 70%);
  pointer-events: none;
}

.wx-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--wx-c);
}

.wx-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--pt-shadow-md);
}

.wx-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wx-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--wx-c);
  color: #fff;
  font-size: 21px;
  box-shadow: 0 10px 22px var(--wx-soft);
}

.wx-card-months {
  padding: 5px 12px;
  border-radius: var(--pt-radius-pill);
  background: var(--wx-soft);
  color: var(--wx-c);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}

.wx-card h3 {
  margin: 0 0 12px;
  color: var(--pt-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.wx-conds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.wx-conds li {
  padding: 4px 10px;
  border-radius: var(--pt-radius-pill);
  background: #f1f5f9;
  color: var(--pt-ink);
  font-size: 12px;
  font-weight: 600;
}

.wx-card p {
  margin: 0;
  color: var(--pt-slate);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---- Note ---- */
.wx-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--pt-navy-950), var(--pt-navy-800));
  box-shadow: var(--pt-shadow-md);
}

.wx-note-icon {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 14px;
  background: var(--pt-gold);
  color: var(--pt-ink);
  font-size: 20px;
}

.wx-note p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 1.75;
}

.wx-note strong {
  color: var(--pt-gold-light);
}

.wx-note-places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wx-note-places li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--pt-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.wx-note-places i {
  color: var(--pt-gold-light);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .wx-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wx-card,
  .wx-card:nth-child(4),
  .wx-card:nth-child(5) {
    grid-column: span 1;
  }

  .wx-card:last-child {
    grid-column: 1 / -1;
  }

  .wx-year {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 767px) {
  .wx .wx-title {
    font-size: 28px;
  }

  .wx-grid {
    grid-template-columns: 1fr;
  }

  .wx-card:last-child {
    grid-column: auto;
  }

  .wx-card {
    padding: 22px 18px;
  }

  .wx-year {
    grid-template-columns: repeat(4, 1fr);
  }

  .wx-note {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wx-card {
    transition: none;
  }
}
