/* =========================================================
   IN-VITE — GLOBAL
   ========================================================= */


/* =========================================================
   BASE
   ========================================================= */


html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.5;
}

a,
a:link,
a:visited,
a:hover {
    text-decoration: none;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --agricam-first: #8C3028;
    --agricam-second: #B94F46;
    --agricam-light: #F1E8EF;
    --agricam-cream: #FAF7F5;
    --agricam-text: #65545F;
}


/* =========================================================
   SHARED
   ========================================================= */

.section-label {
    color: var(--agricam-second);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}


/* =========================================================
   PAGE INTRO
   ========================================================= */

.page-intro {
    margin: 55px 0 60px;
}

.page-intro h1 {
    margin: 0 0 20px;
    color: var(--agricam-first);
    font-size: 52px;
    line-height: 1;
}

.page-intro p {
    margin: 0;
    color: var(--agricam-text);
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 35px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-content p {
    margin: 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
}

.footer-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.footer-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.footer-logo-left img {
    max-width: 160px;
    max-height: 55px;
}

.footer-logo-right img {
    max-width: 220px;
    max-height: 55px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

    .site-footer {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo-left img {
        max-width: 140px;
        max-height: 45px;
    }

    .footer-logo-right img {
        max-width: 180px;
        max-height: 45px;
    }

    .footer-content p {
        max-width: 280px;
        order: 2;
    }

    .footer-logo-left {
        order: 1;
    }

    .footer-logo-right {
        order: 3;
    }
}

@media (max-width: 400px) {

    .site-footer {
        padding: 25px 15px;
    }

    .footer-content {
        gap: 15px;
    }

    .footer-logo-left img {
        max-width: 115px;
        max-height: 40px;
    }

    .footer-logo-right img {
        max-width: 150px;
        max-height: 40px;
    }

    .footer-content p {
        max-width: 250px;
        font-size: 10px;
    }
}

/* =========================================================
   IN-VITE — HOME
   ========================================================= */


/* =========================================================
   HOME BASE
   ========================================================= */

body.is-home,
.home-bg {
    background: var(--agricam-cream);
}

body.is-home {
    color: var(--agricam-first);
    font-family: Arial, sans-serif;
}

.home-bg {
    min-height: 100vh;
    position: relative;
}


/* =========================================================
   HERO
   ========================================================= */

.agricam-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
            linear-gradient(
                    90deg,
                    rgba(42, 20, 39, 0.83),
                    rgba(42, 20, 39, 0.35) 70%
            ),
            var(--agricam-second);
}

.agricam-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12,39,47,.3), transparent 55%);
}

.invite-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 75px;
}

.invite-eyebrow {
    color: var(--agricam-second);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.agricam-hero h1 {
    margin: 20px 0;
    font-size: clamp(65px, 10vw, 115px);
    line-height: .95;
    letter-spacing: -.07em;
    font-weight: 800;
}

@media (max-width: 991px) {
    .page-intro h1 {
        margin: 0 0 20px;
        color: var(--agricam-first);
        font-size: 32px;
        line-height: 1;
    }

}

.agricam-hero h1 span {
    color: var(--agricam-second);
}

.agricam-hero h2 {
    max-width: 850px;
    margin-bottom: 20px;
    font-size: clamp(23px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 400;
}

.agricam-hero p {
    max-width: 500px;
    color: var(--agricam-cream);
    font-size: 16px;
}

.invite-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 13px 21px;
    border: 1px solid var(--agricam-light);
    border-radius: 30px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    transition: color .2s, background-color .2s;
}

.invite-button:hover {
    color: var(--agricam-first);
    background: #fff;
}

.hero-scroll {
    position: absolute;
    z-index: 2;
    right: 5%;
    bottom: 25px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 50%;
    color: #fff;
}


/* =========================================================
   FACTS
   ========================================================= */

.invite-facts {
    padding: 30px 0;
    background: #fff;
}

.fact {
    height: 100%;
    padding: 12px 18px;
    border-right: 1px solid #d7e1d7;
}

.fact i {
    display: block;
    margin-bottom: 16px;
    color: var(--agricam-second);
    font-size: 25px;
}

.fact-label {
    display: block;
    margin-bottom: 8px;
    color: var(--agricam-second);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.fact p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.fact small {
    display: block;
    margin-top: 6px;
    color: var(--agricam-text);
    font-size: 11px;
}



/* =========================================================
   PROGETTO — HOME PREVIEW
   ========================================================= */

.invite-project {
    padding: 90px 0;
}

.invite-project h2 {
    margin: 12px 0 0;
    color: var(--agricam-first);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -.045em;
    font-weight: 650;
}

.invite-project p {
    color: var(--agricam-text);
    font-size: 15px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    color: var(--agricam-second);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: gap .2s ease;
}

.project-link i {
    font-size: 12px;
}

.project-link:hover {
    gap: 15px;
    color: var(--agricam-second);
}


/* =========================================================
   EVENTI — HOME PREVIEW
   ========================================================= */

.invite-events {
    padding: 100px 0;
    background: #fff;
}

.events-header,
.partner-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 45px;
}

.events-header h2,
.partner-header h2 {
    margin: 12px 0 0;
    color: var(--agricam-first);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -.045em;
    font-weight: 650;
}

.events-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--agricam-first);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: gap .2s ease;
}

