/* ==========================================================================
   GeneratePress Child — wisp.blog clone (820px container)
   Minimalist single-post layout:
   - 820px centered column for header, nav, content, footer
   - Big bold logo, simple text nav
   - Title → Featured image → Prose body → #tags → date → Related Posts grid
   - Card pattern for Related Posts (muted bg + border + rounded + CTA)
   Functional config preserved: lifestyle filter, comments closed,
   auto-thumbnail, image-size guard, Ad Inserter Pro zones unaffected.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* ==========================================================================
   shadcn-ui design tokens
   ========================================================================== */
:root {
	--background: 0 0% 100%;
	--foreground: 240 10% 3.9%;
	--card: 0 0% 100%;
	--card-foreground: 240 10% 3.9%;
	--primary: 240 5.9% 10%;
	--primary-foreground: 0 0% 98%;
	--secondary: 240 4.8% 95.9%;
	--secondary-foreground: 240 5.9% 10%;
	--muted: 240 4.8% 95.9%;
	--muted-foreground: 240 3.8% 46.1%;
	--accent: 240 4.8% 95.9%;
	--accent-foreground: 240 5.9% 10%;
	--border: 240 5.9% 90%;
	--input: 240 5.9% 90%;
	--ring: 240 5.9% 10%;
	--radius: 0.75rem;
	--font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	--content-width: 820px;
	--header-width: 1280px;
}

/* prose tokens */
:root {
	--tw-prose-body: #374151;
	--tw-prose-headings: #0b1220;
	--tw-prose-links: #0b1220;
	--tw-prose-bold: #0b1220;
	--tw-prose-quotes: #111827;
	--tw-prose-quote-borders: #e5e7eb;
	--tw-prose-bullets: #d1d5db;
	--tw-prose-hr: #e5e7eb;
}

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

body,
button,
input,
select,
textarea {
	font-family: var(--font-sans);
	color: hsl(var(--foreground));
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "rlig" 1, "calt" 1;
}

