/* =========================================================================
   Janatar Report theme — main styles
   ========================================================================= */

:root {
	--jr-ink: #0b1626;
	--jr-text: #1f2937;
	--jr-muted: #5b6472;
	--jr-border: #e3e7ec;
	--jr-bg: #f4f6f5;
	--jr-red: #e10910;
	--jr-red-dark: #b8070d;
	--jr-green: #00552e;
	--jr-green-2: #0b6b35;
	--jr-green-dark: #003d21;
	--jr-yellow: #ffd21f;
	--jr-blue: #0057b8;
	--jr-font: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", "Kalpurush", "Vrinda", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--jr-font-head: "Baloo Da 2", "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", sans-serif;
	--jr-container: 1480px;
	--jr-gutter: 24px;
	--jr-header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--jr-header-h) + 12px); }
body { margin: 0; font-family: var(--jr-font); font-size: 16px; line-height: 1.6; color: var(--jr-text); background: var(--jr-bg); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--jr-green); }
h1, h2, h3, h4, h5 { font-family: var(--jr-font-head); color: var(--jr-ink); line-height: 1.25; }
.jr-card-title, .jrf-title, .jr-emergency-title, .jr-emergency-line, .cat-card-title, .hero-title, .hero-panel-label, .commit-title, .brand-name { font-family: var(--jr-font-head); }
button, input, select, textarea { font-family: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.jrt-container { width: 100%; max-width: var(--jr-container); margin: 0 auto; padding: 0 var(--jr-gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--jr-green); color: #fff; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--jr-green); outline-offset: 2px; }

/* -------------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid #edf0f2; transition: box-shadow .2s; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(15, 23, 42, .07); }
.header-inner { position: relative; display: flex; align-items: center; gap: 22px; min-height: var(--jr-header-h); }

.brand { display: flex; align-items: center; gap: 10px; flex: none; color: var(--jr-ink); text-decoration: none; }
.brand-logo { width: 56px; height: 56px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 34px; letter-spacing: -.3px; color: #0b1626; line-height: 1; }
.brand-tag { margin-top: 3px; font-size: 13.5px; font-weight: 600; color: #1f2937; white-space: nowrap; }

.header-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex: 1; min-width: 0; }
.primary-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-menu li { position: relative; }
.primary-menu a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 7px; color: #111827; font-size: 15.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.primary-menu a:hover { background: #f1f5f3; color: var(--jr-green); }
.primary-menu > .current-menu-item > a,
.primary-menu > .current_page_item > a,
.primary-menu > .current-menu-ancestor > a { background: var(--jr-red); color: #fff; box-shadow: 0 4px 10px rgba(225, 9, 16, .25); }
.primary-menu .sub-menu { position: absolute; top: 100%; left: 0; z-index: 5; display: none; min-width: 220px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--jr-border); border-radius: 10px; box-shadow: 0 12px 30px rgba(15, 23, 42, .12); }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { display: flex; width: 100%; }

.header-search { display: flex; align-items: stretch; flex: 0 1 255px; min-width: 170px; border: 1px solid #d6dbe1; border-radius: 8px; overflow: hidden; background: #fff; }
.header-search:focus-within { border-color: var(--jr-green); box-shadow: 0 0 0 3px rgba(0, 85, 46, .12); }
.header-search input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 0; font-size: 14.5px; color: var(--jr-ink); background: transparent; outline: none; }
.header-search input::placeholder { color: #8a93a0; }
.header-search button { display: grid; place-items: center; width: 50px; border: 0; background: var(--jr-green); color: #fff; cursor: pointer; }
.header-search button:hover { background: var(--jr-green-dark); }

.btn-emergency { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 11px 18px; border-radius: 8px; background: var(--jr-red); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 14px -4px rgba(225, 9, 16, .5); transition: background .15s; }
.btn-emergency:hover { background: var(--jr-red-dark); color: #fff; }

.nav-toggle { display: none; }

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); min-height: 190px; color: #fff; background: #013b24 var(--hero-bg) left center / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 54, 31, .97) 0%, rgba(0, 66, 38, .9) 32%, rgba(0, 72, 42, .62) 48%, rgba(0, 60, 34, .25) 70%, rgba(0, 50, 30, .15) 100%); }
.hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 20px 28px 20px max(var(--jr-gutter), calc((100vw - var(--jr-container)) / 2 + var(--jr-gutter))); }
.hero-title { margin: 0 0 6px; color: #fff; font-size: clamp(28px, 2.85vw, 44px); font-weight: 800; line-height: 1.12; text-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.hero-title span { color: var(--jr-yellow); }
.hero-sub { margin: 0 0 14px; max-width: 40em; font-size: clamp(16px, 1.34vw, 21px); font-weight: 600; line-height: 1.5; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.hero-features { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.hero-features li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.hero-feature-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--jr-green); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }

.hero-panels { --slant: 30px; position: relative; z-index: 1; display: flex; min-height: 190px; }
.hero-panel { position: relative; flex: 1 1 0; min-width: 0; margin-left: calc(var(--slant) * -1 + 5px); overflow: hidden; color: #fff; text-decoration: none; background: #0f2a1d; clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%); }
.hero-panel:first-child { margin-left: 0; }
.hero-panel:last-child { flex-grow: 1.55; clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, 0 100%); }
.hero-panel img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .5s ease; }
.hero-panel:hover img { transform: scale(1.06); }
.hero-panel::after { content: ""; position: absolute; inset: auto 0 0; height: 48%; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); }
.hero-panel-label { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 1; padding: 0 calc(var(--slant) * .7); text-align: center; font-size: clamp(14px, 1.25vw, 21px); font-weight: 700; line-height: 1.2; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); }

/* -------------------------------------------------------------------------
   Category cards
   ---------------------------------------------------------------------- */
.cat-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.cat-card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 14px 12px 14px; overflow: hidden; border-radius: 8px; background: linear-gradient(170deg, var(--c) 0%, var(--c) 45%, var(--c2) 100%); color: #fff; text-align: center; box-shadow: 0 10px 22px -14px var(--c); }
.cat-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .2), transparent 62%); pointer-events: none; }
.cat-card > * { position: relative; }
.cat-card-ico { display: inline-flex; margin-bottom: 4px; color: #fff; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .2)); }
.cat-card--dark-icon .cat-card-ico { color: #121212; filter: none; }
.cat-card-title { margin: 0 0 4px; color: #fff; font-size: clamp(17px, 1.36vw, 22px); font-weight: 700; line-height: 1.2; }
.cat-card-desc { flex: 1; margin: 0 0 10px; font-size: 13.5px; line-height: 1.45; opacity: .96; }
.cat-card-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: min(100%, 186px); padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--c); font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 3px 8px rgba(0, 0, 0, .16); transition: transform .15s; }
.cat-card-btn:hover { transform: translateY(-1px); color: var(--c2); }

/* -------------------------------------------------------------------------
   Home grid
   ---------------------------------------------------------------------- */
.home-grid {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr) 470px;
	grid-template-areas:
		"side    form    aside"
		"actions actions commit";
	gap: 14px;
	align-items: start;
	margin-bottom: 30px;
}
.home-side { grid-area: side; display: flex; flex-direction: column; gap: 14px; }
.home-form { grid-area: form; min-width: 0; }
.home-aside { grid-area: aside; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home-actions { grid-area: actions; min-width: 0; }
.home-commit { grid-area: commit; align-self: stretch; }
.home-grid .jr-card + .jr-card { margin-top: 0; }
.home-extra { margin-bottom: 30px; }

.quick-links .jr-card-head { margin-bottom: 4px; }
.quick-menu { margin: 0; padding: 0; list-style: none; }
.quick-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eef0f3; color: #111827; font-size: 15.5px; text-decoration: none; }
.quick-menu li:last-child a { border-bottom: 0; padding-bottom: 2px; }
.quick-menu a > .jr-ico:first-child { color: #111827; }
.quick-menu .menu-label { flex: 1; min-width: 0; }
.quick-menu .menu-chevron { color: #374151; }
.quick-menu a:hover, .quick-menu a:hover > .jr-ico { color: var(--jr-green); }

.commit-card { height: 100%; padding: 16px 18px; border-radius: 12px; background: #edf7f0; border: 1px solid #d3eadb; }
.commit-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.commit-title .jr-ico { color: var(--jr-green); }
.commit-list { margin: 0; padding: 0; list-style: none; }
.commit-list li { display: flex; align-items: flex-start; gap: 10px; padding: 3px 0; font-size: 15px; line-height: 1.5; }
.commit-list .jr-ico { flex: none; margin-top: 2px; color: var(--jr-green-2); stroke-width: 3; }

.core-missing p { color: var(--jr-muted); }

/* -------------------------------------------------------------------------
   Inner pages
   ---------------------------------------------------------------------- */
.page-band { position: relative; margin-bottom: 22px; padding: 22px 0 26px; overflow: hidden; color: #fff; background: linear-gradient(115deg, #003320 0%, #00552e 55%, #0b6b35 100%); }
.page-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 31, .14), transparent 65%); pointer-events: none; }
.page-band--slim { padding: 12px 0; margin-bottom: 18px; }
.page-band-title { display: flex; align-items: center; gap: 12px; margin: 8px 0 4px; color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.page-band-desc { margin: 0; max-width: 780px; font-size: 16px; opacity: .92; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.crumbs li { color: rgba(255, 255, 255, .95); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.crumbs a { color: #fff; opacity: .85; text-decoration: none; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }

.inner-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; margin-bottom: 36px; }
.inner-main { min-width: 0; }
.inner-aside { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.inner-aside .jr-card + .jr-card { margin-top: 0; }
.tool-content > * + * { margin-top: 14px; }
.entry-card { padding: 24px; }

.entry-content { font-size: 17px; line-height: 1.85; color: #1f2937; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1em; }
.entry-content h2 { margin: 1.5em 0 .5em; font-size: 24px; }
.entry-content h3 { margin: 1.3em 0 .4em; font-size: 20px; }
.entry-content ul, .entry-content ol { margin: 0 0 1em; padding-left: 1.4em; }
.entry-content li { margin-bottom: .35em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 8px; }
.entry-content blockquote { margin: 1em 0; padding: 10px 16px; border-left: 4px solid var(--jr-green); background: #f5faf7; border-radius: 0 8px 8px 0; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.filter-field { flex: 1 1 150px; min-width: 0; }
.filter-field--grow { flex: 2 1 200px; }
.filter-field label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.filter-bar .jr-btn { height: 40px; }
.result-count { margin: 0 0 12px; color: var(--jr-muted); font-size: 14.5px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.report-card, .post-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--jr-border); border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: transform .15s, box-shadow .15s; }
.report-card:hover, .post-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(15, 23, 42, .25); }
.report-card-media, .post-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e5e7eb; }
.report-card-media img, .report-card-media .jr-ph, .post-card-media img, .post-card-media .jr-ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.report-card-cat { position: absolute; top: 10px; left: 10px; }
.report-card-body, .post-card-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.report-card-title, .post-card-title { margin: 0; font-size: 18px; line-height: 1.35; }
.report-card-title a, .post-card-title a { color: var(--jr-ink); text-decoration: none; }
.report-card-title a:hover, .post-card-title a:hover { color: var(--jr-green); }
.report-card-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.report-card-excerpt, .post-card-excerpt { flex: 1; margin: 0; color: #4b5563; font-size: 14.5px; line-height: 1.6; }
.report-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px solid #f0f2f4; }
.report-card-number { padding: 2px 6px; border-radius: 4px; background: #f3f4f6; color: #6b7280; font-size: 12.5px; }

.single-card { padding: 24px; }
.single-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.single-title { margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.single-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #eef0f3; }
.single-media { margin: 0 0 18px; overflow: hidden; border-radius: 10px; }
.single-media img { display: block; width: 100%; max-height: 540px; object-fit: cover; }
.section-title { display: flex; align-items: center; gap: 8px; margin: 26px 0 10px; font-size: 21px; }
.section-title .jr-ico { color: var(--jr-green); }
.priority-flag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; background: #fee2e2; color: #991b1b; font-size: 12.5px; font-weight: 700; }
.related { margin-top: 22px; }
.info-card-title { margin: 0 0 10px; font-size: 19px; }
.jr-dl--stack { grid-template-columns: 1fr !important; }
.info-card-btn { width: 100%; margin-top: 12px; }
.cta-card { background: linear-gradient(160deg, #00552e, #003320) !important; border: 0 !important; color: #fff; }
.cta-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: #fff; font-size: 20px; }
.cta-card p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; opacity: .92; }
.jrt-btn-red { width: 100%; background: var(--jr-red); color: #fff; }
.jrt-btn-red:hover { background: var(--jr-red-dark); color: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #eef0f3; font-weight: 600; }
.post-nav a { text-decoration: none; }
.post-tags { color: var(--jr-muted); font-size: 14px; }

.single-action .ba-large { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 0 0 18px; }
.ba-large figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #e5e7eb; }
.ba-large img, .ba-large .jr-ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba-large figcaption { position: absolute; top: 10px; left: 10px; padding: 2px 10px; border-radius: 4px; background: rgba(17, 24, 39, .72); color: #fff; font-weight: 600; font-size: 14px; }
.ba-large figcaption.is-after { background: var(--jr-green-2); }
.ba-large-arrow { display: inline-flex; color: var(--jr-green); }
.action-grid { --jr-cols: 4; }

.empty-state { padding: 34px 20px; text-align: center; color: var(--jr-muted); }
.empty-state .jr-ico { color: #9ca3af; }
.empty-state .jr-btn { margin: 4px; }
.big-404 { margin: 0; font-family: var(--jr-font-head); font-size: 84px; font-weight: 800; line-height: 1; color: var(--jr-green); }

.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0; padding: 0; list-style: none; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--jr-border); border-radius: 8px; background: #fff; color: #111827; text-decoration: none; font-weight: 600; }
.pager .page-numbers.current { background: var(--jr-green); border-color: var(--jr-green); color: #fff; }
.pager a.page-numbers:hover { border-color: var(--jr-green); color: var(--jr-green); }

.search-form { display: flex; gap: 10px; margin-bottom: 16px; }
.search-form .jrf-input { flex: 1; }

.widget-title { margin: 0 0 10px; font-size: 18px; }
.widget ul { margin: 0; padding-left: 1.1em; }

.comments-area { margin-top: 26px; padding-top: 16px; border-top: 1px solid #eef0f3; }
.comment-list { padding-left: 1.2em; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 8px 10px; border: 1px solid #d3d9e0; border-radius: 6px; font: inherit; }
.comment-form .submit { padding: 10px 18px; border: 0; border-radius: 8px; background: var(--jr-green); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }

/* -------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------- */
.site-footer { margin-top: 10px; background: #002d1a; color: #d3e4d9; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr 1fr 1fr; gap: 30px; padding-top: 38px; padding-bottom: 30px; }
.brand--light .brand-name { color: #fff; font-size: 27px; }
.brand--light .brand-tag { color: #b5d0bf; font-size: 12.5px; }
.brand--light .brand-logo { width: 48px; height: 48px; }
.footer-about p { margin: 14px 0; font-size: 14.5px; line-height: 1.75; }
.footer-title { margin: 4px 0 12px; color: #fff; font-size: 18px; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 0; color: #d3e4d9; font-size: 15px; text-decoration: none; }
.footer-list a:hover { color: #fff; }
.footer-list .jr-ico { color: var(--jr-yellow); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-social a:hover { background: rgba(255, 255, 255, .18); }
.footer-emergency { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.footer-emergency-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--jr-red); }
.footer-emergency small { display: block; color: #c7dccf; font-size: 13px; }
.footer-emergency strong { display: block; font-family: var(--jr-font-head); font-size: 26px; line-height: 1.1; }
.footer-report { width: 100%; }
.footer-bar { background: #00231a; border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; font-size: 13.5px; }
.footer-bar p { margin: 0; }
.footer-bar a { color: #fff; }
.footer-privacy { display: inline-flex; align-items: center; gap: 6px; }

/* -------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 1400px) {
	.home-grid { grid-template-columns: 236px minmax(0, 1fr) 430px; }
	.brand-name { font-size: 30px; }
	.primary-menu a { padding: 8px 9px; font-size: 15px; gap: 6px; }
	.header-inner { gap: 16px; }
	.header-search { flex-basis: 220px; }
}

@media (max-width: 1260px) {
	.nav-toggle { order: 4; display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #d6dbe1; border-radius: 8px; background: #fff; color: #111827; cursor: pointer; }
	.nav-toggle .nav-toggle-close { display: none; }
	.site-header.is-open .nav-toggle-open { display: none; }
	.site-header.is-open .nav-toggle-close { display: block; }
	.btn-emergency { order: 3; margin-left: auto; }
	.header-panel { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 12px; max-height: calc(100vh - var(--jr-header-h)); padding: 12px var(--jr-gutter) 18px; overflow-y: auto; background: #fff; border-bottom: 1px solid var(--jr-border); box-shadow: 0 16px 30px rgba(15, 23, 42, .12); }
	.site-header.is-open .header-panel { display: flex; }
	.primary-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.primary-menu a { display: flex; padding: 12px; font-size: 16px; }
	.primary-menu .sub-menu { position: static; display: block; margin-left: 18px; border: 0; box-shadow: none; padding: 0; }
	.header-search { flex: none; width: 100%; }

	.hero { grid-template-columns: 1fr; }
	.hero-text { padding: 22px var(--jr-gutter) 18px; }
	.hero-panels { min-height: 150px; }

	.cat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.home-grid {
		grid-template-columns: 260px minmax(0, 1fr);
		grid-template-areas:
			"side    form"
			"aside   aside"
			"actions actions"
			"commit  commit";
	}
	.home-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

@media (max-width: 960px) {
	.home-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "form" "aside" "actions" "side" "commit";
	}
	.home-aside { grid-template-columns: 1fr; }
	.home-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.inner-wrap { grid-template-columns: minmax(0, 1fr); }
	.card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.action-grid { --jr-cols: 2; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	:root { --jr-gutter: 14px; --jr-header-h: 64px; }
	body { font-size: 15.5px; }
	.brand { gap: 8px; }
	.brand-logo { width: 42px; height: 42px; }
	.brand-name { font-size: 23px; }
	.brand-tag { font-size: 11px; }
	.header-inner { gap: 8px; }
	.btn-emergency { padding: 9px 11px; font-size: 14px; gap: 6px; }
	.nav-toggle { width: 42px; height: 42px; }

	.hero-title { font-size: 26px; }
	.hero-sub { font-size: 15.5px; }
	.hero-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
	.hero-features li { font-size: 13.5px; }
	.hero-feature-ico { width: 30px; height: 30px; }
	.hero-panels { --slant: 18px; min-height: 120px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.hero-panels::-webkit-scrollbar { display: none; }
	.hero-panel { flex: 0 0 38%; scroll-snap-align: start; }
	.hero-panel-label { font-size: 14px; bottom: 8px; }

	.cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cat-card { padding: 12px 10px 12px; }
	.cat-card-ico .jr-ico { width: 40px; height: 40px; }
	.cat-card-title { font-size: 16.5px; }
	.cat-card-desc { font-size: 12.5px; margin-bottom: 10px; }
	.cat-card-btn { font-size: 14px; padding: 6px 10px; }

	.home-side { grid-template-columns: 1fr; }
	.card-grid--3 { grid-template-columns: 1fr; }
	.single-card, .entry-card { padding: 16px; }
	.entry-content { font-size: 16px; }
	.single-action .ba-large { grid-template-columns: 1fr; }
	.ba-large-arrow { transform: rotate(90deg); justify-self: center; }
	.footer-grid { grid-template-columns: 1fr; gap: 22px; }
	.search-form { flex-direction: column; }
	.action-grid { --jr-cols: 1; }
}

@media (max-width: 400px) {
	.brand-tag { display: none; }
	.btn-emergency span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.btn-emergency { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
