/* Arabic (RTL) landing pages under ar/ : loaded for every Home landing page whose first segment is ar */
/* Wrap the page content in <main class="cm-ar-page" dir="rtl" lang="ar">; menu and footer stay LTR */
/* Logical properties and flex gaps keep these rules direction neutral */

.cm-ar-page
{
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
    text-align: right;
}
.cm-ar-page h1,
.cm-ar-page h2,
.cm-ar-page h3,
.cm-ar-page h4,
.cm-ar-page h5,
.cm-ar-page h6,
.cm-ar-page .lead,
.cm-ar-page .btn
{
    font-family: inherit;
    letter-spacing: 0;
}
.cm-ar-page .lead
{
    line-height: 1.9;
}

/* Hero */
.cm-ar-hero-badges
{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.cm-ar-lang-switch
{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.cm-ar-lang-switch:hover
{
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.cm-ar-hero-cta
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.cm-ar-hero-points
{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 24px 0 64px; /* Clear the diagonal hero divider below */
    padding: 0;
    list-style: none;
}
.cm-ar-hero-points li
{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}
@media (min-width: 992px)
{
    .cm-ar-hero-badges,
    .cm-ar-hero-cta
    {
        justify-content: flex-start;
    }
}
@media (max-width: 575px)
{
    .cm-ar-hero-points
    {
        grid-template-columns: 1fr;
    }
}

/* Ranked list cards (competitor / alternatives pages) */
.cm-ar-rank-card-top
{
    border: 2px solid #0fc212;
    box-shadow: 0 0 12px 0 rgba(15, 194, 18, 0.25);
}
.cm-ar-rank-row
{
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.cm-ar-rank-badge
{
    font-size: 1rem;
    min-width: 34px;
    margin-top: 4px;
}
.cm-ar-rank-title
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* Comparison check lines */
.cm-ar-check-line
{
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.cm-ar-check-yes
{
    color: #0fc212;
}
.cm-ar-check-no
{
    color: #d91a0d;
}
.cm-ar-check-partial
{
    color: #f0a808;
}
.cm-ar-vendor-wordmark
{
    display: inline-block;
    font-weight: 700;
    line-height: 45px; /* Same height as the ChatMaxima logo opposite */
    margin: 0;
}
.cm-ar-logo
{
    display: block;
    margin: 0 auto;
}

/* FAQ toggle: question and chevron on opposite ends in either direction */
.cm-ar-faq-toggle
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
