﻿/*
Theme Name: BelajarWP
Theme URI: https://example.com/belajarwp
Author: Moona
Author URI: https://example.com
Description: Theme WordPress untuk website tutorial "Belajar WordPress untuk Pemula". Menyediakan homepage berbasis bagian (hero, kartu jenis website, langkah dasar, topik tutorial, tutorial terbaru, rekomendasi), mendukung Customizer, custom logo, menu, widget, dan layout responsif berbahasa Indonesia.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: belajarwp
Tags: blog, education, one-column, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   1. VARIABEL & DASAR
   ============================================ */
:root {
	--bwp-blue: #2563eb;
	--bwp-blue-dark: #1e40af;
	--bwp-blue-soft: #eff6ff;
	--bwp-navy: #0f172a;
	--bwp-heading: #0f172a;
	--bwp-text: #334155;
	--bwp-muted: #64748b;
	--bwp-bg: #f8fafc;
	--bwp-white: #ffffff;
	--bwp-border: #e2e8f0;
	--bwp-accent: #f59e0b;
	--bwp-green: #16a34a;
	--bwp-radius: 14px;
	--bwp-radius-sm: 8px;
	--bwp-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
	--bwp-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
	--bwp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--bwp-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--bwp-text);
	background-color: var(--bwp-bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--bwp-heading);
	line-height: 1.3;
	margin: 0 0 0.6em;
	font-weight: 700;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }

p {
	margin: 0 0 1em;
}

a {
	color: var(--bwp-blue);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--bwp-blue-dark);
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}

ul, ol {
	padding-left: 1.4em;
}

hr {
	border: 0;
	border-top: 1px solid var(--bwp-border);
	margin: 2em 0;
}

code, pre {
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 0.92em;
	background: #f1f5f9;
	border-radius: 4px;
}

code {
	padding: 2px 6px;
	color: #be185d;
}

pre {
	padding: 16px;
	overflow: auto;
	border: 1px solid var(--bwp-border);
	margin: 0 0 1.4em;
}

pre code {
	padding: 0;
	color: inherit;
	background: none;
}

blockquote {
	margin: 0 0 1.4em;
	padding: 14px 20px;
	border-left: 4px solid var(--bwp-blue);
	background: var(--bwp-blue-soft);
	border-radius: 0 var(--bwp-radius-sm) var(--bwp-radius-sm) 0;
	color: var(--bwp-heading);
}

table {
	border-collapse: collapse;
	width: 100%;
	margin: 0 0 1.4em;
}

th, td {
	border: 1px solid var(--bwp-border);
	padding: 10px 12px;
	text-align: left;
}

th {
	background: var(--bwp-blue-soft);
	color: var(--bwp-heading);
}

/* Accessibility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--bwp-white);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
	clip: auto !important;
	clip-path: none;
	color: var(--bwp-heading);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
}

.skip-link:focus {
	left: 5px;
	z-index: 100001;
	background: var(--bwp-white);
	padding: 10px 16px;
	border-radius: 0 0 var(--bwp-radius-sm) var(--bwp-radius-sm);
}

/* ============================================
   2. LAYOUT
   ============================================ */
.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-main {
	padding: 48px 0;
}

.layout-two-col {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 36px;
	align-items: start;
}

.layout-one-col {
	max-width: 780px;
	margin: 0 auto;
}

/* Tombol */
.btn {
	display: inline-block;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.2;
	text-decoration: none !important;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}

.btn-primary {
	background: var(--bwp-blue);
	color: var(--bwp-white) !important;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
	background: var(--bwp-blue-dark);
	transform: translateY(-2px);
}

.btn-outline {
	background: transparent;
	color: var(--bwp-blue) !important;
	border-color: var(--bwp-blue);
}

.btn-outline:hover {
	background: var(--bwp-blue);
	color: var(--bwp-white) !important;
	transform: translateY(-2px);
}

.btn-light {
	background: var(--bwp-white);
	color: var(--bwp-blue) !important;
}

.btn-light:hover {
	background: var(--bwp-blue-soft);
	transform: translateY(-2px);
}

