/* Aqua ESG — giao diện công khai. Template version 1.
   Mọi lớp đều nằm trong .aesg để không đụng theme. */

.aesg {
	--aesg-navy: #0b2e4f;
	--aesg-navy-2: #10456f;
	--aesg-blue: #0184d6;
	--aesg-blue-dk: #0169ab;
	--aesg-bg: #f3f7fb;
	--aesg-card: #ffffff;
	--aesg-line: #dce8f2;
	--aesg-ink: #16222e;
	--aesg-muted: #5f7281;
	--aesg-green: #16936a;
	--aesg-radius: 14px;
	--aesg-shadow: 0 2px 4px rgba(11, 46, 79, .05), 0 12px 32px rgba(11, 46, 79, .08);

	color: var(--aesg-ink);
	font-size: 16px;
	line-height: 1.6;
	background: var(--aesg-bg);
	padding-bottom: 56px;
	box-sizing: border-box;
}

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

.aesg img { max-width: 100%; height: auto; }

.aesg-wrap,
.aesg-wrapnarrow {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 16px;
}
.aesg-wrapnarrow { max-width: 780px; padding-top: 48px; }

/* ---------------------------------------------------------------- Hero */

.aesg-hero {
	background:
		radial-gradient(120% 140% at 85% 0%, rgba(1, 132, 214, .45) 0%, rgba(1, 132, 214, 0) 55%),
		linear-gradient(135deg, var(--aesg-navy) 0%, var(--aesg-navy-2) 100%);
	color: #fff;
	padding: 40px 0 92px;
	position: relative;
	overflow: hidden;
}
.aesg-hero::after {
	content: "";
	position: absolute;
	inset: auto -10% -45% 55%;
	height: 90%;
	background: radial-gradient(60% 60% at 50% 50%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 70%);
	pointer-events: none;
}
.aesg-hero__inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 16px;
	position: relative;
	z-index: 1;
}
.aesg-hero__eyebrow {
	margin: 18px 0 6px;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #8fd0f7;
	font-weight: 700;
}
.aesg-hero__title {
	margin: 0 0 10px;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 800;
	color: #fff;
}
.aesg-hero__lead {
	margin: 0;
	max-width: 660px;
	color: rgba(255, 255, 255, .86);
	font-size: 15px;
}

.aesg-crumb {
	font-size: 13px;
	color: rgba(255, 255, 255, .72);
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.aesg-crumb a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.aesg-crumb a:hover { text-decoration: underline; }
.aesg-crumb--dark { color: var(--aesg-muted); padding-top: 24px; }
.aesg-crumb--dark a { color: var(--aesg-blue-dk); }

/* -------------------------------------------------------------- Filter */

.aesg-filter {
	width: 100%;
	max-width: 1180px;
	margin: -56px auto 0;
	padding: 0 16px;
	position: relative;
	z-index: 2;
}
.aesg-filter__row {
	background: var(--aesg-card);
	border: 1px solid var(--aesg-line);
	border-radius: var(--aesg-radius);
	box-shadow: var(--aesg-shadow);
	padding: 14px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}
.aesg-filter__search,
.aesg-filter__select {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--aesg-line);
	border-radius: 10px;
	background: #fbfdff;
	color: var(--aesg-ink);
	font-size: 15px;
	font-family: inherit;
}
.aesg-filter__search:focus,
.aesg-filter__select:focus {
	outline: 2px solid var(--aesg-blue);
	outline-offset: 1px;
	background: #fff;
}

/* --------------------------------------------------------------- Chips */

