/* =========================================================
   LTR overrides — loaded ONLY for English (TranslatePress).
   Mirrors the RTL-specific declarations in style.css.
   ========================================================= */

/* Baseline */
body {
    direction: ltr;
    text-align: left;
}

/* ── Top bar ─────────────────────────────────────────── */
.top-bar .dropdown-item {
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.top-bar .dropdown-item:hover {
    padding-right: 12px;
    padding-left: 18px;
}

/* ── Main navbar / hero ──────────────────────────────── */
.hero-content-col h1,
.hero-content-col p {
    text-align: left;
}
.hero-owl .owl-dots {
    right: auto;
    left: 40px;
}
.college-hero-slider.owl-carousel .owl-dots {
    right: auto;
    left: max(12px, calc((100% - 1320px) / 2 + 12px));
}

@media (max-width: 991.98px) {
    .hero-container {
        text-align: left;
    }
}

/* Register / CTA arrow icons point forward (right) in LTR */
.btn-register .arrow-circle i,
.mob-oc-register .arrow-circle i {
    transform: scaleX(-1);
    display: inline-block;
}

/* ── Mobile offcanvas nav ────────────────────────────── */
.mob-sub-toggle {
    border-right: none;
    border-left: 1px solid #eef2f4;
}

/* ── Sections that hardcode direction: rtl ───────────── */
.research-input,
.colg-meta,
.event-featured-body,
.event-featured-footer,
.events-tabs,
.ev-list-item,
.nrs-h-card-body,
.sfc-popup-detail-col,
.psr-input,
.srch-hero-input,
.srch-card,
.srch-empty-input,
.srch-modal-wrap {
    direction: ltr;
}

.facts-items {
    direction: ltr;
    flex-direction: row;
}
.nrs-h-card {
    flex-direction: row;
}

/* ── text-align: right → left ────────────────────────── */
.research-box-title,
.research-input,
.facts-header,
.sfc-body,
.sfc-popup-excerpt td,
.success-card-body,
.rss-title,
.rss-quote,
.path-title,
.career-title,
.adm-label,
.dept-events-title,
.de-card-text,
.prog-title,
.prog-label,
.psr-input,
.srch-empty-tips,
.college-acc-btn,
.cp-table th,
.cp-table td,
.ap-plan-table th {
    text-align: left;
}
.ap-course-code-cell {
    direction: ltr;
    text-align: left;
}
.post-content ol {
    padding-right: 0;
    padding-left: 24px;
}
.post-nav-prev {
    text-align: left;
}

/* ── border-right / padding-right mirrors ────────────── */
.sfc-popup-excerpt ol {
    padding-right: 0;
    padding-left: 1.5em;
}
.sfc-popup-excerpt blockquote {
    border-right: none;
    border-left: 3px solid #D0A968;
    padding-right: 0;
    padding-left: 14px;
}
.council-label {
    right: auto;
    left: 22px;
    border-right: none;
    border-left: 3px solid #fff;
    padding-right: 0;
    padding-left: 10px;
}
.career-label {
    right: auto;
    left: 20px;
    border-right: none;
    border-left: 3px solid #fff;
    padding-right: 0;
    padding-left: 12px;
}
.college-dean-content {
    border-right: none;
    border-left: 4px solid var(--un-teal, #0f8fa0);
    padding-right: 0;
    padding-left: 18px;
}
.college-prog-vm-item + .college-prog-vm-item {
    border-right: none;
    border-left: 1px solid #d8edf1;
}
.um-member-info {
    border-right: none;
    border-left: 3px solid #00ADCA;
}
.srch-card-date {
    margin-right: 0;
    margin-left: auto;
}

/* ── Absolutely-positioned elements: right → left ────── */
.path-icon-wrap {
    right: auto;
    left: 24px;
}
.arch-card-cat {
    right: auto;
    left: 14px;
}
.college-vm-icon {
    right: auto;
    left: -16px;
}
.sfc-popup-counter {
    right: auto;
    left: 16px;
}
.sfc-tab-ext-link {
    left: auto;
    right: -7px;
}
.sfc-popup-close {
    left: auto;
    right: 22px;
}
@media (max-width: 767px) {
    .sfc-popup-close {
        left: auto;
        right: 12px;
    }
}

/* Search modal input padding (was trailing-side padding for RTL) */
.srch-hero-input {
    padding: 16px 0 16px 18px;
}

/* ── Footer ──────────────────────────────────────────── */
.footer-col-title::after {
    right: auto !important;
    left: 0 !important;
}
.footer-nav-list li a::before {
    content: "›" !important;
}
.footer-nav-list li a:hover::before {
    transform: translateX(2px) !important;
}
.footer-newsletter-form {
    direction: ltr !important;
}

/* Diriyah decorative strip sits on the trailing edge (right) in LTR */
.footer-heritage {
    left: auto;
    right: 0;
}
.footer-heritage-img {
    -webkit-mask-image: linear-gradient(-90deg, #000 42%, transparent 96%);
    mask-image: linear-gradient(-90deg, #000 42%, transparent 96%);
}
.footer-heritage::after {
    background: linear-gradient(-90deg, rgba(11,42,74,.55) 0%, rgba(11,42,74,.85) 55%, #0B2A4A 100%);
}

/* Numbers/phone-like inline content stays LTR anyway */
.footer-contact-list a[dir="ltr"],
.ap-course-code-cell {
    direction: ltr;
}