.events-link:hover {
    gap: 15px;
}

.event-preview {
    display: block;
    height: 100%;
    overflow: hidden;
    color: inherit;
    background: var(--agricam-cream);
    transition: transform .25s ease;
}

.event-preview:hover {
    color: inherit;
    transform: translateY(-5px);
}

.event-preview-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.event-preview-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.event-preview:hover .event-preview-image img {
    transform: scale(1.04);
}

.event-preview-date {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    background: #fff;
    color: var(--agricam-first);
}

.event-preview-date strong {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 500;
}

.event-preview-date small {
    font-size: .65rem;
    line-height: 1.1;
    letter-spacing: .08em;
}

.event-preview-content {
    padding: 25px 27px 28px;
}

.event-preview-category {
    display: block;
    margin-bottom: 10px;
    color: var(--agricam-second);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.event-preview-content h3 {
    margin: 0 0 12px;
    color: var(--agricam-first);
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 500;
}

.event-preview-content p {
    margin: 0 0 22px;
    color: var(--agricam-text);
    font-size: .95rem;
    line-height: 1.6;
}

.event-preview-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--agricam-first);
    font-size: .85rem;
    font-weight: 600;
    transition: gap .2s ease;
}

.event-preview:hover .event-preview-more {
    gap: 15px;
}


/* =========================================================
   PARTNER
   ========================================================= */

.invite-partners {
    padding: 100px 0;
    background: var(--agricam-cream);
}

.partner-header p {
    max-width: 390px;
    margin: 0;
    color: var(--agricam-text);
    font-size: 14px;
    line-height: 1.65;
}

.partner-card {
    height: 100%;
    min-height: 135px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e0e7df;
    transition: border-color .2s, transform .2s;
}

.partner-card:hover {
    border-color: var(--agricam-second);
    transform: translateY(-3px);
}

