/*!
Theme Name: Hamimservis
Theme URI: https://hamimservis.com
Author: Hamim Servis
Author URI: https://hamimservis.com
Description: Tema blog & majalah WordPress untuk situs servis elektronik. Ringan dan responsif penuh (mobile-first) dengan pencarian cepat gejala kerusakan, indeks tag komponen, artikel populer, estimasi waktu baca, dan tombol cetak panduan servis.
Version: 1.0.0
Requires at least: 5.6
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: hamimservis
Tags: blog, magazine, news, two-columns, three-columns, right-sidebar, left-sidebar, custom-logo, custom-menu, custom-colors, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, theme-options, full-width-template, sticky-post, dark-mode
*/

/* ==========================================================================
   Daftar Isi
   01. Design Tokens (CSS Variables)
   02. Reset & Base
   03. Tipografi
   04. Layout & Grid
   05. Aksesibilitas & Utilitas
   06. Header & Topbar
   07. Navigasi
   08. Konten: Kartu, Loop, Paginasi
   09. Single Post & Page
   10. Komentar
   11. Sidebar & Widget
   12. Footer
   13. Kelas Inti WordPress
   14. Blok Servis (Pencarian Cepat, Indeks Tag, Populer)
   15. Media Queries (Responsif: Mobile -> Tablet -> Desktop)
   16. Mode Gelap
   17. Print
   ========================================================================== */

/* ==========================================================================
   01. Design Tokens
   ========================================================================== */
:root {
	--hs-accent: #e5484d;
	--hs-accent-hover: #c73a3f;
	--hs-accent-soft: rgba(229, 72, 77, 0.1);

	--hs-bg: #ffffff;
	--hs-bg-alt: #f5f6f8;
	--hs-surface: #ffffff;

	--hs-text: #16181d;
	--hs-heading: #0d0f13;
	--hs-muted: #656d7b;
	--hs-border: #e4e7ec;

	--hs-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
	--hs-shadow: 0 4px 14px -2px rgba(16, 24, 40, 0.1);
	--hs-shadow-lg: 0 18px 40px -12px rgba(16, 24, 40, 0.22);

	--hs-radius: 12px;
	--hs-radius-sm: 8px;
	--hs-radius-pill: 999px;

	--hs-container: 1200px;
	--hs-gutter: 1.125rem;

	--hs-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--hs-transition: 0.2s ease;
	--hs-header-h: 68px;
}

/* ==========================================================================
   02. Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--hs-header-h) + 1rem);
}

body {
	margin: 0;
	background-color: var(--hs-bg);
	color: var(--hs-text);
	font-family: var(--hs-font-sans);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	overflow-wrap: break-word;
	word-wrap: break-word;
	overflow-x: clip;
}

img,
video,
iframe,
embed,
object {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

figure {
	margin: 0 0 1.5rem;
}

hr {
	border: 0;
	border-top: 1px solid var(--hs-border);
	margin: 2rem 0;
}

/* ==========================================================================
   03. Tipografi
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--hs-heading);
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
	margin: 0 0 1.25rem;
}

a {
	color: var(--hs-accent);
	text-decoration: none;
	transition: color var(--hs-transition), background-color var(--hs-transition), border-color var(--hs-transition);
}

a:hover,
a:focus {
	color: var(--hs-accent-hover);
	text-decoration: underline;
}

ul,
ol {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

blockquote {
	margin: 1.75rem 0;
	padding: 0.5rem 0 0.5rem 1.25rem;
	border-left: 4px solid var(--hs-accent);
	color: var(--hs-heading);
	font-size: 1.125rem;
	font-style: italic;
}

blockquote cite {
	display: block;
	margin-top: 0.5rem;
	color: var(--hs-muted);
	font-size: 0.875rem;
	font-style: normal;
}

code,
kbd,
samp,
pre {
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.9em;
}

code {
	padding: 0.15em 0.4em;
	background: var(--hs-bg-alt);
	border-radius: 4px;
}

pre {
	overflow: auto;
	margin: 0 0 1.5rem;
	padding: 1.125rem;
	background: var(--hs-bg-alt);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-sm);
	line-height: 1.6;
}

pre code {
	padding: 0;
	background: none;
}

table {
	width: 100%;
	margin: 0 0 1.5rem;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

th,
td {
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--hs-border);
	text-align: left;
}

th {
	background: var(--hs-bg-alt);
	color: var(--hs-heading);
	font-weight: 700;
}

/* ==========================================================================
   04. Layout & Grid
   ========================================================================== */
.hs-container {
	width: 100%;
	max-width: var(--hs-container);
	margin-inline: auto;
	padding-inline: var(--hs-gutter);
}

