/* =========================================================
   IT EXAM DUMPS HOMEPAGE COMPONENTS
   ========================================================= */

.itd-vendors-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.itd-vendor-card {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.itd-vendor-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.itd-vendor-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.itd-vendor-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
}

.itd-vendor-letter {
    color: #2563eb;
    font-size: 20px;
    font-weight: 800;
}

.itd-vendor-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.itd-vendor-info strong {
    overflow: hidden;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.itd-vendor-info small {
    color: #64748b;
    font-size: 12px;
}

.itd-vendor-arrow {
    color: #2563eb;
    font-size: 19px;
    font-weight: 700;
    transition: transform .2s ease;
}

.itd-vendor-card:hover .itd-vendor-arrow {
    transform: translateX(3px);
}

.itd-exams-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.itd-exam-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.itd-exam-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
}

.itd-exam-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.itd-exam-vendor {
    max-width: 65%;
    overflow: hidden;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.itd-exam-status {
    padding: 4px 8px;
    border-radius: 5px;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.itd-exam-title {
    margin: 0 0 15px;
    min-height: 58px;
    font-size: 19px;
    line-height: 1.35;
}

.itd-exam-title a {
    color: #0f172a;
    text-decoration: none !important;
}

.itd-exam-title a:hover {
    color: #2563eb;
}

.itd-exam-meta {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    min-height: 40px;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.itd-exam-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
}

.itd-exam-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding: 10px 12px;
    border-radius: 7px;
    background: #eff6ff;
    color: #2563eb !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease;
}

.itd-exam-button:hover {
    background: #2563eb;
    color: #ffffff !important;
}

@media (max-width: 1024px) {
    .itd-vendors-grid,
    .itd-exams-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .itd-vendors-grid,
    .itd-exams-grid {
        grid-template-columns: 1fr;
    }

    .itd-vendor-card {
        min-height: 82px;
    }

    .itd-exam-card {
        padding: 19px;
    }
}
