/* ==========================================================================
   VOD タクソノミー アーカイブ専用スタイル
   /vod/{slug}/ で読み込まれる。VODブランドカラーはスラッグ別モディファイアで切替。
   ========================================================================== */

/* ----------------------------------------
   main 領域のベース
   ---------------------------------------- */
.taxonomy-vod-main {
    background: #141414;
    color: #d1d5db;
    padding: 0 0 64px;
}

/* ----------------------------------------
   ヒーローセクション
   ---------------------------------------- */
.taxonomy-vod-hero {
    padding: 56px 24px;
    margin-bottom: 40px;
    border-radius: 12px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.taxonomy-vod-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.taxonomy-vod-hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
    color: #ffffff;
}

.taxonomy-vod-hero-count {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.taxonomy-vod-hero-catch {
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 28px;
    font-weight: 700;
    line-height: 1.6;
}

.taxonomy-vod-cta-wrap {
    margin: 0;
}

.taxonomy-vod-cta-button {
    display: inline-block;
    padding: 14px 36px;
    background: #f59e0b;
    color: #141414;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.taxonomy-vod-cta-button:hover {
    transform: translateY(-2px);
    background: #fbbf24;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.55);
    color: #141414;
}

/* ----------------------------------------
   VOD ブランドカラー（スラッグ別モディファイア）
   ---------------------------------------- */
.vod-hero-unext {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.vod-hero-netflix {
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
}

.vod-hero-disney-plus {
    background: linear-gradient(135deg, #113CCF 0%, #0a2080 100%);
}

.vod-hero-hulu {
    background: linear-gradient(135deg, #1ce783 0%, #0fa85e 100%);
}

.vod-hero-amazon-prime-video {
    background: linear-gradient(135deg, #00a8e1 0%, #006e94 100%);
}

.vod-hero-dmm-tv {
    background: linear-gradient(135deg, #ff6600 0%, #cc5200 100%);
}

.vod-hero-danime {
    background: linear-gradient(135deg, #008cd6 0%, #005c8c 100%);
}

/* フォールバック（上記以外のスラッグ） */
.vod-hero-default {
    background: linear-gradient(135deg, #2a2a2a 0%, #141414 100%);
}

/* ----------------------------------------
   作品グリッド
   24件を auto-fill で並べる。カードクリックで個別ページに遷移。
   ---------------------------------------- */
.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin: 0 0 48px;
}

.anime-card {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.anime-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.anime-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.anime-card-link:hover,
.anime-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.anime-card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    background: #0f0f0f;
    overflow: hidden;
}

.anime-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.anime-card-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 13px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.anime-card-body {
    padding: 12px 14px 16px;
}

.anime-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.anime-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #9ca3af;
}

.anime-card-year {
    font-weight: 600;
}

.anime-card-rating {
    color: #f59e0b;
    font-weight: 700;
}

/* ----------------------------------------
   ページネーション（paginate_links 'list' 出力に対応）
   ---------------------------------------- */
.anime-pagination {
    margin: 0 0 48px;
    text-align: center;
}

.anime-pagination .page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.anime-pagination .page-numbers li {
    display: inline-flex;
}

.anime-pagination .page-numbers a,
.anime-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #1e1e1e;
    color: #d1d5db;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.anime-pagination .page-numbers a:hover {
    background: #2a2a2a;
    color: #ffffff;
}

.anime-pagination .page-numbers .current {
    background: #f59e0b;
    color: #141414;
}

.anime-pagination .page-numbers .dots {
    background: transparent;
}

/* ----------------------------------------
   空状態
   ---------------------------------------- */
.taxonomy-vod-empty {
    text-align: center;
    padding: 48px 24px;
    color: #9ca3af;
    font-size: 16px;
    background: #1e1e1e;
    border-radius: 10px;
    margin: 0 0 48px;
}

/* ----------------------------------------
   ボトムCTA
   ---------------------------------------- */
.taxonomy-vod-bottom-cta {
    padding: 48px 24px;
    border-radius: 12px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.taxonomy-vod-bottom-cta-lead {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #ffffff;
}

.taxonomy-vod-bottom-cta-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px;
    font-weight: 600;
}

.taxonomy-vod-bottom-cta-wrap {
    margin: 0;
}

.taxonomy-vod-bottom-cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #f59e0b;
    color: #141414;
    font-weight: 800;
    font-size: 17px;
    text-decoration: none;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.taxonomy-vod-bottom-cta-button:hover {
    transform: translateY(-2px);
    background: #fbbf24;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.6);
    color: #141414;
}

/* ----------------------------------------
   モバイル対応
   ---------------------------------------- */
@media (max-width: 768px) {
    .taxonomy-vod-hero {
        padding: 40px 20px;
        margin-bottom: 28px;
    }

    .taxonomy-vod-hero-title {
        font-size: 24px;
    }

    .taxonomy-vod-hero-catch {
        font-size: 15px;
    }

    .anime-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .anime-card-title {
        font-size: 13px;
    }

    .anime-card-meta {
        font-size: 12px;
        gap: 10px;
    }

    .anime-card-body {
        padding: 10px 10px 14px;
    }

    .taxonomy-vod-bottom-cta {
        padding: 36px 20px;
    }

    .taxonomy-vod-bottom-cta-lead {
        font-size: 19px;
    }

    .taxonomy-vod-bottom-cta-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}
