
/* Webfont: Yekan */
@font-face {
	font-family: 'Yekan';
	src:	url('fonts/yekan/Yekan.eot'); /* IE9 Compat Modes */
	src:	url('fonts/yekan/Yekan.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
			url('fonts/yekan/Yekan.woff2') format('woff2'), /* Modern Browsers */
			url('fonts/yekan/Yekan.woff') format('woff'), /* Modern Browsers */
			url('fonts/yekan/Yekan.otf') format('opentype'), /* Open Type Font */	
			url('fonts/yekan/Yekan.ttf') format('truetype'); /* Safari, Android, iOS */
	font-weight: normal;
	font-style: normal;
	text-rendering: optimizeLegibility;
	font-display: auto;
}

/* RTL-specific styles */
* {
    font-family: 'Yekan';
}
body {
    text-align: right;
    font-family: 'Yekan';
}

.content-area {
    padding-right: 2rem;
}

.main-navigation li {
    margin-left: 0;
    margin-right: 1.5rem;
}

blockquote {
    border-left: none;
    border-right: 4px solid #eee;
    padding-left: 0;
    padding-right: 1rem;
}

.post-meta > * {
    margin-right: 0;
    margin-left: 1rem;
}

ul, ol {
    padding-left: 0;
    padding-right: 2rem;
}

/* Fix RTL for form elements */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    text-align: right;
}

/* RTL for comments */
.comment-author .avatar {
    float: right;
    margin-right: 0;
    margin-left: 1rem;
}

/* RTL for widgets */
.widget ul {
    padding-right: 1.5rem;
    padding-left: 0;
}

/* RTL for pagination */
.nav-previous {
    float: right;
}

.nav-next {
    float: left;
    text-align: left;
}

@media (max-width: 768px) {
    .content-area {
        padding-right: 0;
    }
}


/* 

*/

.site-header {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    position: sticky;
    top: 0px;
    z-index: 1000;
}

.header-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper img {
    max-height: 60px;
    height: auto;
    width: auto;
}

.site-title a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.site-description {
    font-size: 0.9rem;
    color: #777;
}

.main-navigation {
    position: relative;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.main-navigation a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #0073aa;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: #0073aa;
}

@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
        display: none;
        background: #f9f9f9;
        padding: 10px;
        border-radius: 8px;
        position: absolute;
        top: 100%;
        right: 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

    .main-navigation.active ul {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}


/* 

*/


.site-footer {
    background-color: #f5f5f5;
    padding: 40px 20px;
    direction: rtl;
    text-align: right;
    font-family: 'IRANSans', sans-serif;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
  }
  
  .footer-column {
    flex: 1 1 220px;
    margin: 20px;
  }
  
  .footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 10px;
  }
  
  .footer-column ul li a {
    color: #444;
    text-decoration: none;
  }
  
  .footer-column ul li a:hover {
    text-decoration: underline;
  }
  
  .footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
  }
  
  .social-icons a img {
    width: 24px;
    margin-left: 10px;
    vertical-align: middle;
  }
  
  .footer-text {
    color: #000;

  }
  .footer-logo img {
    width: 80px;
    height: 80px;
  }