.boardMemberContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

.general-contact {
    background: linear-gradient(180deg, #f8fafc, #eef4ff);
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-grid .card {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    padding: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-grid .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.officeRole {
    color: #1e3a8a;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #93c5fd;
    line-height: 1.35;
    text-decoration: none;
}

.officeInfo {
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.contactName {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.contactAddress {
    display: block;
    margin-bottom: 6px;
    color: #475569;
}

.officeInfo a {
    color: #2563eb;
    text-decoration: none;
    word-break: break-word;
}

.officeInfo a:hover,
.officeInfo a:focus {
    color: #1d4ed8;
    text-decoration: underline;
}

.phoneLink,
.officeInfo a[href^="tel:"] {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #0f4ec5;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none;
}

.phoneLink:hover,
.phoneLink:focus,
.officeInfo a[href^="tel:"]:hover,
.officeInfo a[href^="tel:"]:focus {
    background: #dbeafe;
    border-color: #93c5fd;
    color: #1d4ed8;
    text-decoration: none;
}

.general-contact .officeInfo {
    margin: 0;
}

.general-contact a[href^="mailto:"] {
    font-weight: 700;
}

@media only screen and (max-width: 700px) {
    .boardMemberContent {
        padding: 14px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-grid .card {
        padding: 16px;
    }

    .phoneLink,
    .officeInfo a[href^="tel:"] {
        width: 100%;
        text-align: center;
    }
}