/*
	Theme Name: কলম (Kolom)
	Theme URI: https://idea.enolej.com
	Theme Description: লেখালেখির জন্য আধুনিক, কাগজ-উষ্ণ, লেখক-কেন্দ্রিক Question2Answer থিম
	Theme Version: 1.0.0
	Theme Author: Enolej Idea
*/

/* ================================================================
   ১. ফন্ট
   ================================================================ */
@font-face { font-family: "Podda"; src: url(fonts/Podda.ttf) format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Tiro Bangla"; src: url(fonts/TiroBangla.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tiro Bangla"; src: url(fonts/TiroBangla-Italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hind Siliguri"; src: url(fonts/HindSiliguri-Medium.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hind Siliguri"; src: url(fonts/HindSiliguri-SemiBold.woff2) format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url(fonts/Roboto-Regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url(fonts/Roboto-Medium.woff2) format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

/* ================================================================
   ২. রঙ ও টোকেন (এখানে বদলালেই পুরো থিমের রঙ বদলায়)
   ================================================================ */
:root {
	--bg: #f6f3ec;
	--bg-2: #eee9dd;
	--surface: #ffffff;
	--surface-2: #fbf9f4;
	--ink: #1c1e22;
	--ink-2: #464b54;
	--ink-3: #7a808a;
	--line: #e6e0d3;
	--line-2: #d6cfbe;

	--brand: #2b3a8c;
	--brand-2: #4357d6;
	--brand-soft: #e8ebfb;
	--on-brand: #ffffff;

	--accent: #e8590c;
	--accent-2: #c94a06;
	--accent-soft: #fdece1;
	--on-accent: #ffffff;

	--danger: #c92a2a;
	--ok: #2b8a3e;

	--header-bg: rgba(246, 243, 236, .88);
	--shadow-1: 0 1px 2px rgba(28, 30, 34, .05), 0 1px 1px rgba(28, 30, 34, .03);
	--shadow-2: 0 10px 30px rgba(28, 30, 34, .12);

	--ui: "Podda", "Hind Siliguri", "Roboto", "Noto Sans Bengali", "Nirmala UI", "Bangla Sangam MN", system-ui, -apple-system, "Segoe UI", sans-serif;
	--read: "Podda", "Tiro Bangla", "Noto Serif Bengali", "Kalpurush", "Siyam Rupali", Georgia, serif;

	--read-fs: 19px;
	--r-lg: 20px;
	--r: 14px;
	--r-sm: 10px;
	--header-h: 60px;
	--col: 740px;
	--side: 320px;
	color-scheme: light;
}


/* ================================================================
   ৩. বেস
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: var(--ui); font-size: 16px; line-height: 1.7;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	word-wrap: break-word; overflow-wrap: anywhere;
}
img, video, iframe, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }
button, input, textarea, select { font-family: inherit; }
button { font-family: inherit; cursor: pointer; }
.k-ico { display: block; flex: none; }
ul { padding-left: 1.2em; }

/* ================================================================
   ৪. হেডার
   ================================================================ */
.k-header {
	position: sticky; top: 0; z-index: 80;
	background: var(--header-bg);
	-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: transform .25s ease;
}
.k-header.is-hidden { transform: translateY(-100%); }
.k-header-in {
	max-width: 1180px; margin: 0 auto; padding: 0 20px;
	min-height: var(--header-h); display: flex; align-items: center; gap: 14px;
}
.k-logo-wrap { flex: none; }
.k-logo-wrap .qa-logo { margin: 0; }
.k-logo-wrap a { display: inline-flex; align-items: center; color: var(--ink); font-family: var(--read); font-size: 22px; font-weight: 400; text-decoration: none; }
.k-logo-wrap img { max-height: 34px; width: auto; display: block; }

.k-nav-wrap { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.k-nav-wrap::-webkit-scrollbar { display: none; }
.k-nav-wrap .qa-nav-main-list, .k-nav-wrap ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.k-nav-wrap .qa-nav-main-clear, .k-nav-wrap .qa-nav-main-clear * { display: none; }
.k-nav-wrap li { margin: 0; }
.k-nav-wrap a {
	display: inline-block; padding: 7px 13px; border-radius: 999px;
	color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none;
	transition: background .15s, color .15s;
}
.k-nav-wrap a:hover { background: var(--bg-2); color: var(--ink); }
.k-nav-wrap a.qa-nav-main-selected { background: var(--ink); color: var(--bg); }
.k-nav-wrap ul ul { display: none; }

.k-search {
	flex: none; width: min(300px, 24vw); display: flex; align-items: center;
	background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
	padding: 0 4px 0 12px; height: 40px; transition: border-color .15s, box-shadow .15s, width .2s;
}
.k-search:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft); width: min(380px, 32vw); }
.k-search-ico { color: var(--ink-3); display: flex; }
.k-search-ico .k-ico { width: 18px; height: 18px; }
.k-search input.qa-search-field {
	flex: 1; min-width: 0; border: 0; background: transparent; outline: 0;
	color: var(--ink); font: inherit; font-size: 15px; padding: 0 8px; height: 100%;
}
.k-search input::placeholder { color: var(--ink-3); }
.k-search-go {
	width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--brand); color: var(--on-brand);
	display: grid; place-items: center; padding: 0;
}
.k-search-go .k-ico { width: 16px; height: 16px; }

.k-actions { flex: none; display: flex; align-items: center; gap: 8px; }
.k-search-toggle { display: none; }
.k-iconbtn {
	width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2);
	display: grid; place-items: center; padding: 0; transition: background .15s;
}
.k-iconbtn:hover { background: var(--bg-2); }

