
/*
Theme Name: ARMORLAB Child
Template: extendable
Version: 1.0.0
*/

/* -----------------------------------------
   ARMORLAB — SISTEMA VISIVO
----------------------------------------- */

:root {
    --armor-black: #111111;
    --armor-white: #ffffff;
    --armor-gray: #d8d8d8;
    --armor-orange: #F76908;
    --armor-font: "DM Sans", sans-serif;
    --armor-line-width: 1px;
}

/* -----------------------------------------
   1. STILI GENERALI
----------------------------------------- */

body {
    font-family: var(--armor-font);
    color: var(--armor-black);
    background-color: var(--armor-white);
}

img {
    max-width: 100%;
    height: auto;
}

/* -----------------------------------------
   OVERFLOW ORIZZONTALE — LAYOUT RESPONSIVE
----------------------------------------- */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
}

body {
    margin-right: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe,
embed,
object,
svg {
    max-width: 100%;
}

.wp-site-blocks,
.wp-site-blocks > *,
.wp-block-template-part,
.wp-site-blocks main,
.wp-site-blocks footer,
header.wp-block-template-part,
main,
footer {
    max-width: 100%;
    min-width: 0;
}

/* Blocchi Gutenberg a larghezza piena */

.wp-block-group.alignfull,
.wp-block-cover.alignfull,
.wp-block-columns.alignfull,
.wp-block-image.alignfull,
.wp-block-video.alignfull,
.wp-block-media-text.alignfull {
    max-width: 100%;
}

/* Responsive per tablet e mobile */

@media screen and (max-width: 980px) {

    html,
    body {
        overflow-x: clip !important;
        overscroll-behavior-x: none;
    }

    .wp-site-blocks,
    .wp-site-blocks > *,
    .wp-block-group,
    .wp-block-columns,
    .wp-block-column,
    .wp-block-cover,
    .wp-block-media-text,
    .wp-block-image,
    .wp-block-video,
    .wp-block-embed,
    .wp-block-navigation,
    .wp-block-tabs,
    .wp-block-buttons {
        min-width: 0;
        max-width: 100%;
    }

    .wp-block-group.alignfull,
    .wp-block-cover.alignfull,
    .wp-block-columns.alignfull,
    .wp-block-image.alignfull,
    .wp-block-video.alignfull,
    .wp-block-media-text.alignfull {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .wp-site-blocks p,
    .wp-site-blocks h1,
    .wp-site-blocks h2,
    .wp-site-blocks h3,
    .wp-site-blocks h4,
    .wp-site-blocks li,
    .wp-site-blocks a {
        overflow-wrap: anywhere;
    }

    .wp-block-tabs,
    .wp-block-tabs > *,
    .wp-block-tabs [role="tabpanel"],
    .wp-block-tabs [role="tablist"] {
        max-width: 100%;
        min-width: 0;
    }
}

/* -----------------------------------------
   2. LINK E LINEE DIVISORIE
----------------------------------------- */

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--armor-orange);
}

hr,
.wp-block-separator {
    border: 0;
    border-top: var(--armor-line-width) solid var(--armor-gray);
}

/* -----------------------------------------
   3. HEADER — POSIZIONE E OMBRA
----------------------------------------- */

header.wp-block-template-part,
.wp-site-blocks > header,
.wp-site-blocks > .wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--armor-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-left: none !important;
}

body.admin-bar header.wp-block-template-part,
body.admin-bar .wp-site-blocks > header,
body.admin-bar .wp-site-blocks > .wp-block-template-part {
    top: 32px;
}

@media screen and (max-width: 782px) {

    body.admin-bar header.wp-block-template-part,
    body.admin-bar .wp-site-blocks > header,
    body.admin-bar .wp-site-blocks > .wp-block-template-part {
        top: 46px;
    }
}

/* -----------------------------------------
   4. HEADER — LOGO DESKTOP
----------------------------------------- */

header.wp-block-template-part .wp-block-site-logo {
    flex: 0 0 auto;
    width: fit-content;
    margin-left: 20px;
    margin-right: 0;
}

header.wp-block-template-part .wp-block-site-logo img {
    display: block;
    width: 200px !important;
    max-width: 100%;
    height: auto;
}

/* -----------------------------------------
   5. HEADER — ARMORLAB E SEPARATORE
----------------------------------------- */

header.wp-block-template-part .armorlab-title {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 42px;
    margin-left: 10px !important;
    padding-left: 24px;
    border-left: 1.5px solid #c8c8c8;
}

header.wp-block-template-part .armorlab-title a {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    color: inherit;
    text-decoration: none !important;
}

