
:root {
    --c1: #15223f;
    --c2: #060f23;
    --c3: #060f232b;
    --c4: #cd0034;
    --c5: #e0e1e4;
    --c6: #e4e5e8;
    --w: #ffffff;
    --swiper-theme-color: #15223f !important;
}

body {
  transition: all 1s ease-in-out;
}

#frontendeditor {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 40px;
  width: 65px;
  background: transparent;
  display: block;
  z-index: 99999999999999;
  opacity: 0;
}

#frontendeditor:hover {
opacity: 1
}

.switch {
  position: absolute;
  display: inline-block;
  width: 60px;
  height: 34px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

#frontendeditor input[type="checkbox"] {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

#frontendeditor .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

#frontendeditor .slider.round {
  border-radius: 34px;
}

#frontendeditor .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #ffffff;
  -webkit-transition: .4s;
  transition: .4s;
}

#frontendeditor .slider.round:before {
  border-radius: 50%;
}

#frontendeditor input:checked + .slider {
  background-color: #75c11d;
}

#frontendeditor input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

#modal-buttons {
  position: fixed;
  bottom: 0;
  right: 10px;
  text-align: center;
  display: none;
}

#modal-close, #modal-save {
  display: inline-block;
  background: #ff0045;
  color: white ;
  cursor: pointer;
  padding: 5px 20px;
  margin: 20px 15px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 10px;
  border-radius: 30px;
  transition: 400ms;
  outline: none;
}

#modal-save {
  background: #76c11e;
  margin-left: 0;
  margin-right: 10px;
}

.text-shuffle {
  opacity: 0;
}

.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(-45deg, #ffffff, #15223f, #ffffff, #e6eaf1);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    filter: none;
    transition: filter 1s ease-in-out;
}

/* CSS noise efekt - jemná textúra */
.gradient-background {
    --noise-x: 0px;
    --noise-y: 0px;
    --noise-opacity: 0;
}

/* Noise aktívny stav s keyframes animáciou */
body.noise-active .gradient-background {
    --noise-opacity: 0.1;
}

.gradient-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at calc(20% + var(--noise-x) * 0.05), calc(80% + var(--noise-y) * 0.05), rgba(21, 34, 63, 0.08) 0%, transparent 70%),
        radial-gradient(circle at calc(80% - var(--noise-x) * 0.05), calc(20% - var(--noise-y) * 0.05), rgba(154, 162, 178, 0.06) 0%, transparent 70%),
        radial-gradient(circle at calc(40% + var(--noise-x) * 0.03), calc(40% + var(--noise-y) * 0.03), rgba(230, 234, 241, 0.1) 0%, transparent 80%),
        radial-gradient(circle at calc(60% - var(--noise-x) * 0.04), calc(70% - var(--noise-y) * 0.04), rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    background-size: 
        calc(80px + var(--noise-x) * 1), 
        calc(120px - var(--noise-y) * 0.5), 
        calc(100px + var(--noise-y) * 0.8),
        calc(70px + var(--noise-x) * 0.5);
    background-position: 
        calc(0px + var(--noise-x) * 0.5), 
        calc(50px + var(--noise-y) * 0.5), 
        calc(25px - var(--noise-x) * 0.3), 
        calc(75px + var(--noise-y) * 0.2);
    opacity: 0;
    /* mix-blend-mode: overlay; */
    /* animation: noiseMove 25s ease-in-out infinite; */
    transition: opacity 1s ease-in-out !important;
    will-change: opacity;
    pointer-events: none;
}

/* Animácia pre noise aktívny stav */
body.noise-active .gradient-background::after {
    opacity: 0.15 !important;
}

/* Debug - test či sa trieda správne aplikuje */
body.noise-active {
    border: 2px solid red !important;
}

body.noise-active .gradient-background {
    border: 2px solid blue !important;
}

/* Test element namiesto ::after */
.gradient-background .noise-test {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

body.noise-active .gradient-background .noise-test {
    opacity: 1;
}

@keyframes noiseMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(10px, -10px) rotate(1deg);
    }
    66% {
        transform: translate(-10px, 10px) rotate(-1deg);
    }
}

/* Blob základné štýly - morphing tvary */
.blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    position: absolute;
    animation-timing-function: ease-in-out;
    transition: all 0.3s ease-out;
}

/* Žltý/oranžový blob */
.yellow {
    background-color: #15223f32;
    top: 200px;
    left: 100px;
    height: 200px;
    width: 200px;
    animation: yellow 8s infinite ease;
}

/* Zelený blob */
.green {
    background-color: #cd00334a;
    top: 80px;
    right: -20px;
    height: 200px;
    width: 250px;
    animation: green 8s infinite ease;
}

/* Červený/ružový blob */
.red {
    background-color: #15223f4a;
    right: 0;
    top: 300px;
    height: 250px;
    width: 200px;
    animation: red 8s infinite linear;
}

.gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    /* Vypnutá druhá vrstva pre čistejší efekt */
    /* background: linear-gradient(45deg, 
        rgba(21, 34, 63, 0.05),
        rgba(6, 15, 35, 0.05),
        rgba(205, 0, 52, 0.03),
        rgba(224, 225, 228, 0.1),
        transparent 70%
    );
    background-size: 300% 300%;
    animation: gradientAnimation2 20s ease-in-out infinite reverse;
    mix-blend-mode: overlay; */
}

/* Keyframe animácie pre gradient pozadie */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Blob animácie s morphing efektmi */
@keyframes yellow {
    0% {
        top: 200px; 
        left: 100px; 
        transform: scale(1);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        top: 250px; 
        left: 125px; 
        transform: scale(1.1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        top: 300px; 
        left: 150px; 
        transform: scale(1.2);
        border-radius: 40% 60% 60% 40% / 40% 60% 30% 60%;
    }
    75% {
        top: 150px; 
        left: 175px; 
        transform: scale(1.15);
        border-radius: 70% 30% 40% 60% / 30% 70% 60% 40%;
    }
    100% {
        top: 200px; 
        left: 100px; 
        transform: scale(1);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes green {
    0% {
        top: 80px; 
        right: -20px; 
        transform: scale(1.2);
        border-radius: 50% 50% 20% 80% / 25% 75% 75% 25%;
    }
    33% {
        top: 200px; 
        right: 10px; 
        transform: scale(0.9);
        border-radius: 80% 20% 50% 50% / 60% 40% 60% 40%;
    }
    66% {
        top: 280px; 
        right: 50px; 
        transform: scale(1.1);
        border-radius: 40% 60% 80% 20% / 70% 30% 30% 70%;
    }
    100% {
        top: 80px; 
        right: -20px; 
        transform: scale(1.2);
        border-radius: 50% 50% 20% 80% / 25% 75% 75% 25%;
    }
}

@keyframes red {
    0% {
        top: 250px; 
        right: 0px; 
        transform: scale(1);
        border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    }
    20% {
        top: 200px; 
        right: 50px; 
        transform: scale(1.2);
        border-radius: 30% 70% 60% 40% / 40% 60% 70% 30%;
    }
    40% {
        top: 150px; 
        right: 100px; 
        transform: scale(1.4);
        border-radius: 70% 30% 30% 70% / 30% 70% 40% 60%;
    }
    60% {
        top: 180px; 
        right: 120px; 
        transform: scale(1.1);
        border-radius: 40% 60% 70% 30% / 60% 40% 30% 70%;
    }
    80% {
        top: 220px; 
        right: 80px; 
        transform: scale(0.9);
        border-radius: 80% 20% 40% 60% / 50% 50% 60% 40%;
    }
    100% {
        top: 250px; 
        right: 0px; 
        transform: scale(1);
        border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    }
}

.interactive-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(206, 212, 218, 0.3) 40%, 
        transparent 70%);
    filter: blur(25px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0;
}

.color-orb-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(222, 226, 230, 0.3) 0%, 
        rgba(206, 212, 218, 0.2) 50%, 
        transparent 100%);
    filter: blur(30px);
    animation: float1 15s ease-in-out infinite;
    mix-blend-mode: multiply;
    transition: all 0.6s ease-out;
}

.color-orb-2 {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(233, 236, 239, 0.25) 0%, 
        rgba(248, 249, 250, 0.15) 50%, 
        transparent 100%);
    filter: blur(25px);
    animation: float2 18s ease-in-out infinite reverse;
    mix-blend-mode: overlay;
    transition: all 0.7s ease-out;
}

.color-orb-3 {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(173, 181, 189, 0.2) 0%, 
        rgba(222, 226, 230, 0.1) 50%, 
        transparent 100%);
    filter: blur(35px);
    animation: float3 20s ease-in-out infinite;
    mix-blend-mode: normal;
    transition: all 0.9s ease-out;
}

