/* Contact page */
.contact-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 1rem 1rem 3rem;
    text-align: center;
}

.contact-page h2 {
    color: #2c3e50;
    font-size: 1.9rem;
    letter-spacing: 0.08em;
    margin: 0.5rem 0 0.6rem;
}

.contact-lead {
    color: #6c6255;
    line-height: 1.8;
    margin: 0 auto 0.4rem;
    max-width: 560px;
}

.contact-collect {
    color: #8a7f72;
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0 auto 2rem;
    max-width: 560px;
}

.contact-collect a { color: #2c3e50; margin-left: 0.3rem; white-space: nowrap; }

/* Email: the main way in */
.contact-mail {
    background: #fbf8f3;
    border: 1px solid #ece4d8;
    border-radius: 10px;
    padding: 2rem 1.5rem 1.6rem;
    margin-bottom: 2.8rem;
}

.contact-mail-icon {
    width: 30px;
    height: 30px;
    color: #a3342c;
    display: block;
    margin: 0 auto 0.6rem;
}

.contact-mail-address {
    display: inline-block;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: #2c3e50;
    text-decoration: none;
    border-bottom: 1px solid #c9bba8;
    padding-bottom: 2px;
}

.contact-mail-address:hover { color: #a3342c; border-color: #a3342c; }

.contact-mail-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 0.8rem;
}

.contact-copy {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #c9bba8;
    background: #fff;
    color: #6c6255;
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-copy:hover { background: #2c3e50; border-color: #2c3e50; color: #fff; }

.contact-prints {
    margin: 1.2rem 0 0;
    font-size: 0.85rem;
    color: #8a7f72;
}

.contact-prints a { color: #2c3e50; margin-left: 0.3rem; }

/* Follow */
.contact-follow-title {
    color: #2c3e50;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
}

/* Social links: one small row - the email above is the main way in */
.contact-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.contact-social-card {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border: 1px solid #e9e4dc;
    border-radius: 999px;
    background: #fff;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-social-card[hidden] { display: none; }

.contact-social-card:hover { border-color: #c9bba8; background: #fbf8f3; }

.contact-social-card svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}

.contact-social-name { font-weight: 600; letter-spacing: 0.03em; }
/* Language of the posts: 中文 / 英文 */
.contact-social-desc { font-size: 0.75rem; color: #8a7f72; }
.contact-social-desc::before { content: "· "; }

@media (max-width: 768px) {
    .contact-page h2 { font-size: 1.5rem; }
    .contact-mail { padding: 1.5rem 1rem 1.3rem; }
    .contact-mail-address { font-size: 1.15rem; }
}
