.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for html, class: .elementor-element-1847ae7 */.gallery img {
  width: 100%;
  height: 240px; /* یا هر ارتفاع دلخواه دیگر */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform .3s;
}
@media(max-width:600px){
  .gallery img {
    height: 180px;
  }
}



@media(max-width:600px){
  body {
    padding: 0 12px;
  }

  .sec {
    padding: 40px 10px;
  }


  

  p, li {
    font-size: 15px;
    line-height: 2;
    text-align: justify;
  }

  .card {
    padding: 24px 18px;
  }

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

  .gallery img {
    height: 180px;
    object-fit: cover;
  }

  .center-btn {
    text-align: center;
  }
}
@media(max-width:600px){
  h1 {
    font-size: 26px;
    line-height: 1.5;
    text-align: right;
    margin-bottom: 16px;
    word-break:nowrap;
  }

  p {
    font-size: 15px;
    line-height: 2;
    text-align: justify;
    margin-bottom: 20px;
  }
}
@media(max-width:600px){
  h1 {
    font-size: 26px;
    line-height: 1.8;
    text-align: right;
    margin-bottom: 16px;
    word-break: break-word;
  }

  p {
    font-size: 15px;
    line-height: 2;
    text-align: justify;
    margin-bottom: 20px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .sec {
    padding: 40px 12px;
  }
}
h2.syllabus-title {
  white-space: nowrap;   /* جلوگیری از شکست متن به خط بعد */
  overflow: hidden;      /* مخفی کردن هر چیزی که از عرض بیرون زد */
  text-overflow: ellipsis; /* اگر خیلی طولانی بود … نمایش بده */
}/* End custom CSS */