/* ========== Global Widget Styles for No-Photo Version ========== */
.hsw-widget-nophoto {
    background: #ebebde;
    border-radius: 16px;
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ========== Heading for No-Photo Version ========== */
.hsw-heading-nophoto {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: #1e1e1e;
}

.hsw-heading-nophoto a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease-in-out;
}

/* ========== Content Wrapper (Two-Pane Layout) ========== */
.hsw-content-wrapper-nophoto {
    display: flex;
    gap: 20px;
}

/* ========== Left Pane: Hotel List ========== */
.hsw-hotel-list-pane {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hsw-hotel-item-nophoto {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hsw-hotel-item-nophoto:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.hsw-hotel-item-nophoto a {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Wrapper for hotel name and label */
.hsw-hotel-details-nophoto {
    flex-grow: 1;
}

.hsw-hotel-name-nophoto {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #333;
    margin-top: 0px !important;
    display: block;
}

.hsw-hotel-label-nophoto {
    font-size: 13px;
    letter-spacing: .02em;
    color: #666;
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
}

.hsw-hotel-rating-nophoto {
    font-size: 17px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #777764;
    padding: 10px 10px;
    border-radius: 8px;
    margin-left: 12px;
    flex-shrink: 0;
}

/* ========== Right Pane: CTA ========== */
.hsw-cta-pane-nophoto {
    flex: 1;
    background: #f4f4ef;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    /* Ensure items stack vertically */
    align-items: center;
    justify-content: center;
    /* Center content vertically */
    text-align: center;
}

.hsw-cta-pane-nophoto a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    /* Fill the pane */
}

.hsw-cta-inner-nophoto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.hsw-cta-pane-nophoto:hover .hsw-cta-inner-nophoto {
    transform: translateY(-4px) scale(1.02);
    background: #f6f6f1;
}

.hsw-cta-icon-wrapper-nophoto {
    margin-bottom: 8px;
    /* Space below icon */
}

.hsw-cta-icon-nophoto {
    opacity: .6;
    color: #777764;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.hsw-cta-pane-nophoto:hover .hsw-cta-icon-nophoto {
    transform: scale(1.1);
    color: #6a6a57;
}

.hsw-cta-line-nophoto {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    margin-bottom: 0px !important;
}

.hsw-cta-location-nophoto {
    font-weight: 700;
    color: #777764;
}

.hsw-cta-button-nophoto {
    font-size: 15px;
    font-weight: 600;
    background: #777764;
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    margin-top: 15px;
    display: inline-block;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.hsw-cta-pane-nophoto:hover .hsw-cta-button-nophoto {
    background: #6a6a57;
}

/* Special handling for two hotels to ensure vertical alignment */
.hsw-hotel-list-pane:has(> .hsw-hotel-item-nophoto:nth-child(2):last-child)>.hsw-hotel-item-nophoto {
    flex-grow: 1;
}

/* ========== Responsive Adjustments for No-Photo Version ========== */
@media(max-width: 768px) {
    .hsw-content-wrapper-nophoto {
        flex-direction: column;
    }

    .hsw-hotel-list-pane,
    .hsw-cta-pane-nophoto {
        flex: 1 1 100%;
        /* Full width on smaller screens */
    }

    .hsw-cta-pane-nophoto {
        min-height: 200px;
        /* Ensure CTA pane has some height */
    }
}

@media(max-width: 480px) {
    .hsw-widget-nophoto {
        padding: 16px;
    }

    .hsw-heading-nophoto {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .hsw-hotel-item-nophoto {
        padding: 12px;
    }

    .hsw-hotel-name-nophoto {
        font-size: 17px;
    }

    .hsw-hotel-label-nophoto {
        font-size: 12px;
    }

    .hsw-cta-pane-nophoto {
        padding: 16px;
    }

    .hsw-cta-line-nophoto {
        font-size: 14px;
    }

    .hsw-cta-button-nophoto {
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 999px;
    }
}