.aesg-chips {
	width: 100%;
	max-width: 1180px;
	margin: 20px auto 0;
	padding: 0 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.aesg-chipnav {
	display: inline-block;
	padding: 8px 16px;
	min-height: 40px;
	line-height: 24px;
	border-radius: 999px;
	border: 1px solid var(--aesg-line);
	background: #fff;
	color: var(--aesg-muted);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.aesg-chipnav:hover { border-color: var(--aesg-blue); color: var(--aesg-blue-dk); }
.aesg-chipnav.is-active {
	background: var(--aesg-blue);
	border-color: var(--aesg-blue);
	color: #fff;
}

/* ------------------------------------------------------------- Buttons */

.aesg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 11px 22px;
	border-radius: 10px;
	border: 1px solid var(--aesg-line);
	background: #fff;
	color: var(--aesg-navy);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	text-decoration: none;
	cursor: pointer;
	font-family: inherit;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.aesg-btn:hover { border-color: var(--aesg-blue); color: var(--aesg-blue-dk); }
.aesg-btn--primary {
	background: var(--aesg-blue);
	border-color: var(--aesg-blue);
	color: #fff;
}
.aesg-btn--primary:hover { background: var(--aesg-blue-dk); border-color: var(--aesg-blue-dk); color: #fff; }
.aesg-btn--block { display: flex; width: 100%; margin-bottom: 8px; }

/* ------------------------------------------------------------- Feature */

.aesg-feature {
	width: 100%;
	max-width: 1180px;
	margin: 20px auto 0;
	padding: 0 16px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}
.aesg-feature > * { background: var(--aesg-card); }
.aesg-feature__cover {
	border: 1px solid var(--aesg-line);
	border-bottom: 0;
	border-radius: var(--aesg-radius) var(--aesg-radius) 0 0;
	padding: 22px;
	position: relative;
}
.aesg-feature__body {
	border: 1px solid var(--aesg-line);
	border-radius: 0 0 var(--aesg-radius) var(--aesg-radius);
	box-shadow: var(--aesg-shadow);
	padding: 22px;
}
.aesg-feature__ribbon {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	background: var(--aesg-green);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 6px;
}
.aesg-feature__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--aesg-green);
	font-weight: 700;
}
.aesg-feature__title { margin: 0 0 10px; font-size: 24px; line-height: 1.25; font-weight: 800; }
.aesg-feature__title a { color: var(--aesg-navy); text-decoration: none; }
.aesg-feature__title a:hover { color: var(--aesg-blue-dk); }
.aesg-feature__sum { margin: 0 0 16px; color: var(--aesg-muted); font-size: 15px; }
.aesg-feature__sum p { margin: 0 0 10px; }
.aesg-feature__sum p:last-child { margin-bottom: 0; }
.aesg-feature__sum p:first-child { color: var(--aesg-navy); font-weight: 700; }

/* Một dòng gọn: nhãn, ngày, rồi tên đơn vị. */
.aesg-feature__meta {
	margin: 0 0 18px;
	border-top: 1px solid var(--aesg-line);
	border-bottom: 1px solid var(--aesg-line);
	padding: 12px 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--aesg-ink);
}
.aesg-feature__date { font-weight: 600; white-space: nowrap; }
.aesg-feature__date em {
	margin-right: 6px;
	font-size: 11px;
	font-style: normal;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--aesg-muted);
	font-weight: 700;
}
.aesg-feature__sep { margin: 0 8px; color: var(--aesg-line); }
.aesg-feature__org { font-weight: 600; }

.aesg-feature__cta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}
.aesg-feature__file {
	flex: 1 1 100%;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--aesg-muted);
}

/* ---------------------------------------------------------------- List */

.aesg-list,
.aesg-related {
	width: 100%;
	max-width: 1180px;
	margin: 36px auto 0;
	padding: 0 16px;
}
.aesg-list__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 16px;
}
.aesg-list__eyebrow {
	margin: 0 0 2px;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--aesg-blue-dk);
	font-weight: 700;
}
.aesg-list__title { margin: 0; font-size: 22px; font-weight: 800; color: var(--aesg-navy); }
.aesg-list__count,
.aesg-list__all { margin: 0; font-size: 13px; color: var(--aesg-muted); text-decoration: none; }
.aesg-list__all { color: var(--aesg-blue-dk); font-weight: 600; }

.aesg-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

/* ---------------------------------------------------------------- Card */

