/*
Theme Name: SIMRS Cloud
Theme URI: https://simrscloud.com
Author: SIMRS Cloud Team
Author URI: https://simrs.cloud
Description: Theme WordPress ringan, cepat, SEO-friendly, dan mobile-first untuk situs jasa pembuatan SIMRS profesional. Seluruh teks landing page dapat diedit melalui Customizer. Identitas visual selaras dengan platform simrs.cloud.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: simrscloud
Tags: blog, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ================================================================
   1. Tokens
   ================================================================ */
:root {
	/* Brand green — identik dengan simrs.cloud */
	--brand-50: #eefdf6;
	--brand-100: #d6f9e8;
	--brand-200: #b0f1d5;
	--brand-300: #7ce4bd;
	--brand-400: #43cf9f;
	--brand-500: #1fb486;
	--brand-600: #11926d;
	--brand-700: #0f7459;
	--brand-800: #105c48;
	--brand-900: #0f4c3d;
	--brand-950: #042b22;
	/* Neutral slate */
	--ink-950: #020617;
	--ink-900: #0f172a;
	--ink-800: #1e293b;
	--ink-700: #334155;
	--ink-600: #475569;
	--ink-500: #64748b;
	--ink-400: #94a3b8;
	--ink-300: #cbd5e1;
	--ink-200: #e2e8f0;
	--ink-100: #f1f5f9;
	--ink-50: #f8fafc;
	--bg: #ffffff;
	--bg-soft: #f8fafc;
	--font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-full: 999px;
	--shadow-card: 0 1px 2px rgb(2 6 23 / .06), 0 10px 30px rgb(2 6 23 / .07);
	--container: 1140px;
}

/* ================================================================
   2. Reset & base
   ================================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 84px;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink-700);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--ink-900);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.125rem; }

p { margin: 0 0 1em; }

a {
	color: var(--brand-700);
	text-decoration: none;
}

a:hover { color: var(--brand-800); }

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

ul, ol { padding-left: 1.2em; }

:focus-visible {
	outline: 2px solid var(--brand-500);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

.icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

/* ================================================================
   3. Layout
   ================================================================ */
.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 20px;
}

.section { padding-block: clamp(56px, 9vw, 96px); }

.section--soft { background: var(--bg-soft); }

.section--dark {
	background:
		radial-gradient(700px 360px at 85% 0%, rgb(31 180 134 / .14), transparent 65%),
		radial-gradient(600px 320px at 10% 100%, rgb(31 180 134 / .08), transparent 60%),
		var(--ink-950);
	color: var(--ink-300);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }

.section-head {
	max-width: 720px;
	margin: 0 auto 40px;
	text-align: center;
}

.section-kicker {
	display: block;
	text-transform: uppercase;
	letter-spacing: .12em;
	font-weight: 700;
	font-size: .8rem;
	color: var(--brand-700);
	margin-bottom: 10px;
}

.section--dark .section-kicker { color: var(--brand-400); }

.section-title { margin-bottom: .4em; }

.section-desc {
	color: var(--ink-500);
	margin: 0;
}

.section--dark .section-desc { color: var(--ink-400); }

.grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 640px) {
	.container { padding-inline: 24px; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================================
   4. Buttons
   ================================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: var(--radius-full);
	border: 1.5px solid transparent;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: .95rem;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn .icon { width: 19px; height: 19px; }

.btn--primary {
	background: var(--brand-700);
	color: #fff;
	box-shadow: 0 6px 18px rgb(15 116 89 / .28);
}

.btn--primary:hover {
	background: var(--brand-800);
	color: #fff;
}

.btn--outline {
	border-color: var(--ink-300);
	color: var(--ink-800);
	background: transparent;
}

.btn--outline:hover {
	border-color: var(--brand-500);
	color: var(--brand-700);
}

.btn--ghost {
	border-color: rgb(255 255 255 / .25);
	color: #fff;
	background: transparent;
}

.btn--ghost:hover {
	border-color: var(--brand-400);
	color: #fff;
}

.btn--lg {
	padding: 15px 28px;
	font-size: 1rem;
}

/* ================================================================
   5. Header
   ================================================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(255 255 255 / .85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ink-200);
	transition: box-shadow .18s ease;
}

.site-header.is-scrolled { box-shadow: 0 4px 20px rgb(2 6 23 / .07); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: 68px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
}

.brand img { max-height: 44px; width: auto; }

.brand__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--brand-700);
	color: #fff;
}

.brand__logo .icon { width: 22px; height: 22px; }

.brand__name {
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
	color: var(--ink-900);
}

.brand__name span { color: var(--brand-700); }

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 26px;
}

.site-nav__list a {
	color: var(--ink-600);
	font-weight: 600;
	font-size: .95rem;
}

.site-nav__list a:hover { color: var(--brand-700); }

.header-cta { flex-shrink: 0; }

.header-cta .btn { padding: 10px 18px; font-size: .9rem; }

.nav-toggle {
	display: none;
	position: relative;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--ink-200);
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.nav-toggle > span:not(.screen-reader-text) {
	position: absolute;
	left: 11px;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink-800);
	transition: transform .2s ease, opacity .2s ease, top .2s ease;
}

/* Span #1 is the screen-reader label — the bars are spans #2–#4. */
.nav-toggle > span:nth-of-type(2) { top: 14px; }
.nav-toggle > span:nth-of-type(3) { top: 20px; }
.nav-toggle > span:nth-of-type(4) { top: 26px; }

.nav-toggle.is-open > span:nth-of-type(2) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open > span:nth-of-type(3) { opacity: 0; }
.nav-toggle.is-open > span:nth-of-type(4) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 899px) {
	.nav-toggle { display: block; }

	.site-nav {
		display: none;
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--ink-200);
		box-shadow: 0 16px 30px rgb(2 6 23 / .08);
		padding: 12px 20px 18px;
	}

	.site-nav.is-open { display: block; }

	.site-nav__list {
		flex-direction: column;
		gap: 4px;
	}

	.site-nav__list a {
		display: block;
		padding: 11px 8px;
		border-radius: 8px;
	}

	.site-nav__list a:hover { background: var(--ink-50); }
}

@media (max-width: 639px) {
	.header-cta { display: none; }
}

/* ================================================================
   6. Hero
   ================================================================ */
.hero {
	background:
		radial-gradient(800px 420px at 80% -10%, rgb(31 180 134 / .18), transparent 62%),
		radial-gradient(600px 340px at 0% 110%, rgb(31 180 134 / .10), transparent 60%),
		var(--ink-950);
	color: var(--ink-300);
	padding-block: clamp(64px, 10vw, 110px) clamp(48px, 7vw, 80px);
	overflow: hidden;
}

.hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}

@media (min-width: 900px) {
	.hero__inner { grid-template-columns: 1.05fr .95fr; }
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: var(--radius-full);
	border: 1px solid rgb(67 207 159 / .35);
	background: rgb(31 180 134 / .08);
	color: var(--brand-300);
	font-weight: 700;
	font-size: .82rem;
	margin-bottom: 22px;
}

.hero__title {
	color: #fff;
	margin-bottom: .45em;
}

.hero__title em {
	font-style: normal;
	color: var(--brand-400);
}

.hero__desc {
	color: var(--ink-300);
	max-width: 560px;
	font-size: 1.05rem;
	margin-bottom: 28px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgb(255 255 255 / .08);
}

.stat__num {
	display: block;
	font-weight: 800;
	font-size: 1.6rem;
	color: #fff;
	letter-spacing: -0.02em;
}

.stat__label {
	font-size: .85rem;
	color: var(--ink-400);
}

