 .section-main-poet {
     max-width: 85%;
     margin: 40px auto;
     padding: 0 20px;
   }
@media (max-width: 768px) {
  .section-main-poet { max-width: 98%; }
}
     .section-title {
     font-size: 1.4rem;
     color: #308497;
     margin-bottom: 20px;
     text-align: center;
   }
   

   /* کارت سفیدِ انتهایی */
.more-card {
  background: #ffffff !important;
  border: 2px dashed #308497;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;     /* قد کارت هماهنگ با بقیه */
}

.more-card-inner {
  text-align: center;
}

.more-card h3 {
  margin: 0 0 12px;
  color: #308497;
  font-size: 1rem;
}

.more-card .cta-sm {
  background: #308497;   /* هماهنگ با تم */
}

/* اسنپ‌شدنِ کارت پایانی هم مثل بقیه */
.more-card { scroll-snap-align: start; }


      /* ===========================
      فیلتر شاعران
      =========================== */
   .poet-filters {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     justify-content: center;
     margin-bottom: 20px;
   }
   .filter-btn {
     background: #f1f1f1;
     border: none;
     padding: 6px 14px;
     border-radius: 20px;
     cursor: pointer;
     font-size: .9rem;
     transition: all .3s ease;
   }
   .filter-btn.active {
     background: #24a19d;
     color: #fff;
   }
    /* ===========================
      اسلایدر شاعران
      =========================== */
   .poet-slider {
     display: flex;
     gap: 20px;
     overflow-x: auto;
     padding-bottom: 10px;
     justify-content: center;
   }
   .poet-card-lg {
     flex: 0 0 320px;
     background: linear-gradient(rgb(48 132 151), rgba(0, 47, 95, 0.6)) ! important;;
     border-radius: 12px;
     padding: 16px;
     box-shadow: 0 4px 12px rgba(0,0,0,0.06);
     transition: transform .3s ease;
     text-align: center;
   }

   /* موبایل: اسلاید اول کامل نمایش داده شود و کارت‌ها یکی‌یکی اسنپ شوند */
@media (max-width: 768px) {
  .poet-slider {
    justify-content: flex-start;        /* به‌جای center */
    overflow-x: auto;
    padding: 0 16px 10px;               /* کمی پدینگ کناری برای شروع/پایان */
    scroll-snap-type: x mandatory;      /* اسنپ افقی */
    scroll-padding: 16px;               /* اولین کارت کامل بیاد */
  }

  .poet-card-lg {
    scroll-snap-align: start;           /* هر کارت سرِ اسنپ بیفته */
    flex: 0 0 calc(100vw - 56px);       /* عرض کارت ≈ عرض ویوپورت منهای پدینگ‌ها */
    max-width: 420px;                    /* سقف معقول روی فبلت‌ها */
  }

  /* فضای کوچک انتهای اسلایدر تا کارت آخر به لبه نچسبه */
  .poet-slider::after {
    content: "";
    flex: 0 0 16px;
  }
}


   .poet-card-lg:hover {
     transform: translateY(-4px);
   }
   .poet-card-lg img {
     width: 100px; height: 100px;
     border-radius: 50%;
     object-fit: cover;
     border: 3px solid #308497;
     margin-bottom: 10px;

    margin: 0 auto;
    width: 105px;
    height: 105px;
   }
   .poet-info h3 {
     margin: 10px 0 6px;
     color: #b10700;
   }
   .poet-info p {
     font-size: .9rem;
     margin: 4px 0;
   }
   .poet-actions {
     margin-top: 10px;
     display: flex;
     justify-content: center;
     gap: 10px;
   }
   .cta-sm {
     background: #24a19d;
     color: #fff;
     padding: 6px 14px;
     border-radius: 6px;
     font-size: .85rem;
   }
   .fav-btn {
     background: none;
     border: none;
     font-size: 1.2rem;
     cursor: pointer;
     transition: transform .2s;
   }
   .fav-btn:hover {
     transform: scale(1.2);
     color: #e6bc23;
   }
   
      /* ===========================
      شاعر هفته
      =========================== */
   .poet-week-card {
    background: linear-gradient(rgb(48 132 151), rgba(0, 47, 95, 0.6)) ! important;
     max-width: 600px;
     margin: auto;
     padding: 24px;
     border-radius: 12px;
     text-align: center;
     box-shadow: 0 2px 10px rgba(0,0,0,0.06);
   }
   .poet-week-img {
     width: 100px; height: 100px;
     border-radius: 50%;
     object-fit: cover;
     border: 3px solid #308497;
     margin-bottom: 16px;

     
    margin: 0 auto;
  
   }
   .poet-week-info h3 {
     color: #50c8c4;
     font-size: 1.4rem;
     margin-bottom: 10px;
   }
   .poet-week-info p {
     font-size: .95rem;
     line-height: 1.6;
     margin-bottom: 16px;
   }

    .truncate {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* دو خط */
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;

  }

  .show-more {
    color: #24a19d;
    cursor: pointer;
    font-size: 0.9em;
    display: inline-block;
    display: flex;
    justify-content: center;
    font-weight: 600;
  }

   .user-post {
    max-width: 100%;
    height: auto;
    cursor: zoom-in;
    border-radius: 8px;
    object-fit: cover;
  }




  /* جهت RTL و استایل‌های پایه */