/* -----------------------------------------
   6. HEADER — MENU E BRAND
----------------------------------------- */

header.wp-block-template-part .wp-block-navigation a,
header.wp-block-template-part .armorlab-title a {
    font-weight: 600;
    transition: color 0.2s ease;
}

header.wp-block-template-part .wp-block-navigation a:hover,
header.wp-block-template-part .armorlab-title a:hover {
    color: var(--armor-orange);
    text-decoration: none;
}

/* -----------------------------------------
   7. ARMORLAB — VOCE NEL MENU MOBILE

   Richiede la classe:
   ext-animate--on armorlab-mobile-item
----------------------------------------- */

@media screen and (min-width: 981px) {

    header.wp-block-template-part
    .wp-block-navigation .armorlab-mobile-item {
        display: none !important;
    }
}

@media screen and (max-width: 980px) {

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .armorlab-mobile-item {
        display: list-item !important;
    }
}

/* -----------------------------------------
   8. HEADER — RESPONSIVE MOBILE
----------------------------------------- */

@media screen and (max-width: 980px) {

    /* LOGO — DIMENSIONE E SPAZIATURA */

    header.wp-block-template-part .wp-block-site-logo {
        width: 145px !important;
        max-width: 145px !important;
        flex: 0 0 145px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
    }

    header.wp-block-template-part .wp-block-site-logo a {
        display: block;
        width: 100%;
        max-width: 145px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header.wp-block-template-part .wp-block-site-logo img {
        display: block;
        width: 145px !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Nasconde ARMORLAB accanto al logo su mobile */

    header.wp-block-template-part .armorlab-title {
        display: none !important;
    }

    /* MENU MOBILE APERTO */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open {
        padding-top: 0 !important;
        background-color: #ffffff !important;
    }

    /* Pulsanti nativi WordPress: reset visivo */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-open,

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-close {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: var(--armor-black) !important;
        appearance: none !important;
        -webkit-appearance: none !important;
    }

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-open:hover,

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-close:hover {
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Rimuove il rettangolo al tocco */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-open:focus:not(:focus-visible),

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-close:focus:not(:focus-visible) {
        outline: none !important;
        box-shadow: none !important;
    }

    /* Focus visibile da tastiera */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-open:focus-visible,

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-close:focus-visible {
        outline: 2px solid var(--armor-orange) !important;
        outline-offset: 3px;
    }

    /* SPAZIO PRIMA DEI LINK DEL MENU */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
        padding-top: 0 !important;
    }

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container {
        margin-top: 120px !important;
    }

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item__content {
        text-decoration: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    /* Rimuove il rettangolo al tocco sui link */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item__content:focus:not(:focus-visible),

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item__content:active {
        outline: none !important;
        box-shadow: none !important;
    }

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item__content:focus-visible {
        outline: 2px solid var(--armor-orange) !important;
        outline-offset: 3px;
    }

    /* -----------------------------------------
       9. HAMBURGER — PULSANTE E ICONE
    ----------------------------------------- */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-open,

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-close {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
    }

    /* Nasconde gli SVG nativi: usiamo icone CSS */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-open svg,

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-close svg {
        display: none !important;
    }

    /* Mantiene il pulsante nativo WordPress */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10003 !important;
    }

    /* Nasconde le voci orizzontali quando il menu responsive è chiuso */

    header.wp-block-template-part
    .wp-block-navigation > .wp-block-navigation__container {
        display: none !important;
    }

    header.wp-block-template-part
    .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none !important;
    }

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__container {
        display: flex !important;
    }

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* HAMBURGER — tre linee */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container-open::before {
        content: "";
        display: block;
        width: 24px;
        height: 18px;
        background: linear-gradient(
            to bottom,
            var(--armor-black) 0,
            var(--armor-black) 2px,
            transparent 2px,
            transparent 8px,
            var(--armor-black) 8px,
            var(--armor-black) 10px,
            transparent 10px,
            transparent 16px,
            var(--armor-black) 16px,
            var(--armor-black) 18px
        );
        flex: 0 0 24px;
    }

    /* -----------------------------------------
       10. X — PULSANTE DI CHIUSURA
    ----------------------------------------- */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close {
        position: fixed !important;
        top: 24px !important;
        right: 24px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        z-index: 100001 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        cursor: pointer !important;
    }

    /* Disegna la X con due linee */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close::before,

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close::after {
        content: "";
        position: absolute;
        top: 15px;
        left: 4px;
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--armor-black) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform-origin: center;
        pointer-events: none;
    }

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close::before {
        transform: rotate(45deg);
    }

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-close::after {
        transform: rotate(-45deg);
    }

    /* Nasconde il logo duplicato nel menu aperto */

    header.wp-block-template-part
    .wp-block-navigation__responsive-container.is-menu-open
    .site-logo-title.wp-block-site-logo.cloned-for-mobile {
        display: none !important;
    }
}

