/* Riviera Life — overrides for English (LTR) pages only. Loaded by inc/i18n.php when the page language is English.
   The theme is built mostly with logical properties (margin-inline, inset-inline-start…), which flip automatically;
   this file only mirrors the few physical left/right rules and directional hover nudges. */
html[dir=ltr] body{font-family:"IBM Plex Sans","IBM Plex Sans Arabic",system-ui,-apple-system,"Segoe UI",sans-serif}
html[dir=ltr] .post-thumb .cat{right:auto;left:14px}
html[dir=ltr] .faq-q{text-align:left}
html[dir=ltr] .med-src .src-dom{text-align:left}
html[dir=ltr] .hero-float{right:auto;left:-6px}
html[dir=ltr] .lb-prev{right:auto;left:24px}
html[dir=ltr] .lb-next{left:auto;right:24px}
@media(max-width:768px){
  html[dir=ltr] .lb-prev{right:auto;left:12px}
  html[dir=ltr] .lb-next{left:auto;right:12px}
  html[dir=ltr] .hero-float{right:auto;left:12px}
}
html[dir=ltr] .pgm-card:hover .pcard-more svg,html[dir=ltr] .pfeat:hover .pcard-more svg{transform:translateX(4px)}
html[dir=ltr] .rlp-go{transform:translateX(-4px)}
html[dir=ltr] .rlp-row:hover .rlp-go,html[dir=ltr] .rlp-row.hot .rlp-go{transform:translateX(0)}
html[dir=ltr] .hub-card:hover .hc-go{transform:translateX(3px)}
html[dir=ltr] .srch-go{transform:translateX(-5px)}
html[dir=ltr] .srch-row:hover .srch-go{transform:translateX(0)}
html[dir=ltr] .tcard:hover .link svg{transform:translateX(4px)}
html[dir=ltr] .wd-prose .wd-fam-b ul:not(.wd-links) li::before{transform:none}
/* Header: English labels and the CTA are longer than Arabic — the bar (max 1200px) must hold
   brand + nav + language/search/CTA on one line down to the burger breakpoint without overflowing */
html[dir=ltr] .head-in{gap:12px}
html[dir=ltr] .head-cta{gap:8px}
html[dir=ltr] .head-in .nav>a,html[dir=ltr] .head-in .nav .nm-btn{font-size:15.5px;padding-left:9px;padding-right:9px}
@media(max-width:1520px){
 html[dir=ltr] .head-in .nav>a,html[dir=ltr] .head-in .nav .nm-btn{font-size:14.5px;padding-left:5px;padding-right:5px}
 html[dir=ltr] .head-cta .btn-sun{font-size:14px;padding:10px 16px}
}
@media(max-width:1300px){html[dir=ltr] .head-in .nav>a,html[dir=ltr] .head-in .nav .nm-btn{font-size:14px}}
/* Mega menu: .nav a is nowrap; English labels must wrap inside their column instead of running into the next one */
html[dir=ltr] .mega a,html[dir=ltr] .mega .mg-head b{white-space:normal}
html[dir=ltr] .mega .mg-list a{line-height:1.35}
html[dir=ltr] .mg-cols{grid-template-columns:minmax(0,1.5fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr)}
html[dir=ltr] .mega .mg-book{padding:10px 12px}
html[dir=ltr] .mega .mg-all{display:inline-block}
html[dir=ltr] .mega .mg-all svg{display:inline-block;vertical-align:-2px;margin-left:2px}
/* Table of contents numbers: Western digits */
html[dir=ltr] .toc a::before{content:counter(toc,decimal)}
/* Pillar hero: the reviewer line is longer in English — let it wrap instead of squeezing the profile card */
@media(min-width:901px){html[dir=ltr] .dh-grid{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr)}}
html[dir=ltr] .dh-review{display:block;width:auto;border-radius:18px;line-height:1.7}
html[dir=ltr] .dh-review svg{display:inline-block;vertical-align:-4px;margin-right:7px}
/* Pillar/category hero: English step notes and reviewer titles are longer (the hero grid is 1fr, not minmax(0,1fr), on mobile) */
html[dir=ltr] .wd-hero-in>*{min-width:0}
html[dir=ltr] .wd-hc-steps em{white-space:normal;text-align:right;line-height:1.35}
html[dir=ltr] .wd-rev-tx em{max-width:250px;white-space:normal;overflow:visible;line-height:1.35}
@media(max-width:600px){
 html[dir=ltr] .wd-hc-steps li{grid-template-columns:38px 1fr;row-gap:2px}
 html[dir=ltr] .wd-hc-steps em{grid-column:2;text-align:left}
}
/* Latin headings read better with tighter leading than the Arabic defaults */
html[dir=ltr] h3,html[dir=ltr] h4{line-height:1.4}
@media(max-width:768px){html[dir=ltr] .hero h1{line-height:1.22}}
