/* =========== RTL ========== */

.side-bg.right .image-container {
  right: auto;
  left: 0;
}

.subtitle.s2 i {
  margin-left: 10px;
  margin-right: 0;
}

.subtitle.s2 span:not(:first-child) {
  margin-left: 0;
  margin-right: 2rem;
}

.schedule-item>div {
  float: right;
}

.pricing-s1 .bottom ul {
  text-align: right;
}

.pricing-s1 .bottom i {
  margin-right: -22px;
  margin-left: 0;
}

ul.custom-ul li::before {
  margin-left: 0;
  margin-right: -1em;
}

header div#logo {
  float: right;
}

header nav {
  float: left;
}

#mainmenu li {
  float: right;
}

#mainmenu li ul {
  left: auto !important;
  right: 0 !important;
  text-align: right !important;
  direction: rtl !important;
}

#mainmenu li li {
  text-align: right !important;
  width: 100% !important;
}

#mainmenu li li a {
  text-align: right !important;
  display: block !important;
}

.de_tab.tab_style_4 .de_nav li:first-child {
  border-radius: 0 60px 60px 0;
  border-right: none;
}

.de_tab.tab_style_4 .de_nav li:last-child {
  border-radius: 60px 0 0 60px;
  border-left: none;
}

.de_tab .de_nav li {
  float: right;
}

@media only screen and (max-width: 992px) {
  #menu-btn {
    display: block;
    position: relative;
    float: left;
  }
}

/* RTL Speakers Grid Layout */
.speaker-details,
.speaker-lecture {
  text-align: right;
  border-left: none;
  border-right: 2px dashed #ccc;
}

.speaker-image {
  order: 1;
  border-right: none;
}

.speaker-details {
  order: 2;
}

.speaker-lecture {
  order: 3;
}

@media only screen and (max-width: 768px) {

  .speaker-details,
  .speaker-lecture {
    text-align: center;
    border-right: none;
    border-top: 2px dashed #ccc;
  }
}

/* --- Schedule Timeline RTL Adjustments (Calmer Design) --- */
.schedule-timeline::before {
  left: auto;
  right: 40px;
}

.timeline-item {
  padding-left: 0;
  padding-right: 80px;
}

.timeline-marker {
  left: auto;
  right: 36px;
}

.timeline-content {
  text-align: right;
}

.timeline-item:hover .timeline-content {
  transform: translateX(-5px);
}

.timeline-item.break .timeline-marker {
  left: auto;
  right: 37px;
}

@media (max-width: 768px) {
  .schedule-timeline::before {
    right: 20px;
  }

  .timeline-marker {
    right: 16px;
  }

  .timeline-item {
    padding-right: 50px;
  }
}