.opa-portal-weather {
	display: grid;
	gap: clamp(0.5rem, 1.6vw, 0.75rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 1rem auto;
	max-width: 28rem;
	width: 100%;
}

.opa-portal-weather:has(> :only-child) {
	grid-template-columns: minmax(0, 1fr);
}

.opa-portal-weather-card {
	--opa-weather-border: #cdddf2;
	--opa-weather-surface: #edf5ff;
	--opa-weather-ink: #194b7b;
	--opa-weather-icon: #dbeaff;
	background: var(--opa-weather-surface);
	border: 1px solid var(--opa-weather-border);
	border-radius: 13px;
	color: var(--opa-weather-ink);
	display: flex;
	flex-direction: column;
	gap: 0.32rem;
	min-width: 0;
	padding: 0.65rem clamp(0.52rem, 2.3vw, 0.85rem);
}

.opa-portal-weather-card--forecast {
	--opa-weather-border: #f0d9c8;
	--opa-weather-surface: #fff2e8;
	--opa-weather-ink: #824021;
	--opa-weather-icon: #ffe3ce;
}

.opa-portal-weather :is(.opa-portal-weather-label, .opa-portal-weather-value, .opa-portal-weather-detail) {
	margin: 0;
}

.opa-portal-weather-label {
	align-items: center;
	display: flex;
	font-size: 0.72rem;
	font-weight: 750;
	gap: 0.35rem;
	line-height: 1.2;
	min-height: 1.7rem;
	overflow-wrap: anywhere;
}

.opa-portal-weather-icon {
	background: var(--opa-weather-icon);
	border-radius: 7px;
	box-sizing: content-box;
	flex: none;
	height: 1rem;
	padding: 0.3rem;
	width: 1rem;
}

.opa-portal-weather-value {
	font-size: clamp(1.25rem, 5vw, 1.8rem);
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.opa-portal-weather-detail {
	font-size: 0.76rem;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
