.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.posts-entry-title {
    text-transform: uppercase;
    font-size: 20px;
    color: #000;
    letter-spacing: .05rem;
}
.read-more {
    border-bottom: 2px solid #214252;
}
.retro-layout-alt .img-1 {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.retro-layout-alt .hentry {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.retro-layout-alt .gradient {
    position: relative;
}
.retro-layout-alt .gradient:before {
    z-index: 1;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: -moz-linear-gradient(top, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
    background: -webkit-linear-gradient(top, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(18%, transparent), color-stop(99%, rgba(0, 0, 0, 0.8)), to(rgba(0, 0, 0, 0.8)));
    background: -o-linear-gradient(top, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
    background: linear-gradient(to bottom, transparent 0%, transparent 18%, rgba(0, 0, 0, 0.8) 99%, rgba(0, 0, 0, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#cc000000',GradientType=0 );
}
.retro-layout-alt .hentry .featured-img {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}
.retro-layout-alt .text {
    position: absolute;
    bottom: 0;
    z-index: 10;
    padding: 20px;
    max-width: 350px;
}
.retro-layout-alt .text span {
    color: rgba(255, 255, 255, 0.7);
}
.retro-layout-alt .text h2, .retro-layout-alt .text .h2 {
    color: #fff;
    font-size: 26px;
}
.retro-layout-alt .v-height {
    height: 300px;
}
.retro-layout-alt .mb30 {
    margin-bottom: 30px;
}
.retro-layout-alt .text.text-sm h2, .retro-layout-alt .text.text-sm .h2 {
    font-size: 18px;
    line-height: 1.5;
}
.retro-layout-alt .two-col > a {
    width: calc(50% - 15px);
    float: left;
}

.retro-layout-alt .v-height {
    height: 300px;
}
@media (max-width: 767.98px){
.retro-layout-alt .img-1 {
    height: 240px !important;
    position: relative;
    margin-bottom: 30px;
}
}
@media (max-width: 575.98px){
.retro-layout-alt .two-col > a {
    width: 100% !important;
    float: none !important;
    margin-bottom: 30px;
}
}
/*--------------------search bar----------------------*/
    .custom-search-box {
        background: #fff;
        padding: 25px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        width: 100%;
    }

    .custom-search-title {
        text-align: center;
        margin-bottom: 25px;
        font-size: 24px;
        font-weight: bold;
        color: #111827;
    }

    .custom-search-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
        align-items: center;
    }

    .custom-search-input,
    .custom-search-select {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #d1d5db;
        border-radius: 12px;
        font-size: 14px;
        outline: none;
        transition: 0.3s;
    }

    .custom-search-input:focus,
    .custom-search-select:focus {
        border-color: #000;
    }

    .custom-checkbox {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        font-size: 14px;
    }

    .custom-search-btn {
        width: 100%;
        background: #000;
        color: #fff;
        border: none;
        padding: 14px;
        border-radius: 12px;
        cursor: pointer;
        transition: 0.3s;
        font-size: 15px;
    }

    .custom-search-btn:hover {
        opacity: 0.9;
    }
	.custom-search-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
    
    background-color: #fff;
    cursor: pointer;

    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;

    position: relative;
    z-index: 1;
}
.custom-search-box {
    overflow: visible !important;
}
@media (max-width: 1200px) {

    .custom-search-box {
        position: relative;
        z-index: 99999 !important;
    }

    .custom-search-grid {
        position: relative;
        z-index: 99999 !important;
    }

    .custom-search-grid * {
        pointer-events: auto !important;
    }

}.custom-search-input {
    outline: 1px solid red !important;
    position: relative;
    z-index: 89 !important;
}
.custom-search-box {
    position: relative;
    z-index: 89;
}

.custom-search-grid {
    position: relative;
    z-index: 10000;
}

.custom-search-btn {
    position: relative;
    z-index: 10001;
    pointer-events: auto;
}
/*--------------------player----------------------*/
.card-glow{
    transition: all .4s ease;
    border-radius: 12px;
}

.card-glow:hover{
    box-shadow:
        0 0 15px rgba(255,255,255,.6),
        0 0 30px rgba(255,215,0,.5),
        0 0 45px rgba(255,255,255,.4);

    transform: translateY(-5px) scale(1.02);
}
/*--------------------search modal deepseek----------------------*/
/* If you like this, be sure to ❤️ it. */
/*--------------------search modal deepseek----------------------*/
.wrapper {
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: -webkit-linear-gradient(to right, #834d9b, #d04ed6);
  background: linear-gradient(to right, #834d9b, #d04ed6);
}

.wrapper a {
  display: inline-block;
  text-decoration: none;
  padding: 15px;
  background-color: #fff;
  border-radius: 3px;
  text-transform: uppercase;
  color: #585858;
  font-family: 'vazir-bold';
}

/* لایه تاریک پشت مودال */
.modal {
  visibility: hidden;
  opacity: 0;
  position: fixed; /* تغییر از absolute به fixed */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 77, 77, .7);
  transition: all .4s;
  z-index: 9999; /* برای قرار گرفتن روی بقیه اجزای سایت */
}

.modal:target {
  visibility: visible;
  opacity: 1;
}

/* کادر سفید داخلی مودال */
.modal__content {
  border-radius: 8px;
  position: relative;
  width: 90%; /* واکنش‌گرا در موبایل */
  max-width: 950px; /* حداکثر اندازه در دسکتاپ */
  background: #fff;
  padding: 2em;
  direction: rtl; /* راست‌چین کردن کل فرم */
  max-height: 85vh; /* جلوگیری از بزرگتر شدن از ارتفاع صفحه */
  overflow-y: auto; /* اسکرول خوردن فقط داخل مودال */
  box-sizing: border-box;
}

/* حذف فاصله‌های اضافه کلاس‌های فریمورک شما داخل مودال */
.modal__content .container,
.modal__content .section-inner,
.modal__content .row {
    margin: 0;
    padding: 0;
    width: 100%;
}

.modal__footer {
  text-align: right;
}
.modal__footer a {
  /* color: #585858; */
}
.modal__footer i {
  color: #d02d2c;
}

/* دکمه بستن مودال (جابجایی به چپ برای RTL) */
.modal__close {
  position: absolute;
  top: 15px;
  left: 15px; 
  color: #585858;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  transition: color 0.3s;
}
.modal__close:hover {
  color: #d02d2c;
}

/*=============================================*/
/*           استایل‌های واکنش‌گرای فرم          */
/*=============================================*/

.contact-form h5.heading-title {
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

/* ایجاد گرید ۴ ستونه */
.form-inner {
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    gap: 15px;
}

/* استایل اختصاصی اینپوت‌ها */
.single-input input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
   /*  font-family: 'Tahoma', 'Arial', sans-serif; */
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.single-input input:focus {
    border-color: #834d9b; /* رنگ بنفش هماهنگ با تم شما */
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(131, 77, 155, 0.15);
}

/* استایل دراپ‌داون (جنسیت) */
.nice-select-wrap {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #fafafa;
}
.nice-select-wrap a.drop {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #888;
    text-decoration: none;
    font-family: 'Tahoma', 'Arial', sans-serif;
}

/* دکمه جستجو */
.form-btn {
    grid-column: 1 / -1; /* عرض کامل */
    margin-top: 10px;
}

.form-btn .rts-btn {
    background-color: #834d9b; /* رنگ بنفش */
    color: #834d9b;
    border: none;
    padding: 12px 40px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'vazir-bold';
    font-size: 15px;
   /*  transition: background-color 0.3s; */
}

.form-btn .rts-btn:hover {
    background-color: #6a3d80;
}

/*--------- مدیا کوئری‌ها (واکنش‌گرایی) ---------*/

/* تبلت */
@media (max-width: 992px) {
    .form-inner {
        grid-template-columns: repeat(3, 1fr); /* ۳ ستون */
    }
}

/* موبایل افقی و کوچکتر */
@media (max-width: 768px) {
    .form-inner {
        grid-template-columns: repeat(2, 1fr); /* ۲ ستون */
        gap: 12px;
    }
    .modal__content {
        padding: 1.5em;
    }
}

/* موبایل عمودی (کوچکترین حالت) */
@media (max-width: 480px) {
    .form-inner {
        grid-template-columns: 1fr; /* ۱ ستون */
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .video-wrap {
        min-height: auto;
        overflow: hidden;
    }

    #slide-video {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-slide {
        padding: 30px 0;
    }

    .banner-content-one {
        text-align: center;
        padding-top: 20px;
    }

    .banner-content-one .title-banner {
        font-size: 16px !important;
        line-height: 1.6;
		
    }

    .banner-content-one .disc {
        font-size: 14px;
        margin-top: 15px;
    }

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

    .banner-right-img {
        text-align: center;
        margin-bottom: 20px;
    }

    .banner-right-img img {
        width: 100% !important;
        max-width: 320px;
        height: auto !important;
        max-height: 450px;
        object-fit: cover;
        border-radius: 15px;
    }


    .video-btn-area {
        justify-content: center;
    }

    .intro {
        font-size: 14px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .banner-bg-shape-2 {
        width: 100%;
        opacity: 0.3 !important;
        bottom: 0;
    }
}