/**
 * Homepage Modern CSS
 * Theme: Parto v2.3.7
 * Description: Modern homepage with modular sections
 * Architecture: Modular, Mobile-First, Performance-Optimized
 * 
 * @package Parto
 * @since 2.0.0
 * @updated 2026-01-01
 */

/* ============================================
   GLOBAL HOMEPAGE STYLES
   ============================================ */

.homepage-modern {
	background-color: #fafafa;
	padding: 0;
	padding-top: 1.5rem; /* Space below sticky secondary menu */
	--grid-gap: 16px;
	--section-spacing: 36px;
	--hero-thumb-max-height: 320px;
	--hero-aspect: 16 / 9;
	--list-thumb-max-height: 160px;
	--list-aspect: 4 / 3;
}

.density-comfortable.homepage-modern {
	--grid-gap: calc(var(--grid-gap, 16px) + 4px);
	--section-spacing: calc(var(--section-spacing, 36px) + 8px);
}

.homepage-container {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 20px;
}

.home-section {
	margin-bottom: var(--section-spacing, 36px); /* tighter spacing to show more blocks per viewport */
}

/* Section Headers */
.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
	padding-bottom: 6px;
	border-bottom: 1px solid #e5e7eb;
}

.section-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0;
	color: #111827;
	letter-spacing: -0.02em;
}

.section-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.section-title a:hover {
	color: #2563eb;
}

.section-more {
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s ease;
}

.section-more:hover {
	color: #2563eb;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
	margin-bottom: var(--section-spacing, 36px);
}

.hero-grid {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: var(--grid-gap, 16px);
	align-items: stretch;
}

/* Main Featured Post */
.hero-main {
	grid-column: span 1;
	display: flex;
	flex-direction: column;
	min-height: 220px;
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	box-shadow: none;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-main:hover {
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
	transform: translateY(-2px);
}

.hero-main-thumb {
	position: relative;
	margin: 0;
	overflow: hidden;
	width: 100%;
	flex-shrink: 0;
	background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.hero-main-thumb a {
	display: block;
	width: 100%;
	height: 100%;
}

.hero-main-thumb img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 16 / 9;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-main:hover .hero-main-thumb img {
	transform: scale(1.05);
}

.hero-main-content {
	padding: 12px 16px;
	display: grid;
	align-content: start;
	gap: 8px;
}

.hero-main-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	margin: 8px 0 6px;
	letter-spacing: -0.02em;
}

.hero-main-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hero-main-title a:hover {
	color: #2563eb;
}

.hero-excerpt {
	font-size: 14px;
	line-height: 1.5;
	color: #4b5563;
	margin-top: 8px;
}

/* Secondary Posts Grid */
.hero-secondary {
	grid-column: span 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: calc(var(--grid-gap, 16px) - 2px);
}

.hero-secondary.hero-secondary-grid .hero-small {
	display: grid;
	grid-template-rows: auto 1fr;
}

.hero-small {
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	box-shadow: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-small:hover {
	box-shadow: 0 6px 16px rgba(17, 24, 39, 0.12);
	transform: translateY(-2px);
}

.hero-small-thumb {
	margin: 0;
	overflow: hidden;
	aspect-ratio: var(--hero-aspect, 16 / 9);
	max-height: calc(var(--hero-thumb-max-height, 420px) * 0.35);
	background: #f3f4f6;
}

.hero-small-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.hero-small:hover .hero-small-thumb img {
	transform: scale(1.05);
}

.hero-small-content {
	padding: 12px;
}

.hero-small-title {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
	margin: 6px 0 6px;
}

.hero-small-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hero-small-title a:hover {
	color: #2563eb;
}

/* ============================================
   POST META & CATEGORY
   ============================================ */

.post-category {
	display: inline-block;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #ffffff;
	background-color: #2563eb;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.post-category:hover {
	color: #ffffff;
	background-color: #1d4ed8;
	transform: translateY(-1px);
}

.post-category-small {
	padding: 3px 8px;
	font-size: 11px;
}

/* Post Meta - Modern Style */
.post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
	color: #6b7280;
	margin-top: 10px;
}

.post-time,
.post-author,
.post-views {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	position: relative;
}

.post-time svg,
.post-author svg,
.post-views svg {
	width: 14px;
	height: 14px;
	color: var(--parto-color-primary, #dc2626);
	opacity: 0.85;
}

/* Separator line */
.post-time:not(:last-child)::after,
.post-author:not(:last-child)::after,
.post-views:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -6px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 12px;
	background: #e5e7eb;
}

.post-author img {
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 4px;
}

/* ============================================
   LATEST SECTION
   ============================================ */

.latest-section {
	margin-bottom: 32px;
}

/* Column Grid System with CSS Variables */
.latest-grid-cols {
	display: grid;
	grid-template-columns: repeat(var(--latest-cols, 3), 1fr);
	gap: var(--grid-gap, 16px);
}

.latest-grid {
	display: grid;
	grid-template-columns: repeat(var(--latest-cols, 3), 1fr);
	gap: calc(var(--grid-gap, 16px) - 2px);
}

/* Grid Layout (Default) */
.latest-post {
	display: flex;
	flex-direction: column;
	background: transparent;
	border-radius: 0;
	border-bottom: 1px solid #e5e7eb;
	padding: 0 0 12px;
	box-shadow: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.latest-post:hover {
	transform: translateY(-1px);
}

.latest-post.no-thumb {
	grid-template-columns: 1fr;
}

.latest-thumb {
	margin: 0 0 10px;
	overflow: hidden;
	aspect-ratio: var(--list-aspect, 4 / 3);
	max-height: var(--list-thumb-max-height, 160px);
	background: #f3f4f6;
}

.latest-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.latest-post:hover .latest-thumb img {
	transform: scale(1.05);
}

.latest-content {
	padding: 4px 0;
}

.latest-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	margin: 7px 0 6px;
}

.latest-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.latest-title a:hover {
	color: #2563eb;
}

.latest-excerpt {
	font-size: 13px;
	line-height: 1.5;
	color: #6b7280;
	margin-top: 6px;
}

/* ============================================
   LATEST - LIST LAYOUT
   ============================================ */

.latest-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.latest-list-item {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 16px;
	align-items: start;
	padding: 16px 0;
	border-bottom: 1px solid #e5e7eb;
	transition: background 0.2s ease;
}

.latest-list-item:first-child {
	padding-top: 0;
}

.latest-list-item:hover {
	background: #f9fafb;
}

.latest-list-item.no-thumb {
	grid-template-columns: 1fr;
}

.latest-list-thumb {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f3f4f6;
	border-radius: 6px;
}

.latest-list-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.latest-list-item:hover .latest-list-thumb img {
	transform: scale(1.05);
}

.latest-list-content {
	padding: 4px 0;
}

.latest-list-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	margin: 6px 0 8px;
}

