.dh-footer-shortcode,
.dh-footer-shortcode * {
    box-sizing: border-box;
}

.dh-footer-shortcode {
    --dh-footer-text: #25315f;
    --dh-footer-muted: #33406c;
    --dh-footer-line: #32406c;
    margin: 0;
    color: var(--dh-footer-text);
    width: 100%;
    max-width: none;
    font-family: "Source Sans 3", Arial, sans-serif;
}

.dh-footer-shortcode__inner {
    position: relative;
    overflow: visible;
    background: inherit;
    border-radius: 0;
    padding: 36px 0 18px;
    width: 100%;
}

.dh-footer-shortcode__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 60px;
    align-items: start;
    max-width: none;
    width: 100%;
    margin: 0;
}

.dh-footer-shortcode__links,
.dh-footer-shortcode__help,
.dh-footer-shortcode__social {
    min-width: 0;
}

.dh-footer-shortcode .dh-footer-shortcode__heading {
    margin: 0 0 20px;
    color: #25315f;
    font-size: 38px !important;
    line-height: 1.02 !important;
    letter-spacing: -0.02em;
    font-weight: 600 !important;
    text-align: center !important;
    font-family: "Cormorant Garamond", Georgia, serif !important;
}

.dh-footer-shortcode__list,
.dh-footer-shortcode__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dh-footer-shortcode__list li,
.dh-footer-shortcode__contacts li {
    margin: 0;
}

.dh-footer-shortcode .dh-footer-shortcode__list a,
.dh-footer-shortcode .dh-footer-shortcode__contacts a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 78px;
    padding: 12px 18px 14px;
    color: var(--dh-footer-text);
    text-decoration: none;
    font-size: clamp(20px, 1.45vw, 28px) !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    text-align: center;
    transition: color .2s ease, transform .2s ease;
    font-family: "Source Sans 3", Arial, sans-serif !important;
}

.dh-footer-shortcode__list a::after,
.dh-footer-shortcode__contacts a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--dh-footer-line);
    opacity: 0.96;
}

.dh-footer-shortcode__list a:hover,
.dh-footer-shortcode__list a:focus-visible,
.dh-footer-shortcode__contacts a:hover,
.dh-footer-shortcode__contacts a:focus-visible {
    color: #18234b;
    transform: translateY(-1px);
}

.dh-footer-shortcode__contacts a {
    justify-content: flex-start;
}

.dh-footer-shortcode__icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2b355f;
}

.dh-footer-shortcode__icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.dh-footer-shortcode__social-grid {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-height: 72px;
    padding: 8px 0 10px;
}

.dh-footer-shortcode__social-grid a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #25315f;
    text-decoration: none;
    transition: transform .2s ease, color .2s ease;
}

.dh-footer-shortcode__social-grid a:hover,
.dh-footer-shortcode__social-grid a:focus-visible {
    color: #111b44;
    transform: translateY(-2px);
}

.dh-footer-shortcode__social-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dh-footer-shortcode__social-icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.dh-footer-shortcode__bottom {
    max-width: none;
    width: 100%;
    margin: 18px 0 0;
    padding-top: 10px;
}

.dh-footer-shortcode__bottom p {
    margin: 0;
    color: rgba(37, 49, 95, 0.72);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    font-family: "Source Sans 3", Arial, sans-serif;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1200px) {
    .dh-footer-shortcode__grid {
        gap: 34px;
    }

    .dh-footer-shortcode__list a,
    .dh-footer-shortcode__contacts a {
        min-height: 70px;
        font-size: clamp(20px, 2vw, 30px);
    }
}

@media (max-width: 900px) {
    .dh-footer-shortcode__inner {
        padding: 24px 0 16px;
    }

    .dh-footer-shortcode__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dh-footer-shortcode .dh-footer-shortcode__heading {
        margin-bottom: 14px;
        text-align: left !important;
        font-size: 35px !important;
    }

    .dh-footer-shortcode .dh-footer-shortcode__list a,
    .dh-footer-shortcode .dh-footer-shortcode__contacts a {
        min-height: 60px;
        justify-content: flex-start;
        text-align: left;
        font-size: 20px !important;
        padding-left: 0;
        padding-right: 0;
    }

    .dh-footer-shortcode__social-grid {
        justify-content: flex-start;
        min-height: auto;
        padding: 4px 0 4px;
    }
}

@media (max-width: 640px) {
    .dh-footer-shortcode .dh-footer-shortcode__heading {
        font-size: 32px !important;
    }

    .dh-footer-shortcode .dh-footer-shortcode__list a,
    .dh-footer-shortcode .dh-footer-shortcode__contacts a {
        min-height: 52px;
        font-size: 17px !important;
        gap: 10px;
    }

    .dh-footer-shortcode__icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .dh-footer-shortcode__icon svg,
    .dh-footer-shortcode__social-icon,
    .dh-footer-shortcode__social-icon svg {
        width: 26px;
        height: 26px;
    }

    .dh-footer-shortcode__social-grid {
        gap: 20px;
    }

    .dh-footer-shortcode__social-grid a {
        width: 42px;
        height: 42px;
    }
}
