/*
================================================

Space Vanta Theme 1.0

Module:
Footer Social

Version:
FOOTER-SOCIAL-VISUAL-002

Purpose:
Footer Social Gateway
Horizontal Overflow Safe

================================================
*/


.sv-footer__social-block {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-top: 28px;

    box-sizing: border-box;

    overflow-x: clip;
}


.sv-footer__social {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    box-sizing: border-box;

    overflow-x: clip;
}


/*
---------------------------------
Header
---------------------------------
*/

.sv-footer__social-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin-bottom: 15px;

    box-sizing: border-box;

    overflow: hidden;
}

.sv-footer__social-index {
    flex: 0 0 auto;

    max-width: 100%;
    min-width: 0;

    font-size: 9px;
    font-weight: 500;

    letter-spacing: .16em;
    line-height: 1.2;

    color: var(--sv-muted);

    opacity: .42;

    overflow-wrap: anywhere;
}


/*
---------------------------------
Grid
---------------------------------
*/

.sv-footer__social-grid {
    display: grid;

    grid-template-columns:
        repeat(3,
            minmax(0, 1fr));

    width: 100%;
    max-width: 100%;
    min-width: 0;

    box-sizing: border-box;

    border-top:
        1px solid rgba(150, 160, 175, .14);

    border-left:
        1px solid rgba(150, 160, 175, .14);

    overflow: hidden;
}


/*
---------------------------------
Link
---------------------------------
*/

.sv-footer__social-link {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    min-height: 56px;

    padding:
        0 17px;

    box-sizing: border-box;

    border-right:
        1px solid rgba(150, 160, 175, .14);

    border-bottom:
        1px solid rgba(150, 160, 175, .14);

    color: inherit;

    text-decoration: none;

    overflow: hidden;

    transition:
        background .24s ease,
        border-color .24s ease;
}


/*
---------------------------------
Metal Reflection
---------------------------------
*/

.sv-footer__social-link::before {
    content: "";

    position: absolute;

    top: 0;
    left: -35%;

    width: 28%;
    max-width: 28%;

    height: 100%;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(155, 195, 235, .13),
            transparent);

    transform:
        skewX(-18deg) translateX(-180%);

    transition:
        transform .58s ease;

    pointer-events: none;
}

.sv-footer__social-link:hover::before {
    transform:
        skewX(-18deg) translateX(520%);
}

.sv-footer__social-link:hover {
    background:
        rgba(125, 165, 210, .025);

    border-color:
        rgba(150, 185, 225, .28);
}


/*
---------------------------------
Name
---------------------------------
*/

.sv-footer__social-name {
    position: relative;
    z-index: 1;

    flex: 1 1 auto;

    width: auto;
    max-width: 100%;
    min-width: 0;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: .14em;
    line-height: 1.3;

    opacity: .64;

    overflow-wrap: anywhere;
    word-break: break-word;

    transition:
        opacity .22s ease,
        transform .22s ease;
}

.sv-footer__social-link:hover .sv-footer__social-name {
    opacity: 1;

    transform:
        translateX(2px);
}


/*
---------------------------------
Arrow
---------------------------------
*/

.sv-footer__social-arrow {
    position: relative;
    z-index: 1;

    flex: 0 0 auto;

    margin-left: 12px;

    font-size: 12px;
    line-height: 1;

    opacity: .38;

    transition:
        opacity .22s ease,
        transform .22s ease;
}

.sv-footer__social-link:hover .sv-footer__social-arrow {
    opacity: .82;

    transform:
        translateX(3px);
}


/*
---------------------------------
Mobile
---------------------------------
*/

@media(max-width:767px) {

    .sv-footer__social-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .sv-footer__social-link {
        min-height: 52px;

        padding:
            0 15px;
    }

}