.latest-list-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.latest-list-title a:hover {
	color: #2563eb;
}

/* ============================================
   LATEST - MAGAZINE LAYOUT
   ============================================ */

.latest-magazine {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

.latest-featured {
	position: relative;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.latest-featured-thumb {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.latest-featured-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.latest-featured:hover .latest-featured-thumb img {
	transform: scale(1.05);
}

.latest-featured-content {
	padding: 16px;
}

.latest-featured-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	margin: 8px 0 10px;
}

.latest-featured-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.latest-featured-title a:hover {
	color: #2563eb;
}

.latest-magazine-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.latest-magazine-item {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 12px;
	align-items: start;
	padding: 12px 0;
	border-bottom: 1px solid #e5e7eb;
}

.latest-magazine-item.no-thumb {
	grid-template-columns: 1fr;
}

.latest-magazine-thumb {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f3f4f6;
	border-radius: 4px;
}

.latest-magazine-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.latest-magazine-content {
	padding: 0;
}

.latest-magazine-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin: 4px 0 6px;
}

.latest-magazine-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.latest-magazine-title a:hover {
	color: #2563eb;
}

/* ============================================
   LATEST - MINIMAL LAYOUT
   ============================================ */

.latest-minimal {
	display: grid;
	grid-template-columns: repeat(var(--latest-cols, 3), 1fr);
	gap: var(--grid-gap, 16px);
}

.latest-minimal-item {
	padding: 16px 0;
	border-bottom: 1px solid #e5e7eb;
}

.latest-minimal-title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
	margin: 6px 0 8px;
}

.latest-minimal-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.latest-minimal-title a:hover {
	color: #2563eb;
}

/* ============================================
   LATEST - OVERLAY LAYOUT
   ============================================ */

.latest-overlay {
	display: grid;
	grid-template-columns: repeat(var(--latest-cols, 3), 1fr);
	gap: var(--grid-gap, 16px);
}

.latest-overlay-item {
	position: relative;
	min-height: 220px;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
	border-radius: 8px;
	overflow: hidden;
}

.latest-overlay-item::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
	transition: opacity 0.3s ease;
}

.latest-overlay-item:hover::before {
	background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.latest-overlay-link {
	display: flex;
	align-items: flex-end;
	position: absolute;
	inset: 0;
	padding: 16px;
	text-decoration: none;
}

.latest-overlay-content {
	position: relative;
	z-index: 1;
}

.latest-overlay-content .post-category {
	background: rgba(255,255,255,0.2);
	color: #fff;
}

.latest-overlay-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	margin: 8px 0 6px;
	color: #fff;
}

.latest-overlay-content .post-meta {
	color: rgba(255,255,255,0.8);
}

.latest-overlay-content .post-time {
	color: rgba(255,255,255,0.8);
}

/* ============================================
   LATEST - MASONRY LAYOUT
   ============================================ */

.latest-masonry {
	display: grid;
	grid-template-columns: repeat(var(--latest-cols, 3), 1fr);
	gap: var(--grid-gap, 16px);
	grid-auto-flow: dense;
}

.latest-masonry-item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.latest-masonry-item:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	transform: translateY(-2px);
}

.latest-masonry-item.masonry-tall {
	grid-row: span 2;
}

.latest-masonry-thumb {
	margin: 0;
	overflow: hidden;
	background: #f3f4f6;
}

.latest-masonry-item:not(.masonry-tall) .latest-masonry-thumb {
	aspect-ratio: 4 / 3;
}

.latest-masonry-item.masonry-tall .latest-masonry-thumb {
	aspect-ratio: 3 / 4;
	flex: 1;
}

.latest-masonry-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.latest-masonry-item:hover .latest-masonry-thumb img {
	transform: scale(1.05);
}

.latest-masonry-content {
	padding: 14px;
}

.latest-masonry-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 6px 0 8px;
}

.latest-masonry-item.masonry-tall .latest-masonry-title {
	font-size: 18px;
}

.latest-masonry-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.latest-masonry-title a:hover {
	color: #2563eb;
}

/* ============================================
   LATEST - TWO COLUMN LAYOUT (WITH TAJUK)
   ============================================ */

.latest-wrapper {
	display: block;
}

.latest-with-tajuk .latest-wrapper {
	display: grid;
	grid-template-columns: 70% 30%;
	gap: 32px;
	align-items: start;
}

.latest-full-width .latest-wrapper {
	display: block;
}

.latest-main {
	min-width: 0;
}

/* ============================================
   TAJUK SIDEBAR
   ============================================ */

.latest-tajuk {
	position: sticky;
	top: 100px;
	background: #f8fafc;
	border-radius: 8px;
	padding: 20px;
}

.tajuk-header {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #1a1a1a;
}

.tajuk-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
}

.tajuk-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.tajuk-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 0;
	border-bottom: 1px solid #e5e7eb;
}

.tajuk-item:last-child {
	border-bottom: none;
}

/* Tajuk - Numbered Style */
.tajuk-style-numbered .tajuk-rank {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: #1a1a1a;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	border-radius: 4px;
}

/* Tajuk - Thumbnail Style */
.tajuk-style-thumbnail .tajuk-thumb {
	flex-shrink: 0;
	width: 80px;
	height: 60px;
	overflow: hidden;
	border-radius: 4px;
	background: #e5e7eb;
}

.tajuk-style-thumbnail .tajuk-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tajuk-item:hover .tajuk-thumb img {
	transform: scale(1.05);
}

/* Tajuk - Minimal Style */
.tajuk-style-minimal .tajuk-item {
	padding: 12px 0;
}

.tajuk-style-minimal .tajuk-item-title {
	font-size: 15px;
}

/* Tajuk - Border Accent Style */
.tajuk-style-border .tajuk-border-accent {
	flex-shrink: 0;
	width: 4px;
	height: 100%;
	min-height: 50px;
	background: #2563eb;
	border-radius: 2px;
}

.tajuk-style-border .tajuk-item {
	align-items: stretch;
}

