/* index page - common css */
.top_2_paragraphs {
  font-size: 16px;
  line-height: 1.5em !important;
  max-height: 4.5em !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

@media only screen and (max-width: 767px) {
  .mb-image-container {
    height: auto !important;
  }

  .mb-tile-content-container {
    height: auto !important;
  }
}

#tabs-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 15px;
  width: 100%;
  justify-content: center;
  margin: 30px 0 0 0;
}

.tabs-items>* {
  padding: 5px 10px;
  border-radius: 15px;
  text-wrap: nowrap;
}

.tabs-items:hover>* {
  background-color: black;
  color: white !important;
}

@media (max-width: 500px) {
  .tabs-items>* {
    padding: 5px;
  }
}

/* index page - tabs */
.gt-wrapper .tabs-items a {
  color: #000;
}
.gt-wrapper .tabs-items a:hover {
  text-decoration: none;
}

/* index page - Essentials */
@media (min-width: 768px) {
  .gt-wrapper .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 992px) {
  .gt-wrapper .col-lg-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

/* detail page - original common css in page */
@font-face {
  font-family: "FontAwesome";
  src: url("/content/dam/channel/wcms/ae_ar/lgcom50/ae_ar/lg-story/assets/styles/components/icons/fonts/fontawesome-webfont.eot?v=4.2.0");
  src: url("/content/dam/channel/wcms/ae_ar/lgcom50/ae_ar/lg-story/assets/styles/components/icons/fonts/fontawesome-webfont.eot?#iefix&v=4.2.0") format("embedded-opentype"),
    url("/content/dam/channel/wcms/ae_ar/lgcom50/ae_ar/lg-story/assets/styles/components/icons/fonts/fontawesome-webfont.woff?v=4.2.0") format("woff"),
    url("/content/dam/channel/wcms/ae_ar/lgcom50/ae_ar/lg-story/assets/styles/components/icons/fonts/fontawesome-webfont.ttf?v=4.2.0") format("truetype"),
    url("/content/dam/channel/wcms/ae_ar/lgcom50/ae_ar/lg-story/assets/styles/components/icons/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

/* local test url */
/* @font-face {
  font-family: "FontAwesome";
  src: url("/lg-story/assets/styles/components/icons/fonts/fontawesome-webfont.eot?v=4.2.0");
  src: url("/lg-story/assets/styles/components/icons/fonts/fontawesome-webfont.eot?#iefix&v=4.2.0") format("embedded-opentype"),
    url("/lg-story/assets/styles/components/icons/fonts/fontawesome-webfont.woff?v=4.2.0") format("woff"),
    url("/lg-story/assets/styles/components/icons/fonts/fontawesome-webfont.ttf?v=4.2.0") format("truetype"),
    url("/lg-story/assets/styles/components/icons/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular") format("svg");
  font-weight: normal;
  font-style: normal;
} */

.a_tag_inline {
  display: contents;
}

.bullet-point {
  padding-top: 7px;
  white-space: nowrap;
}

@media screen and (max-width: 1024px) {
  .bullet-point {
    padding-top: 2px;
  }
}

.gt-wrapper h1,
.gt-wrapper h2,
.gt-wrapper h3,
.gt-wrapper h4,
.gt-wrapper h5,
.gt-wrapper h6 {
  font-family: Roboto, sans-serif !important;
}

.gt-wrapper h1 {
  text-transform: none !important;
  font-weight: 700 !important;
}

.gt-wrapper h3 {
  font-size: 32px;
  font-family: Roboto, sans-serif !important;
  font-weight: 700 !important;
}

.tags-custom {
  font-family: "Open Sans" !important;
  font-size: 1.125rem !important;
  line-height: 1.4 !important;
  font-weight: bolder !important;
}

.editable-content {
  margin: 20px 100px !important;
}

.editable-content.d-flex {
  margin: 0px 100px !important;
}

.editable-content-bullet-description {
  margin: 0px 60px !important;
}

.editable-content-bullet {
  font-family: Roboto, sans-serif !important;
  margin: 0px 10px !important;
}

.editable-content-bullet h3 {
  font-family: Roboto, sans-serif !important;
}

@media only screen and (max-width: 768px) {
  .editable-content {
    margin: 20px 0px !important;
  }

  .editable-content.d-flex {
    margin: 0px !important;
  }

  .editable-content-bullet-description {
    margin: 0px 0px !important;
  }
}

.main-content p {
  font-family: "Open Sans" !important;
  font-size: 1.125rem !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  line-height: 1.6 !important;
}

.promos-wrapper,
.image-wrapper {
  border-radius: 15px !important;
}

.gt-wrapper .gt-content .sidebar .promos-wrapper {
  border: 1px solid #c6c6c6 !important;
}

.entry-container .image-wrapper {
  border-radius: 15px 15px 0px 0px !important;
}

.entry-container .image-wrapper .inner {
  padding: 20px 20px 10px !important;
  margin: 0 !important;
  height: 100% !important;
  width: 100% !important;
}

.color-font {
  font-family: Roboto, sans-serif !important;
}

.tags-list {
  font-family: "Open Sans" !important;
}

.gt-wrapper .inner {
  margin: 7.5px 0px !important;
  padding: 5px 0px !important;
}

.tooltip {
  padding-right: 0px !important;
}

.gt-wrapper .page-details {
  margin-top: 15px;
  margin-bottom: 0px !important;
}

@media only screen and (min-width: 769px) {
  .gt-wrapper .sidebar {
    padding-top: 12px;
  }
}

.date-custom {
  margin: 15px 0px !important;
}

.mainmenu a {
  font-size: 20px !important;
  line-height: 31px !important;
  padding: 5px 15px !important;
  font-weight: 600 !important;
}

.mainmenu #mainmenu-flters li {
  padding: 0px !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 15px;
  text-decoration: none;
}

.promo-title-featured-product {
  padding: 0px 10px !important;
  /* font-weight: 700 !important; */
  font-family: "Roboto" !important;
}

.gt-wrapper .entry-box .inner {
  padding: 20px 20px 10px !important;
  border: 0px !important;
}

.entry-box .copy {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;

  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 50px !important;
}

.inner p {
  margin-top: 0px !important;
  line-height: 1.6 !important;
}

.gt-wrapper .editable-content a {
  font-family: "Open Sans" !important;
}

.gt-wrapper.editable-content p strong {
  font-family: "Open Sans", sans-serif;
}

.editable-content-bullet-heading {
  font-family: Roboto, sans-serif !important;
  margin: 0px 10px !important;
}

.editable-content-number {
  font-family: Roboto, sans-serif !important;
  margin: 0px 13px !important;
}

.editable-content-number-1 {
  font-family: Roboto, sans-serif !important;
  margin: 0px 13px !important;
}

.bullet-heading-gap {
  margin-bottom: 5px !important;
}

@media only screen and (max-width: 1024px) {
  .editable-content-number {
    margin: 0px 7px !important;
  }

  .editable-content-number-1 {
    margin: 0px 5px !important;
  }

  .editable-content-bullet-heading {
    margin: 0px 7px !important;
  }
}

b {
  font-weight: 900 !important;
}

.gt-content {
  background-color: inherit !important;
  padding: 0 10px !important;
}

.copy-wrapper {
  background-color: white !important;
}

.promos-wrapper {
  background-color: white !important;
}

.d-flex {
  display: flex;
}

/* detail page - common */
.single_share_btn {
  display: none;
}

/* detail page - youtube pc,mobile show/hide */
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}
@media (min-width:768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
}

/* detail page - FAQ UI */
.faq_section {
  /* font-family: "LG Smart", "Segoe UI", "Microsoft Sans Serif", sans-serif; */
  color: black;
}

.faq_heading {
  font-size: 60px;
  line-height: 60px;
  font-weight: 400;
  margin: 20px 0 0 0;
}

.question_heading {

  font-size: 18px !important;
  font-family: 'Open Sans' !important;
}

.custom-transition {
  transition: 0.4s ease;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and IE 11 */
  user-select: none;
  /* Standard syntax */
}

.gt-wrapper .answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 18px;
  font-family: 'Open Sans' !important;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.gt-wrapper .answer.show {
  max-height: 500px;
  /* Adjust based on content height */
  opacity: 1;
}

.gt-wrapper .container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto
}

