/* PAGES-02: explicit template on the frontend, content sections in its editor. */
.scc-content-page {
	color: var(--scc-brand-foreground);
	background: var(--scc-brand-background);
	font-family: var(--scc-font-family-sans);
	font-size: var(--scc-type-body-large-size);
	line-height: var(--scc-type-body-large-line-height);
}

.scc-content-page__header { margin-block-end: var(--scc-space-8); }
.scc-content-page__header h1 { font-size: var(--scc-type-h1-size); line-height: var(--scc-type-h1-line-height); }
.scc-content-page__body > * + * { margin-block-start: var(--scc-space-6); }
.scc-content-page__body > .scc-content-section + .scc-content-section { margin-block-start: var(--scc-space-10); }
.scc-content-page__body > :not(.scc-content-section):not(.wp-block-columns):not(.wp-block-gallery) { max-inline-size: 72ch; }
.scc-content-page__pagination { margin-block-start: var(--scc-space-7); }

:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section {
	box-sizing: border-box;
	min-inline-size: 0;
	color: var(--scc-brand-foreground);
	font-family: var(--scc-font-family-sans);
	font-size: var(--scc-type-body-large-size);
	line-height: var(--scc-type-body-large-line-height);
	overflow-wrap: anywhere;
	scroll-margin-block-start: var(--scc-space-7);
}
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :where(h2, h3, p, figure) { margin-block: 0; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :where(h2) { font-size: var(--scc-type-h2-size); line-height: var(--scc-type-h2-line-height); font-weight: 600; text-wrap: balance; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :where(h3) { font-size: var(--scc-type-h3-size); line-height: var(--scc-type-h3-line-height); font-weight: 600; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :where(p) { max-inline-size: 72ch; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section > * + *,
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-column > * + * { margin-block-start: var(--scc-space-5); }

:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--scc-space-7);
	margin-block-end: 0;
}
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-column { min-inline-size: 0; margin: 0; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :where(img) { display: block; max-inline-size: 100%; block-size: auto; object-fit: contain; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-image img { inline-size: 100%; }
.scc-content-page .scc-content-section .wp-block-image img:not([src]) { display: none; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :where(figcaption) { margin-block-start: var(--scc-space-2); color: var(--scc-brand-muted); font-size: var(--scc-type-body-size); }

:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--scc-space-3); }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-button { max-inline-size: 100%; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-button__link,
.scc-content-page .scc-content-inquiry .fluentform .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-block-size: var(--scc-control-min-target);
	max-inline-size: 100%;
	padding: var(--scc-space-3) var(--scc-space-5);
	border: 1px solid var(--scc-brand-primary-background);
	border-radius: var(--scc-control-radius);
	background: var(--scc-brand-primary-background);
	color: var(--scc-color-white);
	font: inherit;
	font-size: var(--scc-type-button-size);
	font-weight: 600;
	line-height: var(--scc-type-button-line-height);
	text-align: center;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: anywhere;
}
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .is-style-outline .wp-block-button__link { color: var(--scc-brand-foreground); background: var(--scc-brand-background); border-color: var(--scc-brand-border); }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-button__link:hover,
.scc-content-page .scc-content-inquiry .fluentform .ff-btn-submit:hover { background: color-mix(in srgb, var(--scc-brand-primary-background) 90%, var(--scc-color-ink)); border-color: var(--scc-brand-primary-background); color: var(--scc-color-white); text-decoration: none; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .is-style-outline .wp-block-button__link:hover { background: var(--scc-brand-foreground); border-color: var(--scc-brand-foreground); color: var(--scc-color-white); }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :where(a:not(.wp-block-button__link)) { color: var(--scc-brand-primary-background); text-underline-offset: var(--scc-space-1); }
.scc-content-page :where(a, button, input, select, textarea, summary):focus-visible,
.editor-styles-wrapper .scc-content-section :where(a, button, input, select, textarea, summary):focus-visible { outline: var(--scc-focus-ring-width) solid var(--scc-brand-primary-background); outline-offset: var(--scc-focus-ring-offset); }
.scc-content-page .scc-content-inquiry .fluentform .ff-btn-submit:disabled { background: var(--scc-brand-border); border-color: var(--scc-brand-border); color: var(--scc-brand-foreground); cursor: not-allowed; }

:where(.scc-content-page, .editor-styles-wrapper) .scc-content-offers .wp-block-column { padding-block: var(--scc-space-6); border-block-start: 1px solid var(--scc-brand-border); }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .scc-content-steps { gap: var(--scc-space-6); }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .scc-content-gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--scc-space-6);
}
/* Bound the native gallery's percentage width to its grid track, without !important. */
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .scc-content-gallery.wp-block-gallery > .wp-block-image { min-inline-size: 100%; max-inline-size: 100%; inline-size: 100%; margin: 0; align-self: start; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .scc-content-gallery.wp-block-gallery > .wp-block-image img { inline-size: 100%; block-size: auto; object-fit: contain; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .scc-content-gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: static; color: var(--scc-brand-muted); background: none; text-shadow: none; padding: var(--scc-space-2) 0 0; text-align: start; max-height: none; overflow: visible; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .scc-content-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before { display: none; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-faq .wp-block-details { padding-block: var(--scc-space-4); border-block-end: 1px solid var(--scc-brand-border); }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-faq summary { box-sizing: border-box; min-block-size: var(--scc-control-min-target); padding-block: var(--scc-space-3); cursor: pointer; font-weight: 600; }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-faq .wp-block-details p { margin-block-start: var(--scc-space-3); }
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-final { padding-block: var(--scc-space-7); border-block-start: 1px solid var(--scc-brand-border); }

/* Future Fluent Forms embed only: no form is created or enabled by these rules. */
.scc-content-page .scc-content-inquiry .fluentform { max-inline-size: 100%; }
.scc-content-page .scc-content-inquiry .ff-el-group { margin-block-end: var(--scc-space-5); }
.scc-content-page .scc-content-inquiry :where(.ff-el-input--label, .ff-el-form-control) { font: inherit; }
.scc-content-page .scc-content-inquiry .ff-el-form-control { box-sizing: border-box; min-block-size: var(--scc-control-min-target); max-inline-size: 100%; border: 1px solid var(--scc-brand-border); border-radius: var(--scc-control-radius); background: var(--scc-brand-background); color: var(--scc-brand-foreground); padding: var(--scc-space-3); }
.scc-content-page .scc-content-inquiry :where(.ff-el-form-check-label, .error) { overflow-wrap: anywhere; }

/* PAGES-06A: Fluent Forms 6.2.16; no selectors outside the inquiry areas. */
.scc-content-page .scc-content-inquiry .fluentform { --fluentform-primary: var(--scc-brand-primary-background); --fluentform-secondary: var(--scc-brand-foreground); --fluentform-danger: #a00; }
.scc-content-page .scc-content-inquiry .fluentform .ff-el-form-control { inline-size: 100%; min-inline-size: 0; font-size: var(--scc-type-body-large-size); line-height: var(--scc-type-body-large-line-height); }
.scc-content-page .scc-content-inquiry .fluentform textarea.ff-el-form-control { min-block-size: calc(var(--scc-space-10) * 2); resize: vertical; }
.scc-content-page .scc-content-inquiry .fluentform .ff-el-input--label { margin-block-end: var(--scc-space-2); font-size: var(--scc-type-body-large-size); font-weight: 600; }
.scc-content-page .scc-content-inquiry .fluentform .ff-el-input--label.ff-el-is-required label::before,
.scc-content-page .scc-content-inquiry .fluentform .ff-el-input--label.ff-el-is-required label::after { color: #a00; }
.scc-content-page .scc-content-inquiry .fluentform .ff-el-form-control:focus { border-color: var(--scc-brand-primary-background); box-shadow: none; }
.scc-content-page .scc-content-inquiry .fluentform :where(input, select, textarea, button, a):focus-visible { outline: var(--scc-focus-ring-width) solid var(--scc-brand-primary-background); outline-offset: var(--scc-focus-ring-offset); }
.scc-content-page .scc-content-inquiry .fluentform .ff-el-form-check-label { display: inline-flex; align-items: flex-start; gap: var(--scc-space-2); min-block-size: var(--scc-control-min-target); max-inline-size: 100%; padding-block: var(--scc-space-2); font-size: var(--scc-type-body-large-size); line-height: var(--scc-type-body-large-line-height); }
.scc-content-page .scc-content-inquiry .fluentform .ff-el-form-check-input { position: static; flex: 0 0 auto; inline-size: var(--scc-space-5); block-size: var(--scc-space-5); margin: var(--scc-space-1) 0 0; accent-color: var(--scc-brand-primary-background); }
.scc-content-page .scc-content-inquiry .fluentform .ff-el-is-error .ff-el-form-control,
.scc-content-page .scc-content-inquiry .fluentform .ff-el-form-control[aria-invalid="true"] { border-color: #a00; }
.scc-content-page .scc-content-inquiry .fluentform :where(.error, .text-danger),
.scc-content-page .scc-content-inquiry .fluentform .ff-el-is-error .text-danger { color: #a00; font-size: var(--scc-type-body-size); line-height: var(--scc-type-body-line-height); margin-block-start: var(--scc-space-2); overflow-wrap: anywhere; }
.scc-content-page .scc-content-inquiry .ff-errors-in-stack { margin-block-start: var(--scc-space-4); padding: 0; border: 0; background: transparent; box-shadow: none; color: #a00; font-size: var(--scc-type-body-size); line-height: var(--scc-type-body-line-height); overflow-wrap: anywhere; }
.scc-content-page .scc-content-inquiry .ff-errors-in-stack .error { font-size: inherit; line-height: inherit; }
.scc-content-page .scc-content-inquiry .ff-message-success { box-sizing: border-box; margin-block-start: var(--scc-space-6); padding: var(--scc-space-4); border: 1px solid var(--scc-brand-border); border-radius: var(--scc-control-radius); background: var(--scc-brand-background); box-shadow: none; color: var(--scc-brand-foreground); font-size: var(--scc-type-body-large-size); line-height: var(--scc-type-body-large-line-height); overflow-wrap: anywhere; }
.scc-content-page .scc-content-inquiry .fluentform .ff-btn-submit:disabled,
.scc-content-page .scc-content-inquiry .fluentform .ff-btn-submit.disabled { background: var(--scc-brand-border); border-color: var(--scc-brand-border); color: var(--scc-brand-foreground); opacity: 1; cursor: not-allowed; }
.scc-content-page .scc-content-inquiry .fluentform .ff_submitting .ff-btn-submit,
.scc-content-page .scc-content-inquiry .fluentform .ff-btn-submit.ff-working,
.scc-content-page .scc-content-inquiry .fluentform .ff-form-loading .ff-btn-submit { cursor: wait; }
.scc-content-page .scc-content-inquiry .fluentform .ff-el-form-control:disabled { background: var(--scc-brand-background); color: var(--scc-brand-muted); cursor: not-allowed; }
/* Only a calendar placed inside this section can inherit these local styles. */
.scc-content-page .scc-content-inquiry .flatpickr-calendar { box-sizing: border-box; max-inline-size: 100%; border: 1px solid var(--scc-brand-border); border-radius: var(--scc-control-radius); background: var(--scc-brand-background); color: var(--scc-brand-foreground); box-shadow: none; font-family: var(--scc-font-family-sans); }
.scc-content-page .scc-content-inquiry .flatpickr-calendar .flatpickr-day.selected { background: var(--scc-brand-primary-background); border-color: var(--scc-brand-primary-background); color: var(--scc-color-white); }
.scc-content-page .scc-content-inquiry .flatpickr-calendar :where(.flatpickr-day, select, input):focus-visible { outline: var(--scc-focus-ring-width) solid var(--scc-brand-primary-background); outline-offset: var(--scc-focus-ring-offset); }
@media (max-width: 767px) {
	.scc-content-page .scc-content-inquiry .fluentform .ff-t-container { display: block; }
	.scc-content-page .scc-content-inquiry .fluentform .ff-t-cell { display: block; inline-size: 100%; min-inline-size: 0; padding-inline: 0; }
	.scc-content-page .scc-content-inquiry .fluentform .ff-btn-submit { inline-size: 100%; }
}

@media (min-width: 768px) {
	:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .scc-content-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.scc-content-page__header h1 { font-size: var(--scc-type-h1-desktop-size); }
	:where(.scc-content-page, .editor-styles-wrapper) .scc-content-hero .wp-block-columns { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: var(--scc-space-9); }
	:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .scc-content-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .scc-content-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.scc-content-page__body > .scc-content-section + .scc-content-section { margin-block-start: var(--scc-space-8); }
	:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-buttons > .wp-block-button { inline-size: 100%; }
	:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section .wp-block-button__link { inline-size: 100%; }
}

/* PAGES-11H: Dekoracje na zamówienie. */
.scc-decoration-page .scc-content-page {
	--scc-decoration-section-gap: clamp(2.5rem, 5vw, 4rem);
	--scc-decoration-panel-padding: clamp(1rem, 3.5vw, 2rem);
	--scc-decoration-reading-width: 50rem;
	--scc-decoration-radius: var(--scc-space-3);
	padding-block: var(--scc-decoration-section-gap);
}

.scc-decoration-page .scc-content-page__header {
	margin-block-end: var(--scc-space-4);
}

.scc-decoration-page .scc-content-page__header h1 {
	max-inline-size: 20ch;
	font-size: clamp(2.25rem, 4.8vw, 3.75rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.scc-decoration-page .scc-content-page__body > * + * {
	margin-block-start: var(--scc-decoration-section-gap);
}

.scc-decoration-page .scc-content-hero {
	padding-block-end: clamp(1.5rem, 4vw, 3rem);
	border-block-end: 1px solid var(--scc-brand-border);
}

.scc-decoration-page .scc-content-hero > p { max-inline-size: 58ch; }
.scc-decoration-page .scc-content-hero > .wp-block-buttons { margin-block-start: var(--scc-space-6); }

.scc-decoration-page .scc-content-offers .wp-block-columns,
.scc-decoration-page .scc-content-steps { gap: var(--scc-space-4); }

.scc-decoration-page .scc-content-offers .wp-block-column {
	display: flex;
	flex-direction: column;
	gap: var(--scc-space-4);
	padding: var(--scc-decoration-panel-padding);
	border: 1px solid var(--scc-brand-border);
	border-radius: var(--scc-decoration-radius);
}

.scc-decoration-page .scc-content-offers .wp-block-column > * + * { margin-block-start: 0; }
.scc-decoration-page .scc-content-offers .wp-block-column > .wp-block-buttons {
	margin-block-start: auto;
	padding-block-start: var(--scc-space-2);
}

.scc-decoration-page .scc-content-steps > .wp-block-column {
	padding: var(--scc-space-4);
	border: 1px solid var(--scc-brand-border);
	border-radius: var(--scc-decoration-radius);
}

.scc-decoration-page .scc-content-steps h3 { color: var(--scc-brand-primary-background); }
.scc-decoration-page .scc-content-steps > .wp-block-column > p { margin-block-start: var(--scc-space-2); }

.scc-decoration-page .scc-content-inquiry#zapytanie,
.scc-decoration-page .scc-content-faq {
	max-inline-size: var(--scc-decoration-reading-width);
	margin-inline: auto;
}

.scc-decoration-page #zapytanie > h2,
.scc-decoration-page .scc-content-faq > h2,
.scc-decoration-page .scc-content-final > h2 {
	font-size: clamp(1.625rem, 3vw, 2.25rem);
	line-height: 1.15;
}

.scc-decoration-page .scc-content-inquiry#zapytanie {
	padding-block-start: var(--scc-space-5);
}

.scc-decoration-page #zapytanie form.frm-fluent-form[data-form_id="5"] {
	box-sizing: border-box;
	max-inline-size: 100%;
	padding: var(--scc-decoration-panel-padding);
	border: 1px solid var(--scc-brand-border);
	border-radius: var(--scc-decoration-radius);
	background: var(--scc-brand-background);
}

.scc-decoration-page #zapytanie [data-form_id="5"] .ff-el-form-control { min-block-size: var(--scc-space-9); }
.scc-decoration-page #zapytanie [data-form_id="5"] textarea.ff-el-form-control { min-block-size: calc(2 * var(--scc-space-10)); }

.scc-decoration-page #zapytanie [data-form_id="5"] .ff-custom_html {
	margin-block: var(--scc-space-6) var(--scc-space-4);
	padding-block-start: var(--scc-space-4);
	border-block-start: 1px solid var(--scc-brand-border);
	font-size: var(--scc-type-body-size);
	line-height: var(--scc-type-body-large-line-height);
}

.scc-decoration-page #zapytanie [data-form_id="5"] .ff-custom_html p + p { margin-block-start: var(--scc-space-2); }
.scc-decoration-page #zapytanie [data-form_id="5"] .ff-custom_html a { text-decoration: underline; }
.scc-decoration-page #zapytanie [data-form_id="5"] .ff_submit_btn_wrapper { margin-block-end: 0; }
.scc-decoration-page #zapytanie [data-form_id="5"] .ff-btn-submit {
	min-block-size: var(--scc-space-9);
	padding-inline: var(--scc-space-6);
}

.scc-decoration-page .scc-content-faq .wp-block-details {
	padding: 0;
	border: 1px solid var(--scc-brand-border);
	border-radius: var(--scc-decoration-radius);
	background: var(--scc-brand-background);
}

.scc-decoration-page .scc-content-faq .wp-block-details + .wp-block-details { margin-block-start: var(--scc-space-2); }

.scc-decoration-page .scc-content-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--scc-space-3);
	padding: var(--scc-space-3) var(--scc-space-4);
	list-style: none;
	border-radius: inherit;
}

.scc-decoration-page .scc-content-faq summary::-webkit-details-marker { display: none; }
.scc-decoration-page .scc-content-faq summary::after {
	flex: 0 0 auto;
	inline-size: 0.5em;
	block-size: 0.5em;
	margin-inline-end: 0.25em;
	border-inline-end: 2px solid var(--scc-brand-primary-background);
	border-block-end: 2px solid var(--scc-brand-primary-background);
	transform: translateY(-0.12em) rotate(45deg);
	content: "";
}

.scc-decoration-page .scc-content-faq details[open] > summary::after { transform: translateY(0.12em) rotate(225deg); }
.scc-decoration-page .scc-content-faq .wp-block-details > p {
	margin-block-start: 0;
	padding: 0 var(--scc-space-4) var(--scc-space-4);
}

.scc-decoration-page .scc-content-final {
	padding: clamp(1.25rem, 4vw, 3rem);
	border: 1px solid var(--scc-brand-border);
	border-radius: var(--scc-decoration-radius);
	background: var(--scc-brand-background);
}

/* Apply the same spacing with or without the Gutenberg Group inner container. */
.scc-decoration-page :is(#zapytanie, #zapytanie > .wp-block-group__inner-container) > h2 + .fluentform,
.scc-decoration-page :is(.scc-content-faq, .scc-content-faq > .wp-block-group__inner-container) > h2 + .wp-block-details {
	margin-block-start: var(--scc-space-6);
}

.scc-decoration-page :is(.scc-content-final, .scc-content-final > .wp-block-group__inner-container) > h2 + p {
	margin-block-start: var(--scc-space-3);
}

.scc-decoration-page :is(.scc-content-final, .scc-content-final > .wp-block-group__inner-container) > p + .wp-block-buttons {
	margin-block-start: var(--scc-space-4);
}

/* PAGES-12: opt in through the three Contact groups. */
.scc-content-page:has(.scc-contact-hero) .scc-content-page__header {
	margin-block-end: var(--scc-space-6);
}

.scc-content-page:has(.scc-contact-hero) .scc-content-page__header h1 {
	font-size: clamp(2.25rem, 4.8vw, 3.75rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.scc-content-page :is(.scc-contact-hero, .scc-contact-inquiry, .scc-contact-final) h2 {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.2;
}

.scc-content-page .scc-contact-hero p { max-inline-size: 58ch; }

.scc-content-page .scc-contact-hero + .scc-contact-inquiry,
.scc-content-page .scc-contact-inquiry + .scc-contact-final {
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
}

.scc-content-page :is(.scc-contact-inquiry, .scc-contact-final) {
	padding: clamp(1.25rem, 4vw, 3rem);
	border: 0;
	border-radius: var(--scc-space-3);
	background: color-mix(in srgb, var(--scc-brand-primary-background) 6%, var(--scc-brand-background));
}

.scc-content-page .scc-contact-inquiry :is(h2, .fluentform) {
	max-inline-size: min(100%, 800px);
	margin-inline: 0 auto;
}

.scc-content-page :is(.scc-contact-inquiry, .scc-contact-inquiry > .wp-block-group__inner-container) > h2 + .fluentform {
	margin-block-start: var(--scc-space-6);
}

.scc-content-page .scc-contact-inquiry form.frm-fluent-form[data-form_id="4"] {
	box-sizing: border-box;
	padding: clamp(1rem, 3.5vw, 2rem);
	border: 1px solid var(--scc-brand-border);
	border-radius: var(--scc-space-3);
	background: var(--scc-brand-background);
}

.scc-content-page .scc-contact-inquiry :where([data-form_id="4"]) .ff-el-form-control {
	min-block-size: var(--scc-space-9);
	border-color: var(--scc-brand-muted);
}

.scc-content-page .scc-contact-inquiry [data-form_id="4"] .ff-el-form-control::placeholder {
	color: var(--scc-brand-muted);
	opacity: 1;
}

.scc-content-page .scc-contact-inquiry [data-form_id="4"] .ff-custom_html {
	margin-block: var(--scc-space-6) var(--scc-space-4);
	padding-block-start: var(--scc-space-4);
	border-block-start: 1px solid var(--scc-brand-border);
	line-height: var(--scc-type-body-large-line-height);
}

.scc-content-page .scc-contact-inquiry [data-form_id="4"] .ff-custom_html a { text-decoration: underline; }
.scc-content-page .scc-contact-inquiry [data-form_id="4"] .ff_submit_btn_wrapper { margin-block-end: 0; }
.scc-content-page .scc-contact-inquiry [data-form_id="4"] .ff-btn-submit { min-block-size: var(--scc-space-9); }

.scc-content-page :is(.scc-contact-hero, .scc-contact-hero > .wp-block-group__inner-container, .scc-contact-final, .scc-contact-final > .wp-block-group__inner-container) > h2 + p {
	margin-block-start: var(--scc-space-3);
}

.scc-content-page :is(.scc-contact-final, .scc-contact-final > .wp-block-group__inner-container) > p + .wp-block-buttons {
	margin-block-start: var(--scc-space-4);
}

/* PAGES-13/14: opt in through the editorial groups of About and Inspirations. */
.scc-content-page:has(.scc-editorial-hero) .scc-content-page__header { margin-block-end: var(--scc-space-6); }

.scc-content-page:has(.scc-editorial-hero) .scc-content-page__header h1 {
	font-size: clamp(2.25rem, 4.8vw, 3.75rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.scc-content-page :is(.scc-editorial-hero, .scc-editorial-story, .scc-editorial-gallery, .scc-editorial-ideas, .scc-editorial-final) p {
	max-inline-size: 65ch;
}

.scc-content-page:has(.scc-about-hero__layout) .scc-editorial-offers .wp-block-column {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--scc-brand-border);
	border-radius: var(--scc-space-3);
}

.scc-content-page :is(.scc-editorial-gallery, .scc-editorial-final) {
	padding: clamp(1.25rem, 4vw, 3rem);
	border: 1px solid var(--scc-brand-border);
	border-radius: var(--scc-space-3);
	background: color-mix(in srgb, var(--scc-color-line) 30%, var(--scc-brand-background));
}

.scc-content-page .scc-editorial-ideas h3 { margin-block-start: var(--scc-space-6); }

.scc-content-page :is(.scc-editorial-topics, .scc-editorial-topics > .wp-block-group__inner-container) > h2 + .wp-block-buttons {
	margin-block-start: var(--scc-space-4);
}


/* PAGES-16: native Gutenberg hero grids; only a populated image reserves a column. */
:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :is(.scc-about-hero__layout, .scc-decoration-hero__layout) {
	--scc-hero-gap: var(--scc-space-6);
	display: grid;
	gap: var(--scc-hero-gap);
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
}

:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :is(.scc-about-hero__image, .scc-decoration-hero__image) {
	inline-size: 100%;
	max-inline-size: 480px;
	margin: 0;
}

.scc-content-page :is(.scc-about-hero__image, .scc-decoration-hero__image):not(:has(img[src]:not([src=""]))) {
	display: none;
}

.scc-content-page .scc-decoration-hero__image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

@media (min-width: 769px) {
	.scc-content-page .scc-content-section :is(.scc-about-hero__layout, .scc-decoration-hero__layout):has(> :is(.scc-about-hero__image, .scc-decoration-hero__image) img[src]:not([src=""])),
	.editor-styles-wrapper .scc-content-section :is(.scc-about-hero__layout, .scc-decoration-hero__layout) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :is(.scc-about-hero__image, .scc-decoration-hero__image) {
		justify-self: end;
	}
}

@media (min-width: 1024px) {
	:where(.scc-content-page, .editor-styles-wrapper) .scc-content-section :is(.scc-about-hero__layout, .scc-decoration-hero__layout) {
		--scc-hero-gap: var(--scc-space-7);
	}
}

.scc-content-page:has(.scc-about-hero__layout) .scc-editorial-offers .wp-block-column:has(> .wp-block-buttons) {
	display: flex;
	flex-direction: column;
}

.scc-content-page:has(.scc-about-hero__layout) .scc-editorial-offers .wp-block-column > .wp-block-buttons {
	margin-block-start: auto;
	padding-block-start: var(--scc-space-5);
}

.scc-content-page .scc-shipping-information {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--scc-brand-border);
	border-radius: var(--scc-space-3);
	background: var(--scc-brand-background);
}

.scc-content-page .scc-shipping-information .wp-block-list {
	padding-inline-start: 1.4em;
}

.scc-content-page .scc-shipping-information li + li {
	margin-block-start: var(--scc-space-2);
}

/* PAGES-17 FIX01: strona dostawy ID 77, po przypisaniu szablonu treściowego. */
.page-id-77 .scc-content-page__article:has(.scc-delivery) .scc-content-page__header {
	margin-block-end: var(--scc-space-5);
}

.page-id-77 .scc-content-page__article:has(.scc-delivery) .scc-content-page__header h1 {
	font-size: clamp(2.25rem, 4.8vw, 3.75rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.page-id-77 .scc-delivery h2 {
	font-size: clamp(1.375rem, 3vw, 2rem);
}

.page-id-77 .scc-content-page .scc-delivery:not(:has(> .wp-block-group__inner-container)),
.page-id-77 .scc-content-page .scc-delivery > .wp-block-group__inner-container {
	display: grid;
	gap: clamp(var(--scc-space-7), 5vw, var(--scc-space-9));
}

.page-id-77 .scc-delivery:not(:has(> .wp-block-group__inner-container)) > *,
.page-id-77 .scc-delivery > .wp-block-group__inner-container > * {
	margin-block: 0;
}

.page-id-77 .scc-delivery__grid {
	margin-block-start: var(--scc-space-5);
}

.page-id-77 .scc-delivery__grid:not(:has(> .wp-block-group__inner-container)),
.page-id-77 .scc-delivery__grid > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: var(--scc-delivery-columns, minmax(0, 1fr));
	gap: var(--scc-space-4);
}

.page-id-77 .scc-delivery__card {
	box-sizing: border-box;
	min-inline-size: 0;
	margin: 0;
	padding: clamp(var(--scc-space-5), 2vw, var(--scc-space-7));
	border: 1px solid var(--scc-brand-border);
	border-radius: var(--scc-space-3);
	background: var(--scc-brand-background);
}

.page-id-77 .scc-delivery :is(.scc-delivery__card, .scc-delivery__detail) > p,
.page-id-77 .scc-delivery :is(.scc-delivery__card, .scc-delivery__detail)
	> .wp-block-group__inner-container > p {
	margin-block-start: var(--scc-space-3);
}

.page-id-77 .scc-delivery__detail {
	padding-block-start: var(--scc-space-5);
	border-block-start: 1px solid var(--scc-brand-border);
}

.page-id-77 .scc-delivery__cost {
	border-block-start-color: var(--scc-brand-primary-background);
}

@media (min-width: 768px) {
	.page-id-77 .scc-delivery__grid {
		--scc-delivery-columns: repeat(3, minmax(0, 1fr));
	}
}
