@font-face {
  font-family: vazir;
  src: url('../fonts/vazir.ttf');
}

html,
body {

  font-family: vazir !important;
  font-size: 0.95vw;
}

p,
span,
a {
  font-family: vazir !important;
}

@media screen and (max-width: 1024px) and (min-width: 500px) {

  html,
  body {
    font-size: 3.2vw;
  }
}

@media screen and (max-width: 1024px) {

  html,
  body {
    font-size: 4.443vw;
  }
}



/* =============== app styles =================   */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.blog-card {
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.gallery-item {
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


header .logo {
  width: 6.5rem;
}

#mobile-menu {
  overflow: scroll;
}

header .logo img {
  object-fit: contain;
}

@media screen and (min-width : 1024px) {

  header .logo {
    width: 16.5rem;
  }

  header .menu-item>a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .desktop-submenu .menu-item svg {
    transform: rotate(90deg);
  }
}


/* ======================== footer  */
.footer-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  background-color: #14b8a6;
}

.footer-link {
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #14b8a6;
  transform: translateY(-1px);
}

.cta-button {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.footer-separator {
  background: linear-gradient(to right, transparent, #3b82f6, transparent);
  height: 1px;
}

.svg-icon {
  width: 1.5rem;
  flex-shrink: 0;
  height: 1.5rem;
  fill: currentColor;
}

#comment {
  width: 100%;
}


header#site-header a {
  font-size: 1rem;
  color: #212121 !important;

}

input,
textarea {
  border: 1px solid #555454;

}

.text-primary-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1)) !important;
}

.text-gray-600 {
  color: #212121 !important;

}


.bg-primary-500 {
  background-color: #1d4ed8 !important;
}


.elementor-element.elementor-element-6f66e61 .elementor-heading-title,
.elementor-element.elementor-element-46a1418d span.post-navigation__prev--label,
.elementor-element.elementor-element-46a1418d span.post-navigation__next--label,
.elementor-element.elementor-element-46a1418d span.post-navigation__prev--title,
.elementor-element.elementor-element-46a1418d span.post-navigation__next--title {
  font-family: vazir !important;
}


.wp-singular p {
  line-height: 2rem;
  margin-bottom: 0.5rem;
}

.entry-content {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border-radius: 1.2rem;
  padding: 2rem 2.5rem;
  line-height: 1.9;
  color: #222;
  font-size: 1rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* تیترها */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #111;
  margin: 2rem 0 1rem;
  line-height: 1.4;
  font-weight: 600;
}

.entry-content h1 {
  font-size: 1.8rem;
  border-bottom: 2px solid #eee;
  padding-bottom: .6rem;
}

.entry-content h2 {
  font-size: 1.4rem;
  border-right: 4px solid #007acc;
  padding-right: .6rem;
}

.entry-content h3 {
  font-size: 1.2rem;
  color: #333;
}

/* پاراگراف‌ها */
.entry-content p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

/* لیست‌ها */
.entry-content ul,
.entry-content ol {
  margin: 1.2rem 1.5rem;
  padding: 0;
}

.entry-content li {
  margin-bottom: .6rem;
  line-height: 1.8;
}

/* تصاویر */
.entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border-radius: .8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.entry-content img:hover {
  transform: scale(1.02);
}

/* لینک‌ها */
.entry-content a {
  color: #007acc;
  text-decoration: none;
  border-bottom: 1px dashed #007acc;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.entry-content a:hover {
  color: #005fa3;
  border-color: #005fa3;
}

/* جدول‌ها */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow-x: auto;
  display: block;
}

.entry-content th,
.entry-content td {
  border: 1px solid #ddd;
  padding: .8rem 1rem;
  text-align: right;
}

.entry-content th {
  background: #f3f7fb;
  font-weight: 600;
}

/* iframe (ویدیوها) */
.entry-content iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: .8rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* فرم */
.entry-content form {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
}

.entry-content input,
.entry-content textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: .5rem;
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  background: #fff;
}

.entry-content input:focus,
.entry-content textarea:focus {
  border-color: #007acc;
  outline: none;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .entry-content {
    padding: 1.5rem;
    font-size: .95rem;
  }

  .entry-content h1 {
    font-size: 1.5rem;
  }

  .entry-content h2 {
    font-size: 1.25rem;
  }

  .entry-content h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .entry-content {
    padding: 1rem;
    font-size: .9rem;
  }

  .entry-content h1 {
    font-size: 1.3rem;
  }
}


