.main-page-wrapper {
  overflow-x: unset;
}

.container-v2 {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container-v2 {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container-v2 {
    max-width: 720px;
  }
}

@media (min-width: 1140px) {
  .container-v2 {
    max-width: 1100px;
  }
}

@media (min-width: 1400px) {
  .container-v2 {
    max-width: 1368px;
  }
}

.container-v2 .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.container-v2 .no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.container-v2 .no-gutters > .col,
.container-v2 .no-gutters > [class*=col-] {
  padding-right: 0;
  padding-left: 0;
}

.container-v2 .col {
  position: relative;
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.container-v2 .col-auto {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

.container-v2 .col-1 {
  flex: 0 0 8.3333333333%;
  max-width: 8.3333333333%;
}

.container-v2 .col-2 {
  flex: 0 0 16.6666666667%;
  max-width: 16.6666666667%;
}

.container-v2 .col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.container-v2 .col-4 {
  flex: 0 0 33.3333333333%;
  max-width: 33.3333333333%;
}

.container-v2 .col-5 {
  flex: 0 0 41.6666666667%;
  max-width: 41.6666666667%;
}

.container-v2 .col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.container-v2 .col-7 {
  flex: 0 0 58.3333333333%;
  max-width: 58.3333333333%;
}

.container-v2 .col-8 {
  flex: 0 0 66.6666666667%;
  max-width: 66.6666666667%;
}

.container-v2 .col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.container-v2 .col-10 {
  flex: 0 0 83.3333333333%;
  max-width: 83.3333333333%;
}

.container-v2 .col-11 {
  flex: 0 0 91.6666666667%;
  max-width: 91.6666666667%;
}

.container-v2 .col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.container-v2 .col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

@media (min-width: 576px) {
  .container-v2 .col-sm-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }

  .container-v2 .col-sm-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
  }

  .container-v2 .col-sm-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }

  .container-v2 .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .container-v2 .col-sm-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }

  .container-v2 .col-sm-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
  }

  .container-v2 .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .container-v2 .col-sm-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
  }

  .container-v2 .col-sm-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
  }

  .container-v2 .col-sm-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .container-v2 .col-sm-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
  }

  .container-v2 .col-sm-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
  }

  .container-v2 .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .container-v2 .col-sm {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .container-v2 .col-md-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }

  .container-v2 .col-md-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
  }

  .container-v2 .col-md-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }

  .container-v2 .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .container-v2 .col-md-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }

  .container-v2 .col-md-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
  }

  .container-v2 .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .container-v2 .col-md-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
  }

  .container-v2 .col-md-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
  }

  .container-v2 .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .container-v2 .col-md-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
  }

  .container-v2 .col-md-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
  }

  .container-v2 .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .container-v2 .col-md {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
}

@media (min-width: 1140px) {
  .container-v2 .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }

  .container-v2 .col-lg-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
  }

  .container-v2 .col-lg-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }

  .container-v2 .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .container-v2 .col-lg-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }

  .container-v2 .col-lg-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
  }

  .container-v2 .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .container-v2 .col-lg-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
  }

  .container-v2 .col-lg-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
  }

  .container-v2 .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .container-v2 .col-lg-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
  }

  .container-v2 .col-lg-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
  }

  .container-v2 .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .container-v2 .col-lg {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
}

@media (min-width: 1400px) {
  .container-v2 .col-xl-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }

  .container-v2 .col-xl-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
  }

  .container-v2 .col-xl-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
  }

  .container-v2 .col-xl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .container-v2 .col-xl-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }

  .container-v2 .col-xl-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
  }

  .container-v2 .col-xl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .container-v2 .col-xl-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
  }

  .container-v2 .col-xl-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
  }

  .container-v2 .col-xl-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .container-v2 .col-xl-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
  }

  .container-v2 .col-xl-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
  }

  .container-v2 .col-xl-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .container-v2 .col-xl {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
}

.container-v2 .d-none {
  display: none !important;
}

.container-v2 .d-inline {
  display: inline !important;
}

.container-v2 .d-inline-block {
  display: inline-block !important;
}

.container-v2 .d-block {
  display: block !important;
}

.container-v2 .d-table {
  display: table !important;
}

.container-v2 .d-table-row {
  display: table-row !important;
}

.container-v2 .d-table-cell {
  display: table-cell !important;
}

.container-v2 .d-flex {
  display: flex !important;
}

.container-v2 .d-inline-flex {
  display: inline-flex !important;
}

