/* ==========================================================================
   TirtoPress Design System — High-Fidelity Adaptation of Tirto.id
   ========================================================================== */

:root {
	--accent: #1e40af;
	--blue: #1e40af;
	--red: #991b1b;
	--green: #166534;
	--orange: #9a3412;
	--ink: #000000;
	--white: #ffffff;
	--black: #000000;
	--header-bg: #000000;
	--body-bg: #ffffff;
	--card-bg: #ffffff;
	--gray: #4b5563;
	--sky: #d1d5db;
	--light: #f3f4f6;
	--border-color: #e5e7eb;
	--avatar-bg: #e5e7eb;
	--card-radius: 6px;
	--rounded: 8px;
	--rounded-small: 4px;
	--depth-4: 0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108);
	--depth-8: 0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108);
	--font-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-serif: "Imbue", Georgia, "Times New Roman", serif;
	--btn-color: #f9fafb;
	--btn-color-hover: #f3f4f6;
	--btn-primary-color: #1e40af;
	--btn-primary-color-hover: #1e3a8a;
}

[data-theme="dark"] {
	--ink: #ffffff;
	--white: #09090b;
	--black: #ffffff;
	--body-bg: #09090b;
	--card-bg: #111115;
	--gray: #a1a1aa;
	--sky: #3f3f46;
	--light: #18181b;
	--border-color: #27272a;
	--btn-color: #18181b;
	--btn-color-hover: #27272a;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--body-bg);
	text-wrap: pretty;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover, a:focus {
	color: var(--accent);
}

img {
	max-width: 100%;
	height: auto;
}

/* Accessibility Skip Link */
.skip-to-main {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999999;
	background: var(--accent);
	color: #fff;
	padding: 8px 16px;
	font-weight: 600;
}
.skip-to-main:focus {
	left: 16px;
	top: 16px;
}

/* Container & Utilities */
.container {
	max-width: 996px;
	padding: 0 24px;
	margin: 0 auto;
}

.flex { display: flex; }
.flex-center { align-items: center; }
.flex-end { align-items: flex-end; }
.flex-1 { flex: 1 1 0%; min-width: 0; }
.text-semibold { font-weight: 600; }
.text-sans-semibold { font-weight: 600; }
.text-serif-bold { font-family: var(--font-serif); font-weight: 700; }
.text-small { font-size: 13px; line-height: 18px; }
.color-red { color: var(--red); }
.mb-8 { margin-bottom: 8px; }
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }
.mr-12 { margin-right: 12px; }
.ml-4 { margin-left: 4px; }
.mr-4 { margin-right: 4px; }

.separator {
	clear: both;
	height: 0;
	border-bottom: solid 1px var(--border-color);
}

/* Buttons */
.btn {
	user-select: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	line-height: 24px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 6px 14px;
	border: solid 1px var(--border-color);
	border-radius: var(--rounded-small);
	background: var(--btn-color);
	color: var(--ink);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}
.btn:hover, .btn:focus {
	background: var(--btn-color-hover);
	color: var(--ink);
}
.btn-small {
	padding: 4px 12px;
	font-size: 13px;
	line-height: 20px;
}
.btn-primary {
	background: var(--btn-primary-color);
	border-color: var(--btn-primary-color);
	color: #ffffff;
}
.btn-primary:hover, .btn-primary:focus {
	background: var(--btn-primary-color-hover);
	color: #ffffff;
}

/* ==========================================================================
   Site Header (Tirto.id Solid Black Sticky Bar)
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 9997;
	background: var(--header-bg);
	color: #ffffff;
	box-shadow: var(--depth-4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
	min-height: 56px;
	gap: 16px;
}

.site-header-logo {
	font-style: normal;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-header-logo .logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: #ffffff;
	line-height: 1;
}

.site-header-logo .logo-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #3b82f6;
	margin-left: 1px;
}

.site-header-logo img {
	max-height: 32px;
	width: auto;
	display: block;
}

/* Header Search */
.site-header-search {
	flex: 0 1 230px;
	position: relative;
}

.site-header-search form {
	display: flex;
	align-items: center;
	position: relative;
}

.site-header-search input[type="search"] {
	width: 100%;
	height: 34px;
	padding: 6px 34px 6px 12px;
	font-family: inherit;
	font-size: 13px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--rounded-small);
	outline: none;
	transition: background 0.15s, border-color 0.15s;
}

