/*
Theme Name: Blog Life Custom
Theme URI: https://example.com/
Author: Custom
Description: Tema custom leggero in stile "Blog Life" basato sugli screenshot (pagine Menu: Chi siamo, Governance, Trasparenza, Metodo scientifico, Disclaimer, Contatti, Collaborazioni, Policy, Form).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: bloglife-custom
*/
:root {
  --bg: #ffffff;
  --text: #3b3b3b;
  --muted: #6b6b6b;
  --line: #e7e7e7;

  /* Layout widths */
  --container: 1200px;
  /* max width area articolo (contenitore) */
  --content: 830px;
  /* max width colonna testo */
  --max: var(--container);

  /* UI surfaces (fallback per le classi già presenti nel CSS) */
  --border: var(--line);
  --panel: #ffffff;
  --panel-2: #ffffff;
  --accent: var(--brand);

  --brand: #6f8f6a;
  /* verde soft */
  --brand-dark: #5c7e57;
  --active-bg: #6f8f6a;
  --active-text: #ffffff;

  --shadow: 0 0px 10px rgba(0, 0, 0, .10);
  --radius: 8px;
  --header-h: 72px;
  --verde: #4c5846;
  --verdescuro:#0A5536;
  --bg-sectionbox: #F2F7F3;
  --text-dx-fs:14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fafafa;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}

.brand-mark {
  width: 0;
  height: 0;
}

.brand-name {
  font-weight: 900;
  letter-spacing: .5px;
  font-size: 28px;
  line-height: 1;
  color: var(--brand);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Desktop nav */
.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  overflow: visible;
}

.nav>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-trigger {
  height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover,
.nav-trigger:hover {
  background: #f4f6f4;
  border-color: #eef1ee;
}



.chev {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  opacity: .85;
}

/* Dropdown 
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}

.dropdown a {
  display: block;
  padding: 10px 10px;
  border-radius: 6px;
  color: var(--text);
}

.dropdown a:hover {
  background: #f4f6f4;
}

.nav-item.is-open>.dropdown {
  display: block;
}
*/
/* Right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: #f4f6f4;
  border-color: #eef1ee;
}

.mail-icon {
  width: 22px;
  height: 22px;
}

/* Burger (mobile only) */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.burger:hover {
  background: #f4f6f4;
  border-color: #eef1ee;
}

.burger-lines {
  width: 20px;
  height: 14px;
  position: relative;
}

.burger-lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.burger-lines span:nth-child(1) {
  top: 0;
}

.burger-lines span:nth-child(2) {
  top: 6px;
}

.burger-lines span:nth-child(3) {
  top: 12px;
}

/* ===== Mobile drawer ===== */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 999;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(360px, 88vw);
  background: #fff;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .22s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.drawer-header {
  height: var(--header-h);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.drawer-title {
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.drawer-close:hover {
  background: #f4f6f4;
  border-color: #eef1ee;
}

.drawer-body {
  padding: 10px;
  overflow: auto;
}

.m-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-nav a,
.m-nav button {
  width: 100%;
  text-align: left;
  height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
}

.m-nav a:hover,
.m-nav button:hover {
  background: #f4f6f4;
  border-color: #eef1ee;
}

.m-nav .is-active {
  background: var(--active-bg);
  color: var(--active-text);
}

.m-sub {
  list-style: none;
  margin: 6px 0 10px 0;
  padding: 0 0 0 10px;
  display: none;
  flex-direction: column;
  gap: 6px;
}

.m-sub a {
  height: 44px;
  border-radius: 10px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  background: #f7f8f7;
}

.m-sub a:hover {
  background: #eef2ee;
}

.m-item.is-open>.m-sub {
  display: flex;
}

/* Open states */
.is-drawer-open .backdrop {
  opacity: 1;
  pointer-events: auto;
}

.is-drawer-open .drawer {
  transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .burger {
    display: grid;
  }

  .brand {
    min-width: unset;
  }

  .brand-name {
    font-size: 24px;
  }
}

/* ====== PAGE WRAP ====== */
.wrap {
  /* max width dell'area articolo */
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 18px 40px;
}

.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 14px;
}

.crumb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
  opacity: .7;
}

/* ====== MAIN GRID ====== */
.grid {
  display: grid;
  grid-template-columns: minmax(0, var(--content)) 320px;
  /* contenuto + sidebar */
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

/* Colonna di lettura (testo) */
.grid>section {
  min-width: 0;
  max-width: var(--content);
}

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

  .grid>section {
    max-width: 100%;
  }
}

/* ====== TITLE AREA ====== */
.titleRow {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  align-items: start;
}

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

h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.3px;
}

.subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.shareBox {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.shareBox h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: #3a3840;
}

.shareBtns {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.iconBtn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.iconBtn svg {
  width: 16px;
  height: 16px;
  opacity: .85;
}

.copyBtn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  color: #3a3840;
}

