/* Stories Banner Styles */
.stories-banner {
    background: #58BCD4;
    background: linear-gradient(180deg, rgba(88, 188, 212, 1) 0%, rgba(88, 188, 212, 1) 48%, rgba(255, 255, 255, 1) 100%);
    height: 80vh;
    width: 100%;
    position: relative;
}

.stories-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 100%;
    background-image: url('../images/kostky.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.7;
    z-index: 1;
}

.stories-banner-image {
    position: absolute;
    top: 61%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background-image: url('../images/jumbotron/pribehy/uvodni_osu_lide.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
}

/* Story People Container */
.story-people-container {
    position: absolute;
  top: 21%;
  left: 0;
  width: 100%;
  height: 80%;
  z-index: 3;
  transform-origin: top left;
}

/* Responzivní škálování celého containeru */
/*@media (max-width: 1200px) {
    .story-people-container {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .story-people-container {
        transform: scale(0.6);
    }
}

@media (max-width: 480px) {
    .story-people-container {
        transform: scale(0.4);
    }
}*/

/* Story Person Wrapper - všichni na stejné pozici a velikosti */
.story-person-wrapper {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Klikání jen na samotnou osobu, ne na průhledné pozadí */
    pointer-events: none;
}

.story-person-wrapper:hover .story-person {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

/* Story Person - obrázek vyplní celý wrapper */
.story-person {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* Klikání jen na samotnou osobu */
    pointer-events: auto;
}

/* Hide default jumbotron when stories banner is active */
.stories-banner-active .default-jumbotron {
    display: none !important;
}
