/*
Theme Name: PoinTru Starter
Theme URI: https://pointru.com
Author: PoinTru
Author URI: https://pointru.com
Description: Lightweight starter WordPress theme for PoinTru. A fast, content-first, standalone editorial theme built from scratch for maximum speed and readability.
Version: 0.3.0
Requires at least: 5.9
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: pointru-starter
Tags: blog, one-column, custom-logo, featured-images, translation-ready
*/

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */

:root {
	/* Obsidian & Alabaster Luxury Editorial Tokens */
	--pt-color-brand-blue: #0052ff;
	--pt-color-primary: #0052ff;
	--pt-color-obsidian: #0B0F19;
	--pt-color-obsidian-card: #111827;
	--pt-color-alabaster: #F8FAFC;
	--pt-color-surface-high: #e6e8ea;
	--pt-color-text: #0F172A;
	--pt-color-muted: #64748B;
	--pt-color-background: #F8FAFC;
	--pt-color-surface: #FFFFFF;
	--pt-color-border: #E2E8F0;
	--pt-color-accent-hover: rgba(0, 82, 255, 0.08);
	--pt-color-on-primary: #FFFFFF;

	/* Typography Stacks */
	--pt-font-display: 'Playfair Display', Georgia, serif;
	--pt-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--pt-font-family: var(--pt-font-sans);
	--pt-font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	--pt-font-size-base: 16px;
	--pt-font-size-xs: 0.75rem;
	--pt-font-size-sm: 0.875rem;
	--pt-font-size-lg: 1.125rem;
	--pt-font-size-xl: clamp(1.25rem, 2vw, 1.5rem);
	--pt-font-size-2xl: clamp(1.5rem, 2.5vw, 1.875rem);
	--pt-font-size-3xl: clamp(1.875rem, 4vw, 2.5rem);
	--pt-line-height: 1.7;

	/* Layout & Header */
	--pt-container-width: 1240px;
	--pt-header-height: 5.5rem;

	/* Spacing */
	--pt-space-xs: 0.25rem;
	--pt-space-sm: 0.5rem;
	--pt-space-md: 1rem;
	--pt-space-lg: 1.5rem;
	--pt-space-xl: 2rem;
	--pt-space-2xl: 3rem;
	--pt-space-3xl: 4.5rem;

	/* Radius */
	--pt-radius-sm: 0.375rem;
	--pt-radius-md: 0.75rem;
	--pt-radius-lg: 1.25rem;
	--pt-radius-xl: 1.75rem;

	/* Shadows */
	--pt-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
	--pt-shadow-md: 0 4px 16px rgba(11, 15, 25, 0.06);
	--pt-shadow-lg: 0 12px 32px rgba(11, 15, 25, 0.08);

	/* Transitions */
	--pt-transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */

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

html {
	font-size: var(--pt-font-size-base);
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--pt-font-family);
	font-size: 1rem;
	line-height: var(--pt-line-height);
	color: var(--pt-color-text);
	background-color: var(--pt-color-background);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
	max-width: 100%;
}

figcaption {
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
	margin-top: var(--pt-space-sm);
	text-align: center;
	word-break: break-word;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	color: var(--pt-color-primary);
	text-decoration: none;
	text-decoration-skip-ink: auto;
	transition: color var(--pt-transition);
}

a:hover {
	color: var(--pt-color-text);
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 2px solid var(--pt-color-primary);
	outline-offset: 3px;
	border-radius: var(--pt-radius-sm);
}

p {
	margin: 0 0 var(--pt-space-md);
}

h1, h2, h3, h4, h5, h6,
.post-card__title,
.single-post__title,
.page-content__title,
.archive-header__title,
.search-header__title,
.error-404__title,
.section-heading,
blockquote,
caption {
	text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--pt-space-md);
	font-weight: 600;
	line-height: 1.3;
	color: var(--pt-color-text);
}

h1 { font-size: var(--pt-font-size-3xl); }
h2 { font-size: var(--pt-font-size-2xl); }
h3 { font-size: var(--pt-font-size-xl); }
h4 { font-size: var(--pt-font-size-lg); }

:where(pre) {
	overflow-x: auto;
	max-width: 100%;
}

:where(code, kbd, samp) {
	font-family: var(--pt-font-family-mono);
	word-break: break-word;
}

:where(pre code) {
	word-break: normal;
}

input,
button,
textarea,
select {
	font: inherit;
	max-width: 100%;
}

button {
	cursor: pointer;
	background: transparent;
	border: none;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.skip-link {
	position: absolute;
	top: -100%;
	left: var(--pt-space-md);
	z-index: 999;
	padding: var(--pt-space-sm) var(--pt-space-md);
	background-color: var(--pt-color-text);
	color: var(--pt-color-background);
	font-weight: 600;
	border-radius: var(--pt-radius-md);
	transition: top var(--pt-transition);
}

.skip-link:focus {
	top: var(--pt-space-md);
	color: var(--pt-color-background);
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	overflow: visible;
	background-color: var(--pt-color-background);
	color: var(--pt-color-text);
	padding: var(--pt-space-sm) var(--pt-space-md);
	z-index: 100000;
}

/* ==========================================================================
   LAYOUT — CONTAINER
   ========================================================================== */

.pt-container {
	width: 100%;
	max-width: var(--pt-container-width);
	margin-inline: auto;
	padding-inline: var(--pt-space-xl);
}

/* ==========================================================================
   HEADER & GLASSMORPHISM
   ========================================================================== */

.site-header {
	background-color: var(--pt-color-background);
	border-bottom: 1px solid var(--pt-color-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.glass-header {
	background: rgba(248, 250, 252, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.glass-card {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: var(--pt-shadow-md);
	border-radius: var(--pt-radius-lg);
}

.obsidian-card {
	background: var(--pt-color-obsidian);
	color: #FFFFFF;
	border-radius: var(--pt-radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.font-display {
	font-family: var(--pt-font-display);
}

.site-header__bar {
	height: var(--pt-header-height);
	min-height: var(--pt-header-height);
	max-height: var(--pt-header-height);
	display: flex;
	align-items: center;
	width: 100%;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	width: 100%;
	gap: var(--pt-space-lg);
}

/* Branding */
.site-branding {
	min-width: 0;
}

.site-branding a,
.site-title-link {
	display: flex;
	align-items: center;
	color: var(--pt-color-text);
	font-weight: 700;
	font-size: 1.5rem;
	text-decoration: none;
	word-break: break-word;
	letter-spacing: -0.02em;
}

.site-branding a:hover {
	color: var(--pt-color-brand-blue);
}

.custom-logo-link {
	display: block;
	max-height: 2.75rem;
}

.custom-logo {
	max-height: 2.75rem;
	width: auto;
	object-fit: contain;
}

/* Header Actions (Search & Mobile Toggle) */
.header-actions {
	display: flex;
	align-items: center;
	gap: var(--pt-space-sm);
	flex-shrink: 0;
}

.header-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pt-color-surface);
	color: var(--pt-color-text);
	border: 1px solid var(--pt-color-border);
	cursor: pointer;
	transition: all var(--pt-transition);
}

.header-search-btn:hover {
	background: var(--pt-color-accent-hover);
	color: var(--pt-color-brand-blue);
	border-color: var(--pt-color-brand-blue);
}

/* Search Modal Overlay (Alpine.js) */
.search-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(11, 15, 25, 0.65);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--pt-space-md);
}

.search-modal-container {
	background: #FFFFFF;
	width: 100%;
	max-width: 580px;
	border-radius: var(--pt-radius-lg);
	padding: var(--pt-space-lg);
	box-shadow: 0 24px 48px rgba(11, 15, 25, 0.25);
	border: 1px solid var(--pt-color-border);
}

.search-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--pt-space-md);
}

.search-modal-title {
	margin: 0;
	font-size: var(--pt-font-size-lg);
	font-weight: 700;
	color: var(--pt-color-text);
}

.search-modal-close {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--pt-color-muted);
	display: flex;
	align-items: center;
	padding: 4px;
	border-radius: var(--pt-radius-sm);
	transition: color var(--pt-transition);
}

