.no_scrollbar {
    overflow-x: hidden;
}
.bannerMobile {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Make both slider and card same height */
.slider-container,
.card-container {
    height: 28.9375rem;
    width: 100%;
}

.sliderSetion {
    /* height: 25rem !important; */
}

/* ////////// SLIDER STYLES ////////// */
.carousel {
    position: relative;
    height: 100%;
    border-radius: 0.9375rem;
    /* 15px */
    overflow: hidden;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.2);
    /* 10px 30px */
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hide default indicators */
.carousel-indicators {
    display: none;
}

/* Custom Pagination Overlay */
.custom-pagination-overlay {
    position: absolute;
    bottom: 1.875rem;
    /* 30px */
    right: 1.875rem;
    /* 30px */
    z-index: 10;
    display: flex;
    gap: 0.5rem;
    /* 8px */
    align-items: center;
}

.pagination-bullet {
    height: 0.25rem;
    /* 4px */
    border-radius: 0.125rem;
    /* 2px */
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
}

.pagination-bullet:nth-child(1) {
    width: 1.875rem;
    /* 30px */
}

.pagination-bullet:nth-child(2) {
    width: 1.5625rem;
    /* 25px */
}

.pagination-bullet:nth-child(3) {
    width: 1.25rem;
    /* 20px */
}

.pagination-bullet:nth-child(4) {
    width: 0.9375rem;
    /* 15px */
}

.pagination-bullet:nth-child(5) {
    width: 0.625rem;
    /* 10px */
}

.pagination-bullet.active {
    background: #FFD700;
    box-shadow: 0 0 0.625rem rgba(255, 215, 0, 0.6);
    /* 10px */
}

.pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Hide carousel controls */
.carousel-control-prev,
.carousel-control-next {
    display: none;
}

/* ////////// CARD STYLES ////////// */
.sunset-card {
    width: 100%;
    height: 100%;
    border-radius: 0.9375rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.2);
}

.aspect-4-3 {
    aspect-ratio: 4 / 2;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sunset-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.9375rem 2.5rem rgba(0, 0, 0, 0.3);
}

