/* Arabic (RTL) hotel pages: /ar/hotels-dahab and /ar/hotels-dahab-mamsha.
   System Arabic fonts only (no download), so the pages stay as fast as the rest of the site. */
html[dir="rtl"] body{font-family:"Segoe UI",Tahoma,"Noto Sans Arabic","Geeza Pro","Arabic UI Text",Arial,sans-serif;line-height:1.75;text-align:right}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] h4{font-family:inherit;letter-spacing:0;line-height:1.35}
html[dir="rtl"] .logo,html[dir="rtl"] [dir="ltr"]{font-family:inherit}
html[dir="rtl"] .crumb{direction:rtl}
html[dir="rtl"] .lang-menu{right:auto;left:0;text-align:left}
html[dir="rtl"] .mobile-menu a{text-align:right}
html[dir="rtl"] .footer-grid{text-align:right}
html[dir="rtl"] .wa-fab{right:auto;left:18px}

.ar-hero h1{font-size:clamp(1.7rem,4.2vw,2.6rem);margin:.2em 0 .45em;max-width:24ch}
.ar-lead{font-size:1.08rem;max-width:68ch;color:var(--grey-dark,#3d4a50)}
.ar-meta{font-size:.86rem;color:var(--grey,#6b7b82);margin-top:6px}
.ar-jump{margin-top:14px}
.ar-p{max-width:72ch;margin:0 0 14px}
.ar-small{font-size:.9rem;color:var(--grey,#6b7b82);max-width:72ch;margin-top:14px}
.ar-page .section{padding-top:34px;padding-bottom:34px}
.ar-page .section.container > h2{margin-bottom:10px}

/* hotel cards: app-like, one per row on phones */
.ar-list{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}
.ar-card{background:#fff;border:1px solid var(--grey-light,#dfe6e8);border-radius:16px;padding:16px 16px 14px;display:flex;flex-direction:column;gap:8px;box-shadow:0 2px 10px rgba(11,40,50,.04);transition:border-color .15s,box-shadow .15s}
.ar-card:hover{border-color:#9fd3cf;box-shadow:0 6px 20px rgba(11,40,50,.08)}
.ar-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.ar-name{font-size:1.08rem;margin:0;line-height:1.3}
.ar-name a{color:inherit;text-decoration:none}
.ar-name a:hover{color:#0b7a75}
.ar-name .st-stars{font-size:.85rem;color:#e0a100;white-space:nowrap}
.ar-meta,.ar-card .ar-meta{margin:2px 0 0;font-size:.84rem;color:var(--grey,#6b7b82)}
.ar-card .ar-meta b{color:#0b7a75;font-weight:700}
.ar-rate{display:flex;align-items:center;gap:8px;flex-shrink:0}
.ar-rate .st-score{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:34px;padding:0 6px;border-radius:9px 9px 9px 2px;background:#0b3b4f;color:#fff;font-weight:700;font-size:.95rem;direction:ltr}
.ar-rate-t{display:flex;flex-direction:column;font-size:.78rem;line-height:1.3}
.ar-rate-t b{font-size:.84rem;color:#0b3b4f}
.ar-rate-t span{color:var(--grey,#6b7b82)}
.ar-txt{margin:0;font-size:.95rem;color:var(--grey-dark,#3d4a50)}
.ar-buy{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto;padding-top:6px;border-top:1px dashed var(--grey-light,#dfe6e8)}
.ar-price{display:flex;flex-direction:column;line-height:1.2;margin-inline-end:auto}
.ar-price b{font-size:1.15rem;color:#0b3b4f}
.ar-price span{font-size:.74rem;color:var(--grey,#6b7b82)}
.ar-cta{padding:10px 18px;font-weight:700;white-space:nowrap}
.ar-more{font-size:.86rem;white-space:nowrap}

/* quick-pick table (reuses .wbm styles from app.css) */
.ar-table{min-width:640px}
html[dir="rtl"] .ar-table th,html[dir="rtl"] .ar-table td{text-align:right;white-space:normal}
.ar-table tbody th a{font-weight:700;color:#0b3b4f}
.ar-tbl-cta{display:inline-block;background:#0b7a75;color:#fff !important;border-radius:999px;padding:6px 14px;font-weight:700;font-size:.85rem;white-space:nowrap;text-decoration:none}
.ar-tbl-cta:hover{background:#09615d}

/* FAQ */
.ar-faq details{background:#fff;border:1px solid var(--grey-light,#dfe6e8);border-radius:12px;padding:12px 16px;margin:10px 0;max-width:820px}
.ar-faq summary{cursor:pointer;font-weight:700;color:#0b3b4f;list-style:none;position:relative;padding-left:24px}
.ar-faq summary::-webkit-details-marker{display:none}
.ar-faq summary::after{content:"+";position:absolute;left:0;top:0;font-weight:700;color:#0b7a75}
.ar-faq details[open] summary::after{content:"−"}
.ar-faq details p{margin:8px 0 2px}

@media (max-width:600px){
  .ar-list{grid-template-columns:1fr}
  .ar-card{padding:14px}
  .ar-buy{gap:8px}
  .ar-cta{flex:1 1 auto;text-align:center}
  .ar-page .section{padding-top:26px;padding-bottom:26px}
}
/* RTL scroll containers: keep the wide tables scrolling inside their box, never widening the page */
.ar-page .wbm-wrap{position:relative}   /* anchors the screen-reader-only header label inside the scroll box */
