/*
Theme Name: Meqyas
Theme URI: https://meghyas.ir
Author: Meqyas Team
Author URI: https://meghyas.ir
Description: قالب اختصاصی مقیاس برای خدمات DevOps
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meqyas
Tags: rtl-language-support, custom-background, custom-logo, custom-menu, featured-images
*/

/* ریست استایل‌ها */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Vazirmatn", sans-serif;
  direction: rtl;
  background: linear-gradient(to bottom, #000000, #1a1a2e, #0f3460);
  color: #ffffff;
  min-height: 100vh;
}

/* هدر */
.site-header {
  padding: 1rem 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.main-navigation ul li {
  position: relative;
}

.main-navigation ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.main-navigation ul li a:hover {
  color: #3b82f6;
}

.main-navigation ul li a svg {
  margin-right: 0.25rem;
  width: 16px;
  height: 16px;
}

.login-button {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-family: "Vazirmatn", sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #2563eb;
}

/* بخش قهرمان */
.hero-section {
  padding: 5rem 0;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
  }
}

.hero-content {
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    width: 50%;
    text-align: right;
    margin-bottom: 0;
  }
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-title .highlight-cyan {
  color: #3b82f6;
}

.hero-title .highlight-pink {
  color: #3b82f6;
}

.hero-description {
  font-size: 1.125rem;
  color: #d1d5db;
  margin-bottom: 2rem;
}

