/* استادهنر — چرا استادهنر؟ | ظاهر نهایی v2
   فقط روی المان‌های .oswhy اثر دارد؛ متن، تصاویر و مدیریت کارت‌ها تغییری نمی‌کنند. */
.oswhy, .oswhy * { box-sizing: border-box; }
.oswhy {
  --oswhy-teal: #159e96;
  --oswhy-text: #253039;
  --oswhy-muted: #52616b;
  --oswhy-border: #e2e9e9;
  direction: rtl;
  width: min(1170px, calc(100% - 32px));
  margin: 27px auto 30px;
  padding: 0;
  color: var(--oswhy-text);
  font-family: inherit;
}
.oswhy__intro { text-align: center; margin: 0 auto 22px; }
.oswhy__heading {
  margin: 0 !important; padding: 0 !important;
  color: var(--oswhy-text) !important;
  font-size: clamp(22px, 2.3vw, 27px) !important;
  font-weight: 800 !important;
  line-height: 1.65 !important;
  text-align: center !important;
}
.oswhy__heading-accent {
  display: block;
  width: 43px; height: 4px; margin: 8px auto 0;
  border-radius: 5px;
  background: var(--oswhy-teal);
}
.oswhy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  align-items: stretch;
}
.oswhy__item {
  position: relative;
  min-width: 0;
  height: auto;
  padding: 18px 20px 18px !important;
  margin: 0 !important;
  border: 1px solid var(--oswhy-border) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 5px 17px rgba(28, 49, 55, .055) !important;
  text-align: right !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.oswhy__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin: 0 0 8px !important;
  padding: 0;
}
.oswhy__icon {
  display: flex;
  flex: 0 0 62px;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  border: 1px solid #e1f1ef;
  background: #edf8f7;
  overflow: hidden;
}
.oswhy__icon img {
  display: block;
  width: 54px !important;
  height: 54px !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain;
}
.oswhy__title {
  flex: 1;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--oswhy-text) !important;
  font-size: 16.5px !important;
  font-weight: 750 !important;
  line-height: 1.7 !important;
  text-align: right !important;
  overflow-wrap: break-word;
}
.oswhy__description {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--oswhy-muted) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.95 !important;
  text-align: right !important;
  overflow-wrap: anywhere;
}
.oswhy__description p { margin: 0 0 6px !important; line-height: inherit !important; }
.oswhy__description p:last-child { margin-bottom: 0 !important; }
.oswhy__description a { color: #137e79; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .oswhy__item:hover {
    transform: translateY(-2px);
    border-color: #b7d9d5 !important;
    box-shadow: 0 11px 26px rgba(28, 49, 55, .09) !important;
  }
}
@media (min-width: 701px) and (max-width: 970px) {
  .oswhy__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oswhy__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 15px) / 2);
    justify-self: center;
  }
}
@media (max-width: 700px) {
  .oswhy { width: calc(100% - 28px); margin: 19px auto 25px; }
  .oswhy__intro { margin-bottom: 16px; }
  .oswhy__heading { font-size: 22px !important; }
  .oswhy__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .oswhy__item {
    padding: 14px 16px 15px !important;
    border-radius: 16px !important;
    box-shadow: 0 3px 13px rgba(28, 49, 55, .045) !important;
  }
  .oswhy__top { gap: 11px; margin-bottom: 5px !important; }
  .oswhy__icon { flex-basis: 53px; width: 53px; height: 53px; border-radius: 13px; }
  .oswhy__icon img { width: 47px !important; height: 47px !important; }
  .oswhy__title { font-size: 15.8px !important; line-height: 1.6 !important; }
  .oswhy__description { font-size: 13.5px !important; line-height: 1.8 !important; }
}
@media (max-width: 360px) {
  .oswhy__item { padding: 12px 13px 14px !important; }
  .oswhy__icon { flex-basis: 49px; width: 49px; height: 49px; }
  .oswhy__icon img { width: 43px !important; height: 43px !important; }
  .oswhy__title { font-size: 15px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .oswhy__item { transition: none !important; }
  .oswhy__item:hover { transform: none !important; }
}
