/* فایل استایل سفارشی 361.css منتقل شده از قالب imag */
/* این فایل شامل استایل‌های سفارشی برای سایت 724پرس است */

/* استایل‌های سفارشی سایت 724پرس */
/* این فایل از قالب imag به Helix Ultimate 2 منتقل شده است */

/* توجه: این فایل باید با استایل‌های Helix Ultimate 2 سازگار شود */
/* و ممکن است نیاز به اصلاح برخی کلاس‌ها و سلکتورها داشته باشد */

/* استایل‌های سفارشی برای سایت 724پرس */
/* منتقل شده از قالب imag به Helix Ultimate 2 */

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 100;
	src: url('../fonts/IRANSansX-Thin.woff') format('woff'),   
	url('../fonts/IRANSansX-Thin.woff2') format('woff2');		
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 200;
	src: url('../fonts/IRANSansX-UltraLight.woff') format('woff'),   
	url('../fonts/IRANSansX-UltraLight.woff2') format('woff2');	
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/IRANSansX-Light.woff') format('woff'),   
	url('../fonts/IRANSansX-Light.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/IRANSansX-Medium.woff') format('woff'),   
	url('../fonts/IRANSansX-Medium.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/IRANSansX-DemiBold.woff') format('woff'),   
	url('../fonts/IRANSansX-DemiBold.woff2') format('woff2');	 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 800;
	src: url('../fonts/IRANSansX-ExtraBold.woff') format('woff'),   
	url('../fonts/IRANSansX-ExtraBold.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 900;
	src: url('../fonts/IRANSansX-Black.woff') format('woff'),   
	url('../fonts/IRANSansX-Black.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: bold;
	src: url('../fonts/IRANSansX-Bold.woff') format('woff'),   
	url('../fonts/IRANSansX-Bold.woff2') format('woff2');	 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: normal;
	src: url('../fonts/IRANSansX-Regular.woff') format('woff'),   
	url('../fonts/IRANSansX-Regular.woff2') format('woff2');	
}

/* تنظیمات کلی */
body {
    font-family: IRANSansX, Arial, sans-serif;
    font-size: 14px;
    line-height: 2;
    text-align: justify;
    box-sizing: border-box;
    direction: rtl;
    background: #fff;
    color: #333;
}

/* هدر و منو */
.sp-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sp-logo {
    padding: 10px 0;
}

.sp-logo img {
    max-height: 50px;
    width: auto;
}

.sp-megamenu-wrapper {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.sp-megamenu-parent > li > a {
    color: #333;
    font-weight: 500;
    padding: 15px 20px;
    font-size: 14px;
}

.sp-megamenu-parent > li > a:hover {
    color: #007bff;
    background: #e9ecef;
}

/* موقعیت‌های مختلف */
.position-social {
    background: #007bff;
    color: #fff;
    padding: 8px 0;
}

.position-login {
    background: #28a745;
    color: #fff;
    padding: 8px 0;
}

.position-search {
    padding: 10px 0;
}

.position-search input[type="text"] {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
}

.position-search button {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    margin-right: 5px;
}

.position-splash {
    background: #ffc107;
    color: #333;
    padding: 15px 0;
    text-align: center;
}

.position-top1a {
    background: #f8f9fa;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    border-radius: 0;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    margin: 0 8px;
}

/* محتوای اصلی */
.sp-main-body {
    padding: 30px 0;
    background: #fff;
}

.sp-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* ستون‌های کناری */
.sp-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sp-sidebar h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
    font-weight: 500;
}

/* مقالات */
.item-page {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.article-header h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.article-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
}

.article-info dd {
    margin: 5px 0;
    color: #666;
    font-size: 13px;
}

/* دکمه کپی لینک */
.post-shortlink {
    background: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    text-align: center;
    border: 1px solid #dee2e6;
}

.post-shortlink button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.post-shortlink button:hover {
    background: #0056b3;
}

#copied, #copied1 {
    background: #28a745;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    margin-right: 10px;
    font-size: 12px;
}

/* تصاویر */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* دکمه‌ها */
.btn {
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
}

.btn-primary {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/* صفحه‌بندی */
.pagination {
    justify-content: center;
    margin: 20px 0;
}

.page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
}

.page-link:hover {
    color: #0056b3;
    background: #e9ecef;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

/* فوتر */
.sp-footer {
    background: #343a40;
    color: #fff;
    padding: 30px 0;
    margin-top: 30px;
}

.sp-footer a {
    color: #fff;
    text-decoration: none;
}

.sp-footer a:hover {
    color: #007bff;
}

/* ماژول‌ها */
.sp-module {
    margin-bottom: 20px;
}

.sp-module h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
    font-weight: 500;
}

.sp-module ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-module ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.sp-module ul li:last-child {
    border-bottom: none;
}

