/* ==========================================================================
   Uitgelichte functies (uit de feature-CPT)
   Plaats dit bestand in: assets/feature-tiles.css

   Kop links, knop rechts. Tegels: dezelfde pill als de Overige features
   (.functie-pill met titel + beschrijving); de pill-basis komt van functies.css.
   Drie kolommen, gelijk aan de andere pill-secties.
   ========================================================================== */

.row.feature-tiles-row { padding-top: 0; }

.feature-tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
}

/* Tegel als kaartje: titel + beschrijving, precies als de Overige features */
.feature-tiles-grid .functie-pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.feature-tiles-grid .functie-pill-text {
    margin: 0;
}

/* Mobiel: naast elkaar, van de pagina af, met scroll-snap */
@media (max-width: 1099px) {
    section.feature-tiles {
        padding:var(--gutter) 0;
    }
    section.feature-tiles .col-8,
    section.feature-tiles .col-4 {
         padding: 0 var(--gutter);
    }

    .feature-tiles-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        margin: 0;
        gap: var(--gutter);
        padding: var(--gutter);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .feature-tiles-grid::-webkit-scrollbar { display: none; }

    .feature-tiles-grid .functie-pill {
        flex: 0 0 90%;
        scroll-snap-align: center;
    }
}