@media (min-width:576px) {
  .gt-wrapper .container {
    max-width: 540px
  }
}

@media (min-width:768px) {
  .gt-wrapper .container {
    max-width: 720px
  }
}

@media (min-width:992px) {
  .gt-wrapper .container {
    max-width: 960px
  }
}

@media (min-width:1200px) {
  .gt-wrapper .container {
    max-width: 1140px
  }
}

.gt-wrapper .p-0 {
  padding: 0 !important
}
.gt-wrapper .col,
.gt-wrapper .col-1,
.gt-wrapper .col-10,
.gt-wrapper .col-11,
.gt-wrapper .col-12,
.gt-wrapper .col-2,
.gt-wrapper .col-3,
.gt-wrapper .col-4,
.gt-wrapper .col-5,
.gt-wrapper .col-6,
.gt-wrapper .col-7,
.gt-wrapper .col-8,
.gt-wrapper .col-9,
.gt-wrapper .col-auto,
.gt-wrapper .col-lg,
.gt-wrapper .col-lg-1,
.gt-wrapper .col-lg-10,
.gt-wrapper .col-lg-11,
.gt-wrapper .col-lg-12,
.gt-wrapper .col-lg-2,
.gt-wrapper .col-lg-3,
.gt-wrapper .col-lg-4,
.gt-wrapper .col-lg-5,
.gt-wrapper .col-lg-6,
.gt-wrapper .col-lg-7,
.gt-wrapper .col-lg-8,
.gt-wrapper .col-lg-9,
.gt-wrapper .col-lg-auto,
.gt-wrapper .col-md,
.gt-wrapper .col-md-1,
.gt-wrapper .col-md-10,
.gt-wrapper .col-md-11,
.gt-wrapper .col-md-12,
.gt-wrapper .col-md-2,
.gt-wrapper .col-md-3,
.gt-wrapper .col-md-4,
.gt-wrapper .col-md-5,
.gt-wrapper .col-md-6,
.gt-wrapper .col-md-7,
.gt-wrapper .col-md-8,
.gt-wrapper .col-md-9,
.gt-wrapper .col-md-auto,
.gt-wrapper .col-sm,
.gt-wrapper .col-sm-1,
.gt-wrapper .col-sm-10,
.gt-wrapper .col-sm-11,
.gt-wrapper .col-sm-12,
.gt-wrapper .col-sm-2,
.gt-wrapper .col-sm-3,
.gt-wrapper .col-sm-4,
.gt-wrapper .col-sm-5,
.gt-wrapper .col-sm-6,
.gt-wrapper .col-sm-7,
.gt-wrapper .col-sm-8,
.gt-wrapper .col-sm-9,
.gt-wrapper .col-sm-auto,
.gt-wrapper .col-xl,
.gt-wrapper .col-xl-1,
.gt-wrapper .col-xl-10,
.gt-wrapper .col-xl-11,
.gt-wrapper .col-xl-12,
.gt-wrapper .col-xl-2,
.gt-wrapper .col-xl-3,
.gt-wrapper .col-xl-4,
.gt-wrapper .col-xl-5,
.gt-wrapper .col-xl-6,
.gt-wrapper .col-xl-7,
.gt-wrapper .col-xl-8,
.gt-wrapper .col-xl-9,
.gt-wrapper .col-xl-auto {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.faq_section > .row {
  margin-top: 16px;
  padding: 16px 24px;
}

.gt-wrapper .row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.gt-wrapper .col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}
.gt-wrapper .col-auto {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}
.gt-wrapper .col-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* detail page - scoop category (swiper) */
.gt-wrapper .fs {
  font-size: 1.5em;
  align-items: center;
  padding-left: 24px;
}

