/**
 * Classic blog layout, definition lists, outsider-art accents, and :target/focus.
 * Loaded after global styles from theme.json.
 */

:root {
	--lc-focus-ring: var(--wp--preset--color--primary, #630f0f);
	--lc-focus-width: 2px;
	--lc-focus-offset: 2px;
	--lc-focus-radius: 5px;
	--lc-page-max: 1300px;
	/* Space from canvas left/right edges to column content */
	--lc-page-inline-padding: 10px;
	/* Fixed sidebar width (desktop); main column fills remainder */
	--lc-sidebar-width: 200px;
	/* Plum + border mix for vertical page edges */
	--lc-page-v-border: color-mix(in srgb, var(--wp--preset--color--contrast, #4b2c5e) 78%, var(--wp--preset--color--border, #6b4f78) 22%);
}

/* Gutter: flat base + SVG brush strokes (5s reveal, then static). Canvas sits above on z-index. */
html {
	background-color: var(--wp--preset--color--gutter-yellow, #e4b711);
	min-height: 100%;
}

body {
	position: relative;
	margin: 0;
	min-height: 100vh;
	background: transparent;
}

body::before,
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

body::before {
	background-color: var(--wp--preset--color--gutter-yellow, #e4b711);
}

body::after {
	background-image: url("../images/gutter-brush-strokes.svg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	animation: lc-gutter-brush-reveal 5s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
	body::after {
		animation: none;
		opacity: 1;
	}
}

@keyframes lc-gutter-brush-reveal {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.wp-site-blocks {
	max-width: var(--lc-page-max);
	margin-left: auto;
	margin-right: auto;
	background-color: var(--wp--preset--color--canvas, #fefee8);
	padding-left: var(--lc-page-inline-padding);
	padding-right: var(--lc-page-inline-padding);
	box-sizing: border-box;
	position: relative;
	z-index: 0;
	border-left: 2px solid var(--lc-page-v-border);
	border-right: 2px solid var(--lc-page-v-border);
	box-shadow:
		0 0 0 1px color-mix(in srgb, var(--wp--preset--color--contrast, #4b2c5e) 6%, transparent),
		inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent);
	/* Very light “paper tooth” (Zywulska / sketchbook feel) */
	background-image: repeating-linear-gradient(
		118deg,
		transparent,
		transparent 3px,
		color-mix(in srgb, var(--wp--preset--color--contrast) 2.2%, transparent) 3px,
		color-mix(in srgb, var(--wp--preset--color--contrast) 2.2%, transparent) 4px
	);
}

/* Buttons: small radius (matches focus ring rounding) */
button:not(.lc-segmented__btn),
.wp-element-button,
input[type="submit"],
input[type="button"],
.wp-block-search__button,
.wp-block-file__button {
	border-radius: var(--lc-focus-radius);
}

/* Links + form controls: rounded focus ring aligned with theme.json outline */
a:focus-visible {
	border-radius: var(--lc-focus-radius);
}

.wp-block-search .wp-block-search__input:focus-visible,
input:not([type="hidden"]):focus-visible,
select:focus-visible,
textarea:focus-visible {
	border-radius: var(--lc-focus-radius);
	outline: var(--lc-focus-width) solid var(--lc-focus-ring);
	outline-offset: var(--lc-focus-offset);
}

/* —— Flex two-column shell: full width of .wp-site-blocks (do not use layout “constrained” on .lc-site or it caps at contentSize) —— */
.lc-site.wp-block-group,
.wp-block-group.lc-site {
	width: 100%;
	max-width: none !important;
	margin-left: auto;
	margin-right: auto;
}

/*
 * Two columns: Core often stacks flex Groups as column; we force row + nowrap on wide screens
 * and pin sidebar / sketch rule widths so the main column actually sits beside them.
 */
.lc-main-layout.wp-block-group,
.wp-block-group.lc-main-layout {
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch;
	gap: var(--wp--preset--spacing--40, 1rem);
}

@media (min-width: 783px) {
	.lc-main-layout.wp-block-group,
	.wp-block-group.lc-main-layout {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
	}

	/* Sidebar: fixed 200px; main uses remaining width */
	.lc-main-layout > .wp-block-template-part,
	.lc-main-layout > aside.lc-sidebar {
		flex: 0 0 var(--lc-sidebar-width) !important;
		width: var(--lc-sidebar-width) !important;
		max-width: var(--lc-sidebar-width) !important;
		min-width: var(--lc-sidebar-width) !important;
	}

	.lc-main-layout > .wp-block-template-part .lc-sidebar,
	.lc-main-layout > .wp-block-template-part aside,
	.lc-main-layout > aside.lc-sidebar {
		width: 100%;
	}

	/* HTML block wrapping the sketch rule */
	.lc-main-layout > .wp-block-html {
		flex: 0 0 14px !important;
		width: 14px !important;
		max-width: 14px !important;
		min-width: 14px !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.lc-main-layout > .lc-content-main,
	.lc-main-layout > main.lc-content-main,
	.lc-main-layout > .wp-block-group.lc-content-main {
		flex: 1 1 0% !important;
		min-width: 0 !important;
		max-width: none !important;
		width: auto !important;
	}
}

/* Main column: use full width of flex area (theme “constrained” would shrink the article column) */
.lc-main-layout .lc-content-main.is-layout-constrained,
.lc-main-layout main.lc-content-main.is-layout-constrained {
	max-width: none !important;
}

.lc-sidebar {
	flex: 1 1 16rem;
	max-width: var(--lc-sidebar-width);
	min-width: min(100%, var(--lc-sidebar-width));
}

.lc-content-main {
	flex: 1 1 min(100%, 42rem);
	min-width: 0;
	width: 100%;
}

/* Loose red ↔ purple sketch column rule (RESIST palette); hidden on single column */
.lc-sketch-rule {
	flex: 0 0 14px;
	width: 14px;
	min-height: 12rem;
	align-self: stretch;
	background-image: url("../images/column-sketch-rule.svg");
	background-repeat: repeat-y;
	background-position: center top;
	background-size: 14px 400px;
	opacity: 0.95;
}

@media (max-width: 782px) {
	.lc-sketch-rule {
		display: none;
	}

	.lc-main-layout.wp-block-group,
	.wp-block-group.lc-main-layout {
		flex-direction: column !important;
		flex-wrap: wrap !important;
	}

	.lc-main-layout > .wp-block-template-part,
	.lc-main-layout > aside.lc-sidebar {
		width: 100% !important;
		max-width: none !important;
		flex: 1 1 100% !important;
	}
}

/* —— Header: search + branding (one row on wide screens: logo + title | Search) —— */
.lc-site-header {
	border: none !important;
	border-bottom: none !important;
	box-shadow: none !important;
	outline: none !important;
	padding-bottom: 0;
	margin-bottom: 0.35rem;
}

.lc-site-header > .wp-block-navigation {
	border: none !important;
	margin-top: 0.2rem;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* No separator line between header block and main (core template part / group borders) */
.wp-site-blocks > .wp-block-template-part,
.wp-site-blocks > header:first-of-type {
	border: none !important;
	box-shadow: none !important;
}

.wp-block-template-part .lc-site-header {
	border: none !important;
	box-shadow: none !important;
}

.lc-site.wp-block-group {
	border-top: none !important;
	margin-top: 0;
}

.lc-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--40, 1rem);
}

@media (min-width: 600px) {
	.lc-header-inner {
		flex-wrap: nowrap;
	}
}

.lc-header-brand {
	align-items: center !important;
	flex: 1 1 auto;
	min-width: 0;
}

/* Tagline: at least 14px; prefer theme medium when larger (overrides .has-small-font-size) */
.lc-header-brand .wp-block-site-tagline,
.lc-header-brand .wp-block-site-tagline.has-small-font-size {
	font-size: max(14px, var(--wp--preset--font-size--medium, 1rem)) !important;
}

.lc-header-search {
	flex: 0 0 auto;
	max-width: 34rem;
	width: 100%;
}

@media (min-width: 600px) {
	.lc-header-search {
		width: auto;
		max-width: 30rem;
	}
}

.wp-block-site-logo.lc-site-logo img,
.lc-site-logo .custom-logo,
.lc-header-brand .wp-block-site-logo img {
	border-radius: 10px;
	opacity: 1;
	filter: none;
	-webkit-filter: none;
}

/* Visible “Search” label inline with field + compact Go (no placeholder) */
.lc-header-search .wp-block-search {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.6rem;
}

.lc-header-search .wp-block-search__label {
	flex: 0 0 auto;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	font-weight: 700;
	color: var(--wp--preset--color--contrast, #4b2c5e);
	margin: 0;
}

.lc-header-search .wp-block-search__inside-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0.35rem;
	flex: 1 1 auto;
	min-width: 0;
	max-width: 24rem;
	border-radius: var(--lc-focus-radius);
}

.lc-header-search .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 2rem;
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
	border-radius: var(--lc-focus-radius);
}

.lc-header-search .wp-block-search__input::placeholder {
	color: transparent;
	opacity: 0;
}

.lc-header-search .wp-block-search__button {
	padding: 0.15rem 0.55rem !important;
	font-size: 0.75rem !important;
	min-height: 2rem !important;
	line-height: 1.2 !important;
	border-radius: var(--lc-focus-radius) !important;
}

/* Search field border: ≥3:1 against canvas */
.wp-block-search .wp-block-search__input,
.lc-header-search .wp-block-search__input {
	border-width: 2px;
	border-style: solid;
	border-color: var(--wp--preset--color--border, #6b4f78);
}

/* Outsider-art accent: palette from reference art; borders meet 3:1 vs sun yellow */
body.lc-art-v-1 {
	--lc-accent: #630f0f;
	--lc-wobble: -0.35deg;
}

body.lc-art-v-2 {
	--lc-accent: #4b2c5e;
	--lc-wobble: 0.25deg;
}

body.lc-art-v-3 {
	--lc-accent: #b03060;
	--lc-wobble: 0.4deg;
}

body.lc-art-v-4 {
	--lc-accent: #d2691e;
	--lc-wobble: -0.2deg;
}

body.lc-art-v-5 {
	--lc-accent: #6b4f78;
	--lc-wobble: 0.15deg;
}

.lc-site-header {
	transform: rotate(var(--lc-wobble, 0deg));
	transform-origin: 0 50%;
}

@media (prefers-reduced-motion: reduce) {
	.lc-site-header {
		transform: none;
	}
}

/* Doodle strip: full header width; bars filled by assets/js/doodle-strip.js (fixed 4px width, random height/color) */
.lc-doodle-strip-outer {
	width: 100%;
	box-sizing: border-box;
	margin-top: 0.35rem;
}

.lc-doodle-strip {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 2px;
	width: 100%;
	min-height: 8px;
	margin-top: 0;
	opacity: 0.92;
}

.lc-doodle-strip span {
	display: block;
	width: 4px;
	flex-shrink: 0;
	align-self: flex-start;
	border-radius: 1px;
}

/* Main column: flush under header + doodle (no gap that reads as a rule) */
.lc-site .lc-main-layout {
	margin-top: 0;
	padding-top: 0;
}

/* —— Images & embeds: never overflow the content column —— */
.lc-content-main img,
.lc-content-main video,
.lc-content-main iframe,
.lc-content-main embed,
.lc-content-main .wp-block-image img,
.lc-content-main .wp-block-media-text__media img,
.lc-content-main .wp-block-post-featured-image img {
	max-width: 100%;
	height: auto;
}

.lc-content-main figure,
.lc-content-main .wp-block-image,
.lc-content-main .wp-block-post-featured-image,
.lc-content-main .wp-block-embed {
	max-width: 100%;
	box-sizing: border-box;
}

.lc-content-main .wp-block-post-featured-image {
	margin-bottom: var(--wp--preset--spacing--40, 1rem);
}

.lc-content-main .wp-block-post-featured-image img {
	display: block;
	border-radius: var(--lc-focus-radius);
}

/* —— Code blocks: horizontal scroll + copy control (see assets/js/code-copy.js) —— */
.lc-content-main .wp-block-code,
.lc-content-main .lc-code-legacy-wrap {
	position: relative;
	max-width: 100%;
	box-sizing: border-box;
}

.lc-content-main .wp-block-code pre,
.lc-content-main .wp-block-code .wp-block-code__content,
.lc-content-main .lc-code-legacy-wrap pre {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.lc-code-copy {
	position: absolute;
	top: var(--wp--preset--spacing--30, 0.75rem);
	right: var(--wp--preset--spacing--30, 0.75rem);
	z-index: 2;
	padding: 0.25rem 0.65rem;
	font-size: 0.8125rem;
	line-height: 1.3;
	cursor: pointer;
	border-radius: var(--lc-focus-radius);
	border: 2px solid var(--wp--preset--color--border, #6b4f78);
	background: var(--wp--preset--color--canvas, #fefee8);
	color: var(--wp--preset--color--contrast, #4b2c5e);
}

.lc-code-copy:hover {
	border-color: var(--wp--preset--color--accent-magenta, #b03060);
}

.lc-code-copy:focus-visible {
	outline: var(--lc-focus-width) solid var(--lc-focus-ring);
	outline-offset: var(--lc-focus-offset);
}

/* —— Skip link —— */
.lc-skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: 99999;
}

.lc-skip-link:focus {
	position: fixed;
	left: var(--wp--preset--spacing--40, 1rem);
	top: var(--wp--preset--spacing--40, 1rem);
	width: auto;
	height: auto;
	padding: 0.5rem 1rem;
	background: var(--wp--preset--color--primary, #630f0f);
	color: var(--wp--preset--color--base, #f9d71c);
	text-decoration: underline;
	overflow: visible;
	border-radius: var(--lc-focus-radius);
	outline: var(--lc-focus-width) solid var(--lc-focus-ring);
	outline-offset: var(--lc-focus-offset);
}

/* —— Random highlight: distinct panel vs canvas (AA text; terracotta as accent border) —— */
.lc-random-highlight {
	border: 2px solid #b84e20;
	border-left-width: 6px;
	border-left-color: #9a3f18;
	padding: var(--wp--preset--spacing--50, 1.5rem);
	margin-bottom: var(--wp--preset--spacing--60, 2rem);
	background-color: #ffeee6;
	color: #1a0f24;
	box-shadow: 0 1px 0 rgba(75, 44, 94, 0.1);
}

.lc-random-highlight__label {
	margin: 0 0 var(--wp--preset--spacing--40, 1rem);
	font-size: var(--wp--preset--font-size--large, 1.25rem);
	color: #3d2652;
}

.lc-random-highlight h2.lc-random-highlight__label,
.lc-random-highlight h3.lc-random-highlight__post-title {
	color: #3d2652;
}

.lc-random-highlight__post-title {
	margin: 0 0 0.25rem;
	font-size: var(--wp--preset--font-size--x-large, 1.5rem);
}

.lc-random-highlight__post-title a {
	color: #630f0f;
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.lc-random-highlight__post-title a:hover,
.lc-random-highlight__post-title a:focus {
	color: #4b2c5e;
	text-decoration: underline;
}

.lc-random-highlight__meta {
	margin: 0 0 var(--wp--preset--spacing--40, 1rem);
	color: #4a3d55;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
}

.lc-random-highlight__excerpt {
	margin: 0;
	color: #2d1838;
}

.lc-random-highlight__more {
	margin: var(--wp--preset--spacing--40, 1rem) 0 0;
}

.lc-random-highlight__more a {
	color: #630f0f;
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.lc-random-highlight__excerpt a {
	color: #630f0f;
	text-decoration: underline;
}

/* —— Lists: eyeball bullets (Zywulska-inspired sketch) —— */
.lc-content-main ul.wp-block-list:not(.wp-block-navigation__submenu-container),
.lc-content-main .entry-content ul:not(.wp-block-latest-posts__list),
.lc-content-main .wp-block-post-content ul:not(.wp-block-latest-posts__list),
.block-editor-page.post-type-post .editor-styles-wrapper .block-editor-block-list__layout ul.wp-block-list:not(.wp-block-navigation__submenu-container),
.block-editor-page.post-type-page .editor-styles-wrapper .block-editor-block-list__layout ul.wp-block-list:not(.wp-block-navigation__submenu-container),
body.post-type-post .editor-styles-wrapper ul.wp-block-list:not(.wp-block-navigation__submenu-container),
body.post-type-page .editor-styles-wrapper ul.wp-block-list:not(.wp-block-navigation__submenu-container) {
	list-style-image: url("../images/bullet-eyeball.svg");
	list-style-position: outside;
	padding-inline-start: 1.65em;
}

.lc-content-main .entry-content ul ul,
.lc-content-main .wp-block-post-content ul ul {
	padding-inline-start: 1.5em;
}

/* —— Sidebar module headings (H3 in editor) —— */
.lc-sidebar .wp-block-heading {
	color: var(--wp--preset--color--primary, #630f0f);
	margin-top: var(--wp--preset--spacing--60, 2rem);
	margin-bottom: var(--wp--preset--spacing--40, 1rem);
}

.lc-sidebar .wp-block-heading:first-child {
	margin-top: 0;
}

/* Latest Posts: text-only in sidebar (featured images appear in main query lists) */
.lc-sidebar .wp-block-latest-posts__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.lc-sidebar .wp-block-latest-posts__list > li {
	margin-bottom: 0.85rem;
}

.lc-sidebar .wp-block-latest-posts__list > li:last-child {
	margin-bottom: 0;
}

/* Match Latest link size to Categories (theme body / medium) */
.lc-sidebar .wp-block-latest-posts__post-title {
	display: block;
	font-size: var(--wp--preset--font-size--medium, 1rem);
	line-height: 1.5;
	word-break: break-word;
}

.lc-sidebar .wp-block-latest-posts__post-date {
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	color: var(--wp--preset--color--muted, #6a4a7a);
}

.lc-sidebar .wp-block-categories-list a {
	font-size: var(--wp--preset--font-size--medium, 1rem);
	line-height: 1.5;
}

.lc-sidebar .wp-block-list a {
	text-decoration: none;
}

.lc-sidebar .wp-block-list a:hover,
.lc-sidebar .wp-block-list a:focus {
	text-decoration: underline;
}

/* —— Post title: target + focus visible (WCAG 2.4.7 / 2.4.11) —— */
.single-post .wp-block-post-title:target,
article.post .wp-block-post-title:target {
	border-radius: var(--lc-focus-radius);
	outline: var(--lc-focus-width) solid var(--wp--preset--color--accent-magenta, #b03060);
	outline-offset: var(--lc-focus-offset);
	background-color: color-mix(in srgb, var(--wp--preset--color--accent-magenta, #b03060) 14%, transparent);
}

.single-post .wp-block-post-title:focus-visible,
article.post .wp-block-post-title:focus-visible {
	border-radius: var(--lc-focus-radius);
	outline: var(--lc-focus-width) solid var(--lc-focus-ring);
	outline-offset: var(--lc-focus-offset);
	background-color: color-mix(in srgb, var(--lc-focus-ring) 12%, transparent);
}

/* —— Definition lists (post content) —— */
.entry-content dl,
.wp-block-post-content dl,
.post-content dl {
	margin: var(--wp--preset--spacing--50, 1.5rem) 0;
	padding: 0;
}

.entry-content dt,
.wp-block-post-content dt,
.post-content dt {
	font-weight: 700;
	margin: 0;
	padding: 0;
}

.entry-content dd,
.wp-block-post-content dd,
.post-content dd {
	margin: 0 0 var(--wp--preset--spacing--40, 1rem);
	padding: 0;
}

/* —— Query loop titles on archives: H2 —— */
.lc-content-main .wp-block-post-title {
	font-size: var(--wp--preset--font-size--x-large, 1.5rem);
}

.lc-content-main .wp-block-post-title a {
	text-decoration: underline;
}

/* —— Site footer (maroon bar; yellow text & links ≥4.5:1) —— */
.lc-site-footer {
	background-color: var(--wp--preset--color--primary, #630f0f);
	color: var(--wp--preset--color--base, #f9d71c);
	border-top: 3px solid var(--wp--preset--color--accent-magenta, #b03060);
}

.lc-site-footer a {
	color: var(--wp--preset--color--base, #f9d71c);
	text-decoration: underline;
}

.lc-site-footer a:focus-visible {
	border-radius: var(--lc-focus-radius);
	outline: var(--lc-focus-width) solid var(--wp--preset--color--base, #f9d71c);
	outline-offset: var(--lc-focus-offset);
	background-color: color-mix(in srgb, var(--wp--preset--color--base, #f9d71c) 18%, transparent);
}

/* —— Footer: Styles + segmented control (light bar) —— */
.lc-theme-switcher {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--wp--preset--spacing--40, 1rem);
	margin-bottom: var(--wp--preset--spacing--50, 1.5rem);
}

.lc-theme-switcher__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--large, 1.25rem);
	font-weight: 700;
	color: var(--wp--preset--color--base, #f9d71c);
}

.lc-segmented {
	display: inline-flex;
	flex-wrap: wrap;
	border: 2px solid var(--wp--preset--color--base, #f9d71c);
	border-radius: 10px;
	overflow: visible;
	background-color: rgba(0, 0, 0, 0.2);
}

.lc-segmented__btn {
	margin: 0;
	padding: 0.5rem 1.25rem;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	border: none;
	background: transparent;
	color: var(--wp--preset--color--base, #f9d71c);
	min-width: 5.5rem;
	border-radius: var(--lc-focus-radius);
}

.lc-segmented__btn--first {
	border-inline-end: 1px solid rgba(249, 215, 28, 0.35);
}

.lc-segmented__btn[aria-pressed="true"] {
	background-color: var(--wp--preset--color--base, #f9d71c);
	color: var(--wp--preset--color--primary, #630f0f);
}

.lc-segmented__btn[aria-pressed="false"]:hover {
	background-color: rgba(249, 215, 28, 0.15);
}

.lc-segmented__btn:focus-visible {
	outline: var(--lc-focus-width) solid var(--wp--preset--color--base, #f9d71c);
	outline-offset: var(--lc-focus-offset);
	z-index: 1;
}

.lc-segmented__btn[aria-pressed="true"]:focus-visible {
	outline-color: var(--wp--preset--color--base, #f9d71c);
}

.lc-segmented__btn[aria-pressed="false"]:focus-visible {
	outline-color: rgba(249, 215, 28, 0.85);
}

/* —— Post summary (manual excerpt), below meta —— */
.lc-post-summary {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--50, 1.5rem);
	padding: var(--wp--preset--spacing--40, 1rem) var(--wp--preset--spacing--50, 1.5rem);
	border-left: 4px solid var(--wp--preset--color--accent-magenta, #b03060);
	background-color: rgba(255, 255, 255, 0.45);
	color: var(--wp--preset--color--contrast, #4b2c5e);
}

.lc-post-summary p {
	margin: 0;
}

/* —— Article images: full saturation/opacity; content images rounded —— */
article.post img,
article.post picture img {
	filter: none;
	opacity: 1;
	-webkit-filter: none;
}

article.post .wp-block-post-content img,
article.post .wp-block-post-featured-image img,
article.post .wp-block-gallery img,
article.post .wp-block-media-text img,
article.post .wp-block-image img {
	border-radius: 5px;
}

/* —— Tables: zebra rows (text #4B2C5E on row fills ≥4.5:1) —— */
article.post .wp-block-post-content table,
article.post .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	color: var(--wp--preset--color--contrast, #4b2c5e);
}

article.post .wp-block-table thead th,
article.post .wp-block-post-content thead th {
	background-color: var(--wp--preset--color--contrast, #4b2c5e);
	color: var(--wp--preset--color--base, #f9d71c);
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--wp--preset--color--border, #6b4f78);
}

article.post .wp-block-table tbody tr:nth-child(odd),
article.post .wp-block-post-content tbody tr:nth-child(odd) {
	background-color: #fffef2;
}

article.post .wp-block-table tbody tr:nth-child(even),
article.post .wp-block-post-content tbody tr:nth-child(even) {
	background-color: #f3e4ef;
}

article.post .wp-block-table td,
article.post .wp-block-table th,
article.post .wp-block-post-content td,
article.post .wp-block-post-content th {
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--wp--preset--color--border, #6b4f78);
	color: var(--wp--preset--color--contrast, #4b2c5e);
}

article.post .wp-block-table tbody th,
article.post .wp-block-post-content tbody th {
	background-color: #ebe4f5;
}
