body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header h1 { margin: 0 0 12px; }
nav a { margin-right: 12px; text-decoration: none; }
.card { background: #fff; padding: 16px; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
button { padding: 8px 14px; border: 1px solid #2563eb; background: #3b82f6; color: #fff; border-radius: 8px; cursor: pointer; }
button:hover { opacity: .9; }
.table-wrapper { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid #eee; padding: 8px; text-align: left; }
error { margin-top: 12px; color: #b91c1c; }

.contact-cards-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin: 20px 0;
    margin-bottom: 0px;
}

.contact-card {
    width: 11.5cm;
    height: 14cm;
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-card h2 {
    margin-top: 0;
    font-family: 'Times New Roman', serif !important;
    font-size: 28px !important;
    font-weight: bold !important;
    text-align: center;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 10px;
}
.contact-card h3 {
    font-family: 'Times New Roman', sans-serif !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-bottom: 10px;
    text-align: left;
    margin-top: var(--research-title-margin, 10px);
}
.contact-card .contact-info {
    text-align: left;
    line-height: 1.5;
}
.contact-card .contact-info p {
    margin: 10px 0;
}
.contact-card .contact-info strong {
    font-family: 'Times New Roman', sans-serif !important;
    font-size: 20px !important;
    font-weight: bold !important;
}
.contact-card .contact-info span {
    font-family: 'Times New Roman', serif !important;
    font-size: 20px !important;
    font-weight: normal !important;
}

.contact-card ul {
    margin: 5px 0;
    padding-left: 20px;
    text-align: left;
    line-height: 1.5;
}

.contact-card li {
    font-family: 'Times New Roman';
    font-size: 20px !important;
    font-weight: normal !important;
    margin-bottom: 8px;
    list-style: none;
}
.contact-card li:before {
    content: "☆";
    color: #87ceeb;
    margin-right: 8px;
}

.contact-card .email-link {
    text-align: center;
    margin-top: 15px;
}
.email-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.6cm;
    height: 1.6cm;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 auto;
    text-decoration: none;
    box-shadow: none;
    outline: none;
}
.email-icon-container i {
    font-size: 1cm;
    color: #3b82f6;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border: none;
}
.email-icon-container:hover {
    background-color: #3b82f6;
    text-decoration: none;
}
.email-icon-container:hover i {
    color: white;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .contact-cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 90%;
        height: auto;
        min-height: 8cm;
        margin-bottom: 10px;
    }
    
    .email-icon-container {
        width: 1.8cm;
        height: 1.8cm;
        line-height: 1.8cm;
    }
    
    .contact-card h3 {
        margin-top: var(--research-title-margin-mobile, 10px);
    }
    
    .email-icon-container i {
        font-size: 1.4cm;
    }
}

main:not(.download-main) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