.hs-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.hs-content-area {
	flex: 1 0 auto;
	padding-block: 2rem 3rem;
}

.hs-layout {
	display: grid;
	gap: 2.5rem;
}

.hs-main {
	min-width: 0;
}

/* Grid kartu artikel: 1 kolom (mobile) -> 2 -> 3 */
.hs-post-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

.hs-widget-area {
	min-width: 0;
}

/* ==========================================================================
   05. Aksesibilitas & Utilitas
   ========================================================================== */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.screen-reader-text:active {
	z-index: 100000;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1.125rem;
	clip: auto;
	clip-path: none;
	background: var(--hs-surface);
	border-radius: var(--hs-radius-sm);
	box-shadow: var(--hs-shadow-lg);
	color: var(--hs-accent);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.skip-link {
	position: absolute;
}

:focus-visible {
	outline: 2px solid var(--hs-accent);
	outline-offset: 2px;
}

.hs-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--hs-radius-pill);
	color: var(--hs-text);
	cursor: pointer;
	transition: background-color var(--hs-transition), color var(--hs-transition), border-color var(--hs-transition);
}

.hs-icon-btn:hover {
	background: var(--hs-bg-alt);
	border-color: var(--hs-border);
	color: var(--hs-accent);
}

.hs-icon-btn svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

[data-theme="dark"] .hs-icon-sun,
.hs-icon-moon {
	display: none;
}

[data-theme="dark"] .hs-icon-moon {
	display: block;
}

.hs-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	background: var(--hs-accent);
	border: 0;
	border-radius: var(--hs-radius-pill);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color var(--hs-transition), transform var(--hs-transition);
}

.hs-btn:hover,
.hs-btn:focus {
	background: var(--hs-accent-hover);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

/* ==========================================================================
   06. Header & Topbar
   ========================================================================== */
.hs-topbar {
	background: var(--hs-heading);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.8125rem;
}

.hs-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 38px;
}

.hs-topbar a {
	color: rgba(255, 255, 255, 0.82);
}

.hs-topbar a:hover {
	color: #fff;
}

.hs-header {
	position: relative;
	z-index: 50;
	background: var(--hs-surface);
	border-bottom: 1px solid var(--hs-border);
}

.hs-header.is-sticky {
	position: sticky;
	top: 0;
}

.hs-header.is-scrolled {
	box-shadow: var(--hs-shadow-sm);
}

.hs-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--hs-header-h);
}

.hs-branding {
	min-width: 0;
	overflow-wrap: break-word;
}

.hs-site-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.03em;
	overflow-wrap: break-word;
}

.hs-site-title a {
	color: var(--hs-heading);
}

.hs-site-title a:hover {
	color: var(--hs-accent);
	text-decoration: none;
}

.hs-site-description {
	margin: 0.125rem 0 0;
	color: var(--hs-muted);
	font-size: 0.8125rem;
	line-height: 1.4;
}

.custom-logo-link img,
.custom-logo {
	max-height: 44px;
	width: auto;
}

.hs-header__actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 0.25rem;
}

/* Panel pencarian dropdown */
.hs-search-panel {
	display: none;
	background: var(--hs-surface);
	border-bottom: 1px solid var(--hs-border);
	padding-block: 1rem;
}

.hs-search-panel.is-open {
	display: block;
}

/* ==========================================================================
   07. Navigasi
   ========================================================================== */
.hs-nav {
	display: flex;
	flex-shrink: 0;
	align-items: center;
}

.hs-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	background: transparent;
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-sm);
	color: var(--hs-text);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

.hs-menu-toggle__bars,
.hs-menu-toggle__bars::before,
.hs-menu-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--hs-transition), opacity var(--hs-transition);
}

.hs-menu-toggle__bars::before,
.hs-menu-toggle__bars::after {
	content: "";
	position: relative;
}

.hs-menu-toggle__bars::before { top: -6px; }
.hs-menu-toggle__bars::after { top: 4px; }

.hs-menu-toggle[aria-expanded="true"] .hs-menu-toggle__bars {
	background: transparent;
}

.hs-menu-toggle[aria-expanded="true"] .hs-menu-toggle__bars::before {
	transform: translateY(6px) rotate(45deg);
}

.hs-menu-toggle[aria-expanded="true"] .hs-menu-toggle__bars::after {
	transform: translateY(-4px) rotate(-45deg);
}

.hs-nav__panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - var(--hs-header-h));
	max-height: calc(100dvh - var(--hs-header-h));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0.75rem var(--hs-gutter) 1.25rem;
	background: var(--hs-surface);
	border-bottom: 1px solid var(--hs-border);
	box-shadow: var(--hs-shadow-lg);
}

