/* RTL corrections shared by the two imported Agriland About pages. */
body.rtl.page-id-2871 .site-main,
body.rtl.page-id-3018 .site-main {
  direction: rtl;
}

body.rtl.page-id-2871 .elementor-section .elementor-container,
body.rtl.page-id-3018 .elementor-section .elementor-container {
  direction: rtl;
}

body.rtl.page-id-2871 .tm-element-heading-content-wrapper,
body.rtl.page-id-2871 .elementor-widget-text-editor,
body.rtl.page-id-3018 .tm-element-heading-content-wrapper,
body.rtl.page-id-3018 .elementor-widget-text-editor {
  direction: rtl;
  text-align: right;
}

/* Numbers must remain an atomic LTR token (45+, 1850+, etc.) inside RTL copy. */
body.rtl.page-id-2871 .tm-fid-inner {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2px;
}

body.rtl.page-id-2871 .tm-fid-view-lefticon {
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: right;
}

body.rtl.page-id-2871 .tm-fid-view-lefticon .tm-fid-left {
  float: none;
  order: 0;
  margin-left: 16px;
  margin-right: 0;
}

body.rtl.page-id-2871 .tm-fid-view-lefticon .tm-fld-contents {
  text-align: right;
}

body.rtl.page-id-2871 .tm-fid-view-style5 {
  direction: rtl;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: right;
}

body.rtl.page-id-2871 .tm-fid-view-style5 .tm-fid-icon-wrapper {
  flex: 0 0 auto;
  margin: 0 !important;
}

body.rtl.page-id-2871 .tm-fid-view-style5 .tm-fld-contents,
body.rtl.page-id-2871 .tm-fid-view-style5 .tm-digit-content,
body.rtl.page-id-2871 .tm-fid-view-style5 .tm-fid-title,
body.rtl.page-id-2871 .tm-fid-view-style5 .tm-fid-desc {
  width: 100%;
  text-align: right !important;
}

body.rtl.page-id-2871 .elementor-element-71b626f3 img,
body.rtl.page-id-3018 .elementor-element-432e7ad4 img,
body.rtl.page-id-3018 .elementor-element-30ad439a img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Progress captions on the right, isolated numeric percentage on the left. */
body.rtl.page-id-3018 .elementor-widget-progress {
  position: relative;
  direction: rtl;
  text-align: right;
  padding-top: 4px;
}

body.rtl.page-id-3018 .elementor-widget-progress .elementor-title {
  display: block;
  min-height: 26px;
  padding-left: 58px;
  text-align: right !important;
}

body.rtl.page-id-3018 .elementor-progress-wrapper {
  direction: rtl;
  overflow: visible;
}

body.rtl.page-id-3018 .elementor-progress-bar {
  margin-right: 0;
  margin-left: auto;
}

body.rtl.page-id-3018 .elementor-progress-percentage {
  position: absolute;
  top: -31px;
  left: 0;
  right: auto;
  direction: ltr;
  unicode-bidi: isolate;
  padding: 0;
  line-height: 24px;
  font-weight: 700;
  color: var(--tm-secondarycolor-color, #1a1d22);
}

@media (max-width: 767px) {
  body.rtl.page-id-2871 .tm-fid-view-style5 {
    gap: 14px;
  }

  body.rtl.page-id-2871 .tm-fid-view-style5 .tm-fid-desc {
    max-width: none;
  }

  body.rtl.page-id-3018 .elementor-element-432e7ad4 img,
  body.rtl.page-id-3018 .elementor-element-30ad439a img {
    max-height: 360px;
    object-position: center;
  }
}
