.d73-weather-card,
.d73-weather-card * {
	box-sizing: border-box;
}

.d73-weather-card[hidden] {
	display: none !important;
}

.d73-weather-card.side-box {
	position: relative;
	margin-top: 22px;
	padding: 0 !important;
	overflow: hidden;
	color: #172033;
	background: #fff;
	border: 1px solid #e3e7ee;
	border-radius: 18px;
	box-shadow: 0 15px 38px rgba(15, 23, 42, 0.1);
}

.d73-weather-card__header {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 82px;
	padding: 17px 18px;
	color: #fff;
	background:
		radial-gradient(circle at 88% -20%, rgba(255,255,255,.25), transparent 45%),
		linear-gradient(135deg, #e2231a 0%, #bd100b 100%);
}

.d73-weather-card__header > div {
	min-width: 0;
}

.d73-weather-card__header span:not(.d73-weather-card__pin) {
	display: block;
	margin-bottom: 3px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .15em;
	opacity: .82;
}

.d73-weather-card__header h2,
.side-box.d73-weather-card .d73-weather-card__header h2 {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 20px !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	letter-spacing: -.02em;
	border: 0 !important;
}

.side-box.d73-weather-card .d73-weather-card__header h2::before,
.side-box.d73-weather-card .d73-weather-card__header h2::after {
	display: none !important;
	content: none !important;
}

.d73-weather-card__pin {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	place-items: center;
	background: rgba(255,255,255,.15);
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 13px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

.d73-weather-card__pin svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.d73-weather-card__body {
	padding: 20px 17px 16px;
}

.d73-weather-card__current {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-height: 82px;
}

.d73-weather-card__main-icon {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
}

.d73-weather-card__main-icon svg,
.d73-weather-card__day-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.d73-weather-card__temperature {
	min-width: 0;
}

.d73-weather-card__temperature strong {
	display: block;
	margin: 0;
	color: #111827;
	font-size: 46px;
	font-weight: 800;
	line-height: .95;
	letter-spacing: -.07em;
}

.d73-weather-card__temperature small {
	display: block;
	margin-top: 5px;
	color: #c21a13;
	font-size: 9px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.d73-weather-card__temperature span {
	display: block;
	max-width: 145px;
	margin-top: 3px;
	color: #586174;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.3;
}

.d73-weather-card__details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 15px;
	padding: 12px 5px;
	background: #f6f7f9;
	border: 1px solid #eceef2;
	border-radius: 12px;
}

.d73-weather-card__details > div {
	min-width: 0;
	padding: 0 5px;
	text-align: center;
}

.d73-weather-card__details > div + div {
	border-left: 1px solid #dfe3e8;
}

.d73-weather-card__details span,
.d73-weather-card__details strong {
	display: block;
}

.d73-weather-card__details span {
	margin-bottom: 3px;
	color: #7a8392;
	font-size: 9px;
	font-weight: 750;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.d73-weather-card__details strong {
	overflow: hidden;
	color: #20293a;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.d73-weather-card__divider {
	height: 1px;
	margin: 17px 0 14px;
	background: linear-gradient(90deg, transparent, #dfe3e8 12%, #dfe3e8 88%, transparent);
}

.d73-weather-card__forecast {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 5px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.d73-weather-card__forecast li {
	display: flex;
	min-width: 0;
	padding: 8px 3px 7px !important;
	align-items: center;
	flex-direction: column;
	background: #fff;
	border: 1px solid transparent !important;
	border-radius: 10px;
}

.d73-weather-card__forecast li:first-child {
	background: #fff5f4;
	border-color: #ffd9d5 !important;
}

.d73-weather-card__forecast li > strong {
	overflow: hidden;
	max-width: 100%;
	color: #384152;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.d73-weather-card__day-icon {
	display: block;
	width: 38px;
	height: 38px;
	margin: 3px auto 1px;
}

.d73-weather-card__range {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 3px;
}

.d73-weather-card__range b {
	color: #1c2535;
	font-size: 12px;
	font-weight: 800;
}

.d73-weather-card__range small {
	color: #8b94a3;
	font-size: 10px;
	font-weight: 650;
}

.d73-weather-card__rain {
	display: block;
	overflow: hidden;
	height: 20px;
	margin-top: 3px;
	color: #2786b9;
	font-size: 8px;
	font-weight: 750;
	line-height: 10px;
	text-align: center;
}

.d73-weather-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 16px 10px;
	color: #8a92a1;
	background: #fafbfc;
	border-top: 1px solid #edf0f3;
	font-size: 8px;
	font-weight: 650;
	line-height: 1.25;
}

.d73-weather-card__footer a {
	color: #8a92a1 !important;
	font-size: inherit !important;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}

.d73-weather-card__footer a:hover,
.d73-weather-card__footer a:focus-visible {
	color: #bd100b !important;
	text-decoration: underline !important;
}

.d73-weather-card .weather-sun {
	fill: #fbbf24;
	stroke: #f59e0b;
	stroke-width: 1.4;
}

.d73-weather-card .weather-rays,
.d73-weather-card .weather-stroke,
.d73-weather-card .weather-rain {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.d73-weather-card .weather-rays {
	stroke: #f59e0b;
	stroke-width: 3;
}

.d73-weather-card .weather-cloud {
	fill: #e8edf3;
	stroke: #9aa8b8;
	stroke-width: 1.5;
	stroke-linejoin: round;
}

.d73-weather-card .weather-moon {
	fill: #64748b;
	stroke: #475569;
	stroke-width: 1.4;
}

.d73-weather-card .weather-stroke {
	stroke: #94a3b8;
	stroke-width: 2.5;
}

.d73-weather-card .weather-rain {
	stroke: #0ea5e9;
	stroke-width: 3;
}

.d73-weather-card .weather-bolt {
	fill: #fbbf24;
	stroke: #f59e0b;
	stroke-width: 1;
	stroke-linejoin: round;
}

.d73-weather-card.is-loading .d73-weather-card__main-icon,
.d73-weather-card.is-loading .d73-weather-card__temperature,
.d73-weather-card.is-loading .d73-weather-card__details {
	animation: d73-weather-pulse 1.35s ease-in-out infinite alternate;
}

@keyframes d73-weather-pulse {
	from { opacity: .45; }
	to { opacity: 1; }
}

@media (max-width: 380px) {
	.d73-weather-card__forecast {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.d73-weather-card__temperature strong {
		font-size: 42px;
	}

	.d73-weather-card__day-icon {
		width: 42px;
		height: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.d73-weather-card.is-loading .d73-weather-card__main-icon,
	.d73-weather-card.is-loading .d73-weather-card__temperature,
	.d73-weather-card.is-loading .d73-weather-card__details {
		animation: none;
	}
}