/* Tajuk Content */
.tajuk-content {
	flex: 1;
	min-width: 0;
}

.tajuk-item-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	margin: 4px 0 6px;
}

.tajuk-item-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tajuk-item-title a:hover {
	color: #2563eb;
}

.tajuk-item .post-category {
	font-size: 10px;
	padding: 2px 6px;
}

.tajuk-item .post-meta {
	font-size: 11px;
}

/* ============================================
   CATEGORY SECTION
   ============================================ */

.category-section {
	margin-bottom: 32px;
}

.category-list-compact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: calc(var(--grid-gap, 16px) - 2px);
}

.category-item {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: calc(var(--grid-gap, 16px) - 6px);
	align-items: start;
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
}

.category-item-lead {
	grid-template-columns: 160px 1fr;
}

.category-item.no-thumb {
	grid-template-columns: 1fr;
}

.category-thumb {
	margin: 0;
	overflow: hidden;
	background: #f3f4f6;
	aspect-ratio: var(--list-aspect, 4 / 3);
	max-height: var(--list-thumb-max-height, 160px);
}

.category-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.category-item:hover .category-thumb img {
	transform: scale(1.03);
}

.category-content {
	padding: 0;
}

.category-title,
.category-title-lead {
	font-weight: 700;
	line-height: 1.35;
	margin: 6px 0;
}

.category-title {
	font-size: 15px;
}

.category-title-lead {
	font-size: 17px;
}

.category-title a,
.category-title-lead a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.category-title a:hover,
.category-title-lead a:hover {
	color: #2563eb;
}

.category-excerpt {
	font-size: 13px;
	line-height: 1.5;
	color: #6b7280;
	margin-top: 6px;
}

/* ============================================
   TRENDING SECTION
   ============================================ */

.trending-section {
	margin-bottom: 40px;
}

/* Trending Wrapper - Two Column Layout */
.trending-wrapper {
	display: block;
}

.trending-with-opini .trending-wrapper {
	display: grid;
	grid-template-columns: 70% 30%;
	gap: 32px;
	align-items: start;
}

.trending-full-width .trending-wrapper {
	display: block;
}

.trending-main {
	min-width: 0;
}

/* List Layout (Default) */
.trending-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: calc(var(--grid-gap, 16px) - 2px);
}

.trending-post {
	display: grid;
	grid-template-columns: auto 72px 1fr;
	gap: calc(var(--grid-gap, 16px) - 6px);
	align-items: start;
	background: transparent;
	border-bottom: 1px solid #e5e7eb;
	padding: 10px 0;
	box-shadow: none;
	transition: transform 0.2s ease;
}

.trending-post:hover {
	transform: translateY(-1px);
}

.trending-post.no-thumb {
	grid-template-columns: auto 1fr;
}

.trending-rank {
	font-size: 24px;
	font-weight: 800;
	color: #e5e7eb;
	line-height: 1;
	min-width: 30px;
	text-align: center;
}

.trending-thumb {
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: var(--list-aspect, 4 / 3);
	max-height: var(--list-thumb-max-height, 160px);
	background: #f3f4f6;
}

.trending-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.trending-post:hover .trending-thumb img {
	transform: scale(1.1);
}

.trending-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	margin: 6px 0 6px;
}

.trending-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.trending-title a:hover {
	color: #2563eb;
}

/* ============================================
   TRENDING - OVERLAY LAYOUT
   ============================================ */

.trending-overlay-grid {
	display: grid;
	grid-template-columns: repeat(var(--trending-cols, 2), 1fr);
	gap: var(--grid-gap, 16px);
}

.trending-overlay-item {
	position: relative;
	min-height: 200px;
	background-color: #1a1a1a;
	background-size: cover;
	background-position: center;
	border-radius: 10px;
	overflow: hidden;
}

.trending-overlay-item::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.15) 100%);
	transition: opacity 0.3s ease;
}

.trending-overlay-item:hover::before {
	background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%);
}

.trending-overlay-link {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: absolute;
	inset: 0;
	padding: 16px;
	text-decoration: none;
}

.trending-overlay-rank {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: rgba(255,255,255,0.95);
	color: #1a1a1a;
	font-size: 16px;
	font-weight: 800;
	border-radius: 6px;
	z-index: 2;
}

.trending-overlay-content {
	position: relative;
	z-index: 1;
	margin-top: auto;
}

.trending-overlay-content .post-category {
	background: rgba(255,255,255,0.2);
	color: #fff;
	font-size: 10px;
}

.trending-overlay-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 8px 0 6px;
	color: #fff;
}

.trending-overlay-content .post-meta {
	color: rgba(255,255,255,0.8);
	font-size: 11px;
}

.trending-overlay-content .post-time,
.trending-overlay-content .post-views {
	color: rgba(255,255,255,0.8);
}

/* ============================================
   TRENDING - GRID CARDS LAYOUT
   ============================================ */

.trending-grid-cards {
	display: grid;
	grid-template-columns: repeat(var(--trending-cols, 2), 1fr);
	gap: var(--grid-gap, 16px);
}

.trending-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.trending-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	transform: translateY(-2px);
}

.trending-card-thumb {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #f3f4f6;
}

.trending-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.trending-card:hover .trending-card-thumb img {
	transform: scale(1.05);
}

.trending-card-rank {
	position: absolute;
	bottom: 10px;
	left: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: #1a1a1a;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	border-radius: 4px;
}

.trending-card-rank.no-thumb-rank {
	position: static;
	margin-bottom: 8px;
}

.trending-card-content {
	padding: 14px;
}

.trending-card-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin: 6px 0 8px;
}

.trending-card-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.trending-card-title a:hover {
	color: #2563eb;
}

/* ============================================
   OPINI SIDEBAR (Combined with Trending)
   ============================================ */

.trending-opini {
	position: sticky;
	top: 100px;
	background: #f8fafc;
	border-radius: 8px;
	padding: 20px;
}

.opini-header {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #1a1a1a;
}

.opini-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
}

.opini-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.opini-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 0;
	border-bottom: 1px solid #e5e7eb;
}

.opini-item:last-child {
	border-bottom: none;
}

.opini-content {
	flex: 1;
	min-width: 0;
}

.opini-item-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	margin: 4px 0 8px;
}

.opini-item-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.opini-item-title a:hover {
	color: #2563eb;
}

.opini-item .post-author {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #6b7280;
}

.opini-item .post-author img {
	border-radius: 50%;
}

