/* ========================================
   Section
   ======================================== */
.cost-of-living {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .cost-of-living {
    padding: 64px 0;
  }
}

/* ========================================
   Heading
   ======================================== */
.cost-of-living__heading {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  color: #0d1532;
  margin: 0 0 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .cost-of-living__heading {
    font-size: 41px;
    margin-bottom: 36px;
  }
}

/* ========================================
   Grid
   ======================================== */
.cost-of-living__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .cost-of-living__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .cost-of-living__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 21px;
  }
}

@media (min-width: 1024px) {
  .cost-of-living__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Card
   ======================================== */
.cost-of-living__card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  border-radius: 21px;
  box-shadow: 0 4px 14px rgba(13, 21, 50, 0.24);
  padding: 18px 20px;
  min-height: 138px;
}

/* ========================================
   Meta (number + icon stacked)
   ======================================== */
.cost-of-living__meta {
  flex-shrink: 0;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
  align-self: stretch;
}

@media (min-width: 768px) {
  .cost-of-living__meta {
    width: 110px;
  }
}

@media (min-width: 1024px) {
  .cost-of-living__meta {
    width: 130px;
  }
}

.cost-of-living__number {
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  background: linear-gradient(180deg, rgba(13, 21, 50, 0.12) 0%, rgba(13, 21, 50, 0) 94.59%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  user-select: none;
  position: relative;
  z-index: 0;
}

@media (min-width: 768px) {
  .cost-of-living__number {
    font-size: 56px;
  }
}

@media (min-width: 1024px) {
  .cost-of-living__number {
    font-size: 64px;
  }
}

.cost-of-living__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-top: -12px;
}

@media (min-width: 768px) {
  .cost-of-living__icon {
    margin-top: -13px;
  }
}

@media (min-width: 1024px) {
  .cost-of-living__icon {
    margin-top: -15px;
  }
}

.cost-of-living__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .cost-of-living__icon img {
    width: 34px;
    height: 34px;
  }
}

@media (min-width: 1024px) {
  .cost-of-living__icon img {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   Content (title + description)
   ======================================== */
.cost-of-living__content {
  flex: 1;
  min-width: 0;
}

.cost-of-living__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #0d1532;
  margin: 0 0 6px;
}

@media (min-width: 768px) {
  .cost-of-living__title {
    font-size: 18px;
    margin-bottom: 7px;
  }
}

@media (min-width: 1024px) {
  .cost-of-living__title {
    font-size: 21px;
    margin-bottom: 8px;
  }
}

.cost-of-living__card .prose-content {
  font-size: 12px;
  color: rgba(13, 21, 50, 0.8);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .cost-of-living__card .prose-content {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .cost-of-living__card .prose-content {
    font-size: 15px;
  }
}

.cost-of-living__card .prose-content ul {
  margin: 0;
  padding-left: 16px;
}

.cost-of-living__card .prose-content li {
  margin-bottom: 3px;
}

.cost-of-living__card .prose-content li:last-child {
  margin-bottom: 0;
}
