/* =========================================================
   Thumbnail Assessment Cards
   3 cards in one row on desktop
========================================================= */

.oa-thumb-assessment-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
    margin-bottom: 34px;
}

.oa-thumb-card {
    width: 100%;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    transition: 0.25s ease;
}

.oa-thumb-card:hover {
    transform: translateY(-5px);
    border-color: #bfdbfe;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.13);
}

.oa-thumb-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #e2e8f0;
}

.oa-thumb-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: 0.35s ease;
}

.oa-thumb-card:hover .oa-thumb-image img {
    transform: scale(1.05);
}

.oa-thumb-body {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.oa-thumb-label {
    width: fit-content;
    margin: 0 auto 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 800;
}

.oa-thumb-body h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.3;
}

.oa-thumb-body p {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.65;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.oa-thumb-btn {
    margin-top: auto;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 13px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: 130px;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
    transition: 0.25s ease;
}

.oa-thumb-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.32);
}

/* Medium Desktop: 3 cards still */
@media (max-width: 1200px) {
    .oa-thumb-assessment-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .oa-thumb-image {
        height: 170px;
    }

    .oa-thumb-body {
        padding: 18px;
    }

    .oa-thumb-body h3 {
        font-size: 18px;
    }
}

/* Tablet: 2 cards */
@media (max-width: 900px) {
    .oa-thumb-assessment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oa-thumb-image {
        height: 190px;
    }
}

/* Mobile: 1 card */
@media (max-width: 560px) {
    .oa-thumb-assessment-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .oa-thumb-card {
        border-radius: 18px;
    }

    .oa-thumb-image {
        height: 210px;
    }

    .oa-thumb-body {
        padding: 18px;
    }

    .oa-thumb-body h3 {
        font-size: 18px;
    }

    .oa-thumb-body p {
        font-size: 14px;
        -webkit-line-clamp: 4;
    }

    .oa-thumb-btn {
        width: 100%;
    }
}