/* Gray Audio — socialmediaprofielen (portfolio) */

.gx-social__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(32px, 4vw, 56px);
}

.gx-social__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: clamp(320px, 34vw, 440px);
    padding: clamp(20px, 2.6vw, 32px);
    border-radius: 12px;
    overflow: hidden;
    isolation: isolate;
    background: var(--gx-navy-800);
    color: var(--gx-white);
    text-decoration: none;
    outline-offset: 4px;
}

.gx-social__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.gx-social__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms var(--gx-ease);
}

/* Donker verloop: tekst blijft leesbaar op elke foto. */
.gx-social__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(14, 14, 15, 0.5) 0%, rgba(14, 14, 15, 0.12) 30%, rgba(14, 14, 15, 0.7) 58%, rgba(14, 14, 15, 0.94) 100%);
}

/* Platformlabel: maakt direct duidelijk dat dit geen projectkaart is. */
.gx-social__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: rgba(14, 14, 15, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
}

.gx-social__badge .gx-icon {
    width: 20px;
    height: 20px;
    color: var(--gx-yellow);
}

.gx-social__kind {
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gx-slate-300);
}

.gx-social__body {
    display: grid;
    gap: 10px;
    max-width: 30em;
}

.gx-social__handle {
    font-family: var(--gx-font-display);
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.gx-social__text {
    color: rgba(255, 255, 255, 0.82);
}

.gx-social__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    margin-top: 6px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--gx-yellow);
    color: #fff;
    font-weight: 600;
    transition: background-color var(--gx-fast) var(--gx-ease);
}

.gx-social__cta .gx-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--gx-fast) var(--gx-ease);
}

.gx-social__card:hover .gx-social__cta,
.gx-social__card:focus-visible .gx-social__cta {
    background: var(--gx-yellow-hi);
}

.gx-social__card:hover .gx-social__cta .gx-icon,
.gx-social__card:focus-visible .gx-social__cta .gx-icon {
    transform: translate(2px, -2px);
}

.gx-social__card:hover .gx-social__media img {
    transform: scale(1.04);
}

.gx-social__card:focus-visible {
    outline: 2px solid var(--gx-yellow);
}

.gx--white .gx-social__card:focus-visible,
.gx--mist .gx-social__card:focus-visible {
    outline-color: var(--gx-navy);
}

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

@media (prefers-reduced-motion: reduce) {
    .gx-social__media img,
    .gx-social__cta .gx-icon {
        transition: none;
    }

    .gx-social__card:hover .gx-social__media img {
        transform: none;
    }
}
