/* Giao diện bacninh — Thời tiết Bắc Ninh. Chàm quan họ, nhấn vàng.
   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 #F8F8FB (60%) · chủ đạo #5A38A8 (30%) · nhấn #A0C841 (comp, 10%).
   Cấu trúc: đầu trang center · khối đầu trang minimal · tab pills · bố cục right · thẻ accent · chân trang light · font lora. */
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Be+Vietnam+Pro:wght@400;500;600&display=swap");

.theme-bacninh {
	--m4-500: #6640BF; --m4-600: #5A38A8; --m4-700: #4D3090; --m4-800: #3D2672; --m4-900: #191532;
	--m4-amber: #A0C841; --m4-sun: #A0C841;
	--m4-cream: #F4F2FB; --m4-cream-2: #E8E2F5;
	--m4-bg: #F8F8FB; --m4-ink: #18182C; --m4-ink-2: #464656; --m4-muted: #68687C;
	--m4-line: #E0DDEA; --m4-line-2: #F0EEF4;
	--m4-rain: #1D6FD1; --m4-cool: #1D6FD1;
	--tw-ink: #18182C; --tw-ink-2: #464656; --tw-muted: #68687C; --tw-line: #E0DDEA; --tw-line-2: #F0EEF4;
	--tw-bg: #F8F8FB; --tw-brand: #5A38A8; --tw-brand-600: #4D3090; --tw-brand-700: #3D2672;
	--tw-brand-50: #F4F2FB; --tw-brand-100: #E8E2F5; --tw-rain: #1D6FD1;
	--tt-acc: #A0C841; --tt-acc-text: #5E7622; --tt-acc-50: #F4F8E8;
	--tt-rain-text: #1D6FD1;
	--chart-ink: #18182C; --chart-muted: #68687C; --chart-grid: rgba(24, 24, 44, 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: "Lora", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Be Vietnam Pro", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(25, 21, 50, 0.05), 0 14px 30px -18px rgba(25, 21, 50, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(25, 21, 50, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-bacninh a { color: var(--m4-700); }
.theme-bacninh a:hover { color: var(--m4-800); }
.theme-bacninh a:focus-visible, .theme-bacninh button:focus-visible, .theme-bacninh summary:focus-visible, .theme-bacninh [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-bacninh .btn-primary, .theme-bacninh .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-bacninh .btn-primary:hover, .theme-bacninh .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-bacninh input:focus, .theme-bacninh select:focus, .theme-bacninh textarea:focus, .theme-bacninh .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(90, 56, 168, 0.22); outline: 0; }
.theme-bacninh .m4-h2::before { background: var(--tt-acc); }
.theme-bacninh .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-bacninh .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-bacninh .m4-acc summary::after { color: var(--m4-700); }
.theme-bacninh .m4-hrow__pop b, .theme-bacninh .m4-moment--wet b, .theme-bacninh .m4-wave__rain b, .theme-bacninh .m4-gantt__rain b, .theme-bacninh .m4-table__rain { color: var(--tt-rain-text); }
.theme-bacninh .m4-hcell__pop i, .theme-bacninh .m4-gantt__rain i { background: var(--m4-rain); }
.theme-bacninh .m4-band__hi { fill: #C2410C; }
.theme-bacninh .m4-band__lo { fill: var(--tt-rain-text); }
.theme-bacninh .m4-ticket__temp, .theme-bacninh .m4-feature__temp { color: var(--m4-700); }
.theme-bacninh .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-bacninh .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-bacninh .m4-table td, .theme-bacninh .m4-table th { border-color: var(--m4-line); }
.theme-bacninh .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-bacninh .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-bacninh .tw-crumbs a { color: var(--m4-700); }
.theme-bacninh .m4-h2, .theme-bacninh .m4-hero__title, .theme-bacninh .m4-hh__title, .theme-bacninh .tw-pagehead__title, .theme-bacninh .m4-tab b { font-family: var(--m4-display); }
.theme-bacninh .tw-header { background: #fff; border-bottom: 1px solid var(--m4-line); box-shadow: 0 3px 0 var(--m4-600); }
@media (min-width: 992px) {
	.theme-bacninh .tw-header__inner { flex-wrap: wrap; justify-content: center; padding: 12px 0; gap: 12px 20px; }
	.theme-bacninh .tw-header__logo { flex: 0 0 100%; text-align: center; }
	.theme-bacninh .tw-header__logo img { width: 190px; margin: 0 auto; }
	.theme-bacninh .tw-header__search { margin-left: 0; flex: 0 1 560px; }
}
.theme-bacninh .tw-header .search-input { background: var(--m4-bg); border: 1px solid var(--m4-line); }
.theme-bacninh .tw-header .tw-btn--soft { background: var(--m4-cream); color: var(--m4-800); }
.theme-bacninh .tw-header::before { display: none; }
.theme-bacninh .tw-header .dropdown-menu, .theme-bacninh .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-bacninh .tw-header .dropdown-menu a, .theme-bacninh .tw-places-menu a { color: var(--m4-ink); }
.theme-bacninh .tw-header .dropdown-menu a:hover, .theme-bacninh .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-bacninh .m4-hero, .theme-bacninh .m4-hh, .theme-bacninh .tw-pagehead { color: var(--m4-ink); text-shadow: none; }
.theme-bacninh .m4-hero *, .theme-bacninh .m4-hh * { text-shadow: none; }
.theme-bacninh .m4-hero__title, .theme-bacninh .m4-hh__title, .theme-bacninh .tw-pagehead__title { color: var(--m4-ink); }
.theme-bacninh .m4-hero__lead, .theme-bacninh .m4-hh__lead, .theme-bacninh .tw-pagehead__lead, .theme-bacninh .tw-pagehead__meta { color: var(--m4-ink-2); opacity: 1; }
.theme-bacninh .m4-kicker, .theme-bacninh .m4-hero__upd { color: var(--m4-muted); }
.theme-bacninh .m4-kicker__season { background: var(--tt-acc-50); color: var(--tt-acc-text); border: 0; }
.theme-bacninh .m4-facts li { background: #fff; border-color: transparent; box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-bacninh .m4-facts span { color: var(--m4-muted); }
.theme-bacninh .m4-facts b { color: var(--m4-ink); }
.theme-bacninh .m4-hero__rays, .theme-bacninh .tw-pagehead__decor { display: none; }
.theme-bacninh .m4-hh__quick a { background: #fff; color: var(--m4-800); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-bacninh .m4-hh__quick a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-bacninh .m4-search input { border: 1px solid var(--m4-line); }
.theme-bacninh .tw-pagehead__now, .theme-bacninh .tw-pagehead__now:hover { background: #fff; border-color: var(--m4-line); color: var(--m4-ink); }
.theme-bacninh .tw-pagehead__now-temp { color: var(--m4-700); }
.theme-bacninh .m4-hero, .theme-bacninh .m4-hero[class*="m4-hero--"] { --h1: transparent; --h2: transparent; --h3: transparent; }
.theme-bacninh .m4-hero, .theme-bacninh .m4-hh, .theme-bacninh .tw-pagehead { background: transparent; border-bottom: 1px solid var(--m4-line); }
.theme-bacninh .m4-hero__title, .theme-bacninh .m4-hh__title { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.02em; }
.theme-bacninh .m4-hero__title::after, .theme-bacninh .m4-hh__title::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 12px; border-radius: 3px; background: var(--tt-acc); }
.theme-bacninh .m4-ticket { background: #fff; box-shadow: inset 0 0 0 2px var(--m4-600); color: var(--m4-ink); }
.theme-bacninh .m4-tabs { background: rgba(248, 248, 251, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-bacninh .m4-tab.is-active { background: var(--m4-700); border-color: var(--m4-700); box-shadow: 0 10px 20px -12px rgba(61, 38, 114, 0.9); }
.theme-bacninh .m4-tab:hover { background: #fff; border-color: var(--m4-line); }
@media (min-width: 992px) {
	.theme-bacninh .m4-layout { grid-template-columns: minmax(0, 1fr) 310px; }
	.theme-bacninh .m4-side { order: 2; }
}
.theme-bacninh { --m4-radius: 10px; }
.theme-bacninh .m4-block { border: 1px solid var(--m4-line); border-top: 4px solid var(--m4-600); box-shadow: 0 6px 16px -12px rgba(25, 21, 50, 0.3); }
.theme-bacninh { --ft-bg: #E8E2F5; }
.theme-bacninh .tw-footer { background: var(--m4-cream); color: var(--m4-ink-2); border-top: 1px solid var(--m4-line); }
.theme-bacninh .tw-footer__wave { display: none; }
.theme-bacninh .tw-footer h6 { color: var(--m4-ink); }
.theme-bacninh .tw-footer a { color: var(--m4-800); }
.theme-bacninh .tw-footer a:hover { color: var(--m4-900); }
.theme-bacninh .tw-footer__bottom { border-color: var(--m4-line); color: var(--m4-muted); }
