/* Базов слой: reset, типография, бутони, форми, табове, панели, таблици, съобщения, prose.
   Стойностите са от predlozhenie/bmg.css (редовете са в коментарите). Подреждане само чрез специфичност. */

/* ---------- reset (bmg.css 15-22) ---------- */
* {
	box-sizing: border-box;
}

html {
	background: var(--bmgf-page);
}

body {
	margin: 0;
	background: var(--bmgf-page);
	color: var(--bmgf-ink);
	font: 16px/1.6 var(--bmgf-f-body);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

button {
	font: inherit;
	color: inherit;
}

[hidden] {
	display: none;
}

:focus-visible {
	outline: 2px solid var(--bmgf-gold);
	outline-offset: 2px;
}

/* ---------- рамката на сайта (bmg.css 25, 28-29) ---------- */
.bmgf-site {
	background: var(--bmgf-white);
	max-width: var(--bmgf-site);
	margin: 0 auto;
	min-height: 100vh;
}

.bmgf-container {
	max-width: var(--bmgf-container);
	margin: 0 auto;
	padding-inline: 24px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	margin: -1px;
	padding: 0;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	margin: 0;
	padding: 10px 16px;
	background: var(--bmgf-white);
	color: var(--bmgf-navy);
	font-weight: 700;
	border-radius: 8px;
	box-shadow: 0 6px 16px rgba(9, 23, 58, .2);
}

/* ---------- типография (bmg.css 32-44) ---------- */
.bmgf-h1,
.bmgf-h2,
.bmgf-h3 {
	font-family: var(--bmgf-f-display);
	font-weight: 700;
	color: var(--bmgf-ink);
	margin: 0;
	text-wrap: balance;
	letter-spacing: -.005em;
}

.bmgf-h1 {
	font-size: 52px;
	line-height: 1.06;
}

.bmgf-h2 {
	font-size: 36px;
	line-height: 1.12;
}

.bmgf-h3 {
	font-size: 22px;
	line-height: 1.25;
}

.bmgf-eyebrow {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bmgf-gold-ink);
	margin: 0;
}

.bmgf-lead {
	font-size: 18px;
	color: var(--bmgf-muted);
	margin: 0;
	max-width: 56ch;
}

.bmgf-sec {
	padding-block: 72px;
}

.bmgf-sec--tight {
	padding-top: 0;
}

.bmgf-sec--mist {
	background: var(--bmgf-mist);
}

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

.bmgf-sec-head .bmgf-lead {
	font-size: 16px;
}

.bmgf-link {
	font-weight: 700;
	color: var(--bmgf-navy);
	text-decoration: none;
	display: inline-flex;
	gap: 6px;
	align-items: center;
	white-space: nowrap;
}

.bmgf-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bmgf-ico {
	width: 20px;
	height: 20px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bmgf-ico--fill {
	fill: currentColor;
	stroke: none;
}

/* ---------- бутони (bmg.css 47-56) + бутоните на Woo / плъгините ---------- */
.bmgf-btn,
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .woocommerce-Button,
button[type="submit"],
input[type="submit"],
.ff-btn-submit,
#place_order,
.checkout-button,
.single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border-radius: var(--bmgf-r-pill);
	border: 0;
	background: var(--bmgf-navy);
	color: #fff;
	font-family: var(--bmgf-f-body);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s;
}

.bmgf-btn:hover,
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .woocommerce-Button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.ff-btn-submit:hover,
#place_order:hover,
.checkout-button:hover,
.single_add_to_cart_button:hover {
	background: var(--bmgf-navy-2);
	color: #fff;
}

/* неактивните бутони - същият navy бутон, приглушен (Task 66). Woo рисува неактивния .button.alt лилав с
   .woocommerce:where(...) button.button.alt.disabled (0,4,1) до :disabled[disabled]:hover (0,6,1) - тук всеки негов
   селектор е повторен с „html " отпред (+0,0,1), вкл. :hover, за да не се сменя при посочване. */
