:root {
	--accent: #0344af;
	--accent-soft: #FBE3DA;
	--ink: #141518;
	--ink-2: #2A2824;
	--muted: #6B6760;
	--line: #E6E2DB;
	--line-2: #F1EEE9;
	--bg: #F5F3EF;
	--card: #FFFFFF;
	--ph: #DCD6CC;
	--dark-2: #23252A;
	--radius: 16px;
	--radius-lg: 20px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Inter Tight", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }

button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.015em; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.fa-solid, .fa-regular, .fa-brands { line-height: 1; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	transition: background .15s, color .15s, transform .15s;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2E3036; color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #B8320A; color: #fff; }
.btn--outline { background: transparent; border: 2px solid var(--ink); color: var(--ink); height: 52px; padding: 0 32px; font-weight: 700; font-size: 15px; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

.icon-btn {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--ink);
	font-size: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	transition: background .15s;
}
.icon-btn:hover { background: #EDE9E3; }
.icon-btn--box { border: 1px solid var(--line); background: var(--card); font-size: 16px; color: var(--muted); }
.icon-btn--box.is-active { color: var(--ink); border-color: var(--ink); }

.badge {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 999px;
}
.badge--accent { background: var(--accent); color: #fff; }
.badge a { color: inherit; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.meta i { margin-right: 6px; }
.meta a { color: var(--muted); }

.ph {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ph);
	color: #8C857A;
	font-size: 26px;
}
.ph--lg { font-size: 44px; }

.ad {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px dashed #CFC9BF;
	border-radius: var(--radius);
	background: #FAF8F5;
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	overflow: hidden;
}
.ad--wide { min-height: 96px; }
.ad--box { aspect-ratio: 300 / 250; }

.topbar { background: var(--ink); color: #E8E5E0; font-size: 13px; }
.topbar__in { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__left { display: flex; align-items: center; gap: 20px; }
.topbar__left i { margin-right: 8px; color: #FF8A5C; }
.topbar__social { display: flex; gap: 18px; }
.topbar__social a { color: #E8E5E0; }
.topbar__social a:hover { color: #FF8A5C; }

.header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 21, 24, .08); }
.header__in { height: 84px; display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo__mark {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--accent);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.logo__sub { font-size: 11px; letter-spacing: .22em; color: var(--muted); margin-top: 4px; font-weight: 600; }
.logo--light, .logo--light:hover { color: #fff; }

.nav { display: flex; gap: 26px; flex: 1; font-size: 15px; font-weight: 600; min-width: 0; }
.nav a { position: relative; padding: 30px 0; white-space: nowrap; }
.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--accent);
	transform: scaleX(0);
	transition: transform .2s;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
#q-menu-open { display: none; }

.search-bar { display: none; border-top: 1px solid var(--line); background: var(--card); }
.search-bar.is-open { display: block; }
.search-form { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.search-form > i { color: var(--muted); }
.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	border: 0;
	outline: 0;
	font: 500 18px var(--font);
	background: transparent;
	color: var(--ink);
}

.ticker { background: var(--card); border-bottom: 1px solid var(--line); }
.ticker__in { height: 48px; display: flex; align-items: center; gap: 16px; overflow: hidden; }
.ticker__label {
	flex: none;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	padding: 7px 12px;
	border-radius: 8px;
}
.ticker__label i { margin-right: 6px; }
.ticker__viewport { flex: 1; min-width: 0; overflow: hidden; }
.ticker__track { display: flex; gap: 48px; width: max-content; white-space: nowrap; font-size: 14px; font-weight: 500; animation: q-ticker 45s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__item b { color: var(--accent); margin-right: 8px; }
@keyframes q-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(20, 21, 24, .5); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(340px, 88vw);
	background: var(--card);
	padding: 16px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform .25s;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head .logo__name { font-size: 24px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line-2); font-weight: 600; font-size: 16px; }
.drawer__nav i { width: 20px; text-align: center; color: var(--accent); }
.drawer__social { display: flex; gap: 10px; margin-top: auto; }
.drawer__social a { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; }

.modal { position: fixed; inset: 0; z-index: 110; background: rgba(20, 21, 24, .55); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: 100%; max-width: 400px; background: var(--card); border-radius: var(--radius-lg); padding: 28px; max-height: 90vh; overflow-y: auto; }
.modal__close { position: absolute; top: 12px; right: 12px; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); flex: 1; min-width: 0; }
.field input, .field textarea, .field select {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #FAF8F5;
	font: 500 15px var(--font);
	color: var(--ink);
	outline: 0;
	transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-form__title { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.login-form__links { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.login-form__links a { color: var(--accent); }

.account__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.account__avatar { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; background: var(--bg); }
.account__name { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.account__links { display: flex; flex-direction: column; }
.account__links a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line-2); font-weight: 600; }
.account__links i { width: 18px; text-align: center; color: var(--muted); }
.account__logout { color: var(--accent); }

.main { padding-top: 28px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 40px; }

.hero { display: flex; flex-wrap: wrap; gap: 28px; }
.hero__main { flex: 999 1 560px; min-width: 0; }
.hero__side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; }
.hero-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ph); }
.hero-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hero-card:hover .hero-card__thumb img { transform: scale(1.03); }
.hero-card__cat { position: absolute; left: 20px; top: 20px; }
.hero-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.hero-card__title { margin: 0; font-size: 42px; font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
.hero-card__lead { margin: 0; font-size: 17px; line-height: 1.55; color: #4A4640; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.side-card { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; gap: 14px; align-items: center; }
.side-card__thumb { flex: none; width: 112px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--ph); }
.side-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.side-card__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.28; }
.side-card__time { font-size: 12px; color: var(--muted); }
.side-card__time i { margin-right: 6px; }
.side-card:hover .side-card__title { color: var(--accent); }

.card__cat { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
.card__cat a { color: inherit; }

.blogs { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.blogs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.blogs__head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.blogs__head h2 i { color: #FF8A5C; margin-right: 10px; }
.blogs__head a { color: #E8E5E0; font-size: 14px; font-weight: 600; }
.blogs__head a i { margin-left: 6px; }
.blogs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.blog-card { display: flex; gap: 16px; align-items: flex-start; background: var(--dark-2); border-radius: var(--radius); padding: 18px; color: #fff; transition: background .15s; }
.blog-card:hover { background: #2E3036; color: #fff; }
.blog-card__avatar { flex: none; width: 52px; height: 52px; border-radius: 999px; overflow: hidden; background: #3A3D44; display: flex; align-items: center; justify-content: center; color: #FFB08F; font-size: 18px; }
.blog-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.blog-card__author { font-size: 13px; font-weight: 600; color: #FFB08F; }
.blog-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.3; }

.layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.content { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sidebar { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }

.content__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tabs { display: flex; gap: 6px; background: var(--card); border: 1px solid var(--line); padding: 5px; border-radius: 14px; }
.tabs__btn { height: 36px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: #4A4640; font-weight: 600; font-size: 14px; transition: background .15s, color .15s; }
.tabs__btn.is-active { background: var(--accent); color: #fff; }
.view-switch { display: flex; gap: 6px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.news-grid > .pager, .news-grid > .notice, .news-grid > .story, .news-grid > div:not(.card) { grid-column: 1 / -1; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 30px rgba(20, 21, 24, .08); transform: translateY(-2px); }
.card__thumb { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ph); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__badge { position: absolute; left: 12px; top: 12px; font-size: 11px; padding: 5px 10px; }
.card__body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; flex: 1; }
.card:hover .card__title a { color: var(--accent); }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #EFECE7; padding-top: 10px; font-size: 12px; color: var(--muted); }
.card__meta i { margin-right: 6px; }
.card__actions { display: flex; align-items: center; gap: 10px; }
.card__actions a { color: var(--muted); }
.card__fav { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 8px; }
.card__fav i { margin: 0; }
.card__fav:hover { background: var(--bg); color: var(--accent); }
.card__fav.is-saved { color: var(--accent); }
.card__edit { font-size: 12px; color: var(--muted); }
.card__edit a { color: var(--muted); }

.news-grid.is-list { grid-template-columns: 1fr; gap: 14px; }
.news-grid.is-list .card { flex-direction: row; }
.news-grid.is-list .card__thumb { flex: none; width: 260px; aspect-ratio: auto; min-height: 170px; }
.news-grid.is-list .card__title { font-size: 20px; }

.load-more { display: flex; justify-content: center; }

.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.box--pad { padding: 20px; }
.box__head { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #EFECE7; }
.box__head h2 { margin: 0; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.box__title { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.box__title i { color: var(--accent); margin-right: 10px; }
.box__tag { font-size: 12px; font-weight: 600; color: var(--muted); }
.box__more { display: block; text-align: center; padding: 14px; font-size: 14px; font-weight: 700; color: var(--accent); border-top: 1px solid #EFECE7; }
.box__more i { margin-left: 6px; }

.live-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: q-pulse 1.8s ease-in-out infinite; }
@keyframes q-pulse { 50% { box-shadow: 0 0 0 7px rgba(214, 61, 12, .08); } }

.feed__list { list-style: none; margin: 0; padding: 8px 20px; max-height: 640px; overflow-y: auto; scrollbar-width: thin; }
.feed__item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.feed__item:last-child { border-bottom: 0; }
.feed__time { flex: none; width: 44px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.feed__item a { font-size: 14px; line-height: 1.42; font-weight: 500; color: var(--ink-2); }
.feed__item a:hover { color: var(--accent); }
.feed__item.is-hot a { font-weight: 700; color: var(--ink); }
.feed__item.is-hot .feed__time { color: var(--accent); }

.popular__list { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.popular__item { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line-2); counter-increment: pop; }
.popular__item:last-child { border-bottom: 0; }
.popular__num::before { content: counter(pop, decimal-leading-zero); font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; color: #D9D3C9; }
.popular__num { flex: none; width: 34px; }
.popular__item a { font-size: 15px; font-weight: 600; line-height: 1.38; }

.speedbar, .crumbs { font-size: 14px; color: var(--muted); }
.speedbar a, .crumbs a { color: var(--muted); font-weight: 600; }
.speedbar a:hover, .crumbs a:hover { color: var(--accent); }

.notice { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.notice > i { color: var(--accent); font-size: 20px; margin-top: 2px; }
.notice__title { display: block; font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }
.notice__text { color: var(--ink-2); font-size: 14px; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding-top: 8px; }
.pager a, .pager span {
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--card);
	border: 1px solid var(--line);
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
}
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager span.nav_ext { background: transparent; border: 0; color: var(--muted); }
.pager > span:has(> i) { background: var(--card); border-color: var(--line); color: #C9C3B9; }

.story { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 40px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.story__head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.story__title { margin: 0; font-size: 40px; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
.story__edit a { color: var(--muted); }
.story__text { font-size: 18px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.story__text p { margin: 0 0 1.1em; }
.story__text h2, .story__text h3 { color: var(--ink); line-height: 1.25; margin: 1.6em 0 .6em; }
.story__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.story__text img { border-radius: 14px; margin: 1em auto; height: auto; }
.story__text iframe, .story__text video { max-width: 100%; border-radius: 14px; }
.story__text blockquote, .story__text .quote { margin: 1.4em 0; padding: 18px 22px; background: var(--bg); border-radius: 14px; font-style: italic; color: var(--ink); }
.story__text table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 15px; }
.story__text td, .story__text th { border: 1px solid var(--line); padding: 10px 12px; }
.story__text ul, .story__text ol { padding-left: 1.3em; }

.story__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); }
.story__tags a { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.story__tags a:hover { background: var(--ink); color: #fff; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.share__label { font-size: 14px; font-weight: 700; margin-right: 6px; }
.share__btn { width: 44px; height: 44px; border-radius: 12px; border: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--ink); font-size: 17px; transition: background .15s, color .15s; }
.share__btn a { color: inherit; }
.share__btn:hover { color: #fff; }
.share--fb:hover { background: #1877F2; }
.share--wa:hover { background: #128C4B; }
.share--tg:hover { background: #1D8BC9; }
.share--x:hover, .share--copy:hover { background: var(--ink); }
.share__btn.is-saved { color: var(--accent); }
.share__btn.is-copied { background: var(--accent); color: #fff; }

.section-title { margin: 0 0 16px; font-size: 22px; font-weight: 800; }
.section-title i { color: var(--accent); margin-right: 10px; }

.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.rel-card { display: flex; flex-direction: column; gap: 10px; }
.rel-card__thumb { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--ph); }
.rel-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rel-card__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.3; }
.rel-card__date { font-size: 12px; color: var(--muted); }
.rel-card__date i { margin-right: 6px; }

.comments { display: flex; flex-direction: column; gap: 16px; }
.comment { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.comment__avatar { flex: none; width: 48px; height: 48px; border-radius: 999px; overflow: hidden; background: var(--bg); }
.comment__avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.comment__head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.comment__author { font-weight: 700; }
.comment__date { font-size: 13px; color: var(--muted); }
.comment__date i { margin-right: 6px; }
.comment__text { font-size: 15px; line-height: 1.6; color: var(--ink-2); overflow-wrap: anywhere; }
.comment__actions { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.comment__actions a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.comment__actions a:hover { color: var(--accent); }

.add-comment { background: var(--bg); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.add-comment__title { margin: 0; font-size: 18px; font-weight: 800; }
.add-comment__title i { color: var(--accent); margin-right: 10px; }
.add-comment__editor textarea { width: 100%; min-height: 140px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 500 15px var(--font); background: #fff; resize: vertical; }
.add-comment .btn { align-self: flex-start; }
.form-row { display: flex; flex-wrap: wrap; gap: 14px; }
.form-row .field { flex: 1 1 220px; }
.form-code { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.form-code__img img { border-radius: 10px; height: 46px; width: auto; }

.footer { background: var(--ink); color: #E8E5E0; }
.footer .wrap { padding-top: 48px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 32px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer__brand { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 14px; }
.footer__brand .logo__mark { width: 40px; height: 40px; font-size: 20px; }
.footer__brand .logo__name { font-size: 24px; }
.footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; color: #B9B4AC; }
.footer__nav { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-content: flex-start; font-size: 14px; font-weight: 600; }
.footer__nav a { color: #E8E5E0; }
.footer__nav a:hover { color: #FF8A5C; }
.footer__nav i { margin-right: 6px; }
.footer__social { display: flex; gap: 10px; align-items: flex-start; }
.footer__social a { width: 44px; height: 44px; border-radius: 12px; background: var(--dark-2); color: #fff; display: flex; align-items: center; justify-content: center; }
.footer__social a:hover { background: var(--accent); color: #fff; }
.footer__bottom { border-top: 1px solid #2E3036; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #B9B4AC; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--ink); color: #fff; font-size: 18px; box-shadow: 0 8px 24px rgba(20, 21, 24, .2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); }

@media (max-width: 1180px) {
	.nav { gap: 20px; font-size: 14px; }
	.header__in { gap: 20px; }
}

@media (max-width: 1024px) {
	.nav { display: none; }
	#q-menu-open { display: inline-flex; }
	.sidebar { position: static; }
	.hero-card__title { font-size: 34px; }
	.story { padding: 28px; }
	.story__title { font-size: 32px; }
}

@media (max-width: 760px) {
	body { font-size: 14px; }
	.wrap { padding: 0 16px; }
	.hide-sm { display: none !important; }
	.topbar__in { height: 36px; }
	.header__in { height: 64px; gap: 12px; }
	.logo__mark { width: 38px; height: 38px; font-size: 19px; border-radius: 10px; }
	.logo__name { font-size: 22px; }
	.logo__sub { display: none; }
	.header__actions { gap: 2px; }
	.ticker__in { height: 44px; gap: 10px; }
	.ticker__label { font-size: 11px; padding: 6px 9px; }
	.main { padding-top: 20px; gap: 28px; }
	.hero { gap: 16px; }
	.hero__main, .hero__side { flex-basis: 100%; }
	.hero-card__body { padding: 18px 18px 20px; gap: 10px; }
	.hero-card__title { font-size: 26px; }
	.hero-card__lead { font-size: 15px; }
	.hero-card__cat { left: 14px; top: 14px; }
	.side-card { padding: 12px; gap: 12px; }
	.side-card__thumb { width: 96px; height: 72px; }
	.side-card__title { font-size: 15px; }
	.blogs { padding: 20px; border-radius: var(--radius); }
	.blogs__grid { grid-template-columns: 1fr; gap: 10px; }
	.blog-card { padding: 14px; }
	.layout { gap: 24px; }
	.content, .sidebar { flex-basis: 100%; }
	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.card__body { padding: 12px; gap: 8px; }
	.card__title { font-size: 15px; }
	.card__views { display: none; }
	.news-grid.is-list .card { flex-direction: column; }
	.news-grid.is-list .card__thumb { width: 100%; aspect-ratio: 16 / 9; min-height: 0; }
	.view-switch { display: none; }
	.tabs { width: 100%; }
	.tabs__btn { flex: 1; }
	.feed__list { max-height: 480px; }
	.story { padding: 20px 16px; border-radius: var(--radius); gap: 18px; }
	.story__title { font-size: 26px; }
	.story__text { font-size: 16px; line-height: 1.7; }
	.share__btn { width: 40px; height: 40px; font-size: 16px; }
	.related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.rel-card__title { font-size: 14px; }
	.footer .wrap { padding-top: 36px; gap: 24px; }
	.footer__top { gap: 24px; }
	.footer__bottom { flex-direction: column; }
	.to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (max-width: 420px) {
	.news-grid { grid-template-columns: 1fr; }
	.card { flex-direction: row; }
	.card__thumb { flex: none; width: 120px; aspect-ratio: auto; }
	.card__badge { display: none; }
	.card__meta { border-top: 0; padding-top: 0; }
	.card__actions { display: none; }
	.related__grid { grid-template-columns: 1fr; }
}

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

.news-grid > #dle-content { display: contents; }
