/*!
 * Sangbad Bangla News Theme — main stylesheet
 * Author: themeve.com
 *
 * Fonts and colour variables are printed inline from inc/fonts.php so they
 * follow the theme options.
 *
 *  1. Tokens & base
 *  2. Utilities, buttons, forms
 *  3. Logo
 *  4. Desktop header (masthead, nav, sticky bar, dropdown)
 *  5. Mobile header
 *  6. Drawer (☰)
 *  7. Login popup
 *  8. Footer
 *  9. Section heading, cards, lead
 * 10. Sidebar: tabs, district widget, map
 * 11. Home sections
 * 12. Archive / search
 * 13. Single post
 * 14. Default pages (hero, archive, district, galleries, contact, converter)
 * 15. Sliders, player
 * 16. Print
 */

/* 1. Tokens & base ----------------------------------------------------- */
:root {
	--sb-primary: #2b3990;
	--sb-accent: #e3242b;
	--sb-card-bg: #eaf2fb;
	--sb-footer-bg: #e8f2fc;
	--sb-ink: #111;
	--sb-text: #1d1d1d;
	--sb-muted: #666;
	--sb-line: #dcdcdc;
	--sb-soft: #f3f4f6;
	--sb-dark: #2b2b2b;
	--sb-white: #fff;

	--sb-primary-dark: color-mix(in srgb, var(--sb-primary) 78%, #000);
	--sb-primary-soft: color-mix(in srgb, var(--sb-primary) 10%, #fff);

	--sb-font: "Tiro Bangla", "SolaimanLipi", "Noto Sans Bengali", serif;
	--sb-font-head: "Noto Serif Bengali", "SolaimanLipi", serif;
	--sb-fs: 18px;

	--sb-container: 1300px;
	--sb-gutter: 16px;
	--sb-radius: 6px;
	--sb-nav-h: 64px;
	--sb-admin-offset: 0px;
	--sb-shadow: 0 8px 28px rgba(0, 0, 0, .12);
	--sb-ease: cubic-bezier(.2, .7, .2, 1);
}

body.admin-bar { --sb-admin-offset: 32px; }
@media (max-width: 782px) { body.admin-bar { --sb-admin-offset: 46px; } }
@media (max-width: 600px) { body.admin-bar { --sb-admin-offset: 0px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--sb-font);
	font-size: var(--sb-fs);
	line-height: 1.65;
	color: var(--sb-text);
	background: var(--sb-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.sb-lock { overflow: hidden; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--sb-primary); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--sb-font-head); font-weight: 700; line-height: 1.4; color: var(--sb-ink); }
p, dl, dd, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--sb-primary); outline-offset: 2px; }

.sb-site { display: flex; flex-direction: column; min-height: 100vh; overflow-x: clip; }
.sb-content { flex: 1 0 auto; }
.sb-container {
	width: 100%;
	max-width: calc(var(--sb-container) + var(--sb-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--sb-gutter);
}
.sb-main { padding-block: 20px 40px; }

/* 2. Utilities, buttons, forms ----------------------------------------- */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	clip: auto; width: auto; height: auto; top: 8px; left: 8px; z-index: 100000;
	padding: 10px 16px; background: var(--sb-ink); color: #fff; border-radius: var(--sb-radius);
}
@media (max-width: 991.98px) { .sb-desktop-only { display: none !important; } }
@media (min-width: 992px)    { .sb-mobile-only  { display: none !important; } }