/* Keyframe animácie pre floating orbs */
@keyframes float1 {
    0%, 100% {
        transform: translate(20%, 80%) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(80%, 20%) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(60%, 60%) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(10%, 40%) scale(1.05) rotate(270deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(70%, 10%) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(30%, 70%) scale(1.2) rotate(120deg);
    }
    66% {
        transform: translate(90%, 50%) scale(0.8) rotate(240deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(50%, 30%) scale(1) rotate(0deg);
    }
    20% {
        transform: translate(20%, 70%) scale(1.1) rotate(72deg);
    }
    40% {
        transform: translate(80%, 80%) scale(0.9) rotate(144deg);
    }
    60% {
        transform: translate(90%, 20%) scale(1.15) rotate(216deg);
    }
    80% {
        transform: translate(40%, 10%) scale(0.95) rotate(288deg);
    }
}

.buttonss {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 1000px;
}

.buttonss .bb {
    cursor: pointer;
    padding: 7px 20px;
    border-radius: 50px;
    margin: 5px;
    background: var(--c6);
    font-weight: 600;
    color: var(--c1);
    border: none;
    white-space: nowrap;
}

.buttonss .bb.active {
    background: var(--c1);
    color: #ffffff;
    border: 2px solid var(--c1);
}

/* Swiper container */
#stories-swiper {
    width: 100%;
    padding: 20px 0 60px 0;
  }
  
  /* Swiper slide */
  .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
  }
  
  .swiper-slide .pic {
    width: 100%;
    height: 370px;
    background: var(--c5);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: left;
}

 #stories .pic::before {
  content: '';
  display: block;
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 26px;
  height: 26px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyIDUxMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgY2xhc3M9IiI+PGc+PHBhdGggZD0iTTI1NiAuMDAxQzExNC44NDIuMDAxLjAwMSAxMTQuODQyLjAwMSAyNTZTMTE0Ljg0MiA1MTEuOTk5IDI1NiA1MTEuOTk5IDUxMS45OTkgMzk3LjE1OSA1MTEuOTk5IDI1NiAzOTcuMTU4LjAwMSAyNTYgLjAwMXptMCA0NzkuOTk4QzEzMi40ODcgNDc5Ljk5OSAzMi4wMDEgMzc5LjUxMyAzMi4wMDEgMjU2UzEzMi40ODcgMzIuMDAxIDI1NiAzMi4wMDEgNDc5Ljk5OSAxMzIuNDg2IDQ3OS45OTkgMjU2YzAgMTIzLjUxMy0xMDAuNDg2IDIyMy45OTktMjIzLjk5OSAyMjMuOTk5ek0zOTggMjU2YzAgOC44MzctNy4xNjQgMTYtMTYgMTZIMjcydjExMGMwIDguODM3LTcuMTY0IDE2LTE2IDE2cy0xNi03LjE2My0xNi0xNlYyNzJIMTMwYy04LjgzNiAwLTE2LTcuMTYzLTE2LTE2czcuMTY0LTE2IDE2LTE2aDExMFYxMzBjMC04LjgzNyA3LjE2NC0xNiAxNi0xNnMxNiA3LjE2MyAxNiAxNnYxMTBoMTEwYzguODM2IDAgMTYgNy4xNjQgMTYgMTZ6IiBmaWxsPSIjMWQyOTUxIiBvcGFjaXR5PSIxIiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIiBjbGFzcz0iIj48L3BhdGg+PC9nPjwvc3ZnPg==);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.9s ease;
}

#stories .pic:hover::before {
  content: '';
  display: block;
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 29px;
  height: 29px; 
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyIDUxMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgY2xhc3M9IiI+PGc+PHBhdGggZD0iTTI1NiAwQzExNC44MzYgMCAwIDExNC44MzYgMCAyNTZzMTE0LjgzNiAyNTYgMjU2IDI1NiAyNTYtMTE0LjgzNiAyNTYtMjU2UzM5Ny4xNjQgMCAyNTYgMHptMTEyIDI3Ny4zMzJoLTkwLjY2OFYzNjhjMCAxMS43NzctOS41NTUgMjEuMzMyLTIxLjMzMiAyMS4zMzJzLTIxLjMzMi05LjU1NS0yMS4zMzItMjEuMzMydi05MC42NjhIMTQ0Yy0xMS43NzcgMC0yMS4zMzItOS41NTUtMjEuMzMyLTIxLjMzMnM5LjU1NS0yMS4zMzIgMjEuMzMyLTIxLjMzMmg5MC42NjhWMTQ0YzAtMTEuNzc3IDkuNTU1LTIxLjMzMiAyMS4zMzItMjEuMzMyczIxLjMzMiA5LjU1NSAyMS4zMzIgMjEuMzMydjkwLjY2OEgzNjhjMTEuNzc3IDAgMjEuMzMyIDkuNTU1IDIxLjMzMiAyMS4zMzJzLTkuNTU1IDIxLjMzMi0yMS4zMzIgMjEuMzMyem0wIDAiIGZpbGw9IiMxZDI5NTEiIG9wYWNpdHk9IjEiIGRhdGEtb3JpZ2luYWw9IiMwMDAwMDAiIGNsYXNzPSIiPjwvcGF0aD48L2c+PC9zdmc+);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
  
  .swiper-slide .pic:hover {
    transform: translateY(-5px);
  }
  
  .swiper-slide .name {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    color: var(--c1);
    padding: 30px 35px 20px;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    text-align: left;
}