.copyBtn svg {
  width: 16px;
  height: 16px;
  opacity: .75;
}

/* ====== INFO CARDS ====== */
.card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.author {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-top: 15px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4f1ea, #f2d7ff);
  border: 1px solid var(--border);
  flex: 0 0 auto;
  overflow: hidden;
}

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

.author b {
  display: block;
  font-size: 14px;
}

.author small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.author-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 20px;
}

.card.author {
 /* display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  flex: 0 1 320px;
  max-width: 360px;
  min-width: 240px;*/
}

.card.author .avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #e9ecef;
  overflow: hidden;
}

.card.author .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card.author b {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.card.author small {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: #5f6b76;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .author-cards {
    flex-direction: column;
  }

  .author-cards .card.author {
    flex: 1 1 100%;
  }
}


.author-cards{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    width:100%;
}

/* card autore */
.author-cards .card.author{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    border-radius:10px;

    flex:1 1 calc((100% - 32px) / 3); /* massimo 3 per riga */
    max-width:33%; /* evita card troppo strette */
    border: solid 2px var(--border);
}

/* avatar */
.card.author .avatar{
    width:50px;
    height:50px;
    min-width:50px;
    border-radius:50%;
    background:#e9ecef;
}

/* testo */
.card.author b{
    display:block;
    font-size:15px;
}

.card.author small{
    display:block;
    font-size:13px;
    color:#6b7280;
}
.review {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-top: 10px;
  border-radius: var(--radius);
  background: var(--bg-sectionbox);
  border: 1px solid var(--border);
  color: #4a4752;
  font-size: 13px;
}

.review svg {
  width: 18px;
  height: 18px;
  opacity: .75;
}

/* ====== HERO ====== */
.hero {
  margin-top: 6px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* ====== “IN BREVE” ====== */
.brief {
  margin-top: 6px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #f2f7f1;
  box-shadow: var(--shadow);
}

.brief__head {
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: .3px;
  font-size: 19px;
  text-transform: uppercase;
  text-align: center;
}

.brief__list {
  padding: 12px 14px 6px;
  display: grid;
  gap: 10px;
}

.briefItem {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #3b3942;
  font-size: 14px;
}

.check {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  opacity: .9;
}

/* ====== SECTION ====== */
h2 {
  margin: 18px 0 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.videoCard {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.videoThumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #dde3ea;
}

.section-h2 .text {
  text-align: justify;
}

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

.videoOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05));
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
}

.videoMeta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 12px;
  opacity: .9;
}

.play {
  width: 28px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .35);
  display: grid;
  place-items: center;
}

.play svg {
  width: 10px;
  height: 10px;
}

.text {
  margin-top: 14px;
  color: #3b3942;
  font-size: 14px;
}

/* ====== SIDEBAR ====== */
.sideGroup {
  display: grid;
  gap: 18px;
}

.sideTitle {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: var(--verde);
}

.sideList {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sideList li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--text-dx-fs);
  color: #3b3942;
}

.sideList .mini {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  opacity: .7;
  flex: 0 0 auto;
}

.sideList a {
  color: #3b3942;
  text-decoration: none;
  font-weight: 800;
}

.sideList a:hover {
  text-decoration: underline;
}

.sideList small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
  font-size: var(--text-dx-fs);
}

/* ====== UTIL ====== */
.spacer {
  height: 6px;
}

.article-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
   /* margin:24px 0 0px;
    padding:14px 0;
    border-top:1px solid #e6ebf0;
    border-bottom:1px solid #e6ebf0;*/
}

.article-actions a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    transition:all .2s ease;
}

/* bottone principale video */
.btn-video{
    background:var(--verde);
    color:#fff;
    padding:11px 16px;
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    line-height:1.2;
    box-shadow:0 2px 8px rgba(31, 111, 235, 0.12);
}

.btn-video:hover{
    background:var(--verde);
    /*transform:translateY(-1px);*/
}

/* link secondario pdf */
.btn-pdf{
    color:#334155;
    font-size:14px;
    font-weight:600;
    line-height:1.2;
    white-space:nowrap;
}

.btn-pdf:hover{
    color:var(--verde);
}

/* icone */
.btn-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    flex:0 0 18px;
}

.btn-video .btn-icon{
    width:16px;
    height:16px;
    flex:0 0 16px;
}

.btn-icon svg{
    width:100%;
    height:100%;
    display:block;
}

/* mobile */
@media (max-width: 768px){
    .article-actions{
        flex-direction:column;
        align-items:stretch;
        gap:12px;
    }

    .btn-video,
    .btn-pdf{
        justify-content:center;
    }

    .btn-pdf{
        padding:10px 14px;
        border:1px solid #dbe3ea;
        border-radius:10px;
        background:#fff;
    }
}
.lsh-dropcap::first-letter{
  float:left;
  font-size:56px;
  line-height:56px;
  margin-right:12px;
  margin-top:0px;
  font-weight:700;
  font-family: Georgia, "Times New Roman", serif;
  color:#0A5536;
}

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

