.exv-footer-social {
    --footer-social-ink: #f7f1e8;
    --footer-social-copy: #bacbcb;
    --footer-social-accent: #ffc4a2;
    --footer-social-line: #ffffff26;
    position: relative;
    z-index: 20;
    padding-block: 28px 16px;
}

.exv-footer-social__panel {
    display: block;
    color: var(--footer-social-ink);
}

.exv-footer-social__header,
.exv-footer-social__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.exv-footer-social__header {
    flex-wrap: wrap;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--footer-social-line);
}

.exv-footer-social__eyebrow {
    margin: 0 0 8px;
    color: var(--footer-social-accent);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.exv-footer-social__header h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(1.55rem, 4vw, 2.4rem);
    line-height: 1.15;
}

.exv-footer-social__intro {
    margin: 8px 0 0;
    color: var(--footer-social-copy);
    font-size: .95rem;
}

.exv-footer-social__profiles,
.exv-footer-social__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exv-footer-social__controls[hidden] {
    display: none;
}

.exv-footer-social__profiles a,
.exv-footer-social__controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: 8px;
    border: 1px solid var(--footer-social-line);
    border-radius: 999px;
    background: #ffffff08;
    color: var(--footer-social-ink);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}

.exv-footer-social__profiles a {
    padding-inline: 14px;
}

.exv-footer-social__controls {
    flex: none;
}

.exv-footer-social__controls button {
    width: 44px;
    padding: 0;
    cursor: pointer;
}

.exv-footer-social__controls button[aria-disabled="true"] {
    opacity: .4;
    cursor: default;
}

.exv-footer-social__profiles a:hover,
.exv-footer-social__controls button:not([aria-disabled="true"]):hover {
    border-color: var(--footer-social-accent);
    color: var(--footer-social-accent);
}

.exv-footer-social :focus-visible {
    outline: 2px solid var(--footer-social-accent);
    outline-offset: 2px;
}

.exv-footer-social__toolbar {
    margin-block: 16px 12px;
}

.exv-footer-social__toolbar h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: inherit;
    font-size: .95rem;
    line-height: 1.3;
}

.exv-footer-social__toolbar h3 span {
    color: var(--footer-social-accent);
}

.exv-footer-social :is(nav, .exv-footer-social__toolbar) svg {
    display: block;
    width: 18px;
    height: 18px;
}

#site_footer .exv-footer-social__slides {
    --slide-gap: 14px;
    display: grid;
    grid-auto-columns: calc((100% - 3 * var(--slide-gap)) / 4);
    grid-auto-flow: column;
    gap: var(--slide-gap);
    margin: 0;
    padding: 4px 0 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-color: #ffffff50 transparent;
    scrollbar-width: thin;
    list-style: none;
}

#site_footer .exv-footer-social__slides > li {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    scroll-snap-align: start;
}

.exv-footer-social__slides a {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--footer-social-line);
    border-radius: 13px;
    background: #ffffff08;
    color: var(--footer-social-ink);
    text-decoration: none;
}

.exv-footer-social__slides a:hover {
    border-color: var(--footer-social-accent);
    color: var(--footer-social-accent);
}

.exv-footer-social__slides a:focus-visible {
    outline-offset: -3px;
}

.exv-footer-social__slides img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.exv-footer-social__slides a > span {
    overflow: hidden;
    padding: 10px 12px;
    font-size: .82rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exv-footer-social__caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.exv-footer-social__caption > :first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.exv-footer-social__source {
    color: var(--footer-social-accent);
    font-size: .7rem;
}

@media (max-width: 991px) {
    #site_footer .exv-footer-social__slides {
        grid-auto-columns: calc((100% - 2 * var(--slide-gap)) / 3);
    }
}

@media (max-width: 767px) {
    #site_footer .exv-footer-social__slides {
        --slide-gap: 12px;
        grid-auto-columns: clamp(195px, 79%, 260px);
    }
}