.swiper-slide .pic .ico {
    position: absolute;
    bottom: 18%;
    left: 50%;
    width: 60%;
    height: 60%;
    object-fit: contain;
    object-position: center;
    transform: translateX(-50%);
}
  
  .swiper-slide .description {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 8px;
    line-height: 1.4;
    font-weight: 400;
  }
  
  /* Navigačné tlačidlá */
  .swiper-button-next,
  .swiper-button-prev {
    background: var(--c1, #15223f);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    margin-top: -25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }
  
  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: var(--c3, #2f66b6);
    transform: scale(1.1);
  }
  
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 18px;
    color: white;
    font-weight: bold;
  }
  
  /* Pagination */
  .swiper-pagination {
    bottom: 10px !important;
  }
  
  .swiper-pagination-bullet {
    background: var(--c3, #2f66b6);
    opacity: 0.3;
    transition: all 0.3s ease;
  }
  
  .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
  }
  
  /* Filter tlačidlá */
  .buttonss .bb {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  
  .buttonss .bb.active {
    background-color: var(--c1, #15223f) !important;
    color: white !important;
  }
  
  .top-article-item:hover {
    transform: translateY(-2px);
    box-shadow: none !important;
}

.top-article-item {
  display: flex;
  gap: 20px;
  padding: 0 !important;
  background: var(--w) !important;
  border-radius: 12px !important;
  position: relative !important;
  margin: 0 20px 0 0 !important;
}

.article-excerpt {
  display: none !important;
}

.top-article-item .article-title {
  font-size: 16px !important;
  line-height: 1.3 !important;
}

.top-article-item .article-emotions-preview {
  display: none !important;
}

#page .share-wrapper .col-auto a {
  justify-content: center;
  align-items: center;
  display: flex;
  background: transparent;
} 

.toc-title {
  margin: 60px 0px 25px;
  font-size: 20px;
  text-align: left;
  font-weight: 700;
}

#page article blockquote {
  background: #1825400f !important;;
  padding: 20px 40px 20px !important;;
  border-left: 6px solid #ff0044;
  border-radius: 20px;
  width: 100% !important;;
  margin-left: 0 !important;;
  margin-bottom: 90px !important;;
  margin-top: 40px !important;;
  display: block !important;;
  font-style: italic !important;
}

#page article p {
  margin: 10px 0;
  font-size: 15px;
  line-height: 26px;
  text-align: left !important;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
}

#page h3.top-articles-title {
  margin: 60px 0px 25px;
  font-size: 20px;
  text-align: left;
}

  span.progress-percent {
    font-weight: 700;
}

  .progress-fill {
    width: 0;
    background: var(--c1);
    height: 5px;
    border-radius: 5px;
}

  /* Responzívne úpravy */
  @media (max-width: 768px) {
    .swiper-slide .pic {
      min-height: 200px;
    }
    
    .swiper-slide .name {
      font-size: 14px;
      padding: 20px 15px 15px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
      width: 40px !important;
      height: 40px !important;
      margin-top: -20px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
      font-size: 14px;
    }
  }

/* Custom 2D Carousel - vlastný carousel s polkruhovým oblúkom */
#stories {
  overflow: visible;
}

#custom-carousel {
  width: 100%;
  padding: 40px 0 60px 0;
  position: relative;
}

.carousel-container {
  display: flex;
  width: 100%;
  height: auto;
  cursor: grab;
  user-select: none;
  overflow: visible;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  align-items: center;
}

.carousel-container:active {
  cursor: grabbing;
}

.carousel-slide {
  width: 360px;
  height: auto;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.carousel-slide .pic {
  width: 100%;
  height: 440px;
  background: var(--c6);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-align: left;
  padding: 30px;
  padding-bottom: 200px;
  transform-style: preserve-3d;
  will-change: transform;
}

/* 3D nahýnanie kariet - plynulé transitions */
.carousel-slide .pic {
  transition: transform 0.1s ease-out, box-shadow 0.3s ease;
}

.carousel-slide .pic:hover {
  box-shadow: 0 20px 40px rgba(21, 34, 63, 0.15);
}

.carousel-slide .name {
    position: relative;
    color: var(--c1);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    z-index: 2;
}

.carousel-slide .description {
  position: relative;
  color: var(--c1);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  z-index: 2;
  margin-top: 10px;
  opacity: 0.5;
}

.carousel-slide .ico {
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 180px;
    height: 180px;
    z-index: 2;
    transform: translateX(-50%);
}

.carousel-slide .ico img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: all 0.3s ease;
}



/* Navigácia - decentné šípky pod carousel */
.carousel-button-next,
.carousel-button-prev {
  width: 40px;
  height: 40px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiIGNsYXNzPSIiPjxnPjxwYXRoIGQ9Im0yMi43MDcgMTEuMjkzLTctN2ExIDEgMCAwIDAtMS40MTQgMS40MTRMMTkuNTg2IDExSDJhMSAxIDAgMCAwIDAgMmgxNy41ODZsLTUuMjkzIDUuMjkzYTEgMSAwIDEgMCAxLjQxNCAxLjQxNGw3LTdhMSAxIDAgMCAwIDAtMS40MTR6IiBmaWxsPSIjMTUyMjNmIiBvcGFjaXR5PSIxIiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIiBjbGFzcz0iIj48L3BhdGg+PC9nPjwvc3ZnPg==);
  background-size: 25px;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid var(--c1);
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0px;
  color: var(--c1);
  font-weight: 600;
}

.carousel-button-prev {
  transform: rotate(180deg);
}

.carousel-button-next:hover,
.carousel-button-prev:hover {
  opacity: 1;
}

