/* Giao diện cantho — Thời tiết Cần Thơ. Xanh miệt vườn, nhấn đỏ trái cây.
   Sinh tự động bởi tools/themes/gen.py — sửa ở đó rồi chạy lại.
   Phối màu 60-30-10: nền #F8FBF9 (60%) · chủ đạo #1F8452 (30%) · nhấn #D73385 (comp, 10%).
   Cấu trúc: đầu trang tint · khối đầu trang card · tab pills · bố cục right · thẻ accent · chân trang deep · font baloo. */
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700&family=Nunito:wght@400;600;700&display=swap");

.theme-cantho {
	--m4-500: #30CF80; --m4-600: #1F8452; --m4-700: #1B7247; --m4-800: #155A38; --m4-900: #122D26;
	--m4-amber: #D73385; --m4-sun: #D73385;
	--m4-cream: #F1FCF6; --m4-cream-2: #E0F8EC;
	--m4-bg: #F8FBF9; --m4-ink: #142426; --m4-ink-2: #435051; --m4-muted: #657576;
	--m4-line: #DDEAE3; --m4-line-2: #EEF4F1;
	--m4-rain: #1D6FD1; --m4-cool: #1D6FD1;
	--tw-ink: #142426; --tw-ink-2: #435051; --tw-muted: #657576; --tw-line: #DDEAE3; --tw-line-2: #EEF4F1;
	--tw-bg: #F8FBF9; --tw-brand: #1F8452; --tw-brand-600: #1B7247; --tw-brand-700: #155A38;
	--tw-brand-50: #F1FCF6; --tw-brand-100: #E0F8EC; --tw-rain: #1D6FD1;
	--tt-acc: #D73385; --tt-acc-text: #C12673; --tt-acc-50: #FAE7F0;
	--tt-rain-text: #1D6FD1;
	--chart-ink: #142426; --chart-muted: #657576; --chart-grid: rgba(20, 36, 38, 0.08);
	--chart-max: #C2410C; --chart-min: #1D6FD1; --chart-rain: rgba(29, 111, 209, 0.5); --chart-rain-solid: #1D6FD1; --chart-pop: #1D6FD1;
	--m4-display: "Baloo 2", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Nunito", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(18, 45, 38, 0.05), 0 14px 30px -18px rgba(18, 45, 38, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(18, 45, 38, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-cantho a { color: var(--m4-700); }
.theme-cantho a:hover { color: var(--m4-800); }
.theme-cantho a:focus-visible, .theme-cantho button:focus-visible, .theme-cantho summary:focus-visible, .theme-cantho [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-cantho .btn-primary, .theme-cantho .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-cantho .btn-primary:hover, .theme-cantho .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-cantho input:focus, .theme-cantho select:focus, .theme-cantho textarea:focus, .theme-cantho .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(31, 132, 82, 0.22); outline: 0; }
.theme-cantho .m4-h2::before { background: var(--tt-acc); }
.theme-cantho .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-cantho .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-cantho .m4-acc summary::after { color: var(--m4-700); }
.theme-cantho .m4-hrow__pop b, .theme-cantho .m4-moment--wet b, .theme-cantho .m4-wave__rain b, .theme-cantho .m4-gantt__rain b, .theme-cantho .m4-table__rain { color: var(--tt-rain-text); }
.theme-cantho .m4-hcell__pop i, .theme-cantho .m4-gantt__rain i { background: var(--m4-rain); }
.theme-cantho .m4-band__hi { fill: #C2410C; }
.theme-cantho .m4-band__lo { fill: var(--tt-rain-text); }
.theme-cantho .m4-ticket__temp, .theme-cantho .m4-feature__temp { color: var(--m4-700); }
.theme-cantho .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-cantho .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-cantho .m4-table td, .theme-cantho .m4-table th { border-color: var(--m4-line); }
.theme-cantho .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-cantho .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-cantho .tw-crumbs a { color: var(--m4-700); }
.theme-cantho .m4-h2, .theme-cantho .m4-hero__title, .theme-cantho .m4-hh__title, .theme-cantho .tw-pagehead__title, .theme-cantho .m4-tab b { font-family: var(--m4-display); }
.theme-cantho .tw-header { background: var(--m4-cream); border-bottom: 1px solid var(--m4-line); }
.theme-cantho .tw-header .search-input { background: #fff; border: 1px solid var(--m4-line); }
.theme-cantho .tw-header .tw-btn--soft { background: #fff; color: var(--m4-800); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-cantho .tw-header::before { display: none; }
.theme-cantho .tw-header .dropdown-menu, .theme-cantho .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-cantho .tw-header .dropdown-menu a, .theme-cantho .tw-places-menu a { color: var(--m4-ink); }
.theme-cantho .tw-header .dropdown-menu a:hover, .theme-cantho .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-cantho .m4-hero, .theme-cantho .m4-hero[class*="m4-hero--"] { --h1: var(--m4-800); --h2: var(--m4-600); --h3: rgba(215, 51, 133, 0.55); }
.theme-cantho .m4-hh { background: linear-gradient(135deg, var(--m4-700), var(--m4-500)); }
.theme-cantho .tw-pagehead { --g1: var(--m4-800); --g2: var(--m4-600); --g3: var(--m4-500); }
.theme-cantho .m4-ticket, .theme-cantho .m4-ticket:hover { color: var(--m4-ink); }
.theme-cantho .m4-hero { background: transparent; padding: 16px 0 6px; overflow: visible; }
.theme-cantho .m4-hero__rays { display: none; }
.theme-cantho .m4-hero__grid { border-radius: calc(var(--m4-radius) + 6px); padding: 28px; background: radial-gradient(380px 300px at 92% -10%, rgba(215, 51, 133, 0.45), transparent 70%), linear-gradient(135deg, var(--m4-800), var(--m4-600)); box-shadow: var(--m4-shadow-lg); width: calc(100% - 30px); }
.theme-cantho .m4-hh .container { position: relative; }
@media (min-width: 576px) { .theme-cantho .m4-hero__grid { max-width: 510px; } }
@media (min-width: 768px) { .theme-cantho .m4-hero__grid { max-width: 690px; } }
@media (min-width: 992px) { .theme-cantho .m4-hero__grid { max-width: 930px; } }
@media (min-width: 1200px) { .theme-cantho .m4-hero__grid { max-width: 1110px; } }
@media (max-width: 767px) { .theme-cantho .m4-hero__grid { padding: 20px; } }
.theme-cantho .m4-tabs { background: rgba(248, 251, 249, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-cantho .m4-tab.is-active { background: var(--m4-700); border-color: var(--m4-700); box-shadow: 0 10px 20px -12px rgba(21, 90, 56, 0.9); }
.theme-cantho .m4-tab:hover { background: #fff; border-color: var(--m4-line); }
@media (min-width: 992px) {
	.theme-cantho .m4-layout { grid-template-columns: minmax(0, 1fr) 310px; }
	.theme-cantho .m4-side { order: 2; }
}
.theme-cantho { --m4-radius: 10px; }
.theme-cantho .m4-block { border: 1px solid var(--m4-line); border-top: 4px solid var(--m4-600); box-shadow: 0 6px 16px -12px rgba(18, 45, 38, 0.3); }
.theme-cantho { --ft-bg: #122D26; }
.theme-cantho .tw-footer { background: #122D26; color: rgba(255, 255, 255, .82); }
.theme-cantho .tw-footer h6 { color: #fff; }
.theme-cantho .tw-footer a { color: rgba(255, 255, 255, .88); }
.theme-cantho .tw-footer a:hover { color: #E57AB0; }
.theme-cantho .tw-footer__bottom { border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); }
.theme-cantho .tw-footer__wave { color: var(--ft-bg); }