.bmgf-btn.disabled,
.bmgf-btn.disabled:hover,
.bmgf-btn:disabled,
.bmgf-btn:disabled:hover,
.button.disabled,
.button.disabled:hover,
.button:disabled,
.button:disabled:hover,
.single_add_to_cart_button.disabled,
.single_add_to_cart_button.disabled:hover,
.single_add_to_cart_button:disabled,
.single_add_to_cart_button:disabled:hover,
.checkout-button.disabled,
.checkout-button.disabled:hover,
.checkout-button:disabled,
.checkout-button:disabled:hover,
.ff-btn-submit.disabled,
.ff-btn-submit.disabled:hover,
.ff-btn-submit:disabled,
.ff-btn-submit:disabled:hover,
button[type="submit"].disabled,
button[type="submit"].disabled:hover,
button[type="submit"]:disabled,
button[type="submit"]:disabled:hover,
input[type="submit"].disabled,
input[type="submit"].disabled:hover,
input[type="submit"]:disabled,
input[type="submit"]:disabled:hover,
input[type="button"].disabled,
input[type="button"].disabled:hover,
input[type="button"]:disabled,
input[type="button"]:disabled:hover,
#place_order.disabled,
#place_order.disabled:hover,
#place_order:disabled,
#place_order:disabled:hover,
html .woocommerce a.button.alt.disabled,
html .woocommerce a.button.alt.disabled:hover,
html .woocommerce button.button.alt.disabled,
html .woocommerce button.button.alt.disabled:hover,
html .woocommerce input.button.alt.disabled,
html .woocommerce input.button.alt.disabled:hover,
html .woocommerce a.button.disabled,
html .woocommerce a.button.disabled:hover,
html .woocommerce button.button.disabled,
html .woocommerce button.button.disabled:hover,
html .woocommerce input.button.disabled,
html .woocommerce input.button.disabled:hover,
html .woocommerce a.button.alt:disabled,
html .woocommerce a.button.alt:disabled:hover,
html .woocommerce button.button.alt:disabled,
html .woocommerce button.button.alt:disabled:hover,
html .woocommerce input.button.alt:disabled,
html .woocommerce input.button.alt:disabled:hover,
html .woocommerce a.button:disabled,
html .woocommerce a.button:disabled:hover,
html .woocommerce button.button:disabled,
html .woocommerce button.button:disabled:hover,
html .woocommerce input.button:disabled,
html .woocommerce input.button:disabled:hover,
html .woocommerce a.button.alt:disabled[disabled],
html .woocommerce a.button.alt:disabled[disabled]:hover,
html .woocommerce button.button.alt:disabled[disabled],
html .woocommerce button.button.alt:disabled[disabled]:hover,
html .woocommerce input.button.alt:disabled[disabled],
html .woocommerce input.button.alt:disabled[disabled]:hover,
html .woocommerce a.button:disabled[disabled],
html .woocommerce a.button:disabled[disabled]:hover,
html .woocommerce button.button:disabled[disabled],
html .woocommerce button.button:disabled[disabled]:hover,
html .woocommerce input.button:disabled[disabled],
html .woocommerce input.button:disabled[disabled]:hover {
	background: var(--bmgf-navy);
	color: #fff;
	opacity: .45;
	cursor: not-allowed;
}

/* Woo слага и свой padding (.618em 1em) на неактивните */
html .woocommerce a.button.alt.disabled,
html .woocommerce button.button.alt.disabled,
html .woocommerce input.button.alt.disabled,
html .woocommerce a.button.disabled,
html .woocommerce button.button.disabled,
html .woocommerce input.button.disabled,
html .woocommerce a.button.alt:disabled,
html .woocommerce button.button.alt:disabled,
html .woocommerce input.button.alt:disabled,
html .woocommerce a.button:disabled,
html .woocommerce button.button:disabled,
html .woocommerce input.button:disabled,
html .woocommerce a.button.alt:disabled[disabled],
html .woocommerce button.button.alt:disabled[disabled],
html .woocommerce input.button.alt:disabled[disabled],
html .woocommerce a.button:disabled[disabled],
html .woocommerce button.button:disabled[disabled],
html .woocommerce input.button:disabled[disabled] {
	padding: 0 22px;
}

.bmgf-btn--sm {
	min-height: 40px;
	padding: 0 16px;
	font-size: 14px;
}

.bmgf-btn--ghost {
	background: transparent;
	color: var(--bmgf-navy);
	box-shadow: inset 0 0 0 1.5px var(--bmgf-navy);
}

.bmgf-btn--ghost:hover {
	background: var(--bmgf-sky);
	color: var(--bmgf-navy);
}

.bmgf-btn--light {
	background: #fff;
	color: var(--bmgf-navy);
}

.bmgf-btn--light:hover {
	background: var(--bmgf-sky);
	color: var(--bmgf-navy);
}

