/*
Theme Name: قالب دکتر امیرسرداری
Author: Gemini 2.5 Pro
Description: یک قالب سفارشی برای وبسایت دکتر ماندانا امیرسرداری.
Version: 1.0
*/

/* ==================== Google Fonts ==================== */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');

/* ==================== CSS Variables ==================== */
:root {
    --header-height: 4.5rem;
    --primary-color: #339AF0;
    --primary-color-light: #EBF4FF;
    --dark-color: #343A40;
    --text-color: #6C757D;
    --light-color: #FFFFFF;
    --body-bg: #F8F9FA;
    --section-bg: #FFFFFF;
    --font-family: 'Vazirmatn', sans-serif;
    --h1-font-size: 3rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    --transition: all 0.3s ease;
}

/* ==================== Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--normal-font-size);
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    color: var(--dark-color);
    font-weight: 600;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0 2rem;
}

.section__title {
    font-size: var(--h2-font-size);
    margin-bottom: 1rem;
}

.section__subtitle {
    margin-bottom: 3rem;
    color: var(--text-color);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn--primary:hover {
    background-color: #187bcd;
}

.btn--secondary {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
}

.btn--secondary:hover {
    background-color: #d8e9fd;
}

/* ... (کدهای Header, Nav, Hero از پاسخ قبلی اینجا کپی شود) ... */
/* NOTE: For brevity, I'm omitting the repeating CSS. Copy from the previous responsive answer. */

/* ==================== Header & Nav ==================== */
.header {
    width: 100%;
    background-color: var(--body-bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.nav__list {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary-color);
}

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

.nav__toggle,
.nav__close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    display: none;
}

/* ==================== Hero Section ==================== */
.hero {
    background-color: var(--primary-color);
    padding-top: calc(var(--header-height) + 6rem);
    overflow: hidden;
}

.hero__container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero__content {
    flex: 1;
}

.hero__title {
    font-size: var(--h1-font-size);
    color: var(--light-color);
    margin-bottom: 1rem;
}

.hero__description {
    color: var(--primary-color-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hero__image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-bg {
    width: 500px;
    height: 500px;
    background-color: var(--light-color);
    border-radius: 50%;
}

.hero__image {
    position: absolute;
    bottom: 0;
    max-width: 400px;
}

/* ==================== Services Section (NEW) ==================== */
.services {
    background-color: var(--section-bg);
}

.services__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.services__category-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color-light);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item__icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.service-item__name {
    font-weight: 500;
    color: var(--dark-color);
}

/* ==================== About Section (NEW) ==================== */
.about__container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about__image-container {
    flex: 0 0 300px;
}

.about__image {
    border-radius: 50%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 8px solid var(--light-color);
    box-shadow: var(--box-shadow);
}

.about__content {
    flex: 1;
}

.about__description {
    text-align: justify;
}

/* ==================== FAQ Section (NEW) ==================== */
.faq {
    background-color: var(--section-bg);
}

.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid #eee;
}

.faq__item:last-child {
    border-bottom: none;
}

.faq__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq__question {
    font-size: var(--h3-font-size);
    font-weight: 600;
    color: var(--dark-color);
}

.faq__icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq__answer {
    padding-bottom: 1.5rem;
    color: var(--text-color);
}

.faq__answer ul {
    list-style-type: '✔ ';
    padding-right: 20px;
}

.faq__answer ul li {
    margin-bottom: 0.5rem;
}

.faq__item.active .faq__content {
    max-height: 600px;
    /* A large enough value to show content */
}

.faq__item.active .faq__icon {
    transform: rotate(135deg);
}

/* ==================== Footer ==================== */
.footer {
    background-color: var(--primary-color);
    color: var(--primary-color-light);
    padding-top: 6rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 4rem;
}

