/* ============================================
   Blood-Based Screening Section Styles
   ============================================ */

.blood-based-screening-tests-section .screening-category {
    margin-bottom: 3rem;
}

.blood-based-screening-tests-section .screening-category h3 {
    color: #007799;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 2px solid #007799;
    text-align: left !important;
}

.blood-based-screening-tests-section .screening-category h3 i {
    margin-right: 0.5rem;
}

.blood-based-screening-tests-section .masta-service-badge {
    display: flex;
    align-items: flex-start;
}

.blood-based-screening-tests-section .masta-service-badge .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    font-weight: 500;
}

.blood-based-screening-tests-section .test-highlights {
    background-color: #f8f9fa;
    padding: 0 0.6rem;
    border-radius: 8px;
    border-left: 3px solid #007799;
}

.blood-based-screening-tests-section .test-highlights small {
    line-height: 1.8;
}

/* Offcanvas specific styles for blood screening */
.blood-based-screening-tests-section .masta-service-offcanvas-header .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.blood-based-screening-tests-section .masta-service-offcanvas-header .lead {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Card wrapper adjustments for blood screening */
.blood-based-screening-tests-section .everything-succeed-section .card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .blood-based-screening-tests-section
        .everything-succeed-section
        .card-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Ensure consistent card heights in blood screening section */
.blood-based-screening-tests-section .everything-succeed-section .card-list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blood-based-screening-tests-section
    .everything-succeed-section
    .card-list
    .card-body {
    flex-grow: 1;
}

.blood-based-screening-tests-section
    .everything-succeed-section
    .card-list
    .card-footer {
    margin-top: auto;
}

/* Alert info styling */
.blood-based-screening-tests-section .alert-info {
    background-color: #e7f5f9;
    border-color: #b8e2f0;
    color: #0c5460;
}

/* Logo partnership in offcanvas */
.blood-based-screening-tests-section .logo-partnership img {
    max-width: 200px;
    height: auto;
}
