.contact-window {
    position: absolute;
    top: 70px;
    left: 220px;

    width: 760px;
    max-width: calc(100vw - 40px);
}

.contact-page {
    height: 420px;
    margin: 0 14px;
    padding: 28px 36px;

    background-color: white;
    color: black;

    border-top: 2px solid var(--win-dark);
    border-left: 2px solid var(--win-dark);
    border-right: 2px solid var(--win-light);
    border-bottom: 2px solid var(--win-light);

    overflow-y: auto;

    font-family: "Times New Roman", serif;
}

.contact-page h1 {
    margin: 0 0 4px 0;
    font-size: 30px;
}

.contact-page h2 {
    margin: 0 0 22px 0;
    font-size: 20px;
    font-weight: normal;
}

.contact-intro {
    font-size: 18px;
    line-height: 1.4;
}

.contact-grid {
    margin-top: 22px;

    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 14px;
}

.contact-card {
    padding: 14px;

    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: center;

    background-color: rgb(245, 245, 245);

    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-dark);
    border-bottom: 2px solid var(--win-dark);
}

.contact-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--win-gray);
    color: var(--win-blue);

    border-top: 2px solid var(--win-light);
    border-left: 2px solid var(--win-light);
    border-right: 2px solid var(--win-dark);
    border-bottom: 2px solid var(--win-dark);

    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
}

.contact-info strong {
    display: block;
    margin-bottom: 4px;

    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 14px;
}

.contact-info a,
.contact-info span {
    color: rgb(0, 0, 128);
    font-size: 17px;
    word-break: break-word;
}

.contact-note {
    margin-top: 22px;
    padding: 12px;

    background-color: rgb(255, 255, 225);
    font-size: 16px;
    line-height: 1.35;

    border-top: 2px solid var(--win-dark);
    border-left: 2px solid var(--win-dark);
    border-right: 2px solid var(--win-light);
    border-bottom: 2px solid var(--win-light);
}

@media (max-width: 768px) {
    .contact-window {
        position: static;
        width: calc(100vw - 20px);
        max-width: none;
        margin: 10px;
    }

    .contact-page {
        height: auto;
        max-height: 64vh;
        padding: 22px;
    }

    .contact-page h1 {
        font-size: 24px;
    }

    .contact-page h2,
    .contact-intro {
        font-size: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info a,
    .contact-info span {
        font-size: 16px;
    }
}
