/* ============================================================
   course-show.css
   Place at: public/assets/qitaf/course-show.css
   Mobile-first · Full RTL + LTR · All screen sizes
   ============================================================ */

:root {
    --blue:       #006aa3;
    --blue-dark:  #004f7a;
    --blue-light: #e8f4fb;
    --text:       #0f1923;
    --muted:      #64748b;
    --border:     #e2eaf2;
    --bg:         #f4f7fb;
    --white:      #ffffff;
    --gold:       #f59e0b;
    --green:      #10b981;
    --red:        #ef4444;
    --radius:     16px;
    --radius-sm:  10px;
    --shadow:     0 4px 20px rgba(0,106,163,.07);
    --shadow-lg:  0 16px 48px rgba(0,106,163,.13);
}

/* ============================================================
   PAGE BASE
   ============================================================ */
.csd-page {
    background: var(--bg);
    animation: csdFade .35s ease both;
    overflow-x: hidden;
    width: 100%;
}

@keyframes csdFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO
   ============================================================ */
.csd-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.csd-hero-bg {
    position: absolute;
    inset: 0;
}

.csd-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(1px) brightness(.85);
    transform: scale(1.03);
}

.csd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(4,20,36,.92) 0%,
        rgba(0,79,122,.70) 50%,
        rgba(0,106,163,.40) 100%
    );
}

.csd-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 48px;
    padding-top: 32px;
}

.csd-hero-content {
    max-width: 720px;
}

/* Breadcrumb */
.csd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.csd-breadcrumb a {
    color: rgba(255,255,255,.72);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s;
}

.csd-breadcrumb a:hover { color: #fff; }

.csd-bc-sep {
    color: rgba(255,255,255,.4);
    font-size: 14px;
}

/* Title */
.csd-hero-title {
    font-size: clamp(18px, 4vw, 40px);
    font-weight: 700;
    color: #fff;
    line-height: 1.28;
    margin-bottom: 16px;
    text-align: start;
}

/* Meta row */
.csd-hero-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.csd-rating-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.csd-rating-count {
    font-size: 13px;
    color: rgba(255,255,255,.72);
}

.csd-approval {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.csd-approval-name {
    font-size: 13px;
    color: rgba(255,255,255,.8);
    font-weight: 600;
}

.csd-approval-logo {
    background: rgba(255,255,255,.18);
    border-radius: 6px;
    padding: 3px 6px;
    display: inline-flex;
    align-items: center;
}

.csd-approval-logo img {
    height: 28px;
    width: auto;
}

/* Progress bar */
.csd-progress-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    max-width: 100%;
}

.csd-progress-track {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,.2);
    border-radius: 10px;
    overflow: hidden;
}

.csd-progress-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 10px;
    transition: width .4s ease;
}

.csd-progress-label {
    font-size: 12px;
    color: rgba(255,255,255,.78);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Special offer */
.csd-special-offer-wrap {
    margin-top: 16px;
}

/* ============================================================
   BODY LAYOUT
   ============================================================ */
.csd-body {
    padding: 36px 0 72px;
}

.csd-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

/* ============================================================
   TABS
   ============================================================ */
.csd-tabs-shell {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 20px;
}

.csd-tabs-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.csd-tabs-scroll::-webkit-scrollbar { display: none; }

.csd-tabs-nav {
    display: flex;
    list-style: none;
    padding: 0 12px;
    margin: 0;
    gap: 2px;
    min-width: max-content;
    border-bottom: 2px solid var(--border);
}

.csd-tab-item { display: flex; }

.csd-tab-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .2s ease, border-color .2s ease;
}

.csd-tab-link svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    flex-shrink: 0;
    opacity: .7;
}

.csd-tab-link:hover { color: var(--blue); text-decoration: none; }

.csd-tab-link.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.csd-tab-link.active svg { opacity: 1; }