.search-modal-close:hover {
	color: var(--pt-color-text);
}

.search-modal-input-wrap {
	display: flex;
	align-items: center;
	gap: var(--pt-space-sm);
	background: var(--pt-color-alabaster);
	border: 1px solid var(--pt-color-border);
	border-radius: var(--pt-radius-md);
	padding: var(--pt-space-xs) var(--pt-space-sm);
	transition: border-color var(--pt-transition);
}

.search-modal-input-wrap:focus-within {
	border-color: var(--pt-color-brand-blue);
	box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
}

.search-modal-icon {
	color: var(--pt-color-muted);
}

.search-modal-input {
	flex: 1;
	border: none;
	background: transparent;
	font-size: var(--pt-font-size-base);
	color: var(--pt-color-text);
	padding: var(--pt-space-sm);
	outline: none;
}

.search-modal-submit-btn {
	background: var(--pt-color-brand-blue);
	color: #FFFFFF;
	border: none;
	border-radius: var(--pt-radius-sm);
	padding: var(--pt-space-sm) var(--pt-space-lg);
	font-weight: 600;
	cursor: pointer;
	transition: opacity var(--pt-transition);
}

.search-modal-submit-btn:hover {
	opacity: 0.9;
}


/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* Mobile Menu Toggle Button */
.menu-toggle {
	display: none;
	align-items: center;
	gap: var(--pt-space-xs);
	padding: var(--pt-space-xs) var(--pt-space-sm);
	background-color: var(--pt-color-surface);
	color: var(--pt-color-text);
	border: 1px solid var(--pt-color-border);
	border-radius: var(--pt-radius-md);
	font-size: var(--pt-font-size-sm);
	font-weight: 600;
	cursor: pointer;
	line-height: 1;
	min-height: 40px;
	transition: background-color var(--pt-transition), border-color var(--pt-transition);
}

.menu-toggle:hover {
	background-color: var(--pt-color-border);
}

.menu-toggle__icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 18px;
	height: 12px;
}

.menu-toggle__icon span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: currentColor;
	border-radius: 1px;
	transition: transform var(--pt-transition), opacity var(--pt-transition);
}

.menu-toggle.is-active .menu-toggle__icon span:nth-child(1) {
	transform: translateY(5px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__icon span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-active .menu-toggle__icon span:nth-child(3) {
	transform: translateY(-5px) rotate(-45deg);
}

.primary-navigation {
	flex-grow: 1;
}

.primary-navigation ul {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--pt-space-xs);
	flex-wrap: wrap;
}

.primary-navigation li {
	position: relative;
	display: flex;
	align-items: center;
}

.primary-navigation a {
	display: block;
	padding: var(--pt-space-sm) var(--pt-space-md);
	color: var(--pt-color-text);
	font-size: var(--pt-font-size-sm);
	font-weight: 500;
	border-radius: var(--pt-radius-md);
	transition: background-color var(--pt-transition), color var(--pt-transition);
	white-space: nowrap;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
	background-color: var(--pt-color-accent-hover);
	color: var(--pt-color-primary);
}

/* Submenu Dropdown Toggle Button */
.primary-navigation .dropdown-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-left: -4px;
	margin-right: 4px;
	padding: 0;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--pt-radius-sm);
	color: var(--pt-color-muted);
	cursor: pointer;
	line-height: 1;
	transition: background-color var(--pt-transition), color var(--pt-transition);
}

.primary-navigation .dropdown-toggle:hover,
.primary-navigation .dropdown-toggle:focus-visible {
	background-color: var(--pt-color-accent-hover);
	color: var(--pt-color-primary);
}

.primary-navigation .dropdown-icon {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform var(--pt-transition);
}

.primary-navigation .menu-item-has-children.is-open > .dropdown-toggle .dropdown-icon,
.primary-navigation .dropdown-toggle[aria-expanded="true"] .dropdown-icon {
	transform: rotate(-135deg) translateY(-1px);
}

/* Desktop Submenu (Zero hover dependency, pure state-driven) */
.primary-navigation ul ul,
.primary-navigation .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 150;
	min-width: 200px;
	background-color: var(--pt-color-surface);
	border: 1px solid var(--pt-color-border);
	border-radius: var(--pt-radius-md);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	padding: var(--pt-space-xs) 0;
	margin: var(--pt-space-xs) 0 0;
	list-style: none;
	flex-direction: column;
	align-items: stretch;
}

.primary-navigation .menu-item-has-children.is-open > .sub-menu,
.primary-navigation .page_item_has_children.is-open > .children {
	display: flex;
}

.primary-navigation .sub-menu li {
	display: block;
	width: 100%;
}

.primary-navigation .sub-menu a {
	display: block;
	width: 100%;
	padding: var(--pt-space-sm) var(--pt-space-md);
	border-radius: 0;
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-text);
}

.primary-navigation .sub-menu a:hover {
	background-color: var(--pt-color-accent-hover);
	color: var(--pt-color-primary);
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

.site-main {
	padding-block: var(--pt-space-2xl);
}

.section-heading {
	font-size: var(--pt-font-size-xl);
	font-weight: 700;
	margin-bottom: var(--pt-space-xl);
	padding-bottom: var(--pt-space-sm);
	border-bottom: 2px solid var(--pt-color-primary);
	display: inline-block;
}

/* ==========================================================================
   POST CARD
   ========================================================================== */

.post-card {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: var(--pt-space-lg);
	padding-bottom: var(--pt-space-xl);
	margin-bottom: var(--pt-space-xl);
	border-bottom: 1px solid var(--pt-color-border);
}

.post-card:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Post Thumbnail */
.post-card__thumbnail {
	overflow: hidden;
	border-radius: var(--pt-radius-lg);
	aspect-ratio: 16 / 10;
	background-color: var(--pt-color-surface);
}

.post-card__thumbnail a {
	display: block;
	height: 100%;
}

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

.post-card__thumbnail a:hover img {
	transform: scale(1.03);
}

/* Placeholder when no thumbnail */
.post-card__thumbnail--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--pt-color-muted);
	font-size: var(--pt-font-size-sm);
}

/* Post Content */
.post-card__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--pt-space-sm);
}

/* Category */
.post-card__category {
	font-size: var(--pt-font-size-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.post-card__category a {
	color: var(--pt-color-primary);
}

.post-card__category a:hover {
	text-decoration: underline;
}

/* Title */
.post-card__title {
	margin: 0;
	font-size: var(--pt-font-size-xl);
	font-weight: 700;
	line-height: 1.35;
}

.post-card__title a {
	color: var(--pt-color-text);
}

.post-card__title a:hover {
	color: var(--pt-color-primary);
}

/* Date */
.post-card__date {
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
}

/* Excerpt */
.post-card__excerpt {
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
	line-height: 1.6;
	margin: 0;
}

.post-card__excerpt p {
	margin: 0;
}

/* ==========================================================================
   LUXURY BENTO GRID & EDITORIAL HOMEPAGE
   ========================================================================== */

/* Bento Hero (12 Columns) */
.bento-hero {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--pt-space-lg);
	margin-block: var(--pt-space-xl) var(--pt-space-2xl);
}

.bento-featured {
	grid-column: span 8;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform var(--pt-transition), box-shadow var(--pt-transition);
}

.bento-featured:hover {
	transform: translateY(-4px);
	box-shadow: var(--pt-shadow-lg);
}

.bento-featured__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--pt-color-obsidian);
}

.bento-featured__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.bento-featured:hover .bento-featured__img {
	transform: scale(1.03);
}

.bento-featured__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #64748B;
}

.bento-featured__placeholder .material-symbols-outlined {
	font-size: 3.5rem;
}

