/* Giao diện sonla — Thời tiết Sơn La. Hồng hoa mận Mộc Châu.
   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 #FBF8F9 (60%) · chủ đạo #AE3270 (30%) · nhấn #CE403B (analog, 10%).
   Cấu trúc: đầu trang tint · khối đầu trang light · tab underline · bố cục below · thẻ sharp · chân trang ink · font playfair. */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;600;700&display=swap");

.theme-sonla {
	--m4-500: #C63980; --m4-600: #AE3270; --m4-700: #962B60; --m4-800: #76224C; --m4-900: #2A1526;
	--m4-amber: #CE403B; --m4-sun: #CE403B;
	--m4-cream: #FBF1F6; --m4-cream-2: #F6E1EC;
	--m4-bg: #FBF8F9; --m4-ink: #201826; --m4-ink-2: #4D4651; --m4-muted: #726876;
	--m4-line: #EADDE3; --m4-line-2: #F4EEF1;
	--m4-rain: #1D6FD1; --m4-cool: #1D6FD1;
	--tw-ink: #201826; --tw-ink-2: #4D4651; --tw-muted: #726876; --tw-line: #EADDE3; --tw-line-2: #F4EEF1;
	--tw-bg: #FBF8F9; --tw-brand: #AE3270; --tw-brand-600: #962B60; --tw-brand-700: #76224C;
	--tw-brand-50: #FBF1F6; --tw-brand-100: #F6E1EC; --tw-rain: #1D6FD1;
	--tt-acc: #CE403B; --tt-acc-text: #C03530; --tt-acc-50: #F9E8E7;
	--tt-rain-text: #1D6FD1;
	--chart-ink: #201826; --chart-muted: #726876; --chart-grid: rgba(32, 24, 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: "Playfair Display", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Source Sans 3", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(42, 21, 38, 0.05), 0 14px 30px -18px rgba(42, 21, 38, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(42, 21, 38, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-sonla a { color: var(--m4-700); }
.theme-sonla a:hover { color: var(--m4-800); }
.theme-sonla a:focus-visible, .theme-sonla button:focus-visible, .theme-sonla summary:focus-visible, .theme-sonla [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-sonla .btn-primary, .theme-sonla .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-sonla .btn-primary:hover, .theme-sonla .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-sonla input:focus, .theme-sonla select:focus, .theme-sonla textarea:focus, .theme-sonla .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(174, 50, 112, 0.22); outline: 0; }
.theme-sonla .m4-h2::before { background: var(--tt-acc); }
.theme-sonla .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-sonla .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-sonla .m4-acc summary::after { color: var(--m4-700); }
.theme-sonla .m4-hrow__pop b, .theme-sonla .m4-moment--wet b, .theme-sonla .m4-wave__rain b, .theme-sonla .m4-gantt__rain b, .theme-sonla .m4-table__rain { color: var(--tt-rain-text); }
.theme-sonla .m4-hcell__pop i, .theme-sonla .m4-gantt__rain i { background: var(--m4-rain); }
.theme-sonla .m4-band__hi { fill: #C2410C; }
.theme-sonla .m4-band__lo { fill: var(--tt-rain-text); }
.theme-sonla .m4-ticket__temp, .theme-sonla .m4-feature__temp { color: var(--m4-700); }
.theme-sonla .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-sonla .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-sonla .m4-table td, .theme-sonla .m4-table th { border-color: var(--m4-line); }
.theme-sonla .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-sonla .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-sonla .tw-crumbs a { color: var(--m4-700); }
.theme-sonla .m4-h2, .theme-sonla .m4-hero__title, .theme-sonla .m4-hh__title, .theme-sonla .tw-pagehead__title, .theme-sonla .m4-tab b { font-family: var(--m4-display); }
.theme-sonla .tw-header { background: var(--m4-cream); border-bottom: 1px solid var(--m4-line); }
.theme-sonla .tw-header .search-input { background: #fff; border: 1px solid var(--m4-line); }
.theme-sonla .tw-header .tw-btn--soft { background: #fff; color: var(--m4-800); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-sonla .tw-header::before { display: none; }
.theme-sonla .tw-header .dropdown-menu, .theme-sonla .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-sonla .tw-header .dropdown-menu a, .theme-sonla .tw-places-menu a { color: var(--m4-ink); }
.theme-sonla .tw-header .dropdown-menu a:hover, .theme-sonla .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-sonla .m4-hero, .theme-sonla .m4-hh, .theme-sonla .tw-pagehead { color: var(--m4-ink); text-shadow: none; }
.theme-sonla .m4-hero *, .theme-sonla .m4-hh * { text-shadow: none; }
.theme-sonla .m4-hero__title, .theme-sonla .m4-hh__title, .theme-sonla .tw-pagehead__title { color: var(--m4-ink); }
.theme-sonla .m4-hero__lead, .theme-sonla .m4-hh__lead, .theme-sonla .tw-pagehead__lead, .theme-sonla .tw-pagehead__meta { color: var(--m4-ink-2); opacity: 1; }
.theme-sonla .m4-kicker, .theme-sonla .m4-hero__upd { color: var(--m4-muted); }
.theme-sonla .m4-kicker__season { background: var(--tt-acc-50); color: var(--tt-acc-text); border: 0; }
.theme-sonla .m4-facts li { background: #fff; border-color: transparent; box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-sonla .m4-facts span { color: var(--m4-muted); }
.theme-sonla .m4-facts b { color: var(--m4-ink); }
.theme-sonla .m4-hero__rays, .theme-sonla .tw-pagehead__decor { display: none; }
.theme-sonla .m4-hh__quick a { background: #fff; color: var(--m4-800); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-sonla .m4-hh__quick a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-sonla .m4-search input { border: 1px solid var(--m4-line); }
.theme-sonla .tw-pagehead__now, .theme-sonla .tw-pagehead__now:hover { background: #fff; border-color: var(--m4-line); color: var(--m4-ink); }
.theme-sonla .tw-pagehead__now-temp { color: var(--m4-700); }
.theme-sonla .m4-hero, .theme-sonla .m4-hero[class*="m4-hero--"] { --h1: #fff; --h2: #fff; --h3: transparent; }
.theme-sonla .m4-hero { background: transparent; padding: 16px 0 6px; overflow: visible; }
.theme-sonla .m4-hero__grid { border-radius: calc(var(--m4-radius) + 6px); padding: 28px; width: calc(100% - 30px);
	background: radial-gradient(420px 320px at 100% 0%, rgba(198, 57, 128, 0.16), transparent 70%), #fff;
	box-shadow: inset 6px 0 0 var(--m4-600), inset 0 0 0 1px var(--m4-line), var(--m4-shadow); }
.theme-sonla .m4-hh, .theme-sonla .tw-pagehead { background: radial-gradient(520px 360px at 100% 0%, rgba(198, 57, 128, 0.18), transparent 70%), linear-gradient(180deg, #fff, var(--m4-bg)); border-bottom: 1px solid var(--m4-line); }
.theme-sonla .m4-ticket { background: var(--m4-cream); box-shadow: inset 0 0 0 1px var(--m4-line); color: var(--m4-ink); }
@media (min-width: 576px) { .theme-sonla .m4-hero__grid { max-width: 510px; } }
@media (min-width: 768px) { .theme-sonla .m4-hero__grid { max-width: 690px; } }
@media (min-width: 992px) { .theme-sonla .m4-hero__grid { max-width: 930px; } }
@media (min-width: 1200px) { .theme-sonla .m4-hero__grid { max-width: 1110px; } }
@media (max-width: 767px) { .theme-sonla .m4-hero__grid { padding: 20px; } }
.theme-sonla .m4-tabs { background: rgba(251, 248, 249, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-sonla .m4-tabs { background: #fff; padding: 0; }
.theme-sonla .m4-tab { border-radius: 0; border: 0; border-bottom: 3px solid transparent; padding: 10px 12px 8px; }
.theme-sonla .m4-tab:hover { background: var(--m4-cream); border-color: transparent; border-bottom-color: var(--m4-200, #EEC4D9); }
.theme-sonla .m4-tab.is-active, .theme-sonla .m4-tab.is-active:hover { background: transparent; border-bottom-color: var(--m4-700); box-shadow: none; }
.theme-sonla .m4-tab.is-active b, .theme-sonla .m4-tab.is-active span { color: var(--m4-800); }
.theme-sonla .m4-layout { grid-template-columns: minmax(0, 1fr); }
.theme-sonla .m4-side { order: 2; position: static; }
@media (min-width: 992px) {
	.theme-sonla .m4-content { max-width: 920px; margin: 0 auto; width: 100%; }
	.theme-sonla .m4-side .tw-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
}
.theme-sonla { --m4-radius: 4px; }
.theme-sonla .m4-block, .theme-sonla .tw-card { border: 1px solid var(--m4-line); box-shadow: 3px 3px 0 rgba(174, 50, 112, 0.12); }
.theme-sonla .m4-tab, .theme-sonla .tw-places__list a, .theme-sonla .m4-facts li { border-radius: 4px; }
.theme-sonla { --ft-bg: #201826; }
.theme-sonla .tw-footer { background: #201826; color: rgba(255, 255, 255, .82); }
.theme-sonla .tw-footer h6 { color: #fff; }
.theme-sonla .tw-footer a { color: rgba(255, 255, 255, .88); }
.theme-sonla .tw-footer a:hover { color: #DF8380; }
.theme-sonla .tw-footer__bottom { border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); }
.theme-sonla .tw-footer__wave { color: var(--ft-bg); }