.csd-tab-pill {
    font-size: 11px;
    font-weight: 700;
    background: var(--blue-light);
    color: var(--blue);
    padding: 1px 7px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

.csd-tab-link.active .csd-tab-pill {
    background: var(--blue);
    color: #fff;
}

/* Fade indicators */
.csd-tabs-fade {
    position: absolute;
    top: 0;
    width: 36px;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    z-index: 3;
}

.csd-tabs-fade--start {
    inset-inline-start: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.csd-tabs-fade--end {
    inset-inline-end: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

[dir="rtl"] .csd-tabs-fade--start { background: linear-gradient(to left, var(--white), transparent); }
[dir="rtl"] .csd-tabs-fade--end   { background: linear-gradient(to right, var(--white), transparent); }

.csd-tabs-shell.fade-start .csd-tabs-fade--start { opacity: 1; }
.csd-tabs-shell.fade-end   .csd-tabs-fade--end   { opacity: 1; }

/* ============================================================
   TAB PANES
   ============================================================ */
.csd-tab-content {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.csd-pane-inner {
    padding: 28px;
    animation: paneFade .25s ease both;
}

@keyframes paneFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* WYSIWYG typography */
.csd-pane-inner .course-description h1,
.csd-pane-inner .course-description h2,
.csd-pane-inner .course-description h3,
.csd-pane-inner .course-description h4 {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.csd-pane-inner .course-description p,
.csd-pane-inner .course-description span {
    color: var(--muted);
    font-size: 14.5px !important;
    line-height: 1.85;
    font-family: inherit !important;
}

.csd-pane-inner .course-description ul,
.csd-pane-inner .course-description ol {
    padding-inline-start: 22px;
    margin-bottom: 14px;
    color: var(--muted);
}

.csd-pane-inner .course-description li { margin-bottom: 6px; line-height: 1.75; }
.csd-pane-inner .course-description a  { color: var(--blue); }
.csd-pane-inner .course-description strong { color: var(--text); font-weight: 700; }

/* Files tab */
.csd-files-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    text-align: start;
}

.csd-files-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.csd-file-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    transition: border-color .2s, box-shadow .2s;
}

.csd-file-row:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 14px rgba(0,106,163,.08);
}

.csd-file-icon-wrap {
    width: 38px;
    height: 38px;
    background: var(--blue-light);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.csd-file-icon-wrap svg {
    width: 16px;
    height: 16px;
    stroke: var(--blue);
}

.csd-file-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.csd-file-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    word-break: break-word;
    text-align: start;
}

.csd-file-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.csd-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    background: var(--blue-light);
    color: var(--blue);
    border: 1px solid rgba(0,106,163,.2);
    transition: background .2s, color .2s;
}

.csd-file-btn:hover { background: var(--blue); color: #fff; }

.csd-file-btn--dl {
    background: #f0fdf4;
    color: var(--green);
    border-color: rgba(16,185,129,.2);
}

.csd-file-btn--dl:hover { background: var(--green); color: #fff; }

/* Empty state */
.csd-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 56px 24px;
    color: var(--muted);
    text-align: center;
}

.csd-empty svg { stroke: #cbd5e1; }
.csd-empty p { font-size: 14px; font-weight: 600; margin: 0; }

/* ============================================================
   SIDEBAR (desktop)
   ============================================================ */
.csd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

/* Purchase card */
.csd-purchase-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Thumbnail */
.csd-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.csd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.csd-thumb.has-video img { filter: brightness(.65); }
.csd-thumb.has-video:hover img { transform: scale(1.04); }

.csd-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.csd-play-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    transition: transform .2s ease, background .2s ease;
}

.csd-play-btn:hover .csd-play-icon {
    transform: scale(1.1);
    background: var(--blue);
    color: #fff;
}

.csd-play-btn span {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* Card body */
.csd-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Tickets */
.csd-tickets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.csd-ticket {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.csd-ticket:hover:not(.disabled) { border-color: var(--blue); background: var(--blue-light); }
.csd-ticket.disabled { opacity: .5; pointer-events: none; }

.csd-ticket-radio {
    width: 16px;
    height: 16px;
    accent-color: var(--blue);
    flex-shrink: 0;
    cursor: pointer;
}

.csd-ticket-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    flex: 1;
    text-align: start;
}

.csd-ticket-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.csd-ticket-sub {
    font-size: 12px;
    color: var(--muted);
}

.csd-discount-chip {
    font-size: 11px;
    background: #fef3c7;
    color: #b45309;
    padding: 1px 7px;
    border-radius: 20px;
    font-weight: 700;
}

/* Price block */
.csd-price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.csd-price { font-weight: 800; line-height: 1; }
.csd-price--main  { font-size: 30px; color: var(--blue); }
.csd-price--old   { font-size: 17px; color: var(--muted); text-decoration: line-through; font-weight: 500; }
.csd-price--free  { font-size: 26px; color: var(--green); }

.csd-offer-chip {
    font-size: 11px;
    background: #fef3c7;
    color: #b45309;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}

.csd-price-tax {
    font-size: 12px;
    color: var(--muted);
    align-self: center;
}

/* CTA buttons */
.csd-cta-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.csd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, transform .18s, box-shadow .2s;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.csd-btn svg { stroke: currentColor; flex-shrink: 0; }

.csd-btn--primary { background: var(--blue); color: #fff; }
.csd-btn--primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,106,163,.28);
    color: #fff;
    text-decoration: none;
}

.csd-btn--outline {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue);
}
.csd-btn--outline:hover {
    background: var(--blue-light);
    color: var(--blue);
    text-decoration: none;
}

.csd-btn--now { background: var(--green); color: #fff; }
.csd-btn--now:hover { background: #059669; transform: translateY(-1px); }

.csd-btn--points {
    background: #fef3c7;
    color: #b45309;
    border: 1.5px solid #fde68a;
}
.csd-btn--points:hover { background: #fde68a; }

.csd-btn.disabled,
.csd-btn:disabled {
    opacity: .55;
    pointer-events: none;
    cursor: not-allowed;
}

/* Guarantee */
.csd-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--muted);
    text-align: center;
    padding: 10px 0 4px;
}

.csd-guarantee svg { stroke: var(--green); flex-shrink: 0; }

/* Includes */
.csd-includes {
    padding: 16px 0 12px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}

.csd-includes-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    text-align: start;
}

.csd-includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.csd-includes-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    text-align: start;
}

.csd-includes-list svg {
    width: 16px;
    height: 16px;
    stroke: var(--blue);
    flex-shrink: 0;
}

/* Actions row */
.csd-actions-row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
    flex-wrap: wrap;
}

