.sm-social-videos {
    margin: 28px 0;
}

.sm-social-videos__title {
    margin: 0 0 10px;
    font-family: var(--sm-font-primary);
    color: var(--sm-color-headline);
    font-size: clamp(24px, 2.3vw, 34px);
    line-height: 1.1;
}

.sm-social-videos__intro {
    margin: 0 0 16px;
    color: var(--sm-color-body);
    font-size: 17px;
}

.sm-social-videos__grid {
    display: grid;
    gap: 16px;
}

.sm-social-videos__grid--1 {
    grid-template-columns: 1fr;
}

.sm-social-videos__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sm-social-videos__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sm-social-videos__item {
    background: #ffffff;
    border: 1px solid rgba(5, 5, 5, 0.12);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 8px 22px rgba(5, 5, 5, 0.08);
}

.sm-social-videos__item--single {
    max-width: 860px;
}

.sm-social-videos--single .sm-social-videos__item {
    margin: 0 auto;
}

.sm-social-videos__embed {
    width: 100%;
}

.sm-social-videos__iframe-wrap {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 780px;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f5f7;
}

.sm-social-videos__iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.sm-social-videos__embed iframe,
.sm-social-videos__embed video,
.sm-social-videos__embed blockquote {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: 12px;
    overflow: hidden;
}

.sm-social-videos__fallback {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    border-radius: 12px;
    background: linear-gradient(160deg, #f6f7f8, #eceef2);
}

.sm-social-videos__fallback a {
    color: var(--sm-color-headline);
    font-weight: 700;
    text-decoration: none;
}

.sm-social-videos__fallback a:hover {
    color: var(--sm-color-primary);
}

@media (max-width: 1024px) {
    .sm-social-videos__grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sm-social-videos__grid,
    .sm-social-videos__grid--2,
    .sm-social-videos__grid--3 {
        grid-template-columns: 1fr;
    }

    .sm-social-videos__item {
        padding: 10px;
    }

    .sm-social-videos__intro {
        font-size: 16px;
    }
}
