.aint-weather-card {
	background: #f8faf8;
	border: 1px solid #d9e2dd;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	color: #1f2933;
	margin: 24px 0;
	padding: 18px;
}

.aint-weather-main {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-template-columns: auto minmax(0, 1fr) auto;
}

.aint-weather-icon {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e1e7e3;
	border-radius: 999px;
	display: flex;
	font-size: 30px;
	height: 58px;
	justify-content: center;
	width: 58px;
}

.aint-weather-title {
	font-size: 1.35rem;
	line-height: 1.25;
	margin: 0;
}

.aint-weather-aux,
.aint-weather-condition {
	margin: 5px 0 0;
}

.aint-weather-condition {
	color: #46545f;
	font-weight: 600;
}

.aint-weather-temp {
	text-align: right;
}

.aint-weather-temp span {
	display: block;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
}

.aint-weather-temp small {
	color: #5f6c72;
	font-size: 0.78rem;
	text-transform: uppercase;
}

.aint-weather-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 16px;
}

.aint-weather-item {
	background: #ffffff;
	border: 1px solid #e1e7e3;
	border-radius: 8px;
	min-width: 0;
	padding: 10px;
}

.aint-weather-item span {
	color: #5f6c72;
	display: block;
	font-size: 0.78rem;
	margin-bottom: 4px;
}

.aint-weather-item strong {
	display: block;
	font-size: 1rem;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.aint-weather-actions {
	margin-top: 16px;
}

.aint-weather-link {
	color: #1f4d3a;
	display: inline-block;
	font-weight: 600;
	margin-top: 8px;
	text-decoration: none;
}

.aint-weather-link:hover,
.aint-weather-link:focus {
	color: #17392b;
	text-decoration: underline;
}

.aint-weather-button {
	background: #1f4d3a;
	border-radius: 6px;
	color: #ffffff;
	display: inline-block;
	font-weight: 600;
	padding: 9px 13px;
	text-decoration: none;
}

.aint-weather-button:hover,
.aint-weather-button:focus {
	background: #17392b;
	color: #ffffff;
}

.aint-weather-card-compact .aint-weather-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aint-weather-card-compact .aint-weather-item-air_quality,
.aint-weather-card-compact .aint-weather-item-weather_alerts,
.aint-weather-card-compact .aint-weather-item-updated_at {
	grid-column: span 2;
}

.aint-weather-hero-host,
.aint-weather-hero-host * {
	box-sizing: border-box;
}

.aint-weather-hero-host .aint-weather-card p,
.aint-weather-hero-host .aint-weather-card span {
	letter-spacing: 0;
	margin: 0;
	text-transform: none;
}

.aint-weather-city-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	border-top: 3px solid #d92323;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	color: #111827;
	margin: 24px 0;
	padding: 18px 20px 14px;
}

.aint-weather-city-card-main {
	align-items: start;
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
}