.card-background {
    width: 100%;
    height: 100%;
    position: relative;
    inset: 0;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.875rem;
    background: linear-gradient(to top, rgb(0 0 0 / 90%), rgb(0 0 0 / 60%), #0000);
    transition: opacity 0.5s ease;
    opacity: 1;
}

.sunset-card:hover .card-overlay {
    opacity: 1;
}

.card-title-line {
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.sunset-card:hover .card-title-line {
    color: yellow;
}

.card-main-title {
    color: #fff;
    font-size: 1.375rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 0;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.sunset-card:hover .card-main-title {
    font-size: 1.25rem;
    color: yellow;
}

.card-description {
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.8;
    opacity: 0;
    max-height: 0;
    /* برای انیمیشن */
    overflow: hidden;
    transition: opacity 0.45s ease, max-height 0.45s ease;
    margin-top: 0;
    text-align: justify;
    display: -webkit-box;
    /* برای clamp */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    /* محدود به 4 خط در حالت عادی */
    /* توجه: وقتی display:block بشه، clamp اعمال نمیشه */
}

/* وقتی موس روی کارت است — متن کامل و قابل دیدن با انیمیشن */
.sunset-card:hover .card-description {
    opacity: 1;
    max-height: 20rem;
    /* مقداری بزرگ‌تر از مقدار واقعی متن؛ تنظیم کن روی نیازت */
    margin-top: 0.9375rem;
    display: block;
    /* غیرفعال کردن -webkit-line-clamp با تغییر display */
    -webkit-line-clamp: unset;
}

@media (max-width: 767px) {
    .sunset-card:hover .card-description {
        max-height: 14rem;
    }
}

/* ////////// RESPONSIVE DESIGN ////////// */

/* Large screens - maintain 350px height */
@media (min-width: 992px) {

    .slider-container .card-container {
        height: 20.1875rem;
        /* 435px */
    }
}

/* Medium screens (tablets) */
@media (max-width: 991px) {

    .slider-container,
    .card-container {
        height: 25rem;
        /* 400px */
    }

    .card-main-title {
        font-size: 1.25rem;
        /* 20px */
    }

    .sunset-card:hover .card-main-title {
        font-size: 1.125rem;
        /* 18px */
    }
}

/* Small screens (mobile) */
@media (max-width: 767px) {
    .headerBanner {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .slider-container,
    .card-container {
        height: 21.875rem;
        /* 350px */
        margin-bottom: 1.25rem;
        /* 20px */
    }

    .custom-pagination-overlay {
        bottom: 0.9375rem;
        /* 15px */
        right: 0.9375rem;
        /* 15px */
        gap: 0.375rem;
        /* 6px */
    }

    .pagination-bullet:nth-child(1) {
        width: 1.5625rem;
        /* 25px */
    }

    .pagination-bullet:nth-child(2) {
        width: 1.25rem;
        /* 20px */
    }

    .pagination-bullet:nth-child(3) {
        width: 0.9375rem;
        /* 15px */
    }

    .pagination-bullet:nth-child(4) {
        width: 0.75rem;
        /* 12px */
    }

    .pagination-bullet:nth-child(5) {
        width: 0.5rem;
        /* 8px */
    }

    .card-overlay {
        padding: 1.25rem;
        /* 20px */
    }

    .card-title-line {
        font-size: 0.75rem;
        /* 12px */
    }

    .card-main-title {
        font-size: 1rem;
        /* 16px */
    }

    .sunset-card:hover .card-main-title {
        font-size: 0.9375rem;
        /* 15px */
    }

    .card-description {
        font-size: 0.75rem;
        /* 12px */
    }

    .slider-card {
        height: auto;
    }

    .sliderSun {
        height: fit-content !important;
    }

}

.truncate-4-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
}

/* Extra small screens */
@media (max-width: 575px) {

    .slider-container,
    .card-container {
        height: 18.75rem;
        /* 300px */
    }

    .carousel,
    .sunset-card {
        border-radius: 0.625rem;
        /* 10px */
    }
}

.bg-black {
    border-radius: 0.9375rem !important;
    /* 15px */
    padding: 1.5rem;
    margin-top: 3rem !important;
}

.bg-black .cards {
    padding: 1.25rem;
    /* 20px */
}

.devider {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-items: center;
    font-weight: 600;
}
.devider img{
    width: 32px;
    height: 32px;
}



@media (max-width: 992px) {
    .devider {
        margin-top: 10px !important;
    }
}

.deviderSpecial {
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
}

.modiranRow {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: scroll;
}

@media (max-width: 992px) {
    .modiranRow {
        padding-bottom: 5px;
    }

    .modiranCol {
        max-width: 200px;
    }
}


.test {
    position: relative;
    width: 25rem;
    /* 400px */
    height: 25rem;
    /* 400px */
}

.devider span {
    margin-right: 0.3125rem;
    font-size: 20px;
}

.devider .line {
    flex-grow: 1;
    border-style: solid;
    border-width: 0.0625rem;
    /* 1px */
    border-color: rgba(0, 0, 0, 0.363);
    margin-right: 0.625rem;
    /* 10px */
}

.hotNewsList {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hotNewsList .item {
    display: flex;
    background-color: #9696963a;
    padding: 0.625rem;
    border-radius: 0.625rem;
    border-width: 0.125rem;
    border-right: solid;
    border-color: gray;
    opacity: 50%;
    justify-content: space-between;
    margin-bottom: 0.4375rem;
    gap: 0.9rem;
    font-size: 0.8rem;
    line-height: 2rem;
    font-weight: 700;
}

@media (max-width: 992px) {
    .hotNewsList {
        height: 18rem;
        overflow-y: scroll;
    }
}

.hotNewsList .item:hover {
    border-color: yellow;
    opacity: 100%;
}

.hotNewsList .item .iconSection {
    display: flex;
    gap: 0.3125rem;
    /* 5px */
    align-items: center;
    justify-items: center;
}

.iconSection span {
    white-space: nowrap;
    font-size: 0.875rem;
    /* 14px */
}

.modiralCard {
    display: flex;
    height: 100%;
}

/* //// MediaGallery ///  */
.gallery-container {
    --gallery-height: 42.5rem;
    /* 680px */

}

@media (max-width: 992px) {
    .gallery-container {
        height: max-content !important;
    }
}

body {
    background: #f5f5f5;
    direction: rtl;
    text-align: right;
}

.gallery-container {
    width: 100%;
    height: var(--gallery-height);
    margin: 0 auto;
}

.gallery-row {
    height: 100%;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ستون راست - ویدیوها */
.col-12.col-lg-4 {
    height: 100%;
    overflow: hidden;
}

.videos-column-parent {
    background-color: rgba(128, 128, 128, 0.281);
    padding: 0.625rem;
    /* 10px */
    border-radius: 0.625rem;
    /* 10px */

}

.videos-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
    /* 15px */
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 0.3125rem;
    /* 5px */
}

.text-yellow {
    color: #FEDE00 !important;
}

.video-card {
    position: relative;
    border-radius: 0.9375rem;
    /* 15px */
    overflow: hidden;
    flex: 1 0 auto;
    height: 11.875rem;
    /* 190px */
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.2);
    /* 5px 15px */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-0.3125rem);
    /* -5px */
    box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.3);
    /* 8px 25px */
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.25rem;
    /* 20px */
}

.play-button {
    color: white;
    width: 5rem;
    /* 80px */
    height: 5rem;
    /* 80px */
    padding: 0.9375rem;
    /* 15px */
    background: rgba(0, 0, 0, 0.233);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    /* background: #fff; */
    /* transform: scale(1.1); */
}

.play-icon {
    width: 0;
    height: 0;
    border-right: 1.25rem solid #333;
    /* 20px */
    border-top: 0.75rem solid transparent;
    /* 12px */
    border-bottom: 0.75rem solid transparent;
    /* 12px */
    margin-right: 0.3125rem;
    /* 5px */
}

.video-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.75rem 0.9375rem;
    /* 12px 15px */
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
    text-align: center;
}