@media (min-width: 576px) {
  .container-v2 .d-sm-none {
    display: none !important;
  }

  .container-v2 .d-sm-inline {
    display: inline !important;
  }

  .container-v2 .d-sm-inline-block {
    display: inline-block !important;
  }

  .container-v2 .d-sm-block {
    display: block !important;
  }

  .container-v2 .d-sm-table {
    display: table !important;
  }

  .container-v2 .d-sm-table-row {
    display: table-row !important;
  }

  .container-v2 .d-sm-table-cell {
    display: table-cell !important;
  }

  .container-v2 .d-sm-flex {
    display: flex !important;
  }

  .container-v2 .d-sm-inline-flex {
    display: inline-flex !important;
  }
}

@media (min-width: 768px) {
  .container-v2 .d-md-none {
    display: none !important;
  }

  .container-v2 .d-md-inline {
    display: inline !important;
  }

  .container-v2 .d-md-inline-block {
    display: inline-block !important;
  }

  .container-v2 .d-md-block {
    display: block !important;
  }

  .container-v2 .d-md-table {
    display: table !important;
  }

  .container-v2 .d-md-table-row {
    display: table-row !important;
  }

  .container-v2 .d-md-table-cell {
    display: table-cell !important;
  }

  .container-v2 .d-md-flex {
    display: flex !important;
  }

  .container-v2 .d-md-inline-flex {
    display: inline-flex !important;
  }
}

@media (min-width: 1140px) {
  .container-v2 .d-lg-none {
    display: none !important;
  }

  .container-v2 .d-lg-inline {
    display: inline !important;
  }

  .container-v2 .d-lg-inline-block {
    display: inline-block !important;
  }

  .container-v2 .d-lg-block {
    display: block !important;
  }

  .container-v2 .d-lg-table {
    display: table !important;
  }

  .container-v2 .d-lg-table-row {
    display: table-row !important;
  }

  .container-v2 .d-lg-table-cell {
    display: table-cell !important;
  }

  .container-v2 .d-lg-flex {
    display: flex !important;
  }

  .container-v2 .d-lg-inline-flex {
    display: inline-flex !important;
  }
}

@media (min-width: 1400px) {
  .container-v2 .d-xl-none {
    display: none !important;
  }

  .container-v2 .d-xl-inline {
    display: inline !important;
  }

  .container-v2 .d-xl-inline-block {
    display: inline-block !important;
  }

  .container-v2 .d-xl-block {
    display: block !important;
  }

  .container-v2 .d-xl-table {
    display: table !important;
  }

  .container-v2 .d-xl-table-row {
    display: table-row !important;
  }

  .container-v2 .d-xl-table-cell {
    display: table-cell !important;
  }

  .container-v2 .d-xl-flex {
    display: flex !important;
  }

  .container-v2 .d-xl-inline-flex {
    display: inline-flex !important;
  }
}

.info-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.info-header .image-container {
  position: relative;
  width: 100%;
  height: auto;
}

.info-header .image-container .image {
  position: relative;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}

.info-header .image-container .image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #66001D 100%);
}

.info-header .image-container img {
  width: 100%;
  height: auto;
  border-radius: 15px 15px 0 0;
}

.info-header .image-container .title {
  position: absolute;
  width: 100%;
  max-width: 50%;
  bottom: 0;
  left: 0;
  padding: 25px;
}

@media (max-width: 768px) {
  .info-header .image-container .title {
    max-width: 100%;
  }
}

.info-header .image-container .title h1 {
  font-weight: 700;
  font-size: 20px;
  color: #FFFFFF;
  line-height: 27px;
}

.info-header .image-container .title .author {
  display: block;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.7);
}

.info-header .info-container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  width: 100%;
  padding: 24px;
  background-color: #F4F4F4;
  border: 1px solid #BEBEBE;
  border-radius: 0 0 15px 15px;
  align-items: center;
}

@media (max-width: 768px) {
  .info-header .info-container {
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.info-header .info-container time {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: #585858;
}

.info-header .info-container .authors-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.info-header .info-container .authors {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 15px;
  overflow-x: auto;
  min-width: 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.info-header .info-container .authors::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .info-header .info-container .authors {
    gap: 10px;
  }
}

.info-header .info-container .authors .author {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  min-width: -moz-max-content;
  min-width: max-content;
}

.info-header .info-container .authors .author .image {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #BEBEBE;
}

@media (max-width: 768px) {
  .info-header .info-container .authors .author .image {
    width: 35px;
    height: 35px;
  }
}

.info-header .info-container .authors .author .name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #585858;
  margin-right: 8px;
  white-space: nowrap;
}

.info-header .info-container .authors .author::after {
  content: "";
  display: block;
  width: 1px;
  height: 20px;
  background-color: #BEBEBE;
}

.info-header .info-container .authors .author:last-child::after {
  display: none;
}

.info-header .info-container .scroll-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(126, 4, 46, 0.1);
  border-radius: 50%;
  color: #7E042E;
  flex-shrink: 0;
  position: relative;
}

