:root {
    --bg: #ffffff;
    --header-bg: #f7f7f7;
    --text: #10231d;
    --muted: #4b5c57;
    --line: #d7e3dd;
    --surface: #f7fbf9;
    --brand: #0c8a60;
    --brand-strong: #066546;
    --danger: #b42318;
    --focus: #0f766e;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(16, 35, 29, 0.08);
    --header-offset: 100px;
}

@font-face {
    font-family: "Material Symbols Outlined";
    src: url("../fonts/material-symbols-outlined.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Avenir Next", "Segoe UI", "Noto Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

.public-shell {
    scroll-snap-type: y proximity;
    scroll-padding-top: var(--header-offset);
}

body.menu-open {
    overflow: hidden;
}

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

    * {
        animation: none !important;
        transition: none !important;
    }
}

a {
    color: var(--brand-strong);
    text-underline-offset: 3px;
}

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: 600;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: "liga";
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[contenteditable="true"]:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.full-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: #fff;
    padding: 0.65rem 0.85rem;
    border: 2px solid var(--focus);
    border-radius: 8px;
    z-index: 3000;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 100px;
    padding: 1em;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    z-index: 2200;
}

.brand img {
    width: 150px;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    border: 1px solid #bfd8cd;
    background: #ffffff;
    color: #0d5138;
    border-radius: 10px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2300;
}

.menu-toggle .material-symbols-outlined {
    font-size: 28px;
}

.primary-nav {
    margin-left: auto;
}

.mobile-menu-meta {
    display: none;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    display: inline-flex;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
}

.nav-list a[aria-current="page"] {
    background: #e6f5ef;
    color: #0d5138;
    font-weight: 700;
}

.site-main {
    padding: 0;
}

.hero-home,
.page-hero,
.value-hero {
    position: relative;
    overflow: hidden;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    border-radius: 0;
}

.hero-overlay,
.page-hero-overlay,
.value-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(8, 20, 17, 0.68), rgba(8, 20, 17, 0.3));
}

.hero-home {
    min-height: clamp(420px, 78vh, 760px);
    display: flex;
    align-items: center;
}

.hero-home-carousel-shell {
    position: relative;
    width: 100%;
    margin: 0;
}

.hero-home-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hero-home-carousel::-webkit-scrollbar {
    display: none;
}

.hero-home-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.hero-home-controls {
    bottom: 1em;
}

.hero-home-content,
.page-hero-content,
.value-hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    width: min(880px, calc(100% - 2rem));
    padding: 2em;
}

.page-hero {
    min-height: clamp(260px, 44vh, 420px);
    display: flex;
    align-items: center;
}

.value-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.value-hero-content {
    text-align: left;
    max-width: 760px;
}

.value-hero-content h2 {
    font-size: clamp(1.7rem, 4.8vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 0.65rem;
}

.value-hero-content p {
    max-width: 62ch;
    font-size: clamp(1rem, 2.3vw, 1.3rem);
}

.eyebrow {
    display: inline-flex;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-home h1,
.page-hero h1 {
    margin: 0.45rem 0 0.65rem;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
}

.hero-home .lead,
.page-hero .lead {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    max-width: 90%;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.94);
}

.content-page .lead,
.news-editorial-head .lead {
    font-weight: 600;
}

.hero-actions,
.actions-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 1.1rem;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    background: var(--brand);
    color: #fff;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.btn:hover {
    background: var(--brand-strong);
}

.btn-secondary {
    background: #fff;
    border-color: #bfd8cd;
    color: #0d5138;
}

.btn-secondary:hover {
    background: #e9f6f1;
}

.btn-danger {
    background: var(--danger);
}

.panel {
    margin-top: 1.2rem;
    background: #fff;
    border: 0;
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    box-shadow: none;
}

.panel.compact {
    padding: 0.9rem 1rem;
}

.panel-impegno {
    margin-top: 1.8rem;
}

.panel-impegno h2,
.section-title-emphasis {
    text-align: center;
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    margin: 0 0 1.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.panel-impegno h2::after,
.section-title-emphasis::after {
    content: "";
    display: block;
    width: 86px;
    height: 6px;
    margin: 0.55rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #0c8a60, #42b883);
}

.impegno-circles {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-top: 1rem;
}

.impegno-item {
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: var(--shadow);
}

.impegno-item .material-symbols-outlined {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
}

.impegno-item p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.45;
}

.impegno-item.is-green {
    background: #daf5e9;
    color: #0b5f40;
}

.impegno-item.is-blue {
    background: #dfeffd;
    color: #134f86;
}

.impegno-item.is-orange {
    background: #ffe9d7;
    color: #8d4312;
}

.impegno-item.is-pink {
    background: #ffe3ec;
    color: #8f2a53;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0 1rem;
}

