@import url(https://fonts.googleapis.com/css2?family=Bad+Script&family=Comfortaa:wght@400;500;700&family=EB+Garamond:wght@400;700&display=swap);
@charset "UTF-8";
@font-face {
  font-family: "Century Gothic";
  src: url("/assets/guest/font/centurygothic.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* Vars */
:root {
  /* ---COLOR--- */
  --primary: #062149;
  --primary-bold: #0066FF;
  --light: #ebe7e0;
  --text: #151b54;
}

/* Vars */
/* Reset */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

* {
  box-sizing: border-box;
}

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

html,
body {
  height: 100%;
}

main {
  overflow-x: hidden;
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100%;
  font-family: "Century Gothic", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  background: var(--light);
  color: var(--primary);
  overflow-x: hidden;
}

.bad_script {
  font-family: "Bad Script", cursive !important;
  font-weight: 400;
  font-style: normal;
  font-size: 125%;
}
.bad_script strong {
  font-size: 1.72rem;
}

.comfortaa {
  font-family: "Comfortaa", sans-serif !important;
}

.garamond {
  font-family: "EB Garamond", serif !important;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: rgba(89, 89, 89, 0.3019607843);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.container {
  --width: 1360px;
  --padding: 3.6rem;
  max-width: calc(var(--width) + 2 * var(--padding));
  margin: 0 auto;
  padding: 0 var(--padding);
}

.title {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 61px;
  text-align: center;
  color: var(--primary);
  font-family: "EB Garamond", serif;
}

.decor {
  position: absolute;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  z-index: -1;
}

a {
  text-decoration: none;
  cursor: pointer;
}

strong {
  font-size: 1.2rem;
}

.mobile {
  display: none;
}

.error {
  text-align: center;
  color: #dc3545;
  font-weight: 700;
  padding: 5px 0;
}

.success,
.status {
  text-align: center;
  color: #28a745;
  font-weight: 700;
  padding: 5px 0;
}

@media (max-width: 1200px) {
  .container {
    --padding: 2rem;
  }
}
@media (max-width: 768px) {
  .container {
    --padding: 0.5rem;
  }
}
.page-error-block {
  font-size: 150%;
  text-align: center;
  margin-top: 10%;
}

.extra-padding {
  padding-top: 8rem;
}

.burger {
  position: relative;
  width: 32px;
  min-width: 32px;
  height: 27px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.burger-wrapper {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: 5px;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 100px;
  background-color: var(--primary);
}
.burger.burger__active {
  transition: 0.4s;
}
.burger.burger__active span {
  transition: 0.4s;
  height: 1px;
  position: absolute;
}
.burger.burger__active span:nth-child(1) {
  top: 50%;
  left: 0;
  transform: rotate(45deg) translateY(-50%);
}
.burger.burger__active span:nth-child(2) {
  top: 50%;
  left: 0;
  transform: rotate(-45deg) translateY(-50%);
}
.burger.burger__active span:nth-child(3) {
  display: none;
}
.burger-menu {
  position: absolute;
  top: -1000px;
  right: 0;
  width: 100%;
  max-width: 375px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  justify-content: center;
  padding: 5.5rem 1rem;
  background: url("/assets/guest/img/popup-bg.png") no-repeat center center/contain;
  z-index: 1000;
  transition: 0.3s ease-in-out;
  -webkit-backdrop-filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.25));
          backdrop-filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.25));
}
.burger-menu.active {
  top: -1rem;
  right: -1rem;
  transition: 0.3s ease-in-out;
}
.burger-menu_close {
  position: absolute;
  top: 2rem;
  left: 2rem;
  padding: 0;
  background: none;
  margin: 0;
  border: none;
  outline: none;
  width: -moz-fit-content;
  width: fit-content;
  cursor: pointer;
}
.burger-menu_list {
  flex-direction: column;
}
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  .burger-menu .header_list_link::before {
    top: -135%;
  }
}
@media (max-width: 480px) {
  .burger-menu {
    padding: 3.5rem 1rem;
  }
  .burger-menu_close {
    left: 3rem;
  }
}

button {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.button {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2rem 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  justify-content: center;
  font-family: inherit;
  align-items: center;
  color: var(--primary);
  background: url("/assets/guest/img/button/button_default.png") no-repeat center;
  width: 100%;
  margin-inline: auto;
  transition: 0.3s ease;
}
.button::after {
  content: "";
  position: absolute;
  top: 53%;
  right: 15%;
  transform: translateY(-50%);
  display: block;
  width: 58px;
  height: 58px;
  background: url("/assets/guest/img/arrow/arrow_default.png") no-repeat;
}
.button:not(:disabled) {
  cursor: pointer;
}
.button:hover {
  background-image: url("/assets/guest/img/button/button_active.png");
  color: var(--light);
}
.button:hover::after {
  background-image: url("/assets/guest/img/arrow/arrow_active.png");
}
.button:active {
  background-image: url("/assets/guest/img/button/button_active.png");
  color: var(--light);
}
.button:active::after {
  background-image: url("/assets/guest/img/arrow/arrow_active.png");
}
.button:disabled {
  background-image: url("/assets/guest/img/button/button_disable.png");
  color: #5c829b;
}
.button:disabled::after {
  background-image: url("/assets/guest/img/arrow/arrow_disabled.png");
}
.button:is(.filled) {
  background: var(--primary);
  color: #f2f1ef;
}
.button:is(.filled):hover {
  color: #6d99ff;
  box-shadow: 0 4px 15px 10px rgba(0, 102, 255, 0.4);
}
.button:is(.filled):active {
  color: var(--primary);
  box-shadow: none;
  background: #669ae8;
}
.button:is(.filled)::after {
  content: none;
}
@media (max-width: 480px) {
  .button {
    background-size: contain;
  }
  .button::after {
    right: 5% !important;
  }
}

.footer {
  padding: 2.125rem 0 2.25rem;
  background: var(--primary);
  color: rgba(197, 216, 255, 0.92);
  position: relative;
}
.footer * {
  font-size: 0.75rem;
  font-weight: 400;
}
.footer_wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  max-width: 580px;
  margin-inline: auto;
}
.footer ul {
  list-style-type: disc;
  margin-left: 1rem;
}
.footer a {
  width: -moz-fit-content;
  width: fit-content;
  color: #86d3e4;
}
.footer a:where(:hover, :active, :focus) {
  text-decoration: underline;
}
.footer_payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.125rem;
}