.hs-nav__panel.is-open {
	display: block;
}

.hs-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hs-nav li {
	position: relative;
}

.hs-nav a {
	display: block;
	padding: 0.75rem 0.25rem;
	color: var(--hs-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	border-bottom: 1px solid var(--hs-border);
}

.hs-nav a:hover {
	color: var(--hs-accent);
	text-decoration: none;
}

.hs-nav .sub-menu a {
	padding-left: 1rem;
	font-weight: 500;
	color: var(--hs-muted);
}

.hs-nav .sub-menu .sub-menu a {
	padding-left: 2rem;
}

.hs-nav .menu-item-has-children > a {
	padding-right: 2.75rem;
}

.hs-submenu-toggle {
	position: absolute;
	top: 4px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-sm);
	color: var(--hs-text);
	cursor: pointer;
}

.hs-submenu-toggle svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform var(--hs-transition);
}

.hs-submenu-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.hs-nav .sub-menu {
	display: none;
}

.hs-nav .sub-menu.is-open {
	display: block;
}

.hs-nav__mobile-search {
	margin-top: 1rem;
}

.hs-social-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hs-social-menu a {
	font-size: 0.8125rem;
}

/* ==========================================================================
   08. Konten: Kartu, Loop, Paginasi
   ========================================================================== */
.hs-section-title,
.hs-page-title,
.hs-entry-title {
	margin: 0 0 1rem;
	color: var(--hs-heading);
}

.hs-page-header {
	margin-bottom: 1.75rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--hs-border);
}

.hs-page-title {
	margin: 0;
	font-size: 1.5rem;
}

.hs-archive-description {
	margin: 0.625rem 0 0;
	color: var(--hs-muted);
	font-size: 0.9375rem;
}

.hs-section-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1.25rem;
	padding-bottom: 0.625rem;
	border-bottom: 2px solid var(--hs-heading);
}

.hs-section-title {
	position: relative;
	margin: 0;
	font-size: 1.125rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.hs-section-header--spaced {
	margin-top: 2.5rem;
}

.hs-section-header .hs-more-link {
	white-space: nowrap;
	font-size: 0.8125rem;
	font-weight: 600;
}

/* Jarak antar blok di beranda agar tidak saling menempel. */
.hs-hero-section,
.hs-recent-section,
.hs-category-section,
.hs-popular-section,
.hs-tag-section,
.hs-front-intro {
	margin-bottom: 2.5rem;
}

.hs-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius);
	box-shadow: var(--hs-shadow-sm);
	transition: transform var(--hs-transition), box-shadow var(--hs-transition);
}

.hs-post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--hs-shadow-lg);
}

.hs-card-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--hs-bg-alt);
}

.hs-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.hs-post-card:hover .hs-card-thumb img {
	transform: scale(1.04);
}

.hs-card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 1.125rem;
}

.hs-cat-badge {
	align-self: flex-start;
	margin-bottom: 0.625rem;
	padding: 0.2rem 0.625rem;
	background: var(--hs-accent-soft);
	border-radius: var(--hs-radius-pill);
	color: var(--hs-accent);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hs-cat-badge:hover {
	background: var(--hs-accent);
	color: #fff;
	text-decoration: none;
}

.hs-card-title {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	line-height: 1.35;
}

.hs-card-title a {
	color: var(--hs-heading);
}

.hs-card-title a:hover {
	color: var(--hs-accent);
	text-decoration: none;
}

.hs-card-excerpt {
	margin: 0 0 1rem;
	color: var(--hs-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.hs-card-excerpt p {
	margin: 0;
}

.hs-entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.375rem 0.75rem;
	margin-top: auto;
	color: var(--hs-muted);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.hs-entry-meta a {
	color: var(--hs-muted);
	font-weight: 600;
}

.hs-entry-meta a:hover {
	color: var(--hs-accent);
}

.hs-entry-meta .hs-meta-sep {
	color: var(--hs-border);
}

.hs-sticky-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	padding: 0.2rem 0.625rem;
	background: var(--hs-accent);
	border-radius: var(--hs-radius-pill);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Hero / featured */
.hs-hero {
	display: grid;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.hs-hero-card {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 260px;
	border-radius: var(--hs-radius);
	background: var(--hs-bg-alt);
}

.hs-hero-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hs-hero-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.78) 100%);
}

.hs-hero-body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 1.5rem;
	color: #fff;
}

.hs-hero-body .hs-cat-badge {
	background: var(--hs-accent);
	color: #fff;
}

.hs-hero-title {
	margin: 0 0 0.5rem;
	color: #fff;
	font-size: 1.5rem;
	line-height: 1.25;
}

.hs-hero-title a {
	color: #fff;
}