.section-h2 .text a {
  color: var(--brand);
  font-weight: bold;
  ;
  text-decoration: underline;
}

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

/*Eccezione*/
.site-header {
  background: #f3f1f4 !important;
}


.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ===== Logo ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}

.brand-mark {
  width: 0;
  height: 0;
}

.brand-logo {
  width: 50px;
  height: 50px;
}

.brand-name {
  font-weight: 900;
  letter-spacing: .5px;
  font-size: 28px;
  line-height: 1;
  color: var(--brand);
  text-transform: capitalize;
  white-space: nowrap;
}

/* ===== Desktop nav ===== */
.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow: visible;
}

.nav>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item {
  position: relative;
}

/* Link e trigger */
.nav-link,
.nav-trigger {
  height: 42px;
  padding: 0 14px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  background: #567348;
  border: 1px solid #567348;
  color: #ffffff;
}

/* Trigger dropdown */
.nav-trigger {
  font-weight: 600;
}

.nav-trigger:hover {
  background: #567348;
  color: #ffffff;
  border-color: #567348;
}

/* Stato attivo */


/* Chevron */
.chev {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform .16s ease;
}

.nav-item.is-open .chev {
  transform: rotate(-135deg);
  margin-top: 6px;
}

/* ===== Dropdown desktop =====
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0px;
  min-width: 240px;

  background: #f3f1f4;
  border: none;
  border-radius: 0px;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.06);
  padding: 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dropdown::before {
  display: none;
}


.dropdown a {
  display: block;
  padding: 16px 16px;
  font-size: 15px;
  border-radius: 0;
  border-top: solid 1px #e6e6e6;
  color: var(--text);
}

.dropdown a:hover {
  background: #cfdbc9;
}

.dropdown a.is-active {
  background: #567348;
  color: #ffffff;
}

.nav-item.is-open>.dropdown,
.nav-item.has-dropdown:hover>.dropdown,
.nav-item.has-dropdown:focus-within>.dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-item.is-open>.nav-trigger,
.nav-item.has-dropdown:hover>.nav-trigger,
.nav-item.has-dropdown:focus-within>.nav-trigger {
  background: #567348;
  color: #ffffff;
  border-color: #567348;
}
*/
/* ===== Right actions ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 2px;
  border: 1px solid transparent;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: #f2f4f2;
}

.mail-icon {
  width: 22px;
  height: 22px;
}

/* ===== Burger (mobile only) ===== */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 2px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.burger:hover {
  background: #f2f4f2;
}

.burger-lines {
  width: 20px;
  height: 14px;
  position: relative;
}

.burger-lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
}

.burger-lines span:nth-child(1) {
  top: 0;
}

.burger-lines span:nth-child(2) {
  top: 6px;
}

.burger-lines span:nth-child(3) {
  top: 12px;
}