.btn-ghost-light {
	background: transparent;
	color: var(--bwp-white) !important;
	border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost-light:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--bwp-white);
	transform: translateY(-2px);
}

/* ============================================
   3. HEADER & NAVIGASI
   ============================================ */
.site-header {
	background: var(--bwp-white);
	border-bottom: 1px solid var(--bwp-border);
	position: sticky;
	top: 0;
	z-index: 999;
	box-shadow: 0 1px 8px rgba(15, 23, 42, 0.05);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 74px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.site-branding img.custom-logo {
	max-height: 46px;
	width: auto;
	border-radius: 8px;
}

.site-logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--bwp-blue), var(--bwp-blue-dark));
	color: var(--bwp-white);
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.5px;
}

.site-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.3px;
}

.site-title a {
	color: var(--bwp-heading);
	text-decoration: none;
}

.site-title a:hover {
	color: var(--bwp-blue);
}

.site-description {
	margin: 0;
	font-size: 0.78rem;
	color: var(--bwp-muted);
	line-height: 1.3;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 10px 14px;
	font-size: 0.93rem;
	font-weight: 600;
	color: var(--bwp-text);
	border-radius: var(--bwp-radius-sm);
	text-decoration: none;
	white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--bwp-blue);
	background: var(--bwp-blue-soft);
}

.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius-sm);
	box-shadow: var(--bwp-shadow-lg);
	padding: 6px;
	display: none;
	z-index: 100;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	display: block;
}

.main-navigation ul ul a {
	padding: 8px 12px;
	font-size: 0.88rem;
}

.menu-toggle {
	display: none;
	background: none;
	border: 2px solid var(--bwp-border);
	border-radius: var(--bwp-radius-sm);
	padding: 8px 12px;
	font-size: 1.2rem;
	line-height: 1;
	color: var(--bwp-heading);
	cursor: pointer;
}

.header-cta {
	flex-shrink: 0;
}

.header-cta .btn {
	padding: 9px 18px;
	font-size: 0.86rem;
}

/* ============================================
   4. HERO (Front Page)
   ============================================ */
.hero {
	background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
	color: var(--bwp-white);
	padding: 84px 0 92px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 26px 26px;
	pointer-events: none;
}

.hero-inner {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
}

.hero-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #dbeafe;
	font-size: 0.82rem;
	font-weight: 600;
	padding: 6px 16px;
	border-radius: 999px;
	margin-bottom: 22px;
}

.hero h1 {
	color: var(--bwp-white);
	font-size: 2.7rem;
	line-height: 1.2;
	letter-spacing: -0.5px;
	margin-bottom: 20px;
}

.hero-subtitle {
	color: #cbd5e1;
	font-size: 1.12rem;
	line-height: 1.8;
	margin: 0 auto 34px;
	max-width: 700px;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ============================================
   5. SECTION UMUM (Front Page)
   ============================================ */
.section {
	padding: 64px 0;
}

.section-alt {
	background: var(--bwp-white);
	border-top: 1px solid var(--bwp-border);
	border-bottom: 1px solid var(--bwp-border);
}

.section-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 42px;
}

.section-header .section-title {
	font-size: 1.85rem;
	margin-bottom: 10px;
}

.section-header .section-desc {
	color: var(--bwp-muted);
	margin: 0;
}

.section-more {
	text-align: center;
	margin-top: 38px;
}

/* Kartu "Mau Membuat Website Apa?" */
.card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.type-card {
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	padding: 28px 24px;
	text-align: center;
	box-shadow: var(--bwp-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	display: block;
	color: var(--bwp-text);
	text-decoration: none !important;
	height: 100%;
}

.type-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--bwp-shadow-lg);
	border-color: var(--bwp-blue);
}

.type-card .card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 16px;
	background: var(--bwp-blue-soft);
	font-size: 1.9rem;
	margin-bottom: 16px;
}

.type-card h3 {
	font-size: 1.1rem;
	margin-bottom: 8px;
	color: var(--bwp-heading);
}

.type-card p {
	font-size: 0.9rem;
	color: var(--bwp-muted);
	margin: 0;
	line-height: 1.6;
}

