/* ===========================================================
   LUMENCO — WordPress-specific overrides
   These rules patch things WordPress core or the block editor
   inject that the base design system doesn't know about.
   =========================================================== */

/* Push sticky header down when the WP admin bar is showing (logged-in users only) */
body.admin-bar header.site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar header.site-header {
		top: 46px;
	}
}

/* Default alignment classes from the block editor / classic editor */
.alignleft { float: left; margin-right: 24px; }
.alignright { float: right; margin-left: 24px; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption, .wp-block-image figure { margin: 0 0 24px; }
.wp-caption-text, .wp-block-image figcaption {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	color: #9A968A;
	margin-top: 8px;
}

/* Content typed into the WP editor (About page body, product descriptions) needs
   readable spacing since editor markup is plain <p>, <ul>, <a> etc. */
.entry-content p { margin: 0 0 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 18px; padding-left: 22px; }
.entry-content a { text-decoration: underline; color: var(--ink); }
.entry-content a:hover { color: var(--amber-dim); }
.entry-content img { margin: 24px 0; }

/* Gallery block fallback grid */
.wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	list-style: none;
	padding: 0;
}

/* Skip link (accessibility — WordPress expects themes to provide this) */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: var(--amber);
	padding: 12px 20px;
	z-index: 999;
}
.skip-link:focus { left: 0; }

/* Search form (used by index.php fallback / search results) */
.search-form input[type="search"] {
	padding: 12px 14px;
	border: 1px solid var(--line-lt);
	font-family: 'Inter', sans-serif;
}
