/**
 * Core 1.6.0 — internal editorial system.
 * Presentation-only overrides, intentionally lightweight and page-builder free.
 */
:root {
    --gs160-ink: #171a1b;
    --gs160-deep: #111516;
    --gs160-ivory: #f4f1eb;
    --gs160-paper: #fbfaf7;
    --gs160-white: #fff;
    --gs160-muted: #5f6465;
    --gs160-line: #dedbd5;
    --gs160-accent: #a87845;
    --gs160-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --gs160-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --gs160-max: 1240px;
}

/* Remove the theme's large document-like gap below the common header. */
body.gs-editorial-internal { background: var(--gs160-paper); color: var(--gs160-ink); }
body.gs-editorial-internal .wp-site-blocks > main,
body.gs-editorial-internal main.wp-block-group {
    margin-block-start: 0 !important;
    padding-block-start: 0 !important;
}
body.gs-editorial-internal main > .wp-block-group:first-child,
body.gs-editorial-internal .entry-content,
body.gs-editorial-internal .wp-block-post-content {
    margin-block-start: 0 !important;
}
body.gs-editorial-internal .wp-block-post-title { margin-top: 0 !important; }

.gs-internal,
.gs-vendere-page,
.gs-valutazione-page {
    box-sizing: border-box;
    color: var(--gs160-ink);
    font-family: var(--gs160-sans);
}
.gs-internal *, .gs-internal *::before, .gs-internal *::after,
.gs-vendere-page *, .gs-vendere-page *::before, .gs-vendere-page *::after,
.gs-valutazione-page *, .gs-valutazione-page *::before, .gs-valutazione-page *::after { box-sizing: inherit; }

.gs-internal h1, .gs-internal h2, .gs-internal h3,
.gs-vendere-page h1, .gs-vendere-page h2, .gs-vendere-page h3,
.gs-valutazione-page h1, .gs-valutazione-page h2, .gs-valutazione-page h3 {
    font-family: var(--gs160-serif) !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
    color: var(--gs160-ink);
}
.gs-internal h1, .gs-vendere-title, .gs-valutazione-title { line-height: .96 !important; }
.gs-internal h2, .gs-vendere-page h2, .gs-valutazione-page h2 { line-height: 1.02 !important; }
.gs-internal p, .gs-vendere-page p, .gs-vendere-page li,
.gs-valutazione-page p, .gs-valutazione-page li { line-height: 1.68; }
.gs-internal a { color: inherit; }

.gs-intro-kicker,
.gs-editorial-label {
    margin: 0 0 19px !important;
    color: #676b6b;
    font-family: var(--gs160-sans);
    font-size: .67rem !important;
    font-weight: 650;
    letter-spacing: .22em;
    line-height: 1.35 !important;
    text-transform: uppercase;
}
.gs-editorial-label-light { color: rgba(255,255,255,.68) !important; }
.gs-editorial-link,
.gs-editorial-secondary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 5px;
    color: inherit;
    text-decoration: none;
    font-size: .68rem;
    font-weight: 650;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.gs-editorial-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 52px;
    padding: 12px 22px;
    background: #fff;
    color: #171a1b !important;
    text-decoration: none;
    font-size: .68rem;
    font-weight: 650;
    letter-spacing: .18em;
    text-transform: uppercase;
}