/* Wrapper pre navigáciu pod sliderom */
#stories-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

/* Responzívne úpravy */
@media (max-width: 1200px) {
  #stories {
    margin: 0 -60px;
  }
  
  #custom-carousel {
    padding: 35px 60px 70px 60px;
  }
  
  .carousel-container {
    height: 280px;
  }
  
  .carousel-slide {
    width: 320px;
  }
  
  .carousel-slide .pic {
    height: 250px;
  }
}

@media (max-width: 768px) {
  #stories {
    margin: 0 -40px;
  }
  
  #custom-carousel {
    padding: 30px 40px 60px 40px;
  }
  
  .carousel-container {
    height: 250px;
  }
  
  .carousel-slide {
    width: 280px;
  }
  
  .carousel-slide .pic {
    height: 220px;
    border-radius: 15px;
  }
  
  .carousel-slide .name {
    font-size: 16px;
    top: 20px;
    left: 20px;
    right: 20px;
  }
  
  .carousel-slide .description {
    top: 60px;
    left: 20px;
    right: 20px;
    font-size: 13px;
  }
  
  .carousel-slide .ico {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }
  
  .carousel-button-next,
  .carousel-button-prev {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}
/* Grid layout pre produkty */
#custom-carousel .carousel-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 10px auto;
}

#custom-carousel .carousel-slide {
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

#custom-carousel .carousel-slide.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.ball {
  width: 10px;
  height: 10px;
  background: var(--c1);
  border-radius: 50%;
  z-index: 9846846564564;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s linear;
  pointer-events: none;
}

.ball.hovered {
  width: 40px;
  height: 40px;
  background: rgba(21, 34, 63, 0.3);
  transform: translate(-50%, -50%);
}

.ball.hovered::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: 50%;
  border: 2px solid rgba(21, 34, 63, 0.3);
  animation: pulse .5s linear forwards;
}

@keyframes pulse {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 120px;
    height: 120px;
    opacity: 0;
  }
}

/* Skryť navigáciu */
#stories-navigation { 
  display: none; 
}

/* Responzívne úpravy */
@media (max-width: 1024px) {
  #custom-carousel .carousel-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  #custom-carousel .carousel-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
 
 /* Referencie slider */
 .references-swiper { width: 100%; padding: 40px 0; overflow: visible; }
 .reference-bubble { 
   background: var(--w); 
   border-radius: 20px; 
   padding: 30px; 
   min-height: 200px;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   transition: transform 0.3s ease;
   position: relative;
   overflow: hidden;
 }
 .reference-quote { 
   font-size: 14px;
   font-weight: 500;
   line-height: 1.6; 
   color: var(--c1, #333); 
   margin-bottom: 20px;
   font-style: italic;
 }

 .reference-author strong { 
   font-size: 16px; 
   color: var(--c1, #333); 
 }
 .reference-company { 
   font-size: 14px; 
   color: var(--c1, #666); 
   opacity: 0.7;
 }

 .reference-bubble .namebox {
  display: flex  ;
      flex-direction: column;
      gap: 0px;
      margin-top: auto;
 }

 .reference-bubble .reference-author {
  display: flex;
  gap: 15px;
  margin-top: auto;
}
 
 .swiper-slide .reference-bubble::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 120px;
  background: linear-gradient(to right, var(--c1), var(--c4));
  opacity: 1;
  transition: all 0.6s;
  animation: none;
  transform: translate(-50%, -50%) rotate(25deg);
}

.reference-bubble.animate-border::before {
  animation: slideRotate 4s ease-in-out forwards;
}

.reference-bubble::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: var(--w);
  border-radius: 20px;
}

.reference-bubble .content {
  z-index: 2;
  position: relative;
}

.claims .pagination {
  margin: 30px 0 0 0;
  text-align: center;
}

 @media (max-width: 768px) {
   .reference-bubble { padding: 20px; min-height: 180px; }
   .reference-quote { font-size: 14px; }
   .reference-author strong { font-size: 14px; }
   .reference-company { font-size: 13px; }
 }

.loader {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100vh;
 z-index: 999988766556777;
 display: flex;
 flex-direction: row;
 justify-content: flex-start;
 align-items: stretch;
 background: transparent;
 pointer-events: none;
 opacity: 1;
 transition: opacity 0.5s ease;
 overflow: hidden;
}

.loader.hide {
 opacity: 0;
}

.loader.hidden {
 display: none;
}

 .loader .b,
 .loader .b2,
 .loader .b3 {
   position: absolute;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   border-radius: 50px;
   transform: translateX(-100%);
 }
 
 .loader .b {
   background: var(--c1);
   animation: slideRight 1.2s ease-out forwards;
   z-index: 3;
 }
 
 .loader .b2 {
   background: var(--c2);
   animation: slideRight 1.2s ease-out 0.15s forwards;
   z-index: 2;
 }
 
 .loader .b3 {
   background: var(--c4);
   animation: slideRight 1.2s ease-out 0.3s forwards;
   z-index: 1;
 }
 
 @keyframes slideRight {
   0% {
     transform: translateX(-100%);
   }
   100% {
     transform: translateX(100%);
   }
 }

 .claims {
  margin-top: 50px;
 }

 h2 small {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #15223f7d;
  display: block;
  margin: 10px auto;
  max-width: 550px;
}

.co {
  margin: 50px 0
}

.whitebg {
  background: rgba(255, 255, 255, 0.55)
}

.quo {
  position: sticky;
  top: 100px;
  text-align: left;
  max-width: 600px;
  margin: 10px auto;
  margin-top: -40px;
}

.quo .puc {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  margin-top: 50px;
}

.quo p {
  font-size: 16px;
  font-weight: 500;
  color: var(--c1);
  line-height: 1.3;
}

.quo p.bigger {
  font-size: 25px;
}

.quo .puc img {
  width: 65px;
  border-radius: 100px;
}

.quo .puc .name {
  font-weight: 700;
}

.quo .puc .position {
  font-weight: 500;
  color: var(--c1);
  opacity: .5;
}

.co .fea p {
  margin: 0;
  color: var(--c1);
}

.co .fea  {
  margin: 0;
  max-width: 90%;
  text-align: left;
  padding: 30px;
  color: var(--c1);
  width: unset;
  transition: all 0.6s ease-in-out;
  max-width: 600px;
  border-radius: 16px;
}

.co .fea.active {
  background: var(--c1);
  color: var(--w);
  width: unset;
}
.co .fea.active p {
  color: var(--w);
}


.co .fea:last-child {
  border-bottom: none;
}

/* Animované ikonky pre .fea elementy */
.fea-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  vertical-align: top;
  margin-top: 2px;
  position: relative;
  flex-shrink: 0;
}

.fea-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--c1);
  stroke: var(--c1);
  transition: all 0.3s ease;
}