.csd-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: background .2s, color .2s;
    flex: 1;
    justify-content: center;
    min-width: 64px;
    white-space: nowrap;
}

.csd-action-btn svg { stroke: currentColor; flex-shrink: 0; }
.csd-action-btn:hover { background: var(--blue-light); color: var(--blue); text-decoration: none; }

/* Tags card */
.csd-tags-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    padding: 18px 20px;
    box-shadow: var(--shadow);
}

.csd-tags-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    text-align: start;
}

.csd-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.csd-tag {
    padding: 5px 13px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(0,106,163,.15);
    transition: background .2s, color .2s;
}

.csd-tag:hover { background: var(--blue); color: #fff; }

/* ============================================================
   MOBILE FLOATING CTA + DRAWER
   ============================================================ */
.csd-mobile-cta-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    box-shadow: 0 8px 28px rgba(0,106,163,.40);
    cursor: pointer;
    white-space: nowrap;
    align-items: center;
    gap: 8px;
    transition: background .2s, transform .15s;
}

.csd-mobile-cta-toggle:hover {
    background: var(--blue-dark);
    transform: translateX(-50%) translateY(-2px);
}

/* overlay */
.csd-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.52);
    z-index: 1050;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.csd-sidebar-overlay.is-open { display: block; }

/* bottom-sheet drawer */
.csd-sidebar-drawer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 22px 22px 0 0;
    z-index: 1100;
    max-height: 92vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform .38s cubic-bezier(.32,.72,0,1);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.csd-sidebar-drawer.is-open { transform: translateY(0); }

.csd-drawer-handle {
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 10px;
    border-bottom: 1px solid var(--border);
}

.csd-drawer-handle-bar {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 99px;
    margin: 0 auto;
    flex: 1;
}

.csd-drawer-close {
    background: var(--bg);
    border: none;
    color: var(--muted);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s;
}

.csd-drawer-close:hover { background: var(--blue-light); color: var(--blue); }

.csd-drawer-inner {
    padding: 4px 14px 32px;
}

