/* Giao diện ninhbinh — Thời tiết Ninh Bình. Xanh Tràng An, nhấn đỏ.
   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 #F8FBFA (60%) · chủ đạo #2B8265 (30%) · nhấn #C8416E (comp, 10%).
   Cấu trúc: đầu trang ink · khối đầu trang card · tab underline · bố cục right · thẻ border · chân trang light · font merri. */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Inter:wght@400;500;600;700&display=swap");

.theme-ninhbinh {
	--m4-500: #40BF95; --m4-600: #2B8265; --m4-700: #257057; --m4-800: #1D5845; --m4-900: #122D2A;
	--m4-amber: #C8416E; --m4-sun: #C8416E;
	--m4-cream: #F2FBF8; --m4-cream-2: #E2F5EF;
	--m4-bg: #F8FBFA; --m4-ink: #142428; --m4-ink-2: #435053; --m4-muted: #657578;
	--m4-line: #DDEAE6; --m4-line-2: #EEF4F2;
	--m4-rain: #1D6FD1; --m4-cool: #1D6FD1;
	--tw-ink: #142428; --tw-ink-2: #435053; --tw-muted: #657578; --tw-line: #DDEAE6; --tw-line-2: #EEF4F2;
	--tw-bg: #F8FBFA; --tw-brand: #2B8265; --tw-brand-600: #257057; --tw-brand-700: #1D5845;
	--tw-brand-50: #F2FBF8; --tw-brand-100: #E2F5EF; --tw-rain: #1D6FD1;
	--tt-acc: #C8416E; --tt-acc-text: #BA3662; --tt-acc-50: #F8E8EE;
	--tt-rain-text: #1D6FD1;
	--chart-ink: #142428; --chart-muted: #657578; --chart-grid: rgba(20, 36, 40, 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: "Merriweather", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Inter", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(18, 45, 42, 0.05), 0 14px 30px -18px rgba(18, 45, 42, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(18, 45, 42, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-ninhbinh a { color: var(--m4-700); }
.theme-ninhbinh a:hover { color: var(--m4-800); }
.theme-ninhbinh a:focus-visible, .theme-ninhbinh button:focus-visible, .theme-ninhbinh summary:focus-visible, .theme-ninhbinh [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-ninhbinh .btn-primary, .theme-ninhbinh .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-ninhbinh .btn-primary:hover, .theme-ninhbinh .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-ninhbinh input:focus, .theme-ninhbinh select:focus, .theme-ninhbinh textarea:focus, .theme-ninhbinh .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(43, 130, 101, 0.22); outline: 0; }
.theme-ninhbinh .m4-h2::before { background: var(--tt-acc); }
.theme-ninhbinh .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-ninhbinh .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-ninhbinh .m4-acc summary::after { color: var(--m4-700); }
.theme-ninhbinh .m4-hrow__pop b, .theme-ninhbinh .m4-moment--wet b, .theme-ninhbinh .m4-wave__rain b, .theme-ninhbinh .m4-gantt__rain b, .theme-ninhbinh .m4-table__rain { color: var(--tt-rain-text); }
.theme-ninhbinh .m4-hcell__pop i, .theme-ninhbinh .m4-gantt__rain i { background: var(--m4-rain); }
.theme-ninhbinh .m4-band__hi { fill: #C2410C; }
.theme-ninhbinh .m4-band__lo { fill: var(--tt-rain-text); }
.theme-ninhbinh .m4-ticket__temp, .theme-ninhbinh .m4-feature__temp { color: var(--m4-700); }
.theme-ninhbinh .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-ninhbinh .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-ninhbinh .m4-table td, .theme-ninhbinh .m4-table th { border-color: var(--m4-line); }
.theme-ninhbinh .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-ninhbinh .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-ninhbinh .tw-crumbs a { color: var(--m4-700); }
.theme-ninhbinh .m4-h2, .theme-ninhbinh .m4-hero__title, .theme-ninhbinh .m4-hh__title, .theme-ninhbinh .tw-pagehead__title, .theme-ninhbinh .m4-tab b { font-family: var(--m4-display); }
.theme-ninhbinh .tw-header { background: var(--m4-900); border-bottom: 3px solid var(--tt-acc); }
.theme-ninhbinh .tw-header a { color: #fff; }
.theme-ninhbinh .tw-header .search-input { background: #fff; border: 1px solid transparent; color: var(--m4-ink); }
.theme-ninhbinh .tw-header .search-input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.theme-ninhbinh .tw-header .tw-btn--soft { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.theme-ninhbinh .tw-header .tw-btn--soft:hover { background: #fff; color: var(--m4-800); }
.theme-ninhbinh .tw-header::before { display: none; }
.theme-ninhbinh .tw-header .dropdown-menu, .theme-ninhbinh .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-ninhbinh .tw-header .dropdown-menu a, .theme-ninhbinh .tw-places-menu a { color: var(--m4-ink); }
.theme-ninhbinh .tw-header .dropdown-menu a:hover, .theme-ninhbinh .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-ninhbinh .m4-hero, .theme-ninhbinh .m4-hero[class*="m4-hero--"] { --h1: var(--m4-800); --h2: var(--m4-600); --h3: rgba(200, 65, 110, 0.55); }
.theme-ninhbinh .m4-hh { background: linear-gradient(135deg, var(--m4-700), var(--m4-500)); }
.theme-ninhbinh .tw-pagehead { --g1: var(--m4-800); --g2: var(--m4-600); --g3: var(--m4-500); }
.theme-ninhbinh .m4-ticket, .theme-ninhbinh .m4-ticket:hover { color: var(--m4-ink); }
.theme-ninhbinh .m4-hero { background: transparent; padding: 16px 0 6px; overflow: visible; }
.theme-ninhbinh .m4-hero__rays { display: none; }
.theme-ninhbinh .m4-hero__grid { border-radius: calc(var(--m4-radius) + 6px); padding: 28px; background: radial-gradient(380px 300px at 92% -10%, rgba(200, 65, 110, 0.45), transparent 70%), linear-gradient(135deg, var(--m4-800), var(--m4-600)); box-shadow: var(--m4-shadow-lg); width: calc(100% - 30px); }
.theme-ninhbinh .m4-hh .container { position: relative; }
@media (min-width: 576px) { .theme-ninhbinh .m4-hero__grid { max-width: 510px; } }
@media (min-width: 768px) { .theme-ninhbinh .m4-hero__grid { max-width: 690px; } }
@media (min-width: 992px) { .theme-ninhbinh .m4-hero__grid { max-width: 930px; } }
@media (min-width: 1200px) { .theme-ninhbinh .m4-hero__grid { max-width: 1110px; } }
@media (max-width: 767px) { .theme-ninhbinh .m4-hero__grid { padding: 20px; } }
.theme-ninhbinh .m4-tabs { background: rgba(248, 251, 250, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-ninhbinh .m4-tabs { background: #fff; padding: 0; }
.theme-ninhbinh .m4-tab { border-radius: 0; border: 0; border-bottom: 3px solid transparent; padding: 10px 12px 8px; }
.theme-ninhbinh .m4-tab:hover { background: var(--m4-cream); border-color: transparent; border-bottom-color: var(--m4-200, #C6ECDF); }
.theme-ninhbinh .m4-tab.is-active, .theme-ninhbinh .m4-tab.is-active:hover { background: transparent; border-bottom-color: var(--m4-700); box-shadow: none; }
.theme-ninhbinh .m4-tab.is-active b, .theme-ninhbinh .m4-tab.is-active span { color: var(--m4-800); }
@media (min-width: 992px) {
	.theme-ninhbinh .m4-layout { grid-template-columns: minmax(0, 1fr) 310px; }
	.theme-ninhbinh .m4-side { order: 2; }
}
.theme-ninhbinh { --m4-radius: 12px; }
.theme-ninhbinh .m4-block, .theme-ninhbinh .tw-card { border: 1px solid var(--m4-line); box-shadow: none; }
.theme-ninhbinh { --ft-bg: #E2F5EF; }
.theme-ninhbinh .tw-footer { background: var(--m4-cream); color: var(--m4-ink-2); border-top: 1px solid var(--m4-line); }
.theme-ninhbinh .tw-footer__wave { display: none; }
.theme-ninhbinh .tw-footer h6 { color: var(--m4-ink); }
.theme-ninhbinh .tw-footer a { color: var(--m4-800); }
.theme-ninhbinh .tw-footer a:hover { color: var(--m4-900); }
.theme-ninhbinh .tw-footer__bottom { border-color: var(--m4-line); color: var(--m4-muted); }