/* ============================
   Content Single Handler Style
   ============================ */
/* ============================
   Content Single Handler Style (Landing Page Style)
   ============================ */

#content-single-handler {
  max-width: 56.25rem;
  padding: 2rem 1.25rem;
  line-height: 1.8;
  color: #212121;
  /* Changed to landing style color */
  text-align: justify;
  /* Added justify */
  background-color: #fefefe;
  /* Added background */
}

#content-single-handler header h1 {
  font-size: clamp(2.25rem, 5vw, 2.5rem);
  /* Changed to landing style sizing */
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-align: center;
  /* Kept center alignment for header */
}

#content-single-handler header {
  margin-bottom: 3rem;
  text-align: center;
}

/* متن اصلی - Landing Style */
#content-single-handler .prose {
  font-size: 1.25rem !important;
  /* Changed to landing style size */
  color: #212121;
  /* Changed to landing style color */
  line-height: 1.9;
  text-align: justify;
  word-break: break-word;
}

#content-single-handler .prose p {
  margin: 1.25rem 0;
  /* Changed to landing style margins */
  font-size: 1.25rem;
  /* Enforced landing style size */
  text-align: justify;
  line-height: 1.9;
}

#content-single-handler .prose h2 {
  font-size: 1.875rem;
  /* Changed to landing style sizing */
  font-weight: 700;
  color: #111827;
  margin-top: 2.5rem;
  /* Changed to landing style margin */
  margin-bottom: 1.25rem;
  /* Changed to landing style margin */
  line-height: 1.4;
  border-right: 4px solid #2dd4bf;
  /* Changed to landing style color */
  padding-right: 0.875rem;
  /* Changed to landing style padding */
}

#content-single-handler .prose h3 {
  text-align: right !important;
  font-size: 1.75rem;
  /* Changed to landing style sizing */
  font-weight: 600;
  margin-top: 2.5rem;
  /* Changed to landing style margin */
  margin-bottom: 1.25rem;
  /* Changed to landing style margin */
  color: #1f2937;
  border-right: 3px solid #5eead4;
  /* Added landing style border */
  padding-right: 0.75rem;
  /* Added landing style padding */
}

/* لیست‌ها - Landing Style */
#content-single-handler .prose ul,
#content-single-handler .prose ol {
  margin: 1.25rem 0 1.25rem 1.5rem;
  /* Changed to landing style margins */
  padding: 0;
  list-style: none;
  /* Changed to landing style */
  line-height: 1.8;
}

#content-single-handler .prose ul li,
#content-single-handler .prose ol li {
  position: relative;
  padding-right: 1rem;
  margin: 0.625rem 0;
  /* Changed to landing style margin */
}

#content-single-handler .prose ul li {
  padding-right: 1.5rem;
  /* Adjusted for custom bullet */
}

#content-single-handler .prose ul li::before {
  content: '';
  /* Changed to landing style bullet */
  position: absolute;
  right: -0.725rem;
  /* Changed to landing style position */
  top: 0.8em;
  width: 0.5em;
  height: 0.5em;
  background-color: #2563eb;
  /* Changed to landing style color */
  border-radius: 50%;
  transform: translateY(-50%);
}

#content-single-handler .prose ol {
  counter-reset: custom-counter;
}

#content-single-handler .prose ol li::before {
  counter-increment: custom-counter;
  content: counter(custom-counter) '.';
  position: absolute;
  right: -0.5rem;
  top: 0.8em;
  font-weight: 600;
  color: #2563eb;
  transform: translateY(-50%);
}

/* تصاویر - Landing Style */
#content-single-handler .prose img {
  display: block;
  margin: 1.5rem 0;
  /* Changed to landing style margins */
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  /* Changed to landing style border radius */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#content-single-handler .prose img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* بلوک ستاره‌ها یا امتیاز */
#content-single-handler .kk-star-ratings {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* نقل‌قول‌ها - Landing Style */
#content-single-handler blockquote {
  background: #f0fdfa;
  /* Changed to landing style background */
  border-right: 4px solid #14b8a6;
  /* Changed to landing style color */
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  /* Changed to landing style margin */
  border-radius: 0.5rem;
  color: #212121;
  /* Changed to landing style color */
  font-style: italic;
}

/* لینک‌ها - Landing Style */
#content-single-handler a {
  color: #2563eb;
  /* Kept landing style color */
  text-decoration: underline;
  /* Changed to landing style decoration */
  text-underline-offset: 0.25rem;
  /* Added landing style offset */
  transition: all 0.25s ease;
  border-bottom: none;
  /* Removed original border */
}