.site-header-search input[type="search"]::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

.site-header-search input[type="search"]:focus {
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.45);
}

.site-header-search .search-submit {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: 0;
	color: rgba(255, 255, 255, 0.75);
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
}

/* Primary Nav */
.site-nav {
	display: flex;
	align-items: center;
	margin-left: auto;
	justify-content: flex-end;
}

.site-nav ul {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2px;
}

.site-nav a {
	display: block;
	padding: 8px 12px;
	line-height: 20px;
	font-size: 14px;
	color: #ffffff;
	font-weight: 700;
	border-radius: var(--rounded-small);
	white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav .current-menu-item > a {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

/* Header Action Buttons (Theme Toggle & Menu Drawer) */
.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}
.site-nav + .header-actions {
	margin-left: 0;
}

.header-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--rounded-small);
	background: transparent;
	border: 0;
	color: #ffffff;
	cursor: pointer;
	transition: background 0.15s;
}

.header-btn:hover, .header-btn:focus {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

/* Optional Breaking News Bar */
.breaking-bar {
	background: var(--red);
	color: #ffffff;
	font-size: 13px;
	line-height: 20px;
	padding: 6px 0;
}
.breaking-bar .container {
	display: flex;
	align-items: center;
	gap: 12px;
	overflow: hidden;
}
.breaking-badge {
	background: #ffffff;
	color: var(--red);
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 2px 8px;
	border-radius: 3px;
	flex-shrink: 0;
}
.breaking-link {
	color: #ffffff;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.breaking-link:hover {
	color: #fef08a;
	text-decoration: underline;
}

/* Drawer / Sidebar Menu */
.menu-position {
	position: relative;
}
.sidebar-drawer {
	background: var(--card-bg);
	color: var(--ink);
	position: fixed;
	top: 56px;
	right: max(16px, calc((100vw - 996px) / 2 + 24px));
	width: 290px;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
	z-index: 99999;
	border: 1px solid var(--border-color);
	border-radius: var(--card-radius);
	box-shadow: var(--depth-8);
	padding: 16px;
	display: none;
}
.sidebar-drawer.active {
	display: block;
}
.sidebar-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--border-color);
	font-weight: 700;
}
.sidebar-drawer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sidebar-drawer ul li a {
	display: block;
	padding: 8px 10px;
	font-size: 14px;
	font-weight: 600;
	border-radius: var(--rounded-small);
}
.sidebar-drawer ul li a:hover {
	background: var(--light);
}
.drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 9998;
	display: none;
}
.drawer-overlay.active {
	display: block;
}

/* ==========================================================================
   Page Sections & Editorial Headers
   ========================================================================== */
.page-section, .category-section {
	position: relative;
	padding: 24px 0;
	margin: 0;
	background: var(--body-bg);
	color: var(--ink);
}

.page-hero {
	padding-top: 24px;
	padding-bottom: 88px;
}

.page-hero::after {
	content: "";
	position: absolute;
	bottom: 3px;
	left: 0;
	right: 0;
	border-top: solid 1px var(--border-color);
	border-bottom: solid 1px var(--border-color);
	height: 5px;
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

.page-section:not(.page-section-diajeng) .section-header {
	padding: 8px 0;
	border-top: solid 1px var(--ink);
	border-bottom: dashed 1px var(--sky);
}

[data-theme="dark"] .page-section:not(.page-section-diajeng) .section-header {
	border-top-color: var(--sky);
}

.section-header + .section-body {
	padding-top: 16px;
}

.section-title {
	font-weight: 700;
	font-size: 32px;
	line-height: 40px;
	letter-spacing: -0.032em;
	margin: 0;
}

.section-title-small {
	font-size: 18px;
	line-height: 24px;
	letter-spacing: -0.02em;
}

.section-title-large {
	font-size: 32px;
	line-height: 36px;
	letter-spacing: -0.032em;
	padding-top: 8px;
}

.section-subtitle {
	font-size: 15px;
	line-height: 22px;
	color: var(--gray);
	margin: 6px 0 0;
	max-width: 718px;
}

.section-more a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 500;
	color: var(--accent);
	font-size: 14px;
}
.section-more a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Grid System & Hairline Newspaper Dividers
   ========================================================================== */
