/*
Theme Name: Literasi Nusantara
Theme URI: https://example.com/literasi-nusantara
Author: Web Developer
Description: Theme WordPress untuk lembaga literasi, penerbit, dan pengelola jurnal ilmiah. Dilengkapi daftar jurnal (akreditasi SINTA, ISSN, link OJS), katalog buku ber-ISBN, alur penerbitan, berita, opini, tombol WhatsApp, dan pengaturan lengkap lewat Customizer.
Version: 2.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: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: penerbit
Tags: blog, e-commerce, custom-menu, custom-logo, featured-images, theme-options, translation-ready, two-columns
*/

/* ============ VARIABEL ============ */
:root {
	--c-primary: #0f4c5c;
	--c-primary-dark: #003a4a;
	--c-accent: #e07a3f;
	--c-accent-dark: #c7612a;
	--c-bg: #f7f5f0;
	--c-surface: #ffffff;
	--c-text: #2a2a2a;
	--c-muted: #6b6b6b;
	--c-border: #e6e1d8;
	--radius: 10px;
	--shadow: 0 6px 24px rgba(0, 46, 58, .08);
	--shadow-hover: 0 12px 32px rgba(0, 46, 58, .16);
	--font-head: "Fraunces", Georgia, serif;
	--font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1200px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--c-primary-dark);
	line-height: 1.3;
	margin: 0 0 .6em;
}
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.3em; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 10px; left: 10px; z-index: 9999;
	width: auto; height: auto; clip: auto;
	background: #fff; padding: 10px 16px; border-radius: 6px;
}