/* বাটন */
.k-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
	font-family: var(--ui); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none !important;
	cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap;
}
.k-btn .k-ico { width: 18px; height: 18px; }
.k-btn:active { transform: scale(.97); }
.k-btn-write { background: var(--accent); color: var(--on-accent) !important; box-shadow: 0 4px 14px rgba(232, 89, 12, .28); }
.k-btn-write:hover { background: var(--accent-2); }
.k-btn-primary { background: var(--brand); color: var(--on-brand) !important; }
.k-btn-primary:hover { background: var(--brand-2); }
.k-btn-solid { background: var(--ink); color: var(--bg) !important; }
.k-btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-2); }
.k-btn-ghost:hover { background: var(--bg-2); }
.k-btn-lg { height: 48px; padding: 0 26px; font-size: 16px; }
.k-btn-block { width: 100%; }

/* ইউজার মেনু */
.k-user { position: relative; }
.k-avatar-btn { width: 40px; height: 40px; border: 2px solid var(--line-2); border-radius: 50%; padding: 0; overflow: hidden; background: var(--brand-soft); display: grid; place-items: center; }
.k-avatar-btn:hover { border-color: var(--brand-2); }
.k-avatar-btn img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.k-initial { width: 100%; height: 100%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 16px; border-radius: 50%; }
.k-menu {
	display: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); padding: 8px; z-index: 90;
}
.k-user.is-open .k-menu { display: block; animation: k-pop .14s ease-out; }
@keyframes k-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.k-menu-head { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none !important; border-bottom: 1px solid var(--line); margin-bottom: 6px; border-radius: 10px 10px 0 0; }
.k-menu-av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: block; flex: none; }
.k-menu-av img { width: 100%; height: 100%; object-fit: cover; }
.k-menu-name { font-weight: 600; }
.k-menu-item { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; text-decoration: none !important; }
.k-menu-item:hover { background: var(--bg-2); color: var(--ink); }
.k-menu-logout { color: var(--danger); }

.k-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent), var(--brand-2)); border-radius: 0 3px 3px 0; opacity: 0; transition: opacity .2s; }
.k-layout-read .k-progress { opacity: 1; }

/* ================================================================
   ৫. কাঠামো
   ================================================================ */
.k-wrapper { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.k-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 26px 0 60px; align-items: start; }
.k-shell-feed { grid-template-columns: minmax(0, 1fr) var(--side); }
.k-shell-feed .k-center { max-width: 780px; width: 100%; }
.k-shell-read .k-center, .k-shell-write .k-center { max-width: var(--col); margin: 0 auto; width: 100%; }
.k-shell-write .k-center { max-width: 820px; }
.k-shell-page .k-center { max-width: 880px; margin: 0 auto; width: 100%; }
.k-shell-admin .k-center { max-width: 1100px; margin: 0 auto; width: 100%; overflow-x: auto; }
.k-shell-auth { padding-top: 12px; }
.k-shell-auth .k-center { max-width: 460px; margin: 0 auto; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px 18px; box-shadow: var(--shadow-1); }
.k-auth-brand { text-align: center; padding: 40px 0 18px; }
.k-auth-brand a { font-family: var(--read); font-size: 30px; color: var(--ink); text-decoration: none; }
.k-auth-brand img { max-height: 48px; width: auto; }

.k-title { font-family: var(--ui); font-size: 24px; margin: 0 0 18px; color: var(--ink); }
.k-title a { color: inherit; text-decoration: none; }
.k-title:empty { display: none; }
.k-title-form { display: flex; align-items: center; gap: 12px; }
.k-home .k-title { display: none; }
.k-home .k-title-form { display: none; }

.k-layout-read .k-title { font-family: var(--read); font-weight: 400; font-size: clamp(28px, 4.6vw, 44px); line-height: 1.35; letter-spacing: -.005em; margin: 6px 0 22px; }

/* ================================================================
   ৬. হিরো, কম্পোজার, ক্যাটেগরি চিপ, সাব-নেভ
   ================================================================ */
