/* Native long-form category content, with optional secondary product spreads. */
.category-editorial-copy > .wp-block-group > * + * { margin-top: var(--cr-space-copy); }
.category-editorial-copy h2 { max-width: var(--cr-heading-measure, 23ch); }
.category-editorial-copy h3 { margin-top: var(--cr-space-7); }
.category-editorial-copy p { max-width: var(--cr-measure); }
.category-editorial-section--guanciali-scelta { padding-top: 0; }
.category-editorial-section--role-esigenze,
.category-editorial-section--role-showroom { background: var(--cr-color-paper); }
.category-editorial-actions { margin-top: var(--cr-space-actions); }
.category-editorial-products { display: grid; gap: var(--cr-space-7); margin-top: var(--cr-space-7); }
.category-editorial-section--role-finale { border-top: var(--cr-border); }
.category-editorial-section--role-finale .category-editorial-copy p { max-width: var(--cr-measure-wide); }
.category-editorial-section--role-finale h2 { font-size: var(--cr-text-cta); }
@media (min-width: 52rem) {
    .category-editorial-section:not(.category-editorial-section--role-intro):not(.category-editorial-section--role-finale) .category-editorial-copy > .wp-block-group { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: var(--cr-space-5) var(--cr-space-8); align-items: start; }
    .category-editorial-copy > .wp-block-group > h2 { grid-column: 1; grid-row: 1 / span var(--cr-editorial-body-rows, 1); }
    .category-editorial-copy > .wp-block-group > :is(p,h3) { grid-column: 2; margin-top: 0; }
    .category-editorial-section--role-intro .category-editorial-copy p,
    .category-editorial-section--role-finale .category-editorial-copy p { margin-top: var(--cr-space-copy); }
    .category-editorial-section--role-tipologie .category-editorial-copy h3:not(:first-of-type) { margin-top: var(--cr-space-6); }
}

.category-editorial-section--materassi-concetto,
.category-editorial-section--materassi-sistema { background: var(--cr-color-paper); }
.category-editorial-showroom-media { margin-top: var(--cr-space-7); }

/* Reti: a single editorial sequence, with a full-width motorized-bed film. */
.category-editorial-section--reti-motorizzate,
.category-editorial-section--reti-sistema { background: var(--cr-color-paper); }
.category-editorial-motorized-media { margin-top: var(--cr-space-7); aspect-ratio: 16 / 9; }
.category-editorial-motorized-media video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Letti: native editorial blocks, with images editable in Gutenberg. */
.category-editorial-hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.category-editorial-section--letti-intro .wp-block-image { margin-top: var(--cr-space-7); }
.category-editorial-section--letti-intro .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.category-editorial-section--letti-scelta,
.category-editorial-section--letti-senza-contenitore,
.category-editorial-section--letti-sistema { background: var(--cr-color-paper); }
.category-editorial-section--letti-contenitore,
.category-editorial-section--letti-senza-contenitore,
.category-editorial-section--letti-imbottiti,
.category-editorial-section--letti-compatibilita { padding-block: var(--cr-space-section-compact); }
.category-editorial-section--letti-sistema { padding-block: var(--cr-space-section-compact); }
.category-editorial-container-media { margin: var(--cr-space-6) 0 0; }
.category-editorial-container-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 52rem) {
    :is(.category-editorial-section--letti-contenitore, .category-editorial-section--divani-letto-praticita, .category-editorial-section--poltrone-relax-praticita):has(.category-editorial-container-media) .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        grid-template-rows: auto 1fr;
        gap: var(--cr-space-copy) var(--cr-space-7);
        align-items: start;
    }
    :is(.category-editorial-section--letti-contenitore, .category-editorial-section--divani-letto-praticita, .category-editorial-section--poltrone-relax-praticita):has(.category-editorial-container-media) .category-editorial-copy,
    .category-editorial-page .category-editorial-section:is(.category-editorial-section--letti-contenitore, .category-editorial-section--divani-letto-praticita, .category-editorial-section--poltrone-relax-praticita):has(.category-editorial-container-media) .category-editorial-copy > .wp-block-group { display: contents; }
    :is(.category-editorial-section--letti-contenitore, .category-editorial-section--divani-letto-praticita, .category-editorial-section--poltrone-relax-praticita):has(.category-editorial-container-media) .category-editorial-copy h2 { grid-column: 1; grid-row: 1; max-width: var(--cr-heading-measure, 18ch); }
    :is(.category-editorial-section--letti-contenitore, .category-editorial-section--divani-letto-praticita, .category-editorial-section--poltrone-relax-praticita):has(.category-editorial-container-media) .category-editorial-copy p { grid-column: 1; grid-row: 2; max-width: var(--cr-measure-narrow); }
    .category-editorial-container-media { grid-column: 2; grid-row: 1 / -1; margin: 0; }
    .category-editorial-container-media img { aspect-ratio: 4 / 3; }
}

