* {
  padding: 0;
  margin: 0;
}
*,
:after,
:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:active,
:focus {
  outline: 0;
}
a:active,
a:focus {
  outline: 0;
}
td {
  padding: 5px;
  outline: 1px solid #000;
}
aside,
footer,
header,
nav,
section {
  display: block;
}
body,
html {
  height: 100%;
  min-width: 320px;
}
body {
  line-height: 1;
  font-family: Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
button,
input,
textarea {
  font-family: Roboto, sans-serif;
}
input::-ms-clear {
  display: none;
}
button {
  cursor: pointer;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
a,
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
ul li {
  list-style: none;
}
img {
  max-width: 100%;
  vertical-align: top;
  font-size: 10px;
  line-height: 1.1;
}
video {
  display: block;
  max-width: 100%;
}
body._lock {
  overflow: hidden;
}
.m-wrapper {
  color: #333;
  font-size: 14px;
  background: #fff;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
p {
  padding: 0;
  margin: 0;
}
.advantages {
  width: auto;
}
div._mb,
li._mb,
section._mb {
  margin-bottom: 96px;
}
div._mt,
li._mt,
section._mt {
  margin-top: 96px;
}
div._pt,
li._pt,
section._pt {
  padding-top: 96px;
}
div._pb,
li._pb,
section._pb {
  padding-bottom: 96px;
}
._op0 {
  opacity: 0;
}
._lc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: clip;
}
._lc--1 {
  -webkit-line-clamp: 1;
}
._lc--2 {
  -webkit-line-clamp: 2;
}
._lc--3 {
  -webkit-line-clamp: 3;
}
._lc--4 {
  -webkit-line-clamp: 4;
}
.wrapper a.btn,
.wrapper button.btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  min-height: 48px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background-color: #e31235;
  padding: 12px 24px;
  border-radius: 8px;
  -webkit-transition: background-color 0.3s ease 0s;
  transition: background-color 0.3s ease 0s;
}
.wrapper a.btn._fw,
.wrapper button.btn._fw {
  width: 100%;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
}
.m-banner,
.rich-content {
  max-width: 1440px;
  margin-inline: auto;
}
.prm-info {
  max-width: 1280px;
  margin-inline: auto;
}
.prm-info__container {
  padding: 0 20px;
}
.prm-info__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 5px;
  -moz-column-gap: 5px;
  column-gap: 5px;
  font-size: 14px;
  line-height: 1.42857;
  text-align: left;
  color: #777;
}
.prm-info__item span {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 19px;
  flex: 0 0 19px;
  text-align: end;
}
.page {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  z-index: 2;
}
@media (min-width: 992px) {
  .wrapper a.btn:hover,
  .wrapper button.btn:hover {
    background-color: #bd0f2c;
  }
  .wrapper a.btn:focus,
  .wrapper button.btn:focus {
    background-color: #9c0c24;
  }
}
@media (max-width: 1439.98px) {
  div._mb,
  li._mb,
  section._mb {
    margin-bottom: 72px;
  }
  div._mt,
  li._mt,
  section._mt {
    margin-top: 72px;
  }
  div._pt,
  li._pt,
  section._pt {
    padding-top: 72px;
  }
  div._pb,
  li._pb,
  section._pb {
    padding-bottom: 72px;
  }
}
@media (max-width: 767.98px) {
  div._mb,
  li._mb,
  section._mb {
    margin-bottom: 56px;
  }
  div._mt,
  li._mt,
  section._mt {
    margin-top: 56px;
  }
  div._pt,
  li._pt,
  section._pt {
    padding-top: 56px;
  }
  div._pb,
  li._pb,
  section._pb {
    padding-bottom: 56px;
  }
}
@media (max-width: 359.98px) {
  div._mb,
  li._mb,
  section._mb {
    margin-bottom: 40px;
  }
  div._mt,
  li._mt,
  section._mt {
    margin-top: 40px;
  }
  div._pt,
  li._pt,
  section._pt {
    padding-top: 40px;
  }
  div._pb,
  li._pb,
  section._pb {
    padding-bottom: 40px;
  }
}

.accordion {
  max-width: 1280px;
  margin-inline: auto;
}

.m-container {
  display: flex;
  gap: 20px;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .m-container {
    flex-direction: column;
  }
}

.accordion-container {
  flex: 0 1 50%;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background: white;
}

.accordion-item:not(:last-child) {
  margin-bottom: 10px;
}

