/* slider.css - スライダー固有のレイアウトのみを定義（共通の動画エフェクトは video_card.css に集約） */

/* スライダーセクション全体: レイアウトのみ (背景色は track に任せる) */
.slider-section {
    margin-top: 10px;
    padding-bottom: 0;
}

/* Splide 共通レイアウト */
.splide {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 0;
    margin: 0 auto;
    margin-top: 12px;
    border: none;
    border-radius: 0;
}

.splide__track {
    padding: 0;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    /* フッター等と丸みを統一 */
    background-color: #f2f2f2;
    overflow: hidden;
}

/* スライダー内の動画カード (.sld_) */
.sld_page {
    display: flex;
    width: 100%;
    height: auto;
    padding: 12px;
    /* 上下左右一括 12px (左右 padding 追加) */
    margin: 0;
    background-color: transparent;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: none;
    transition: background-color 0.2s;
}

.sld_page:last-child {
    border-bottom: none;
}

.sld_page:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* 
   .sld_img, .sld_title, .sld_title_box の基本スタイルと
   ホバーエフェクト（拡大、再生アイコン、ポインター等）は 
   video_card.css に定義されています。
*/

.sld_info_row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    height: 20px;
}

.sld_player_box {
    font-size: 12px;
    color: #606060;
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.sld_paleyer {
    margin-right: 4px;
}

.sld_paleyer a {
    color: inherit;
    text-decoration: underline;
}

.sld_paleyer a:hover {
    text-decoration: underline;
}

.sld_date {
    font-size: 12px;
    color: #606060;
    white-space: nowrap;
}

/* 矢印・ページネーション */
.splide__arrow {
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
    transition: opacity 0.2s, background-color 0.2s;
}

.splide__arrow:hover {
    opacity: 1;
    background-color: #f9f9f9;
}

.splide__arrow--next {
    margin-right: -3%;
}

.splide__arrow--prev {
    margin-left: -3%;
}

.splide__pagination {
    position: static !important;
    margin: 8px 0 0;
    /* trackの下に少し隙間を作る */
    align-self: center;
}

.splide__pagination button {
    margin: 0 10px;
    width: 15px;
    height: 15px;
}

.splide__pagination button.is-active {
    background-color: #4285f4;
    opacity: 1;
}