.footer__title {
    color: var(--light-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer__link {
    color: var(--primary-color-light);
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.footer__link:hover {
    color: var(--light-color);
    padding-right: 5px;
}

.footer__socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer__social-link {
    color: var(--light-color);
    font-size: 1.2rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ==================== MEDIA QUERIES ==================== */
@media screen and (max-width: 768px) {
    .section {
        padding: 4rem 0 2rem;
    }

    /* Mobile Nav */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: hsla(0, 0%, 10%, .3);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transition: right 0.4s;
        z-index: 100;
    }

    .nav__list {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
        gap: 2rem;
    }

    .nav__link {
        color: var(--light-color);
        font-size: 1.5rem;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        color: var(--light-color);
    }

    .nav__toggle {
        display: block;
    }

    .show-menu {
        right: 0;
    }

    /* Stacking sections */
    .hero__container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about__container {
        flex-direction: column;
        text-align: center;
    }

    .services__container {
        grid-template-columns: 1fr;
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    :root {
        --h1-font-size: 2.2rem;
        --h2-font-size: 1.5rem;
    }

    .footer__container {
        grid-template-columns: 1fr;
    }

    .footer__col {
        text-align: center;
    }

    .footer__socials {
        justify-content: center;
    }
}



/* ==================== Intro Video Section ==================== */
.intro {
    background-color: var(--section-bg);
}

.intro__video-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.intro__video-cover {
    width: 100%;
    display: block;
    transition: transform 0.4s;
}

.intro__video-container:hover .intro__video-cover {
    transform: scale(1.05);
}

.intro__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 2px solid var(--light-color);
    transition: background-color 0.3s;
}

.intro__play-button i {
    font-size: 2rem;
    color: var(--light-color);
    margin-left: 5px; /* for perfect centering */
}

.intro__video-container:hover .intro__play-button {
    background-color: rgba(51, 154, 240, 0.8);
}

/* ==================== Video Modal Styles ==================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal__content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1001;
}

.video-modal__content video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--light-color);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-modal__close:hover {
    transform: scale(1.1);
}
/* ==================== Articles Section ==================== */
.articles {
    background-color: var(--section-bg);
}

.articles__container {
    padding-bottom: 3rem; /* Space for pagination */
}

.article__card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Important for equal height slides */
}

.article__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.article__card:hover .article__image {
    transform: scale(1.05);
}

.article__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Makes content area fill the space */
}

.article__title {
    font-size: var(--h3-font-size);
    margin-bottom: 0.75rem;
}

.article__title a {
    color: var(--dark-color);
    transition: color 0.3s;
}

.article__title a:hover {
    color: var(--primary-color);
}

.article__excerpt {
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Pushes the button to the bottom */
}

.article__excerpt p {
    margin: 0;
}

.article__button {
    color: var(--primary-color);
    font-weight: var(--font-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.article__button:hover {
    gap: 0.75rem;
}

/* Swiper Styles Override */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}


/* ==================== Testimonials Section ==================== */
.testimonials {
    background-color: var(--light-color); /* A different background to stand out */
}

.testimonials__container {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 3rem; /* Space for pagination */
}

.testimonial__card {
    background-color: var(--section-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
}

.testimonial__text {
    font-size: var(--normal-font-size);
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    position: relative;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.testimonial__text::before {
    content: '“';
    font-family: 'Times New Roman', Times, serif;
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    font-size: 3rem;
    color: var(--primary-color-alt);
    opacity: 0.5;
}

.testimonial__text::after {
    content: '”';
    font-family: 'Times New Roman', Times, serif;
    position: absolute;
    bottom: -2rem;
    left: -0.5rem;
    font-size: 3rem;
    color: var(--primary-color-alt);
    opacity: 0.5;
}

.testimonial__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonial__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial__author-info {
    text-align: right;
}

.testimonial__name {
    font-size: var(--h3-font-size);
    color: var(--dark-color);
    margin: 0;
}

.testimonial__rating {
    color: #FFC107; /* A warm yellow for stars */
}

/* Swiper pagination for testimonials */
.testimonials__container .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}
/* ==================== Services Section (New Layout) ==================== */
.services__categories-container {
    display: flex;
    justify-content: center;
    gap: 2rem; /* فاصله بین ستون‌های دسته‌بندی */
    align-items: flex-start; /* ستون‌ها از بالا تراز شوند */
    flex-wrap: wrap; /* در صورت نیاز به خط بعدی برود */
}

.services__category-column {
    flex: 1; /* هر ستون فضای مساوی بگیرد */
    min-width: 280px; /* حداقل عرض برای هر ستون */
    background-color: var(--section-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.services__category-title {
    font-size: var(--h3-font-size);
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.services__category-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.services__grid {
    display: flex;
    flex-direction: column; /* خدمات زیر هم قرار بگیرند */
    gap: 0.75rem;
}

.service-card {
    display: flex; /* آیکون و متن در یک راستا */
    align-items: center;
    gap: 1rem; /* فاصله بین آیکون و متن */
    padding: 1rem;
    border-radius: 8px;
    background-color: #fff;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: right; /* متن راست‌چین باشد */
}

.service-card:hover {
    background-color: var(--primary-color-light);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.service-card__icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    flex-shrink: 0; /* آیکون کوچک نشود */
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card__title {
    font-size: var(--normal-font-size);
    font-weight: 500;
    color: var(--dark-color);
    margin: 0; /* حذف مارجین پیش‌فرض */
}

/* حذف توضیحات باعث می‌شود نیازی به استایل آن نباشد */
.service-card__description {
    display: none;
}


/* رسپانسیوسازی برای موبایل */
@media screen and (max-width: 768px) {
    .services__categories-container {
        flex-direction: column; /* ستون‌ها زیر هم قرار بگیرند */
        gap: 1.5rem;
    }

    .services__category-column {
        width: 100%;
    }
}
.nav__list {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary-color);
}

.nav__toggle,
.nav__close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    display: none; /* آیکون‌های موبایل در دسکتاپ مخفی هستند */
}





/* single.php................................................... */
/* صفحه مقاله تکی - توان (نسخه بهبود‌یافته) */
.tavan-a-single-article {
  max-width: 1100px;
  /* عرض بیشتر */
  margin: 100px auto;
  padding: 20px;
  /* font-family: yekan, sans-serif; */
  line-height: 1.9;
  border-radius: 20px;
  color: #333;
  background: #fff;
}

.tavan-a-article-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 25px;
}

.tavan-a-article-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
  /* مشکی */
  line-height: 1.4;
}

.tavan-a-article-content {
  font-size: 17px;
  text-align: justify;
  margin-bottom: 45px;
}

.tavan-a-article-comments {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 2px solid #eee;
}

.tavan-a-article-comments h2,
.tavan-a-article-comments h3 {
  margin-bottom: 15px;
}


  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background-color: #fff;
    box-shadow: var(--box-shadow);
    transition: right 0.3s ease;
    padding: 2rem;
  }

  .show-menu {
    right: 0;
  }

  @media screen and (min-width: 768px) {
    .nav__toggle,
    .nav__close {
      display: none;
    }

    .nav__menu {
      position: static;
      width: auto;
      height: auto;
      background: none;
      box-shadow: none;
      padding: 0;
    }

    .nav__btn-desktop {
      display: inline-block;
    }
  }

  @media screen and (max-width: 767px) {
    .nav__btn-desktop {
      display: none;
    }

    .nav__toggle {
      display: block;
    }

    .nav__close {
      display: block;
    }
  }



.nav__list {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
}


/* ==================== Desktop Horizontal Menu Fix ==================== */
@media screen and (min-width: 769px) {
  /* خود لیست آیتم‌های منو */
  .nav__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end; /* یا center یا flex-start بسته به سلیقه‌ات */
    gap: 2.5rem; /* فاصله بین آیتم‌ها */
  }

  /* لینک‌های هر آیتم */
  .nav__link {
    font-size: 1rem;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
  }

  .nav__link:hover,
  .nav__link.active {
    color: var(--primary-color);
  }

  /* اطمینان از اینکه منو دیگه ثابت نیست */
  .nav__menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
  }

  /* مخفی کردن دکمه‌های موبایل */
  .nav__toggle,
  .nav__close {
    display: none !important;
  }
}
.nav__menu li a{
    color: black;
}