/* Langkah "Mulai dari Dasar" */
.steps-wrap {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 40px;
	align-items: center;
}

.steps-list {
	list-style: none;
	counter-reset: bwp-step;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.steps-list li {
	counter-increment: bwp-step;
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius-sm);
	padding: 14px 18px;
	font-weight: 600;
	color: var(--bwp-heading);
	transition: border-color 0.2s ease, transform 0.15s ease;
}

.steps-list li:hover {
	border-color: var(--bwp-blue);
	transform: translateX(4px);
}

.steps-list li::before {
	content: counter(bwp-step);
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bwp-blue), var(--bwp-blue-dark));
	color: var(--bwp-white);
	font-size: 0.95rem;
	font-weight: 800;
}

.steps-list a {
	color: var(--bwp-heading);
	text-decoration: none;
}

.steps-list a:hover {
	color: var(--bwp-blue);
}

.steps-aside {
	background: linear-gradient(135deg, var(--bwp-blue-soft), #ffffff);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	padding: 34px 30px;
	text-align: center;
}

.steps-aside .steps-emoji {
	font-size: 3rem;
	line-height: 1;
	margin-bottom: 14px;
}

.steps-aside h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.steps-aside p {
	color: var(--bwp-muted);
	font-size: 0.95rem;
	margin-bottom: 22px;
}

/* Topik "Tutorial Berdasarkan Kebutuhan" */
.topic-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.topic-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	padding: 18px 20px;
	text-decoration: none !important;
	transition: all 0.2s ease;
	box-shadow: var(--bwp-shadow);
}

.topic-card:hover {
	border-color: var(--bwp-blue);
	transform: translateY(-4px);
	box-shadow: var(--bwp-shadow-lg);
}

.topic-card .topic-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--bwp-blue-soft);
	font-size: 1.4rem;
}

.topic-card .topic-name {
	font-weight: 700;
	color: var(--bwp-heading);
	font-size: 0.97rem;
	line-height: 1.3;
}

.topic-card .topic-count {
	display: block;
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--bwp-muted);
}

/* Daftar "Tutorial Terbaru" & "Rekomendasi" */
.list-panel {
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	box-shadow: var(--bwp-shadow);
	overflow: hidden;
}

.list-panel .panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 26px;
	border-bottom: 1px solid var(--bwp-border);
	background: var(--bwp-blue-soft);
}

.list-panel .panel-head h3 {
	margin: 0;
	font-size: 1.15rem;
}

.list-panel .panel-head .panel-link {
	font-size: 0.88rem;
	font-weight: 700;
	white-space: nowrap;
}

.post-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.post-list li {
	border-bottom: 1px solid var(--bwp-border);
}

.post-list li:last-child {
	border-bottom: 0;
}

.post-list a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 26px;
	color: var(--bwp-heading);
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, padding-left 0.15s ease;
}

.post-list a:hover {
	background: var(--bwp-blue-soft);
	color: var(--bwp-blue);
	padding-left: 32px;
}

.post-list .list-bullet {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--bwp-blue-soft);
	color: var(--bwp-blue);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
}

.post-list a:hover .list-bullet {
	background: var(--bwp-blue);
	color: var(--bwp-white);
}

.post-list .list-meta {
	display: block;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--bwp-muted);
}

.two-panel-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
}

.rec-note {
	margin-top: 22px;
	padding: 16px 20px;
	border-left: 4px solid var(--bwp-accent);
	background: #fffbeb;
	border-radius: 0 var(--bwp-radius-sm) var(--bwp-radius-sm) 0;
	color: #92400e;
	font-size: 0.9rem;
}

.empty-note {
	padding: 22px 26px;
	color: var(--bwp-muted);
	font-size: 0.92rem;
}

/* ============================================
   6. FOOTER
   ============================================ */
.site-footer {
	background: var(--bwp-navy);
	color: #94a3b8;
	margin-top: 0;
}

.footer-widgets {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding: 56px 0 44px;
}

.footer-widgets .widget {
	margin-bottom: 0;
}

