/* Khối thời tiết: dải trang chủ, ô trang điểm đến, trang /thoi-tiet-binh-lieu.
   Dùng biến màu --dt-* của detail.css. */

/* Dòng thời tiết lúc này, trong phần giới thiệu trang chủ (nền sáng), ngay trên 3 ô số liệu */
.wx-intro {
	margin-top: 40px;
	text-align: center;
}

.wx-intro + .lp-facts {
	margin-top: 30px;
}

.wx-hero {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 14px;
	padding: 10px 20px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--dt-text, #3c463f);
	background: var(--dt-card, #fff);
	border: 1px solid var(--dt-line, #e6e0d2);
	border-radius: 40px;
	box-shadow: var(--dt-shadow, none);
}

.wx-hero a {
	color: inherit !important;
	text-decoration: none !important;
}

.wx-hero__now {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 8px;
}

.wx-hero__now .fa {
	color: var(--dt-gold, #c08526);
	font-size: 17px;
}

.wx-hero b {
	font-weight: 600;
	color: var(--dt-ink, #1f2a23);
}

.wx-hero__sep {
	color: var(--dt-muted, #6f786f);
	opacity: .6;
}

.wx-hero__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--dt-moss, #2e6b4a) !important;
}

.wx-hero--alert {
	border-color: var(--dt-gold, #c08526);
	background: var(--dt-gold-soft, #f6ead3);
}

.wx-hero__alert {
	color: #8a5a12;
	font-weight: 600;
}

.wx-strip {
	margin: 40px 0 48px;
	/* chừa chỗ cho thanh menu cố định khi bấm link #thoi-tiet trên ảnh bìa */
	scroll-margin-top: 110px;
	padding: 28px 30px 22px;
	background: var(--dt-card, #fff);
	border: 1px solid var(--dt-line, #e6e0d2);
	border-radius: var(--dt-radius, 14px);
	box-shadow: var(--dt-shadow, none);
}

.wx-strip__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.wx-strip__title {
	margin: 6px 0 0;
	font-family: var(--dt-serif, Georgia, serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--dt-ink, #1f2a23);
}

.wx-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.wx-point {
	padding: 16px 18px;
	background: var(--dt-paper, #f7f4ec);
	border-radius: 12px;
	min-width: 0;
}

.wx-card .wx-point {
	padding: 0;
	background: none;
	margin-top: 6px;
}

.wx-point__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.wx-point__name {
	font-weight: 600;
	color: var(--dt-ink, #1f2a23);
}

.wx-point__tag {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--dt-moss, #2e6b4a);
	background: var(--dt-moss-soft, #e6efe8);
	padding: 2px 8px;
	border-radius: 20px;
}

.wx-now {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.wx-now__icon {
	font-size: 30px;
	color: var(--dt-gold, #c08526);
	width: 34px;
	text-align: center;
}

.wx-now__temp {
	font-family: var(--dt-serif, Georgia, serif);
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
	color: var(--dt-ink, #1f2a23);
}

.wx-now__meta {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	line-height: 1.45;
	color: var(--dt-muted, #6f786f);
}

.wx-now__meta span:first-child {
	color: var(--dt-text, #3c463f);
	font-weight: 500;
}

.wx-days {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 6px;
	border-top: 1px solid var(--dt-line, #e6e0d2);
	padding-top: 10px;
}

.wx-day {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	font-size: 13px;
	text-align: center;
	min-width: 0;
}

.wx-day__name {
	font-size: 12px;
	color: var(--dt-muted, #6f786f);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.wx-day__icon {
	font-size: 18px;
	color: var(--dt-moss, #2e6b4a);
}

.wx-day__temp b {
	color: var(--dt-ink, #1f2a23);
	margin-right: 4px;
}

.wx-day__temp span {
	color: var(--dt-muted, #6f786f);
}

.wx-day__rain {
	font-size: 12px;
	color: var(--dt-muted, #6f786f);
}

.wx-day__rain .fa {
	margin-right: 3px;
	color: #6a9bc3;
}

.wx-day__rain--high {
	color: #2d6aa0;
	font-weight: 600;
}

.wx-tips {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.wx-tips li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.55;
	color: var(--dt-text, #3c463f);
	padding: 8px 12px;
	background: var(--dt-gold-soft, #f6ead3);
	border-radius: 10px;
}

.wx-tips li + li {
	margin-top: 8px;
}

.wx-tips .fa {
	color: var(--dt-gold, #c08526);
	margin-top: 3px;
}

.wx-tips--lead {
	margin: 0 0 32px;
}

.wx-source {
	margin: 14px 0 0;
	font-size: 12px;
	color: var(--dt-muted, #6f786f);
}

.wx-source a {
	color: inherit;
	text-decoration: underline;
}

.wx-card {
	margin-top: 20px;
}

/* Cột bên có thêm ô thời tiết cao hơn màn hình: bỏ sticky để cuộn tới được phần dưới */
.dt-aside.wx-aside {
	position: static;
}

.wx-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--dt-moss, #2e6b4a);
}

.wx-hourly + .wx-hourly {
	margin-top: 22px;
}

.wx-hours {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(72px, 1fr);
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.wx-hour {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 10px 6px;
	background: var(--dt-card, #fff);
	border: 1px solid var(--dt-line, #e6e0d2);
	border-radius: 10px;
	font-size: 14px;
}

.wx-hour .fa:not(.fa-tint) {
	font-size: 18px;
	color: var(--dt-moss, #2e6b4a);
}

.wx-hour__time {
	font-size: 12px;
	color: var(--dt-muted, #6f786f);
}

.wx-page .container > * + *,
.wx-page .container > th\:block + * {
	margin-top: 56px;
}

.wx-empty {
	padding: 24px;
	text-align: center;
}

@media (max-width: 575px) {
	.wx-intro {
		margin-top: 30px;
	}

	.wx-hero {
		padding: 8px 16px;
		font-size: 13px;
		border-radius: 18px;
	}

	/* xuống hàng trên điện thoại: bỏ dấu chấm ngăn cách để không treo ở cuối dòng */
	.wx-hero__sep {
		display: none;
	}
}

@media (max-width: 767px) {
	.wx-strip {
		padding: 22px 16px 18px;
	}

	.wx-grid {
		grid-template-columns: 1fr;
	}

	.wx-strip__head {
		flex-direction: column;
		align-items: flex-start;
	}
}
