/* Base Variables */
.hrs-widget-wrapper {
    --hrs-duration: 600ms;
    --hrs-stagger: 100ms;
    --hrs-easing: cubic-bezier(0.25, 1, 0.5, 1);
    --hrs-layout-dir: row;
    
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

.hrs-header {
    margin-bottom: 2rem;
}

.hrs-pre-title-text {
    font-size: 0.875rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.hrs-section-title {
    margin: 0;
    font-size: 1rem;
}

/* =========================================
   DESKTOP HOVER REVEAL LAYOUT
   ========================================= */
.hrs-layout.hrs-desktop-only {
    display: flex;
    flex-direction: var(--hrs-layout-dir);
    align-items: center; /* Vertically center the items inside the layout */
    justify-content: space-between;
    width: 100%;
}

.hrs-desktop-texts {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    gap: 1.5rem;
    width: 100%;
    /* Removed align-self: flex-start and align-items: center */
    /* Removed text-align: center, as this is controlled by the Elementor widget setting */
}

.hrs-desktop-text-item {
    cursor: pointer;
    line-height: 1.2;
    transition: color var(--hrs-duration) var(--hrs-easing);
    opacity: 0.5;
    position: relative;
    width: 100%;
}

.hrs-desktop-text-item.is-active {
    opacity: 1;
}

.hrs-desktop-text-link {
    font-size: 2.5rem;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    display: block;
}

.hrs-desktop-text-desc {
    font-size: 1rem;
    color: inherit;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--hrs-duration) var(--hrs-easing), opacity var(--hrs-duration) var(--hrs-easing), margin var(--hrs-duration) var(--hrs-easing), color var(--hrs-duration) var(--hrs-easing);
}

.hrs-desktop-text-item.is-active .hrs-desktop-text-desc {
    max-height: 200px;
    opacity: 1;
    margin: 1rem 0 0 0;
}

.hrs-desktop-images {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 500px;
    border-radius: inherit;
    overflow: hidden;
    max-width: 50%;
}

.hrs-desktop-image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
    border-radius: inherit;
    transition: all var(--hrs-duration) var(--hrs-easing);
}

.hrs-desktop-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--hrs-duration) var(--hrs-easing);
}

.hrs-desktop-image-item.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transition-delay: var(--hrs-stagger);
}

/* Animations for Desktop */
.hrs-anim-slide .hrs-desktop-image-item { transform: translateY(40px); }
.hrs-anim-slide .hrs-desktop-image-item.is-active { transform: translateY(0); }
.hrs-anim-scale .hrs-desktop-image-item { transform: scale(0.9); }
.hrs-anim-scale .hrs-desktop-image-item.is-active { transform: scale(1); }
.hrs-anim-mixed .hrs-desktop-image-item { transform: translateY(20px); }
.hrs-anim-mixed .hrs-desktop-image-item.is-active { transform: translateY(0); }
.hrs-anim-mixed .hrs-desktop-image-item img { transform: scale(1.1); }
.hrs-anim-mixed .hrs-desktop-image-item.is-active img { transform: scale(1); }


/* =========================================
   MOBILE CAROUSEL LAYOUT
   ========================================= */
.hrs-carousel-wrapper.hrs-mobile-only {
    display: none;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hrs-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.hrs-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0; /* No padding */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hrs-slide-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hrs-slide-title-link {
    text-decoration: none;
    color: inherit;
}

.hrs-slide-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.2;
}

.hrs-slide-desc {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.8;
}

.hrs-slide-image-wrapper {
    width: 100%;
    border-radius: inherit;
    overflow: hidden;
}

.hrs-slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.hrs-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
}

.hrs-carousel-nav {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: color 0.3s;
    /* No background circle */
}

.hrs-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hrs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s, transform 0.3s;
}


/* =========================================
   BREAKPOINT LOGIC
   ========================================= */

/* Default State (Desktop > Breakpoints): Mobile hidden, Desktop visible */
.hrs-desktop-only { display: flex; }
.hrs-mobile-only { display: none; }

/* Breakpoint 768px */
@media (max-width: 767px) {
    .elementor-widget-hover_reveal_slider_1ef8dca4.hrs-breakpoint-768 .hrs-desktop-only { display: none !important; }
    .elementor-widget-hover_reveal_slider_1ef8dca4.hrs-breakpoint-768 .hrs-mobile-only { display: block !important; }
}

/* Breakpoint 1025px */
@media (max-width: 1024px) {
    .elementor-widget-hover_reveal_slider_1ef8dca4.hrs-breakpoint-1025 .hrs-desktop-only { display: none !important; }
    .elementor-widget-hover_reveal_slider_1ef8dca4.hrs-breakpoint-1025 .hrs-mobile-only { display: block !important; }
}