.hs-hero-title a:hover {
	text-decoration: none;
	opacity: 0.9;
}

.hs-hero-meta,
.hs-hero-meta a {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.8125rem;
}

.hs-hero-side {
	display: grid;
	gap: 1.25rem;
}

.hs-mini-card {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 0.875rem;
	align-items: center;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--hs-border);
}

.hs-mini-card:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.hs-mini-thumb {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--hs-radius-sm);
	background: var(--hs-bg-alt);
}

.hs-mini-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hs-mini-title {
	margin: 0 0 0.25rem;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.hs-mini-title a {
	color: var(--hs-heading);
}

.hs-mini-title a:hover {
	color: var(--hs-accent);
	text-decoration: none;
}

/* Paginasi */
.hs-pagination {
	margin-top: 2.5rem;
}

.hs-loop-list.is-loading {
    position: relative;
}

.hs-pagination--autoload {
    display: grid;
    gap: 0.875rem;
}

.hs-load-status {
    margin: 0;
    text-align: center;
    color: var(--hs-muted);
    font-size: 0.9375rem;
}

.hs-load-trigger {
    width: 100%;
    height: 1px;
}

.pagination,
.navigation.pagination {
	display: flex;
	justify-content: center;
}

.pagination .nav-links,
.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-sm);
	color: var(--hs-text);
	font-size: 0.875rem;
	font-weight: 600;
}

.pagination .page-numbers:hover {
	border-color: var(--hs-accent);
	color: var(--hs-accent);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--hs-accent);
	border-color: var(--hs-accent);
	color: #fff;
}

.pagination .page-numbers.dots {
	background: transparent;
	border-color: transparent;
}

.post-navigation .nav-links {
	display: grid;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--hs-border);
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	min-width: 0;
}

.post-navigation a {
	display: block;
	padding: 1rem;
	background: var(--hs-bg-alt);
	border-radius: var(--hs-radius-sm);
	border: 1px solid var(--hs-border);
	color: var(--hs-heading);
	font-size: 0.9375rem;
	font-weight: 600;
}

.post-navigation a:hover {
	border-color: var(--hs-accent);
	text-decoration: none;
}

.post-navigation .nav-next {
	text-align: right;
}

/* ==========================================================================
   09. Single Post & Page
   ========================================================================== */
.hs-entry-header {
	margin-bottom: 1.5rem;
}

.hs-single-title {
	margin: 0 0 0.875rem;
	font-size: 1.75rem;
	line-height: 1.2;
}

.hs-single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.375rem 1rem;
	color: var(--hs-muted);
	font-size: 0.875rem;
}

.hs-single-meta a {
	color: var(--hs-muted);
	font-weight: 600;
}

.hs-single-meta a:hover {
	color: var(--hs-accent);
}

.hs-post-thumbnail {
	margin: 0 0 1.75rem;
	border-radius: var(--hs-radius);
	overflow: hidden;
}

.hs-post-thumbnail img {
	width: 100%;
}

.hs-post-thumbnail figcaption,
.wp-caption-text {
	padding: 0.625rem 0.25rem 0;
	color: var(--hs-muted);
	font-size: 0.8125rem;
	text-align: left;
}

.hs-entry-content {
	font-size: 1.0625rem;
}

.hs-entry-content > *:last-child {
	margin-bottom: 0;
}

.hs-entry-content h2,
.hs-entry-content h3 {
	margin-top: 2rem;
}

.hs-entry-content ul,
.hs-entry-content ol {
	padding-left: 1.5rem;
}

.hs-entry-content a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hs-entry-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--hs-border);
}

.hs-tags {
	font-size: 0.8125rem;
}

.hs-tags a {
	display: inline-block;
	margin: 0 0.25rem 0.25rem 0;
	padding: 0.2rem 0.625rem;
	background: var(--hs-bg-alt);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-pill);
	color: var(--hs-muted);
	font-weight: 600;
}

.hs-tags a:hover {
	border-color: var(--hs-accent);
	color: var(--hs-accent);
	text-decoration: none;
}

.hs-share {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.hs-share a {
	display: inline-flex;
	align-items: center;
	padding: 0.375rem 0.75rem;
	background: var(--hs-bg-alt);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-sm);
	color: var(--hs-muted);
	font-size: 0.8125rem;
	font-weight: 600;
}

.hs-share a:hover {
	border-color: var(--hs-accent);
	color: var(--hs-accent);
	text-decoration: none;
}

.hs-author-box {
	display: grid;
	gap: 1rem;
	margin-top: 2rem;
	padding: 1.25rem;
	background: var(--hs-bg-alt);
	border-radius: var(--hs-radius);
}

