.webart-weather-card {
	box-sizing: border-box;
	width: min(100%, 430px);
	margin: 20px auto;
	padding: 24px;
	overflow: hidden;
	color: #ffffff;
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.34), transparent 32%),
		linear-gradient(145deg, #06b6d4 0%, #1686d9 48%, #1556c7 100%);
	border-radius: 24px;
	box-shadow: 0 20px 55px rgba(15, 88, 160, 0.28);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.webart-weather-card__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.webart-weather-card__title,
.webart-weather-card__condition,
.webart-weather-card__city {
	margin: 0;
}

.webart-weather-card__title {
	margin-bottom: 7px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.webart-weather-card__city {
	max-width: 100%;
	font-size: var(--webart-weather-location-size, 28px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.webart-weather-card__current-icon {
	flex: 0 0 auto;
	width: 78px;
	height: 78px;
	display: grid;
	place-items: center;
	font-size: 3.6rem;
	line-height: 1;
	filter: drop-shadow(0 10px 18px rgba(0, 43, 96, 0.16));
}

.webart-weather-card__current {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-top: 34px;
}

.webart-weather-card__temperature {
	display: flex;
	align-items: flex-start;
	font-size: clamp(4.2rem, 18vw, 6.8rem);
	line-height: 0.82;
	font-weight: 800;
	letter-spacing: 0;
}

.webart-weather-card__temperature span {
	margin-top: 0.42em;
	font-size: 0.28em;
	font-weight: 700;
}

.webart-weather-card__condition {
	max-width: 150px;
	padding-bottom: 8px;
	font-size: 1rem;
	line-height: 1.28;
	font-weight: 700;
	text-align: right;
	color: rgba(255, 255, 255, 0.9);
}

.webart-weather-card__forecast {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
	gap: 10px;
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.webart-weather-card__day {
	min-width: 0;
	padding: 12px 8px;
	text-align: center;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 14px;
	backdrop-filter: blur(10px);
}

.webart-weather-card__day-name,
.webart-weather-card__range {
	display: block;
	white-space: nowrap;
}

.webart-weather-card__day-name {
	font-size: 0.78rem;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.82);
}

.webart-weather-card__day-icon {
	display: grid;
	place-items: center;
	min-height: 38px;
	margin: 6px 0;
	font-size: 1.75rem;
	line-height: 1;
}

.webart-weather-card__range {
	font-size: 0.82rem;
	font-weight: 800;
	color: #ffffff;
}

.webart-weather-card__credit {
	margin-top: 14px;
	text-align: right;
	font-size: 0.72rem;
	line-height: 1.3;
}

.webart-weather-card__credit a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.webart-weather-card__credit a:hover,
.webart-weather-card__credit a:focus {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.webart-weather-error {
	box-sizing: border-box;
	width: min(100%, 430px);
	margin: 16px auto;
	padding: 14px 16px;
	color: #0f3b5f;
	background: #e7f6ff;
	border: 1px solid #bee7ff;
	border-radius: 12px;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 480px) {
	.webart-weather-card {
		padding: 20px;
		border-radius: 20px;
	}

	.webart-weather-card__header,
	.webart-weather-card__current {
		gap: 14px;
	}

	.webart-weather-card__current-icon {
		width: 64px;
		height: 64px;
		font-size: 3rem;
	}

	.webart-weather-card__current {
		align-items: flex-start;
		flex-direction: column;
		margin-top: 28px;
	}

	.webart-weather-card__condition {
		max-width: none;
		padding-bottom: 0;
		text-align: left;
	}

	.webart-weather-card__credit {
		margin-top: 12px;
	}
}
