/* Giao diện hanoi (thoitiethanoi.com.vn) — theo "Phân tích phối màu cam xanh" (bản sáng):
   Đầu trang cam #F97316 chữ navy; khối đầu trang nền sáng, cam chỉ làm điểm nhấn.
   45% nền sáng · 35% cam thương hiệu · 15% xanh thời tiết · 5% navy.
   Không dùng #F97316 cho chữ; chữ/link cam dùng #C2410C.
   Mưa / độ ẩm / gió dùng xanh #1684C7; AQI, UV, cảnh báo giữ màu ngữ nghĩa riêng. */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&family=Nunito:wght@400;600;700;800&display=swap");

.theme-hanoi {
	/* Thương hiệu */
	--m4-500: #F97316;
	--m4-600: #C2410C;
	--m4-700: #C2410C;
	--m4-800: #9A3412;
	--m4-900: #263445;
	--m4-amber: #F59E0B;
	--m4-cream: #FFF1E7;
	--m4-cream-2: #FFE7D6;
	/* Nền, chữ, viền */
	--m4-bg: #F5F9FC;
	--m4-ink: #263445;
	--m4-ink-2: #3B4A5C;
	--m4-muted: #5D6C7C;
	--m4-line: #DCE5ED;
	--m4-line-2: #EAF0F5;
	/* Thời tiết */
	--m4-rain: #1684C7;
	--m4-cool: #1684C7;
	--tt-blue: #1684C7;
	--tt-blue-text: #0F6FA8;
	--tt-blue-50: #EAF5FC;
	--tt-blue-ink: #075985;
	--tt-input: #C9D5E0;
	--tt-focus: 0 0 0 3px rgba(194, 65, 12, .28);
	/* Biểu đồ (sky.js đọc các biến này) */
	--chart-ink: #263445;
	--chart-muted: #5D6C7C;
	--chart-grid: rgba(38, 52, 69, .08);
	--chart-max: #C2410C;
	--chart-min: #1684C7;
	--chart-rain: rgba(22, 132, 199, .55);
	--chart-rain-solid: #1684C7;
	--chart-pop: #1684C7;

	--m4-radius: 20px;
	--m4-shadow: 0 8px 24px -14px rgba(38, 52, 69, .22), 0 1px 3px rgba(38, 52, 69, .06);
	--m4-shadow-lg: 0 22px 50px -26px rgba(38, 52, 69, .35);
	--m4-display: "Manrope", "Segoe UI", system-ui, sans-serif;
	background: var(--m4-bg);
	color: var(--m4-ink);
	font-family: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
}

