/* Blog HQC Italia — stile coerente con /certificazione-halal */

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

h1 { color: #1a5f2a; font-size: 2.2em; margin-bottom: 10px; line-height: 1.25; }
h2 { color: #2d7a3e; font-size: 1.5em; margin-top: 40px; border-bottom: 2px solid #e0e0e0; padding-bottom: 10px; }
h3 { color: #3d8b4e; font-size: 1.2em; margin-top: 25px; }

a { color: #2d7a3e; }

.lead { font-size: 1.15em; color: #555; margin-bottom: 30px; }

.breadcrumb { font-size: 0.9em; color: #666; margin-bottom: 20px; }
.breadcrumb a { color: #2d7a3e; }

/* Selettore di lingua */
.lang-switch { float: right; font-size: 0.9em; }
.lang-switch a { text-decoration: none; }

/* Meta dell'articolo (data, tempo di lettura) */
.post-meta { font-size: 0.9em; color: #666; margin-bottom: 30px; }
.post-meta time { font-weight: 600; }

/* Elenco articoli in home blog */
.post-list { list-style: none; padding: 0; margin: 30px 0 0; }
.post-card {
    border: 1px solid #e0e0e0;
    border-left: 4px solid #2d7a3e;
    border-radius: 6px;
    padding: 22px 24px;
    margin-bottom: 22px;
    transition: box-shadow .15s ease;
}
.post-card:hover { box-shadow: 0 2px 10px rgba(26, 95, 42, .12); }
.post-card h2 {
    margin: 0 0 8px;
    border: none;
    padding: 0;
    font-size: 1.35em;
}
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { margin: 0 0 12px; color: #555; }
.post-card .post-meta { margin: 0; }

.highlight-box { background: #f0f8f0; border-left: 4px solid #2d7a3e; padding: 20px; margin: 25px 0; }

.cta-box { background: #1a5f2a; color: #fff; padding: 25px; text-align: center; border-radius: 8px; margin: 40px 0 30px; }
.cta-box a { color: #fff; text-decoration: underline; font-weight: bold; }
.cta-box h2 { color: #fff; border: none; margin-top: 0; }

table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th, td { border: 1px solid #ddd; padding: 12px; text-align: left; }
th { background: #f0f8f0; }

ul.benefits li { margin-bottom: 10px; }

.faq-item { margin-bottom: 20px; }
.faq-question { font-weight: bold; color: #1a5f2a; }
.faq-answer { margin-top: 8px; padding-left: 15px; }

.site-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: .9em;
    color: #666;
}

/* Tabelle leggibili su schermi stretti */
@media (max-width: 640px) {
    body { padding: 16px; }
    h1 { font-size: 1.7em; }
    .lang-switch { float: none; display: block; margin-bottom: 12px; }
    table { display: block; overflow-x: auto; }
}