/* =====================================
   ARMOR — HEADER STICKY DESKTOP
===================================== */

@media screen and (min-width: 981px) {

    header.wp-block-template-part,
    .wp-site-blocks > header,
    .wp-site-blocks > .wp-block-template-part {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
        align-self: flex-start;
        transform: none !important;
        background-color: var(--armor-white);
    }

    body.admin-bar header.wp-block-template-part,
    body.admin-bar .wp-site-blocks > header,
    body.admin-bar .wp-site-blocks > .wp-block-template-part {
        top: 32px !important;
    }
}

/* =====================================
   VIDEO HERO ARMOR — FULL BLEED RESPONSIVE
===================================== */

.armor-video-hero {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh;
    min-height: 350px;
    max-height: none;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #f5f5f5;
}

.armor-video-hero video {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center 10%;
}

/* Versione mobile del video */

@media screen and (max-width: 768px) {

    .armor-video-hero {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 65vh;
        min-height: 280px;
        max-height: 550px;
    }

    .armor-video-hero video {
        object-position: center 10%;
    }
}

/* =====================================
   ARMOR — LAYOUT GENERALE A LARGHEZZA PIENA
===================================== */

.wp-site-blocks {
    width: 100%;
    max-width: 100%;
}

.wp-block-group.alignfull,
.wp-block-cover.alignfull,
.wp-block-columns.alignfull {
    max-width: 100%;
    box-sizing: border-box;
}

/* =====================================
   ARMOR — VALUE PROPOSITION A TUTTA LARGHEZZA
   Lo sfondo arriva ai bordi del viewport.
   Il video hero non viene modificato.
===================================== */

.wp-block-group.alignfull.ext-section {
    box-sizing: border-box;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    position: relative;
    left: auto;
    transform: none;
}

/* Contenitore interno della Value Proposition */

.wp-block-group.alignfull.ext-section > .wp-block-group__inner-container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}









/* =========================================
   ARMORLAB — MENU MOBILE SOPRA AL FOOTER
   ========================================= */

@media screen and (max-width: 600px) {

  /* Menu responsive sopra gli altri elementi */
  .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    background: #ffffff !important;
  }

  /* Il footer non deve sovrapporsi al menu aperto */
  body:has(
    .wp-block-navigation__responsive-container.is-menu-open
  ) footer {
    z-index: 0 !important;
  }

}



















/* =========================================
   ARMORLAB — STRISCIA INTRODUTTIVA
   ========================================= */

/* ARMORLAB — posizione di arrivo della CTA */

html {
  scroll-behavior: smooth;
}

#armor-intro {
  scroll-margin-top: 100px;
}

.armor-video-hero {
  margin-bottom: 0 !important;
}

.armor-intro-strip {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-top: 0 !important;
  padding: 76px 24px 80px;
  background-color: #F6F6F6;
  text-align: center;
}

/* Titolo */