/* Guanciali: page-scoped editorial rhythm; native blocks and media stay intact. */
.category-editorial-section:where([class*="--guanciali-"]) {
    padding-block: var(--cr-space-8);
}
:is(.category-editorial-section--guanciali-scelta, .category-editorial-section--letti-scelta) {
    padding-top: var(--cr-space-6);
    padding-bottom: var(--cr-space-7);
}
.category-editorial-section--guanciali-scelta .category-editorial-principle {
    font-family: var(--cr-font-display);
    font-size: var(--cr-text-h3);
    line-height: var(--cr-leading-heading);
}
.category-editorial-principle strong { font-weight: inherit; }
.category-editorial-section--guanciali-scelta .wp-block-image { margin-top: var(--cr-space-6); }
.category-editorial-section--guanciali-scelta .wp-block-image img { width: 100%; height: auto; }

.category-editorial-section--guanciali-scelta h2 { max-width: var(--cr-heading-measure, 18ch); }
.category-editorial-section--guanciali-esigenze .wp-block-image {
    width: 100%;
    max-width: none;
    margin: var(--cr-space-6) 0 0;
}
.category-editorial-section--guanciali-esigenze .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
}
.category-editorial-section--guanciali-tipologie { padding-block: var(--cr-space-7); }
.category-editorial-section--guanciali-tipologie h2 { max-width: none; }
.category-editorial-section--guanciali-tipologie h3 {
    margin-top: var(--cr-space-4);
    font-size: var(--cr-text-h3);
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: var(--cr-leading-heading);
    max-width: var(--cr-heading-measure, 20ch);
}
/* Parallel aspects, with editable native labels instead of counters. */
.category-editorial-section--guanciali-tipologie .category-editorial-aspect {
    padding-block: var(--cr-space-5);
    margin-top: 0;
    border-top: var(--cr-border);
}
.category-editorial-section--guanciali-tipologie .category-editorial-label {
    margin: 0;
    font-size: var(--cr-text-small);
    font-weight: 600;
    letter-spacing: var(--cr-label-tracking);
    line-height: var(--cr-leading-small);
    color: var(--cr-color-red-text);
}
.category-editorial-section--guanciali-tipologie .category-editorial-aspect > h3:first-child { margin-top: 0; }
.category-editorial-section--guanciali-tipologie .category-editorial-aspect > h3 + p { margin-top: var(--cr-space-4); }

:is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) {
    padding-block: var(--cr-space-section-compact);
    background: var(--cr-color-paper);
}
:is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) h2 {
    position: relative;
    max-width: var(--cr-heading-measure, 12ch);
    font-size: var(--cr-text-h2);
    line-height: var(--cr-leading-heading);
    letter-spacing: -0.045em;
}
:is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) .category-editorial-copy p {
    max-width: var(--cr-measure-narrow);
}
:is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) .category-editorial-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--cr-space-3);
}
.category-editorial-section--guanciali-finale {
    padding-block: var(--cr-space-7);
    background: var(--cr-color-ivory);
    color: var(--cr-color-navy);
    border-top: var(--cr-border);
}
.category-editorial-section--guanciali-finale h2 {
    max-width: var(--cr-heading-measure, 26ch);
    font-size: var(--cr-text-h2);
    line-height: var(--cr-leading-heading);
}
.category-editorial-section--guanciali-finale p { max-width: var(--cr-measure-wide); }

