/* ===== BLOG THEME (indipendente dalla homepage) ===== */

:root{
  --bg:#000;
  --fg:#e9e9e9;
  --muted:#bdbdbd;
  --accent:#ffffff;
  --card:#0d0d0d;
  --border:#1a1a1a;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body.blog-body{
  background:var(--bg);
  color:var(--fg);
  font-family:"Champagne Limousines", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  line-height:1.6;
}

/* Watermark logo in trasparenza 70% */
body.blog-body::before{
  content:"";
  position:fixed;
  inset:0;
  background:url("images/logo1_upscaled.jpeg") center/420px no-repeat;
  opacity:.7;
  pointer-events:none;
  z-index:0;
  filter:grayscale(100%) contrast(85%) opacity(0.7);
}

/* Back button in alto a sinistra */
.back-btn{
  position:fixed;
  top:22px; left:22px;
  z-index:10;
  display:inline-block;
  padding:10px 14px;
  background:rgba(0,0,0,.6);
  color:var(--fg);
  border:1px solid var(--border);
  border-radius:999px;
  text-decoration:none;
  backdrop-filter: blur(6px);
  transition:transform .2s ease, opacity .2s ease;
}
.back-btn:hover{ transform:translateY(-2px); opacity:.9 }

/* HERO con immagine tramonto.
   — Sostituisci l'URL sotto se la tua immagine ha un path diverso */
.hero{
  position:relative;
  min-height:56vh;
  display:grid;
  place-items:end start;
  padding:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.65) 65%, rgba(0,0,0,.95) 100%),
    url("images/IMG_20190915_194002.jpg") center/cover no-repeat;
}
.hero-overlay{
  width:100%;
  padding:72px 24px 28px;
  max-width:1200px;
  margin:0 auto;
  position:relative;
  z-index:1;
}
.hero-title{
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight:600;
  letter-spacing:.3px;
}
.hero-subtitle{
  margin-top:10px;
  color:var(--muted);
  max-width:780px;
}

/* Intro */
.intro{
  max-width:980px;
  margin:28px auto 8px;
  padding:0 24px;
  color:#d6d6d6;
}

/* Griglia Card */
.grid{
  max-width:1200px;
  margin:28px auto 80px;
  padding:0 24px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:22px;
  position:relative;
  z-index:1;
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:22px;
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 40px rgba(0,0,0,.5);
  border-color:#2a2a2a;
}
.card-link{ color:inherit; text-decoration:none; display:block; height:100%;}
.card-cover{
  height:180px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.25)),
    url("images/viaggiare_cover.jpg") center/cover no-repeat;
}
/* cover alternativa per EN (se vuoi usare altra immagine) */
.card-cover.cover-en{
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.25)),
    url("images/travel_lifestyle_cover.jpg") center/cover no-repeat;
}
.card-body{ padding:18px 18px 20px }
.card-title{ font-size:20px; margin-bottom:6px; }
.card-excerpt{ color:#c9c9c9; font-size:15px; }
.card-cta{
  display:inline-block;
  margin-top:10px;
  font-size:14px;
  color:var(--accent);
  border-bottom:1px solid rgba(255,255,255,.25);
}

/* Footer */
.blog-footer{
  border-top:1px solid var(--border);
  padding:28px 24px 80px;
  text-align:center;
  color:#a9a9a9;
  position:relative; z-index:1;
}

/* Articolo (pagine interne) */
.article{
  max-width:900px; margin:0 auto; padding:24px;
  position:relative; z-index:1;
}
.article .breadcrumb{
  display:inline-block;
  margin:18px 0 10px;
  color:var(--muted);
  text-decoration:none;
  border:1px solid var(--border);
  border-radius:999px;
  padding:8px 12px;
}
.article h1{
  font-size: clamp(28px, 3.6vw, 44px);
  line-height:1.2;
  margin:12px 0 12px;
}
.article .meta{ color:#9f9f9f; margin-bottom:18px; font-size:14px; }
.article .cover{
  width:100%; height:44vh; min-height:260px; border-radius:18px;
  background:#111 center/cover no-repeat;
  margin:10px 0 22px; border:1px solid var(--border);
}
.article p{ margin:12px 0; color:#dbdbdb; font-size:18px; }
.article p strong{ color:#fff; }
.article a{ color:#fff; text-decoration:underline }

/* Responsive micro refine */
@media (max-width:540px){
  .back-btn{ top:14px; left:14px; padding:8px 12px }
  .hero-title{ font-size: clamp(26px, 7vw, 40px) }
}