/* ============================================
   Home Condotel List Widget
   Layout: Banner (left) + Swiper Slider (right)
   Card style: condotel-related design
   ============================================ */

.kanos-home-condotel-list {
    position: relative;
}

.k-hcl-container {
    display: flex;
    gap: 20px;
    align-items: stretch;
    background: #1eff3312;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.k-hcl-left-col {
    width: 28%;
    flex-shrink: 0;
    position: relative;
}

.k-hcl-right-col {
    width: calc(72% - 20px);
    position: relative;
}

.k-hcl-banner-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}


.k-hcl-banner-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

/* Swiper List */
.k-hcl-list-wrapper {
    padding: 22px 16px !important;
    overflow: visible;
}

/* Card Item */
.k-hcl-item-inner {
    background: #F8FAFB;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
    height: 340px;
    display: flex;
    flex-direction: column;
}

/* Thumbnail */
.k-hcl-thumbnail-wrapper {
    flex-shrink: 0;
}

.k-hcl-thumbnail-inner {
    position: relative;
    height: 0;
    width: 100%;
    padding-top: 48%;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.k-hcl-thumbnail-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: transform 0.5s ease;
}

/* Info Wrapper */
.k-hcl-info-wrapper {
    padding: 12px 20px 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-height: 0;
}

/* Name */
.k-hcl-name-wrapper {
    margin-bottom: 8px;
}

.k-hcl-name-wrapper h4 {
    font-size: 17px;
    line-height: 1.3;
    text-transform: capitalize;
    color: #166534;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price */
.k-hcl-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.k-hcl-price-inner {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
}

.k-hcl-price-from {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
}

.k-hcl-price-value {
    color: #166534;
}

/* Arrow Button */
.k-hcl-arrow-btn {
    width: 40px;
    height: 40px;
    background: #55A630;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.k-hcl-arrow-btn svg {
    width: 20px;
    height: 20px;
}

/* Badges */
.k-hcl-badge-size {
    position: absolute;
    bottom: 12px;
    left: 12px;
    backdrop-filter: blur(15px);
    background-color: #42424245;
    border-radius: 6px;
    padding: 4px 8px;
    border: 1px solid #ffffff1a;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.k-hcl-badge-size svg,
.k-hcl-badge-seaview svg,
.k-hcl-badge-building svg,
.k-hcl-badge-bedroom svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.k-hcl-badge-seaview {
    position: absolute;
    bottom: 12px;
    right: 12px;
    backdrop-filter: blur(15px);
    background-color: #42424245;
    border-radius: 6px;
    padding: 4px 8px;
    border: 1px solid #ffffff1a;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.k-hcl-badge-building {
    position: absolute;
    top: 12px;
    left: 12px;
    backdrop-filter: blur(15px);
    background-color: #42424245;
    border-radius: 6px;
    padding: 4px 8px;
    border: 1px solid #ffffff1a;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.k-hcl-badge-bedroom {
    position: absolute;
    top: 12px;
    right: 12px;
    backdrop-filter: blur(15px);
    background-color: #42424245;
    border-radius: 6px;
    padding: 4px 8px;
    border: 1px solid #ffffff1a;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

/* Navigation Buttons */
.k-hcl-button-next,
.k-hcl-button-prev {
    color: #fff;
    background: #55A630;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.k-hcl-button-next:hover,
.k-hcl-button-prev:hover {
    background: #55A630;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.k-hcl-button-next {
    right: -24px;
}

.k-hcl-button-prev {
    left: -24px;
}

.k-hcl-button-next:after,
.k-hcl-button-prev:after {
    font-family: swiper-icons;
    font-size: 18px;
    font-weight: bold;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.k-hcl-button-next:after {
    content: 'next';
}

.k-hcl-button-prev:after {
    content: 'prev';
}

/* View All Button */
.k-hcl-view-all-wrapper {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 99;
}

.k-hcl-view-all-btn {
    padding: 6px 6px 6px 20px;
    background: linear-gradient(135deg, #55A630 0%, #166534 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    line-height: 1;
}

.k-hcl-view-all-icon {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #166534;
    transition: transform 0.3s ease;
}

.k-hcl-view-all-icon svg {
    width: 18px;
    height: 18px;
}

.k-hcl-view-all-btn:hover .k-hcl-view-all-icon {
    transform: translateX(2px);
}

.k-hcl-view-all-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff !important;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
    .k-hcl-container {
        flex-direction: column;
    }

    .k-hcl-left-col,
    .k-hcl-right-col {
        width: 100%;
    }

    .k-hcl-banner-wrapper {
        padding-top: 56.25%;
    }

    .k-hcl-button-next {
        right: -12px;
    }

    .k-hcl-button-prev {
        left: -12px;
    }
}

@media (max-width: 768px) {

    .k-hcl-button-next,
    .k-hcl-button-prev {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }

    .k-hcl-button-next:after,
    .k-hcl-button-prev:after {
        font-size: 14px;
    }
}