/* Letti closing: one reading column beside the page-selected showroom photo. */
:is(.category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom) h2 { max-width: var(--cr-heading-measure, 18ch); }
:is(.category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom) .category-editorial-showroom-media {
    margin: var(--cr-space-6) 0 0;
    aspect-ratio: 16 / 9;
}
:is(.category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom) .category-editorial-showroom-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 52rem) {
    .category-editorial-page .category-editorial-section:is([class*="--guanciali-"], [class*="--letti-"], [class*="--materassi-"], [class*="--reti-"], [class*="--divani-letto-"], [class*="--poltrone-relax-"]) .category-editorial-copy > .wp-block-group {
        column-gap: var(--cr-space-7);
    }
    .category-editorial-page .category-editorial-section.category-editorial-section--guanciali-scelta .category-editorial-copy > .wp-block-group {
        grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
        grid-template-rows: repeat(3, auto) 1fr;
        row-gap: var(--cr-space-copy);
    }
    .category-editorial-section--guanciali-scelta .category-editorial-copy h2 { grid-column: 1; grid-row: 1; max-width: none; }
    .category-editorial-section--guanciali-scelta .category-editorial-copy p { grid-column: 1; }
    .category-editorial-section--guanciali-scelta .wp-block-image { grid-column: 2; grid-row: 1 / -1; margin: 0; align-self: start; }
    .category-editorial-section--guanciali-scelta .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
    .category-editorial-page .category-editorial-section.category-editorial-section--guanciali-esigenze .category-editorial-copy > .wp-block-group {
        grid-template-columns: 1fr 1.15fr;
        grid-template-rows: auto auto 1fr;
    }
    .category-editorial-section--guanciali-esigenze .category-editorial-copy h2 { grid-column: 1; grid-row: 1; }
    .category-editorial-section--guanciali-esigenze .category-editorial-copy p { grid-column: 1; }
    .category-editorial-section--guanciali-esigenze .wp-block-image {
        grid-column: 2;
        grid-row: 1 / span 3;
        margin: var(--cr-space-7) 0 0;
        width: calc(100% + var(--cr-gutter));
        clip-path: polygon(0 0, calc(100% - var(--cr-brand-cut)) 0, 100% var(--cr-brand-cut), 100% 100%, 0 100%);
    }
    .category-editorial-section--guanciali-esigenze .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; }
    .category-editorial-page .category-editorial-section.category-editorial-section--guanciali-tipologie .category-editorial-copy > .wp-block-group { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .category-editorial-section--guanciali-tipologie .category-editorial-copy h2 { grid-column: 1 / -1; grid-row: auto; }
    .category-editorial-section--guanciali-tipologie .category-editorial-copy h2 + p { grid-column: 1 / -1; max-width: var(--cr-measure-standard); margin-block: var(--cr-space-copy) var(--cr-space-6); }
    .category-editorial-section--guanciali-tipologie .category-editorial-aspect {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        align-items: start;
        gap: var(--cr-space-3) var(--cr-space-6);
        padding-block: clamp(2.25rem, 3.5vw, 3rem);
    }
    .category-editorial-section--guanciali-tipologie .category-editorial-label { grid-column: 1; grid-row: 1; }
    .category-editorial-section--guanciali-tipologie .category-editorial-aspect h3 { grid-column: 1; margin: 0; max-width: none; }
    .category-editorial-section--guanciali-tipologie .category-editorial-aspect > p:not(.category-editorial-label) { grid-column: 2; margin-top: 0; font-size: var(--cr-text-body); max-width: none; }
    .category-editorial-section--guanciali-tipologie .category-editorial-aspect > h3 + p { grid-row: 1; margin-top: 0; }
    .category-editorial-section--guanciali-tipologie .category-editorial-label + h3 + p { grid-row: 1 / span 2; }
    .category-editorial-section--letti-intro .wp-block-image { grid-column: 1 / -1; margin: 0; }
    /* Shared compact closing: Guanciali is the reference composition. */
    :is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) .container {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: var(--cr-space-4) var(--cr-space-7);
        align-items: start;
    }
    :is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) .category-editorial-copy,
    .category-editorial-page .category-editorial-section:is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) .category-editorial-copy > .wp-block-group { display: contents; }
    :is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) .category-editorial-copy h2 { grid-column: 1; grid-row: 1 / -1; margin: 0; }
    :is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) .category-editorial-copy p { grid-column: 2; margin: 0; max-width: var(--cr-measure-narrow); font-size: var(--cr-text-body); }
    :is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) .category-editorial-copy p:first-of-type { grid-row: 1; }
    :is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) .category-editorial-copy p + p { grid-row: 2; }
    :is(.category-editorial-section--guanciali-showroom, .category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom, .category-editorial-section--divani-letto-showroom, .category-editorial-section--poltrone-relax-showroom) .category-editorial-actions {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
    }
    :is(.category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom) .container {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        grid-template-rows: auto auto 1fr;
        row-gap: var(--cr-space-copy);
    }
    :is(.category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom) .category-editorial-copy h2 {
        grid-column: 1;
        grid-row: 1;
    }
    :is(.category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom) .category-editorial-copy p:first-of-type {
        grid-column: 1;
        grid-row: 2;
        max-width: var(--cr-measure-narrow);
    }
    :is(.category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom) .category-editorial-actions {
        grid-column: 1;
        grid-row: 3;
    }
    :is(.category-editorial-section--letti-showroom, .category-editorial-section--materassi-showroom, .category-editorial-section--reti-showroom) .category-editorial-showroom-media {
        grid-column: 2;
        grid-row: 1 / -1;
        align-self: start;
        margin: 0;
        aspect-ratio: 5 / 4;
    }
    .category-editorial-section--guanciali-finale .container { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--cr-space-7); align-items: center; }
    .category-editorial-section--guanciali-finale .category-editorial-actions { align-items: center; flex-direction: row; justify-content: flex-end; justify-self: end; gap: var(--cr-space-4); margin: 0; max-width: 28rem; }

}
@media (max-width: 35rem) {
    .category-editorial-section[class*="--guanciali-"] .category-editorial-actions { align-items: stretch; flex-direction: column; }
}

