html:lang(ps-af) .t4-navbar,
html:lang(fa-ir) .t4-navbar {
  margin-left: unset !important;
  margin-right: auto !important;
}
#t4-sideshow .t4-section-inner {
	max-width: 100% !important;
	padding: 0 !important;
}

.slider {
    width: 100%;
    max-width: 100vw;
    height: 75vh;
    min-height: 550px;
    margin: auto;
    position: relative;
    overflow: hidden;
    background: transparent;
}
.list {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: max-content;
    transition: 1s ease-in-out;
}
.list .item {
    width: 100vw;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}
.slideshow-wrap {
    width: 100%;
}
.buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}
.buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.buttons button:hover {
    background-color: #198754;
}
.dots {
    position: absolute;
    bottom: 25px;
    color: #fff;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    transition: 1s;
    z-index: 10;
}
.dots li {
    list-style: none;
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.dots li.active {
    width: 35px;
    background-color: #198754;
}

@media screen and (max-width: 768px) { 
    .slider {
        height: 600px;
    }
    .buttons {
        display: none; /* Clean approach for mobile views */
    }
    .list .item .slide-content {
        text-align: center !important;
    }
}

html:lang(fa-ir) .scroll-slider-container {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #000;
}
html:lang(fa-ir) .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  opacity: 0; 
  visibility: hidden;
}
html:lang(fa-ir) .slide-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
html:lang(fa-ir) .slide-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%; 
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none; 
}
html:lang(fa-ir) .slide-content {
  position: absolute;
  bottom: 10%;
  left: 5%;
  max-width: 600px;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}
html:lang(fa-ir) .slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
html:lang(fa-ir) .slide-content p {
  font-size: 1.2rem;
  line-height: 1.5;
}