.csd-drawer-inner .csd-purchase-card {
    box-shadow: none;
    border: none;
    border-radius: 0;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── Large desktop ≥ 1200px ── */
@media (min-width: 1200px) {
    .csd-layout { grid-template-columns: 1fr 380px; }
}

/* ── Tablet landscape 992–1199px ── */
@media (min-width: 992px) and (max-width: 1199px) {
    .csd-layout { grid-template-columns: 1fr 310px; gap: 22px; }
    .csd-price--main { font-size: 26px; }
}

/* ── Tablet portrait 768–991px ── */
@media (min-width: 768px) and (max-width: 991px) {
    .csd-layout {
        grid-template-columns: 1fr;
    }
    .csd-sidebar {
        position: static;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }
    .csd-hero { min-height: 300px; }
    .csd-hero-inner { padding-bottom: 36px; padding-top: 28px; }
    .csd-body { padding: 28px 0 56px; }
    .csd-price--main { font-size: 28px; }
}

/* ── Mobile ≤ 767px ── */
@media (max-width: 767px) {
    /* Hero */
    .csd-hero { min-height: 230px; }
    .csd-hero-inner { padding-top: 28px; padding-bottom: 22px; }
    .csd-breadcrumb { font-size: 11px; gap: 4px; }
    .csd-approval-logo img { height: 22px; }

    /* Body */
    .csd-body { padding: 16px 0 40px; }
    .csd-layout { grid-template-columns: 1fr; gap: 16px; }
    .csd-main { padding-bottom: 88px; } /* space for FAB */

    /* Hide desktop sidebar, show mobile drawer */
    /*.csd-sidebar { display: none; }*/
    .csd-mobile-cta-toggle { display: flex; }
    .csd-sidebar-drawer { display: block; }

    /* Tabs */
    .csd-tab-link { padding: 11px 12px; font-size: 13px; }
    .csd-pane-inner { padding: 18px 14px; }

    /* Files */
    .csd-file-row { padding: 12px; gap: 10px; }

    /* Card (inside drawer) */
    .csd-card-body { padding: 14px 14px 20px; }
    .csd-price--main { font-size: 26px; }
    .csd-btn { padding: 12px 16px; font-size: 14px; }
}

/* ── Small mobile ≤ 480px ── */
@media (max-width: 480px) {
    .csd-hero { min-height: 190px; }
    .csd-tab-link { padding: 10px 10px; font-size: 12px; gap: 4px; }
    .csd-tab-link svg { display: none; }
    .csd-tab-pill { font-size: 10px; padding: 1px 5px; }
    .csd-pane-inner { padding: 14px 12px; }
    .csd-action-btn { font-size: 11px; padding: 7px 8px; }
    .csd-price--main { font-size: 24px; }
    .csd-mobile-cta-toggle { padding: 12px 22px; font-size: 13px; }
    .csd-file-row { flex-direction: column; }
    .csd-file-icon-wrap { width: 32px; height: 32px; }
}

/* ============================================================
   LTR SPECIFIC
   ============================================================ */
[dir="ltr"] .csd-hero-content  { text-align: left; }
[dir="ltr"] .csd-hero-title    { text-align: left; }
[dir="ltr"] .csd-includes-title,
[dir="ltr"] .csd-tags-title,
[dir="ltr"] .csd-files-heading,
[dir="ltr"] .csd-file-name,
[dir="ltr"] .csd-ticket-label,
[dir="ltr"] .csd-includes-list li { text-align: left; }

/* ============================================================
   RTL SPECIFIC
   ============================================================ */
[dir="rtl"] .csd-hero-content  { text-align: right; }
[dir="rtl"] .csd-hero-title    { text-align: right; }
[dir="rtl"] .csd-includes-title,
[dir="rtl"] .csd-tags-title,
[dir="rtl"] .csd-files-heading,
[dir="rtl"] .csd-file-name,
[dir="rtl"] .csd-ticket-label,
[dir="rtl"] .csd-includes-list li { text-align: right; }
[dir="rtl"] .section-label { letter-spacing: 0; }

/* RTL mobile drawer position */
[dir="rtl"] .csd-mobile-cta-toggle {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}