/* Concise narratives share spacing and show only page-selected media. */
:is(.category-editorial-section--divani-letto-scelta,
    .category-editorial-section--divani-letto-vivere,
    .category-editorial-section--divani-letto-praticita,
    .category-editorial-section--poltrone-relax-scelta,
    .category-editorial-section--poltrone-relax-movimento,
    .category-editorial-section--poltrone-relax-praticita) { padding-block: var(--cr-space-section-compact); }
:is(.category-editorial-section--divani-letto-vivere, .category-editorial-section--poltrone-relax-movimento) { background: var(--cr-color-paper); }

/* Motorized beds retain their own media and content. */
:is(.category-editorial-section--reti-tipologie,
    .category-editorial-section--reti-motorizzate,
    .category-editorial-section--reti-regolazioni,
    .category-editorial-section--reti-contenitore) { padding-block: var(--cr-space-section-compact); }
@media (min-width: 52rem) {
    .category-editorial-section--reti-showroom .category-editorial-showroom-media { aspect-ratio: 1 / 1; }
    .category-editorial-section--reti-contenitore .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        grid-template-rows: auto auto auto;
        gap: var(--cr-space-copy) var(--cr-space-7);
        align-items: start;
    }
    .category-editorial-section--reti-contenitore .category-editorial-copy,
    .category-editorial-page .category-editorial-section.category-editorial-section--reti-contenitore .category-editorial-copy > .wp-block-group { display: contents; }
    .category-editorial-section--reti-contenitore .category-editorial-copy h2 { grid-column: 1; grid-row: 1 / -1; }
    .category-editorial-section--reti-contenitore .category-editorial-copy p { grid-column: 2; margin: 0; }
    .category-editorial-section--reti-contenitore .category-editorial-copy p:first-of-type { grid-row: 1; }
    .category-editorial-section--reti-contenitore .category-editorial-copy p + p { grid-row: 2; }
    .category-editorial-section--reti-contenitore .category-editorial-actions { grid-column: 2; grid-row: 3; margin: 0; }
}

/* Materassi follows the Letti composition, retaining its own native content. */
:is(.category-editorial-section--materassi-concetto,
    .category-editorial-section--materassi-scelta,
    .category-editorial-section--materassi-tipologie,
    .category-editorial-section--materassi-durata,
    .category-editorial-section--materassi-finale) { padding-block: var(--cr-space-section-compact); }
