.yotta-hero-wrapper-cd780ae9 {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 70vh;
    background: #111;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .yotta-hero-wrapper-cd780ae9 {
        height: 50vh;
    }
}

.yotta-hero-skeleton {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    font-family: sans-serif;
    font-size: 16px;
}

.yotta-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.yotta-slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.yotta-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none; /* Prevent interaction with hidden slides */
}

.yotta-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 5; /* Ensure active slide is on top */
}

.yotta-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.yotta-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.yotta-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
}

.yotta-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    z-index: 3;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

@media (max-width: 767px) {
    .yotta-slide-content {
        padding: 20px;
    }
}

.yotta-slide-cat {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    transition: all 0.3s ease;
}

.yotta-slide-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .yotta-slide-title {
        font-size: 22px;
    }
}

.yotta-slide-excerpt {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

@media (max-width: 767px) {
    .yotta-slide-excerpt {
        display: none;
    }
}

/* Navigation Controls */
.yotta-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: 1px solid transparent;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.yotta-arrow-prev { left: 20px; }
.yotta-arrow-next { right: 20px; }

.yotta-dots {
    position: absolute;
    bottom: 24px;
    display: flex;
    gap: 8px;
    z-index: 10;
    transition: all 0.3s ease;
}

.yotta-dots-left { left: 24px; }
.yotta-dots-center { left: 50%; transform: translateX(-50%); }
.yotta-dots-right { right: 24px; }

.yotta-dot {
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.yotta-dot.active {
    background: #fff;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
