/*
Theme Name: Primigenia Nature
Theme URI:  https://primigenianature.com/
Author:     Raffaella Bonaschi
Author URI: https://creativespot.it/
Template:   astra
Version:    1.0
License:    GNU General Public License v2 or later
*/

.ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.single-post .site-content > .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    display: block !important;
}

@media (min-width:1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

p {
	margin-bottom: 0px;
}

.postid-386 .entry-content p {
    margin-bottom: 0px;
}

/* Footer */

.footer-list{
	margin-top: -10px;
	display: flex;
    flex-direction: column;
    gap: 8px; 
}

.contatti-footer {
    font-size: 16px;
    color: #F9FAF787;
    display: flex;
    flex-direction: row;
    gap: 10px; 
    align-items: center;
    margin-bottom: 8px;
}

.footer-copy {
	font-size: 14px;
    color: #F9FAF787;
}

.footer-copy-link {
    font-size: 14px;
    color: #F9FAF787;
    text-align: right;
    display: inline-block;
}

.footer-widget-area[data-section="section-fb-html-2"] .ast-builder-html-element {
    text-align: right !important;
}

.footer-copy-link:hover{
    color: #6B7B5F;
}

.footer-link {
  color: #F9FAF787;
  margin-left: 10px;
}

.footer-text {
	margin-left: 10px;
}

.footer-img {
	width: 20px;
}

/* Pulsante Primario */
.button-cta {
  background-color: #2F3F34;
  color: #fff;
  height: 2.9em;
  border: #2F3F34 0.2em solid;
  border-radius: 0;
  transition: all 0.6s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.8em;
  cursor: pointer;
}
.button-cta:hover {
   background-color: #6B7B5F;
}
.button-cta svg {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  stroke: #fff;
  transition: all 0.6s ease;
  z-index: 1;
  margin-left: 10px;
}
.button-cta:hover svg {
  transform: translateX(5px);
}
.button-cta .text {
  flex: 1;
  text-align: left;
}

/* Pulsante Secondario */
.button-cta-2 {
  background-color: transparent;
  color: #fff;
  height: 2.9em;
  border: #fff 1px solid;
  border-radius: 0;
  transition: all 0.6s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.8em;
  cursor: pointer;
}
.button-cta-2:hover {
   background-color: #6B7B5F;
   border: #6B7B5F 1px solid;
}
.button-cta-2 svg {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  stroke: #fff;
  transition: all 0.6s ease;
  z-index: 1;
  margin-left: 10px;
}
.button-cta-2:hover svg {
  transform: translateX(5px);
}
.button-cta-2 .text {
  flex: 1;
  text-align: left;
}

.cta-hero {
	display: flex;
	flex-direction: row;
	gap: 10px;
}

@media (max-width: 768px){
	.footer-widget-area[data-section="section-fb-html-2"] .ast-builder-html-element {
    text-align: center !important;
}
}

/* Timeline */
.cool-vertical-timeline-body .timeline-content .story-details{	
	background: #39483e;
	border-radius: 0px;
}
.cool-vertical-timeline-body.one-sided.left .timeline-content .story-details {
    background: #DFE4DD;
    border-radius: 0px;
}

/* ==========================================================
   GALLERIA PROGETTI — /css/galleria-progetti.css
   ========================================================== */

/* ---------- Wrapper ---------- */
.cp-galleria-wrapper {
    width: 100%;
}

/* ---------- Filtri ---------- */
.cp-filtri {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}

.cp-filtro-btn {
    padding: 10px 22px;
    border: 1px solid #596F4D;
    border-radius: 0px;
    background: transparent;
    color: #596F4D;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    transition: background 0.25s ease, color 0.25s ease;
    line-height: 1;
}

.cp-filtro-btn:hover,
.cp-filtro-btn.cp-filtro-attivo {
    background: #596F4D;
    color: #fff;
}

/* ---------- Griglia ---------- */
.cp-griglia {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}
.cp-card-link {
    flex: 0 0 calc((100% - 64px) / 3);
    max-width: calc((100% - 64px) / 3);
    text-decoration: none;
    color: inherit;
	cursor: pointer;
}
@media (max-width: 1024px) {
    .cp-card-link {
        flex: 0 0 calc((100% - 32px) / 2);
        max-width: calc((100% - 32px) / 2);
    }
}
@media (max-width: 640px) {
    .cp-card-link {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.cp-card-link {
    display: block;
}

.cp-card {
    width: 100%;
	cursor: pointer;
}

@media (max-width: 1024px) {
    .cp-card {
        width: calc((100% - 32px) / 2);
    }
}

@media (max-width: 640px) {
    .cp-card {
        width: 100%;
    }
}

/* ---------- Card ---------- */
.cp-card {
    display: flex;
    flex-direction: column;
    cursor: default;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cp-card.cp-nascosta {
    display: none;
}

/* ---------- Immagine ---------- */
.cp-card-img {
    overflow: hidden;
    border-radius: 0px;
    margin-bottom: 16px;
    aspect-ratio: 4 / 3;
}

.cp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
	cursor: pointer;
}

.cp-card:hover .cp-card-img img {
    transform: scale(1.04);
}

/* ---------- Body ---------- */
.cp-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Titolo e excerpt: NON stilizzati → li prende dal tema */
.cp-card-titolo {}
.cp-card-excerpt {}

/* ---------- Meta (luogo + anno) ---------- */
.cp-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}

.cp-meta-luogo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ---------- Nessun risultato ---------- */
.cp-nessun-risultato {
    text-align: center;
    padding: 32px 0;
    width: 100%;
}

/* ==========================================================
   SINGLE PROGETTO — /css/single-progetto.css
   ========================================================== */

.single-progetto .site-content > .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    display: block !important;
}

/* ---------- Wrapper ---------- */
.sp-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 100px 80px;
}