.aesg-card {
	background: var(--aesg-card);
	border: 1px solid var(--aesg-line);
	border-radius: var(--aesg-radius);
	overflow: hidden;
	transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.aesg-card:hover {
	box-shadow: var(--aesg-shadow);
	border-color: #c3dcef;
	transform: translateY(-2px);
}
.aesg-card__link { display: block; text-decoration: none; color: inherit; }
.aesg-card__top {
	display: flex;
	justify-content: space-between;
	padding: 10px 14px;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--aesg-muted);
	font-weight: 700;
	border-bottom: 1px solid var(--aesg-line);
}
.aesg-card__body { padding: 14px; }
.aesg-card__title {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--aesg-navy);
}
.aesg-card__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	border-top: 1px solid var(--aesg-line);
	font-size: 12px;
	color: var(--aesg-muted);
}
.aesg-card__more { color: var(--aesg-blue-dk); font-weight: 700; white-space: nowrap; }

.aesg-chip {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	background: #e8f3fb;
	color: var(--aesg-blue-dk);
}
.aesg-chip--tai-chinh-xanh { background: #e4f6ed; color: var(--aesg-green); }
.aesg-chip--chung-nhan { background: #fdf1e3; color: #a9681a; }
.aesg-chip--chinh-sach { background: #eef0fb; color: #4a53a8; }

/* Ảnh bìa tự sinh bằng chữ, không dùng ảnh ngoài. */
.aesg-cover {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	aspect-ratio: 16 / 10;
	padding: 18px;
	background: linear-gradient(160deg, #f1f8fd 0%, #e3f1ea 100%);
	border-bottom: 1px solid var(--aesg-line);
	text-align: left;
}
.aesg-cover[data-type="tai-chinh-xanh"] { background: linear-gradient(160deg, #eefaf3 0%, #dff2e6 100%); }
.aesg-cover[data-type="chung-nhan"] { background: linear-gradient(160deg, #fdf6ec 0%, #f8ecdb 100%); }
.aesg-cover[data-type="chinh-sach"] { background: linear-gradient(160deg, #f1f3fd 0%, #e6e9f8 100%); }
.aesg-cover__brand {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .06em;
	color: var(--aesg-navy);
}
.aesg-cover__brand span { color: var(--aesg-blue); }
.aesg-cover__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--aesg-navy);
}
.aesg-cover__org { font-size: 11px; color: var(--aesg-muted); }
.aesg-cover--lg { aspect-ratio: 4 / 3; border: 1px solid var(--aesg-line); border-radius: 10px; }
.aesg-cover--lg .aesg-cover__title { font-size: 18px; }

/* -------------------------------------------------------------- Single */

.aesg-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 14px 0 20px;
}
.aesg-head__eyebrow {
	margin: 0 0 4px;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--aesg-green);
	font-weight: 700;
}
.aesg-head__title { margin: 0 0 8px; font-size: 28px; line-height: 1.22; font-weight: 800; color: var(--aesg-navy); }
.aesg-head__sub { margin: 0; color: var(--aesg-muted); font-size: 14px; }
.aesg-head__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.aesg-panels {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-top: 22px;
}
.aesg-panel {
	background: var(--aesg-card);
	border: 1px solid var(--aesg-line);
	border-radius: var(--aesg-radius);
	padding: 20px;
}
.aesg-panel__title { margin: 0 0 12px; font-size: 17px; font-weight: 800; color: var(--aesg-navy); }
.aesg-panel__cta { margin: 16px 0 0; }
.aesg-prose p { margin: 0 0 12px; color: #2b3a47; }
.aesg-prose p:last-child { margin-bottom: 0; }

/* Nội dung công bố thay luôn tiêu đề khối: dòng đầu đóng vai trò tiêu đề. */
.aesg-prose--intro > :first-child {
	margin-top: 0;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--aesg-line);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--aesg-navy);
	letter-spacing: .01em;
	text-align: left;
}
.aesg-prose--intro h2,
.aesg-prose--intro h3,
.aesg-prose--intro h4 {
	margin: 20px 0 8px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--aesg-navy);
}
.aesg-prose--intro h2 { font-size: 18px; }
.aesg-prose--intro h3 { font-size: 17px; }
.aesg-prose--intro h4 { font-size: 15px; }
.aesg-prose--intro ul,
.aesg-prose--intro ol { margin: 0 0 12px; padding-left: 22px; }
.aesg-prose--intro li { margin-bottom: 6px; color: #2b3a47; }
.aesg-prose--intro blockquote {
	margin: 0 0 12px;
	padding: 8px 0 8px 16px;
	border-left: 3px solid var(--aesg-blue);
	color: var(--aesg-muted);
}
/* Căn đều hai bên: ngắt từ mềm để không bị giãn chữ thưa thớt. */
.aesg-prose--intro [style*="justify"] {
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
}
.aesg-sub { margin: 18px 0 8px; font-size: 14px; font-weight: 800; color: var(--aesg-navy); }

.aesg-dl { margin: 0; }
.aesg-dl > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--aesg-line);
	font-size: 14px;
}
.aesg-dl > div:last-child { border-bottom: 0; }
.aesg-dl dt { margin: 0; color: var(--aesg-muted); }
.aesg-dl dd { margin: 0; font-weight: 700; text-align: right; color: var(--aesg-ink); }

.aesg-atts { list-style: none; margin: 0; padding: 0; }
.aesg-atts li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 0;
	border-bottom: 1px solid var(--aesg-line);
	font-size: 14px;
}
.aesg-atts li:last-child { border-bottom: 0; }
.aesg-atts a { color: var(--aesg-blue-dk); font-weight: 600; text-decoration: none; }
.aesg-atts a:hover { text-decoration: underline; }
.aesg-atts__meta { color: var(--aesg-muted); font-size: 12px; }
.aesg-atts__dl { margin-left: auto; }

.aesg-empty,
.aesg-note {
	background: #fff;
	border: 1px dashed var(--aesg-line);
	border-radius: var(--aesg-radius);
	padding: 22px;
	color: var(--aesg-muted);
	text-align: center;
}

.aesg-pager { margin: 26px 0 0; text-align: center; }
.aesg-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	margin: 0 3px;
	border-radius: 9px;
	border: 1px solid var(--aesg-line);
	background: #fff;
	color: var(--aesg-muted);
	text-decoration: none;
	font-weight: 700;
}
.aesg-pager .page-numbers.current,
.aesg-pager .page-numbers:hover {
	background: var(--aesg-blue);
	border-color: var(--aesg-blue);
	color: #fff;
}

/* -------------------------------------------------------------- Viewer */

.aesg-viewer {
	background: #11324f;
	border-radius: var(--aesg-radius);
	overflow: hidden;
	box-shadow: var(--aesg-shadow);
	margin-top: 6px;
}
.aesg-viewer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background: #0d2942;
	color: #cfe3f3;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.aesg-viewer__name {
	flex: 1 1 100%;
	min-width: 0;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #9fc4e0;
}
.aesg-viewer__nav,
.aesg-viewer__tools { display: flex; align-items: center; gap: 6px; }
.aesg-viewer__tools { margin-left: auto; }
.aesg-vbtn {
	min-width: 44px;
	min-height: 44px;
	padding: 0 10px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 9px;
	background: rgba(255, 255, 255, .06);
	color: #e6f2fb;
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
	font-family: inherit;
}
.aesg-vbtn:hover { background: rgba(255, 255, 255, .14); }
.aesg-vbtn:focus-visible { outline: 2px solid #7cc5f3; outline-offset: 2px; }
.aesg-vbtn[aria-pressed="true"] { background: var(--aesg-blue); border-color: var(--aesg-blue); }
.aesg-viewer__page {
	width: 56px;
	min-height: 44px;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 9px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-size: 14px;
	font-family: inherit;
}
.aesg-viewer__count { font-size: 13px; color: #9fc4e0; }

.aesg-viewer__find {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background: #0b2438;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.aesg-viewer__find input {
	flex: 1 1 200px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 9px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-family: inherit;
}
.aesg-viewer__findmsg { font-size: 12px; color: #9fc4e0; }

.aesg-viewer__body {
	display: flex;
	min-height: 420px;
	background: #14385a;
}

/* Thanh cuộn mảnh, cùng tông với trình đọc, không cắt rời hai khung. */
.aesg-viewer__thumbs,
.aesg-viewer__stage {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, .22) transparent;
	scroll-behavior: smooth;
	overscroll-behavior: contain;
}
.aesg-viewer__thumbs::-webkit-scrollbar,
.aesg-viewer__stage::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
.aesg-viewer__thumbs::-webkit-scrollbar-track,
.aesg-viewer__stage::-webkit-scrollbar-track {
	background: transparent;
}
.aesg-viewer__thumbs::-webkit-scrollbar-thumb,
.aesg-viewer__stage::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, .16);
	background-clip: padding-box;
	border: 3px solid transparent;
	border-radius: 999px;
}
.aesg-viewer__thumbs:hover::-webkit-scrollbar-thumb,
.aesg-viewer__stage:hover::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, .34);
	background-clip: padding-box;
}
.aesg-viewer__thumbs::-webkit-scrollbar-corner,
.aesg-viewer__stage::-webkit-scrollbar-corner {
	background: transparent;
}