.header {
  width: 100%;
  background: var(--light);
  padding: 3.75rem 1rem 0;
  position: fixed;
  z-index: 1000;
  min-height: 110px;
  transition: box-shadow 0.3s ease;
  /*@media (max-width: 1600px) {
      & .container {
          margin-right: auto;
      }
  }*/
}
.header.scrolled {
  padding: 1.75rem 1rem 0;
}
.header.scrolled::after {
  margin-left: -20px;
  content: "";
  display: block;
  width: 100%;
  height: 9px;
  background: url("/assets/guest/img/decor/line_new.png") repeat-x;
  background-size: 100% 15px;
  position: absolute;
  bottom: 0;
}
.header .container {
  margin-right: 0;
}
.header_wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) {
  .header_wrapper {
    gap: 4rem;
  }
}
.header_logo {
  display: none;
  max-width: 80px;
}
.header_logo img {
  width: 100%;
  height: auto;
}
.header_list {
  display: flex;
  gap: 3.5rem;
  align-items: center;
}
.header_list_link {
  position: relative;
  font-weight: 400;
  font-size: 1rem;
  color: var(--primary);
}
.header_list_link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  width: 12rem;
  height: 5rem;
  background: url("/assets/guest/img/decor/line_hover.png") no-repeat center center/cover;
  transition: 0.2s ease;
}
.header_list_link:hover::before, .header_list_link.active::before {
  display: block;
}
.header_right {
  display: flex;
  gap: 7rem;
  align-items: center;
}
.header_right a {
  border: none;
  margin: 0;
  padding: 0;
  background: none;
}
.header_right-wrapper {
  display: flex;
  gap: 1px;
  align-items: center;
}
.header_right-wrapper.mobile {
  display: none;
}
.header_right-wrapper a img {
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  min-width: 20px;
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .header_right-wrapper a img {
    min-width: 35px;
    width: 35px;
    height: 35px;
  }
}
.header_search {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 5px 15px;
  gap: 4px;
  border: 1px solid transparent;
  transition: 0.3s ease-in-out;
  max-height: 50px;
}
.header_search img {
  width: 25px;
  height: 25px;
  min-width: 25px;
}
.header_search.active {
  border-color: var(--primary);
  transition: 0.3s ease-in-out;
}
.header_search.active .header_search_button {
  display: none;
}
.header_search.active .header_search_button_submit {
  display: block;
  transition: 0.5s ease-in-out;
}
.header_search.active .header_search_input {
  opacity: 1;
  display: block;
  visibility: visible;
  transition: 0.3s ease-in-out;
}
.header_search_button {
  flex-shrink: 0;
}
.header_search_button_submit {
  display: none;
}
.header_search_input {
  opacity: 0;
  display: none;
  visibility: hidden;
  transition: 0.3s ease-in-out;
}
.header_login {
  font-size: 1.3rem;
  position: relative;
  color: var(--primary);
}
.header_login:hover {
  color: var(--primary-bold);
}
.header_login img {
  position: absolute;
  bottom: -2rem;
  min-width: 8rem;
  left: 64%;
  transform: translate(-50%, -50%);
}
.header ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
@media (max-width: 1400px) {
  .header .container {
    margin-right: auto;
  }
}
@media (max-width: 1400px) {
  .header_list {
    gap: 3.5rem;
  }
  .header_list_link::before {
    width: 9.5rem;
    background-size: contain;
  }
  .header_wrapper {
    justify-content: unset;
  }
  .header_right {
    gap: 7rem;
  }
}
@media (max-width: 1200px) {
  .header_list {
    gap: 1.5rem;
  }
  .header_list_link::before {
    width: 8.5rem;
    background-size: contain;
  }
  .header_wrapper {
    justify-content: unset;
  }
  .header_right {
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .header_list_link::before {
    transform: translateX(-30%);
  }
}
@media (max-width: 768px) {
  .header {
    min-height: 0;
    padding: 1.5rem 0 0;
  }
  .header_list:not(.burger-menu_list), .header_button:not(.burger-menu_button), .header_contacts:not(.burger-menu_contacts), .header_right {
    display: none;
  }
  .header_logo {
    display: block;
  }
  .header ::before {
    left: 10px;
  }
  .header.scrolled {
    padding: 0;
  }
  .header.scrolled::after {
    content: "";
    display: block;
    width: 100%;
    height: 9px;
    background: url("/assets/guest/img/decor/line_new.png");
    background-size: 100% 15px;
    position: absolute;
    bottom: 0;
    margin-left: -16px;
  }
}

main {
  padding-top: 6rem;
}

@media (max-width: 768px) {
  .header_right-wrapper.mobile {
    display: flex;
  }
}
@media (min-width: 800px) and (max-width: 1000px) and (max-height: 430px) {
  .header {
    min-height: 95px;
  }
}

input,
textarea {
  position: relative;
  display: flex;
  outline: none;
  border: none;
  padding: 10px;
  font-size: 1rem;
  background: none;
  font-weight: 400;
  color: var(--primary-bold);
  width: 100%;
  max-width: 100%;
  transition: 0.3s ease;
  text-overflow: ellipsis;
}

textarea {
  resize: vertical;
}

input::-moz-placeholder {
  color: #7482A5;
}

input::placeholder {
  color: #7482A5;
}

input:focus {
  color: var(--primary-bold);
}

.club {
  padding: 200px 0 335px;
}
.club_items {
  display: grid;
  margin-inline: auto;
  gap: 189px 83px;
  grid-template-columns: repeat(auto-fit, 360px);
  justify-content: center;
}
.club_item {
  position: relative;
  height: 100%;
}
.club_item_title {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
  color: #2a447c;
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1;
}
.club_item_title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100%;
  max-width: 180px;
  height: 16px;
  background: url("/assets/guest/img/decor/line_decor_4.png") no-repeat;
}
.club_item:first-child .club_item_title {
  color: #4376a5;
  margin-top: 28px;
}
.club_item:nth-child(2) .club_item_title::after {
  background-image: url("/assets/guest/img/decor/line_title.png");
  background-size: contain;
  max-width: 338px;
  height: 25px;
  bottom: -25px;
}
.club_item:last-child {
  /*.club_item_button {
      position: relative;
      overflow: unset;
  }*/
}
.club_item:last-child .club_item_title {
  color: var(--primary);
  margin-bottom: 52px;
}
.club_item:last-child .club_item_title::after {
  background-image: url("/assets/guest/img/decor/line_decor_5.png");
  max-width: 338px;
  height: 38px;
  bottom: -35px;
}
.club_item:last-child .club_item_text,
.club_item:last-child .club_item_price,
.club_item:last-child .club_item_price * {
  color: var(--light) !important;
}
.club_item_body {
  padding: 28px 32px 115px 38px;
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--text);
  justify-content: space-between;
}
.club_item_border {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.club_item_text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 1.25rem;
}
.club_item_price {
  position: absolute;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  bottom: 20px;
  right: 50px;
}
.club_item_price sup {
  position: absolute;
  top: 30px;
  left: -15px;
  display: block;
  height: -moz-fit-content;
  height: fit-content;
  width: -moz-fit-content;
  width: fit-content;
  transform: rotate(-6deg);
  font-size: 2rem;
  font-weight: normal;
}
.club_item_price span {
  font-size: 4rem;
  color: var(--primary);
  font-weight: normal;
}
.club_item_button {
  position: absolute;
  bottom: -78px;
  left: 50%;
  transform: translate(-50%, 50%);
  padding: 1.3rem 0 1.5rem;
}
.club_item_button_border {
  position: absolute;
  top: -2px;
  left: -3px;
  right: auto;
  transform: none;
  display: block;
  max-width: unset;
  width: calc(100% + 4px);
  height: calc(100% + 6px);
  z-index: 1;
}
.club_item_button span.free-period {
  font-size: 70%;
  opacity: 0.8;
}
.club_title {
  position: relative;
  margin-bottom: 128px;
}
.club_title::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100%;
  max-width: 340px;
  height: 59px;
  background: url("/assets/guest/img/decor/line_bold_2.png") no-repeat;
}
.club .buttons-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
  margin-top: 50px;
}
@media (max-width: 768px) {
  .club .buttons-main {
    padding-top: 1px;
    display: block;
  }
}
.club .buttons-main a {
  margin-inline: unset;
}
.club .buttons-main .second-button {
  margin-top: 135px;
}
@media (max-width: 768px) {
  .club .buttons-main .second-button {
    margin-top: 15px;
  }
}
.club_button {
  margin-top: 135px;
  max-width: 348px;
}
.club_button::after {
  content: none !important;
}
@media (max-width: 768px) {
  .club {
    padding: 140px 0;
  }
  .club_title {
    margin-bottom: 125px;
  }
  .club_item:first-child .club_item_item_title {
    margin: 0 0 40px;
  }
  .club_item:last-child .club_item_item_title {
    margin-bottom: 59px;
  }
  .club_item_button {
    bottom: -84px;
  }
  .club_button {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .club_items {
    grid-template-columns: 1fr;
  }
}

.main_tariff .club {
  padding: 4rem 0 6rem;
  /*&_button {
      display: none;
  }*/
}
.main_tariff .club_items {
  margin-bottom: 150px;
}

p {
  line-height: 1.5;
}
p strong {
  line-height: 0;
}

.form {
  max-width: 360px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.form_section {
  padding: 4rem 0 6rem;
  max-width: 865px;
  margin-inline: auto;
}
.form_section img {
  height: auto;
  margin-inline: auto;
}
.form .required {
  color: red;
}
.form_title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 34px;
}
.form_row-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #1d206a;
  margin-bottom: 20px;
  background: var(--light);
  padding: 10px;
}
.form_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #1d206a;
  margin-bottom: 20px;
  background: var(--light);
}
.form_row_title {
  margin: 20px 0;
  font-weight: 400;
  font-size: 2rem;
}
.form_row input {
  padding: 18px 20px;
  padding-right: 8px;
  height: 100%;
}
.form_row_radio {
  border: none;
  background: none;
  flex-direction: column;
  align-items: flex-start;
}
.form_row_radio label {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}
.form_row_radio span {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--primary);
}
.form_row_radio span::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: none;
}
.form_row_radio input {
  display: none;
}
.form_row_radio input:checked + label span::before {
  background: var(--primary);
}
.form_link {
  position: relative;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  color: var(--primary);
  margin-top: 20px;
}
.form_link:first-child {
  margin-top: 85px;
}
.form_link::after {
  content: "";
  position: absolute;
  bottom: -55%;
  left: 0;
  display: block;
  width: 100%;
  height: 35px;
  max-width: 245px;
  background: url("/assets/guest/img/decor/line_decor_7.png") no-repeat;
}
.form_link:hover {
  color: var(--primary-bold);
}