/* Mock dashboard panel */
.hero__panel {
	background: var(--ink-900);
	border: 1px solid rgb(255 255 255 / .08);
	border-radius: var(--radius-lg);
	padding: 22px;
	box-shadow: 0 30px 60px rgb(2 6 23 / .5);
	max-width: 480px;
	width: 100%;
	margin-inline: auto;
}

@media (min-width: 900px) {
	.hero__panel {
		transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
	}
}

.mock__bar {
	display: flex;
	gap: 7px;
	margin-bottom: 18px;
}

.mock__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ink-800);
}

.mock__body {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 18px;
}

.mock__tile {
	background: var(--ink-800);
	border-radius: 12px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mock__tile-label {
	font-size: .7rem;
	color: var(--ink-400);
	text-transform: uppercase;
	letter-spacing: .06em;
}

.mock__tile-num {
	font-weight: 800;
	font-size: 1.3rem;
	color: #fff;
	letter-spacing: -0.02em;
}

.mock__tile-num.is-green { color: var(--brand-400); }

.mock__chart {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 90px;
	margin-bottom: 18px;
}

.mock__chart span {
	flex: 1;
	border-radius: 6px 6px 2px 2px;
	background: var(--brand-700);
}

.mock__chart span:nth-child(1) { height: 34%; }
.mock__chart span:nth-child(2) { height: 55%; }
.mock__chart span:nth-child(3) { height: 42%; }
.mock__chart span:nth-child(4) { height: 72%; }
.mock__chart span:nth-child(5) { height: 58%; }
.mock__chart span:nth-child(6) { height: 100%; background: var(--brand-400); }
.mock__chart span:nth-child(7) { height: 66%; }
.mock__chart span:nth-child(8) { height: 84%; }

.mock__rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mock__rows span {
	display: block;
	height: 10px;
	border-radius: 6px;
	background: var(--ink-800);
}

.mock__rows span:nth-child(2) { width: 82%; }
.mock__rows span:nth-child(3) { width: 64%; }

/* ================================================================
   7. Trust strip
   ================================================================ */
.trust {
	background: var(--ink-950);
	border-top: 1px solid rgb(255 255 255 / .07);
	padding-block: 22px;
}

.trust .container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 24px;
}

@media (min-width: 900px) {
	.trust .container { grid-template-columns: repeat(4, 1fr); }
}

.trust__item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink-300);
	font-size: .9rem;
	font-weight: 600;
}

.trust__item .icon {
	width: 18px;
	height: 18px;
	color: var(--brand-400);
}

/* ================================================================
   8. Cards
   ================================================================ */
.card {
	background: #fff;
	border: 1px solid var(--ink-200);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow-card);
	transition: transform .18s ease, border-color .18s ease;
}

.card:hover {
	transform: translateY(-3px);
	border-color: var(--brand-300);
}

.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--brand-50);
	color: var(--brand-700);
}

.card__title { margin: 14px 0 8px; }

.card__text {
	color: var(--ink-500);
	font-size: .95rem;
	margin: 0;
}

/* ================================================================
   9. Product
   ================================================================ */
.product {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	align-items: center;
}

@media (min-width: 900px) {
	.product { grid-template-columns: 1fr 1fr; }
}

.product .section-kicker { margin-bottom: 10px; }

.check-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-block: 10px;
	color: var(--ink-700);
}

.check-list .icon {
	width: 21px;
	height: 21px;
	color: var(--brand-700);
	margin-top: 2px;
}

.product__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.product__panel {
	background:
		radial-gradient(320px 200px at 90% 0%, rgb(31 180 134 / .16), transparent 65%),
		var(--ink-950);
	border: 1px solid rgb(255 255 255 / .08);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: var(--shadow-card);
}

.product__panel .mock__chart { margin-bottom: 0; }

/* ================================================================
   10. Steps
   ================================================================ */
.steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px 24px;
}