.grid {
	position: relative;
	margin: 0;
	display: grid;
	grid-column-gap: 32px;
	grid-row-gap: 24px;
}

.grid > div {
	min-width: 0;
}

.grid-2x { grid-template-columns: repeat(2, 1fr); }
.grid-3x { grid-template-columns: repeat(3, 1fr); }
.grid-4x { grid-template-columns: repeat(4, 1fr); }
.grid-5x { grid-template-columns: repeat(5, 1fr); }
.grid-2-3 { grid-template-columns: repeat(5, 1fr); }

.grid-2-3 .grid-2-3-lead {
	grid-column: 1 / 3;
	position: relative;
}

.grid-2-3 .grid-2-3-sub {
	grid-column: 3 / 6;
}

.grid-2-3 .grid-2-3-lead::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: -16px;
	width: 1px;
	background: var(--border-color);
}

.grid-2-3 .grid-3x .postcard:nth-child(-n+3)::before {
	content: "";
	position: absolute;
	left: 0;
	right: -32px;
	bottom: -12px;
	height: 1px;
	background: var(--border-color);
}
.grid-2-3 .grid-3x .postcard:nth-child(3)::before {
	right: 0;
}

/* Vertical dividers between grid columns */
.page-section:not(.page-section-diajeng) .content-block-2.grid-2x::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 50%;
	border-right: solid 1px var(--border-color);
}

.grid-3x > .postcard:not(:nth-child(3n))::after,
.grid-4x > .postcard:not(:nth-child(4n))::after,
.grid-5x > .postcard:not(:nth-child(5n))::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: -16px;
	width: 1px;
	background: var(--border-color);
}

/* ==========================================================================
   Pilihan Editor Overlapping Box (Signature Tirto.id Hero Overlap)
   ========================================================================== */
.pilihan-editor {
	position: relative;
	z-index: 5;
	padding: 16px;
	background: var(--white);
	margin: -80px -16px -8px;
	border: solid 1px var(--border-color);
}

.pilihan-editor h2 {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 22px;
	font-weight: 700;
}

/* ==========================================================================
   Diajeng / Special Editorial Band
   ========================================================================== */
.page-section-diajeng {
	margin: 16px 0 0;
	padding: 28px 0 32px;
	background: linear-gradient(to bottom, #fef9c3 0%, rgba(255, 255, 255, 0) 100%);
	border-top: 2px dashed #eab308;
}

[data-theme="dark"] .page-section-diajeng {
	background: linear-gradient(to bottom, rgba(234, 179, 8, 0.14) 0%, rgba(0, 0, 0, 0) 100%);
}

.page-section-diajeng .postcard-img a {
	display: block;
	border: solid 1px var(--ink);
}

.page-section-diajeng .grid > div .postcard-title {
	font-size: 26px;
	line-height: 1.25;
	letter-spacing: -0.03em;
}

/* ==========================================================================
   Postcards & Thumbnails
   ========================================================================== */
.postcard {
	position: relative;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.postcard h3, .postcard p {
	margin: 0;
}

.postcard-img {
	position: relative;
	margin-bottom: 10px;
}

.thumbnail {
	display: block;
	width: 100%;
	position: relative;
	overflow: hidden;
	background: var(--light);
}

.thumbnail-wide {
	padding-bottom: 56.25%;
}

.thumbnail-square {
	padding-bottom: 100%;
}

.thumbnail img {
	border: 0;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.postcard:hover .thumbnail img,
.list-card:hover .thumbnail img {
	transform: scale(1.03);
}

.postcard-num {
	position: absolute;
	bottom: 6px;
	left: 6px;
	width: 32px;
	height: 32px;
	line-height: 28px;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	background: var(--white);
	color: var(--ink);
	border: 2px solid var(--ink);
	border-radius: 4px;
	z-index: 3;
}

.postcard-meta, .list-card-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 4px;
	min-width: 0;
}

.postcard-label, .list-card-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--blue);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.postcard-timestamp, .list-card-timestamp {
	font-size: 12px;
	color: var(--gray);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.postcard-title {
	font-weight: 700;
	font-size: 20px;
	line-height: 26px;
	letter-spacing: -0.02em;
}

.postcard:not(.postcard-display) .postcard-title {
	font-weight: 600;
}

.postcard-display .postcard-title {
	font-size: 24px;
	line-height: 30px;
	letter-spacing: -0.028em;
}

.grid-2-3 .postcard-display .postcard-title {
	font-size: 20px;
	line-height: 25px;
}

.grid-3x .postcard-title {
	font-size: 16px;
	line-height: 22px;
}

.grid-4x .postcard-title,
.grid-5x .postcard-title,
.grid-2-3 .grid-3x .postcard-title {
	font-size: 14px;
	line-height: 19px;
}

.postcard-excerpt {
	margin-top: 8px !important;
	font-size: 14px;
	line-height: 20px;
	color: var(--gray);
}

/* ==========================================================================
   Compact List Cards (Flash News 3-Column & Sidebar Berita Utama)
   ========================================================================== */
.content-block-1-2 .list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 32px;
	grid-row-gap: 0;
	position: relative;
}

.list-card-small {
	display: grid;
	grid-template-columns: auto 72px;
	grid-gap: 12px;
	position: relative;
	padding: 12px 0;
	border-bottom: solid 1px var(--border-color);
	align-items: start;
}

.list-card-small .list-card-img {
	order: 2;
	width: 72px;
}

.list-card-small .list-card-title {
	font-size: 14px;
	line-height: 19px;
	font-weight: 600;
	margin: 0;
}

.content-block-1-2 .list .list-card-small:not(:nth-child(3n))::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: -1px;
	right: -16px;
	width: 1px;
	background: var(--border-color);
}

