.rules-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}
.rules-container .rules-wrapper {
  width: 100%;
  padding: 0 36px;
  margin: 0 auto;
}
@media screen and (min-width: 1440px) {
  .rules-container .rules-wrapper {
    padding: 0px 72px;
  }
}
@media screen and (min-width: 1920px) {
  .rules-container .rules-wrapper {
    padding: 0px 132px;
  }
}
@media screen and (max-width: 768px) {
  .rules-container .rules-wrapper {
    padding: 0px 36px;
  }
}
@media screen and (max-width: 430px) {
  .rules-container .rules-wrapper {
    padding: 0px 12px;
  }
}
.rules-container .rules-wrapper > .rules-title {
  width: 100%;
  height: 357px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}
@media screen and (max-width: 768px) {
  .rules-container .rules-wrapper > .rules-title {
    height: 160px;
    margin-bottom: 24px;
  }
}
@media screen and (max-width: 500px) {
  .rules-container .rules-wrapper > .rules-title {
    height: 240px;
    margin-bottom: 12px;
  }
}
.rules-container .rules-wrapper > .rules-title h1 {
  color: #ECECEC;
  font-size: 72px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: -0.02em;
  line-height: 92px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .rules-container .rules-wrapper > .rules-title h1 {
    font-size: 36px;
    line-height: 46px;
  }
}
.rules-container {
  /* size for russian text */
}
@media screen and (max-width: 768px) {
  .rules-container .rules-wrapper.size-ru > .rules-title > h1 {
    font-size: 32px;
    line-height: normal;
  }
}
.rules-container hr.rules-divider {
  height: 1px;
  border-width: 0;
  color: #ECECEC;
  background-color: #ECECEC;
  opacity: 30%;
  width: 100%;
}
@media screen and (max-width: 500px) {
  .rules-container hr.rules-divider {
    flex-wrap: wrap;
  }
}
.rules-container .rules-wrapper > .rules-content-wrapper {
  margin: 36px 0;
  display: flex;
  gap: 16px;
}
@media screen and (max-width: 500px) {
  .rules-container .rules-wrapper > .rules-content-wrapper {
    gap: 12px;
    flex-wrap: wrap;
  }
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper {
  flex: 0 0 calc((100% - 800px + 16px) / 2);
}
@media screen and (max-width: 1280px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper {
    flex: 0 0 calc((100% - 600px + 16px) / 2);
  }
}
@media screen and (max-width: 768px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper {
    flex: 0 0 calc((100% - 380px + 16px) / 2);
  }
}
@media screen and (max-width: 500px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper {
    flex: 0 0 100%;
    overflow-x: auto;
  }
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper::-webkit-scrollbar {
    display: none;
  }
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper > .rules-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
@media screen and (max-width: 500px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper > .rules-menu {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper > .rules-menu li > a {
  font-family: var(--font-body);
  font-weight: 400;
  size: 20px;
  line-height: 26px;
  opacity: 30%;
  color: #fff;
  transition: all ease-in-out 0.3s;
}
@media screen and (max-width: 500px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper > .rules-menu li > a {
    white-space: nowrap;
  }
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper > .rules-menu li > a.selected {
  opacity: 1;
  text-decoration: underline;
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-menu-wrapper > .rules-menu li > a:hover {
  opacity: 1;
  text-decoration: underline;
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content {
  flex: 1 1 auto;
  max-width: 800px;
  font-family: var(--font-body);
  color: #ECECEC;
}
@media screen and (max-width: 1280px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-content {
    max-width: 600px;
  }
}
@media screen and (max-width: 768px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-content {
    max-width: 380px;
  }
}
@media screen and (max-width: 500px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-content {
    max-width: 100%;
    flex: 0 0 100%;
    margin: 0 auto;
  }
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content h2 {
  color: #ECECEC;
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
  margin-top: 48px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  letter-spacing: -0.02em;
}
@media screen and (max-width: 768px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-content h2 {
    font-size: 30px;
    line-height: 42px;
  }
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content > h2:first-child {
  margin-top: 0;
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content h3 {
  color: #ECECEC;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 34px;
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 18px;
  color: #ECECEC;
  text-align: justify;
}
@media screen and (max-width: 768px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-content p {
    text-align: initial;
  }
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content p:last-of-type {
  margin-bottom: 0px;
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content h5 {
  font-family: var(--font-body);
  font-size: 16px;
  opacity: 30%;
  color: #ECECEC;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 22px;
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content a {
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
  line-height: inherit;
  cursor: pointer;
  transition: ease-in-out 0.3s all;
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content a:hover {
  color: var(--primary-color);
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content #cookie-table-container {
  width: 100%;
  overflow-x: auto;
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content #cookie-policy-table,
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content th,
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content td {
  border: 1px solid #ccc;
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content #cookie-policy-table tr td:first-of-type {
  word-break: break-all;
}
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content #cookie-policy-table td,
.rules-container .rules-wrapper > .rules-content-wrapper > .rules-content #cookie-policy-table th {
  padding: 8px;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-content #cookie-policy-table td,
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-content #cookie-policy-table th {
    font-size: 12px;
  }
}
@media screen and (max-width: 500px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-content #cookie-policy-table td,
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-content #cookie-policy-table th {
    width: 25%;
  }
}
@media screen and (max-width: 768px) {
  .rules-container .rules-wrapper > .rules-content-wrapper > .rules-content #cookie-policy-table td:nth-child(2) {
    word-break: break-all;
  }
}

.rules-container .rules-wrapper .rules-content ol,
.rules-container .rules-wrapper .rules-content ul {
  margin: 16px 0px 16px 32px !important;
}

.rules-container .rules-wrapper .rules-content ol {
  list-style: decimal;
}

.rules-container .rules-wrapper .rules-content ul {
  list-style: disc;
}

.rules-container .rules-wrapper .rules-content ol > li,
.rules-container .rules-wrapper .rules-content ul > li {
  margin-bottom: 16px;
}

#company-details {
  font-size: 16px;
  line-height: 1.9;
}

#company-details .company-table {
  border-top: 2px solid var(--default-border-color);
}

#company-details .company-row {
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  border-bottom: 1px solid var(--default-border-color);
}

#company-details dt {
  padding: 22px 20px;
  background: rgba(236, 236, 236, 0.04);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

#company-details dd {
  min-width: 0;
  margin: 0;
  padding: 22px 26px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

#company-details .line {
  display: block;
}

#company-details .note,
#company-details .registration {
  color: var(--text-color);
  font-size: 13px;
}

#company-details .note {
  margin-top: 3px;
}

#company-details h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

#company-details p {
  margin: 0;
  font: inherit;
  text-align: start;
}

#company-details .business-item + .business-item {
  margin-top: 23px;
  padding-top: 22px;
  border-top: 1px solid var(--default-border-color);
}

#company-details .locations {
  margin-top: 47px;
}

#company-details .locations > h2 {
  margin: 0 0 22px;
  font-size: 23px;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

#company-details .locations dd {
  font-size: 15px;
  line-height: 1.9;
}

#company-details .locations dt span {
  display: block;
  margin-top: 4px;
  color: var(--text-color);
  font-size: 12px;
}