/* Základná ikonka - kruh */
.fea-icon .icon-circle {
  opacity: 1;
  transform: scale(1);
  transition: all 0.4s ease;
  color: var(--c1) !important;
}

/* Koliesko animácia */
.fea-icon .icon-spinner {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
  color: var(--c1) !important;
}

/* Fajka */
.fea-icon .icon-check {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
  color: var(--c1) !important;
  z-index: 3;
}

/* Animácie pri active stave */
.fea.active .fea-icon .icon-circle,
.fea-swiper .swiper-slide-active .fea .fea-icon .icon-circle {
  opacity: 0;
  transform: scale(0.8);
}

.fea.active .fea-icon .icon-spinner,
.fea-swiper .swiper-slide-active .fea .fea-icon .icon-spinner {
  opacity: 1;
  transform: scale(1);
  animation: spin 1.5s linear;
  color: var(--w) !important;
}

.fea.active .fea-icon .icon-check,
.fea-swiper .swiper-slide-active .fea .fea-icon .icon-check {
  opacity: 1;
  transform: scale(1);
  animation: checkAppear 0.6s ease 1.2s forwards;
}

/* Keyframe animácie */
@keyframes spin {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes checkAppear {
  0% { 
    opacity: 0; 
    transform: scale(0.3) rotate(-180deg); 
  }
  50% { 
    opacity: 1;
    transform: scale(1.3) rotate(0deg); 
  }
  70% { 
    transform: scale(0.9) rotate(0deg); 
  }
  100% { 
    opacity: 1; 
    transform: scale(1) rotate(0deg); 
  }
}

/* Pri active stave zmena farby na bielu */
.fea.active .fea-icon svg,
.fea-swiper .swiper-slide-active .fea .fea-icon svg {
  fill: var(--w);
}

/* Flexbox pre lepšie zarovnanie - len v .co sekcii */
/* Swiper s plynulým točením */
.fea-swiper {
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.fea-swiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  transition: all 0.8s ease;
}

.fea-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  z-index: 10;
  margin-top: 20px !important;
}

/* Štýly pre .fea elementy v Swiper */
.fea-swiper .fea {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 20px;
  margin: 10px 0;
  border-radius: 10px;
  transition: all 0.6s ease-in-out;
  width: 100%;
}

.fea-swiper .fea.active,
.fea-swiper .swiper-slide-active .fea {
  background: var(--c1);
  color: var(--w);
}

.fea-swiper .fea.active p,
.fea-swiper .fea.active h3,
.fea-swiper .swiper-slide-active .fea p,
.fea-swiper .swiper-slide-active .fea h3 {
  color: var(--w);
}

.fea-swiper .fea .fea-content {
  flex: 1;
}

.boxflex {
  display: flex;
  max-width: 1100px;
  margin: 10px auto;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
}



@keyframes slideRotate {
  0% {
    height: 80px;
    transform: translate(-50%, -50%) rotate(25deg);
  }
  50% {
    height: 120px;
    transform: translate(-50%, -50%) rotate(205deg);
  }
  100% {
    height: 200px;
    transform: translate(-50%, -50%) rotate(25deg);
  }
}

