/* Global Directory Styles */
.directory-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

/* --- Archive / Grid Styles --- */
.vet-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.vet-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.vet-card-title {
    margin: 0 0 10px;
    color: #1a202c;
    font-size: 1.35rem;
    font-weight: 700;
}

.vet-card-info {
    margin-bottom: 20px;
    color: #4a5568;
    flex-grow: 1;
}

.vet-card-btn {
    display: block;
    background: #3182ce;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: background 0.2s;
}

.vet-card-btn:hover {
    background: #2b6cb0;
}

/* --- Single Listing Styles (Directorist Style) --- */
.vet-single-hero {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
    padding: 60px 0 100px;
    /* Extra padding bottom for overlap */
    margin-bottom: -60px;
    /* Negative margin for overlap */
    border-radius: 0 0 20px 20px;
}

.vet-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.vet-profile-image-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    background: #fff;
    object-fit: cover;
}

.vet-hero-text h1 {
    margin: 0;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vet-hero-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    opacity: 0.9;
}

.vet-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 10;
}

.vet-main-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.vet-sidebar {
    position: sticky;
    top: 20px;
}

.vet-sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.vet-section-title {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 20px;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 10px;
}

.vet-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vet-contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
}

.vet-action-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
    transition: transform 0.2s;
}

.vet-btn-whatsapp {
    background: #25D366;
    color: white;
}

.vet-btn-call {
    background: #4a5568;
    color: white;
}

.vet-action-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.vet-map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* Badges */
.vet-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.vet-badge-map {
    background: #e0f2fe;
    color: #0284c7;
}

@media (max-width: 768px) {
    .vet-single-container {
        grid-template-columns: 1fr;
    }

    .vet-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .vet-hero-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
}