/* ========================================================
   ICT Cards – Frontend Styles  |  Font: Sora
   ======================================================== */

.ict-cards-wrapper,
.ict-cards-wrapper * {
    font-family: 'Sora', sans-serif;
    box-sizing: border-box;
}

/* ── Grid ── */
.ict-cards-grid {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Desktop : 4 colonnes par défaut */
.ict-cols-1 { grid-template-columns: 1fr; }
.ict-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ict-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ict-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ================================================================
   CARD — bordure #68AD3B toujours visible, aucune animation hover
   ================================================================ */
.ict-card {
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid #1C3D71;          /* toujours visible */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    /* Aucune transition, aucun effet hover */
}

/* ── Image incrustée avec ses propres coins arrondis ── */
.ict-card-image-wrap {
    margin: 10px 10px 0 10px;
    border-radius: 14px;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}

.ict-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Aucune transition de zoom */
}

.ict-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4edda, #68AD3B);
}

/* ── Corps texte ── */
.ict-card-body {
    padding: 16px 18px 5px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Meta : date · temps de lecture ── */
.ict-card-meta {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    margin: 0 0 8px;
    line-height: 1.5;
}

/* ── Titre ── */
.ict-card-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 10px;
    line-height: 1.30;
    letter-spacing: -0.01em;
}

/* ── Description ── */
.ict-card-description {
    font-size: 13px;
    font-weight: 400;
    color: #222222;
    line-height: 1.65;
    flex: 1;
}

/* ================================================================
   READ MORE + FLÈCHE LONGUE — sans animation
   ================================================================ */
.ict-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #16a34a;
    text-decoration: none;
    width: fit-content;
    /* Aucune transition */
}

.ict-arrow-wrap {
    display: inline-flex;
    align-items: center;
}

.ict-arrow-line {
    display: block;
    width: 34px;
    height: 2px;
    background-color: currentColor;
}

.ict-arrow-head {
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: -2px;
    flex-shrink: 0;
}

/* ── Message vide ── */
.ict-cards-empty {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
}

/* ================================================================
   RESPONSIVE  —  4 colonnes → 1 colonne mobile
   ================================================================ */

/* Tablette : 2 colonnes */
@media (max-width: 1024px) {
    .ict-cols-3,
    .ict-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile : 1 colonne */
@media (max-width: 640px) {
    .ict-cols-2,
    .ict-cols-3,
    .ict-cols-4 { grid-template-columns: 1fr; }

    .ict-card-image-wrap  { height: 180px; }
    .ict-card-title       { font-size: 15.5px; }
    .ict-cards-wrapper    { padding: 20px 14px; }
}
