/* ============================================
   WIDGET: METRO CITIES GOLD PRICE (Frame 41)
   3-column city price cards
   ============================================ */

/* ---- Outer white card ---- */
.gm-card {
  background-color: #ffffff;
  border: 2px solid #f1f1f1;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Noto Sans', 'Noto Sans Devanagari', sans-serif;
}

/* ---- Header block ---- */
.gm-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.gm-header__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  color: #000000;
  margin: 0;
  word-break: break-word;
}

.gm-header__date {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: #898989;
  margin: 0;
}

/* ---- City cards grid ---- */
.gm-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  grid-template-columns: 1fr 1fr;
}

/* ---- Single city card ---- */
.gm-city-card {
  flex: 1 0 0;
  min-width: 0;
  background-color: #ffffff;
  border: 1px solid #c3c3c3;
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  box-sizing: border-box;
}

/* ---- Top row: city name + badge ---- */
.gm-city-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

.gm-city-card__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: #000000;
  white-space: nowrap;
  flex: 1 0 0;
  min-width: 0;
}

/* ---- Badge (reuses same pattern as other widgets) ---- */
.gm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

.gm-badge--up      { background-color: #bb0e0e; color: #ffffff; }
.gm-badge--down    { background-color: #0a6700; color: #ffffff; }
.gm-badge--neutral { background-color: #fad369; color: #000000; }

.gm-badge__icon {
  font-style: normal;
  font-size: 13px;
}

/* ---- Bottom row: price + unit ---- */
.gm-city-card__price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.gm-city-card__price {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  color: #000000;
}

.gm-city-card__unit {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #000000;
}

.widgt-Metro-desiciption{
  width: 100%;
  height: auto;
  margin: 40px 0px;
}

.widgt-Metro-desiciption p{
 color: #000;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 28px; /* 175% */
}

@media (max-width: 1024px) {
    .gm-grid {
      gap: 12px;
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
}
/* ============================================
   RESPONSIVE: Tablet (≤768px)
   ============================================ */
@media (max-width: 768px) {
  .gm-header__title {
    font-size: 20px;
    line-height: 28px;
  }

  .gm-header__date {
    font-size: 15px;
    line-height: 20px;
  }

  .gm-grid {
    gap: 12px;
  }

  .gm-city-card {
    padding: 14px 16px;
  }

  .gm-badge {
    font-size: 14px;
    padding: 2px 8px;
  }

   .gm-card {
    padding: 14px;
    gap: 20px;
  }

}

/* ============================================
   RESPONSIVE: Mobile (≤480px) — stack cards
   ============================================ */
@media (max-width: 480px) {
 
  .gm-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
  }
  .gm-header__date {
    font-size: 14px;
  }

  .gm-grid {
    flex-direction: column;
    gap: 10px;
  }

  .gm-city-card {
    padding: 14px 16px;
  }

  .widgt-Metro-desiciption {
      margin: 20px 0px;
  }

}
