/* SEOdir.it — Stile clean verde/bianco — Font: Source Sans 3 */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;600;700&display=swap');

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Source Sans 3',sans-serif;background:#fafafa;color:#212121;line-height:1.7;font-size:17px}
a{color:#2e7d32;text-decoration:none;transition:color .2s}
a:hover{color:#1b5e20}
img{max-width:100%;height:auto;display:block;border-radius:6px}

/* Layout */
.container{max-width:780px;margin:0 auto;padding:0 24px}
.wide-container{max-width:1100px;margin:0 auto;padding:0 24px}

/* Header */
.site-header{background:#fff;border-bottom:3px solid #2e7d32;padding:18px 0;position:sticky;top:0;z-index:100}
.site-header .container{display:flex;align-items:center;justify-content:space-between}
.site-logo{font-size:1.5rem;font-weight:700;color:#2e7d32;letter-spacing:-.5px}
.site-logo span{color:#43a047}
.site-nav{display:flex;gap:28px;list-style:none}
.site-nav a{color:#555;font-weight:600;font-size:.95rem;padding:4px 0;border-bottom:2px solid transparent}
.site-nav a:hover,.site-nav a.active{color:#2e7d32;border-bottom-color:#2e7d32}

/* Hero homepage */
.hero{padding:60px 0 40px;text-align:center}
.hero h1{font-size:2.2rem;font-weight:700;color:#1a1a1a;margin-bottom:12px}
.hero p{font-size:1.15rem;color:#666;max-width:560px;margin:0 auto}

/* Card griglia articoli */
.articles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px;padding:40px 0 60px}
.article-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.06);transition:transform .2s,box-shadow .2s}
.article-card:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.1)}
.article-card img{width:100%;height:200px;object-fit:cover}
.article-card-body{padding:20px}
.article-card h2{font-size:1.15rem;margin-bottom:8px;line-height:1.4}
.article-card h2 a{color:#1a1a1a}
.article-card h2 a:hover{color:#2e7d32}
.article-card p{font-size:.92rem;color:#777;line-height:1.5}
.article-card .meta{font-size:.82rem;color:#999;margin-top:12px}

/* Articolo singolo */
.article-header{padding:48px 0 24px;text-align:center}
.article-header h1{font-size:2rem;font-weight:700;line-height:1.3;margin-bottom:14px;color:#1a1a1a}
.article-header .meta{color:#888;font-size:.9rem}
.breadcrumb{font-size:.85rem;color:#999;padding:12px 0 0}
.breadcrumb a{color:#2e7d32}

.article-body{padding-bottom:50px}
.article-body h2{font-size:1.45rem;font-weight:700;color:#2e7d32;margin:36px 0 14px;padding-bottom:6px;border-bottom:2px solid #e8f5e9}
.article-body h3{font-size:1.15rem;font-weight:600;color:#333;margin:24px 0 10px}
.article-body p{margin-bottom:18px}
.article-body ul,.article-body ol{margin:0 0 18px 24px}
.article-body li{margin-bottom:6px}
.article-body blockquote{border-left:4px solid #43a047;padding:14px 20px;background:#f1f8e9;margin:20px 0;border-radius:0 6px 6px 0;font-style:italic}
.article-body .article-img{margin:28px 0}

/* Articoli correlati */
.related{background:#f1f8e9;padding:30px;border-radius:10px;margin:40px 0}
.related h3{font-size:1.1rem;margin-bottom:14px;color:#2e7d32}
.related ul{list-style:none;padding:0}
.related li{margin-bottom:8px}
.related a{font-weight:600}

/* Pagine statiche */
.page-header{padding:48px 0 20px;text-align:center}
.page-header h1{font-size:1.9rem;color:#1a1a1a}
.page-content{padding-bottom:60px}
.page-content h2{color:#2e7d32;margin:28px 0 12px}
.page-content p{margin-bottom:16px}

/* Footer */
.site-footer{background:#263238;color:#b0bec5;padding:40px 0;text-align:center;font-size:.88rem}
.site-footer a{color:#81c784}
.footer-nav{display:flex;justify-content:center;gap:24px;margin-bottom:16px;list-style:none}
.footer-nav a{color:#cfd8dc}
.footer-nav a:hover{color:#81c784}
.site-footer .copy{color:#78909c}

/* Contatti */
.contact-info{background:#fff;padding:28px;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.05);margin:20px 0}

/* Responsive */
@media(max-width:768px){
  .site-header .container{flex-direction:column;gap:12px}
  .site-nav{gap:18px}
  .hero h1{font-size:1.7rem}
  .articles-grid{grid-template-columns:1fr}
  .article-header h1{font-size:1.6rem}
  .footer-nav{flex-wrap:wrap}
}
