:root{
  --ink:#172033;
  --muted:#647084;
  --paper:#f6f8fb;
  --surface:#ffffff;
  --line:#dce2ea;
  --blue:#123b63;
  --blue-2:#1e5d91;
  --gold:#b77a25;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Inter,Segoe UI,Arial,sans-serif;
  font-size:17px;
  line-height:1.7;
}
a{color:var(--blue-2)}
img{display:block;max-width:100%;height:auto}
.skip-link{
  position:absolute;left:-9999px;top:0;
  background:#fff;padding:.75rem;z-index:100
}
.skip-link:focus{left:1rem;top:1rem}
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px)
}
.header-inner{
  max-width:var(--max);margin:auto;
  min-height:78px;padding:12px 24px;
  display:flex;align-items:center;
  justify-content:space-between;gap:24px
}
.brand{
  display:flex;align-items:center;gap:12px;
  color:var(--ink);text-decoration:none
}
.brand-mark{
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--blue);color:white;
  font:700 15px Georgia,serif;
  border:3px solid #e7bd78
}
.brand strong{
  display:block;font:700 22px Georgia,serif
}
.brand small{display:block;color:var(--muted);font-size:12px}
nav{display:flex;gap:18px;flex-wrap:wrap}
nav a{color:var(--ink);text-decoration:none;font-weight:650}
nav a:hover{text-decoration:underline}
main{max-width:var(--max);margin:auto;padding:0 24px 72px}
.hero{
  display:grid;grid-template-columns:minmax(0,1fr) 300px;
  gap:54px;align-items:center;
  padding:92px 0 70px
}
.hero h1,.page-hero h1,.article-header h1{
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.08;letter-spacing:-.025em
}
.hero h1{font-size:clamp(42px,7vw,78px);margin:.2em 0}
.hero-copy>p{max-width:760px;font-size:21px;color:var(--muted)}
.eyebrow{
  color:var(--gold);font-weight:800;
  text-transform:uppercase;letter-spacing:.12em;font-size:13px
}
.hero-index{
  background:var(--blue);color:#fff;
  padding:32px;border-radius:24px;
  display:grid;gap:4px;box-shadow:0 20px 50px rgba(18,59,99,.2)
}
.hero-index span{color:#bcd0e2;margin-top:12px}
.hero-index strong{font:700 44px Georgia,serif}
.hero-index small{color:#d9e4ee}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.button{
  display:inline-block;padding:12px 18px;border-radius:10px;
  text-decoration:none;font-weight:750;border:1px solid var(--blue)
}
.button.primary{background:var(--blue);color:white}
.button.secondary{background:white;color:var(--blue)}
.section{padding:40px 0}
.section-heading{
  display:flex;justify-content:space-between;
  align-items:end;gap:20px;margin-bottom:24px
}
.section-heading h2{font:700 36px Georgia,serif;margin:.1em 0}
.post-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px
}
.post-card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:18px;overflow:hidden;
  box-shadow:0 8px 24px rgba(24,38,60,.05)
}
.card-image{aspect-ratio:16/9;overflow:hidden;background:#e8edf2}
.card-image img{width:100%;height:100%;object-fit:cover}
.card-body{padding:22px}
.card-meta{color:var(--muted);font-size:14px}
.post-card h2{
  font:700 24px/1.22 Georgia,serif;margin:.35em 0
}
.post-card h2 a{color:var(--ink);text-decoration:none}
.post-card p{color:var(--muted)}
.read-more{font-weight:750}
.chips{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}
.chip{
  padding:4px 9px;border-radius:999px;
  background:#edf3f8;color:var(--blue);
  text-decoration:none;font-size:13px;font-weight:700
}
.category-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px
}
.category-link{
  display:flex;justify-content:space-between;gap:12px;
  padding:16px 18px;background:white;border:1px solid var(--line);
  border-radius:12px;color:var(--ink);text-decoration:none
}
.category-link strong{color:var(--gold)}
.category-grid.full{margin-top:32px}
.page-hero{padding:72px 0 40px}
.page-hero.compact h1{font-size:clamp(42px,6vw,68px);margin:.15em 0}
.page-hero p{font-size:20px;color:var(--muted)}
.article{max-width:860px;margin:0 auto}
.article-header{padding:70px 0 35px}
.article-header h1{font-size:clamp(40px,6vw,66px);margin:.18em 0}
.article-meta{display:flex;gap:9px;flex-wrap:wrap;color:var(--muted)}
.featured-image{
  margin:0 0 40px;border-radius:20px;overflow:hidden;
  background:#e9edf2
}
.featured-image img{width:100%;max-height:620px;object-fit:cover}
.article-content{
  background:white;border:1px solid var(--line);
  border-radius:18px;padding:clamp(24px,5vw,58px);
  box-shadow:0 10px 30px rgba(24,38,60,.05)
}
.article-content h2,.article-content h3{
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.25;margin-top:1.7em
}
.article-content h2{font-size:32px}
.article-content h3{font-size:25px}
.article-content p{margin:1.15em 0}
.article-content iframe{max-width:100%}
.article-content table{
  display:block;overflow-x:auto;border-collapse:collapse
}
.article-content th,.article-content td{
  border:1px solid var(--line);padding:9px
}
.article-content blockquote{
  border-left:4px solid var(--gold);
  margin:1.5em 0;padding:.5em 1.5em;color:#39465a
}
.article-content a{overflow-wrap:anywhere}
.article-footer{
  margin:24px 0;padding:20px 24px;
  border-left:4px solid var(--gold);background:#fff8eb
}
.legacy-action,.external-embed{
  padding:16px;border:1px solid #d8c28f;
  background:#fff9e9;border-radius:10px
}
.archive-layout{max-width:900px}
.search-box{display:grid;gap:8px;margin-bottom:16px;font-weight:700}
.search-box input{
  width:100%;font:inherit;padding:14px 16px;
  border:1px solid #aeb8c5;border-radius:10px;background:white
}
.result-count{color:var(--muted)}
.archive-list{display:grid;gap:14px}
.archive-item{
  display:grid;grid-template-columns:150px 1fr;gap:24px;
  padding:22px;background:white;border:1px solid var(--line);
  border-radius:14px
}
.archive-item time{color:var(--muted)}
.archive-item h2{font:700 25px Georgia,serif;margin:0}
.archive-item h2 a{color:var(--ink);text-decoration:none}
.archive-item p{color:var(--muted)}
.site-footer{
  background:#101b2e;color:#dce5ef;
  padding:44px max(24px,calc((100% - var(--max))/2));
  display:grid;grid-template-columns:1fr auto;gap:24px
}
.site-footer nav a{color:#fff}
.copyright{grid-column:1/-1;color:#9eabbc;border-top:1px solid #344157;padding-top:20px}
@media(max-width:900px){
  .header-inner{align-items:flex-start;flex-direction:column}
  .site-header{position:static}
  .hero{grid-template-columns:1fr;padding-top:55px}
  .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  body{font-size:16px}
  main{padding-left:16px;padding-right:16px}
  .header-inner{padding:14px 16px}
  .header-inner nav{gap:11px}
  .post-grid,.category-grid{grid-template-columns:1fr}
  .archive-item{grid-template-columns:1fr;gap:6px}
  .article-content{border-radius:12px}
  .site-footer{grid-template-columns:1fr}
  .copyright{grid-column:1}
}


/* ESPRESSO SUD V2 */
.hero-index strong{
  white-space:nowrap;
  font-size:40px;
}

.breadcrumb{
  max-width:860px;
  margin:42px auto 0;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:14px;
}

.breadcrumb a{
  color:var(--blue-2);
}

.article-content img{
  max-width:100%!important;
  height:auto!important;
  margin:26px auto;
  object-fit:contain;
}

.standard-page .article{
  max-width:1040px;
}

.standard-page .article-content{
  max-width:1040px;
}

.standard-page .article-content table,
.standard-page .article-content tbody,
.standard-page .article-content thead,
.standard-page .article-content tfoot,
.standard-page .article-content tr,
.standard-page .article-content td,
.standard-page .article-content th{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

.standard-page .article-content td,
.standard-page .article-content th{
  border:0;
  padding:8px 0;
}

.standard-page .article-content img{
  display:block!important;
  width:auto!important;
  min-width:min(320px,100%)!important;
  max-width:min(760px,100%)!important;
  height:auto!important;
  margin:30px auto!important;
}

.standard-page .article-content div,
.standard-page .article-content section,
.standard-page .article-content figure{
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

.video-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:12px 0;
  padding:10px 14px;
  border-radius:9px;
  background:#eaf2f9;
  color:var(--blue);
  font-weight:750;
  text-decoration:none;
}

.video-link::before{
  content:"▶";
  color:#c64533;
}

.semantic-network{
  max-width:860px;
  margin:34px auto;
  padding:26px;
  background:#eef4f9;
  border:1px solid #cad8e5;
  border-radius:16px;
}

.semantic-network h2{
  margin:.15em 0 .8em;
  font:700 28px Georgia,serif;
}

.network-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.network-card{
  display:grid;
  gap:5px;
  padding:17px;
  border:1px solid #d6e0e9;
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  text-decoration:none;
}

.network-card strong{
  color:var(--blue);
}

.network-card span{
  color:var(--muted);
  font-size:15px;
}

.contact-layout{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
}

.contact-panel{
  padding:clamp(25px,4vw,44px);
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
}

.contact-panel h2{
  margin:.2em 0 1em;
  font:700 34px Georgia,serif;
}

.contact-panel.secondary{
  background:var(--blue);
  color:#fff;
}

.contact-panel.secondary .eyebrow{
  color:#e7bd78;
}

.contact-panel.secondary h2{
  color:#fff;
}

.contact-panel.secondary p{
  color:#d6e2ed;
}

.contact-list{
  display:grid;
  gap:12px;
}

.contact-list a{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:11px;
  color:var(--ink);
  text-decoration:none;
}

.contact-list span,
.address-box span{
  color:var(--muted);
}

.address-box{
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid var(--line);
}

.address-box address{
  margin-top:6px;
  font-style:normal;
  font-weight:700;
}

.social-links{
  display:grid;
  gap:9px;
  margin-bottom:25px;
}

.social-links a{
  padding:11px 13px;
  border:1px solid #527394;
  border-radius:9px;
  color:#fff;
  text-decoration:none;
}

.network-directory{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.network-directory article{
  min-height:210px;
  padding:25px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}

.network-directory article>span{
  color:var(--gold);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.network-directory h2{
  margin:.35em 0;
  font:700 26px Georgia,serif;
}

.network-directory h2 a{
  color:var(--ink);
  text-decoration:none;
}

.network-directory p{
  color:var(--muted);
}

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

  .network-directory{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .hero-index strong{
    font-size:35px;
  }

  .network-links,
  .network-directory{
    grid-template-columns:1fr;
  }

  .contact-list a{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }

  .standard-page .article-content img{
    min-width:0!important;
    width:100%!important;
  }
}

/* HOME-IMAGES-V32-START */
/*
 * Home Espresso SUD:
 * immagini complete, proporzionate e non ritagliate.
 */
.home .post-card .card-image {
  display: flex;
  width: 100%;
  height: 210px;
  aspect-ratio: auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  background: #eef2f6;
  box-sizing: border-box;
}

.home .post-card .card-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 190px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 760px) {
  .home .post-card .card-image {
    height: 180px;
    padding: 8px;
  }

  .home .post-card .card-image img {
    max-height: 164px;
  }
}
/* HOME-IMAGES-V32-END */
