/* =========================================
   Premium News — Magazine Layout
   ========================================= */

/* Page Title */
.inNews .main_title h2 {
	font-size: 2.4rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.03em;
	position: relative;
	padding-bottom: 1rem;
	margin-bottom: 2.5rem;
}

.inNews .main_title h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(135deg, #3b82f6, #06b6d4);
	border-radius: 4px;
}

/* ==============================
   Featured Hero Article
   ============================== */
.news-hero {
	display: flex;
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
	margin-bottom: 3rem;
	border: 1px solid #e2e8f0;
	animation: fadeUpCard 0.6s ease both;
}

.news-hero__photo {
	flex: 0 0 55%;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #e0e7ff, #f0f9ff);
	margin: 0;
	min-height: 380px;
}

.news-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.news-hero:hover .news-hero__photo img {
	transform: scale(1.05);
}

.news-hero__photo .poa {
	z-index: 2;
}

.news-hero__content {
	flex: 1;
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.news-hero__badge {
	display: inline-flex;
	align-items: center;
	background: linear-gradient(135deg, #ef4444, #f97316);
	color: #fff;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
	width: fit-content;
}

.news-hero__content h3 {
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 1rem;
}

.news-hero__content h3 a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.3s;
}

.news-hero:hover .news-hero__content h3 a {
	color: #2563eb;
}

.news-hero__meta {
	font-size: 0.85rem;
	color: #64748b;
	margin-bottom: 1.25rem;
	display: flex;
	align-items: center;
}

.news-hero__meta i {
	color: #3b82f6;
}

.news-hero__content article {
	color: #475569;
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-hero__readmore {
	display: inline-flex;
	align-items: center;
	color: #2563eb;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.3s;
	margin-top: auto;
}

.news-hero__readmore:hover {
	color: #1d4ed8;
	gap: 4px;
}

.news-hero__readmore i {
	transition: transform 0.3s;
}

.news-hero__readmore:hover i {
	transform: translateX(4px);
}

/* ==============================
   Article Card Grid
   ============================== */
.news-grid {
	margin-top: 1rem;
}

.news-card {
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #e2e8f0;
	animation: fadeUpCard 0.6s ease both;
}

.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.2s; }

.news-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 48px -12px rgba(59, 130, 246, 0.18);
	border-color: #bfdbfe;
}

/* Card Image */
.news-card__photo {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	position: relative;
	background: linear-gradient(135deg, #e0e7ff 0%, #f0f9ff 100%);
}

.news-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease, filter 0.4s ease;
}

.news-card:hover .news-card__photo img {
	transform: scale(1.08);
	filter: brightness(1.05);
}

.news-card__photo .poa {
	z-index: 2;
}

/* Card Content */
.news-card__content {
	padding: 1.75rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.news-card__meta {
	font-size: 0.8rem;
	color: #3b82f6;
	background: #eff6ff;
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 1rem;
	width: fit-content;
	font-weight: 500;
}

.news-card__content h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.9rem;
	line-height: 1.6;
}

.news-card__content h3 a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #0f172a;
	text-decoration: none;
	transition: color 0.3s ease;
}

.news-card:hover .news-card__content h3 a {
	color: #2563eb;
}

.news-card__content article {
	color: #475569;
	font-size: 0.92rem;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid #f1f5f9;
}

/* ==============================
   Animation
   ============================== */
@keyframes fadeUpCard {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 900px) {
	.news-hero {
		flex-direction: column;
	}
	
	.news-hero__photo {
		flex: none;
		min-height: 240px;
	}
	
	.news-hero__content {
		padding: 2rem;
	}
	
	.news-hero__content h3 {
		font-size: 1.3rem;
	}
	
	.inNews .main_title h2 {
		font-size: 1.8rem;
	}
}

/* ========================================
   News Detail Page
   ======================================== */

/* Article Header */
.article-header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid #e2e8f0;
}

.article-header__meta {
	margin-bottom: 1.25rem;
}

.article-header__date {
	display: inline-flex;
	align-items: center;
	background: #eff6ff;
	color: #3b82f6;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
}

.article-header__date i {
	font-size: 0.9rem;
}

.article-header__title {
	font-size: 2.2rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.4;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
}

.article-header__desc {
	color: #64748b;
	font-size: 1.1rem;
	line-height: 1.7;
	margin: 0;
}

/* Table of Contents */
.article-toc {
	margin: 0 auto 2.5rem;
}

.article-toc__inner {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.5rem 2rem;
}

.article-toc__title {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
}

.article-toc__title i {
	color: #3b82f6;
}

.article-toc .toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.article-toc .toc-list li {
	margin-bottom: 0.5rem;
}

.article-toc .toc-list li a {
	color: #475569;
	text-decoration: none;
	font-size: 0.95rem;
	padding: 6px 12px;
	border-radius: 8px;
	display: block;
	transition: all 0.2s;
}

.article-toc .toc-list li a:hover {
	background: #eff6ff;
	color: #2563eb;
}

/* Article Body */
.article-body {
	margin: 0 auto 2.5rem;
	font-size: 1.05rem;
	line-height: 1.85;
	color: #334155;
}

.article-body h2 {
	font-size: 1.6rem;
	font-weight: 700;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	color: #0f172a;
}

.article-body h3 {
	font-size: 1.3rem;
	font-weight: 700;
	margin-top: 2rem;
	margin-bottom: 0.8rem;
	color: #1e293b;
}

.article-body p {
	margin-bottom: 1.25rem;
}

.article-body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 1.5rem 0;
}

.article-body blockquote {
	border-left: 4px solid #3b82f6;
	background: #f8fafc;
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0;
	border-radius: 0 12px 12px 0;
	color: #475569;
	font-style: italic;
}

.article-body ul, .article-body ol {
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
}

.article-body li {
	margin-bottom: 0.5rem;
}

/* Share Bar */
.article-share {
	margin: 0 auto 2.5rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.25rem 2rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.article-share__label {
	font-weight: 600;
	color: #475569;
	white-space: nowrap;
	display: flex;
	align-items: center;
}

.article-share__label i {
	color: #3b82f6;
}

/* Related Articles */
.related-articles {
	margin-top: 3rem;
	padding-top: 3rem;
	border-top: 1px solid #e2e8f0;
}

.related-articles__title {
	font-size: 1.4rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
}

.related-articles__title i {
	color: #3b82f6;
}

.related-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.25rem 1.5rem;
	text-decoration: none;
	transition: all 0.3s ease;
	height: 100%;
}

.related-card:hover {
	border-color: #bfdbfe;
	background: #f0f9ff;
	transform: translateX(4px);
	box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
	text-decoration: none;
}

.related-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #eff6ff;
	color: #3b82f6;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.3s;
}

.related-card:hover .related-card__icon {
	background: #3b82f6;
	color: #fff;
}

.related-card__info h4 {
	font-size: 0.95rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 4px;
	line-height: 1.4;
}

.related-card:hover .related-card__info h4 {
	color: #2563eb;
}

.related-card__date {
	font-size: 0.8rem;
	color: #94a3b8;
}

/* Responsive Detail */
@media (max-width: 768px) {
	.article-header__title {
		font-size: 1.6rem;
	}
	
	.article-body {
		font-size: 1rem;
	}
	
	.article-share {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
}
