/* =============================================
   WeTravel Service Card Widget — Frontend CSS
   ============================================= */

.wsc-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wsc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

/* ---- Image ---- */
.wsc-card-image-outer {
    position: relative;
    width: 100%;
}

.wsc-card-image-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.wsc-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.wsc-card:hover .wsc-card-image {
    transform: scale(1.04);
}

/* ---- Corner Icon ---- */
.wsc-icon-wrap {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: transparent !important;
    background: transparent !important;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}



.wsc-icon-wrap svg,
.wsc-icon-wrap img {
    width: 36px;
    height: 36px;
    display: block;
}

.wsc-icon-wrap svg {
    fill: #ffffff;
    color: #ffffff;
}

/* ---- Content ---- */
.wsc-card-content {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.wsc-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
    line-height: 1.3;
}

.wsc-card-subtitle {
    font-size: 0.9rem;
    color: #666666;
    margin: 0 0 14px;
    line-height: 1.5;
    flex: 1;
}

/* ---- Button ---- */
.wsc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: #e8354a;
    color: #ffffff !important;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
    white-space: nowrap;
}

.wsc-btn:hover {
    background-color: #c0192c;
    transform: translateX(2px);
    text-decoration: none;
    color: #ffffff !important;
}

.wsc-btn-arrow {
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.wsc-btn:hover .wsc-btn-arrow {
    transform: translateX(3px);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .wsc-card-image-wrap {
        height: 150px;
    }

    .wsc-card-title {
        font-size: 1.1rem;
    }

    .wsc-icon-wrap {
        width: 48px;
        height: 48px;
    }

    .wsc-icon-wrap svg,
    .wsc-icon-wrap img {
        width: 28px;
        height: 28px;
    }
}