/* ===== Mobile drawer ===== */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 999;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(360px, 88vw);
  background: #ffffff;
  border-left: 1px solid #d8ddd8;
  transform: translateX(100%);
  transition: transform .22s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.drawer-header {
  height: var(--header-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.drawer-title {
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.drawer-close:hover {
  background: #f2f4f2;
}

.drawer-body {
  padding: 12px;
  overflow: auto;
}

/* ===== Mobile nav ===== */
.m-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m-nav a,
.m-nav button {
  width: 100%;
  text-align: left;
  height: 44px;
  padding: 0 14px;
  border-radius: 2px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.m-nav a:hover,
.m-nav button:hover {
  background: #f2f4f2;
}

.m-nav .is-active {
  background: #567348;
  color: #ffffff;
}

/* ===== Mobile submenu ===== */
.m-sub {
  list-style: none;
  margin: 4px 0 8px 0;
  padding: 0 0 0 12px;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.m-sub a {
  height: 42px;
  border-radius: 2px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  background: #f5f7f5;
  font-size: 14.5px;
}

.m-sub a:hover {
  background: #e9eee9;
}

.m-sub a.is-active {
  background: #567348;
  color: #ffffff;
}

.m-item.is-open>.m-sub {
  display: flex;
}

/* ===== Open states ===== */
.is-drawer-open .backdrop {
  opacity: 1;
  pointer-events: auto;
}

.is-drawer-open .drawer {
  transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .burger {
    display: grid;
  }

  .brand {
    min-width: unset;
  }

  .brand-name {
    font-size: 24px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-inner {
    gap: 5px;
  }

  .burger {
    order: 2;
  }

  .icon-btn {
    order: 1;
  }

  .drawer {
    border-left: none;
    background-color: #e7e7e7;
  }

  .drawer-header {
    justify-content: end;
    border-bottom: 1px solid #cccccc !important;
  }

  .drawer-body {
    padding: 16px;
  }

  .drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    color: #567348;
    display: grid;
    place-items: center;
  }

  .m-sub {
    padding: 5px 0;
  }

  .m-nav {
    gap: 16px;
  }

  .m-nav a {
    background-color: #ffffff;
  }

  .m-nav a:hover {
    background-color: #567348;
    color: #ffffff;
  }

  .m-nav button {
    background-color: #ffffff !important;
    color: var(--text) !important;
  }

  .m-nav .is-active {
    background-color: #567348 !important;
    color: #ffffff !important;
  }
}

.f16 {
  font-size: 13px !important;
}

.title-faq {
  color: #3b3942;
  text-decoration: none;
  font-weight: 800;
  width: 90%;
  display: block;
  font-size: var(--text-dx-fs);

}

.text-faq {


  margin-top: 6px;
  width: 90%;
  height: auto;
  display: block;
  text-align: left;
  font-size:var(--text-dx-fs);

}

.brief__list {
  padding: 14px;
  gap: 14px;
}

.briefItem {
  gap: 14px;
}

h2 {
  margin: 10px 0 5px;
  font-size: 26px;
  color: var(--verde);
}

.sectionImage {
  margin-top: 6px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.sectionImage figcaption {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: all .25s ease;
  margin: 0;
  padding: 0;
  box-shadow: none;
  border: 0;
  font-size: 14px;
  font-weight: bold;
}

.sectionImage:hover figcaption {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  padding: 8px;
  background: #f3f1f4;
}

@media (max-width: 768px) {
  .sectionImage figcaption {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.text {
  margin-top: 20px;
  font-size: 16px;
}

.h3-block {
  margin: 10px 0;
}

.h3-block h3 {
  margin: 0;
}

.h3-block .h3_content {
  margin: 10px 0 0 0;
}

.briefInSection {
  border-top: solid 1px var(--bg-sectionbox);
  padding: 0px 0 0 0;
  font-weight: bold;
  color: var(--verde);
}


.sectionImage,
.hero {
  position: relative;
  overflow: hidden;
}

/* assicurati che l’immagine rimanga normale */
.sectionImage>img,
.hero>img {
  display: block;
  width: 100%;
  height: auto;
}

/* video overlay */
.sectionImage .hoverVideo,
.hero .hoverVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

/* quando in play lo mostriamo */
.sectionImage.is-playing .hoverVideo,
.hero.is-playing .hoverVideo {
  opacity: 1;
}

.hero {
  position: relative;
}

.hero figcaption {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: all .25s ease;
  margin: 0;
  padding: 0;
  box-shadow: none;
  border: 0;
  font-size: 14px;
}

.hero:hover figcaption {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  padding: 8px;
  font-weight: bold;
  background: #f3f1f4;
}


.saveBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  border-radius: 8px;
  margin: 30px 0 0 0;

  /* colore base */
  color: #444;

  /* transizioni fluide */
  transition:
    color .25s ease,
    border-color .25s ease,
    background-color .25s ease,
    transform .15s ease;
}

.saveBtn svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Hover */
.saveBtn:hover {
  color: #567348;
  /* colore icona + testo */
  border-color: #567348;
  background-color: #faf6f8;
}

/* Click micro-feedback */
.saveBtn:active {
  transform: scale(0.97);
}

/* Focus accessibile */
.saveBtn:focus-visible {
  outline: 2px solid #567348;
  outline-offset: 3px;
}



@media (max-width: 768px) {
  .hero figcaption {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

.sideTitleArticle {
 /* margin: 30px 0 5px 0;*/
}

.grid_bottom .studiCorrelati div {
  font-size: 16px;
  margin: 0 0 5px 0;
}

.comparative-table-wrap {
  overflow-x: auto;
  margin: 10px 0 0 0;
 /* padding: 30px 0 0 0;*/
  border-top: 1px solid var(--bg-sectionbox);
}

.comparative-table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
  font-size: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Header */
.comparative-table thead {
 /* background-color: #567348;*/
 background-color: var(--accent);
  color: #ffffff;
}

.comparative-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--bg-sectionbox);
}

/* Celle */
.comparative-table td {
  padding: 14px 16px;
  border: 1px solid var(--bg-sectionbox);
}

/* Righe alternate */
.comparative-table tbody tr:nth-child(even) {
  background-color: #f8f9f7;
}

.comparative-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

/* Hover */
.comparative-table tbody tr:hover {
  background-color: rgba(86, 115, 72, 0.08);
  transition: background-color 0.2s ease-in-out;
}

.bg-light-green{
  background-color: var(--bg-sectionbox);
}