:root {
    --contact-inset: 47px;
    --contact-rule: #e0e7ec;
    --contact-ink: #132d49;
    --contact-number: #8da5bd;
    --contact-muted: #8b9aaa;
    --contact-bank-border: #dce5ec;
}
.contact-page {
    padding-bottom: 70px;
    background: var(--affairs-background);
}
.contact-page .affairs-breadcrumb {
    padding-bottom: 27px;
}
.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 51.5px 52px 64px;
    color: var(--home-surface);
    background: linear-gradient(166deg, var(--home-primary) 8%, #1856ad 92%);
    box-shadow: 0 14px 30px #002c8c1f;
}
.contact-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 330px;
    height: 330px;
    right: -90px;
    top: -138px;
    border: 1px solid #ffffff2e;
    border-radius: 50%;
    box-shadow:
        0 0 0 38px #ffffff0d,
        0 0 0 76px #ffffff08;
}
.contact-hero h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 46.5px;
    letter-spacing: 1px;
}
.contact-hero p {
    margin-top: 13.5px;
    color: #e1ecfa;
    line-height: 22.5px;
}
.contact-hero__icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    top: 61px;
    right: 106px;
}
.contact-hero__icon img {
    height: auto;
}
.contact-content {
    margin-top: 28px;
    padding: 42px var(--contact-inset) 52px;
    border: 1px solid var(--contact-rule);
    background: var(--home-surface);
    box-shadow: 0 12px 35px #002c8c0a;
}
.contact-heading {
    padding: 2px 0 20px;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #b8c9d6, #e8edf1 22%) 1;
    color: var(--contact-ink);
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
}
.contact-business {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 26px;
}
.contact-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 22px;
    gap: 14px;
    height: 100%;
    padding: 20px;
    border: 1px solid #e0e7ed;
    border-top-width: 3px;
    background: linear-gradient(172deg, var(--home-surface) 6%, #f8fbfe 94%);
}
.contact-card__number {
    color: var(--contact-number);
    font:
        700 18px/18px "Arial",
        sans-serif;
}
.contact-card__body {
    min-width: 0;
}
.contact-card h3 {
    color: #1b3a58;
    font-size: 19px;
    line-height: 28.5px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.contact-card p {
    margin-top: 6px;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 19.5px;
}
.contact-card a {
    display: block;
    width: fit-content;
    margin-top: 6px;
    font:
        500 18px/22.5px "DIN",
        "Arial",
        sans-serif;
    transition: color var(--home-transition-duration, 300ms) ease;
}
.contact-card a:hover {
    color: var(--home-primary);
}
.contact-card__icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
}
.contact-bank {
    margin-top: 73.5px;
}
.contact-bank .contact-heading {
    padding-bottom: 28.5px;
}
.contact-bank__account {
    margin-top: 25px;
    border: 1px solid var(--contact-bank-border);
    background: #f7fafc;
}
.contact-bank__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 22px;
    border-bottom: 1px solid var(--contact-bank-border);
    background: #eef4f9;
}
.contact-bank__header p {
    color: #68829b;
    font-size: var(--home-font-small);
    line-height: 21px;
}
.contact-bank__header strong {
    color: #183b5d;
    font-size: 17px;
    line-height: 25.5px;
    font-weight: 600;
}
.contact-bank__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 8px 22px 18px;
}
.contact-bank__row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding-block: 13px;
}
.contact-bank__row:nth-child(-n + 4) {
    border-bottom: 1px dashed #d7e0e8;
}
.contact-bank__row--wide {
    grid-column: 1 / -1;
}
.contact-bank dt {
    color: #8091a2;
    font-size: var(--home-font-small);
    line-height: 21px;
}
.contact-bank dd {
    min-width: 0;
    margin: 0;
    color: #314c67;
    font-size: 15px;
    line-height: 22.5px;
    overflow-wrap: anywhere;
}
.contact-page a:focus-visible {
    outline: 2px solid var(--home-primary);
    outline-offset: 3px;
}
@media (max-width: 1100px) {
    .contact-content {
        --contact-inset: 32px;
    }
    .contact-hero {
        padding-inline: 32px 160px;
    }
    .contact-hero__icon {
        right: 42px;
    }
    .contact-card {
        grid-template-columns: 28px minmax(0, 1fr) 22px;
        gap: 10px;
        padding: 18px;
    }
    .contact-bank__fields {
        grid-template-columns: minmax(0, 1fr);
    }
    .contact-bank__row:not(:last-child) {
        border-bottom: 1px dashed #d7e0e8;
    }
}
@media (max-width: 700px) {
    .contact-business {
        grid-template-columns: minmax(0, 1fr);
    }
    .contact-bank {
        margin-top: 40px;
    }
    .contact-bank__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
@media (max-width: 600px) {
    .contact-page {
        padding-bottom: 40px;
    }
    .contact-hero {
        padding: 32px 24px;
    }
    .contact-hero h1 {
        max-width: calc(100% - 64px);
        font-size: 25px;
        line-height: 38px;
    }
    .contact-hero p {
        font-size: var(--home-font-small);
        margin-top: 12px;
    }
    .contact-hero__icon {
        top: 25px;
        right: 24px;
        width: 48px;
        height: 48px;
    }
    .contact-content {
        --contact-inset: 20px;
        padding-block: 28px;
    }
    .contact-heading {
        font-size: 22px;
        padding-bottom: 16px;
    }
    .contact-card {
        position: relative;
        grid-template-columns: 22px minmax(0, 1fr);
        padding: 16px 12px;
    }
    .contact-card__icon {
        position: absolute;
        top: 16px;
        right: 12px;
    }
    .contact-card h3 {
        font-size: 17px;
    }
    .contact-bank__header {
        padding: 16px;
    }
    .contact-bank__fields {
        padding-inline: 16px;
    }
    .contact-bank__row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 8px;
    }
}
