/* static/css/about.css */
.about-header h1 {
    font-size: calc(1rem + 1vw);
}
@media (min-width: 1200px) {
    .about-header h1 {
        font-size: 1.5rem;
    }
}

/* --- Hero Section --- */
.about-header {
    padding: 2.5rem 0;
    position: relative;
    color: #ffffff;
    background-color: #343a40;
    background-image: linear-gradient(rgba(33, 37, 41, 0.7), rgba(33, 37, 41, 0.7)), url("https://a-lab.material.nagoya-u.ac.jp/wp-content/uploads/2025/05/back2.jpg");
    background-size: cover;
    background-position: center;
}
.title-divider {
    width: 50px;
    height: 2px;
    background-color: #0d6efd;
    border: none;
    opacity: 1;
    margin-bottom: 0.75rem;
}

/* --- Team Section --- */
.team-section {
    background-color: #ffffff;
    border-radius: .75rem;
}
.team-card {
    text-align: center;
    border: 1px solid #e9ecef;
    border-radius: .75rem;
    padding: 1.25rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative; /* Restored for proper positioning */
}
.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.1rem 0.25rem rgba(0,0,0,0.05);
}
.team-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.75rem auto;
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.team-initials-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 0.75rem auto;
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: #495057;
    background-color: #e9ecef;
}
.team-name {
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.1rem;
    font-size: 1rem;
}
.team-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}
.team-bio {
    font-size: 0.75rem;
    line-height: 1.4;
    min-height: 60px;
}
.university-logo-corner {
    position: absolute; /* Restored for proper positioning */
    top: 6px;
    right: 6px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    padding: 1px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    backdrop-filter: blur(2px);
}
.university-logo-corner1 {
    position: absolute; /* Restored for proper positioning */
    top: 6px;
    right: 6px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    padding: 1px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    backdrop-filter: blur(2px);
}
.team-social a {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 0.25rem;
    transition: color 0.2s ease;
}
.team-social a:hover {
    color: #0d6efd;
}

/* --- Contact Section --- */
.contact-details .detail-item {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.contact-details .icon {
    font-size: 1.25rem;
    color: #0d6efd;
    min-width: 25px;
    text-align: center;
}
.contact-details .text strong {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    color: #343a40;
}
.contact-details .text p {
    margin: 0;
    font-size: 0.8rem;
}
.map-container {
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}