/* custom-agent-style.css */
.agent-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.agent-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2%;
    background-color: #f7f7f7;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.agent-avatar {
    flex: 0 0 20%;
    text-align: center;
}

.agent-avatar img {
    width: 80%;
    max-width: 150px;
    border-radius: 50%;
    border: 2px solid #333;
}

.agent-info {
    flex: 1 1 75%;
    padding: 1% 2%;
}

.agent-header {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.agent-contact {
    margin-bottom: 1rem;
}

.agent-icons {
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.icon-img {
    width: 32px;
    height: 32px;
}

.agent-description {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1rem;
}

.agent-contact-link {
    display: inline-block;
    padding: 0.6em 1.2em;
    background-color: #192a3d;
    color: white;
    text-decoration: none;
    border-radius: 0.6em;
}

@media (max-width: 768px) {
    .agent-card {
        flex-direction: column;
        text-align: center;
    }

    .agent-avatar, .agent-info {
        flex: 100%;
    }
}