.boxflex .text {
  width: 50%;
  align-items: start;
  display: flex;
}

.boxflex .text p {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  text-align: left;
  text-decoration: none !important;
}

.boxflex .text h3 {
  text-align: left;
  font-weight: 700;
  font-size: 18px;
}

.boxflex .rev, .boxflex .img {
  width: 25%;
}

.boxflex .rev {
  width: 25%;
  display: flex;
  align-items: end;
  background: var(--c6);
  text-align: left;
}

 .boxflex .rev p strong {
    display: block;
    font-size: 40px;
    line-height: 50px;
    letter-spacing: -2px;
    font-weight: 800;
  }
 
 /* Stack kariet animácia */
 #ref-heading-wrapper {
   position: sticky;
   top: 80px;
   z-index: 100;
   background: transparent;
   padding: 20px 0;
   margin-bottom: 20px;
   transition: all 0.3s ease;
 }

 #ref-heading-wrapper.unstick {
  margin-bottom: 50px;
 }
 
 #ref-spacer-top {
   display: none;
 }
 
 #ref {
   position: relative;
   min-height: 100vh;
 }
 
 #ref .item {
   position: sticky;
   top: 350px;
   margin-bottom: 30px;
   transform-origin: center top;
   z-index: 5;
 }
 
 #ref .item .boxflex {
   background: var(--w);
   border-radius: 20px;
   box-shadow: 0 4px 20px rgba(0,0,0,0.1);
   overflow: hidden;
   display: flex;
   transition: all 0.3s ease;
 }

 #ref .item {
  margin-top: 12px;   
  transform-origin: top center;
  will-change: transform, opacity;
}

.topslide h2 {
  max-width: 800px;
  margin: 20px auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  opacity: .5;
}

/* Štatistiky s animáciou */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 50px 0;
  padding: 40px 20px;
  margin-bottom: 0;
  background: transparent;
}

.top4 {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  text-align: center;
}

.top4-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.stat-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.stat-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(-45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(-45deg);
  }
  50% {
    transform: translateX(0%) translateY(0%) rotate(-45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(-45deg);
  }
}