@media (max-width: 1024px) {
    .sp-wrapper {
        padding: 32px 30px 80px;
    }
}

@media (max-width: 640px) {
    .sp-wrapper {
        padding: 32px 20px 80px;
    }
}

/* ---------- Breadcrumb ---------- */
.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.sp-breadcrumb a {
    text-decoration: none;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.sp-breadcrumb a:hover {
    opacity: 1;
}

.sp-breadcrumb span {
    opacity: 0.5;
}

/* ---------- Badge categoria ---------- */
.sp-categoria-badge {
    margin-bottom: 12px;
}

.sp-categoria-badge a {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid currentColor;
    border-radius: 50px;
    font-size: 0.8em;
    text-decoration: none;
    color: #596F4D;
    border-color: #596F4D;
    transition: background 0.2s, color 0.2s;
}

.sp-categoria-badge a:hover {
    background: #596F4D;
    color: #fff;
}

/* ---------- Titolo (dal tema) ---------- */
.sp-titolo {}

/* ---------- Meta bar ---------- */
.sp-meta-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 16px 0 32px;
}

.sp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
}

/* ---------- Hero image ---------- */
.sp-hero-img {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 64px;
}

.sp-hero-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 520px;
}

/* ---------- Layout 2 colonne ---------- */
.sp-content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 56px;
    align-items: start;
}

@media (max-width: 900px) {
    .sp-content-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ---------- Testo (dal tema) ---------- */
.sp-sottotitolo-progetto {}

.sp-testo {}

.sp-testo p {
    margin-bottom: 1.4em;
}

/* ---------- Sidebar ---------- */
.sp-col-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 32px;
}

/* ---------- Box ---------- */
.sp-box {
    background: #f5f6f4;
    border-radius: 0;
    padding: 24px;
}

.sp-box-titolo {
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 0;
}

/* ---------- Righe dettagli ---------- */
.sp-box-riga {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
}

.sp-box-riga:last-child {
    margin-bottom: 0;
}

.sp-box-label {
    font-size: 0.78em;
    opacity: 0.6;
}

.sp-box-valore {
    font-weight: 500;
    font-size: 0.95em;
}

/* ---------- Lista piante ---------- */
.sp-lista-piante {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-lista-piante li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.sp-lista-piante li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1.5px solid #596F4D;
    flex-shrink: 0;
}

/* ---------- Tag tecniche ---------- */
.sp-tags-tecniche {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-tag {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #c8c8c8;
    border-radius: 0;
    font-size: 0.8em;
    background: transparent;
}

/* ---------- Pulsante CTA ---------- */
.sp-col-sidebar .button-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: #596F4D;
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    transition: background 0.25s ease;
}

.sp-col-sidebar .button-cta:hover {
    background: #4a5f40;
}

.sp-col-sidebar .button-cta svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sp-col-sidebar a {
    text-decoration: none;
}

/* =============================================
   BLOG LOOP — solo layout, zero stili testi
   ============================================= */

.bl-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

/* ── POST IN EVIDENZA ── */
.bl-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #f5f7f5;
    border-radius: 0px;
    overflow: hidden;
    align-items: center;
}

.bl-featured__image {
    height: 100%;
    min-height: 320px;
}

.bl-featured__image a {
    display: block;
    height: 100%;
}

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

.bl-featured__content {
    padding: 48px 48px 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bl-featured__content a {
    text-decoration: none;
    color: inherit;
}

/* ── TAG / CATEGORIA ── */
.bl-tag {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid currentColor;
    border-radius: 20px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    width: fit-content;
}

/* ── META (data + tempo lettura) ── */
.bl-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bl-meta__date,
.bl-meta__time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
}

/* ── DIVISORE ── */
.bl-divider {
    width: 48px;
    height: 3px;
    background: #c0392b;
    margin: 48px auto;
    border-radius: 2px;
}

