/* RT Location Slider Widget Styles */

.rt-location-slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
}

/* Slider Viewport */
.rt-location-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.rt-location-slider.is-dragging {
    cursor: grabbing;
}

/* Track */
.rt-location-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Slide */
.rt-location-slide {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .rt-location-slide {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 640px) {
    .rt-location-slide {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 10px;
    }
}

@media (max-width: 420px) {
    .rt-location-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Card */
.rt-location-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 150px Circle */
.rt-location-circle-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 16px;
    border-radius: 50%;
    outline: none;
}

.rt-location-circle {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    min-height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.rt-location-circle img {
    width: 150px !important;
    height: 150px !important;
    min-width: 150px !important;
    min-height: 150px !important;
    max-width: 150px !important;
    max-height: 150px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    transition: transform 0.35s ease;
}

.rt-location-circle-link:hover .rt-location-circle {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.rt-location-circle-link:hover .rt-location-circle img {
    transform: scale(1.08);
}

/* Title */
.rt-location-title-link {
    text-decoration: none;
    outline: none;
}

h4.rt-location-name {
    margin: 8px 0 4px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #681d22 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    line-height: 1.3 !important;
    transition: color 0.2s ease;
}

.rt-location-title-link:hover .rt-location-name {
    color: #8c262d;
}

/* Counts */
.rt-location-counts {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.4;
}

.rt-count-line {
    white-space: nowrap;
}

/* Dots Navigation (Underneath, No arrows) */
.rt-location-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 0;
    list-style: none;
}

.rt-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
    outline: none;
}

.rt-slider-dot:hover {
    background-color: #94a3b8;
}

.rt-slider-dot.is-active {
    background-color: #681d22;
    transform: scale(1.25);
}