.opini-thumb {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	overflow: hidden;
	border-radius: 6px;
	background: #e5e7eb;
	margin: 0;
}

.opini-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.opini-item:hover .opini-thumb img {
	transform: scale(1.05);
}

/* Opini Style: Numbered (Numbered List) */
.opini-style-numbered .opini-item {
	position: relative;
	padding-left: 36px;
}

.opini-style-numbered .opini-rank {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 700;
	color: #2563eb;
	line-height: 1;
	min-width: 28px;
	text-align: center;
}

.opini-style-numbered .opini-item:nth-child(1) .opini-rank {
	color: #dc2626;
}

.opini-style-numbered .opini-item:nth-child(2) .opini-rank {
	color: #ea580c;
}

.opini-style-numbered .opini-item:nth-child(3) .opini-rank {
	color: #ca8a04;
}

.opini-style-numbered .opini-thumb {
	width: 60px;
	height: 60px;
}

/* Opini Style: Thumb Left */
.opini-style-thumb_left .opini-item {
	flex-direction: row;
}

.opini-style-thumb_left .opini-thumb-left {
	order: -1;
	width: 80px;
	height: 80px;
}

/* Opini Style: Stacked (Thumb Top) */
.opini-style-stacked .opini-item {
	flex-direction: column;
	gap: 10px;
}

.opini-style-stacked .opini-thumb-top {
	width: 100%;
	height: 120px;
	border-radius: 8px;
}

.opini-style-stacked .opini-content {
	width: 100%;
}

.opini-style-stacked .opini-item-title {
	font-size: 15px;
}

/* Opini Style: Minimal (No Thumb) */
.opini-style-minimal .opini-item {
	padding: 12px 0;
	border-left: 3px solid transparent;
	padding-left: 12px;
	margin-left: -12px;
	transition: all 0.2s ease;
}

.opini-style-minimal .opini-item:hover {
	border-left-color: #2563eb;
	background: rgba(37, 99, 235, 0.02);
}

.opini-style-minimal .opini-item-title {
	font-size: 14px;
	margin-top: 0;
}

.opini-style-minimal .post-category {
	display: none;
}

/* Opini Style: Author Focus */
.opini-style-author_focus .opini-item {
	flex-direction: row;
	align-items: center;
	gap: 14px;
	padding: 16px 0;
}

.opini-style-author_focus .opini-avatar {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0;
	border: 2px solid #e5e7eb;
	transition: border-color 0.2s ease;
}

.opini-style-author_focus .opini-item:hover .opini-avatar {
	border-color: #2563eb;
}

.opini-style-author_focus .opini-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.opini-style-author_focus .opini-content {
	flex: 1;
}

.opini-style-author_focus .opini-item-title {
	font-size: 14px;
	margin: 0 0 6px;
	line-height: 1.4;
}

.opini-style-author_focus .post-author-name {
	font-weight: 600;
	color: #2563eb;
	font-size: 12px;
}

.opini-style-author_focus .post-meta {
	display: flex;
	align-items: center;
	gap: 8px;
}

.opini-style-author_focus .post-time {
	font-size: 11px;
	color: #9ca3af;
}

.opini-style-author_focus .post-time::before {
	content: '•';
	margin-right: 8px;
	color: #d1d5db;
}

/* ============================================
   EDITORIAL SECTION
   ============================================ */

.editorial-section {
	margin-bottom: 40px;
}

.editorial-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.editorial-post {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 16px;
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
	transition: all 0.2s ease;
}

.editorial-post:first-child {
	border-radius: 8px 8px 0 0;
}

.editorial-post:last-child {
	border-bottom: none;
	border-radius: 0 0 8px 8px;
}

.editorial-post:hover {
	background: #f9fafb;
	transform: translateX(4px);
}

.editorial-title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	margin: 8px 0;
}

.editorial-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.editorial-title a:hover {
	color: #2563eb;
}

.editorial-thumb {
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	background: #f3f4f6;
}

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

/* ============================================
   VIDEO SECTION
   ============================================ */

.video-section {
	margin-bottom: 40px;
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--grid-gap, 16px);
}

.video-post {
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.video-post:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.video-thumb {
	position: relative;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #000000;
}

.video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.video-post:hover .video-thumb img {
	transform: scale(1.05);
	opacity: 0.8;
}

.video-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	transition: transform 0.3s ease;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	padding: 8px;
	color: #000;
}

.video-play-icon svg {
	display: block;
}

.video-post:hover .video-play-icon {
	transform: translate(-50%, -50%) scale(1.1);
	background: rgba(255, 255, 255, 1);
}

.video-content {
	padding: 14px;
}

.video-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 8px 0;
}

.video-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.video-title a:hover {
	color: #2563eb;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
	margin: 56px 0;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	border-radius: 12px;
	overflow: hidden;
}

.newsletter-container {
	padding: 40px 28px;
	text-align: center;
}

.newsletter-title {
	font-size: 26px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 12px;
}

.newsletter-description {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 20px;
}

.newsletter-form {
	max-width: 500px;
	margin: 0 auto;
}

.newsletter-form-default {
	display: flex;
	gap: 12px;
}

.newsletter-form-default input[type="email"] {
	flex: 1;
	padding: 12px 18px;
	font-size: 14px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	transition: all 0.2s ease;
}

.newsletter-form-default input[type="email"]::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.newsletter-form-default input[type="email"]:focus {
	outline: none;
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.2);
}

.newsletter-form-default button {
	padding: 12px 28px;
	font-size: 14px;
	font-weight: 600;
	color: #2563eb;
	background: #ffffff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.newsletter-form-default button:hover {
	background: #f3f4f6;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   VIDEO SECTION - YouTube Integration
   ============================================ */

.video-section {
	margin-bottom: 50px;
}

/* Featured Layout: 1 Large + 4 Small Grid */
.video-featured-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.video-card {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	background: #ffffff;
}

.video-card-featured {
	grid-row: span 2;
}

.video-card-featured .video-thumbnail {
	height: 100%;
	min-height: 380px;
}

.video-grid-small {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.video-card-small .video-thumbnail {
	height: 160px;
}

.video-thumbnail {
	position: relative;
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #1f2937;
	margin: 0;
}

.video-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail img {
	transform: scale(1.05);
}

/* Play Overlay */
.video-play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.3);
	transition: background 0.3s ease;
}

.video-card:hover .video-play-overlay {
	background: rgba(0, 0, 0, 0.5);
}

