.social-embeds {
    background: #fff;
    border: 1px solid #e9e7f6;
    border-radius: 22px;
    padding: clamp(.85rem, 2.2vw, 1.25rem);
    min-width: 0;
}

.social-video-embeds iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

@media (max-width: 991.98px) {
    .event-split-grid > .social-video-embeds {
        margin-bottom: 12px;
    }
}

.social-embeds-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.social-embeds-eyebrow {
    color: #6558d9;
    display: block;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.social-embeds h2 {
    color: #17152b;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 800;
    margin: .15rem 0 0;
}

.social-embeds-heading p {
    color: #6f6a82;
    font-size: .72rem;
    line-height: 1.45;
    margin: 0;
    max-width: 25rem;
    text-align: right;
}

.social-embeds-list {
    display: grid;
    gap: 1rem;
    grid-auto-columns: minmax(245px, 72%);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 2px .65rem;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
}

.social-embed-card {
    background: #f7f6fb;
    border: 1px solid #e5e2f0;
    border-radius: 18px;
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
}

.social-embed-stage {
    aspect-ratio: 9 / 13;
    background: #171522;
    display: grid;
    overflow: hidden;
    position: relative;
}

.social-embed-cover {
    background-image: linear-gradient(180deg, rgba(16, 13, 30, .2), rgba(16, 13, 30, .86)), var(--social-cover, linear-gradient(135deg, #6858db, #242033));
    background-position: center;
    background-size: cover;
    inset: 0;
    position: absolute;
    transform: scale(1.02);
}

.social-embed-provider {
    background: rgba(16, 13, 30, .76);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    left: .75rem;
    padding: .38rem .68rem;
    position: absolute;
    top: .75rem;
    z-index: 2;
    pointer-events: none;
}

.social-embed-card--youtube .social-embed-provider { background: #e62117; }
.social-embed-card--instagram .social-embed-provider { background: linear-gradient(115deg, #f58529, #dd2a7b 55%, #8134af); }
.social-embed-card--tiktok .social-embed-provider { background: #090909; box-shadow: 2px 2px 0 #25f4ee; }
.social-embed-card--facebook .social-embed-provider { background: #0866ff; }

.social-embed-consent {
    align-items: flex-start;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: flex-end;
    padding: 1.1rem;
    position: absolute;
    text-align: left;
    width: 100%;
    z-index: 1;
}

.social-embed-consent:focus-visible { outline: 3px solid rgba(255,255,255,.95); outline-offset: -5px; }
.social-embed-consent strong { font-size: .88rem; }
.social-embed-consent small { color: rgba(255,255,255,.78); font-size: .7rem; margin-top: .2rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-embed-play { align-items: center; background: rgba(255,255,255,.94); border-radius: 50%; box-shadow: 0 5px 18px rgba(0,0,0,.2); color: #211b43; display: flex; height: 44px; justify-content: center; margin-bottom: .65rem; padding-left: 2px; transition: transform .18s ease; width: 44px; }
.social-embed-consent:hover .social-embed-play,
.social-embed-consent:active .social-embed-play { transform: scale(1.07); }

.social-embed-player {
    background: #fff;
    height: 100%;
    inset: 0;
    overflow: auto;
    position: absolute;
    width: 100%;
    z-index: 3;
}

.social-embed-player iframe { border: 0; display: block; height: 100%; width: 100%; }
.social-embed-player .instagram-media { margin: 0 auto !important; min-width: 0 !important; width: calc(100% - 2px) !important; }
.social-embed-error { align-items: center; color: #5b566d; display: flex; flex-direction: column; font-size: .85rem; height: 100%; justify-content: center; padding: 1.5rem; text-align: center; }

.social-embed-actions { align-items: center; display: flex; gap: .65rem; justify-content: space-between; padding: .7rem .75rem; }
.social-embed-actions button { background: #6558d9; border: 0; border-radius: 999px; color: #fff; font-size: .78rem; font-weight: 800; padding: .58rem .85rem; }
.social-embed-actions button:disabled { cursor: wait; opacity: .65; }
.social-embed-actions a { color: #554e68; font-size: .72rem; font-weight: 700; text-decoration: none; }
.social-embed-card.is-loaded .social-embed-consent,
.social-embed-card.is-loaded .social-embed-cover,
.social-embed-card.is-loaded .social-embed-provider { display: none; }

.place-vertical-flow > .social-embeds,
.place-vertical-flow > .social-video-embeds { margin-bottom: 1.5rem; }

@media (min-width: 768px) {
    .social-embeds-list { grid-auto-columns: minmax(250px, 32%); }
}

@media (max-width: 575.98px) {
    .social-embeds-heading { align-items: start; flex-direction: column; gap: .35rem; }
    .social-embeds-heading p { text-align: left; }
    .social-embeds h2 { font-size: .95rem; }
    .social-embeds-list { grid-auto-columns: 85%; }
    .place-vertical-flow > .social-embeds,
    .place-vertical-flow > .social-video-embeds { margin-bottom: 12px; }
}
