/* Section Container Layout */
.vet-desc-section {
    width: 100%;
    
    /* FIX: Tightened padding on both top and bottom to 10px to eliminate the gaps */
    padding: 10px 20px 10px 20px; 
    
    box-sizing: border-box;
    background-color: #ffffff; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* FIX: Removed the bottom border line entirely */
}



/* Max Width Wrapper bounding box alignment */
.vet-desc-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Centered Header Text Parameters */
.vet-desc-header {
    text-align: center;
    margin-bottom: 45px;
}

/* FIX: Font-size removed so it inherits your theme's default H2 styling */
.vet-desc-header h2 {
    margin-bottom: 12px;
}

/* FIX: Set to a relative percentage to upscale based on your site's base font size */
.vet-desc-lead {
    font-size: 115%; 
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Multi-Column Row Layout Grid Engine */
.vet-desc-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px; 
    justify-content: center;
}

/* Core Structural Columns */
.vet-desc-col {
    flex: 1 1 calc(33.333% - 24px);
    min-width: 280px; 
    display: flex;
}

/* Inner Text Cards Style formatting elements */
.vet-desc-card {
    background: rgba(255, 255, 255, 0.85); 
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vet-desc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.vet-desc-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* FIX: Reduced line spacing from 1.6 to a tighter, compact 1.3 */
.vet-desc-card p {
    line-height: 1.3; 
    margin-bottom: 0;
}

/* Responsive breakpoint handling for mobile screen formats */
@media (max-width: 768px) {
    .vet-desc-col {
        flex: 1 1 100%; 
    }
    .vet-desc-section {
        padding: 40px 15px;
    }
}

/* Card 1 Background (Left Box) */
.vet-desc-row .vet-desc-col:nth-child(1) .vet-desc-card {
    background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), 
                     url('https://leswilkins.com/new/wp-content/uploads/2026/09/serviceboxtrans.png.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-weight:bold;
}

/* Card 2 Background (Center Box) */
.vet-desc-row .vet-desc-col:nth-child(2) .vet-desc-card {
    background-image: linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)), 
                     url('https://leswilkins.com/new/wp-content/uploads/2026/09/handshaketrans.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-weight:bold;
}

/* Card 3 Background (Right Box) */
.vet-desc-row .vet-desc-col:nth-child(3) .vet-desc-card {
    background-image: linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)), 
                     url('https://leswilkins.com/new/wp-content/uploads/2026/09/support.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-weight:bold;
}
