.cmp-youtube {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.cmp-youtube--left {
    justify-content: flex-start;
}

.cmp-youtube--center {
    justify-content: center;
}

.cmp-youtube--right {
    justify-content: flex-end;
}

.cmp-youtube__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.cmp-youtube__items iframe {
    display: block;
    border-radius: 8px;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.cmp-youtube__items[data-cmp-item-count="1"] {
    display: flex;
    width: auto;
}

.cmp-youtube__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e3e9ef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 68, 129, 0.08);
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cmp-youtube__card:hover {
    box-shadow: 0 6px 24px rgba(0, 68, 129, 0.16);
    transform: translateY(-2px);
}

.cmp-youtube__thumbnail-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f4f8;
}

.cmp-youtube__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmp-youtube__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    padding: 0;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #004481;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cmp-youtube__card:hover .cmp-youtube__play {
    background: #ffffff;
    transform: translate(-50%, -50%) scale(1.08);
}

.cmp-youtube__play-icon {
    font-size: 28px;
    margin-left: 5px;
    line-height: 1;
}

.cmp-youtube__title {
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    line-height: 1.4;
}