.info-header .info-container .scroll-indicator::before {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 24px;
  background: linear-gradient(to right, transparent, rgba(244, 244, 244, 0.8));
  pointer-events: none;
}

.info-header .info-container .actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 768px) {
  .info-header .info-container .actions {
    width: 100%;
  }
}

.info-header h1 {
  display: block;
  font-weight: 700;
  font-size: 32px;
  line-height: 43px;
  letter-spacing: -0.05em;
  margin: 0;
  color: #585858;
}

.info-header .active {
  color: #7E042E;
}

.info-header .search {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.info-header .search form {
  display: flex;
}

.info-header .search form .form-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #BEBEBE;
  background: #FBFBFB;
  border: 1px solid #BEBEBE;
  border-radius: 3px 0px 0px 3px;
  padding: 0 12px;
}

.info-header .search form .form-group svg {
  flex-shrink: 0;
}

.info-header .search form input {
  display: block;
  min-width: 350px;
  width: 100%;
  height: 48px;
  border: none;
  background: transparent;
  -webkit-appearance: none;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: #333;
}

.info-header .search form input::-moz-placeholder {
  color: #BEBEBE;
  font-weight: 700;
  font-size: 16px;
}

.info-header .search form input::placeholder {
  color: #BEBEBE;
  font-weight: 700;
  font-size: 16px;
}

.info-header .search form button {
  display: block;
  background: #7E042E;
  border-radius: 0px 2px 2px 0px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  padding: 13px 28px;
  flex-shrink: 0;
}

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

  .info-header h1 {
    font-size: 26px;
    line-height: 32px;
  }

  .info-header .search {
    width: 100%;
  }

  .info-header .search form {
    width: 100%;
  }

  .info-header .search form .form-group {
    width: 100%;
  }

  .info-header .search form input {
    min-width: 100%;
  }
}

.badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
}

.badges::-webkit-scrollbar {
  height: 2px;
}

.badges .badge {
  display: block;
  background: #F4F4F4;
  border: 1px solid #BEBEBE;
  border-radius: 5px;
  padding: 5px 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  color: #585858;
}

.headlines {
  margin-bottom: 60px;
}

.headlines .headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  background-color: #FBFBFB;
}

.headlines .headline .image {
  flex-shrink: 0;
}

.headlines .headline .image img {
  width: 100%;
  height: auto;
  border-radius: 15px 15px 0 0;
  border: 1px solid #BEBEBE;
  border-bottom: none;
}

.headlines .headline .info {
  flex: 1;
  display: block;
  position: relative;
  padding: 0 24px;
  margin-top: -20px;
  border: 1px solid #BEBEBE;
  border-top: none;
  border-radius: 0 0 15px 15px;
}

.headlines .headline .category {
  position: relative;
  display: inline-block;
  background: #161616;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
  color: #F4F4F4;
  padding: 5px 10px;
}

.headlines .headline .title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: #7E042E;
  margin-top: 15px;
}

.headlines .headline .description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: #000000;
  margin-top: 10px;
}

.content-container {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.content-container .container > a {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 28px;
}

.content-container .container > a > .title {
  display: block;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #7E042E;
}

.content-container .box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.content-container .box .image {
  display: block;
  flex-shrink: 0;
}

.content-container .box .image img {
  width: 100%;
  height: auto;
  border-radius: 15px 15px 0 0;
  border: 1px solid #BEBEBE;
  border-bottom: none;
}

.content-container .box .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 0 20px;
  border: 1px solid #BEBEBE;
  border-top: none;
  border-radius: 0 0 15px 15px;
}

.content-container .box .title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: #7E042E;
  margin-top: 15px;
}

.content-container .box .description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  color: #000000;
  margin-top: 10px;
  margin-bottom: 10px;
}

.content-container .box time {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: #BEBEBE;
  margin-top: auto;
  margin-bottom: 13px;
}

.sidebar {
  position: sticky;
  width: 270px;
  height: auto;
  top: 180px;
  left: 0;
  padding: 24px;
  background-color: #F4F4F4;
  border: 1px solid #BEBEBE;
  border-radius: 15px;
  z-index: 50;
  margin-right: 50px;
  max-height: calc(100vh - 300px);
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar > .title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #7E042E;
}

