/* Adições ao style.css para o polimento dos medicos */
.doctors-grid-refined {
    grid-gap: 2rem; /* Restore gap */
}

/* Responsividade mais refinada */
@media (max-width: 1200px) {
    .doctors-grid-refined.grid.cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .doctors-grid-refined.grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .doctors-grid-refined.grid.cols-4 {
        grid-template-columns: 1fr;
    }
    /* Ensure cards aren't too huge on mobile */
    .doctor-card-redesign {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Location Badges - Elegant & Polished */
.doctor-locations {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    flex-direction: row; /* Horizontal stack looks better at bottom */
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 6px;
    z-index: 5;
}

.location-badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(255, 255, 255, 0.95); /* Almost solid white */
    color: var(--gold-dark);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    border: 1px solid rgba(189, 142, 66, 0.15); /* Subtle border */
}

/* Hover effects for badges */
.doctor-card-redesign:hover .location-badge {
    background-color: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(189, 142, 66, 0.25);
}

/* Add a subtle icon or dot before location name (optional but elegant) */
.location-badge::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: currentColor;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    margin-top: -2px;
    opacity: 0.7;
}