@media (min-width: 640px) {
	.steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.steps { grid-template-columns: repeat(4, 1fr); }

	.steps { position: relative; }

	.steps::before {
		content: "";
		position: absolute;
		top: 22px;
		left: 6%;
		right: 6%;
		height: 1px;
		background: var(--ink-200);
	}
}

.step {
	position: relative;
	padding-top: 4px;
}

.step__num {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--brand-700);
	color: #fff;
	font-weight: 800;
	font-size: 1.05rem;
	margin-bottom: 16px;
	box-shadow: 0 0 0 6px var(--bg-soft);
}

.step__title { margin-bottom: 6px; }

.step__text {
	color: var(--ink-500);
	font-size: .95rem;
	margin: 0;
}

/* ================================================================
   11. Pricing
   ================================================================ */
.plan {
	background: #fff;
	border: 1px solid var(--ink-200);
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow-card);
	display: flex;
	flex-direction: column;
	position: relative;
}

.plan--featured { border: 2px solid var(--brand-600); }

.plan__flag {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--brand-700);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: var(--radius-full);
	white-space: nowrap;
}

.plan__name {
	font-weight: 800;
	color: var(--ink-900);
	font-size: 1.05rem;
}

.plan__price {
	font-weight: 800;
	font-size: 1.9rem;
	color: var(--ink-900);
	letter-spacing: -0.02em;
	margin-block: 10px 2px;
}

.plan__unit {
	font-size: .85rem;
	color: var(--ink-500);
	font-weight: 500;
	display: block;
	margin-bottom: 12px;
}

.plan__desc {
	font-size: .92rem;
	color: var(--ink-500);
	margin-bottom: 8px;
}

.plan__list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex-grow: 1;
}

.plan__list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: .92rem;
	color: var(--ink-600);
	margin-block: 8px;
}

.plan__list .icon {
	width: 18px;
	height: 18px;
	color: var(--brand-600);
	margin-top: 3px;
}

.plan .btn {
	width: 100%;
	margin-top: 20px;
}

/* ================================================================
   12. Testimonials
   ================================================================ */
.quote {
	background: #fff;
	border: 1px solid var(--ink-200);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow-card);
}

.quote__text {
	color: var(--ink-700);
	font-size: 1rem;
	margin: 0;
}

.quote__text::before {
	content: "\201C";
	display: block;
	font-size: 2.6rem;
	line-height: 1;
	color: var(--brand-300);
	font-weight: 800;
	margin-bottom: 6px;
}

.quote__author {
	margin-top: 16px;
	font-weight: 700;
	color: var(--ink-900);
	font-size: .9rem;
}

.quote__role {
	display: block;
	font-size: .82rem;
	color: var(--ink-500);
	font-weight: 400;
}

/* ================================================================
   13. FAQ
   ================================================================ */
.faq {
	max-width: 760px;
	margin-inline: auto;
}

.faq details {
	background: #fff;
	border: 1px solid var(--ink-200);
	border-radius: 14px;
	padding: 4px 20px;
	margin-bottom: 12px;
	transition: border-color .18s ease;
}

.faq details[open] { border-color: var(--brand-300); }

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	font-weight: 700;
	color: var(--ink-900);
	padding-block: 14px;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
	content: "+";
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--brand-50);
	color: var(--brand-700);
	font-weight: 800;
	transition: transform .18s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .faq__a {
	padding-bottom: 16px;
	color: var(--ink-500);
	font-size: .95rem;
	margin: 0;
}

/* ================================================================
   14. Final CTA
   ================================================================ */
.cta-final__box {
	border-radius: var(--radius-lg);
	border: 1px solid rgb(67 207 159 / .25);
	background:
		radial-gradient(500px 260px at 80% 0%, rgb(31 180 134 / .16), transparent 60%),
		linear-gradient(135deg, var(--ink-900), var(--brand-950));
	padding: clamp(36px, 6vw, 64px);
	text-align: center;
}

.cta-final__box h2 {
	color: #fff;
	max-width: 640px;
	margin-inline: auto;
}