.k-hero {
	position: relative; overflow: hidden; margin-bottom: 22px;
	background: radial-gradient(120% 140% at 100% 0, #3b4cc4 0, rgba(59, 76, 196, 0) 55%), linear-gradient(135deg, #1c2670 0%, #11174a 100%);
	color: #fff; border-radius: 26px; padding: 40px 40px 34px; display: flex; gap: 20px; justify-content: space-between;
}
.k-hero-in { position: relative; z-index: 1; max-width: 520px; }
.k-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #ffd8bd; margin: 0 0 12px; opacity: .95; }
.k-hero-title { font-family: var(--read); font-weight: 400; font-size: clamp(28px, 4vw, 42px); line-height: 1.3; margin: 0 0 14px; color: #fff; }
.k-hero-text { font-size: 16.5px; line-height: 1.8; color: #dfe3ff; margin: 0 0 22px; }
.k-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.k-hero .k-btn-primary { background: var(--accent); color: #fff !important; }
.k-hero .k-btn-primary:hover { background: var(--accent-2); }
.k-hero .k-btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .4); }
.k-hero .k-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.k-hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: #e8ebff; }
.k-hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.k-hero-points .k-ico { width: 18px; height: 18px; color: #ffb27d; }
.k-hero-art { position: relative; width: 230px; flex: none; }
.k-paper { position: absolute; background: #fffdf8; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); padding: 18px 16px; }
.k-paper i { display: block; height: 7px; border-radius: 4px; background: #e3dccb; margin-bottom: 10px; }
.k-paper i.s { width: 55%; }
.k-paper-1 { width: 170px; height: 190px; right: 40px; top: -2px; transform: rotate(-6deg); }
.k-paper-2 { width: 150px; height: 130px; right: -6px; top: 118px; transform: rotate(5deg); background: #fff4e8; }
.k-paper b { display: inline-block; font-family: var(--ui); font-size: 13px; color: #fff; background: var(--accent); padding: 2px 10px; border-radius: 999px; margin-bottom: 14px; }

.k-composer {
	display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
	padding: 8px 8px 8px 10px; margin-bottom: 18px; color: var(--ink-3); text-decoration: none !important; box-shadow: var(--shadow-1); transition: box-shadow .15s, border-color .15s;
}
.k-composer:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.k-composer-av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; }
.k-composer-av img { width: 100%; height: 100%; object-fit: cover; }
.k-composer-text { flex: 1; font-family: var(--read); font-size: 17px; }
.k-composer-btn { display: inline-flex; align-items: center; gap: 7px; background: var(--accent); color: var(--on-accent); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.k-composer-btn .k-ico { width: 17px; height: 17px; }

.k-chips { margin: 0 -20px 14px; padding: 0 20px; overflow-x: auto; scrollbar-width: none; }
.k-chips::-webkit-scrollbar { display: none; }
.k-chips .qa-nav-cat-list, .k-chips ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 2px 0; white-space: nowrap; }
.k-chips li { margin: 0; }
.k-chips ul ul { display: none; }
.k-chips a {
	display: inline-block; padding: 6px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
	color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none !important; transition: all .15s;
}
.k-chips a:hover { border-color: var(--brand-2); color: var(--brand); }
.k-chips a.qa-nav-cat-selected { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.k-chips .qa-nav-cat-note, .k-chips .qa-nav-cat-clear { display: none; }

.qa-nav-sub { margin: 0 0 18px; overflow-x: auto; scrollbar-width: none; }
.qa-nav-sub::-webkit-scrollbar { display: none; }
.qa-nav-sub ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.qa-nav-sub li { margin: 0; }
.qa-nav-sub a { display: inline-block; padding: 7px 16px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none !important; background: transparent; border: 1px solid transparent; }
.qa-nav-sub a:hover { background: var(--bg-2); color: var(--ink); }
.qa-nav-sub a.qa-nav-sub-selected { background: var(--ink); color: var(--bg); }
.qa-nav-sub-clear { display: none; }

/* ================================================================
   ৭. ফিড কার্ড
   ================================================================ */
.qa-q-list { display: block; }
.k-card {
	display: flex; gap: 20px; align-items: flex-start;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 20px 22px; margin: 0 0 14px; box-shadow: var(--shadow-1);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.k-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.k-card-body { flex: 1; min-width: 0; }

.k-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 8px; }
.k-card-avatar { display: inline-flex; }
.k-card-avatar img, .k-card-avatar .qa-avatar-image { width: 28px !important; height: 28px !important; border-radius: 50%; object-fit: cover; display: block; }
.k-card-who { display: inline-flex; align-items: baseline; gap: 5px; }
.k-card-who-pad { display: none; }
.k-card-who-data, .k-card-who-data a { color: var(--ink); font-weight: 600; text-decoration: none; }
.k-card-who-data a:hover { color: var(--brand); }
.k-card-who-title { display: none; }
.k-card-who-points { font-size: 12px; color: var(--ink-3); }
.k-card-who-points-pad { display: inline; }
.k-dot { opacity: .6; }
.k-what { color: var(--ink-2); }
.k-cat a, .qa-category-link {
	display: inline-block; background: var(--brand-soft); color: var(--brand); padding: 1px 10px; border-radius: 999px;
	font-size: 12.5px; font-weight: 600; text-decoration: none !important; line-height: 1.7;
}
.k-cat a:hover, .qa-category-link:hover { background: var(--brand); color: var(--on-brand); }

.k-card-title { font-family: var(--read); font-weight: 400; font-size: 22px; line-height: 1.45; margin: 0 0 6px; }
.k-card-title a { color: var(--ink); text-decoration: none; }
.k-card-title a:hover { color: var(--brand); }
.k-closed { display: inline-flex; vertical-align: middle; margin-right: 6px; color: var(--ink-3); }
.k-closed .k-ico { width: 16px; height: 16px; }
.k-card-excerpt { color: var(--ink-2); font-size: 15.5px; line-height: 1.8; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.k-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.k-stat { display: inline-flex; align-items: center; gap: 5px; }
.k-stat .k-ico { width: 16px; height: 16px; }
.k-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.k-tag { margin: 0; }
.k-tag a, .qa-tag-link {
	display: inline-block; padding: 1px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
	color: var(--ink-2); font-size: 12.5px; text-decoration: none !important; line-height: 1.7;
}
.k-tag a:hover, .qa-tag-link:hover { border-color: var(--accent); color: var(--accent); }

.k-card-thumb { flex: 0 0 148px; height: 104px; border-radius: 14px; overflow: hidden; background: var(--bg-2); align-self: center; }
.k-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.k-card:hover .k-card-thumb img { transform: scale(1.05); }

.qa-q-item-buttons { margin-top: 10px; }

/* ================================================================
   ৮. সাইডবার
   ================================================================ */
.k-side { position: sticky; top: calc(var(--header-h) + 18px); display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - var(--header-h) - 30px); overflow-y: auto; scrollbar-width: thin; }
.k-side-card, .k-side .qa-widget-side, .k-side .qa-nav-cat {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow-1);
}
.k-side-cta h3 { font-family: var(--read); font-weight: 400; font-size: 21px; margin: 0 0 6px; }
.k-side-cta p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 14px; }
.k-side-card .k-link { display: block; text-align: center; margin-top: 12px; font-size: 14px; }
.k-side-me .k-link { margin-top: 10px; font-weight: 600; }
.k-side .qa-widget-side h2, .k-side .qa-widget-side h3, .k-side h2 { font-size: 16px; margin: 0 0 10px; }
.k-side ul { padding-left: 0; list-style: none; margin: 0; }
.k-side li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.k-side li:last-child { border-bottom: 0; }
.k-side .qa-feed, .k-side .qa-feed a { font-size: 13px; color: var(--ink-3); }

/* ================================================================
   ৯. লেখা পড়ার পাতা
   ================================================================ */
.k-article { position: relative; }
.k-author-bar { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.k-author-avatar img, .k-author-avatar .qa-avatar-image { width: 52px !important; height: 52px !important; border-radius: 50%; object-fit: cover; display: block; }
.k-author-meta { flex: 1; min-width: 0; }
.k-author-line { font-weight: 600; font-size: 16.5px; line-height: 1.4; }
.k-author-who { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.k-author-who-pad { display: none; }
.k-author-who-data a { color: var(--ink); text-decoration: none; }
.k-author-who-data a:hover { color: var(--brand); }
.k-author-who-points, .k-author-who-title { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.k-author-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13.5px; color: var(--ink-3); }
.k-fav-form { margin: 0; }
.k-bookmark {
	width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2);
	display: grid; place-items: center; padding: 0; transition: all .15s;
}
.k-bookmark:hover { border-color: var(--accent); color: var(--accent); }
.k-bookmark.is-on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.qa-favoriting { display: inline-block; }

.qa-q-view-content, .qa-a-item-content, .qa-post-content { font-family: var(--read); font-size: var(--read-fs); line-height: 2.05; color: var(--ink); }
.qa-q-view-content { margin-bottom: 30px; }
.qa-post-content p { margin: 0 0 1.25em; }
.qa-post-content h1, .qa-post-content h2, .qa-post-content h3, .qa-post-content h4 { font-family: var(--read); font-weight: 400; line-height: 1.5; margin: 1.6em 0 .6em; }
.qa-post-content h2 { font-size: 1.45em; }
.qa-post-content h3 { font-size: 1.25em; }
.qa-post-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.qa-post-content img { border-radius: var(--r); display: block; margin: 1.2em auto; height: auto; }
.qa-post-content blockquote {
	margin: 1.4em 0; padding: 6px 20px; border-left: 4px solid var(--accent); background: var(--surface-2);
	border-radius: 0 var(--r) var(--r) 0; color: var(--ink-2); font-style: normal;
}
.qa-post-content pre, .qa-post-content code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .85em; background: var(--bg-2); border-radius: 8px; }
.qa-post-content code { padding: 2px 6px; }
.qa-post-content pre { padding: 14px 16px; overflow-x: auto; line-height: 1.6; }
.qa-post-content table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; }
.qa-post-content th, .qa-post-content td { border: 1px solid var(--line-2); padding: 8px 12px; }
.qa-post-content hr { border: 0; text-align: center; margin: 2em 0; }
.qa-post-content hr::after { content: "◆ ◆ ◆"; color: var(--ink-3); letter-spacing: .6em; font-size: 12px; }
.qa-post-content ul, .qa-post-content ol { padding-left: 1.6em; margin: 0 0 1.25em; }
.qa-post-content li { margin-bottom: .4em; }
.qa-post-content iframe, .qa-post-content video { width: 100%; border-radius: var(--r); }

.qa-q-view-tag-list, .qa-q-item-tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.qa-q-view-tag-item { margin: 0; }
.qa-q-view-tag-item a { font-size: 14px; padding: 3px 14px; }

.k-actionbar {
	position: sticky; bottom: 18px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 10px;
	background: var(--header-bg); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 8px 6px 10px; box-shadow: var(--shadow-2); margin: 0 0 22px;
}
.k-vote-form { margin: 0; }
.qa-voting { display: inline-flex; align-items: center; gap: 4px; }
.qa-voting button {
	width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); padding: 0;
	display: grid; place-items: center; transition: background .15s, color .15s, transform .12s;
}
.qa-voting button:hover:not([disabled]) { background: var(--accent-soft); color: var(--accent); }
.qa-voting button:active:not([disabled]) { transform: scale(.88); }
.qa-voting button[disabled] { opacity: .45; cursor: default; }
.qa-voting button .k-ico { width: 21px; height: 21px; }
.qa-voted-up-button { color: var(--accent) !important; background: var(--accent-soft) !important; }
.qa-voted-down-button { color: var(--brand) !important; background: var(--brand-soft) !important; }
.k-count { min-width: 1.4em; font-weight: 600; font-size: 15px; color: var(--ink-2); text-align: center; }
.k-count-down { margin-left: -2px; }
.k-tools { display: flex; align-items: center; gap: 2px; }
.k-tool { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.k-tool:hover { background: var(--bg-2); color: var(--ink); }
.k-tool .k-ico { width: 19px; height: 19px; }

/* উত্তর/মন্তব্যের ভোট ছোট */
.qa-a-list .qa-voting button, .qa-c-list .qa-voting button { width: 34px; height: 34px; }
.qa-a-list .qa-voting .k-ico { width: 18px; height: 18px; }

/* ফোকাস মোড */
html.k-focus .k-header, html.k-focus .k-bottom, html.k-focus .k-footer, html.k-focus .k-totop { display: none !important; }
html.k-focus .k-shell { padding-top: 40px; }
html.k-focus .k-tool-focus { color: var(--accent); background: var(--accent-soft); }

/* ================================================================
   ১০. উত্তর, মন্তব্য ও Q2A বাটন
   ================================================================ */
.qa-main h2 { font-size: 20px; margin: 30px 0 14px; }
.qa-a-list-title, .qa-a-list h2 { font-family: var(--ui); }

.qa-a-list-item {
	position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 20px 22px; margin: 0 0 14px; box-shadow: var(--shadow-1);
}
.qa-a-list-item.qa-a-list-item-selected, .qa-a-list-item-selected { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(43, 138, 62, .14); }
.qa-a-item-stats, .qa-a-item-selection { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.qa-a-item-content { font-size: calc(var(--read-fs) - 1px); line-height: 1.95; }
.qa-a-item-meta, .qa-c-item-meta, .qa-q-view-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }
.qa-a-item-who a, .qa-c-item-who a, .qa-q-view-who a { color: var(--ink); font-weight: 600; text-decoration: none; }
.qa-a-item-avatar-meta, .qa-c-item-avatar-meta { display: flex; align-items: center; gap: 10px; }
.qa-avatar-image { border-radius: 50%; object-fit: cover; }
.qa-a-selection button, .qa-a-select-button, .qa-a-unselect-button, .qa-a-selected {
	border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 13px; padding: 3px 12px;
}
.qa-a-selected { border-color: var(--ok); color: var(--ok); }

.qa-c-list { margin: 18px 0 0; padding: 0; }
.qa-c-list-item { padding: 12px 0 12px 16px; border-left: 2px solid var(--line-2); margin: 0 0 6px; }
.qa-c-item-content { font-size: 15.5px; line-height: 1.8; color: var(--ink); font-family: var(--ui); }
.qa-c-item-meta { margin-top: 4px; font-size: 12.5px; }
.qa-c-form { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin-top: 12px; }

.qa-q-view-buttons, .qa-a-item-buttons, .qa-c-item-buttons, .qa-q-item-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.qa-q-view-buttons form, .qa-a-item-buttons form { margin: 0; }

input[type="submit"], input[type="button"], button.qa-form-tall-button, button.qa-form-wide-button,
.qa-form-tall-button, .qa-form-wide-button {
	display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 22px;
	background: var(--brand); color: var(--on-brand); border: 0; border-radius: 999px; font: 600 15px var(--ui);
	cursor: pointer; transition: background .15s, transform .12s;
}
.qa-form-tall-button:hover, .qa-form-wide-button:hover, input[type="submit"]:hover { background: var(--brand-2); }
.qa-form-tall-button:active, .qa-form-wide-button:active { transform: scale(.97); }
.qa-form-tall-button-ask, .qa-form-tall-button-answer, .qa-form-tall-button-comment, .qa-form-tall-button-save, .qa-form-tall-button-login, .qa-form-tall-button-register { background: var(--accent); color: var(--on-accent); }
.qa-form-tall-button-ask:hover, .qa-form-tall-button-answer:hover, .qa-form-tall-button-comment:hover, .qa-form-tall-button-save:hover, .qa-form-tall-button-login:hover, .qa-form-tall-button-register:hover { background: var(--accent-2); }
.qa-form-tall-button-cancel, .qa-form-wide-button-cancel { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }

.qa-form-light-button, button.qa-form-light-button {
	height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
	color: var(--ink-2); font: 500 13.5px var(--ui); cursor: pointer; transition: all .15s;
}
.qa-form-light-button:hover { border-color: var(--brand-2); color: var(--brand); background: var(--brand-soft); }
.qa-form-light-button-answer, .qa-form-light-button-comment { background: var(--brand-soft); color: var(--brand); border-color: transparent; font-weight: 600; }
.qa-form-light-button-flag:hover, .qa-form-light-button-hide:hover, .qa-form-light-button-delete:hover, .qa-form-light-button-reject:hover { color: var(--danger); border-color: var(--danger); background: transparent; }

/* ================================================================
   ১১. ফর্ম (লগইন, লেখা, সেটিংস ইত্যাদি)
   ================================================================ */
input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="url"], input[type="search"], input:not([type]), select, textarea {
	width: 100%; max-width: 100%; padding: 11px 14px; background: var(--surface); color: var(--ink);
	border: 1px solid var(--line-2); border-radius: 12px; font: 400 16px var(--ui); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; line-height: 1.8; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand-2); box-shadow: 0 0 0 3px var(--brand-soft); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--brand); vertical-align: middle; margin-right: 6px; }
input[type="file"] { width: auto; border: 1px dashed var(--line-2); padding: 10px; border-radius: 12px; background: var(--surface-2); }
.qa-search-field { box-shadow: none !important; }

.qa-form-tall-table, .qa-form-tall-table tbody, .qa-form-tall-table tr, .qa-form-tall-table td { display: block; width: 100%; }
.qa-form-tall-table { margin: 0 0 14px; border: 0; }
.qa-form-tall-label { font-weight: 600; font-size: 15px; color: var(--ink); padding: 14px 0 6px !important; }
.qa-form-tall-data { padding: 0 !important; }
.qa-form-tall-note, .qa-form-wide-note { font-size: 13px; color: var(--ink-3); padding: 4px 0 0 !important; }
.qa-form-tall-error, .qa-form-wide-error, .qa-error { color: var(--danger); font-size: 14px; padding: 4px 0; }
.qa-error { background: rgba(201, 42, 42, .08); border: 1px solid rgba(201, 42, 42, .3); border-radius: var(--r-sm); padding: 10px 14px; margin: 0 0 14px; }
.qa-form-tall-ok, .qa-form-wide-ok, .qa-form-tall-success, .qa-form-wide-success { color: var(--ok); background: rgba(43, 138, 62, .1); border: 1px solid rgba(43, 138, 62, .3); border-radius: var(--r-sm); padding: 10px 14px; margin: 0 0 14px; }
.qa-form-tall-buttons, .qa-form-wide-buttons { padding: 10px 0 0 !important; }
.qa-form-tall-buttons .qa-form-tall-button { margin-right: 8px; }

.qa-form-wide-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.qa-form-wide-label { text-align: right; padding: 10px 14px 10px 0; font-weight: 600; font-size: 14.5px; vertical-align: top; white-space: nowrap; }
.qa-form-wide-data { padding: 6px 0; }
.qa-form-wide-spacer { height: 6px; }
.qa-form-wide-title, .qa-form-tall-title, .qa-form-tall-table .qa-form-tall-label[colspan] { font-size: 18px; }

/* লেখার ফর্ম: মিডিয়াম-স্টাইল বড় শিরোনাম */
.qa-template-ask .k-title { display: none; }
.qa-template-ask #title, .qa-template-ask input[name="title"] {
	font-family: var(--read); font-size: clamp(26px, 4vw, 38px); line-height: 1.4; border: 0; border-bottom: 2px solid var(--line);
	border-radius: 0; background: transparent; padding: 12px 0; box-shadow: none !important;
}
.qa-template-ask #title:focus, .qa-template-ask input[name="title"]:focus { border-bottom-color: var(--accent); }
.qa-template-ask textarea { min-height: 360px; font-family: var(--read); font-size: 19px; line-height: 2; }
.qa-template-ask .qa-form-tall-label { color: var(--ink-3); font-size: 13.5px; text-transform: none; }
.cke, .cke_chrome { border-radius: 12px !important; border-color: var(--line-2) !important; overflow: hidden; }