@media (max-width: 576px) {
  .gt-wrapper .fs {
    padding-top: 2px;
    font-size: 1.1em;
    padding-left: 14px;
  }
}

.gt-wrapper .profile-logo {
  padding: 20px 30px;
  font-size: 22px;
  border: 1px solid #faebd7;
  border-radius: 50px;
  background-color: #faebd7;
}

.review-section {}

.gt-wrapper .search-tag {
  padding: 5px 10px;
  background-color: rgb(212, 239, 239);
  border-radius: 5px;
}

.gt-wrapper .review-details {
  text-align: justify !important;
}
.gt-wrapper .review-details .editable-content,
.gt-wrapper section.m-0 .editable-content {margin: 0 !important;}

.custom-width {
  width: 70%;
  margin: 0 auto !important;
}

@media (max-width: 575px) {
  .custom-width {
    width: 100%;
  }
}

.gt-wrapper .btn-custom {
  background-color: #efefef !important;
}

.gt-wrapper .swiper-container {
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 760px) {
  .gt-wrapper .swiper-container {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .gt-wrapper .swiper-container {
    width: 850px;
  }
}

.gt-wrapper .btn {
  display: inline-block;
  min-width: 80px;
  padding: 11px 23px;
  border-radius: 3px;
  border: 1px solid transparent;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
  cursor: pointer;
  background-color: transparent;
}
.gt-wrapper .btn:focus {
  box-shadow: 0 0 0 0.1rem #7fbdff !important;
}
.gt-wrapper .video_box {
  max-width: 350px !important;
}

.gt-wrapper .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 1;
}