.armor-intro-strip h2 {
  max-width: 900px;
  margin: 0 auto 28px;
  color: var(--armor-black, #111111);
  font-family: var(--armor-font, "DM Sans", sans-serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: center;
}

/* Testo descrittivo */

.armor-intro-strip p {
  max-width: 740px;
  margin: 0 auto 16px;
  color: #333333;
  font-family: var(--armor-font, "DM Sans", sans-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  text-align: center;
}

.armor-intro-strip p:last-child {
  margin-bottom: 0;
}










/* =========================================
   ARMORLAB — VERSIONE MOBILE
   Nasconde la striscia introduttiva
   ========================================= */

@media screen and (max-width: 600px) {

  .armor-intro-strip {
    display: none !important;
  }

}



































/* ==========================================
   ARMORLAB — SEZIONE EDITORIALE
   Design che supporta
   ========================================== */

/* CONTENITORE PRINCIPALE */

.armor-design-section {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 24px;
  box-sizing: border-box;
}

/* LAYOUT DESKTOP A DUE COLONNE */

.armor-design-section.wp-block-columns {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  column-gap: 30px;
  align-items: start;
}

/* COLONNE */

.armor-design-section > .wp-block-column {
  min-width: 0;
  margin: 0;
}

/* ==========================================
   GRIGLIA IMMAGINI
   Due immagini verticali affiancate
   ========================================== */

.armor-design-section .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: start;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.armor-design-section .wp-block-gallery figure.wp-block-image {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  box-sizing: border-box !important;
}

.armor-design-section .wp-block-gallery img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ==========================================
   TESTO EDITORIALE — DESKTOP
   ========================================== */

.armor-design-section > .wp-block-column:last-child {
  padding-top: 36px;
  box-sizing: border-box;
}

.armor-design-section h2 {
  max-width: 440px;
  margin: 0 0 30px;
  font-size: clamp(32px, 2.8vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.armor-design-section p {
  max-width: 440px;
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: -0.01em;
}

.armor-design-section p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   TABLET E SCHERMI FINO A 1100 PX
   Immagini sopra, testo sotto
   ========================================== */

@media (min-width: 782px) and (max-width: 1100px) {

  .armor-design-section {
    padding: 56px 28px 64px;
  }

  .armor-design-section.wp-block-columns {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .armor-design-section > .wp-block-column {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    min-width: 0;
    margin: 0;
  }

  .armor-design-section .wp-block-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .armor-design-section .wp-block-gallery img {
    aspect-ratio: 3 / 4;
  }

  .armor-design-section > .wp-block-column:last-child {
    padding: 0;
  }

  .armor-design-section h2 {
    max-width: 100%;
    margin: 0 0 24px;
    font-size: clamp(32px, 4vw, 42px);
  }

  .armor-design-section p {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 22px;
  }

  .armor-design-section p:last-child {
    margin-bottom: 0;
  }
}

/* ==========================================
   MOBILE
   Immagini sopra, testo sotto
   Nessun padding laterale aggiuntivo
   ========================================== */

@media (max-width: 781px) {

  .armor-design-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 36px 0 44px !important;
    box-sizing: border-box !important;
  }

  .armor-design-section.wp-block-columns {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .armor-design-section > .wp-block-column {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    min-width: 0;
    margin: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* GALLERIA */

  .armor-design-section .wp-block-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .armor-design-section .wp-block-gallery figure.wp-block-image {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    box-sizing: border-box !important;
  }

  .armor-design-section .wp-block-gallery img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  /* TESTO */

  .armor-design-section > .wp-block-column:last-child {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .armor-design-section h2 {
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
    font-size: clamp(28px, 6vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 500;
    box-sizing: border-box;
  }

  .armor-design-section p {
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.015em;
    box-sizing: border-box;
  }

  .armor-design-section p:last-child {
    margin-bottom: 0;
  }
}

/* ==========================================
   SMARTPHONE STRETTI
   ========================================== */

@media (max-width: 380px) {

  .armor-design-section {
    padding: 32px 0 40px !important;
  }

  .armor-design-section.wp-block-columns {
    gap: 30px;
  }

  .armor-design-section .wp-block-gallery {
    gap: 6px !important;
  }

  .armor-design-section > .wp-block-column:last-child {
    padding: 0 !important;
  }

  .armor-design-section h2 {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 18px;
  }

  .armor-design-section p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
  }
}
















































/* ==========================================
   ARMORLAB — GALLERIA EDITORIALE
   ========================================== */

.armor-gallery-section {
  display: block;
  width: 100%;
  max-width: 1600px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 32px 72px !important;
  box-sizing: border-box;
}

/* ==========================================
   TITOLO — PERFETTAMENTE CENTRATO
   ========================================== */

.armor-gallery-section h2 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 32px !important;
  padding: 0 !important;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* ==========================================
   GRIGLIA IMMAGINI — DESKTOP
   ========================================== */

.armor-gallery-section .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start;
  box-sizing: border-box !important;
}

.armor-gallery-section .wp-block-gallery figure.wp-block-image {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  box-sizing: border-box !important;
}

/* FORMATO VERTICALE UNIFORME */

.armor-gallery-section .wp-block-gallery img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* ==========================================
   HOVER EDITORIALE IMMAGINI
   ========================================== */

@media (hover: hover) and (pointer: fine) {
  .armor-gallery-section .wp-block-gallery figure:hover img {
    transform: scale(1.025);
  }
}

/* ==========================================
   CTA — PARAGRAFO E LINK GUTENBERG
   ========================================== */

/* Contenitore del paragrafo CTA */

.armor-gallery-section p {
  box-sizing: border-box;
}

/* Centra il paragrafo che contiene il link */

.armor-gallery-section p:has(> a),
.armor-gallery-section p:has(a) {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 32px !important;
  margin-bottom: 0 !important;
  text-align: center !important;
}

/* Aspetto del link CTA */

.armor-gallery-section a {
  text-decoration: none !important;
}

.armor-gallery-section p a,
.armor-gallery-section a.wp-block-button__link {
  position: relative;
  display: inline-block !important;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto !important;
  padding: 0 0 5px !important;
  color: #111111 !important;
  font-size: 16px !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background-image: linear-gradient(#F76908, #F76908);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition:
    color 0.25s ease,
    background-size 0.3s ease;
}

/* SOTTOLINEATURA ANIMATA AL PASSAGGIO DEL MOUSE */

@media (hover: hover) and (pointer: fine) {
  .armor-gallery-section p a:hover,
  .armor-gallery-section a.wp-block-button__link:hover {
    color: #F76908 !important;
    background-size: 100% 1px;
  }
}

/* ACCESSIBILITÀ DA TASTIERA */

.armor-gallery-section p a:focus-visible,
.armor-gallery-section a.wp-block-button__link:focus-visible {
  color: #F76908 !important;
  background-size: 100% 1px;
  outline: 2px solid #F76908;
  outline-offset: 4px;
}

/* ==========================================
   TABLET — DA 601px A 1100px
   ========================================== */

@media (min-width: 601px) and (max-width: 1100px) {
  .armor-gallery-section {
    padding: 8px 24px 60px !important;
  }

  .armor-gallery-section h2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 26px !important;
    text-align: center !important;
    font-size: clamp(32px, 4vw, 42px);
  }

  .armor-gallery-section .wp-block-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

/* ==========================================
   MOBILE — FINO A 600px
   ========================================== */

@media (max-width: 600px) {

  /* RESET DEI CONTENITORI GUTENBERG */

  .entry-content,
  .entry-content.wp-block-post-content,
  .wp-block-group.armor-gallery-section,
  .wp-block-group.armor-gallery-section.has-global-padding,
  .wp-block-group.ext-animate--on.armor-gallery-section,
  .wp-block-group.ext-animate--on.armor-gallery-section.has-global-padding {
    box-sizing: border-box !important;
  }

  .wp-block-group.armor-gallery-section,
  .wp-block-group.armor-gallery-section.has-global-padding,
  .wp-block-group.ext-animate--on.armor-gallery-section,
  .wp-block-group.ext-animate--on.armor-gallery-section.has-global-padding {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* SPAZIO SUPERIORE RIDOTTO */

  .armor-gallery-section {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: -12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 0 48px !important;
    box-sizing: border-box !important;
  }

  /* TITOLO CENTRATO */

  .armor-gallery-section h2 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.035em;
    font-weight: 500;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* GRIGLIA A DUE COLONNE */

  .armor-gallery-section .wp-block-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* IMMAGINI UNIFORMI */

  .armor-gallery-section .wp-block-gallery figure.wp-block-image {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    box-sizing: border-box !important;
  }

  .armor-gallery-section .wp-block-gallery img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  /* CTA CENTRATA SU MOBILE */

  .armor-gallery-section p:has(> a),
  .armor-gallery-section p:has(a) {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 26px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
  }

  .armor-gallery-section p a,
  .armor-gallery-section a.wp-block-button__link {
    font-size: 14px !important;
  }
}





















/* ==========================================
   ARMORLAB — STRISCIA PERSONALIZZAZIONE
   LARGHEZZA FULL WIDTH E SPAZI RIDOTTI
   ========================================== */

.armor-personalization-strip,
.wp-block-group.armor-personalization-strip {
  display: block !important;

  /* Larghezza a tutto schermo */
  width: 100vw !important;
  max-width: 100vw !important;

  /* Centratura rispetto alla finestra */
  position: relative !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;

  /* Riduce lo spazio dalla galleria */
  margin-top: -40px !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;

  /* Spaziatura interna */
  padding: 56px 24px !important;
  box-sizing: border-box !important;

  /* Sfondo */
  background-color: #F5F5F5 !important;
}

/* ==========================================
   TESTO CENTRATO
   ========================================== */

.armor-personalization-strip p {
  display: block !important;
  width: 100% !important;
  max-width: 900px !important;

  margin: 0 auto !important;
  padding: 0 !important;

  color: #111111 !important;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(20px, 2vw, 26px) !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  letter-spacing: -0.025em !important;
  text-align: center !important;

  box-sizing: border-box !important;
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 600px) {
  .armor-personalization-strip,
  .wp-block-group.armor-personalization-strip {
    width: 100vw !important;
    max-width: 100vw !important;

    margin-top: -24px !important;

    padding: 40px 20px !important;
  }

  .armor-personalization-strip p {
    font-size: 20px !important;
    line-height: 1.45 !important;
  }
}
























/* ==================================================
   ARMORLAB — SEZIONE EVOLUZIONE
   Immagine full-width + pannello lilla
   Tipografia editoriale + CTA animata
   ================================================== */

/* SEZIONE A TUTTA LARGHEZZA */
.armor-evolution-section {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 0 !important;

  width: 100vw !important;
  max-width: 100vw !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;

  box-sizing: border-box !important;
}

/* COLONNE */
.armor-evolution-section > .wp-block-column {
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  align-self: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* IMMAGINE */
.armor-evolution-section .wp-block-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.armor-evolution-section .wp-block-image img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 460px;
  object-fit: cover !important;
  object-position: center !important;
}

/* PANNELLO LILLA */
.armor-evolution-section > .wp-block-column:last-child {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;

  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 460px;
  align-self: stretch !important;

  padding: 60px clamp(28px, 5vw, 90px) !important;
  background-color: #F0E7EF !important;

  box-sizing: border-box !important;
}

/* TITOLO — ELEGANTE E LEGGERO */
.armor-evolution-section h2 {
  font-family: "DM Sans", sans-serif !important;
  font-size: clamp(32px, 3vw, 46px) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.045em !important;

  margin-top: 0 !important;
  margin-bottom: 28px !important;
}

/* PARAGRAFI — PIÙ PICCOLI */
.armor-evolution-section p {
  font-family: "DM Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  letter-spacing: -0.01em !important;

  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

/* CTA — SEMI-BOLD */
.armor-evolution-section a {
  display: inline-block !important;
  position: relative !important;
  width: fit-content !important;
  max-width: 100% !important;

  font-family: "DM Sans", sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.01em !important;

  text-decoration: none !important;
  transition: opacity 0.3s ease !important;
}

/* SOTTOLINEATURA ANIMATA */
.armor-evolution-section a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;

  width: 100%;
  height: 1px;
  background-color: currentColor;

  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

/* HOVER — LINEA DA SINISTRA A DESTRA */
.armor-evolution-section a:hover::after,
.armor-evolution-section a:focus-visible::after {
  transform: scaleX(1);
}

.armor-evolution-section a:hover {
  opacity: 0.75;
}

.armor-evolution-section a:focus-visible {
  outline: 2px solid #F76908;
  outline-offset: 5px;
}

/* ACCESSIBILITÀ — RIDUCE LE ANIMAZIONI */
@media (prefers-reduced-motion: reduce) {
  .armor-evolution-section a,
  .armor-evolution-section a::after {
    transition: none !important;
  }
}

/* ==================================================
   MOBILE — IMMAGINE SOPRA, TESTO SOTTO
   ================================================== */

@media screen and (max-width: 767px) {

  /* SEZIONE A TUTTA LARGHEZZA */
  .armor-evolution-section {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 0 calc(50% - 50vw) !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  /* COLONNE IMPILATE */
  .armor-evolution-section > .wp-block-column {
    display: block !important;
    flex: 0 0 100% !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* IMMAGINE PER PRIMA */
  .armor-evolution-section > .wp-block-column:first-child {
    order: 1 !important;
  }

  .armor-evolution-section .wp-block-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .armor-evolution-section .wp-block-image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* PANNELLO LILLA SOTTO L'IMMAGINE */
  .armor-evolution-section > .wp-block-column:last-child {
    order: 2 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 30px 24px 34px !important;
    background-color: #F0E7EF !important;

    box-sizing: border-box !important;
  }

  /* TITOLO MOBILE */
  .armor-evolution-section h2 {
    font-size: clamp(27px, 7vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.04em !important;

    margin-top: 0 !important;
    margin-bottom: 20px !important;

    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* TESTO MOBILE */
  .armor-evolution-section p {
    font-size: 15px !important;
    line-height: 1.65 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 22px !important;
  }

  /* CTA MOBILE */
  .armor-evolution-section a {
    display: inline-block !important;
    width: fit-content !important;
    max-width: 100% !important;

    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  /* FOOTER — LOGO PROPORZIONATO */
  footer .wp-block-site-logo img,
  .site-footer .wp-block-site-logo img {
    max-width: 180px !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FOOTER — NOME ACCANTO AL LOGO */
  footer .armorlab-title,
  .site-footer .armorlab-title {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    flex-shrink: 0 !important;
  }

  /* FOOTER — SPAZI INTERNI */
  footer .wp-block-group,
  .site-footer .wp-block-group {
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}





























/* ==================================================
   ARMOR — RESTA AGGIORNATO
   Pagina WordPress ID 388
   Stile editoriale compatto e responsive
   ================================================== */


/* 1. SFONDO BIANCO E TITOLO AUTOMATICO NASCOSTO */

body.page-id-388,
body.page-id-388 #page,
body.page-id-388 .site,
body.page-id-388 .wp-site-blocks,
body.page-id-388 main,
body.page-id-388 .site-content,
body.page-id-388 .content-area,
body.page-id-388 .site-main,
body.page-id-388 article,
body.page-id-388 .entry-content,
body.page-id-388 .entry-header,
body.page-id-388 .page-header,
body.page-id-388 .wp-block-group,
body.page-id-388 .wp-block-cover {
  background-color: #fff !important;
  background-image: none !important;
}

body.page-id-388 .entry-header,
body.page-id-388 .page-header,
body.page-id-388 .wp-block-post-title {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.page-id-388 .entry-header::before,
body.page-id-388 .entry-header::after,
body.page-id-388 .page-header::before,
body.page-id-388 .page-header::after {
  display: none !important;
  background: none !important;
}


/* 2. CONTENITORE PRINCIPALE
   Riduce lo spazio superiore */

body.page-id-388 .entry-content {
  box-sizing: border-box;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 22px 0 0 !important;
}


/* 3. TITOLO H2
   Classe CSS: armor-form-title */

body.page-id-388 .armor-form-title {
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 10px !important;
  padding: 0 24px !important;
  color: #171717 !important;
  font-family: inherit;
  font-size: clamp(36px, 4vw, 54px) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.045em !important;
  text-align: left !important;
  text-transform: none !important;
}


/* 4. PARAGRAFO INTRODUTTIVO
   Classe CSS: armor-form-description */

body.page-id-388 .armor-form-description {
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 18px !important;
  padding: 0 24px !important;
  color: #686868 !important;
  font-family: inherit;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  text-align: left !important;
}


/* 5. CONTENITORE DEL FORM
   Classe CSS: armor-contact-form */

body.page-id-388 .armor-contact-form {
  box-sizing: border-box;
  width: 100%;
  max-width: 760px;
  margin: 0 auto !important;
  padding: 4px 24px 45px !important;
  color: #171717;
  font-family: inherit;
}


/* 6. SPAZIATURA ED ETICHETTE */

.armor-contact-form .wpforms-field {
  padding: 9px 0;
}

.armor-contact-form .wpforms-field-label {
  display: block;
  margin-bottom: 8px;
  color: #171717;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}


/* 7. CAMPI DI TESTO, EMAIL, TELEFONO E MENU */

.armor-contact-form input[type="text"],
.armor-contact-form input[type="email"],
.armor-contact-form input[type="tel"],
.armor-contact-form textarea,
.armor-contact-form select {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d8d6d3;
  border-radius: 0;
  background: #fff;
  color: #171717;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease,
              box-shadow 0.2s ease;
}


/* 8. FOCUS DEI CAMPI */

.armor-contact-form input:focus,
.armor-contact-form textarea:focus,
.armor-contact-form select:focus {
  border-color: #f47745;
  outline: none;
  box-shadow: 0 0 0 2px rgb(244 119 69 / 10%);
}


/* 9. CAMPO MESSAGGIO */

.armor-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}


/* 10. OPZIONI DI INTERESSE E CONSENSO */

.armor-contact-form ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.armor-contact-form li {
  margin: 8px 0;
}

.armor-contact-form input[type="radio"],
.armor-contact-form input[type="checkbox"] {
  accent-color: #f47745;
}


/* 11. TESTI DI SUPPORTO E CONSENSO */

.armor-contact-form .wpforms-field-description {
  margin-top: 7px;
  color: #686868;
  font-size: 12px;
  line-height: 1.6;
}


/* 12. PULSANTE DI INVIO */

.armor-contact-form button[type="submit"],
.armor-contact-form .wpforms-submit {
  min-height: 46px;
  padding: 13px 26px;
  border: 1px solid #171717;
  border-radius: 0;
  background: #171717;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease;
}


/* 13. HOVER DEL PULSANTE */

.armor-contact-form button[type="submit"]:hover,
.armor-contact-form .wpforms-submit:hover {
  border-color: #f47745;
  background: #f47745;
  color: #171717;
}


/* 14. VERSIONE MOBILE */

@media (max-width: 600px) {

  body.page-id-388 .entry-content {
    padding-top: 18px !important;
  }

  body.page-id-388 .armor-form-title {
    margin-bottom: 9px !important;
    padding: 0 22px !important;
    font-size: 36px !important;
  }

  body.page-id-388 .armor-form-description {
    margin-bottom: 15px !important;
    padding: 0 22px !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  body.page-id-388 .armor-contact-form {
    padding: 2px 22px 35px !important;
  }

  .armor-contact-form .wpforms-field {
    padding: 8px 0;
  }

  .armor-contact-form .wpforms-field-name .wpforms-one-half {
    width: 100%;
    margin-left: 0;
  }

  .armor-contact-form button[type="submit"],
  .armor-contact-form .wpforms-submit {
    width: 100%;
  }
}

























/* ========================================
   ARMORLAB — FOOTER COMPLETO
   ======================================== */

/* Contenitore principale */
footer.wp-block-template-part
.is-style-ext-preset--group--natural-1--footer-1 {
  padding: 0;
}

/* Area principale: tre colonne su desktop */
footer.wp-block-template-part
.is-style-ext-preset--group--natural-1--footer-1
> .wp-block-group {
  gap: 32px;
  align-items: flex-start;
}

/* Colonne */
footer.wp-block-template-part .footer-brand,
footer.wp-block-template-part .footer-contacts,
footer.wp-block-template-part .footer-explore {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  gap: 0 !important;
  padding: 36px 24px 40px !important;
  box-sizing: border-box;
}

/* Testi e link */
footer.wp-block-template-part .footer-brand p,
footer.wp-block-template-part .footer-contacts p,
footer.wp-block-template-part .footer-explore p,
footer.wp-block-template-part .footer-brand a,
footer.wp-block-template-part .footer-contacts a,
footer.wp-block-template-part .footer-explore a {
  font-size: 16px;
  line-height: 1.6;
}

/* Spazi tra le voci */
footer.wp-block-template-part .footer-brand p,
footer.wp-block-template-part .footer-contacts p,
footer.wp-block-template-part .footer-explore p {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

/* Titoli delle colonne */
footer.wp-block-template-part .footer-contacts p:first-child,
footer.wp-block-template-part .footer-explore p:first-child {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 22px !important;
}

/* Logo */
footer.wp-block-template-part .footer-brand img {
  display: block;
  max-width: 170px;
  height: auto;
  margin-bottom: 14px;
}

/* ========================================
   RIGA INFERIORE
   ======================================== */

footer.wp-block-template-part .footer-bottom {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap;
  gap: 24px !important;
  width: 100%;
  box-sizing: border-box;
  padding: 18px 24px !important;
  margin: 0 !important;
  border-top: 1px solid #e8e8e8;
}

footer.wp-block-template-part .footer-bottom p {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.5;
}

footer.wp-block-template-part .footer-bottom p:first-child {
  text-align: left;
}

footer.wp-block-template-part .footer-bottom p:last-child {
  margin-left: auto !important;
  text-align: right;
}

/* ========================================
   TABLET
   ======================================== */

@media (max-width: 768px) {
  /* Una sola colonna per le tre sezioni */
  footer.wp-block-template-part
  .is-style-ext-preset--group--natural-1--footer-1
  > .wp-block-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  footer.wp-block-template-part .footer-brand,
  footer.wp-block-template-part .footer-contacts,
  footer.wp-block-template-part .footer-explore {
    width: 100% !important;
    padding: 24px 24px !important;
  }

  footer.wp-block-template-part .footer-brand p,
  footer.wp-block-template-part .footer-contacts p,
  footer.wp-block-template-part .footer-explore p,
  footer.wp-block-template-part .footer-brand a,
  footer.wp-block-template-part .footer-contacts a,
  footer.wp-block-template-part .footer-explore a {
    font-size: 15px;
  }

  footer.wp-block-template-part .footer-bottom {
    padding: 16px 24px !important;
  }
}

/* ========================================
   SMARTPHONE
   ======================================== */

@media (max-width: 600px) {
  footer.wp-block-template-part .footer-brand,
  footer.wp-block-template-part .footer-contacts,
  footer.wp-block-template-part .footer-explore {
    padding: 22px 20px !important;
  }

  /* Sezioni più compatte */
  footer.wp-block-template-part .footer-brand p,
  footer.wp-block-template-part .footer-contacts p,
  footer.wp-block-template-part .footer-explore p {
    margin-bottom: 10px !important;
  }

  footer.wp-block-template-part .footer-contacts p:first-child,
  footer.wp-block-template-part .footer-explore p:first-child {
    margin-bottom: 14px !important;
  }

  /* Riga inferiore: due elementi sulla stessa riga,
     con possibilità di andare a capo se necessario */
  footer.wp-block-template-part .footer-bottom {
    flex-wrap: wrap;
    gap: 10px 16px !important;
    padding: 16px 20px !important;
  }

  footer.wp-block-template-part .footer-bottom p {
    font-size: 12px;
  }
}
