/* Native Extendable compositions v2. No external fonts, JavaScript or tracking. */
.td-extendable-native { --td-ext-space:clamp(3.5rem,7vw,7rem); --td-ext-gutter:clamp(1.25rem,4vw,4rem); }
.td-extendable-native .wp-site-blocks { padding-top:0; }
.td-extendable-native .wp-block-post-content { margin-block-start:0; }
.td-extendable-native .wp-block-post-content:has(>.td-ext-native) { width:100%; max-width:none; margin-inline:0; padding-inline:0; }
.td-extendable-native .td-ext-native { margin:0!important; max-width:none!important; overflow:clip; }
.td-ext-native :where(.wp-block-group,.wp-block-columns,.wp-block-image,.wp-block-buttons) { margin-block-start:0; }
.td-ext-native .td-ext-wrap { width:min(100% - 2 * var(--td-ext-gutter),80rem); max-width:none; margin-inline:auto!important; }
.td-ext-native h1 { font-size:clamp(2.7rem,5.8vw,6.4rem); line-height:1.02; letter-spacing:-.06em; margin:0 0 1.5rem; text-wrap:balance; }
.td-ext-native h1 .td-photo-company-prefix { display:block; font:600 clamp(.85rem,1.15vw,1rem)/1.5 var(--wp--preset--font-family--body, sans-serif); letter-spacing:.16em; text-transform:uppercase; margin-bottom:1.4rem; }
.td-ext-native h2 { font-size:clamp(1.8rem,3vw,3.3rem); line-height:1.12; letter-spacing:-.045em; margin:0 0 1.4rem; text-wrap:balance; }
.td-ext-native p { font-size:clamp(1rem,1.15vw,1.15rem); line-height:1.85; max-width:68ch; margin:0 0 1.3rem; }
.td-ext-native p:last-child { margin-bottom:0; }
.td-ext-native .td-ext-lead p { font-size:clamp(1.15rem,1.55vw,1.4rem); line-height:1.65; max-width:55ch; }
.td-ext-native .td-ext-eyebrow { font-size:.8rem; font-weight:650; text-transform:uppercase; letter-spacing:.13em; }
.td-ext-native .wp-block-columns { gap:clamp(2rem,5vw,5.5rem); margin-bottom:0; align-items:center!important; }
.td-ext-native .wp-block-column { min-width:0; }
.td-ext-native .wp-block-image { margin:0; overflow:hidden; }
.td-ext-native .wp-block-image img { display:block; width:100%; height:100%; aspect-ratio:4/3; object-fit:cover; }
.td-ext-native .td-ext-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:2rem; }
.td-ext-native .wp-block-button__link { min-height:48px; display:inline-flex; align-items:center; gap:.65rem; padding:.9rem 1.4rem; border-radius:3px; font-size:1rem; font-weight:600; line-height:1.4; background:var(--wp--preset--color--primary,#365544); color:#fff; text-decoration:none; }
.td-ext-native .wp-block-button:nth-child(2) .wp-block-button__link { background:transparent; color:var(--wp--preset--color--foreground,#202d24); box-shadow:inset 0 0 0 1px currentColor; }
.td-ext-native :where(a,button):focus-visible { outline:3px solid currentColor; outline-offset:5px; }
.td-ext-native .td-ext-hero { padding-block:var(--td-ext-space); }
.td-ext-native .td-ext-story { padding-block:clamp(2.5rem,5vw,5rem); border-bottom:1px solid color-mix(in srgb,var(--wp--preset--color--foreground) 16%,transparent); }
.td-ext-native .td-ext-introduction { padding-block:clamp(2rem,4vw,4rem); max-width:65rem; }
.td-ext-native .td-ext-introduction p { max-width:none; columns:2; column-gap:3rem; }
.td-ext-native .td-ext-text-story .wp-block-column:first-child { flex-basis:35%; }
.td-ext-native .td-ext-text-story .wp-block-column:last-child { flex-basis:65%; }
.td-ext-native .td-ext-contact { padding:var(--td-ext-space) var(--td-ext-gutter); margin-top:var(--td-ext-space); background:var(--wp--preset--color--tertiary,#f1f5eb); text-align:center; }
.td-ext-native .td-ext-contact .td-ext-actions { justify-content:center; }
.td-ext-native .td-ext-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; margin-block:var(--td-ext-space); }
.td-ext-native .td-ext-storefront .td-storefront { padding-block:var(--td-ext-space); margin:0; }
.td-ext-native .td-ext-storefront .td-storefront-wrap { width:min(100% - 2 * var(--td-ext-gutter),80rem); }
/* 1. Immersive cover followed by broad alternating photo/text stories. */
.td-ext-native .td-ext-cover { margin:0!important; padding:clamp(3.5rem,7vw,7rem) var(--td-ext-gutter); min-height:clamp(34rem,78svh,56rem); box-sizing:border-box; align-items:center; }
.td-ext-native .td-ext-cover .wp-block-cover__background { background:#101c15; opacity:.64; }
.td-ext-native .td-ext-cover .wp-block-cover__inner-container { width:min(100%,80rem); max-width:none; margin-inline:auto; z-index:1; }
.td-ext-native .td-ext-cover :where(h1,p) { color:#fff; }
.td-ext-native .td-ext-cover h1 { max-width:17ch; }
.td-ext-native .td-ext-cover .td-ext-lead { max-width:40rem; }
.td-ext-native .td-ext-cover .wp-block-button:first-child .wp-block-button__link { background:#fff; color:#203b30; }
.td-ext-native .td-ext-cover .wp-block-button:nth-child(2) .wp-block-button__link { color:#fff; }
.td-ext-layout-panorama .td-ext-photo-story img { aspect-ratio:1.1; }
/* 2. Editorial masthead, wide landscape and a heading/body column rhythm. */
.td-ext-layout-editoriale h1 { font-family:Georgia,serif; font-weight:400; letter-spacing:-.055em; }
.td-ext-layout-editoriale .td-ext-editorial-opening { align-items:flex-start!important; padding-bottom:3rem; }
.td-ext-layout-editoriale .td-ext-hero > .wp-block-image img { aspect-ratio:2.25; }
.td-ext-layout-editoriale .td-ext-editorial-story { align-items:flex-start!important; }
.td-ext-layout-editoriale .td-ext-editorial-story .wp-block-column:first-child { flex-basis:35%; }
.td-ext-layout-editoriale .td-ext-editorial-story .wp-block-column:last-child { flex-basis:65%; }
.td-ext-layout-editoriale .td-ext-editorial-story figure { margin-top:2rem; }
/* 3. Product-forward opening and three-column story cards. */
.td-ext-layout-mercato .td-ext-hero { background:var(--wp--preset--color--tertiary); padding:clamp(1.5rem,4vw,4rem); box-sizing:border-box; margin-top:2rem; }
.td-ext-layout-mercato h1 { font-size:clamp(2.6rem,4.6vw,5rem); }
.td-ext-layout-mercato .td-ext-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2rem; margin-block:var(--td-ext-space); }
.td-ext-layout-mercato .td-ext-card { padding-top:1.5rem; border-top:2px solid var(--wp--preset--color--primary); }
.td-ext-layout-mercato .td-ext-card h2 { font-size:clamp(1.5rem,2vw,2.2rem); margin-top:1.5rem; }
/* 4. Large left photograph, stacked right-hand introduction, asymmetric cards. */
.td-ext-layout-mosaico .td-ext-mosaic-opening { align-items:stretch!important; gap:clamp(2rem,4vw,4rem); }
.td-ext-layout-mosaico .td-ext-mosaic-opening > .wp-block-column:first-child { flex-basis:48%; }
.td-ext-layout-mosaico .td-ext-mosaic-opening > .wp-block-column:first-child figure { height:100%; }
.td-ext-layout-mosaico .td-ext-mosaic-opening > .wp-block-column:first-child img { aspect-ratio:.8; min-height:100%; }
.td-ext-layout-mosaico h1 { font-size:clamp(2.8rem,4.4vw,5.2rem); }
.td-ext-layout-mosaico .td-ext-mosaic-copy > figure { margin-top:2.5rem; }
.td-ext-layout-mosaico .td-ext-cards { display:grid; grid-template-columns:1.3fr 1fr; gap:clamp(2rem,4vw,4rem); margin-bottom:var(--td-ext-space); align-items:start; }
.td-ext-layout-mosaico .td-ext-card { padding:clamp(1.5rem,3vw,3rem); background:var(--wp--preset--color--tertiary); }
.td-ext-layout-mosaico .td-ext-card:nth-child(even) { margin-top:4rem; background:transparent; padding-inline:0; }
.td-ext-layout-mosaico .td-ext-card figure { margin-bottom:2rem; }
/* 5. Centered typography, unframed wide photo and quiet ruled text rows. */
.td-ext-native .td-ext-centered { text-align:center; max-width:65rem; margin-inline:auto; }
.td-ext-native .td-ext-centered p { margin-inline:auto; }
.td-ext-native .td-ext-centered .td-ext-actions { justify-content:center; }
.td-ext-native .td-ext-centered + figure { margin-top:3rem; }
.td-ext-layout-essenziale .td-ext-hero > figure img { aspect-ratio:2.2; }
.td-ext-layout-essenziale .td-ext-story { max-width:65rem; }
.td-ext-layout-essenziale h1 { font-weight:500; }
@media(max-width:781px) {
 .td-ext-native .wp-block-columns { flex-direction:column; gap:2rem; }
 .td-ext-native .wp-block-column { flex-basis:auto!important; width:100%; }
 .td-ext-native .td-ext-cover { min-height:37rem; }
 .td-ext-native h1 { overflow-wrap:anywhere; }
 .td-ext-native .td-ext-introduction p { columns:1; }
 .td-ext-native .td-ext-cards,.td-ext-native .td-ext-gallery { grid-template-columns:1fr; }
 .td-ext-layout-mosaico .td-ext-mosaic-opening > .wp-block-column:first-child img { aspect-ratio:1.35; }
 .td-ext-layout-mosaico .td-ext-card:nth-child(even) { margin-top:0; }
 .td-ext-layout-editoriale .td-ext-hero > .wp-block-image img,.td-ext-layout-essenziale .td-ext-hero > figure img { aspect-ratio:1.35; }
 .td-ext-native .td-ext-contact { text-align:left; }
 .td-ext-native .td-ext-contact .td-ext-actions { justify-content:flex-start; }
}
@media(prefers-reduced-motion:reduce) { .td-ext-native * { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