@media (max-width: 768px) {
  .login_title {
    font-size: 2rem;
  }
  .login a,
  .login .logout {
    margin-top: 40px;
  }
  .login img {
    max-width: 200px;
  }
}
.select2-container {
  width: 100% !important; /* Делает селект полноширинным */
}
.select2-container .select2-selection {
  background-color: #ebe7e0;
  border: 1px solid #ebe7e0;
  border-radius: 5px; /* Закругление углов */
  padding: 10px; /* Внутренние отступы */
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
}
.select2-container .select2-selection:hover {
  border-color: #0056b3; /* Изменение цвета при наведении */
}
.select2-container .select2-selection .select2-selection__rendered {
  color: #495057; /* Цвет текста выбранных опций */
}
.select2-container .select2-selection .select2-selection__arrow {
  height: 100%;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #007bff; /* Цвет стрелки */
}

/* Стили для выпадающего списка */
.select2-dropdown {
  background-color: #fff; /* Белый фон */
  border: 2px solid #007bff; /* Граница */
  border-radius: 5px;
  margin-top: 5px; /* Отступ сверху */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Тень */
}

/* Стили для опций выпадающего списка */
.select2-results__option {
  padding: 8px 12px; /* Внутренние отступы */
  cursor: pointer;
  color: #333; /* Цвет текста */
  font-size: 14px;
}
.select2-results__option:hover {
  background-color: #007bff; /* Фон при наведении */
  color: #fff; /* Цвет текста при наведении */
}

/* Стили для выбранной опции */
.select2-results__option--selected {
  background-color: #007bff; /* Фон выбранной опции */
  color: #fff; /* Цвет текста */
}

/* Стили для многострочного селекта */
.select2-selection--multiple {
  background-color: #f8f9fa;
  border: 1px solid #ebe7e0;
  border-radius: 5px;
  padding: 5px;
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
}
.select2-selection--multiple .select2-selection__choice {
  background-color: #007bff;
  color: #007bff;
  border: 1px solid #ebe7e0;
  border-radius: 3px;
  margin: 2px;
  padding: 5px;
  font-size: 12px;
}
.select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  margin-left: 5px;
  color: #fff;
  cursor: pointer;
}
.select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove:hover {
  color: #ffcccc;
}

/* Стиль для поиска внутри выпадающего списка */
.select2-search--dropdown .select2-search__field {
  padding: 8px;
  width: 100%;
  border: 1px solid #ebe7e0;
  border-radius: 5px;
  margin-bottom: 10px;
}

.last_articles {
  padding: 2rem 0 5rem;
  max-width: 760px;
  margin-inline: auto;
}
.last_articles_items {
  display: flex;
  gap: 3rem;
}
@media (max-width: 768px) {
  .last_articles_items {
    gap: 1.375rem;
  }
}
@media (min-width: 768px) {
  .last_articles_items .limited-text {
    width: 200px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    gap: 1.375rem;
  }
}
.last_articles_item {
  flex: 1;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 400;
  max-width: 234px;
  margin-left: -40px;
  padding: 3.7rem 1rem 3rem 3rem;
}
@media (max-width: 768px) {
  .last_articles_item {
    margin-left: 0;
  }
}
.last_articles_item::after {
  content: "";
  position: absolute;
  bottom: -4%;
  right: 5%;
  transform: rotate(-5deg);
  display: block;
  width: 58px;
  height: 58px;
  background: url("/assets/guest/img/arrow/arrow_default.png") no-repeat;
}
.last_articles_item:hover {
  color: var(--primary-bold);
}
.last_articles_item:hover::after {
  background-image: url("/assets/guest/img/arrow/arrow_hover.png");
}
.last_articles_img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
@media (max-width: 768px) {
  .last_articles {
    padding-bottom: 140px;
  }
  .last_articles_items {
    flex-direction: column;
    gap: 44px;
  }
  .last_articles_item {
    width: 100%;
    padding: 0;
  }
  .last_articles_item span {
    max-width: 280px;
  }
  .last_articles_item::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    display: block;
    width: 100%;
    max-width: 158px;
    height: 16px;
    background: url("/assets/guest/img/decor/line_decor_3.png") no-repeat;
  }
  .last_articles_item::after {
    bottom: 0;
    right: -50px;
  }
  .last_articles_img {
    display: none;
  }
}

.swiper-custom-bg {
  background-image: url("/assets/guest/img/carusel/slider_background.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 40px;
  width: 100%;
  max-width: 950px;
  min-height: 390px;
  position: relative;
}
.swiper-custom-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  margin-bottom: 335px;
}
.swiper-custom-number {
  font-family: "Comfortaa", sans-serif;
  color: #062149;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 25px;
  display: flex;
}
.swiper-custom-number--one-decoration::before {
  content: "";
  border-left: 3px solid #062149;
  display: inline-flex;
  height: 40px;
  padding-right: 8px;
}
.swiper-custom-title {
  font-family: "Century Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #062149;
}
.swiper-custom-content {
  background: #E9E4D8;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  position: relative;
}
.swiper-custom-content--left {
  z-index: 2;
}
.swiper-custom-content--right {
  z-index: 1;
}
.swiper-custom-img {
  width: 100%;
  height: 99px;
  -o-object-fit: cover;
     object-fit: cover;
}
.swiper-custom-datetime {
  font-family: "Century Gothic", sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: #062149;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 15px;
}
.swiper-custom-signature {
  margin-right: -25px;
}
.swiper-button-prev {
  background-image: url(/assets/guest/img/carusel/slider_arrow_left.png);
  width: 56px;
  height: 55px;
  position: relative;
}
.swiper-button-prev:after {
  content: unset !important;
}
.swiper-button-next {
  background-image: url(/assets/guest/img/carusel/slider_arrow_right.png);
  width: 56px;
  height: 55px;
  position: relative;
}
.swiper-button-next:after {
  content: unset !important;
}

@media (max-width: 991px) {
  .swiper-button-prev, .swiper-button-next {
    position: absolute;
  }
}
.pagination {
  padding-top: 20px;
  justify-content: center;
  gap: 10px;
}
.pagination-count {
  display: none;
}
.pagination .page-item.active {
  position: relative;
}
.pagination .page-item.active::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url("/assets/guest/img/decor/circle.png") no-repeat center center/contain;
}
.pagination .page-item:nth-last-of-type(1) .page-link {
  color: rgb(184, 186, 197);
}
.pagination .page-item:nth-last-of-type(2) .page-link {
  color: rgb(140, 149, 170);
}
.pagination .page-item:nth-last-of-type(3) .page-link {
  color: rgb(101, 104, 131);
}
.pagination .page-link {
  background: none;
  border: none;
  font-size: 14px; /* Smaller font size for small screens */
  font-weight: 400;
  padding: 0;
  margin: 0;
  color: rgb(21, 27, 84);
}
.pagination .page-link i.fa-long-arrow-alt-left::before {
  content: "";
  position: absolute;
  width: 36px; /* Smaller arrow for small screens */
  height: 16px;
  top: 50%;
  left: calc(50% - 10px);
  transform: translate(-50%, -50%);
  background: url("/assets/guest/img/decor/paginate_arrow.png") no-repeat center center/contain;
}
.pagination .page-link i.fa-long-arrow-alt-right::before {
  content: "";
  position: absolute;
  width: 36px;
  height: 16px;
  top: 50%;
  left: calc(50% + 10px);
  transform: translate(-50%, -50%);
  background: url("/assets/guest/img/decor/paginate_arrow_right.png") no-repeat center center/contain;
}

