/* Container for cards */
.ccdt-card-list {
    display: flex;
    flex-wrap: wrap;             
    justify-content: flex-start; 
    gap: 20px;                  
    align-items: stretch;
}
 /*Individual card */
.card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.08);
    padding: 16px;
    flex: 0 0 calc(25% - 15px);  
    max-width: calc(25% - 15px);
    justify-content: flex-start;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.card a {
    margin-top: auto;
}

 /*Tablet: 2 per row */
@media (max-width: 1024px) {
    .card {
        flex: 0 0 48%;
        max-width: 48%;
    }
}

 /*Mobile: 1 per row */
@media (max-width: 768px) {
    .card {
        flex: 0 0 100%;
        max-width: 100%;
    }
} 

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 12px 0;
    cursor: pointer;
    background: #fff;
}

/* Question row with arrow */
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

/* Answer inside same box, hidden by default */
.faq-a {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    color: #4b5563;
}

.faq-item.active .faq-a {
    margin-top: 10px;
    opacity: 1;
}

.faq-item .faq-q i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-q i {
    transform: rotate(180deg);
}