/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* frontend/css/style.css */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.doctor-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.doctor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.doctor-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.doctor-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.doctor-image.default-image {
    object-fit: contain;
    background-color: #f5f5f5;
}

.doctor-item h2 {
    font-size: 1.2rem;
    margin: 10px 15px;
    color: #333;
}

.doctor-item .doctor-categories {
    margin: 5px 15px;
    font-size: 0.9rem;
}

.doctor-item .doctor-categories a {
    display: inline-block;
    margin-right: 5px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
}

.doctor-item .doctor-categories a:hover {
    color: #0073aa;
}

.doctor-item .entry-excerpt {
    margin: 10px 15px 15px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}