/* ================================================
   Hebrew stylesheet for posts-he/ articles
   Layout stays LTR (sidebar on right, same as English)
   Only text content switches to RTL
   ================================================ */

/* Article body text only — NOT the whole page */
.single-content p,
.single-content h2,
.single-content h3,
.single-content h4,
.single-content figcaption,
.single-content ul,
.single-content ol,
.single-content li,
.single-content .references p,
.single-content .article-subtitle {
    direction: rtl;
    text-align: right;
}

.single-content ul,
.single-content ol {
    padding-right: 1.5em;
    padding-left: 0;
}

/* Page header centered */
.page-header h1,
.page-header h2 {
    text-align: center;
}

/* Sidebar text only */
.sidebar .widget-title {
    text-align: right;
}

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 18px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.75);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.lang-btn.active {
    background: rgba(255,255,255,0.22);
    color: #fff;
    border-color: #fff;
    font-weight: 600;
}

.lang-divider {
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}
