@import url("/static/cdn_files/Font_Persian_Shabnam_Shabnam.css");

:root {
  --primary-color: #013366;
  --secondary-color: #28ab88;
  --background: #0f0a2e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Vazirmatn", sans-serif;
  color: #222;
  line-height: 1.6;
  direction: rtl;
  background-color: var(--background);
  overflow-x: hidden;
}


h6{
  padding: 10px;
  text-decoration: underline;
  font-size: 14px;
}
 

/* Added animated gradient orbs like Orbia */
.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #28ab88 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #013366 0%, transparent 70%);
  bottom: -250px;
  left: -250px;
  animation-delay: 5s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #1a5490 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}

.main {
  background-color: transparent;
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header styles are now in home2.css - removed duplicate styles */

/* Enhanced buttons with Orbia-style design */
.btn {
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 0.75rem;
  font-family: "Vazirmatn", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-icon {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 2.5;
  transition: transform 0.3s;
}

.btn:hover .btn-icon {
  transform: translateX(-3px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #28ab88 0%, #013366 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 171, 136, 0.3);
}

 

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 171, 136, 0.4);
}

 

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary-color);
}

/* Redesigned hero section with more compact, minimal layout */
.blog-hero {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

/* Background orbs for hero section */
.blog-hero-bg-orb {
  position: absolute;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.blog-hero-bg-orb-1 {
  top: -10rem;
  right: 20%;
  background: #013366;
  animation: float 15s ease-in-out infinite;
}

.blog-hero-bg-orb-2 {
  bottom: -10rem;
  left: 20%;
  background: #28ab88;
  animation: float 18s ease-in-out infinite reverse;
}

.blog-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background: rgba(40, 171, 136, 0.1);
  border: 1px solid rgba(40, 171, 136, 0.3);
  backdrop-filter: blur(10px);
  color: #7dd3b0;
  font-size: 0.875rem;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-out 0.1s both;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(40, 171, 136, 0.15);
  border-color: rgba(40, 171, 136, 0.4);
  transform: translateY(-2px);
}

.badge-icon {
  width: 1rem;
  height: 1rem;
  color: #28ab88;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: white;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
  background: linear-gradient(135deg, #28ab88 0%, #013366 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-description a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.hero-description a:hover,
.hero-description a:visited {
  color: #ffffff;
}

.hero-description a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

/* Enhanced search box with glassmorphism */
.search-container {
  width: 100%;
  margin-top: 1rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.3s;
}

.search-box:focus-within {
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(40, 171, 136, 0.1);
}

.search-icon {
  position: absolute;
  right: 1.5rem;
  width: 1.25rem;
  height: 1.25rem;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2;
  pointer-events: none;
}

.search-input {
  width: 93%;
  padding: 1.125rem 4rem 1.125rem 1.5rem;
  border: none;
  background: transparent;
  color: white;
  font-size: 1rem;
  font-family: "Vazirmatn", sans-serif;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-btn {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: linear-gradient(135deg, #28ab88 0%, #013366 100%);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.search-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: white;
  stroke-width: 2;
}

.search-btn:hover {
  background: linear-gradient(135deg, #2ec09d 0%, #014d8f 100%);
}

/* Added user stats section like Orbia */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* compact stat chips under hero */
.hero-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  backdrop-filter: blur(14px);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.hero-stat-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(40, 171, 136, 0.3);
  transform: translateY(-2px);
}

.hero-stat-icon {
  width: 1rem;
  height: 1rem;
  stroke: rgba(40, 171, 136, 0.8);
  flex-shrink: 0;
}

.hero-stat-chip-rating {
  white-space: normal;
}

.hero-stat-chip-rating .stars {
  display: inline-flex;
  gap: 0.15rem;
}

.hero-stat-chip-rating .stars svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: #fbbf24;
}

.hero-stat-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Redesigned categories section */
.categories-section {
  padding: 2rem 0 4rem;
  position: relative;
  z-index: 2;
}

.categories-wrapper {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(40, 171, 136, 0.3) transparent;
}

.categories-wrapper::-webkit-scrollbar {
  height: 6px;
}

.categories-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.categories-wrapper::-webkit-scrollbar-thumb {
  background: rgba(40, 171, 136, 0.3);
  border-radius: 10px;
}

.category-btn {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: "Vazirmatn", sans-serif;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.category-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(40, 171, 136, 0.5);
  color: white;
  transform: translateY(-2px);
}

.category-btn.active {
  background: linear-gradient(135deg, #28ab88 0%, #013366 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(40, 171, 136, 0.3);
}

/* Redesigned featured section with larger layout */
.featured-section {
  padding: 4rem 0;
  position: relative;
  z-index: 2;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: rgba(40, 171, 136, 0.1);
  border: 1px solid rgba(40, 171, 136, 0.3);
  color: #7dd3b0;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.badge-icon {
  width: 1rem;
  height: 1rem;
  color: #28ab88;
}

.featured-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.featured-card:hover {
  transform: translateY(-10px);
  border-color: rgba(40, 171, 136, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(40, 171, 136, 0.2);
}

.featured-image-wrapper {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card:hover .featured-image {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(15, 10, 46, 0.9), transparent);
  pointer-events: none;
}

.featured-tag {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #28ab88 0%, #013366 100%);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(40, 171, 136, 0.4);
}

.featured-content {
  padding: 3rem;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.meta-badge {
  background: rgba(40, 171, 136, 0.15);
  color: #28ab88;
  padding: 0.375rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

.meta-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.featured-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.featured-description {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.author-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(40, 171, 136, 0.3);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-name {
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.author-role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Redesigned blog grid with modern cards */
.blog-section {
  padding: 5rem 0 6rem;
  position: relative;
  z-index: 2;
  background: #ffffff; /* کل عرض این بخش سفید */
}

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

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(40, 171, 136, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-category {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(40, 171, 136, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(40, 171, 136, 0.3);
}

.blog-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.meta-dot {
  color: rgba(255, 255, 255, 0.3);
}

.blog-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: white;
  line-height: 1.4;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-description {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

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

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.blog-card-author img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.blog-card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-color);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.blog-card-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s;
}

.blog-card-link:hover {
  color: #3dc09f;
}

.blog-card-link:hover svg {
  transform: translateX(-4px);
}

/* Load More */
.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* Redesigned newsletter with glassmorphism */
.newsletter-section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
  background: #ffffff; /* ادامه پس‌زمینه سفید بعد از بلاگ */
}

.newsletter-container {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 2rem;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.newsletter-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(40, 171, 136, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.newsletter-icon {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #28ab88 0%, #013366 100%);
  box-shadow: 0 10px 30px rgba(40, 171, 136, 0.3);
}

.newsletter-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: white;
  stroke-width: 2;
}

.newsletter-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.newsletter-description {
  font-size: 1.0625rem;
  color: #4b5563;
  line-height: 1.7;
  max-width: 600px;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 550px;
}

.newsletter-input-wrapper {
  position: relative;
  flex: 1;
}

.newsletter-input-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  stroke: #9ca3af;
  stroke-width: 2;
  pointer-events: none;
}

.newsletter-input {
  width: 100%;
  padding: 1rem 3.5rem 1rem 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  font-size: 1rem;
  font-family: "Vazirmatn", sans-serif;
  transition: all 0.3s;
}

.newsletter-input::placeholder {
  color: #9ca3af;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(40, 171, 136, 0.1);
}


/* Blog Section - Two Column Layout */
.blog-section {
  padding: 4rem 0;
  position: relative;
  z-index: 2;
}

.blog-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
  padding-top: 1rem;
}

/* Main Content Column */
.blog-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Post Card Styles */
.post-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  overflow: hidden;
  backdrop-filter: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.post-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 54%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover .post-image img {
  transform: scale(1.1);
}

.post-content {
  padding: 2.5rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.post-author {
  color: #111827;
}

.meta-separator {
  color: #d1d5db;
}

.post-date {
  color: #4b5563;
}

.post-comments {
  color: #6b7280;
}

.post-category {
  color: #0d7a5f;
  font-weight: 600;
}

.post-reading-time {
  color: #6b7280;
}

.post-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.post-title a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

.post-title a:hover {
  opacity: 0.8;
}

.post-excerpt {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0d7a5f;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.read-more-link svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.3s;
}

.read-more-link:hover {
  color: #0a5f4a;
  gap: 0.75rem;
}

.read-more-link:hover svg {
  transform: translateX(-4px);
}

/* Sidebar Styles */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-widget {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 2rem;
  backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

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

.search-widget-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  font-size: 0.9375rem;
  font-family: "Vazirmatn", sans-serif;
  transition: all 0.3s;
}

.search-widget-input::placeholder {
  color: #9ca3af;
}

.search-widget-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: #ffffff;
}

.search-widget-btn {
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-widget-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.search-widget-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 171, 136, 0.3);
}

/* Category Widget */
.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-item {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.75rem;
}

.category-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #374151;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s;
  padding: 0.5rem 0;
}

.category-link svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.5;
  transition: all 0.3s;
}

.category-link:hover {
  color: #0d7a5f;
  padding-right: 0.5rem;
}

.category-link:hover svg {
  opacity: 1;
  transform: translateX(-4px);
}

/* Recent Posts Widget */
.recent-posts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.recent-post-item {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1.25rem;
}

.recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-link {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

.recent-post-link:hover {
  transform: translateX(-4px);
}

.recent-post-image {
  width: 80px;
  height: 80px;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.recent-post-link:hover .recent-post-image img {
  transform: scale(1.1);
}

.recent-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recent-post-date {
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
}

.recent-post-title {
  font-size: 0.9375rem;
  color: #111827;
  line-height: 1.5;
  font-weight: 600;
  transition: color 0.3s;
}

.recent-post-link:hover .recent-post-title {
  color: #0d7a5f;
}

/* Tags Widget */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.tag:hover {
  background: #e0f2fe;
  border-color: #0d7a5f;
  color: #0d7a5f;
  transform: translateY(-2px);
}

/* Pagination */
.pagination-wrapper {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  text-decoration: none;
  transition: all 0.3s;
}

.pagination-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: #374151;
}

.pagination-btn:hover {
  background: #f9fafb;
  border-color: #0d7a5f;
  color: #0d7a5f;
}

.pagination-btn:hover svg {
  stroke: #0d7a5f;
}

.pagination-number {
  min-width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.pagination-number:hover {
  background: #f9fafb;
  border-color: #0d7a5f;
  color: #0d7a5f;
}

.pagination-number.active {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(40, 171, 136, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-sidebar {
    position: static;
  }
  .hero-title {
    font-size: 3.5rem;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }
  
  .post-image {
    height: 300px;
  }
  
  .post-title {
    font-size: 1.5rem;
  }

  .newsletter-container {
    padding: 3rem 2rem;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding: 6rem 0 4rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    display: none;
  }

  .featured-image-wrapper {
    height: 300px;
  }

  .featured-content {
    padding: 2rem 1.5rem;
  }

  .featured-title {
    font-size: 1.75rem;
  }

  .blog-card-content {
    padding: 1.5rem;
  }
}

/* Blog Detail Page Styles - یکپارچه با blog2.html */
.blog-detail-wrapper {
  position: relative;
  min-height: 100vh;
  background-color: var(--background);
}

.blog-detail-hero {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.blog-detail-hero-bg-orb {
  position: absolute;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.blog-detail-hero-bg-orb-1 {
  top: -10rem;
  right: 20%;
  background: #013366;
  animation: float 15s ease-in-out infinite;
}

.blog-detail-hero-bg-orb-2 {
  bottom: -10rem;
  left: 20%;
  background: #28ab88;
  animation: float 18s ease-in-out infinite reverse;
}

.blog-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.blog-detail-cover-wrapper {
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-detail-cover-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-detail-cover-wrapper:hover img {
  transform: scale(1.02);
}

.blog-detail-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

.blog-detail-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  background: rgba(40, 171, 136, 0.1);
  border: 1px solid rgba(40, 171, 136, 0.3);
  color: #7dd3b0;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.blog-detail-category:hover {
  background: rgba(40, 171, 136, 0.15);
  border-color: rgba(40, 171, 136, 0.4);
  transform: translateY(-2px);
}

.blog-detail-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-top: 1.5rem;
}

.blog-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-detail-meta-item svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: rgba(40, 171, 136, 0.8);
}

.blog-detail-content {
  background: #ffffff;
  border-radius: 0;
  padding: 4rem 0;
  margin-top: 0;
  position: relative;
  z-index: 2;
  box-shadow: none;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  width: 100%;
}

.blog-detail-content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 3rem;
}

.blog-detail-content-wrapper article h1,
.blog-detail-content-wrapper article h2,
.blog-detail-content-wrapper article h3,
.blog-detail-content-wrapper article h4,
.blog-detail-content-wrapper article h5 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.blog-detail-content-wrapper article h1 {
  font-size: 2.25rem;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 1rem;
}

.blog-detail-content-wrapper article h2 {
  font-size: 1.875rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.75rem;
  color: var(--primary-color);
}

.blog-detail-content-wrapper article h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.blog-detail-content-wrapper article h4 {
  font-size: 1.25rem;
  color: #374151;
}

.blog-detail-content-wrapper article h5 {
  font-size: 1.125rem;
  color: #4b5563;
}

.blog-detail-content-wrapper article p {
  font-size: 1.125rem;
  line-height: 1.95;
  color: #4b5563;
  margin-bottom: 1.5rem;
  max-width: none;
}

.blog-detail-content-wrapper article ul,
.blog-detail-content-wrapper article ol {
  margin-bottom: 1.5rem;
  padding-right: 1.5rem;
}

.blog-detail-content-wrapper article li {
  font-size: 1.125rem;
  line-height: 1.95;
  color: #4b5563;
  margin-bottom: 0.75rem;
  list-style-type: none !important;

}

.blog-detail-content-wrapper article li strong {
  color: #0f172a;
  font-weight: 600;
}

.blog-detail-content-wrapper article table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  background: white;
}

.blog-detail-content-wrapper article table thead {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: white;
}

.blog-detail-content-wrapper article table th {
  padding: 1rem 1.25rem;
  text-align: right;
  font-weight: 600;
  font-size: 0.9375rem;
}

.blog-detail-content-wrapper article table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9375rem;
  color: #4b5563;
}

.blog-detail-content-wrapper article table tbody tr:hover {
  background: #f9fafb;
}

.blog-detail-content-wrapper article table tbody tr:last-child td {
  border-bottom: none;
}

.blog-detail-content-wrapper article hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2.5rem 0;
}

.blog-detail-content-wrapper article .row {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0;
  gap: 1.5rem;
}

.blog-detail-content-wrapper article .col-md-6 {
  flex: 1;
  min-width: 300px;
}

.blog-detail-content-wrapper article .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: "Vazirmatn", sans-serif;
}

.blog-detail-content-wrapper article .btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 171, 136, 0.3);
}

.blog-detail-content-wrapper article .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 171, 136, 0.4);
}

.blog-detail-navigation {
  background: #f9fafb;
  border-radius: 1.5rem;
  padding: 2rem;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid #e5e7eb;
}

.blog-detail-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  background: white;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  transition: all 0.3s;
  border: 1px solid #e5e7eb;
  flex: 1;
}

.blog-detail-nav-link:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateX(-4px);
}

.blog-detail-nav-link.prev {
  text-align: right;
}

.blog-detail-nav-link.next {
  text-align: left;
  flex-direction: row-reverse;
}

.blog-detail-nav-link svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
}

@media (max-width: 768px) {
  .blog-detail-title {
    font-size: 2rem;
  }

  .blog-detail-content {
    padding: 2rem 0;
  }

  .blog-detail-content-wrapper {
    padding: 0 1.5rem;
  }

  .blog-detail-content-wrapper article h1 {
    font-size: 1.75rem;
  }

  .blog-detail-content-wrapper article h2 {
    font-size: 1.5rem;
  }

  .blog-detail-navigation {
    flex-direction: column;
  }

  .blog-detail-nav-link {
    width: 100%;
  }

  .blog-detail-cover-wrapper {
    border-radius: 1rem;
  }
}