.video-play-btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-card-featured .video-play-btn {
	width: 80px;
	height: 80px;
}

.video-play-btn svg {
	width: 24px;
	height: 24px;
	color: #dc2626;
	margin-left: 4px;
}

.video-card-featured .video-play-btn svg {
	width: 32px;
	height: 32px;
}

.video-play-btn:hover {
	transform: scale(1.1);
	background: #ffffff;
}

/* Duration Badge */
.video-duration {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.85);
	color: #ffffff;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* Video Info */
.video-info {
	padding: 14px;
}

.video-card-featured .video-info {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5) 60%, transparent);
}

.video-category {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #dc2626;
	background: rgba(220, 38, 38, 0.1);
	padding: 4px 10px;
	border-radius: 4px;
	text-decoration: none;
	margin-bottom: 8px;
	transition: all 0.2s ease;
}

.video-card-featured .video-category {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
}

.video-category:hover {
	background: #dc2626;
	color: #ffffff;
}

.video-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
}

.video-card-featured .video-title {
	font-size: 20px;
	color: #ffffff;
}

.video-title a {
	color: inherit;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.video-title a:hover {
	color: #2563eb;
}

.video-card-featured .video-title a:hover {
	color: #60a5fa;
}

.video-meta {
	font-size: 12px;
	color: #6b7280;
	margin-top: 8px;
}

.video-card-featured .video-meta {
	color: rgba(255, 255, 255, 0.7);
}

/* Grid Layout */
.video-layout-grid .video-grid {
	display: grid;
	grid-template-columns: repeat(var(--video-cols, 4), 1fr);
	gap: 20px;
}

.video-layout-grid .video-thumbnail {
	height: 180px;
}

/* List Layout */
.video-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.video-card-list {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 20px;
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	padding: 16px;
}

.video-card-list .video-thumbnail {
	height: 160px;
	border-radius: 8px;
}

.video-card-list .video-info {
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.video-card-list .video-title {
	font-size: 18px;
	-webkit-line-clamp: 2;
}

.video-excerpt {
	font-size: 14px;
	color: #6b7280;
	margin: 8px 0 0;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Carousel Layout */
.video-carousel-wrapper {
	position: relative;
	padding: 0 50px;
}

.video-carousel {
	overflow: hidden;
}

.video-carousel-track {
	display: flex;
	gap: 20px;
	transition: transform 0.4s ease;
}

.video-carousel-slide {
	flex: 0 0 calc(25% - 15px);
	min-width: 250px;
}

.video-carousel-slide .video-thumbnail {
	height: 160px;
}

.video-carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-carousel-nav:hover {
	background: #f3f4f6;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-carousel-nav svg {
	width: 20px;
	height: 20px;
	color: #374151;
}

.video-carousel-prev {
	left: 0;
}

.video-carousel-next {
	right: 0;
}

/* Video Modal */
.video-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.video-modal[aria-hidden="false"] {
	opacity: 1;
	visibility: visible;
}

.video-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
	position: relative;
	width: 90%;
	max-width: 1000px;
	z-index: 1;
}

.video-modal-close {
	position: absolute;
	top: -50px;
	right: 0;
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	cursor: pointer;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease;
}

.video-modal-close:hover {
	transform: scale(1.1);
}

.video-modal-close svg {
	width: 28px;
	height: 28px;
}

.video-modal-player {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	background: #000000;
	border-radius: 10px;
	overflow: hidden;
}

.video-modal-player iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Video Section Responsive */
@media (max-width: 1024px) {
	.video-featured-layout {
		grid-template-columns: 1fr;
	}
	
	.video-card-featured {
		grid-row: span 1;
	}
	
	.video-card-featured .video-thumbnail {
		min-height: 280px;
	}
	
	.video-grid-small {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.video-layout-grid .video-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.video-carousel-slide {
		flex: 0 0 calc(33.33% - 14px);
	}
}

@media (max-width: 768px) {
	.video-grid-small {
		grid-template-columns: 1fr;
	}
	
	.video-card-small .video-thumbnail {
		height: 200px;
	}
	
	.video-layout-grid .video-grid {
		grid-template-columns: 1fr;
	}
	
	.video-card-list {
		grid-template-columns: 1fr;
	}
	
	.video-card-list .video-thumbnail {
		height: 200px;
	}
	
	.video-carousel-wrapper {
		padding: 0 40px;
	}
	
	.video-carousel-slide {
		flex: 0 0 calc(50% - 10px);
		min-width: 200px;
	}
	
	.video-play-btn {
		width: 50px;
		height: 50px;
	}
	
	.video-card-featured .video-play-btn {
		width: 60px;
		height: 60px;
	}
}

@media (max-width: 480px) {
	.video-carousel-slide {
		flex: 0 0 100%;
	}
	
	.video-carousel-wrapper {
		padding: 0;
	}
	
	.video-carousel-nav {
		display: none;
	}
}

/* ============================================
   CATEGORY BLOCKS SECTION
   ============================================ */

.catblocks-section {
	margin-bottom: 50px;
}

/* Grid Layout */
.catblocks-grid {
	display: grid;
	grid-template-columns: repeat(var(--catblocks-cols, 3), 1fr);
	gap: 24px;
}

.catblocks-layout-full .catblocks-grid {
	grid-template-columns: 1fr;
}

/* Single Category Block */
.catblock {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}

.catblock-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #e5e7eb;
	background: #fafafa;
}

.catblock-section-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
	color: #111827;
}

.catblock-section-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.catblock-section-title a:hover {
	color: #2563eb;
}

.catblock-view-all {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s ease;
}

.catblock-view-all:hover {
	color: #2563eb;
}

.catblock-content {
	padding: 16px 20px;
}

/* Featured Post in Block */
.catblock-featured {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e7eb;
}

.catblock-thumb {
	margin: 0 0 12px;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 16/9;
}

.catblock-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.catblock-featured:hover .catblock-thumb img {
	transform: scale(1.03);
}

.catblock-info {
	padding: 0;
}

.catblock-title {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.45;
	margin: 0;
}

.catblock-title-featured {
	font-size: 1.0625rem;
	font-weight: 700;
}

.catblock-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.catblock-title a:hover {
	color: #2563eb;
}

.catblock-excerpt {
	font-size: 0.875rem;
	color: #6b7280;
	line-height: 1.6;
	margin: 8px 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.catblock-date {
	display: block;
	font-size: 0.75rem;
	color: #9ca3af;
	margin-top: 8px;
}

/* List Posts in Block */
.catblock-list-item {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f3f4f6;
}

.catblock-list-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.catblock-list-thumb {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	border-radius: 6px;
	overflow: hidden;
	margin: 0;
	background: #e5e7eb;
}

.catblock-list-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.catblock-list-item:hover .catblock-list-thumb img {
	transform: scale(1.05);
}

.catblock-list-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.catblock-list-info .catblock-title {
	font-size: 0.8125rem;
	margin-bottom: 4px;
}

.catblock-list-info .catblock-date {
	margin-top: 0;
}

/* Tabbed Layout */
.catblocks-tabs {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}

.catblocks-tabs-nav {
	display: flex;
	gap: 0;
	padding: 0;
	background: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.catblocks-tab-btn {
	flex: 1;
	min-width: 120px;
	padding: 14px 20px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #6b7280;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.catblocks-tab-btn:hover {
	color: #111827;
	background: rgba(0, 0, 0, 0.02);
}

.catblocks-tab-btn.active {
	color: #2563eb;
	border-bottom-color: #2563eb;
	background: #ffffff;
}

.catblocks-tabs-content {
	padding: 20px;
}

.catblocks-tab-panel {
	display: none;
}

.catblocks-tab-panel.active {
	display: block;
}

.catblocks-tab-panel .catblock-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	padding: 0;
}

.catblocks-tab-panel .catblock-featured {
	grid-row: span 3;
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.catblocks-tab-panel .catblock-list-item {
	padding: 0;
	border: none;
}

.catblock-more {
	display: inline-block;
	margin-top: 16px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
}

.catblock-more:hover {
	text-decoration: underline;
}

/* Full Width Layout */
.catblocks-layout-full .catblock {
	display: grid;
	grid-template-columns: 1fr;
}

.catblocks-layout-full .catblock-content {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 24px;
}

.catblocks-layout-full .catblock-featured {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.catblocks-layout-full .catblock-list-item:first-of-type {
	padding-top: 0;
}

/* Category Blocks Responsive */
@media (max-width: 1024px) {
	.catblocks-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.catblocks-layout-full .catblock-content {
		grid-template-columns: 1fr;
	}
	
	.catblocks-tab-panel .catblock-content {
		grid-template-columns: 1fr;
	}
	
	.catblocks-tab-panel .catblock-featured {
		grid-row: span 1;
	}
}

@media (max-width: 768px) {
	.catblocks-grid {
		grid-template-columns: 1fr;
	}
	
	.catblocks-tabs-nav {
		gap: 0;
	}
	
	.catblocks-tab-btn {
		min-width: 100px;
		padding: 12px 16px;
		font-size: 0.8125rem;
	}
}

/* ============================================
   RESPONSIVE DESIGN - BASE MOBILE STYLES
   Note: Comprehensive responsive styles are in responsive.css
   ============================================ */

/* Tablet (768px and up) - Base fallback */
@media (max-width: 768px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}
	
	.hero-main,
	.hero-secondary {
		grid-column: span 1;
	}
	
	.hero-main-title {
		font-size: 20px;
	}
	
	.category-grid {
		grid-template-columns: 1fr;
	}
	
	.category-featured {
		grid-template-columns: 1fr;
		grid-column: span 1;
	}
	
	.latest-layout-list .latest-post {
		grid-template-columns: 1fr;
	}
	
	.trending-grid {
		grid-template-columns: 1fr;
	}
	
	.section-title {
		font-size: 18px;
	}
	
	/* Tajuk responsive - stack below latest */
	.latest-with-tajuk .latest-wrapper {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	
	.latest-tajuk {
		position: static;
	}
	
	/* Trending + Opini responsive - stack below */
	.trending-with-opini .trending-wrapper {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	
	.trending-opini {
		position: static;
	}
	
	/* Trending overlay/grid - reduce columns */
	.trending-overlay-grid,
	.trending-grid-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile (576px and up) - Base fallback */
@media (max-width: 576px) {
	.homepage-container {
		padding: 0 12px;
	}
	
	.home-section {
		margin-bottom: 24px;
	}
	
	.hero-main-content,
	.hero-small-content {
		padding: 12px;
	}
	
	.hero-main-title {
		font-size: 17px;
	}
	
	.hero-small-title {
		font-size: 12px;
	}
	
	/* Latest Section - Mobile Columns */
	.latest-grid,
	.latest-grid-cols,
	.latest-overlay,
	.latest-masonry,
	.latest-minimal {
		grid-template-columns: repeat(var(--latest-cols-mobile, 1), 1fr);
		gap: 12px;
	}
	
	.latest-magazine {
		grid-template-columns: 1fr;
	}
	
	.latest-list-item {
		grid-template-columns: 120px 1fr;
		gap: 12px;
	}
	
	.latest-overlay-item {
		min-height: 180px;
	}
	
	.trending-post {
		grid-template-columns: auto 65px 1fr;
		gap: 10px;
	}
	
	.trending-rank {
		font-size: 20px;
		min-width: 26px;
	}
	
	/* Trending overlay/grid - single column on mobile */
	.trending-overlay-grid,
	.trending-grid-cards {
		grid-template-columns: 1fr;
	}
	
	.trending-overlay-item {
		min-height: 160px;
	}
	
	.newsletter-form-default {
		flex-direction: column;
	}
	
	.newsletter-container {
		padding: 24px 16px;
	}
}

/* Tablet */
@media (min-width: 577px) and (max-width: 991px) {
	.latest-grid,
	.latest-grid-cols,
	.latest-overlay,
	.latest-masonry,
	.latest-minimal {
		grid-template-columns: repeat(var(--latest-cols-tablet, 2), 1fr);
	}
	
	.latest-magazine {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.latest-list-item {
		grid-template-columns: 160px 1fr;
	}
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Loading skeleton (optional) */
.skeleton {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* ============================================
   WAWANCARA KHUSUS SECTION
   ============================================ */

.wawancara-section {
	margin-bottom: var(--section-spacing, 36px);
}

.wawancara-grid {
	display: grid;
	grid-template-columns: repeat(var(--wawancara-cols, 5), 1fr);
	gap: var(--grid-gap, 16px);
}

/* Wawancara Card */
.wawancara-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wawancara-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.wawancara-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Thumbnail */
.wawancara-thumb {
	position: relative;
	aspect-ratio: var(--wawancara-aspect, 1 / 1);
	overflow: hidden;
	background: linear-gradient(135deg, #4a7dbc 0%, #2c5aa0 100%);
}

.wawancara-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.wawancara-card:hover .wawancara-thumb img {
	transform: scale(1.05);
}

.wawancara-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #4a7dbc 0%, #2c5aa0 100%);
}

.wawancara-placeholder svg {
	color: rgba(255, 255, 255, 0.6);
}

/* Interview Badge */
.wawancara-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 28px;
	height: 28px;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
}

.wawancara-badge svg {
	color: #fff;
}

/* Overlay Layout */
.wawancara-section.layout-overlay .wawancara-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 12px 12px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
	color: #fff;
}

.wawancara-section.layout-overlay .wawancara-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wawancara-section.layout-overlay .wawancara-author {
	font-size: 11px;
	opacity: 0.8;
}

/* Card Layout (default) */
.wawancara-section.layout-card .wawancara-content {
	padding: 12px;
}

.wawancara-section.layout-card .wawancara-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 8px;
	color: #111827;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wawancara-section.layout-card .wawancara-card:hover .wawancara-title {
	color: #2563eb;
}

.wawancara-excerpt {
	font-size: 12px;
	color: #6b7280;
	line-height: 1.5;
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wawancara-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 11px;
	color: #9ca3af;
}

.wawancara-meta span {
	display: flex;
	align-items: center;
	gap: 4px;
}

.wawancara-meta svg {
	flex-shrink: 0;
}

/* Minimal Layout */
.wawancara-section.layout-minimal .wawancara-card {
	box-shadow: none;
	border-radius: 0;
}

.wawancara-section.layout-minimal .wawancara-thumb {
	border-radius: 8px;
}

.wawancara-section.layout-minimal .wawancara-content {
	padding: 10px 0;
}

.wawancara-section.layout-minimal .wawancara-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 4px;
	color: #111827;
}

.wawancara-section.layout-minimal .wawancara-meta {
	font-size: 11px;
}

/* Circle Layout */
.wawancara-section.layout-circle .wawancara-thumb {
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	margin: 16px 16px 0;
}

.wawancara-section.layout-circle .wawancara-card {
	text-align: center;
}

.wawancara-section.layout-circle .wawancara-content {
	padding: 12px;
}

.wawancara-section.layout-circle .wawancara-title {
	font-size: 13px;
	margin: 0 0 6px;
}

.wawancara-section.layout-circle .wawancara-meta {
	justify-content: center;
}

.wawancara-section.layout-circle .wawancara-badge {
	display: none;
}

/* ============================================
   WAWANCARA RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
	.wawancara-grid {
		grid-template-columns: repeat(min(var(--wawancara-cols, 5), 4), 1fr);
	}
}

@media (max-width: 991px) {
	.wawancara-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.wawancara-section.layout-card .wawancara-title,
	.wawancara-section.layout-minimal .wawancara-title {
		font-size: 13px;
	}
}

@media (max-width: 768px) {
	.wawancara-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	
	.wawancara-section.layout-circle .wawancara-thumb {
		margin: 12px 12px 0;
	}
}

@media (max-width: 480px) {
	.wawancara-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	
	.wawancara-section.layout-card .wawancara-content,
	.wawancara-section.layout-minimal .wawancara-content {
		padding: 10px;
	}
	
	.wawancara-section.layout-card .wawancara-title {
		font-size: 12px;
		-webkit-line-clamp: 2;
	}
	
	.wawancara-badge {
		width: 24px;
		height: 24px;
		top: 8px;
		left: 8px;
	}
	
	.wawancara-badge svg {
		width: 12px;
		height: 12px;
	}
}

/* ============================================
   INFOGRAFIS SECTION
   ============================================ */

.infografis-section {
	margin-bottom: var(--section-spacing, 36px);
}

.infografis-grid {
	display: grid;
	grid-template-columns: repeat(var(--infografis-cols, 3), 1fr);
	gap: var(--grid-gap, 16px);
}

/* Infografis Card */
.infografis-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.infografis-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.infografis-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Thumbnail */
.infografis-thumb {
	position: relative;
	aspect-ratio: var(--infografis-aspect, 1 / 1);
	overflow: hidden;
	background: linear-gradient(135deg, #4a7dbc 0%, #2c5aa0 100%);
}

.infografis-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.infografis-card:hover .infografis-thumb img {
	transform: scale(1.05);
}

.infografis-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #4a7dbc 0%, #2c5aa0 100%);
}

.infografis-placeholder svg {
	color: rgba(255, 255, 255, 0.6);
}

/* Infografis Badge */
.infografis-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 28px;
	height: 28px;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
}

.infografis-badge svg {
	color: #fff;
}

/* Overlay Layout */
.infografis-section.layout-overlay .infografis-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 50px 16px 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
	color: #fff;
}

.infografis-section.layout-overlay .infografis-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.infografis-section.layout-overlay .infografis-date {
	font-size: 12px;
	opacity: 0.8;
}

/* Card Layout (default) */
.infografis-section.layout-card .infografis-content {
	padding: 14px;
}

.infografis-section.layout-card .infografis-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 8px;
	color: #111827;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.infografis-section.layout-card .infografis-card:hover .infografis-title {
	color: #2563eb;
}

.infografis-section.layout-card .infografis-date {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #9ca3af;
}

.infografis-section.layout-card .infografis-date svg {
	flex-shrink: 0;
}

/* Minimal Layout */
.infografis-section.layout-minimal .infografis-card {
	box-shadow: none;
}

.infografis-section.layout-minimal .infografis-thumb {
	border-radius: 8px;
}

.infografis-section.layout-minimal .infografis-content {
	display: none;
}

.infografis-section.layout-minimal .infografis-badge {
	display: none;
}

/* ============================================
   INFOGRAFIS RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
	.infografis-grid {
		grid-template-columns: repeat(min(var(--infografis-cols, 3), 3), 1fr);
	}
	
	.infografis-section.layout-card .infografis-title,
	.infografis-section.layout-overlay .infografis-title {
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.infografis-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

@media (max-width: 480px) {
	.infografis-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	
	.infografis-section.layout-card .infografis-content {
		padding: 10px;
	}
	
	.infografis-section.layout-card .infografis-title {
		font-size: 13px;
	}
	
	.infografis-badge {
		width: 24px;
		height: 24px;
		top: 8px;
		left: 8px;
	}
	
	.infografis-badge svg {
		width: 12px;
		height: 12px;
	}
}

/* ============================================
   KARIKATUR SECTION
   ============================================ */

.karikatur-section {
	margin-bottom: var(--section-spacing, 36px);
}

.karikatur-grid {
	display: grid;
	grid-template-columns: repeat(var(--karikatur-cols, 5), 1fr);
	gap: var(--grid-gap, 16px);
}

/* Karikatur Card */
.karikatur-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.karikatur-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.karikatur-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.karikatur-thumb {
	position: relative;
	aspect-ratio: var(--karikatur-aspect, 1 / 1);
	overflow: hidden;
	background: linear-gradient(135deg, #4a7dbc 0%, #2c5aa0 100%);
}

.karikatur-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.karikatur-card:hover .karikatur-thumb img {
	transform: scale(1.05);
}

.karikatur-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.karikatur-placeholder svg {
	color: rgba(255, 255, 255, 0.7);
}

.karikatur-content {
	padding: 12px;
}

.karikatur-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 4px;
	color: #111827;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.karikatur-card:hover .karikatur-title {
	color: #2563eb;
}

.karikatur-date {
	font-size: 11px;
	color: #9ca3af;
}

/* Karikatur Responsive */
@media (max-width: 1200px) {
	.karikatur-grid {
		grid-template-columns: repeat(min(var(--karikatur-cols, 5), 4), 1fr);
	}
}

@media (max-width: 991px) {
	.karikatur-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.karikatur-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

@media (max-width: 480px) {
	.karikatur-content {
		padding: 10px;
	}
	
	.karikatur-title {
		font-size: 12px;
	}
}

/* ============================================
   CEK FAKTA SECTION
   ============================================ */

.cekfakta-section {
	margin-bottom: var(--section-spacing, 36px);
}

.cekfakta-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--grid-gap, 16px);
}

/* Featured Post */
.cekfakta-featured {
	grid-row: span 2;
}

.cekfakta-featured .cekfakta-link {
	display: block;
	height: 100%;
}

.cekfakta-featured .cekfakta-thumb {
	position: relative;
	height: 100%;
	min-height: 400px;
	overflow: hidden;
	border-radius: 8px;
	background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.cekfakta-featured .cekfakta-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.cekfakta-featured:hover .cekfakta-thumb img {
	transform: scale(1.05);
}

.cekfakta-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.cekfakta-placeholder svg {
	color: rgba(255, 255, 255, 0.5);
}

.cekfakta-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #10b981;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	border-radius: 4px;
	z-index: 2;
}

.cekfakta-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 60px 20px 20px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
	color: #fff;
}