.hero__image-bg {
    width: 500px;
    height: 500px;
    background-color: var(--light-color);
    border-radius: 50%;
}

.hero__image {
    position: absolute;
    bottom: 0;
    max-width: 400px;
}
.wp-block-image{
	align-self: center !important;
    display: flex!important;
    justify-self: center !important;
    border-radius: 10px !important;
}
.wp-block-image:hover{
    border-radius: 20px!important;
}

/* کانتینر اصلی و عنوان (برای کامل بودن) */
.faq-container {
  max-width: 800px;
  margin: 40px auto;
  font-family: inherit;
}

.faq-title {
  text-align: center;
  color: #0f4c81; /* آبی کلاسیک پزشکی */
  margin-bottom: 25px;
  font-size: 1.5rem;
}

/* استایل هر آیتم FAQ */
.faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden; /* برای حفظ گوشه‌های گرد */
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* وقتی آیتم باز میشه، یه کادر طلایی خوشگل بگیره */
.faq-item[open] {
  border-color: #bfa15f; /* رنگ طلایی مات */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* استایل بخش سوال (مهمترین قسمت) */
.faq-question {
  position: relative; /* برای جای‌گذاری آیکون */
  padding: 15px 45px 15px 20px; /* فضای اضافه سمت چپ برای آیکون */
  cursor: pointer;
  font-weight: bold;
  color: #333;
  list-style: none; /* حذف فلش پیش‌فرض مرورگر */
  transition: background-color 0.2s ease;
  background-color: #f9f9f9;
}

/* حذف فلش پیش‌فرض در کروم و سافاری */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background-color: #f0f4f8;
}