.counter {
  font-size: 40px !important;
  font-weight: 800 !important;
  color: var(--c1) !important;
  margin: 0 !important;
  line-height: 1 !important;
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.counter.visible {
  opacity: 1;
}

.plus, .suffix {
  font-size: 40px !important;
  font-weight: 800 !important;
  color: var(--c1);
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.plus.visible, .suffix.visible {
  opacity: 1;
}

.top4-item p {
  color: var(--c1) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  text-align: center;
  line-height: 1.3;
}

.gra {
  width: 100%;
  max-width: 600px;
}

/* Animácia načítavania čísel */
@keyframes countUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

.counter.animate {
  animation: countUp 0.6s ease-out;
}

/* Responzívne úpravy pre štatistiky */
@media (max-width: 768px) {
  .stats-container {
    gap: 20px;
    padding: 30px 15px;
    margin: 30px 0;
  }
  
  .top4 {
    min-width: 150px;
    max-width: 180px;
  }
  
  .stat-circle {
    width: 100px;
    height: 100px;
  }
  
  .counter {
    font-size: 24px !important;
  }
  
  .plus, .suffix {
    font-size: 18px;
  }
  
  .top4-item p {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .stats-container {
    flex-direction: column;
    align-items: center;
  }
  
  .top4 {
    width: 100%;
    max-width: 200px;
  }
}

/* Banner Swiper Slider s fade efektom */

.banner-swiper {
  width: 100%;
  aspect-ratio: 16/10;
  min-height: 200px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin: 50px 0;

}

.banner-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.banner-swiper .swiper-slide-active {
  opacity: 1;
}

.banner-swiper .banner-link {
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 20px;
  overflow: hidden;
}

.banner-swiper .banner-link:hover {
  transform: scale(1.02);
}

/* Banner pagination štýly */
.banner-swiper .banner-pagination {
  bottom: 10px !important;
  text-align: right;
  right: 14px;
  left: unset !important;
}

.banner-swiper .banner-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.7;
  margin: 0 6px;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.banner-swiper .banner-pagination .swiper-pagination-bullet-active {
  background: var(--w);
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Responzívne úpravy pre banner slider */
@media (max-width: 768px) {
  .banner-swiper {
    height: 50vh;
    min-height: 300px;
    border-radius: 16px;
  }
  
  .banner-pagination {
    bottom: 15px !important;
  }
  
  .banner-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}

@media (max-width: 480px) {
  .banner-swiper {
    height: 40vh;
    min-height: 250px;
    border-radius: 12px;
  }
  
  .banner-pagination {
    bottom: 12px !important;
  }
  
  .banner-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* Timeline animácia pre sekciu .ako */
.ako {
  background: #ffffff;
  color: var(--c1);
  padding: 80px 0;
  transition: all 0.8s ease;
  position: relative;
  overflow: hidden;
}

.ako > * {
  position: relative;
  z-index: 1;
}

.ako.dark-mode {
  color: #ffffff;
  background: linear-gradient(-45deg, #066c4b, var(--c1), #14213f, #07021b);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}

.ako.dark-mode .popis h3 {
  color: var(--c1);
  opacity: 0.8;
  margin-bottom: 50px;
}

.ako.dark-mode .popis h3 {
  color: var(--c6);
}

.ako.dark-mode .main-btn {
  border: 2px solid var(--w);
  color: var(--w);
}

.ako.dark-mode .main-btn:hover {
  border: 2px solid var(--w);
  background: var(--w);
  color: var(--c1);
}

.ako h2 {
  text-align: center;
  color: inherit;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c1);
  transform: translateX(-50%);
  z-index: 1;
  transition: all 0.8s ease;
}

.ako.dark-mode .timeline-line {
  background: #ffffff;
}

.timeline-progress {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  background: var(--c4);
  transform: translateX(-50%);
  z-index: 2;
  height: 0%;
  transition: height 0.3s ease;
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  opacity: 0;
  transition: all 0.6s ease;
  width: 780px;
  z-index: 54588;
}

.timeline-step.active {
  opacity: 1;
}

.timeline-step:nth-child(odd) {
  flex-direction: row;
  text-align: right;
  transform: translateX(20px);
    z-index: 5456;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}

.step-number {
  position: relative;
  width: 60px;
  height: 60px;
  background: #ffffff;
  border: 4px solid var(--c1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--c1);
  z-index: 3;
  flex-shrink: 0;
  transition: all 0.6s ease;
  transform: scale(0.8);
}

.timeline-step.active .step-number {
  background: var(--c4);
  border-color: var(--c4);
  color: #ffffff;
  transform: scale(1);
  box-shadow: 0 0 20px rgba(205, 0, 52, 0.4);
}

.ako.dark-mode .step-number {
  background: var(--c1);
  border-color: #ffffff;
  color: #ffffff;
}

.ako.dark-mode .timeline-step.active .step-number {
  background: var(--c4);
  border-color: var(--c4);
  color: #ffffff;
}

.step-content {
  flex: 1;
  padding: 0 40px;
  max-width: 350px;
}

.timeline-step:nth-child(odd) .step-content {
  padding-right: 40px;
  padding-left: 0;
}

.timeline-step:nth-child(even) .step-content {
  padding-left: 40px;
  padding-right: 0;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: inherit;
  transition: all 0.6s ease;
}

.timeline-step.active .step-content h3 {
  color: var(--c1);
}

.ako.dark-mode .timeline-step.active .step-content h3 {
  color: #ffffff;
}

#hom {
  text-align: left;
  background: transparent;
}

#hom .top-article-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: transparent !important;
  position: relative;
}

#hom .article-title a:hover {
  color: var(--c1);
}

#hom .top-articles-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 25px !important;
  color: var(--c1) !important;
  text-align: left !important;
}

/* Responzívne úpravy */
@media (max-width: 768px) {
  .ako {
    padding: 60px 0;
  }
  
  .ako h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .timeline-container {
    padding: 20px 0;
  }
  
  .timeline-line,
  .timeline-progress {
    left: 30px;
    transform: none;
  }
  
  .timeline-step {
    flex-direction: row !important;
    text-align: left !important;
    margin-bottom: 60px;
    padding-left: 80px;
  }
  
  .step-number {
    position: absolute;
    left: 0;
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
  
  .step-content {
    padding: 0 !important;
    max-width: none;
  }
  
  .step-content h3 {
    font-size: 16px;
  }
}

@media (min-width: 2050px) {
  .topslide {
    position: relative;
    margin-top: 60px;
  }
  main section {
    min-height: 80vh;
  }
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 900141042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 900141043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 900141045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
  overflow: hidden;
  max-width: 100%;
  max-height: 100% }

.mfp-auto-cursor .mfp-content {
  cursor: auto;
    color: white;
    width: 900px;
    margin: 20px auto;
    max-width: 90%;

   }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 900141044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 900141046;
  -webkit-box-shadow: none;
  box-shadow: none; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #fff; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-arrow:before,
  .mfp-arrow:after,
  .mfp-arrow .mfp-b,
  .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after,
  .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before,
  .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after,
  .mfp-arrow-left .mfp-a {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before,
  .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after,
  .mfp-arrow-right .mfp-a {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before,
  .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 1475px;
    border-radius: 6px;
}
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

    .mfp-iframe-scaler {
      height: 0;
      transition: 600ms;
      width: 100%;
  overflow: hidden;
    }
.mfp-ready .mfp-iframe-scaler {
  height: 88vh;
 }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

.mfp-content .fotorama {
  display: none;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

.mfp-ie7 .mfp-img {
  padding: 0; }

.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }

.mfp-ie7 .mfp-container {
  padding: 0; }

.mfp-ie7 .mfp-content {
  padding-top: 44px; }

.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }
