/* 포토 리스트형 고객매매후기 */

.prl {
    --prl-accent: #2b6de5;
    --prl-text: #111;
    --prl-muted: #8a8f98;
    --prl-line: #eeeeee;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
}

.prl--compact {
    margin: 24px 0 8px;
    padding: 28px 22px 22px;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.05);
}

.prl-head {
    text-align: center;
    margin: 0 0 28px;
}

.prl-head__label {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #1d3f86;
}

.prl-head__title {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--prl-text);
    line-height: 1.25;
}

.prl-head__sub {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--prl-muted);
}

.prl-head__bar {
    display: block;
    width: 42px;
    height: 4px;
    margin: 0 auto;
    border-radius: 4px;
    background: var(--prl-accent);
}

.prl-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px 8px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.prl-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.prl-stats__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f4f5f7;
}

.prl-stats__icon img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.prl-stats__label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.prl-stats__count {
    font-size: 14px;
    font-weight: 800;
    color: var(--prl-accent);
}

.prl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.prl-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--prl-line);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    min-width: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.prl-card:hover {
    border-color: #d7deea;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.prl-card__thumb {
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f1f3;
}

.prl-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prl-card__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prl-card__top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.prl-card__title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prl-card__sep {
    flex: 0 0 auto;
    color: #d0d3d8;
    font-weight: 400;
}

.prl-card__date {
    flex: 0 0 auto;
    font-size: 13px;
    color: #9aa0a8;
}

.prl-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.55;
    color: #6b7280;
}

.prl-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.prl-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 8px 0 6px;
    border-radius: 999px;
    background: #f5f5f5;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.prl-tag img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.prl-tag--price { background: #eef8ee; }
.prl-tag--speed { background: #eef3fb; }
.prl-tag--easy  { background: #f7f3ee; }
.prl-tag--kind  { background: #fff8e8; }
.prl-tag--trust { background: #fdeeee; }
.prl-tag--safe  { background: #eef4fb; }

.prl-empty {
    padding: 48px 16px;
    text-align: center;
    color: #8a8f98;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
}

.prl-more {
    margin: 22px 0 0;
    text-align: center;
}

.prl-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 44px;
    padding: 0 20px;
    border: 1px solid #d7deea;
    border-radius: 10px;
    background: #fff;
    color: #1d3f86;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.prl-more a:hover {
    border-color: var(--prl-accent);
    color: var(--prl-accent);
}

.prl-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 28px 0 8px;
}

.prl-pager a,
.prl-pager strong,
.prl-pager span {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
}

.prl-pager strong {
    background: var(--prl-accent);
    color: #fff;
    font-weight: 800;
}

.prl-pager a:hover {
    background: #eef3fb;
}

.prl-view {
    max-width: 860px;
    margin: 0 auto;
    padding: 8px 0 40px;
}

.prl-view__head {
    padding: 8px 0 20px;
    border-bottom: 1px solid #eee;
}

.prl-view__title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111;
}

.prl-view__meta {
    margin: 0;
    font-size: 13px;
    color: #8a8f98;
}

.prl-view__tags {
    margin: 14px 0 0;
}

.prl-view__content {
    padding: 28px 0;
    font-size: 15px;
    line-height: 1.85;
    color: #333;
}

.prl-view__content img {
    max-width: 100%;
    height: auto;
}

.prl-view__bottom {
    padding-top: 8px;
}

.prl-view__list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #d7deea;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.prl-view__list:hover {
    border-color: var(--prl-accent);
    color: var(--prl-accent);
}

@media (max-width: 900px) {
    .prl-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 8px;
    }

    .prl-grid {
        grid-template-columns: 1fr;
    }

    .prl-head__title {
        font-size: 26px;
    }

    .prl--compact {
        padding: 22px 14px 16px;
    }
}

@media (max-width: 560px) {
    .prl-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .prl-stats__icon {
        width: 60px;
        height: 60px;
    }

    .prl-stats__icon img {
        width: 42px;
        height: 42px;
    }

    .prl-card {
        padding: 12px;
        gap: 10px;
    }

    .prl-card__thumb {
        flex-basis: 88px;
        width: 88px;
        height: 88px;
    }

    .prl-card__title {
        font-size: 14px;
    }

    .prl-card__excerpt {
        -webkit-line-clamp: 2;
    }
}