.hs-author-box .avatar {
	border-radius: 50%;
}

.hs-author-box h3 {
	margin: 0 0 0.375rem;
	font-size: 1rem;
}

.hs-author-box p {
	margin: 0;
	color: var(--hs-muted);
	font-size: 0.9375rem;
}

.hs-related {
	margin-top: 2.5rem;
}

.page-links {
	clear: both;
	margin: 0 0 1.5rem;
	font-size: 0.875rem;
	font-weight: 600;
}

/* ==========================================================================
   10. Komentar
   ========================================================================== */
.hs-comments {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--hs-border);
}

.hs-comments-title,
.comment-reply-title {
	margin: 0 0 1.25rem;
	font-size: 1.125rem;
}

.comment-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list ol.children {
	margin: 0;
	padding: 0 0 0 1rem;
	list-style: none;
}

.comment-body {
	position: relative;
	margin-bottom: 1.25rem;
	padding: 1rem;
	background: var(--hs-bg-alt);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-sm);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 0.9375rem;
	font-weight: 700;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-metadata {
	margin-top: 0.25rem;
	color: var(--hs-muted);
	font-size: 0.8125rem;
}

.comment-content {
	margin-top: 0.75rem;
	font-size: 0.9375rem;
}

.comment-content > *:last-child {
	margin-bottom: 0;
}

.reply {
	margin-top: 0.625rem;
	font-size: 0.8125rem;
	font-weight: 600;
}

.comment-form label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.hs-search-form input[type="search"],
.wp-block-search__input {
	width: 100%;
	padding: 0.6875rem 0.875rem;
	background: var(--hs-bg);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-sm);
	color: var(--hs-text);
	font-family: inherit;
	/* 16px mencegah iOS Safari melakukan zoom otomatis saat field difokuskan. */
	font-size: 1rem;
	transition: border-color var(--hs-transition), box-shadow var(--hs-transition);
}

.comment-form input:focus,
.comment-form textarea:focus,
.hs-search-form input:focus {
	border-color: var(--hs-accent);
	box-shadow: 0 0 0 3px var(--hs-accent-soft);
	outline: none;
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form .form-submit {
	margin-bottom: 0;
}

.comment-form input[type="submit"],
.wp-block-search__button,
.hs-search-form button {
	padding: 0.6875rem 1.375rem;
	background: var(--hs-accent);
	border: 0;
	border-radius: var(--hs-radius-sm);
	color: #fff;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--hs-transition);
}

.comment-form input[type="submit"]:hover,
.wp-block-search__button:hover,
.hs-search-form button:hover {
	background: var(--hs-accent-hover);
}

.comment-notes,
.logged-in-as,
.form-allowed-tags {
	color: var(--hs-muted);
	font-size: 0.8125rem;
}

/* ==========================================================================
   11. Sidebar & Widget
   ========================================================================== */
.hs-widget {
	margin-bottom: 2rem;
	padding: 1.25rem;
	background: var(--hs-surface);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius);
	box-shadow: var(--hs-shadow-sm);
}

.hs-widget:last-child {
	margin-bottom: 0;
}

.hs-widget-title,
.widget .widget-title {
	position: relative;
	margin: 0 0 1rem;
	padding-bottom: 0.625rem;
	border-bottom: 2px solid var(--hs-heading);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hs-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hs-widget li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--hs-border);
	font-size: 0.9375rem;
}

.hs-widget li:last-child {
	border-bottom: 0;
}

.hs-widget li a {
	color: var(--hs-text);
}

.hs-widget li a:hover {
	color: var(--hs-accent);
}

.hs-widget .children,
.hs-widget .sub-menu {
	padding-left: 1rem;
}

.hs-widget select {
	width: 100%;
	padding: 0.5rem;
	background: var(--hs-bg);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-sm);
	color: var(--hs-text);
	font-size: 1rem;
}

.hs-widget .tagcloud a {
	display: inline-block;
	margin: 0 0.25rem 0.375rem 0;
	padding: 0.25rem 0.625rem;
	background: var(--hs-bg-alt);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-pill);
	color: var(--hs-muted);
	font-size: 0.8125rem !important;
}

