/* ==========================================================================
   Spexo — RTL layout overrides
   Applied whenever <html dir="rtl"> is set (Arabic, Urdu — see i18n.js).
   Text direction and default text-align are already handled by the browser
   via the dir attribute; this file mirrors the physical left/right layout
   declarations (margins, padding, borders, floats, absolute offsets) from
   main.css / blog.css / base.css / about.css / legal.css / footer.css that
   the browser does NOT flip automatically. header.css has its own RTL
   rules already (nav, language menu, form inputs) and isn't duplicated here.

   Generated by mirroring every left/right-related declaration in those
   files. Purely-centered elements (left:50% + transform:translateX(-50%),
   i.e. things centered on a point rather than anchored to an edge) were
   deliberately left out — that kind of centering is already
   direction-agnostic and needs no RTL rule.
   ========================================================================== */


/* ---- public/css/main.css ---- */
html[dir="rtl"] .card-value span.unit{ margin-right:4px; }
html[dir="rtl"] .graph-card{ margin-right:0; }
html[dir="rtl"] table.history-table th{ text-align:right; }
html[dir="rtl"] .err-banner{ text-align:right; }
html[dir="rtl"] .measurement-section::before{ left:-110px; }
html[dir="rtl"] .measurement-card::after{ left:-24px; }
html[dir="rtl"] .speed-result-close{ left:12px; }
html[dir="rtl"] .result-metric-icon{ margin-left:7px; }
html[dir="rtl"] .result-download strong{ margin-right:8%; }
html[dir="rtl"] .result-upload strong{ margin-left:8%; }
html[dir="rtl"] .result-ping-row b{ margin-right:4px; }
html[dir="rtl"] .reviews-summary{ text-align:left; }
html[dir="rtl"] .speed-result-close{ left:10px; }
html[dir="rtl"] .result-ping-main b, html[dir="rtl"] .result-jitter b{ margin-left:2px; }
html[dir="rtl"] .result-jitter:before{ margin-left:6px; }
html[dir="rtl"] .review-selected-rating{ margin-right:5px; }
html[dir="rtl"] .report-meta-item{ border-left:1px dashed #cbd5e3; }
html[dir="rtl"] .report-meta-item:last-child{ border-left:0; }
html[dir="rtl"] .report-section-tab{ right:-1px; }
html[dir="rtl"] .report-detail-item{ border-left:1px dashed #cbd5e3; }
html[dir="rtl"] .report-detail-item:last-child{ border-left:0; }
html[dir="rtl"] .report-note-item+.report-note-item{ border-right:1px dashed #cbd5e3; padding-right:22px; }
html[dir="rtl"] .report-found-card{ text-align:right; }
html[dir="rtl"] .review-modal-close{ left:14px; }
html[dir="rtl"] .report-header-v5{ text-align:right; }
html[dir="rtl"] .report-brand-area{ text-align:right; }
html[dir="rtl"] .report-brand-area h2{ text-align:right; }
html[dir="rtl"] .report-brand-area>p{ text-align:right; }
html[dir="rtl"] .report-run-again{ text-align:right; }
html[dir="rtl"] .report-print-button span{ margin-left:10px; }
html[dir="rtl"] .speed-result-close{ left:12px!important; }
html[dir="rtl"] .report-header-actions{ padding-left:22px!important; }
html[dir="rtl"] .report-print-button span{ margin-left:6px!important; }
html[dir="rtl"] .speed-result-close{ left:12px!important; }
html[dir="rtl"] .speed-result-close{ left:12px !important; }
html[dir="rtl"] .report-latency-grid .report-detail-item:nth-child(n){ border-left:1px solid #dce6f2 !important; }
html[dir="rtl"] .speed-result-close{ left:22px !important; }
html[dir="rtl"] .report-header-actions{ padding-left:36px !important; }
html[dir="rtl"] .report-sparkline{ right:14px; left:14px; }
html[dir="rtl"] .speed-result-close{ left:18px!important; }
html[dir="rtl"] .speed-result-close{ left:10px!important; }
html[dir="rtl"] .measurement-card::after{ left:-58px; }
@media (max-width:720px){
  html[dir="rtl"] .reviews-summary{ text-align:right; }
}
@media (max-width:760px){
  html[dir="rtl"] .review-selected-rating{ text-align:left; }
}
@media (max-width:520px){
  html[dir="rtl"] .review-selected-rating{ margin-right:4px; text-align:right; }
}
@media (max-width:640px){
  html[dir="rtl"] .reviews-summary{ text-align:right; }
}
@media(max-width:1050px){
  html[dir="rtl"] .report-meta-item:nth-child(3){ border-left:0; }
  html[dir="rtl"] .report-detail-item:nth-child(2){ border-left:0; }
  html[dir="rtl"] .report-note-item+.report-note-item{ border-right:0; }
  html[dir="rtl"] .report-header-actions{ padding-left:0!important; }
}
@media(max-width:680px){
  html[dir="rtl"] .report-meta-item{ border-left:0; }
  html[dir="rtl"] .report-meta-item:nth-child(odd){ border-left:1px dashed #cbd5e3; }
  html[dir="rtl"] .report-detail-item, html[dir="rtl"] .report-detail-item:nth-child(2){ border-left:0; }
}
@media(max-width:420px){
  html[dir="rtl"] .report-meta-item, html[dir="rtl"] .report-meta-item:nth-child(odd){ border-left:0; }
}
@media(max-width:430px){
  html[dir="rtl"] .report-meta-item{ border-left:0!important; }
  html[dir="rtl"] .report-meta-item:nth-child(odd){ border-left:1px dashed #cbd5e3 !important; }
}
@media(max-width:700px){
  html[dir="rtl"] .report-header-actions{ padding-left:0!important; }
  html[dir="rtl"] .speed-result-close{ left:9px !important; }
  html[dir="rtl"] .report-meta-item:nth-child(3n){ border-left:0 !important; }
  html[dir="rtl"] .report-meta-item:nth-child(odd){ border-left:1px dashed #cbd5e3 !important; }
  html[dir="rtl"] .report-note-item+.report-note-item{ border-right:0 !important; }
  html[dir="rtl"] .report-note-item+.report-note-item{ border-right:0 !important; }
}
@media(max-width:1180px){
  html[dir="rtl"] .report-header-v5{ padding-left:42px!important; }
}
@media(max-width:1100px){
  html[dir="rtl"] .report-header-v5{ padding-left:42px !important; }
  html[dir="rtl"] .report-meta-item:nth-child(3n){ border-left:0 !important; }
}
@media(max-width:350px){
  html[dir="rtl"] .report-meta-item, html[dir="rtl"] .report-meta-item:nth-child(odd){ border-left:0 !important; }
}
@media (min-width:701px) and (max-height:820px){
  html[dir="rtl"] .speed-result-close{ left:8px !important; }
}
@media (max-width:1250px){
  html[dir="rtl"] .report-header-actions{ padding-left:0 !important; }
}
@media (min-width:651px){
  html[dir="rtl"] .report-sparkline{ right:10px !important; left:10px !important; }
}
@media (max-width:1180px){
  html[dir="rtl"] .report-header-v5{ padding-left:52px!important; }
}
@media (max-width:650px){
  html[dir="rtl"] .speed-result-close{ left:10px!important; }
}

/* ---- public/css/blog.css ---- */
html[dir="rtl"] .blog-search svg{ right:14px; }
html[dir="rtl"] .featured-badge{ right:16px; }
html[dir="rtl"] .post-byline-text{ text-align:right; }
html[dir="rtl"] .post-body ul, html[dir="rtl"] .post-body ol{ padding-right:24px; }
html[dir="rtl"] .post-body blockquote{ border-right:3px solid var(--cyan); }
html[dir="rtl"] .post-body th, html[dir="rtl"] .post-body td{ text-align:right; }
html[dir="rtl"] .share-label{ margin-left:4px; }
html[dir="rtl"] .post-nav.nav-next{ text-align:left; }
html[dir="rtl"] .reading-progress{ right:0; }
html[dir="rtl"] .sidebar-search button{ left:5px; }

/* ---- public/css/legal.css ---- */
html[dir="rtl"] .legal-details .legal-note{ border-right:2px solid var(--cyan); }
html[dir="rtl"] .modern-legal-page .prose h2::before{ right:-18px; }
html[dir="rtl"] .modern-legal-page .prose ul, html[dir="rtl"] .modern-legal-page .prose ol{ padding-right:22px; }
html[dir="rtl"] .modern-legal-page .page-hero h1, html[dir="rtl"] .modern-legal-page .page-hero p{ margin-right:auto; margin-left:auto; }
html[dir="rtl"] .modern-legal-page .legal-prose-card{ margin-right:auto; margin-left:auto; }
@media(max-width:900px){
  html[dir="rtl"] .modern-legal-page .prose h2::before{ right:-12px; }
}

/* ---- public/css/base.css ---- */
html[dir="rtl"] .prose ul, html[dir="rtl"] .prose ol{ padding-right:22px; }
html[dir="rtl"] .prose caption{ text-align:right; }
html[dir="rtl"] .prose th, html[dir="rtl"] .prose td{ text-align:right; }
html[dir="rtl"] .cta-box p{ margin-right:auto; margin-left:auto; }

/* ---- public/css/about.css ---- */
html[dir="rtl"] .about-card::after{ left:-35px; }
html[dir="rtl"] .about-number{ left:20px; }

/* ---- public/css/footer.css ---- */