.bento-featured__body {
	padding: var(--pt-space-xl);
	display: flex;
	flex-direction: column;
	gap: var(--pt-space-md);
	flex: 1;
	justify-content: space-between;
}

.bento-featured__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pt-space-sm);
}

.badge-category {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.85rem;
	background: rgba(0, 82, 255, 0.1);
	color: var(--pt-color-brand-blue);
	border-radius: 9999px;
	font-weight: 700;
	font-size: var(--pt-font-size-xs);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: background-color var(--pt-transition);
}

.badge-category:hover {
	background: rgba(0, 82, 255, 0.2);
}

.read-time {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
	font-weight: 500;
}

.read-time .material-symbols-outlined {
	font-size: 1rem;
}

.bento-featured__title {
	margin: 0;
	font-size: clamp(1.625rem, 2.5vw, 2.25rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.bento-featured__title a {
	color: var(--pt-color-text);
	text-decoration: none;
	transition: color var(--pt-transition);
}

.bento-featured__title a:hover {
	color: var(--pt-color-brand-blue);
}

.bento-featured__excerpt {
	color: var(--pt-color-muted);
	font-size: 1.05rem;
	line-height: 1.65;
	margin: 0;
}

.bento-featured__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: var(--pt-space-md);
	border-top: 1px solid var(--pt-color-border);
}

.author-snippet {
	display: flex;
	align-items: center;
	gap: var(--pt-space-sm);
}

.author-avatar-initial {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--pt-color-obsidian);
	color: #FFFFFF;
	font-weight: 700;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.author-name {
	font-weight: 600;
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-text);
}

.post-date {
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
}

/* Side Bento Cards (4 Columns) */
.bento-sidebar {
	grid-column: span 4;
	display: flex;
	flex-direction: column;
	gap: var(--pt-space-lg);
}

.bento-side-card {
	flex: 1;
	padding: var(--pt-space-lg);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--pt-space-md);
	transition: transform var(--pt-transition), border-color var(--pt-transition), box-shadow var(--pt-transition);
}

.bento-side-card:hover {
	transform: translateY(-3px);
	border-color: var(--pt-color-brand-blue);
	box-shadow: var(--pt-shadow-lg);
}

.bento-side-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--pt-space-sm);
}

.badge-category-sm {
	padding: 0.25rem 0.65rem;
	background: rgba(0, 82, 255, 0.08);
	color: var(--pt-color-brand-blue);
	border-radius: 9999px;
	font-weight: 700;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
}

.read-time-sm {
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
}

.bento-side-card__title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
}

.bento-side-card__title a {
	color: var(--pt-color-text);
	text-decoration: none;
	transition: color var(--pt-transition);
}

.bento-side-card__title a:hover {
	color: var(--pt-color-brand-blue);
}

.bento-side-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: var(--pt-space-sm);
	border-top: 1px solid var(--pt-color-border);
}

.post-date-sm {
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
}

.side-card-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--pt-color-alabaster);
	color: var(--pt-color-text);
	text-decoration: none;
	transition: all var(--pt-transition);
}

.bento-side-card:hover .side-card-arrow {
	background: var(--pt-color-brand-blue);
	color: #FFFFFF;
	transform: translateX(4px);
}

/* Category Filter Section */
.category-filter-section {
	margin-block: var(--pt-space-xl) var(--pt-space-2xl);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: var(--pt-space-xs);
}

.category-pills-wrap {
	display: flex;
	gap: var(--pt-space-sm);
	align-items: center;
}

.category-pill {
	display: inline-block;
	padding: 0.55rem 1.35rem;
	border-radius: 9999px;
	background: var(--pt-color-surface);
	border: 1px solid var(--pt-color-border);
	color: var(--pt-color-text);
	text-decoration: none;
	font-weight: 600;
	font-size: var(--pt-font-size-sm);
	white-space: nowrap;
	transition: all var(--pt-transition);
}

.category-pill:hover {
	border-color: var(--pt-color-brand-blue);
	color: var(--pt-color-brand-blue);
	background: rgba(0, 82, 255, 0.04);
}

.category-pill.is-active {
	background: var(--pt-color-obsidian);
	color: #FFFFFF;
	border-color: var(--pt-color-obsidian);
	box-shadow: 0 4px 12px rgba(11, 15, 25, 0.2);
}

/* Poin Store Showcase (Obsidian Luxury Card) */
.poin-store-showcase {
	margin-block: var(--pt-space-2xl);
	padding: var(--pt-space-2xl) var(--pt-space-xl);
	border-radius: var(--pt-radius-xl);
	background: radial-gradient(circle at 85% 15%, #1e293b 0%, #0B0F19 100%);
	position: relative;
	overflow: hidden;
	box-shadow: var(--pt-shadow-lg);
}

.poin-store-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.1);
	padding: 0.4rem 0.95rem;
	border-radius: 9999px;
	font-size: var(--pt-font-size-xs);
	font-weight: 600;
	color: #93C5FD;
	margin-bottom: var(--pt-space-md);
}

.poin-store-badge .material-symbols-outlined {
	font-size: 1.1rem;
}

.poin-store-title {
	font-size: clamp(1.625rem, 3vw, 2.35rem);
	font-weight: 800;
	margin: 0 0 var(--pt-space-sm);
	color: #FFFFFF;
	letter-spacing: -0.02em;
}

.poin-store-desc {
	color: #94A3B8;
	font-size: 1.05rem;
	max-width: 680px;
	margin: 0 0 var(--pt-space-xl);
	line-height: 1.65;
}

.poin-store-features {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pt-space-lg);
	margin-bottom: var(--pt-space-xl);
}

.store-feature-item {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #F1F5F9;
	font-size: var(--pt-font-size-sm);
	font-weight: 600;
}

.store-feature-item .material-symbols-outlined {
	color: #60A5FA;
	font-size: 1.25rem;
}

.btn-store-wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #25D366;
	color: #FFFFFF !important;
	padding: 0.85rem 2rem;
	border-radius: 9999px;
	font-weight: 700;
	text-decoration: none !important;
	font-size: 1rem;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-store-wa:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* 3-Column Editorial Feed Grid */
.editorial-feed-section {
	margin-block: var(--pt-space-2xl);
}

.editorial-feed-header {
	margin-bottom: var(--pt-space-xl);
}

.section-title {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 800;
	color: var(--pt-color-text);
	margin: 0;
	letter-spacing: -0.02em;
}

.editorial-feed-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--pt-space-lg);
}

.editorial-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform var(--pt-transition), box-shadow var(--pt-transition);
}

.editorial-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--pt-shadow-lg);
}

.editorial-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	width: 100%;
	overflow: hidden;
	background: var(--pt-color-obsidian);
}

.editorial-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.editorial-card:hover .editorial-card__img {
	transform: scale(1.04);
}

.editorial-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #64748B;
}

.editorial-card__placeholder .material-symbols-outlined {
	font-size: 2.5rem;
}

.editorial-card__badge {
	position: absolute;
	bottom: 0.75rem;
	left: 0.75rem;
	background: rgba(11, 15, 25, 0.8);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #FFFFFF;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0.25rem 0.65rem;
	border-radius: var(--pt-radius-sm);
	text-decoration: none;
	letter-spacing: 0.05em;
}

.editorial-card__body {
	padding: var(--pt-space-lg);
	display: flex;
	flex-direction: column;
	gap: var(--pt-space-sm);
	flex: 1;
	justify-content: space-between;
}

.editorial-card__meta {
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
	display: flex;
	align-items: center;
	gap: 6px;
}

.meta-dot {
	color: var(--pt-color-border);
}

.editorial-card__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.35;
}

.editorial-card__title a {
	color: var(--pt-color-text);
	text-decoration: none;
	transition: color var(--pt-transition);
}

.editorial-card__title a:hover {
	color: var(--pt-color-brand-blue);
}

.editorial-card__excerpt {
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
	margin: 0;
	line-height: 1.6;
}