.badge-indicator {
    position: absolute;
    top: 0.9375rem;
    /* 15px */
    left: 0.9375rem;
    /* 15px */
    background: #FF3B30;
    color: #fff;
    padding: 0.3125rem 0.9375rem;
    /* 5px 15px */
    border-radius: 1.25rem;
    /* 20px */
    font-size: 0.75rem;
    /* 12px */
    font-weight: bold;
    z-index: 10;
}

.yellow-badge {
    position: absolute;
    top: 0.9375rem;
    /* 15px */
    right: 0.9375rem;
    /* 15px */
    background: #FFD700;
    color: #333;
    padding: 0.5rem 0.9375rem;
    /* 8px 15px */
    border-radius: 0.3125rem;
    /* 5px */
    font-size: 0.8125rem;
    /* 13px */
    font-weight: bold;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.2);
    /* 2px 5px */
    z-index: 10;
}

/* ستون چپ - تصاویر */
.col-12.col-lg-8 {
    height: 100%;
    overflow: hidden;
}

.images-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
    /* 15px */
}

.main-display-wrapper {
    height: 70%;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    /* 10px */
}

.large-image-container {
    position: relative;
    border-radius: 0.9375rem;
    /* 15px */
    overflow: hidden;
    flex: 1;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.2);
    /* 5px 15px */
}

.large-image-container img,
.large-image-container video,
.large-image-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-caption {
    background: #fff;
    padding: 0.9375rem 1.25rem;
    /* 15px 20px */
    border-radius: 0.625rem;
    /* 10px */
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
    /* 2px 10px */
    font-size: 1rem;
    /* 16px */
    font-weight: 600;
    color: #333;
    text-align: center;
    display: none;
}

.video-caption.active {
    display: block;
}

.small-images-row {
    display: flex;
    gap: 0.9375rem;
    height: calc(30% - 0.9375rem);
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 0.3125rem;
}

