.vref-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.vref-slider {
    overflow: hidden;
    width: 100%;
}

.vref-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
    will-change: transform;
}

.vref-card {
    flex: 0 0 calc((100% - 48px) / 3);
    display: flex;
    flex-direction: column;
    background: #f5ead8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    overflow: hidden;
    min-height: 300px;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vref-card.is-expanded {
    border-color: rgba(161, 90, 37, 0.5);
    box-shadow: 0 12px 28px rgba(22, 22, 22, 0.08);
    transform: translateY(-2px);
}

.vref-image-wrap {
    width: 100%;
    min-height: 170px;
    background: #ece4d5;
}

.vref-thumb {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.vref-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    padding: 22px 20px 20px;
    box-sizing: border-box;
}

.vref-headline-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vref-name {
    margin: 0;
    font-size: 1em;
    line-height: 1.1;
    font-weight: 400;
    color: #a15a25;
}

.vref-role {
    font-size: 0.85rem;
    font-weight: 400;
    color: #a15a25;
    letter-spacing: 0.02em;
}

.vref-text-box {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 180px;
}

.vref-text {
    position: relative;
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.3s ease, transform 0.3s ease;
    color: #2c2c2c;
    line-height: 1.6;
    opacity: 0.96;
    transform: translateY(0);
    z-index: 1;
}

.vref-text.is-truncated::after {
    content: '...';
    position: absolute;
    right: 0;
    bottom: -3px;
    padding-left: 6px;
    background: linear-gradient(90deg, rgba(245, 234, 216, 0) 0%, rgba(245, 234, 216, 1) 36%);
    color: #a15a25;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: block;
}

.vref-text.expanded::after {
    display: none;
}

.vref-toggle[hidden] {
    display: none;
}

.vref-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(18, 18, 18, 0.52);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.vref-modal {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    max-height: 85vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vref-modal-card {
    position: relative;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: #f4efe7;
    border: 1px solid rgba(161, 90, 37, 0.2);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.vref-modal .vref-body {
    height: auto;
    min-height: auto;
    padding-top: 58px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.vref-modal .vref-text-box {
    flex: 0 0 auto;
    min-height: 0;
}

.vref-modal .vref-date {
    margin-top: 8px;
}

.vref-modal .vref-text {
    max-height: none;
    overflow: visible;
    position: relative;
    opacity: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.vref-modal .vref-text::after {
    display: none !important;
}

.vref-toggle {
    position: relative;
    z-index: 25;
    align-self: flex-start;
    background: transparent;
    border: none;
    padding: 0;
    color: #a15a25;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease, transform 0.2s ease;
}

.vref-toggle:hover {
    color: #7f3b1c;
}

.vref-toggle:active {
    transform: scale(0.98);
}

.vref-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    background: #fff2eb;
    color: #1e1e1e;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 100000;
}

.vref-modal .vref-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.vref-date {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 400;
    color: #a15a25;
}

.vref-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.vref-prev,
.vref-next {
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff2eb;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #1e1e1e;
}

@media (max-width: 1024px) {
    .vref-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 767px) {
    .vref-track {
        gap: 0;
    }

    .vref-card {
        flex-basis: 100%;
        width: 100%;
    }

    .vref-name {
        font-size: 1.8rem;
    }
}