.sb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	min-height: 40px; padding: 4px 18px;
	font-family: var(--sb-font-head); font-size: 16px; font-weight: 600; line-height: 1.2;
	border: 1px solid transparent; border-radius: 5px; background: none;
	white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.sb-btn--primary { background: var(--sb-primary); color: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.sb-btn--primary:hover { background: var(--sb-primary-dark); color: #fff; }
.sb-btn--dark { background: var(--sb-dark); color: #fff; }
.sb-btn--dark:hover { background: #000; color: #fff; }
.sb-btn--outline { border-color: #ccc; color: var(--sb-ink); background: #fff; }
.sb-btn--outline:hover { border-color: var(--sb-primary); color: var(--sb-primary); }
.sb-btn--light { background: #fff; color: var(--sb-primary); }
.sb-btn--sm { min-height: 34px; padding: 3px 12px; font-size: 15px; }
.sb-btn--block { display: flex; width: 100%; min-height: 48px; font-size: 17px; }
.sb-btn:disabled { opacity: .6; cursor: not-allowed; }
.sb-btn.is-loading { position: relative; color: transparent !important; }
.sb-btn.is-loading::after {
	content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; animation: sb-spin .7s linear infinite;
}
@keyframes sb-spin { to { transform: rotate(360deg); } }

.sb-icon-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
	border: 0; border-radius: 50%; background: none; color: var(--sb-ink); transition: background-color .2s;
}
.sb-icon-btn:hover { background: var(--sb-soft); }
.sb-linkbtn { padding: 0; border: 0; background: none; color: var(--sb-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], input[type="date"], input[type="number"], select, textarea {
	width: 100%; min-height: 42px; padding: 8px 12px;
	border: 1px solid #cfd4dc; border-radius: 5px; background: #fff;
	font-size: 16px; line-height: 1.4; outline: 0;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--sb-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sb-primary) 18%, transparent); }
select {
	appearance: none; padding-right: 34px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
}
select:disabled { background-color: #f4f4f4; color: #999; }

.sb-noimg {
	display: grid; place-items: center; width: 100%; height: 100%;
	background: linear-gradient(135deg, #e9edf5, #d7deea);
	color: color-mix(in srgb, var(--sb-primary) 45%, #fff);
	font-family: var(--sb-font-head); font-weight: 800; font-size: clamp(14px, 3vw, 26px);
}

.sb-empty { padding: 30px 0; color: var(--sb-muted); }
.sb-emptybox {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	padding: 48px 20px; text-align: center; color: var(--sb-muted);
	border: 2px dashed var(--sb-line); border-radius: 12px; background: #fafbfd;
}
.sb-emptybox .sb-icon { color: var(--sb-primary); opacity: .6; }

/* Ads */
.sb-ad { display: flex; justify-content: center; overflow: hidden; }
.sb-ad img { width: auto; max-width: 100%; }
.sb-ad--top { margin: 4px auto 18px; }
.sb-ad--row { margin-block: 8px; }
.sb-ad--side { margin-bottom: 16px; }
.sb-ad--inline { margin: 24px 0; }

/* Social */
.sb-social { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.sb-social__link {
	display: grid; place-items: center; width: 26px; height: 26px;
	border: 1.5px solid currentColor; border-radius: 4px; transition: transform .2s, background-color .2s, color .2s;
}
.sb-social__link:hover { transform: translateY(-2px); }
.sb-social__link--facebook  { color: #1877f2; }
.sb-social__link--twitter   { color: #111; }
.sb-social__link--linkedin  { color: #0a66c2; }
.sb-social__link--instagram { color: #d62976; }
.sb-social__link--youtube   { color: #ff0000; }
.sb-social__link--whatsapp  { color: #25d366; }
.sb-social__link--tiktok    { color: #111; }
.sb-social--lg .sb-social__link { width: 42px; height: 42px; border-radius: 8px; }

/* Date line */
.sb-dateline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 14px; color: var(--sb-muted); }
.sb-dateline > .sb-icon { color: var(--sb-primary); }
.sb-dateline__sep { display: inline-block; width: 4px; height: 4px; margin: 0 7px; border-radius: 50%; background: #bbb; vertical-align: middle; }

/* 3. Logo -------------------------------------------------------------- */
.sb-logo { margin: 0; line-height: 1; }
.sb-logo a { display: inline-flex; align-items: center; color: var(--sb-ink); }
.sb-logo img { width: auto; }
.sb-logo__text { font-family: var(--sb-font-head); font-weight: 800; letter-spacing: -.01em; line-height: 1.05; color: var(--sb-ink); }
.sb-logo--header img { max-height: 64px; }
.sb-logo--header .sb-logo__text { font-size: 58px; }
.sb-logo--sticky img { max-height: 36px; }
.sb-logo--sticky .sb-logo__text { font-size: 30px; color: #fff; }
.sb-logo__img--invert { filter: brightness(0) invert(1); }
.sb-logo--mobile img { max-height: 40px; }
.sb-logo--mobile .sb-logo__text { font-size: 34px; }
.sb-logo--offcanvas img { max-height: 36px; }
.sb-logo--offcanvas .sb-logo__text { font-size: 30px; }
.sb-logo--footer img { max-height: 64px; }
.sb-logo--footer .sb-logo__text { font-size: 60px; }
.sb-logo--modal img { max-height: 48px; margin-inline: auto; }
.sb-logo--modal .sb-logo__text { font-size: 40px; }

/* 4. Desktop header ---------------------------------------------------- */
.sb-masthead { background: #fff; }
.sb-masthead__inner {
	display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 40px;
	min-height: 108px; padding-block: 18px;
}
.sb-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-self: end; width: 100%; max-width: 860px; }
.sb-highlight { min-width: 0; padding-inline: 16px; border-left: 1px solid var(--sb-line); }
.sb-highlight:first-child { border-left: 0; }
.sb-highlight:last-child { padding-right: 0; }
.sb-highlight__link { display: flex; align-items: center; gap: 10px; }
.sb-highlight__thumb { flex: none; width: 52px; height: 52px; overflow: hidden; background: var(--sb-soft); }
.sb-highlight__thumb img, .sb-highlight__thumb .sb-noimg { width: 100%; height: 100%; object-fit: cover; font-size: 10px; }
.sb-highlight__title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	font-size: 16px; line-height: 1.45; color: var(--sb-ink);
}
.sb-highlight__link:hover .sb-highlight__title { color: var(--sb-primary); }

.sb-nav {
	position: relative; z-index: 90; background: #fff;
	border-top: 1px solid var(--sb-line);
	box-shadow: 0 5px 6px -3px rgba(0, 0, 0, .22);
	transition: background-color .25s;
}
.sb-nav--sticky { position: sticky; top: var(--sb-admin-offset); }
.sb-nav__inner { display: flex; align-items: stretch; height: var(--sb-nav-h); }
.sb-nav__logo { display: none; align-items: center; flex: none; margin-right: 60px; }
.sb-nav__menu { flex: 1 1 auto; min-width: 0; }

.sb-menu--primary { display: flex; align-items: stretch; height: 100%; }
.sb-menu--primary > .sb-menu__item { position: relative; display: flex; }
.sb-menu--primary > .sb-menu__item > .sb-menu__link {
	display: flex; align-items: center; gap: 4px; padding: 0 10px;
	font-family: var(--sb-font-head); font-size: 17px; font-weight: 600; color: var(--sb-ink); white-space: nowrap;
}
.sb-menu--primary > .sb-menu__item:first-child > .sb-menu__link { padding-left: 0; }
.sb-menu--primary > .sb-menu__item:hover > .sb-menu__link,
.sb-menu--primary > .current-menu-item > .sb-menu__link,
.sb-menu--primary > .current-menu-ancestor > .sb-menu__link { color: var(--sb-primary); }
.sb-menu__caret { display: inline-flex; }
.sb-menu--primary .sb-submenu-toggle { display: none; }

.sb-menu--primary .sb-submenu {
	position: absolute; top: 100%; left: 0; z-index: 20; min-width: 220px; padding: 8px 0;
	background: #fff; border-top: 3px solid var(--sb-primary); box-shadow: var(--sb-shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s var(--sb-ease), visibility .2s;
}
.sb-menu--primary .sb-menu__item:hover > .sb-submenu,
.sb-menu--primary .sb-menu__item:focus-within > .sb-submenu { opacity: 1; visibility: visible; transform: none; }
.sb-menu--primary .sb-submenu .sb-menu__link {
	display: block; padding: 7px 18px; font-size: 16.5px; color: var(--sb-text);
	transition: background-color .2s, padding .2s, color .2s;
}
.sb-menu--primary .sb-submenu .sb-menu__link:hover { background: var(--sb-primary-soft); color: var(--sb-primary); padding-left: 22px; }
.sb-menu--primary > .sb-menu__item:nth-last-child(-n+2) > .sb-submenu { left: auto; right: 0; }

.sb-nav__tools { display: flex; align-items: stretch; flex: none; }
.sb-nav__tool { display: flex; border-left: 1px solid var(--sb-line); }
.sb-nav__tool > a, .sb-nav__tool > button {
	display: flex; align-items: center; gap: 6px; padding: 0 22px;
	border: 0; background: none; font-size: 16px; color: var(--sb-ink); white-space: nowrap;
}
.sb-nav__tool > a:hover, .sb-nav__tool > button:hover { color: var(--sb-primary); background: var(--sb-primary-soft); }
.sb-nav__tool--burger > button { padding: 0 20px; }

/* Stuck → blue bar with white logo */
.sb-nav.is-stuck { background: var(--sb-primary); border-top-color: transparent; }
.sb-nav.is-stuck .sb-nav__logo { display: flex; animation: sb-fade .3s; }
.sb-nav.is-stuck .sb-nav__tool--hide-stuck { display: none; }
.sb-nav.is-stuck .sb-nav__tool { border-left: 0; }
.sb-nav.is-stuck .sb-menu--primary > .sb-menu__item > .sb-menu__link,
.sb-nav.is-stuck .sb-nav__tool > button { color: #fff; }
.sb-nav.is-stuck .sb-menu--primary > .sb-menu__item:hover > .sb-menu__link { color: #fff; opacity: .85; }
.sb-nav.is-stuck .sb-nav__tool > button:hover { background: rgba(255, 255, 255, .12); }
.sb-nav.is-stuck .sb-nav__menu { display: flex; justify-content: center; }
@keyframes sb-fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 992px) and (max-width: 1239.98px) {
	.sb-menu--primary > .sb-menu__item > .sb-menu__link { padding: 0 6px; font-size: 15.5px; }
	.sb-nav__tool > a, .sb-nav__tool > button { padding: 0 12px; }
	.sb-nav__tool > a span { display: none; }
	.sb-nav__logo { margin-right: 20px; }
	.sb-highlight { padding-inline: 10px; }
	.sb-highlight__title { font-size: 14.5px; }
	.sb-logo--header img { max-height: 54px; }
	.sb-logo--header .sb-logo__text { font-size: 48px; }
}

/* 5. Mobile header ----------------------------------------------------- */
.sb-mbar { position: relative; z-index: 91; background: #fff; transition: box-shadow .25s; }
.sb-mbar--sticky { position: sticky; top: var(--sb-admin-offset); }
.sb-mbar.is-stuck { box-shadow: 0 3px 6px -1px rgba(0, 0, 0, .3); }
.sb-mbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 57px; }
.sb-mbar__actions { display: flex; align-items: center; gap: 12px; }
.sb-mbar__epaper { font-family: var(--sb-font-head); font-size: 20px; font-weight: 500; color: #000; }
.sb-mbar__burger { display: grid; place-items: center; width: 32px; height: 32px; margin-right: -4px; padding: 0; border: 0; background: none; color: #000; }
.sb-mbar__burger .sb-icon { stroke-width: 1.7; }

/* Categories strip (scrolls away with the page; the logo bar stays). */
.sb-mscroll { position: relative; z-index: 90; background: #fff; border-top: 1px solid #cfcfcf; box-shadow: 0 3px 5px -1px rgba(0, 0, 0, .3); }
.sb-mscroll__track {
	overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; scroll-behavior: smooth; cursor: grab;
}
.sb-mscroll__track::-webkit-scrollbar { display: none; }
.sb-mscroll__track.is-dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
.sb-menu--scroll { display: flex; width: max-content; padding-inline: 11px; }
.sb-menu--scroll .sb-menu__link {
	display: block; padding: 0 6px; font-family: var(--sb-font-head); font-size: 17px; font-weight: 600;
	line-height: 42px; white-space: nowrap; color: #000;
}
.sb-menu--scroll .sb-menu__caret, .sb-menu--scroll .sb-submenu-toggle, .sb-menu--scroll .sb-submenu { display: none; }
.sb-menu--scroll .current-menu-item > .sb-menu__link, .sb-menu--scroll .current-menu-ancestor > .sb-menu__link { color: var(--sb-primary); }

/* 6. Drawer (☰) -------------------------------------------------------- */
.sb-offcanvas { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.sb-offcanvas.is-open { visibility: visible; }
.sb-offcanvas__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .3s; }
.sb-offcanvas.is-open .sb-offcanvas__backdrop { opacity: 1; }
.sb-offcanvas__panel {
	position: absolute; top: var(--sb-admin-offset); bottom: 0; left: 0;
	display: flex; flex-direction: column; width: min(100%, 392px);
	background: #fff; transform: translateX(-100%); transition: transform .35s var(--sb-ease); outline: none;
}
.sb-offcanvas.is-open .sb-offcanvas__panel { transform: none; }
.sb-offcanvas__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 12px 12px 18px; border-bottom: 1px solid var(--sb-line); }
.sb-offcanvas__brand { min-width: 0; }
.sb-offcanvas__date { margin-top: 4px; font-size: 14px; color: #8a8f98; letter-spacing: .1px; }
.sb-offcanvas__close {
	display: grid; place-items: center; flex: none; width: 38px; height: 38px; padding: 0;
	border: 0; border-radius: 50%; background: var(--sb-soft); color: var(--sb-ink); transition: background-color .2s, color .2s, transform .25s;
}
.sb-offcanvas__close:hover { background: var(--sb-primary); color: #fff; transform: rotate(90deg); }
.sb-offcanvas__body { flex: 1 1 auto; overflow-y: auto; padding: 16px 18px 18px; overscroll-behavior: contain; }

/* Quick pages: two rows of icon tiles. */
.sb-qpages { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.sb-qpages__item {
	display: flex; align-items: center; justify-content: center; flex: 1 1 auto; gap: 6px; min-width: 0; min-height: 42px; padding: 6px 8px;
	border: 1px solid color-mix(in srgb, var(--sb-primary) 14%, #fff); border-radius: 8px; background: var(--sb-card-bg);
	color: var(--sb-ink); transition: background-color .2s, color .2s, box-shadow .2s;
}
.sb-qpages__icon { display: grid; place-items: center; flex: none; color: var(--sb-primary); transition: color .2s; }
.sb-qpages__label { min-width: 0; overflow: hidden; font-family: var(--sb-font-head); font-size: 13.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.sb-qpages__item:hover, .sb-qpages__item.is-current { background: var(--sb-primary); color: #fff; box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--sb-primary) 70%, transparent); }
.sb-qpages__item:hover .sb-qpages__icon, .sb-qpages__item.is-current .sb-qpages__icon { color: #fff; }

.sb-offcanvas__label { margin-bottom: 4px; font-family: var(--sb-font-head); font-size: 13px; font-weight: 700; letter-spacing: .3px; color: var(--sb-muted); }

/* Category list: one per line, separated by rules. */
.sb-menu--drawer .sb-menu__item { position: relative; }
.sb-menu--drawer > .sb-menu__item { border-bottom: 1px solid #ececec; }
.sb-menu--drawer .sb-menu__link { display: flex; align-items: center; gap: 12px; padding: 10px 40px 10px 0; font-size: 17px; color: var(--sb-ink); transition: color .2s, padding-left .2s; }
.sb-menu--drawer .sb-menu__icon {
	display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px;
	background: var(--sb-primary-soft); color: var(--sb-primary); transition: background-color .2s, color .2s;
}
.sb-menu--drawer .sb-menu__link:hover, .sb-menu--drawer .current-menu-item > .sb-menu__link { color: var(--sb-primary); }
.sb-menu--drawer > .sb-menu__item > .sb-menu__link:hover { padding-left: 4px; }
.sb-menu--drawer .sb-menu__link:hover .sb-menu__icon, .sb-menu--drawer .current-menu-item > .sb-menu__link .sb-menu__icon { background: var(--sb-primary); color: #fff; }
.sb-menu--drawer .sb-menu__caret { display: none; }
.sb-menu--drawer .sb-submenu-toggle {
	position: absolute; top: 8px; right: -6px; display: grid; place-items: center; width: 36px; height: 36px;
	border: 0; border-radius: 50%; background: none; color: var(--sb-muted);
}
.sb-menu--drawer .sb-submenu-toggle .sb-icon { transition: transform .25s; }
.sb-menu--drawer .sb-submenu-toggle[aria-expanded="true"] .sb-icon { transform: rotate(180deg); color: var(--sb-primary); }
.sb-menu--drawer .sb-submenu { display: none; margin: 0 0 10px 15px; padding-left: 24px; border-left: 2px solid var(--sb-line); }
.sb-menu--drawer .is-open > .sb-submenu { display: block; animation: sb-fade .25s; }
.sb-menu--drawer .sb-submenu .sb-menu__link { font-size: 16px; color: var(--sb-text); padding-block: 5px; }

/* Login / sign-up (one row) or account. */
.sb-auth-btns { display: flex; gap: 8px; }
.sb-auth-btns__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1 1 0; min-height: 38px; padding: 4px 12px;
	border: 1px solid var(--sb-primary); border-radius: 999px; font-family: var(--sb-font-head); font-size: 15px; font-weight: 600;
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.sb-auth-btns__btn--login { background: #fff; color: var(--sb-primary); }
.sb-auth-btns__btn--login:hover { background: var(--sb-primary-soft); color: var(--sb-primary); }
.sb-auth-btns__btn--signup, .sb-auth-btns__btn--account { background: var(--sb-primary); color: #fff; }
.sb-auth-btns__btn--signup:hover, .sb-auth-btns__btn--account:hover { background: var(--sb-primary-dark); color: #fff; box-shadow: 0 6px 14px -6px var(--sb-primary); }
.sb-auth-btns__credit { display: inline-flex; align-items: center; gap: 3px; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 13px; font-style: normal; }
.sb-auth-btns--drawer { margin-top: 18px; }
.sb-auth-btns--lg { justify-content: center; }
.sb-auth-btns--lg .sb-auth-btns__btn { flex: 0 1 180px; min-height: 46px; font-size: 17px; }

.sb-offcanvas__foot { margin: 0 16px; padding: 14px 0 18px; border-top: 1px solid #bbb; text-align: center; }
.sb-offcanvas__copy { margin-top: 8px; font-size: 15px; color: var(--sb-text); }

.sb-login-btn { display: inline-flex; align-items: center; gap: 6px; }

/* 7. Login popup ------------------------------------------------------- */
.sb-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.sb-modal.is-open { visibility: visible; }
.sb-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 14, 40, .6); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.sb-modal.is-open .sb-modal__backdrop { opacity: 1; }
.sb-modal__dialog {
	position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
	padding: 30px 30px 26px; border-radius: 14px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
	opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .3s, transform .35s var(--sb-ease); outline: none;
}
.sb-modal.is-open .sb-modal__dialog { opacity: 1; transform: none; }
.sb-modal__dialog::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 14px 14px 0 0; background: linear-gradient(90deg, var(--sb-primary), var(--sb-accent)); }
.sb-modal__close { position: absolute; top: 12px; right: 12px; }
.sb-modal__brand { margin-bottom: 18px; text-align: center; }
.sb-modal__lead { margin-top: 8px; color: var(--sb-muted); font-size: 16px; }

.sb-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 20px; padding: 4px; border-radius: 10px; background: var(--sb-soft); }
.sb-auth-tabs[hidden] { display: none; }
.sb-auth-tabs button {
	min-height: 40px; border: 0; border-radius: 8px; background: none;
	font-family: var(--sb-font-head); font-size: 16px; font-weight: 600; color: var(--sb-muted);
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.sb-auth-tabs button.is-active { background: #fff; color: var(--sb-primary); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.sb-auth-form { display: none; }
.sb-auth-form.is-active { display: block; animation: sb-fade .25s; }
.sb-field { margin-bottom: 14px; }
.sb-field label { display: block; margin-bottom: 5px; font-family: var(--sb-font-head); font-size: 15px; font-weight: 600; color: var(--sb-ink); }
.sb-field input, .sb-field select, .sb-field textarea { min-height: 46px; border-radius: 8px; }
.sb-field__pw { position: relative; }
.sb-field__pw input { padding-right: 44px; }
.sb-field__eye { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 34px; height: 34px; transform: translateY(-50%); border: 0; background: none; color: #888; }
.sb-field__eye.is-on { color: var(--sb-primary); }
.sb-field--row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.sb-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.sb-field .sb-check, .sb-check { display: inline-flex; margin: 0; align-items: center; gap: 6px; font-family: var(--sb-font) !important; font-weight: 400 !important; cursor: pointer; }
.sb-check input { width: 16px; height: 16px; accent-color: var(--sb-primary); }
.sb-auth-msg { min-height: 0; margin: 4px 0 12px; font-size: 15px; color: var(--sb-muted); }
.sb-auth-msg:empty { margin: 0; }
.sb-auth-msg.is-error { padding: 8px 12px; border-radius: 8px; background: #fdecec; color: #b42318; }
.sb-auth-msg.is-success { padding: 8px 12px; border-radius: 8px; background: #e8f7ee; color: #067647; }
.sb-auth-switch { margin-top: 16px; text-align: center; font-size: 15px; color: var(--sb-muted); }
.sb-auth-note { margin-bottom: 14px; padding: 10px 12px; border-radius: 8px; background: var(--sb-card-bg); font-size: 15px; }
.sb-hp { position: absolute; left: -9999px; }

@media (max-width: 480px) {
	.sb-modal { padding: 10px; }
	.sb-modal__dialog { padding: 26px 18px 20px; }
	.sb-field-grid { grid-template-columns: 1fr; }
}

/* 8. Footer ------------------------------------------------------------ */
.sb-footer { margin-top: 40px; background: var(--sb-footer-bg); color: var(--sb-ink); }
.sb-footer__main { padding: 34px 0 30px; text-align: center; }
.sb-footer__logo { display: flex; justify-content: center; margin-bottom: 26px; }
.sb-editorial { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 0 auto; }
.sb-editorial dt, .sb-editorial dd { font-family: var(--sb-font-head); font-size: 20px; font-weight: 700; line-height: 1.45; }
.sb-footer__meta { margin-top: 90px; }
.sb-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; font-size: 15.5px; }
.sb-footer-links li { display: flex; }
.sb-footer-links a {
	display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 4px 14px 4px 12px;
	border: 1px solid color-mix(in srgb, var(--sb-primary) 18%, #fff); border-radius: 999px; background: #fff;
	color: #333; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.sb-footer-links a .sb-icon { color: var(--sb-primary); transition: color .2s; }
.sb-footer-links a:hover { background: var(--sb-primary); border-color: var(--sb-primary); color: #fff; transform: translateY(-1px); }
.sb-footer-links a:hover .sb-icon { color: #fff; }
.sb-footer__bottom { background: var(--sb-primary); color: #fff; text-align: center; }
.sb-footer__copy { padding: 12px 0; font-family: var(--sb-font-head); font-size: 15px; font-weight: 700; }
.sb-footer__credit { display: inline-block; margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .35); font-weight: 400; opacity: .9; }
.sb-footer__credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sb-footer__credit a:hover { color: #fff; opacity: .85; }

@media (max-width: 767.98px) {
	.sb-footer__main { padding: 26px 0 24px; }
	.sb-logo--footer img { max-height: 52px; }
	.sb-logo--footer .sb-logo__text { font-size: 46px; }
	.sb-editorial { grid-template-columns: 1fr; gap: 8px; }
	.sb-editorial dt, .sb-editorial dd { font-size: 18px; line-height: 1.35; }
	.sb-footer__meta { margin-top: 60px; }
	.sb-footer-links { gap: 7px; padding-inline: 4px; font-size: 15px; }
	.sb-footer-links a { min-height: 34px; padding: 3px 12px 3px 10px; }
	.sb-footer__credit { display: block; margin: 2px 0 0; padding: 0; border: 0; }
}

.sb-to-top {
	position: fixed; right: 40px; bottom: 40px; z-index: 80; display: grid; place-items: center;
	width: 38px; height: 38px; padding: 0; border: 1px solid #999; border-radius: 50%;
	background: #fff; color: #888; box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, color .2s, border-color .2s;
}
.sb-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.sb-to-top:hover { color: var(--sb-primary); border-color: var(--sb-primary); }
@media (max-width: 767.98px) { .sb-to-top { right: 16px; bottom: 24px; } }

/* 9. Section heading, cards, lead -------------------------------------- */
.sb-section { margin-top: 36px; }
.sb-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sb-heading__title { position: relative; display: flex; align-items: center; gap: 8px; font-size: 22px; line-height: 1.3; white-space: nowrap; }
.sb-heading__title::before { content: ""; width: 11px; height: 20px; background: var(--sb-primary); transform: skewX(-22deg); }
.sb-heading__title a:hover { color: var(--sb-primary); }
.sb-heading__rule { flex: 1 1 auto; height: 2px; background: #a9a9a9; }
.sb-heading__more { display: inline-flex; align-items: center; gap: 2px; flex: none; font-size: 15px; font-weight: 600; color: var(--sb-primary); }

.sb-card { position: relative; min-width: 0; }
.sb-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--sb-radius); background: var(--sb-soft); aspect-ratio: 16 / 9; }
.sb-card__media img, .sb-card__media .sb-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--sb-ease); }
.sb-card:hover .sb-card__media img { transform: scale(1.045); }
.sb-card__title { font-size: 18.5px; font-weight: 600; line-height: 1.5; }
.sb-card__title a:hover { color: var(--sb-primary); }
.sb-card__excerpt { margin-top: 6px; font-size: 16px; line-height: 1.7; color: #333; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.sb-card__time { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 14px; color: var(--sb-muted); }
.sb-card__badge {
	position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 34px; height: 34px;
	border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff;
}
.sb-card__badge--play { top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(227, 36, 43, .92); box-shadow: 0 0 0 6px rgba(255, 255, 255, .25); }

/* grid */
.sb-card--grid .sb-card__body, .sb-card--video .sb-card__body, .sb-card--photo .sb-card__body { padding: 8px 4px 0; }
.sb-card--grid .sb-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

/* hcard (light-blue horizontal) */
.sb-card--hcard, .sb-card--hcard-rev {
	display: grid; grid-template-columns: 42% minmax(0, 1fr); align-items: center; gap: 12px;
	padding: 8px; border-radius: var(--sb-radius); background: var(--sb-card-bg);
}
.sb-card--hcard-rev { grid-template-columns: minmax(0, 1fr) 42%; }
.sb-card--hcard-rev .sb-card__media { order: 2; }
.sb-card--hcard-rev .sb-card__body { padding-left: 8px; }
.sb-card--hcard .sb-card__media, .sb-card--hcard-rev .sb-card__media { border-radius: 4px; }
.sb-card--hcard .sb-card__title, .sb-card--hcard-rev .sb-card__title { font-size: 18.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

/* list */
.sb-card--list { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sb-line); }
.sb-card--list:last-child { border-bottom: 0; }
.sb-card--list .sb-card__media { border-radius: 4px; }
.sb-card--list .sb-card__title { font-size: 16.5px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

/* title only */
.sb-card--title { padding: 9px 0 9px 16px; border-bottom: 1px solid var(--sb-line); }
.sb-card--title::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; background: var(--sb-primary); }
.sb-card--title:last-child { border-bottom: 0; }
.sb-card--title .sb-card__title { font-size: 16.5px; }

/* big */
.sb-card--big .sb-card__body { padding-top: 10px; }
.sb-card--big .sb-card__title { font-size: 24px; font-weight: 700; line-height: 1.45; }

/* overlay */
.sb-card--overlay { overflow: hidden; border-radius: var(--sb-radius); }
.sb-card--overlay .sb-card__media { aspect-ratio: 16 / 10; border-radius: 0; }
.sb-card--overlay .sb-card__body {
	position: absolute; inset: auto 0 0 0; padding: 60px 16px 14px;
	background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, 0)); pointer-events: none;
}
.sb-card--overlay .sb-card__title { font-size: 20px; color: #fff; }
.sb-card--overlay .sb-card__title a { color: #fff; pointer-events: auto; }

/* video / photo */
.sb-card--video .sb-card__title, .sb-card--photo .sb-card__title { font-size: 17px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* opinion */
.sb-card--opinion { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sb-line); border-radius: 10px; background: #fff; transition: box-shadow .25s, transform .25s; }
.sb-card--opinion:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.sb-card--opinion .sb-card__media { border-radius: 0; aspect-ratio: 16 / 10; }
.sb-card--opinion .sb-card__body { padding: 12px 14px 16px; border-top: 3px solid var(--sb-primary); }
.sb-card--opinion .sb-card__title { font-size: 19px; }

/* search result */
.sb-card--result { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; padding: 12px; border-radius: var(--sb-radius); background: #fff; }
.sb-card--result .sb-card__title { font-size: 20px; }

/* Lead story */
.sb-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 18px; }
.sb-lead__shoulder { margin-bottom: 4px; font-size: 17px; color: var(--sb-accent); }
.sb-lead__title { font-size: 34px; line-height: 1.38; }
.sb-lead__title a:hover { color: var(--sb-primary); }
.sb-lead__excerpt { margin-top: 8px; font-size: 16.5px; line-height: 1.75; text-align: justify; color: #222; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.sb-lead__media { display: block; overflow: hidden; border-radius: var(--sb-radius); aspect-ratio: 16 / 9; background: var(--sb-soft); }
.sb-lead__media img, .sb-lead__media .sb-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--sb-ease); }
.sb-lead:hover .sb-lead__media img { transform: scale(1.03); }

/* Grids */
.sb-grid { display: grid; gap: 18px; }
.sb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.sb-grid--compact .sb-card__title { font-size: 15.5px; }

@media (max-width: 991.98px) {
	.sb-grid--3, .sb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sb-lead { grid-template-columns: 1fr; gap: 12px; }
	.sb-lead__media { order: -1; }
	.sb-lead__title { font-size: 30px; }
}
@media (max-width: 575.98px) {
	:root { --sb-gutter: 12px; }
	.sb-grid { gap: 14px; }
	.sb-grid--4, .sb-grid--3 { gap: 18px 12px; }
	.sb-lead__title { font-size: 27px; line-height: 1.4; }
	.sb-card__title { font-size: 17px; }
	.sb-card--grid .sb-card__title { font-size: 16.5px; }
	.sb-card--hcard, .sb-card--hcard-rev { grid-template-columns: 45% minmax(0, 1fr); padding: 8px; }
	.sb-card--hcard-rev .sb-card__media { order: 0; }
	.sb-card--hcard-rev .sb-card__body { padding-left: 0; }
	.sb-card--hcard .sb-card__title, .sb-card--hcard-rev .sb-card__title { font-size: 17px; }
	.sb-card--big .sb-card__title { font-size: 21px; }
	.sb-card--result { grid-template-columns: 38% minmax(0, 1fr); gap: 10px; padding: 8px; }
	.sb-card--result .sb-card__title { font-size: 17px; }
	.sb-card--result .sb-card__excerpt { display: none; }
	.sb-heading__title { font-size: 20px; }
}

/* 10. Sidebar: tabs, district widget, map ------------------------------ */
.sb-sidebar { min-width: 0; }
.sb-sidebar--sticky { position: sticky; top: calc(var(--sb-admin-offset) + var(--sb-nav-h) + 16px); align-self: start; }

.sb-tabs { margin-bottom: 20px; border: 1px solid var(--sb-line); background: #fff; }
.sb-tabs__nav { display: grid; grid-template-columns: 1fr 1fr; }
.sb-tabs__nav button {
	min-height: 54px; border: 0; background: #d9d9d9; color: var(--sb-ink);
	font-family: var(--sb-font-head); font-size: 22px; font-weight: 700; transition: background-color .2s, color .2s;
}
.sb-tabs--primary .sb-tabs__nav button.is-active { background: var(--sb-primary); color: #fff; }
.sb-tabs--plain .sb-tabs__nav button { border-top: 3px solid transparent; }
.sb-tabs--plain .sb-tabs__nav button.is-active { background: #fff; border-top-color: #555; }
.sb-tabs__panel { max-height: 440px; overflow-y: auto; padding: 0 8px; scrollbar-width: thin; }
.sb-tabs__panel .sb-card--list { grid-template-columns: 110px minmax(0, 1fr); }
.sb-tabs__panel .sb-card--list .sb-card__title { font-size: 16.5px; }

.sb-district { margin-bottom: 20px; background: #fff; }
.sb-district__title { padding: 12px; background: #2d2d2d; color: #fff; text-align: center; font-size: 22px; }
.sb-district__title a { color: #fff; }
.sb-district__form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; padding: 10px; background: var(--sb-card-bg); }
.sb-district__form select { min-height: 38px; font-size: 15px; border-radius: 4px; }
.sb-district__form .sb-btn { min-height: 38px; border-radius: 4px; font-size: 15px; }
.sb-district__map { padding: 12px 6px 4px; }

.sb-bdmap { width: 100%; height: auto; max-height: 520px; margin-inline: auto; }
.sb-map__shape { fill: var(--sb-primary); stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; transition: fill .2s; }
.sb-map__district { fill: transparent; stroke: rgba(255, 255, 255, .16); stroke-width: .5; pointer-events: none; }
.sb-map__div:hover .sb-map__shape, .sb-map__div:focus .sb-map__shape { fill: color-mix(in srgb, var(--sb-primary) 70%, #fff); }
.sb-map__div.is-active .sb-map__shape { fill: var(--sb-accent); }
.sb-map__pin { pointer-events: none; }
.sb-map__pin-body { fill: #fff; }
.sb-map__pin-dot { fill: var(--sb-primary); }
.sb-map__pin text { fill: #fff; font-family: var(--sb-font-head); font-size: 19px; font-weight: 700; text-anchor: middle; paint-order: stroke; stroke: rgba(0, 0, 0, .25); stroke-width: 2px; }
.sb-map__div:focus { outline: none; }
.sb-map__div:focus-visible .sb-map__shape { stroke: var(--sb-accent); stroke-width: 2; }

/* Layout: main + sidebar */
.sb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
@media (max-width: 1199.98px) { .sb-layout { grid-template-columns: minmax(0, 1fr) 280px; } }
@media (max-width: 991.98px) {
	.sb-layout { grid-template-columns: 1fr; }
	.sb-sidebar--sticky { position: static; }
}

/* 11. Home sections ---------------------------------------------------- */
.sb-home { padding-top: 20px; }
.sb-home-lead { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.sb-home-lead__main > .sb-lead { padding-bottom: 16px; border-bottom: 1px solid #c8c8c8; }
.sb-hcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.sb-grid--more { gap: 16px; }

.sb-feature-list__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 20px; }
.sb-feature-list__side { display: grid; gap: 16px; align-content: start; }
.sb-feature-list__list { align-self: start; }
.sb-feature-list__list .sb-card--list:first-child { padding-top: 0; }

.sb-opinion__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.sb-video-band { padding: 24px 0 32px; background: var(--sb-card-bg); }
.sb-vhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1px solid #cfd9e6; }
.sb-vhead__title { display: flex; align-items: center; gap: 8px; font-size: 24px; line-height: 1.2; }
.sb-vhead__icon { display: grid; }
.sb-vhead__title a:hover { color: var(--sb-primary); }
.sb-vhead__more {
	flex: none; padding: 6px 13px; border-radius: 4px; background: var(--sb-primary); color: #fff;
	font-family: var(--sb-font-head); font-size: 16px; font-weight: 600; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: background-color .2s;
}
.sb-vhead__more:hover { background: var(--sb-primary-dark); color: #fff; }
.sb-vgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.08fr) minmax(0, 1fr); grid-template-areas: "a m c" "b m d"; gap: 10px 24px; }
.sb-vcard { display: flex; align-items: center; min-width: 0; padding: 20px; border: 1px solid #d6dde7; border-radius: 4px; background: #fff; }
.sb-vcard--m { grid-area: m; align-items: flex-start; padding: 24px 20px; }
.sb-vcard--a { grid-area: a; } .sb-vcard--b { grid-area: b; } .sb-vcard--c { grid-area: c; } .sb-vcard--d { grid-area: d; }
.sb-vthumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 3px solid #b3b9c2; border-radius: 5px; background: #1b2140; }
.sb-vthumb img, .sb-vthumb .sb-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--sb-ease); }
.sb-vthumb:hover img { transform: scale(1.04); }
.sb-vthumb__play { position: absolute; top: 44%; left: 50%; display: grid; transform: translate(-50%, -50%); transition: transform .2s; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .4)); }
.sb-vthumb:hover .sb-vthumb__play { transform: translate(-50%, -50%) scale(1.1); }
.sb-vthumb__title {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 10px 6px; background: color-mix(in srgb, var(--sb-primary) 94%, transparent);
	color: #fff; text-align: center; font-family: var(--sb-font-head); font-size: 16px; font-weight: 700; line-height: 1.35;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.sb-vthumb--big .sb-vthumb__title { padding: 10px 16px 12px; font-size: 28px; line-height: 1.3; }
.sb-vthumb--big .sb-vthumb__play { top: 42%; }
.sb-vcarousel { position: relative; margin-top: 14px; }
.sb-vcarousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
}
.sb-vcarousel__track::-webkit-scrollbar { display: none; }
.sb-vcarousel__track > .sb-vthumb { scroll-snap-align: start; border-width: 2px; }
.sb-vcarousel__nav {
	position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 22px; height: 22px; padding: 0;
	border: 0; border-radius: 50%; background: var(--sb-accent); color: #fff; transform: translateY(-50%); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: transform .2s;
}
.sb-vcarousel__nav .sb-icon { stroke-width: 3; }
.sb-vcarousel__nav:hover { transform: translateY(-50%) scale(1.15); }
.sb-vcarousel__nav--prev { left: -18px; }
.sb-vcarousel__nav--next { right: -18px; }
.sb-vcarousel.is-static .sb-vcarousel__nav { display: none; }

.sb-country { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.sb-country__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.sb-country__lead { display: grid; gap: 16px; padding-right: 16px; border-right: 1px solid var(--sb-line); }
.sb-country__list .sb-card--list:first-child { padding-top: 0; }
.sb-country__side { padding: 4px; border: 2px solid var(--sb-accent); border-radius: 2px; }
.sb-country__side .sb-district { margin: 6px; }

.sb-cols { display: grid; gap: 24px; }
.sb-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sb-cols__col { min-width: 0; }
.sb-cols__list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
/* Title-only lists: stacked outlined boxes (desktop + mobile). */
.sb-cols__list .sb-card--title { padding: 10px 12px 10px 28px; border: 1px solid #d3d9e3; border-radius: 4px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.sb-cols__list .sb-card--title:last-child { border-bottom: 1px solid #d3d9e3; }
.sb-cols__list .sb-card--title::before { left: 12px; top: 20px; width: 7px; height: 7px; }
.sb-cols__list .sb-card--title:hover { border-color: var(--sb-primary); box-shadow: 0 3px 10px -4px rgba(0, 0, 0, .18); }
.sb-cols--2 .sb-cols__col > .sb-card--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; padding-bottom: 10px; border-bottom: 1px solid var(--sb-line); }
.sb-cols--2 .sb-cols__col > .sb-card--grid .sb-card__body { padding: 0; }
.sb-cols--2 .sb-cols__col > .sb-card--grid .sb-card__title { font-size: 20px; -webkit-line-clamp: 4; }

.sb-business__grid { display: grid; gap: 18px; }
.sb-business__lead .sb-lead { grid-template-columns: 1fr 1.2fr; }

.sb-spotlight__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; }
.sb-spotlight--reverse .sb-spotlight__grid { grid-template-columns: 1fr 1fr 1.5fr; }
.sb-spotlight--reverse .sb-spotlight__side { order: 1; }
.sb-spotlight--reverse .sb-spotlight__list { order: 2; }
.sb-spotlight--reverse .sb-spotlight__main { order: 3; }
.sb-spotlight__side { display: grid; gap: 16px; align-content: start; }
.sb-spotlight__list .sb-card--list:first-child { padding-top: 0; }

.sb-gallery__grid { display: grid; grid-template-columns: minmax(0, 2.08fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px 16px; align-items: start; }
.sb-gallery__main { grid-row: span 2; min-width: 0; }
.sb-gallery .sb-slider__media { position: relative; aspect-ratio: 1.58; border-radius: 5px; overflow: hidden; }
.sb-gallery .sb-slider__nav { top: calc(50% - 60px); }
.sb-gallery .sb-slider figcaption { font-size: 27px; font-weight: 600; }
.sb-gallery .sb-card--photo .sb-card__media { aspect-ratio: 1.87; border-radius: 5px; }
.sb-gallery .sb-card--photo .sb-card__title { font-size: 19px; font-weight: 600; }

@media (max-width: 1199.98px) {
	.sb-home-lead { grid-template-columns: minmax(0, 1fr) 280px; }
	.sb-country { grid-template-columns: minmax(0, 1fr) 290px; }
	.sb-lead__title { font-size: 30px; }
	.sb-feature-list__grid, .sb-spotlight__grid { grid-template-columns: 1.3fr 1fr; }
	.sb-feature-list__list, .sb-spotlight__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
	.sb-spotlight--reverse .sb-spotlight__grid { grid-template-columns: 1.3fr 1fr; }
	.sb-spotlight--reverse .sb-spotlight__main, .sb-spotlight--reverse .sb-spotlight__side, .sb-spotlight--reverse .sb-spotlight__list { order: 0; }
}
@media (max-width: 991.98px) {
	.sb-home { padding-top: 30px; }
	.sb-home-lead, .sb-country { grid-template-columns: 1fr; }
	.sb-gallery__grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
	.sb-gallery__main { grid-column: 1 / -1; grid-row: auto; }
	.sb-gallery .sb-slider figcaption { font-size: 24px; }
	.sb-vgrid { grid-template-columns: 1fr 1fr; grid-template-areas: "m m" "a c" "b d"; gap: 14px; }
	.sb-vcarousel__track { grid-auto-columns: calc((100% - 40px) / 3); }
	.sb-vcarousel__nav--prev { left: -8px; } .sb-vcarousel__nav--next { right: -8px; }
	.sb-country__side { max-width: 520px; width: 100%; margin-inline: auto; }
	.sb-opinion__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; margin-inline: calc(var(--sb-gutter) * -1); padding-inline: var(--sb-gutter); }
	.sb-opinion__track::-webkit-scrollbar { display: none; }
	.sb-opinion__track > .sb-card { flex: 0 0 min(76%, 300px); scroll-snap-align: start; }
	.sb-cols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sb-grid--more { grid-template-columns: 1fr 1fr; }

	.sb-cols__list .sb-card--title .sb-card__title { font-size: 16.5px; line-height: 1.5; }
}
@media (max-width: 767.98px) {
	.sb-section { margin-top: 28px; }
	.sb-hcards, .sb-grid--more { grid-template-columns: 1fr; gap: 12px; }
	.sb-home-lead__main > .sb-lead { border-bottom: 0; padding-bottom: 0; }
	.sb-country__grid, .sb-feature-list__grid, .sb-spotlight__grid, .sb-spotlight--reverse .sb-spotlight__grid, .sb-cols--3, .sb-cols--2 { grid-template-columns: 1fr; }
	.sb-country__lead { padding-right: 0; border-right: 0; }
	.sb-cols--3 .sb-cols__col > .sb-card--grid { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 12px; align-items: start; }
	.sb-cols--3 .sb-cols__col > .sb-card--grid .sb-card__body { padding: 0; }
	.sb-cols--2 .sb-cols__col > .sb-card--grid .sb-card__title { font-size: 17px; }
	.sb-feature-list__side, .sb-spotlight__side { grid-template-columns: 1fr 1fr; gap: 12px; }
	.sb-feature-list__list, .sb-spotlight__list { display: block; }
	.sb-business__lead .sb-lead { grid-template-columns: 1fr; }
	.sb-vgrid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "m" "c" "d"; gap: 12px; }
	.sb-vcard, .sb-vcard--m { padding: 20px; }
	.sb-vthumb--big .sb-vthumb__title { padding: 6px 10px 7px; font-size: 17px; }
	.sb-vthumb--big .sb-vthumb__play { top: 44%; }
	.sb-vthumb--big .sb-vthumb__play .sb-icon { width: 38px; height: 38px; }
	.sb-vcarousel__track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
	.sb-vcarousel__track .sb-vthumb__title { font-size: 13px; padding: 3px 6px 4px; }
	.sb-vcarousel__track .sb-vthumb__play .sb-icon { width: 30px; height: 30px; }
	.sb-vcarousel__nav--prev { left: -12px; } .sb-vcarousel__nav--next { right: -12px; }
	.sb-vhead__title { font-size: 21px; }
	.sb-gallery .sb-slider figcaption { font-size: 22px; }
	.sb-gallery .sb-card--photo .sb-card__title { font-size: 17px; }
}

/* 12. Archive / search ------------------------------------------------- */
.sb-archive__head { margin-bottom: 26px; }
.sb-archive__kicker { font-size: 15px; color: var(--sb-accent); font-weight: 600; }
.sb-archive__title { font-size: 32px; }
.sb-archive__desc { max-width: 760px; margin-top: 6px; color: var(--sb-muted); }
.sb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.sb-chips a { display: inline-block; padding: 3px 10px; border: 1px solid #333; font-size: 16px; line-height: 1.6; background: #fff; transition: background-color .2s, color .2s; }
.sb-chips a:hover, .sb-chips a.is-active { background: var(--sb-primary); border-color: var(--sb-primary); color: #fff; }
.sb-archive > .sb-lead { max-width: 990px; margin-bottom: 18px; padding: 10px 0; }
.sb-archive > .sb-lead .sb-lead__title { font-size: 26px; }
.sb-archive > .sb-lead .sb-lead__excerpt { -webkit-line-clamp: 5; }
.sb-archive__grid { margin-top: 4px; }
.sb-loadmore { display: flex; justify-content: center; margin-top: 28px; }
.sb-loadmore .sb-btn { min-height: 38px; padding-inline: 14px; font-size: 17px; }
.sb-loadmore__end { color: var(--sb-muted); font-size: 15px; }

.sb-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.sb-pagination a, .sb-pagination span { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--sb-line); border-radius: 5px; background: #fff; }
.sb-pagination .current { background: var(--sb-primary); border-color: var(--sb-primary); color: #fff; }
.sb-js .sb-loadmore ~ .sb-pagination { display: none; }

.sb-search-page .sb-content, .search .sb-content { background: var(--sb-card-bg); }
.sb-search-wrap { padding-top: 26px; }
.sb-search__title { margin-bottom: 14px; font-size: 22px; }
.sb-search__form { display: flex; padding: 8px; background: #fff; }
.sb-search__form input { min-height: 48px; border-radius: 0; font-size: 18px; }
.sb-search__form button { display: grid; place-items: center; flex: none; width: 54px; border: 0; background: var(--sb-dark); color: #fff; }
.sb-search__form button:hover { background: #000; }
.sb-search__form--sm { padding: 0; }
.sb-search__form--sm input { min-height: 42px; font-size: 16px; }
.sb-search__form--sm button { width: 46px; }
.sb-search__count { margin: 18px 0 12px; color: var(--sb-muted); }
.sb-search__results { display: grid; gap: 12px; }
.sb-search__none { padding: 26px; background: #fff; text-align: center; }
.sb-search-wrap .sb-layout__side .sb-district { margin-top: 0; }

/* 13. Single post ------------------------------------------------------ */
.sb-single .sb-ad--top { margin-bottom: 20px; }
.sb-single__cat {
	display: inline-block; margin-bottom: 18px; padding-bottom: 2px;
	border-bottom: 2px solid var(--sb-accent); color: var(--sb-accent);
	font-family: var(--sb-font-head); font-size: 20px; font-weight: 700;
}
.sb-single__cat:hover { color: var(--sb-accent); opacity: .85; }
.sb-single__cat--light { color: #fff; border-color: var(--sb-accent); }
.sb-single__cat--light:hover { color: #fff; }
.sb-article__shoulder { margin-bottom: 4px; font-size: 19px; color: #555; }
.sb-article__title { font-size: 34px; line-height: 1.42; }
.sb-article__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding-bottom: 10px; border-bottom: 1px solid #c7c7c7; }
.sb-byline { display: flex; align-items: center; gap: 10px; }
.sb-byline__avatar { display: grid; place-items: center; flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 50%; background: var(--sb-ink); color: #fff; font-family: var(--sb-font-head); font-size: 26px; font-weight: 800; }
.sb-byline__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sb-byline__text { display: flex; flex-direction: column; }
.sb-byline__name { font-family: var(--sb-font-head); font-size: 17px; font-weight: 700; }
.sb-byline__date { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 14px; font-style: italic; color: #555; }
.sb-byline__sep { margin: 0 4px; color: #aaa; }
.sb-article__location { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 2px 10px; border-radius: 20px; background: var(--sb-card-bg); font-size: 14px; color: var(--sb-primary); }

.sb-share { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-share__btn { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 4px; background: #eee; color: #222; transition: background-color .2s, color .2s; }
.sb-share__btn:hover { color: #fff; background: var(--sb-primary); }
.sb-share__btn--facebook:hover { background: #1877f2; }
.sb-share__btn--messenger:hover { background: #0084ff; }
.sb-share__btn--twitter:hover { background: #000; }
.sb-share__btn--whatsapp:hover { background: #25d366; }
.sb-share__btn.is-done { background: #067647; color: #fff; }

.sb-article__figure { margin-top: 12px; }
.sb-article__figure img { width: 100%; height: auto; }
.sb-article__figure figcaption { padding: 4px 10px; background: #e3eeec; text-align: center; font-size: 14px; font-weight: 700; }
.sb-article__content { margin-top: 16px; font-size: var(--sb-fs); line-height: 1.8; text-align: justify; overflow-wrap: break-word; }
.sb-article__content > * + * { margin-top: .9em; }
.sb-article__content p { margin: 0; }
.sb-article__content p + p { margin-top: .9em; }
.sb-article__content h2 { font-size: 24px; margin-top: 1.3em; }
.sb-article__content h3 { font-size: 21px; margin-top: 1.2em; }
.sb-article__content a { color: var(--sb-primary); text-decoration: underline; text-underline-offset: 3px; }
.sb-article__content img { height: auto; border-radius: 4px; }
.sb-article__content blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--sb-primary); background: var(--sb-card-bg); font-style: italic; }
.sb-article__content ul, .sb-article__content ol { padding-left: 1.4em; }
.sb-article__content ul { list-style: disc; }
.sb-article__content figcaption { font-size: 14px; color: var(--sb-muted); text-align: center; }
.sb-article__content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.sb-article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.sb-article__tags span { font-weight: 700; }
.sb-article__tags a { padding: 2px 12px; border-radius: 20px; background: var(--sb-soft); font-size: 15px; }
.sb-article__tags a:hover { background: var(--sb-primary); color: #fff; }
.sb-related { margin-top: 30px; }
.sb-related .sb-heading__title { font-size: 20px; }

@media (max-width: 575.98px) {
	.sb-single__cat { font-size: 19px; }
	.sb-article__shoulder { font-size: 17px; }
	.sb-article__title { font-size: 28px; line-height: 1.38; }
	.sb-article__meta { flex-direction: column; align-items: flex-start; border-bottom: 0; padding-bottom: 0; }
	.sb-article__meta .sb-share { padding-top: 12px; width: 100%; border-top: 1px solid #c7c7c7; }
	.sb-share__btn { width: 34px; height: 34px; }
	.sb-byline__avatar { width: 64px; height: 64px; }
	.sb-article__content { font-size: 18px; }
}

/* Page */
.sb-page__head { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--sb-line); }
.sb-page__title { font-size: 32px; }
.sb-page__content { max-width: 860px; line-height: 1.8; }
.sb-page__content > * + * { margin-top: .9em; }
.sb-404 { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 60px; text-align: center; }
.sb-404__code { font-family: var(--sb-font-head); font-size: 110px; font-weight: 800; line-height: 1; color: var(--sb-primary); }
.sb-404__title { font-size: 28px; }
.sb-404 .sb-search__form { width: min(100%, 520px); border: 1px solid var(--sb-line); }

/* 14. Default pages ---------------------------------------------------- */
.sb-tpl { padding-top: 0; }
.sb-hero {
	position: relative; margin-bottom: 28px; padding: 30px 0; overflow: hidden; color: #fff;
	background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .12) 0 90px, transparent 91px),
		radial-gradient(circle at 95% 110%, rgba(255, 255, 255, .08) 0 140px, transparent 141px),
		linear-gradient(120deg, var(--sb-primary-dark), var(--sb-primary));
}
.sb-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--sb-accent); }
.sb-hero__inner { display: flex; align-items: center; gap: 18px; }
.sb-hero__icon { display: grid; place-items: center; flex: none; width: 66px; height: 66px; border-radius: 18px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.sb-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; opacity: .85; }
.sb-crumbs a { color: #fff; }
.sb-crumbs a:hover { color: #fff; text-decoration: underline; }
.sb-hero__title { color: #fff; font-size: 32px; line-height: 1.35; }
.sb-hero__sub { margin-top: 2px; font-size: 16px; opacity: .9; }
@media (max-width: 575.98px) {
	.sb-hero { padding: 22px 0; margin-bottom: 20px; }
	.sb-hero__icon { width: 50px; height: 50px; border-radius: 14px; }
	.sb-hero__icon .sb-icon { width: 24px; height: 24px; }
	.sb-hero__title { font-size: 25px; }
	.sb-hero__sub { font-size: 15px; }
}

/* Archive page */
.sb-filterbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; padding: 16px; border-radius: 12px; background: var(--sb-card-bg); }
.sb-filterbar__field { display: flex; flex: 1 1 200px; flex-direction: column; gap: 4px; font-family: var(--sb-font-head); font-size: 15px; font-weight: 600; }
.sb-filterbar .sb-btn { min-height: 42px; }
.sb-daystrip { display: flex; gap: 8px; margin: 16px 0 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.sb-daystrip::-webkit-scrollbar { display: none; }
.sb-daystrip__day { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; min-width: 64px; padding: 8px 10px; border: 1px solid var(--sb-line); border-radius: 10px; background: #fff; line-height: 1.3; transition: all .2s; }
.sb-daystrip__day span { font-size: 13px; color: var(--sb-muted); }
.sb-daystrip__day strong { font-family: var(--sb-font-head); font-size: 22px; }
.sb-daystrip__day:hover { border-color: var(--sb-primary); }
.sb-daystrip__day.is-active { background: var(--sb-primary); border-color: var(--sb-primary); color: #fff; }
.sb-daystrip__day.is-active span { color: rgba(255, 255, 255, .85); }
.sb-tpl__summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 18px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--sb-line); }
.sb-tpl__summary h2 { font-size: 22px; }
.sb-tpl__summary p { color: var(--sb-muted); font-size: 15px; }

/* District page */
.sb-divcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.sb-divcard {
	position: relative; display: flex; flex-direction: column; padding: 16px; overflow: hidden;
	border-radius: 12px; background: var(--sb-card-bg); transition: transform .2s, box-shadow .2s, background-color .2s;
}
.sb-divcard::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 70px; height: 70px; border-radius: 50%; background: color-mix(in srgb, var(--sb-primary) 12%, transparent); }
.sb-divcard strong { font-family: var(--sb-font-head); font-size: 20px; color: var(--sb-ink); }
.sb-divcard span { font-size: 14px; color: var(--sb-muted); }
.sb-divcard:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, .08); background: #fff; }
.sb-areas { margin-bottom: 26px; padding: 16px; border-radius: 12px; background: var(--sb-card-bg); }
.sb-areas__title { margin-bottom: 4px; font-size: 18px; }
.sb-chips--areas { gap: 8px; margin-top: 8px; }
.sb-chips--areas a { border-color: color-mix(in srgb, var(--sb-primary) 35%, #fff); border-radius: 20px; padding: 2px 12px; font-size: 15px; }
@media (max-width: 767.98px) { .sb-divcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Photo gallery page */
.sb-photo-feature { display: grid; grid-template-columns: 1.6fr 1fr; overflow: hidden; margin-bottom: 26px; border-radius: 14px; background: #151515; color: #fff; }
.sb-photo-feature__media { position: relative; display: block; aspect-ratio: 16 / 10; }
.sb-photo-feature__media img, .sb-photo-feature__media .sb-noimg { width: 100%; height: 100%; object-fit: cover; }
.sb-photo-feature__count { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; background: rgba(0, 0, 0, .65); font-size: 15px; }
.sb-photo-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 28px; }
.sb-photo-feature__kicker { color: var(--sb-accent); font-weight: 700; font-size: 15px; }
.sb-photo-feature__body h2 { font-size: 28px; }
.sb-photo-feature__body h2 a { color: #fff; }
.sb-photo-feature__body p { color: rgba(255, 255, 255, .8); }
.sb-photo-feature .sb-card__time { color: rgba(255, 255, 255, .65); }
.sb-photo-feature .sb-btn { align-self: flex-start; }
@media (max-width: 767.98px) {
	.sb-photo-feature { grid-template-columns: 1fr; }
	.sb-photo-feature__body { padding: 18px; }
	.sb-photo-feature__body h2 { font-size: 22px; }
	.sb-photo-grid { grid-template-columns: 1fr; }
}

/* Video pages */
.sb-video-stage { margin-bottom: 28px; padding: 26px 0; background: linear-gradient(135deg, #0f1733, color-mix(in srgb, var(--sb-primary) 55%, #0f1733)); color: #fff; }
.sb-video-stage__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; align-items: center; }
.sb-video-stage__kicker { color: var(--sb-accent); font-weight: 700; font-size: 15px; }
.sb-video-stage__info h2 { margin: 6px 0 10px; font-size: 28px; }
.sb-video-stage__info h2 a { color: #fff; }
.sb-video-stage__info p { color: rgba(255, 255, 255, .8); }
.sb-video-stage .sb-card__time { color: rgba(255, 255, 255, .65); }
.sb-video-stage--single .sb-player { max-width: 960px; margin-inline: auto; }
.sb-single--video .sb-article__title { font-size: 30px; }
@media (max-width: 991.98px) { .sb-video-stage__grid { grid-template-columns: 1fr; } .sb-video-stage__info h2 { font-size: 22px; } }

/* Photo single */
.sb-photo-stage { margin-bottom: 26px; padding: 24px 0 30px; background: #111; color: #fff; }
.sb-photo-stage__title { color: #fff; font-size: 30px; }
.sb-photo-stage__meta { margin: 4px 0 16px; color: rgba(255, 255, 255, .7); font-size: 15px; }
@media (max-width: 575.98px) { .sb-photo-stage__title { font-size: 23px; } }

/* Contact page */
.sb-contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.sb-contact-card { padding: 22px 18px; border: 1px solid var(--sb-line); border-radius: 14px; background: #fff; text-align: center; transition: box-shadow .25s, transform .25s; }
.sb-contact-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.sb-contact-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 16px; background: var(--sb-card-bg); color: var(--sb-primary); }
.sb-contact-card h2 { font-size: 18px; }
.sb-contact-card a, .sb-contact-card p { display: block; margin-top: 4px; color: var(--sb-muted); overflow-wrap: anywhere; }
.sb-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.sb-contact-form { padding: 26px; border-radius: 14px; background: var(--sb-card-bg); }
.sb-contact-form h2 { font-size: 24px; }
.sb-contact-form__lead { margin: 2px 0 18px; color: var(--sb-muted); }
.sb-contact-form textarea { min-height: 150px; resize: vertical; }
.sb-contact-side { display: grid; gap: 20px; }
.sb-contact-map iframe { width: 100%; height: 320px; border: 0; border-radius: 14px; }
.sb-contact-social { padding: 22px; border: 1px solid var(--sb-line); border-radius: 14px; text-align: center; }
.sb-contact-social h2 { margin-bottom: 14px; font-size: 19px; }
@media (max-width: 991.98px) { .sb-contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sb-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sb-contact-cards { grid-template-columns: 1fr 1fr; gap: 10px; } .sb-contact-card { padding: 16px 10px; } .sb-contact-form { padding: 18px; } }

/* Converter page */
.sb-conv { overflow: hidden; border: 1px solid var(--sb-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.sb-conv__tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--sb-line); background: var(--sb-soft); scrollbar-width: none; }
.sb-conv__tabs button { flex: 1 0 auto; min-height: 54px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: none; font-family: var(--sb-font-head); font-size: 17px; font-weight: 700; color: var(--sb-muted); }
.sb-conv__tabs button.is-active { border-bottom-color: var(--sb-primary); background: #fff; color: var(--sb-primary); }
.sb-conv__panel { padding: 22px; }
.sb-conv__dir { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px; font-family: var(--sb-font-head); font-weight: 700; }
.sb-conv__swap { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sb-primary); color: #fff; transition: transform .3s; }
.sb-conv__swap:hover { transform: rotate(180deg); }
.sb-conv__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sb-conv__boxes--sm { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
.sb-conv__box label { display: block; margin-bottom: 6px; font-family: var(--sb-font-head); font-weight: 700; font-size: 15px; }
.sb-conv__box textarea { min-height: 240px; border-radius: 10px; font-size: 18px; line-height: 1.7; resize: vertical; }
.sb-conv__box textarea.is-bijoy { font-family: "SutonnyMJ", var(--sb-font); }
.sb-conv__box input { min-height: 52px; border-radius: 10px; font-size: 20px; }
.sb-conv__tools { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 14px; color: var(--sb-muted); }
.sb-conv__note { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: var(--sb-card-bg); font-size: 15px; }
.sb-conv__results { display: grid; gap: 10px; }
.sb-conv__results > div { padding: 12px 16px; border-radius: 10px; background: var(--sb-card-bg); }
.sb-conv__results dt { font-size: 14px; color: var(--sb-muted); }
.sb-conv__results dd { font-family: var(--sb-font-head); font-size: 20px; font-weight: 700; color: var(--sb-ink); overflow-wrap: anywhere; }
@media (max-width: 767.98px) {
	.sb-conv__panel { padding: 16px; }
	.sb-conv__boxes, .sb-conv__boxes--sm { grid-template-columns: 1fr; }
	.sb-conv__box textarea { min-height: 170px; }
	.sb-conv__tabs button { font-size: 15px; padding: 0 12px; }
}

/* 15. Sliders, player -------------------------------------------------- */
.sb-slider { position: relative; overflow: hidden; border-radius: var(--sb-radius); background: #000; }
.sb-slider__track { position: relative; }
.sb-slider__slide { display: none; margin: 0; }
.sb-slider__slide.is-active { display: block; animation: sb-fade .45s; }
.sb-slider__media { display: block; aspect-ratio: 16 / 10; background: #000; }
.sb-slider__media img, .sb-slider__media .sb-noimg { width: 100%; height: 100%; object-fit: cover; }
.sb-slider figcaption { padding: 12px 16px 14px; background: #fff; font-family: var(--sb-font-head); font-size: 24px; font-weight: 700; line-height: 1.4; }
.sb-gallery .sb-slider { background: #fff; }
.sb-gallery .sb-slider figcaption { padding: 12px 0 0; }
.sb-slider__nav {
	position: absolute; top: calc(50% - 40px); z-index: 2; display: grid; place-items: center; width: 44px; height: 64px;
	border: 0; background: transparent; color: #fff; opacity: .85; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6));
}
.sb-slider__nav:hover { opacity: 1; }
.sb-slider__nav--prev { left: 10px; }
.sb-slider__nav--next { right: 10px; }

.sb-slider--gallery { background: #000; }
.sb-slider--gallery .sb-slider__media { aspect-ratio: 16 / 9; max-height: 72vh; width: 100%; }
.sb-slider--gallery .sb-slider__media img { object-fit: contain; }
.sb-slider--gallery figcaption { display: flex; gap: 12px; align-items: baseline; background: #1b1b1b; color: #eee; font-family: var(--sb-font); font-size: 16px; font-weight: 400; }
.sb-slider__counter { flex: none; padding: 1px 8px; border-radius: 12px; background: var(--sb-accent); color: #fff; font-size: 13px; }
.sb-slider__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: #111; scrollbar-width: none; }
.sb-slider__thumbs::-webkit-scrollbar { display: none; }
.sb-slider__thumbs button { flex: 0 0 96px; height: 60px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 4px; background: none; opacity: .55; transition: opacity .2s, border-color .2s; }
.sb-slider__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.sb-slider__thumbs button.is-active { opacity: 1; border-color: var(--sb-accent); }
@media (max-width: 575.98px) {
	.sb-slider figcaption { font-size: 19px; }
	.sb-slider__nav { width: 36px; }
	.sb-slider__thumbs button { flex-basis: 72px; height: 46px; }
}

.sb-player { position: relative; overflow: hidden; border-radius: 10px; background: #000; aspect-ratio: 16 / 9; }
.sb-player iframe, .sb-player__facade, .sb-player > img, .sb-player > a, .sb-player > .sb-noimg { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sb-player__facade { padding: 0; border: 0; background: #000; cursor: pointer; }
.sb-player__facade img, .sb-player__facade .sb-noimg { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.sb-player__facade:hover img { opacity: 1; }
.sb-player__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--sb-accent); color: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 10px rgba(255, 255, 255, .2); transition: transform .2s; }
.sb-player__facade:hover .sb-player__play { transform: translate(-50%, -50%) scale(1.08); }

/* Comments (minimal) */
.comments-area { margin-top: 30px; }
.comment-list { padding: 0; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--sb-line); }
.comment-form textarea { min-height: 120px; }
.comment-form .submit { padding: 10px 20px; border: 0; border-radius: 5px; background: var(--sb-primary); color: #fff; }

/* Account page ------------------------------------------------------------ */
.sb-acc { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 20px; }
.sb-acc__side { position: sticky; top: calc(var(--sb-admin-offset) + 80px); }
.sb-acc-profile { padding: 26px 20px 16px; border-radius: 14px; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); text-align: center; }
.sb-acc-profile__avatar { position: relative; width: 88px; height: 88px; margin-inline: auto; }
.sb-acc-profile__avatar::before { content: attr(data-initial); position: absolute; inset: 0; display: grid; place-items: center; border: 4px solid var(--sb-primary-soft); border-radius: 50%; background: var(--sb-primary); color: #fff; font-family: var(--sb-font-head); font-size: 38px; font-weight: 700; }
.sb-acc-profile__avatar img { position: relative; width: 88px; height: 88px; border: 4px solid var(--sb-primary-soft); border-radius: 50%; background: #fff; }
.sb-acc-profile__name { margin-top: 10px; font-size: 22px; }
.sb-acc-profile__mail { font-size: 15px; color: var(--sb-muted); word-break: break-all; }
.sb-acc-profile__since { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 14px; color: var(--sb-muted); }
.sb-acc-profile__bal { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 4px; padding: 10px; border-radius: 10px; background: var(--sb-card-bg); color: var(--sb-primary); font-family: var(--sb-font-head); }
.sb-acc-profile__bal strong { font-size: 22px; }
.sb-acc-nav { display: flex; flex-direction: column; margin-top: 12px; text-align: left; }
.sb-acc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-top: 1px solid #eee; font-size: 16px; color: var(--sb-ink); border-radius: 6px; transition: background-color .2s, color .2s; }
.sb-acc-nav a .sb-icon { color: var(--sb-primary); }
.sb-acc-nav a:hover { background: var(--sb-primary-soft); color: var(--sb-primary); }
.sb-acc-nav__out, .sb-acc-nav__out .sb-icon { color: var(--sb-accent) !important; }
.sb-acc__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sb-acc-card { padding: 22px 24px; border-radius: 14px; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); scroll-margin-top: calc(var(--sb-admin-offset) + 80px); }
.sb-acc-card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--sb-line); font-size: 21px; }
.sb-acc-card__title .sb-icon { color: var(--sb-primary); }
.sb-acc-form { max-width: 640px; }
.sb-acc-form input:disabled { background: var(--sb-soft); color: var(--sb-muted); }
.sb-acc-stats { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 10px; }
.sb-acc-stat { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px; border-radius: 12px; background: var(--sb-card-bg); }
.sb-acc-stat span { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--sb-muted); }
.sb-acc-stat strong { font-family: var(--sb-font-head); font-size: 24px; color: var(--sb-ink); line-height: 1.2; }
.sb-acc-stat small { font-size: 14px; font-weight: 400; color: var(--sb-muted); }
.sb-acc-stat--main { background: linear-gradient(135deg, var(--sb-primary), var(--sb-primary-dark)); }
.sb-acc-stat--main span { color: rgba(255, 255, 255, .8); }
.sb-acc-stat--main strong { font-size: 34px; color: #fff; }
.sb-acc-today { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: #fff8e6; font-size: 15px; color: #7a5b00; }
.sb-acc-today .sb-icon { flex: none; margin-top: 4px; }
.sb-acc-today.is-done { background: #e8f7ee; color: #067647; }
.sb-acc-sub { margin: 20px 0 10px; font-size: 17px; }
.sb-acc-days { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 6px; padding: 0; list-style: none; }
.sb-acc-days li { display: grid; place-items: center; aspect-ratio: 1; border-radius: 7px; background: var(--sb-soft); font-size: 13px; color: #9aa0a6; }
.sb-acc-days li.is-on { background: var(--sb-primary); color: #fff; }
.sb-acc-days li.is-today { outline: 2px solid var(--sb-accent); outline-offset: 1px; }
.sb-acc-log { padding: 0; list-style: none; }
.sb-acc-log li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eee; font-size: 15px; }
.sb-acc-log__why { flex: 1; color: var(--sb-muted); }
.sb-acc-log strong { color: #067647; font-family: var(--sb-font-head); }
.sb-acc-note { margin-top: 14px; font-size: 14px; color: var(--sb-muted); }
.sb-acc-guest { max-width: 560px; margin: 10px auto 30px; padding: 34px 24px; border-radius: 14px; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); text-align: center; }
.sb-acc-guest__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--sb-primary-soft); color: var(--sb-primary); }
.sb-acc-guest h2 { margin: 12px 0 6px; font-size: 24px; }
.sb-acc-guest p { margin-bottom: 20px; color: var(--sb-muted); }
@media (max-width: 991.98px) {
	.sb-acc { grid-template-columns: 1fr; }
	.sb-acc__side { position: static; }
	.sb-acc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sb-acc-stat--main { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
	.sb-acc-card { padding: 18px 16px; }
	.sb-acc-days { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
	.sb-acc-stat { padding: 10px; }
	.sb-acc-stat strong { font-size: 20px; }
}

/* Toast (daily credit) */
.sb-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 1200; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
	padding: 12px 16px; border-radius: 12px; background: #111; color: #fff; font-size: 15px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
	transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--sb-ease), opacity .3s;
}
.sb-toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.sb-toast .sb-icon { flex: none; color: #ffd257; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 16. Print ------------------------------------------------------------ */
@media print {
	.sb-masthead, .sb-nav, .sb-mbar, .sb-mscroll, .sb-footer, .sb-sidebar, .sb-share, .sb-related, .sb-ad, .sb-to-top, .sb-offcanvas, .sb-modal { display: none !important; }
	.sb-layout { display: block; }
	body { font-size: 12pt; }
}