/* ABOUT */
.gs-about-160 { background: var(--gs160-paper); }
.gs-about-hero,
.gs-about-story,
.gs-about-principles,
.gs-about-territory,
.gs-guides-hero,
.gs-guide-featured,
.gs-guide-library,
.gs-internal-cta {
    width: min(calc(100% - 72px), var(--gs160-max));
    margin-inline: auto;
}
.gs-about-hero {
    min-height: 690px;
    padding: 86px 0 104px;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: clamp(55px, 7vw, 110px);
}
.gs-intro-copy h1 { margin: 0; font-size: clamp(3.75rem, 6.3vw, 6.6rem); }
.gs-intro-lead { margin: 30px 0 0 !important; max-width: 610px; color: var(--gs160-muted); font-size: 1.06rem; }
.gs-intro-copy .gs-editorial-link { margin-top: 32px; }
.gs-about-photo { position: relative; margin: 0; min-height: 600px; }
.gs-about-photo > img { width: 100%; height: 590px; object-fit: cover; object-position: center 46%; border-radius: 14px; }
.gs-about-photo figcaption { margin-top: 9px; color: #747777; font-size: .67rem; letter-spacing: .07em; }
.gs-about-stat {
    position: absolute;
    left: -52px;
    bottom: 52px;
    width: 250px;
    padding: 24px 26px;
    display: flex;
    align-items: end;
    gap: 16px;
    background: rgba(17,21,22,.94);
    color: #fff;
}
.gs-about-stat strong { font-family: var(--gs160-serif); font-size: 4.9rem; font-weight: 400; line-height: .8; }
.gs-about-stat span { font-size: .67rem; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; }
.gs-about-story { border-top: 1px solid var(--gs160-line); padding: 105px 0 115px; }
.gs-about-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.gs-about-story h2 { margin: 0; font-size: clamp(3rem, 4.8vw, 5rem); }
.gs-editorial-prose p { margin: 0 0 22px; color: var(--gs160-muted); font-size: 1.03rem; }
.gs-about-principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gs160-line); border-bottom: 1px solid var(--gs160-line); }
.gs-about-principles article { min-height: 330px; padding: 52px 42px 45px 0; }
.gs-about-principles article + article { border-left: 1px solid var(--gs160-line); padding-left: 42px; }
.gs-about-principles span { font-family: var(--gs160-serif); font-size: 5.6rem; font-style: italic; line-height: 1; color: #e6e3dd; }
.gs-about-principles h3 { margin: 8px 0 17px; font-size: 2rem; }
.gs-about-principles p { margin: 0; color: var(--gs160-muted); }
.gs-about-territory { padding: 105px 0 110px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
.gs-about-territory h2 { margin: 0; font-size: clamp(3.3rem, 5vw, 5.3rem); }
.gs-about-territory > p { max-width: 490px; color: var(--gs160-muted); }

/* GUIDE HUB */
.gs-guides-160 { background: var(--gs160-paper); }
.gs-guides-hero { padding: 95px 0 84px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; border-bottom: 1px solid var(--gs160-line); }
.gs-guides-hero h1 { margin: 0; max-width: 800px; font-size: clamp(4rem, 6vw, 6.4rem); }
.gs-guides-hero > p { margin: 0 0 9px; max-width: 480px; color: var(--gs160-muted); font-size: 1.04rem; }
.gs-guide-featured { padding: 92px 0 104px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; }
.gs-guide-featured-image { display: block; background: #ebe8e2; overflow: hidden; aspect-ratio: 4 / 3; }
.gs-guide-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gs-guide-featured:hover .gs-guide-featured-image img { transform: scale(1.025); }
.gs-guide-featured-copy h2 { margin: 0; font-size: clamp(2.8rem, 4.2vw, 4.5rem); }
.gs-guide-featured-copy h2 a { color: inherit; text-decoration: none; }
.gs-guide-featured-copy > p:not(.gs-editorial-label) { margin: 25px 0 0; color: var(--gs160-muted); }
.gs-guide-featured-copy .gs-editorial-link { margin-top: 28px; }
.gs-guide-library { padding: 100px 0 112px; border-top: 1px solid var(--gs160-line); }
.gs-guide-library-heading { max-width: 850px; margin-bottom: 58px; }
.gs-guide-library-heading h2 { margin: 0; font-size: clamp(3rem, 4.6vw, 4.8rem); }
.gs-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.gs-guide-card-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e6df; }
.gs-guide-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s ease; }
.gs-guide-card-160:hover .gs-guide-card-image img { transform: scale(1.025); }
.gs-guide-image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: #e9e6df; color: #777; font-size: .62rem; letter-spacing: .2em; }
.gs-guide-card-meta { margin-top: 20px; color: #747777; font-size: .62rem; font-weight: 650; letter-spacing: .18em; }
.gs-guide-card-160 h3 { margin: 10px 0 0; font-size: clamp(1.65rem, 2.35vw, 2.2rem); line-height: 1.04 !important; }
.gs-guide-card-160 h3 a { color: inherit; text-decoration: none; }
.gs-guide-card-160 > p { margin: 17px 0 0; color: var(--gs160-muted); font-size: .91rem; }
.gs-guide-card-160 .gs-editorial-link { margin-top: 20px; }

/* COMMON CTA */
.gs-internal-cta {
    margin-bottom: 0;
    min-height: 390px;
    padding: 82px 0;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 90px;
    align-items: center;
    color: #fff;
    position: relative;
}
.gs-internal-cta::before {
    content: "";
    position: absolute;
    z-index: -2;
    left: 50%;
    width: 100vw;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    background: #1d2529;
}
.gs-internal-cta h2 { margin: 0; color: #fff; font-size: clamp(3rem, 5vw, 5.2rem); }
.gs-internal-cta-copy > p { margin: 0; max-width: 450px; color: rgba(255,255,255,.78); }
.gs-internal-actions { margin-top: 30px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.gs-editorial-secondary { color: #fff; }

/* SELL PAGE — turn boxed UI into an editorial progression. */
body.gs-editorial-sell .gs-vendere-page {
    max-width: var(--gs160-max) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    background: var(--gs160-paper);
}
body.gs-editorial-sell .gs-vendere-hero {
    max-width: none !important;
    min-height: 590px;
    margin: 0 !important;
    padding: 90px 0 96px !important;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    column-gap: 92px;
    align-content: center;
    background: transparent !important;
    border: 0 !important;
}
.gs-vendere-eyebrow, .gs-vendere-section-label {
    color: #6a6d6d !important;
    font-size: .67rem !important;
    letter-spacing: .21em !important;
}
body.gs-editorial-sell .gs-vendere-eyebrow { grid-column: 1; margin: 0 0 20px !important; }
body.gs-editorial-sell .gs-vendere-title { grid-column: 1; margin: 0 !important; font-size: clamp(4rem, 6vw, 6.4rem) !important; max-width: 790px !important; }
body.gs-editorial-sell .gs-vendere-lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0 0 25px !important; color: var(--gs160-muted) !important; font-size: 1.08rem !important; }
body.gs-editorial-sell .gs-vendere-actions { grid-column: 2; margin: 22px 0 0 !important; }
body.gs-editorial-sell .gs-vendere-area { grid-column: 2; margin: 28px 0 0 !important; border-top: 1px solid var(--gs160-line); padding-top: 16px; }
.gs-vendere-actions .wp-block-button__link {
    border-radius: 0 !important;
    min-height: 50px;
    padding: 13px 20px !important;
    font-size: .72rem !important;
    letter-spacing: .08em;
}
.gs-vendere-primary .wp-block-button__link { background: var(--gs160-ink) !important; border-color: var(--gs160-ink) !important; }
.gs-vendere-secondary .wp-block-button__link { background: transparent !important; color: var(--gs160-ink) !important; border: 1px solid var(--gs160-ink) !important; }
body.gs-editorial-sell .gs-vendere-intro,
body.gs-editorial-sell .gs-vendere-method,
body.gs-editorial-sell .gs-vendere-transparency,
body.gs-editorial-sell .gs-vendere-guides,
body.gs-editorial-sell .gs-vendere-faq {
    max-width: none !important;
    margin: 0 !important;
    padding: 100px 0 108px !important;
    border-top: 1px solid var(--gs160-line);
}
body.gs-editorial-sell .gs-vendere-intro > h2,
body.gs-editorial-sell .gs-vendere-method > h2,
body.gs-editorial-sell .gs-vendere-transparency > h2,
body.gs-editorial-sell .gs-vendere-guides > h2,
body.gs-editorial-sell .gs-vendere-faq > h2 { max-width: 820px !important; font-size: clamp(3rem, 4.6vw, 4.8rem) !important; }
body.gs-editorial-sell .gs-vendere-intro > p { max-width: 720px !important; color: var(--gs160-muted) !important; }
.gs-vendere-principles { margin-top: 52px !important; gap: 0 !important; display: grid !important; grid-template-columns: repeat(3, 1fr) !important; border-top: 1px solid var(--gs160-line); }
.gs-vendere-card { min-height: 270px !important; padding: 44px 36px 34px 0 !important; border: 0 !important; background: transparent !important; }
.gs-vendere-card + .gs-vendere-card { border-left: 1px solid var(--gs160-line) !important; padding-left: 36px !important; }
.gs-vendere-card-number, .gs-vendere-step-number { color: #8c8983 !important; font-family: var(--gs160-serif); font-size: 4.6rem !important; font-style: italic; line-height: 1 !important; font-weight: 400 !important; }
.gs-vendere-card h3, .gs-vendere-step h3 { font-size: 1.85rem !important; }
.gs-vendere-card p:last-child, .gs-vendere-step p:last-child { color: var(--gs160-muted) !important; }
.gs-vendere-steps { margin-top: 52px !important; display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 0 !important; border-top: 1px solid var(--gs160-line); }
.gs-vendere-step { min-height: 280px !important; padding: 42px 36px 36px 0 !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--gs160-line) !important; }
.gs-vendere-step:nth-child(3n+2), .gs-vendere-step:nth-child(3n+3) { border-left: 1px solid var(--gs160-line) !important; padding-left: 36px !important; }
.gs-vendere-step:nth-child(odd) { background: transparent !important; }
body.gs-editorial-sell .gs-vendere-experience {
    max-width: none !important;
    margin: 0 !important;
    padding: 86px 70px !important;
    display: grid !important;
    grid-template-columns: .65fr 1.35fr !important;
    gap: 75px !important;
    background: var(--gs160-deep) !important;
    color: #fff !important;
}
.gs-vendere-experience-number { border: 0 !important; background: transparent !important; padding: 0 !important; }
.gs-vendere-experience-number strong { font-family: var(--gs160-serif); color: #fff !important; font-size: clamp(6.5rem, 11vw, 10rem) !important; font-weight: 400 !important; }
.gs-vendere-experience-number span { color: rgba(255,255,255,.65) !important; }
.gs-vendere-experience-copy { padding: 0 !important; }
.gs-vendere-experience-copy h2 { color: #fff !important; font-size: clamp(2.8rem, 4vw, 4rem) !important; }
.gs-vendere-experience-copy p { color: rgba(255,255,255,.75) !important; }
body.gs-editorial-sell .gs-vendere-market { margin: 0 !important; padding: 102px 0 !important; gap: 80px !important; border-bottom: 1px solid var(--gs160-line); background: var(--gs160-ivory) !important; }
body.gs-editorial-sell .gs-vendere-two-columns,
body.gs-editorial-sell .gs-vendere-guide-grid { gap: 0 !important; border-top: 1px solid var(--gs160-line); }
.gs-vendere-panel, .gs-vendere-guide-card { background: transparent !important; border: 0 !important; padding: 38px 40px 38px 0 !important; }
.gs-vendere-panel + .gs-vendere-panel, .gs-vendere-guide-card + .gs-vendere-guide-card { border-left: 1px solid var(--gs160-line) !important; padding-left: 40px !important; }
.gs-vendere-guide-type { color: #76532f !important; }
body.gs-editorial-sell .gs-vendere-complex { max-width: none !important; margin: 0 !important; padding: 92px 70px !important; background: var(--gs160-ivory) !important; }
body.gs-editorial-sell .gs-vendere-complex h2 { font-size: clamp(3rem, 4.5vw, 4.6rem) !important; }
.gs-vendere-faq details { border-color: var(--gs160-line) !important; background: transparent !important; }
.gs-vendere-faq summary { font-family: var(--gs160-serif); font-size: 1.45rem !important; }
body.gs-editorial-sell .gs-vendere-contact {
    max-width: none !important;
    margin: 0 !important;
    padding: 86px 70px !important;
    background: #1d2529 !important;
    color: #fff !important;
}
.gs-vendere-contact .gs-vendere-section-label { color: rgba(255,255,255,.62) !important; }
.gs-vendere-contact h2 { color: #fff !important; font-size: clamp(3rem, 4.8vw, 5rem) !important; }
.gs-vendere-contact-lead, .gs-vendere-contact-email { color: rgba(255,255,255,.74) !important; }
.gs-vendere-contact .gs-vendere-primary .wp-block-button__link { background: #fff !important; color: #171a1b !important; border-color: #fff !important; }
.gs-vendere-contact .gs-vendere-secondary .wp-block-button__link { color: #fff !important; border-color: rgba(255,255,255,.65) !important; }
.gs-vendere-contact-email a { color: #fff !important; }

/* VALUATION — same information, less dashboard-like visual weight. */
body.gs-editorial-valuation .gs-valutazione-page {
    max-width: var(--gs160-max) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    background: var(--gs160-paper);
}
body.gs-editorial-valuation .gs-valutazione-hero {
    margin: 0 0 105px !important;
    min-height: 590px;
    background: var(--gs160-ivory) !important;
    border: 0 !important;
    grid-template-columns: 1.32fr .68fr !important;
}
.gs-valutazione-hero-copy { padding: 82px 70px !important; }
.gs-valutazione-eyebrow, .gs-valutazione-section-label, .gs-valutazione-dossier-label {
    color: #6a6d6d !important;
    font-size: .67rem !important;
    letter-spacing: .21em !important;
}
.gs-valutazione-title { font-size: clamp(4rem, 6vw, 6.35rem) !important; }
.gs-valutazione-lead { color: var(--gs160-muted) !important; font-size: 1.08rem !important; max-width: 640px !important; }
.gs-valutazione-actions .wp-block-button__link { border-radius: 0 !important; background: var(--gs160-ink) !important; border-color: var(--gs160-ink) !important; font-size: .72rem !important; letter-spacing: .08em; }
.gs-valutazione-dossier { background: #1d2529 !important; padding: 58px 42px !important; }
.gs-valutazione-dossier-label { color: #cfaa7b !important; }
.gs-valutazione-dossier h2 { color: #fff !important; font-size: clamp(2rem, 3vw, 3.1rem) !important; }
body.gs-editorial-valuation .gs-valutazione-process,
body.gs-editorial-valuation .gs-valutazione-transparency,
body.gs-editorial-valuation .gs-valutazione-form-section,
body.gs-editorial-valuation .gs-valutazione-faq,
body.gs-editorial-valuation .gs-valutazione-final {
    max-width: none !important;
    margin-bottom: 0 !important;
    padding: 100px 0 110px !important;
    border-top: 1px solid var(--gs160-line);
}
body.gs-editorial-valuation .gs-valutazione-process > h2,
body.gs-editorial-valuation .gs-valutazione-form-section > h2,
body.gs-editorial-valuation .gs-valutazione-faq > h2 { font-size: clamp(3rem, 4.6vw, 4.8rem) !important; }
.gs-valutazione-process-grid { margin-top: 50px !important; gap: 0 !important; grid-template-columns: repeat(3, 1fr) !important; border-top: 1px solid var(--gs160-line); }
.gs-valutazione-process-card { min-height: 275px !important; border: 0 !important; border-bottom: 1px solid var(--gs160-line) !important; padding: 43px 36px 34px 0 !important; background: transparent !important; }
.gs-valutazione-process-card + .gs-valutazione-process-card { border-left: 1px solid var(--gs160-line) !important; padding-left: 36px !important; }
.gs-valutazione-number { color: #8c8983 !important; font-family: var(--gs160-serif); font-size: 4.6rem !important; font-style: italic; font-weight: 400 !important; line-height: 1 !important; }
.gs-valutazione-process-card h3 { margin-top: 12px !important; font-size: 1.85rem !important; }
.gs-valutazione-process-card p:last-child { color: var(--gs160-muted) !important; }
body.gs-editorial-valuation .gs-valutazione-criteria {
    max-width: none !important;
    margin: 0 !important;
    padding: 98px 70px !important;
    background: var(--gs160-ivory) !important;
    gap: 90px !important;
}
.gs-valutazione-criteria h2 { font-size: clamp(3rem, 4.5vw, 4.6rem) !important; }
.gs-valutazione-checklist li { border-color: rgba(23,26,27,.13) !important; }
body.gs-editorial-valuation .gs-valutazione-transparency { background: #1d2529 !important; color: #fff !important; padding-inline: 70px !important; }
.gs-valutazione-transparency h2, .gs-valutazione-transparency h3 { color: #fff !important; }
.gs-valutazione-panel { background: transparent !important; border-color: rgba(255,255,255,.2) !important; }
.gs-valutazione-panel-muted { background: rgba(255,255,255,.035) !important; }
body.gs-editorial-valuation .gs-valutazione-form-section { padding-inline: 0 !important; }
.gs-valuation-form-wrap { max-width: 880px !important; }
.gs-valuation-form { border: 1px solid var(--gs160-line) !important; background: #fff !important; box-shadow: none !important; }
.gs-valuation-progress li { border-color: #e3e0da !important; }
.gs-valuation-progress li.is-active { border-color: var(--gs160-accent) !important; }
.gs-form-step legend { font-family: var(--gs160-serif); font-size: clamp(2rem, 3.2vw, 3rem) !important; }
.gs-form-field input:not([type="checkbox"]), .gs-form-field select, .gs-form-field textarea { border-radius: 0 !important; background: #fff !important; border-color: #d9d6cf !important; }
.gs-choice-grid label { border-radius: 0 !important; background: #fff !important; border-color: #d9d6cf !important; }
.gs-form-next, .gs-form-submit { border-radius: 0 !important; background: var(--gs160-ink) !important; }
.gs-valutazione-faq .wp-block-details { border-color: var(--gs160-line) !important; background: transparent !important; }
.gs-valutazione-faq summary { font-family: var(--gs160-serif); font-size: 1.45rem !important; }
body.gs-editorial-valuation .gs-valutazione-final { background: var(--gs160-ivory) !important; padding-inline: 70px !important; }
.gs-valutazione-final h2 { font-size: clamp(3rem, 4.5vw, 4.5rem) !important; }

/* SHARED INTERNAL FOOTER */
.gs-site-footer, .gs-site-footer * { box-sizing: border-box; }
.gs-site-footer { width: 100%; background: var(--gs160-deep); color: rgba(255,255,255,.76); font-family: var(--gs160-sans); }
.gs-site-footer-inner {
    width: min(calc(100% - 72px), 1320px);
    min-height: 190px;
    margin: 0 auto;
    padding: 55px 0 60px;
    display: grid;
    grid-template-columns: 1.25fr .7fr .8fr auto;
    gap: 48px;
    align-items: start;
}
.gs-site-footer-brand { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
.gs-site-footer-name { color: #fff; font-family: var(--gs160-serif); font-size: 1.72rem; letter-spacing: .07em; line-height: 1; }
.gs-site-footer-role { font-size: .60rem; letter-spacing: .27em; white-space: nowrap; }
.gs-site-footer-links, .gs-site-footer-contact, .gs-site-footer-legal { display: flex; flex-direction: column; gap: 10px; font-size: .79rem; }
.gs-site-footer a { color: inherit; text-decoration: none; }
.gs-site-footer a:hover { color: #fff; }

@media (max-width: 1050px) {
    .gs-about-hero, .gs-about-story-grid, .gs-about-territory, .gs-guides-hero, .gs-guide-featured, .gs-internal-cta { gap: 55px; }
    .gs-about-stat { left: -20px; }
    .gs-guide-grid { grid-template-columns: repeat(2, 1fr); }
    body.gs-editorial-sell .gs-vendere-hero { column-gap: 55px; }
}

@media (max-width: 860px) {
    .gs-about-hero, .gs-about-story, .gs-about-principles, .gs-about-territory,
    .gs-guides-hero, .gs-guide-featured, .gs-guide-library, .gs-internal-cta {
        width: calc(100% - 38px);
    }
    .gs-about-hero, .gs-about-story-grid, .gs-about-territory, .gs-guides-hero, .gs-guide-featured, .gs-internal-cta {
        grid-template-columns: 1fr;
    }
    .gs-about-hero { padding: 60px 0 78px; min-height: 0; }
    .gs-intro-copy h1, .gs-guides-hero h1 { font-size: clamp(3rem, 13vw, 5rem); }
    .gs-about-photo { min-height: 0; }
    .gs-about-photo > img { height: min(118vw, 590px); }
    .gs-about-stat { left: 14px; bottom: 42px; width: 220px; }
    .gs-about-story { padding: 78px 0 82px; }
    .gs-about-story-grid { gap: 34px; }
    .gs-about-principles { grid-template-columns: 1fr; }
    .gs-about-principles article { min-height: 0; padding: 40px 0 !important; }
    .gs-about-principles article + article { border-left: 0; border-top: 1px solid var(--gs160-line); }
    .gs-about-territory { padding: 75px 0 80px; gap: 32px; }
    .gs-guides-hero { padding: 66px 0 58px; gap: 28px; }
    .gs-guide-featured { padding: 64px 0 76px; gap: 34px; }
    .gs-guide-library { padding: 76px 0 84px; }
    .gs-guide-grid { grid-template-columns: 1fr; gap: 50px; }
    .gs-internal-cta { min-height: 0; padding: 66px 0 72px; gap: 30px; }

    body.gs-editorial-sell .gs-vendere-page,
    body.gs-editorial-valuation .gs-valutazione-page { width: calc(100% - 38px) !important; }
    body.gs-editorial-sell .gs-vendere-hero { min-height: 0; padding: 62px 0 76px !important; grid-template-columns: 1fr; }
    body.gs-editorial-sell .gs-vendere-eyebrow,
    body.gs-editorial-sell .gs-vendere-title,
    body.gs-editorial-sell .gs-vendere-lead,
    body.gs-editorial-sell .gs-vendere-actions,
    body.gs-editorial-sell .gs-vendere-area { grid-column: 1; grid-row: auto; }
    body.gs-editorial-sell .gs-vendere-title { font-size: clamp(3rem, 13vw, 5rem) !important; }
    body.gs-editorial-sell .gs-vendere-lead { margin-top: 28px !important; }
    .gs-vendere-principles, .gs-vendere-steps { grid-template-columns: 1fr !important; }
    .gs-vendere-card, .gs-vendere-step { padding: 36px 0 !important; min-height: 0 !important; }
    .gs-vendere-card + .gs-vendere-card, .gs-vendere-step:nth-child(3n+2), .gs-vendere-step:nth-child(3n+3) { border-left: 0 !important; border-top: 1px solid var(--gs160-line) !important; padding-left: 0 !important; }
    body.gs-editorial-sell .gs-vendere-experience { padding: 65px 28px !important; grid-template-columns: 1fr !important; gap: 30px !important; }
    body.gs-editorial-sell .gs-vendere-market, body.gs-editorial-sell .gs-vendere-complex, body.gs-editorial-sell .gs-vendere-contact { padding: 72px 28px !important; }
    body.gs-editorial-sell .gs-vendere-intro, body.gs-editorial-sell .gs-vendere-method, body.gs-editorial-sell .gs-vendere-transparency, body.gs-editorial-sell .gs-vendere-guides, body.gs-editorial-sell .gs-vendere-faq { padding: 76px 0 82px !important; }
    body.gs-editorial-sell .gs-vendere-two-columns, body.gs-editorial-sell .gs-vendere-guide-grid { grid-template-columns: 1fr !important; }
    .gs-vendere-panel, .gs-vendere-guide-card { padding: 35px 0 !important; }
    .gs-vendere-panel + .gs-vendere-panel, .gs-vendere-guide-card + .gs-vendere-guide-card { border-left: 0 !important; border-top: 1px solid var(--gs160-line) !important; padding-left: 0 !important; }

    body.gs-editorial-valuation .gs-valutazione-hero { min-height: 0; grid-template-columns: 1fr !important; margin-bottom: 78px !important; }
    .gs-valutazione-hero-copy { padding: 62px 28px !important; }
    .gs-valutazione-title { font-size: clamp(3rem, 13vw, 5rem) !important; }
    .gs-valutazione-dossier { padding: 50px 28px !important; }
    .gs-valutazione-process-grid { grid-template-columns: 1fr !important; }
    .gs-valutazione-process-card { min-height: 0 !important; padding: 36px 0 !important; }
    .gs-valutazione-process-card + .gs-valutazione-process-card { border-left: 0 !important; border-top: 1px solid var(--gs160-line) !important; padding-left: 0 !important; }
    body.gs-editorial-valuation .gs-valutazione-criteria { padding: 72px 28px !important; grid-template-columns: 1fr !important; gap: 42px !important; }
    body.gs-editorial-valuation .gs-valutazione-transparency, body.gs-editorial-valuation .gs-valutazione-final { padding-inline: 28px !important; }
    .gs-valutazione-two-columns { grid-template-columns: 1fr !important; }
    .gs-form-grid { grid-template-columns: 1fr !important; }

    .gs-site-footer-inner { width: calc(100% - 38px); grid-template-columns: 1fr 1fr; gap: 34px; }
    .gs-site-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .gs-about-hero, .gs-about-story, .gs-about-principles, .gs-about-territory,
    .gs-guides-hero, .gs-guide-featured, .gs-guide-library, .gs-internal-cta,
    body.gs-editorial-sell .gs-vendere-page,
    body.gs-editorial-valuation .gs-valutazione-page { width: calc(100% - 28px) !important; }
    .gs-intro-copy h1, .gs-guides-hero h1, body.gs-editorial-sell .gs-vendere-title, .gs-valutazione-title {
        font-size: clamp(2.7rem, 14vw, 4.2rem) !important;
        overflow-wrap: anywhere;
    }
    .gs-about-stat { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -1px; }
    .gs-about-photo > img { height: 112vw; max-height: 510px; border-radius: 10px 10px 0 0; }
    .gs-about-stat strong { font-size: 4rem; }
    .gs-about-story h2, .gs-about-territory h2, .gs-guide-featured-copy h2, .gs-guide-library-heading h2, .gs-internal-cta h2,
    body.gs-editorial-sell .gs-vendere-intro > h2, body.gs-editorial-sell .gs-vendere-method > h2, body.gs-editorial-sell .gs-vendere-transparency > h2, body.gs-editorial-sell .gs-vendere-guides > h2, body.gs-editorial-sell .gs-vendere-faq > h2,
    .gs-valutazione-process > h2, .gs-valutazione-form-section > h2, .gs-valutazione-faq > h2 {
        font-size: clamp(2.45rem, 11.5vw, 3.6rem) !important;
        overflow-wrap: anywhere;
    }
    .gs-editorial-button { width: auto; max-width: 100%; }
    .gs-internal-actions { align-items: flex-start; flex-direction: column; }
    body.gs-editorial-sell .gs-vendere-market, body.gs-editorial-sell .gs-vendere-complex, body.gs-editorial-sell .gs-vendere-contact,
    body.gs-editorial-valuation .gs-valutazione-criteria, body.gs-editorial-valuation .gs-valutazione-transparency, body.gs-editorial-valuation .gs-valutazione-final { padding-left: 18px !important; padding-right: 18px !important; }
    .gs-valuation-form { padding: 22px 16px !important; }
    .gs-valuation-progress { grid-template-columns: 1fr !important; }
    .gs-site-footer-inner { width: calc(100% - 28px); grid-template-columns: 1fr; }
    .gs-site-footer-brand { grid-column: auto; gap: 13px; }
    .gs-site-footer-name { font-size: 1.45rem; }
    .gs-site-footer-role { font-size: .52rem; letter-spacing: .22em; }
}

/* Core 1.6.1 — robust full-width breakout for block themes and clean LocalWP installs. */
body.gs-editorial-internal {
    overflow-x: clip;
}
body.gs-editorial-internal .wp-block-post-content,
body.gs-editorial-internal .entry-content {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.gs-editorial-internal .gs-internal,
body.gs-editorial-internal .gs-vendere-page,
body.gs-editorial-internal .gs-valutazione-page {
    position: relative;
    left: 50%;
    width: 100vw !important;
    max-width: none !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}
body.gs-editorial-sell .gs-vendere-page,
body.gs-editorial-valuation .gs-valutazione-page {
    padding-left: max(36px, calc((100vw - var(--gs160-max)) / 2)) !important;
    padding-right: max(36px, calc((100vw - var(--gs160-max)) / 2)) !important;
}
body.gs-editorial-sell .gs-vendere-experience,
body.gs-editorial-sell .gs-vendere-complex,
body.gs-editorial-sell .gs-vendere-contact,
body.gs-editorial-valuation .gs-valutazione-hero,
body.gs-editorial-valuation .gs-valutazione-dossier {
    box-sizing: border-box;
}
.gs-guide-empty-state {
    width: min(calc(100% - 72px), var(--gs160-max));
    margin: 0 auto;
    padding: 100px 0 120px;
    border-bottom: 1px solid var(--gs160-line);
}
.gs-guide-empty-state h2 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(3rem, 4.6vw, 4.8rem);
}
.gs-guide-empty-state > p:last-child {
    max-width: 620px;
    color: var(--gs160-muted);
}
.gs-guide-preview-draft .gs-guide-featured-image,
.gs-guide-preview-draft .gs-guide-card-image {
    cursor: default;
}

@media (max-width: 760px) {
    body.gs-editorial-sell .gs-vendere-page,
    body.gs-editorial-valuation .gs-valutazione-page {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .gs-guide-empty-state {
        width: calc(100% - 40px);
        padding: 70px 0 80px;
    }
}

/* ==========================================================
 * Core 1.6.2 — visual corrections from Local validation.
 * These overrides intentionally touch only the four reported issues.
 * ========================================================== */

/* 1) More restrained editorial scale on internal pages. */
.gs-intro-copy h1 { font-size: clamp(3.2rem, 5.1vw, 5.35rem) !important; }
.gs-about-story h2 { font-size: clamp(2.55rem, 3.9vw, 4.15rem) !important; }
.gs-about-territory h2 { font-size: clamp(2.75rem, 4.1vw, 4.35rem) !important; }
.gs-about-principles span { font-size: 4.65rem !important; }
.gs-about-principles h3 { font-size: 1.72rem !important; }

.gs-guides-hero h1 { font-size: clamp(3.35rem, 5vw, 5.2rem) !important; }
.gs-guide-featured-copy h2 { font-size: clamp(2.35rem, 3.45vw, 3.65rem) !important; }
.gs-guide-library-heading h2 { font-size: clamp(2.55rem, 3.8vw, 3.95rem) !important; }
.gs-guide-card-160 h3 { font-size: clamp(1.45rem, 1.9vw, 1.85rem) !important; line-height: 1.09 !important; }

body.gs-editorial-sell .gs-vendere-title { font-size: clamp(3.35rem, 5vw, 5.25rem) !important; }
body.gs-editorial-sell .gs-vendere-intro > h2,
body.gs-editorial-sell .gs-vendere-method > h2,
body.gs-editorial-sell .gs-vendere-transparency > h2,
body.gs-editorial-sell .gs-vendere-guides > h2,
body.gs-editorial-sell .gs-vendere-faq > h2 { font-size: clamp(2.55rem, 3.8vw, 4rem) !important; }
body.gs-editorial-sell .gs-vendere-complex h2 { font-size: clamp(2.55rem, 3.7vw, 3.9rem) !important; }
.gs-vendere-experience-copy h2 { font-size: clamp(2.35rem, 3.3vw, 3.35rem) !important; }
.gs-vendere-contact h2 { font-size: clamp(2.55rem, 3.9vw, 4.1rem) !important; }

.gs-valutazione-title { font-size: clamp(3.35rem, 5vw, 5.2rem) !important; }
body.gs-editorial-valuation .gs-valutazione-process > h2,
body.gs-editorial-valuation .gs-valutazione-form-section > h2,
body.gs-editorial-valuation .gs-valutazione-faq > h2 { font-size: clamp(2.55rem, 3.8vw, 4rem) !important; }
.gs-valutazione-dossier h2 { font-size: clamp(1.9rem, 2.55vw, 2.65rem) !important; }
.gs-valutazione-final h2 { font-size: clamp(2.55rem, 3.7vw, 3.9rem) !important; }

/* 2) CTA contrast: no negative z-index layer behind the theme canvas. */
.gs-internal-cta {
    background: #1d2529 !important;
    box-shadow: 0 0 0 100vmax #1d2529;
    clip-path: inset(0 -100vmax);
    isolation: isolate;
}
.gs-internal-cta::before { display: none !important; }
.gs-internal-cta h2,
.gs-internal-cta .gs-editorial-label-light,
.gs-internal-cta-copy > p,
.gs-internal-cta .gs-editorial-secondary { position: relative; z-index: 1; }
.gs-internal-cta h2 { font-size: clamp(2.55rem, 4vw, 4.1rem) !important; color: #fff !important; }
.gs-internal-cta-copy > p { color: rgba(255,255,255,.86) !important; }
.gs-internal-cta .gs-editorial-label-light { color: rgba(255,255,255,.72) !important; }

/* 3) About: wider real construction shot, less emphasis on wall texture. */
.gs-about-photo > img {
    object-position: center center !important;
    filter: saturate(.94) contrast(.98);
}

/* 4) Guides: alternate photo cards with typographic cards to avoid a wall
 * of near-identical desk imagery while preserving all articles/images. */
.gs-guide-card-160 {
    min-width: 0;
}
.gs-guide-card-text-only {
    min-height: 100%;
    padding: 34px 32px 36px !important;
    background: var(--gs160-ivory);
    border-top: 1px solid var(--gs160-line);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.gs-guide-card-text-only .gs-guide-card-number {
    margin-bottom: auto;
    padding-bottom: 54px;
    font-family: var(--gs160-serif);
    font-size: clamp(4.6rem, 6.5vw, 6.8rem);
    font-style: italic;
    line-height: .85;
    color: #d8d4cd;
}
.gs-guide-card-text-only .gs-guide-card-meta { margin-top: 0; }
.gs-guide-card-text-only .gs-editorial-link { margin-top: auto; padding-top: 22px; }
.gs-guide-card-with-image .gs-guide-card-image { aspect-ratio: 3 / 2; }
.gs-guide-card-with-image:nth-child(4n+1) .gs-guide-card-image { aspect-ratio: 4 / 3; }
.gs-guide-card-with-image:nth-child(4n+3) .gs-guide-card-image { aspect-ratio: 5 / 4; }

/* Footer navigation mirrors the header sequence; slightly more breathing room. */
.gs-site-footer-links { gap: 11px; }

@media (max-width: 760px) {
    .gs-intro-copy h1,
    .gs-guides-hero h1,
    body.gs-editorial-sell .gs-vendere-title,
    .gs-valutazione-title { font-size: clamp(2.65rem, 11vw, 4.2rem) !important; }

    .gs-about-story h2,
    .gs-about-territory h2,
    .gs-guide-featured-copy h2,
    .gs-guide-library-heading h2,
    .gs-internal-cta h2,
    body.gs-editorial-sell .gs-vendere-intro > h2,
    body.gs-editorial-sell .gs-vendere-method > h2,
    body.gs-editorial-sell .gs-vendere-transparency > h2,
    body.gs-editorial-sell .gs-vendere-guides > h2,
    body.gs-editorial-sell .gs-vendere-faq > h2,
    body.gs-editorial-valuation .gs-valutazione-process > h2,
    body.gs-editorial-valuation .gs-valutazione-form-section > h2,
    body.gs-editorial-valuation .gs-valutazione-faq > h2 { font-size: clamp(2.15rem, 9vw, 3.2rem) !important; }

    .gs-guide-card-text-only { min-height: 360px; padding: 30px 24px 32px !important; }
    .gs-guide-card-text-only .gs-guide-card-number { padding-bottom: 42px; }
}

/* Core 1.6.17 — dati fiscali esclusivamente nel footer. */
.gs-site-footer-brand .gs-site-footer-ids {
    flex-basis: 100%;
    color: rgba(255,255,255,.72);
    font-size: .63rem;
    letter-spacing: .07em;
    line-height: 1.45;
    margin-top: -8px;
}
