/* ============================================================
   Block: 配信状況（acf/vod-status）
   ============================================================ */

.cv-vod-status {
    margin: 1.5em 0;
}

/* グループ（ステータス単位の塊） */
.cv-vod-status__group {
    margin: 0 0 1.6em;
}

.cv-vod-status__group:last-child {
    margin-bottom: 0;
}

.cv-vod-status .cv-vod-status__group-title {
    margin: 0 0 .7em;
    padding: 0 0 0 12px;
    background: none;
    border: none;
    border-left: 4px solid #9ca3af;
    border-radius: 0;
    font-size: 1.05em;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
}

.cv-vod-status .cv-vod-status__group-title::before,
.cv-vod-status .cv-vod-status__group-title::after {
    content: none;
    display: none;
}

.cv-vod-status .cv-vod-status__group-badge {
    display: inline;
    padding: 0;
    background: none;
    color: inherit;
    font: inherit;
}

/* おすすめが含まれるグループだけ見出し下を広く取る（リボンが被らないように） */
.cv-vod-status .cv-vod-status__group:has(.is-emphasize) .cv-vod-status__group-title {
    margin-bottom: 1.3em;
}

.cv-vod-status .cv-vod-status__group.is-watch       .cv-vod-status__group-title { border-left-color: #16a34a; }
.cv-vod-status .cv-vod-status__group.is-coming      .cv-vod-status__group-title { border-left-color: #2563eb; }
.cv-vod-status .cv-vod-status__group.is-disc-rental .cv-vod-status__group-title { border-left-color: #14b8a6; }
.cv-vod-status .cv-vod-status__group.is-rental      .cv-vod-status__group-title { border-left-color: #f59e0b; }
.cv-vod-status .cv-vod-status__group.is-buy         .cv-vod-status__group-title { border-left-color: #6b7280; }
.cv-vod-status .cv-vod-status__group.is-none        .cv-vod-status__group-title { border-left-color: #9ca3af; }

/* 配信なし: 矢印だけグレー（通常表示に戻したいとき用） */
.cv-vod-status__group.is-none .cv-vod-status__arrow { color: #9ca3af; }

/* 配信なし: アイコンのみ並べる */
.cv-vod-status__icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cv-vod-status__icon-only {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cv-vod-status__icon-only img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-sizing: border-box;
}

/* リスト（PC 2列 / SP 1列） */
.cv-vod-status__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .cv-vod-status__list {
        grid-template-columns: 1fr;
    }
}

/* 各カード */
.cv-vod-status__item {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, color .15s ease;
}

/* おすすめ：縁を強調（フラット：太枠だけで主張） */
.cv-vod-status__item.is-emphasize {
    border: 2px solid #fc2348;
    padding: 11px 13px; /* 太枠分の差を吸収 */
}

.cv-vod-status__ribbon {
    position: absolute;
    top: -10px;
    left: 10px;
    background: #fc2348;
    color: #fff;
    font-size: .7em;
    font-weight: 700;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
    pointer-events: none;
}

a.cv-vod-status__item:hover {
    border-color: #fc2348;
}

.cv-vod-status__icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cv-vod-status__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-sizing: border-box;
}

.cv-vod-status__body {
    min-width: 0;
}

.cv-vod-status__name {
    font-weight: 700;
    font-size: 1em;
    line-height: 1.3;
    color: #1f2937;
}

.cv-vod-status__info {
    margin-top: 4px;
    font-size: .82em;
    color: #6b7280;
    line-height: 1.4;
}

.cv-vod-status__arrow {
    color: #fc2348;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 調査日時（最下部の補足表記） */
.cv-vod-status__updated {
    margin: 1em 0 0;
    padding-top: .7em;
    border-top: 1px dashed #e5e7eb;
    font-size: .78em;
    color: #6b7280;
    text-align: left;
    line-height: 1.5;
}

.cv-vod-status__updated time {
    color: inherit;
    font-variant-numeric: tabular-nums;
}