.sidebar ol {
  padding: 0;
  margin: 0;
  margin-top: 23px;
}

.sidebar ol li {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #2C282A;
  list-style: number;
  list-style-position: inside;
  list-style-type: decimal;
}

.sidebar ol li.active {
  color: #7E042E;
  font-weight: 700;
}

.sidebar ol li a {
  display: inline;
  text-decoration: none;
}

.sidebar ol li:hover {
  color: #7E042E;
}

.sidebar.right {
  position: relative;
  top: 0;
  width: 182px;
  margin-left: 50px;
  margin-right: 0;
  background-color: transparent;
  border: none;
  padding: 0;
  max-height: auto;
  overflow-y: visible;
}

.sidebar.right.wide {
  width: 270px;
}

@media (max-width: 1399.98px) {
  .sidebar.right.wide {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 1399.98px) {
  .sidebar.right {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .sidebar.right {
    margin-top: 40px;
  }
}

.sidebar.right .title {
  margin-bottom: 50px;
}

.sidebar.right .boxes {
  margin-top: 20px;
}

@media (max-width: 1399.98px) {
  .sidebar.right .boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .sidebar.right .boxes {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.sidebar.right .boxes .box {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 60px;
  margin-top: 30px;
  position: relative;
  counter-increment: item;
}

.sidebar.right .boxes .box:hover::before {
  background: #7E042E;
  color: #7E042E;
}

.sidebar.right .boxes .box:hover .title {
  color: #7E042E;
}

@media (max-width: 1399.98px) {
  .sidebar.right .boxes .box {
    width: 100%;
    height: auto;
    min-height: unset;
    margin-top: 0;
  }
}

.sidebar.right .boxes .box::before {
  content: counter(item);
  width: 100%;
  height: 1px;
  background: #F4F4F4;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0;
  top: -15px;
  z-index: 1;
}

.sidebar.right .boxes .box .title {
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: #585858;
}

@media (max-width: 768px) {
  .sidebar {
    position: static;
    width: 100%;
    top: 0;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #F4F4F4;
  border: 1px solid #BEBEBE;
  border-radius: 5px;
  color: #585858;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #7E042E;
  color: #FFFFFF;
  border-color: #7E042E;
}

.button:hover svg {
  fill: #FFFFFF;
}

.button:hover svg path {
  fill: #FFFFFF;
}

@media (max-width: 768px) {
  .button {
    width: 100%;
    padding: 8px 10px;
    font-size: 12px;
  }
}

.content-block {
  display: none;
}

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

.content-text {
  width: 100%;
  height: auto;
}

.content-text h1,
.content-text h2,
.content-text h3,
.content-text h4,
.content-text h5,
.content-text h6 {
  font-weight: 700;
  font-size: 20px;
  line-height: 27px;
  color: #7E042E;
  margin-bottom: 20px;
  scroll-margin: 180px;
}

.content-text p {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  color: #2C282A;
  margin-bottom: 20px;
  word-break: break-word;
}

.content-text p h1,
.content-text p h2,
.content-text p h3,
.content-text p h4,
.content-text p h5,
.content-text p h6 {
  margin-bottom: 0;
}

.content-text p a {
  color: #7E042E;
}

.content-text img {
  max-width: 100%;
  height: auto;
}

.table-of-contents-mobile-container {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #FBFBFB;
  z-index: 500;
}

@media (max-width: 768px) {
  .table-of-contents-mobile-container {
    display: block;
  }
}

.table-of-contents-mobile-container .table-of-contents-mobile-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-top: 1px solid #BEBEBE;
}

.table-of-contents-mobile-container .table-of-contents-mobile {
  width: 100%;
  height: auto;
  display: none;
  padding: 10px 20px;
  border-top: 1px solid #BEBEBE;
  max-height: 300px;
  overflow-y: auto;
}

.table-of-contents-mobile-container .table-of-contents-mobile ol {
  padding: 0;
  margin: 0;
  margin-top: 23px;
}

.table-of-contents-mobile-container .table-of-contents-mobile ol li {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #2C282A;
  list-style: number;
  list-style-position: inside;
  list-style-type: decimal;
  border-bottom: 1px solid #BEBEBE;
  padding-bottom: 10px;
}

.table-of-contents-mobile-container .table-of-contents-mobile ol li.active {
  color: #7E042E;
  font-weight: 700;
}

.table-of-contents-mobile-container .table-of-contents-mobile ol li a {
  display: inline;
  text-decoration: none;
}

.table-of-contents-mobile-container .table-of-contents-mobile ol li:hover {
  color: #7E042E;
}