/* Pagination Wrapper */
.pagination-wrapper {
	margin-top: var(--pt-space-2xl);
	display: flex;
	justify-content: center;
}

/* 2-Column Obsidian Footer */
.obsidian-footer {
	background: var(--pt-color-obsidian);
	color: #94A3B8;
	padding: var(--pt-space-3xl) 0 var(--pt-space-2xl);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: var(--pt-space-2xl);
	align-items: start;
}

.footer-col-brand .site-footer__name {
	font-size: 1.75rem;
	font-weight: 800;
	color: #FFFFFF;
	margin-bottom: var(--pt-space-xs);
	letter-spacing: -0.02em;
}

.footer-col-brand .site-footer__tagline {
	color: #94A3B8;
	font-size: 0.95rem;
	margin: 0 0 var(--pt-space-lg);
	max-width: 420px;
	line-height: 1.6;
}

.footer-col-brand .site-footer__copyright {
	color: #64748B;
	font-size: var(--pt-font-size-xs);
	margin: 0;
}

.footer-navigation ul,
.footer-links-default {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--pt-space-md) var(--pt-space-xl);
	justify-content: flex-end;
}

.footer-navigation a,
.footer-links-default a {
	color: #94A3B8;
	text-decoration: none;
	font-size: var(--pt-font-size-sm);
	font-weight: 500;
	transition: color var(--pt-transition);
}

.footer-navigation a:hover,
.footer-links-default a:hover {
	color: #FFFFFF;
}

/* Responsive Overrides */
@media (max-width: 1023px) {
	.editorial-feed-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 991px) {
	.bento-hero {
		grid-template-columns: 1fr;
	}
	.bento-featured,
	.bento-sidebar {
		grid-column: span 1;
	}
	.footer-grid {
		grid-template-columns: 1fr;
		gap: var(--pt-space-xl);
	}
	.footer-navigation ul,
	.footer-links-default {
		justify-content: flex-start;
	}
}

@media (max-width: 639px) {
	.editorial-feed-grid {
		grid-template-columns: 1fr;
	}
	.poin-store-showcase {
		padding: var(--pt-space-xl) var(--pt-space-lg);
	}
	.poin-store-features {
		flex-direction: column;
		gap: var(--pt-space-sm);
	}
	.btn-store-wa {
		width: 100%;
		justify-content: center;
	}
}

/* ==========================================================================
   NO POSTS / EMPTY STATE
   ========================================================================== */

.no-posts {
	text-align: center;
	padding: var(--pt-space-3xl) var(--pt-space-md);
}

.no-posts__title {
	font-size: var(--pt-font-size-2xl);
	margin-bottom: var(--pt-space-md);
}

.no-posts__message {
	color: var(--pt-color-muted);
	font-size: var(--pt-font-size-lg);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--pt-space-sm);
	margin-top: var(--pt-space-2xl);
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: var(--pt-space-sm);
	background-color: var(--pt-color-surface);
	color: var(--pt-color-text);
	border-radius: var(--pt-radius-md);
	font-weight: 500;
	font-size: var(--pt-font-size-sm);
	transition: background-color var(--pt-transition), color var(--pt-transition);
}

.pagination .page-numbers:hover {
	background-color: var(--pt-color-accent-hover);
	color: var(--pt-color-primary);
}

.pagination .page-numbers.current {
	background-color: var(--pt-color-primary);
	color: var(--pt-color-on-primary);
	pointer-events: none;
}

.pagination .page-numbers.dots {
	background-color: transparent;
	pointer-events: none;
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */

/* Breadcrumbs */
.breadcrumbs {
	margin-bottom: var(--pt-space-md);
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pt-space-xs);
	list-style: none;
	margin: 0;
	padding: 0;
}

.breadcrumbs__item a {
	color: var(--pt-color-muted);
	text-decoration: none;
	transition: color var(--pt-transition);
}

.breadcrumbs__item a:hover {
	color: var(--pt-color-primary);
	text-decoration: underline;
}