body {
	background: hsl(var(--background));
	min-height: 100vh;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.widget-title,
.site-title {
	font-family: var(--font-sans);
	font-weight: 800;
	color: hsl(var(--foreground));
	letter-spacing: -0.025em;
	line-height: 1.15;
}

a {
	color: hsl(var(--foreground));
	text-decoration: none;
	transition: color .15s ease;
}

a:hover { color: hsl(var(--muted-foreground)); }

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

/* ==========================================================================
   Containers — header/footer wider (1280px) than content (820px)
   ========================================================================== */
.site-content > .container,
.site-main {
	max-width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.inside-header,
.inside-navigation,
.site-footer .inside-site-info,
.site-footer .footer-widgets-container,
.site-footer .footer-bar-container {
	max-width: var(--header-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 2.5rem;
	padding-right: 2.5rem;
}

/* GP wraps inside-* in a full-width band; widen those so only inside-* limits */
.site-header,
.main-navigation,
.site-content {
	width: 100%;
}

/* ==========================================================================
   Header — big logo left, slim text nav right
   ========================================================================== */
.site-header {
	background: hsl(var(--background));
	border-bottom: none;
	padding: 36px 0 24px;
}

.inside-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.site-title,
.main-title {
	margin: 0 !important;
	line-height: 1 !important;
	padding: 0 !important;
	white-space: nowrap;          /* keep "Blog News." on one line */
}

.site-title a,
.site-title a:visited,
.main-title a,
.main-title a:visited {
	color: hsl(var(--foreground)) !important;
	font-weight: 800 !important;
	font-size: 2.625rem !important;       /* ~42px, fits "Blog News." on one line */
	line-height: 1 !important;
	letter-spacing: -0.045em !important;
	white-space: nowrap;
}

/* Append a period to the logo (only first word, single dot) */
.site-title a::after,
.main-title a::after {
	content: ".";
	color: hsl(var(--foreground));
}

.site-description {
	display: none;
}

/* ==========================================================================
   Navigation — inline text links, no chrome
   ========================================================================== */
.main-navigation {
	background: transparent;
	border-bottom: none;
	min-height: 0;
}

.main-navigation .inside-navigation {
	padding-top: 0;
	padding-bottom: 0;
}

.main-navigation .main-nav ul {
	background: transparent;
	display: flex;
	gap: 0.5rem;
}

.main-navigation .main-nav ul li a,
.menu-toggle {
	background: transparent !important;
	color: hsl(var(--foreground)) !important;
	font-weight: 500;
	font-size: 1.125rem;
	padding: 0 1.25rem !important;
	height: auto;
	line-height: 1.5;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a {
	color: hsl(var(--muted-foreground)) !important;
	background: transparent !important;
}

/* When header navigation merged: nav lives inside the header bar */
.header-aligned-right .main-navigation,
.nav-float-right .main-navigation {
	border: none;
}

/* ==========================================================================
   Content area
   ========================================================================== */
.site-content {
	padding-top: 0.5rem;
	padding-bottom: 4rem;
}

/* Override GP's inline-injected rule (full selector list):
   `.separate-containers .inside-article, .separate-containers .comments-area,
    .separate-containers .page-header, .separate-containers .paging-navigation,
    .one-container .site-content, .inside-page-header { padding: 10px 32px 96px 32px }` */
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation,
.one-container .site-content,
body.one-container .site-content,
.inside-page-header {
	padding-left: 20px !important;
	padding-right: 20px !important;
}

/* ==========================================================================
   Archive / Home — clean 2-column grid, NO card chrome (wisp-style)
   ========================================================================== */
.home .site-main,
.blog .site-main,
.archive .site-main,
.search .site-main {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3rem 2.5rem;
}

/* Strip ALL card chrome — no bg, no border, no rounded corners */
.site-main > article > .inside-article {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: none;
}

.site-main > article > .inside-article:hover {
	border: none !important;
	box-shadow: none !important;
	transform: none;
}

/* Image — sharp rectangle */
.inside-article .post-image,
.inside-article .featured-image {
	padding: 0 !important;
	margin: 0 0 1.5rem !important;
	order: -1;
	overflow: hidden;
}

.inside-article .post-image img,
.inside-article .featured-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
	border-radius: 0 !important;
}

.inside-article:hover .post-image img,
.inside-article:hover .featured-image img {
	transform: scale(1.01);
}

/* Header — title only (date moved to archive-meta block) */
.inside-article .entry-header {
	padding: 0 !important;
	margin: 0 0 0.875rem !important;
	order: 1;
}

.inside-article .entry-title {
	font-size: 1.5rem;
	line-height: 1.25;
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.025em;
	color: hsl(var(--foreground));
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.inside-article .entry-title a { color: hsl(var(--foreground)); }
.inside-article .entry-title a:hover { color: hsl(var(--muted-foreground)); }

/* Hide ALL native GP meta (date + byline + cat-links + read-more) — we render our own */
.inside-article .entry-header .entry-meta,
.inside-article > footer.entry-meta,
.inside-article > .entry-meta,
.inside-article .cat-links,
.inside-article .tags-links,
.inside-article .posted-by,
.inside-article .comments-link,
.inside-article .read-more,
.inside-article .more-link {
	display: none !important;
}

/* Custom date (rendered by PHP hook) — italic gray */
.inside-article .archive-card-date {
	order: 2;
	margin: 0 0 1.25rem;
	color: hsl(var(--muted-foreground));
	font-size: 1rem;
	font-style: italic;
	font-weight: 400;
}

/* Excerpt — clamped 4 lines */
.inside-article .entry-summary {
	padding: 0 !important;
	margin: 0 0 1.25rem !important;
	color: hsl(var(--muted-foreground));
	font-size: 1rem;
	line-height: 1.6;
	order: 3;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.inside-article .entry-summary p {
	margin: 0;
	display: inline;
}

/* Tags (rendered by PHP hook) — hash style like single post */
.inside-article .archive-card-tags {
	order: 4;
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	margin: 0;
}

.inside-article .archive-card-tags a {
	color: hsl(var(--muted-foreground));
	font-size: 0.9375rem;
	text-decoration: none;
}

.inside-article .archive-card-tags a:hover {
	color: hsl(var(--foreground));
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   Single post — wisp layout (title → featured image → prose → tags → date → related)
   ========================================================================== */
.single .site-main {
	display: block;
	max-width: var(--content-width);
}

/* Higher specificity than .site-main > article > .inside-article (flex card) */
.single .site-main > article > .inside-article,
.single .inside-article {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	overflow: visible;
	display: block !important;     /* kill the archive's flex layout */
	height: auto;
	transition: none;
	transform: none !important;
}

.single .site-main > article > .inside-article:hover,
.single .inside-article:hover {
	box-shadow: none !important;
	transform: none !important;
	border: none !important;
}

.single .inside-article > * {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Reset all archive-card order props on single so DOM order rules */
.single .inside-article .post-image,
.single .inside-article .featured-image,
.single .inside-article .entry-header,
.single .inside-article .entry-content,
.single .inside-article .entry-summary,
.single .inside-article .read-more {
	order: 0 !important;
}

.single .entry-header {
	padding-top: 1rem !important;
	padding-bottom: 1.25rem !important;
	margin-bottom: 0;
}

.single .entry-title {
	font-size: 2.5rem;          /* ~40px, matches screenshot */
	line-height: 1.15;
	margin: 0 0 1rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.single .entry-meta {
	display: none;              /* date shown at bottom instead */
}

/* Featured image on single post — full width of the 820px column */
.single .post-image,
.single .featured-image {
	display: block !important;
	margin: 0 0 2rem !important;
	padding: 0 !important;
	overflow: hidden;
	border-radius: var(--radius);
}

.single .post-image img,
.single .featured-image img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	display: block;
	margin: 0;
	transform: none !important;
}

.single .post-image a,
.single .featured-image a { display: block; }

/* Prose body */
.single .entry-content,
.single .dynamic-entry-content {
	color: var(--tw-prose-body);
	font-size: 1.125rem;        /* ~18px */
	line-height: 1.75;
}

.single .entry-content p,
.single .entry-content li,
.single .entry-content .gb-text,
.single .dynamic-entry-content p,
.single .dynamic-entry-content li,
.single .dynamic-entry-content .gb-text,
.single article p.gb-text,
.single article li.gb-text {
	font-size: 1.125rem;
	line-height: 1.75;
	color: var(--tw-prose-body);
}

.single .entry-content p,
.single .dynamic-entry-content p {
	margin: 0 0 1.25em;
}

.single .entry-content h2,
.single .dynamic-entry-content h2 {
	color: var(--tw-prose-headings);
	font-size: 1.625rem;
	line-height: 1.3;
	margin: 2em 0 .7em;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.single .entry-content h3,
.single .dynamic-entry-content h3 {
	color: var(--tw-prose-headings);
	font-size: 1.25rem;
	line-height: 1.4;
	margin: 1.6em 0 .6em;
	font-weight: 700;
}

.single .entry-content blockquote,
.single .dynamic-entry-content blockquote {
	margin: 1.6em 0;
	padding: 0.5em 1.2em;
	border-left: 0.25rem solid var(--tw-prose-quote-borders);
	color: var(--tw-prose-quotes);
	font-style: italic;
	font-weight: 500;
}

.single .entry-content ul,
.single .entry-content ol,
.single .dynamic-entry-content ul,
.single .dynamic-entry-content ol {
	margin: 0 0 1.25em;
	padding-left: 1.625em;
}

.single .entry-content ul > li::marker { color: var(--tw-prose-bullets); }
.single .entry-content ol > li::marker { color: var(--tw-prose-bullets); }

.single .entry-content a,
.single .dynamic-entry-content a {
	color: var(--tw-prose-links);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.single .entry-content img,
.single .dynamic-entry-content img {
	border-radius: var(--radius);
	max-width: 100%;
	height: auto;
	margin: 1.5em auto;
}

.single .entry-content hr,
.single .dynamic-entry-content hr {
	border-color: var(--tw-prose-hr);
	border-top-width: 1px;
	margin: 3em 0;
}

/* Footer of single — tags + date (rendered by functions.php helper) */
.single .post-tags {
	margin: 2rem 0 0.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
}

.single .post-tags a {
	color: hsl(var(--muted-foreground));
	font-size: 0.9375rem;
	text-decoration: none;
}

.single .post-tags a:hover {
	color: hsl(var(--foreground));
	text-decoration: underline;
	text-underline-offset: 3px;
}

.single .post-date {
	margin: 0.25rem 0 2.5rem;
	color: hsl(var(--muted-foreground));
	font-size: 0.875rem;
}

/* ==========================================================================
   Related Posts (rendered after content by functions.php)
   ========================================================================== */
.related-posts {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid hsl(var(--border));
}

.related-posts-title {
	font-size: 1.125rem;
	font-weight: 800;
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
}

.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

/* Related cards match the homepage archive card style: no chrome, clean */
.related-card {
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
	display: flex;
	flex-direction: column;
	transition: none;
}

.related-card:hover {
	border: none;
	box-shadow: none;
	transform: none;
}

.related-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: hsl(var(--secondary));
	margin-bottom: 1rem;
	border-radius: 0;
}

.related-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
	border-radius: 0;
}

.related-card:hover .related-card__media img { transform: scale(1.01); }

.related-card__body {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex: 1 1 auto;
}

.related-card__title {
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.25;
	margin: 0;
	letter-spacing: -0.02em;
	color: hsl(var(--foreground));
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-card__title a { color: hsl(var(--foreground)); }
.related-card__title a:hover { color: hsl(var(--muted-foreground)); }

.related-card__date {
	color: hsl(var(--muted-foreground));
	font-size: 0.9375rem;
	font-style: italic;
	font-weight: 400;
	margin: 0;
}

.related-card__excerpt {
	color: hsl(var(--muted-foreground));
	font-size: 0.9375rem;
	line-height: 1.55;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-card__cta {
	display: none !important;        /* no Read Full Story — title is clickable */
}

/* ==========================================================================
   Hide Headline GenerateBlocks hero hero/meta on single (kept in DB)
   ========================================================================== */
.single .gb-element-383d7110 > img.gb-media-ebbaefeb,
.single .gb-element-383d7110 > img[data-media-id]:not([alt*="logo" i]) {
	display: none !important;
}

.single .gb-element-383d7110 {
	aspect-ratio: auto !important;
	min-height: 0 !important;
	height: auto !important;
	padding-top: 1rem !important;
	padding-bottom: 0.5rem !important;
}

.single .gb-element-cbfb2688 > div:first-child,
.single .gb-text-f065b849,
.single .gb-element-d31869f7 {
	display: none !important;
}

.home .gb-element-5e54ba54,
.blog .gb-element-5e54ba54 {
	grid-template-columns: 1fr !important;
	display: block !important;
}

.home .gb-element-386a57ea,
.blog .gb-element-386a57ea {
	display: none !important;
}

/* ==========================================================================
   Sidebar widgets (kept minimal — most layouts use no-sidebar)
   ========================================================================== */
.widget { margin-bottom: 2rem; }

.widget-title {
	font-size: 0.875rem;
	font-weight: 700;
	color: hsl(var(--foreground));
	margin-bottom: 1rem;
}

.widget ul li {
	padding: 0.5rem 0;
	border-bottom: 1px solid hsl(var(--border));
}

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

.widget ul li a {
	color: hsl(var(--muted-foreground));
	font-size: 0.875rem;
}

.widget ul li a:hover { color: hsl(var(--foreground)); }

.widget_search input[type="search"] {
	border: 1px solid hsl(var(--input));
	border-radius: var(--radius);
	padding: 0.5rem 0.75rem;
	font-family: inherit;
	font-size: 0.875rem;
	width: 100%;
	background: hsl(var(--background));
	color: hsl(var(--foreground));
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.button,
button:not(.menu-toggle):not(.search-submit),
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground)) !important;
	font-family: inherit;
	font-weight: 500;
	font-size: 0.875rem;
	padding: 0.5rem 1rem;
	border-radius: var(--radius);
	border: none;
	cursor: pointer;
	transition: opacity .15s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.5rem;
}

.button:hover,
button:not(.menu-toggle):not(.search-submit):hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	opacity: 0.9;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.paging-navigation,
.nav-links {
	text-align: center;
	margin-top: 3rem;
}

.paging-navigation .page-numbers,
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.75rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	color: hsl(var(--foreground));
	font-weight: 500;
	font-size: 0.875rem;
	margin: 0 0.125rem;
	background: hsl(var(--background));
}

.paging-navigation .page-numbers:hover,
.nav-links .page-numbers:hover {
	background: hsl(var(--accent));
}

.paging-navigation .page-numbers.current,
.nav-links .page-numbers.current {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border-color: hsl(var(--primary));
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: hsl(var(--background));
	color: hsl(var(--muted-foreground));
	padding: 2rem 0 1.5rem;
	margin-top: 4rem;
	border-top: 1px solid hsl(var(--border));
}

.site-info {
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.site-footer a { color: hsl(var(--muted-foreground)); }
.site-footer a:hover { color: hsl(var(--foreground)); }

/* ==========================================================================
   Tables
   ========================================================================== */
.entry-content table,
.dynamic-entry-content table {
	border-collapse: collapse;
	width: 100%;
	margin: 1.6em 0;
	font-size: 0.9375rem;
}

.entry-content table th,
.entry-content table td,
.dynamic-entry-content table th,
.dynamic-entry-content table td {
	border-bottom: 1px solid hsl(var(--border));
	padding: 0.75rem 1rem;
	text-align: left;
}

/* ==========================================================================
   Captions
   ========================================================================== */
.wp-caption-text,
figcaption {
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	font-style: italic;
	margin-top: 0.5rem;
	text-align: center;
}

/* ==========================================================================
   Ad zones — safe spacing, never hide
   ========================================================================== */
.code-block:not(:empty),
.ai-inserter,
.ai-debug-block,
[id^="ub-banner"] {
	margin: 2em auto;
	text-align: center;
	max-width: 100%;
	clear: both;
}

.code-block,
.adsbygoogle,
ins.adsbygoogle { display: block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.home .site-main,
	.blog .site-main,
	.archive .site-main,
	.search .site-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.related-posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	/* Clean white — no card, no cream, no border-radius */
	html, body { background: #ffffff; }

	#page,
	.site,
	#page.grid-container,
	#page.container,
	body.one-container .site-content,
	.site-content,
	.content-area {
		background: #ffffff !important;
		margin: 0 !important;
		max-width: none !important;
		border-radius: 0 !important;
		overflow: visible;
		padding-left: 0 !important;
		padding-right: 0 !important;
		box-shadow: none !important;
	}

	.site-content {
		padding-top: 0.5rem !important;
		padding-bottom: 1.5rem !important;
	}

	/* Header — clean white, no card */
	.site-header {
		background: #ffffff !important;
		border-bottom: none !important;
		margin: 0 !important;
		padding: 20px 16px 12px !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	.site-header .inside-header,
	.site-header .inside-header.grid-container {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 0.5rem;
		padding-left: 0 !important;
		padding-right: 0 !important;
		max-width: none !important;
	}

	.site-branding { flex: 1 1 auto; }

	/* Hide the duplicate hamburger nav */
	#site-navigation,
	nav#site-navigation.main-navigation { display: none !important; }

	/* Hide search icon in mobile control bar */
	.mobile-menu-control-wrapper .menu-bar-items { display: none !important; }

	nav.mobile-menu-control-wrapper {
		flex: 0 0 auto;
		background: transparent !important;
		min-height: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		width: auto;
	}

	/* Hamburger — clean 3-line icon */
	.menu-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		background: transparent !important;
		color: hsl(var(--foreground)) !important;
		font-size: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		width: 32px;
		height: 26px;
		border: none !important;
		position: relative;
		line-height: 1 !important;
	}

	.menu-toggle::before {
		content: "";
		display: block;
		width: 28px;
		height: 22px;
		background:
			linear-gradient(currentColor, currentColor) top/100% 2.5px no-repeat,
			linear-gradient(currentColor, currentColor) center/100% 2.5px no-repeat,
			linear-gradient(currentColor, currentColor) bottom/100% 2.5px no-repeat;
	}

	.menu-toggle .gp-icon,
	.menu-toggle svg,
	.menu-toggle::after,
	.menu-toggle .mobile-menu { display: none !important; }

	/* Logo size — match the wisp screenshot proportion */
	.site-title a,
	.site-title a:visited,
	.main-title a,
	.main-title a:visited {
		font-size: 2.5rem !important;       /* ~40px, big */
		letter-spacing: -0.055em !important;
	}

	.site-main {
		padding-left: 14px !important;
		padding-right: 14px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		max-width: none !important;
	}

	/* Archive grids collapse to 1 column */
	.home .site-main,
	.blog .site-main,
	.archive .site-main,
	.search .site-main {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.home .site-main > article:first-of-type > .inside-article,
	.blog .site-main > article:first-of-type > .inside-article {
		grid-template-columns: 1fr;
	}

	.home .site-main > article:first-of-type .entry-title,
	.blog .site-main > article:first-of-type .entry-title {
		font-size: 1.375rem !important;
	}

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

	/* Single post: big bold title, multi-line */
	.single .entry-title {
		font-size: 2.75rem;
		line-height: 1.1;
		letter-spacing: -0.04em;
		margin: 0 0 2rem;
	}

	.single .entry-header {
		padding-top: 1.5rem !important;
		padding-bottom: 0 !important;
		border-bottom: none !important;
		margin-bottom: 0 !important;
	}

	/* Featured image — sharp rectangle, NO rounded corners, generous spacing */
	.single .post-image,
	.single .featured-image {
		border-radius: 0 !important;
		margin: 0 0 2.5rem !important;
	}

	.single .post-image img,
	.single .featured-image img {
		border-radius: 0 !important;
	}

	/* Body text bigger on mobile, generous line-height */
	.single .entry-content,
	.single .dynamic-entry-content {
		font-size: 1.375rem;        /* 22px */
		line-height: 1.6;
	}

	.single .entry-content p,
	.single .entry-content li,
	.single .entry-content .gb-text,
	.single .dynamic-entry-content p,
	.single .dynamic-entry-content li,
	.single .dynamic-entry-content .gb-text,
	.single article p.gb-text,
	.single article li.gb-text {
		font-size: 1.375rem !important;   /* 22px */
		line-height: 1.6 !important;
	}

	.single .entry-content p,
	.single .dynamic-entry-content p {
		margin: 0 0 1.5em;
	}

	/* Footer — clean white, simple border-top */
	.site-footer {
		background: #ffffff !important;
		border-top: 1px solid hsl(var(--border)) !important;
		padding: 1.5rem 16px !important;
		margin-top: 3rem !important;
		border-radius: 0 !important;
	}
}

@media (max-width: 600px) {
	.site-header {
		padding: 14px 20px 8px !important;
	}

	.site-main {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.site-footer {
		padding: 1rem 20px !important;
	}

	.site-title a,
	.site-title a:visited,
	.main-title a,
	.main-title a:visited { font-size: 2rem !important; }

	.single .entry-title {
		font-size: 2.125rem;
		line-height: 1.12;
		margin: 0 0 1.5rem;
	}

	.single .post-image,
	.single .featured-image {
		margin: 0 0 2rem !important;
	}

	.single .entry-content,
	.single .dynamic-entry-content {
		font-size: 1.375rem;       /* 22px */
		line-height: 1.55;
	}

	.single .entry-content p,
	.single .entry-content li,
	.single .entry-content .gb-text,
	.single .dynamic-entry-content p,
	.single .dynamic-entry-content li,
	.single .dynamic-entry-content .gb-text {
		font-size: 1.375rem !important;   /* 22px */
		line-height: 1.55 !important;
	}

	.entry-content {
		overflow-wrap: break-word;
		word-break: break-word;
	}
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid hsl(var(--ring));
	outline-offset: 2px;
	border-radius: 2px;
}
