/* ============================================================
   Article Detail Page
   ============================================================ */

.ad-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: start;
}
/* ---- Article main ---- */
.article-main {
	background: #fff;
	border-radius: 20px;
	padding: 44px;
	box-shadow: 0 10px 40px rgba(10,28,48,.06);
}
.article-main__cat {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
	background: var(--accent);
	padding: 5px 14px;
	border-radius: 20px;
	margin-bottom: 16px;
}
.article-main__title {
	font-family: 'Oswald', sans-serif;
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
	margin-bottom: 18px;
}
.article-main__meta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	padding-bottom: 22px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--line);
	font-size: 13.5px;
	color: var(--gray);
}
.article-main__meta div {
	display: flex;
	align-items: center;
	gap: 6px;
}
.article-main__meta svg {
	width: 15px;
	height: 15px;
	color: var(--accent);
}
.article-main__featured {
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 32px;
	aspect-ratio: 16/9;
}
.article-main__featured img {
/* width: 100%; */
	/* height: 100%;
	object-fit: cover; */
	/* max-width: 100%; */
}
.article-body {
	font-size: 16px;
	color: var(--ink);
	line-height: 1.85;
}
.article-body p {
	margin-bottom: 18px;
	color: #3a4252;
}
.article-body h2 {
	font-family: 'Oswald', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: var(--ink);
	margin: 36px 0 16px;
}
.article-body h3 {
	font-family: 'Oswald', sans-serif;
	font-size: 19px;
	font-weight: 700;
	color: var(--ink);
	margin: 26px 0 12px;
}
.article-body ul {
	margin: 16px 0;
	padding-left: 4px;
}
.article-body ul li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 0;
	font-size: 15.5px;
	color: #3a4252;
}
.article-body ul li::before {
	content: '';
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	margin-top: 10px;
}
.article-body blockquote {
	margin: 28px 0;
	padding: 22px 28px;
	background: linear-gradient(135deg, rgba(185,28,28,.06), rgba(239,68,68,.04));
	border-left: 4px solid var(--accent);
	border-radius: 0 12px 12px 0;
	font-size: 17px;
	font-style: italic;
	color: var(--ink);
	line-height: 1.7;
}
.article-body__image {
	border-radius: 14px;
	overflow: hidden;
	margin: 26px 0;
	box-shadow: 0 10px 30px rgba(10,28,48,.1);
}
.article-body__image img {
/* width: 100%; */
}
/* Tags + share */
.article-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}
.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.article-tags a {
	font-size: 12.5px;
	padding: 6px 14px;
	border-radius: 20px;
	background: var(--bg-soft);
	color: var(--gray);
	border: 1px solid var(--line);
	transition: all .3s;
}
.article-tags a:hover {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}
.article-share {
	display: flex;
	align-items: center;
	gap: 10px;
}
.article-share span {
	font-size: 13px;
	font-weight: 600;
	color: var(--gray);
}
.article-share a {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gray);
	transition: all .3s var(--ease);
}
.article-share a svg {
	width: 17px;
	height: 17px;
}
.article-share a:hover {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
	transform: translateY(-3px);
}
/* ---- Prev / Next ---- */
.article-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 28px;
}
.article-nav__item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 20px 24px;
	transition: all .35s var(--ease);
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.article-nav__item:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(10,28,48,.08);
}
.article-nav__item--next {
	text-align: right;
	align-items: flex-end;
}
.article-nav__label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
}
.article-nav__title {
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.4;
}
/* ---- Sidebar reuse ---- */
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.side-box {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 26px;
	box-shadow: 0 4px 16px rgba(10,28,48,.04);
}
.side-box__title {
	font-family: 'Oswald', sans-serif;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--line);
	position: relative;
}
.side-box__title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 40px;
	height: 2px;
	background: var(--accent);
}
.side-popular__item {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	transition: transform .3s var(--ease);
}
.side-popular__item:last-child {
	border-bottom: 0;
}
.side-popular__item:hover {
	transform: translateX(6px);
}
.side-popular__num {
	flex: none;
	font-family: 'Oswald', sans-serif;
	font-size: 24px;
	font-weight: 800;
	color: var(--accent);
	line-height: 1;
	width: 28px;
}
.side-popular__text h4 {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 4px;
	transition: color .3s;
}
.side-popular__item:hover .side-popular__text h4 {
	color: var(--accent);
}
.side-popular__text span {
	font-size: 12px;
	color: var(--gray-lt);
}
 @media(max-width:1100px) {
.ad-layout {
	grid-template-columns: 1fr;
}
}
@media(max-width:640px) {
.article-main {
	padding: 28px 22px;
}
.article-nav {
	grid-template-columns: 1fr;
}
}
