/* FOLLOW US — social profile cards at the foot of the Highlights panel.
   The ivory cards match .unit-card (best-units.css) on the espresso panel;
   icons inherit the brand brown instead of each platform's own colours. */

.social-links{
    margin-top:36px;
    padding-top:32px;

    border-top:1px solid rgba(217,184,114,.22);
}

.social-links-heading{
    margin:0 0 20px;

    font-family:'Fraunces',Georgia,serif;
    font-size:1.35rem;
    font-weight:600;
    line-height:1.2;
    letter-spacing:-.012em;
    color:#fbf6ec;
    text-align:center;
}

.social-links-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;

    margin:0;
    padding:0;
    list-style:none;
}

.social-links-grid > li{
    display:flex;
    flex:0 1 176px;
    min-width:0;
}

.social-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;

    width:100%;
    padding:20px 14px;

    background:var(--sg-ivory);
    border:1px solid transparent;
    border-radius:14px;

    color:var(--sg-text);
    text-align:center;
    text-decoration:none;

    box-shadow:0 10px 24px rgba(10,6,3,.28);

    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

@media (hover:hover){
.social-card:hover{
    transform:translateY(-4px);
    border-color:var(--sg-gold);
    box-shadow:0 18px 34px rgba(10,6,3,.4);
}
}

.social-card:focus-visible{
    outline:3px solid rgba(217,184,114,.7);
    outline-offset:3px;
}

.social-card-icon{
    display:inline-flex;
    color:var(--sg-brand);
}

.social-card-icon svg{
    display:block;
    width:26px;
    height:26px;
}

.social-card-platform,
.social-card-profile{
    width:100%;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.social-card-platform{
    font-size:.68rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--sg-gold-deep);
}

.social-card-profile{
    font-size:.92rem;
    font-weight:600;
    color:var(--sg-ink);
}

@media screen and (max-width:480px){

    .social-links{
        margin-top:28px;
        padding-top:24px;
    }

    .social-links-heading{
        margin-bottom:16px;
        font-size:1.15rem;
    }

    .social-links-grid{
        gap:10px;
    }

    /* Two cards per row on phones. */
    .social-links-grid > li{
        flex:0 0 calc(50% - 5px);
    }

    .social-card{
        padding:16px 10px;
    }

}
