/* ── an1.com single-page: ONLY the pieces missing from the theme's style.css ──
   Everything else (.app_view_pad, .spec_addon, .spoiler, .box_download,
   .download_line, .app_moreinfo, .catbar, .rate, .unit-rating, .share …) is
   already styled by the theme stylesheet. RTL-adapted for the Arabic layout. */

/* ── App view card wrapper ── */
@media (min-width: 768px) {
  .app_view_wrp {
    background-color: #fff;
    box-shadow: 0 .25rem 1.5rem 1px rgba(0,0,0,.03);
    border-radius: .125rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
  html.darkmod .app_view_wrp { background-color: #1b1d1f; }
}

/* ── MOD / Offline badge on the icon ── */
.label-offline {
  position: absolute;
  right: 0;
  top: 0;
  pointer-events: none;
  color: #fff;
  line-height: 12px;
  padding: 4px 10px;
  border-radius: inherit;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  user-select: none;
  background-color: #68cb5b;
  background: linear-gradient(90deg, #22c7b6 0, #68cb5c 100%);
}
.label-offline > span { display: block; }

/* ── Questions & Answers accordion (RTL) ── */
.app-faq { margin-top: 2rem; }
.app-faq-heading {
  border-top: 1px solid #e2e5e2;
  padding: 1rem 0;
  margin-bottom: .5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  user-select: none;
  font-weight: 400;
  line-height: 1.5rem;
}
html.darkmod .app-faq-heading { border-top-color: #68cB5B4D; }
.app-faq-heading > svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-left: .75rem;   /* RTL: icon sits to the right of the label */
  color: #68cb5b;
  transition: transform .2s, color .2s;
}
.app-faq-heading:hover > svg { transform: scale(1.05); }
.app-faq-list {
  margin-bottom: 0;
  padding-right: 2.25rem; /* RTL */
  list-style: none !important;
}
.app-faq-list > li + li { margin-top: 1.5rem; }
.app-faq-title {
  font-weight: 700;
  line-height: inherit;
  margin-bottom: .25em;
  position: relative;
}
.app-faq-title::after {
  content: "";
  position: absolute;
  right: -2.25em;         /* RTL: bullet on the right */
  top: .45em;
  width: .625rem;
  height: .625rem;
  border-radius: 50%;
  margin-right: .4375rem;
  background-color: #68cb5b;
}
.app-faq-text { margin-top: .25rem; }
.app-faq.open > .app-faq-heading > svg { color: #8a8a8b; transform: rotate(45deg); }
.app-faq.open > .app-faq-heading:hover > svg { transform: scale(1.05) rotate(45deg); }
.app-faq.open > .app-faq-list { display: block !important; }

/* ── Screenshots strip (RTL) ── */
.app_screens { position: relative; }
.app_screens .sep_line { margin-bottom: 2rem; }
.app_screens_in {
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.app_screens_list {
  white-space: nowrap;
  margin: 0;
  padding-bottom: 2rem;
}
.app_screens_list a {
  display: inline-block;
  vertical-align: bottom;
  background-color: #fff;
  border-radius: .5rem;
  margin-left: 1rem;      /* RTL: gap on the left */
  overflow: hidden;
}
html.darkmod .app_screens_list a { background-color: rgba(255,255,255,.05); }
.app_screens_list a:first-child { margin-left: 0; }
.app_screens_list a img {
  display: block;
  width: auto;
  border-radius: inherit;
}
@media (min-width: 500px) {
  .app_screens { margin-left: -2rem; margin-right: -2rem; }
  .app_screens .sep_line { margin-top: 2rem; }
  .app_screens .section-title { padding-left: 2rem; padding-right: 2rem; }
  .app_screens_list a { height: 300px; }
  .app_screens_list a img { height: 100% !important; }
}
@media (min-width: 768px) { .app_screens { margin-bottom: -2rem; } }
