@charset "utf-8";


html, body, div, span, h1, h2, h3, p, a, ul, li, section, aside, header, footer, main, nav {
    margin: 2 px;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    box-sizing: border-box; 
}


/* Samim - Regular (400) */
@font-face {
    font-family: 'Samim';
    src: url('https://up.kavela-qom.ir/download/4154923/Samim-FD.woff2') format('woff2'),
         url('https://up.kavela-qom.ir/download/4154924/Samim-FD.woff') format('woff'); 
    font-weight: 400; 
    font-style: normal;
    font-display: swap;
}

/* Samim - Bold (700) */
@font-face {
    font-family: 'Samim';
    src: url('https://up.kavela-qom.ir/download/4154925/Samim-Bold-FD.woff2') format('woff2'),
         url('https://up.kavela-qom.ir/download/4154926/Samim-Bold-FD.woff') format('woff'); 
    font-weight: 700; 
    font-style: normal;
    font-display: swap;
}

body {
    direction: rtl;
    font: 400 14px 'Samim', Tahoma, sans-serif;
    color: #333;
    
    
	background:
          conic-gradient(at 12% 20%, #0000 75%, #fdfaf7 0) calc(32px * 0.44) calc(0.9 * 32px),
          conic-gradient(at 12% 20%, #0000 75%, #fdfaf7 0) calc(32px * -0.06) calc(0.4 * 32px),
          conic-gradient(at 20% 12%, #0000 75%, #fdfaf7 0) calc(0.9 * 32px) calc(32px * 0.44),
          conic-gradient(at 20% 12%, #0000 75%, #fdfaf7 0) calc(0.4 * 32px) calc(32px * -0.06),
          radial-gradient(#0000 60%, #b8aea8 61% 63%, #0000 64% 77%, #b8aea8 78% 80%, #0000 81%),
          radial-gradient(#0000 60%, #b8aea8 61% 63%, #0000 64% 77%, #b8aea8 78% 80%, #0000 81%) calc(32px / 2) calc(32px / 2) #fdfaf7;
  	background-size: 32px 32px;
  
}


    
/*
    background: url(https://up.kavela-qom.ir/download/4125489/bg.png) repeat; 
    background-attachment: fixed;
  line-height: 1.6;
 */ 

/* Headings (تنظیم وزن ضخیم 700 برای تیترها) */





h1, h2, h3, h4, h5, h6 { 
    font-family: 'Samim', Tahoma, sans-serif;
    font-weight: 700 !important; 
}


h1{font-size: 24px; margin-top: 0; padding-bottom: 5px;}
h2{font-size: 18px; margin-top: 5px; padding-bottom: 5px;}
h3{font-size: 16px; margin-top: 5px;}


h4,h5,h6{font-size: 14px;}




a:link, a:visited { 
    color: #172A40; 
    text-decoration: none; 
    transition: color 0.3s; 
}
a:hover { 
    color: #FFC300; 
}
.page-title a:link {
     color: #FFC300;
}

.page-title a:visited {
    color: #ffffff;
}

.page-title a:hover {
    color: #FFC300;
}

input[type="text"], input[type="email"], textarea, select {
    background: #FFFFFF;
    border: 1px solid #CCC;
    padding: 8px 10px;
    border-radius: 4px;
    width: 95%;
   font-family: 'Samim', Tahoma, sans-serif;
    box-sizing: border-box;
}
button, input[type="submit"] {
    background: #172A40;
    color: #FFFFFF;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Samim', Tahoma, sans-serif;
}
button:hover, input[type="submit"]:hover { background: #FFC300; color: #172A40; }

.clear { clear: both; }
.img-responsive { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.seo-hidden-text { height: 0; overflow: hidden; }



/* 2. Layout Structure */
#main-container {
    max-width: 1400px;
    margin: 5px auto;

    background-color: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}






/* Header */
#main-header {
    background-color: #172A40;
    padding: 2px 2px;
    color: #FFFFFF;
    border-bottom: 5px solid #FFC300;
   
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
	max-height: 4.5rem;  
	max-width: 100%;
    height: auto;
	margin: 5px;
	display: block;
}


.header-info {
    font-size: 13px;
    display: flex;
    align-items: center;
}

.header-date { margin-left: 15px; }

.header-date i { color: #FFC300; margin-left: 5px; }







#top-nav {
    background-color: #f2f5f9;
    padding: 5px 20px;
    border-bottom: 1px solid #ddd;
}
.nav-links { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: flex-start;
}
.nav-item { 
    padding: 8px 12px;
    /* background-color: #172A40;  */
    transition: background-color 0.3s, color 0.3s; 
    font-weight: 700 !important;
    margin: 3px 2px;
    border-radius: 4px;
}

.nav-item a:link, .nav-item a:visited {
	color: #FFC300;
}

.nav-item:hover {
	background-color: #FFC300;
	color: #172A40;
} 

.nav-item a:hover {
	color: #172A40;
}

.nav-item i {
	margin-left: 5px;
}



#site-content.three-column-layout {
    display: flex;
    gap: 5px;
    max-width: 1400px;
    margin: 5px auto; 
}

#right-sidebar, #left-sidebar { 
    flex-basis: 0%; 
    flex-grow: 1;
    flex-shrink: 0;
    padding: 0;
}
#main-content {
    flex-basis: 0%; 
    flex-grow: 2;
    flex-shrink: 0;
    padding: 0 10px;
}



/* 3. Widget (Sidebar Block) Styles */
.widget {
    background: #F8F8F8;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}



.profile-widget {}
.dynamic-widget {}

.widget-title, .profile-widget .profile-title, .dynamic-widget .widget-title {
    background: #172A40;
    color: #ffffff; 
    padding: 10px; 
    font-size: 16px; 
    font-weight: 700 !important;
    border-right: 5px solid #FFC300; 
    text-align: right;
    margin-bottom: 0;
}






.widget-content { padding: 10px; }
.widget-content ul { list-style: none; padding: 0; }
.widget-content li {
    padding: 6px 0;
    border-bottom: 1px dashed #EEE;
    font-size: 13px;
	transition: background-color 0.3s;
}

.widget-content li:last-child { border-bottom: none; }

.widget-content li a {
    display: block;
    color: #444;
    transition: color 0.3s, padding-right 0.3s;
}
.widget-content li:hover {
    background-color: #F0F0F0;
}

.widget-content li:hover a {
    color: #FFC300;
    padding-right: 5px; 
}

.widget-content li a i {
    color: #FFC300;
    transition: color 0.3s;
}

.widget-content li:hover a i {
    color: #172A40;
}




/* Stats Widget specific */
.stats-list li { border-bottom: none; padding: 4px 0;}
.stats-list li b { font-weight: 700; color: #172A40; }



.profile-widget .widget-content {
    padding: 15px;
    text-align: center;
}

.profile-widget .profile-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    border: 3px solid #FFC300;
    object-fit: cover;
    transition: transform 0.3s;
}
.profile-widget .profile-avatar img:hover {
    transform: scale(1.05);
}
.profile-widget .profile-description {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}
.profile-widget .profile-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}
.profile-widget .profile-links li {
    padding: 0 5px;
    border-bottom: none;
}
.profile-widget .profile-links a {
    color: #172A40;
    font-size: 18px;
}
.profile-widget .profile-links a:hover {
    color: #FFC300;
}




.ad-widget {
    text-align: center;
    padding: 10px;
    overflow: hidden;
}
.ad-widget a img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 5px auto;
    border-radius: 4px;
    border: 1px solid #E0E0E0;
    transition: box-shadow 0.3s, transform 0.3s;
}
.ad-widget a img:hover {
    box-shadow: 0 0 10px rgba(23, 42, 64, 0.3);
    transform: scale(1.01);
}




.dynamic-widget .widget-content {
    padding: 10px;
    font-size: 13px;
    line-height: 1.7;
}












/* Search Widget specific */
.search-widget form {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap; 
}
.search-widget input[type="text"] {
    flex-grow: 1;  
    min-width: 100px;
    width: 100%;
    margin-left: 5px;

}

.search-widget button[type="submit"] {
    width: auto !important; }     
    
.search-widget button {
    width: 80px !important;
    flex-shrink: 0;
    padding: 5px 10px !important;
}

.style-1-search .widget-content { padding: 15px 10px; }
.style-1-search input[type="text"] {
    border: 2px solid #172A40;
    border-radius: 6px;
    background-color: #fcfcfc;
    padding: 5px 10px;
    transition: border-color 0.3s;
}
.style-1-search input[type="text"]:focus {
    border-color: #FFC300;
    box-shadow: 0 0 5px rgba(255, 195, 0, 0.5);
}

.style-1-search button {
    background: #172A40;
    color: #FFFFFF;
    border-radius: 6px;
}
.style-1-search button:hover {
    background: #FFC300;
    color: #172A40;
}




/* 4. Post Styles (Main Content) */
.post-item {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    margin-bottom: 15px;
    padding: 15px;
}


.post-title { margin: 0; padding: 0; }
.post-title a { color: #172A40; }
.post-title a:hover { color: #FFC300; }



.page-item {
    background: #F8F8F8 !important; 
    border: 1px solid #E0E0E0 !important; 
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}


.page-title {
	margin: 0px; 
	padding: 5px 10px; 
    background: #172A40;
    color: #ffffff;
    font-size: 16px; 
    font-weight: 700 !important;
    border-right: 5px solid #FFC300; 
    text-align: right;
}
.page-title a:link, .page-title a:visited {
}

.page-title:hover {
} 






.page-title:hover {
	background-color: #FFC300;
	color: #172A40;
} 
.page-title a:hover {
	color: #172A40;
}
.page-title i {
	margin-left: 5px;
}






 
.post-meta-details {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: flex-start;
    font-size: 12px;
    color: #777;
    border-bottom: 1px dashed #EEE;
    padding-bottom: 10px;
    margin-bottom: 15px;
    padding-top: 5px;
}


.page-meta-details {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: flex-start;
    font-size: 12px;
    color: #777;
    border-bottom: 1px dashed #EEE;
    padding-bottom: 10px;
    margin-bottom: 15px;
    padding-top: 5px;
}




.meta-item {
    margin-left: 15px;
    line-height: 1.8;
}
.meta-item i { color: #FFC300; margin-left: 5px; }




.meta-item .categories a {
    display: inline-block;
    /* background-color: #eee; */
   /* padding: 3px 5px; */
    border-radius: 3px;
    margin-left: 3px;
    color: #172A40;
    font-weight: normal;
}

.meta-item .categories a:hover {
	background-color: #FFC300;
    color: #172A40;
}

.meta-item .categories a:not(:last-child)::after {
    content: "،"; 
    color: #999;
    font-weight: bold;
    position: relative;
    margin-right: 5px;
}
.meta-item .categories a:last-child {
    margin-left: 0;
}

.post-content-body p {
    font-size: 12px; 
    line-height: 1.8;
    margin-top: 5px; 
    margin-bottom: 15px; 
    text-align: justify; 
}






.post-content-body img {
    border: 1px solid #CCC; 
    padding: 5px; 
    border-radius: 4px;
    max-width: 100%; 
    height: auto;
    display: block;
    margin: 10px auto; 
}
.post-content-body figure { 
    margin: 0; 
}
.post-content-body figure.post-image-figure { 
    margin-bottom: 15px;
}






.page-content-body p {
    font-size: 12px; 
    line-height: 1.8;
    margin-top: 5px; 
    margin-bottom: 15px; 
    text-align: justify; 
}





.page-content-body img {
    border: 1px solid #CCC; 
    padding: 5px; 
    border-radius: 4px;
    max-width: 100%; 
    height: auto;
    display: block;
    margin: 10px auto; 
}
.page-content-body figure { 
    margin: 0; 
}
.page-content-body figure.page-image-figure { 
    margin-bottom: 15px;
}








.read-more-btn {
    display: block;
    float: left;
    background: #FFC300;
    color: #172A40;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 700 !important; 
    margin-top: 5px;
}
.read-more-btn a {
    color: #172A40;
}
.read-more-btn:hover { 
    background: #172A40; 
    color: #FFC300; 
}
.read-more-btn:hover a { color: #FFC300; }
.read-more-btn a i { margin-right: 5px; margin-left: 0; }








.post-tags-section {
    clear: both;
    font-size: 11px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-right: 0;
    margin-top: 5px;
}
.post-tags-section i {
    margin-left: 5px;
    color: #dc3545;
}
.post-tags-section a {
    display: inline-block;
    background-color: #eee;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 5px; 
    color: #333;
    font-weight: normal;
}
.post-tags-section a:hover {
    background-color: #ffc107;
    color: #1a2a44;
}
.post-tags-section a:not(:last-child)::after {
    content: " "; 
    color: #999;
    font-weight: bold;
    position: relative;
    margin-right: 5px;
}
.post-tags-section a:last-child {
    margin-left: 0;
}

.post-footer {
    clear: both; 
    border-top: 1px solid #DDD; 
    padding: 10px 0; 
}










.comments-section { padding-top: 0; }
.comment-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #EEE;
    padding-top: 10px;
}
.comment-item:last-of-type { border-bottom: none; }
.comment-avatar img { width: 50px; height: 50px; border-radius: 50%; margin-left: 10px; border: 2px solid #FFC300; }
.comment-body { flex-grow: 1; }
.comment-header { font-size: 13px; color: #777; margin-bottom: 5px; }
.comment-author-name { font-weight: 700; color: #172A40; margin-left: 10px; }
.comment-text { margin: 0; line-height: 1.6; }
.comment-form-box input[type="text"], .comment-form-box input[type="email"], .comment-form-box textarea {
    width: 100%;
    margin-bottom: 10px;
}
.comment-form-box input[type="submit"] { width: auto; padding: 10px 20px; }






/* 5. Footer */
#main-footer {
    background-color: #172A40;
    color: #FFFFFF;
    padding: 10px 20px;
    text-align: center;
    font-size: 13px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
}
.designer-credit a { color: #FFC300; }












/* 
Responsiveness 600 
@media (max-width: 600px) {
 #site-content { flex-direction: column; padding: 10px; gap: 0; }
 #right-sidebar, #left-sidebar, #main-content { 
        width: 100%; 
        flex-basis: auto; 
        flex-grow: 1;
        padding: 0;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
    }
    
    .search-widget button {
        width: 60px;
        padding: 8px 5px;
    }
    .search-widget input[type="text"] {
        width: 100%;
        margin-bottom: 5px;
        margin-left: 0;
    }

*/



@media (max-width: 640px) {

  #main-container {
        margin: 0; 
        border-radius: 0; 
        box-shadow: none; 
        padding: 0 5px; 
    }
    
    #site-content { 
        flex-direction: column;
        padding: 0px; 
        gap: 0; 
    }

   #right-sidebar, #left-sidebar, #main-content {
        width: 100%;
        flex-basis: auto; 
        flex-grow: 1; 
        flex-shrink: 1;
        margin-bottom: 5px;
    }
    



/*
    #right-sidebar, #left-sidebar, #main-content {
        width: 100%;
        flex-basis: auto; 
        flex-grow: 1; 
        flex-shrink: 1;
        padding: 0;
        margin-bottom: 5px;
    }
 */   
 
 
 
#main-content {
        padding: 0 5px; 
        order: 2; 
        margin-bottom: 5px; 
    }
    #right-sidebar { 
        order: 1; 
        padding: 0;
    }
    #left-sidebar { 
        order: 3; 
        padding: 0;
    }
    
    
    
    
    
    
 #main-header { padding: 0px 5px; }
    	.header-content { flex-direction: column; }
    	.header-info { margin-top: 10px; }
			.site-logo img {
                  max-height: 3.5rem; 
                  margin-top: 2px;
                  margin-bottom: 2px;}
    
    
    
 #top-nav { padding: 0px 5px; }
    .nav-links { justify-content: center; }
    .nav-item { margin: 3px; }
    
    .footer-content { 
        flex-direction: column;
       align-items: center;
       }
       
       
    .designer-credit { 
    margin-top: 5px; 
    }





    .post-meta-details , .page-meta-details { flex-direction: column; }
    .meta-item { 
        margin-left: 0; 
        margin-bottom: 5px; 
        width: 100%;
    }
    
    
    
    
    h1 { font-size: 20px; }
    h2 { font-size: 16px; }
    h3 { font-size: 14px; }
    body { font-size: 13px; }
    
    
    
.search-widget button {
        width: 60px;
        padding: 5px 5px;
    }
    .search-widget input[type="text"] {
        width: 100%;
        margin-bottom: 5px;
        margin-left: 0;
    }




.download-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 5px;
    }
    
    .download-item:last-child {
        margin-bottom: 0;
    }
    
    
    .download-box .text-container {
        width: 100%;
        margin-left: 0;
        align-items: center; 
        text-align: center;
        margin-bottom: 5px; 
    }
    .download-box .download-btn {
        width: 100%;
    }




   .pagination a, .pagination span {
        padding: 4px 5px;
        margin: 0 2px;
        font-size: 12px;
    }



}




/* 7. Responsiveness */
@media (max-width: 992px) {
#right-sidebar, #left-sidebar { 
        flex-basis: 0%;
        flex-grow: 1; 
        flex-shrink: 1; 
        padding: 0;
    }
    #main-content {
        flex-basis: 0%;
        flex-shrink: 1;
        flex-grow: 2;
       padding: 0 5px;
    }
    
    
    
