/* ─────────────────────────────────────────────────────────
   LSH — overlay sopra il style.css del tema originale.
   Solo elementi nuovi non presenti nel tema WP.
───────────────────────────────────────────────────────── */

/* Header / navbar / lang switch */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.brand__mark {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: #0A5536;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
}
.brand__text { line-height: 1.1; }
.brand__text strong { color: #0A5536; }
.brand__text small { color: #6b6b6b; font-size: 11px; display: block; }

.primary-nav { display: flex; gap: 20px; }
.primary-nav a {
    color: #3b3b3b;
    font-weight: 500;
    padding: 6px 4px;
}
.primary-nav a:hover { color: #0A5536; }

.lang-switch {
    display: flex; gap: 4px;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    padding: 3px;
}
.lang-switch a {
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 4px;
    color: #6b6b6b;
}
.lang-switch a.is-active {
    background: #0A5536;
    color: #fff;
}

/* Home */
.hero {
    background: linear-gradient(135deg, #0A5536 0%, #4c5846 100%);

    padding: 0;
    text-align: center;
}
.hero__title { font-size: 42px; margin: 0 0 8px; letter-spacing: -0.02em; }
.hero__sub { opacity: .9; font-size: 17px; margin: 0 0 24px; }
.hero__cta {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #0A5536;
    border-radius: 28px;
    font-weight: 600;
}

.section-title {
    margin: 48px 0 20px;
    font-size: 24px;
    color: #0A5536;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.card-article {
    background: #fff;
    padding: 20px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    transition: transform .15s, box-shadow .15s;
}
.card-article:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.card-article h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.card-article h3 a { color: #1a1f2c; }
.card-article h3 a:hover { color: #0A5536; }
.card-article time { color: #6b6b6b; font-size: 12px; }

/* Archive */
.archive { padding: 40px 0; }
.archive__head h1 { margin: 0; color: #0A5536; }
.archive__head { margin-bottom: 24px; }
.archive__search {
    display: flex; gap: 8px; margin-top: 14px;
}
.archive__search input {
    flex: 1; padding: 10px 14px;
    border: 1px solid #cfd4de; border-radius: 6px;
    font-size: 14px;
}
.archive__search button {
    padding: 10px 22px;
    background: #0A5536; color: #fff;
    border: none; border-radius: 6px;
    cursor: pointer; font-weight: 600;
}
.archive__list { list-style: none; padding: 0; }
.archive__item {
    background: #fff;
    padding: 20px 22px;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    margin-bottom: 14px;
}
.archive__item h2 { margin: 0 0 6px; font-size: 19px; }
.archive__item h2 a { color: #1a1f2c; }
.archive__item h2 a:hover { color: #0A5536; }
.archive__item p { margin: 0 0 8px; color: #535a6a; font-size: 14.5px; }
.archive__item time { font-size: 12px; color: #6b6b6b; }

.pagination {
    display: flex; gap: 4px; margin-top: 22px; justify-content: center;
}
.pagination__page {
    padding: 6px 14px; border: 1px solid #cfd4de; border-radius: 6px;
    background: #fff; color: #1a1f2c; font-size: 13px;
    text-decoration: none;
}
.pagination__page.is-active { background: #0A5536; color: #fff; border-color: #0A5536; }

/* Footer */
.site-footer {
    margin-top: 60px;
    background: #1a1f2c;
    color: #cfd4de;
    padding: 40px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: #cfd4de; font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }
.footer-copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #2f3543; font-size: 12.5px; color: #888; }

.muted { color: #6b6b6b; }
