.volunteer-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-050);
    cursor: pointer;

    &:first-child {
        padding-top: 0;
    }
}

.volunteer-card-main {
    display: flex;
    gap: 15px;
}

.volunteer-card-review {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--gray-000);
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.volunteer-card-review-name {
    font-weight: 600;
    color: var(--primary-color);
}

.volunteer-card-review-divider {
    font-weight: 600;
    color: var(--gray-300);
}

.volunteer-card-review-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: var(--gray-500);
}

.volunteer-card-thumb {
    flex-shrink: 0;
    width: 130px;
    height: 170px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;

    img {
        width: auto;
        min-width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.volunteer-card-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: #2d2d2d;
    color: var(--white-color);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1px;
    line-height: 1;
    white-space: nowrap;
    z-index: 1;

    /* 1: 모집 예정 */
    &.status-1 {
        background: var(--primary-color);
        color: var(--white-color);
    }

    /* 3: 모집 마감 */
    &.status-3 {
        background: #2d2d2d;
        color: var(--white-color);
    }

    /* 4: 활동 종료 */
    &.status-4 {
        background: #2d2d2d;
        color: var(--white-color);
    }
}

.volunteer-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.volunteer-card-info-top,
.volunteer-card-info-bottom {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.volunteer-card-taxonomy-group {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
}

.volunteer-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.volunteer-card-location {
    display: flex;
    gap: 3px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
}

.volunteer-card-location-org {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 131px;
}

/* 돌고 오리지널 태그 — 상세 .dolgo-tag-original 과 동일한 그라데이션 보더, 크기만 축소 */
.volunteer-card-original {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    align-self: flex-start;
    color: transparent;
    background: var(--white-color) linear-gradient(99.2deg, var(--primary-color) 0%, #1acedf 99%);
    -webkit-background-clip: text;
    background-clip: text;

    &::before {
        content: '';
        position: absolute;
        inset: -1px;
        padding: 1px;
        border-radius: inherit;
        background: linear-gradient(99.2deg, var(--primary-color) 0%, #1acedf 99%);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }
}

.volunteer-card-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-800);
}

.volunteer-card-schedule {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-800);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    span {
        white-space: nowrap;
    }
}