.cekfakta-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
	color: #ffffff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cekfakta-featured:hover .cekfakta-title {
	color: #ffffff;
}

.cekfakta-excerpt {
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 10px;
	opacity: 0.9;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cekfakta-date {
	font-size: 12px;
	opacity: 0.8;
}

/* Grid Posts */
.cekfakta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--grid-gap, 16px);
}

.cekfakta-card {
	border-radius: 8px;
	overflow: hidden;
}

.cekfakta-card .cekfakta-link {
	display: block;
}

.cekfakta-card .cekfakta-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.cekfakta-card .cekfakta-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.cekfakta-card:hover .cekfakta-thumb img {
	transform: scale(1.05);
}

.cekfakta-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 40px 12px 12px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.cekfakta-card-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
	color: #ffffff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Cek Fakta Responsive */
@media (max-width: 991px) {
	.cekfakta-wrapper {
		grid-template-columns: 1fr;
	}
	
	.cekfakta-featured {
		grid-row: span 1;
	}
	
	.cekfakta-featured .cekfakta-thumb {
		min-height: 300px;
	}
	
	.cekfakta-title {
		font-size: 18px;
	}
}

@media (max-width: 768px) {
	.cekfakta-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
	
	.cekfakta-featured .cekfakta-thumb {
		min-height: 250px;
	}
}