#content-single-handler a:hover {
  color: #1d4ed8;
  /* Changed to landing style hover color */
}

/* Code - Landing Style */
#content-single-handler .prose code {
  background-color: #dbeafe;
  /* Added landing style code block */
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #212121;
}

/* Tables - Landing Style */
#content-single-handler .prose table {
  width: fit-content;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  background-color: #fff;
  border: 0.0625rem solid #dbeafe;
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #93c5fd #f1f5f9;
}

#content-single-handler .prose table::-webkit-scrollbar {
  height: 0.5rem;
}

#content-single-handler .prose table::-webkit-scrollbar-thumb {
  background: #93c5fd;
  border-radius: 0.5rem;
}

#content-single-handler .prose th,
#content-single-handler .prose td {
  padding: 0.875rem 1rem;
  text-align: right;
  font-size: 0.9375rem;
  line-height: 1.7;
  border-bottom: 0.0625rem solid #e2e8f0;
}

#content-single-handler .prose th {
  background-color: #bfdbfe;
  font-weight: 600;
  color: #1e3a8a;
}

#content-single-handler .prose tbody tr:hover {
  background-color: #f1f5ff;
}

/* Horizontal Rule - Landing Style */
#content-single-handler .prose hr {
  border: none;
  border-top: 0.125rem solid #bfdbfe;
  margin: 3rem 0;
}

/* ============================
   Responsive - Landing Style
   ============================ */

@media (max-width: 1024px) {

  p,
  span,
  .wp-singular p,
  div {
    font-size: .875rem !important;
    line-height: 1.5rem !important;
  }

  #content-single-handler {
    font-size: 0.9375rem;
    /* Landing style responsive */
    line-height: 1.75;
  }

  #content-single-handler header h1 {
    font-size: 2rem;
    /* Landing style responsive */
  }

  #content-single-handler .prose h2 {
    font-size: 1.625rem;
    /* Landing style responsive */
  }


  #content-single-handler .prose ol li,
  #content-single-handler .prose ul li,
  #content-single-handler .prose p {
    font-size: .875rem;
  }

  #content-single-handler .prose h3 {
    font-size: 1.375rem;
    /* Landing style responsive */
  }
}

@media (max-width: 768px) {
  #content-single-handler {
    padding: 1.5rem 1rem;
    font-size: 0.875rem;
    /* Landing style responsive */
    line-height: 1.7;
  }

  #content-single-handler header h1 {
    font-size: 1.75rem;
    /* Landing style responsive */
  }

  #content-single-handler .prose {
    font-size: 1rem;
    /* Adjusted for mobile */
  }

  #content-single-handler .prose h2 {
    font-size: 1.5rem;
    /* Landing style responsive */
  }

  #content-single-handler .prose h3 {
    font-size: 1.25rem;
    /* Landing style responsive */
  }
}

@media (max-width: 480px) {
  #content-single-handler {
    padding: 1.25rem;
    font-size: 0.8125rem;
    /* Landing style responsive */
    line-height: 1.65;
  }

  #content-single-handler header h1 {
    font-size: 1.5rem;
    /* Landing style responsive */
  }

  #content-single-handler .prose h2 {
    font-size: 1.25rem;
    /* Landing style responsive */
  }

  #content-single-handler .prose h3 {
    font-size: 1.125rem;
    /* Landing style responsive */
  }

  #content-single-handler .prose {
    font-size: 0.95rem;
    /* Mobile adjustment */
  }
}

.m-0 {
  margin: 0 !important;
}

.image-CTA {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 100% !important;

}


/* ============================== */
/* Global Base Styles             */
/* ============================== */
.landing-page {
  text-align: justify;
  color: #212121;
  /* main text color */
  background-color: #fefefe;
  line-height: 1.8;
  font-size: 1rem;
  /* base = 16px */
}

