.zv-weather {
	--zv-cream: #f8f5ed;
	--zv-sage: #dce9d8;
	--zv-green: #345644;
	--zv-text: #24332b;
	--zv-muted: #647168;
	box-sizing: border-box;
	width: min(100%, 720px);
	padding: clamp(20px, 4vw, 34px);
	border: 1px solid rgba(52, 86, 68, .12);
	border-radius: 24px;
	background: linear-gradient(135deg, var(--zv-cream), var(--zv-sage));
	box-shadow: 0 14px 38px rgba(36, 51, 43, .08);
	color: var(--zv-text);
	font-family: inherit;
}

.zv-weather *,
.zv-weather *::before,
.zv-weather *::after {
	box-sizing: border-box;
}

.zv-weather__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.zv-weather__eyebrow {
	margin: 0 0 10px;
	color: var(--zv-green);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.zv-weather__condition {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 600;
}

.zv-weather__icon {
	font-size: 2rem;
	line-height: 1;
}

.zv-weather__temperature {
	flex: 0 0 auto;
	font-size: clamp(3rem, 9vw, 5.5rem);
	font-weight: 700;
	line-height: .9;
	letter-spacing: -.07em;
}

.zv-weather__temperature span {
	margin-left: 5px;
	font-size: .34em;
	font-weight: 600;
	letter-spacing: 0;
	vertical-align: top;
}

.zv-weather__details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 26px;
}

.zv-weather__details > div {
	padding: 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .58);
}

.zv-weather__details span,
.zv-weather__details strong {
	display: block;
}

.zv-weather__details span {
	margin-bottom: 3px;
	color: var(--zv-muted);
	font-size: .78rem;
}

.zv-weather__details strong {
	color: var(--zv-text);
	font-size: 1rem;
}

.zv-weather__updated {
	margin: 15px 0 0;
	color: var(--zv-muted);
	font-size: .74rem;
}

.zv-weather--compact {
	width: max-content;
	max-width: 100%;
	padding: 14px 18px;
	border-radius: 999px;
}

.zv-weather--compact .zv-weather__top {
	gap: 18px;
}

.zv-weather--compact .zv-weather__eyebrow {
	margin-bottom: 4px;
	font-size: .68rem;
}

.zv-weather--compact .zv-weather__condition {
	font-size: .9rem;
}

.zv-weather--compact .zv-weather__icon {
	font-size: 1.25rem;
}

.zv-weather--compact .zv-weather__temperature {
	font-size: 2rem;
}

.zv-weather--compact .zv-weather__updated {
	display: none;
}

.zv-weather--error {
	background: #fff4f1;
	color: #7b3027;
}

@media (max-width: 520px) {
	.zv-weather__top {
		align-items: flex-start;
	}

	.zv-weather__details {
		grid-template-columns: 1fr;
	}

	.zv-weather--compact .zv-weather__condition {
		display: none;
	}
}