.content-page {
    margin: 2.5em 1em;
}

article.content-page p,
article.content-page li,
article.content-page address {
    font-size: 1.4em;
    line-height: 1.5;
}

.content-page blockquote {
    margin: 1.2rem 0;
    padding: 1rem 1.2rem;
    border-left: 6px solid var(--brand);
    background: #eef8f3;
    border-radius: 10px;
    font-size: clamp(2rem, 4.6vw, 2.8rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.45;
    color: #0f3b2f;
}

.content-page blockquote p {
    margin: 0;
}

.content-page blockquote::before {
    content: '"';
    font-size: 1.2em;
    margin-right: 0.2em;
}

.content-page blockquote::after {
    content: '"';
    font-size: 1.2em;
    margin-left: 0.2em;
}

.content-page.narrow {
    max-width: 560px;
}

.news-layout {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 1fr minmax(220px, 280px);
}

.news-editorial-head {
    margin: 0 0 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dce7e2;
}

.news-editorial-head p {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: #507369;
    font-weight: 700;
}

.news-editorial-head h1 {
    margin: 0.35rem 0 0;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
    font-size: clamp(2.4rem, 7vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #10231d;
    text-wrap: balance;
}

.news-editorial-head.is-centered {
    text-align: center;
    border-bottom: 0;
    padding-bottom: 0;
}

.news-categories-inline {
    margin: 2em auto 3em;
    justify-content: center;
}

.news-categories-block {
    margin-top: 2.2rem;
}

.values-intro {
    width: min(900px, calc(100% - 2rem));
    margin: 2.5em auto 1.3em;
    text-align: center;
}

.chi-siamo-hero-image-wrap {
    margin: 0 1em;
}

.chi-siamo-hero-image {
    display: block;
    width: 100%;
    max-height: 580px;
    object-fit: cover;
    border-radius: 14px;
}

.values-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: #507369;
    font-weight: 700;
}

.values-intro h1 {
    margin: 0.4rem 0 0;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
    font-size: clamp(2.4rem, 7.6vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #10231d;
}

.values-subtitle {
    margin: 0.9rem auto 0;
    max-width: 90%;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #48635b;
}

.values-carousel-wrap {
    margin-bottom: 1.4rem;
}

.values-closing {
    margin: 0 0 1.2rem;
    width: auto;
    text-align: center;
    font-size: 1.6em;
    font-weight: 500;
    line-height: 1.45;
    color: #2f4f45;
}

.values-outro {
    margin: 2.5em 1em;
}

.values-carousel-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    position: relative;
}

.values-controls {
    position: absolute;
    top: auto;
    right: auto;
    left: 50%;
    bottom: 1em;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

.values-nav {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(10, 28, 23, 0.45);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.values-nav[disabled] {
    opacity: 0.35;
    cursor: default;
}

.values-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 18px;
    border: 1px solid #d8e5df;
    box-shadow: var(--shadow);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.values-carousel::-webkit-scrollbar {
    display: none;
}

.value-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 540px;
    scroll-snap-align: start;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
}

.value-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(359deg, rgba(9, 24, 20, 0.78), rgba(9, 24, 20, 0.25));
}

.value-slide-content {
    position: relative;
    z-index: 1;
    color: #fff;
    min-height: 100%;
    width: 100%;
    padding: 2.1rem;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}

.value-slide-content h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 4.8vw, 3.1rem);
    line-height: 1.05;
}

.value-slide-content p {
    margin: 0 0 1.5em 0;
    font-size: 1.5em;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    max-width: 36ch;
}

.value-slide-index {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    margin: 0 auto 0.8rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(13, 36, 30, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(2px);
}

.news-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.95rem;
    background: #fff;
}

.news-card h2,
.news-card h3 {
    margin: 0.3rem 0;
}

.news-pagination {
    margin-top: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.pagination-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.pagination-link,
.pagination-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid #c2e4d7;
    background: #ffffff;
    color: #0b5f40;
    text-decoration: none;
    padding: 0 0.8rem;
    font-size: 0.95rem;
}

.pagination-link.is-current {
    background: #e9f6f1;
    border-color: #8fcfb4;
    font-weight: 700;
}

.pagination-control.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pagination-ellipsis {
    color: #5f7a71;
    padding: 0 0.2rem;
}

.meta {
    color: var(--muted);
    font-size: 0.94rem;
}

.chip-list {
    list-style: none;
    margin: 2em auto 3em;
    padding: 0.5em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    max-width: 900px;
}

.chip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.34rem 0.68rem;
    border-radius: 999px;
    background: #e9f6f1;
    border: 1px solid #c2e4d7;
    color: #0b5f40;
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1;
}

.chip-link span {
    display: inline-flex;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #c2e4d7;
    font-size: 0.78rem;
    font-weight: 700;
}

