/* =========================================================
   FILE: /assets/css/sections/plain-cards.css
   TEMA: Gieffe Classic
   SCOPO: Stile sezione Card testuali
   COPYRIGHT: 2026 by Gieffe Informatica
   VERSIONE: 1.0
   ========================================================= */

.gf-section--plain-cards .gf-plain-cards__header {
    max-width: 980px;
    margin: 0 auto 38px;
}

.gf-section--plain-cards .gf-plain-cards__header h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 920px;
    color: var(--gf-section-title-color, #003b6f);
    font-size: var(--gf-section-title-size, 2rem);
    line-height: 1.12;
}

.gf-section--plain-cards .gf-plain-cards__header .gf-text {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gf-plain-cards {
    display: grid;
    grid-template-columns: repeat(var(--gf-plain-cards-columns, 3), minmax(0, 1fr));
    gap: var(--gf-plain-cards-gap, 22px);
    align-items: stretch;
}

.gf-plain-card {
    min-width: 0;
    background: var(--gf-plain-card-bg, #ffffff);
    border: 1px solid var(--gf-plain-card-border-color, rgba(0, 59, 111, .14));
    border-radius: var(--gf-plain-card-radius, 18px);
    box-shadow: 0 20px 36px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.gf-plain-card__inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: var(--gf-plain-card-padding-top, 28px) var(--gf-plain-card-padding-right, 24px) var(--gf-plain-card-padding-bottom, 28px) var(--gf-plain-card-padding-left, 24px);
    color: inherit;
    text-decoration: none;
}

.gf-plain-card__inner--link:hover,
.gf-plain-card__inner--link:focus {
    text-decoration: none;
}

.gf-plain-card h3 {
    margin: 0 0 14px;
    color: var(--gf-section-card-title-color, var(--gf-section-title-color, #003b6f));
    font-size: var(--gf-section-card-title-size, 1.05rem);
    line-height: 1.25;
}

.gf-plain-card p {
    margin: 0;
    color: var(--gf-section-card-text-color, var(--gf-section-text-color, #4b5563));
    font-size: var(--gf-section-card-text-size, 1rem);
    line-height: 1.65;
}

.gf-plain-card__link-text {
    display: inline-flex;
    margin-top: 16px;
    font-weight: 800;
}

.gf-section--bg-dark .gf-plain-card {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
}

@media (max-width: 1100px) {
    .gf-plain-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .gf-section--plain-cards .gf-plain-cards__header h2 {
        font-size: var(--gf-section-title-size, 1.65rem);
    }

    .gf-plain-cards {
        grid-template-columns: 1fr;
    }
}