@media (min-width: 600px) {
  .pagination {
    padding-top: 61px;
    gap: 20px;
  }
  .pagination .page-item.active::before {
    width: 40px;
    height: 40px;
  }
  .pagination .page-link {
    font-size: 16px;
  }
  .pagination .page-link i.fa-long-arrow-alt-left::before {
    width: 46px;
    height: 20px;
    left: calc(50% - 13px);
  }
  .pagination .page-link i.fa-long-arrow-alt-right::before {
    width: 46px;
    height: 20px;
    left: calc(50% + 13px);
  }
}
.radio-input input {
  display: none;
}

.form_row input {
  padding: 18px 20px;
  padding-right: 8px;
  height: 100%;
}

.form_row_radio label {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.form_row_radio span {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--primary);
}

.form_row_radio span::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: none;
}

.form_row_radio input:checked + label span::before {
  background: var(--primary);
}

.tags {
  margin: -100px 0 100px 0;
  text-align: center;
}
@media (max-width: 768px) {
  .tags {
    margin: -15px 0 100px 0;
  }
}
.tags .tag {
  display: inline-block;
  text-decoration: none;
  padding: 4px 8px;
  background: #eee;
  margin: 3px;
  color: black;
  font-size: 12px;
}
.tags .tag.active, .tags .tag:hover {
  background: #fff;
}

.articles {
  display: flex;
  flex-direction: column;
  gap: 146px;
}
@media (max-width: 768px) {
  .articles {
    gap: 90px;
  }
}

section.article {
  padding: 192px 0 255px;
  max-width: 865px;
  margin-inline: auto;
}

.article {
  /* Для мобильных устройств */
}
.article iframe {
  display: block;
  width: 80%;
  height: auto;
  aspect-ratio: 16/9;
  border: none;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .article iframe {
    width: 100%;
  }
}
.article li {
  line-height: 1.6;
}
.article ul li:last-child {
  margin-bottom: 30px;
}
.article .article-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.article .nav-container {
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 1;
  text-align: center;
}
.article .nav-button {
  margin-top: 50px;
  text-decoration: none;
  font-weight: bold;
  font-family: "EB Garamond", serif;
  font-size: 1.3rem;
  border-radius: 5px;
  transition: background 0.3s;
  padding: 10px 15px;
  width: 100%;
}
.article .next {
  text-align: right;
}
.article .prev {
  text-align: left;
}
@media (max-width: 600px) {
  .article .article-navigation {
    flex-direction: column;
  }
  .article .nav-container {
    margin-bottom: 10px;
    width: 100%;
  }
  .article .nav-button {
    margin: 5px 0;
  }
}
.article_header {
  position: relative;
  width: 100%;
  max-width: 376px;
  margin-inline: auto;
  background: #f2f1ef;
  padding: 160px 20px 48px;
  z-index: 1;
  margin-bottom: 40px;
}
.article_header_image {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 1;
  width: 150px;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
}
.article_header_image-small {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 1;
  width: 90px;
  height: 90px;
  -o-object-fit: cover;
     object-fit: cover;
}
.article_header::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 31%;
  transform: translateX(-50%);
  display: block;
  width: 334px;
  height: 155px;
  background: url("/assets/guest/img/post_karakul.svg") no-repeat center center/contain;
}
.article_header-small {
  position: relative;
  width: 100%;
  max-width: 376px;
  margin-inline: auto;
  background: #f2f1ef;
  padding: 160px 20px 48px;
  z-index: 1;
  margin-bottom: 40px;
}
.article_header-small_image {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 1;
  width: 150px;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
}
.article_header-small_image-small {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 1;
  width: 80px;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
}
.article_header-small::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 31%;
  transform: translateX(-50%);
  display: block;
  width: 190px;
  height: 120px;
  background: url("/assets/guest/img/post_karakul.svg") no-repeat center center/contain;
}
.article_title {
  position: relative;
}
.article_title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100%;
  max-width: 338px;
  height: 25px;
  background: url("/assets/guest/img/decor/line_title.png") no-repeat center center/contain;
}
.article_title {
  position: relative;
}
.article_title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100%;
  max-width: 338px;
  height: 25px;
  background: url("/assets/guest/img/decor/line_title.png") no-repeat center center/contain;
}
.article_logo {
  margin-inline: auto;
  margin-top: 146px;
}
.article h3 {
  margin-bottom: 40px;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1.625rem;
}
.article h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -16px;
  display: block;
  width: 100%;
  max-width: 297px;
  height: 17px;
  background: url("/assets/guest/img/decor/line_decor_6.png") no-repeat;
}
.article p + h3 {
  margin-top: 60px;
}
.article h4 {
  margin-bottom: 68px;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1.625rem;
  margin-inline: auto;
}
.article h4::after {
  content: "";
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100%;
  max-width: 332px;
  height: 38px;
  background: url("/assets/guest/img/decor/line_bold_3.png") no-repeat center/contain;
}
.article p + h4 {
  margin-top: 60px;
}
.article p {
  line-height: 1.5;
}
.article p strong {
  line-height: 0;
}
.article .button::after {
  right: 30%;
}
.article_content article {
  font-size: 17px;
  position: relative;
}
.article_content article:not(:last-child) {
  margin-bottom: 146px;
}
.article_content article p {
  margin-bottom: 1.625rem;
}
.article_content article p:has(+ ul) {
  margin-bottom: 0;
}
.article_content article a {
  color: #2f80ed;
}
.article_content article strong {
  font-family: "EB Garamond", serif;
  font-size: 1.3rem;
}
.article_content article span {
  margin-left: 5px;
}
.article_content article small {
  color: #4d4e59;
  font-size: 1rem;
  margin-bottom: 0;
  display: block;
}
.article_content article ::-moz-selection {
  background-color: rgba(255, 255, 0, 0.5);
}
.article_content article ::selection {
  background-color: rgba(255, 255, 0, 0.5);
}
.article_content article .note_icons {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  gap: 10px;
}
@media (max-width: 600px) {
  .article_content article .note_icons {
    justify-content: flex-start;
    gap: 5px;
  }
}
.article_content article .note_icons .comment-link {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.article_content article .note_icons .comment-link .tolstoycomments-cc {
  display: inline-block;
  margin-right: 5px;
}
@media (max-width: 600px) {
  .article_content article .note_icons .comment-link {
    font-size: 12px;
  }
}
.article_content article .note_icon {
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  cursor: pointer;
}
@media (max-width: 600px) {
  .article_content article .note_icon {
    width: 20px !important;
    height: 20px !important;
  }
}
@media (min-width: 601px) {
  .article_content article img:not([width]):not([height]) {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    max-width: 90%;
    height: auto;
  }
}
@media (max-width: 600px) {
  .article_content article img {
    margin-left: -2vw;
    width: 100vw;
    max-width: 100vw;
  }
}
.article_decor_1 {
  bottom: -2.5%;
  left: 50%;
  transform: translateX(-50%);
}
.article_decor_2 {
  top: 0;
  left: -30vw;
  transform: translateY(-85%);
  width: 29.8vw;
  height: auto;
}
@media (max-width: 1400px) {
  .article_decor_2 {
    left: -25vw;
    width: 25vw;
  }
}
@media (max-width: 1200px) {
  .article_decor_2 {
    width: 20vw;
    left: -20%;
  }
}
@media (max-width: 768px) {
  .article_decor_1 {
    bottom: -3%;
  }
  .article_decor_2 {
    width: 100%;
    max-width: 250px;
    left: 50%;
    top: -15%;
    transform: translate(-50%, -50%);
  }
  .article_content article:not(:last-child) {
    margin-bottom: 90px;
  }
  .article_content article:nth-child(2) {
    margin-bottom: 170px;
  }
  .article_content article:nth-child(3) {
    margin-bottom: 175px;
  }
  .article_logo {
    margin-top: 76px;
  }
  .article section.article {
    padding: 25px 0 110px;
  }
  .article div.article .button::after {
    right: 10%;
  }
}
@media (max-width: 480px) {
  .article_decor_1 {
    bottom: -2%;
  }
  .article_decor_2 {
    top: -10%;
  }
}

@media (max-width: 768px) {
  section.article {
    padding: 59px 0 79px;
  }
}
.decoration_underline::after {
  left: 50px !important;
}

@media (max-width: 1200px) {
  .article-small {
    flex-basis: calc(50% - 10px);
  }
}
@media (max-width: 768px) {
  .article-small {
    flex-basis: calc(100% - 10px);
  }
}
@media (max-width: 480px) {
  .article_header_content img {
    width: 96px;
    height: 17px;
  }
  .article_header_image-small {
    width: 140px;
    height: 140px;
  }
}
.small-main-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

.article-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ccc;
  padding: 10px;
  box-sizing: border-box;
  background: #f2f1ef;
  height: 100%;
}