.bmgf-btn--gold {
	background: var(--bmgf-gold);
	color: #fff;
}

.bmgf-btn--gold:hover {
	background: var(--bmgf-gold-ink);
}

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

/* ---------- табове (bmg.css 176-178) + Woo .woocommerce-tabs ---------- */
.bmgf-tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: inline-flex;
	gap: 6px;
	background: var(--bmgf-mist);
	border-radius: var(--bmgf-r-pill);
	padding: 5px;
	margin: 0;
	max-width: 100%;
	flex-wrap: wrap;
	list-style: none;
	overflow: visible;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	content: none;
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--bmgf-r-pill);
	background: transparent;
}

.bmgf-tabs__btn,
.bmgf-tabs [role="tab"],
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	border: 0;
	background: transparent;
	padding: 9px 20px;
	border-radius: var(--bmgf-r-pill);
	font-weight: 700;
	font-size: 14.5px;
	cursor: pointer;
	color: var(--bmgf-muted);
	text-decoration: none;
}

.bmgf-tabs__btn[aria-selected="true"],
.bmgf-tabs [role="tab"][aria-selected="true"],
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	background: #fff;
	color: var(--bmgf-navy);
	box-shadow: 0 2px 8px rgba(9, 23, 58, .1);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: transparent;
	border: 0;
}

/* ---------- чипове и пилчета (bmg.css 252-255, 163-165) ---------- */
.bmgf-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bmgf-chip {
	border: 1.5px solid #CCD5E6;
	background: #fff;
	border-radius: var(--bmgf-r-pill);
	padding: 7px 15px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	color: var(--bmgf-ink);
}

.bmgf-chip:hover {
	border-color: var(--bmgf-navy);
	color: var(--bmgf-navy);
}

.bmgf-chip--on,
.bmgf-chip--on:hover {
	background: var(--bmgf-navy);
	border-color: var(--bmgf-navy);
	color: #fff;
}

.bmgf-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.bmgf-pill {
	border: 1.5px solid #CCD5E6;
	background: #fff;
	color: var(--bmgf-navy);
	border-radius: var(--bmgf-r-pill);
	font-weight: 700;
	font-size: 13px;
	padding: 5px 12px;
	cursor: pointer;
	line-height: 1.2;
}

.bmgf-pill[aria-pressed="true"] {
	background: var(--bmgf-navy);
	border-color: var(--bmgf-navy);
	color: #fff;
}

/* ---------- панел (bmg.css 332-335) ---------- */
.bmgf-panel {
	border: 1px solid var(--bmgf-line);
	border-radius: 18px;
	padding: 22px;
	background: #fff;
}

.bmgf-panel + .bmgf-panel {
	margin-top: 16px;
}

.bmgf-panel h2 {
	font-family: var(--bmgf-f-display);
	font-size: 22px;
	line-height: 1.25;
	margin: 0 0 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.bmgf-panel h2 i {
	font-family: var(--bmgf-f-body);
	font-style: normal;
	min-width: 28px;
	min-height: 28px;
	flex: none;
	border-radius: 50%;
	background: var(--bmgf-navy);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 13px;
}

/* ---------- стъпки (bmg.css 324-330) ---------- */
.bmgf-steps {
	display: flex;
	gap: 10px;
	align-items: center;
	padding-block: 22px;
	font-size: 14px;
	color: var(--bmgf-muted);
	flex-wrap: wrap;
}

.bmgf-steps span {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.bmgf-steps i {
	min-width: 26px;
	min-height: 26px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-style: normal;
	font-size: 12.5px;
	background: #E1E6F0;
	color: var(--bmgf-muted);
}

.bmgf-steps .on {
	color: var(--bmgf-navy);
}

.bmgf-steps .on i {
	background: var(--bmgf-navy);
	color: #fff;
}

.bmgf-steps .done i {
	background: var(--bmgf-ok);
	color: #fff;
}

.bmgf-steps hr {
	width: 40px;
	border: 0;
	border-top: 1.5px dashed #C9D1E1;
	margin: 0;
}

/* ---------- форми (bmg.css 356, 370-375) + полетата на Woo ---------- */
.bmgf-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.bmgf-field {
	display: grid;
	gap: 6px;
}

.bmgf-field--full {
	grid-column: 1 / -1;
}

.bmgf-field label,
.woocommerce form .form-row label {
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
	color: #3A4152;
}

.bmgf-field input,
.bmgf-field select,
.bmgf-field textarea,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	border: 1.5px solid #CCD5E6;
	border-radius: 12px;
	padding: 11px 14px;
	width: 100%;
	background: #fff;
	color: var(--bmgf-ink);
}

.bmgf-field input:focus,
.bmgf-field select:focus,
.bmgf-field textarea:focus,
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
	border-color: var(--bmgf-navy);
}