.hero-cta {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  border-radius: 0.25rem;
  font-family: "Vazirmatn", sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-cta:hover {
  background-color: #2563eb;
}

.hero-card {
  width: 100%;
}

@media (min-width: 768px) {
  .hero-card {
    width: 50%;
  }
}

.card {
  background: linear-gradient(to right, rgba(30, 58, 138, 0.2), rgba(59, 130, 246, 0.2));
  border-radius: 0.75rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.card-description {
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 0.5rem;
}

.feature-title {
  font-weight: 500;
  color: white;
}

.feature-description {
  font-size: 0.875rem;
  color: #d1d5db;
}

/* بخش ویژگی‌ها */
.features-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, rgba(17, 24, 39, 0.5), rgba(30, 58, 138, 0.5));
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.section-description {
  color: #d1d5db;
  max-width: 36rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(30, 58, 138, 0.4));
  border-radius: 0.75rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

.feature-icon {
  background-color: rgba(59, 130, 246, 0.2);
  width: fit-content;
  padding: 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: #60a5fa;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.feature-card-description {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.feature-link {
  display: flex;
  align-items: center;
  color: #60a5fa;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
}

.feature-link:hover {
  color: #3b82f6;
}

.feature-link svg {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
}

/* بخش پکیج‌ها */
.pricing-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(30, 58, 138, 0.5));
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(30, 58, 138, 0.2));
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.pricing-card.featured {
  border: 2px solid rgba(59, 130, 246, 0.5);
  transform: scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pricing-badge {
  background-color: #3b82f6;
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-content {
  padding: 2rem;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.price-amount {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.price-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
}

.price-period {
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.setup-fee {
  color: #60a5fa;
  font-size: 0.875rem;
}

.pricing-button {
  display: block;
  width: 100%;
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-family: "Vazirmatn", sans-serif;
  cursor: pointer;
  text-align: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

.pricing-button:hover {
  background-color: #2563eb;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
}

.feature-check {
  background-color: rgba(16, 185, 129, 0.2);
  padding: 0.25rem;
  border-radius: 9999px;
  margin-left: 0.5rem;
  margin-top: 0.25rem;
}

.feature-check svg {
  width: 12px;
  height: 12px;
  color: #10b981;
}

.feature-text {
  color: #d1d5db;
  font-size: 0.875rem;
}

.pricing-cta {
  margin-top: 3rem;
  text-align: center;
}

.pricing-cta-text {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.pricing-cta-button {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.5rem 2rem;
  border-radius: 0.25rem;
  font-family: "Vazirmatn", sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pricing-cta-button:hover {
  background-color: #2563eb;
}

/* بخش خدمات */
.services-section {
  padding: 4rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(30, 58, 138, 0.2));
  border-radius: 0.75rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-feature {
  display: flex;
  align-items: flex-start;
}

.service-check {
  background-color: rgba(16, 185, 129, 0.2);
  padding: 0.25rem;
  border-radius: 9999px;
  margin-left: 0.75rem;
  margin-top: 0.25rem;
}

.service-check svg {
  width: 16px;
  height: 16px;
  color: #10b981;
}

.service-text {
  color: #d1d5db;
}

/* بخش تماس */
.contact-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, rgba(30, 58, 138, 0.5), rgba(0, 0, 0, 0.8));
}

.contact-container {
  max-width: 48rem;
  margin: 0 auto;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(30, 58, 138, 0.2));
  border-radius: 0.75rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.contact-description {
  color: #d1d5db;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #e5e7eb;
}

.form-input,
.form-textarea {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-family: "Vazirmatn", sans-serif;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.form-submit {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-family: "Vazirmatn", sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit:hover {
  background-color: #2563eb;
}

/* فوتر */
.site-footer {
  background-color: #000000;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  margin-bottom: 1rem;
}

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

.footer-description {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: #d1d5db;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: white;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: white;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.contact-icon {
  color: #60a5fa;
  margin-left: 0.5rem;
  margin-top: 0.25rem;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-text {
  color: #d1d5db;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* موبایل منو */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-items {
  list-style: none;
  margin-top: 3rem;
}

.mobile-menu-item {
  margin-bottom: 1.5rem;
}

.mobile-menu-link {
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  display: block;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-menu-link:hover {
  color: #3b82f6;
}

/* استایل‌های صفحه نوشته تکی */
.single-post-container {
  flex: 1;
  max-width: 100%;
}

@media (min-width: 992px) {
  .single-post-container {
    max-width: 70%;
  }
}

.widget-area {
  width: 100%;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .widget-area {
    width: 30%;
    margin-top: 0;
  }
}

/* اضافه کردن کلاس single به همه استایل‌های مربوط به صفحه نوشته تکی */
body.single .site-main {
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
}

@media (min-width: 992px) {
  body.single .site-main {
    flex-direction: row;
    gap: 2rem;
  }
}

.single-post {
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(30, 58, 138, 0.2));
  border-radius: 0.75rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.post-header {
  margin-bottom: 2rem;
}

.post-thumbnail {
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.featured-image {
  width: 100%;
  height: auto;
  display: block;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.post-categories,
.post-date,
.post-author {
  display: flex;
  align-items: center;
  color: #d1d5db;
}

.meta-icon {
  width: 16px;
  height: 16px;
  margin-left: 0.5rem;
  color: #60a5fa;
}

.post-categories a,
.post-author a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-categories a:hover,
.post-author a:hover {
  color: #3b82f6;
}

.post-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
}

.single-post .post-content {
  color: #e5e7eb;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.single-post .post-content p,
.single-post .post-content ul,
.single-post .post-content ol,
.single-post .post-content blockquote {
  margin-bottom: 1.5rem;
}

.single-post .post-content h1,
.single-post .post-content h2,
.single-post .post-content h3,
.single-post .post-content h4,
.single-post .post-content h5,
.single-post .post-content h6 {
  color: white;
  margin: 2rem 0 1rem;
  font-weight: 700;
}

.single-post .post-content h2 {
  font-size: 1.75rem;
}

.single-post .post-content h3 {
  font-size: 1.5rem;
}

.single-post .post-content h4 {
  font-size: 1.25rem;
}

.single-post .post-content a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.single-post .post-content a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.single-post .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.single-post .post-content blockquote {
  border-right: 4px solid #3b82f6;
  padding: 1rem 1.5rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 0.25rem;
  font-style: italic;
}

.single-post .post-content code {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-family: monospace;
  font-size: 0.9em;
}

.single-post .post-content pre {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.single-post .post-content pre code {
  background-color: transparent;
  padding: 0;
}

.single-post .post-content ul,
.single-post .post-content ol {
  padding-right: 1.5rem;
}

.single-post .post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.single-post .post-content table th,
.single-post .post-content table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  text-align: right;
}

.single-post .post-content table th {
  background-color: rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.post-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.post-tags {
  display: flex;
  align-items: center;
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.post-tags svg {
  margin-left: 0.5rem;
  color: #60a5fa;
}

.tag-list a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.tag-list a:hover {
  color: #3b82f6;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.share-title {
  color: #d1d5db;
  font-size: 0.875rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  color: #d1d5db;
  transition: all 0.3s ease;
}

.share-button svg {
  width: 16px;
  height: 16px;
}

.share-button:hover {
  background-color: #3b82f6;
  color: white;
}

.author-bio {
  display: flex;
  gap: 1.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.5);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.author-description {
  color: #d1d5db;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.author-links {
  display: flex;
  gap: 1rem;
}

.author-website,
.author-posts {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #60a5fa;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-website:hover,
.author-posts:hover {
  color: #3b82f6;
}

.author-website svg,
.author-posts svg {
  width: 16px;
  height: 16px;
}

.related-posts {
  margin-bottom: 2rem;
}

.related-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .related-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-post {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.related-post:hover {
  transform: translateY(-5px);
}

.related-post-link {
  display: block;
  text-decoration: none;
}

.related-post-thumbnail {
  height: 160px;
  overflow: hidden;
}

.related-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post:hover .related-post-thumbnail img {
  transform: scale(1.05);
}

.related-post-thumbnail.no-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(59, 130, 246, 0.1);
}

.related-post-thumbnail.no-thumbnail svg {
  width: 48px;
  height: 48px;
  color: #60a5fa;
}

.related-post-content {
  padding: 1rem;
}

.related-post-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.related-post-date {
  font-size: 0.75rem;
  color: #9ca3af;
}

.post-navigation-container {
  margin-bottom: 2rem;
}

.post-navigation {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .post-navigation {
    flex-direction: row;
    justify-content: space-between;
  }
}

.nav-previous,
.nav-next {
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(30, 58, 138, 0.2));
  border-radius: 0.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
  flex: 1;
}

.nav-previous:hover,
.nav-next:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

.nav-subtitle {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.nav-title {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Comments */
.comments-area {
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(30, 58, 138, 0.2));
  border-radius: 0.75rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment {
  margin-bottom: 2rem;
}

.comment-body {
  position: relative;
  padding-right: 70px;
}

.comment-author {
  margin-bottom: 0.5rem;
}

.comment-author .avatar {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(59, 130, 246, 0.5);
}

.comment-author .fn {
  font-weight: 700;
  color: white;
  font-style: normal;
}

.comment-author .says {
  display: none;
}

.comment-metadata {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.comment-metadata a {
  color: #9ca3af;
  text-decoration: none;
}

.comment-metadata a:hover {
  color: #60a5fa;
}

.comment-content {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.reply {
  font-size: 0.875rem;
}

.reply a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.reply a:hover {
  color: #3b82f6;
}

.comment-respond {
  margin-top: 3rem;
}

.comment-reply-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.comment-form label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #e5e7eb;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-family: "Vazirmatn", sans-serif;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-form .required {
  color: #ef4444;
}

.comment-form .form-submit {
  margin-top: 1rem;
}

.comment-submit {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-family: "Vazirmatn", sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.comment-submit:hover {
  background-color: #2563eb;
}

.no-comments {
  text-align: center;
  color: #d1d5db;
  margin-top: 2rem;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
}

/* Sidebar */
body.single .widget-area {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(30, 58, 138, 0.2));
  border-radius: 0.75rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.widget ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.widget a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.widget a:hover {
  color: #3b82f6;
}

/* Search widget */
.widget_search .search-form {
  display: flex;
  gap: 0.5rem;
}

.widget_search .search-field {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-family: "Vazirmatn", sans-serif;
}

.widget_search .search-field:focus {
  outline: none;
  border-color: #3b82f6;
}

.widget_search .search-submit {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-family: "Vazirmatn", sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.widget_search .search-submit:hover {
  background-color: #2563eb;
}

/* Recent posts widget */
.widget_recent_entries li {
  margin-bottom: 0.75rem;
}

.widget_recent_entries .post-date {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

/* Categories widget */
.widget_categories li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget_categories .count {
  background-color: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

/* Tag cloud widget */
.widget_tag_cloud .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.widget_tag_cloud .tag-cloud-link {
  background-color: rgba(0, 0, 0, 0.3);
  color: #d1d5db;
  font-size: 0.75rem !important;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.widget_tag_cloud .tag-cloud-link:hover {
  background-color: #3b82f6;
  color: white;
}

/* Calendar widget */
.widget_calendar table {
  width: 100%;
  border-collapse: collapse;
}

.widget_calendar caption {
  color: white;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.widget_calendar th,
.widget_calendar td {
  padding: 0.25rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget_calendar th {
  background-color: rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.widget_calendar #today {
  background-color: rgba(59, 130, 246, 0.2);
  font-weight: 700;
}

.widget_calendar a {
  color: #60a5fa;
  font-weight: 700;
}

.widget_calendar a:hover {
  color: #3b82f6;
}