/* === جادوی CSS اینجاست! === */
/* ساختن آیکون + با شبه‌عنصر ::after */
.faq-question::after {
  content: '+'; /* متن آیکون */
  position: absolute;
  left: 20px; /* جای‌گذاری در سمت چپ */
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400; /* برای اینکه پلاس خیلی بولد نباشه */
  color: #0f4c81;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* وقتی آیتم بازه، آیکون + رو به × تبدیل کن */
.faq-item[open] > .faq-question::after {
  transform: translateY(-50%) rotate(45deg); /* چرخش ۴۵ درجه‌ای برای ساختن ضربدر */
  color: #bfa15f; /* طلایی کردن آیکون در حالت باز */
}
/* === پایان جادوی CSS === */


/* استایل بخش جواب */
.faq-answer {
  padding: 0 20px 15px 20px; /* پدینگ بالا رو حذف می‌کنیم که به سوال نچسبه */
  color: #555;
  line-height: 1.6;
  background-color: #fff;
  animation: fadeIn 0.5s ease;
}

/* پاراگراف داخل جواب */
.faq-answer p {
  margin: 15px 0 0 0;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

/* انیمیشن برای نمایش نرم جواب */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* کانتینر برای ریسپانسیو شدن در موبایل */
.table-responsive-wrapper {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* استایل کلی جدول */
.medical-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  font-family: inherit; /* ارث‌بری فونت سایت */
  font-size: 0.95rem;
  min-width: 600px; /* جلوگیری از له شدن جدول در موبایل */
}

/* استایل هدر جدول */
.medical-comparison-table thead tr {
  background-color: #0073e6; /* رنگ اصلی برند دکتر (قابل تغییر) */
  color: #ffffff;
  text-align: right;
  font-weight: bold;
}

.medical-comparison-table th,
.medical-comparison-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eeeeee;
}

/* استایل ستون اول (عنوان ویژگی‌ها) */
.medical-comparison-table tbody tr td:first-child {
  background-color: #f9fbfd;
  font-weight: 600;
  color: #333;
  width: 20%;
}

/* رنگ‌بندی یکی در میان سطرها (Zebra Striping) */
.medical-comparison-table tbody tr:nth-of-type(even) {
  background-color: #fcfcfc;
}

/* هاور افکت برای تعامل بهتر */
.medical-comparison-table tbody tr:hover {
  background-color: #f1f7ff;
  transition: background-color 0.3s ease;
}

/* حذف بوردر آخرین سطر برای تمیزی */
.medical-comparison-table tbody tr:last-of-type td {
  border-bottom: 3px solid #0073e6; /* یک خط پایان شیک */
}

/* --- استایل باکس نکته (Note Box) --- */
.medical-note {
    background-color: #f0f7ff; /* آبی یخی خیلی ملایم */
    border-right: 4px solid #0073e6; /* خط تاکید سمت راست (رنگ اصلی برند) */
    border-radius: 0 8px 8px 0; /* گوشه‌های سمت چپ گرد میشن */
    padding: 15px 20px; /* فضای خالی داخلی */
    margin: 25px 0; /* فاصله از بالا و پایین */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* سایه خیلی محو */
    position: relative;
    transition: transform 0.3s ease;
}

/* افکت هاور (اختیاری - وقتی موس میره روش یکم تکون بخوره) */
.medical-note:hover {
    transform: translateX(-5px); /* یکم حرکت به سمت چپ برای تعامل */
    background-color: #e6f2ff;
}

/* --- استایل متن داخل تگ em --- */
.medical-note em {
    font-style: normal; /* حذف کج‌شدگی پیش‌فرض (چون تو فارسی بد خونده میشه) */
    font-weight: 700; /* بولد کردن متن */
    color: #0056b3; /* آبی تیره‌تر از متن عادی */
    font-size: 0.95rem;
    display: block; /* باعث میشه کل فضا رو پر کنه */
    line-height: 1.8;
}

/* --- (اختیاری) اضافه کردن کلمه "نکته:" با آیکون به صورت خودکار --- */
/* اگر دوست داشتی این تیکه رو بذار تا خودش یه آیکون خوشگل اضافه کنه */
.medical-note::before {
    content: '📌'; /* آیکون پین */
    font-size: 1.2rem;
    position: absolute;
    top: -12px;
    right: -10px; /* تنظیم جایگاه آیکون */
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
