/**
 * Mappatura delle Competenze — Landing Pages & Blog Styles
 * For page templates: PA, Aziende, Enti Formazione, Approfondimenti
 */

/* Shared page styles are minimal - they extend the checker CSS variables */

.spc-page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    font-family: var(--spc-font);
}

/* Landing page hero */
.spc-landing-hero {
    text-align: center;
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--spc-ink-15);
    margin-bottom: 40px;
}

.spc-landing-hero h1 {
    font-family: var(--spc-serif);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 16px;
}

.spc-landing-hero h1 em {
    color: var(--spc-terra);
    font-style: italic;
}

.spc-landing-hero .spc-hero-desc {
    font-size: 16px;
    color: var(--spc-ink-70);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 24px;
}

.spc-hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.spc-hero-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--spc-teal-l);
    color: var(--spc-teal);
}

/* Content sections */
.spc-content-section {
    margin-bottom: 48px;
}

.spc-content-section h2 {
    font-family: var(--spc-serif);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
}

.spc-content-section h2 em {
    color: var(--spc-terra);
    font-style: italic;
}

/* Blog archive */
.spc-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spc-blog-card {
    background: var(--spc-white);
    border: 1px solid var(--spc-ink-15);
    border-radius: var(--spc-radius);
    overflow: hidden;
    transition: all .15s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.spc-blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border-color: var(--spc-teal);
}

.spc-blog-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--spc-ink-08);
}

.spc-blog-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spc-blog-card-topic {
    font-family: var(--spc-mono);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--spc-teal);
    margin-bottom: 6px;
}

.spc-blog-card-title {
    font-family: var(--spc-serif);
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 8px;
    flex: 1;
}

.spc-blog-card-excerpt {
    font-size: 13px;
    color: var(--spc-ink-40);
    line-height: 1.5;
}

.spc-blog-card-date {
    font-family: var(--spc-mono);
    font-size: 10px;
    color: var(--spc-ink-40);
    margin-top: 8px;
}

@media (max-width: 640px) {
    .spc-blog-grid { grid-template-columns: 1fr; }
    .spc-landing-hero h1 { font-size: 24px; }
}