.footer-widgets .widget-title,
.footer-widgets h3,
.footer-widgets h2 {
	color: var(--bwp-white);
	font-size: 1.05rem;
	margin-bottom: 16px;
}

.footer-widgets a {
	color: #94a3b8;
}

.footer-widgets a:hover {
	color: var(--bwp-white);
}

.footer-widgets ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-widgets ul li {
	margin-bottom: 10px;
}

.footer-about-text {
	font-size: 0.93rem;
	line-height: 1.8;
	margin-bottom: 20px;
}

.footer-page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.footer-page-links .btn {
	padding: 9px 18px;
	font-size: 0.84rem;
	border-color: rgba(255, 255, 255, 0.3);
	color: var(--bwp-white) !important;
}

.footer-page-links .btn:hover {
	background: var(--bwp-blue);
	border-color: var(--bwp-blue);
}

.site-info {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 0;
	font-size: 0.86rem;
}

.site-info .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.footer-menu ul {
	display: flex;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu a {
	font-size: 0.86rem;
}

/* ============================================
   7. BLOG: KARTU POST, ENTRY, PAGINATION
   ============================================ */
.page-header {
	background: var(--bwp-white);
	border-bottom: 1px solid var(--bwp-border);
	padding: 40px 0;
	text-align: center;
}

.page-header .page-title {
	margin: 0 0 6px;
	font-size: 1.9rem;
}

.page-header .taxonomy-description,
.page-header .archive-desc {
	color: var(--bwp-muted);
	max-width: 640px;
	margin: 0 auto;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}

.post-card {
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	overflow: hidden;
	box-shadow: var(--bwp-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--bwp-shadow-lg);
}

.post-card .post-thumbnail img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.post-card .post-card-body {
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.post-card .entry-title {
	font-size: 1.18rem;
	margin: 0;
}

.post-card .entry-title a {
	color: var(--bwp-heading);
	text-decoration: none;
}

.post-card .entry-title a:hover {
	color: var(--bwp-blue);
}

.post-card .entry-excerpt {
	font-size: 0.92rem;
	color: var(--bwp-muted);
	margin: 0;
	flex: 1;
}

.post-card .read-more {
	font-weight: 700;
	font-size: 0.9rem;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.83rem;
	color: var(--bwp-muted);
}

.entry-meta a {
	color: var(--bwp-muted);
}

.entry-meta a:hover {
	color: var(--bwp-blue);
}

.cat-badge {
	display: inline-block;
	background: var(--bwp-blue-soft);
	color: var(--bwp-blue);
	font-size: 0.76rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	align-self: flex-start;
}

.cat-badge:hover {
	background: var(--bwp-blue);
	color: var(--bwp-white);
	text-decoration: none;
}

/* Single post / page */
.single-wrap,
.page-wrap {
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	box-shadow: var(--bwp-shadow);
	padding: 40px 44px;
}

.single .entry-title,
.page .entry-title {
	font-size: 2rem;
	margin-bottom: 12px;
}

.single .post-thumbnail {
	margin: 24px 0;
	border-radius: var(--bwp-radius);
	overflow: hidden;
}

.single .post-thumbnail img {
	width: 100%;
	display: block;
}

.entry-content {
	font-size: 1.02rem;
}

.entry-content h2 {
	margin-top: 1.6em;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--bwp-blue-soft);
}

.entry-content h3 {
	margin-top: 1.4em;
}

.entry-content ul li,
.entry-content ol li {
	margin-bottom: 6px;
}

.entry-footer {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--bwp-border);
	font-size: 0.9rem;
	color: var(--bwp-muted);
}

.tags-links a {
	display: inline-block;
	background: var(--bwp-bg);
	border: 1px solid var(--bwp-border);
	border-radius: 999px;
	padding: 3px 12px;
	font-size: 0.8rem;
	color: var(--bwp-text);
	margin: 0 4px 4px 0;
}

.tags-links a:hover {
	border-color: var(--bwp-blue);
	color: var(--bwp-blue);
	text-decoration: none;
}

