/*
 * Styles pour les cartes d'architectes
 */

.architecte-card-container {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.architecte-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.architecte-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.architecte-card-inner {
    display: flex;
    flex-direction: row;
    height: 100%;
    padding: 20px;
    align-items: center;
}

.architecte-photo {
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 25px;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.architecte-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.architecte-content {
    flex: 1;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

.architecte-header {
    margin-bottom: 15px;
}

.architecte-name {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.architecte-header .architecte-description {
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.architecte-header .architecte-description p:first-child {
    margin-top: 0;
}

.architecte-header .architecte-description p:last-child {
    margin-bottom: 0;
}

.architecte-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.architecte-link {
    display: inline-flex;
    align-items: center;
    color: #b95c47;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.architecte-link:hover {
    color: #a24f3d;
}

.architecte-link .dashicons {
    margin-left: 5px;
    font-size: 16px;
    width: auto;
    height: auto;
    transition: transform 0.2s ease;
}

.architecte-link:hover .dashicons {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .architecte-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .architecte-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto 20px;
    }
    
    .architecte-content {
        padding: 0;
        text-align: center;
    }
    
    .architecte-footer {
        margin-top: 20px;
    }
}