.sp-module ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.sp-module ul li a:hover {
    color: #007bff;
}

/* مقالات مرتبط */
.article-related {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.article-related h2 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
    font-weight: 500;
}

/* تگ‌ها */
.tag-category .item {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.tag-category .item h2 {
    margin-bottom: 10px;
}

.tag-category .item h2 a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.tag-category .item h2 a:hover {
    color: #007bff;
}

/* بلاگ */
.blog .item {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.blog .item h2 {
    margin-bottom: 15px;
}

.blog .item h2 a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.blog .item h2 a:hover {
    color: #007bff;
}

/* مقالات ویژه */
.blog-featured .items-leading {
    margin-bottom: 30px;
}

.blog-featured .items-leading .item {
    background: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

/* فیلترها */
.filters {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.filters input[type="text"] {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
    margin-bottom: 10px;
}

/* Lazy Loading */
.b-lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.b-lazy.b-loaded {
    opacity: 1;
}

/*--- Tag Page ---*/
.com_tags #yt_component .col-sm-12{width: 100%;min-height: auto!important;float: right;}
.com_tags #yt_component{padding:0;margin-bottom: 15px!important;}
.rtl .blog.tag-category ul.blank.items-row .item .item-image {float: right;}

@media only screen and (max-width: 560px)
{
.com_tags #yt_component .items-row .item:nth-child(-n+6){width:100%;height: auto!important;position: relative;background: none;}
}

/*--- Tags ---*/
.tag-63,.tag-64,.tag-864, .tag-865, .tag-866, .tag-867, .tag-868
{display: none!important;}

/*--- Tag Color ---*/
.item-page .tags span{background: rgb(0,150,240);font-weight: initial;}

/* تنظیمات اضافی */
.home-layout1 #yt_spotlight1{margin: 0 0 5px 0!important;}
.category-desc{padding: 0;position: relative;display: block;margin: 0 0 10px!important;background: rgb(255, 252, 245);}
.category-desc img{display:block;position:relative}
.category-desc p{padding: 10px 15px;margin: 0px;}
.module h3.modtitle{border:none}
b, strong{font-weight: 500!important;}
pre{text-align:left;border-left: 0!important;background: #eef8ff;font-family:IRANSansX}
img{height:auto;max-height: none;image-rendering: optimizeQuality;-webkit-backface-visibility: hidden!important;}
Body {font-family: IRANSansX;font-size: 14px;line-height: 2;text-align:justify;box-sizing: border-box;}
div.moduletabs.top-position div.tabs-container ul.tabs li .tab,h2,h3,h4,h5,h6{line-height: 1.7;font-weight: 500!important;}

/* Responsive */
@media (max-width: 768px) {
    .sp-sidebar {
        margin-top: 20px;
    }
    
    .article-header h1 {
        font-size: 20px;
    }
    
    .sp-megamenu-parent > li > a {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .sp-content {
        padding: 15px;
    }
    
    .item-page {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .sp-logo img {
        max-height: 40px;
    }
    
    .article-header h1 {
        font-size: 18px;
    }
    
    .sp-content {
        padding: 10px;
    }
    
    .item-page {
        padding: 10px;
    }
} 

/* ========================================
   استایل‌های Layout واید (بدون sidebar)
   ======================================== */

/* Layout واید */
.layout-wide {
    background: #fff;
    direction: rtl;
    text-align: right;
}

/* محتوای اصلی در layout واید */
.layout-wide .position-content {
    background: #fff;
    padding: 30px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* مقالات در layout واید */
.layout-wide .item-page {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* عناوین مقالات در layout واید */
.layout-wide .article-header h1 {
    color: #252525;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
}

.layout-wide .article-header h2 {
    color: #252525;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-align: right;
}

/* متن مقالات در layout واید */
.layout-wide .article-text {
    line-height: 1.8;
    text-align: justify;
    color: #333;
}

/* تصاویر در layout واید */
.layout-wide img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 15px 0;
}

/* لینک‌ها در layout واید */
.layout-wide a {
    color: #0345BF;
    text-decoration: none;
}

.layout-wide a:hover {
    color: #044CD0;
    text-decoration: underline;
}

/* ریسپانسیو برای layout واید */
@media (max-width: 768px) {
    .layout-wide .position-content {
        padding: 20px;
        margin: 15px 0;
    }
    
    .layout-wide .item-page {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .layout-wide .article-header h1 {
        font-size: 24px;
    }
    
    .layout-wide .article-header h2 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .layout-wide .position-content {
        padding: 15px;
        margin: 10px 0;
    }
    
    .layout-wide .item-page {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .layout-wide .article-header h1 {
        font-size: 20px;
    }
    
    .layout-wide .article-header h2 {
        font-size: 18px;
    }
} 