/*
 * Guidebook — base styles, loaded on the site and inside the block editor:
 * tokens, typography, buttons, tags, section heads, cards, content (core blocks).
 * In the editor WordPress scopes this file to .editor-styles-wrapper.
 */

/* Tokens ------------------------------------------------------------------ */

:root {
	--gb-pitch: var(--wp--preset--color--pitch, #0e3b25);
	--gb-pitch-2: var(--wp--preset--color--pitch-2, #15553a);
	--gb-green: var(--wp--preset--color--green, #1c6b43);
	--gb-green-2: var(--wp--preset--color--green-2, #26875a);
	--gb-grass: var(--wp--preset--color--grass, #e6f0e9);
	--gb-paper: var(--wp--preset--color--paper, #f5f8f6);
	--gb-line: var(--wp--preset--color--line, #d3e1d8);
	--gb-ink: var(--wp--preset--color--ink, #14261c);
	--gb-ink-2: var(--wp--preset--color--ink-2, #4d6256);
	--gb-yellow: var(--wp--preset--color--yellow, #ffd200);
	--gb-orange: var(--wp--preset--color--orange, #f77f00);
	--gb-ci-green: var(--wp--preset--color--ci-green, #009e60);
	--gb-on-dark: #cfe2d6;
	--gb-on-dark-2: #bfd6c8;
	--gb-on-dark-3: #9fbcaa;
	--gb-display: var(--wp--preset--font-family--display, "Barlow Condensed", "Arial Narrow", sans-serif);
	--gb-body: var(--wp--preset--font-family--body, Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif);
	--gb-radius: 10px;
	--gb-gap: 44px;
}

/* Base -------------------------------------------------------------------- */

body {
	margin: 0;
	background: var(--gb-paper);
	color: var(--gb-ink);
	font: 400 16px/1.55 var(--gb-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: inherit;
	font-family: var(--gb-display);
	font-weight: 700;
	line-height: 1.08;
	text-wrap: balance;
}

a {
	color: var(--gb-green);
	text-decoration: none;
}

a:hover {
	color: var(--gb-green-2);
}

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

/* Elements switched with the hidden attribute stay hidden even when their class sets a display. */
[hidden] {
	display: none !important;
}

:focus-visible {
	outline: 3px solid var(--gb-yellow);
	outline-offset: 2px;
}

.icon {
	flex: none;
	width: 1em;
	height: 1em;
	vertical-align: -.125em;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 6px 15px;
	border: 1px solid transparent;
	border-radius: 8px;
	font: 600 15px/1.2 var(--gb-body);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}

.btn .icon {
	font-size: 18px;
}

.btn--lg {
	min-height: 48px;
	padding: 8px 22px;
	font-size: 16px;
}

.btn--sm {
	min-height: 34px;
	padding: 4px 14px;
	font-size: 14px;
}

.btn--block {
	width: 100%;
}

.btn--yellow {
	background: var(--gb-yellow);
	color: #1b2a12;
}

.btn--yellow:hover {
	background: #ffdd33;
	color: #1b2a12;
}

.btn--line {
	border-color: var(--gb-green);
	background: #fff;
	color: var(--gb-green);
}

.btn--line:hover {
	background: var(--gb-grass);
	color: var(--gb-green);
}

.btn--ghost {
	border-color: rgb(255 255 255 / .35);
	background: transparent;
	color: #fff;
}

.btn--ghost:hover {
	background: rgb(255 255 255 / .1);
	color: #fff;
}

/* Tags -------------------------------------------------------------------- */

.tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	justify-self: start;
	align-self: flex-start;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--gb-grass);
	color: var(--gb-green);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.tag .icon {
	font-size: 14px;
}

.tag--yellow {
	background: #fff3bf;
	color: #665300;
}

.tag--orange {
	background: #ffe9d2;
	color: #a64f00;
}

/* Section heads (theme blocks) -------------------------------------------- */

.sec-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 14px;
	margin-bottom: 16px;
}

.sec-title {
	margin: 0;
	font-size: clamp(26px, 2.4vw + 10px, 32px);
	scroll-margin-top: 20px;
}

.sec-sub {
	margin: 5px 0 0;
	color: var(--gb-ink-2);
}

.sec-more {
	color: var(--gb-green);
	font-weight: 600;
	white-space: nowrap;
}

.gb-placeholder {
	padding: 18px;
	border: 2px dashed var(--gb-line);
	border-radius: var(--gb-radius);
	background: #fff;
	color: var(--gb-ink-2);
	font-size: 14px;
	text-align: center;
}

/* Guide cards ------------------------------------------------------------- */

.gcards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.gcard {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--gb-line);
	border-radius: 14px;
	background: #fff;
	color: var(--gb-ink);
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s;
}

.gcard:hover {
	border-color: var(--gb-green-2);
	box-shadow: 0 4px 14px rgb(14 59 37 / .08);
	color: var(--gb-ink);
}

.gcard__media {
	display: grid;
	place-items: center;
	height: 100px;
	overflow: hidden;
	color: #fff;
	font-size: 44px;
}

.gcard__media.is-light {
	color: var(--gb-pitch);
}

.gcard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.8);
}

.gcard__body {
	display: grid;
	align-content: start;
	gap: 7px;
	padding: 13px 15px 15px;
}

.gcard__title {
	font: 700 21px/1.1 var(--gb-display);
}

.gcard__text {
	font-size: 14px;
	line-height: 1.5;
	color: var(--gb-ink-2);
}

.gcard__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
	color: var(--gb-ink-2);
}

.gcard__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.gcard--featured {
	grid-column: span 2;
	flex-direction: row;
}

.gcard--featured .gcard__media {
	flex: none;
	width: 38%;
	height: auto;
	min-height: 180px;
}

/* The narrow media keeps the left side of a cover: banners carry their title there. */
.gcard--featured .gcard__media img {
	object-position: left center;
}

.gcard--featured .gcard__title {
	font-size: 28px;
}

@media (max-width: 760px) {
	.gcards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.gcards {
		grid-template-columns: 1fr;
	}

	.gcard--featured {
		grid-column: auto;
		flex-direction: column;
	}

	.gcard--featured .gcard__media {
		width: auto;
		min-height: 0;
		height: 120px;
	}

	.gcard--featured .gcard__title {
		font-size: 24px;
	}
}

/* News rows --------------------------------------------------------------- */

.nlist {
	overflow: hidden;
	border: 1px solid var(--gb-line);
	border-radius: 14px;
	background: #fff;
}

.nrow {
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 14px;
	padding: 15px 17px;
	color: var(--gb-ink);
	text-decoration: none;
}

.nrow + .nrow {
	border-top: 1px solid var(--gb-line);
}

.nrow:hover {
	background: #fbfdfb;
	color: var(--gb-ink);
}

.nrow.has-thumb {
	grid-template-columns: 58px minmax(0, 1fr) 112px;
}

.nrow__thumb img {
	display: block;
	width: 112px;
	height: 76px;
	border-radius: 8px;
	object-fit: cover;
}

@media (max-width: 520px) {
	.nrow.has-thumb {
		grid-template-columns: 58px minmax(0, 1fr);
	}

	.nrow__thumb {
		display: none;
	}
}

.nrow__date {
	display: block;
	align-self: start;
	padding: 7px 0;
	border-radius: 8px;
	background: var(--gb-grass);
	line-height: 1;
	text-align: center;
}

.nrow__day {
	display: block;
	font: 800 25px/1 var(--gb-display);
	color: var(--gb-green);
}

.nrow__month {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	color: var(--gb-ink-2);
}

.nrow__body {
	display: grid;
	gap: 5px;
}

.nrow__title {
	font: 700 20px/1.12 var(--gb-display);
}

.nrow__text {
	font-size: 14px;
	line-height: 1.5;
	color: var(--gb-ink-2);
}

/* Store buttons ----------------------------------------------------------- */

.stores {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.store {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 16px 0 12px;
	border-radius: 10px;
	background: #fff;
	color: var(--gb-pitch);
	text-decoration: none;
}

.store:hover {
	background: var(--gb-grass);
	color: var(--gb-pitch);
}

.store .icon {
	font-size: 26px;
}

.store small {
	display: block;
	font-size: 11px;
	line-height: 1.15;
	color: var(--gb-ink-2);
}

.store b {
	display: block;
	font-size: 16px;
	line-height: 1.15;
}

/* Content area: core blocks ------------------------------------------------
 * .entry on the site, .is-root-container in the editor.
 */

:is(.entry, .is-root-container) {
	font-size: 17px;
	line-height: 1.65;
}

:is(.entry, .is-root-container) > * {
	margin-block: 0;
}

:is(.entry, .is-root-container) > * + * {
	margin-block-start: 16px;
}

:is(.entry, .is-root-container) > :is(.gb-block, [data-type^="guidebook/"]),
:is(.entry, .is-root-container) > :is(.gb-block, [data-type^="guidebook/"]) + * {
	margin-block-start: var(--gb-gap);
}

:is(.entry, .is-root-container) > :first-child {
	margin-block-start: 0;
}

:is(.entry, .is-root-container) h1 {
	font-size: clamp(32px, 2.4vw + 18px, 42px);
	font-weight: 800;
	scroll-margin-top: 20px;
}

:is(.entry, .is-root-container) h2 {
	font-size: clamp(25px, 2vw + 12px, 30px);
	scroll-margin-top: 20px;
}

:is(.entry, .is-root-container) h3 {
	font-size: clamp(20px, 1.2vw + 12px, 23px);
	scroll-margin-top: 20px;
}

:is(.entry, .is-root-container) h4 {
	font-size: 19px;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--gb-green);
}

:is(.entry, .is-root-container) h5 {
	font: 700 14px/1.35 var(--gb-body);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gb-ink-2);
}

:is(.entry, .is-root-container) h6 {
	font: 700 13px/1.35 var(--gb-body);
	letter-spacing: .04em;
	color: var(--gb-ink-2);
}

/* Heading blocks: a short yellow bar under H2, a green bar beside H3. */
:is(.entry, .is-root-container) h2.wp-block-heading {
	padding-bottom: 14px;
	background: linear-gradient(var(--gb-yellow), var(--gb-yellow)) left bottom / 44px 4px no-repeat;
}

:is(.entry, .is-root-container) h2.wp-block-heading.has-text-align-center {
	background-position: center bottom;
}

:is(.entry, .is-root-container) h2.wp-block-heading.has-text-align-right {
	background-position: right bottom;
}

:is(.entry, .is-root-container) h3.wp-block-heading:not(.has-text-align-center, .has-text-align-right) {
	padding-left: 12px;
	border-left: 4px solid var(--gb-green-2);
}

:is(.entry, .is-root-container) > h2 {
	margin-block-start: 34px;
}

:is(.entry, .is-root-container) > h3 {
	margin-block-start: 24px;
}

:is(.entry, .is-root-container) > :is(h4, h5, h6) {
	margin-block-start: 20px;
}

:is(.entry, .is-root-container) > :is(p, ul, ol) {
	max-width: 66ch;
}

:is(.entry, .is-root-container) :is(p, li) a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

:is(.entry, .is-root-container) :is(ul, ol):not([class*="b-"]) {
	padding-left: 22px;
}

:is(.entry, .is-root-container) li + li {
	margin-top: 5px;
}

:is(.entry, .is-root-container) li::marker {
	color: var(--gb-green);
}

:is(.entry, .is-root-container) ol > li::marker {
	font-weight: 700;
}

/* List blocks: green diamonds; numbers in dark circles, as in the theme's steps. */
:is(.entry, .is-root-container) :is(ul, ol).wp-block-list {
	padding-left: 0;
	list-style: none;
}

:is(.entry, .is-root-container) .wp-block-list > li {
	position: relative;
	padding-left: 26px;
}

:is(.entry, .is-root-container) .wp-block-list > li + li {
	margin-top: 7px;
}

:is(.entry, .is-root-container) .wp-block-list :is(ul, ol).wp-block-list {
	margin-top: 7px;
}

:is(.entry, .is-root-container) ul.wp-block-list:not(.is-style-checklist) > li::before {
	content: "";
	position: absolute;
	top: calc(.825em - 4px);
	left: 5px;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--gb-green-2);
	transform: rotate(45deg);
}

:is(.entry, .is-root-container) .wp-block-list ul.wp-block-list:not(.is-style-checklist) > li::before {
	background: none;
	box-shadow: inset 0 0 0 2px var(--gb-green-2);
}

:is(.entry, .is-root-container) ol.wp-block-list:not([reversed]) {
	counter-reset: gb-ol;
}

:is(.entry, .is-root-container) ol.wp-block-list:not([reversed]) > li {
	padding-left: 36px;
	counter-increment: gb-ol;
}

:is(.entry, .is-root-container) ol.wp-block-list:not([reversed]) > li::before {
	content: counter(gb-ol);
	position: absolute;
	/* .82em of the item's text: 1em here is half of the item's first line (line height 1.65). */
	top: calc(1em - 12px);
	left: 0;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--gb-pitch);
	color: var(--gb-yellow);
	font: 700 .82em/1 var(--gb-display);
}

:is(.entry, .is-root-container) .wp-block-list ol.wp-block-list:not([reversed]) > li::before {
	top: calc(1em - 11px);
	width: 22px;
	height: 22px;
	background: var(--gb-grass);
	color: var(--gb-green);
}

:is(.entry, .is-root-container) ol.wp-block-list[reversed] {
	padding-left: 22px;
	list-style: decimal;
}

:is(.entry, .is-root-container) ol.wp-block-list[reversed] > li {
	padding-left: 4px;
}

/* Checklist style for lists. */
:is(.entry, .is-root-container) ul.is-style-checklist {
	padding-left: 0;
	list-style: none;
}

:is(.entry, .is-root-container) ul.is-style-checklist > li {
	position: relative;
	padding-left: 28px;
}

:is(.entry, .is-root-container) ul.is-style-checklist > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3em;
	width: 18px;
	height: 18px;
	background: var(--gb-green-2);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Images: rounded, lifted off the page; the caption starts with a yellow dash. */
:is(.entry, .is-root-container) .wp-block-image img {
	border-radius: 14px;
	box-shadow: 0 14px 30px -18px rgb(14 59 37 / .45);
}

:is(.entry, .is-root-container) .wp-block-image.is-style-rounded img {
	border-radius: 9999px;
}

:is(.entry, .is-root-container) .wp-block-image.is-style-plain img {
	box-shadow: none;
}

:is(.entry, .is-root-container) .wp-block-image :is(figcaption, .wp-element-caption) {
	position: relative;
	margin-top: 10px;
	padding-left: 22px;
}

:is(.entry, .is-root-container) .wp-block-image :is(figcaption, .wp-element-caption)::before {
	content: "";
	position: absolute;
	top: .7em;
	left: 0;
	width: 14px;
	height: 3px;
	border-radius: 2px;
	background: var(--gb-yellow);
}

:is(.entry, .is-root-container) figcaption,
:is(.entry, .is-root-container) .wp-element-caption {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	color: var(--gb-ink-2);
}

/* Tables: white card, dark head with a yellow line, light zebra rows, labels in bold. */
:is(.entry, .is-root-container) .wp-block-table {
	margin-inline: 0;
	overflow-x: auto;
	border: 1px solid var(--gb-line);
	border-radius: 14px;
	background: #fff;
}

:is(.entry, .is-root-container) .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

:is(.entry, .is-root-container) .wp-block-table :is(th, td) {
	padding: 11px 14px;
	border: 0;
	border-bottom: 1px solid var(--gb-line);
	text-align: left;
	vertical-align: top;
}

:is(.entry, .is-root-container) .wp-block-table thead {
	border: 0;
}

:is(.entry, .is-root-container) .wp-block-table thead th {
	border-bottom: 3px solid var(--gb-yellow);
	background: var(--gb-pitch);
	color: #fff;
	font: 700 16px/1.25 var(--gb-display);
	letter-spacing: .03em;
	text-transform: uppercase;
	vertical-align: bottom;
}

:is(.entry, .is-root-container) .wp-block-table tbody tr:nth-child(even) > * {
	background: #f7faf8;
}

:is(.entry, .is-root-container) .wp-block-table tbody tr:last-child > * {
	border-bottom: 0;
}

:is(.entry, .is-root-container) .wp-block-table tbody :is(th, td):first-child {
	font-weight: 600;
}

:is(.entry, .is-root-container) .wp-block-table tfoot {
	border: 0;
}

:is(.entry, .is-root-container) .wp-block-table tfoot td {
	border-top: 1px solid var(--gb-line);
	border-bottom: 0;
	background: #fff8d6;
	font-weight: 700;
}

:is(.entry, .is-root-container) .wp-block-table :is(figcaption, .wp-element-caption) {
	margin: 0;
	padding: 10px 14px;
	border-top: 1px solid var(--gb-line);
	background: var(--gb-paper);
}

:is(.entry, .is-root-container) .wp-block-table.is-style-numbers :is(td, th):last-child {
	text-align: right;
}

:is(.entry, .is-root-container) .wp-block-table.is-style-stripes {
	border-bottom: 1px solid var(--gb-line);
}

:is(.entry, .is-root-container) .wp-block-table.is-style-stripes tbody tr:nth-child(odd) > * {
	background: var(--gb-grass);
}

:is(.entry, .is-root-container) .wp-block-table.is-style-stripes tbody tr:nth-child(even) > * {
	background: #fff;
}

/* Columns. "Колонки-карточки": every column is a white card. */
:is(.entry, .is-root-container) .wp-block-column > * + * {
	margin-top: 10px;
}

:is(.entry, .is-root-container) .wp-block-columns.has-background {
	padding: 22px 24px;
	border-radius: 16px;
}

:is(.entry, .is-root-container) .wp-block-columns.is-style-cards > .wp-block-column {
	padding: 18px 20px;
	border: 1px solid var(--gb-line);
	border-radius: 14px;
	background: #fff;
}

:is(.entry, .is-root-container) .wp-block-columns.is-style-cards > .wp-block-column > :first-child {
	margin-top: 0;
}

/* Quote. */
:is(.entry, .is-root-container) .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 18px;
	border-left: 4px solid var(--gb-yellow);
	font-size: 19px;
}

:is(.entry, .is-root-container) .wp-block-quote cite {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	font-style: normal;
	color: var(--gb-ink-2);
}

/* Separator. */
:is(.entry, .is-root-container) hr,
:is(.entry, .is-root-container) .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--gb-line);
	opacity: 1;
}

/* Buttons block. */
:is(.entry, .is-root-container) .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 8px 22px;
	border-radius: 8px;
	background: var(--gb-yellow);
	color: #1b2a12;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

:is(.entry, .is-root-container) .is-style-outline .wp-block-button__link {
	border: 1px solid var(--gb-green);
	background: #fff;
	color: var(--gb-green);
}

/* Details (accordion), same look as Block: FAQ. */
:is(.entry, .is-root-container) .wp-block-details {
	border: 1px solid var(--gb-line);
	border-radius: var(--gb-radius);
	background: #fff;
}

:is(.entry, .is-root-container) .wp-block-details summary {
	padding: 14px 17px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

:is(.entry, .is-root-container) .wp-block-details > :not(summary) {
	margin: 0;
	padding: 0 17px 15px;
	font-size: 15px;
	color: var(--gb-ink-2);
}

/* Callouts: core/group styles. */
:is(.entry, .is-root-container) .wp-block-group.is-style-callout,
:is(.entry, .is-root-container) .wp-block-group.is-style-note {
	padding: 16px 19px;
	border: 1px solid #f5cfa6;
	border-left: 5px solid var(--gb-orange);
	border-radius: 4px;
	background: #fff4e8;
}

:is(.entry, .is-root-container) .wp-block-group.is-style-note {
	border-color: var(--gb-line);
	border-left-color: var(--gb-green-2);
	background: var(--gb-grass);
}

:is(.entry, .is-root-container) .wp-block-group:is(.is-style-callout, .is-style-note) > * {
	margin-block: 0;
}

:is(.entry, .is-root-container) .wp-block-group:is(.is-style-callout, .is-style-note) > * + * {
	margin-top: 7px;
}

:is(.entry, .is-root-container) .wp-block-group:is(.is-style-callout, .is-style-note) > :is(h2, h3, h4, h5):first-child {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 20px;
}

:is(.entry, .is-root-container) .wp-block-group:is(.is-style-callout, .is-style-note) > :is(h2, h3, h4, h5):first-child::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background: var(--gb-orange);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

:is(.entry, .is-root-container) .wp-block-group.is-style-note > :is(h2, h3, h4, h5):first-child::before {
	background: var(--gb-green);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0'/%3E%3Cpath d='M12 9h.01'/%3E%3Cpath d='M11 12h1v4h1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0'/%3E%3Cpath d='M12 9h.01'/%3E%3Cpath d='M11 12h1v4h1'/%3E%3C/svg%3E");
}

/* Groups: palette backgrounds, "Карточка" and "Тёмная плашка". */
:is(.entry, .is-root-container) .wp-block-group.has-background {
	padding: 22px 24px;
	border-radius: 16px;
}

:is(.entry, .is-root-container) :is(.has-pitch-background-color, .has-pitch-2-background-color, .has-green-background-color, .has-green-2-background-color):not(.has-text-color) {
	color: #fff;
}

:is(.entry, .is-root-container) :is(.has-pitch-background-color, .has-pitch-2-background-color, .has-green-background-color, .has-green-2-background-color) a {
	color: var(--gb-yellow);
}

:is(.entry, .is-root-container) .wp-block-group.is-style-card {
	padding: 22px 24px;
	border: 1px solid var(--gb-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 16px 34px -24px rgb(14 59 37 / .45);
}

:is(.entry, .is-root-container) .wp-block-group.is-style-dark {
	padding: 24px 26px;
	border-radius: 18px;
	background: linear-gradient(120deg, #0a2f1d 0%, #0e3b25 55%, #15553a 100%);
	color: var(--gb-on-dark);
}

:is(.entry, .is-root-container) .wp-block-group.is-style-dark :is(h1, h2, h3, h4, h5, h6, strong, b) {
	color: #fff;
}

:is(.entry, .is-root-container) .wp-block-group.is-style-dark a {
	color: var(--gb-yellow);
}

:is(.entry, .is-root-container) .wp-block-group.is-style-dark h3.wp-block-heading {
	border-left-color: var(--gb-yellow);
}

:is(.entry, .is-root-container) .wp-block-group.is-style-dark ul.wp-block-list:not(.is-style-checklist) > li::before {
	background: var(--gb-yellow);
}

:is(.entry, .is-root-container) .wp-block-group.is-style-dark ol.wp-block-list:not([reversed]) > li::before {
	background: var(--gb-yellow);
	color: var(--gb-pitch);
}

:is(.entry, .is-root-container) .wp-block-group.is-style-dark .wp-block-table {
	border-color: transparent;
	color: var(--gb-ink);
}

/* Embeds keep their aspect ratio. */
:is(.entry, .is-root-container) .wp-block-embed iframe {
	max-width: 100%;
}

@media (max-width: 640px) {
	:is(.entry, .is-root-container) {
		font-size: 16px;
	}

	:is(.entry, .is-root-container) .wp-block-table table {
		font-size: 14px;
	}

	:is(.entry, .is-root-container) .wp-block-table :is(th, td) {
		min-width: 120px;
		padding: 9px 11px;
	}

	:is(.entry, .is-root-container) :is(.wp-block-group:is(.has-background, .is-style-card, .is-style-dark), .wp-block-columns.has-background) {
		padding: 18px;
	}

	:root {
		--gb-gap: 36px;
	}

	.sec-head {
		flex-wrap: wrap;
		align-items: flex-start;
	}
}