/* ── GRID ALTRI POST ── */
.bl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

.bl-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bl-card__image {
    border-radius: 0px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.bl-card__image a {
    display: block;
    height: 100%;
}

.bl-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bl-card__image:hover img {
    transform: scale(1.04);
}

.bl-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bl-card__content a {
    text-decoration: none;
    color: inherit;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .bl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bl-featured {
        grid-template-columns: 1fr;
    }

    .bl-featured__image {
        min-height: 220px;
    }

    .bl-featured__content {
        padding: 28px 24px;
    }

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

/* ==========================================================
   SINGLE ARTICLE — /css/single-article.css
   ========================================================== */

/* ---------- Override Astra container ---------- */
body.single-post .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.single-post #primary {
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}

/* ---------- Wrapper ---------- */
.sa-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 100px 80px;
}

@media (max-width: 1024px) {
    .sa-wrapper {
        padding: 32px 30px 80px;
    }
}

@media (max-width: 640px) {
    .sa-wrapper {
        padding: 32px 20px 80px;
    }
}

/* ---------- Breadcrumb ---------- */
.sa-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.sa-breadcrumb a {
    text-decoration: none;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.sa-breadcrumb a:hover {
    opacity: 1;
}

.sa-breadcrumb span {
    opacity: 0.5;
}

/* ---------- Badge categoria ---------- */
.sa-categoria-badge {
    margin-bottom: 16px;
}

.sa-categoria-badge a {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid #596F4D;
    border-radius: 50px;
    font-size: 0.8em;
    text-decoration: none;
    color: #596F4D;
    transition: background 0.2s, color 0.2s;
}

.sa-categoria-badge a:hover {
    background: #596F4D;
    color: #fff;
}

/* ---------- Titolo (dal tema) ---------- */
.sa-titolo {}

/* ---------- Meta bar ---------- */
.sa-meta-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 16px 0 32px;
}

.sa-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    opacity: 0.7;
}

/* ---------- Hero image ---------- */
.sa-hero-img {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 64px;
}

.sa-hero-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 520px;
    border-radius: 0;
}

/* ---------- Layout 2 colonne ---------- */
.sa-content-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 56px;
    align-items: start;
}

@media (max-width: 900px) {
    .sa-content-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---------- Sidebar tag ---------- */
.sa-col-sidebar {
    position: sticky;
    top: 32px;
}

.sa-tags-label {
    display: block;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.5;
    margin-bottom: 12px;
}

.sa-tags-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

@media (max-width: 900px) {
    .sa-tags-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.sa-tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #c8c8c8;
    border-radius: 0;
    font-size: 0.8em;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, color 0.2s;
}

.sa-tag:hover {
    border-color: #596F4D;
    color: #596F4D;
}

/* ---------- Testo (dal tema) ---------- */
.sa-col-main {}
.sa-testo {}

.sa-testo p {
    margin-bottom: 1.4em;
}

/* ---------- Navigazione post ---------- */
.sa-post-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.sa-nav-prev,
.sa-nav-next {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 45%;
}

.sa-nav-next {
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
}

.sa-nav-label {
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.5;
}

.sa-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 0.95em;
    transition: color 0.2s;
}

.sa-nav-link:hover {
    color: #596F4D;
}

.sa-nav-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ==========================================================
   CAROSELLO TESTIMONIANZE — /css/carosello-testimonianze.css
   ========================================================== */

.ct-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* ---------- Track ---------- */
.ct-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* ---------- Slide ---------- */
.ct-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-width: 100%;
    padding: 20px 0 60px;
}

@media (max-width: 768px) {
    .ct-slide {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 20px 0 48px;
    }
}

/* ---------- Immagine ---------- */
.ct-slide-img-wrap {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.ct-slide-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.ct-slide-img-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

/* ---------- Etichetta progetto ---------- */
.ct-etichetta {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.92);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85em;
    color: inherit;
    backdrop-filter: blur(4px);
}