/* ============ LAYOUT ============ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--c-surface); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow {
	display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
	text-transform: uppercase; color: var(--c-accent); margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); }
.section-head p { color: var(--c-muted); }
.section-foot { text-align: center; margin-top: 40px; }

/* ============ TOMBOL ============ */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 26px; border-radius: 50px; font-weight: 600; font-size: 15px;
	border: 2px solid transparent; cursor: pointer; transition: all .25s;
	line-height: 1.2; text-align: center;
}
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: currentColor; color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-light { background: #fff; color: var(--c-primary); }
.btn-light:hover { background: var(--c-accent); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1da851; color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ============ TOPBAR & HEADER ============ */
.topbar { background: var(--c-primary-dark); color: #cfd8e3; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #cfd8e3; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }

.site-header {
	background: var(--c-surface); position: sticky; top: 0; z-index: 100;
	box-shadow: 0 1px 0 var(--c-border); transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding .custom-logo { max-height: 52px; width: auto; }
.site-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin: 0; line-height: 1.2; }
.site-title a { color: var(--c-primary-dark); }
.site-description { font-size: 12px; color: var(--c-muted); margin: 0; }

.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; padding: 10px 14px; font-weight: 500; color: var(--c-text); border-radius: 6px; }
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a { color: var(--c-accent); }
.main-navigation ul ul {
	position: absolute; top: 100%; left: 0; min-width: 220px; flex-direction: column;
	background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); padding: 8px;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; z-index: 50;
}
.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation ul ul ul { left: 100%; top: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle, .menu-toggle {
	background: none; border: 0; cursor: pointer; padding: 8px; color: var(--c-primary); border-radius: 6px;
}
.search-toggle:hover, .menu-toggle:hover { background: var(--c-bg); }
.menu-toggle { display: none; }
.header-search { display: none; padding: 16px 0; border-top: 1px solid var(--c-border); }
.header-search.is-open { display: block; }

/* ============ FORM PENCARIAN ============ */
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field, input[type="text"], input[type="email"], input[type="url"], input[type="tel"], textarea, select {
	width: 100%; padding: 12px 16px; border: 1px solid var(--c-border); border-radius: 8px;
	font: inherit; background: #fff; color: var(--c-text);
}
.search-field:focus, input:focus, textarea:focus, select:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; border-color: transparent; }
.search-submit, input[type="submit"], button[type="submit"] {
	padding: 12px 22px; background: var(--c-primary); color: #fff; border: 0; border-radius: 8px;
	font: inherit; font-weight: 600; cursor: pointer;
}
.search-submit:hover, input[type="submit"]:hover { background: var(--c-accent); }

/* ============ HERO ============ */
.hero {
	position: relative; color: #fff; overflow: hidden;
	background: radial-gradient(1200px 500px at 85% 20%, rgba(255,255,255,.08), transparent 60%), linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
}
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,46,58,.92), rgba(0,46,58,.55)); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.hero-eyebrow { display: inline-block; background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 50px; font-size: 13px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 18px; }
.hero p { font-size: 18px; color: #dbe4ee; max-width: 540px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-buttons .btn-outline { color: #fff; }
.hero-buttons .btn-outline:hover { background: #fff; color: var(--c-primary); border-color: #fff; }
.hero-books { display: flex; justify-content: center; align-items: flex-end; gap: 0; perspective: 1000px; }
.hero-books .hb {
	width: 150px; border-radius: 4px 8px 8px 4px; overflow: hidden;
	box-shadow: -8px 12px 30px rgba(0,0,0,.4); transition: transform .4s; background: rgba(255,255,255,.12);
	aspect-ratio: 2/3;
}
.hero-books .hb img { width: 100%; height: 100%; object-fit: cover; }
.hero-books .hb:nth-child(1) { transform: rotate(-8deg) translateX(30px); z-index: 1; }
.hero-books .hb:nth-child(2) { transform: translateY(-24px) scale(1.12); z-index: 3; }
.hero-books .hb:nth-child(3) { transform: rotate(8deg) translateX(-30px); z-index: 2; }
.hero-books .hb:hover { transform: translateY(-36px) scale(1.15); z-index: 4; }
.hero-books .hb-placeholder { display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; font-family: var(--font-head); font-size: 14px; color: #fff; }

/* ============ STATISTIK ============ */
.stats { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 0; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 34px; color: var(--c-accent); line-height: 1.1; }
.stat span { color: var(--c-muted); font-size: 14px; }

/* ============ GRID BUKU ============ */
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px; }
.book-card {
	background: var(--c-surface); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.book-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.book-cover { position: relative; display: block; aspect-ratio: 2/3; background: #e9e4da; overflow: hidden; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.book-card:hover .book-cover img { transform: scale(1.05); }
.book-cover .no-cover {
	display: flex; align-items: center; justify-content: center; height: 100%; padding: 20px;
	text-align: center; font-family: var(--font-head); color: #fff;
	background: linear-gradient(160deg, var(--c-primary), var(--c-primary-dark));
}
.book-badge {
	position: absolute; top: 12px; left: 12px; background: var(--c-accent); color: #fff;
	font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: .5px;
}
.book-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.book-cat { font-size: 12px; color: var(--c-accent); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.book-title { font-size: 16px; margin: 4px 0 4px; }
.book-title a { color: var(--c-primary-dark); }
.book-title a:hover { color: var(--c-accent); }
.book-author { font-size: 14px; color: var(--c-muted); margin: 0 0 10px; }
.book-price { margin-top: auto; font-weight: 700; color: var(--c-primary); font-size: 17px; }
.book-price del { color: var(--c-muted); font-weight: 400; font-size: 13px; margin-right: 6px; }

/* ============ KATEGORI ============ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.cat-card {
	display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--c-bg);
	border: 1px solid var(--c-border); border-radius: var(--radius); transition: all .25s; color: var(--c-text);
}
.cat-card:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: translateY(-3px); }
.cat-icon {
	flex: 0 0 48px; height: 48px; border-radius: 12px; background: rgba(217,130,43,.15);
	display: flex; align-items: center; justify-content: center; color: var(--c-accent);
}
.cat-card:hover .cat-icon { background: rgba(255,255,255,.15); color: #fff; }
.cat-card h3 { font-size: 16px; margin: 0; color: inherit; font-family: var(--font-body); font-weight: 600; }
.cat-card small { color: var(--c-muted); }
.cat-card:hover small { color: #cfd8e3; }

/* ============ LAYANAN ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service {
	background: var(--c-surface); padding: 34px 28px; border-radius: var(--radius); box-shadow: var(--shadow);
	border-top: 4px solid var(--c-accent); transition: transform .3s;
}
.service:hover { transform: translateY(-5px); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service h3 { font-size: 19px; }
.service p { color: var(--c-muted); margin: 0; }

/* ============ ALUR / STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step::before {
	counter-increment: step; content: counter(step);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
	width: 56px; height: 56px; border-radius: 50%; background: var(--c-accent); color: #fff;
	font-family: var(--font-head); font-size: 22px; font-weight: 700; position: relative; z-index: 1;
}
.step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 60%; width: 80%; border-top: 2px dashed var(--c-border); }
.step h3 { font-size: 17px; }
.step p { color: var(--c-muted); font-size: 15px; }

/* ============ CTA ============ */
.cta { background: linear-gradient(120deg, var(--c-accent), var(--c-accent-dark)); color: #fff; padding: 64px 0; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 6px; font-size: clamp(24px, 3vw, 32px); }
.cta p { margin: 0; opacity: .92; }

/* ============ POST / BERITA ============ */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); }
.post-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: #e9e4da; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 13px; color: var(--c-muted); margin-bottom: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.post-card h3 { font-size: 19px; }
.post-card h3 a { color: var(--c-primary-dark); }
.post-card h3 a:hover { color: var(--c-accent); }
.post-excerpt { color: var(--c-muted); font-size: 15px; }
.read-more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--c-accent); }

/* ============ PAGE HEADER ============ */
.page-header { background: var(--c-primary); color: #fff; padding: 56px 0; text-align: center; }
.page-header h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
.page-header p, .page-header .archive-description { color: #cfd8e3; margin: 0 auto; max-width: 640px; }
.breadcrumb { font-size: 14px; color: #cfd8e3; margin-top: 10px; }
.breadcrumb a { color: #fff; }
.breadcrumb span.sep { margin: 0 8px; opacity: .6; }

/* ============ KONTEN + SIDEBAR ============ */
.content-area { padding: 60px 0; }
.has-sidebar .content-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.entry { background: var(--c-surface); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.entry-header h1 { font-size: clamp(26px, 3.5vw, 36px); }
.entry-thumb { margin: 0 -40px 30px; }
.entry-thumb img { width: 100%; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: 26px; margin-top: 1.6em; }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content blockquote { border-left: 4px solid var(--c-accent); margin: 1.5em 0; padding: 10px 24px; background: var(--c-bg); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry-content th, .entry-content td { border: 1px solid var(--c-border); padding: 10px 14px; text-align: left; }
.entry-content .alignwide { margin-left: -40px; margin-right: -40px; max-width: calc(100% + 80px); }
.entry-footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--c-border); font-size: 14px; color: var(--c-muted); }
.tags-links a { display: inline-block; background: var(--c-bg); padding: 4px 12px; border-radius: 50px; margin: 0 6px 6px 0; font-size: 13px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--c-muted); text-align: center; margin-top: 6px; }
.sticky .post-card, .bypostauthor { }

.widget-area .widget { background: var(--c-surface); padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 28px; }
.widget-title, .widget h2 { font-size: 18px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--c-border); position: relative; }
.widget-title::after, .widget h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--c-accent); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--c-border); }
.widget li:last-child { border-bottom: 0; }

/* ============ DETAIL BUKU ============ */
.book-single { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.book-single-cover { position: sticky; top: 110px; }
.book-single-cover .cover-wrap { border-radius: 6px 12px 12px 6px; overflow: hidden; box-shadow: -10px 16px 40px rgba(0,46,58,.25); aspect-ratio: 2/3; background: #e9e4da; }
.book-single-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-single-cover .no-cover { display: flex; align-items: center; justify-content: center; height: 100%; padding: 30px; text-align: center; font-family: var(--font-head); font-size: 22px; color: #fff; background: linear-gradient(160deg, var(--c-primary), var(--c-primary-dark)); }
.book-single-info h1 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 8px; }
.book-single-info .by { color: var(--c-muted); font-size: 17px; margin-bottom: 18px; }
.book-single-info .by a { font-weight: 600; }
.book-single-price { font-size: 30px; font-weight: 700; color: var(--c-accent); font-family: var(--font-head); margin-bottom: 24px; }
.book-single-price del { font-size: 18px; color: var(--c-muted); font-weight: 400; margin-right: 10px; }
.book-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.book-specs { width: 100%; border-collapse: collapse; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 32px; }
.book-specs th, .book-specs td { padding: 12px 18px; border-bottom: 1px solid var(--c-border); text-align: left; font-size: 15px; }
.book-specs th { width: 38%; color: var(--c-muted); font-weight: 500; background: #fcfbf8; }
.book-specs tr:last-child th, .book-specs tr:last-child td { border-bottom: 0; }
.book-tabs { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.book-tabs h2 { font-size: 22px; }

/* ============ FILTER KATALOG ============ */
.catalog-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.catalog-filter a { padding: 8px 18px; border-radius: 50px; background: var(--c-surface); border: 1px solid var(--c-border); font-size: 14px; color: var(--c-text); }
.catalog-filter a:hover, .catalog-filter a.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ============ PAGINATION ============ */
.pagination, .nav-links { margin-top: 48px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 8px; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); }
.page-numbers.current, .page-numbers:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: block; padding: 14px 20px; background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ============ KOMENTAR ============ */
.comments-area { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-body { background: var(--c-surface); padding: 20px; border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow); }
.comment-author .avatar { float: left; border-radius: 50%; margin-right: 12px; }
.comment-meta { font-size: 13px; color: var(--c-muted); margin-bottom: 10px; }
.comment-respond { background: var(--c-surface); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }

/* ============ 404 / KOSONG ============ */
.not-found { text-align: center; padding: 100px 0; }
.not-found .big { font-family: var(--font-head); font-size: 120px; color: var(--c-accent); line-height: 1; margin-bottom: 10px; }
.not-found .search-form { max-width: 460px; margin: 30px auto 0; }

/* ============ FOOTER ============ */
.site-footer { background: var(--c-primary-dark); color: #b6c2d1; font-size: 15px; }
.footer-widgets { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 40px; }
.site-footer h3, .site-footer .widget-title { color: #fff; font-size: 17px; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; border: 0; padding: 0; }
.site-footer .widget-title::after { display: none; }
.site-footer a { color: #b6c2d1; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.footer-about .site-title a { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: 0 0 18px; margin-top: 4px; color: var(--c-accent); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social-links a:hover { background: var(--c-accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 18px; }

/* ============ TOMBOL WA MENGAMBANG ============ */
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .25s;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
.back-to-top {
	position: fixed; right: 30px; bottom: 92px; z-index: 89; width: 42px; height: 42px; border-radius: 50%;
	background: var(--c-primary); color: #fff; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: all .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* ============ ANIMASI ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* ============ RESPONSIF ============ */
@media (max-width: 1024px) {
	.hero .container { grid-template-columns: 1fr; text-align: center; }
	.hero p { margin-left: auto; margin-right: auto; }
	.hero-buttons { justify-content: center; }
	.hero-books { margin-top: 20px; }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-widgets { grid-template-columns: 1fr 1fr; }
	.has-sidebar .content-wrap { grid-template-columns: 1fr; }
	.book-single { grid-template-columns: 280px 1fr; gap: 36px; }
}
@media (max-width: 860px) {
	.menu-toggle { display: inline-flex; }
	.main-navigation {
		position: fixed; top: 0; right: -100%; width: 300px; max-width: 85%; height: 100vh;
		background: #fff; box-shadow: var(--shadow-hover); padding: 80px 20px 20px; overflow-y: auto;
		transition: right .3s; z-index: 200;
	}
	.main-navigation.is-open { right: 0; }
	.main-navigation ul { flex-direction: column; }
	.main-navigation ul ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 16px; }
	.nav-close { position: absolute; top: 20px; right: 20px; }
	.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 150; display: none; }
	.nav-overlay.is-open { display: block; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.step::after { display: none; }
	.book-single { grid-template-columns: 1fr; }
	.book-single-cover { position: static; max-width: 300px; margin: 0 auto; }
}
@media (min-width: 861px) { .nav-close, .nav-overlay { display: none !important; } }
@media (max-width: 600px) {
	.section { padding: 56px 0; }
	.topbar-info span:not(:first-child) { display: none; }
	.services-grid, .footer-widgets { grid-template-columns: 1fr; }
	.books-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.book-body { padding: 12px; }
	.book-title { font-size: 14px; }
	.entry { padding: 24px; }
	.entry-thumb { margin: 0 -24px 24px; }
	.hero-books .hb { width: 110px; }
	.cta .container { text-align: center; justify-content: center; }
}

/* =====================================================
   v2: LEMBAGA LITERASI & PUBLIKASI ILMIAH
   ===================================================== */
.hero h1 em { font-style: italic; color: var(--c-accent); font-weight: 600; }
.hero-pattern {
	position: absolute; inset: 0; opacity: .07; pointer-events: none;
	background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
	mask-image: linear-gradient(90deg, transparent, #000 60%);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-books .hb-accent { background: var(--c-accent); }
.lead { font-size: 18px; color: var(--c-muted); }
.footer-tagline { color: var(--c-accent); font-size: 13px; letter-spacing: 1px; font-weight: 600; }
.footer-logo .custom-logo { max-height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }

/* Tiga pilar */
.pillars-section { padding-top: 0; margin-top: -1px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pillar {
	position: relative; display: block; padding: 34px 28px 28px; background: var(--c-surface); color: var(--c-text);
	border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--c-border); transition: all .3s; overflow: hidden;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); color: var(--c-text); border-color: var(--c-accent); }
.pillar-num { position: absolute; top: 14px; right: 20px; font-family: var(--font-head); font-size: 54px; line-height: 1; color: var(--c-bg); font-weight: 700; }
.pillar h3 { font-size: 21px; position: relative; }
.pillar p { color: var(--c-muted); font-size: 15px; position: relative; }
.pillar .service-icon { position: relative; }

/* Tentang kami */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-media img { border-radius: 16px; box-shadow: var(--shadow-hover); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-placeholder {
	aspect-ratio: 4/5; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	text-align: center; padding: 30px; color: #fff; position: relative; overflow: hidden;
	background: linear-gradient(160deg, var(--c-primary), var(--c-primary-dark));
}
.about-placeholder::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--c-accent); opacity: .25; right: -80px; bottom: -80px; }
.about-placeholder strong { font-family: var(--font-head); font-size: 28px; }
.about-placeholder span { font-size: 13px; letter-spacing: 1px; opacity: .8; }
.about-body .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--c-accent); margin-bottom: 8px; }
.about-body h2 { font-size: clamp(26px, 3.5vw, 38px); }
.about-points { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.about-points li { display: flex; gap: 12px; }
.about-points .check { flex: 0 0 28px; height: 28px; border-radius: 50%; background: rgba(224,122,63,.15); color: var(--c-accent); display: flex; align-items: center; justify-content: center; }
.about-points strong { display: block; color: var(--c-primary-dark); }
.about-points small { color: var(--c-muted); font-size: 14px; line-height: 1.5; display: block; }

/* Jurnal */
.journals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.journal-card {
	background: var(--c-surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
	border: 1px solid var(--c-border); display: flex; flex-direction: column; transition: all .3s;
}
.journal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.journal-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.journal-mark {
	flex: 0 0 60px; height: 60px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center;
	background: var(--c-primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .5px;
}
.journal-mark img { width: 100%; height: 100%; object-fit: cover; }
.journal-top > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sinta-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 50px; letter-spacing: .5px; text-transform: uppercase; }
.sinta-badge.is-top { background: var(--c-accent); color: #fff; }
.sinta-badge.is-mid { background: rgba(15,76,92,.12); color: var(--c-primary); }
.sinta-badge.is-pending { background: #eee; color: var(--c-muted); }
.journal-field { font-size: 13px; color: var(--c-muted); }
.journal-title { font-size: 18px; margin-bottom: 8px; }
.journal-title a { color: var(--c-primary-dark); }
.journal-title a:hover { color: var(--c-accent); }
.journal-desc { color: var(--c-muted); font-size: 15px; margin-bottom: 12px; }
.journal-freq { font-size: 13px; color: var(--c-muted); display: flex; align-items: center; gap: 6px; }
.journal-links { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--c-border); display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.journal-links a:first-child { color: var(--c-primary); }
.journal-links a:last-child { color: var(--c-accent); }
.journal-single { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }

/* Seksi gelap (penerbitan) */
.section-dark { background: var(--c-primary-dark); color: #d5e2e6; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p, .section-dark .step p { color: #b5c9cf; }
.section-dark .step:not(:last-child)::after { border-color: rgba(255,255,255,.2); }
.section-dark .book-card { box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.subhead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 64px 0 24px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.subhead h3 { font-size: 24px; margin: 0; }
.subhead a { color: var(--c-accent); font-weight: 600; }
.books-row { grid-template-columns: repeat(5, 1fr); }

/* Judul seksi kiri + tombol kanan */
.section-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; text-align: left; max-width: none; flex-wrap: wrap; }
.section-head-split h2 { margin: 0; }

/* Opini */
.opini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 28px; }
.opini-card { position: relative; background: var(--c-surface); padding: 36px 34px 28px; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--c-accent); }
.opini-quote { position: absolute; top: 4px; right: 24px; font-family: var(--font-head); font-size: 110px; line-height: 1; color: var(--c-bg); }
.opini-card h3 { font-size: 21px; position: relative; }
.opini-card h3 a { color: var(--c-primary-dark); }
.opini-card h3 a:hover { color: var(--c-accent); }
.opini-card p { color: var(--c-muted); font-style: italic; position: relative; }
.opini-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.opini-author img { border-radius: 50%; }
.opini-author strong { display: block; font-size: 15px; color: var(--c-primary-dark); }
.opini-author small { color: var(--c-muted); font-size: 13px; }

/* CTA dua tombol */
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--c-accent-dark); }

@media (max-width: 1024px) {
	.books-row { grid-template-columns: repeat(3, 1fr); }
	.about { grid-template-columns: 1fr; gap: 40px; }
	.about-media { max-width: 520px; }
	.about-placeholder { aspect-ratio: 16/9; }
	.journal-single { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.pillars { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.books-row { grid-template-columns: repeat(2, 1fr); }
	.about-points { grid-template-columns: 1fr; }
	.opini-grid, .journals-grid { grid-template-columns: 1fr; }
	.opini-card { padding: 28px 22px; }
}