@media (max-width: 480px) {
  .article-small {
    height: 80%;
  }
}
.article_header-small {
  width: 100%;
  position: relative;
}

.article_header_content {
  text-align: left;
}
.article_header_content .attach-article {
  cursor: pointer;
  display: flex;
}
.article_header_content .attach-article :hover {
  cursor: pointer;
}
.article_header_content .attach-article img {
  width: 25px;
  height: 25px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.title-small {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .title-small {
    font-size: 18px;
  }
}
.related_articles {
  margin-bottom: 40px !important;
}

#tolstoycomments-reaction-emoji {
  margin-bottom: 40px;
}

.subscription-notice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.subscription-notice .subscription-notice-image {
  margin-bottom: 20px;
}
.subscription-notice .tariff-title {
  margin-top: 30px;
}
@media (max-width: 601px) {
  .subscription-notice {
    padding-top: 0;
    padding-bottom: 0;
  }
}
@media (max-width: 375px) {
  .subscription-notice {
    padding: 10px;
  }
  .subscription-notice p {
    margin-bottom: 11px;
    top: 200px;
    font-size: 0.9rem;
  }
  .subscription-notice .button {
    margin-top: 5px;
  }
}
@media (min-width: 360px) and (max-width: 412px) {
  .subscription-notice {
    padding: 15px;
  }
  .subscription-notice p {
    font-size: 1rem;
  }
  .subscription-notice .button {
    margin-top: 10px;
  }
}
@media (min-width: 430px) and (max-width: 844px) {
  .subscription-notice {
    padding: 20px;
  }
  .subscription-notice p {
    font-size: 1.1rem;
  }
  .subscription-notice .button {
    margin-top: 10px;
  }
}
.subscription-notice p {
  position: relative;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}
@media (min-width: 400px) {
  .subscription-notice p {
    margin-bottom: 0;
  }
}
@media (min-width: 360px) and (max-width: 399px) {
  .subscription-notice p {
    margin-bottom: 15px;
  }
}
@media (min-width: 400px) {
  .subscription-notice p:last-child {
    padding-bottom: 70px;
  }
}
.subscription-notice .button {
  margin-top: 10px;
}
@media (min-width: 330px) and (max-width: 376px) {
  .subscription-notice .button {
    margin-top: -5px;
    margin-bottom: -10px;
  }
}
@media (min-width: 400px) {
  .subscription-notice .button {
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 601px) {
  .forbidden_article {
    padding-bottom: 30px;
    overflow-x: hidden;
  }
}

.not-first {
  margin-top: -30px;
}

.article-category-container {
  display: flex;
}
.article-category-container .link {
  margin-top: 15px;
  margin-left: 10px;
  color: #062149;
}
.article-category-container .link:hover {
  color: rgb(10, 88, 202) !important;
}
.article-category-container .btn-icon-danger {
  margin-top: 10px;
}
.article-category-container img {
  max-width: 100px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.not-last {
  margin-bottom: -15px;
}

.last {
  margin-bottom: 30px;
}

.rational-club-text {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #4A5569;
  display: flex;
  flex-direction: column;
}

#image-overlay {
  display: none !important;
}

.responsive-buttons {
  display: flex;
  flex-wrap: wrap;
}
.responsive-buttons .button {
  width: 50% !important;
}
.responsive-buttons .button:after {
  right: 10% !important;
}
@media (max-width: 768px) {
  .responsive-buttons .button {
    width: 90% !important;
  }
}

.post-navbar__progress {
  height: 3px;
  background-color: #2c3c59;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.rating-widget {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  font-family: sans-serif;
  pointer-events: auto;
}
.rating-widget .rating-title {
  font-weight: bold;
  margin-bottom: 5px;
}
.rating-widget .rating-total {
  margin-bottom: 15px;
  color: #555;
}
.rating-widget .rating-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.rating-widget .rating-options .rating-option {
  padding: 10px 12px;
  font-size: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
  cursor: pointer;
  position: relative;
}
.rating-widget .rating-options .rating-option .emoji-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 128px; /* Width of one frame */
  height: 128px; /* Height of the sprite */
  transform: translate(-50%, -50%);
  background-image: url("/assets/guest/img/emoji-effect.png");
  background-repeat: no-repeat;
  background-size: auto 100%; /* ensures the full sprite height fits */
  pointer-events: none;
  z-index: 10;
  display: none;
}
.rating-widget .rating-options .rating-option img {
  width: 40px;
  height: 40px;
  -o-object-fit: contain;
     object-fit: contain;
}
.rating-widget .rating-options .rating-option span {
  font-size: 16px;
  margin-top: 5px;
  color: #333;
}
.rating-widget .rating-options .rating-option .tooltip-qwerty {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  max-height: 500px;
  overflow-y: auto;
  width: 200px;
  font-size: 14px;
}
.rating-widget .rating-options .rating-option:hover .tooltip-qwerty {
  display: block;
}

@media (max-width: 480px) {
  .rating-options {
    gap: 10px;
  }
  .rating-options .rating-option {
    font-size: 20px;
  }
  .rating-options .rating-option span {
    font-size: 14px;
  }
}
.article-category-container-item {
  display: flex;
  align-items: center;
}
.article-category-container-item .link {
  margin-left: 10px;
  margin-top: 0;
  color: #062149;
  line-height: 1.2;
}
.article-category-container-item .link:hover {
  color: rgb(10, 88, 202) !important;
}
.article-category-container-item .img-icon-rating {
  width: 20px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  vertical-align: middle;
  margin-top: 23px;
}

.article-category-container-catalog {
  display: flex;
}
.article-category-container-catalog img {
  max-width: 100px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  margin-right: 8px;
}
.article-category-container-catalog .link {
  color: #062149;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.article-category-container-catalog .link:hover {
  color: #007bff;
}
.article-category-container-catalog .link-page-break {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.article-category-container-catalog .img-icon-rating {
  width: 14px;
  height: 14px;
  margin-left: 5px;
  vertical-align: middle;
  display: inline;
}
.article-category-container-catalog .page-break {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.about {
  max-width: 865px;
  margin-inline: auto;
}
.about_more {
  display: none;
  margin-inline: auto;
  width: 100%;
  padding: 2rem 0;
}
.about img {
  margin-inline: auto;
  transform: translateX(20%);
  width: 100%;
  max-width: 364px;
  height: auto;
}
.about_title {
  position: relative;
}
.about_title::after {
  content: "";
  position: absolute;
  bottom: -25%;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 338px;
  height: 25px;
  background: url("/assets/guest/img/decor/line_title.png") no-repeat center/contain;
}
.about_text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  line-height: 1.1;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 65px;
}
.about_text p {
  line-height: 1.5;
}
.about_text p strong {
  line-height: 0;
}
.about .button::after {
  right: 30%;
}
@media (max-width: 768px) {
  .about_more {
    display: flex;
  }
  .about img {
    margin-bottom: 21px;
  }
  .about_title, .about_text, .about_title {
    margin-bottom: 34px;
  }
}
@media (max-width: 480px) {
  .about img {
    max-width: 264px;
  }
}

@media (max-width: 768px) {
  .main_about .hero_info {
    margin-bottom: calc(140px - 2rem);
  }
  .main_about .hero_info_row {
    display: none !important;
  }
}
.journal {
  padding-bottom: 89px;
  max-width: 865px;
  margin-inline: auto;
}
.journal img {
  margin-inline: auto;
  margin-bottom: 140px;
}
.journal_title {
  position: relative;
  margin-bottom: 60px;
}
.journal_titleafter {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100%;
  max-width: 338px;
  height: 25px;
  background: url("/assets/guest/img/decor/line_title.png") no-repeat center/contain;
}
.journal_text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text);
  line-height: 1.1;
}
@media (max-width: 768px) {
  .journal img {
    margin-bottom: 61px;
  }
}

.form-container {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 20px auto;
}

