:root {
	--blog-blue: #1f299c;
	--blog-blue-dark: #111761;
	--blog-blue-soft: #eef0ff;
	--blog-yellow: #f8d434;
	--blog-ink: #15172b;
	--blog-muted: #6d7285;
	--blog-line: #e8e9f0;
}

.blog-page {
	background: #f8f9fc;
	color: var(--blog-ink);
}

.blog-container {
	padding-top:1%;
	max-width: 87vmax;
}

.blog-hero {
	position: relative;
	overflow: hidden;
	padding: 190px 0 105px;
	background:
		linear-gradient(115deg, rgba(13, 18, 90, 0.98), rgba(31, 41, 156, 0.94)),
		linear-gradient(135deg, #111761, #3542c7);
	color: #fff;
}

.blog-hero::after {
	content: "";
	position: absolute;
	right: -8%;
	bottom: -150px;
	width: 520px;
	height: 320px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	transform: rotate(-18deg);
}

.blog-hero .container {
	position: relative;
	z-index: 2;
}

.blog-eyebrow,
.blog-section-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--blog-yellow);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.blog-eyebrow::before,
.blog-section-label::before {
	content: "";
	width: 34px;
	height: 2px;
	background: currentColor;
}

.blog-hero h1 {
	max-width: 850px;
	margin: 0 0 24px;
	font-size: clamp(2.8rem, 5vw, 5.3rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.blog-hero p {
	max-width: 700px;
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: clamp(1rem, 1.7vw, 1.2rem);
	line-height: 1.75;
}

.blog-hero-note {
	width: 235px;
	padding: 25px 0 4px 25px;
	border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-hero-note span {
	display: block;
	margin-bottom: 9px;
	color: var(--blog-yellow);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.blog-hero-note strong {
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.5;
}

.blog-hero-shape {
	position: absolute;
	border-radius: 50%;
	filter: blur(1px);
}

.blog-hero-shape-one {
	top: 80px;
	right: 11%;
	width: 210px;
	height: 210px;
	background: rgba(248, 212, 52, 0.12);
}

.blog-hero-shape-two {
	top: -80px;
	left: 38%;
	width: 360px;
	height: 360px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-content {
	padding: 90px 0 110px;
}

.blog-title-banner {
	position: relative;
	overflow: hidden;
	margin-bottom: 48px;
	padding: 52px 58px;
	background:
		linear-gradient(115deg, rgba(17, 23, 97, 0.98), rgba(31, 41, 156, 0.93)),
		var(--blog-blue);
	border-radius: 26px;
	box-shadow: 0 20px 50px rgba(20, 27, 72, 0.17);
	color: #fff;
}

.blog-title-content {
	position: relative;
	z-index: 2;
}

.blog-title-content > span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	color: var(--blog-yellow);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.blog-title-content > span::before {
	content: "";
	width: 30px;
	height: 2px;
	background: currentColor;
}

.blog-title-content h1 {
	margin: 0;
	font-size: clamp(2.8rem, 5vw, 4.6rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 1;
}

.blog-title-content p {
	margin: 13px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 1rem;
}

.blog-title-decoration {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.blog-title-decoration-one {
	top: -115px;
	right: -20px;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(255, 255, 255, 0.13);
}

.blog-title-decoration-two {
	right: 125px;
	bottom: -100px;
	width: 190px;
	height: 190px;
	background: rgba(248, 212, 52, 0.09);
}

.blog-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 50px;
	margin-bottom: 25px;
	margin-top: 20px;
}

.blog-heading h2 {
	margin: 0;
	color: var(--blog-ink);
	font-size: clamp(2rem, 3.3vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -0.04em;
}

.blog-heading p {
	max-width: 430px;
	margin: 0 0 5px;
	color: var(--blog-muted);
	font-size: 1rem;
	line-height: 1.7;
}

.blog-section-label {
	margin-bottom: 12px;
	color: var(--blog-blue);
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.blog-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-width: 0;
	background: #fff;
	border: 1px solid rgba(31, 41, 156, 0.08);
	border-radius: 22px;
	box-shadow: 0 14px 40px rgba(20, 27, 72, 0.07);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 55px rgba(20, 27, 72, 0.14);
}

.blog-card-image {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--blog-blue-soft);
}

.blog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s ease;
}

.blog-card:hover .blog-card-image img {
	transform: scale(1.045);
}

.blog-category {
	position: absolute;
	top: 18px;
	left: 18px;
	max-width: calc(100% - 36px);
	padding: 8px 13px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.94);
	border-radius: 50px;
	box-shadow: 0 6px 20px rgba(15, 18, 50, 0.12);
	color: var(--blog-blue);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.blog-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 27px 27px 25px;
}

.blog-card-meta {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 15px;
	color: #85899a;
	font-size: 0.78rem;
}

.blog-card-meta span:nth-child(2) {
	width: 4px;
	height: 4px;
	background: var(--blog-yellow);
	border-radius: 50%;
}

.blog-card h3 {
	margin: 0 0 13px;
	font-size: 1.35rem;
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.32;
}

.blog-card h3 a {
	color: var(--blog-ink);
	text-decoration: none;
	transition: color 0.2s ease;
}

.blog-card h3 a:hover {
	color: var(--blog-blue);
}

.blog-card-body > p {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 24px;
	color: var(--blog-muted);
	font-size: 0.92rem;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.blog-read-more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 12px;
	margin-top: auto;
	color: var(--blog-blue);
	font-size: 0.86rem;
	font-weight: 800;
	text-decoration: none;
}

.blog-read-more span {
	font-size: 1.15rem;
	transition: transform 0.2s ease;
}

.blog-read-more:hover {
	color: var(--blog-blue-dark);
}

.blog-read-more:hover span {
	transform: translateX(5px);
}

.blog-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin-top: 60px;
	padding-top: 28px;
	border-top: 1px solid var(--blog-line);
}

.blog-pagination p {
	margin: 0;
	color: var(--blog-muted);
	font-size: 0.86rem;
}

.blog-pagination ul {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-pagination button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 43px;
	height: 43px;
	padding: 0;
	background: #fff;
	border: 1px solid var(--blog-line);
	border-radius: 12px;
	color: var(--blog-ink);
	font-size: 0.88rem;
	font-weight: 700;
	transition: all 0.2s ease;
}

.blog-pagination button:hover,
.blog-pagination button:focus {
	background: var(--blog-blue-soft);
	border-color: var(--blog-blue);
	color: var(--blog-blue);
	outline: none;
}

.blog-pagination button.is-current {
	background: var(--blog-blue);
	border-color: var(--blog-blue);
	box-shadow: 0 8px 20px rgba(31, 41, 156, 0.24);
	color: #fff;
}

.blog-pagination-gap {
	display: inline-flex;
	width: 30px;
	justify-content: center;
	color: var(--blog-muted);
}

.blog-loading,
.blog-empty {
	display: flex;
	min-height: 310px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}

.blog-loading {
	gap: 14px;
	color: var(--blog-muted);
}

.blog-spinner {
	width: 38px;
	height: 38px;
	border: 3px solid var(--blog-blue-soft);
	border-top-color: var(--blog-blue);
	border-radius: 50%;
	animation: blog-spin 0.8s linear infinite;
}

.blog-empty-mark {
	display: inline-flex;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	background: var(--blog-blue-soft);
	border-radius: 18px;
	color: var(--blog-blue);
	font-size: 1.4rem;
	font-weight: 800;
}

.blog-empty h3 {
	margin: 0 0 8px;
	font-size: 1.45rem;
}

.blog-empty p {
	margin: 0;
	color: var(--blog-muted);
}

.blog-retry {
	margin-top: 20px;
	padding: 11px 22px;
	background: var(--blog-blue);
	border: 0;
	border-radius: 50px;
	color: #fff;
	font-weight: 700;
}

@keyframes blog-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 991px) {
	.blog-hero {
		padding: 160px 0 85px;
	}

	.blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.blog-title-banner {
		margin-bottom: 34px;
		padding: 38px 27px;
		border-radius: 20px;
	}

	.blog-title-content h1 {
		font-size: 3rem;
	}

	.blog-title-content p {
		max-width: 250px;
		font-size: 0.92rem;
		line-height: 1.6;
	}

	.blog-hero {
		padding: 135px 0 70px;
	}

	.blog-hero h1 {
		font-size: clamp(2.45rem, 12vw, 3.6rem);
	}

	.blog-content {
		padding: 65px 0 80px;
	}

	.blog-heading {
		display: block;
		margin-bottom: 32px;
	}

	.blog-heading p {
		margin-top: 18px;
	}

	.blog-grid {
		grid-template-columns: 1fr;
	}

	.blog-pagination {
		align-items: flex-start;
		flex-direction: column;
		margin-top: 42px;
	}

	.blog-pagination ul {
		width: 100%;
		justify-content: center;
	}

	.blog-pagination p {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 420px) {
	.blog-card-body {
		padding: 23px 21px 22px;
	}

	.blog-card-meta {
		flex-wrap: wrap;
	}

	.blog-pagination ul {
		gap: 5px;
	}

	.blog-pagination button {
		width: 38px;
		height: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.blog-card,
	.blog-card-image img,
	.blog-read-more span {
		transition: none;
	}

	.blog-spinner {
		animation-duration: 1.6s;
	}
}

/* Article detail */
.article-hero {
	position: relative;
	z-index: 0;
	overflow: hidden;
	padding: 120px 0 150px;
	background:
		linear-gradient(115deg, rgba(13, 18, 90, 0.98), rgba(31, 41, 156, 0.95)),
		var(--blog-blue-dark);
	color: #fff;
}

.article-hero .container {
	position: relative;
	z-index: 2;
}

.article-hero-orbit {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
}

.article-hero-orbit-one {
	top: -230px;
	right: -70px;
	width: 610px;
	height: 610px;
}

.article-hero-orbit-two {
	right: 18%;
	bottom: -270px;
	width: 430px;
	height: 430px;
	background: rgba(248, 212, 52, 0.06);
}

.article-back {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease;
}

.article-back span {
	font-size: 1.15rem;
}

.article-back:hover {
	color: var(--blog-yellow);
}

.article-hero-content {
	max-width: 1000px;
}

.article-category {
	display: inline-flex;
	margin-bottom: 22px;
	padding: 8px 14px;
	background: rgba(248, 212, 52, 0.13);
	border: 1px solid rgba(248, 212, 52, 0.42);
	border-radius: 50px;
	color: var(--blog-yellow);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.article-hero h1 {
	max-width: 900px;
	margin: 0 0 32px;
	font-size: clamp(2.35rem, 4vw, 4.2rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 1.02;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
}

.article-meta-dot {
	width: 4px;
	height: 4px;
	background: var(--blog-yellow);
	border-radius: 50%;
}

.article-layout {
	position: relative;
	z-index: 3;
	margin-top: -88px;
	padding-bottom: 100px;
}

.article-cover {
	overflow: hidden;
	margin-bottom: 75px;
	aspect-ratio: 16 / 7.5;
	background: var(--blog-blue-soft);
	border: 8px solid #fff;
	border-radius: 26px;
	box-shadow: 0 30px 80px rgba(15, 22, 75, 0.2);
}

.article-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-content {
	max-width: 100%;
}

.article-intro {
	margin-bottom: 42px;
	padding: 4px 0 4px 25px;
	border-left: 4px solid var(--blog-yellow);
}

.article-intro span {
	display: block;
	margin-bottom: 10px;
	color: var(--blog-blue);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.article-intro p {
	margin: 0;
	color: var(--blog-ink);
	font-size: clamp(1.18rem, 2vw, 1.45rem);
	font-weight: 600;
	line-height: 1.6;
}

.article-rich-text {
	color: #3d4050;
	font-size: 1.08rem;
	line-height: 1.9;
}

.article-rich-text p {
	margin: 0 0 1.55em;
}

.article-rich-text > p:has(+ ul),
.article-rich-text > p:has(+ ol) {
	margin-top: 2.4em;
	margin-bottom: 0.8em;
	color: var(--blog-ink);
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.35;
}

.article-rich-text ul,
.article-rich-text ol {
	margin: 0 0 1.8em;
	padding-left: 1.4em;
}

.article-rich-text li {
	margin-bottom: 0.7em;
	padding-left: 0.35em;
}

.article-rich-text li::marker {
	color: var(--blog-blue);
	font-weight: 800;
}

.article-rich-text li p {
	margin: 0;
}

.article-rich-text h2,
.article-rich-text h3,
.article-rich-text h4 {
	margin: 2.2em 0 0.75em;
	color: var(--blog-ink);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.25;
}

.article-rich-text h2 {
	font-size: 2rem;
}

.article-rich-text h3 {
	font-size: 1.55rem;
}

.article-rich-text a {
	color: var(--blog-blue);
	font-weight: 700;
	text-decoration-color: rgba(31, 41, 156, 0.35);
	text-underline-offset: 3px;
}

.article-rich-text img {
	max-width: 100%;
	height: auto !important;
	margin: 1.5em 0;
	border-radius: 18px;
}

.article-rich-text blockquote {
	margin: 2.3em 0;
	padding: 28px 30px;
	background: var(--blog-blue-soft);
	border-left: 4px solid var(--blog-blue);
	border-radius: 0 18px 18px 0;
	color: var(--blog-blue-dark);
	font-size: 1.2rem;
	font-weight: 600;
}

.article-author {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-top: 70px;
	padding: 30px;
	background: #fff;
	border: 1px solid var(--blog-line);
	border-radius: 20px;
	box-shadow: 0 12px 35px rgba(20, 27, 72, 0.06);
}

.article-author-mark {
	display: flex;
	flex: 0 0 68px;
	width: 68px;
	height: 68px;
	align-items: center;
	justify-content: center;
	background: var(--blog-blue);
	border-radius: 20px;
	color: var(--blog-yellow);
	font-size: 1.8rem;
	font-weight: 900;
}

.article-author span {
	display: block;
	margin-bottom: 3px;
	color: var(--blog-muted);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.article-author strong {
	display: block;
	margin-bottom: 5px;
	color: var(--blog-ink);
	font-size: 1.15rem;
}

.article-author p {
	margin: 0;
	color: var(--blog-muted);
	font-size: 0.88rem;
}

.related-section {
	padding: 95px 0 110px;
	background: #eef0f7;
}

.related-heading {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 30px;
	margin-bottom: 38px;
}

.related-heading h2 {
	margin: 0;
	color: var(--blog-ink);
	font-size: clamp(2rem, 3.5vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -0.04em;
}

.related-heading > a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	color: var(--blog-blue);
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
}

.related-card .blog-card-body {
	min-height: 235px;
}

.article-not-found {
	display: flex;
	min-height: 80vh;
	align-items: center;
	padding: 170px 0 100px;
	text-align: center;
}

.article-not-found-code {
	display: block;
	color: var(--blog-yellow);
	font-size: 1rem;
	font-weight: 900;
	letter-spacing: 0.2em;
}

.article-not-found h1 {
	margin: 12px 0 15px;
	color: var(--blog-ink);
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -0.05em;
}

.article-not-found p {
	margin: 0 auto 28px;
	max-width: 590px;
	color: var(--blog-muted);
	font-size: 1.05rem;
}

.article-not-found a {
	display: inline-flex;
	padding: 13px 25px;
	background: var(--blog-blue);
	border-radius: 50px;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

@media (max-width: 991px) {
	.article-hero {
		padding: 145px 0 125px;
	}

	.article-layout {
		margin-top: -65px;
	}

	.article-cover {
		margin-bottom: 55px;
	}
}

@media (max-width: 767px) {
	.article-hero {
		padding: 125px 0 95px;
	}

	.article-back {
		margin-bottom: 10px;
	}

	.article-hero h1 {
		font-size: clamp(2rem, 9vw, 2.85rem);
	}

	.article-meta {
		gap: 9px;
		font-size: 0.8rem;
	}

	.article-layout {
		margin-top: -43px;
		padding-bottom: 70px;
	}

	.article-cover {
		margin-bottom: 42px;
		aspect-ratio: 4 / 3;
		border-width: 5px;
		border-radius: 20px;
	}

	.article-intro {
		padding-left: 18px;
	}

	.article-rich-text {
		font-size: 1rem;
		line-height: 1.82;
	}

	.article-rich-text > p:has(+ ul),
	.article-rich-text > p:has(+ ol) {
		font-size: 1.3rem;
	}

	.article-author {
		align-items: flex-start;
		margin-top: 50px;
		padding: 24px 20px;
	}

	.article-author-mark {
		flex-basis: 54px;
		width: 54px;
		height: 54px;
		border-radius: 16px;
		font-size: 1.4rem;
	}

	.related-section {
		padding: 70px 0 80px;
	}

	.related-heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 30px;
	}
}
