.tira-weer {
	font-family: inherit;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 10px;
	padding: 12px 14px;
	max-width: 280px;
}

.tira-weer-titel {
	font-weight: 700;
	font-size: 1.05em;
	margin-bottom: 10px;
	color: #212529;
}

.tira-weer-dagen {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Groot "vandaag"-blok */
.tira-weer-vandaag {
	padding: 4px 0 12px;
	border-bottom: 1px solid #e9ecef;
	margin-bottom: 6px;
}

.tira-weer-vandaag-label {
	font-weight: 600;
	color: #495057;
	margin-bottom: 4px;
}

.tira-weer-vandaag-top {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tira-weer-vandaag-icoon {
	flex: 0 0 auto;
	line-height: 0;
}

.tira-weer-vandaag-temp {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.tira-weer-vandaag-tmax {
	font-size: 2.1em;
	font-weight: 700;
	color: #212529;
	line-height: 1;
}

.tira-weer-vandaag-tmin {
	font-size: 1.1em;
	color: #adb5bd;
}

.tira-weer-vandaag-tekst {
	margin-top: 6px;
	font-size: 0.9em;
	color: #495057;
}

.tira-weer-vandaag-detail {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin-top: 8px;
	font-size: 0.82em;
	color: #495057;
}

.tira-weer-detail-item {
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.tira-weer-dag {
	display: grid;
	grid-template-columns: 2.2em 1.8em 1fr auto;
	align-items: center;
	gap: 6px;
	padding: 6px 0;
	border-top: 1px solid #e9ecef;
}

.tira-weer-dag:first-child {
	border-top: none;
}

.tira-weer-naam {
	font-weight: 600;
	color: #495057;
	text-transform: capitalize;
	white-space: nowrap;
}

.tira-weer-icoon {
	font-size: 1.2em;
	text-align: center;
}

.tira-weer-temp {
	display: flex;
	gap: 6px;
}

.tira-weer-tmax {
	font-weight: 700;
	color: #212529;
}

.tira-weer-tmin {
	color: #adb5bd;
}

.tira-weer-wind {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #495057;
	font-size: 0.85em;
	white-space: nowrap;
}

.tira-weer-pijl {
	color: #1c3d5a;
	flex: 0 0 auto;
}

.tira-weer-bron {
	margin-top: 10px;
	font-size: 0.75em;
	color: #adb5bd;
	text-align: right;
}

.tira-weer-leeg {
	color: #868e96;
	font-style: italic;
}

/* Donkere modus */
@media ( prefers-color-scheme: dark ) {
	.tira-weer {
		background: #2b3035;
		border-color: #343a40;
	}
	.tira-weer-titel,
	.tira-weer-tmax {
		color: #f1f3f5;
	}
	.tira-weer-vandaag-tmax {
		color: #f1f3f5;
	}
	.tira-weer-vandaag-tekst,
	.tira-weer-vandaag-detail {
		color: #ced4da;
	}
	.tira-weer-vandaag-label {
		color: #ced4da;
	}
	.tira-weer-vandaag {
		border-color: #343a40;
	}
	.tira-weer-naam,
	.tira-weer-wind {
		color: #ced4da;
	}
	.tira-weer-dag {
		border-color: #343a40;
	}
	.tira-weer-tmin {
		color: #868e96;
	}
	.tira-weer-pijl {
		color: #74b9e0;
	}
}
