:root {
  --primary-bg-color: #1d4268;
  --secondary-bg-color: #1f2d4a;
  --tertiary-bg-color: #276aa5;
  --quaternary-bg-color: #ffffff;
  --quinary-bg-color: #151f38;

  --primary-text-color: #ffffff;
  --secondary-text-color: #000000;
  --tertiary-text-color: #7eac2f;
  --quaternary-text-color: #1d4268;
  --quinary-text-color: #276aa5;

  --primary-btn-color: #7eac2f;
  --primary-btn-hover-color: #151f38;

  --secondary-btn-color: #23272e;
  --secondary-btn-hover-color: #7eac2f;

  --primary-text-hover-color: #7eac2f;

  --primary-box-shadow: 0 0 200px 0 rgba(78, 165, 34, 0.3);

  --primary-transition: 0.2s ease-in-out;
  --secondary-transition: 0.4s ease-in-out;
}

/* Roboto-Regular */
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Roboto-Regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Roboto-Medium */
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/Roboto-Medium.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Roboto-Bold */
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Roboto-Bold.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Cairo — arabic-capable font (variable, weights 400-700) */
@font-face {
  font-display: swap;
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 700;
  src: url("../fonts/Cairo-Arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-display: swap;
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 700;
  src: url("../fonts/Cairo-Latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
button {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
}

body {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  text-decoration: none;
  color: inherit;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: 700;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

button {
  letter-spacing: normal;
  white-space: nowrap;
  text-transform: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
  padding: 0;
}

*,
*:after,
*:before {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

fieldset,
img {
  border: 0;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-size: 100%;
  border: none;
}

input,
button,
textarea,
select {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

a,
input[type="submit"],
button,
a:before,
a:after,
button:before,
button:after,
a > *,
button > * {
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

ol,
ul {
  list-style: none;
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--primary-text-color);
  background-color: var(--secondary-bg-color);
  font-family: "Cairo", "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
}

body.no-scroll {
  overflow: hidden;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--quaternary-bg-color) inset !important;
  -webkit-text-fill-color: var(--secondary-text-color) !important;
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}

section {
  scroll-margin-top: 80px;
}

p {
  margin-top: 20px;
}

h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: normal;
}

h3 {
  font-weight: 700;
  font-size: 26px;
  line-height: normal;
}

h4 {
  font-weight: 700;
  font-size: 20px;
  line-height: normal;
}

h5 {
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
}

.mt-8 {
  margin-top: 8px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.mr-8 {
  margin-right: 8px;
}

.relative {
  position: relative;
}

.relative > h2,
.relative > h3,
.relative > p {
  color: var(--primary-text-color);
}

.bold-16 {
  font-weight: 700;
  font-size: 16px;
}

.title-list {
  font-weight: 700;
  font-size: 16px;
}

.text-color-primary {
  color: var(--primary-text-color);
}

.container {
  padding: 0 8px;
  max-width: 1600px;
  margin: 0 auto;
}

.is-submitting {
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.background {
  display: block !important;
  position: absolute !important;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-img-block {
  position: relative;
  border-radius: 8px;
  padding: 16px;
  overflow: hidden;
}
/* Primary button */

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 32px;
  font-weight: 400;
  font-size: 14px;
  background-color: var(--primary-btn-color);
  color: var(--primary-text-color);
  line-height: normal;
  border: 1px solid var(--primary-btn-color);
  padding: 6px 16px;
  border-radius: 8px;
  white-space: nowrap;
  text-transform: uppercase;
  will-change: transform;
}

.primary-button--fix-size {
  max-width: max-content;
}

.primary-button:hover,
.primary-button:active,
.primary-button:focus {
  background-color: var(--primary-btn-hover-color);
}

/* Secondary button */

.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 32px;
  font-weight: 400;
  font-size: 14px;
  background-color: var(--tertiary-bg-color);
  color: var(--primary-text-color);
  line-height: normal;
  border: 1px solid transparent;
  padding: 6px 16px;
  border-radius: 8px;
  white-space: nowrap;
  text-transform: uppercase;
  will-change: transform;
}

.secondary-button:hover,
.secondary-button:active,
.secondary-button:focus {
  border-color: var(--secondary-btn-hover-color);
}

/* Scroll Top */

.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #13171f;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  text-decoration: none;
  cursor: pointer;
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  will-change: transform;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: scale(1.1);
}

/* Section */

.section {
  position: relative;
  margin-bottom: 20px;
  padding: 20px;
  background-color: var(--quinary-bg-color);
  color: var(--primary-text-color);
  border-radius: 8px;
}

.section h2,
.section h3,
.section h4,
.section h5 {
  text-transform: uppercase;
}

/* Table */

.table-wrapper {
  border-radius: 12px;
  border: 1px solid #d4dee8;
  overflow: auto;
}

.table {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  min-width: 600px;
}

.table::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  pointer-events: none;
}

.table thead {
  background-color: #d4dee8;
  font-weight: 700;
  font-size: 20px;
  line-height: normal;
  color: var(--quaternary-text-color);
  text-transform: uppercase;
}

.table thead th {
  padding: 16px;
}

.table tr {
  text-align: left;
  white-space: normal;
  vertical-align: middle;
  width: auto;
}

.table tbody tr:not(:last-child) {
  border-bottom: 1px solid #848e98;
}

.table tbody tr {
  background-color: var(--primary-bg-color);
}

.table tbody td {
  padding: 19.5px 16px;
  color: var(--primary-text-color);
  font-size: 16px;
}

.table a:hover,
.table a:focus,
.table a:active {
  text-decoration: underline;
}

/* Banner */

.banner {
  margin-bottom: 20px;
  position: relative;
  padding: 35px 100px;
  min-height: 360px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
}

.banner__wrap {
  position: relative;
  max-width: 780px;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.banner__title {
  font-weight: 700;
  font-size: 45px;
  text-transform: uppercase;
  line-height: normal;
}

.banner__title span {
  display: block;
}

.banner__button {
  margin-top: 24px;
}

/* Accordionn */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion__item {
  border: 1px solid #d4dee8;
  border-radius: 8px;
  overflow: hidden;
}

.accordion__title {
  position: relative;
  padding: 16px 50px 16px 16px;
  font-weight: 700;
  font-size: 20px;
  color: #121212;
  line-height: normal;
  background-color: #d4dee8;
  cursor: pointer;
}

.accordion__title:after {
  content: "";
  position: absolute;
  background: url(../img/icons/icon-arrow-black.svg);
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-size: contain;
  rotate: 180deg;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  transition: all 0.3s;
}

.accordion__title.active:after {
  transform: scaleY(-1);
}

.accordion__block {
  background-color: var(--primary-bg-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  margin: 0;
  text-align: left;
}

.accordion__text-wrap {
  padding: 16px;
  background-color: var(--primary-bg-color);
  color: var(--primary-text-color);
  line-height: 1.6;
}

.accordion__text {
  margin: 0;
}

.accordion__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--quaternary-text-color);
}

.accordion__list li {
  position: relative;
  padding-left: 30px;
}

.accordion__list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 16px;
  width: 6px;
  height: 6px;
  background-color: var(--secondary-bg-color);
  border-radius: 50%;
}

.accordion__list li span:first-child {
  margin-right: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  color: var(--tertiary-text-color);
}

/* Split-block */

.split-block {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.split-block--reverse {
  flex-direction: row-reverse;
}

.split-block__img,
.split-block__content {
  width: calc(50% - 10px);
}

.split-block__content p:first-child {
  margin-top: 0;
}

.split-block__img {
  border-radius: 16px;
  overflow: hidden;
}

.split-block__img img {
  height: 100%;
  object-fit: cover;
}
.header {
  position: fixed;
  padding-left: 0;
  z-index: 10;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  min-height: 72px;
  max-height: 72px;
  background: var(--primary-bg-color);
  color: #fff;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.header__container {
  padding: 0 8px;
  display: flex;
  align-items: center;
  min-width: 100%;
}

.header__logo {
  padding: 16px 0;
  min-width: 122px;
  display: flex;
  height: 100%;
}

.nav {
  margin-left: 32px;
  width: 100%;
  display: flex;
}

.nav ul {
  padding: 0 4px;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 8px;
  background-color: #205583;
}

.nav__list {
  gap: 12px;
}

.nav__list a {
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--primary-text-color);
  font-weight: 500;
  font-size: 14px;
  line-height: normal;
  letter-spacing: 0.1px;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__list a:hover,
.nav__list a:active,
.nav__list a:focus {
  color: var(--primary-text-hover-color);
}

.header__bonus-list {
  margin-right: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__bonus-list a {
  position: relative;
  margin-left: auto;
  min-width: 32px;
  min-height: 32px;
  border: 1px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: var(--tertiary-bg-color);
}

.header__bonus-list > li:last-child > a::before {
  content: "1";
  position: absolute;
  right: 3.5px;
  top: 4px;
  width: 12px;
  height: 12px;
  background-color: var(--tertiary-text-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 8px;
  line-height: 1.12;
}

.header__bonus-list a:hover,
.header__bonus-list a:active,
.header__bonus-list a:focus {
  border-color: var(--tertiary-text-color);
}

.nav > .nav__buttons {
  display: none;
}

.nav__buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__langs {
  position: relative;
  margin-left: 8px;
}

.nav__langs-button {
  position: relative;
  min-height: 32px;
  padding: 0 4px 0 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  font-size: 12px;
  color: var(--primary-text-color);
  border-radius: 8px;
  background-color: var(--tertiary-bg-color);
  line-height: normal;
  border: 1px solid transparent;
}

.nav__langs-button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  left: 33px;
  background-color: var(--primary-bg-color);
}

.nav__langs-button:hover {
  border-color: var(--tertiary-text-color);
}

.nav__langs-button > img:nth-child(2) {
  margin-left: 13px;
  width: 18px;
  height: auto;
  border: 1px solid #ececec;
  border-radius: 50%;
}

.nav__langs-button > img:last-child {
  margin-left: -4px;
}

.nav__langs-wrapper {
  background-color: var(--quaternary-bg-color);
  position: absolute;
  right: 0;
  top: calc(100% + 29px);
  border-radius: 8px;
  border: 1px solid #d4dee8;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
}

.nav__langs-list {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 0;
}

.nav__langs-wrapper::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 26px;
  width: 12px;
  height: 10px;
  background-image: url("../img/icons/arrow-lang-list.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.nav__langs-wrapper.is-open {
  opacity: 1;
  max-height: calc(100vh - 50px);
  visibility: visible;
}

.nav__langs-list li a {
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: var(--secondary-text-color);
  font-weight: 400;
  font-size: 12px;
  line-height: normal;
  white-space: nowrap;
  border-bottom: 1px solid #d4dee8;
}

.nav__langs-list li:first-child a {
  border-radius: 8px 8px 0 0;
}

.nav__langs-list li:last-child a {
  border: none;
  border-radius: 0 0 8px 8px;
}

.nav__langs-list li img {
  max-width: 17px;
  border: 1px solid #ececec;
  border-radius: 50%;
}

.nav__langs-list li a:hover,
.nav__langs-list li a:active,
.nav__langs-list li a:focus {
  background-color: #e9eef2;
}

.nav__langs img {
  min-width: 18px;
  width: 18px;
  border-radius: 50%;
}

.burger-menu {
  display: none;
  cursor: pointer;
  z-index: 100;
}

.burger-menu__line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-text-color);
  margin: 5px 0;
  transition: all var(--primary-transition);
}
/* Sidebar */

.sidebar {
  width: 250px;
  flex: 0 0 250px;
}

.sidebar__wrap {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-width: none;
}

/* Sidebar Left */

.sidebar__menu-top {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sidebar__menu-top a {
  position: relative;
  padding: 7.5px;
  min-height: 32px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-radius: 8px;
  width: 100%;
  background-color: var(--tertiary-bg-color);
  font-size: 14px;
  line-height: normal;
}

.sidebar__menu-top a:before {
  content: "";
  background: url(../img/icons/icon-arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: rotateX(0);
  position: absolute;
  top: 13px;
  right: 12px;
  width: 10px;
  height: 6px;
}

.sidebar__menu-top a:after {
  content: "";
  position: absolute;
  top: 0;
  right: 32px;
  width: 1px;
  height: 100%;
  background-color: var(--primary-bg-color);
}

.sidebar__menu-top a:hover,
.sidebar__menu-top a:active,
.sidebar__menu-top a:focus {
  background-color: var(--primary-bg-color);
}

.sidebar__menu-top a svg {
  vertical-align: sub;
}

/* ------------------------ */
.sidebar__menu-center {
  margin-top: 8px;
  width: 100%;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.tabs {
  display: flex;
}

.tab-button {
  position: relative;
  flex-grow: 1;
  width: 50%;
  min-height: 32px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: #205583;
  color: #a1bcd4;
  font-size: 14px;
  border: none;
  cursor: pointer;
  line-height: normal;
  text-transform: uppercase;
}

.tab-button.active {
  background-color: var(--tertiary-bg-color);
  color: var(--primary-text-color);
}

.tab-button:hover {
  color: var(--primary-text-color);
}

.live-indicator {
  display: none;
  width: 6px;
  height: 6px;
  background-color: #a4d058;
  border-radius: 50%;
}

.tab-button.active .live-indicator {
  display: block;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-header {
  background-color: #e9eef2;
  min-height: 32px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.17;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tab-header div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}

.tab-header div span:first-child {
  margin-inline-end: 8px;
  font-weight: 700;
  color: var(--quinary-text-color);
}

.tab-header div img:nth-child(2) {
  opacity: 0.7;
}

.tab-header div span:nth-child(3) {
  margin-inline-start: 3px;
  font-weight: 400;
  color: var(--quinary-text-color);
  opacity: 0.7;
}

.tab-title {
  min-height: 32px;
  padding: 8px;
  line-height: 1.14;
  color: #224f7c;
  font-size: 14px;
  background-color: #f3f8fc;
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: #e9eef2;
}

.tab-list li a {
  position: relative;
  padding: 8px 40px 8px 8px;
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.14;
  color: var(--quaternary-text-color);
  background-color: var(--quaternary-bg-color);
}

.tab-list li a:hover,
.tab-list li a:active,
.tab-list li a:focus {
  background-color: #276aa513;
}

.tab-list li a::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 6px;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(../img/icons/sidebar-arrow-dark.svg);
  background-repeat: no-repeat;
}

.tab-list li a:after {
  content: "";
  position: absolute;
  top: 0;
  right: 32px;
  width: 1px;
  height: 100%;
  background-color: #e9eef2;
}

/* Nav */

.sidebar__nav {
  margin-top: 8px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.sidebar__nav-button {
  min-height: 48px;
  color: var(--primary-text-color);
  text-align: left;
  position: relative;
  white-space: normal;
  font-size: 14px;
  font-weight: 400;
  width: 100%;
  padding: 5.5px 36px 5.5px 12px;
  background-color: var(--tertiary-bg-color);
}

.sidebar__nav-button:before {
  content: "";
  background: url(../img/icons/icon-arrow.svg);
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16px;
  top: 0;
  transform: rotateX(0);
  width: 12px;
}

.sidebar__nav-button:hover,
.sidebar__nav-button:active {
  opacity: 0.8;
}

.sidebar__nav-button.is-open:before {
  transform: rotateX(180deg);
}

.sidebar__nav-list {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar__nav-list.is-open {
  padding-top: 1px;
  background-color: var(--quaternary-bg-color);
  max-height: 1400px;
  transition: all 0.4s ease-in-out;
}

.sidebar__nav-list a {
  position: relative;
  padding: 8px 8px 8px 16px;
  display: block;
  color: var(--quaternary-text-color);
  background-color: var(--quaternary-bg-color);
}

.sidebar__nav-list a::before {
  content: "";
  position: absolute;
  opacity: 0;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--tertiary-bg-color);
  transition: 0.2s ease-in-out;
}

.sidebar__nav-list a:hover::before,
.sidebar__nav-list a:active::before,
.sidebar__nav-list a:focus-visible::before {
  opacity: 1;
}

.sidebar__nav-list a:hover,
.sidebar__nav-list a:active,
.sidebar__nav-list a:focus-visible {
  color: var(--primary-text-color);
  background-color: #4d90cb;
}

/* Sidebar Mob */

.sidebar__section-mob {
  display: none;
}

.sidebar__wrap-mob {
  background-color: transparent;
}
.footer {
  margin-left: auto;
  margin-right: auto;
  max-width: 1600px;
  padding: 20px 8px 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background-color: transparent;
}

.footer__languages-list {
  position: relative;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  background-color: #205583;
}

.footer__languages-item > a {
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #276aa5;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-text-color);
  line-height: normal;
  transition: border-color var(--primary-transition);
}

.footer__languages-item > a:hover,
.footer__languages-item > a:active,
.footer__languages-item > a:focus {
  border-color: var(--tertiary-text-color);
}

.footer__link-wrap {
  padding: 12px 12px 8px 12px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  border-radius: 8px;
  background-color: #205583;
}

.footer__link-box {
  max-width: 228px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
}

.footer__link-box div {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-text-color);
  line-height: normal;
}

.footer__link-box a {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 12px;
  line-height: normal;
  color: var(--primary-text-color);
}

.footer__link-box a:hover,
.footer__link-box a:active,
.footer__link-box a:focus {
  color: var(--primary-text-hover-color);
}

.footer__bottom {
  width: 100%;
  display: flex;
  gap: 8px;
}

.footer__copy,
.footer__support,
.footer__age,
.footer__social {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #205583;
}

.footer__support {
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  flex: auto;
}

.footer__support:hover,
.footer__support:active,
.footer__support:focus {
  text-decoration: underline;
}

.footer__copy {
  max-width: 936px;
  min-height: 96px;
  flex: 4;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.footer__copy p {
  margin: 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  color: #a1bcd4;
}

.footer__copy a {
  margin-left: 2px;
  text-decoration: underline;
  color: var(--primary-text-color);
  text-decoration: none;
}

.footer__copy a:hover {
  text-decoration: underline;
}

.footer__bottom-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.footer__bottom-box > div {
  display: flex;
  gap: 8px;
}

.footer__social {
  flex: 1;
  min-width: 136px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__social img {
  will-change: transform;
}

.footer__social img:hover,
.footer__social img:active,
.footer__social img:focus {
  transform: scale(1.05);
}

.footer__age {
  max-width: 56px;
  display: flex;
  flex: 1;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: var(--primary-text-color);
}

.footer__mob {
  padding: 2px 16px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #276aa5;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--primary-text-color);
  white-space: nowrap;
}

.footer__mob:hover {
  opacity: 0.8;
}
.main {
  position: relative;
  padding: 80px 8px 0;
  overflow-x: clip;
}

.main__wrap {
  display: flex;
}

.main__content {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 1;
  -moz-box-flex: 1;
  flex: 1 1 1;
  margin-left: 8px;
}

/* Hero */

.prime {
  position: relative;
  margin-top: 0;
  margin-bottom: 20px;
  padding: 36px 20px;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
}

.prime__wrap {
  position: relative;
  max-width: 820px;
  text-align: left;
  width: 100%;
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.prime__rating {
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
}

.prime__rating-text,
.prime__rating-value {
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  color: var(--tertiary-text-color);
}

.prime__title {
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 45px;
  line-height: normal;
  text-transform: uppercase;
}

.prime__text {
  margin-bottom: 24px;
  max-width: 720px;
}

/* info */
/* platform */
/* license */
/* security */
/* partnerships */
/* registration */
/* kyc */
/* betting */
/* odds */
/* live-betting */
/* portfolio */
/* slot */
/* features */
/* operations */
/* table-games */
/* payment */
/* bonus */
/* vip */

.vip .table th {
  width: 25%;
}

.vip .table td {
  white-space: nowrap;
}

/* banner-3 */
.banner-3 .banner__wrap {
  max-width: 760px;
}

/* version */
/* support */
/* game */
/* mirrors */
/* faq */
/* rating */

.rating .table th {
  width: 33.33%;
}

.rating .table td {
  vertical-align: top;
}

.rating .table td:nth-child(2) {
  display: flex;
}

.rating .table img {
  max-width: 70px;
}

.rating .table td img:not(:first-child) {
  margin-left: -32px;
}

.rating__platform {
  position: relative;
  display: flex;
  padding: 24px 16px;
  align-items: flex-start;
  gap: 16px;
  border-radius: 16px;
  background: radial-gradient(98.43% 84.73% at 100% 60.83%, #162039 0%, #235 100%);
}

.rating__platform::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 16px;
  padding: 1px;
  background: -webkit-gradient(linear, left top, right top, from(#1c82e7), to(rgba(208, 101, 250, 0)));
  background: -o-linear-gradient(left, #1c82e7 0%, rgba(208, 101, 250, 0) 100%);
  background: linear-gradient(90deg, #1c82e7 0%, rgba(208, 101, 250, 0) 100%);
  -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box,
    -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box,
    -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.rating__platform img {
  max-width: 156px;
}

.rating__platform h3 {
  background: linear-gradient(180deg, #00ffd4 26.48%, #00bfff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* conclusion */

.conclusion {
  margin-bottom: 0;
}
@media screen and (max-width: 1600px) {
  .footer__link-box {
    max-width: auto;
    width: auto;
  }
}

@media screen and (max-width: 1400px) {
  .banner__title {
    font-size: 42px;
  }

  .header__bonus-list {
    display: none;
  }
}

@media screen and (max-width: 1300px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: 100%;
    margin-left: 0;
    padding: 40px 20px 20px 20px;
    background-color: var(--primary-bg-color);
    align-items: center;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--secondary-transition);
    z-index: 99;
  }

  .nav ul {
    margin-left: 0;
    flex-direction: column;
    text-align: center;
    font-size: 24px;
    gap: 0;
    background-color: transparent;
  }

  .nav__list {
    margin-top: 16px;
  }

  .nav__list a {
    padding: 12px 32px;
    justify-content: center;
  }

  .nav.is-active {
    transform: translateX(0);
  }

  .nav__buttons {
    margin-left: auto;
  }

  .burger-menu {
    display: block;
    padding: 10px;
    margin-left: 14px;
  }

  .burger-menu.is-active .burger-menu__line:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.is-active .burger-menu__line:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .burger-menu.is-active .burger-menu__line:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media screen and (max-width: 1050px) {
  .sidebar {
    display: none;
  }

  .sidebar__section-mob {
    display: block;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .sidebar__section-mob .sidebar__nav-button {
    margin: 0;
    padding: 16px 0 16px 16px;
    font-size: 16px;
    color: var(--primary-text-color);
  }

  .sidebar__section-mob .sidebar__nav-button::before {
    width: 16px;
  }

  .sidebar__section-mob .sidebar__nav {
    padding: 0;
    border-radius: 0;
  }

  .sidebar__nav-list a {
    padding-right: 12px;
  }

  .main {
    padding: 72px 0 0 0;
  }

  .main__wrap {
    display: block;
  }

  .main__content {
    margin-left: 0 !important;
    padding-top: 0;
  }

  .prime {
    border-radius: 0;
  }

  .prime__title {
    font-size: 38px;
  }

  .banner,
  .footer {
    border-radius: 0;
  }

  .section {
    border-right: none;
    border-left: none;
    border-radius: 0;
  }
}

@media screen and (max-width: 1050px) {
  .overlay-table::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
  }

  .banner__title span {
    display: inline;
  }

  .background__fill {
    padding: 16px 12px;
  }

  .background img {
    object-position: 90%;
  }

  .banner__background img {
    object-position: 80%;
  }

  .background__fill {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: rgba(5, 7, 26, 0.6);
    padding: 16px 12px;
    border-radius: 12px;
  }

  .info table th:first-child {
    width: auto;
  }

  .prime__wrap {
    margin: auto;
    text-align: center;
    align-items: center;
  }

  .prime__title {
    font-size: 38px;
  }

  .prime__title span {
    display: inline;
  }

  .banner {
    padding: 40px 60px;
  }

  .banner__wrap {
    margin: 0 auto;
    width: auto;
    text-align: center;
    align-items: center;
  }

  .banner__title {
    font-size: 32px;
  }

  .vip table {
    min-width: 500px;
  }
}

@media screen and (max-width: 850px) {
  .overlay-mob::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  }

  .split-block {
    flex-direction: column;
    align-items: center;
  }

  .split-block__img {
    max-width: 480px;
    width: auto;
  }

  .split-block__img img {
    height: auto;
  }

  .split-block__content {
    width: auto;
  }

  .prime__title {
    font-size: 32px;
  }

  .banner {
    padding: 40px 60px;
  }

  .banner__subtitle {
    justify-content: center;
  }

  .bonus table {
    min-width: 390px;
  }

  .bonus th {
    width: auto;
  }

  .bonus__list {
    flex-direction: column;
  }

  .rating .table {
    min-width: 630px;
  }

  .rating .table th {
    width: auto;
  }

  .rating .table img {
    max-width: 50px;
  }

  .rating .table td img:not(:first-child) {
    margin-left: -25px;
  }

  .footer__link-wrap {
    row-gap: 32px;
    column-gap: 12px;
  }

  .footer__link-box {
    width: 30%;
    align-items: center;
  }

  .footer__link-box a {
    justify-content: center;
  }

  .footer__bottom {
    flex-wrap: wrap;
  }

  .footer__copy {
    min-width: 100%;
    align-items: center;
  }

  .footer__copy p {
    text-align: center;
  }

  .footer__support,
  .footer__social {
    flex: 1;
  }
}

@media screen and (max-width: 750px) {
  .nav__buttons {
    display: none;
  }

  .nav .nav__buttons {
    display: flex;
    justify-content: center;
    margin-left: 0;
    gap: 12px;
    flex-direction: column;
    min-width: 220px;
  }

  .nav .nav__buttons > li,
  .nav .nav__buttons > li > a {
    display: flex;
    width: 100%;
  }

  .nav__langs {
    margin-left: auto;
  }

  .reg-button,
  .login-button {
    min-width: 184px;
  }

  .split-block {
    flex-direction: column;
  }

  .split-block__img {
    max-width: 420px;
    width: auto;
  }

  .split-block__content {
    width: auto;
  }

  .prime__title {
    font-size: 28px;
  }
}

@media screen and (max-width: 650px) {
  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .nav .nav__buttons {
    flex-direction: column;
    gap: 12px;
  }

  .main {
    padding-left: 0px;
    padding-right: 0px;
  }

  .prime__title {
    font-size: 28px;
  }

  .banner {
    padding: 40px 40px;
  }

  .vip th {
    width: auto;
  }

  .rating__platform img {
    max-width: 100px;
  }

  .scroll-to-top {
    right: 20px;
    bottom: 20px;
  }
}

@media screen and (max-width: 450px) {
  body {
    font-size: 14px;
  }

  h2 {
    font-size: 22px;
  }

  h4 {
    font-size: 18px;
  }

  .table th {
    font-size: 16px;
  }

  .section {
    padding: 20px 16px;
  }

  .primary-button--fix-size {
    margin-left: auto;
    margin-right: auto;
  }

  .header__logo {
    min-width: auto;
    margin-right: 16px;
  }

  .nav__langs-button img:nth-child(1),
  .nav__langs-button::before {
    display: none;
  }

  .nav__langs-button img:nth-child(2) {
    margin-left: 0;
  }

  .prime {
    padding-left: 12px;
    padding-right: 12px;
  }

  .prime__title {
    font-size: 24px;
  }

  .accordion__list li {
    position: relative;
    padding-left: 0;
  }

  .accordion__list li::before {
    display: none;
  }

  .banner {
    padding: 40px 12px;
  }

  .banner__wrap {
    align-items: center;
  }

  .banner__title {
    font-size: 22px;
  }

  .banner__subtitle {
    margin-top: 4px;
    font-size: 26px;
    align-items: center;
  }

  .banner__subtitle > span {
    font-size: 22px;
  }

  .banner__text {
    text-align: center;
  }

  .prime__title {
    font-size: 24px;
  }

  .rating__platform {
    padding: 16px 8px;
    gap: 8px;
  }

  .rating__platform img {
    max-width: 50px;
  }

  .accordion__title {
    font-size: 16px;
  }

  .bg-img-block {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }

  .footer__link-box {
    width: calc(50% - 6px);
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media screen and (max-width: 350px) {
  .header__container {
    padding-right: 0;
  }

  .header__logo {
    margin-right: 14px;
  }

  .nav__langs-button {
    font-size: 10px;
  }

  .nav__langs-button img:nth-child(2) {
    width: 14px;
    min-width: 14px;
  }

  .burger-menu {
    margin-left: 12px;
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media screen and (min-width: 1632px) {
  .cover {
    padding-left: calc(50% - (1600px / 2));
    padding-right: calc(50% - (1600px / 2));
  }

  .header.container {
    max-width: none;
  }

  .footer__support {
    flex: 1;
  }
}

/* ============================================================
   PROJECT ADDITIONS — 1xBet سوريا (ar-SY) — RTL
   Акценты флага Пакистана: тёмно-зелёный #0a7d3f / золото звезды-полумесяца
   ============================================================ */

:root {
  --ma-red: #ce1126;
  --ma-green: #0a7d3f;
  --ma-gold: #d4a437;
}

/* ---- RTL base ---- */
html[dir="rtl"] body { text-align: right; }
/* hero/banner right-align only on desktop; on <=1050 the base centering rules take over */
@media screen and (min-width: 1051px) {
  [dir="rtl"] .prime__wrap,
  [dir="rtl"] .banner__wrap { text-align: right; align-items: flex-start; }
  [dir="rtl"] .prime__wrap { padding: 20px 0 20px 20px; }
}
[dir="rtl"] .table tr { text-align: right; }
[dir="rtl"] .accordion__block,
[dir="rtl"] .accordion__title { text-align: right; }
/* .nav is a full-width fixed slide-out on <=1300 — only mirror its margin on desktop, else it overflows */
@media screen and (min-width: 1301px) {
  [dir="rtl"] .nav { margin-left: 0; margin-right: 32px; }
}
[dir="rtl"] .header__logo { margin-right: 0; }

/* Language dropdown → open on the left in RTL */
[dir="rtl"] .nav__langs { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .nav__langs-wrapper { right: auto; left: 0; }
[dir="rtl"] .nav__langs-wrapper::before { right: auto; left: 26px; }
/* mirror the button's asymmetric padding (base is 0 4px 0 8px) so the gear side keeps 8px */
[dir="rtl"] .nav__langs-button { padding: 0 8px 0 4px; }
[dir="rtl"] .nav__langs-button::before { left: auto; right: 33px; }
[dir="rtl"] .nav__langs-button > img:nth-child(2) { margin-left: 0; margin-right: 13px; }
[dir="rtl"] .nav__langs-button > img:last-child { margin-left: 0; margin-right: -4px; }
/* when the gear icon is hidden (<=450px), drop the flag's start margin so no empty gap remains */
@media screen and (max-width: 450px) {
  [dir="rtl"] .nav__langs-button > img:nth-child(2) { margin-right: 0; }
}
[dir="rtl"] .nav__langs-list li a { justify-content: flex-start; }
[dir="rtl"] .header__bonus-list { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .header__bonus-list > li:last-child > a::before { right: auto; left: 3.5px; }
/* burger button: mirror its margin to the right (base margin-left is for LTR) */
[dir="rtl"] .burger-menu { margin-left: 0; margin-right: 14px; }
@media screen and (max-width: 350px) {
  [dir="rtl"] .burger-menu { margin-right: 12px; }
}

/* Accordion arrow → left side in RTL */
[dir="rtl"] .accordion__title { padding: 16px 16px 16px 50px; border-left: none; border-right: 4px solid var(--ma-green); }
[dir="rtl"] .accordion__title.active { border-right-color: var(--ma-gold); }
[dir="rtl"] .accordion__title:after { right: auto; left: 16px; }

/* Sidebar arrows / accents → mirror */
[dir="rtl"] .sidebar__nav-button { text-align: right; padding: 5.5px 12px 5.5px 36px; border-left: none; border-right: 3px solid var(--ma-gold); }
[dir="rtl"] .sidebar__nav-button:before { right: auto; left: 16px; }
[dir="rtl"] .sidebar__menu-top a:before { right: auto; left: 12px; }
[dir="rtl"] .sidebar__menu-top a:after { right: auto; left: 32px; }
[dir="rtl"] .sidebar__nav-list a { padding: 8px 16px 8px 8px; }
[dir="rtl"] .sidebar__nav-list a::before { left: auto; right: 0; }
[dir="rtl"] .tab-list li a { padding: 8px 8px 8px 40px; }
[dir="rtl"] .tab-list li a::before { right: auto; left: 11px; transform: translateY(-50%) scaleX(-1); }
[dir="rtl"] .tab-list li a:after { right: auto; left: 32px; }
/* tab-header spacing now uses logical margins (auto-mirrored) */
/* main content side margin: only on desktop (on <=1050 base makes it full-width) */
@media screen and (min-width: 1051px) {
  [dir="rtl"] .main__content { margin-left: 0; margin-right: 8px; }
}
[dir="rtl"] .mr-8 { margin-right: 0; margin-left: 8px; }

/* Overlap chips in rating table → mirror on RTL */
[dir="rtl"] .rating .table td img:not(:first-child) { margin-left: 0; margin-right: -32px; }
@media screen and (max-width: 850px) {
  [dir="rtl"] .rating .table td img:not(:first-child) { margin-left: 0; margin-right: -25px; }
}

/* ---- Layout fixes (мобильный горизонтальный скролл) ---- */
.main__wrap { width: 100%; min-width: 0; }
.main__content { min-width: 0; flex: 1 1 auto; }
.footer { width: 100%; }
.main { overflow-x: clip; }

/* ---- Таблицы: без горизонтального скролла на ПК ---- */
.table { min-width: 0; }
.table-wrapper { overflow-x: visible; }
@media screen and (max-width: 760px) {
  .table { min-width: 600px; }
  .table-wrapper { overflow-x: auto; }
}

/* ---- Затемнение hero и баннеров (текст справа читабелен в RTL) ---- */
.prime__background::after,
.banner__background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(270deg, rgba(8, 14, 30, 0.85) 0%, rgba(8, 14, 30, 0.68) 32%, rgba(8, 14, 30, 0.3) 52%, rgba(8, 14, 30, 0) 68%);
  pointer-events: none;
}
.prime__wrap, .banner__wrap { position: relative; z-index: 2; }
@media screen and (max-width: 1050px) {
  .prime__background::after,
  .banner__background::after { display: none; }
}

/* ---- Баннеры: ограничение текстового блока ---- */
.banner__wrap, .banner-3 .banner__wrap { max-width: 660px; }

/* ---- Хлебные крошки в hero (все страницы кроме главной) ---- */
.prime__breadcrumbs {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-text-color);
}
.prime__breadcrumbs a { color: var(--ma-gold); transition: color var(--primary-transition); }
.prime__breadcrumbs a:hover { color: var(--tertiary-text-color); }
.prime__breadcrumbs .current { opacity: 0.85; }
.prime__breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.prime__breadcrumbs li:not(:first-child)::before { content: "/"; opacity: 0.5; }

/* ---- Кнопки скачивания в hero (страница Mobile) ---- */
.prime__apps { display: flex; gap: 12px; flex-wrap: wrap; }
.prime__apps .primary-button { display: inline-flex; align-items: center; gap: 10px; }
.prime__apps .primary-button svg { flex-shrink: 0; }
@media screen and (max-width: 420px) {
  .prime__apps { flex-direction: column; width: 100%; }
  .prime__apps .primary-button { width: 100%; justify-content: center; }
}

/* ---- Рейтинг в hero: акцент флага ---- */
.prime__rating-value { color: var(--ma-gold); }

/* ---- h2 секций: подчёркивание-градиент в цветах флага (RTL: справа) ---- */
.section > h2 { width: fit-content; max-width: 100%; position: relative; padding-bottom: 10px; }
.section > h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ma-red) 0%, var(--ma-green) 100%);
}

/* ---- h3: маркер + отступ сверху (логические свойства) ---- */
.section h3:not(.accordion__title) {
  margin-top: 28px;
  padding-inline-start: 12px;
  position: relative;
}
.section h3:not(.accordion__title)::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ma-red), var(--ma-gold));
}
.rating__platform h3 { margin-top: 0; padding-inline-start: 0; }
.rating__platform h3::before { display: none; }

/* ---- Списки: буллеты в цветах флага (логические свойства) ---- */
.section ul.content-list { margin: 12px 0 0; padding: 0; list-style: none; }
.section ul.content-list li { position: relative; padding-inline-start: 22px; margin-bottom: 10px; }
.section ul.content-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--ma-gold);
  border-radius: 1px;
}
.section ol.content-list { margin: 12px 0 0; padding: 0; list-style: none; }
.section ol.content-list li { position: relative; padding-inline-start: 22px; margin-bottom: 10px; }
.section ol.content-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--ma-gold);
  border-radius: 1px;
}

/* ---- Pros / Cons ---- */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
@media screen and (max-width: 850px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons__col { background: rgba(255, 255, 255, 0.04); border-radius: 8px; padding: 16px; }
.pros-cons__col--pros { border-top: 3px solid var(--ma-green); }
.pros-cons__col--cons { border-top: 3px solid var(--ma-red); }
.pros-cons__title { font-weight: 700; margin-bottom: 10px; }
.pros-cons__col ul { list-style: none; padding: 0; margin: 0; }
.pros-cons__col li { position: relative; padding-inline-start: 24px; margin-bottom: 10px; }
.pros-cons__col--pros li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--ma-green); font-weight: 700; }
.pros-cons__col--cons li::before { content: "—"; position: absolute; inset-inline-start: 0; color: var(--ma-red); font-weight: 700; }

/* ---- Таблицы: разделитель под thead + hover ---- */
.table thead { border-bottom: 3px solid var(--ma-green); }
.table tbody tr { transition: background-color var(--primary-transition); }
.table tbody tr:hover { background-color: rgba(212, 164, 55, 0.09); }

/* ---- FAQ: цветная полоса ---- */
.accordion__title { border-left: 4px solid var(--ma-green); }
.accordion__title.active { border-left-color: var(--ma-gold); }

/* ---- Отзывы ---- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
@media screen and (max-width: 1050px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 164, 55, 0.25);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--ma-red), var(--ma-green));
}
.review-card__name { font-weight: 700; }
.review-card__meta { font-size: 13px; opacity: 0.7; }
.review-card__stars { color: var(--ma-gold); letter-spacing: 2px; unicode-bidi: plaintext; }
.review-card__text { font-size: 14px; line-height: 1.6; }

/* ---- Широкая одиночная картинка секции ---- */
.half-img { width: 100%; height: 360px; object-fit: cover; object-position: center; border-radius: 16px; display: block; margin-top: 20px; }
@media (max-width: 760px) { .half-img { height: 240px; } }

/* ---- Compact split-block ---- */
@media screen and (min-width: 851px) {
  .split-block--compact { align-items: center; }
  .split-block--compact .split-block__img { height: 350px; }
  .split-block--compact .split-block__img img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---- Секционные картинки: объект по центру (без затемнения) ---- */
.half-img { object-position: center; }

/* ---- Рейтинговая таблица: фишки не переносятся ---- */
.rating .table td:nth-child(2) { white-space: nowrap; }
.rating .table td:nth-child(2) img { display: inline-block; vertical-align: middle; }

/* ---- Флаг в переключателе языка: круглый бейдж ---- */
.nav__langs-button img:nth-child(2),
.nav__langs-list li img {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 50%;
}

/* ---- Legal-страницы ---- */
.legal .main__content { margin-left: 0; margin-right: 0; width: 100%; flex: 1 1 auto; }
.legal-content { padding: 24px; background-color: var(--quinary-bg-color); border-radius: 8px; margin-bottom: 20px; }
.legal-content h1 { font-size: 34px; line-height: 1.3; margin-bottom: 16px; }
@media (max-width: 760px) { .legal-content h1 { font-size: 26px; } }
.legal-content h2 { font-size: 22px; margin-top: 28px; margin-bottom: 10px; width: fit-content; max-width: 100%; position: relative; padding-bottom: 8px; }
.legal-content h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ma-red) 0%, var(--ma-green) 100%);
}
.legal-content h3 { font-size: 18px; margin-top: 20px; margin-bottom: 8px; }
.legal-content p { margin-bottom: 12px; line-height: 1.8; }
.legal-content ul { margin: 0 0 12px; padding: 0; list-style: none; }
.legal-content ul li { position: relative; padding-inline-start: 22px; margin-bottom: 8px; line-height: 1.7; }
.legal-content ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--ma-gold);
  border-radius: 1px;
}
.legal-content .last-updated { font-size: 14px; opacity: 0.75; margin-bottom: 20px; }

/* ---- 404 ---- */
.notfound {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.notfound__code {
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(90deg, var(--ma-red), var(--ma-gold), var(--ma-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.notfound__title { font-size: 28px; margin: 16px 0 8px; }
.notfound__text { max-width: 480px; opacity: 0.85; margin-bottom: 24px; }
@media (max-width: 760px) { .notfound__code { font-size: 84px; } }

/* ---- Sidebar / прочее ---- */
.sidebar__nav-button { border-left: 3px solid var(--ma-gold); }
.mt-16 { margin-top: 16px; }

/* ---- Автор/подпись в конце статьи ---- */
.article-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.article-footer p { margin-bottom: 6px; }
.article-footer .signature { font-weight: 700; color: var(--ma-gold); }

/* ---- Responsible gaming note ---- */
.rg-note {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(0, 98, 51, 0.14);
  border-left: 4px solid var(--ma-green);
}
[dir="rtl"] .rg-note { border-left: none; border-right: 4px solid var(--ma-green); }
.rg-note h3 { margin-top: 0; }


/* ============================================================
   SESSION FIXES (ar-MA review, round 2)
   ============================================================ */

/* 1. Button heights: Cairo font metrics inflated them — pin line-height so min-height (32px) governs */
.primary-button,
.secondary-button,
.banner__button,
.prime__button,
.footer__mob { line-height: 1; }
.prime__apps .primary-button { line-height: 1.1; }

/* 2. Hero & banners: keep the composed object (left side of frame) visible, not clipped to the left edge */
[dir="rtl"] .prime__background img,
[dir="rtl"] .banner__background img { object-position: 25% center; }
@media screen and (max-width: 1050px) {
  [dir="rtl"] .prime__background img,
  [dir="rtl"] .banner__background img { object-position: 32% center; }
}

/* 3. Mobile (<=1050, incl. <=450): center hero & banner text AND buttons */
@media screen and (max-width: 1050px) {
  [dir="rtl"] .prime__wrap,
  [dir="rtl"] .banner__wrap { text-align: center; align-items: center; margin-inline: auto; padding: 16px 12px; }
  [dir="rtl"] .prime__wrap .primary-button,
  [dir="rtl"] .banner__wrap .primary-button { margin-inline: auto; }
  [dir="rtl"] .prime__apps { justify-content: center; }
}

/* 4. Mobile/tablet header: keep a gap between the logo and the action buttons / language switch */
[dir="rtl"] .header__container > .nav__buttons { margin-inline-start: auto; }
@media screen and (max-width: 750px) {
  [dir="rtl"] .nav__langs { margin-inline-start: auto; margin-inline-end: 0; }
}

/* Sidebar top-menu: Cairo metrics inflated item height and left the arrow off-centre */
.sidebar__menu-top a { line-height: 1.2; }
.sidebar__menu-top a::before { top: 50%; transform: translateY(-50%); }

/* FAQ accordion: centre the chevron vertically (was fixed top:16px). Use margin-top, not transform, so the .active scaleY(-1) flip keeps it centred */
.accordion__title::after { top: 50%; margin-top: -12px; }

/* ============================================================
   PROJECT ADDITIONS v2 — 1xBet سوريا (ar-SY)
   ============================================================ */
.section__media { margin: 0; }
.section__media .half-img { margin-top: 20px; }

/* Content section bullet lists (outside .legal-content) */
.section .rich-list { margin: 20px 0 0; padding: 0; list-style: none; }
.section .rich-list li { position: relative; padding-inline-start: 22px; margin-bottom: 8px; line-height: 1.7; }
.section .rich-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 0.62em;
  width: 8px; height: 8px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--ma-green), var(--ma-red));
  border-radius: 2px;
}

/* Rating table chips: never wrap, no overlap, no numeric fallback */
.rating-cell { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; }
.rating-cell img { flex-shrink: 0; }
.chip-half { opacity: 0.4; }

/* Legal page last-updated pill */
.legal-content .last-updated strong, .legal-content .last-updated [data-last-updated] { font-weight: 600; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.legal-content th, .legal-content td { border: 1px solid #d4dee8; padding: 10px 12px; text-align: start; vertical-align: top; line-height: 1.6; }
.legal-content thead th { background-color: #d4dee8; }
.legal-content .accordion { margin-top: 16px; }

/* 404 page centering */
.error-page { text-align: center; padding: 60px 20px; }
.error-page__code { font-size: 120px; font-weight: 800; line-height: 1; background: linear-gradient(180deg, var(--ma-green), var(--ma-red)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page__title { font-size: 28px; margin: 16px 0 10px; }
.error-page__text { max-width: 560px; margin: 0 auto 24px; line-height: 1.8; opacity: 0.85; }
@media (max-width: 760px) { .error-page__code { font-size: 84px; } }

/* Placeholder backdrop for not-yet-generated images (review phase) */
.prime__background img,
.banner__background img { background: linear-gradient(125deg, #0b1f3a 0%, #0a3d2f 60%, #10502f 100%); }
/* Section images: light, symmetric placeholder — no darkening, centered subject */
.half-img { background: radial-gradient(circle at center, #16406a 0%, #0f3350 100%); }

/* ============================================================
   PROJECT ADDITIONS v3 — читаемость текста на hero/баннерах
   ============================================================ */
/* Обводка/тень на заголовках поверх картинок — на всех ширинах */
.prime__title,
.banner__title { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.92), 0 1px 3px rgba(0, 0, 0, 0.95); }
.prime__text { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9); }

/* Планшет/мобайл (<=1050px): затемнение-градиент выключено — даём плотную плашку-подложку под текст */
@media screen and (max-width: 1050px) {
  .prime__wrap.background__fill,
  .banner__wrap.background__fill {
    background: rgba(5, 7, 26, 0.74);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border-radius: 14px;
  }
}

/* ---- Network: footer country links + sidebar contents ---- */
.sidebar__nav-list.is-open { max-height: 3000px; }
.sidebar__wrap { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.35) transparent; }
.sidebar__wrap::-webkit-scrollbar { width: 6px; }
.sidebar__wrap::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.35); border-radius: 3px; }
.footer__languages { width: 100%; }
.footer__languages-item > a img { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; object-fit: cover; }
.footer__languages-item > a[aria-current="page"] { border-color: var(--tertiary-text-color); background-color: var(--primary-bg-color); }
@media screen and (max-width: 600px) {
  .footer__languages-list { gap: 8px; padding: 8px; }
  .footer__languages-item > a { padding: 6px 8px; font-size: 12px; }
}