.gt-wrapper .video_box.playing .play-button {
  opacity: 0;
}

.gt-wrapper .video_box:hover .play-button {
  opacity: 1;
}

/* Play Icon */
.gt-wrapper .play-button::before {
  content: '';
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent white;
  margin-left: 5px;
}

/* Pause Icon */
.gt-wrapper .play-button.pause::before {
  content: '';
  width: 20px;
  height: 20px;
  border-left: 6px solid white;
  border-right: 6px solid white;
  border-top: none;
  border-bottom: none;
  margin-left: 0;
}

/* detail page - original common css in scoop category page (swiper) */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Courgette&family=Noto+Serif+Vithkuqi:wght@500&family=Quicksand:wght@300&family=Satisfy&family=Shadows+Into+Light&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Chonburi&display=swap");

* {
  font-family: "Poppins", sans-serif;
}

.gt-wrapper .text-left {
  text-align: left !important;
}
.gt-wrapper section {
  position: relative;
  /* width: calc(min(47rem, 90%)); */
  margin: 0 auto;
  column-gap: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gt-wrapper section.m-0 {
  text-align: center;
}

.gt-wrapper section h2 {
  letter-spacing: 0.8px;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.2;
}

.gt-wrapper section p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-inline: auto;
  margin-top: 10px;
}

.gt-wrapper .swiper-container {
  position: relative;
}

.gt-wrapper .swiper {
  padding: 20px 0 50px 0;
}

.gt-wrapper .swiper-slide {
  width: 10rem;
  height: 32rem;
  display: flex;
  flex-direction: column;
  align-items: self-start;
  position: relative;
  border-radius: 12px;
  box-shadow: -1px 5px 15px #0000001f;
}

.gt-wrapper .swiper-slide h3 {
  color: #fff;
  font-size: 2.5rem;
  line-height: 1.4;
  margin-bottom: 0.625rem;
  letter-spacing: 0.8px;
  position: relative;
}

.gt-wrapper .swiper-slide p {
  color: #fff;
  line-height: 1.6;
  font-size: 0.8rem;
}

.gt-wrapper .swiper-slide .slide-content {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 90%;
}

.gt-wrapper .swiper-slide .author {
  grid-template-columns: 1fr;
  justify-items: center;
  position: absolute;
  bottom: -90px;
  width: 100%;
  display: none;
  opacity: 0;
}

.gt-wrapper .swiper-slide .author span {
  color: #111;
  display: block;
  margin: 5px 0 10px 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.swiper-slide--one {
  background-size: cover;
  background-position: center;
}

.swiper-slide--two {
  background-size: cover;
  background-position: center;
}

.swiper-slide--three {
  background-size: cover;
  background-position: center;
}

.swiper-slide--four {
  background-size: cover;
  background-position: center;
}

.swiper-slide--five {
  background-size: cover;
  background-position: center;
}

.swiper-slide--six {
  background-size: cover;
  background-position: center;
}

.swiper-slide--one--landscape {
  background-size: 100%;
  background-position: center;
}

.swiper-slide--two--landscape {
  background-size: 100%;
  background-position: center;
}

.swiper-slide--three--landscape {
  background-size: 100%;
  background-position: center;
}

.swiper-slide--four--landscape {
  background-size: 100%;
  background-position: center;
}

.swiper-slide--five--landscape {
  background-size: 100%;
  background-position: center;
}

.swiper-slide--six--landscape {
  background-size: 100%;
  background-position: center;
}

.gt-wrapper .swiper-button-prev {
  background: white;
  opacity: 0.9;
  color: black;
  border-radius: 50%;
  top: 47%;
  left: -30px;
  width: 50px;
  height: 50px;
  box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.17);
}

.swiper-pagination-bullet {}

.gt-wrapper .swiper-pagination-bullet-active {
  background-color: black;
}

.swiper-pagination {}

.gt-wrapper .swiper-button-prev::after {
  font-size: 1.4rem;
  content: "";
}

.gt-wrapper .swiper-button-prev svg {
  width: 25px;
}

