:root{
  --bg:#ffffff;
  --text:#121212;
  --muted:#5f6368;
  --border:#e7e7e7;
  --soft:#f6f6f6;
  --max:1100px;
  
  --primary:#63794b;
  --primary-05: rgba(99,121,75,.05);
  --primary-08: rgba(99,121,75,.08);
  --primary-12: rgba(99,121,75,.12);

  --text:#444449;

  --radius:16px;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}

h3{
  color: 
}

a{ color:inherit; }
a:hover{ text-decoration:underline; }

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

/* Accessibilità */
.skip{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  left:18px;
  top:18px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  box-shadow:var(--shadow);
  z-index:999;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:10;
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(10px);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.logo{
  font-weight:800;
  letter-spacing:.3px;
  text-decoration:none;
}

.nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:14px;
}
.nav a{
  text-decoration:none;
  padding:6px 10px;
  border-radius:12px;
}
.nav a:hover{
  background:var(--soft);
  text-decoration:none;
}
.nav a[aria-current="page"]{
  color:var(--text);
  background:var(--soft);
}

/* Page head */
.page{
  padding:26px 0 34px;
}

.page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:22px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background: #63794b;
  color: white;
}

.img-card{
  max-width: 100%;
  border-radius: var(--radius);
  margin-top: 10px;
}

h1{
  margin:0 0 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height:1.12;
}
.subtitle{
  margin:0;
  color: white;
  max-width:72ch;
}

.meta{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color: white;
  font-size:13px;
  text-align:right;
}


/* Notice */
.notice{
  margin:18px 0;
  padding:16px 18px;
  border:1px solid var(--border);
  background:var(--soft);
  border-radius:var(--radius);
}
.notice .h4{
  margin:0 0 6px;
  font-size:14px;
  letter-spacing:.2px;
  text-transform:uppercase;
  color:var(--muted);
}
.notice ul{
  margin:10px 0 0;
  padding-left:18px;
}

/* Layout with TOC */
.layout{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:18px;
  align-items:start;
  margin-top:14px;
}

.toc{
  position:sticky;
  top:76px;
}

.toc-card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  background:#fff;
  box-shadow:var(--shadow);
}

.toc-title{
  font-weight:700;
  margin-bottom:10px;
}

.toc a{
  display:block;
  padding:8px 10px;
  border-radius:12px;
  text-decoration:none;
  color:var(--muted);
  font-size:14px;
}
.toc a:hover{
  background:var(--soft);
  color:var(--text);
  text-decoration:none;
}

/* Content */
.content{
  min-width:0;
}

.card{
  border:2px solid #63794b;
  border-radius:var(--radius);
  padding:18px;
    background:
    linear-gradient(
      220deg,
      rgba(99,121,75,.07),
      #ffffff 60%
    );
  box-shadow:var(--shadow);
  margin-bottom:14px;
}

.card h2{
  margin:0 0 10px;
  font-size:20px;
}
.card h3{
  margin:14px 0 8px;
  font-size:16px;
}
.card p{ margin:0 0 10px; }
.card p:last-child{ margin-bottom:0; }

.muted{
  color:var(--muted);
  font-size:13px;
}

/* Lists */
.cols{
  columns:2;
  column-gap:18px;
  padding-left:18px;
}
@media (max-width: 680px){
  .cols{ columns:1; }
}

/* Details */
.details{
  margin-top:10px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px 12px;
  background:var(--soft);
}
.details summary{
  cursor:pointer;
  font-weight:600;
}

/* Table */
.table-wrap{
  overflow:auto;
  border:1px solid var(--border);
  border-radius:14px;
  margin:10px 0 12px;
}
.table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
  background:#fff;
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid var(--border);
  vertical-align:top;
  text-align:left;
}
.table th{
  font-size:13px;
  color:var(--muted);
  background:#fafafa;
}
.table tr:last-child td{ border-bottom:none; }

/* Callout */
.callout{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px dashed #d7d7d7;
  background:#fafafa;
}

/* Back to top */
.backtop{
  padding:10px 0 4px;
  text-align:right;
}
.backtop a{
  color:var(--muted);
  text-decoration:none;
}
.backtop a:hover{
  color:var(--text);
  text-decoration:underline;
}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  padding:18px 0 26px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.small{
  font-size:13px;
  color:var(--muted);
}

/* Responsive */
@media (max-width: 980px){
  .layout{ grid-template-columns: 1fr; }
  .toc{ position:static; }
  .meta{ text-align:left; }
  .page-head{ flex-direction:column; }
  .page{ padding: 26px 20px 34px;   }
  .small{ text-align:center;}
  .footer-inner, .header-inner{ justify-content: center; }
  
}


ul li::marker{
  color:var(--primary);
}

.callout{
  background:var(--primary-soft);
  border:1px dashed var(--primary);
}



.site-footer .small{
  color:var(--text);
}

a{
  color:var(--primary);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.toc-card{
  background:var(--primary-soft);
  border:1px solid var(--border);
}

.toc-title{
  color:var(--primary);
  letter-spacing:.3px;
}

.toc a{
  color:var(--text);
}

.toc a:hover{
  background:#ffffff;
  color:var(--primary);
}

.card-bg1{
    height: 250px;
    background: url('img/section-bg-tires.jpg');
    background-position: center;
    background-repeat:no-repeat;
    background-size:cover;
}

.card-bg2{

    height: 250px;
    background: url('img/section-bg-forest.jpg');
    background-position: center;
    background-repeat:no-repeat;
    background-size:cover;
}