/* =========================================================
   お客様の声 一覧ページ (archive-voice.php)
   プレフィックス: vl-
   ========================================================= */

.vl-head-block {
    width: 100%;
    background: linear-gradient(135deg, #e00923 0%, #a30016 100%);
    color: #fff;
}
.vl-head-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 44px 24px;
    text-align: center;
}
.vl-head-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 0.04em;
}
.vl-head-lead {
    font-size: 15px;
    margin: 0;
    opacity: 0.95;
}

.vl-list-block {
    width: 100%;
    background: #f5f5f5;
}
.vl-list-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.vl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.vl-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

.vl-card-thumb {
    position: relative;
    line-height: 0;
}
.vl-card-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.vl-card-rating {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.62);
    border-radius: 20px;
    padding: 5px 12px;
    line-height: 1;
}
.vl-card-rating-num {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

/* 星（archive 内でも再利用される vc-stars と同名衝突を避けるためサイズのみ上書き） */
.vl-card-rating .vc-stars { font-size: 14px; letter-spacing: 1px; }

.vl-card-body {
    padding: 16px 18px 20px;
}
.vl-card-car {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #e00923;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}
.vl-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    margin: 0 0 8px;
    color: #1a1a1a;
}
.vl-card-name {
    font-size: 13px;
    color: #777;
}

.vl-noimage {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e3e3e3;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.vl-empty {
    text-align: center;
    color: #777;
    padding: 40px 0;
}

.vl-pagination {
    margin-top: 40px;
    text-align: center;
}
.vl-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    background: #fff;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}
.vl-pagination .page-numbers.current {
    background: #e00923;
    color: #fff;
}

/* 星評価の塗り（voice-single.css と共通定義だが、一覧では voice-single.css は読まれないため再定義） */
.vc-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
}
.vc-stars-bg { color: #d9d9d9; }
.vc-stars-fg {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
}
.vc-stars--gold .vc-stars-fg { color: #f5a623; }
.vc-stars--high .vc-stars-fg { color: #f5862a; }
.vc-stars--mid  .vc-stars-fg { color: #f4c430; }
.vc-stars--low  .vc-stars-fg { color: #9aa0a6; }

/* =========================================================
   レスポンシブ（640px 境界）
   ========================================================= */
@media screen and (max-width: 639px) {
    .vl-head-title { font-size: clamp(22px, 6.5vw, 30px); }
    .vl-head-lead { font-size: clamp(13px, 3.6vw, 15px); }
    .vl-head-inner { padding: 30px 16px; }

    .vl-list-inner { padding: 30px 14px 44px; }

    .vl-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .vl-card-title { font-size: clamp(15px, 4.4vw, 17px); }
}
