.bi-today,
.bi-today * {
	box-sizing: border-box;
}

.bi-today {
	position: relative;
	width: 100%;
	overflow: hidden;
	color: #fff;
	background: #08271d;
	border: 1px solid #164536;
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(6, 32, 23, .1);
	container-name: bi-today;
	container-type: inline-size;
}

.bi-today__grid {
	display: grid;
	grid-template-columns: 1.18fr 1fr 1fr 1.05fr;
}

.bi-today__date,
.bi-today__weather,
.bi-today__sun {
	position: relative;
	min-width: 0;
	min-height: 122px;
	padding: 20px;
}

.bi-today__weather,
.bi-today__sun {
	border-left: 1px solid rgba(255, 255, 255, .12);
}

.bi-today__date {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	background: linear-gradient(135deg, rgba(11, 174, 122, .2), transparent 70%);
}

.bi-today__eyebrow,
.bi-today__city {
	display: block;
	color: #48d9a8;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.bi-today__date h2 {
	margin: 7px 0 5px !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 21px !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
}

.bi-today__note,
.bi-today__condition {
	display: block;
	color: rgba(255, 255, 255, .7);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
}

.bi-today__weather,
.bi-today__sun {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	align-content: start;
	align-items: center;
	gap: 0 12px;
}

.bi-today__sun {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0;
}

.bi-today__sun .bi-today__details {
	width: 100%;
}

.bi-today__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	color: #dce9e4;
}

.bi-today__icon svg {
	display: block;
	width: 48px;
	height: 48px;
	overflow: visible;
}

.bi-wx-cloud {
	fill: #dce9e4;
}

.bi-wx-sun {
	fill: #ffc83d;
}

.bi-wx-moon {
	fill: #ffe8a3;
}

.bi-wx-ray,
.bi-wx-rain,
.bi-wx-snow,
.bi-wx-storm,
.bi-wx-fog {
	fill: none;
	stroke: currentColor;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bi-wx-rain {
	color: #55bdf3;
}

.bi-wx-snow {
	color: #bfe7ff;
}

.bi-wx-storm {
	color: #ffc83d;
}

.bi-today__weather-main,
.bi-today__sun > div {
	min-width: 0;
}

.bi-today__temperature,
.bi-today__sun strong {
	display: block;
	margin: 4px 0 2px;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
}

.bi-today__sun strong {
	font-size: 18px;
	line-height: 1.15;
}

.bi-today__details {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 5px 10px;
	margin-top: 12px;
	color: rgba(255, 255, 255, .62);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.15;
}

.bi-today__source {
	position: absolute;
	right: 9px;
	bottom: 5px;
	color: rgba(255, 255, 255, .38) !important;
	font-size: 8px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none !important;
}

@container bi-today (max-width: 1024px) {
	.bi-today__date,
	.bi-today__weather,
	.bi-today__sun {
		min-height: 112px;
		padding: 14px;
	}

	.bi-today__weather {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 0 8px;
	}

	.bi-today__icon,
	.bi-today__icon svg {
		width: 37px;
		height: 37px;
	}

	.bi-today__temperature {
		font-size: 22px;
	}

	.bi-today__sun strong {
		font-size: 16px;
	}

	.bi-today__details {
		gap: 4px 7px;
		margin-top: 9px;
		font-size: 9px;
	}
}

@container bi-today (max-width: 600px) {
	.bi-today__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bi-today__date {
		order: 1;
	}

	.bi-today__sun {
		order: 2;
	}

	.bi-today__weather:nth-of-type(1) {
		order: 3;
		border-top: 1px solid rgba(255, 255, 255, .12);
		border-left: 0;
	}

	.bi-today__weather:nth-of-type(2) {
		order: 4;
		border-top: 1px solid rgba(255, 255, 255, .12);
	}

	.bi-today__date,
	.bi-today__weather,
	.bi-today__sun {
		min-height: 108px;
		padding: 14px;
	}

	.bi-today__date h2 {
		font-size: 18px !important;
	}

	.bi-today__eyebrow,
	.bi-today__city {
		font-size: 9px;
	}

	.bi-today__note,
	.bi-today__condition {
		font-size: 11px;
	}

	.bi-today__weather,
	.bi-today__sun {
		grid-template-columns: 36px minmax(0, 102px);
		gap: 0 9px;
	}

	.bi-today__date,
	.bi-today__sun {
		align-items: center;
		text-align: center;
	}

	.bi-today__weather {
		justify-content: center;
	}

	.bi-today__weather-main {
		text-align: left;
	}

	.bi-today__weather .bi-today__details,
	.bi-today__sun .bi-today__details {
		justify-content: center;
		text-align: center;
	}

	.bi-today__sun .bi-today__city {
		letter-spacing: .06em;
	}

	.bi-today__icon {
		width: 36px;
		height: 36px;
	}

	.bi-today__icon svg {
		width: 35px;
		height: 35px;
	}

	.bi-today__temperature {
		font-size: 22px;
	}

	.bi-today__sun strong {
		font-size: 16px;
	}

	.bi-today__details {
		gap: 4px 8px;
		margin-top: 9px;
		font-size: 9px;
	}
}

@container bi-today (max-width: 370px) {
	.bi-today__date,
	.bi-today__weather,
	.bi-today__sun {
		padding: 12px 10px;
	}

	.bi-today__weather {
		grid-template-columns: 33px minmax(0, 100px);
		gap: 0 7px;
	}

	.bi-today__icon,
	.bi-today__icon svg {
		width: 33px;
		height: 33px;
	}

	.bi-today__date h2 {
		font-size: 16px !important;
	}

	.bi-today__weather .bi-today__details {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bi-today * {
		scroll-behavior: auto;
	}
}