.fal-main { max-width: 100%; background-color: rgba(255,187,70,.43); margin: 73px 0; padding: 48px 24px; direction: rtl; }
.section-title { font-size: 32px; margin: 0; }

/* لایه‌بندی دو ستونه: راست (قالب/عکس) | چپ (لیست) */
.fal-container {
display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  max-width: 1100px;      /* حداکثر عرض کل دو ستون */
  margin: 0 auto;         /* وسط‌چین افقی */
  padding: 0 20px;   
}
@media (min-width: 992px) {
  .fal-container {    grid-template-columns: 420px 1fr;
    gap: 32px;}
}

/* هدر فال: عنوان + دکمه در یک خط */
.fal-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px;
}

/* دکمه */
.fal-btn {
  background: #ffb73a; color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 700; white-space: nowrap; transition: transform .15s ease, opacity .2s ease;
}
.fal-btn:hover { transform: translateY(-1px); opacity: .95; }

/* تصویر */
.fal-image { width: 100%; height: auto; border-radius: 12px; display: block; }

/* لیست فال‌ها */
.fal-list { 
    display: grid;
  grid-template-columns: 1fr;
  justify-items: center;   /* محتوا در محور افقی وسط */
  gap: 16px;
  margin-inline: auto;

 }

@media (min-width: 768px) {
  .fal-list { grid-template-columns: 1fr; }
}
@media (min-width: 1280px) {
  .fal-list { grid-template-columns: 1fr; }
}

/* کارت شعر/فال */
.poem-card {
 width: 100%;
  max-width: 640px;   
}
.poem-card__head { margin-bottom: 4px; }
.poem-card__title { font-size: 18px; margin: 0; line-height: 1.5; }
.poem-card__link { color: #222; text-decoration: none; }
.poem-card__link:hover { text-decoration: underline; }

.poem-card__body .full-line { margin: 8px 0; line-height: 1.9; }
.poem-card__desc { margin-top: 10px; color: #333; }

.excerpt { margin: 6px 0 0; }
.excerpt__link { color: #ffb73a; text-decoration: none; font-weight: 600; }
.excerpt__link:hover { text-decoration: underline; }

/* متای کارت: زمان/بیت/آیکون‌ها */
.poem-card__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,.06); padding-top: 10px; margin-top: 6px;
}
.icon { cursor: pointer; vertical-align: middle; }
.icon-heart.not-liked { stroke: #b10700; }
.icon-heart.liked { fill: #b10700; }
.icon-save.saved .save-path { fill: #333; }
.icon-save.not-saved .save-path { fill: #aaa; }

/* تیونینگ ریسپانسیو ریز */
@media (max-width: 480px) {
  .section-title { font-size: 26px; }
  .fal-btn { padding: 8px 12px; font-size: 14px; }
}

@media (min-width: 1280px) {
  .poem-card { max-width: 720px; margin: 25px;} /* کمی عریض‌تر روی مانیتورهای بزرگ */
}



@media (max-width: 480px) {
  .poem-card { width : 95% ; margin : 0px 12px} /* کمی عریض‌تر روی مانیتورهای بزرگ */
}

.about-content {
    padding: 10px 40px;
    background-color: #fffefe;
    margin: 20px;
}
/* حالت پیش‌فرض موبایل: محدود به 5 خط */
@media (max-width: 768px) {
  .about-collapsible .about-content {
    max-height: 12em; /* حدود 5 خط */
    overflow: hidden;
    position: relative;
  }
  .about-collapsible.expanded .about-content {
    max-height: none;
  }
  .show-more-btn {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #24a19d;
    cursor: pointer;
    font-weight: bold;
  }
}
@media (min-width: 768px) {
  .show-more-btn {
    display: none;
  }
}
.poet-card-lg img { width:105px; height:105px; object-fit:cover; }  /* آواتارها */
.fal-image { width:100%; height:auto; aspect-ratio: 1100/620; }     /* بنر/عکس بالای تا */



   .poem-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.poet-meta-h2 {
    font-size: 1.05em;
    color: #484848;
    margin: 0;
      font-weight: 600;
}
 .poet-avatar {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #308497;
      }
      .poet-name{
        color : #308497
      }