/* =========================================================
   ltr.css — English / left-to-right overrides
   Loaded only by the English legal pages (index.en.html)
   ========================================================= */

:root {
    --font: 'Inter', 'Segoe UI', Tahoma, Arial, sans-serif;
}

body {
    line-height: 1.8;
    letter-spacing: .01em;
}

/* ---------- Navigation ---------- */
.nav-links a::after {
    right: auto;
    left: 0;
}

.about-menu {
    right: auto;
    left: 0;
}

.side-nav a {
    border-right: 0;
    border-left: 3px solid transparent;
}

.side-nav a.active {
    border-right-color: transparent;
    border-left-color: var(--primary);
}

/* arrows that point "back" in Arabic must point the other way */
.side-nav a i.fa-angles-left,
.terms-back i {
    transform: scaleX(-1);
}

/* ---------- Lists and callouts ---------- */
.policy-section li::before {
    right: auto;
    left: 0;
}

.terms-list > li::before {
    right: auto;
    left: 0;
}

.callout.info {
    border-right: 0;
    border-left: 4px solid var(--primary);
}

.callout.warn {
    border-right: 0;
    border-left: 4px solid var(--accent);
}

.policy-table th {
    text-align: left;
}

/* ---------- Terms mode layout ---------- */
body.terms-mode .content {
    background-image: linear-gradient(to right, #00104a, #001167 50%, var(--accent));
}

body.terms-mode .terms-rail-right { grid-column: 2; }
body.terms-mode .terms-rail-left { grid-column: 1; }

@media (min-width: 1280px) {
    body.terms-mode .terms-rail-right { grid-column: 3; }
    body.terms-mode .terms-rail-left { grid-column: 1; }
}

@media (max-width: 899px) {
    body.terms-mode .terms-rail-right { grid-column: 1; grid-row: 1; }
    body.terms-mode .terms-rail-left { grid-column: 1; grid-row: 2; }
}

/* ---------- Reveal animations ---------- */
.reveal-left { transform: translateX(40px); }
.reveal-right { transform: translateX(-40px); }
.reveal-left.visible,
.reveal-right.visible { transform: translateX(0); }

/* ---------- Footer and floating button ---------- */
.footer-col h4::after {
    right: auto;
    left: 0;
}

.footer-col ul a {
    transition: color .2s ease, padding-left .2s ease;
}

.footer-col ul a:hover {
    padding-right: 0;
    padding-left: 6px;
}

.to-top {
    left: auto;
    right: 26px;
}

@media (max-width: 767px) {
    .to-top {
        left: auto;
        right: 18px;
    }
}