.post-navigation {
	margin: 32px 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
	display: block;
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	padding: 18px 22px;
	font-weight: 600;
	color: var(--bwp-heading);
	transition: border-color 0.2s ease;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation a:hover {
	border-color: var(--bwp-blue);
	text-decoration: none;
	color: var(--bwp-blue);
}

.post-navigation .nav-label {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--bwp-muted);
	margin-bottom: 4px;
}

/* Author box */
.author-box {
	display: flex;
	gap: 18px;
	background: var(--bwp-bg);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	padding: 24px;
	margin-top: 32px;
}

.author-box img {
	border-radius: 50%;
	flex-shrink: 0;
}

.author-box .author-name {
	font-weight: 700;
	color: var(--bwp-heading);
	margin-bottom: 4px;
}

.author-box .author-bio {
	font-size: 0.9rem;
	color: var(--bwp-muted);
	margin: 0;
}

/* Pagination */
.pagination {
	margin-top: 40px;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius-sm);
	background: var(--bwp-white);
	color: var(--bwp-text);
	font-weight: 600;
	font-size: 0.92rem;
}

.pagination .page-numbers:hover {
	border-color: var(--bwp-blue);
	color: var(--bwp-blue);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--bwp-blue);
	border-color: var(--bwp-blue);
	color: var(--bwp-white);
}

/* ============================================
   8. SIDEBAR, WIDGET, PENCARIAN, KOMENTAR
   ============================================ */
.widget-area .widget {
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	box-shadow: var(--bwp-shadow);
	padding: 24px;
	margin-bottom: 24px;
}

.widget-title {
	font-size: 1.02rem;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--bwp-blue-soft);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	margin-bottom: 9px;
	font-size: 0.93rem;
}

.widget_search .search-form {
	display: flex;
	gap: 8px;
}

.widget_search .search-field {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius-sm);
	font-size: 0.92rem;
	font-family: inherit;
}

.widget_search .search-submit {
	padding: 10px 18px;
	background: var(--bwp-blue);
	color: var(--bwp-white);
	border: 0;
	border-radius: var(--bwp-radius-sm);
	font-weight: 700;
	cursor: pointer;
}

.widget_search .search-submit:hover {
	background: var(--bwp-blue-dark);
}

.widget_tag_cloud a {
	display: inline-block;
	background: var(--bwp-bg);
	border: 1px solid var(--bwp-border);
	border-radius: 999px;
	padding: 4px 12px;
	margin: 0 5px 6px 0;
	font-size: 0.82rem !important;
	color: var(--bwp-text);
}

.widget_tag_cloud a:hover {
	border-color: var(--bwp-blue);
	color: var(--bwp-blue);
	text-decoration: none;
}

/* Search result inline */
.search-result-item {
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	padding: 24px 28px;
	margin-bottom: 18px;
	box-shadow: var(--bwp-shadow);
}

.search-result-item .entry-title {
	font-size: 1.2rem;
	margin-bottom: 8px;
}

.search-result-item .entry-summary {
	color: var(--bwp-muted);
	font-size: 0.95rem;
	margin: 0 0 14px;
}

.search-result-item .read-more {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--bwp-blue);
}

/* Comments */
.comments-area {
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	box-shadow: var(--bwp-shadow);
	padding: 32px 36px;
	margin-top: 28px;
}

.comments-area .comments-title {
	font-size: 1.3rem;
	margin-bottom: 24px;
}

.comment-list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.comment-list .comment {
	padding: 18px 0;
	border-bottom: 1px solid var(--bwp-border);
}

.comment-list .children {
	list-style: none;
	margin-left: 32px;
	padding: 0;
}

.comment-body {
	display: flex;
	gap: 14px;
}

.comment-body img.avatar {
	border-radius: 50%;
	flex-shrink: 0;
}

.comment-meta .comment-author {
	font-weight: 700;
	color: var(--bwp-heading);
	font-size: 0.95rem;
}

.comment-meta .comment-metadata {
	font-size: 0.8rem;
	color: var(--bwp-muted);
}

.comment-meta .comment-metadata a {
	color: var(--bwp-muted);
}