.gt-wrapper .swiper-button-next {
  background: white;
  opacity: 0.9;
  color: black;
  border-radius: 50%;
  top: 47%;
  right: -30px;
  width: 50px;
  height: 50px;
  box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.17);
}

.gt-wrapper .swiper-button-next::after {
  font-size: 1.4rem;
  content: "";
}

.gt-wrapper .swiper-button-next svg {
  width: 25px;
}

.gt-wrapper.swiper-button-prev,
.gt-wrapper .swiper-button-next {
  display: none;
}

@media (min-width: 760px) {

  .gt-wrapper .swiper-button-prev,
  .gt-wrapper .swiper-button-next {
    display: flex;
  }
}

/* .swiper-container {
  width: auto;
  height: 300px;
  border: 1px solid #efefef;
} */

.gt-wrapper .swiper-wrapper {
  align-items: center;
}

.swiper-slide--landscape {
  max-width: 616px !important;
  /* width: 616px !important; */
  height: 100% !important;
  min-height: 340px !important;
}

@media (max-width: 767px) {
  .swiper-slide--landscape {
    min-height: 210px !important;
    min-width: 370px !important;
  }
}

@media (min-width: 768px) {
  .swiper-slide--landscape {
    min-height: 210px !important;
    min-width: 370px !important;
  }
}

@media (min-width: 1024px) {
  .swiper-slide--landscape {
    min-height: 350px !important;
    min-width: 670px !important;
  }
}

@media (min-width: 1366px) {
  .swiper-slide--landscape {
    min-height: 400px !important;
    min-width: 750px !important;
  }
}

.m-0 {
  margin: 0 !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important;
}
.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

@media (min-width: 576px) {
  .ml-sm-3,
  .mx-sm-3 {
    margin-left: 1rem !important;
  }

  .mr-sm-3,
  .mx-sm-3 {
    margin-right: 1rem !important;
  }
}

@media (min-width: 768px) {
  .ml-md-5, .mx-md-5 {
    margin-left: 3rem !important;
  }
  .mr-md-5, .mx-md-5 {
    margin-right: 3rem !important;
  }
}

@media (min-width: 992px) {
  .ml-lg-5,
  .mx-lg-5 {
    margin-left: 3rem !important;
  }

  .mr-lg-5,
  .mx-lg-5 {
    margin-right: 3rem !important;
  }
}

/* detail page - table */
.gt-wrapper .table-responsive {
  border-radius: 0px !important;
}

.gt-wrapper td,
.gt-wrapper th {
  border: 1px solid #dddddd !important;
}

.gt-wrapper .responsive_table {
  /* width: 200%; */
  border-radius: 0px !important;

}

@media only screen and (max-width: 1024px) {
  .gt-wrapper .responsive_table {
    width: 400%;
    border-radius: 0px !important;

  }
}

/* =========================================================
   AE_AR GP1 - RTL legacy bullet compatibility patch
   Purpose:
   - Restore the legacy 5.0-style right-side bullet alignment.
   - Existing article HTML uses dir="ltr" even for Arabic paragraphs
     and represents bullets as the literal "●" character.
   - GP1 flex rendering otherwise lets the text item shrink to content
     width, which makes the bullet X-position vary by sentence length.
   ========================================================= */

/* Keep legacy flex rows laid out from the RTL side. */
.gt-wrapper .module-editable-content .editable-content.d-flex {
  direction: rtl;
}

/* Let the text/heading cell occupy the available row width instead of
   shrinking to the intrinsic width of each Arabic sentence. */
.gt-wrapper .module-editable-content .editable-content.d-flex > .editable-content-bullet,
.gt-wrapper .module-editable-content .editable-content.d-flex > .editable-content-bullet-heading {
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  min-width: 0;
}

/* Override legacy dir="ltr" on Arabic article copy.
   This keeps the literal "●" at the right/start side consistently. */
.gt-wrapper .module-editable-content .editable-content-bullet > p[dir="ltr"] {
  direction: rtl !important;
  text-align: right !important;
  width: 100%;
}

/* Heading rows in the same legacy structure should follow the same RTL
   alignment, including H2/H3 elements still carrying dir="ltr". */