.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid .select2-container .select2-selection {
	border-color: var(--bmgf-red);
}

.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single {
	height: auto;
	min-height: 46px;
	border: 1.5px solid #CCD5E6;
	border-radius: 12px;
	padding: 11px 14px;
	background: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0 18px 0 0;
	line-height: 1.4;
	font-size: 15px;
	color: var(--bmgf-ink);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

.bmgf-check,
.woocommerce-form__label-for-checkbox {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14.5px;
	color: #3A4152;
	cursor: pointer;
}

.bmgf-check input,
.woocommerce-form__label-for-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--bmgf-navy);
	flex: none;
}

/* ---------- таблици (bmg.css 416-423) ---------- */
.bmgf-table,
.woocommerce table.shop_table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
	margin: 0 0 24px;
	font-size: 14.5px;
}

.bmgf-table th,
.woocommerce table.shop_table th {
	text-align: left;
	font-size: 12.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bmgf-muted);
	font-weight: 700;
	line-height: 1.4;
	padding: 10px 8px;
	border: 0;
	border-bottom: 1px solid var(--bmgf-line);
}

.bmgf-table td,
.woocommerce table.shop_table td {
	padding: 13px 8px;
	line-height: 1.5;
	border: 0;
	border-bottom: 1px solid var(--bmgf-line);
}

.bmgf-table td.bmgf-table__num {
	text-align: right;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.bmgf-table .bmgf-plus {
	color: var(--bmgf-ok);
}

.bmgf-table .bmgf-minus {
	color: var(--bmgf-red);
}

.bmgf-table-wrap {
	overflow-x: auto;
}

.bmgf-status {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	border-radius: 6px;
	padding: 2px 8px;
	background: var(--bmgf-ok-soft);
	color: var(--bmgf-ok);
}

/* ---------- съобщения (Woo .woocommerce-message/-info/-error → .bmgf-notice) ---------- */
.bmgf-notice,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 0;
	border-radius: 14px;
	background: var(--bmgf-mist);
	color: var(--bmgf-ink);
	font-size: 14.5px;
	line-height: 1.5;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-message::after,
.woocommerce-info::after,
.woocommerce-error::after {
	content: none;
	display: none;
}

.bmgf-notice--ok,
.woocommerce-message {
	background: var(--bmgf-ok-soft);
	color: #1D4D35;
}

.bmgf-notice--error,
.woocommerce-error {
	background: #FCE9EC;
	color: var(--bmgf-red);
	box-shadow: inset 3px 0 0 var(--bmgf-red);
}

.woocommerce-error li {
	list-style: none;
	margin: 0;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	order: 2;
	min-height: 40px;
	padding: 0 16px;
	font-size: 14px;
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
	font-weight: 700;
}

/* ---------- пагинация (bmg.css 275-277) + Woo ---------- */
.bmgf-pager,
.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap; /* Task 77: 9+ страници на 390 - на втори ред, не вдясно от екрана */
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	margin: 0;
	float: none;
	overflow: visible;
}

.bmgf-pager a,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 38px;
	min-height: 38px;
	padding: 0 4px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	text-decoration: none;
	font-weight: 700;
	font-size: 14.5px;
	line-height: 1;
	color: var(--bmgf-ink);
	border: 1px solid var(--bmgf-line);
	background: #fff;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus {
	background: var(--bmgf-mist);
	color: var(--bmgf-navy);
}

.bmgf-pager a.on,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--bmgf-navy);
	color: #fff;
	border-color: var(--bmgf-navy);
}

/* ---------- трохи (bmg.css 247-249) + Woo ---------- */
.bmgf-crumbs,
.woocommerce nav.woocommerce-breadcrumb.bmgf-crumbs {
	font-size: 13.5px;
	color: var(--bmgf-muted);
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding-block: 18px;
	margin: 0;
}

.bmgf-crumbs a {
	text-decoration: none;
	color: inherit;
}

.bmgf-crumbs a:hover {
	color: var(--bmgf-navy);
}