/* Liên kết + viền tiêu điểm rõ ràng */
.theme-hanoi a { color: #C2410C; }
.theme-hanoi a:hover { color: #9A3412; }
.theme-hanoi a:focus-visible,
.theme-hanoi button:focus-visible,
.theme-hanoi [tabindex]:focus-visible,
.theme-hanoi summary:focus-visible { outline: 2px solid #C2410C; outline-offset: 2px; border-radius: 6px; }

/* Nút */
.theme-hanoi .tw-btn--primary,
.theme-hanoi .btn-primary { background: #C2410C; border-color: #C2410C; color: #fff; }
.theme-hanoi .tw-btn--primary:hover,
.theme-hanoi .btn-primary:hover { background: #9A3412; border-color: #9A3412; color: #fff; }
.theme-hanoi .tw-btn:disabled, .theme-hanoi .btn:disabled { background: #CBD5E1; border-color: #CBD5E1; color: #475569; }
.theme-hanoi .tw-btn--ghost, .theme-hanoi .btn-secondary { background: var(--tt-blue-50); color: var(--tt-blue-ink); border-color: transparent; }
.theme-hanoi .tw-btn--ghost:hover, .theme-hanoi .btn-secondary:hover { background: #D7ECF9; color: var(--tt-blue-ink); }

/* Ô nhập */
.theme-hanoi input[type="text"], .theme-hanoi input[type="email"], .theme-hanoi input[type="search"],
.theme-hanoi input[type="tel"], .theme-hanoi select, .theme-hanoi textarea, .theme-hanoi .form-control {
	background: #fff; border: 1px solid var(--tt-input); color: var(--m4-ink);
}
.theme-hanoi input:focus, .theme-hanoi select:focus, .theme-hanoi textarea:focus, .theme-hanoi .form-control:focus {
	border-color: #C2410C; box-shadow: var(--tt-focus); outline: 0;
}

/* Đầu trang: cam thương hiệu #F97316, chữ + logo navy (tương phản 4.5:1), dính trên cùng */
.theme-hanoi .tw-header { position: sticky; top: 0; z-index: 60; background: #F97316; box-shadow: 0 2px 10px -6px rgba(154, 52, 18, .45); color: #263445; }
.theme-hanoi .tw-header::before { display: none; }
.theme-hanoi .tw-header a { color: #263445; }
.theme-hanoi .tw-search, .theme-hanoi .tw-header .search-input { background: #fff; border: 1px solid #fff; border-radius: 999px; color: var(--m4-ink); }
.theme-hanoi .tw-header .search-input::placeholder { color: var(--m4-muted); }
.theme-hanoi .tw-search__icon { color: var(--m4-muted); }
.theme-hanoi .tw-header .search-input:focus { border-color: #263445; box-shadow: 0 0 0 3px rgba(38, 52, 69, .25); }
.theme-hanoi .tw-btn--soft { background: #FFF1E7; color: #9A3412; border-color: transparent; }
.theme-hanoi .tw-btn--soft:hover { background: #fff; color: #9A3412; }
.theme-hanoi .tw-header .tw-btn--soft { background: #fff; color: #263445; }
.theme-hanoi .tw-header .tw-btn--soft:hover { background: #FFF1E7; color: #9A3412; }
.theme-hanoi .tw-header .tw-btn--soft:focus-visible { outline-color: #263445; }
/* Menu thả xuống trong đầu trang: nền trắng, chữ navy */
.theme-hanoi .tw-header .dropdown-menu, .theme-hanoi .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-hanoi .tw-header .dropdown-menu a, .theme-hanoi .tw-places-menu a { color: var(--m4-ink); }
.theme-hanoi .tw-header .dropdown-menu a:hover, .theme-hanoi .tw-places-menu a:hover { background: #FFF1E7; color: #9A3412; }

/* Đường dẫn dạng viên thuốc */
.theme-hanoi .tw-crumbs { background: transparent; padding: 14px 0 0; }
.theme-hanoi .tw-crumbs a, .theme-hanoi .tw-crumbs .last { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.theme-hanoi .tw-crumbs a { background: #fff; color: var(--m4-ink-2); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-hanoi .tw-crumbs a:hover { background: #FFF1E7; color: #9A3412; }
.theme-hanoi .tw-crumbs .last { background: #FFF1E7; color: #9A3412; }
.theme-hanoi .tw-crumbs .separator { color: #A9B6C3; }

/* Khối đầu trang: thẻ sáng (≈55% nền sáng / 35% cam / 10% xanh), chữ tối, một mảng cam làm điểm nhìn */
.theme-hanoi .m4-hero,
.theme-hanoi .m4-hero[class*="m4-hero--"] { --h1: #fff; --h2: #fff; --h3: rgba(249, 115, 22, .16); }
.theme-hanoi .m4-hero { background: transparent; padding: 14px 0 6px; margin-top: 0; overflow: visible; color: var(--m4-ink); }
.theme-hanoi .m4-hero__rays, .theme-hanoi .m4-hh .m4-hero__rays { display: none; }
.theme-hanoi .m4-hero__grid {
	border-radius: 28px; padding: 28px; overflow: hidden;
	background:
		radial-gradient(420px 320px at 100% 0%, rgba(249, 115, 22, .20), transparent 70%),
		linear-gradient(135deg, #fff 0%, #fff 55%, #FFF7F0 100%);
	box-shadow: inset 6px 0 0 #F97316, inset 0 0 0 1px var(--m4-line), var(--m4-shadow);
	width: calc(100% - 30px);
}
.theme-hanoi .m4-hero *, .theme-hanoi .m4-hh * { text-shadow: none; }
.theme-hanoi .m4-hero__title, .theme-hanoi .m4-hh__title { color: #263445; }
.theme-hanoi .m4-hero__lead, .theme-hanoi .m4-hh__lead { color: #3B4A5C; }
.theme-hanoi .m4-kicker { color: #5D6C7C; }
.theme-hanoi .m4-kicker__season { background: #FFF1E7; color: #9A3412; border: 0; box-shadow: inset 0 0 0 1px #FED7AA; }
.theme-hanoi .m4-facts li { background: #F5F9FC; border-color: transparent; box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-hanoi .m4-facts span { color: #5D6C7C; }
.theme-hanoi .m4-facts b { color: #263445; }
.theme-hanoi .m4-hero__upd { color: #5D6C7C; }
.theme-hanoi .m4-hero__upd i { background: #1684C7; box-shadow: 0 0 0 4px rgba(22, 132, 199, .2); }
/* Tấm "bây giờ": mảng cam nhạt làm điểm nhìn, nhiệt độ cam đậm */
.theme-hanoi .m4-ticket, .theme-hanoi .m4-ticket:hover { color: #263445; }
.theme-hanoi .m4-ticket { border-radius: 20px; background: #FFF1E7; box-shadow: inset 0 0 0 1px #FED7AA; }
.theme-hanoi .m4-ticket::after { border-top-color: #FBC9A3; }
.theme-hanoi .m4-ticket__temp, .theme-hanoi .m4-feature__temp { color: #C2410C; }

/* Trang chủ: khối đầu trang sáng, ô tìm kiếm trắng viền xám, nút nhanh viền cam */
.theme-hanoi .m4-hh {
	color: #263445;
	background:
		radial-gradient(520px 360px at 100% 0%, rgba(249, 115, 22, .22), transparent 70%),
		linear-gradient(180deg, #fff 0%, #F5F9FC 100%);
	border-bottom: 1px solid var(--m4-line);
}
.theme-hanoi .m4-search svg { color: #C2410C; }
.theme-hanoi .m4-search input { border: 1px solid #C9D5E0; box-shadow: 0 10px 24px -16px rgba(38, 52, 69, .35); }
.theme-hanoi .m4-search input:focus { border-color: #C2410C; box-shadow: var(--tt-focus); }
.theme-hanoi .m4-search__results a:hover { background: #FFF1E7; color: #9A3412; }
.theme-hanoi .m4-hh__quick a { background: #fff; color: #9A3412; box-shadow: inset 0 0 0 1px #FED7AA; }
.theme-hanoi .m4-hh__quick a:hover { background: #FFF1E7; color: #9A3412; }
.theme-hanoi .m4-feature { box-shadow: inset 0 0 0 1px var(--m4-line), var(--m4-shadow); border-top: 5px solid #F97316; }

/* Đầu trang con (tiện ích, bài viết…): cùng kiểu sáng */
.theme-hanoi .tw-pagehead { color: #263445; text-shadow: none; border-bottom: 1px solid var(--m4-line);
	background: radial-gradient(520px 300px at 100% 0%, rgba(249, 115, 22, .20), transparent 70%), linear-gradient(180deg, #fff, #F5F9FC); }
.theme-hanoi .tw-pagehead__decor { display: none; }
.theme-hanoi .tw-pagehead__title { color: #263445; }
.theme-hanoi .tw-pagehead__lead, .theme-hanoi .tw-pagehead__meta { color: #3B4A5C; opacity: 1; }
.theme-hanoi .tw-pagehead__now, .theme-hanoi .tw-pagehead__now:hover { background: #FFF1E7; border-color: #FED7AA; color: #263445; }
.theme-hanoi .tw-pagehead__now-temp { color: #C2410C; }

/* Thanh chọn khoảng dự báo: dải trắng, mục đang chọn cam nhạt + gạch chân cam đậm (không tô cam cả thanh) */
.theme-hanoi .m4-tabs { background: rgba(245, 249, 252, .95); border: 0; box-shadow: none; position: sticky; top: 68px; z-index: 40; padding: 8px 0; }
.theme-hanoi .m4-tabs__list { background: #fff; border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--m4-line), var(--m4-shadow); gap: 2px; }
.theme-hanoi .m4-tab { border-radius: 999px; border-color: transparent; padding-top: 5px; padding-bottom: 5px; color: var(--m4-ink-2); background: #fff; }
.theme-hanoi .m4-tab:hover { background: #FFF1E7; color: #9A3412; border-color: transparent; }
.theme-hanoi .m4-tab.is-active,
.theme-hanoi .m4-tab.is-active:hover { background: #FFF1E7; color: #9A3412; border-color: transparent; box-shadow: inset 0 -3px 0 #C2410C; font-weight: 800; }
.theme-hanoi .m4-tab.is-active * { color: #9A3412; }

/* Bố cục: nội dung bên trái, cột phụ bên phải */
.theme-hanoi .m4-side { order: 2; top: 150px; }
@media (min-width: 992px) {
	.theme-hanoi .m4-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* Thẻ: nền trắng, viền xám xanh */
.theme-hanoi .m4-block, .theme-hanoi .tw-card { background: #fff; border: 1px solid var(--m4-line); box-shadow: var(--m4-shadow); }
.theme-hanoi .m4-h2 { color: var(--m4-ink); }
.theme-hanoi .m4-h2::before { background: #F97316; }
.theme-hanoi .tw-card__title { font-family: var(--m4-display); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: #9A3412; }
.theme-hanoi .m4-pick__ico { color: #C2410C; background: #FFF1E7; }
.theme-hanoi .m4-acc summary::after { color: #C2410C; }

/* Danh sách địa điểm: không tô nền hàng loạt, liên kết rõ ràng */
.theme-hanoi .tw-places__list li { min-width: 0; }
.theme-hanoi .tw-places__list a {
	display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line);
}
.theme-hanoi .tw-places__list a:hover { background: #FFF1E7; color: #9A3412; box-shadow: inset 0 0 0 1px #F6C7A6; }
.theme-hanoi .tw-places--spots .tw-places__list a { white-space: normal; }

/* Bảng, nhãn */
.theme-hanoi .m4-table thead th { background: var(--m4-bg); color: var(--m4-ink-2); }
.theme-hanoi .m4-table td, .theme-hanoi .m4-table th { border-color: var(--m4-line); }
.theme-hanoi .m4-chip { background: #FFF1E7; color: #9A3412; }

/* Dữ liệu mưa / độ ẩm: xanh. Thanh dùng #1684C7, chữ dùng xanh đậm hơn để đủ tương phản */
.theme-hanoi .m4-hrow__pop b,
.theme-hanoi .m4-moment--wet b,
.theme-hanoi .m4-wave__rain b,
.theme-hanoi .m4-gantt__rain b,
.theme-hanoi .m4-table__rain { color: var(--tt-blue-text); }
.theme-hanoi .m4-hcell__pop i,
.theme-hanoi .m4-gantt__rain i { background: var(--tt-blue); }
.theme-hanoi .m4-band__hi { fill: #C2410C; }
.theme-hanoi .m4-band__lo { fill: var(--tt-blue-text); }

/* Chân trang navy */
.theme-hanoi .tw-footer { background: #263445; color: #DCE5ED; }
.theme-hanoi .tw-footer::before { display: none; }
.theme-hanoi .tw-footer__wave { display: none; }
.theme-hanoi .tw-footer a, .theme-hanoi .tw-footer p { color: #DCE5ED; }
.theme-hanoi .tw-footer a:hover { color: #FDBA74; }
.theme-hanoi .tw-footer h3, .theme-hanoi .tw-footer h4, .theme-hanoi .tw-footer h6, .theme-hanoi .tw-footer__title { color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.theme-hanoi .tw-footer__bottom { border-color: rgba(255, 255, 255, .12); color: #A9B6C3; }

@media (min-width: 576px) { .theme-hanoi .m4-hero__grid { max-width: 510px; } }
@media (min-width: 768px) { .theme-hanoi .m4-hero__grid { max-width: 690px; } }
@media (min-width: 992px) { .theme-hanoi .m4-hero__grid { max-width: 930px; } }
@media (min-width: 1200px) { .theme-hanoi .m4-hero__grid { max-width: 1110px; } }
@media (max-width: 767px) {
	.theme-hanoi .m4-hero__grid { padding: 20px; border-radius: 22px; }
	.theme-hanoi .m4-tabs { top: 60px; }
}