/* ================================================================
   ১২. পেজিনেশন, নোটিস, টেবিল, র‍্যাংকিং
   ================================================================ */
.qa-page-links { margin: 26px 0 6px; }
.qa-page-links-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.qa-page-links-item { margin: 0; }
.qa-page-links-item a, .qa-page-links-item .qa-page-selected, .qa-page-links-item span {
	display: inline-flex; min-width: 40px; height: 40px; padding: 0 12px; align-items: center; justify-content: center;
	border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 500; text-decoration: none !important;
}
.qa-page-links-item a:hover { border-color: var(--brand-2); color: var(--brand); }
.qa-page-links-item .qa-page-selected, .qa-page-selected { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.qa-page-links-clear { display: none; }
.qa-suggest-next { margin: 24px 0; padding: 16px 20px; background: var(--brand-soft); border-radius: var(--r); color: var(--brand); }

.qa-notice { background: var(--accent-soft); color: var(--ink); border-bottom: 1px solid var(--line-2); padding: 10px 20px; text-align: center; font-size: 15px; }
.qa-notice a { font-weight: 600; }
.qa-notice-close-button { float: right; background: transparent; border: 0; color: var(--ink-3); font-size: 18px; }

table { border-collapse: collapse; }
.qa-ranking, .qa-ranking-table { width: 100%; }
.qa-ranking-table { border-collapse: separate; border-spacing: 0 8px; }
.qa-ranking-table td { background: var(--surface); padding: 10px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qa-ranking-table td:first-child { border-left: 1px solid var(--line); border-radius: 14px 0 0 14px; }
.qa-ranking-table td:last-child { border-right: 1px solid var(--line); border-radius: 0 14px 14px 0; }
.qa-ranking-table a { color: var(--ink); font-weight: 600; text-decoration: none; }
.qa-ranking-table a:hover { color: var(--brand); }
.qa-ranking-count { color: var(--ink-3); font-size: 13px; }
.qa-ranking-spacer { display: none; }

/* অ্যাডমিন */
.k-layout-admin .qa-form-wide-table td, .k-layout-admin .qa-form-wide-table th { padding: 8px 10px; }
.k-layout-admin .qa-q-list-item, .k-layout-admin .k-card { transform: none; }
.qa-widget-main, .qa-widget-full { margin-bottom: 18px; }

/* প্রোফাইল */
.qa-part-form-profile, .qa-main .qa-form-wide-table { background: transparent; }
.qa-user-link, .qa-user-link:hover { color: var(--ink); font-weight: 600; }

/* ================================================================
   ১৩. ফুটার, নিচের বার, উপরে-যান বাটন
   ================================================================ */
.k-footer { border-top: 1px solid var(--line); padding: 28px 20px 36px; text-align: center; color: var(--ink-3); font-size: 14px; background: var(--bg-2); }
.k-footer-in { max-width: 1180px; margin: 0 auto; }
.k-footer-brand { font-family: var(--read); font-size: 17px; color: var(--ink-2); margin-bottom: 12px; }
.k-footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; list-style: none; margin: 0 0 12px; padding: 0; }
.k-footer li { margin: 0; }
.k-footer a { color: var(--ink-2); }
.k-footer .qa-nav-footer-clear { display: none; }
.qa-attribution { font-size: 12.5px; color: var(--ink-3); }

.k-bottom { display: none; }
.k-totop {
	position: fixed; right: 20px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
	background: var(--surface); color: var(--ink); display: grid; place-items: center; padding: 0; box-shadow: var(--shadow-2);
	opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; z-index: 70;
}
.k-totop.show { opacity: 1; pointer-events: auto; transform: none; }

/* ================================================================
   ১৪. রেসপন্সিভ
   ================================================================ */
@media (max-width: 1060px) {
	.k-shell-feed { grid-template-columns: minmax(0, 1fr); }
	.k-shell-feed .k-center { max-width: 760px; margin: 0 auto; }
	.k-side { position: static; max-height: none; overflow: visible; max-width: 760px; margin: 0 auto; width: 100%; }
}

@media (max-width: 900px) {
	:root { --header-h: 56px; }
	.k-header-in { flex-wrap: wrap; padding: 0 14px; gap: 0 8px; }
	.k-logo-wrap { order: 1; flex: 1; min-height: var(--header-h); display: flex; align-items: center; }
	.k-actions { order: 2; min-height: var(--header-h); }
	.k-search-toggle { display: grid; }
	.k-btn-write { display: none; }
	.k-nav-wrap { order: 3; flex: 0 0 100%; padding-bottom: 8px; margin: 0 -2px; }
	.k-search { order: 4; display: none; flex: 0 0 100%; width: 100% !important; margin-bottom: 10px; }
	html.k-search-open .k-search { display: flex; }
	.k-wrapper { padding: 0 14px; }
	.k-shell { padding-top: 16px; gap: 22px; }
	.k-bottom {
		display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
		background: var(--header-bg); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
		border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
	}
	.k-b-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: transparent; color: var(--ink-3); font-size: 11.5px; padding: 4px 0; text-decoration: none !important; }
	.k-b-item .k-ico { width: 23px; height: 23px; }
	.k-b-item:active { color: var(--brand); }
	.k-b-fab { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; margin-top: -22px; box-shadow: 0 8px 20px rgba(232, 89, 12, .4); border: 4px solid var(--bg); }
	.k-b-fab .k-ico { width: 26px; height: 26px; }
	.k-b-write { padding: 0; }
	body { padding-bottom: 78px; }
	.k-totop { bottom: 88px; right: 14px; }
	.k-actionbar { bottom: calc(76px + env(safe-area-inset-bottom)); }
	.k-hero { padding: 28px 22px 26px; border-radius: 22px; }
	.k-hero-art { display: none; }
	.k-chips { margin: 0 -14px 12px; padding: 0 14px; }
}

