/* Brand defaults: unlayered Elementor styles override this layer. */
@layer pogi-vendor, pogi-theme;
@layer pogi-theme {
/* Default WordPress reading layouts. Values stay scoped to editorial content. */

/* Post archives share the compact shop header and use the native Archive Posts widget. */
.hp-archive--posts .elementor-posts-container { gap: 2.5rem 2rem; align-items: start; }
.hp-archive--posts .elementor-post__thumbnail__link { margin-bottom: 1.25rem; border-radius: var(--v-radius-md); overflow: hidden; }
.hp-archive--posts .elementor-post__thumbnail { aspect-ratio: 16 / 10; padding: 0; }
.hp-archive--posts .elementor-post__thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.hp-archive--posts .elementor-post__title { margin: 0 0 0.75rem; font: 700 clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem)/1.3 var(--hp-font-heading); }
.hp-archive--posts .elementor-post__title a { color: var(--hp-color-heading); text-decoration: none; }
.hp-archive--posts .elementor-post__title a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.hp-archive--posts .elementor-post__meta-data { margin-bottom: 0.75rem; color: var(--hp-color-muted); font: 400 var(--v-font-size-sm)/1.5 var(--hp-font-body); }
.hp-archive--posts .elementor-post__excerpt p { margin: 0 0 1rem; color: var(--hp-color-text); font: 400 var(--v-font-size-md)/1.65 var(--hp-font-body); }
.hp-archive--posts .elementor-post__read-more { color: var(--hp-color-heading); font: 700 var(--v-font-size-sm)/1.5 var(--hp-font-heading); text-transform: none; text-decoration: underline; text-underline-offset: 0.2em; }
.hp-archive--posts .elementor-post :is(a, button):focus-visible { outline: 2px solid var(--hp-color-brand-primary); outline-offset: 3px; }
.hp-archive--posts .elementor-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
body .site-main.hp-editorial {
	--hp-reading-available: min(var(--v-width-reading), 100cqw);
	--hp-editorial-available: 100cqw;
	container-type: inline-size;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--v-width-wide);
	margin-inline: auto;
	padding: clamp(2rem, 4vw, 4rem) var(--hp-container-gutter) clamp(4rem, 8vw, 7rem);
	color: var(--hp-color-text);
}

.hp-entry__header {
	max-width: var(--v-width-reading);
	margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
}

/* Keep a leading featured image and the title within the initial reading view. */
body .site-main.hp-editorial:has(.hp-entry > .hp-entry__featured:first-child) {
	padding-top: clamp(1.5rem, 3vw, 2rem);
}

.hp-entry__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	color: var(--hp-color-brand-primary);
	font: 600 0.75rem/1.5 var(--hp-font-heading);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hp-entry__eyebrow::before {
	content: "";
	width: 2rem;
	height: 4px;
	background: var(--hp-color-highlight);
}

.hp-editorial .hp-entry__title {
	margin: 0;
	padding: 0;
	color: var(--hp-color-heading);
	font: 700 clamp(2rem, 1.25rem + 2vw, 3.25rem)/1.15 var(--hp-font-heading);
	letter-spacing: -0.025em;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.hp-entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	margin-top: 1.25rem;
	color: var(--hp-color-muted);
	font-size: var(--v-font-size-sm);
	line-height: 1.6;
}

.hp-entry__featured {
	margin: 0 0 clamp(1.5rem, 2.5vw, 2rem);
}

.hp-entry__featured figcaption,
.hp-prose :where(figcaption, .wp-caption-text) {
	margin-top: 0.75rem;
	color: var(--hp-color-muted);
	font-size: var(--v-font-size-xs);
	line-height: 1.6;
	text-align: center;
}

.hp-prose {
	display: flow-root;
	max-width: var(--v-width-reading);
	margin-inline: auto;
	font: 400 var(--v-font-size-reading)/var(--hp-line-height-relaxed) var(--hp-font-body);
	overflow-wrap: break-word;
}

.hp-editorial .hp-prose :where(p, li, dt, dd) {
	font-size: inherit;
	line-height: inherit;
}

