:root {
	--primary-teal: #00AA9B;
	--dark-navy: #172333;
	--soft-bg: #F8F9FA;
}

body {
	font-family: 'Plus Jakarta Sans', sans-serif;
	background-color: white;
	color: var(--dark-navy);
	line-height: 1.8;
}

/* Tombol Kembali Konsisten di Kiri Atas */
/* .back-nav {
	position: fixed;
	top: 25px;
	left: 25px;
	z-index: 1000;
} */

.btn-back-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark-navy);
  background: transparent;
  transition: 0.25s;
}

.btn-back-inline:hover {
  background: transparent;
  color: var(--primary-teal);
  transform: translateX(-3px);
}

.btn-back {
	background: white;
	color: var(--dark-navy);
	border-radius: 50px;
	padding: 10px 22px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: 0.3s;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid #eee;
}

.btn-back:hover {
	background: var(--primary-teal);
	color: white;
	transform: translateX(-5px);
}

/* Detail Berita Styling */
.article-container {
	max-width: 900px;
	margin: 100px auto 60px;
	padding: 0 20px;
}

.article-category {
	color: var(--primary-teal);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.85rem;
	margin-bottom: 15px;
	display: block;
}

.article-title {
	font-weight: 800;
	font-size: 2.5rem;
	line-height: 1.2;
	margin-bottom: 25px;
}

.article-meta {
	display: flex;
	align-items: center;
	gap: 20px;
	color: #6c757d;
	font-size: 0.9rem;
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.main-article-img {
	width: 100%;
	border-radius: 25px;
	margin-bottom: 40px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.article-body {
	font-size: 1.1rem;
	color: #444;
	text-align: justify;
	line-height: 1.9;
}

.article-body p {
	margin: 0 0 1.55rem;
}

.article-body p + p {
	margin-top: .35rem;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5 {
	color: var(--dark-navy);
	font-weight: 800;
	line-height: 1.3;
	margin: 2rem 0 1rem;
	text-align: left;
}

.article-body ul,
.article-body ol {
	margin: 0 0 1.5rem 1.25rem;
	padding-left: 1rem;
	text-align: left;
}

.article-body li {
	margin-bottom: .65rem;
	line-height: 1.8;
}

.article-body blockquote {
	margin: 2rem 0;
	padding: 1rem 1.25rem;
	border-left: 5px solid var(--primary-teal);
	background: rgba(0, 170, 155, .08);
	border-radius: 0 14px 14px 0;
	color: #334155;
	font-weight: 600;
	text-align: left;
}

.article-body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 2rem auto;
	border-radius: 18px;
}

.article-body a {
	color: var(--primary-teal);
	font-weight: 700;
	text-decoration: none;
}

.article-body a:hover {
	text-decoration: underline;
}

.article-body table {
	width: 100%;
	margin: 2rem 0;
	border-collapse: collapse;
	text-align: left;
}

.article-body table th,
.article-body table td {
	padding: .8rem;
	border: 1px solid #e5e7eb;
	vertical-align: top;
}

.article-body table th {
	background: #f8fafc;
	color: var(--dark-navy);
}

@media (max-width: 768px) {
	.article-container {
		margin-top: 82px;
		padding: 0 18px;
	}

	.article-title {
		font-size: 1.65rem;
		line-height: 1.25;
	}

	.article-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		margin-bottom: 28px;
	}

	.main-article-img {
		border-radius: 18px;
		margin-bottom: 28px;
	}

	.article-body {
		font-size: 1rem;
		line-height: 1.85;
		text-align: left;
	}

	.article-body p {
		margin-bottom: 1.35rem;
	}
}

.btn-edit {
	display: inline-flex;
	align-items: center;
	gap: 6px;

	padding: 10px 24px;
	border-radius: 12px;

	font-size: 14px;
	font-weight: 600;
	text-decoration: none;

	color: #2563eb;
	border: 1.5px solid rgba(37, 99, 235, 0.4);
	background-color: transparent;

	transition: all 0.25s ease;
}

.btn-edit:hover {
	background-color: #2563eb;
	color: #fff;
	border-color: #2563eb;
}