@media (max-width: 600px) {
	body { font-size: 15.5px; }
	.k-btn-login, .k-btn-register { display: none; }
	.k-card { padding: 16px; gap: 14px; border-radius: 16px; }
	.k-card-title { font-size: 19px; }
	.k-card-excerpt { font-size: 14.5px; -webkit-line-clamp: 2; }
	.k-card-thumb { flex-basis: 84px; height: 84px; border-radius: 12px; }
	.k-tags { margin-left: 0; width: 100%; }
	.k-stat-time { display: none; }
	.k-composer-btn { padding: 9px 14px; }
	.k-composer-btn span { display: none; }
	.k-author-bar { flex-wrap: wrap; }
	.k-tool span { display: none; }
	.k-tool { padding: 0 10px; }
	.k-shell-auth .k-center { padding: 22px 18px 10px; border-radius: 18px; }
	.qa-a-list-item { padding: 16px; }
	.qa-form-wide-label { text-align: left; display: block; white-space: normal; padding-bottom: 2px; }
	.qa-form-wide-table, .qa-form-wide-table tbody, .qa-form-wide-table tr, .qa-form-wide-table td { display: block; width: 100%; }
}

@media (min-width: 901px) {
	.k-header-in { padding-left: 24px; padding-right: 24px; }
}

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