.hp-prose :where(p, ul, ol, dl, figure, table, pre, blockquote, .wp-block-table, .wp-block-buttons, .wp-block-group, details) {
	margin-block: 0 1.5em;
}

.hp-prose > p:first-child {
	font-size: 1.1em;
	line-height: 1.75;
}

.hp-prose :where(h1, h2, h3, h4, h5, h6) {
	color: var(--hp-color-heading);
	font-family: var(--hp-font-heading);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: var(--hp-letter-spacing-tight);
	text-wrap: balance;
	scroll-margin-top: 7rem;
}

.hp-prose h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.hp-prose h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); }
.hp-prose h3 { font-size: clamp(1.375rem, 2.5vw, 1.625rem); }
.hp-prose h4 { font-size: 1.25rem; }
.hp-prose h5 { font-size: 1.125rem; }
.hp-prose h6 { font-size: 1rem; }
.hp-prose > :first-child { margin-top: 0; }

.hp-editorial :where(a:not(.wp-block-button__link):not(.button):not(.submit)) {
	color: var(--hp-color-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.hp-editorial a:hover { color: var(--hp-color-link-hover); }
.hp-editorial a:focus-visible,
.hp-editorial button:focus-visible,
.hp-editorial input:focus-visible,
.hp-editorial textarea:focus-visible,
.hp-editorial select:focus-visible,
.hp-editorial summary:focus-visible {
	outline: 2px solid var(--hp-color-brand-primary);
	outline-offset: 4px;
}

.hp-prose :where(ul, ol) { padding-inline-start: 1.5em; }
.hp-prose li { padding-inline-start: 0.3em; margin-bottom: 0.5em; }
.hp-prose li::marker { color: var(--hp-color-brand-primary); font-weight: 600; }
.hp-prose li > :where(ul, ol) { margin-block: 0.6em 0; }
.hp-prose li > p { margin-bottom: 0.5em; }
.hp-prose :is(strong, b) {
	font-weight: var(--hp-font-weight-emphasis);
	letter-spacing: var(--hp-letter-spacing-emphasis);
}
.hp-prose small { font-size: max(0.8125rem, 0.8em); }
.hp-prose mark { padding: 0.05em 0.2em; background: var(--hp-color-highlight); color: var(--hp-color-heading); }
.hp-prose dt { font-weight: 700; }
.hp-prose dd { margin-inline-start: 1.5em; }

.hp-prose blockquote,
.hp-prose .wp-block-pullquote {
	margin-inline: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 0;
	border-inline-start: 4px solid var(--hp-color-highlight);
	border-radius: 0 var(--v-radius-md) var(--v-radius-md) 0;
	background: var(--hp-color-surface-alt);
	color: var(--hp-color-heading);
	font-family: var(--hp-font-heading);
	font-size: 1.125em;
	line-height: 1.65;
	text-align: start;
}

.hp-prose .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }
.hp-prose blockquote p:last-of-type { margin-bottom: 0; }
.hp-prose cite { display: block; margin-top: 1rem; color: var(--hp-color-muted); font: 400 var(--v-font-size-sm)/1.6 var(--hp-font-body); }

.hp-prose :where(code, kbd, samp, pre) { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.875em; }
.hp-prose :not(pre) > code { padding: 0.15em 0.35em; border-radius: 4px; background: var(--hp-color-surface-alt); color: var(--hp-color-brand-primary); overflow-wrap: anywhere; }
.hp-prose pre { max-width: 100%; padding: 1.5rem; border: 1px solid var(--hp-color-border); border-radius: var(--v-radius-md); background: var(--v-palette-dark-blue); color: var(--v-palette-white); line-height: 1.75; overflow-x: auto; white-space: pre; }
.hp-prose pre code { padding: 0; border: 0; background: transparent; color: inherit; font-size: inherit; white-space: inherit; }

.hp-prose :where(img, video, iframe) { max-width: 100%; }
.hp-prose img { height: auto; border-radius: var(--v-radius-md); }
.hp-prose figure { margin-inline: 0; }
.hp-prose .wp-block-image img { display: block; }
.hp-prose .wp-block-image:not(.is-resized) img { width: 100%; }
.hp-prose :where(.alignwide, .alignfull) {
	width: var(--hp-editorial-available);
	max-width: none;
	margin-inline: calc((var(--hp-reading-available) - var(--hp-editorial-available)) / 2);
}
.hp-prose .aligncenter { margin-inline: auto; }
.hp-prose .alignleft { margin: 0.5rem 1.5rem 1rem 0; max-width: 50%; }
.hp-prose .alignright { margin: 0.5rem 0 1rem 1.5rem; max-width: 50%; }

.hp-prose .wp-block-table { overflow-x: auto; }
.hp-prose table { width: 100%; border-collapse: collapse; font-size: 0.9em; line-height: 1.6; }
.hp-prose > table { display: block; max-width: 100%; overflow-x: auto; }
.hp-prose :where(th, td) { padding: 0.85em 1em; border: 1px solid var(--hp-color-border); text-align: start; }
.hp-prose th { background: var(--hp-color-surface-alt); font-weight: 600; }
.hp-prose hr { width: 100%; height: 1px; margin-block: 3rem; border: 0; background: var(--hp-color-border); }
.hp-prose details { padding: 1rem 1.25rem; border: 1px solid var(--hp-color-border); border-radius: var(--v-radius-sm); }
.hp-prose summary { color: var(--hp-color-heading); font-weight: 600; cursor: pointer; }
.hp-prose details[open] summary { margin-bottom: 1rem; }

.hp-prose :where(button, [type="submit"], .wp-block-button__link),
.hp-entry__comments .submit {
	--hp-button-min-height: 3rem;
	--hp-button-padding: 0.8rem 1.25rem;
	--hp-button-font-size: var(--v-font-size-sm);
	--hp-button-font-weight: 600;
}

.hp-prose .is-style-outline .wp-block-button__link { border: 1px solid var(--hp-color-button); background: transparent; color: var(--hp-color-button); }
.hp-prose :where(button, input):disabled { border-color: var(--hp-color-border); background: var(--hp-color-surface-alt); color: var(--hp-color-muted); cursor: not-allowed; }
.hp-prose > button { margin: 0 0.5rem 0.75rem 0; }
.hp-prose .post-password-form p { flex-wrap: wrap; gap: 0.75rem; }

.hp-entry__tags,
.hp-entry__pagination,
.hp-entry__comments {
	max-width: var(--v-width-reading);
	margin-inline: auto;
}
.hp-entry__tags { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: baseline; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--hp-color-border); font-size: var(--v-font-size-sm); }
.hp-entry__tags > span { color: var(--hp-color-muted); }
.hp-entry__pagination:not(:empty) { display: flex; gap: 1rem; margin-top: 2rem; }
.hp-entry__comments .comments-area { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--hp-color-border); }
.hp-entry__comments .comment-reply-title { margin-bottom: 1.25rem; }
.hp-entry__comments .comment-form p { margin-bottom: 1.25rem; }
.hp-entry__comments .comment-form label { display: block; margin-bottom: 0.5rem; }
.hp-entry__comments .comment-form-cookies-consent label { display: inline; }
.hp-entry__comments .comment-form :where(input[type="text"], input[type="email"], input[type="url"], textarea) { width: 100%; }
.hp-entry__comments :where(.comment-notes, .logged-in-as, .comment-form-cookies-consent) { color: var(--hp-color-muted); font-size: var(--v-font-size-sm); }

@media (max-width: 600px) {
	.hp-entry__meta { flex-direction: column; gap: 0.25rem; }
	.hp-entry__meta > [aria-hidden="true"] { display: none; }
	.hp-prose :where(.alignleft, .alignright) { float: none; max-width: 100%; margin: 0 0 1.5em; }
	.hp-prose pre { padding: 1rem; }
	.hp-entry__comments #comments .comment-meta { flex-wrap: wrap; gap: 0.75rem; }
}

}