.breadcrumbs__item--current {
	color: var(--pt-color-text);
	font-weight: 500;
	max-width: 320px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.breadcrumbs__separator {
	color: var(--pt-color-border);
	user-select: none;
}

.single-post__header {
	margin-bottom: var(--pt-space-xl);
}

.single-post__category {
	font-size: var(--pt-font-size-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: var(--pt-space-sm);
}

.single-post__category a {
	color: var(--pt-color-primary);
}

.single-post__category a:hover {
	text-decoration: underline;
}

.single-post__title {
	font-size: var(--pt-font-size-3xl);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 var(--pt-space-md);
}

.single-post__date {
	display: block;
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
}

.single-post__thumbnail {
	margin-bottom: var(--pt-space-xl);
	border-radius: var(--pt-radius-lg);
	overflow: hidden;
}

.single-post__thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================================
   ENTRY CONTENT (Post/Page Body & Media Styling)
   ========================================================================== */

.entry-content {
	max-width: 720px;
	font-size: var(--pt-font-size-lg);
	line-height: var(--pt-line-height);
	overflow-wrap: break-word;
	word-break: break-word;
}

.entry-content p {
	margin: 0 0 var(--pt-space-lg);
}

.entry-content h2 {
	font-size: var(--pt-font-size-2xl);
	margin-top: var(--pt-space-2xl);
	margin-bottom: var(--pt-space-md);
}

.entry-content h3 {
	font-size: var(--pt-font-size-xl);
	margin-top: var(--pt-space-xl);
	margin-bottom: var(--pt-space-md);
}

/* Heading anchor scroll offset for sticky header */
.entry-content h2[id],
.entry-content h3[id] {
	scroll-margin-top: calc(var(--pt-header-height) + 1.5rem);
}

/* ==========================================================================
   TABLE OF CONTENTS (TOC)
   ========================================================================== */

.pointru-toc {
	margin-block: var(--pt-space-xl);
	padding: var(--pt-space-lg);
	border: 1px solid var(--pt-color-border);
	background-color: var(--pt-color-surface);
	border-radius: var(--pt-radius-md);
	font-size: var(--pt-font-size-base);
}

.pointru-toc__title {
	font-size: var(--pt-font-size-lg) !important;
	font-weight: 700;
	color: var(--pt-color-text);
	margin: 0 0 var(--pt-space-sm) 0 !important;
	padding-bottom: var(--pt-space-xs);
	border-bottom: 1px solid var(--pt-color-border);
}

.pointru-toc__list {
	margin: 0 !important;
	padding-left: var(--pt-space-lg) !important;
	list-style: decimal;
}

.pointru-toc__list li {
	margin-block: var(--pt-space-xs);
	line-height: 1.5;
}

.pointru-toc__list a {
	color: var(--pt-color-text);
	text-decoration: none;
	transition: color var(--pt-transition);
}

.pointru-toc__list a:hover {
	color: var(--pt-color-primary);
	text-decoration: underline;
}

.pointru-toc__sublist {
	margin: var(--pt-space-xs) 0 !important;
	padding-left: var(--pt-space-lg) !important;
	list-style: decimal;
}

.pointru-toc__sublist li {
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
}

.entry-content h4 {
	font-size: var(--pt-font-size-lg);
	margin-top: var(--pt-space-xl);
	margin-bottom: var(--pt-space-sm);
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 var(--pt-space-lg);
	padding-left: var(--pt-space-xl);
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li {
	margin-bottom: var(--pt-space-xs);
}

.entry-content blockquote {
	margin: var(--pt-space-xl) 0;
	padding: var(--pt-space-md) var(--pt-space-xl);
	border-left: 4px solid var(--pt-color-primary);
	background-color: var(--pt-color-surface);
	border-radius: 0 var(--pt-radius-md) var(--pt-radius-md) 0;
	font-style: italic;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

/* Scoped Images, Figures, and Embeds */
.entry-content img {
	max-width: 100% !important;
	height: auto !important;
	border-radius: var(--pt-radius-md);
	box-sizing: border-box;
}

.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-block-gallery,
.entry-content .wp-block-media-text,
.entry-content .wp-caption {
	max-width: 100% !important;
	box-sizing: border-box;
}

.entry-content figure {
	margin-block: var(--pt-space-xl);
}

.entry-content .wp-block-image img,
.entry-content figure img {
	display: block;
	max-width: 100% !important;
	height: auto !important;
}

/* Classic WordPress Caption support (overriding inline width) */
.entry-content .wp-caption {
	width: auto !important;
	max-width: 100% !important;
	margin-block: var(--pt-space-xl);
	text-align: center;
}

.entry-content .wp-caption img {
	display: block;
	margin-inline: auto;
}

.entry-content .wp-caption-text,
.entry-content figcaption {
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
	margin-top: var(--pt-space-sm);
	text-align: center;
	word-break: break-word;
}

/* Gutenberg Embeds & Aspect Ratio Handling */
.entry-content .wp-block-embed {
	max-width: 100% !important;
	margin-block: var(--pt-space-xl);
	box-sizing: border-box;
}

.entry-content .wp-block-embed__wrapper {
	position: relative;
	width: 100%;
	max-width: 100% !important;
}

.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper,
.entry-content .wp-embed-aspect-16-9 .wp-block-embed__wrapper,
.entry-content .wp-block-embed-youtube .wp-block-embed__wrapper,
.entry-content .wp-block-embed-vimeo .wp-block-embed__wrapper,
.entry-content .wp-block-embed-dailymotion .wp-block-embed__wrapper {
	aspect-ratio: 16 / 9;
	width: 100%;
}

.entry-content .wp-embed-aspect-4-3 .wp-block-embed__wrapper {
	aspect-ratio: 4 / 3;
	width: 100%;
}

.entry-content .wp-embed-aspect-1-1 .wp-block-embed__wrapper {
	aspect-ratio: 1 / 1;
	width: 100%;
}

.entry-content .wp-embed-aspect-9-16 .wp-block-embed__wrapper {
	aspect-ratio: 9 / 16;
	width: 100%;
}

.entry-content .wp-block-embed__wrapper iframe {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	border: 0;
}

/* Standalone & Generic Iframes / Embeds / Object / Video */
.entry-content iframe,
.entry-content object,
.entry-content embed,
.entry-content video {
	max-width: 100% !important;
	box-sizing: border-box;
}

.entry-content video {
	height: auto;
}

/* Standalone Video Iframes with automatic 16:9 aspect-ratio */
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtube-nocookie.com"],
.entry-content iframe[src*="youtu.be"],
.entry-content iframe[src*="vimeo.com"],
.entry-content iframe[src*="dailymotion.com"] {
	width: 100% !important;
	max-width: 100% !important;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

/* WordPress Alignment Classes */
.entry-content .aligncenter {
	display: block;
	margin-inline: auto;
	text-align: center;
}

.entry-content .alignleft {
	float: left;
	margin-right: var(--pt-space-lg);
	margin-bottom: var(--pt-space-md);
	max-width: 50%;
}

.entry-content .alignright {
	float: right;
	margin-left: var(--pt-space-lg);
	margin-bottom: var(--pt-space-md);
	max-width: 50%;
}

.entry-content .alignwide,
.entry-content .alignfull {
	max-width: 100%;
	width: 100%;
}

/* Clearfix for floated content */
.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

/* Code & Monospace */
.entry-content pre {
	background-color: var(--pt-color-surface);
	border: 1px solid var(--pt-color-border);
	border-radius: var(--pt-radius-md);
	padding: var(--pt-space-md);
	overflow-x: auto;
	max-width: 100%;
	font-size: var(--pt-font-size-sm);
	line-height: 1.5;
	margin: 0 0 var(--pt-space-lg);
}

.entry-content code {
	background-color: var(--pt-color-surface);
	padding: 0.15em 0.4em;
	border-radius: var(--pt-radius-sm);
	font-size: 0.875em;
}

.entry-content pre code {
	background: none;
	padding: 0;
	border-radius: 0;
	font-size: inherit;
}

.entry-content a {
	color: var(--pt-color-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.entry-content a:hover {
	color: var(--pt-color-text);
}

.entry-content hr {
	border: none;
	border-top: 1px solid var(--pt-color-border);
	margin: var(--pt-space-2xl) 0;
}

/* ==========================================================================
   TABLES (Desktop & Responsive Horizontal Scroll)
   ========================================================================== */

/* Pengaturan Tampilan & Border Tabel Utama */
.entry-content table:not(.tr-caption-container),
.post-body table:not(.tr-caption-container),
.wp-block-table table {
	display: block;
	overflow-x: auto;
	width: 100%;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
	border-collapse: collapse;
	margin-block: var(--pt-space-xl);
}

/* Pengaturan Border & Padding Sel Tabel */
.entry-content table:not(.tr-caption-container) th,
.entry-content table:not(.tr-caption-container) td,
.post-body table:not(.tr-caption-container) th,
.post-body table:not(.tr-caption-container) td,
.wp-block-table th,
.wp-block-table td {
	border: 1px solid var(--pt-color-border, #ccc);
	padding: 8px 12px;
	text-align: left;
}

/* Header Tabel */
.entry-content table:not(.tr-caption-container) th,
.post-body table:not(.tr-caption-container) th,
.wp-block-table th {
	background-color: var(--pt-color-surface, #f2f2f2);
	font-weight: 700;
}

/* Notification Boxes */
.entry-content .notification-box {
	position: relative;
	padding: var(--pt-space-md) var(--pt-space-lg);
	margin-block: var(--pt-space-xl);
	border-radius: var(--pt-radius-md);
	line-height: 1.6;
	border-left: 4px solid var(--pt-color-primary);
	background-color: var(--pt-color-surface);
}

.entry-content .notification-box.info {
	background-color: #def7ef;
	border-left-color: #059669;
	color: #064e3b;
}

.entry-content .notification-box.warning {
	background-color: #fff2de;
	border-left-color: #d97706;
	color: #78350f;
}

.entry-content .notification-box.error {
	background-color: #ffdbdb;
	border-left-color: #dc2626;
	color: #7f1d1d;
}

/* Call to Action Buttons */
.entry-content .btn-primary,
.entry-content .btn-secondary {
	display: inline-block;
	margin: 0 var(--pt-space-xs) var(--pt-space-sm) 0;
	text-decoration: none !important;
}

.entry-content .btn-primary button,
.entry-content .btn-primary a {
	display: inline-block;
	padding: var(--pt-space-sm) var(--pt-space-lg);
	border-radius: var(--pt-radius-md);
	font-weight: 600;
	cursor: pointer;
	background-color: var(--pt-color-primary);
	color: var(--pt-color-on-primary) !important;
	border: none;
	text-decoration: none !important;
	transition: opacity var(--pt-transition);
}

.entry-content .btn-primary button:hover,
.entry-content .btn-primary a:hover {
	opacity: 0.9;
}

.entry-content .btn-secondary button,
.entry-content .btn-secondary a {
	display: inline-block;
	padding: var(--pt-space-sm) var(--pt-space-lg);
	border-radius: var(--pt-radius-md);
	font-weight: 600;
	cursor: pointer;
	background-color: transparent;
	border: 2px solid var(--pt-color-primary);
	color: var(--pt-color-primary) !important;
	text-decoration: none !important;
	transition: background-color var(--pt-transition), color var(--pt-transition);
}

.entry-content .btn-secondary button:hover,
.entry-content .btn-secondary a:hover {
	background-color: var(--pt-color-primary);
	color: var(--pt-color-on-primary) !important;
}

/* Grid Images */
.entry-content .grid-images {
	display: grid;
	gap: var(--pt-space-md);
	margin-block: var(--pt-space-xl);
}

.entry-content .grid-images.two-col {
	grid-template-columns: repeat(2, 1fr);
}

.entry-content .grid-images.three-col {
	grid-template-columns: repeat(3, 1fr);
}

.entry-content .grid-images img {
	width: 100% !important;
	height: auto !important;
	margin: 0;
	display: block;
}

@media (max-width: 600px) {
	.entry-content .grid-images.three-col {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Accordion FAQ */
.entry-content .accordion-container {
	max-width: 100%;
	margin-block: var(--pt-space-xl);
}

.entry-content .accordion-toggle {
	font-weight: 700;
	position: relative;
	display: block;
	padding: var(--pt-space-md) var(--pt-space-xl) var(--pt-space-md) 0;
	cursor: pointer;
	border-top: 1px solid var(--pt-color-border);
	color: var(--pt-color-text);
	transition: color var(--pt-transition);
}

.entry-content .accordion-toggle::before {
	content: "▼";
	position: absolute;
	right: 0;
	top: calc(50% - 7px);
	font-size: 0.75em;
	transition: transform var(--pt-transition);
}

.entry-content .accordion-toggle.active::before {
	transform: rotate(180deg);
}

.entry-content .accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease-out;
}

.entry-content .accordion-content div {
	padding-bottom: var(--pt-space-lg);
}

.entry-content .accordion-container > div:last-child {
	border-bottom: 1px solid var(--pt-color-border);
}

/* Code Block Copy Button */
.entry-content pre {
	position: relative;
}

.code-copy-btn {
	position: absolute;
	top: var(--pt-space-sm);
	right: var(--pt-space-sm);
	background: rgba(0, 0, 0, 0.08);
	border: 1px solid var(--pt-color-border);
	color: var(--pt-color-muted);
	padding: 4px 10px;
	border-radius: var(--pt-radius-sm);
	font-size: var(--pt-font-size-xs);
	font-weight: 600;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity var(--pt-transition), background-color var(--pt-transition), color var(--pt-transition);
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.entry-content pre:hover .code-copy-btn,
.code-copy-btn:focus-visible {
	opacity: 1;
}

.code-copy-btn:hover {
	background: rgba(0, 0, 0, 0.15);
	color: var(--pt-color-text);
}

.code-copy-btn.copied {
	background: var(--pt-color-primary);
	color: var(--pt-color-on-primary);
	opacity: 1;
}

/* HTML Sitemap Table Component (Zebra Indigo Style) */
.sitemap-table-wrapper {
	margin-block: var(--pt-space-xl);
	width: 100%;
	max-width: 100%;
}

.sitemap-table {
	display: table;
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	font-size: var(--pt-font-size-base);
	background-color: var(--pt-color-surface);
	border-radius: var(--pt-radius-md);
	overflow: hidden;
	border: 1px solid var(--pt-color-border);
}

.sitemap-table th,
.sitemap-table td {
	padding: var(--pt-space-sm) var(--pt-space-md);
	border-bottom: 1px solid var(--pt-color-border);
	text-align: left;
}

.sitemap-table th {
	font-weight: 700;
	color: var(--pt-color-text);
	border-bottom: 2px solid var(--pt-color-primary);
	background-color: var(--pt-color-surface);
}

.sitemap-table th.col-date,
.sitemap-table td.col-date {
	text-align: right;
	white-space: nowrap;
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
}

.sitemap-table tbody tr:nth-child(even) {
	background-color: var(--pt-color-background);
}

.sitemap-table tbody tr:hover {
	background-color: var(--pt-color-accent-hover);
}

.sitemap-table td.col-title a {
	color: var(--pt-color-primary) !important;
	text-decoration: none !important;
	font-weight: 500;
	transition: color var(--pt-transition);
}

.sitemap-table td.col-title a:hover {
	color: var(--pt-color-text) !important;
	text-decoration: underline !important;
}

.sitemap-pagination {
	margin-top: var(--pt-space-xl);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: var(--pt-space-xs);
}

.sitemap-pagination .page-numbers.prev,
.sitemap-pagination .page-numbers.next {
	padding-inline: var(--pt-space-md);
	font-weight: 600;
}

/* Blogger Image Fix & Content Separators */
.entry-content .separator {
	display: block;
	text-align: center;
	margin-block: var(--pt-space-xl);
	clear: both;
}

.entry-content .separator a {
	display: inline-block;
}

.entry-content a[style*="margin-left: 1em"],
.entry-content a[style*="margin-right: 1em"] {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.entry-content div:empty {
	display: none;
}

/* Page Links (multi-page posts) */
.page-links {
	margin-top: var(--pt-space-xl);
	font-weight: 600;
}

/* ==========================================================================
   LAYOUT - CONTENT AREA (Two-Column)
   ========================================================================== */

.content-area {
	display: flex;
	gap: var(--pt-space-2xl);
	align-items: flex-start;
	min-width: 0;
	width: 100%;
}

.content-main {
	flex: 1;
	min-width: 0;
	max-width: 100%;
}

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

.sidebar {
	width: 320px;
	flex-shrink: 0;
}

.widget {
	margin-bottom: var(--pt-space-xl);
}

.widget:last-child {
	margin-bottom: 0;
}

.widget-title {
	font-size: var(--pt-font-size-lg);
	font-weight: 700;
	margin: 0 0 var(--pt-space-md);
	padding-bottom: var(--pt-space-sm);
	border-bottom: 2px solid var(--pt-color-primary);
}

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

.widget ul li {
	padding: var(--pt-space-xs) 0;
	border-bottom: 1px solid var(--pt-color-border);
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	color: var(--pt-color-text);
	text-decoration: none;
	font-size: var(--pt-font-size-sm);
}

.widget ul li a:hover {
	color: var(--pt-color-primary);
}

/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */

.page-content__header {
	margin-bottom: var(--pt-space-xl);
}

.page-content__title {
	font-size: var(--pt-font-size-3xl);
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.page-content__thumbnail {
	margin-bottom: var(--pt-space-xl);
	border-radius: var(--pt-radius-lg);
	overflow: hidden;
}

.page-content__thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

/* ==========================================================================
   ARCHIVE
   ========================================================================== */

.archive-header {
	margin-bottom: var(--pt-space-xl);
}

.archive-header__title {
	font-size: var(--pt-font-size-2xl);
	font-weight: 700;
	margin: 0 0 var(--pt-space-sm);
}

.archive-header__description {
	font-size: var(--pt-font-size-base);
	color: var(--pt-color-muted);
	line-height: var(--pt-line-height);
}

.archive-header__description p {
	margin: 0;
}

/* ==========================================================================
   SEARCH
   ========================================================================== */

.search-header {
	margin-bottom: var(--pt-space-xl);
}

.search-header__title {
	font-size: var(--pt-font-size-2xl);
	font-weight: 700;
	margin: 0 0 var(--pt-space-sm);
}

.search-header__query {
	color: var(--pt-color-primary);
}

.search-header__count {
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
	margin: 0;
}

/* Search form */
.search-form {
	display: flex;
	gap: var(--pt-space-sm);
	max-width: 480px;
	margin-top: var(--pt-space-lg);
}

.search-form .search-field {
	flex: 1;
	padding: var(--pt-space-sm) var(--pt-space-md);
	border: 1px solid var(--pt-color-border);
	border-radius: var(--pt-radius-md);
	font-size: var(--pt-font-size-base);
	background-color: var(--pt-color-background);
	color: var(--pt-color-text);
}

.search-form .search-field:focus {
	outline: 2px solid var(--pt-color-primary);
	outline-offset: -2px;
	border-color: var(--pt-color-primary);
}

.search-form .search-submit {
	padding: var(--pt-space-sm) var(--pt-space-lg);
	background-color: var(--pt-color-primary);
	color: var(--pt-color-on-primary);
	border: none;
	border-radius: var(--pt-radius-md);
	font-size: var(--pt-font-size-base);
	font-weight: 600;
	cursor: pointer;
}

.search-form .search-submit:hover {
	opacity: 0.9;
}

/* ==========================================================================
   404 ERROR
   ========================================================================== */

.error-404 {
	text-align: center;
	padding: var(--pt-space-3xl) 0;
	max-width: 600px;
	margin-inline: auto;
}

.error-404__code {
	font-size: 8rem;
	font-weight: 900;
	line-height: 1;
	color: var(--pt-color-border);
	margin: 0 0 var(--pt-space-md);
}

.error-404__title {
	font-size: var(--pt-font-size-2xl);
	font-weight: 700;
	margin: 0 0 var(--pt-space-md);
}

.error-404__message {
	font-size: var(--pt-font-size-base);
	color: var(--pt-color-muted);
	line-height: var(--pt-line-height);
	margin: 0 0 var(--pt-space-xl);
}

.error-404__button {
	display: inline-block;
	padding: var(--pt-space-sm) var(--pt-space-xl);
	background-color: var(--pt-color-primary);
	color: var(--pt-color-on-primary);
	text-decoration: none;
	border-radius: var(--pt-radius-md);
	font-weight: 600;
	transition: opacity var(--pt-transition);
}

.error-404__button:hover {
	opacity: 0.9;
}

.error-404__search {
	margin-top: var(--pt-space-xl);
}

.error-404__search .search-form {
	margin-inline: auto;
}

/* ==========================================================================
   SOCIAL SHARE
   ========================================================================== */

.social-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--pt-space-sm);
	padding: var(--pt-space-md) 0;
	margin-top: var(--pt-space-2xl);
	border-top: 1px solid var(--pt-color-border);
	border-bottom: 1px solid var(--pt-color-border);
}

.social-share__title {
	font-size: var(--pt-font-size-sm);
	font-weight: 600;
	color: var(--pt-color-text);
	margin-right: var(--pt-space-xs);
}

.social-share__buttons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--pt-space-xs);
}

.social-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--pt-radius-md);
	background-color: var(--pt-color-surface);
	color: var(--pt-color-text);
	border: 1px solid var(--pt-color-border);
	text-decoration: none;
	cursor: pointer;
	padding: 0;
	transition: background-color var(--pt-transition), color var(--pt-transition), border-color var(--pt-transition);
}

.social-share__btn:hover,
.social-share__btn:focus-visible {
	background-color: var(--pt-color-primary);
	color: var(--pt-color-on-primary);
	border-color: var(--pt-color-primary);
}

.social-share__btn svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
}

.social-share__btn--copy.copied {
	background-color: #10b981;
	color: #ffffff;
	border-color: #10b981;
}

/* ==========================================================================
   AUTHOR BIO BOX
   ========================================================================== */

.author-bio {
	display: flex;
	align-items: flex-start;
	gap: var(--pt-space-lg);
	padding: var(--pt-space-xl);
	margin-top: var(--pt-space-2xl);
	background-color: var(--pt-color-surface);
	border: 1px solid var(--pt-color-border);
	border-radius: var(--pt-radius-lg);
}

.author-bio__avatar {
	flex-shrink: 0;
}

.author-bio__avatar-img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.author-bio__content {
	flex: 1;
	min-width: 0;
}

.author-bio__name {
	font-size: var(--pt-font-size-lg);
	font-weight: 700;
	margin: 0 0 var(--pt-space-xs);
}

.author-bio__name a {
	color: var(--pt-color-text);
	text-decoration: none;
}

.author-bio__name a:hover {
	color: var(--pt-color-primary);
}

.author-bio__description {
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
	line-height: 1.6;
	margin: 0 0 var(--pt-space-sm);
}

.author-bio__link {
	font-size: var(--pt-font-size-xs);
	font-weight: 600;
	color: var(--pt-color-primary);
	text-decoration: none;
}

.author-bio__link:hover {
	text-decoration: underline;
}

/* ==========================================================================
   RELATED POSTS
   ========================================================================== */

.related-posts {
	margin-top: var(--pt-space-3xl);
	padding-top: var(--pt-space-2xl);
	border-top: 1px solid var(--pt-color-border);
}

.related-posts__heading {
	font-size: var(--pt-font-size-xl);
	font-weight: 700;
	margin-bottom: var(--pt-space-lg);
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--pt-space-md);
}

.related-post-card {
	display: flex;
	flex-direction: column;
	background-color: var(--pt-color-surface);
	border: 1px solid var(--pt-color-border);
	border-radius: var(--pt-radius-md);
	overflow: hidden;
	transition: border-color var(--pt-transition);
}

.related-post-card:hover {
	border-color: var(--pt-color-primary);
}

.related-post-card__thumbnail {
	aspect-ratio: 16 / 9;
	width: 100%;
	overflow: hidden;
	background-color: var(--pt-color-border);
}

.related-post-card__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--pt-transition);
}

.related-post-card:hover .related-post-card__thumbnail img {
	transform: scale(1.03);
}

.related-post-card__thumbnail--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
}

.related-post-card__content {
	padding: var(--pt-space-md);
	display: flex;
	flex-direction: column;
	flex: 1;
}

.related-post-card__category {
	font-size: var(--pt-font-size-xs);
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: var(--pt-space-xs);
}

.related-post-card__category a {
	color: var(--pt-color-primary);
	text-decoration: none;
}

.related-post-card__title {
	font-size: var(--pt-font-size-sm);
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 var(--pt-space-xs);
	flex: 1;
}

.related-post-card__title a {
	color: var(--pt-color-text);
	text-decoration: none;
}

.related-post-card__title a:hover {
	color: var(--pt-color-primary);
}

.related-post-card__date {
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
}

/* ==========================================================================
   COMMENTS
   ========================================================================== */

.comments-area {
	margin-top: var(--pt-space-2xl);
	padding-top: var(--pt-space-2xl);
	border-top: 1px solid var(--pt-color-border);
}

.comments-title {
	font-size: var(--pt-font-size-xl);
	font-weight: 700;
	margin: 0 0 var(--pt-space-xl);
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--pt-space-xl);
}

.comment-list .comment {
	padding: var(--pt-space-lg) 0;
	border-bottom: 1px solid var(--pt-color-border);
}

.comment-list .comment:last-child {
	border-bottom: none;
}

.comment-list .children {
	list-style: none;
	padding-left: var(--pt-space-xl);
	margin: 0;
}

.comment-author {
	font-weight: 600;
	font-size: var(--pt-font-size-sm);
	margin-bottom: var(--pt-space-xs);
}

.comment-author .avatar {
	border-radius: 50%;
	margin-right: var(--pt-space-sm);
	vertical-align: middle;
}

.comment-metadata {
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
	margin-bottom: var(--pt-space-sm);
}

.comment-metadata a {
	color: var(--pt-color-muted);
	text-decoration: none;
}

.comment-metadata a:hover {
	color: var(--pt-color-primary);
}

.comment-content {
	font-size: var(--pt-font-size-sm);
	line-height: var(--pt-line-height);
}

.comment-content p {
	margin: 0 0 var(--pt-space-sm);
}

.comment-reply-link {
	font-size: var(--pt-font-size-xs);
	font-weight: 600;
	color: var(--pt-color-primary);
	text-decoration: none;
}

.comment-reply-link:hover {
	text-decoration: underline;
}

.no-comments {
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
	font-style: italic;
}

/* Comment form */
.comment-respond {
	margin-top: var(--pt-space-xl);
}

.comment-reply-title {
	font-size: var(--pt-font-size-xl);
	font-weight: 700;
	margin: 0 0 var(--pt-space-lg);
}

.comment-reply-title small a {
	font-size: var(--pt-font-size-sm);
	font-weight: 400;
	color: var(--pt-color-muted);
	margin-left: var(--pt-space-sm);
}

.comment-form label {
	display: block;
	font-size: var(--pt-font-size-sm);
	font-weight: 600;
	margin-bottom: var(--pt-space-xs);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: var(--pt-space-sm) var(--pt-space-md);
	border: 1px solid var(--pt-color-border);
	border-radius: var(--pt-radius-md);
	font-size: var(--pt-font-size-base);
	background-color: var(--pt-color-background);
	color: var(--pt-color-text);
	margin-bottom: var(--pt-space-md);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	outline: 2px solid var(--pt-color-primary);
	outline-offset: -2px;
	border-color: var(--pt-color-primary);
}

.comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.comment-form .form-submit .submit {
	padding: var(--pt-space-sm) var(--pt-space-xl);
	background-color: var(--pt-color-primary);
	color: var(--pt-color-on-primary);
	border: none;
	border-radius: var(--pt-radius-md);
	font-size: var(--pt-font-size-base);
	font-weight: 600;
	cursor: pointer;
}

.comment-form .form-submit .submit:hover {
	opacity: 0.9;
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: var(--pt-space-sm);
	font-size: var(--pt-font-size-sm);
	margin-bottom: var(--pt-space-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
	background-color: var(--pt-color-surface);
	border-top: 1px solid var(--pt-color-border);
	padding-block: var(--pt-space-2xl);
	margin-top: var(--pt-space-2xl);
}

.site-footer .pt-container {
	text-align: center;
}

.site-footer__name {
	font-size: var(--pt-font-size-lg);
	font-weight: 700;
	color: var(--pt-color-text);
	margin-bottom: var(--pt-space-xs);
}

.site-footer__tagline {
	font-size: var(--pt-font-size-sm);
	color: var(--pt-color-muted);
	margin-bottom: var(--pt-space-md);
}

.site-footer__copyright {
	font-size: var(--pt-font-size-xs);
	color: var(--pt-color-muted);
}

/* ==========================================================================
   RESPONSIVE — TABLET (768px – 1023px)
   ========================================================================== */

@media (max-width: 1023px) {
	.pt-container {
		padding-inline: var(--pt-space-lg);
	}

	.post-card {
		grid-template-columns: 220px 1fr;
	}

	.post-card__title {
		font-size: var(--pt-font-size-lg);
	}

	.single-post__title {
		font-size: var(--pt-font-size-2xl);
	}

	.site-branding a {
		font-size: var(--pt-font-size-lg);
	}

	/* Sidebar narrows on tablet */
	.sidebar {
		width: 260px;
	}

	.page-content__title {
		font-size: var(--pt-font-size-2xl);
	}

	.error-404__code {
		font-size: 6rem;
	}
}

/* ==========================================================================
   RESPONSIVE — MOBILE (≤767px)
   ========================================================================== */

@media (max-width: 767px) {
	.pt-container {
		padding-inline: var(--pt-space-md);
	}

	/* Stable Non-Shifting Mobile Header */
	.site-header__bar {
		height: var(--pt-header-height);
		min-height: var(--pt-header-height);
		max-height: var(--pt-header-height);
		display: flex;
		align-items: center;
	}

	.site-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 100%;
		width: 100%;
		flex-wrap: nowrap;
		gap: var(--pt-space-sm);
	}

	.site-branding {
		display: flex;
		align-items: center;
		height: 100%;
		min-width: 0;
		flex-shrink: 1;
	}

	.header-actions {
		display: flex;
		align-items: center;
		gap: var(--pt-space-xs);
		height: 100%;
		flex-shrink: 0;
	}

	/* Show mobile menu toggle */
	.menu-toggle {
		display: inline-flex;
	}

	/* Floating mobile navigation panel beneath header (Zero Layout Shift) */
	.primary-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: var(--pt-color-background);
		border-bottom: 1px solid var(--pt-color-border);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
		max-height: calc(100vh - var(--pt-header-height));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		display: none;
		margin: 0;
		padding: var(--pt-space-xs) 0;
		z-index: 99;
	}

	/* Display navigation dropdown when active */
	.primary-navigation.is-active {
		display: block;
	}

	.primary-navigation ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.primary-navigation li {
		width: 100%;
		border-bottom: 1px solid var(--pt-color-border);
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}

	.primary-navigation li:last-child {
		border-bottom: none;
	}

	.primary-navigation a {
		display: flex;
		align-items: center;
		flex: 1;
		padding: var(--pt-space-sm) var(--pt-space-md);
		font-size: var(--pt-font-size-base);
		border-radius: var(--pt-radius-sm);
		min-height: 44px;
		white-space: normal;
	}

	.primary-navigation .dropdown-toggle {
		width: 44px;
		height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: none;
		border-left: 1px solid var(--pt-color-border);
		border-radius: 0;
		background-color: transparent;
		color: var(--pt-color-text);
		cursor: pointer;
		margin: 0;
	}

	.primary-navigation .dropdown-icon {
		width: 8px;
		height: 8px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
		transition: transform var(--pt-transition);
	}

	.primary-navigation .menu-item-has-children.is-open > .dropdown-toggle .dropdown-icon,
	.primary-navigation .dropdown-toggle[aria-expanded="true"] .dropdown-icon {
		transform: rotate(-135deg) translateY(-1px);
	}

	.primary-navigation .sub-menu {
		position: static;
		width: 100%;
		flex-basis: 100%;
		border: none;
		border-left: 3px solid var(--pt-color-primary);
		border-radius: 0;
		box-shadow: none;
		padding-left: var(--pt-space-md);
		background-color: var(--pt-color-surface);
		margin: 0;
		display: none;
	}

	.primary-navigation .menu-item-has-children.is-open > .sub-menu,
	.primary-navigation .page_item_has_children.is-open > .children {
		display: flex;
	}

	.primary-navigation .sub-menu li {
		border-bottom: 1px dashed var(--pt-color-border);
	}

	.primary-navigation .sub-menu li:last-child {
		border-bottom: none;
	}

	.primary-navigation .sub-menu a {
		font-size: var(--pt-font-size-sm);
		padding: var(--pt-space-sm);
	}

	/* Post card becomes single column */
	.post-card {
		grid-template-columns: 1fr;
		gap: var(--pt-space-md);
	}

	.post-card__thumbnail {
		aspect-ratio: 16 / 9;
	}

	.post-card__title {
		font-size: var(--pt-font-size-lg);
	}

	.section-heading {
		font-size: var(--pt-font-size-lg);
	}

	.site-main {
		padding-block: var(--pt-space-xl);
	}

	.single-post__title {
		font-size: var(--pt-font-size-xl);
	}

	.entry-content {
		font-size: 1rem;
	}

	/* Reset media alignments on mobile */
	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin-inline: auto;
		margin-bottom: var(--pt-space-lg);
		max-width: 100%;
	}

	.site-branding a {
		font-size: var(--pt-font-size-base);
	}

	/* Sidebar stacks below content on mobile */
	.content-area {
		flex-direction: column;
	}

	.sidebar {
		width: 100%;
	}

	.page-content__title {
		font-size: var(--pt-font-size-xl);
	}

	.archive-header__title {
		font-size: var(--pt-font-size-xl);
	}

	.search-header__title {
		font-size: var(--pt-font-size-xl);
	}

	.error-404__code {
		font-size: 4rem;
	}

	.error-404 {
		padding: var(--pt-space-2xl) 0;
	}

	.search-form {
		flex-direction: column;
		width: 100%;
	}

	.search-form .search-field {
		width: 100%;
		min-height: 44px;
	}

	.search-form .search-submit {
		width: 100%;
		min-height: 44px;
	}

	/* Comment form responsive */
	.comment-list .children {
		padding-left: var(--pt-space-md);
	}

	/* Single Post Components on Mobile */
	.author-bio {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: var(--pt-space-lg);
	}

	.related-posts__grid {
		grid-template-columns: 1fr;
	}

	/* Tampilan Tabel pada Layar HP / Mobile */
	.entry-content table:not(.tr-caption-container),
	.post-body table:not(.tr-caption-container),
	.wp-block-table table {
		white-space: nowrap;
	}

	/* Prevent horizontal overflow */
	body {
		overflow-x: hidden;
	}
}

/* ==========================================================================
   ACCESSIBILITY — PREFERS REDUCED MOTION (WCAG 2.1 AAA)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