.notices {
  padding-bottom: 200px;
  max-width: 458px;
  margin-inline: auto;
}
.notices_title {
  position: relative;
  margin-bottom: 48px;
}
.notices_title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 100%;
  max-width: 340px;
  height: 16px;
  background: url("/assets/guest/img/decor/line_decor_6.png") no-repeat;
}
.notices_subtitle {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 34px;
}
@media (max-width: 768px) {
  .notices {
    padding-bottom: 140px;
  }
}
.notices .readers-count {
  text-align: center;
  margin-top: 20px;
}
.notices .readers-count::before {
  display: block;
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%, -33%);
  width: 13rem;
  height: 5rem;
  background: url(/assets/guest/img/decor/line_hover.png) no-repeat center center/cover;
  transition: 0.2s ease;
}

.hero {
  padding: 4rem 0 6rem;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  z-index: 1;
}
.hero_image {
  display: block;
  width: 75vw;
  margin-inline: auto;
}
.hero_image_mobile {
  display: none;
}
.hero_decor {
  bottom: 12%;
  left: 2%;
}
.hero_socials {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: absolute;
  top: 17%;
  left: 4%;
  z-index: 2;
  list-style-type: none;
}
@media (max-width: 1200px) {
  .hero_socials {
    left: 1rem;
  }
  .hero_decor {
    display: none;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 4rem 0 5.5625rem;
  }
  .hero_image {
    display: none;
  }
  .hero_image_mobile {
    display: block;
    max-width: 380px;
  }
}
@media (max-width: 480px) {
  .hero_image_mobile {
    max-width: 220px;
  }
  .hero_socials {
    top: 8rem;
  }
}

.hero_info {
  position: relative;
  max-width: 864px;
  margin-inline: auto;
  padding-bottom: 20rem;
}
.hero_info_row {
  display: none;
  align-items: center;
  border-bottom: 1px solid var(--primary);
  margin-bottom: 3.75rem;
}
.hero_info_row img {
  display: block;
  margin-right: 10px;
}
.hero_info_row span {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 400;
}
.hero_info_row span:first-child {
  color: #7885a1;
}
.hero_info_row span:last-child {
  display: flex;
  align-items: center;
}
.hero_info p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
}
.hero_info p:not(:last-child) {
  margin-bottom: 1.25rem;
}
.hero_info p span {
  position: relative;
  font-weight: 700;
  font-size: 1.2rem;
}
.hero_info p span::before {
  content: "";
  position: absolute;
  top: -105%;
  transform: translateX(-30%);
  display: block;
  width: 14.5rem;
  height: 5rem;
  background: url("/assets/guest/img/decor/line_hover.png") no-repeat;
  transition: 0.2s ease;
}
.hero_info p a {
  position: relative;
  color: var(--text);
}
.hero_info p a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: var(--primary);
}
.hero_info_decor {
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}
.hero_info_border {
  display: none;
}
@media (max-width: 1200px) {
  .hero_info p span::before {
    transform: translateX(-15%);
    width: 9.5rem;
    top: -65%;
    background-size: contain;
  }
}
@media (max-width: 768px) {
  .hero_info {
    padding: 2rem 2.5rem 9.75rem;
    margin-bottom: 20rem;
  }
  .hero_info p.more {
    display: none;
  }
  .hero_info_decor {
    bottom: 2rem;
    max-width: 80%;
  }
  .hero_info_border {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    width: 100%;
    height: 100%;
  }
  .hero_info .about_more {
    margin-top: 34px;
  }
  .hero_info .main_about .hero_info {
    margin-bottom: calc(140px - 2rem);
  }
  .hero_info .main_about .hero_info_row {
    display: none;
  }
}
@media (max-width: 480px) {
  .hero_info {
    padding: 2rem 1rem 9.75rem;
  }
}

.main_about .hero_info_row {
  display: flex;
}

