/* ==========================================================================
   kenhthoitiet.com.vn — bổ sung cho bản Laravel (nạp sau mua.css)
   ========================================================================== */
.tw-header__logo img { height: 46px; width: auto; }
.tw-footer__logo img { height: 46px; width: auto; }
@media (max-width: 575px) { .tw-header__logo img { height: 32px; } }

/* Ảnh có chú thích chuyển từ shortcode [caption] */
.wp-caption { margin: 1.2rem auto; max-width: 100%; text-align: center; }
.wp-caption img { max-width: 100%; height: auto; border-radius: 14px; }
.wp-caption-text { font-size: .9rem; color: var(--m4-muted, #64748b); margin-top: .4rem; }
.entry-content img { max-width: 100%; height: auto; }

/* Form liên hệ */
.tt-form { display: grid; gap: 14px; margin-top: 1.2rem; }
.tt-form .row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .tt-form .row2 { grid-template-columns: 1fr; } }
.tt-form label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--m4-ink-2, #33475b); }
.tt-form input, .tt-form textarea {
	width: 100%; border: 1px solid var(--m4-line, #dbe7f3); border-radius: 12px; padding: 10px 14px;
	background: #fff; font: inherit; color: inherit;
}
.tt-form input:focus, .tt-form textarea:focus { outline: 2px solid var(--m4-500, #1d8fe0); outline-offset: 1px; }
.tt-form button { justify-self: start; border: 0; border-radius: 999px; padding: 11px 26px; font-weight: 700; color: #fff; background: var(--m4-600, #0b79ce); cursor: pointer; }
.tt-form button:hover { background: var(--m4-700, #0965ad); }
.tt-alert { border-radius: 14px; padding: 12px 16px; margin: 1rem 0; }
.tt-alert--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.tt-alert--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.tt-hp { position: absolute !important; left: -9999px !important; }

/* Phân trang tin tức */
.pagenavi { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 1.5rem; }
.pagenavi a, .pagenavi span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--m4-line, #dbe7f3); background: #fff; color: var(--m4-ink, #0f2236); font-weight: 600; }
.pagenavi .current { background: var(--m4-600, #0b79ce); border-color: var(--m4-600, #0b79ce); color: #fff; }
.pagenavi .disabled { opacity: .45; }
.news-empty { padding: 2rem; text-align: center; color: var(--m4-muted, #64748b); }

/* ==========================================================================
   BẢNG MÀU SÁNG — tone cam kết hợp màu sáng (kem, vàng, đào, xanh trời nhạt),
   không dùng nền nâu đen / đen.
   ========================================================================== */
:root {
	--m4-ink: #1e3a56;
	--m4-ink-2: #3d5875;
	--m4-muted: #7b8ea3;
	--m4-bg: #f4f9fe;
	--m4-shadow: 0 1px 2px rgba(11, 121, 206, 0.06), 0 14px 32px -20px rgba(11, 121, 206, 0.35);
	--m4-shadow-lg: 0 26px 60px -30px rgba(11, 121, 206, 0.45);
}
body { background: var(--m4-bg); color: var(--m4-ink); }

/* Dải đầu trang: cam tươi → hổ phách → vàng nắng */
.m4-hero { --h1: #0b79ce; --h2: #1d8fe0; --h3: #fde68a; }
.m4-hero--hourly { --h1: #0b79ce; --h2: #4aa8ec; --h3: #fde047; }
.m4-hero--3d { --h1: #1d8fe0; --h2: #4aa8ec; --h3: #fecdd3; }
.m4-hero--5d { --h1: #0b79ce; --h2: #f59e0b; --h3: #fef08a; }
.m4-hero--7d { --h1: #1d8fe0; --h2: #4aa8ec; --h3: #d9f99d; }
.m4-hero--10d { --h1: #0b79ce; --h2: #4aa8ec; --h3: #cfe6f9; }
.m4-hero--15d { --h1: #1d8fe0; --h2: #f59e0b; --h3: #fde68a; }
.m4-hero--20d { --h1: #0b79ce; --h2: #4aa8ec; --h3: #bae6fd; }
.m4-hero--30d { --h1: #1d8fe0; --h2: #fbbf24; --h3: #fef3c7; }
.m4-hero, .m4-hh { text-shadow: 0 1px 2px rgba(9, 101, 173, 0.35); }
.m4-hh {
	background:
		radial-gradient(90% 120% at 100% 0%, #fde68a 0, transparent 50%),
		radial-gradient(60% 90% at 0% 100%, rgba(251, 191, 36, 0.45) 0, transparent 60%),
		linear-gradient(120deg, #0b79ce, #1d8fe0 55%, #fbbf24);
}
.tw-pagehead { --g1: #0b79ce; --g2: #1d8fe0; --g3: #fbbf24; text-shadow: 0 1px 2px rgba(9, 101, 173, 0.35); }
.m4-ticket, .m4-feature { text-shadow: none; }

/* Buổi đêm: tím than → oải hương nhạt */
.m4-part--night { --pb: linear-gradient(180deg, #e0e7ff, #c7d2fe); color: #3730a3; }
.m4-part--night .tw-pop { color: #4338ca; }

/* Chân trang sáng */
.tw-footer { background: linear-gradient(180deg, #eaf4fd, #d6e9f8); color: var(--m4-ink-2); }
.tw-footer__wave { color: #eaf4fd; }
.tw-footer h6 { color: #0965ad; }
.tw-footer a, .tw-footer p { color: var(--m4-ink-2); }
.tw-footer a:hover { color: #0b79ce; }
.tw-footer__bottom { color: var(--m4-muted); border-top-color: rgba(11, 121, 206, 0.18) !important; }

/* Các khối trước đây nền tối => chuyển sang tông sáng/vừa */
.tw-quad__item--night { background: linear-gradient(160deg, #818cf8, #c4b5fd) !important; }
.tw-timeline__head { background: linear-gradient(90deg, #1d8fe0, #fbbf24) !important; }
.tw-hl--wet { background: linear-gradient(150deg, #60a5fa, #38bdf8) !important; }
.tw-trend { background: radial-gradient(circle at 90% 0%, rgba(254, 240, 138, 0.55), transparent 40%), linear-gradient(160deg, #0b79ce, #1d8fe0 60%, #fbbf24) !important; }
.tw-frame.is-today { background: linear-gradient(160deg, #1d8fe0, #8cc8f3) !important; }
.tw-phase__dot { background: linear-gradient(135deg, #a5b4fc, #6366f1) !important; }
.tw-gcard--cta { background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.3), transparent 45%), linear-gradient(135deg, #1d8fe0, #4aa8ec 60%, #fcd34d) !important; }
.tw-sunhero__item--len { background: linear-gradient(150deg, #f97316, #60a5fa) !important; }
.tw-moon__disc { background: #c7d2fe !important; }
.tw-nighthero { background: radial-gradient(ellipse at 20% 0%, #c7d2fe, #818cf8 55%, #6366f1) !important; }
.tw-nightbars { background: linear-gradient(180deg, #a5b4fc, #818cf8) !important; }
.tw-meteor-next { background: linear-gradient(135deg, #818cf8, #a78bfa) !important; }
.tw-nighthero__moon span, .tw-nighthero__score > span, .tw-nighthero__score > b small,
.tw-nighthero__score dt, .tw-meteor-next > div > span, .tw-nightbars__v { color: #eef2ff !important; }
.tw-nighthero__score > div, .tw-nighthero__score dl > div { background: rgba(255, 255, 255, 0.18) !important; }

/* ---------- Nút lên đầu trang ---------- */
.tt-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 999;
	width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	color: #fff; background: linear-gradient(135deg, #4aa8ec, #0b79ce);
	box-shadow: 0 8px 20px -6px rgba(11, 121, 206, .55);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s, box-shadow .2s;
}
.tt-top.is-on { opacity: 1; visibility: visible; transform: none; }
.tt-top:hover { box-shadow: 0 12px 26px -6px rgba(11, 121, 206, .7); transform: translateY(-2px); }
.tt-top:focus-visible { outline: 3px solid #fde68a; outline-offset: 3px; }
@media (max-width: 575px) { .tt-top { right: 12px; bottom: 12px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .tt-top { transition: opacity .01s, visibility .01s; } }
@media print { .tt-top { display: none !important; } }

/* ---------- Breadcrumb trang tĩnh / tin tức: dải cam sáng, chữ rõ ---------- */
.breadcrumb-custom.tw-crumbs {
	background: linear-gradient(90deg, #eaf4fd 0%, #dcecfa 55%, #fff6d9 100%);
	border-top: 1px solid #cfe6f9;
	border-bottom: 1px solid #cfe6f9;
	padding: 14px 0;
	font-size: .95rem;
	color: #063f6d;
}
.breadcrumb-custom.tw-crumbs .rank-math-breadcrumb { padding: 0; }
.breadcrumb-custom.tw-crumbs .rank-math-breadcrumb p { color: #063f6d; font-weight: 600; align-items: center; }
.breadcrumb-custom.tw-crumbs a {
	color: #0b79ce; font-weight: 700; text-decoration: none;
	border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.breadcrumb-custom.tw-crumbs a:hover { color: #0965ad; border-bottom-color: #8cc8f3; }
.breadcrumb-custom.tw-crumbs .separator { color: #f59e0b; margin: 0 8px; font-weight: 700; }
.breadcrumb-custom.tw-crumbs .last { color: #063f6d; }

/* ---------- Nhận định thời tiết 7 ngày + câu hỏi thường gặp ---------- */
.m4-outlook__body p { margin: 0 0 12px; line-height: 1.7; color: var(--m4-ink); }
.m4-outlook__tips { margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: #f2f8fe; border: 1px solid #cfe6f9; }
.m4-outlook__tips b { color: #0965ad; display: block; margin-bottom: 6px; }
.m4-outlook__tips ul { margin: 0; padding-left: 20px; }
.m4-outlook__tips li { margin: 4px 0; line-height: 1.6; }
.m4-faq__item { border-top: 1px solid #d6e9f8; }
.m4-faq__item:last-child { border-bottom: 1px solid #d6e9f8; }
.m4-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px; }
.m4-faq__item summary::-webkit-details-marker { display: none; }
.m4-faq__item summary h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--m4-ink); line-height: 1.45; }
.m4-faq__item summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e3f0fb; color: #0b79ce; font-weight: 800; font-size: 18px; transition: transform .2s; }
.m4-faq__item[open] summary::after { content: "–"; }
.m4-faq__item summary:hover h3 { color: #0b79ce; }
.m4-faq__item p { margin: 0 2px 16px; line-height: 1.7; color: var(--m4-ink-2); }
.m4-outlook__tips ul { list-style: disc; }
.m4-outlook__tips li::marker { color: #1d8fe0; }

/* ---------- Bản đồ mưa ---------- */
.rm__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.rm__layers { display: flex; flex-wrap: wrap; gap: 6px; }
.rm__layer { border: 1px solid #cfe6f9; background: #fff; color: #074f88; font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; min-height: 38px; }
.rm__layer:hover { background: #f2f8fe; }
.rm__layer.is-on { background: #0b79ce; border-color: #0b79ce; color: #fff; }
.rm__stage { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #d6e9f8; }
.rm__map, .rm__map.leaflet-container { height: 560px; background: #d4e4ec; }
@media (max-width: 767px) { .rm__map, .rm__map.leaflet-container { height: 440px; } }
.rm__time { position: absolute; left: 12px; top: 12px; z-index: 800; background: rgba(255,255,255,.95); color: #063f6d; font-weight: 800; font-size: .95rem; padding: 7px 12px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.12); pointer-events: none; }
.rm__loading { position: absolute; left: 12px; top: 52px; z-index: 800; background: rgba(6, 63, 109,.85); color: #fff; font-size: .8rem; padding: 5px 10px; border-radius: 8px; }
.rm__bar { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.rm__play { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #0b79ce; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(11, 121, 206,.6); }
.rm__play .rm__ico-pause, .rm.is-playing .rm__play .rm__ico-play { display: none; }
.rm.is-playing .rm__play .rm__ico-pause { display: block; }
.rm__step { flex: none; min-width: 44px; height: 38px; border-radius: 10px; border: 1px solid #cfe6f9; background: #fff; color: #074f88; font-weight: 700; cursor: pointer; }
.rm__range { flex: 1; min-width: 0; accent-color: #0b79ce; height: 28px; }
.rm__days { position: relative; height: 18px; margin: 2px 98px 0 156px; font-size: .75rem; color: #7b8ea3; }
.rm__days span { position: absolute; transform: translateX(-10%); white-space: nowrap; }
@media (max-width: 575px) { .rm__days { display: none; } }
.rm__legend { margin-top: 12px; }
.rm__legend-bar { height: 12px; border-radius: 6px; border: 1px solid #dbe7f3; }
.rm__legend-ticks { display: flex; justify-content: space-between; font-size: .78rem; color: #3d5875; margin-top: 4px; }
.rm__legend-ticks b { color: #0965ad; }
.rm__hint { margin: 6px 0 0; font-size: .88rem; color: #3d5875; }
.rm__note { margin-top: 10px; }
.rm-pin { background: none; border: 0; }
.rm-pill, .rm-pill:visited { display: inline-block; transform: translate(-50%, -50%); white-space: nowrap; background: rgba(255,255,255,.92); color: #1e3a56 !important; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.18); text-decoration: none; }
.rm-pill b { color: #0b79ce; }
.rm-pill:hover, .rm-pill.is-focus { background: #0b79ce; color: #fff !important; }
.rm-pill:hover b, .rm-pill.is-focus b { color: #fff; }
.rm-island { display: inline-block; transform: translate(0, -50%); white-space: nowrap; color: #075985; font-size: 12px; font-weight: 700; font-style: italic; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.rm-island--sea { transform: translate(-50%, -50%); font-size: 15px; letter-spacing: 2px; color: #0369a1; opacity: .8; }
.rm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.rm-list li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #f0f9ff; }
.rm-list b { color: #0369a1; }
.rm-links { list-style: none; margin: 0; padding: 0; columns: 4 180px; column-gap: 20px; }
.rm-links li { break-inside: avoid; padding: 4px 0; }
.leaflet-container { font-family: inherit; }

/* ---------- Tiện ích WeatherAPI: biển, cảnh báo, phấn hoa, bức xạ ---------- */
.tw-tool--sea { --tc: #0284c7; }
.tw-tool--alert { --tc: #dc2626; }
.tw-tool--pollen { --tc: #65a30d; }
.tw-tool--solar { --tc: #ca8a04; }
.wa-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.wa-facts div { background: #f2f8fe; border-radius: 12px; padding: 10px 12px; }
.wa-facts dt { font-size: .8rem; color: #7b8ea3; font-weight: 600; }
.wa-facts dd { margin: 2px 0 0; font-weight: 800; color: #1e3a56; }
.wa-sea__now { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 14px; align-items: stretch; }
@media (max-width: 640px) { .wa-sea__now { grid-template-columns: 1fr; } }
.wa-state { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 4px; color: #fff; }
.wa-state span { font-size: .85rem; opacity: .9; } .wa-state b { font-size: 1.5rem; line-height: 1.2; } .wa-state small { font-size: .95rem; }
.wa-state--calm { background: linear-gradient(135deg, #22c55e, #16a34a); }
.wa-state--slight { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.wa-state--moderate { background: linear-gradient(135deg, #f59e0b, #d97706); }
.wa-state--rough { background: linear-gradient(135deg, #f97316, #dc2626); }
.wa-state--veryrough { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.wa-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.wa-dot--calm { background: #16a34a; } .wa-dot--slight { background: #0284c7; } .wa-dot--moderate { background: #d97706; } .wa-dot--rough { background: #dc2626; } .wa-dot--veryrough { background: #7f1d1d; }
.wa-legend { list-style: none; padding: 0; }
.wa-windows { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.wa-win { background: #f0f9ff; border-radius: 14px; padding: 14px 16px; }
.wa-win h3 { margin: 0 0 8px; font-size: 1rem; color: #075985; }
.wa-win ul { margin: 0 0 8px; padding-left: 18px; } .wa-win li { margin: 3px 0; font-weight: 600; }
.wa-none { margin: 0 0 8px; color: #074f88; font-weight: 600; }
.wa-tides { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.wa-tides__day { border: 1px solid #e0f2fe; border-radius: 14px; padding: 12px 14px; }
.wa-tides__day h3 { margin: 0 0 8px; font-size: .95rem; color: #0369a1; }
.wa-tides ul { list-style: none; margin: 0; padding: 0; }
.wa-tides li { display: grid; grid-template-columns: 52px 1fr auto; gap: 6px; padding: 5px 0; border-top: 1px dashed #e0f2fe; font-size: .9rem; }
.wa-tides li:first-child { border-top: 0; }
.wa-tides li.is-high b { color: #0369a1; } .wa-tides li.is-low b { color: #64748b; }
.wa-tides em { font-style: normal; font-weight: 700; color: #0f172a; }
.wa-day { border-top: 1px solid #d6e9f8; }
.wa-day summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; padding: 12px 2px; list-style: none; }
.wa-day summary::-webkit-details-marker { display: none; }
.wa-day summary span { color: #0369a1; font-weight: 700; }
.wa-table-wrap { overflow-x: auto; }
.wa-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.wa-table th { text-align: left; font-size: .78rem; color: #7b8ea3; font-weight: 700; padding: 8px 8px; border-bottom: 1px solid #d6e9f8; white-space: nowrap; }
.wa-table td { padding: 8px; border-bottom: 1px solid #edf5fc; white-space: nowrap; }
.wa-banner { color: #fff; }
.wa-banner--extreme { background: #7f1d1d; } .wa-banner--severe { background: #dc2626; } .wa-banner--moderate { background: #d97706; } .wa-banner--minor { background: #0284c7; }
.wa-banner__in { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.wa-banner__text { flex: 1; min-width: 200px; } .wa-banner__more { opacity: .85; }
.wa-banner__link, .wa-banner__link:visited { color: #fff !important; font-weight: 800; text-decoration: underline; white-space: nowrap; }
.wa-ok { display: flex; gap: 12px; align-items: flex-start; background: #f0fdf4; color: #166534; border-radius: 14px; padding: 14px 16px; }
.wa-ok svg { flex: none; } .wa-ok p { margin: 0; }
.wa-alerts { display: flex; flex-direction: column; gap: 12px; }
.wa-alert { border-radius: 14px; padding: 14px 16px; border: 1px solid; }
.wa-alert--extreme { border-color: #fecaca; background: #fef2f2; } .wa-alert--severe { border-color: #fecaca; background: #fff5f5; }
.wa-alert--moderate { border-color: #fde68a; background: #fffbeb; } .wa-alert--minor { border-color: #bae6fd; background: #f0f9ff; }
.wa-alert header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.wa-alert h3 { margin: 0; font-size: 1.05rem; color: #1e3a56; }
.wa-badge { font-size: .75rem; font-weight: 800; color: #fff; background: #dc2626; padding: 3px 9px; border-radius: 999px; }
.wa-alert--moderate .wa-badge { background: #d97706; } .wa-alert--minor .wa-badge { background: #0284c7; } .wa-alert--extreme .wa-badge { background: #7f1d1d; }
.wa-alert__head { margin: 8px 0 0; font-weight: 600; }
.wa-alert__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0; font-size: .88rem; }
.wa-alert__meta dt { display: inline; color: #7b8ea3; font-weight: 600; } .wa-alert__meta dt::after { content: ": "; }
.wa-alert__meta dd { display: inline; margin: 0; font-weight: 700; }
.wa-alert__desc, .wa-alert__ins { font-size: .92rem; line-height: 1.6; margin-top: 6px; }
.wa-pl { display: inline-block; font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #e5e7eb; color: #374151; white-space: nowrap; }
.wa-pl--none { background: #f1f5f9; color: #64748b; } .wa-pl--low { background: #dcfce7; color: #166534; } .wa-pl--mid { background: #fef9c3; color: #854d0e; }
.wa-pl--high { background: #ffedd5; color: #9a3412; } .wa-pl--vhigh { background: #fee2e2; color: #991b1b; }
.wa-pollen { list-style: none; margin: 0; padding: 0; }
.wa-pollen li { display: grid; grid-template-columns: minmax(150px, 1.4fr) 2fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #fdf0e3; }
.wa-pollen li:first-child { border-top: 0; }
.wa-pollen__bar { height: 10px; background: #f1f5f9; border-radius: 6px; overflow: hidden; }
.wa-pollen__bar i { display: block; height: 100%; border-radius: 6px; }
.wa-pollen__bar i.wa-pl--low { background: #4ade80; } .wa-pollen__bar i.wa-pl--mid { background: #facc15; } .wa-pollen__bar i.wa-pl--high { background: #fb923c; } .wa-pollen__bar i.wa-pl--vhigh { background: #ef4444; } .wa-pollen__bar i.wa-pl--none { background: #cbd5e1; }
@media (max-width: 575px) { .wa-pollen li { grid-template-columns: 1fr auto; } .wa-pollen__bar { grid-column: 1 / -1; order: 3; } }
.wa-solar { display: grid; grid-template-columns: minmax(170px, 220px) 1fr; gap: 14px; }
@media (max-width: 640px) { .wa-solar { grid-template-columns: 1fr; } }
.wa-solar__big { border-radius: 16px; padding: 16px; background: linear-gradient(135deg, #facc15, #f97316); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.wa-solar__big b { font-size: 2.6rem; line-height: 1; } .wa-solar__big span { font-weight: 600; margin-top: 4px; }
.wa-sub { font-size: .95rem; margin: 6px 0 8px; color: #3d5875; }
.wa-bars { display: flex; gap: 4px; align-items: flex-end; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; }
.wa-bars__c { flex: 1 0 34px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.wa-bars__v { font-size: .68rem; color: #a16207; height: 14px; }
.wa-bars__b { width: 100%; height: 120px; background: #fef9c3; border-radius: 6px; display: flex; align-items: flex-end; overflow: hidden; }
.wa-bars__b i { display: block; width: 100%; background: linear-gradient(180deg, #f97316, #facc15); border-radius: 6px 6px 0 0; }
.wa-bars__h { font-size: .72rem; color: #7b8ea3; }
.wa-alerts + .tw-note, .tw-prose li a { display: inline; }

/* ---------- Săn mây ---------- */
.sm-lv--5 { --sm: #0e7490; --smb: #cffafe; } .sm-lv--4 { --sm: #0369a1; --smb: #e0f2fe; } .sm-lv--3 { --sm: #a16207; --smb: #fef9c3; }
.sm-lv--2 { --sm: #074f88; --smb: #e3f0fb; } .sm-lv--1 { --sm: #64748b; --smb: #f1f5f9; }
.sm-badge { display: inline-flex; gap: 4px; align-items: baseline; font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--smb); color: var(--sm); white-space: nowrap; }
.sm-note { color: #3d5875; margin: 0 0 12px; }
.sm-sum { background: #f2f8fe; border: 1px solid #d6e9f8; border-radius: 12px; padding: 10px 14px; margin: 12px 0; }
.sm-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.sm-day { border: 1px solid #d6e9f8; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; background: #fff; }
.sm-day.is-first { border-color: #4aa8ec; box-shadow: 0 8px 22px -16px rgba(11, 121, 206, .7); }
.sm-day__d { font-weight: 800; color: #3d5875; } .sm-day__t { font-size: .82rem; color: #7b8ea3; }
.sm-score { font-size: 2rem; line-height: 1; color: var(--sm); } .sm-score b { font-weight: 900; } .sm-score small { font-size: .85rem; color: #7b8ea3; margin-left: 2px; }
.sm-factors { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.sm-factors li { display: grid; grid-template-columns: minmax(150px, 1.2fr) minmax(110px, 1fr) 2fr 44px; gap: 10px; align-items: center; font-size: .9rem; }
.sm-factors__n { font-weight: 700; } .sm-factors__v { color: #3d5875; } .sm-factors__p { text-align: right; font-weight: 700; color: #7b8ea3; }
.sm-factors__bar { height: 8px; border-radius: 99px; background: #edf5fc; overflow: hidden; }
.sm-factors__bar i { display: block; height: 100%; border-radius: 99px; background: #4aa8ec; }
.sm-factors__bar i.is-good { background: #0891b2; } .sm-factors__bar i.is-bad { background: #cbd5e1; }
.sm-hours tr.is-best td { background: #ecfeff; }
.sm-rank__name a { font-weight: 800; } .sm-rank__name small { display: block; color: #7b8ea3; font-size: .78rem; }
.sm-cal { min-width: 640px; } .sm-cal td, .sm-cal th { text-align: center; padding: 6px 4px; } .sm-cal td:first-child, .sm-cal th:first-child { text-align: left; }
.sm-cal td.is-on { color: #0891b2; font-size: .9rem; } .sm-cal .is-now { background: #f2f8fe; }
@media (max-width: 640px) {
  .sm-factors li { grid-template-columns: 1fr auto; } .sm-factors__bar { grid-column: 1 / -1; } .sm-factors__v { text-align: right; } .sm-factors__p { display: none; }
}
.sm-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sm-chips a { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid #a5f3fc; color: #0e7490; font-weight: 700; text-decoration: none; }
.sm-chips a b { background: #cffafe; border-radius: 99px; padding: 0 7px; font-size: .8rem; }
.sm-chips a:hover { border-color: #0891b2; }
.tw-places--spots .tw-places__list li.is-current a { background: #cffafe; color: #0e7490; font-weight: 700; }
.tw-places__foot { margin: 10px 0 0; font-weight: 700; } .tw-places__foot a { color: #0e7490; }
.sm-callout { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(90deg, #ecfeff, #f2f8fe); border: 1px solid #a5f3fc; border-radius: 14px; padding: 10px 16px; margin: 12px 0 0; }
.sm-callout p { margin: 0; color: #155e75; } .sm-callout a { font-weight: 800; color: #0e7490; white-space: nowrap; }

/* Nhiệt độ có số thập phân (26,4°): xếp cao/thấp thành 2 dòng ở thẻ hẹp để không tràn */
.m4-plan__t { display: flex; flex-direction: column; align-items: center; line-height: 1.15; white-space: nowrap; }
.m4-plan__t b { font-size: 1.2rem; }
.m4-plan__t span { font-size: .85rem; margin: 0; }