@media (max-width: 480px) {
	.cekfakta-featured .cekfakta-thumb {
		min-height: 200px;
	}
	
	.cekfakta-title {
		font-size: 16px;
	}
	
	.cekfakta-excerpt {
		display: none;
	}
	
	.cekfakta-card-title {
		font-size: 12px;
	}
}

/* ============================================
   ACEH SEPEKAN SECTION
   ============================================ */

.sepekan-section {
	margin-bottom: var(--section-spacing, 36px);
}

.sepekan-grid {
	display: grid;
	grid-template-columns: repeat(var(--sepekan-cols, 3), 1fr);
	gap: var(--grid-gap, 16px);
}

/* Sepekan Card */
.sepekan-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sepekan-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sepekan-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.sepekan-thumb {
	position: relative;
	aspect-ratio: var(--sepekan-aspect, 4 / 3);
	overflow: hidden;
	background: linear-gradient(135deg, #4a7dbc 0%, #2c5aa0 100%);
}

.sepekan-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.sepekan-card:hover .sepekan-thumb img {
	transform: scale(1.05);
}

.sepekan-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #4a7dbc 0%, #2c5aa0 100%);
}

.sepekan-placeholder svg {
	color: rgba(255, 255, 255, 0.6);
}

.sepekan-content {
	padding: 14px;
}

.sepekan-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 8px;
	color: #111827;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sepekan-card:hover .sepekan-title {
	color: #2563eb;
}

.sepekan-excerpt {
	font-size: 13px;
	color: #6b7280;
	line-height: 1.5;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sepekan-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 12px;
	color: #9ca3af;
}

.sepekan-meta span {
	display: flex;
	align-items: center;
	gap: 4px;
}

.sepekan-meta svg {
	flex-shrink: 0;
}

/* Sepekan Responsive */
@media (max-width: 991px) {
	.sepekan-grid {
		grid-template-columns: repeat(min(var(--sepekan-cols, 3), 2), 1fr);
	}
	
	.sepekan-title {
		font-size: 15px;
	}
}

@media (max-width: 768px) {
	.sepekan-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.sepekan-card {
		display: flex;
		flex-direction: row;
	}
	
	.sepekan-thumb {
		width: 140px;
		flex-shrink: 0;
		aspect-ratio: 1 / 1;
	}
	
	.sepekan-content {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.sepekan-thumb {
		width: 120px;
	}
	
	.sepekan-content {
		padding: 10px;
	}
	
	.sepekan-title {
		font-size: 14px;
		margin-bottom: 6px;
	}
	
	.sepekan-excerpt {
		display: none;
	}
}
