/* ========================================================
   ICT Cards – Frontend Styles  |  Font: Montserrat
   ======================================================== */

.ict-cards-wrapper,
.ict-cards-wrapper * {
    font-family: 'Montserrat', 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); }
.ict-cols-5 { grid-template-columns: repeat(5, 1fr); }

/* ================================================================
   CARD — bordure #68AD3B toujours visible, aucune animation hover
   ================================================================ */
.ict-card {
    background: #ffffff;
	border-radius: 10px;
    border: 2px solid #3A519C;          
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    /* Aucune transition, aucun effet hover */
}


.ict-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ict-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4edda, #68AD3B);
}

.ict-card-body {
	background:#F0F3FF;
    padding: 18px 18px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
	border-radius:10px;
}

/* ── 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: #222222;
    text-decoration: none;
    width: fit-content;
    /* Aucune transition */
}

a.ict-card-readmore {
	border-radius: 5px;
    color: white;
    background: #3A519C;
    padding: 12px 17px 12px 17px;
}

a.ict-card-readmore:hover {
    background: #F5C718;
}

.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,
	.ict-cols-5{ grid-template-columns: repeat(2, 1fr); }
}

/* Mobile : 1 colonne */
@media (max-width: 640px) {
    .ict-cols-2,
    .ict-cols-3,
    .ict-cols-4,
	.ict-cols-5{ grid-template-columns: 1fr; }
    .ict-card-title       { font-size: 15.5px; }
}
