/* Blog: impaginazione articoli e indice (si appoggia a servizi.css) */
.blog-container {
    max-width: 860px;
}
.post-meta {
    font-size: 13px;
    color: #9a98aa;
    margin: -15px 0 35px 0;
}
.post-meta strong {
    color: #d8af81;
    font-weight: 600;
}
.post-lead {
    font-size: 18px;
    color: #d8d7db;
    line-height: 1.75;
    margin: 0 0 30px 0;
}
.post-toc {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 148, 92, 0.2);
    border-radius: 10px;
    padding: 22px 28px;
    margin: 0 0 45px 0;
}
.post-toc strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.post-toc ol {
    margin: 0;
    padding-left: 20px;
}
.post-toc li {
    font-size: 14.5px;
    line-height: 1.9;
}
.post-toc a {
    color: #d8af81;
}
.post-body h2 {
    font-size: 25px;
    font-weight: 700;
    color: #ffffff;
    margin: 50px 0 18px 0;
    position: relative;
    padding-bottom: 12px;
    scroll-margin-top: 20px;
}
.post-body h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    background-color: #c5945c;
    border-radius: 2px;
}
.post-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #d8af81;
    margin: 32px 0 12px 0;
}
.post-body p,
.post-body li {
    font-size: 16px;
    color: #c3c1d0;
    line-height: 1.85;
}
.post-body p {
    margin: 0 0 18px 0;
}
.post-body ul,
.post-body ol {
    margin: 0 0 22px 0;
    padding-left: 24px;
}
.post-body li {
    margin-bottom: 8px;
}
.post-body strong {
    color: #ffffff;
}
.post-body a {
    color: #d8af81;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.post-body code {
    font-family: Consolas, Monaco, monospace;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    padding: 2px 6px;
    color: #f0d6b5;
}
.post-body pre {
    background: #13111b;
    border: 1px solid rgba(197, 148, 92, 0.2);
    border-radius: 8px;
    padding: 18px 20px;
    overflow-x: auto;
    margin: 0 0 22px 0;
}
.post-body pre code {
    background: none;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: #e2e0ee;
}
.post-table {
    overflow-x: auto;
    margin: 0 0 25px 0;
}
.post-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}
.post-table th,
.post-table td {
    border: 1px solid rgba(197, 148, 92, 0.2);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    color: #c3c1d0;
    line-height: 1.6;
}
.post-table th {
    background: rgba(197, 148, 92, 0.12);
    color: #ffffff;
    font-weight: 700;
}
.post-callout {
    background: linear-gradient(135deg, rgba(197, 148, 92, 0.12), rgba(26, 25, 37, 0.8));
    border-left: 4px solid #c5945c;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 30px 0;
}
.post-callout p:last-child {
    margin-bottom: 0;
}

/* Indice del blog */
.blog-list {
    display: grid;
    gap: 25px;
    margin-top: 30px;
}
.blog-card {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 148, 92, 0.18);
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    transition: transform 0.3s, border-color 0.3s;
}
.blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(197, 148, 92, 0.45);
}
.blog-card .post-meta {
    margin: 0 0 10px 0;
}
.blog-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.35;
}
.blog-card p {
    font-size: 15px;
    color: #b3b1c2;
    line-height: 1.7;
    margin: 0 0 15px 0;
}
.blog-card .more {
    color: #d8af81;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 850px) {
    .post-body h2 {
        font-size: 22px;
    }
    .post-lead {
        font-size: 16.5px;
    }
}