.small-image-card {
    min-width: 9.375rem;
    border-radius: 0.625rem;
    overflow: hidden;
    flex-shrink: 0;
    height: 100%;
    box-shadow: 0 0.1875rem 0.625rem rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.small-image-card:hover {
    transform: scale(1.05);
}

.small-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* واکنش‌گرا */
@media (max-width: 991px) {
    .gallery-container {
        --gallery-height: 37.5rem;
        /* 600px */
    }

    .video-card {
        height: 12.5rem;
        /* 200px */
    }

    .small-image-card {
        max-width: 8rem;
        max-height: 8rem;
    }
}

@media (max-width: 576px) {
    .gallery-container {
        --gallery-height: 31.25rem;
        /* 500px */
    }

    .video-card {
        height: 11.25rem;
        /* 180px */
    }

    .small-images-row {
        height: fit-content;
    }

    .small-image-card {
        max-width: 9rem;
        max-height: 9rem;
    }
}

/* //// 3box Row ////  */

.box {
    border-radius: 0.75rem;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: auto;
    /* 300px */
}


.lastboxes {
    height: 20.375rem !important;
    background-color: transparent;
    box-shadow: none;
    /* height: fit-content !important; */
}

@media (max-width: 768px) {
    .lastboxes {
        height: 20rem !important;
    }
}

@media (max-width: 700px) {
    .lastboxes {
        height: 40rem !important;
    }
}

@media (max-width: 610px) {
    .lastboxes {
        height: 35rem !important;
    }

    .hideOnMobile {
        display: none !important;
    }
}

.box img {
    width: 100%;
    height: 100%;
    /* max-height: 12.5rem; */
    /* 200px */
    object-fit: cover;
    border-radius: 0.5rem;
}

.box4 .box {
    background-color: black;
    color: yellow;
}

.box4 .title1,
.title2 {
    text-align: right;
}

.box4 .title1,
.title3 {
    text-align: right;
}

.box4 .title2,
.title3,
.disc {
    color: white;
}

.box4 .disc {
    overflow-y: auto;
    font-size: small;
    text-align: justify;
}

.box3 {
    overflow-y: auto;
    height: 18.75rem;
}

.rowStory {
    gap: 1rem;
}

.footer {
    background-color: black;
    margin-top: 0.625rem;
    /* 10px */
    color: white;
    padding-top: 3rem;
    padding-bottom: 1rem;
    margin-top: 3rem;
    position: relative;
}



.footer .image img {
    width: 6.25rem;
    /* 100px */
    height: 3.125rem;
    /* 50px */
    object-fit: cover;
    display: block;
}


.floatingBars {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    border-radius: 0.3125rem;
    padding: 0.5rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 3px;
}

@media (max-width: 968px) {
    .floatingBars {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        position: static;
        transform: none;
        width: 100%;
    }

    .floatingBars a {
        width: 100%;
    }

    .floatingBarRow {
        width: 100%;
        justify-content: flex-start;
    }

    .floatingBarTitle {
        font-size: 0.7rem !important;
    }


    .floatingBars div {
        justify-content: center !important;
    }
}


.floatingBars .floatingBarRow {
    background-color: #F0F1F1;
    color: #4C4C4C;
    padding: 0.3125rem;
    border-radius: 0.625rem;
    display: flex;
    gap: 0.1875rem;
}


.footer .floatingBars img {
    width: 3.5rem;
    height: auto;
    /* object-fit: cover; */
    display: block;
}

.floatingBarRow {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.floatingBarRow div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.6875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-items: center;
    flex-grow: 1;
    font-size: 13px;
}

.iconsList {
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 2rem;
}

.iconsList a {
    color: white;
}

.iconsList i {
    font-size: 2rem;
    color: white;
}

.linkIcon {
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 0.3125rem;
    /* 5px */
}

.iconsList .icon {
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 0.3125rem;
    /* 5px */
    color: orange;
}

.cards {
    color: white;
    border-radius: 0.3125rem;
    /* 5px */
    padding: 0.1875rem;
    /* 3px */
    margin-top: 0.625rem;
    /* 10px */
    padding-bottom: 0.9375rem;
    /* 15px */
}

.cards .devider {
    padding-left: 0.125rem;
    /* 2px */
}

.cards .line {
    background-color: white;
}


/* //// cards /// */
.card {
    background-color: #2a2a2a;
    border: none;
    border-radius: 0.9375rem;
    /* 15px */
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    padding: 0.9375rem;
    /* 15px */
}

.card:hover {
    transform: translateY(-0.625rem);
    /* -10px */
}

.card-img-top {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 0.625rem;
    /* 10px */
    margin-bottom: 0.9375rem;
    /* 15px */
}

.card-body {
    padding: 0;
    text-align: center;
    flex-grow: 0;
}

.card-title {
    color: #fff;
    font-size: 0.8rem;
    /* 18px */
    font-weight: bold;
    margin-bottom: 0.625rem;
    /* 10px */
}

.card-text {
    color: #aaa;
    font-size: 0.8rem;
    /* 14px */
}

.final {
    margin-top: 0.5rem;
    border-radius: 0.625rem;
    background-color: #E5E5E5;
    display: flex;
    gap: 1rem;
}


.threeBoxCard {
    height: 12.5rem;
    /* 200px */
    /* height: 100%; */
    border-radius: 0.625rem;
    /* 10px */
    overflow: hidden;
}

.threeBoxCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lastboxesLink {
    width: 100%;
}

.baztabBox {
    padding: 1rem;
}

.box .flex-fill .baztabBox {
    height: auto !important;
}

@media (max-width: 968px) {
    .baztabBox {
        /* height: fit-content !important; */
        height: auto !important
    }
}






/* ---------- Global smooth scrolling ---------- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Enable touch momentum on iOS ---------- */
* {
    -webkit-overflow-scrolling: touch;
}

/* ---------- WEBKIT (Chrome, Edge, Safari) ---------- */
/* Apply to all scrollable elements — اگر می‌خواهی محدودش کنی، به جای "*" از selector موردنظرت استفاده کن */
*::-webkit-scrollbar {
    width: 8px;
    /* ضخامت اسکرول عمودی */
    height: 8px;
    /* ضخامت اسکرول افقی */
    background: transparent;
}

/* Track (پس‌زمینه) */
*::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

/* Thumb (دکمه قابل‌کشیدن) */
*::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.35);
    /* رنگ دلخواه */
    border-radius: 10px;
    min-height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.0);
    /* برای ایجاد فاصله ظریف */
    transition: background-color 0.2s ease, transform 0.15s ease;
}