#main-header {
    background-color: #172A40;
    padding: 5px;
    color: #FFFFFF;
    border-bottom: 5px solid #FFC300;
}

.header-content {
}

.site-logo img {
	max-height: 4rem;  
	max-width: 100%;
    height: auto;
	margin: 2px;
}


.header-info {
    font-size: 11px;
}


.header-date { margin-left: 10px; }

.header-date i { margin-left: 2px; }


    .read-more-btn { 
        float: none;
        width: 100%;
        text-align: center; 
    }
    
    .read-more-btn a { 
    		display: block;
   }
   
}
    

    
    


.pagination-section {
    clear: both;
    text-align: center;
    margin: 20px 0;
}
.pagination {
    display: inline-block;
    padding: 0;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
    font-weight: 700;
}

.pagination.style3 a, .pagination.style3 span { border-radius: 50px; }
.pagination.style3 a { color: #6c757d; border: 1px solid #6c757d; background-color: #FFF; }
.pagination.style3 a:hover { background-color: #FFC300; color: #172A40; border-color: #FFC300; }
.pagination.style3 span.current { background-color: #172A40; color: white; border: 1px solid #172A40; }






.download-box {
    direction: rtl;
    background-color: #f0f8ff;
    border-right: none;
    border-left: 8px solid #007bff;
    padding: 15px;
    border-radius: 0 5px 5px 0;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-family: 'Samim', Tahoma, sans-serif;
}

.download-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #c0d8f0;
}

.download-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.download-box .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: right;
    flex-grow: 1;
    margin-left: 20px;
}

.download-box .box-title {
    color: #333;
    font-size: 15px;
    margin: 0;
    padding: 0;
}

.download-box .box-size {
    color: #666;
    font-size: 13px;
    margin: 3px 0 0 0;
}

.download-box .download-btn {
    background-color: #007bff;
    color: #fff;
    padding: 7px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-box .download-btn i {
    margin-right: 5px;
}

.download-box .download-btn:hover {
    background-color: #0056b3;
    color: #fff;
}