.hs-widget .tagcloud a:hover {
	border-color: var(--hs-accent);
	color: var(--hs-accent);
	text-decoration: none;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.hs-footer {
	margin-top: auto;
	background: var(--hs-heading);
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9375rem;
}

.hs-footer a {
	color: rgba(255, 255, 255, 0.85);
}

.hs-footer a:hover {
	color: #fff;
}

.hs-footer__widgets {
	display: grid;
	gap: 2rem;
	padding-block: 2.5rem;
}

.hs-footer .hs-widget {
	margin-bottom: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.hs-footer .hs-widget-title {
	border-bottom-color: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.hs-footer .hs-widget li {
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

.hs-footer .hs-widget li a {
	color: rgba(255, 255, 255, 0.85);
}

.hs-footer .hs-widget li a:hover {
	color: #fff;
}

.hs-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
	justify-content: space-between;
	padding-block: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8125rem;
	text-align: center;
}

.hs-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem 1rem;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Tombol kembali ke atas */
.hs-to-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 40;
	width: 44px;
	height: 44px;
	background: var(--hs-accent);
	border: 0;
	border-radius: 50%;
	color: #fff;
	box-shadow: var(--hs-shadow-lg);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--hs-transition), transform var(--hs-transition), visibility var(--hs-transition);
}

.hs-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.hs-to-top svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ==========================================================================
   13. Kelas Inti WordPress
   ========================================================================== */
.alignleft {
	float: left;
	margin: 0.375rem 1.25rem 1.25rem 0;
}

.alignright {
	float: right;
	margin: 0.375rem 0 1.25rem 1.25rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide {
	margin-inline: calc(var(--hs-gutter) * -1);
}

.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption img {
	margin-inline: auto;
}

.sticky .hs-card-body::before {
	content: none;
}

.bypostauthor > .comment-body {
	border-color: var(--hs-accent);
}

.gallery {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(2, 1fr); }

.gallery-item img {
	width: 100%;
	border-radius: var(--hs-radius-sm);
}

.wp-block-image figcaption {
	color: var(--hs-muted);
	font-size: 0.8125rem;
}

.wp-block-quote {
	border-left: 4px solid var(--hs-accent);
	padding-left: 1.25rem;
}

.wp-block-button__link,
.wp-element-button {
	background: var(--hs-accent);
	border-radius: var(--hs-radius-pill);
	color: #fff;
	font-weight: 600;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
	background: var(--hs-accent-hover);
	color: #fff;
}

.wp-block-search {
	display: flex;
	gap: 0.5rem;
}

.wp-block-search__inside-wrapper {
	display: flex;
	gap: 0.5rem;
	width: 100%;
}

.wp-block-tag-cloud a {
	display: inline-block;
	margin: 0 0.25rem 0.375rem 0;
	padding: 0.25rem 0.625rem;
	background: var(--hs-bg-alt);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-pill);
	color: var(--hs-muted);
	font-size: 0.8125rem;
}

.wp-block-table {
	overflow-x: auto;
}

/* Form pencarian */
.hs-search-form {
	display: flex;
	gap: 0.5rem;
	width: 100%;
}

.hs-search-form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
}

/* ==========================================================================
   14. Blok Servis (Pencarian Cepat, Indeks Tag, Populer)
   ========================================================================== */

/* --- Band pencarian cepat ------------------------------------------------- */
.hs-search-band {
	margin-bottom: 2.5rem;
	padding: 1.75rem;
	background: var(--hs-heading);
	border-radius: var(--hs-radius);
	color: #fff;
}

.hs-search-band__title {
	margin: 0 0 0.375rem;
	color: #fff;
	font-size: 1.25rem;
}

.hs-search-band__desc {
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9375rem;
}

.hs-search-form--lg input[type="search"] {
	padding: 0.875rem 1.125rem;
	background: #fff;
	border-color: transparent;
	font-size: 1rem;
}

.hs-search-band .hs-search-form button {
	padding: 0.875rem 1.75rem;
}

.hs-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.hs-chip-label {
	align-self: center;
	margin-right: 0.25rem;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hs-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.75rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--hs-radius-pill);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.6;
}

.hs-chip:hover {
	background: var(--hs-accent);
	border-color: var(--hs-accent);
	color: #fff;
	text-decoration: none;
}

/* --- Indeks tag komponen -------------------------------------------------- */
.hs-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.hs-tag-cloud a {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.3rem 0.625rem;
	background: var(--hs-bg-alt);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-sm);
	color: var(--hs-text);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.5;
}

.hs-tag-cloud a:hover {
	background: var(--hs-accent-soft);
	border-color: var(--hs-accent);
	color: var(--hs-accent);
	text-decoration: none;
}

.hs-tag-count {
	padding: 0 0.35rem;
	background: var(--hs-surface);
	border-radius: var(--hs-radius-pill);
	color: var(--hs-muted);
	font-size: 0.6875rem;
	font-weight: 700;
}

/* --- Daftar artikel populer ----------------------------------------------- */
.hs-popular-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: hs-popular;
}

.hs-popular-list li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 0.875rem;
	align-items: start;
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--hs-border);
	counter-increment: hs-popular;
}