.partner-logo {
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.partner-logo img {
    display: block;
    max-width: 180px;
    max-height: 105px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-logo-text {
    justify-content: center;
    background: transparent;
}

.partner-logo-text span {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--agricam-first);
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1;
}

.partner-info {
    padding-top: 25px;
}

.partner-info span {
    display: block;
    margin-bottom: 5px;
    color: var(--agricam-second);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}

.partner-info strong {
    display: block;
    max-width: 280px;
    color: var(--agricam-first);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 650;
}

.partner-info small {
    display: block;
    margin-top: 4px;
    color: var(--agricam-text);
    font-size: 11px;
}


/* =========================================================
   POLICY
   ========================================================= */

.invite-policy {
    padding: 40px 0;
    color: #fff;
    background: var(--agricam-first);
}

.invite-policy .col-lg-5 {
    border-right: 1px solid rgba(255,255,255,.21);
}

.invite-policy span {
    color: var(--agricam-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.invite-policy h3 {
    margin: 10px 0;
    font-size: 22px;
}

.invite-policy p {
    margin-bottom: 0;
    color: #d8e3e1;
    font-size: 13px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 991px) {

    .fact {
        border-right: 0;
        border-bottom: 1px solid #d7e1d7;
    }

    .events-header,
    .partner-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .partner-header p {
        max-width: 600px;
    }

    .invite-policy .col-lg-5 {
        border-right: 0;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .agricam-hero {
        min-height: 620px;
        background-position: 60% center;
    }

    .invite-hero-content {
        padding: 120px 0 60px;
    }

    .invite-territory,
    .invite-project,
    .invite-events,
    .invite-partners {
        padding: 60px 0;
    }

    .events-header,
    .partner-header {
        margin-bottom: 30px;
    }

    .events-header h2,
    .partner-header h2 {
        font-size: 38px;
    }

    .events-link {
        margin-top: 5px;
    }

    .event-preview-image {
        height: 220px;
    }

    .partner-card {
        min-height: 160px;
        padding: 18px;
    }

    .partner-logo {
        height: 55px;
    }

    .partner-logo img {
        max-width: 130px;
        max-height: 45px;
    }

    .partner-logo-text span {
        width: 70px;
        height: 70px;
        font-size: 20px;
    }

    .partner-info {
        padding-top: 10px;
    }

    .partner-info strong {
        font-size: 12px;
    }

    .invite-policy .col-lg-5 {
        padding-bottom: 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.21);
    }
}

/* =========================================================
   DIVULGAZIONE
   ========================================================= */

.dissemination-page {
    padding-bottom: 80px;
}

.dissemination-section {
    padding: 0 0 70px;
}

.dissemination-section h2 {
    margin: 10px 0 35px;
    color: var(--agricam-first);
    font-size: 36px;
    line-height: 1.2;
}

.publication-list {
    border-top: 1px solid #dfe5df;
}

.publication {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid #dfe5df;
    color: var(--agricam-text);
    text-decoration: none;
    transition: padding .2s ease, color .2s ease;
}

.publication:hover {
    padding-left: 10px;
    color: var(--agricam-first);
}

.publication-content {
    max-width: 1000px;
}

.publication-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.publication-icon {
    flex: 0 0 auto;
    color: var(--agricam-second);
    font-size: 14px;
}

.dissemination-materials {
    padding-top: 20px;
}

.materials-placeholder {
    max-width: 750px;
    padding: 25px 0;
    border-top: 1px solid #dfe5df;
}

.materials-placeholder p {
    margin: 0;
    color: var(--agricam-text);
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 767px) {

    .dissemination-page {
        padding-bottom: 60px;
    }

    .dissemination-section {
        padding-bottom: 50px;
    }

    .dissemination-section h2 {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .publication {
        align-items: flex-start;
        gap: 20px;
        padding: 20px 0;
    }

    .publication-content p {
        font-size: 14px;
    }

    .publication-icon {
        margin-top: 4px;
    }

}

/* =========================================================
   IN-VITE — EVENTI
   ========================================================= */


/* =========================================================
   ARCHIVIO EVENTI
   ========================================================= */

.events-page {
    padding: 0 0 80px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.events-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(84, 44, 77, .16);
    background: #fff;
    transition: transform .2s ease, border-color .2s ease;
}

.events-card:hover {
    color: inherit;
    border-color: var(--agricam-second);
    transform: translateY(-4px);
}

.events-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.events-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.events-card:hover .events-card-image img {
    transform: scale(1.03);
}

.events-card-date {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    background: #fff;
    color: var(--agricam-first);
}

.events-card-image {
    position: relative;
}

.events-card-date strong {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 500;
}

.events-card-date small {
    font-size: .65rem;
    line-height: 1.1;
    letter-spacing: .08em;
}

.events-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.events-card-category {
    display: block;
    margin-bottom: 12px;
    color: var(--agricam-second);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.events-card-content h2 {
    margin: 0 0 12px;
    color: var(--agricam-first);
    font-size: 22px;
    line-height: 1.2;
}

.events-card-content p {
    margin: 0;
    color: var(--agricam-text);
    font-size: 14px;
    line-height: 1.6;
}

.events-card-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 25px;
    color: var(--agricam-second);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: gap .2s ease;
}

.events-card:hover .events-card-more {
    gap: 15px;
}


/* =========================================================
   RESPONSIVE — ARCHIVIO
   ========================================================= */

@media (max-width: 991px) {

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .events-page {
        padding-bottom: 60px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SINGOLO EVENTO
   ========================================================= */

.event-page {
    padding-bottom: 50px;
}

/* ALERT */

.event-alert {
    display: flex;
    gap: 18px;
    margin-bottom: 70px;
    padding: 22px 24px;
    background: var(--agricam-light);
    border-left: 3px solid var(--agricam-second);
}

.event-alert-icon {
    flex-shrink: 0;
    color: var(--agricam-second);
    font-size: 18px;
}

.event-alert h3 {
    margin: 0 0 8px;
    color: var(--agricam-first);
    font-size: 16px;
}

.event-alert p {
    margin: 0;
    color: var(--agricam-text);
    font-size: 13px;
    line-height: 1.7;
}

/* INFORMAZIONI EVENTO */

.event-info-grid {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 22px;
    background: var(--agricam-light);
}

.event-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.event-info-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--agricam-second);
    background: #fff;
    border-radius: 50%;
    font-size: 15px;
}

.event-info-item span {
    display: block;
    margin-bottom: 5px;
    color: var(--agricam-second);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}

.event-info-item p {
    margin: 0;
    color: var(--agricam-first);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.event-info-item small {
    display: block;
    margin-top: 4px;
    color: var(--agricam-text);
    font-size: 12px;
    line-height: 1.5;
}

/* INTRODUZIONE */

.event-introduction {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-areas:
        "info poster"
        "text poster";
    gap: 25px 40px;
    align-items: start;
    margin-bottom: 0;
}

.event-poster {
    grid-area: poster;
    min-width: 0;
    margin-top: -35px;
}

.event-poster img {
    display: block;
    width: 100%;
    height: auto;
}

.event-main-text {
    grid-area: text;
}

/* SEZIONI */

.event-section {
    margin-bottom: 60px;
}

.event-page > .container > .event-section:last-child{
    margin-bottom: 0px;
}

.event-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dfe5df;
}

.event-section-heading > span {
    color: var(--agricam-second);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
}

.event-section-heading h2 {
    margin: 0;
    color: var(--agricam-first);
    font-size: 34px;
    line-height: 1.1;
}

.event-section-heading p {
    margin: 8px 0 0;
    color: var(--agricam-text);
    font-size: 13px;
}


/* TESTO */

.event-main-text p,
.event-section > p,
.event-project-text p,
.event-travel p {
    margin: 0 0 20px;
    color: var(--agricam-text);
    font-size: 15px;
    line-height: 1.8;
}




/* PROGETTO */

.event-project {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 60px;
    align-items: start;
}

.event-project-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* LISTE */

.event-list {
    max-width: 900px;
    margin: 0;
    padding-left: 20px;
    color: var(--agricam-text);
    font-size: 14px;
    line-height: 1.8;
}

.event-list li {
    margin-bottom: 8px;
}


/* VIAGGIO */

.event-travel h3 {
    margin: 35px 0 12px;
    color: var(--agricam-first);
    font-size: 20px;
}

.event-travel h3:first-child {
    margin-top: 0;
}

.event-travel h4 {
    margin: 28px 0 8px;
    color: var(--agricam-first);
    font-size: 15px;
}


   .event-poster a:first-child {
       display: block;
   }

.event-poster img {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
}

.event-poster-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 11px 16px;
    color: var(--agricam-second);
    border: 1px solid var(--agricam-second);
    text-decoration: none;
    font-size: 13px;
    transition: background-color .2s, color .2s;
}

.event-poster-download:hover {
    color: #fff;
    background: var(--agricam-second);
}



/* =========================================================
   RESPONSIVE — SINGOLO EVENTO
   ========================================================= */

@media (max-width: 991.98px) {

    .event-introduction {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "info"
            "text"
            "poster";
    }

    .event-main-text {
        width: 100%;
    }

    .event-poster {
        margin-top: 0;
    }

    .event-project {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
        gap: 30px;
    }
}

@media (max-width: 767.98px) {

    .event-page {
        padding-bottom: 60px;
    }

    .event-alert {
        margin-bottom: 40px;
        padding: 18px;
    }

    .event-introduction {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "info"
            "text"
            "poster";
    }

    .event-main-text {
        width: 100%;
    }

    .event-info-grid {
        padding: 18px;
    }

    .event-poster {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .event-poster img {
        width: 100%;
        height: auto;
    }

    .event-project {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .event-section {
        margin-bottom: 55px;
    }

    .event-section-heading {
        gap: 15px;
    }

    .event-section-heading h2 {
        font-size: 28px;
    }
}

@media (max-width: 400px) {

    .event-poster {
        max-width: 100%;
    }

    .event-info-grid {
        padding: 15px;
    }

    .event-info-item {
        gap: 10px;
    }

    .event-info-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .event-main-text p,
    .event-section > p,
    .event-project-text p,
    .event-travel p {
        font-size: 14px;
    }
}

/* =========================================================
   NAVBAR IN-VITE
   ========================================================= */

.invite-navbar {
    position: relative;
    z-index: 100;

    width: 100%;
    padding: 18px 0;

    background: var(--agricam-first);
}


body.is-home .invite-navbar {
    position: absolute;
    top: 0;
    left: 0;

    background: transparent !important;
}



.invite-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.agricam-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.invite-navbar .navbar-nav {
    gap: 12px;
}

.invite-navbar .nav-link {
    padding: 10px 14px !important;

    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 14px;
    font-weight: 500;

    transition: color 0.2s ease;
}

.invite-navbar .nav-link:hover {
    color: #fff !important;
}

.invite-toggler {
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.invite-toggler:focus {
    box-shadow: none;
}

.invite-toggler .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}


/* Mobile */

@media (max-width: 991.98px) {

    .invite-navbar .navbar-collapse {
        margin-top: 14px;
        padding: 12px 18px;
        border-radius: 12px;
        background: rgba(84, 44, 77, 0.96);
    }

    .invite-navbar .navbar-nav {
        gap: 2px;
    }

    .invite-navbar .nav-link {
        padding: 10px 4px !important;
    }
}

/* =========================================================
   IN-VITE — PROGETTO
   ========================================================= */


/* =========================================================
   INTRODUZIONE
   ========================================================= */

.project-overview {
    padding: 10px 0 55px;
}

.project-overview h2 {
    max-width: 700px;
    margin-bottom: 22px;
    color: var(--agricam-first);
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
}

.project-overview p {
    max-width: 680px;
    margin: 0;
    color: var(--agricam-text);
    font-size: 17px;
    line-height: 1.75;
}

.project-image {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    border-radius: 0 70px 0 70px;
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   DATI DEL PROGETTO
   ========================================================= */

.project-facts {
    padding: 45px 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.project-fact span {
    display: block;
    margin-bottom: 8px;
    color: var(--agricam-second);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.project-fact strong {
    display: block;
    color: var(--agricam-first);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.project-intervention {
    max-width: 850px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.project-intervention span {
    display: block;
    margin-bottom: 8px;
    color: var(--agricam-first);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-intervention p {
    max-width: 750px;
    margin: 0;
    color: var(--agricam-text);
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   OBIETTIVO
   ========================================================= */

.project-objective {
    padding: 35px 0 5px;
}

.project-objective h2 {
    margin-bottom: 25px;
    color: var(--agricam-first);
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
}

.project-objective p {
    margin-bottom: 10px;
    color: var(--agricam-text);
    font-size: 17px;
    line-height: 1.75;
}

/* =========================================================
   TERRITORIO
   ========================================================= */

.invite-territory {
    padding: 90px 0;
    background: var(--agricam-light);
}

.invite-territory h2 {
    margin: 12px 0 0;
    color: var(--agricam-first);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -.045em;
    font-weight: 650;
}

.invite-territory p {
    color: var(--agricam-text);
    font-size: 15px;
}

.territory-image {
    position: relative;
    min-height: 500px;
    height: 430px;
    overflow: hidden;
    border-radius: 0 70px 0 70px;

    background-color: var(--agricam-second);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.territory-caption {
    position: absolute;
    left: 28px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.territory-caption span {
    margin-bottom: 4px;
    font-size: 10px;
    letter-spacing: .2em;
}

.territory-caption strong {
    font-size: 20px;
}

.territory-challenges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin-top: 25px;
}

.territory-challenges div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid #d7e1d7;
    color: var(--agricam-first);
    font-size: 13px;
}

.territory-challenges i {
    width: 25px;
    color: var(--agricam-second);
    font-size: 19px;
}




/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .project-overview {
        padding-bottom: 45px;
    }

    .project-image {
        height: 350px;
        border-radius: 0 50px 0 50px;
    }

    .project-objective {
        padding: 30px 0 20px;
    }

    .territory-image {
        position: relative;
        min-height: 500px;
        height: 430px;
        overflow: hidden;
        border-radius: 0 70px 0 70px;

        background-color: #80977b;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }


    .territory-challenges {
        grid-template-columns: 1fr;
    }
}

