
@media (max-width: 100vh) {
.searchbar{
    font-size: 3vh;
    text-align:center;
    width: 95vw;
    background: var(--پوست);
    display: block;
    height: 7vh;
    border-radius: 1.5vh;
    padding: 0.1vh;
    margin: 0 auto;
    color: #bbb;
}
.ax1x2{
    display: inline-block;
    width: 100%;
    border-radius: 1.5vh;
    overflow: hidden;
    object-fit: cover;
    height: 20vh;
    object-position: center;
    background: var(--پوست);
}
.input1x4{
    width: 95vw;
    background: #000000;
    display: block;
    height: 20vh;
    border-radius: 1.5vh;
    padding: 0.1vh;
    margin: 0 auto;
    padding: 2vh; 
    font-size: 3vh; 
    text-align:center;
}
.input1x4:focus{
    width: 95vw;
    background: #ffffff;
    color: #000000;
    display: block;
    height: 20vh;
    border-radius: 1.5vh;
    padding: 0.1vh;
    margin: 0 auto;
}
    .kenar{
        display: grid;
        margin: 0 auto;
        text-align: center;
        color: var(--پوست);
        position: fixed;
        bottom: 1vh;
        right: 50%;
        transform: translate(50%);
        grid-template-columns: 20% 20% 20% 20% 20%;
        top: auto;
        z-index: 2;
        box-shadow: #000000 0vh 0vh 1vh;
        opacity: 80%;
        border-radius: 5vh;
        width: 90vw !important;
        backdrop-filter: contrast(10) brightness(10) blur(10px);
        -webkit-backdrop-filter: blur(10px); /* برای سازگاری با Safari */
    }
.banner2x4LAST{
    position: relative;
    width: 95vw;
    background: var(--پوست);
    display: block;
    height: 22.5vh;
    border-radius: 1.5vh;
    padding: 0.1vh;
    margin: 0 auto;
    overflow: hidden;
}
/* 2. The Image */
.banner2x4LAST .ax {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the container, clips as needed */
    display: block;
}

/* 3. The Text Overlay Container */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0; /* Stretches the full width */
    
    /* Creates the dark fade from bottom to top */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    
    padding: 2.5rem 1rem 1rem 1rem; /* More padding at the bottom */
    text-align: right;
    color: #ffffff;
}

.banner2x4{
    width: 95vw;
    background: var(--پوست);
    display: block;
    height: 22.5vh;
    border-radius: 1.5vh;
    padding: 0.1vh;
    margin: 0 auto;
}
.banner1x4{
    width: 95vw;
    background: #000000;
    display: block;
    height: 22.5vw;
    border-radius: 1.5vh;
    padding: 0.1vh;
    margin: 0 auto;
}
.tozi{
    font-size: 2vh;
    width: 95vw;
    margin: 1vh auto 3vh;
}
.banner4x4{
    width: 95vw;
    background: var(--پوست);
    display: block;
    border-radius: 1.5vh;
    padding: 0.1vh;
    margin: 0 auto;
    height: 95vw;
}
.ax4x4{
    display: inline-block;
    width: 95vw;
    border-radius: 1.5vh;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
    height: 95vw;
}
    .form_eslahi{width: 95vw; margin: 2vh auto;}
.qaabpost{
    width: 90vw;
    background: #252525;
    display: block;
    border-radius: 1.5vh;
    padding: 1vh;
    margin: 0 auto 1vh;
    box-shadow: 0vh 0vh 5vh -3vh #000000;
    color: #bbb;
    text-wrap: auto;
    text-align: right;
}
.qaabtozihat{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #252525;
  border-radius: 0.5vh;
  margin-top: 0.5vh;
    width: 95vw;
    background: #252525;
    border-radius: 1.5vh;
    margin: 0 auto 1vh;
    box-shadow: 0vh 0vh 5vh -3vh #000000;
    color: #bbb;
    text-wrap: auto;
    text-align: right;
}
.qaabkhali2x2{
    width: 95vw;
    border-radius: 1.5vh;
    display: grid;
    margin: 0 auto;
    text-align: center;
    grid-template-columns: 48.5% 48.5%;
    column-gap: 1vh;
}
  nav {
    margin: 2vh auto;
    position: relative;
    width: clamp(320px, 95vw ,100%);
    background: #131415;
    border-radius: 5vh;
    height: fit-content;
    box-shadow: 0vh 0vh 3vh -1vh #000000;
    color: #eee;
  }
.ax2x2{
    display: inline-block;
    width: 100%;
    border-radius: 1.5vh;
    overflow: hidden;
    object-fit: cover;
    height: 45vw;
    object-position: center;
    margin: 0vh -.5vh 0 0;
    background: var(--پوست);
    padding: 0;
}
    .balaboodan{   
        margin: 0 auto;
        text-align: center;
        position: fixed;
        top: 8vh;
        right: 50%;
        transform: translate(50%);
        z-index: 2;
    }
    .bala{
        display: grid;
        margin: 0 auto;
        text-align: center;
        color: var(--پوست);
        position: fixed;
        bottom: 1vh;
        right: 50%;
        transform: translate(50%);
        grid-template-columns: 16% 68% 16%;
        top: auto;
        z-index: 2;
        box-shadow: #000000 0vh 0vh 1vh;
    }