.gt-wrapper .module-editable-content .editable-content-bullet > h2[dir="ltr"],
.gt-wrapper .module-editable-content .editable-content-bullet > h3[dir="ltr"],
.gt-wrapper .module-editable-content .editable-content-bullet-heading > h2[dir="ltr"],
.gt-wrapper .module-editable-content .editable-content-bullet-heading > h3[dir="ltr"] {
  direction: rtl !important;
  text-align: right !important;
  width: 100%;
}

/* =========================================================
   AE_AR GP1 - Heading width correction (v2)
   The legacy H3 heading row contains:
     1) an empty .editable-content-bullet.bullet-point spacer
     2) .editable-content-bullet-heading with the actual title
   The previous RTL patch let BOTH children flex-grow, so the empty
   spacer occupied roughly half of the row and forced headings to wrap.
   ========================================================= */

/* Empty legacy heading spacer must never consume flexible row width. */
.gt-wrapper .module-editable-content .editable-content.d-flex
  > .editable-content-bullet.bullet-point {
  -ms-flex: 0 0 auto !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

/* Actual heading/content cells take the remaining width. */
.gt-wrapper .module-editable-content .editable-content.d-flex
  > .editable-content-bullet:not(.bullet-point),
.gt-wrapper .module-editable-content .editable-content.d-flex
  > .editable-content-bullet-heading {
  -ms-flex: 1 1 0% !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
}

/* =========================================================
   GP1 FAQ +/- icon compatibility patch
   Purpose:
   - Preserve existing toggleDiv() behavior.
   - Render + / - without depending on FontAwesome font files.
   - .fa-plus  = collapsed (+)
   - .fa-minus = expanded (-)
   ========================================================= */

.gt-wrapper .faq_section i.fa.fa-plus,
.gt-wrapper .faq_section i.fa.fa-minus {
  display: inline-block !important;
  position: relative !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  font-size: 0 !important;
  line-height: 16px !important;
  vertical-align: middle !important;
  font-family: sans-serif !important;
  font-style: normal !important;
}

/* Horizontal stroke shared by + and - */
.gt-wrapper .faq_section i.fa.fa-plus::before,
.gt-wrapper .faq_section i.fa.fa-minus::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  width: 12px !important;
  height: 2px !important;
  left: 2px !important;
  top: 7px !important;
  margin: 0 !important;
  background: currentColor !important;
  font-family: sans-serif !important;
}

/* Vertical stroke only for collapsed (+) state */
.gt-wrapper .faq_section i.fa.fa-plus::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  width: 2px !important;
  height: 12px !important;
  left: 7px !important;
  top: 2px !important;
  margin: 0 !important;
  background: currentColor !important;
}

/* Expanded state = horizontal stroke only */
.gt-wrapper .faq_section i.fa.fa-minus::after {
  content: none !important;
  display: none !important;
}

/* =========================================================
   AE_AR GP1 - Legacy two-cell list compatibility patch
   Purpose:
   Some older LG Story articles build numbered/bullet lists as:
     .d-flex
       > .editable-content.bullet-point
       > .editable-content
   Generic .editable-content margins otherwise create a large gap.
   This RTL-specific patch keeps the marker on the RIGHT, aligns its
   baseline with the body text, and preserves the article side inset.
   ========================================================= */

/* Apply RTL layout only to the old two-cell list row pattern. */
.gt-wrapper .module-editable-content .d-flex:has(
  > .editable-content.bullet-point + .editable-content
) {
  direction: rtl;
  align-items: flex-start;
  box-sizing: border-box;
}

/* Remove generic 20px/100px margins from the marker cell and make its
   width predictable.  Keep the marker's own text direction untouched
   so literal values such as "1." remain visually stable. */
.gt-wrapper .module-editable-content .d-flex
  > .editable-content.bullet-point {
  margin: 0 !important;
  padding-top: 0 !important;
  -ms-flex: 0 0 28px;
  flex: 0 0 28px;
  min-width: 28px;
}

/* Body cell takes the remaining width with no internal 100px gap. */
.gt-wrapper .module-editable-content .d-flex
  > .editable-content.bullet-point + .editable-content {
  margin: 0 !important;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
}

/* Old AE_AR HTML may still carry dir="ltr" on Arabic body paragraphs. */
.gt-wrapper .module-editable-content .d-flex
  > .editable-content.bullet-point + .editable-content > p[dir="ltr"] {
  direction: rtl !important;
  text-align: right !important;
}

/* Preserve the normal article inset on top-level legacy rows.
   Using logical padding keeps the rule symmetric and RTL-safe. */