.content-block-1-2 .list .list-card-small:nth-last-child(-n+3) {
	border-bottom: 0;
	padding-bottom: 0;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs-wrapper {
	padding: 10px 0;
	background: var(--body-bg);
}

.breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.breadcrumbs a, .breadcrumbs .breadcrumb-current {
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;
	color: var(--gray);
}

.breadcrumbs a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.breadcrumb-sep {
	display: inline-flex;
	color: var(--sky);
}

/* ==========================================================================
   Single Article Page
   ========================================================================== */
.article {
	border-top: solid 1px var(--border-color);
	border-bottom: solid 1px var(--border-color);
	display: grid;
	grid-template-columns: minmax(0, 1fr) 324px;
}

.article-wrapper {
	position: relative;
	font-size: 16px;
	padding-top: 24px;
	padding-bottom: 32px;
	padding-right: 24px;
	border-right: solid 1px var(--border-color);
	min-width: 0;
	word-wrap: break-word;
}

.article-sidebar {
	padding: 24px 0 24px 24px;
}

.article-sidebar-sticky {
	position: sticky;
	top: 76px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.article-sidebar .section-title {
	font-size: 16px;
	line-height: 22px;
}

.article-title {
	font-size: 38px;
	line-height: 1.12;
	letter-spacing: -0.028em;
	font-weight: 700;
	margin: 0;
}

.kicker {
	margin: 10px 0 0;
	font-size: 19px;
	line-height: 1.38;
	color: var(--gray);
}

.article-meta {
	margin: 16px 0 20px;
	color: var(--gray);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.byline .reporter-name {
	color: var(--ink);
	font-weight: 600;
	font-size: 14px;
}

.article-tools {
	display: flex;
	align-items: center;
	gap: 8px;
}

.article-cover {
	margin: 0;
}

.article-cover figcaption,
.article-body figcaption {
	margin-top: 8px;
	font-size: 13px;
	line-height: 18px;
	color: var(--gray);
	position: relative;
	padding-left: 16px;
}

.article-cover figcaption::after,
.article-body figcaption::after {
	content: "";
	width: 8px;
	height: 8px;
	border: solid 1px transparent;
	border-left-color: var(--gray);
	border-bottom-color: var(--gray);
	position: absolute;
	top: 2px;
	left: 0;
}

.article-body {
	margin-top: 20px;
	font-size: 16px;
	line-height: 1.65;
}

[data-txtSize="large"] .article-body {
	font-size: 20px;
	line-height: 1.7;
}

.article-body p {
	margin: 0 0 1.15em;
}

.article-body h2 {
	font-size: 1.44em;
	font-weight: 700;
	line-height: 1.25;
	margin: 1.4em 0 0.65em;
}

.article-body h3, .article-body h4 {
	font-size: 1.2em;
	font-weight: 600;
	line-height: 1.3;
	margin: 1.4em 0 0.65em;
}

.article-body a {
	color: var(--accent);
	text-decoration: underline;
}

.article-body blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	border-left: solid 3px var(--ink);
	font-weight: 600;
	font-size: 1.05em;
}

/* Article Tags & Share */
.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
}

.article-tags a {
	display: inline-block;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 600;
	background: var(--light);
	color: var(--ink);
	border-radius: 4px;
	text-decoration: none;
}

.article-tags a:hover {
	background: var(--accent);
	color: #ffffff;
}

.article-share-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
	padding: 14px 0;
	border-top: 1px dashed var(--sky);
	border-bottom: 1px dashed var(--sky);
}

