/* Топла кухня: shared palette and artwork, three levels of decoration. */
.dg11-kitchen-theme {
	--kitchen-cream: #fffaf0;
	--kitchen-sage: #edf1e4;
	--kitchen-yellow: #f4d580;
	--kitchen-clay: #b66146;
	--kitchen-ink: #2e4939;
	--kitchen-muted: #576650;
	--kitchen-border: #dfdfcb;
	--kitchen-decor-opacity: .8;
	background: var(--kitchen-cream);
	color: var(--kitchen-ink);
}
.dg11-kitchen-team { --kitchen-decor-opacity: .55; }
.dg11-kitchen-menu { --kitchen-decor-opacity: .35; }
.dg11-kitchen-theme .dg11-internal-main {
	position: relative;
	isolation: isolate;
	min-height: 560px;
	padding-block: 1.5rem 9rem;
	overflow-wrap: anywhere;
}
/* Thin repeating edges follow long pages. All artwork is non-interactive. */
.dg11-kitchen-theme .dg11-internal-main::before {
	content: '';
	position: absolute;
	inset: 0 -15px;
	z-index: -1;
	pointer-events: none;
	opacity: var(--kitchen-decor-opacity);
	background: url('kitchen-margin.svg') left top / 12px 600px repeat-y,
		url('kitchen-margin.svg') right 240px / 12px 600px repeat-y;
}
/* A shared food/utensil garland lives in the reserved bottom whitespace. */
.dg11-kitchen-theme .dg11-internal-main::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.5rem;
	height: 90px;
	z-index: -1;
	pointer-events: none;
	opacity: var(--kitchen-decor-opacity);
	background: url('kitchen-garland.svg') center / min(100%, 900px) 90px no-repeat;
}
.dg11-kitchen-theme .dg11-internal-hero {
	position: relative;
	padding: 3.5rem clamp(1rem, 4vw, 3rem);
	border: 1px solid var(--kitchen-border);
	border-radius: 2rem .8rem 2rem 2rem;
	background: linear-gradient(115deg, #f0f2e5, #fff3d4);
}
.dg11-kitchen-theme .dg11-internal-hero::after {
	content: '';
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: .4rem;
	height: 30px;
	pointer-events: none;
	opacity: var(--kitchen-decor-opacity);
	background: url('kitchen-garland.svg') center / min(100%, 600px) 50px no-repeat;
}
.dg11-kitchen-theme .dg11-internal-hero h1 {
	color: var(--kitchen-ink);
	font-size: clamp(1.8rem, 3.5vw, 2.75rem);
	line-height: 1.2;
	letter-spacing: -.025em;
}
/* Opaque content surfaces protect text, portraits and future photo blocks. */
.dg11-kitchen-theme .dg11-page-main > .wp-block-post-content,
.dg11-kitchen-theme .dg11-internal-main > .wp-block-query {
	position: relative;
	padding: clamp(1rem, 3vw, 2rem);
	border: 1px solid var(--kitchen-border);
	border-radius: 1.5rem;
	background: #fffdf7;
	box-shadow: 0 8px 24px #4e583009;
}
.dg11-kitchen-theme .wp-block-post-content :is(h2, h3),
.dg11-kitchen-theme .wp-block-query h2 { color: var(--kitchen-ink); }
.dg11-kitchen-theme main a { color: #42633b; text-underline-offset: .2em; }
.dg11-kitchen-theme main a:hover { color: #93452f; }
.dg11-kitchen-theme main a:focus-visible { outline: 3px solid #42633b; outline-offset: 4px; }
.dg11-kitchen-theme .wp-block-button__link { background: #42633b; color: #fff; border-radius: .9rem; }
.dg11-kitchen-theme .wp-block-button__link:hover { background: #34512e; color: #fff; }
.dg11-kitchen-theme :is(.dg11-groups-empty, .dg11-staff-card) {
	border-color: var(--kitchen-border);
	border-radius: 1.25rem;
	background: #f4f5eb;
	color: var(--kitchen-muted);
}
.dg11-kitchen-theme .dg11-staff-card { background: #fffdf7; box-shadow: 0 6px 20px #4e583008; }
.dg11-kitchen-theme .dg11-staff-body h3 { color: var(--kitchen-ink); }
.dg11-kitchen-theme .dg11-staff-position { color: #526942; }
.dg11-kitchen-theme .dg11-staff-placeholder { background: var(--kitchen-sage); border-radius: 1.2rem 1.2rem 0 0; }
.dg11-kitchen-theme .dg11-staff-placeholder svg { fill: #a6b394; }
.dg11-kitchen-theme .dg11-staff-portrait { border-radius: 1.2rem 1.2rem 0 0; }
.dg11-kitchen-team .dg11-page-main > .wp-block-post-content { max-width: none; }
.dg11-kitchen-team .dg11-people-grid { gap: 1.5rem; }
.dg11-kitchen-about .wp-block-post-content :is(.wp-block-image, .wp-block-gallery) { margin-block: 1.75rem; }
.dg11-kitchen-about .wp-block-post-content img { border-radius: 1.1rem; }
.dg11-kitchen-about .wp-block-post-content figcaption { color: var(--kitchen-muted); }
/* Weekly archive retains its Query blocks, pagination and document links. */
.dg11-kitchen-menu .dg11-internal-main { min-height: 480px; }
.dg11-kitchen-menu .dg11-internal-main > .wp-block-query:not(:has(*)) { padding: 0; border: 0; background: transparent; box-shadow: none; }
.dg11-kitchen-menu .dg11-internal-hero { background: #f5f4e9; }
.dg11-kitchen-menu .wp-block-post-template { list-style: none; padding: 0; margin: 0; }
.dg11-kitchen-menu .wp-block-post-template > li {
	padding: 1.25rem;
	border: 1px solid var(--kitchen-border);
	border-radius: 1.1rem;
	background: #f7f6ec;
}
.dg11-kitchen-menu .wp-block-post-template > li + li { margin-top: 1.25rem; }
.dg11-kitchen-menu .wp-block-query-pagination { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.dg11-kitchen-menu :is(.dg11-weekly-document, .wp-block-file, .wp-block-image) { max-width: 100%; background: #fff; border-radius: .75rem; }
.dg11-kitchen-menu :is(.dg11-weekly-document-image, .wp-block-image img) { max-width: 100%; height: auto; object-fit: contain; }
@media (min-width: 70rem) {
	/* About page: richest artwork in its unused right-hand column. */
	.dg11-kitchen-about .dg11-internal-main { min-height: 700px; }
	.dg11-kitchen-about .dg11-internal-main::after {
		left: 800px;
		right: 16px;
		top: 210px;
		bottom: 60px;
		height: auto;
		background: url('kitchen-garden.svg') center top / 100% 440px repeat-y;
	}
}
@media (min-width: 87.5rem) {
	.dg11-kitchen-theme .dg11-internal-main::before {
		left: max(-130px, calc((1200px - 100vw) / 2));
		right: max(-130px, calc((1200px - 100vw) / 2));
		background-size: 90px 720px, 90px 720px;
	}
}
@media (max-width: 41.99rem) {
	.dg11-kitchen-theme .dg11-internal-main { min-height: 480px; padding-top: 1rem; padding-bottom: 7rem; }
	.dg11-kitchen-theme .dg11-internal-main::after { height: 64px; background-size: 100% 64px; }
	.dg11-kitchen-theme .dg11-internal-hero { padding-block: 2.75rem; border-radius: 1.4rem .7rem 1.4rem 1.4rem; }
	.dg11-kitchen-theme .dg11-internal-hero::after { background-size: 100% 40px; }
	.dg11-kitchen-theme .dg11-staff-body { padding: 1.1rem; }
}