.news-detail .detail-cover {
    margin: 0.8rem 0 1rem;
}

.taxonomy-panel {
    margin: 0;
    padding: 0;
}

.taxonomy-panel .chip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    max-width: none;
}

.taxonomy-panel .chip-link {
    font-size: 1.05rem;
    padding: 0.45rem 0.85rem;
}

.news-back-wrap {
    margin-top: 1.4rem;
    text-align: center;
}

.news-back-btn {
    width: 300px;
    max-width: 100%;
    font-size: 1rem;
}

.prose :where(h2, h3, h4) {
    margin-top: 1.1rem;
}

.prose :where(ul, ol) {
    padding-left: 1.2rem;
}

.form-grid {
    display: grid;
    gap: 0.6rem;
}

label {
    font-weight: 700;
}

input,
select,
textarea {
    font: inherit;
    border: 1px solid #b7cec3;
    border-radius: 8px;
    padding: 0.55rem 0.65rem;
    background: #fff;
    color: var(--text);
}

input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    padding: 0;
    margin: 0;
    accent-color: var(--brand);
}

.checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.2rem;
    cursor: pointer;
}

.field-help {
    margin: -0.2rem 0 0;
    color: #4e6a61;
    font-size: 0.95rem;
}

.editor-fieldset {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
}

.editor-tabs {
    display: inline-flex;
    border: 1px solid #b7cec3;
    border-radius: 8px;
    overflow: hidden;
}

.editor-tab {
    background: #fff;
    border: 0;
    border-right: 1px solid #b7cec3;
    padding: 0.45rem 0.8rem;
}

.editor-tab:last-child {
    border-right: 0;
}

.editor-tab.is-active {
    background: #e7f6ef;
    font-weight: 700;
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.65rem 0;
}

.editor-toolbar button {
    border: 1px solid #b7cec3;
    background: #fff;
    border-radius: 8px;
    padding: 0.35rem 0.55rem;
    cursor: pointer;
}

.editor-panel {
    display: none;
}

.editor-panel.is-active {
    display: block;
}

.editor-visual {
    min-height: 220px;
    border: 1px solid #b7cec3;
    border-radius: 10px;
    padding: 0.75rem;
    background: #fff;
}

.editor-visual:empty::before {
    content: "Inizia a scrivere qui...";
    color: #5e746c;
}

.field-error {
    margin: -0.25rem 0 0;
    color: #8d1c13;
    font-weight: 700;
}

.alert {
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    border: 1px solid;
    margin-bottom: 0.7rem;
}

.alert-success {
    background: #e8f9f0;
    border-color: #8dd4b2;
}

.alert-error {
    background: #fdecea;
    border-color: #f2b8b5;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 730px;
}

th,
td {
    padding: 0.65rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: 0.84rem;
    border: 1px solid;
}

.badge-ok {
    background: #e8f9f0;
    border-color: #8dd4b2;
}

.badge-neutral {
    background: #f2f4f6;
    border-color: #c8d0d6;
}