.qaab3{
    width: 95vw;
    max-width: 90vw;
    background: #131415;
    display: block;
    border-radius: 2vh;
    padding: 0.2vh;
    margin: 1vh auto;
    text-align: center;
    color: #bbb;
}
    .qaab {
    width: 95vw;
        height: auto;
    }
    .qaabbala {
    width: 100vw;
    height: auto;
    background: #000000;
    }
    .qaab2 {
    width: 95vw;
        height: auto;
    }
        .panjare-bazar{
    z-index: 0;
    margin: 5vh auto;
    width: 80vw;
    height: 80vh;
    display: block;
    border: solid 1vh #00000000;
            border-radius: 2vh;
    }
    .panjare-bazar.roo{
    z-index: 2;
    border: solid 1vh var(--پوست);
    }
    .vasat-ax {
        position: absolute;
        display: table;
        top: 30%;
        right: 50%;
        width: 30vh;
        transform: translate( 50% ,-50%);
        margin: 0 auto;
        text-align: center;
        color: var(--پوست);
        border-radius: 5vh;
    }
    .vasat-matn {
        position: absolute;
        display: block;
        top: 60%;
        right: 50%;
        transform: translate( 50% ,-50%);
        text-align: center;
        color: var(--سیاه);
        font-size: 5vh;
        margin: 0;
        background: white;
        border-radius: 5vh;
        padding: 3vh;
        width: 35vh;
    }
.bazshoa{
    font-size: 2vh;
    color: white;
    background: #62a400;
    align-items: center;
    text-align: center;
    display: inline-block;
    width: 95vw;
    margin: 1vh;
    align-content: center;
    padding: 1vh 3vh;
    border-radius: 2vh;
    position: relative;
}
    .klid-fehrest{
        display: block;
        border-radius: 4vh;
        transition: 0.3s;
        margin: 1vh;
        text-decoration: none;
        color: #00000000;
        border: none;
    }
    .klid-fehrest:hover{
        background: var(--سفید);
        color: #00000000;
    }
    .klid-fehrest-roshan{
        display: flex;
        border-radius: 4vh;
        transition: 0.3s;
        margin: 1vh;
        text-decoration: none;
        font-weight: bold;
        background: #7bcd00;
        color: #00000000;
        cursor: help;
        padding: 0;
    }
    .klid-bala{
        display: block;
        border-radius: 4vh;
        transition: 0.3s;
        margin: 1vh;
        text-decoration: none;
        color: #00000000;
        background: #000000;
        border: none;
    }
    .klid-bala:hover{
        background: var(--پوست);
        color: #00000000;
    }
    .klid-bala-roshan{
        display: flex;
        border-radius: 4vh;
        transition: 0.3s;
        margin: 1vh;
        text-decoration: none;
    font-weight: bold;
    background: var(--پوست);
        color: #00000000;
        cursor: help;
        padding: 0;
    }
    .klid-logo{
        display: flex;
        border-radius: 4vh;
        transition: 0.3s;
        margin: 1vh;
        text-decoration: none;
    font-weight: bold;
    background: var(--سفید);
        color: #00000000;
        cursor: help;
        padding: 0;
    }
    .klid-logo:hover{
        background: var(--پوست);
        color: #00000000;
    }
    .klid-logo-roshan{
        display: flex;
        border-radius: 4vh;
        transition: 0.3s;
        margin: 1vh;
        text-decoration: none;
        font-weight: bold;
        background: #000000;
        color: #00000000;
        cursor: help;
        padding: 0;
    }
    .fehrest{
        display: inline-block;
        font-size: 0;
        width: 100%;
        padding: 1vh;
        margin: 0 auto;
    }
    .ax-fehrest{
        display: block;
        width: 3vh;
        margin: 0 auto;
        height: 3vh;
    }
    .ax-fehrest-roshan{
        display: block;
        width: 3vh;
        margin: 0 auto;
        height: 3vh;
    }

.klid4{
    padding: 2vh;
    font-size: 3vh;
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 95vw;
    background: #62a400;
    border-radius: 1vh;
    text-decoration: none;
    color: #ffffff;
}
    }
    /* css vase paginatione liste mataleb blog */
    .pagination {
        display: flex;
        justify-content: center;
        margin: 20px 0;
        font-size: 1.5vh;
    }
    
    .pagination a {
        margin: 0 5px;
        padding: 5px 10px;
        background-color: #62a400;
        color: white;
        text-decoration: none;
        border-radius: 5px;
    }
    
    .pagination span {
        margin: 0 5px;
        padding: 5px 10px;
        background-color: #252525;
        border-radius: 5px;
        color: #fff;
    }
.taga{
    margin: 0 auto;
    text-align: center;
    white-space: nowrap;
    width: 95vw;
    overflow: auto;
    padding: 0vh 0 1vh;
    display: block;
}
.txtblg {
    margin: 2vh auto;
    display: table;
    font-size: 3vh;
    text-align: center;
    color: #bbb;
    width: 95vw;
}