.main-content-layout {
    display: grid;
    grid-template-columns: 68.2% 31.2%; /* تعریف دو ستون ۷۰ و ۳۰ درصد */
    gap: 7px; /* فاصله بین دو ستون */
    margin: 0 0 10px 0;
    padding: 0 0px;

}

/* استایل ظاهری برای تشخیص بهتر (اختیاری) */
.forum-area {
	padding-top:0px;
	border-radius: 5px;
}

.img-area {
    background: #fff;
    padding:5px;
    border-radius: 5px;
}

.img-area img{
	max-width:302px;
	border-radius:5px;
	display: block;
}


@media (max-width: 992px) {
    .main-content-layout {
        grid-template-columns: 1fr; /* در تبلت و موبایل هر دو ستون ۱۰۰ درصد شوند و زیر هم بیایند */
        gap: 10px;
    }
}

@media (max-width: 600px) {
.img-area {display:none;}
}


.banner-container {
background:#fff;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* سه ستون مساوی */
  gap: 10px;
  padding: 5px;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 5px;
  direction: rtl;
}

.banner-card {
  position: relative;
  height: 217px; /* ارتفاع بنرها */
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.banner-card:hover {
 
}

.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* حفظ مقیاس تصویر */
}







.hp-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    margin: 10px 0 0px 0;
    
 
}

.hp-feature-item {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}

.hp-feature-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: #2271b1;
}

.hp-f-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.hp-feature-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.hp-feature-item p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}


.top-announcement-bar {
    background: linear-gradient(90deg, #1e272e 0%, #2271b1 50%, #1e272e 100%);
    color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: 9999;
    transition: all 0.4s ease;
}

.ab-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.ab-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ab-badge {
    background: #ff4b2b; /* همون قرمز-نارنجی ما */
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    animation: blink 1.5s infinite;
}

.ab-text {
    font-size: 13px;
    margin: 0;
}

.ab-link {
    color: #ffc107; /* طلایی برای جلب توجه */
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    border-bottom: 1px dashed #ffc107;
    transition: 0.3s;
}

.ab-link:hover {
    color: #fff;
    border-color: #fff;
}

.ab-close {
    position: absolute;
    left: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.ab-close:hover { opacity: 1; }

/* انیمیشن چشمک‌زن برای نشان جدید */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .ab-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .ab-badge { display: none; } /* حذف نشان در موبایل برای خلوت شدن */
    .ab-text { font-size: 11px; }
}









.gateway-container {
background: linear-gradient(135deg, #fff 35%, #fff3e3 100%);
   
    
    direction: rtl;
    border-radius: 5px;
border:1px solid #eee;
	margin:0px 0 10px 0;
}

.gateway-grid {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 17px; / فاصله بین آیتم‌ها /
    max-width: 1280px;
    margin: 0 auto;    
padding: 10px;
}

.gateway-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 85px; / اندازه هر آیکون /

}

.gateway-1-in {
	background:#fff;
	color:#ff4b2b;
	font-size:12px;
	line-height:22px;
	font-weight:600;
	padding:5px;
	text-align:center;
	border-right:5px solid #ff4b2b;
	border-radius:5px;
	margin-top:9px;
}


.gateway-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px; / اندازه هر آیکون /
    transition: transform 0.3s ease;
}

.gateway-item:hover {
    transform: translateY(-2px); / افکت حرکت به بالا هنگام هاور /
}

.gateway-logo {
    background-color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 18px; / گوشه‌های گرد مطابق تصویر /
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); / سایه بسیار ملایم /
    margin-bottom: 10px;
    overflow: hidden;
    padding: 10px;
}

.gateway-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(20%); / کمی خاکستری برای هماهنگی بیشتر /
    transition: filter 0.3s;
}

.gateway-item:hover img {
    filter: grayscale(0%);
}

.gateway-title {
    font-size: 12px;
    color: #555;
    text-align: center;
    white-space: nowrap;
margin-top:5px;
}

/ ریسپانسیو برای موبایل /
@media (max-width: 480px) {
    .gateway-grid {
        gap: 15px;
    }
    .gateway-item {
        width: 70px;
    }
    .gateway-logo {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }
    .gateway-title {
        font-size: 10px;
    }
}