.actions-inline {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.site-footer {
    background: linear-gradient(160deg, #f7faf8 0%, #edf5f1 100%);
    padding: 2em;
    min-height: calc(100dvh - var(--header-offset));
    display: flex;
    align-items: stretch;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: var(--header-offset);
}

@media (min-width: 841px) {
    .site-footer {
        padding-left: 0;
        padding-right: 0;
    }
}

.footer-editorial {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.9fr;
    gap: 2rem;
    min-height: calc(100dvh - var(--header-offset) - 4em);
    align-content: center;
    align-items: start;
    padding: 0.8rem 1em;
}

.footer-brand-block {
    max-width: 30rem;
}

.footer-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    color: #46665d;
    font-weight: 700;
}

.footer-title {
    margin: 0.5rem 0 0;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
    font-size: 3em;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #10231d;
    text-wrap: balance;
}

.footer-title-line {
    display: block;
}

.footer-initial {
    display: inline-block;
}

.footer-initial-r {
    color: #ee5a43;
}

.footer-initial-i {
    color: #e7de2c;
}

.footer-initial-v {
    color: #d83793;
}

.footer-initial-a {
    color: #5cb430;
}

.footer-title-mini {
    font-size: 0.44em;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0;
    color: #35554b;
    margin-left: 0.15em;
}

.footer-note {
    margin: 1.2rem 0 0;
    font-size: clamp(1rem, 2.1vw, 1.3rem);
    color: #35554b;
    max-width: 30ch;
    line-height: 1.45;
}

.footer-contact,
.footer-nav {
    align-self: start;
}

.footer-contact {
    margin: 0;
    font-style: normal;
}

.footer-nav {
    font-style: normal;
}

.footer-contact-label {
    margin: 0 0 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.75rem;
    color: #507369;
    font-weight: 700;
}

.footer-contact > p:not(.footer-contact-label) {
    margin: 0 0 0.6rem;
    font-size: clamp(1rem, 1.9vw, 1.22rem);
    line-height: 1.4;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

.footer-links li {
    margin: 0 0 0.6rem;
    font-size: clamp(1rem, 1.9vw, 1.22rem);
    line-height: 1.4;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    display: inline;
    text-decoration: none;
    color: inherit;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 880px) {
    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-layout .news-articles {
        order: 1;
    }

    .news-layout .news-filters {
        order: 2;
    }

    .impegno-circles {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }
}

@media (max-width: 700px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-footer {
        min-height: calc(100dvh - var(--header-offset));
        padding: 1.25rem 0;
    }

    .values-carousel-shell {
        width: 100vw;
    }

    .chi-siamo-hero-image-wrap {
        margin: 0;
        display: flex;
        justify-content: center;
    }

    .chi-siamo-hero-image {
        width: min(92vw, 440px);
        border-radius: 50%;
        aspect-ratio: 1;
        padding: 1em;
    }

    .values-controls {
        top: auto;
        right: auto;
        left: 50%;
        bottom: 1em;
        transform: translateX(-50%);
        display: flex;
        gap: 0.6rem;
        z-index: 3;
    }

    .values-nav {
        width: 46px;
        height: 46px;
        background: rgba(9, 24, 20, 0.52);
        border-color: rgba(255, 255, 255, 0.64);
    }

    .values-carousel {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .value-slide {
        min-height: 0;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .value-slide-content {
        padding: 1.2rem 0.95rem 4.1rem;
    }

    .value-slide-index {
        width: 46px;
        height: 46px;
        font-size: 0.9rem;
        margin: 0 auto 0.65rem;
    }

    .footer-editorial {
        grid-template-columns: 1fr;
        align-content: space-between;
        min-height: calc(100dvh - var(--header-offset) - 2.5rem);
        gap: 1.8rem;
    }

    .footer-brand-block {
        max-width: none;
    }

    .footer-contact,
    .footer-nav {
        align-self: start;
    }
}

@media (max-width: 840px) {
    .menu-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100dvh;
        background: rgba(247, 247, 247, 0.98);
        backdrop-filter: blur(5px);
        transform: translateX(100%);
        transition: transform 0.32s ease;
        padding: 7em 1.2rem 1.5rem;
        z-index: 2100;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    body.menu-open .primary-nav {
        transform: translateX(0);
    }

    .primary-nav .nav-list {
        flex-direction: column;
        gap: 1em;
        align-items: stretch;
    }

    .primary-nav .nav-list a {
        width: 100%;
        background: #ffffff;
        border: 1px solid #c8dbd2;
        border-radius: 12px;
        padding: 0.9rem 1rem;
        font-size: 1.1rem;
        font-weight: 700;
        text-align: center;
        justify-content: center;
    }

    .mobile-menu-meta {
        display: grid;
        gap: 1.2rem;
        margin-top: auto;
        padding-top: 1.4rem;
        border-top: 1px solid #d4e3dd;
        text-align: left;
        justify-items: start;
    }

    .mobile-menu-contact {
        margin: 0;
        font-style: normal;
    }

    .mobile-menu-contact > p:not(.footer-contact-label) {
        margin: 0 0 0.55rem;
        font-size: clamp(0.98rem, 3.8vw, 1.1rem);
        line-height: 1.4;
    }

    .mobile-menu-links {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-menu-links li {
        margin: 0 0 0.55rem;
        font-size: clamp(0.98rem, 3.8vw, 1.1rem);
        line-height: 1.4;
    }

    .mobile-menu-links li:last-child,
    .mobile-menu-contact > p:last-child {
        margin-bottom: 0;
    }

    .mobile-menu-links a,
    .mobile-menu-contact a {
        color: inherit;
        text-decoration: none;
    }

    .mobile-menu-links a:hover,
    .mobile-menu-links a:focus-visible,
    .mobile-menu-contact a:hover,
    .mobile-menu-contact a:focus-visible {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .hero-home,
    .page-hero {
        min-height: 58vh;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(1120px, calc(100% - 1rem));
    }

    .page-hero {
        min-height: 300px;
        height: 300px;
    }

    .btn {
        width: 100%;
    }

    .actions-inline {
        flex-direction: column;
    }

    .impegno-circles {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .impegno-item {
        padding: 0.7rem;
    }

    .impegno-item .material-symbols-outlined {
        font-size: 1.9rem;
        margin-bottom: 0.35rem;
    }

    .impegno-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .value-hero {
        min-height: 88vh;
    }

    .news-editorial-head h1 {
        font-size: clamp(2.1rem, 11vw, 3.2rem);
    }
}