/* ---------- Testo ---------- */
.ct-slide-testo {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ---------- Virgolette ---------- */
.ct-virgolette {
    font-size: 3rem;
    line-height: 1;
    color: var(--ast-global-color-8, #b07d62);
    font-family: Georgia, serif;
    letter-spacing: -4px;
    opacity: 0.6;
}

/* ---------- Citazione (testo dal tema) ---------- */
.ct-citazione {
    margin: 0;
    padding: 0;
    border: none;
    font-style: normal;
    font-size: 1.05em;
    line-height: 1.65;
}

/* ---------- Autore ---------- */
.ct-autore {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ct-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ast-global-color-5, rgba(140,153,129,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    font-weight: 600;
    flex-shrink: 0;
    color: var(--ast-global-color-2, #2f3f34);
}

.ct-autore-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ct-nome {
    font-weight: 600;
    font-size: 0.95em;
}

.ct-ruolo {
    font-size: 0.85em;
    opacity: 0.6;
}

/* ---------- Controlli ---------- */
.ct-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 8px;
}

/* ---------- Frecce ---------- */
.ct-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d0d0d0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
    padding: 0;
    color: inherit;
}

.ct-btn:hover {
    border-color: #596F4D;
    background: transparent;
    color: #596F4D;
}

.ct-btn svg {
    width: 16px;
    height: 16px;
}

/* ---------- Dots ---------- */
.ct-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ct-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d0d0d0;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, width 0.25s;
}

.ct-dot.ct-dot-attivo {
    background: #596F4D;
    width: 28px;
    border-radius: 50px;
}

/* Metodo */

@media (max-width: 921px) {

    /* Step 02 */
    .gb-element-66f7fe01 {
        display: flex !important;
        flex-direction: column !important;
    }
    .gb-element-66f7fe01 > .gb-element-9a5e1809 {
        order: 1 !important;
    }
    .gb-element-66f7fe01 > .gb-element-2fba063f {
        order: 2 !important;
    }

    /* Step 04 */
    .gb-element-0637945f {
        display: flex !important;
        flex-direction: column !important;
    }
    .gb-element-0637945f > .gb-element-685ed713 {
        order: 1 !important;
    }
    .gb-element-0637945f > .gb-element-8226e1ad {
        order: 2 !important;
    }

}

/* Animazioni */


/* Lift cards — will-change per performance */
.gb-element-e341c238,
.gb-element-c913899b,
.cp-card {
    will-change: transform;
}

.gb-element-551a9b4b,
.gb-element-7f282cab,
.cp-card-img {
    overflow: hidden;
}

.gb-element-4cfe4888 {
    overflow: hidden;
}

/* ============================================================
   NASCONDI TRIGGER ASTRA ORIGINALE SU MOBILE
   ============================================================ */
@media (max-width: 921px) {
    [data-section="section-header-mobile-trigger"] {
        display: none !important;
    }
    .ast-mobile-header-content {
        display: none !important;
    }
    /* Mantieni visibile la sezione destra anche senza il trigger Astra */
    #ast-mobile-header .site-header-primary-section-right {
        display: flex !important;
        align-items: center;
    }
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */
.cp-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 0 !important;
    z-index: 10002;
    position: relative;
}

@media (max-width: 921px) {
	.cp-hamburger {
        display: flex;
        visibility: hidden;
    }
    .cp-hamburger.is-ready {
        visibility: visible;
    }
}

.cp-hamburger span {
    display: block;
    width: 26px;
    height: 1.5px;
    background-color: var(--ast-global-color-2);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.3s ease,
                width 0.3s ease;
}

.cp-hamburger.is-open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background-color: var(--ast-global-color-7);
}
.cp-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.cp-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background-color: var(--ast-global-color-7);
}

/* ============================================================
   BOTTONE CLOSE OVERLAY
   ============================================================ */
.cp-overlay-close {
    position: absolute;
    top: 10px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ast-global-color-7);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.cp-overlay-close:hover {
    opacity: 1;
}

.cp-overlay-close svg {
    width: 28px;
    height: 28px;
    stroke: var(--ast-global-color-7);
}


.cp-mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--ast-global-color-2);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 40px 100px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s linear 0.5s;
}

.cp-mobile-overlay.is-open {
    pointer-events: all;
    visibility: visible;
    transition: visibility 0s linear 0s;
}

/* ============================================================
   VOCI NAV
   ============================================================ */
.cp-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cp-mobile-nav li {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.cp-mobile-nav li + li {
    margin-top: 4px;
}

.cp-mobile-nav a {
    display: inline-block;
    font-family: 'Gilda Display', serif;
    font-size: clamp(2rem, 7vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ast-global-color-7);
    text-decoration: none;
    letter-spacing: -0.5px;
    padding: 6px 0;
    transition: color 0.25s ease;
}

.cp-mobile-nav a:hover,
.cp-mobile-nav a[aria-current="page"] {
    color: var(--ast-global-color-8);
}

/* CTA */
.cp-mobile-nav li.cp-nav-cta {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(241, 236, 223, 0.15);
}

.cp-mobile-nav li.cp-nav-cta a {
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ast-global-color-8);
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cp-mobile-nav li.cp-nav-cta a svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cp-mobile-nav li.cp-nav-cta a:hover svg {
    transform: translateX(5px);
}

/* ============================================================
   FOOTER OVERLAY
   ============================================================ */
.cp-mobile-footer {
    position: absolute;
    bottom: 36px;
    left: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cp-mobile-footer a {
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    color: rgba(241, 236, 223, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cp-mobile-footer a:hover {
    color: var(--ast-global-color-7);
}
 