.c-sermon-clips-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.c-sermon-clips-custom__viewport {
    overflow: hidden;
    width: 100%;
    max-width: var(--fmt-scc-viewport-width, 100%);
}

.c-sermon-clips-custom__track {
    display: flex;
    gap: var(--fmt-scc-gap, 16px);
    transition: transform 0.35s ease;
}

.c-sermon-clips-custom__slide {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: var(--fmt-scc-max-width, 533px);
}

.c-sermon-clips-custom__embed {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: var(--fmt-scc-max-height, 300px);
    aspect-ratio: var(--fmt-scc-ratio-w, 16) / var(--fmt-scc-ratio-h, 9);
    background: #000;
}

.c-sermon-clips-custom__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: var(--fmt-scc-fit, cover);
    background: #000;
}

.c-sermon-clips-custom__cover {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.c-sermon-clips-custom__cover:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.c-sermon-clips-custom__cover.is-hidden {
    display: none;
}

.c-sermon-clips-custom__info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px 28px;
    text-align: left;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 75%);
}

.c-sermon-clips-custom__info-text {
    min-width: 0;
}

.c-sermon-clips-custom__info-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.c-sermon-clips-custom__info-meta {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.c-sermon-clips-custom__brand {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
}

.c-sermon-clips-custom__brand:hover,
.c-sermon-clips-custom__brand:focus {
    text-decoration: underline;
}

.c-sermon-clips-custom__brand-regular {
    font-weight: 400;
}

.c-sermon-clips-custom__brand-bold {
    font-weight: 700;
}

.c-sermon-clips-custom__brand-tld {
    font-weight: 400;
    opacity: 0.85;
}

.c-sermon-clips-custom__share {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.c-sermon-clips-custom__share:hover,
.c-sermon-clips-custom__share:focus-visible {
    background: rgba(0, 0, 0, 0.75);
    outline: none;
}

.c-sermon-clips-custom__share-icon {
    display: block;
}

.c-sermon-clips-custom__share.is-copied::after {
    content: 'Link copied';
    position: absolute;
    top: 50%;
    right: calc(100% + 8px);
    transform: translateY(-50%);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 3px;
}

.c-sermon-clips-custom__duration {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 3px;
    display: none;
}

.c-sermon-clips-custom__duration.is-visible {
    display: block;
}

.c-sermon-clips-custom__play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
}

.c-sermon-clips-custom__arrow {
    box-sizing: border-box;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.c-sermon-clips-custom__arrow-icon {
    display: block;
}

.c-sermon-clips-custom .is-hidden {
    display: none;
}