@media print {
	.k-header, .k-side, .k-bottom, .k-footer, .k-actionbar, .k-totop, .qa-q-view-buttons, .qa-c-form, .k-chips { display: none !important; }
	body { background: #fff; color: #000; }
	.k-shell { display: block; padding: 0; }
	.qa-q-view-content { font-size: 12pt; }
}

/* টোস্ট বার্তা */
.k-toast {
	position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg);
	padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none;
	transition: opacity .2s, transform .2s; z-index: 120; box-shadow: var(--shadow-2);
}
.k-toast.show { opacity: 1; transform: translate(-50%, 0); }


/* ================================================================
   নোটিফিকেশন (Q2A Pro On-Site Notifications)
   ================================================================ */
.k-notif { position: relative; display: inline-flex; align-items: center; }
.k-notif .nfyWrap { position: relative; display: inline-block; margin: 0; }
.k-notif .nfyWrap > a, .k-notif .nfyWrap > span, .k-notif .nfyIcon, .k-notif #nfyOpenClose {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); text-decoration: none; cursor: pointer;
}
.k-notif .nfyWrap > a:hover, .k-notif .nfyIcon:hover { background: var(--bg-2); }
.k-notif .nfyWrap .nfyContainer, .k-notif .nfyWrap .nfyContainerBg, .k-notif .nfyWrap [class*="nfyContainer"] {
	position: absolute !important; right: 0; left: auto; top: calc(100% + 10px); z-index: 95;
	width: min(360px, calc(100vw - 24px)); max-height: 70vh; overflow-y: auto;
	background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2);
}
.k-notif .nfyWrap a { color: var(--ink); }
.k-notif .nfyWrap .nfyItemLink:hover, .k-notif .nfyWrap .nfyItem:hover { background: var(--bg-2); }
.k-notif .nfyCount, .k-notif .nfyNewTag, .k-notif .nfyCounter, .k-notif [class*="nfyCount"] {
	background: var(--accent); color: var(--on-accent); border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1; padding: 3px 6px;
}
.k-notif-fallback { position: relative; }
.k-notif-badge { position: absolute; top: 2px; right: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }

/* ================================================================
   হোম: লেখার তালিকা
   ================================================================ */
.k-feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 14px; }
.k-feed-head h1 { margin: 0; font-size: 22px; }
.k-feed-head span { color: var(--ink-3); font-size: 13.5px; }
.k-card .k-byline .k-card-avatar img, .k-card .k-byline .qa-avatar-image { width: 34px !important; height: 34px !important; }
.k-card-who-data, .k-card-who-data a { font-size: 15px; }
.k-feed .k-card-title, .k-body.k-home .k-card-title { font-size: 24px; }
.k-readtag { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 12.5px; }
.k-readtag .k-ico { width: 14px; height: 14px; }

/* ================================================================
   লেখক প্রোফাইল
   ================================================================ */
.k-shell-page .k-center.k-profile-wide, .k-profile .k-shell-page .k-center { max-width: 960px; }
.k-pf { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; margin-bottom: 20px; }
.k-pf-cover { height: 170px; background: linear-gradient(120deg, hsl(var(--h) 55% 38%), hsl(calc(var(--h) + 50) 60% 52%)); position: relative; }
.k-pf-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.22), transparent 45%), repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px); }
.k-pf-main { padding: 0 28px 24px; display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: flex-end; margin-top: -58px; position: relative; }
.k-pf-av { width: 124px; height: 124px; border-radius: 50%; border: 5px solid var(--surface); background: var(--brand-soft); overflow: hidden; flex: none; box-shadow: var(--shadow-1); display: grid; place-items: center; }
.k-pf-av img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.k-pf-av .k-initial { font-size: 48px; }
.k-pf-id { flex: 1; min-width: 220px; padding-top: 62px; }
.k-pf-name { margin: 0; font-size: 30px; line-height: 1.25; color: var(--ink); }
.k-pf-sub { color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.k-pf-acts { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 62px; align-items: center; }
.k-pf-acts form { margin: 0; }
.k-pf-acts .qa-favorite-button, .k-pf-acts .qa-unfavorite-button, .k-pf-acts button[type=submit] { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 15px; }
.k-pf-acts .qa-unfavorite-button { background: transparent; color: var(--ink); }
.k-pf-bio { padding: 0 28px 6px; color: var(--ink-2); font-size: 16.5px; line-height: 1.9; font-family: var(--read); }
.k-pf-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 8px 28px 20px; color: var(--ink-3); font-size: 14px; }
.k-pf-meta span { display: inline-flex; align-items: center; gap: 6px; }
.k-pf-meta a { color: var(--brand); text-decoration: none; }
.k-pf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); border-top: 1px solid var(--line); }
.k-pf-stat { padding: 16px 12px; text-align: center; border-right: 1px solid var(--line); }
.k-pf-stat:last-child { border-right: 0; }
.k-pf-stat b { display: block; font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.k-pf-stat span { font-size: 13px; color: var(--ink-3); }
.k-pf-sec { margin: 26px 0 12px; font-size: 20px; display: flex; align-items: center; justify-content: space-between; }
.k-pf-sec a { font-size: 14px; color: var(--brand); text-decoration: none; }
.k-pf-list { display: grid; gap: 10px; margin-bottom: 18px; }
.k-pf-item { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; text-decoration: none !important; transition: border-color .15s, transform .15s; }
.k-pf-item:hover { border-color: var(--brand-2); transform: translateY(-1px); }
.k-pf-item h3 { margin: 0 0 6px; font-family: var(--read); font-weight: 400; font-size: 20px; line-height: 1.5; color: var(--ink); }
.k-pf-item div { font-size: 13px; color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.k-pf-empty { color: var(--ink-3); padding: 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); }
@media (max-width: 600px) {
	.k-pf-cover { height: 120px; }
	.k-pf-main { padding: 0 18px 18px; margin-top: -48px; }
	.k-pf-av { width: 98px; height: 98px; }
	.k-pf-id, .k-pf-acts { padding-top: 0; }
	.k-pf-name { font-size: 25px; }
	.k-pf-bio, .k-pf-meta { padding-left: 18px; padding-right: 18px; }
}

.k-card-who-points, .k-card-who-points-pad, .k-author-who-points, .k-author-who-points-pad { display: none !important; }
.k-pts { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft); color: var(--accent-2); border-radius: 999px; padding: 0 9px; font-size: 12px; font-weight: 600; line-height: 1.7; }