/* Thumb hover */
*::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scaleY(1.02);
}

/* حذف دکمه‌های فلش (در مرورگرهایی که نمایش می‌دهند) */
*::-webkit-scrollbar-button {
    display: none;
    height: 0;
    width: 0;
}

/* گوشه‌های جایی که track و corner تلاقی می‌کنند */
*::-webkit-scrollbar-corner {
    background: transparent;
}

/* ---------- FIREFOX ---------- */
/* Firefox از این دو پراپرتی پشتیبانی می‌کند */
* {
    scrollbar-width: thin;
    /* auto | thin | none */
    scrollbar-color: rgba(0, 0, 0, 0.35) rgba(0, 0, 0, 0.03);
    /* thumb, track */
}

/* ---------- OPTIONAL: وقتی می‌خوای کاملاً ناپدید بشه (مثال برای المان خاص) ---------- */
/* .hide-scrollbar { overflow: auto; } 
.hide-scrollbar::-webkit-scrollbar { display: none; } 
.hide-scrollbar { scrollbar-width: none; } 
*/

/* ---------- Accessibility: نشان دادن حین فوکوس (برای کیبورد) ---------- */
/* برای کاربرانی که با کیبورد اسکرول می‌کنند مفید است */
:focus-visible {
    outline-offset: 2px;
}

/* ---------- مثال: محدود کردن فقط به المان‌های با کلاس scrollable ---------- */
/*
.scrollable::-webkit-scrollbar { width: 8px; }
.scrollable { scrollbar-width: thin; }
*/


.footerIconRow {
    display: flex;
    flex-direction: row-reverse;
}


.iconsList {
    flex-direction: row;
}

.socailIcons {
    display: flex;
    gap: 2rem;
}

.bannerRow {
    display: flex;
    align-items: center;
    padding-left: 1.8rem;
    gap: 1rem;

}