/* ============================== */
/* Container                      */
/* ============================== */
.landing-page .container {
  max-width: 56.25rem;
  /* 900px */
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

/* ============================== */
/* Hero Section                   */
/* ============================== */
.landing-page .hero-section {
  background-color: #2563eb;
  /* primary-600 */
  color: #fff;
  text-align: center;
  padding: 4rem 1.25rem;
  margin-bottom: 3rem;
  position: relative;
}

.landing-page .hero-section .page-title {
  font-size: 2.5rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

/* ============================== */
/* Breadcrumbs                    */
/* ============================== */
.landing-page .breadcrumb-wrapper nav {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.85;
}

.landing-page .breadcrumb-wrapper a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.landing-page .breadcrumb-wrapper a:hover {
  color: #dbeafe;
}

/* ============================== */
/* Content Typography             */
/* ============================== */
.landing-page .content {
  font-size: 1rem;
  line-height: 1.9;
  color: #212121;
  word-break: break-word;
}

/* Headings */
.landing-page .content h1,
.landing-page .content h2,
.landing-page .content h3 {
  color: #111827;
  /* near black */

  font-weight: 700;
  line-height: 1.4;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.landing-page .content h1 {
  font-size: 2.25rem;
  border-right: 0.3125rem solid #14b8a6;
  /* secondary-500 */
  padding-right: 1rem;
}

.prose h2,
.landing-page .content h2 {
  font-size: 1.875rem;
  border-right: 0.25rem solid #2dd4bf;
  /* secondary-400 */
  padding-right: 0.875rem;
}

.prose h3,
.landing-page .content h3 {
  font-size: 1.75rem;
  border-right: 0.1875rem solid #5eead4;
  /* secondary-300 */
  padding-right: 0.75rem;
}

.swiper {
  width: 100%;
}

/* Paragraphs */
.prose p,
.landing-page .content,
.landing-page .content p {
  margin: 1.25rem 0;
  font-size: 1.25rem;
  text-align: justify;
  line-height: 1.9;
}

/* Links */
.landing-page .content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  transition: color 0.25s ease;
}

.landing-page .content a:hover {
  color: #1d4ed8;
}

/* Lists */
.landing-page .content ul,
.landing-page .content ol {
  margin: 1.25rem 0 1.25rem 1.5rem;
  padding: 0;
  list-style: none;
  line-height: 1.8;
}

.landing-page .content li {
  list-style-position: inside;
  margin: 0.625rem 0;
  position: relative;
}

/* Custom bullets */
.landing-page .content ul li::before {
  content: '';
  position: absolute;
  right: -.725rem;
  top: 0.8em;
  width: 0.5em;
  height: 0.5em;
  background-color: #2563eb;
  border-radius: 50%;
  transform: translateY(-50%);
}

.landing-page .content ol {
  counter-reset: custom-counter;
}

.landing-page .content ol li::before {
  counter-increment: custom-counter;
  content: counter(custom-counter) '.';
  position: absolute;
  right: 0;
  top: 0.8em;
  font-weight: 600;
  color: #2563eb;
  transform: translateY(-50%);
}

/* Blockquotes */
.landing-page .content blockquote {
  border-right: 0.25rem solid #14b8a6;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  font-style: italic;
  background-color: #f0fdfa;
  color: #212121;
  border-radius: 0.5rem;
}

/* Code */
.landing-page .content code {
  background-color: #dbeafe;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;

  font-size: 0.875rem;
  color: #212121;
}

/* Images */
.landing-page .content img {
  max-width: 100%;
  border-radius: 1rem;
  margin: 1.5rem 0;
}

/* Tables */
.landing-page .content table {
  width: fit-content;
  max-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  background-color: #fff;
  border: 0.0625rem solid #dbeafe;
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #93c5fd #f1f5f9;
}

.landing-page .content table::-webkit-scrollbar {
  height: 0.5rem;
}

.landing-page .content table::-webkit-scrollbar-thumb {
  background: #93c5fd;
  border-radius: 0.5rem;
}

.landing-page .content th,
.landing-page .content td {
  padding: 0.875rem 1rem;
  text-align: right;
  font-size: 0.9375rem;
  line-height: 1.7;
  border-bottom: 0.0625rem solid #e2e8f0;
}

.landing-page .content th {
  background-color: #bfdbfe;
  font-weight: 600;
  color: #1e3a8a;
}

.landing-page .content tbody tr:hover {
  background-color: #f1f5ff;
}

/* Horizontal Rule */
.landing-page .content hr {
  border: none;
  border-top: 0.125rem solid #bfdbfe;
  margin: 3rem 0;
}

/* ============================== */
/* Responsive Typography System   */
/* ============================== */
@media (max-width: 1024px) {
  .landing-page {
    font-size: 0.9375rem;
    /* 15px */
    line-height: 1.75;
  }

  .landing-page .content h1 {
    font-size: 2rem;
  }

  .landing-page .content h2 {
    font-size: 1.625rem;
  }

  .landing-page .content h3 {
    font-size: 1.375rem;
  }
}

@media (max-width: 768px) {
  .landing-page {
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.7;
  }

  .landing-page .content h1 {
    font-size: 1.75rem;
  }

  .landing-page .content h2 {
    font-size: 1.5rem;
  }

  .landing-page .content h3 {
    font-size: 1.25rem;
  }

  .landing-page .hero-section {
    padding: 3rem 1rem;
  }

  .landing-page .hero-section .page-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .landing-page {
    font-size: 0.8125rem;
    /* 13px */
    line-height: 1.65;
  }

  .landing-page .content h1 {
    font-size: 1.5rem;
  }

  .landing-page .content h2 {
    font-size: 1.25rem;
  }

  .landing-page .content h3 {
    font-size: 1.125rem;
  }
}


/* ================ comment form  */
/* Comment Form Styling */
.comment-respond {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.comment-respond:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.comment-respond::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #14b8a6);
  z-index: 10;
}

#reply-title {
  color: #1e293b;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

#reply-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #3b82f6;
  border-radius: 1px;
}

.comment-form {
  display: grid;
  gap: 1.25rem;
}

.comment-form p {
  margin-bottom: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #334155;
  font-weight: 500;
  font-size: 0.95rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
  color: #1e293b;
  font-family: inherit;
}

.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;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form .comment-form-comment {
  grid-column: 1 / -1;
}

.comment-form .form-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.comment-form .form-submit input[type="submit"] {
  background: linear-gradient(135deg, #3b82f6, #14b8a6);
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.comment-form .form-submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(59, 130, 246, 0.4);
}

.comment-form .form-submit input[type="submit"]:active {
  transform: translateY(0);
}

.comment-notes {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.required {
  color: #ef4444;
}

/* Checkbox styling */
.comment-form-cookies-consent input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  accent-color: #3b82f6;
}

.comment-form-cookies-consent label {
  display: inline;
  cursor: pointer;
}

/* Captcha section */
.comment-form p:last-child {
  background-color: #f1f5f9;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px dashed #cbd5e1;
}

#cancel-comment-reply-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1rem;
}

#cancel-comment-reply-link:hover {
  color: #3b82f6;
}


