.skip-link.screen-reader-text:focus {
    background: #fff;
    color: #111;
    clip: auto;
    display: block;
    font-size: 16px;
    height: auto;
    left: 12px;
    padding: 10px 16px;
    position: fixed;
    right: auto;
    top: 12px;
    width: auto;
    z-index: 1000000;
}

:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 2px;
}

html.rl-a11y-font body {
    font-family: Arial, "Arial Hebrew", "Heebo", sans-serif !important;
}

html.rl-a11y-links a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
    background: #fff3a0;
    color: #111 !important;
}

html.rl-a11y-headings h1,
html.rl-a11y-headings h2,
html.rl-a11y-headings h3,
html.rl-a11y-headings h4 {
    background: #111;
    color: #fff !important;
    padding: 2px 6px;
}

html.rl-a11y-spacing body {
    letter-spacing: 0.08em !important;
    word-spacing: 0.16em !important;
    line-height: 1.9 !important;
}

html.rl-a11y-pause *,
html.rl-a11y-pause *::before,
html.rl-a11y-pause *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}

html.rl-a11y-contrast body {
    filter: contrast(1.35);
}

html.rl-a11y-invert body {
    filter: invert(1) hue-rotate(180deg);
}

html.rl-a11y-gray body {
    filter: grayscale(1);
}

html.rl-a11y-contrast.rl-a11y-invert body {
    filter: contrast(1.35) invert(1) hue-rotate(180deg);
}

html.rl-a11y-contrast.rl-a11y-gray body {
    filter: contrast(1.35) grayscale(1);
}

html.rl-a11y-invert.rl-a11y-gray body {
    filter: invert(1) hue-rotate(180deg) grayscale(1);
}

html.rl-a11y-contrast.rl-a11y-invert.rl-a11y-gray body {
    filter: contrast(1.35) invert(1) hue-rotate(180deg) grayscale(1);
}

html.rl-a11y-invert img,
html.rl-a11y-invert video,
html.rl-a11y-invert picture,
html.rl-a11y-invert svg {
    filter: invert(1) hue-rotate(180deg);
}

#rl-reading-bar {
    position: fixed;
    left: 0;
    right: 0;
    height: 10px;
    margin-top: -5px;
    background: rgba(253, 224, 71, 0.55);
    border-top: 2px solid #111;
    pointer-events: none;
    z-index: 1000000;
}

.rl-a11y-toggle,
.rl-a11y-panel,
.rl-consent,
.rl-legal-bar {
    font-family: "Heebo", Arial, sans-serif;
}

.rl-a11y-toggle {
    position: fixed;
    bottom: 16px;
    z-index: 100000;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    min-width: 92px;
    height: 42px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

body.rl-a11y-side-left .rl-a11y-toggle,
body.rl-a11y-side-left .rl-a11y-panel {
    left: 16px;
    right: auto;
}

body.rl-a11y-side-right .rl-a11y-toggle,
body.rl-a11y-side-right .rl-a11y-panel {
    right: 16px;
    left: auto;
}

body:not(.rl-has-consent) .rl-a11y-toggle {
    bottom: 64px;
}

.rl-a11y-panel {
    position: fixed;
    bottom: 68px;
    z-index: 100000;
    width: min(280px, calc(100vw - 24px));
    max-height: min(70vh, 560px);
    overflow: auto;
    background: #fff;
    color: #111;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    padding: 12px;
    direction: rtl;
}

body:not(.rl-has-consent) .rl-a11y-panel {
    bottom: 124px;
}

.rl-a11y-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.rl-a11y-panel__head h2 {
    margin: 0;
    font-size: 18px;
}

.rl-a11y-close {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.rl-a11y-panel > button {
    width: 100%;
    margin: 4px 0;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 10px;
    min-height: 36px;
    cursor: pointer;
    font-size: 14px;
}

.rl-a11y-panel button[aria-pressed="true"] {
    background: #111;
    color: #fff;
    border-color: #111;
}

.rl-a11y-size {
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
}

.rl-a11y-size button {
    width: auto;
    margin: 0;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 10px;
    min-height: 36px;
    cursor: pointer;
    font-size: 14px;
}

.rl-a11y-size span {
    text-align: center;
    font-size: 13px;
}

.rl-a11y-note,
.rl-a11y-statement {
    display: block;
    margin: 8px 0 0;
    font-size: 12px;
    color: #4b5563;
}

.rl-consent {
    position: fixed;
    z-index: 100001;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    width: min(760px, calc(100% - 28px));
    margin: 0;
    padding: 28px 40px 24px;
    background: #fff;
    color: #2a2a2a;
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
    direction: rtl;
    text-align: center;
}

.rl-consent--set:not(.is-open) {
    display: none;
}

.rl-consent__text {
    margin: 0 auto;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.65;
}

.rl-consent__more-wrap {
    margin: 16px 0 0;
}

.rl-consent__more {
    color: #7b2d8e;
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rl-consent__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.rl-consent__actions button {
    min-width: 132px;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid #d7d7d7;
    background: #fff;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.rl-consent__actions button[data-rl-choice="all"] {
    background: #3a3a3a;
    border-color: #3a3a3a;
    color: #fff;
}

.rl-legal-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    padding: 12px 16px 18px;
    background: #65132d;
    direction: rtl;
}

.rl-legal-bar a,
.rl-legal-bar__settings {
    color: #fff;
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.rl-legal {
    max-width: 860px;
    margin: 24px auto 48px;
    padding: 0 16px;
    color: #111;
    line-height: 1.7;
}

.rl-legal h1 {
    margin-bottom: 12px;
}

.rl-legal-table {
    overflow-x: auto;
}

.rl-legal table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.rl-legal th,
.rl-legal td {
    border: 1px solid #e5e7eb;
    padding: 8px;
    text-align: right;
    vertical-align: top;
}

.rl-legal th {
    background: #f8f5f6;
}

@media (max-width: 720px) {
    .rl-consent {
        padding: 22px 18px 18px;
        bottom: 78px;
    }

    .rl-consent__text,
    .rl-consent__more {
        font-size: 15px;
    }
}