.aesg-viewer__rail { display: none; }
.aesg-viewer__railhead {
	padding: 10px 12px;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8fb6d4;
	font-weight: 700;
}
.aesg-viewer__thumbs {
	padding: 0 8px 16px;
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 640px;
}
.aesg-thumb {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-bottom: 10px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	line-height: 0;
	opacity: .78;
	transition: opacity .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.aesg-thumb:hover { opacity: 1; }
.aesg-thumb:focus-visible { outline: 2px solid #7cc5f3; outline-offset: 2px; }
.aesg-thumb.is-active {
	opacity: 1;
	border-color: var(--aesg-blue);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.aesg-thumb canvas { width: 100%; height: auto; display: block; }

.aesg-viewer__stage {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	padding: 18px 16px 24px;
	overflow: auto;
	max-height: 78vh;
	background: transparent;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}
.aesg-viewer__canvas {
	display: block;
	max-width: 100%;
	height: auto;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	border-radius: 4px;
}
.aesg-viewer__text { display: none; }
.aesg-viewer__status {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #d9ebf8;
	font-size: 14px;
	text-align: center;
	padding: 0 16px;
}
.aesg-viewer__fallback {
	background: #fff;
	border: 1px solid var(--aesg-line);
	border-radius: var(--aesg-radius);
	padding: 20px;
	margin-top: 12px;
	text-align: center;
}
.aesg-viewer:fullscreen,
.aesg-viewer:-webkit-full-screen { border-radius: 0; }
.aesg-viewer:fullscreen .aesg-viewer__stage { max-height: calc(100vh - 70px); }

/* ------------------------------------------------------------ Tablet + */

@media (min-width: 720px) {
	.aesg-hero__title { font-size: 40px; }
	.aesg-filter__row { grid-template-columns: 2fr 1fr 1fr auto; align-items: center; }
	.aesg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aesg-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
	.aesg-head__title { font-size: 32px; }
	.aesg-panels { grid-template-columns: 1.7fr 1fr; }
	.aesg-viewer__name { flex: 1 1 auto; }

	/* Thông tin tệp nằm cùng hàng với hai nút, đẩy về bên phải. */
	.aesg-feature__file {
		flex: 0 1 auto;
		margin-left: auto;
		text-align: right;
	}
}

@media (min-width: 1000px) {
	.aesg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.aesg-feature { grid-template-columns: 380px 1fr; }
	.aesg-feature__cover {
		border-radius: var(--aesg-radius) 0 0 var(--aesg-radius);
		border-right: 0;
		border-bottom: 1px solid var(--aesg-line);
	}
	.aesg-feature__body { border-radius: 0 var(--aesg-radius) var(--aesg-radius) 0; }
	.aesg-feature__meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.aesg-viewer__rail {
		display: block;
		flex: 0 0 176px;
		background: rgba(0, 0, 0, .15);
		box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06);
	}
}

@media (prefers-reduced-motion: reduce) {
	.aesg-card,
	.aesg-thumb { transition: none; }
	.aesg-card:hover { transform: none; }
	.aesg-viewer__thumbs,
	.aesg-viewer__stage { scroll-behavior: auto; }
}
