/* =========================================================
   HALAMAN KATEGORI MODERN + SLOT IKLAN 90px
   Patch untuk Digimedia News Pro v8.0
   ========================================================= */
.dnp-cat-hero {
	margin-top: 16px;
	background: linear-gradient(125deg, var(--topbar-bg, #0B2545) 0%, var(--primary, #26055C) 58%, var(--purple, #3B0086) 100%);
	color: #FFFFFF;
	border-left: 5px solid var(--accent, #D90429);
	padding: 22px 24px 18px;
	box-shadow: var(--shadow, 0 4px 16px rgba(15, 23, 42, 0.06));
}

.dnp-cat-hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
	font-size: 0.78rem;
	color: #CBD5E1;
}

.dnp-cat-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
}

.dnp-cat-breadcrumb a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

.dnp-cat-breadcrumb strong {
	color: #FFFFFF;
	font-weight: 700;
}

.dnp-cat-count-pill {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #FFFFFF;
	font-size: 0.74rem;
	font-weight: 800;
	padding: 4px 11px;
	letter-spacing: 0.3px;
}

.dnp-cat-kicker {
	display: inline-block;
	background: var(--accent, #D90429);
	color: #FFFFFF;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.9px;
	padding: 3px 9px;
	margin-bottom: 8px;
}

.dnp-cat-title {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.18;
	color: #FFFFFF;
	letter-spacing: -0.4px;
}

.dnp-cat-desc {
	margin-top: 8px;
	font-size: 0.92rem;
	color: #E2E8F0;
	max-width: 780px;
	line-height: 1.55;
}

.dnp-cat-desc p {
	margin: 0;
}

.dnp-cat-chips-bar {
	margin-top: 16px;
	padding-top: 13px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.dnp-cat-chips-label {
	font-size: 0.74rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #CBD5E1;
	white-space: nowrap;
}

.dnp-cat-chips-list {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
}

.dnp-cat-chip {
	display: inline-block;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #F8FAFC;
	font-size: 0.76rem;
	font-weight: 700;
	padding: 4px 11px;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dnp-cat-chip:hover {
	background: var(--accent, #D90429);
	border-color: var(--accent, #D90429);
	color: #FFFFFF;
}

/* Slot Gambar Iklan Kategori Tinggi 90px */
.dnp-cat-ad-90-wrap {
	margin-top: 16px;
	background: var(--surface, #FFFFFF);
	border: 1px solid var(--border, #E5E7EB);
	padding: 10px 12px 12px;
	box-shadow: var(--shadow, 0 4px 16px rgba(15, 23, 42, 0.06));
	text-align: center;
}

.dnp-cat-ad-90-label {
	display: block;
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	color: var(--muted, #6B7280);
	margin-bottom: 6px;
}

.dnp-cat-ad-90-box {
	width: 100%;
	height: 90px;
	overflow: hidden;
	background: var(--surface-alt, #F9FAFB);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dnp-cat-ad-90-box a {
	display: block;
	width: 100%;
	height: 90px;
}

.dnp-cat-ad-90-box img {
	width: 100%;
	height: 90px;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Spotlight 3 Berita Utama Kategori */
.dnp-cat-spotlight {
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.dnp-cat-lead-card {
	background: #0F172A;
	border: 1px solid var(--border, #E5E7EB);
	box-shadow: var(--shadow, 0 4px 16px rgba(15, 23, 42, 0.06));
	overflow: hidden;
}

.dnp-cat-lead-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.dnp-cat-lead-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.dnp-cat-lead-card:hover .dnp-cat-lead-media img {
	transform: scale(1.03);
}

.dnp-cat-lead-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 32%, rgba(15, 23, 42, 0.94) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 22px;
	color: #FFFFFF;
}

.dnp-cat-lead-title {
	font-size: 1.48rem;
	font-weight: 800;
	line-height: 1.28;
	color: #FFFFFF;
	margin-bottom: 8px;
}

.dnp-cat-lead-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	color: #CBD5E1;
}

.dnp-cat-subgrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.dnp-cat-subcard {
	background: var(--surface, #FFFFFF);
	border: 1px solid var(--border, #E5E7EB);
	box-shadow: var(--shadow, 0 4px 16px rgba(15, 23, 42, 0.06));
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.dnp-cat-subthumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--surface-alt, #F9FAFB);
}

.dnp-cat-subthumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.dnp-cat-subcard:hover .dnp-cat-subthumb img {
	transform: scale(1.04);
}

.dnp-cat-subbody {
	padding: 13px 14px 15px;
}

.dnp-cat-subtitle {
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.36;
	color: var(--dark, #111827);
	margin-bottom: 8px;
}

.dnp-cat-subtitle a:hover {
	color: var(--accent, #D90429);
}

.dnp-cat-no-thumb {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--topbar-bg, #0B2545), var(--purple, #3B0086));
}

@media (max-width: 768px) {
	.dnp-cat-hero {
		padding: 16px;
	}
	.dnp-cat-title {
		font-size: 1.45rem;
	}
	.dnp-cat-lead-overlay {
		padding: 15px;
	}
	.dnp-cat-lead-title {
		font-size: 1.15rem;
	}
	.dnp-cat-subgrid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.dnp-cat-subbody {
		padding: 10px 10px 12px;
	}
	.dnp-cat-subtitle {
		font-size: 0.84rem;
		line-height: 1.32;
	}
	.dnp-cat-ad-90-box,
	.dnp-cat-ad-90-box a {
		height: auto;
		max-height: 90px;
	}
	.dnp-cat-ad-90-box img {
		height: auto;
		max-height: 90px;
		object-fit: contain;
	}
}

.dnp-cat-hero-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.dnp-cat-hero-body {
	flex: 1;
	min-width: 0;
}

.dnp-cat-hero-ad-desktop {
	flex: 1 1 640px;
	max-width: 740px;
	background: #0F172A;
	border: 1px solid rgba(255, 255, 255, 0.16);
	padding: 8px 10px 10px;
}

.dnp-cat-hero-ad-mobile {
	display: none;
}

.dnp-cat-hero-ad-label {
	display: block;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.9px;
	text-transform: uppercase;
	color: #CBD5E1;
	margin-bottom: 5px;
	text-align: center;
}

.dnp-cat-hero-ad-box {
	width: 100%;
	height: 90px;
	overflow: hidden;
	background: #0B1120;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dnp-cat-hero-ad-box a {
	display: block;
	width: 100%;
	height: 90px;
}

.dnp-cat-hero-ad-box img {
	width: 100%;
	height: 90px;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 1024px) {
	.dnp-cat-hero-main {
		flex-direction: column;
		align-items: stretch;
	}
	.dnp-cat-hero-ad-desktop {
		flex: none;
		width: 100%;
	}
}

@media (max-width: 768px) {
	.dnp-cat-hero-ad-desktop {
		display: none;
	}
	.dnp-cat-hero-ad-mobile {
		display: block;
		margin-top: 14px;
		padding-top: 12px;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}
	.dnp-cat-hero-ad-mobile .dnp-cat-hero-ad-box,
	.dnp-cat-hero-ad-mobile .dnp-cat-hero-ad-box a {
		height: auto;
		max-height: 90px;
	}
	.dnp-cat-hero-ad-mobile .dnp-cat-hero-ad-box img {
		height: auto;
		max-height: 90px;
		object-fit: contain;
	}
}

.dnp-cat-infeed-slot {
	background: var(--surface-alt, #F9FAFB);
	border: 1px solid var(--border, #E5E7EB);
	padding: 12px;
	margin: 4px 0;
}

.dnp-cat-infeed-slot .ad-box,
.dnp-cat-infeed-slot .ad-box img {
	width: 100%;
	height: auto;
	display: block;
}