/* ---------- সার্চ ---------- */
.k-search { position: relative; }
.k-search-type { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px; margin-right: 4px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink-2); font-size: 13px; }
.k-search-type:hover { color: var(--brand); }
.k-search-type .k-ico { width: 14px; height: 14px; transition: transform .2s; }
.k-search.is-menu .k-search-type .k-ico { transform: rotate(180deg); }
.k-search-panel { display: none; position: absolute; right: 0; top: calc(100% + 10px); width: min(340px, calc(100vw - 24px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); padding: 14px; z-index: 95; }
.k-search.is-menu .k-search-panel { display: block; animation: k-pop .14s ease-out; }
.k-sp-title { font-size: 13px; font-weight: 600; color: var(--ink-3); margin: 0 0 8px; }
.k-sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.k-sp-opt { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.k-sp-opt:hover { background: var(--bg-2); }
.k-sp-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.k-sp-opt input, .k-sp-new input { accent-color: var(--brand); margin: 0; }
.k-sp-new { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); padding: 4px 2px; cursor: pointer; }
.k-sp-link { display: block; margin-top: 8px; text-align: center; padding: 8px; border-radius: 10px; background: var(--bg-2); color: var(--brand) !important; font-size: 14px; text-decoration: none !important; }
.k-sp-err { display: none; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); font-size: 13.5px; }
.k-search.is-error .k-sp-err { display: block; }
@media (max-width: 900px) { .k-search-panel { right: auto; left: 0; } }