.accordion-header {
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.accordion-header:hover {
  background: linear-gradient(to right, #e9ecef, #dde1e6);
}

.accordion-header.active {
  background: linear-gradient(90deg, rgb(255, 0, 0) 0%, rgba(250, 0, 0, 1) 100%);
  color: white;
}

.accordion-icon {
  transition: transform 0.3s;
  font-size: 14px;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-content.active {
  max-height: 5000px;
}

/* Стили для вложенных аккордеонов */
.nested-accordion {
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #eee;
  transition-duration: 0.3s;
}

.nested-accordion:last-child {
  border-bottom: none;
}
.nested-accordion:hover .accordion-header {
  background-color: #d8d8d8;
}

.nested-accordion .accordion-header {
  background: #f8f9fa;
  padding: 12px 20px;
  font-size: 15px;
}

.nested-accordion .accordion-header.active {
  color: #000;
  background-color: #d8d8d8;
}

/* Стили для табов внутри аккордеона */
.tabs-container {
  padding: 0;
}

.tabs-buttons {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #ddd;
  margin-bottom: 0;
}

.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  flex: 1;
  text-align: start;
  transition: all 0.3s;
}

.tab-btn.active {
  border-bottom: 2px solid #ff0000;
  color: #ff0000;
  background-color: #f8f9fa;
}

.tab-btn:hover {
  background-color: #e9ecef;
}

.tab-content {
  display: none;
  padding: 20px;
}

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

/* Контейнер для контента табов на десктопе */
.tabs-content-desktop {
  display: none;
  flex: 1;
  margin-left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-content {
  display: none !important;
}

@media (min-width: 768px) {
  .tabs-content-desktop.active {
    display: block;
    opacity: 1;
  }
  .tabs-content-desktop {
    margin-top: 0;
  }
  .desktop-tab-content {
    display: none;
  }

  .desktop-tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
  }

  .desktop-tab-content .content-box {
    border-radius: 8px;
    padding: 15px;
    border: 2px solid rgb(250, 39, 39);
  }
}

/* Мобильная версия */
@media (max-width: 767.98px) {
  .tabs-content-desktop {
    display: none !important;
  }

  .desktop-tab-content {
    display: none;
  }

  .tab-content.active {
    display: block !important;
    animation: fadeIn 0.5s;
    border: none;
  }

  .content-box {
    border: none !important;
  }
}

.content-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #000000;
}

.content-box p {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #000000;
}

.content-box:last-child {
  margin-bottom: 0;
}

.tab-content .content-box {
  background: #fff;
  border: 1px solid #e9ecef;
}

.no-tabs {
  padding: 15px 20px;
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.no-tabs-message {
  text-align: center;
  padding: 40px;
  color: #7f8c8d;
  font-style: italic;
}

.accordion-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.links-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 20px;
  gap: 10px;
}

.tab-btn-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  color: #000;
  transition-duration: 0.3s;
}

.tab-btn-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #e31235;
  transform: translateY(-2px);
}

@media (min-width: 991.98px) {
  .tab-btn-link:hover {
    color: #e31235;
  }
}

@media (max-width: 767.98px) {
  .tab-btn-link {
    font-size: 14px;
  }
  .content-box h3 {
    font-size: 18px;
  }

  .content-box p {
    font-size: 14px;
  }
}

.content-box p:last-child {
  margin-bottom: 0px !important;
}

.prm-content-box {
  padding: 15px 20px;
}

.rules-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.rules-link {
  flex: 0 1 25%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #000;
  font-weight: 500;
}

.rules-link::before {
  content: "";
  width: 60px;
  height: 60px;
  background: url(../img/icons/pdf-icon.png) 0 0 / 100% no-repeat;
  transition-duration: 0.3s;
}

.m-link {
  color: #e31235;
}

.prm-rules {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-weight: 600;
  color: #000000;
  line-height: 1.2;
}

.prm-rules-link a {
  font-weight: 500;
  display: flex;
  align-items: center;
  color: #e31235;
  max-width: max-content;
}

.prm-rules-span span {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  gap: 5px;
}
.prm-contacts {
  font-size: 16px;
  line-height: 1.2;
  color: #000;
}

@media (max-width: 767.98px) {
  .prm-rules-span span {
    font-size: 14px;
  }

  .prm-contacts {
    font-size: 14px;
  }
}

.span-decor span::before {
  content: "";
  min-width: 5px;
  height: 5px;
  background-color: #e31235;
  border-radius: 100%;
  transform: translateY(7px);
}

.prm-rules-link a::after {
  content: "";
  width: 10px;
  height: 20px;
  background: url(../img/icons/link-icon.svg) center no-repeat;
  transform: translateX(4px);
  transition: all 0.3s ease 0s;
}

@media (min-width: 991.98px) {
  a:hover::after {
    transform: translateX(6px);
  }

  .rules-link:hover::before {
    scale: 1.07;
  }
}
