/* Gutenberg content helpers formerly stored in Additional CSS. */

/* ظرف گوتنبرگ برای جدول */
.wp-block-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;                  /* ← اسکرول افقی */
  -webkit-overflow-scrolling: touch; /* اسکرول نرم در iOS */
}

/* جدول داخل بلاک */
.wp-block-table table {
  width: auto;     /* مهم: auto باشد تا جدول جمع نشود */
  min-width: 100%; /* حداقل هم‌اندازهٔ ویوپورت */
  border-collapse: collapse;
}

/* سلول‌ها یک خطی باشند و مجبور به شکستن نشوند */
.wp-block-table td,
.wp-block-table th {
  white-space: nowrap;
  padding: .5rem .7rem;
  text-align: center;
  vertical-align: top;
}

body, h1, h2, h3, h4, h5, h6 {
	font-family: 'PeydaWeb', sans-serif;
	direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

.wc-block-grid .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title,.has-text-align-center,.is-layout-flow > :last-child{
	text-align:center;
}
.wp-block-audio audio {
    width: 100%;
}

.wp-block-video video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 544px) {
    .wp-block-columns .wp-block-column:not(:last-child) {
        margin-bottom: 0px;
    }
}

.uagb-block-c8097494.wp-block-uagb-marketing-button.wp-block-button:not(.is-style-outline) a.wp-block-button__link:not(.has-background) {
    text-align: center;
}

.entry-content p{
	text-align:justify;
}

.wp-block-button .wp-block-button__link {
	border-radius:10px;
	background:#0185cc;
}
/* تنظیمات پیش‌فرض */
.wp-block-columns {
  display: flex;
  flex-wrap: wrap!important;
  justify-content: space-between;
}

.wp-block-column {
  flex: 1 1 10%; /* برای دسکتاپ */
  margin: 5px;
}

/* تنظیمات برای نسخه موبایل */
@media (max-width: 768px) {
  .wp-block-column {
    flex: 1 1 45%; /* دو ستون در هر ردیف */
    margin: 5px auto; /* مرکز کردن المان‌ها */
  }
}