#company-details .entity {
  margin: 0 0 7px;
  font-weight: 600;
  line-height: 1.85;
}

#company-details address {
  margin: 6px 0 8px;
  font-style: normal;
}

#company-details .office-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
  margin-top: 8px;
  font-size: 14px;
}

#company-details a {
  text-underline-offset: 4px;
}

#company-details-page .rules-menu a:focus-visible,
#company-details a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

#company-details-page .rules-menu a {
  color: var(--text-color);
  opacity: 1;
}

#company-details-page .rules-menu a.selected {
  color: var(--text-highlight-color);
}

#company-details-page .rules-menu a:hover,
#company-details-page .rules-menu a:focus-visible {
  color: var(--primary-color);
}

#company-details-page a {
  transition: color 0.2s ease-in-out;
}

#company-details .company-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  #company-details .company-row {
    grid-template-columns: 122px minmax(0, 1fr);
  }
  #company-details dt {
    padding-inline: 16px;
  }
  #company-details dd {
    padding-inline: 21px;
  }
}
@media (max-width: 768px) {
  #company-details .company-row {
    grid-template-columns: minmax(0, 1fr);
  }
  #company-details dt {
    padding: 12px 16px 10px;
    font-size: 14px;
  }
  #company-details dd {
    padding: 17px 16px 22px;
  }
  #company-details .business-item + .business-item {
    margin-top: 19px;
    padding-top: 18px;
  }
  #company-details .locations {
    margin-top: 33px;
  }
  #company-details .locations > h2 {
    margin-bottom: 17px;
    font-size: 22px;
  }
  #company-details .locations dt span {
    display: inline;
    margin-left: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #company-details-page a {
    transition: none;
  }
}