.hs-popular-list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.hs-popular-list li::before {
	content: counter(hs-popular);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: var(--hs-bg-alt);
	border-radius: 50%;
	color: var(--hs-muted);
	font-size: 0.875rem;
	font-weight: 800;
}

.hs-popular-list li:nth-child(-n + 3)::before {
	background: var(--hs-accent);
	color: #fff;
}

.hs-popular-title {
	margin: 0 0 0.25rem;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.hs-popular-title a {
	color: var(--hs-heading);
}

.hs-popular-title a:hover {
	color: var(--hs-accent);
	text-decoration: none;
}

.hs-popular-list .hs-entry-meta {
	margin-top: 0;
}

/* --- Estimasi waktu baca & tombol cetak ---------------------------------- */
.hs-reading-time,
.hs-post-actions {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	color: var(--hs-muted);
	font-size: 0.8125rem;
	font-weight: 600;
}

.hs-reading-time svg,
.hs-post-actions svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hs-single-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--hs-border);
}

.hs-print-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	min-height: 36px;
	padding: 0.375rem 0.875rem;
	background: var(--hs-bg-alt);
	border: 1px solid var(--hs-border);
	border-radius: var(--hs-radius-sm);
	color: var(--hs-text);
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color var(--hs-transition), color var(--hs-transition);
}

.hs-print-btn:hover {
	border-color: var(--hs-accent);
	color: var(--hs-accent);
}

.hs-print-btn svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ==========================================================================
   15. Media Queries (Responsif: Mobile -> Tablet -> Desktop)
   ========================================================================== */

/* --- Mobile kecil (<= 599px) -------------------------------------------- */
@media (max-width: 599px) {
	:root {
		--hs-gutter: 1rem;
		--hs-header-h: 62px;
	}

	/* Gambar mengambang tidak berguna di layar sempit: jadikan blok penuh. */
	.alignleft,
	.alignright {
		float: none;
		width: 100%;
		margin: 1.25rem 0;
	}

	/* Tabel lebar digulir horizontal, bukan memaksa halaman melar. */
	.hs-entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.hs-hero-body {
		padding: 1.125rem;
	}

	.hs-hero-title {
		font-size: 1.3125rem;
	}

	.hs-post-grid {
		gap: 1.125rem;
	}

	/* Jaga area sentuh minimal 44px. */
	.hs-icon-btn {
		width: 44px;
		height: 44px;
	}

	.hs-menu-toggle {
		padding: 0.625rem 0.75rem;
		min-height: 44px;
	}

	.hs-submenu-toggle {
		width: 44px;
		height: 44px;
	}

	.hs-search-form {
		flex-direction: column;
		align-items: stretch;
	}

	.hs-search-form button {
		width: 100%;
		min-height: 44px;
	}

	.hs-share {
		width: 100%;
	}

	.hs-share a {
		flex: 1 1 auto;
		justify-content: center;
		min-height: 40px;
	}

	/* Blok servis di layar sempit */
	.hs-search-band {
		padding: 1.25rem;
	}

	.hs-search-band__title {
		font-size: 1.125rem;
	}

	.hs-chip {
		min-height: 36px;
	}

	.hs-popular-list li {
		grid-template-columns: 28px minmax(0, 1fr);
		gap: 0.75rem;
	}

	.hs-popular-list li::before {
		width: 28px;
		height: 28px;
		font-size: 0.8125rem;
	}

	.hs-print-btn {
		min-height: 44px;
	}
}

/* --- Layar sangat sempit (<= 380px) ------------------------------------ */
@media (max-width: 380px) {
	.hs-site-description {
		display: none;
	}

	.hs-mini-card {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 0.75rem;
	}

	.hs-hero-title {
		font-size: 1.1875rem;
	}
}

@media (min-width: 600px) {
	h1 { font-size: 2rem; }
	h2 { font-size: 1.625rem; }

	.hs-site-title { font-size: 1.375rem; }

	.hs-single-title { font-size: 2rem; }
	.hs-hero-title { font-size: 1.75rem; }

	.hs-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.hs-footer__widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.post-navigation .nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.hs-author-box { grid-template-columns: auto minmax(0, 1fr); }

	.hs-footer__bottom {
		flex-direction: row;
		text-align: left;
	}
}

@media (min-width: 768px) {
	:root { --hs-gutter: 1.5rem; }

	.hs-content-area { padding-block: 2.5rem 4rem; }

	.hs-search-band { padding: 2.25rem; }
	.hs-search-band__title { font-size: 1.4375rem; }

	.hs-hero-card { min-height: 380px; }
	.hs-hero-body { padding: 2rem; }
	.hs-hero-title { font-size: 2.125rem; }

	.alignwide { margin-inline: -3rem; }
}