.post-navigation {
	margin-top: 24px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
	display: block;
	padding: 12px;
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-small);
	font-size: 14px;
	font-weight: 600;
}

/* ==========================================================================
   Author Heading & Archive Pagination
   ========================================================================== */
.author-heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.author-heading .avatar {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--avatar-bg);
	margin: 12px 0 16px;
}

.author-heading h1 {
	margin: 0;
	font-size: 36px;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.author-heading p {
	margin: 10px 0 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--gray);
	max-width: 680px;
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 0 8px;
}

.pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-small);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #ffffff;
}

/* ==========================================================================
   Site Footer (Special Channels + Social Bar + 4-Col Editorial Grid)
   ========================================================================== */
.site-footer {
	background: var(--body-bg);
	color: var(--ink);
	padding: 24px 0 40px;
	border-top: 1px solid var(--border-color);
}

.special-channel {
	padding: 4px 0;
	display: flex;
	border-top: solid 1px var(--border-color);
	border-bottom: solid 1px var(--border-color);
}

.special-channel a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 700;
	border-radius: var(--rounded-small);
	transition: background 0.15s;
}

.special-channel a:hover {
	background: var(--light);
}

.sn-channel {
	padding: 14px 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
}

.sn-channel a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: var(--rounded-small);
	font-size: 14px;
	font-weight: 600;
}

.sn-channel a:hover {
	background: var(--light);
}

.site-footer-content {
	padding-top: 24px;
	border-top: solid 2px var(--ink);
}

.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-footer ul li a {
	display: inline-flex;
	line-height: 28px;
	font-size: 14px;
	color: var(--ink);
}

.site-footer ul li a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.site-footer-logo {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.04em;
	margin-bottom: 8px;
}

.site-footer-small {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--border-color);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
	color: var(--gray);
}

/* ==========================================================================
   Responsive Breakpoints (996px, 768px, 640px)
   ========================================================================== */
@media (max-width: 996px) {
	.site-nav {
		display: none;
	}
	.grid-5x {
		grid-template-columns: repeat(3, 1fr);
	}
	.grid-5x > .postcard:not(:nth-child(5n))::after {
		display: none;
	}
	.grid-2-3 {
		grid-template-columns: 1fr;
	}
	.grid-2-3 .grid-2-3-lead,
	.grid-2-3 .grid-2-3-sub {
		grid-column: auto;
	}
	.grid-2-3 .grid-2-3-lead::after {
		display: none;
	}
	.article {
		grid-template-columns: 1fr;
	}
	.article-wrapper {
		padding-right: 0;
		border-right: 0;
	}
	.article-sidebar {
		padding-left: 0;
		border-top: 1px solid var(--border-color);
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 16px;
	}
	.site-header-search {
		display: none;
	}
	.page-hero {
		padding-bottom: 24px;
	}
	.pilihan-editor {
		margin: 16px 0 0;
	}
	.grid-2x,
	.grid-3x,
	.grid-4x,
	.grid-5x,
	.content-block-1-2 .list {
		grid-template-columns: 1fr;
	}
	.page-section:not(.page-section-diajeng) .content-block-2.grid-2x::after,
	.grid-3x > .postcard::after,
	.grid-4x > .postcard::after,
	.content-block-1-2 .list .list-card-small::after,
	.grid-2-3 .grid-3x .postcard::before {
		display: none;
	}
	.content-block-1-2 .list .list-card-small:nth-last-child(-n+3) {
		border-bottom: solid 1px var(--border-color);
		padding-bottom: 12px;
	}
	.content-block-1-2 .list .list-card-small:last-child {
		border-bottom: 0;
	}
	.special-channel {
		flex-direction: column;
	}
	.article-title {
		font-size: 28px;
	}
	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}
}