.comment-content {
	font-size: 0.94rem;
	margin-top: 6px;
}

.reply a {
	font-size: 0.82rem;
	font-weight: 700;
}

.comment-respond {
	margin-top: 10px;
}

.comment-respond .comment-reply-title {
	font-size: 1.15rem;
	margin-bottom: 8px;
}

.comment-form p {
	margin-bottom: 14px;
}

.comment-form label {
	display: block;
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--bwp-heading);
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius-sm);
	font-family: inherit;
	font-size: 0.95rem;
	background: var(--bwp-bg);
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 2px solid var(--bwp-blue);
	outline-offset: 1px;
	border-color: var(--bwp-blue);
}

.form-submit .submit {
	padding: 12px 26px;
	background: var(--bwp-blue);
	color: var(--bwp-white);
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
}

.form-submit .submit:hover {
	background: var(--bwp-blue-dark);
}

/* 404 & kosong */
.error-404 {
	text-align: center;
	padding: 60px 0;
}

.error-404 .big-code {
	font-size: 5rem;
	font-weight: 800;
	color: var(--bwp-blue);
	line-height: 1;
	margin-bottom: 10px;
}

.error-404 .page-title {
	font-size: 1.7rem;
	margin: 0 0 12px;
}

.error-404 p {
	color: var(--bwp-muted);
	max-width: 560px;
	margin: 0 auto 26px;
}

.bwp-404-search {
	max-width: 460px;
	margin: 0 auto 26px;
}

.bwp-404-search .search-form {
	display: flex;
	gap: 8px;
}

.bwp-404-search .search-field {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius-sm);
	font-size: 0.95rem;
	font-family: inherit;
}

.bwp-404-search .search-submit {
	padding: 12px 22px;
	background: var(--bwp-blue);
	color: var(--bwp-white);
	border: 0;
	border-radius: var(--bwp-radius-sm);
	font-weight: 700;
	cursor: pointer;
}

.bwp-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 34px;
}

.bwp-404-topics h2 {
	font-size: 1.15rem;
	margin-bottom: 14px;
}

.bwp-404-topics ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.bwp-404-topics ul li a {
	display: inline-block;
	background: var(--bwp-bg);
	border: 1px solid var(--bwp-border);
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--bwp-text);
}

.bwp-404-topics ul li a:hover {
	border-color: var(--bwp-blue);
	color: var(--bwp-blue);
	text-decoration: none;
}

.no-results {
	background: var(--bwp-white);
	border: 1px solid var(--bwp-border);
	border-radius: var(--bwp-radius);
	padding: 36px;
	text-align: center;
}

/* ============================================
   9. RESPONSIF
   ============================================ */
@media (max-width: 1024px) {
	.card-grid,
	.topic-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.steps-wrap {
		grid-template-columns: 1fr;
	}

	.footer-widgets {
		grid-template-columns: 1fr 1fr;
	}

	.layout-two-col {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.header-cta {
		display: none;
	}

	.menu-toggle {
		display: block;
	}

	.main-navigation {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bwp-white);
		border-bottom: 1px solid var(--bwp-border);
		box-shadow: var(--bwp-shadow-lg);
		padding: 12px 20px 20px;
	}

	.main-navigation.toggled {
		display: block;
	}

	.main-navigation ul {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.main-navigation ul ul {
		position: static;
		display: block;
		box-shadow: none;
		border: 0;
		padding-left: 16px;
		background: transparent;
	}

	.hero {
		padding: 56px 0 64px;
	}

	.hero h1 {
		font-size: 1.9rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	.section {
		padding: 44px 0;
	}

	.two-panel-grid {
		grid-template-columns: 1fr;
	}

	.posts-grid {
		grid-template-columns: 1fr;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.single-wrap,
	.page-wrap {
		padding: 28px 22px;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 44px 0 32px;
	}

	.site-info .container {
		justify-content: center;
		text-align: center;
	}
}

@media (max-width: 520px) {
	.card-grid,
	.topic-grid {
		grid-template-columns: 1fr;
	}

	.hero-buttons .btn {
		width: 100%;
	}
}