/* Comments Area Styling */
.comments-area {
  margin-top: 2.5rem;
}

.comments-area h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.comments-area h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #14b8a6);
  border-radius: 2px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  position: relative;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.comment:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.comment.depth-1 {
  border-left: 4px solid #3b82f6;
}

.comment.depth-2 {
  border-left: 4px solid #14b8a6;
  margin-left: 2rem;
}

.comment.depth-3 {
  border-left: 4px solid #8b5cf6;
  margin-left: 4rem;
}

.children {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 1rem;
}

.comment-body {
  position: relative;
}

.comment-author {
  gap: .25rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.comment-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 0.75rem;

  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.comment-author .fn {
  font-weight: 600;
  color: #1e293b;
}

.comment-author .fn a {
  color: inherit;
  text-decoration: none;
}

.comment-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.comment-meta a {
  color: #64748b;
  text-decoration: none;
}

.comment-meta a:hover {
  color: #3b82f6;
}

.comment-content {
  color: #334155;
  line-height: 1.7;
}

.comment-content p {
  margin-bottom: 0.75rem;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.reply {
  margin-top: 1rem;
}

.comment-reply-link {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.comment-reply-link:hover {
  background: #3b82f6;
  color: white;
}

.pingback {
  background: #f8fafc;
  border-left: 4px solid #cbd5e1;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.pingback .comment-body {
  font-size: 0.9rem;
  color: #64748b;
}

.pingback .comment-body a {
  color: #3b82f6;
  text-decoration: none;
}

.pingback .comment-body a:hover {
  text-decoration: underline;
}

.comment-edit-link {
  color: #94a3b8;
  font-size: 0.8rem;
  text-decoration: none;
  margin-left: 0.5rem;
}

.comment-edit-link:hover {
  color: #3b82f6;
}

/* Emoji styling */
.emoji {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  margin: 0 0.1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .comment.depth-2 {
    margin-left: 1rem;
  }

  .comment.depth-3 {
    margin-left: 2rem;
  }

  .comment {
    padding: 1.25rem;
  }

  .comment-author img {
    width: 40px;
    height: 40px;
  }
}

.zzzz {
  text-decoration: none;
}