@media (max-width: 968px) {
    .footerIconRow {
        flex-direction: column;
    }

    .iconsList {
        gap: 1rem !important;
    }

    .iconsList {
        flex-direction: column;
    }

    .socailIcons {
        margin-bottom: 2rem;
    }

    .bannerRow {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
}

.zeroPaddingMargin {
    padding: 0px !important;
    margin: 0px !important;
    border-radius: 10px;
}

.threeBoxCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gif {
    max-width: 50%;
    max-height: 150px;
    /* ارتفاع حداکثر برای گیف */
    margin-bottom: 1rem;
}

.gifTitle {
    font-size: 1rem;
    word-wrap: break-word;
}

.lastboxes .title3 {
    font-size: 24px;
}

.lastDvider {
    padding-top: 1rem !important;
}

.footerSiteLink {
    color: white;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* ========== Swiper Styles for Info News Section ========== */

.info-news-section {
    min-height: 25.375rem;
}

/* ========== Info News Swiper (افقی - 2 کارت) ========== */
.infoNewsSwiper {
    width: 100%;
    /* height: 25.375rem; */
    height: auto;
    border-radius: 0.625rem;
    overflow: visible;
    position: relative;
}

.infoNewsSwiper .swiper-wrapper {
    height: 100%;
}

.infoNewsSwiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: stretch;
}

/* ========== Stories Swiper (عمودی - 1 کارت) ========== */
.storiesSwiper {
    width: 100%;
    height: 25.375rem;
    border-radius: 0.625rem;
    overflow: visible;
    position: relative;
}

.storiesSwiper .swiper-wrapper {
    height: 100%;
}

.storiesSwiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: stretch;
}

/* ========== Shared Styles ========== */

/* لینک داخل اسلاید */
.swiper-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* باکس کارت */
.swiper-card-box {
    width: 100%;
    height: 100%;
    border-radius: 0.625rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.2);
}

.swiper-card-box:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.9375rem 2.5rem rgba(0, 0, 0, 0.3);
}

/* عکس‌ها داخل کارت */
.swiper-card-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Pagination Bullets - همه پایین و وسط و روی کارت‌ها */
.info-pagination,
.stories-pagination,
.coverage-pagination {
    position: absolute;
    bottom: 1.5rem;
    /* فاصله از پایین کارت */
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    /* بالاتر از کارت‌ها */
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
}

.swiper-pagination-bullet {
    width: 0.625rem;
    height: 0.625rem;
    background: rgba(255, 255, 255, 0.7);
    /* شفافیت بیشتر برای دیده شدن روی کارت */
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* سایه برای برجسته‌تر شدن */
}

.swiper-pagination-bullet-active {
    background: #FFD700;
    box-shadow: 0 0 0.625rem rgba(255, 215, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: scale(1.2);
}

/* تنظیم ارتفاع برابر برای ستون سوم */
.info-news-section .box4 {
    min-height: 25.375rem;
}

.info-news-section .baztabBox {
    height: 25.375rem;
    display: flex;
    flex-direction: column;
}

.info-news-section .baztabBox .disc {
    flex-grow: 1;
    overflow-y: auto;
}



/* ========== Coverage Swiper (افقی - 1 کارت - بدون Auto) ========== */
.coverageSwiper {
    width: 100%;
    height: auto;
    border-radius: 0.625rem;
    overflow: visible;
    position: relative;
}

.coverageSwiper .swiper-wrapper {
    height: 100%;
}

.coverageSwiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.coverage-card-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
}

/* استایل مخصوص باز تاب رسانه‌ای */
.coverageSwiper .baztabBox {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: black;
    color: yellow;
    padding: 1.5rem;
    border-radius: 0.625rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.2);
}

.coverageSwiper .baztabBox .title1 {
    color: yellow;
    text-align: right;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.coverageSwiper .baztabBox .title2 {
    color: white;
    text-align: right;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.coverageSwiper .baztabBox .title3 {
    color: white;
    text-align: right;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.coverageSwiper .baztabBox .disc {
    color: white;
    flex-grow: 1;
    overflow-y: auto;
    font-size: 0.9rem;
    text-align: justify;
    line-height: 1.6;
}

.coverageSwiper .baztabBox hr {
    border-color: rgba(255, 255, 255, 0.3);
    margin: 0.75rem 0;
}

/* تنظیمات اضافی برای موبایل */
@media (max-width: 768px) {
    .coverageSwiper .baztabBox {
        padding: 1rem;
    }

    .coverageSwiper .baztabBox .title1 {
        font-size: 0.95rem;
    }

    .coverageSwiper .baztabBox .title3 {
        font-size: 1rem;
    }

    .coverageSwiper .baztabBox .disc {
        font-size: 0.8rem;
    }
}