.cta-final__box p {
	color: var(--ink-300);
	max-width: 560px;
	margin: 0 auto 28px;
}

.cta-final__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* ================================================================
   15. Blog cards, archive, single, comments
   ================================================================ */
.post-card {
	background: #fff;
	border: 1px solid var(--ink-200);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	padding: 0;
	transition: transform .18s ease, border-color .18s ease;
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	transform: translateY(-3px);
	border-color: var(--brand-300);
}

.post-card__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--ink-100);
	overflow: hidden;
}

.post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-card__body { padding: 22px; }

.post-card__meta {
	font-size: .8rem;
	color: var(--ink-400);
	margin-bottom: 8px;
}

.post-card__meta a { color: var(--brand-700); font-weight: 600; }

.post-card__title {
	font-size: 1.05rem;
	line-height: 1.4;
	margin: 0;
}

.post-card__title a { color: var(--ink-900); }

.post-card__title a:hover { color: var(--brand-700); }

.post-card__excerpt {
	font-size: .92rem;
	color: var(--ink-500);
	margin: 8px 0 0;
}

.blog-more {
	text-align: center;
	margin-top: 36px;
}

.page-header {
	background: var(--bg-soft);
	border-bottom: 1px solid var(--ink-200);
	padding-block: 48px;
}

.page-header h1 { margin-bottom: .2em; }

.page-header p { margin: 0; color: var(--ink-500); }

.entry {
	max-width: 760px;
	margin-inline: auto;
}

.entry__meta {
	font-size: .88rem;
	color: var(--ink-400);
}

.entry__meta a { color: var(--brand-700); font-weight: 600; }

.entry__thumb {
	margin: 0 0 28px;
}

.entry__thumb img {
	border-radius: var(--radius);
	width: 100%;
	display: block;
}

.entry-content { line-height: 1.75; }

.entry-content h2,
.entry-content h3 { margin-top: 1.6em; }

.entry-content a { text-decoration: underline; }

.entry-content img { border-radius: 12px; }

.entry-content blockquote {
	margin: 1.4em 0;
	padding: .4em 0 .4em 1.2em;
	border-left: 3px solid var(--brand-300);
	color: var(--ink-600);
	font-style: italic;
}

.entry-content pre,
.entry-content code {
	background: var(--ink-100);
	border-radius: 8px;
	font-size: .9em;
}

.entry-content code { padding: 2px 6px; }

.entry-content pre {
	padding: 16px 18px;
	overflow-x: auto;
}

.entry-content pre code { padding: 0; background: none; }

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.4em 0;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--ink-200);
	padding: 10px 12px;
	text-align: left;
}

.entry-content th { background: var(--ink-50); }

.entry__tags {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.entry__tags a {
	display: inline-block;
	padding: 5px 14px;
	border-radius: var(--radius-full);
	background: var(--brand-50);
	color: var(--brand-800);
	font-size: .82rem;
	font-weight: 600;
}

.entry__tags a:hover { background: var(--brand-100); }

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--ink-200);
	font-weight: 600;
	font-size: .92rem;
}

.post-nav a { max-width: 46%; }

.pagination {
	margin-top: 44px;
	text-align: center;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 12px;
	border: 1px solid var(--ink-200);
	border-radius: var(--radius-full);
	color: var(--ink-700);
	font-weight: 600;
	font-size: .9rem;
}

.pagination .page-numbers.current {
	background: var(--brand-700);
	border-color: var(--brand-700);
	color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
	border-color: var(--brand-500);
	color: var(--brand-700);
}

/* Comments */
.comments {
	max-width: 760px;
	margin: 48px auto 0;
	padding-top: 32px;
	border-top: 1px solid var(--ink-200);
}

.comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 24px;
}

.comment-list .comment-body {
	background: var(--bg-soft);
	border: 1px solid var(--ink-200);
	border-radius: 14px;
	padding: 18px 20px;
	margin-bottom: 16px;
	font-size: .95rem;
}

.comment-list .avatar {
	border-radius: 50%;
	margin-right: 10px;
	vertical-align: middle;
}

.comment-list .comment-meta { font-size: .85rem; color: var(--ink-400); }

.comment-list .comment-meta a { color: var(--ink-600); }

.comment-list .reply { font-size: .85rem; }

.comment-form label {
	display: block;
	font-weight: 600;
	font-size: .9rem;
	margin-bottom: 6px;
	color: var(--ink-800);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-form .search-field {
	width: 100%;
	border: 1px solid var(--ink-300);
	border-radius: 10px;
	padding: 12px 14px;
	font-family: var(--font-sans);
	font-size: .95rem;
	color: var(--ink-800);
	background: #fff;
}

.comment-form input:focus,
.comment-form textarea:focus,
.search-form .search-field:focus {
	border-color: var(--brand-500);
	outline: none;
	box-shadow: 0 0 0 3px rgb(31 180 134 / .15);
}

.comment-form p { margin-bottom: 16px; }

.comment-form .submit {
	background: var(--brand-700);
	color: #fff;
	border: 0;
	border-radius: var(--radius-full);
	padding: 12px 26px;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
}

.comment-form .submit:hover { background: var(--brand-800); }

/* Search form */
.search-form {
	display: flex;
	gap: 10px;
	max-width: 480px;
}

.search-form .search-submit {
	background: var(--brand-700);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 0 20px;
	font-family: var(--font-sans);
	font-weight: 700;
	cursor: pointer;
	flex-shrink: 0;
}

.search-form .search-submit:hover { background: var(--brand-800); }

/* 404 / empty states */
.empty-state {
	text-align: center;
	padding-block: 24px;
}

.empty-state .search-form {
	margin-inline: auto;
	margin-top: 24px;
}

.empty-state .btn { margin-top: 20px; }

/* ================================================================
   16. Footer
   ================================================================ */
.site-footer {
	background: var(--ink-950);
	color: var(--ink-400);
	border-top: 3px solid var(--brand-700);
	padding-top: 64px;
	font-size: .95rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 900px) {
	.footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-col h3 {
	color: #fff;
	font-size: .95rem;
	margin-bottom: 14px;
}

.site-footer .brand__name { color: #fff; }

.footer-col a { color: var(--ink-400); }

.footer-col a:hover { color: var(--brand-400); }

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

/* Safety: if a nav-styled list ever lands in the footer, stack it. */
.site-footer .site-nav__list {
	flex-direction: column;
	gap: 0;
}

.site-footer .site-nav__list a {
	padding: 0;
	margin-block: 8px;
}

.site-footer .site-nav__list a:hover { background: transparent; }

.footer-nav a {
	display: block;
	margin-block: 8px;
	font-size: .92rem;
}

.footer-about {
	max-width: 380px;
	margin-top: 14px;
}

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

.footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-block: 10px;
}

.footer-contact .icon {
	width: 18px;
	height: 18px;
	color: var(--brand-400);
	margin-top: 3px;
}

.footer-bottom {
	border-top: 1px solid rgb(255 255 255 / .08);
	margin-top: 48px;
	padding-block: 22px;
	font-size: .85rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.footer-bottom a { color: var(--ink-400); }

.footer-bottom a:hover { color: var(--brand-400); }

/* ================================================================
   17. WordPress core requirements & utilities
   ================================================================ */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100;
	background: var(--brand-700);
	color: #fff;
	padding: 12px 20px;
	border-radius: 10px;
	font-weight: 700;
}

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

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

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.2em;
}

.wp-caption-text,
.wp-block-image figcaption {
	font-size: .85rem;
	color: var(--ink-500);
	text-align: center;
	margin-top: 8px;
}

.wp-block-image img {
	max-width: 100%;
	height: auto;
}

.sticky { display: block; }

.bypostauthor { display: block; }