.aint-weather-hero-host .aint-weather-city-card .aint-weather-city-card-kicker,
.aint-weather-city-card-kicker {
	color: #d92323;
	display: block;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.aint-weather-city-card-place {
	color: #111827;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 12px;
	max-width: none;
}

.aint-weather-city-card-current {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	min-width: 0;
}

.aint-weather-city-card-temp {
	color: #06284a;
	font-size: 42px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 0.95;
	white-space: nowrap;
}

.aint-weather-hero-host .aint-weather-city-card .aint-weather-city-card-icon,
.aint-weather-city-card-icon {
	align-items: center;
	color: #c8d6df;
	display: inline-flex;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	font-size: 44px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	width: 54px;
}

.aint-weather-hero-host .aint-weather-city-card .aint-weather-city-card-condition,
.aint-weather-city-card-condition {
	color: #4b5563;
	display: inline;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

.aint-weather-city-card-metrics {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	justify-content: flex-start;
	padding-top: 2px;
}

.aint-weather-hero-host .aint-weather-city-card .aint-weather-city-card-metric,
.aint-weather-city-card-metric {
	align-items: baseline;
	color: #111827;
	display: inline-flex;
	font-size: 18px;
	font-weight: 800;
	gap: 5px;
	line-height: 1.15;
	white-space: nowrap;
}

.aint-weather-city-card-metric + .aint-weather-city-card-metric::before {
	background: #111827;
	content: "";
	display: inline-block;
	height: 20px;
	margin: 0 18px;
	width: 2px;
}

.aint-weather-city-card-metric span,
.aint-weather-city-card-metric strong {
	color: inherit;
	display: inline;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
}

.aint-weather-city-card-metric-max strong {
	color: #d92323;
}

.aint-weather-city-card-metric-min strong {
	color: #0057c2;
}

.aint-weather-city-card-footer {
	align-items: center;
	border-top: 1px solid #e5e7eb;
	color: #374151;
	display: flex;
	font-size: 13px;
	gap: 8px;
	line-height: 1.2;
	margin-top: 14px;
	padding-top: 11px;
}

.aint-weather-city-card-clock {
	border: 2px solid #374151;
	border-radius: 999px;
	display: inline-block;
	height: 16px;
	position: relative;
	width: 16px;
}

.aint-weather-city-card-clock::before,
.aint-weather-city-card-clock::after {
	background: #374151;
	content: "";
	left: 6px;
	position: absolute;
	top: 3px;
	transform-origin: bottom center;
	width: 2px;
}

.aint-weather-city-card-clock::before {
	height: 5px;
}

.aint-weather-city-card-clock::after {
	height: 4px;
	transform: rotate(135deg);
}

@media (min-width: 980px) {
	.aint-weather-hero-host {
		align-items: center;
		column-gap: clamp(28px, 4vw, 64px);
		display: grid;
		grid-template-columns: minmax(0, 1fr) clamp(420px, 36vw, 520px);
		min-height: 260px;
		padding: 46px 26px 46px 50px;
	}

	.aint-weather-hero-host > span,
	.aint-weather-hero-host > h1,
	.aint-weather-hero-host > p {
		grid-column: 1;
		min-width: 0;
	}

	.aint-weather-hero-host > h1 {
		font-size: clamp(54px, 6.2vw, 88px);
	}

	.aint-weather-hero-host > p {
		max-width: 760px;
	}

	.aint-weather-hero-host .aint-weather-card.aint-weather-placement-city-header {
		align-self: center;
		grid-column: 2;
		grid-row: 1 / span 3;
		justify-self: end;
		margin: 0;
		max-width: 520px;
		width: 100%;
	}
}

@media (max-width: 979px) {
	.aint-weather-hero-host .aint-weather-card.aint-weather-placement-city-header {
		margin: 18px 0 0;
		width: 100%;
	}

	.aint-weather-city-card-main {
		align-items: start;
		grid-template-columns: 1fr;
	}

	.aint-weather-city-card-metrics {
		justify-content: flex-start;
	}
}

@media (max-width: 720px) {
	.aint-weather-card {
		text-align: center;
	}

	.aint-weather-city-card {
		padding: 16px;
		text-align: left;
	}

	.aint-weather-city-card-place {
		font-size: 18px;
	}

	.aint-weather-city-card-temp {
		font-size: 36px;
	}

	.aint-weather-city-card-icon {
		font-size: 34px;
		height: 34px;
		width: 42px;
	}

	.aint-weather-city-card-condition {
		font-size: 15px;
		white-space: normal;
	}

	.aint-weather-main {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.aint-weather-temp {
		text-align: center;
	}

	.aint-weather-grid,
	.aint-weather-card-compact .aint-weather-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		text-align: left;
	}
}

@media (max-width: 460px) {
	.aint-weather-city-card-current {
		gap: 8px 10px;
	}

	.aint-weather-city-card-metrics {
		gap: 8px 14px;
	}

	.aint-weather-city-card-metric {
		font-size: 16px;
	}

	.aint-weather-city-card-metric + .aint-weather-city-card-metric::before {
		display: none;
	}

	.aint-weather-grid,
	.aint-weather-card-compact .aint-weather-grid {
		grid-template-columns: 1fr;
	}

	.aint-weather-card-compact .aint-weather-item-air_quality,
	.aint-weather-card-compact .aint-weather-item-weather_alerts,
	.aint-weather-card-compact .aint-weather-item-updated_at {
		grid-column: auto;
	}
}