/* ---------- заглавие на страница (bmg.css 250-251, 453-458) ---------- */
.bmgf-page-head {
	background: var(--bmgf-mist);
	border-bottom: 1px solid var(--bmgf-line);
}

.bmgf-page-head .bmgf-container {
	padding-block: 8px 34px;
	display: grid;
	gap: 12px;
}

.bmgf-page-hero {
	position: relative;
	color: #fff;
	background: var(--bmgf-navy);
}

.bmgf-page-hero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .42;
}

.bmgf-page-hero .bmgf-container {
	position: relative;
	padding-block: 70px;
	display: grid;
	gap: 12px;
}

.bmgf-page-hero .bmgf-h1 {
	color: #fff;
}

.bmgf-page-hero .bmgf-lead {
	color: #DCE4F5;
}

.bmgf-page-hero .bmgf-crumbs {
	color: #C5D2EE;
	padding: 0;
}

/* ---------- prose (bmg.css 429-430) + текстът от редактора ---------- */
.bmgf-prose,
.entry-content {
	color: #3A4152;
	font-size: 16.5px;
}

.bmgf-prose {
	display: grid;
	gap: 14px;
	max-width: 76ch;
}

.bmgf-prose > * {
	margin: 0;
}

:where(.entry-content) p {
	margin: 0 0 1em;
}

:where(.bmgf-prose, .entry-content) h2 {
	font-family: var(--bmgf-f-display);
	font-weight: 700;
	font-size: 27px;
	line-height: 1.2;
	color: var(--bmgf-ink);
	margin: 1.4em 0 .5em;
}

:where(.bmgf-prose, .entry-content) h3 {
	font-family: var(--bmgf-f-display);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.3;
	color: var(--bmgf-ink);
	margin: 1.2em 0 .4em;
}

:where(.bmgf-prose, .entry-content) :is(h2, h3):first-child {
	margin-top: 0;
}

:where(.bmgf-prose, .entry-content) :is(ul, ol) {
	padding-left: 1.4em;
	margin: 0 0 1em;
}

:where(.bmgf-prose, .entry-content) li + li {
	margin-top: .35em;
}

:where(.bmgf-prose, .entry-content) > table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	margin: 0 0 1em;
}

:where(.bmgf-prose, .entry-content) > table th {
	text-align: left;
	font-size: 12.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bmgf-muted);
	font-weight: 700;
	padding: 10px 8px;
	border-bottom: 1px solid var(--bmgf-line);
}

:where(.bmgf-prose, .entry-content) > table td {
	padding: 13px 8px;
	border-bottom: 1px solid var(--bmgf-line);
}

:where(.bmgf-prose, .entry-content) blockquote {
	margin: 0 0 1em;
	padding-left: 1em;
	border-left: 3px solid var(--bmgf-gold);
}

:where(.bmgf-prose, .entry-content) img {
	border-radius: 14px;
}

:where(.bmgf-prose, .entry-content) hr {
	border: 0;
	border-top: 1px solid var(--bmgf-line);
	margin: 1.5em 0;
}

:where(.bmgf-prose, .entry-content) a:not([class]) {
	color: var(--bmgf-navy);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ======================== ТЕЛЕФОН (bmg.css 488-494, 585-588) ======================== */
@media (max-width: 767px) {
	.bmgf-container {
		padding-inline: 16px;
	}

	.bmgf-h1 {
		font-size: 34px;
	}

	.bmgf-h2 {
		font-size: 27px;
	}

	.bmgf-lead {
		font-size: 16px;
	}

	.bmgf-sec {
		padding-block: 44px;
	}

	.bmgf-sec--tight {
		padding-top: 0;
	}

	.bmgf-sec-head {
		margin-bottom: 18px;
	}

	.bmgf-fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.bmgf-panel {
		padding: 16px;
	}

	.bmgf-steps {
		font-size: 12.5px;
		gap: 6px;
	}

	.bmgf-steps hr {
		width: 14px;
	}

	.bmgf-page-hero .bmgf-container {
		padding-block: 44px;
	}
}

/* Размерите от inline style="font-size" в предложението - важат на всички ширини (след @media). */
.bmgf-h1--44 {
	font-size: 44px;
}

.bmgf-h1--40 {
	font-size: 40px;
}

.bmgf-h1--38 {
	font-size: 38px;
}

.bmgf-h2--30 {
	font-size: 30px;
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none;
		scroll-behavior: auto;
	}
}