.gt-wrapper .module-editable-content > .inner
  > .d-flex:has(> .editable-content.bullet-point + .editable-content) {
  padding-inline: 100px;
}

/* Nested legacy rows already sit inside an .editable-content block,
   so do not add the article inset a second time. */
.gt-wrapper .module-editable-content .editable-content
  > .d-flex:has(> .editable-content.bullet-point + .editable-content) {
  padding-inline: 0;
}

/* Keep marker/body paragraph tops identical. */
.gt-wrapper .module-editable-content .d-flex
  > .editable-content.bullet-point > p,
.gt-wrapper .module-editable-content .d-flex
  > .editable-content.bullet-point + .editable-content > p {
  margin-top: 0 !important;
}

@media only screen and (max-width: 768px) {
  .gt-wrapper .module-editable-content > .inner
    > .d-flex:has(> .editable-content.bullet-point + .editable-content) {
    padding-inline: 0;
  }

  .gt-wrapper .module-editable-content .d-flex
    > .editable-content.bullet-point {
    -ms-flex-basis: 24px;
    flex-basis: 24px;
    min-width: 24px;
  }
}

/* =========================================================
   AE_AR GP1 - Nested editable-content margin compatibility
   Purpose:
   Older AE_AR LG Story pages sometimes nest .editable-content
   inside another .editable-content, e.g.:
     .editable-content
       > h3
       > .editable-content
         > p
   The generic rule:
     .editable-content { margin: 20px 100px !important; }
   then applies a second 100px horizontal inset to the nested block,
   making the paragraph much narrower / visually detached from its H3.
   Keep the OUTER article inset, but remove the duplicated INNER inset.
   ========================================================= */

.gt-wrapper .module-editable-content .editable-content
  > .editable-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* If the nested block itself is used only as a wrapper, avoid adding
   another vertical 20px on top of paragraph-level spacing. */
.gt-wrapper .module-editable-content .editable-content
  > .editable-content:not([style*="margin-top"]) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Preserve RTL alignment for Arabic copy in nested wrappers. */
.gt-wrapper .module-editable-content .editable-content
  > .editable-content > p[dir="rtl"] {
  direction: rtl !important;
  text-align: right !important;
}

/* =========================================================
   AE_AR GP1 - Nested unmarked sub-list compatibility patch
   Same legacy nested list structure as AE, but keep marker on the
   RIGHT and body copy flowing RTL.
   ========================================================= */

.gt-wrapper .module-editable-content .editable-content
  > .d-flex:has(
    > .editable-content:first-child:not(.bullet-point)
    + .editable-content
  ) {
  direction: rtl;
  align-items: flex-start;
}

.gt-wrapper .module-editable-content .editable-content
  > .d-flex
  > .editable-content:first-child:not(.bullet-point) {
  margin: 0 !important;
  padding-top: 0 !important;
  -ms-flex: 0 0 24px;
  flex: 0 0 24px;
  min-width: 24px;
}

.gt-wrapper .module-editable-content .editable-content
  > .d-flex
  > .editable-content:first-child:not(.bullet-point)
  + .editable-content {
  margin: 0 !important;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
}

.gt-wrapper .module-editable-content .editable-content
  > .d-flex
  > .editable-content:first-child:not(.bullet-point)
  + .editable-content > p[dir="rtl"] {
  direction: rtl !important;
  text-align: right !important;
}

.gt-wrapper .module-editable-content .editable-content
  > .d-flex
  > .editable-content:first-child:not(.bullet-point) > p,
.gt-wrapper .module-editable-content .editable-content
  > .d-flex
  > .editable-content:first-child:not(.bullet-point)
  + .editable-content > p {
  margin-top: 0 !important;
}

/* =========================================================
   AE_AR GP1 - H4 literal-bullet RTL compatibility patch
   Purpose:
   Some newer/legacy LG Story sections place the literal bullet
   directly inside an H4, for example:
     <div class="editable-content-bullet">
       <h4 dir="ltr">• تقنية OLED المتقدمة:</h4>
     </div>

   In GP1, the explicit dir="ltr" makes the literal bullet render
   on the LEFT side of the Arabic heading. 5.0 renders these Arabic
   feature headings in RTL order. Override direction only for H4
   elements inside the established bullet-content wrapper.
   ========================================================= */

.gt-wrapper .module-editable-content
  .editable-content-bullet > h4[dir="ltr"] {
  direction: rtl !important;
  text-align: right !important;
  width: 100%;
}