.category-editorial-section--materassi-tipologie h3 {
    margin-top: var(--cr-space-6);
    padding-top: var(--cr-space-5);
    border-top: var(--cr-border);
}
.category-editorial-section--materassi-finale h2 { font-size: var(--cr-text-h2); }
.category-editorial-section--materassi-finale .category-editorial-actions { margin-top: var(--cr-space-actions); }
@media (min-width: 52rem) {
    .category-editorial-page .category-editorial-section.category-editorial-section--materassi-tipologie .category-editorial-copy > .wp-block-group {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        gap: var(--cr-space-6) var(--cr-space-7);
    }
    .category-editorial-section--materassi-tipologie .category-editorial-copy h2 { grid-column: 1 / -1; grid-row: 1; max-width: var(--cr-heading-measure, 25ch); }
    .category-editorial-section--materassi-tipologie .category-editorial-copy > .wp-block-group > p:first-of-type { grid-column: 1 / -1; max-width: var(--cr-measure); }
    .category-editorial-section--materassi-tipologie .category-editorial-copy h3 { grid-column: 1; grid-row: auto; margin: 0; padding-top: var(--cr-space-6); }
    .category-editorial-section--materassi-tipologie .category-editorial-copy h3:not(:first-of-type) { margin-top: 0; }
    .category-editorial-section--materassi-tipologie .category-editorial-copy h3 + p { grid-column: 2; margin: 0; padding-top: var(--cr-space-6); border-top: var(--cr-border); }
    .category-editorial-section--materassi-showroom .container { grid-template-rows: auto auto auto 1fr; }
    .category-editorial-section--materassi-showroom .category-editorial-copy p + p { grid-column: 1; grid-row: 3; max-width: var(--cr-measure-narrow); }
    .category-editorial-section--materassi-showroom .category-editorial-actions { grid-row: 4; }
    .category-editorial-section--materassi-showroom .category-editorial-showroom-media { aspect-ratio: 1 / 1; }
    .category-editorial-section--materassi-finale .container {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: var(--cr-space-copy) var(--cr-space-7);
    }
    .category-editorial-section--materassi-finale .category-editorial-copy,
    .category-editorial-page .category-editorial-section.category-editorial-section--materassi-finale .category-editorial-copy > .wp-block-group { display: contents; }
    .category-editorial-section--materassi-finale .category-editorial-copy h2 { grid-column: 1; grid-row: 1 / span 2; }
    .category-editorial-section--materassi-finale .category-editorial-copy p { grid-column: 2; grid-row: 1; margin: 0; max-width: var(--cr-measure-narrow); }
    .category-editorial-section--materassi-finale .category-editorial-actions { grid-column: 2; grid-row: 2; margin: 0; }
}

/* Reti overview: its own native narrative, without borrowing motorized-page media. */
.category-editorial-section--reti-overview { padding-block: var(--cr-space-section-compact); }
.category-editorial-section--reti-overview.category-editorial-section--role-fisse { background: var(--cr-color-paper); }
.category-editorial-section--reti-overview h2 em { color: var(--cr-color-red-text); font-weight: inherit; }
@media (min-width: 52rem) {
    .category-editorial-page .category-editorial-section--reti-overview.category-editorial-section--role-fisse .category-editorial-copy > .wp-block-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-editorial-section--reti-overview.category-editorial-section--role-fisse h2 { grid-column: 1 / -1; grid-row: auto; max-width: none; }
    .category-editorial-section--reti-overview.category-editorial-section--role-fisse p { grid-column: auto; }
    .category-editorial-page .category-editorial-section--reti-overview.category-editorial-section--role-sistema .category-editorial-copy > .wp-block-group { display: block; max-width: none; margin-inline: 0; text-align: left; }
    .category-editorial-section--reti-overview.category-editorial-section--role-sistema p { margin-block-start: var(--cr-space-copy); }
    .category-editorial-section--reti-overview.category-editorial-section--role-showroom .container { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto; }
    .category-editorial-section--reti-overview.category-editorial-section--role-showroom h2 { grid-column: 1; grid-row: 1 / -1; max-width: var(--cr-heading-measure, 20ch); }
    .category-editorial-section--reti-overview.category-editorial-section--role-showroom .category-editorial-copy p { grid-column: 2; grid-row: 1; }
    .category-editorial-section--reti-overview.category-editorial-section--role-showroom .category-editorial-actions { grid-column: 2; grid-row: 2; }
}

.guanciali-materials-photo {
    display: block;
    width: min(100%, 38rem);
    height: auto;
    max-height: 20rem;
    object-fit: cover;
    margin: var(--cr-space-6) auto 0 0;
}
#guanciali-galleria { padding-block: var(--cr-space-5) 0; }
#guanciali-galleria .home-gallery__viewport { padding-inline: 0; }
#guanciali-galleria .home-gallery__photo { height: max(clamp(9rem, 18vw, 15rem), var(--gallery-loop-height, 0px)); }