.teammates {
  background: url("/assets/guest/img/carusel/slider_background.png") no-repeat;
  background-size: 100% 100%;
  margin: 0 auto 50px;
  padding: 35px 60px 45px;
  max-width: 800px;
  width: 100%;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  cursor: pointer;
}
.teammates__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.teammates__filter-btn {
  background: #F2F2F2;
  color: #000;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.teammates__filter-btn:hover {
  background: #061f3b;
  color: #fff;
}
.teammates__filter-btn.active {
  background: #061f3b;
  color: #fff;
}
.teammates__img {
  width: 200px;
  min-width: 200px;
  height: 200px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.teammates__left {
  align-self: center;
}
.teammates__right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.teammates__title {
  margin: 0 auto;
  color: #061F3B;
  font-weight: 600;
  font-size: 28px;
}
.teammates__text {
  color: #061F3B;
  font-weight: 400;
  font-size: 17px;
  margin-bottom: -10px;
}
.teammates__underline {
  text-decoration: underline;
}
.teammates__icons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.teammates__link {
  display: inline-block;
  width: 30px;
  height: 30px;
  position: relative;
}
.teammates__link svg path {
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  fill: #061f3b;
  transition: fill 0.3s;
}
.teammates__link:hover svg path {
  fill: #0e519a;
}
.teammates__more {
  color: #061F3B;
  text-decoration: underline;
}
.teammates__line {
  width: 100%;
  margin-top: -17px;
  margin-bottom: -10px;
}

.button-after {
  margin-top: 20px;
  margin-bottom: 30px;
}
.button-after::after {
  right: 41% !important;
}

@media (max-width: 991px) {
  .teammates {
    flex-direction: column;
    padding: 50px 60px 62px;
  }
  .teammates__line {
    margin-top: -10px;
  }
}
.profile-page {
  max-width: 900px;
  padding: 20px;
  margin: 200px auto;
}
.profile-page .profile-cover {
  max-width: 900px;
  position: relative;
  height: 250px;
  background-color: #f3f3f3;
  border-radius: 10px;
  overflow: hidden;
}
.profile-page .profile-cover img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.profile-page .breadcrumbs {
  margin-left: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-page .breadcrumbs a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}
.profile-page .breadcrumbs a:hover {
  text-decoration: underline;
}
.profile-page .breadcrumbs img {
  height: auto;
}
.profile-page .profile-content {
  display: flex;
  align-items: center;
  margin-top: -56px; /* Выдвигаем аватар вверх */
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.profile-page .profile-content .avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-right: 20px;
  margin-top: 26px;
}
.profile-page .profile-content .avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.profile-page .profile-content .profile-info .username {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 0 10px;
}
.profile-page .profile-content .profile-info .bio {
  margin-bottom: 3px;
  font-size: 16px;
  color: #666;
  max-width: 600px;
  word-wrap: break-word;
}
.profile-page .recommended-books {
  margin-top: 40px;
}
.profile-page .recommended-books h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
.profile-page .recommended-books .book-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.profile-page .recommended-books .book-list .book-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 250px;
  max-width: 300px;
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease;
  display: block;
}
@media (max-width: 1024px) {
  .profile-page .recommended-books .book-list .book-item {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (max-width: 768px) {
  .profile-page .recommended-books .book-list .book-item {
    flex: 1 1 100%;
    max-width: none;
  }
}
.profile-page .recommended-books .book-list .book-item:hover {
  transform: translateY(-5px);
  text-decoration: none;
}
.profile-page .recommended-books .book-list .book-item .book_cover {
  width: 100%;
  height: 250px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 8px;
  margin-bottom: 10px;
  background-color: #f3f3f3;
}
.profile-page .recommended-books .book-list .book-item p {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0;
  text-decoration: none;
}
.profile-page .recommended-books .star-block-item {
  width: 25px;
}

@media (max-width: 768px) {
  .profile-page {
    padding: 10px;
    margin: 150px auto;
  }
  .profile-cover {
    height: 200px;
  }
  .profile-content {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
  }
  .profile-content .avatar {
    width: 120px;
    height: 120px;
    margin: 0 0 10px;
  }
  .profile-content .profile-info .username {
    font-size: 20px;
  }
  .profile-content .profile-info .bio {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .profile-cover {
    height: 150px;
  }
  .profile-content .avatar {
    width: 100px;
    height: 100px;
  }
  .profile-content .profile-info .username {
    font-size: 18px;
  }
  .profile-content .profile-info .bio {
    font-size: 12px;
  }
}
.profile-cover-no-photo {
  width: 100%;
  height: 223px;
  background-image: url("/assets/guest/img/default-background.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}
.profile-cover-no-photo .cover-text {
  font-weight: bold;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .profile-cover-no-photo {
    height: 180px;
    font-size: 20px;
  }
  .profile-cover-no-photo .cover-text {
    padding: 8px 16px;
  }
}
@media (max-width: 480px) {
  .profile-cover-no-photo {
    height: 93px;
    font-size: 18px;
  }
  .profile-cover-no-photo .cover-text {
    padding: 5px 10px;
  }
}
body.subscribe-active {
  overflow: hidden;
}

body.subscribe-active .header {
  visibility: hidden;
}

.extra-padding {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ebe7e0;
  z-index: 999;
}
.extra-padding img {
  margin: 20px auto;
  max-width: 200px;
}
.extra-padding .later-text {
  text-align: center;
  cursor: pointer;
}
.extra-padding .notices_row {
  border-radius: 25px;
}
.extra-padding .notices_row .button-style {
  padding: 20px 20px;
  background-color: #000080;
  color: white;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
}
.extra-padding .readers-count {
  text-align: center;
  margin-top: 20px;
}
.extra-padding .readers-count::before {
  display: block;
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%, -33%);
  width: 13rem;
  height: 5rem;
  background: url(/assets/guest/img/decor/line_hover.png) no-repeat center center/cover;
  transition: 0.2s ease;
}
.extra-padding .close-button {
  position: fixed;
  top: -30px;
  right: 5px;
  background: none;
  border: none;
  font-size: 60px;
  color: #000;
  cursor: pointer;
  z-index: 1000;
}
.extra-padding .close-button:hover {
  color: red;
}

.star-rating {
  display: flex;
}
.star-rating .star {
  width: 35px;
  height: auto;
  cursor: pointer;
  transition: opacity 0.2s;
}
.star-rating .star:hover {
  opacity: 0.7;
}

.star-block {
  width: 35px;
  height: auto;
  cursor: pointer;
  transition: opacity 0.2s;
}

.rating-value {
  margin-top: 10px;
  font-size: 20px;
}

.books {
  background: url(/assets/guest/img/book_border.png) no-repeat center center;
  background-size: 100% 100%;
  margin: 0 auto 50px;
  padding: 66px 60px;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
@media (max-width: 991px) {
  .books {
    flex-direction: column;
    padding: 100px 0;
    background-size: 120% 100%;
    background-position: center;
    max-width: 100%;
  }
}
@media (max-width: 400px) {
  .books {
    flex-direction: column;
    padding: 120px 0;
    background-size: 120% 100%;
    background-position: center;
    max-width: 100%;
  }
}
.books_header {
  width: 100%;
  max-width: 200px;
  margin: -36px auto 40px;
}
.books_header_image {
  width: 200px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.books__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.books__filter-btn {
  background: #F2F2F2;
  color: #000;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.books__filter-btn:hover {
  background: #061f3b;
  color: #fff;
}
.books__filter-btn.active {
  background: #061f3b;
  color: #fff;
}
.books__img {
  width: 100%;
  max-width: 200px;
  margin-top: 20px;
  display: block;
  height: auto;
}
.books__top {
  padding-top: 10px;
  display: flex;
  justify-content: center;
}
.books__bottom {
  display: flex;
  max-width: 80%;
  flex-direction: column;
  gap: 15px;
  flex-grow: 1;
  margin: 10px auto;
  padding-bottom: 50px;
  padding-left: 10px;
  padding-right: 10px;
}
.books__extra {
  display: flex;
  align-items: center;
  gap: 10px;
}
.books__extra .avatars {
  display: flex;
  align-items: center;
}
.books__extra .avatars .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: -10px;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
@media (max-width: 400px) {
  .books__extra .avatars .avatar {
    display: none;
  }
  .books__extra .avatars .avatar:nth-child(-n+2) {
    display: block;
  }
}
@media (min-width: 401px) and (max-width: 768px) {
  .books__extra .avatars .avatar {
    display: none;
  }
  .books__extra .avatars .avatar:nth-child(-n+3) {
    display: block;
  }
}
.books__extra .avatars img:first-child {
  margin-left: 0;
}
.books__user_avatar {
  border-radius: 50%;
  width: 30px;
}
.books__title {
  margin: 0 auto;
  color: #061F3B;
  font-weight: 600;
  font-size: 28px;
}
.books__text {
  color: #061F3B;
  font-weight: 400;
  font-size: 17px;
}

/*.space-between {
    margin-bottom: 10px;
    align-items: center;
}

.inline {
    display:flex;
    gap: 5px;
    flex-wrap: wrap;

    @media (max-width: 768px) {
        .star {
            width: 20px;
        }
    }

    .avatar {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid white;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }

}*/
.space-between {
  margin-bottom: 10px;
  align-items: center;
}

.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.user-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.star-block {
  width: 20px;
}

@media (max-width: 768px) {
  .user-rating {
    flex-wrap: nowrap;
  }
}
.attach-detach-book {
  cursor: pointer;
}

.recommend-book {
  cursor: pointer;
}

.review-form {
  width: 100%;
  max-width: 600px;
  margin: 60px auto 0;
  padding: 20px;
  background-color: #ebe7e0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.review-form form {
  display: flex;
  flex-direction: column;
}
.review-form .review-label {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}
.review-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
  resize: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease;
}
.review-form textarea:focus {
  border-color: #66afe9;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.review-form textarea::-moz-placeholder {
  color: #aaa;
}
.review-form textarea::placeholder {
  color: #aaa;
}
.review-form .review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.review-form .review-footer .char-counter {
  font-size: 14px;
  color: #666;
}
.review-form .review-footer .submit-btn {
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.review-form .review-footer .submit-btn:hover {
  background-color: #0056b3;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background-color: #ebe7e0;
  border-radius: 10px;
}

.review-card {
  background-color: #ebe7e0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: box-shadow 0.3s ease;
}
.review-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.review-card .review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.review-card .review-header .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid #ddd;
}
.review-card .review-header .review-info {
  width: 100%;
}
.review-card .review-header .review-info .username-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.review-card .review-header .review-info .username-container .username {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
}
.review-card .review-header .review-info .review-date {
  font-size: 14px;
  color: #999;
}
.review-card .review-body .review-text {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

/*.review-card {
    background-color: #ebe7e0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: box-shadow 0.3s ease;

    &:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .review-header {
        display: flex;
        align-items: center;
        margin-bottom: 15px;

        .avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 15px;
            border: 2px solid #ddd;
        }

        .review-info {
            .username {
                font-size: 18px;
                font-weight: bold;
                color: #333;
                margin: 0;
            }

            .review-date {
                font-size: 14px;
                color: #999;
            }
        }
    }

    .review-body {
        .review-text {
            font-size: 16px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 10px;
        }
    }
}*/
.success-payment-container {
  margin-bottom: 30px;
}
.success-payment-container .container {
  text-align: center;
  position: relative;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 550px;
  width: 100%;
}
.success-payment-container .container .checkmark {
  font-size: 50px;
  color: green;
}
.success-payment-container .container .message {
  text-align: left;
  margin-bottom: 15px;
}
.success-payment-container .container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
}
.success-payment-container .container .club_button {
  margin-top: 20px;
}
@media (max-width: 600px) {
  .success-payment-container .container .container {
    padding: 15px;
  }
}

@font-face {
  font-family: CenturyGothic;
  font-display: swap;
  src: url("/assets/guest/font/CenturyGothic-Bold.woff2") format("woff2"), url("/assets/guest/font/CenturyGothic-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: CenturyGothic;
  font-display: swap;
  src: url("/assets/guest/font/CenturyGothic.woff2") format("woff2"), url("/assets/guest/font/CenturyGothic.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
input,
textarea {
  font-family: var(--second-family);
  font-size: inherit;
  outline: none;
}

/*button {
  cursor: pointer;
  color: inherit;
  background-color: inherit;
}*/
img {
  vertical-align: top;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wrapper > main {
  flex: 1 1 auto;
}

.wrapper > * {
  min-width: 0;
}

/*
(i) Стили будут применяться ко
всем классам содержащим *__container
Например header__container, main__container и т.д.
Снипет (HTML): cnt
*/
[class*=__container] {
  max-width: 46.875rem;
  box-sizing: content-box;
  margin: 0 auto;
  padding: 0 1.5625rem;
}

@media (max-width: 768px) {
  [class*=__container] {
    padding: 0 1rem; /* Достаточно для тени */
    box-sizing: border-box;
  }
}
.comments {
  position: relative;
  z-index: 10;
  padding: 54px 0px;
}

.comments__container {
  max-width: 830px;
}

.comments__title {
  display: flex;
  flex-direction: column;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 24px;
  color: #061f3b;
  position: relative;
  margin: 0px 0px 10px 0px;
}

.comments__title img {
  width: 257px;
  height: 28px;
  position: absolute;
  bottom: -14px;
  left: -10px;
}

.comments__column {
  display: flex;
  margin: 0px 0px 0px 25px;
}

.comments__column p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  color: #061f3b;
  margin: 0px 0px 10px 0px;
}

.comments__column.main-comments {
  flex-direction: column;
  box-shadow: 0 8px 25px 6px rgba(0, 0, 0, 0.13);
  background: #eae7e1;
  border-radius: 14px;
  padding: 25px 35px 38px 25px;
  margin: 0px 0px 27px 0px;
}

.comments__column.main-comments .comments__top {
  align-items: center;
  margin: 0px 0px 0px 0px;
}

.comments__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px 7px;
  margin: 0px 0px 8px 0px;
}

.comments__avatar {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 41px;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  margin: 0px 13px 0px 0px;
}

.comments__name {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  color: #061f3b;
}

.comments__forms {
  margin: 15px 0px 0px 0px;
}

.comments__previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.comments__form {
  display: flex;
  align-items: center;
}

.comments__file {
  position: relative;
  cursor: pointer;
  width: 27px;
  height: 42px;
  margin: 5px 20px 0px 5px;
  transition: opacity 0.3s ease 0s;
}

.comments__file:hover {
  opacity: 0.8;
}

.comments__file input {
  cursor: pointer;
  opacity: 0;
  width: 27px;
  height: 42px;
  position: absolute;
}

.comments__file img {
  width: 27px;
  height: 42px;
}

.comments__preview {
  font-size: 12px;
  font-weight: 500;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: start;
  flex-direction: row-reverse;
}

.comments__preview-close {
  cursor: pointer;
  margin: 0 0 0 5px;
}

.comments__preview-close::before {
  content: "+";
  display: block;
  font-size: 16px;
  transform: rotate(-45deg);
  color: #061f3b;
  transition: all 0.3s ease 0s;
}

.comments__inputs {
  width: 100%;
  flex: 1 1 auto;
  margin: 10px 0px 0px 0px;
}

.comments__inputs textarea {
  width: 100%;
  background: #d2d2d5;
  border-radius: 11px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  color: #061f3b;
  padding: 10px;
  min-height: 39px;
  text-align: left;
  resize: none;
  max-height: 170px;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.comments__inputs textarea::-webkit-scrollbar {
  display: none;
}

.comments__inputs textarea::-moz-placeholder {
  color: #4b627c;
}

.comments__inputs textarea::placeholder {
  color: #4b627c;
}

.comments__send {
  width: 44px;
  height: 44px;
  margin: 0px 0px 0px 20px;
  transition: opacity 0.3s ease 0s;
}

.comments__send img {
  width: 44px;
  height: 44px;
}

.comments__send:hover {
  opacity: 0.8;
}

.comments__item {
  margin: 8px 0px 0px 0px;
}

.comments__time {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  color: #939eaa;
  margin: 0px 0px 2px 0px;
}

.comments__center {
  display: flex;
  align-items: center;
}

.comments__like {
  display: flex;
  align-items: center;
  margin: 0px 5px 0px 0px;
  position: relative;
  transition: opacity 0.3s ease 0s;
}

.comments__like img {
  cursor: pointer;
  width: 38px;
  height: 31px;
}

.comments__like .like-active {
  position: absolute;
  top: -1.5px;
  left: 1px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease 0s;
}

.comments__like.active .like {
  opacity: 0;
  pointer-events: none;
}

.comments__like.active .like-active {
  opacity: 1;
  pointer-events: auto;
}

.comments__like span {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  color: #061f3b;
  display: block;
  margin: 0px 0px 0px 5px;
}

.comments__like:hover {
  opacity: 0.8;
}

.comments__nolike {
  display: flex;
  align-items: center;
  margin: 0px 20px 0px 0px;
  position: relative;
  transition: opacity 0.3s ease 0s;
}

.comments__nolike img {
  cursor: pointer;
  width: 38px;
  height: 29px;
}

.comments__nolike .nolike-active {
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease 0s;
}

.comments__nolike.active .nolike {
  opacity: 0;
  pointer-events: none;
}

.comments__nolike.active .nolike-active {
  opacity: 1;
  pointer-events: auto;
}

.comments__nolike span {
  display: block;
  margin: 0px 0px 0px 5px;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  color: #061f3b;
}

.comments__nolike:hover {
  opacity: 0.8;
}

.comments__items._active .comments__button {
  background-color: #c0c3d0;
}

.comments__items._active .comments__button img {
  transform: rotate(-180deg);
}

.comments__items._active .comments__subitem {
  max-height: 2000px;
  transition: max-height 1.5s ease-in;
}

.comments__reply {
  position: relative;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  color: #061f3b;
  transition: opacity 0.3s ease 0s;
}

.comments__reply img {
  position: absolute;
  top: 45%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 133px;
  height: 65px;
  max-width: 133px;
}

.comments__reply:hover {
  opacity: 0.8;
}

.comments__button {
  display: flex;
  align-items: center;
  background: rgba(210, 210, 213, 0.8);
  border-radius: 21px;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  color: #061f3b;
  padding: 5px 10px;
  margin: 15px 0px 0px 0px;
  transition: background-color 0.3s ease 0s;
}

.comments__button img {
  transition: transform 0.3s ease 0s;
  margin: 0px 5px 0px 0px;
}

.comments__button:hover {
  background-color: #c0c3d0;
}

.comments__line {
  height: 20px;
  width: calc(100% - 105px);
  margin: 5px 40px 5px 75px;
}

.comments__subitem {
  display: flex;
  padding: 10px 0px 0px 0px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.5s ease-out;
}

.comments__subitems {
  margin: 8px 0px 0px 0px;
}

@media (max-width: 767.98px) {
  .comments__column {
    margin: 0px 0px 0px 0px;
  }
  .comments__column.main-comments {
    padding: 10px;
  }
  .comments__file {
    margin: 5px 5px 0px 5px;
    width: 20px;
    height: 32px;
  }
  .comments__file input {
    width: 20px;
    height: 32px;
  }
  .comments__file img {
    width: 20px;
    height: 32px;
  }
  .comments__inputs textarea {
    padding: 5px;
    font-size: 13px;
    min-height: 28px;
  }
  .comments__send img {
    width: 34px;
    height: 34px;
  }
  .comments__send {
    margin: 0px 0px 0px 5px;
  }
  .comments__line {
    width: calc(100% - 75px);
  }
}
.reply-box {
  display: none;
}

div.form_row span.label {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 28px;
  font-size: 11px;
  padding-left: 15px;
  color: var(--color-text-gray-5);
  cursor: text;
  transition: 0.5s;
}

span[data-file-upload] {
  display: block;
  padding: 25px 10px 10px 10px;
}
span[data-file-upload] input[type=file] {
  display: none;
}
span[data-file-upload] .data-file-upload-btn i {
  margin-right: 5px;
}
span[data-file-upload] .data-file-upload-result {
  display: block;
}
span[data-file-upload] .data-file-upload-result img {
  margin-top: 10px;
  max-width: 100%;
  max-height: 400px;
  vertical-align: top;
}
span[data-file-upload] .data-file-upload-item {
  display: inline-block;
  position: relative;
  margin-top: 15px;
  margin-right: 15px;
}
span[data-file-upload] .data-file-upload-item .data-file-upload-delete {
  vertical-align: top;
  font-size: 12px;
  color: #666;
  opacity: 0;
  position: absolute;
  top: 5px;
  right: -8px;
}
span[data-file-upload] .data-file-upload-item .data-file-upload-delete:hover {
  opacity: 1;
}

.btn-default {
  border-color: black !important;
}

.btn {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 4px;
}