@media (min-width: 992px) {
	.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
	/* Layout dua kolom dengan sidebar (desktop) */
	.hs-layout.has-sidebar {
		grid-template-columns: minmax(0, 1fr) 320px;
		align-items: start;
	}

	.hs-layout.has-sidebar.sidebar-left {
		grid-template-columns: 320px minmax(0, 1fr);
	}

	.hs-layout.has-sidebar.sidebar-left .hs-widget-area {
		order: -1;
	}

	.hs-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	/* Daftar artikel populer jadi dua kolom agar tidak terlalu memanjang. */
	.hs-popular-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2.5rem;
	}

	.hs-hero {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		align-items: stretch;
	}

	/* Navigasi horizontal di desktop */
	.hs-menu-toggle { display: none; }

	.hs-nav__panel {
		display: block;
		position: static;
		max-height: none;
		overflow: visible;
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.hs-nav ul.hs-menu,
	.hs-nav > .hs-nav__panel > ul {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.25rem;
	}

	.hs-nav li a {
		padding: 0.5rem 0.75rem;
		border-bottom: 0;
		border-radius: var(--hs-radius-sm);
	}

	.hs-nav .sub-menu a {
		padding-left: 1rem;
	}

	.hs-nav li:hover > a,
	.hs-nav .current-menu-item > a,
	.hs-nav .current_page_item > a,
	.hs-nav .current-menu-ancestor > a {
		background: var(--hs-accent-soft);
		color: var(--hs-accent);
	}

	.hs-nav .menu-item-has-children > a {
		padding-right: 1.75rem;
	}

	.hs-submenu-toggle {
		position: absolute;
		top: 50%;
		right: 0.125rem;
		width: 22px;
		height: 22px;
		transform: translateY(-50%);
		background: transparent;
		border: 0;
		color: inherit;
	}

	.hs-submenu-toggle svg { width: 13px; height: 13px; }

	.hs-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 60;
		display: block;
		min-width: 220px;
		margin: 0;
		padding: 0.375rem;
		background: var(--hs-surface);
		border: 1px solid var(--hs-border);
		border-radius: var(--hs-radius-sm);
		box-shadow: var(--hs-shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity var(--hs-transition), transform var(--hs-transition), visibility var(--hs-transition);
	}

	.hs-nav li:hover > .sub-menu,
	.hs-nav li:focus-within > .sub-menu,
	.hs-nav .sub-menu.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.hs-nav .sub-menu li:hover > .sub-menu,
	.hs-nav .sub-menu li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
	}

	.hs-nav .sub-menu .sub-menu {
		top: 0;
		left: 100%;
	}

	.hs-nav .sub-menu a {
		border-radius: var(--hs-radius-sm);
	}

	.hs-nav__mobile-search { display: none; }

	.hs-footer__widgets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
	.hs-layout.has-sidebar { grid-template-columns: minmax(0, 1fr) 340px; }
	.hs-layout.has-sidebar.sidebar-left { grid-template-columns: 340px minmax(0, 1fr); }
}

/* ==========================================================================
   16. Mode Gelap
   ========================================================================== */
[data-theme="dark"] .hs-card-thumb img,
[data-theme="dark"] .hs-hero-card img {
	opacity: 0.92;
}

[data-theme="dark"] .hs-topbar,
[data-theme="dark"] .hs-footer {
	background: #0a0c10;
}

/* Hormati preferensi pengguna yang menonaktifkan animasi */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   17. Print
   ========================================================================== */
@media print {
	.hs-header,
	.hs-topbar,
	.hs-footer,
	.hs-widget-area,
	.hs-to-top,
	.hs-comments,
	.post-navigation,
	.hs-share,
	.hs-single-actions,
	.hs-related,
	.hs-author-box,
	.hs-search-band {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 12pt;
	}

	.hs-container {
		max-width: none;
		padding: 0;
	}

	.hs-content-area {
		padding: 0;
	}

	.hs-single-title,
	.hs-entry-content h2,
	.hs-entry-content h3 {
		color: #000;
	}

	/* Cetak tautan sumber di bawah judul agar panduan mudah diarsipkan. */
	.hs-single-title::after {
		content: " (" attr(data-permalink) ")";
		display: block;
		margin-top: 0.25rem;
		font-size: 9pt;
		font-weight: 400;
		word-break: break-all;
	}

	.hs-entry-content a {
		color: #000;
		text-decoration: underline;
	}

	.hs-entry-content img,
	.hs-entry-content figure,
	.hs-entry-content table {
		page-break-inside: avoid;
	}

	.hs-entry-content h2,
	.hs-entry-content h3 {
		page-break-after: avoid;
	}
}
