* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-family: "Onest", sans-serif;
  /*--second-family: "Rubik";*/
  --dark-900: #28303f;
  --dark-700: #141a24;
  --background: #e7eaef;
  --white-900: #fbfbfb;
  --gray-200: #ecf1f7;
  --gray-400: #ebebeb;
  --gray-600: #dadee5;
  --gray-800: #78869f;
  --gray-900: #adadad;
  --green-900: #4ace67;
  --orange-900: #f59337;
  --red-900: #ff4242;
  --red-600: #de3d3d;
  --yellow-900: #ffc56d;
  --blue-900: #2051ff;
}


body {
  font-family: var(--font-family);
  background: #111111;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  cursor: pointer;
  color: #000;
  text-decoration: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Added */
  padding: 12px;
  border-radius: 10px;
  border: 2px solid #28303f;
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family);
  color: var(--dark-900);
}

button {
  cursor: pointer;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
}

header>.container {
  max-width: 100%;
}

footer {
    position: relative;
    z-index: 0;
}

/*  */
.d-none {
	display:none;
}
.t-show-flex {
    display: none!important;
}
 
.m-show-flex, .m-show {
    display: none!important;
}
.m-none {
    display: block!important;
}
.m-0 {
  margin: 0 !important;
}

.p-0 {
  padding: 0 !important;
}

.p-s-20 {
  padding: 0 20px !important;
}


.transparent {
  background: transparent !important;
}

.bb-editor {
  margin: 10px auto;
}

.mass_comments_action {
  margin-top: 10px;
}

.search-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000007e;
  z-index: 8;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(4px);
  transition: 0.3s linear;
}

.search-wrapper-open {
  opacity: 1;
  visibility: visible;
}

.search-content {
  background: #ffff;
  border-top: 2px solid var(--dark-900);
  width: 100%;
  height: 241px;
  display: flex;
  align-items: center;
  transform: translateY(-400px);
  transition: 0.3s linear;
}

.search-content-open {
  transform: translateY(68px);
  transition: 0.3s linear;
}

.content-search {
  max-width: 985px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.search-form {
  border-radius: 12px;
  background: var(--dark-900);
  padding: 3px;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-form-input {
  max-width: 890px;
  width: 100%;
  position: relative;
}

.search-form-input svg {
  position: absolute;
  top: 18px;
  left: 18px;
}

.search-form-input input {
  padding: 18px 18px 18px 51px;
  width: 100%;
  border-radius: 8px;
  border: none;
  outline: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.search-form-input input::placeholder {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.search-form button {
  background: initial;
  border: none;
  padding: 13px 19px 13px 22px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.serach-filters-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 18px;
}

.serach-filters-wrapper p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.serach-filters {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  list-style: none;
}

.serach-filters li {
  padding: 11px 18px;
  border-radius: 8px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  background: var(--background);
  cursor: pointer;
  transition: 0.3s linear;
}

.serach-filters li:hover {
  background: var(--gray-800);
  transition: 0.3s linear;
  color: #fff;
}

.serach-filters li.active-tab-search {
  background: var(--dark-900);
  color: #fff;
  transition: 0.3s linear;
}

.auth-btn {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  background: var(--red-900);
  text-decoration: none;
  border-radius: 8px;
  padding: 16px 0;
  display: flex;
  justify-content: center;
  border: none;
  margin-top: auto;
  transition: 0.3s linear;
  border: 1px solid #ffffff00;
}

.auth-btn:hover {
  transition: 0.3s linear;
  background: var(--red-600);
  border: 1px solid var(--gray-600);
}

.send-done-password {
  width: 100%;
}

/*  */

/* Форма регистрации и логина */

.login-registration-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000007e;
  z-index: 10;
  backdrop-filter: blur(4px);
  transition: 0.3s linear;
  display: flex;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  overflow-y: scroll;
  visibility: hidden;
}

.open-login {
  opacity: 1;
  visibility: visible;
}

.login-registration {
  width: 730px;
  height: 100%;
  height: fit-content;
  border-radius: 16px;
  overflow: hidden;
  background: #28303f;
  display: flex;
  align-items: flex-start;
}

.login-registration-img {
  background: #28303f;
  width: 290px;
  min-height: 570px;
  height: 100%;
  overflow: hidden;
  background-image: url(/templates/cpamafiatop/images/login.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.login-registration-panel {
  max-width: 440px;
  width: 100%;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  background: #fff;
}

.login-registration-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 26px 32px 18px 32px;
  background: #e7eaef;
}

.switch-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.switch-btns {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
}

.switch-btns li {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  position: relative;
  cursor: pointer;
}

.switch-btns li.active-switch {
  color: var(--dark-900);
}

.switch-btns li.active-switch:after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--red-900);
  z-index: 2;
}

.close-login-panel {
  background: initial;
  border: none;
  position: absolute;
  top: 18px;
  right: 18px;
}

.login-registration-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  width: 100%;
  /* max-height: 448px;
    height: 100%;
    overflow-y: scroll; */
}

.login-registration-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.login-registration-socials-title {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.login-registration-socials-title p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  text-align: center;
  color: var(--gray-800);
}

.login-registration-socials-title span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-200);
}

.login-registration-socials-links {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-registration-socials-links a img {
  width: 40px;
  height: 40px;
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 18px;
  margin-top: 24px;
}

.login-form div {
  width: 100%;
  position: relative;
}

.login-form div input {
  padding: 27px 15px 9px 15px; 
  background: var(--gray-200);
  width: 100%;
  border-radius: 7px;
  outline: none;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-900);
  transition: 0.3s linear;
  border: 2px solid #ffffff00;
}

.login-form div input:hover {
  transition: 0.3s linear;
  background: var(--gray-600);
}

.login-form div input:focus {
  background: #fff;
  border: 2px solid var(--dark-900);
}

.login-form div textarea {
  padding: 27px 15px 9px 15px;
  border: 2px solid #ffffff00;
  background: var(--gray-200);
  width: 100%;
  height: 150px;
  border-radius: 7px;
  outline: none;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-900);
  resize: none;
  transition: 0.3s linear;
}

.login-form div textarea:hover {
  transition: 0.3s linear;
  background: var(--gray-600);
}

.login-form div textarea:focus {
  background: #fff;
  border: 2px solid var(--dark-900);
}

.login-form div label {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 11px;
  line-height: 1;
  color: var(--gray-800);
  position: absolute;
  top: 8px;
  left: 15px;
  z-index: 2;
  display: flex;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
}

.login-form div label img {
  width: 30%;
}

.login-form div svg {
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
}

.password-btn {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--red-900);
  cursor: pointer;
}

.login-form button {
  width: 100%;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--red-900);
  border-radius: 8px;
  border: 1px solid #f3f4f700;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  transition: 0.3s linear;
}

.login-form button:hover {
  transition: 0.3s linear;
  background: var(--red-600);
  border: 1px solid var(--gray-600);
}
/* Added */
.login-registration-content > .success-registration {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 50px;
}
 
.success-registration p {
    font-size: 16px;
    font-family: var(--font-family);
    font-weight: 400;
    padding: 10px 20px
}

.success-registration > .login-form-done {
    display: block; 
    width: 150px;
    height: 100px;
    margin: 0 auto;
    background-image: url('/templates/cpamafiatop/images/send.png'); 
    background-repeat: no-repeat;
    background-size: contain;
}
 
/* Added */
 
.repeat-send-btn {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--gray-800);
  margin-top: 14px;
  width: 100%;
}

.policy-btn {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-900);
}

.policy-btn a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--red-900);
}

.resend-password-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 32px;
  width: 100%;
  gap:15px;
}
.resend-password-wrapper .send-password-wrapper {
  margin: 0 auto;
}
.resend-password-wrapper .success-registration {
  margin: 30px auto;
}

.hidden {
  display: none !important;
}

.back-login-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px 9px 9px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  background: var(--gray-200);
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s linear;
}

.back-login-btn:hover {
  transition: 0.3s linear;
  color: var(--dark-900);
}

.back-login-btn:hover svg path {
  stroke: var(--dark-900);
  transition: 0.3s linear;
}

.resend-password-wrapper p {
  margin: 18px 0 32px 0;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-900);
  max-width: 320px;
}

.resend-password-wrapper p a {
  color: var(--red-900);
  cursor: pointer;
}

.send-done-password {
  position: relative;
}

.send-img {
  position: absolute;
  top: -25px;
  right: 90px;
  max-width: 163px;
  width: 100%;
}

.send-done-password p {
  margin-top: 99px;
}

.resend-password-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.resend-password-form div {
  position: relative;
  width: 100%;
}

.resend-password-form div input {
  width: 100%;
  padding: 27px 15px 9px 15px;
  border-radius: 7px;
  background: var(--gray-200);
  outline: none;
  border: none;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-900);
  transition: 0.3s linear;
  border: 2px solid #ff424200;
}

.resend-password-form div input:hover {
  transition: 0.3s linear;
  background: var(--gray-600);
}

.resend-password-form div input:focus {
  background: #fff;
  border: 2px solid var(--dark-900);
}

.resend-password-form div label {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 11px;
  line-height: 1;
  color: var(--gray-800);
  position: absolute;
  top: 13px;
  left: 15px;
  z-index: 2;
}

.resend-password-form button {
  border: none;
  border-radius: 8px;
  padding: 16px 0;
  background: var(--red-900);
  width: 100%;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  border: 1px solid #11111100;
  transition: 0.3s linear;
}

.resend-password-form button:hover {
  transition: 0.3s linear;
  border: 1px solid var(--gray-600);
  background: var(--red-600);
}

/*  */
.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 20px;
  border-right: 2px solid#e7eaef;
}

.logo-link {
  background: var(--red-900);
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
  margin-left: 24px;
  position: relative;
}

.header-menu li a {
  text-decoration: none;
  font-family: Rubik;
  color: #28303f;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  position: relative;
  transition: 0.3s linear;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-menu li a:hover {
  transition: 0.3s linear;
  color: var(--red-900);
}

.header-menu li a:hover svg path {
  transition: 0.3s linear;
  fill: var(--red-900);
}

.header-menu li .sub-menu:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translate(0, -50%);
  width: 6px;
  height: 4px;
  background-image: url(/templates/cpamafiatop/images/arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.category-wrapper-panel button img {
  width: 16px;
  height: 16px;
}

.sub-menu {
  position: relative;
}

.sub-menu-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  /* 95 */
  position: absolute;
  padding: 26px 24px;
  /*top: 16px;*/
  top: 30px;
  left: 0;
  /*width: 566px;*/
  width: auto;
  max-width: 566px;
  max-height: 550px;
  /* Added */
  overflow-x: auto;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.02), 0 5px 4px 0 rgba(0, 0, 0, 0.03),
    0 10px 8px 0 rgba(0, 0, 0, 0.03), 0 16px 13px 0 rgba(0, 0, 0, 0.04),
    0 26px 21px 0 rgba(0, 0, 0, 0.04), 0 46px 37px 0 rgba(0, 0, 0, 0.05),
    0 100px 80px 0 rgba(0, 0, 0, 0.07);
  background: #fff;
  opacity: 0;
  visibility: hidden;
}

.sub-menu:hover>.sub-menu-wrapper {
  display: flex;
  transition: 0.3s linear;
  opacity: 1;
  visibility: visible;
}

.sub-menu-wrapper:hover {
  display: flex;
  transition: 0.3s linear;
}

.sub-menu-wrapper ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  /* 24 */
  /* Added */
  min-width: 90px;
  list-style: none;
}

.sub-menu-wrapper ul li a {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  padding: 0 !important;
}
.header-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: -0.02em;
    text-align: center;
    color: #fbfbfb;
    font-family: Onest;
    margin-left: 26px;
    width: auto;
    /* width: 100%; */
    min-width: 145px;
    height: 29px;
    border-radius: 5px;
    transform: skew(-18deg);
    /* padding: 3px; */
   /* filter: drop-shadow(0px 2px 3px #ff4242); */
    filter: drop-shadow(0px 5px 8px #ff9898);
    transition: 0.3s linear;
    background: #ff4242;
}
.header-badge > span {
    transform: skew(18deg);
}
/*
.header-badge {
  width: 106px;
  height: 28px;
  background-image: url(/templates/cpamafiatop/images/trap.svg);
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;  
  font-size: 13px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fbfbfb;
  font-family: Onest;
  margin-left: 26px;
  transition: 0.3s linear;
  user-select: none;
  position: relative;
  filter: drop-shadow(0px 2px 3px #ff4242);
}
*/
/* 
  .header-badge:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 30px;
    background: var(--red-900);
    box-shadow: 0 0 8px -2px var(--red-900);
  } */

.header-badge:hover {
  /*background-image: url(/templates/cpamafiatop/images/trap-h.svg);*/
  background: #000;
  transition: 0.3s linear;
  cursor:pointer;
}

.header-controls {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.search-btn {
  padding: 0 20px;
  border: none;
  border-left: 2px solid #e7eaef;
  border-right: 2px solid #e7eaef;
  background: initial;
  height: 68px;
  transition: 0.3s linear;
}

.login-btn,
.logged-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px;
  background: initial;
  border: none;
  height: 68px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  font-family: var(--second-family);
  transition: 0.3s linear;
}

.search-btn:hover {
  transition: 0.3s linear;
  background: #28303f;
}

.search-btn:hover svg path {
  stroke: #ffffff;
  transition: 0.3s linear;
}

.login-btn:hover {
  transition: 0.3s linear;
  background: #28303f;
  color: #ffffff;
}

.login-btn:hover svg path {
  stroke: #ffffff;
  fill: #ffffff;
}

/* Added */
.blacks {
  background: #28303f !important;
}

.btn-post-lists {
  cursor: pointer;
  position: relative;
}

.check-posts-list {
  position: absolute;
  top: 38px;
  left: 0;
  overflow: hidden;
  z-index: 1;
  background: #fff;
  width: 290px;
  height: 294px;
  border-radius: 12px;
  padding: 16px 6px 16px 16px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.02), 0 5px 4px 0 rgba(0, 0, 0, 0.03),
    0 10px 8px 0 rgba(0, 0, 0, 0.03), 0 16px 13px 0 rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.check-posts-list-open {
  opacity: 1;
  z-index: 2;
  visibility: visible;
  transition: 0.3s ease;
}

.check-posts-list:after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fff;
  filter: blur(6px);
}

.check-posts-list .dropdown-trafic {
  overflow-y: auto;
  width: 100%;
  /*Added*/
  height: 294px;
}

.check-posts-list .dropdown-trafic::-webkit-scrollbar {
  width: 3px;
  height: 100%;
  background-color: #e7eaef;
}

.check-posts-list .dropdown-trafic::-webkit-scrollbar-thumb {
  background-color: #28303f;
  border-radius: 12px;
}

.user-btn-login {
  display: flex;
  align-items: center;
  border: none;
  background: initial;
  padding: 0 18px;
}

.user-btn-login img {
  /* Added */
  border-radius: 20px;
  width: 40px;
  height: 40px;
}

.user-btn-login p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin: 0 4px 0 10px;
}

.header-controls:has(.user-btn-login) .login-btn {
  display: none;
}

.user-list-options {
  position: absolute;
  top: 70px;
  right: 2px;
  width: 230px;
  height: fit-content;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.02), 0 5px 4px 0 rgba(0, 0, 0, 0.03),
    0 10px 8px 0 rgba(0, 0, 0, 0.03), 0 16px 13px 0 rgba(0, 0, 0, 0.04),
    0 26px 21px 0 rgba(0, 0, 0, 0.04), 0 46px 37px 0 rgba(0, 0, 0, 0.05),
    0 100px 80px 0 rgba(0, 0, 0, 0.07);
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.user-list-options.open-panel {
  opacity: 1;
  visibility: visible;
  transition: 0.3s ease;
}

.user-list-options ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  width: 100%;
  padding: 4px;
}

.user-list-options ul li {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px 12px 12px;
  border-radius: 8px;
  transition: 0.3s linear;
  cursor: pointer;
  height: 49px;
  position: relative;
  z-index: 1;
}

.user-list-options ul li:hover {
  background: rgba(231, 234, 239, 0.55);
  transition: 0.3s linear;
}

.user-list-options ul li span:first-child {
  width: 90%;
  position: relative;
  padding: 20px 0px 20px 0px;
}

.red {
  stroke: #ff4242;
}

.user-list-options ul li:hover>svg path {
  stroke: #28303f;
}

.set-li {
  margin: 8px 0;
}

.set-li:after {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gray-800);
  opacity: 0.2;
}

.set-li:before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gray-800);
  opacity: 0.2;
}

/* Added */
.user-list-options ul li svg {
  vertical-align: middle;
}

.user-list-options ul li p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin-left: 12px;
  display: inline-block;
}

.user-list-options ul li:first-child p {
  display: inline-block;
  margin-left: 8px;
}

.user-list-options ul li span.plus-btn {
  padding: 0 !important;
  margin: 0px 0px 0px auto;
  /*margin-left: auto;*/
  width: 24px;
  height: 24px;
  box-shadow: 0 0 10px 0 rgba(40, 48, 63, 0.65);
  background: var(--dark-900);
  border-radius: 8px;
  z-index: 3;
}

.user-list-options ul li span.count-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 32px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white-900);
  box-shadow: 0 0 10px 0 rgba(255, 66, 66, 0.65);
  background: var(--red-900);
}

/* Added */

main {
  padding-top: 295px; /*210*/
  padding-bottom: 10px;  /*126*/
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  /* background-image: url(/templates/cpamafiatop/images/bg.png);
    background-repeat: repeat-y;
    background-position: center top; */
  height: 100%;
  background-size: 100%;
  z-index: -1;
}

.state-wrapper {
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: fit-content;
}

.main-baner-wrapper {
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: fit-content;
}

.state-baners {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.state-baner {
  flex: 1 0 304px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border-radius: 12px;
  height: 80px;
  background: #141a24;
  padding: 18px 24px 16px 24px;
  overflow: hidden;
  position: relative;
  transition: 0.3s linear;
  user-select: none;
  /* Added */
  cursor: pointer;
}

.state-baner:hover img {
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
}

.state-baner:hover {
  background: #262e3f;
  transition: 0.3s linear;
}

.state-baner:nth-child(1) {
  background-image: url(/templates/cpamafiatop/images/baner1.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.state-baner:nth-child(2) {
  background-image: url(/templates/cpamafiatop/images/baner2.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.state-baner:nth-child(3) {
  background-image: url(/templates/cpamafiatop/images/baner3.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.state-baner:nth-child(4) {
  background-image: url(/templates/cpamafiatop/images/baner4.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.state-baner img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transition: 0.3s linear;
}

.state-baner p:first-child {
  font-weight: 800;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-family: var(--font-family);
  color: #fbfbfb;
  position: relative;
  z-index: 1;
}

.state-baner p:last-child {
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-family: var(--font-family);
  position: relative;
  z-index: 1;
}

.state-baner:nth-child(1) p:last-child {
  color: #ff4242;
}

.state-baner:nth-child(2) p:last-child {
  color: #226dff;
}

.state-baner:nth-child(3) p:last-child {
  color: #4ace67;
}

.state-baner:nth-child(4) p:last-child {
  color: #8976ff;
}

.state-main-baner {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 95px;
  background-image: url(/templates/cpamafiatop/images/banner.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.state-baners-wrapper {
  background-color: #fff;
  padding: 16px 16px 0 16px;
  border-radius: 12px 12px 0 0;
}

.baners-wrapper-items {
  background-color: #fff;
  padding: 16px 16px 0 16px;
  border-radius: 12px 12px 0 0;
}

.state-content {
  padding: 0 16px 0 34px;
  background: #fff;
}

.state-bread-crumbs {
  padding-top: 25px;
}
.mob-bread-crumbs {
    display:none;
    padding: 5px 0px 5px !important;
    background-color: #fff;
    border-radius: 0px 0px 12px 12px;
}
/* CPA */
.state-bread-crumbs.cpa-bread-crumbs {
  padding: 5px 35px 20px !important;
  background-color: #fff;
  border-radius: 0px 0px 12px 12px;
}

.state-bread-crumbs ul {
  display: flex;
  align-items: center;
  list-style: none;
}

.state-bread-crumbs ul li {
  display: flex;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: -0.02em;
  font-family: var(--second-family);
  color: #141a24;
}

.state-bread-crumbs ul li a {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: -0.02em;
  font-family: var(--second-family);
  color: #78869f;
  text-decoration: none;
}

.state-data {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

.state-data p {
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  font-family: var(--font-family);
  color: #78869f;
}

.state-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  font-family: var(--font-family);
  color: #141a24;
}

.state-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  font-family: var(--font-family);
  color: #141a24;
  padding: 0 10px; /* 18px;*/
  border-left: 1px solid #e7eaef;
  border-right: 1px solid #e7eaef;
}

.state-mode img {
  width: 24px;
  height: 24px;
}

.state-title {
  max-width: 930px;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 28px;
  /* 24 */
  line-height: 130%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--dark-900);
  margin: 21px 0 18px 0;
}

.state-elements {
  gap: 30px;
  /* Added */
  display: flex;
  align-items: flex-start;
  width: 100%;
  justify-content: space-between;
}

.state-content-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*max-width: 750px;*/
  width: 100%;
}

.state-nav-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.state-comments-share {
  display: flex;
  align-items: center;
  gap: 24px;
}

.state-comments-share div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.state-comments-share div.active-comments-share p {
  color: #000;
  cursor: pointer;
}

.state-comments-share div.active-comments-share svg path {
  stroke: #000;
}

.state-comments-share div p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.state-views {
  display: flex;
  align-items: center;
  gap: 6px;
}

.state-views p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.state-views {
  height: 19px;
}

.state-views-content {
  display: flex;
  align-items: center;
  gap: 32px;
}

.state-views-count {
  display: flex;
  align-items: center;
  gap: 6px;
}

.comments-data .state-views-count p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--green-900);
}

.state-views-count button {
  border: none;
  background: initial;
}

.state-views-count button svg path {
  fill: var(--gray-900);
}

.state-views-count p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--green-900);
}

.state-text {
  margin: 30px auto;
  /* margin-top: 30px; 32*/
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  font-size: 16px;
  line-height: 170%;
  /* width: 750px;*/
}
.state-text a {
	color: var(--blue-900);
}
.state-text img {
  display: block;
  position: relative;
  /*width: auto;
  max-width: 750px;*/
  margin: 15px auto;
}

.state-text>p {
  /* Added */
  width: 100%;
  margin-bottom: 24px;
  /* Added */
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  /*line-height: 200%; 170%*/
  line-height: 170%;
  color: var(--dark-700);
}

.state-text>p img {
  width: auto;
  position: relative;
  /*max-width: 750px;*/
  max-width: 100%;
  margin: 15px auto;
  /*margin: 15px 50% !important;*/
}

.state-img {
  width: 100%;
  height: auto;
  /*height: 315px;*/
  overflow: hidden;
  /*margin: 42px 0 37px 0; */
  margin-top: 30px;
}

.state-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /*cover*/
}

.state-img-subscribe {
  width: 100%;
  height: 103px;
  position: relative;
  padding: 18px 32px 15px 32px;
  margin: 10px auto;
  overflow: hidden;
  background: #28303f;
  background-image: url(/templates/cpamafiatop/images/img-ser.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.state-img-subscribe p {
  margin-bottom: 6px;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.state-img-subscribe button {
  border: 1px solid #2db9ff;
  border-radius: 8px;
  padding: 12px 28px;
  background: #2db9ff;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.state-subtitle {
  margin-top: 32px;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  padding-left: 12px;
  border-left: 2px solid var(--red-900);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blue-text {
  color: var(--blue-900);
}

.highlighted-text {
  background: rgba(255, 66, 66, 0.2);
  padding: 4px 0;
}

.subscribe-text,
.quote_block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 80px 24px 34px;
  background: #f3f4f7;
  border-radius: 8px;
  margin: 24px 0 32px 0;
  background-image: url(/templates/cpamafiatop/images/quotes.png);
  background-position: calc(100% - 15px) 24px;
  background-repeat: no-repeat;
  border-left: 4px solid #ff4242;
}

.subscribe-text p:first-child,
.quote_block div.quote_body {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 200%;
  color: var(--dark-700);
}

.subscribe-text p:last-child,
.quote_block b {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.quote_block {
  width: 100%;
}

.state-img-slider {
  width: 100%;
}

.state-img-slider-wrapper {
  width: 100%;
  position: relative;
}

.state-img-prev-btn {
  position: absolute;
  top: 50%;
  left: -18px;
  transform: translate(0, -50%);
  z-index: 2;
}

.state-img-next-btn {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translate(0, -50%);
  z-index: 2;
}

.slider-btn {
  border: none;
  width: 36px;
  height: 36px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 -1px 4px 0 rgba(0, 0, 0, 0.02),
    0 -2px 10px 0 rgba(0, 0, 0, 0.04), 0 -4px 24px 0 rgba(0, 0, 0, 0.05),
    0 -13px 80px 0 rgba(0, 0, 0, 0.07);
  background: var(--white-900);
  transition: 0.3s linear;
}

.slider-btn:hover {
  background: var(--red-900);
  transition: 0.3s linear;
}

.slider-btn:hover svg path {
  stroke: #fff;
}

/* .state-img-slide {
    height: 300px;
    max-width: 232px;
    width: 100%;
    overflow: hidden;
  }
  
  .state-img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  } */

.state-img-slider-pogination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.state-img-slider-pogination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: var(--gray-800);
  margin: 0 !important;
}

.state-img-slider-pogination .swiper-pagination-bullet-active {
  background: var(--dark-900);
}

.state-btns-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
  margin: 48px 0 24px 0;
}

.state-btns-wrapper a {
  background: var(--red-900);
  border-radius: 8px;
  text-decoration: none;
  flex: 1 0 369px;
  padding: 16px 0;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  transition: 0.3s linear;
}

.state-btns-wrapper a:hover {
  transition: 0.3s linear;
  background: #28303f !important;
}

.state-btns-wrapper a:first-child {
  flex-basis: 100%;
}

.state-line {
  width: 100%;
  height: 1px;
  background: var(--background);
  position: relative;
}

.state-status-img {
  margin: 16px 0 48px 0;
  width: 100%;
  height: 530px;
  overflow: hidden;
}

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

.state-list-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  gap: 12px;
  margin: 24px 0 32px 0;
}

.state-list-text li {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 200%;
  color: var(--dark-700);
  padding-left: 18px;
  position: relative;
}

.state-list-text li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  width: 6px;
  height: 6px;
  background: var(--red-900);
}

.negative-p {
  margin: -12px 0 32px 0;
}

.state-social-links {
  border-radius: 6px;
  box-shadow: 0 -1px 4px 0 rgba(0, 0, 0, 0.02),
    0 -2px 10px 0 rgba(0, 0, 0, 0.04), 0 -4px 24px 0 rgba(0, 0, 0, 0.05),
    0 -13px 80px 0 rgba(0, 0, 0, 0.07);
  background: var(--white-900);
  position: absolute;
  top: -38px;
  left: 0;
  padding: 12px;
  /*display: flex;*/
  display: none;
  align-items: center;
  gap: 18px;
}

.state-social-links a {
  width: 32px;
  height: 32px;
}

.state-social-links a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.under-nav-data {
  margin: 32px 0;
}

.state-author-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 20px;
}

.state-author-data p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-700);
}

.state-author-name-btns {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.state-author-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.state-author-btns a:first-child {
  background: var(--background);
  border-radius: 8px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  text-decoration: none;
  padding: 15px 24px;
  transition: 0.3s linear;
}

.state-author-btns a:first-child:hover {
  background: #28303f;
  transition: 0.3s linear;
  color: #fff;
}

.state-author-btns a:last-child {
  border-radius: 8px;
  background: var(--red-900);
  padding: 15px 20px;
  text-decoration: none;
  padding: 15px 24px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  transition: 0.3s linear;
}

.state-author-btns a:last-child:hover {
  background: #28303f;
  transition: 0.3s linear;
}

.state-author-name {
  display: flex;
  align-items: center;
  gap: 16px;
}

.state-author-name img {
  width: 48px;
  height: 48px;
}

.state-author-name div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.state-author-name div p:first-child {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.state-author-name div p:last-child {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.comments-wrapper {
  background: #fff;
  width: 100%;
  padding: 32px 0;
  border-top: 1px solid var(--gray-400);
  border-radius: 0 0 12px 12px;
  /* Added */
  /*border-bottom: 1px solid var(--gray-400);*/
}

.comments-content {
  /*max-width: 750px;*/
  width: 100%;
  /* margin-left: 34px;*/
}

.just-comments.comments-content {
  max-width: 902px;
  /* 750 */
  width: 100%;
  margin-left: 34px;
}

.comments-count {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.comments-add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
  margin-top: 32px;
}

.send-comment-btn {
  padding: 20px 40px;
  border: none;
  background: var(--red-900);
  border-radius: 8px;
  display: flex;
}

.input-add-comment {
  width: 100%;
  position: relative;
}

.input-add-comment input {
  background: var(--background);
  width: 100%;
  padding: 19px 18px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.input-add-comment input::placeholder {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.input-add-comment img {
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translate(0, -50%);
  width: 22px;
  height: 22px;
}

.comments-items {
  display: flex;
  flex-direction: column;
  /*align-items: flex-end;*/
  align-items: stretch;
  width: 100%;
  gap: 10px;
  margin-top: 24px;
}

.comments-item {
  border-radius: 12px;
  background: var(--background);
  width: 100%;
  padding: 24px 18px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.comments-item p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-700);
}

.comments-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comments-author img {
  width: 32px;
  height: 32px;
}

.comments-author div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.comments-author div p:first-child {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.comments-author div p:last-child {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--gray-800);
}

.comments-data {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.comments-item button {
  background: initial;
  border: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  transition: 0.3s linear;
}

.comments-item button:hover {
  color: var(--red-900);
  transition: 0.3s linear;
}

.comments-item button:hover svg path {
  stroke: var(--red-900);
  transition: 0.3s linear;
}

.answer-item {
  max-width: 696px;
  position: relative;
}

.answer-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 1px;
  height: 100%;
  background: var(--background);
}

.negative-like {
  color: var(--red-900) !important;
}

.publications-wrapper {
  background: #ffffff;
  padding-top: 24px;
  padding-bottom: 32px;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}

.publications-wrapper>button {
  width: 100%;
  height: 40px;
}

.publications-title-nav {
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.publications-title-nav p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.publications-nav {
  display: flex;
  align-items: center;
  background: #e7eaef;
  padding: 6px;
  border-radius: 128px;
  gap: 6px;
}

.publications-slider {
  margin: 32px 0 32px 32px !important;
  overflow: visible;
  width: 450px;
}

.publications-pogination {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: fit-content !important;
}

.publications-pogination .swiper-pagination-bullet {
  background: var(--dark-900);
  width: 4px;
  height: 4px;
  margin: 0;
}

.publications-slide,
.menu-state-preview .publications-slide {
  width: 100%;
 /* min-width: 450px;
  max-width: 450px;*/
  height: 215px; /* 230 px */
  max-height: 215px; /* 230 px */
  border-radius: 12px;
  aspect-ratio: 16/9;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  transition: 0.3s linear;
}
.publications-slide img,
.menu-state-preview .publications-slide img {
	width: 100%;
    height: 100%;
    max-height: 215px; /* 230 px */
    position: absolute;
    padding: 0 !important;
    margin: 0;
    display: block;
    object-fit: cover;
}

/*
.publications-slide,
.menu-state-preview .publications-slide {
  width: 450px;
  height: 230px;
  background-size: 100%;
  background-position: bottom right;
  background-repeat: no-repeat;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  transition: 0.3s linear;
}

.publications-slide img,
.menu-state-preview .publications-slide img {
  min-width: 450px;
  min-height: 230px;
  max-width: 450px;
  max-height: 230px;
  position: absolute;
  padding: 0 !important;
  margin: 0;
  display: block;
}*/

/*ADDED*/
.menu-state-preview .publications-slide {
  width: 333px;
  height: 175px;
}

.menu-state-preview .publications-slide img {
  min-width: 333px;
  min-height: 175px;
  max-width: 333px;
  max-height: 175px;
  position: absolute;
  padding: 0 !important;
  margin: 0;
  display: block;
}

/*ADDED*/
.state-text ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  gap: 12px;
  margin: 24px 0 32px 0;
}

.state-text ol, .single-service-desc ol {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0px 20px 0px 20px;
}

.state-text ul li, .state-text ol li, .single-service-desc ol li {
  font-family: var(--second-family);
  /* font-weight: 500;
        font-size: 17px;
        line-height: 200%;
        color: var(--dark-700);*/
  padding-left: 18px;
  position: relative;
}
.state-text ol li, .single-service-desc ol li {
    padding-left: 5px;
}
.state-text ul li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  width: 6px;
  height: 6px;
  background: var(--red-900);
}

.promocode {
  display: block;
  width: 275px;
  height: 70px;
  background-image: url('/templates/cpamafiatop/images/promobg.png');
  background-size: contain;
  background-repeat: no-repeat;
  color: #fff;
}

.promocode>p {
  position: relative !important;
  padding: 10px 0px 0px 60px !important;
  font-weight: bold !important;
  color: #ff4242 !important;
  font-size: 14px !important;
}

.promocode div {
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding: 0px 0px 0px 60px;
}

.promocode svg {
  opacity: 0;
  fill: #fff;
  transform: rotate(120deg);
}

.promocode:hover {
  cursor: pointer;
}

.promocode:hover svg {
  opacity: 1;
}

.states-items a {
  text-decoration: none;
  flex: 1; /*Added*/
}

.publications-slide:hover {
  background-size: 106%;
  background-position: bottom right;
  transition: 0.3s linear;
}

.publications-slide>p {
  font-family: var(--font-family);
  font-weight: 700;
  /* 800 */
  font-size: 18px;
  /* 16 */
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
  position: relative;
  z-index: 2;
  /*max-width: 280px;*/
  /*Added*/
  padding: 18px;
  transition: 0.3s linear;
}

.publications-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.9) 100%);
}

.publications-badge {
  content: "";
  position: absolute;
  top: -1px;
  left: -4px;
  background: #ff4242;
  z-index: 1;
  width: auto;
  /* width: 100%; */
  height: 29px;
  border-radius: 10px;
  transform: skew(-18deg);
  padding: 5px 10px 0 10px;
}

/*.publications-badge {
    position: absolute;
    top: 0;
    left: 0;
     width: 99px; 
    padding: 0px 4% 0px 2%;
    width: auto;
    background-color: #ef3e3e;
    border-top-right-radius: 5%;
    border-bottom-right-radius: 15% 100%;
    height: 29px;
     background-image: url(/templates/cpamafiatop/images/badge.svg); 
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }*/

.publications-badge p {
  display: inline-block;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  transform: skew(18deg);
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.hover-text {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  position: absolute;
  padding: 0 18px;
  bottom: 18px;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
}

.publications-slide:hover .hover-text {
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}

.publications-slide:hover>p {
  margin-bottom: 20px;
  transition: 0.3s linear;
}

.hover-text>p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

.hover-text-data {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hover-text-data div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hover-text-data div p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--background);
}

.btn-more {
  width: 100%;
  padding: 0 32px;
}

.btn-more button {
  border-radius: 12px;
  background: var(--background);
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  border: none;
  padding: 17px 0;
  width: 100%;
  height: 100%;
  transition: 0.3s linear;
}

.btn-more button:hover {
  transition: 0.3s linear;
  background: #28303f;
  color: #fff;
}

#state-information {
  background: #fff;
}

.state-information {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*max-width: 1152px;*/
  width: 100%;
  /*  margin: 0 auto; 0*/
  padding: 34px; /* 48px 0 34px 0*/
  background: #fff;
  border-radius: 12px; 
  margin-bottom:10px;
}

.state-information p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 13px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.state-information ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  list-style: none;
  margin: 22px 0 32px 0;
}

.state-information h6 {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin: 32px 0 18px 0;
}

.state-information ul li {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 13px;
  line-height: 180%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  padding-left: 14px;
  position: relative;
}

.state-information ul li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  width: 4px;
  height: 4px;
  background: var(--red-900);
}

.footer-content {
  background: #141a24;
  padding: 28px 0 32px 0;
}

.footer-copyright {
  background: #ffffff;
  padding: 25px 0 18px 0;
  border-radius: 0 0 16px 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333c4c;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 21px;
  padding-right: 12px;
}

.footer-logo div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-head {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.footer-head-data {
  display: flex;
  align-items: center;
}

.footer-head-data>p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--gray-800);
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-data-items {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 24px;
}

.footer-data-items div {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--red-900);
}

.footer-data-items p {
  font-family: var(--font-family);
  font-weight: 500;
  /* 700 */
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
}
.banner__bottom {
    position: relative;
    z-index: 0;
}
.footer-banners-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin-top: 27px;
}

.footer-banners-wrapper>p {
  font-family: var(--font-family);
  font-weight: 500;
  /* 700 */
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-banners {
  width: 100%;
  box-shadow: inset 0 -3px 1px 0 rgba(17, 41, 88, 0.1);
  background: #333c4c;
  border-radius: 24px;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px;
  max-width: 155px;
  width: 100%;
  height: 118px;
  border-radius: 20px;
  box-shadow: inset 0 -3px 1px 0 rgba(17, 41, 88, 0.1);
  background: var(--dark-700);
}

.footer-banner a {
  width: 100%;
  height: 100%;
}

/*.footer-banner-img {
    width: 100%;
    height: 49px;
    overflow: hidden;
    border-radius: 16px;
    }*/
.footer-banner-img {
  max-width: 150px;
  width: 100%;
  height: 49px;
  /*overflow: hidden;*/
  padding: 5px;
  margin: 0px auto;
  border-radius: 16px;
}

.footer-banner-img img {
  width: 70%;
  margin: 0 auto;
  height: 100%;
  object-fit: contain;
}

/*.footer-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }*/

.footer-banner-rate {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-banner-rate p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: -0.02em;
  color: var(--green-900);
}

.footer-banner-name {
  font-family: var(--font-family);
  font-weight: 500;
  /* 700 */
  font-size: 13px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.footer-banner-status {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.footer-banner-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-left: 8px;
  margin-top: 5px;
}

.projects-items {
  display: flex;
  align-items: center;
  gap: 49px;
}

.projects-item {
  display: flex;
  align-items: center;
  gap: 11px;
}

.projects-item img {
  width: 40px;
  height: 40px;
}

.projects-item div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.projects-item div p {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.projects-item div a {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--red-900);
  text-decoration: none;
}

.other-projects {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.other-projects p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

.footer-menu-wrapper {
  display: flex;
  align-items: start;
  width: 100%;
  justify-content: space-between;
  margin-top: 33px;
  position: relative;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
  gap: 18px 90px;
  height: 100px;
}

.footer-menu li a {
  font-family: var(--font-family);
  font-weight: 500;
  /* 700 */
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white-900);
  text-decoration: none;
  transition: 0.3s linear;
}

.footer-menu li a:hover {
  transition: 0.3s linear;
  color: #ff4242;
}

.up-btn {
  position: absolute;
  bottom: -24px;
  right: 0;
  width: 32px;
  height: 32px;
  background: #333c4c;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s linear;
}

.up-btn:hover {
  transition: 0.3s linear;
  background: #ff4242;
}

.copyright-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 99px;
  padding-bottom: 21px;
  border-bottom: 1px solid #28303f2f;
}

.copyright-text p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: #28303f7a;
}

.copyright-text p:first-child {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 315px;
  width: 100%;
}

.copyright-links {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.copyright-links>p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  display: flex;
  align-items: center;
  gap: 4px;
}

.copyright-links div {
  display: flex;
  align-items: center;
  gap: 87px;
}

.copyright-links div p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: #28303f7a;
}

.copyright-links div ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 48px;
}

.copyright-links div ul li a {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: -0.02em;
  color: #28303f7a;
  text-decoration: none;
  transition: 0.3s linear;
}

.copyright-links div ul li a:hover {
  transition: 0.3s linear;
  color: #000;
}

.state-nav-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  max-width: 298px;
  /*
     gap: 24px;
     max-width: 324px;
    */
  width: 100%;
  position: sticky;
  top: 40px;
  left: 0;
}

.state-nav-aside>p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.state-nav-aside ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Added*/
  width: auto;
  max-width: 350px;
  /* 236px; */
  width: 100%;
}

/* Added */
.state-nav-aside ul.article-contents {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}

.state-nav-aside ul.article-contents ul {
  margin-left: 8px;
  padding: 8px;
  /*Added*/
}

.state-nav-aside ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  width: 100%;
  transition: 0.3s linear;
}

.state-nav-aside ul li:first-child {
  padding: 0 0 10px 0;
}

.state-nav-aside ul li:last-child {
  border-bottom: none;
}

.state-nav-aside ul li a {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  text-decoration: none;
  transition: 0.3s linear;
}

.state-nav-aside ul li a:hover {
  transition: 0.3s linear;
  color: #78869f;
}

.state-nav-aside ul li:hover {
  transition: 0.3s linear;
  color: var(--red-900);
  cursor: pointer;
}

.state-nav-aside ul li.active-li-item {
  border-bottom: 1px solid var(--red-900);
  color: var(--red-900);
  transition: 0.3s linear;
  font-weight: 500;
  font-size: 14px;
}

.state-nav-aside ul li.active-li-item a {
  color: var(--red-900);
  transition: 0.3s linear;
  font-weight: 500;
  font-size: 14px;
}

.side-baner {
  width: 100%;
  height: 648px;
  overflow: hidden;
}

.side-baner img {
  width: 100%;
  height: 100%;
  /* Added */
  padding: 0px 10px 0px 10px;
  border-radius: 20px;
  object-fit: cover;
}

.burger-btn {
  display: none;
}

.state-author-name-btns a {
  display: none;
}

.table-state-view .state-views-count {
  display: none;
}

.table-footer-data-items {
  display: none;
}

.state-views-mobile {
  display: none;
}

.mobile-links {
  display: none;
}

.main-content-wrapper {
  display: flex;
  align-items: flex-start;
  width: 100%;
  background: #fff;
  border-radius: 0 0 12px 12px;
}

.category-wrapper-panel {
  padding: 0 18px;
  max-width: 300px;
  width: 100%;
  /*border-right: 1px solid var(--gray-400);*/
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Added */
/*#main-section .category-wrapper-panel {
     # position: sticky;
    #top: 20px;
  }*/
/* EndAdded */
.content-wrapper {
  max-width: 981px;
  width: 100%;
  border-left: 1px solid var(--gray-400);
}

.category-wrapper-panel p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  margin-top: 24px;
}

.category-wrapper-panel button {
  background: var(--red-900);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  width: 100%;
  border-radius: 8px;
  border: none;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--white-900);
  margin: 15px 0 8px 0;
}

.category-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  gap: 8px;
}

.category-list li {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--second-family);
  font-weight: 600;
  /*font-weight: 500;*/
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  cursor: pointer;
  border-radius: 12px;
}

.category-list li:hover {
  background: var(--gray-200);
}

.category-list li span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  background: var(--background);
}

/* Added */
ul.category-list li.active-cat-li {
  background-color: var(--red-900) !important;
  color: var(--white-900) !important;
}

ul.category-list li.active-cat-li:hover,
li.active-cat-li>span:hover {
  background-color: var(--red-900) !important;
  color: var(--white-900) !important;
}

ul.category-list li.active-cat-li>span {
  background-color: var(--red-900) !important;
}

ul.category-list li.active-cat-li>span>svg {
  fill: var(--white-900) !important;
}

ul.category-list li.active-cat-li>span>svg>path {
  stroke: var(--red-900) !important;
}

/* End Added */
.content-wrapper {
  padding: 30px 0 0 0;
}

.title-small-section {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 35px;
}

.title-small-section p {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 27px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.partnercs-items {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 36px;
  padding: 0 35px;
  margin-top: 32px;
}

.partnercs-item {
  min-width: 200px;
  max-width: 200px;
  min-height: 235px;
  max-height: 235px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-400);
}

.partnercs-item-img {
  width: 100%;
  max-width:180px; /* Added */
  height: 82px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 25px;
  /* Added */
}

.partnercs-item-img img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
}

.partnercs-item-content {
  /*padding: 18px 16px 32px 16px;*/
  padding: 22px 16px 32px 16px;
  max-height: 155px;
  /*150*/
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: inset 0 -3px 1px 0 #e8eaec;
}

.partnercs-item-content p {
  font-family: var(--second-family);
  font-weight: 400;
  /*500*/
  font-size: 12px;
  /*14*/
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.partnercs-item-content h6 {
  font-family: var(--font-family);
  font-weight: 700;
  /*800*/
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin: 6px 0 18px 0;
}

.partnercs-item-btns {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: 9px;
}

.partnercs-item-btns button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  background: initial;
  transition: 0.3s linear;
}

.partnercs-item-btns button:hover {
  transition: 0.3s linear;
  background: var(--dark-900);
}

.partnercs-item-btns button:hover svg path {
  stroke: #fff;
}

.partnercs-item-data {
  border-radius: 128px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--white-900);
  width: 120px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: start;
  padding-left: 5px;
  gap: 4px;
}

.green-bg {
  background: var(--green-900);
}

.orange-bg {
  background: var(--orange-900);
}

.red-bg {
  background: var(--red-900);
}

.partnercs-item-data span {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  /*padding: 6px;*/
  padding: 1px;
  background: #fff;
  border-radius: 128px;
  height: 30px;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.all-view-btn {
  font-family: var(--second-family);
  font-weight: 700;
  /* 500 */
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  max-width: 910px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 17px 0;
  background: var(--background);
  margin: 24px auto 0 auto;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s linear;
}

.all-view-btn:hover {
  transition: 0.3s linear;
  color: #fff;
  background: var(--dark-900);
}

.new-state-wrapper {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 34px;
  margin-top: 32px;
}
/* Added */
.new-state-wrapper > a {
    flex: 1;
}
/* Added */
.new-state-wrapper-content {
  padding-top: 20px; /*32*/
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*border-top: 1px solid var(--gray-400);*/
  margin-top: 24px;
}

.show-more-btn {
  width: 100%;
}

.main-page-baner {
  background: #141a24;
  width: 100%;
  margin: 23px 0 0 0;
  padding: 25px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background-image: url(/templates/cpamafiatop/images/blogobg.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.main-page-baner-logo {
  display: flex;
  align-items: center;
  gap: 13px;
}

.main-page-baner-logo span {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  display: block;
}

.main-page-baner-logo img {
  width: 87px;
}

.main-page-baner-logo p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--gray-900);
}

.main-page-baner-items {
  display: flex;
  align-items: center;
  gap: 47px;
}

.main-page-baner-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.main-page-baner-item p:first-child {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--red-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-page-baner-item p:last-child {
  font-family: var(--font-family);
  font-weight: 500;
  /* 700 */
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.main-page-videos {
  margin-top: 24px;
  width: 100%;
  height: 834px;
  background: var(--dark-900);
  overflow: hidden;
}

.main-page-videos {
  padding: 48px 32px 30px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.main-page-videos-title {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.main-page-videos-title p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 27px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.main-page-videos-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 128px;
  padding: 6px;
  background: #333c4d;
}

.video-btn-prev,
.video-btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--dark-700);
  border-radius: 50%;
  cursor: pointer;
}

.video-swiper {
  width: 1072px;
  height: 594px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.video-swiper:after {
  content: "";
  position: absolute;
  top: -58px;
  right: 0;
  width: 166px;
  height: 150%;
  background: var(--dark-900);
  z-index: 1;
  pointer-events: none;
  filter: blur(20px);
}

.video-slide {
  /*max-width: 336px; 430px 445px*/
  max-width: 445px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.video-slide-img {
  width: 100%;
  height: 188px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  transition: 0.3s linear;
  transform-origin: 0 0;
}

.video-slide-img:hover {
  transform-origin: 0 0;
  transform: scale(0.8);
  transition: 0.3s linear;
}

.video-slide-img:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/templates/cpamafiatop/images/vvv.svg);
  background-size: 72px;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s linear;
}

.video-slide-img:hover:after {
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}

.video-slide-img:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(40, 48, 63, 0.05) 0%,
      rgba(40, 48, 63, 0.9) 100%);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
  pointer-events: none;
}

.video-slide-img:hover:before {
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}
/*Added */
.video-slide-img > img {
    object-fit: cover;
    max-height: 185px;
}

/* Added podcast */
.podcast-slide-img {
  width: 100%;
  height: 188px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  transition: 0.3s linear;
  transform-origin: 0 0;
}

.podcast-slide-img:hover {
  transform-origin: 0 0;
  transform: scale(0.8);
  transition: 0.3s linear;
}

.podcast-slide-img:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/templates/cpamafiatop/images/audio.svg);
  background-size: 72px;
  background-repeat: no-repeat;
  background-position: 50% 30%;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition: 0.3s linear;
}

.podcast-slide-img:hover:after {
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
}

.podcast-slide-img:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(40, 48, 63, 0.05) 0%,
      rgba(40, 48, 63, 0.9) 100%);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
  pointer-events: none;
}

.podcast-slide-img:hover:before {
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}

/* End Added */

.badge-video {
  position: absolute;
  top: 0;
  left: 0;
  /*padding: 10px;*/
  padding: 0px 4% 0px 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 120px;
  width: auto;
  height: 23px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  /* background-image: url(/templates/cpamafiatop/images/v-b.svg); */
  background-color: #ffffff;
  background-size: 100%;
  background-repeat: no-repeat;
  border-top-right-radius: 5% 0%;
  border-bottom-right-radius: 15% 100%;
}

.badge-video-blue {
  width: 116px;
  height: 29px;
  background-image: url(/templates/cpamafiatop/images/v-b2.svg);
  color: #fff;
}

.video-slide-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.video-slide-text p:first-child {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.video-slide-text p:last-child {
  font-family: var(--font-family);
  font-weight: 700;
  /* 800 */
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

/* Added */
.video-items .video-slide-text p:last-child {
  font-family: var(--font-family);
  font-weight: 700;
  /* 800 */
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

/* End Added */
.video-time {
  position: absolute;
  bottom: 12px;
  left: 12px;
  border-radius: 4px;
  padding: 4px;
  background: var(--dark-900);
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--background);
}

.all-video-btn {
  width: 100%;
  text-align: center;
  margin-top: 32px;
  padding: 17px 0;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  border-radius: 12px;
  background: #333c4c;
  text-decoration: none;
}

.video-pogination {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content !important;
  gap: 4px;
}

.video-pogination span {
  width: 4px;
  height: 4px;
  background: var(--gray-800);
}

.video-pogination span.swiper-pagination-bullet-active {
  background: var(--red-900);
}

.main-all-data-wrapper {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.main-data-items {
  max-width: 700px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--gray-400);
}

.cpa-wrapper {
  padding: 24px 0 24px 0;
  border-bottom: 1px solid var(--gray-400);
  width: 100%;
}

.cpa-wrapper-mainpage {
  padding: 24px 0 24px 0;
  border-bottom: 1px solid var(--gray-400);
  width: 100%;
}
.cpa-items {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 15px;
  margin: 32px 0 24px 0;
  padding: 0 34px;
  justify-content: space-between;
}

.all-cpa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 635px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  background: var(--background);
  font-family: var(--second-family);
  font-weight: 700;
  /* 500 */
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  padding: 17px 0;
  transition: 0.3s linear;
}

.all-cpa-btn:hover {
  transition: 0.3s linear;
  color: #fff;
  background: var(--dark-900);
}

.nav-panel-main {
  border-radius: 128px;
  padding: 6px;
  background: var(--background);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cpa-wrapper-cont {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  padding-right: 34px;
}

.nav-panel-main button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none;
}

.nav-panel-main-pog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: fit-content !important;
}

.nav-panel-main-pog span {
  width: 4px;
  height: 4px;
  background: var(--gray-800);
}

.nav-panel-main-pog span.swiper-pagination-bullet-active {
  background: var(--dark-900);
}

.akcii-pog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: fit-content !important;
}

.akcii-pog span {
  width: 4px;
  height: 4px;
  background: var(--gray-800);
}

.akcii-pog span.swiper-pagination-bullet-active {
  background: var(--dark-900);
}

.partn-pog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: fit-content !important;
}

.partn-pog span {
  width: 4px;
  height: 4px;
  background: var(--gray-800);
}

.partn-pog span.swiper-pagination-bullet-active {
  background: var(--dark-900);
}

.movies-items {
  margin-top: 27px;
  display: flex;
  align-items: flex-start;
  width: 632px;
  gap: 32px;
  /* padding-left: 34px; */
}

.movies-item {
  width: 450px;
  height: 230px;
  max-width: 450px;
  /* EDITED
     width: 100%;
    height: 217px;*/
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  transition: 0.3 s linear;
  box-shadow: 0px 6px 7px -4px #b2b2ff00, 0px 6px 7px -4px #b4ffff00;
}
swiper-slide
.movies-item:hover {
  box-shadow: 0px 6px 7px -4px #b2b2ff, 0px 6px 7px -4px #b4ffff;
  transition: 0.3 s linear; 
}

.movies-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/templates/cpamafiatop/images/vvv.svg);
  background-size: 72px;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
  visibility: hidden;
  z-index: 3;
  transition: 0.3s linear;
  cursor:pointer;
}

.movies-item:hover:before {
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}

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

.movies-item-text {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 11px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  z-index: 2;
}

.movies-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.749) 100%);
}

.movies-item-text>p:first-child {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

.movies-item-text>p:nth-child(2) {
  font-family: var(--font-family);
  font-weight: 700;
  /* 800 */
  font-size: 18px;
  /* 16 */
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.movies-item-text div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.movies-item-text div p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--background);
}

.movies-item-badge {
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  /*width: 143px;*/
  width: auto;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 10px;
  /*gap: 24px 8px;*/
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.movies-item-badge:after {
  content: "";
  position: absolute;
  top: -1px;
  left: -4px;
  background: #ff4242;
  z-index: -1;
  /*width: 123px;*/
  width: 100%;
  height: 29px;
  border-radius: 10px;
  transform: skew(-18deg);
}

.ivent-btn {
  margin-top: 23px;
}

.akci-items {
  max-width: 635px;
  width: 100%;
  margin-top: 27px;
  height: auto;
  /*354*/
}

.akci-item {
  width: 100%;
  padding: 16px 24px 16px 16px;
  display: flex !important;
  /* Added */
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--background);
  border-radius: 12px;
}

.open-akcii {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s linear;
}

.open-akcii:hover {
  transition: 0.3s linear;
  background: var(--dark-900);
}

.open-akcii:hover svg path {
  stroke: #fff;
  transition: 0.3s linear;
}

/* .akci-items-wrapper {
    gap: 18px 34px !important;
  } */

.akci-item-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.akci-item-img {
  border: 1px solid var(--background);
  border-radius: 8px;
  width: 183px;
  height: 73px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Added */
.akci-item-img img {
  max-width: 130px;
  max-height: 65px;
  object-fit: contain;
}

.akcii-item-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  max-width: 550px;
  /* 300px */
}

.akcii-item-text>p:last-child {
  font-family: var(--font-family);
  font-weight: 700;
  /* 800 */
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.akcii-item-text div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.akcii-item-text div p:first-child {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

/*.akcii-item-text div p:last-child {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--red-900);
    background: #ff42422e;
    border-radius: 128px;
    padding: 5px 4px;
  }*/

.partn-item {
  max-width: 635px;
  width: 100%;
  padding: 0 24px 0 12px;
  border: 1px solid var(--gray-400);
  border-radius: 12px;
  height: 80px !important;
  display: flex !important;
  /* Add */
  align-items: center;
  justify-content: space-between;
}

.partn-item-img-text {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.partn-item-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.partn-item-text>p {
  font-family: var(--font-family);
  font-weight: 500;
  /* 700 */
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.partn-item-text div p {
  font-family: var(--font-family);
  font-weight: 700;
  /* 800 */
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.partn-item-text div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.partn-item-text div span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partn-item-img {
  max-width: 86px;
  width: 100%;
}

.partn-item-img img {
  width: 100%;
}

.partn-badge {
  /* display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px 5px 5px;
    border-radius: 128px;*/
  border-radius: 128px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--white-900);
  width: 115px;
  min-width: 115px;
  max-width: 115px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: start;
  padding-left: 5px;
  gap: 4px;
}
/*
.partn-badge p:first-child {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  padding: 1px;
  background: #fff;
  border-radius: 128px;
  height: 30px;
  min-width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partn-badge p:last-child {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--white-900);
}
*/
.partn-items {
  margin-top: 27px;
  max-width: 635px;
  width: 100%;
  height: 356px;
}

.main-sidebar {
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
}

.main-sidebar-baner {
  width: 100%;
}

.main-sidebar-baner img {
  /* Added */
  border-radius: 20px;
  width: 100%;
}

.main-sidebar-reviews {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}

.open-rew-btn {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: initial;
  border: none;
  font-family: var(--font-family);
  font-weight: 700;
  /* 800 */
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  gap: 4px;
}

.open-rew-btn span {
  color: var(--red-900);
}

.main-sidebar-reviews-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
}

.main-sidebar-reviews-item {
  max-width: 260px;
  width: 100%;
  height: 115px;
  background: var(--background);
  border-radius: 4px;
  position: relative;
  padding: 8px 12px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.main-sidebar-reviews-item::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -9px;
  width: 18px;
  height: 15px;
  background-image: url(/templates/cpamafiatop/images/kov.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.main-sidebar-reviews-item-icons {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  margin-top: 8px;
}

.main-sidebar-reviews-item-icons div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.main-sidebar-reviews-item-icons div p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.main-reviews-icons {
  width: 18px;
  height: 18px;
  overflow: hidden;
}

.main-reviews-icons img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-sidebar-reviews-item h5 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.main-sidebar-reviews-item>p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  box-orient: vertical;
}

.mobile-data-text {
  display: none !important;
}

.user-reviews-stats>p {
  display: none;
}

.user-reviews-stats div p:nth-child(2) {
  display: none;
}

.head-btns-state {
  display: none;
}

.index-main-warpper {
  display: none;
}

.mob-index-baner {
  display: none;
}

.movies-items-pog-mobile {
  display: none;
}

.red-text {
  color: var(--red-900) !important;
}

.green-text {
  color: var(--green-900) !important;
}

.reviews-item-reverse {
  flex-direction: column-reverse !important;
}

.black-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  box-orient: vertical;
  color: var(--dark-900) !important;
}

.rev-comment {
  margin: 4px 0 7px 0;
}

.main-sidebar-last-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}

.sidebar-last-state-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-family);
  font-weight: 700;
  /* 800 */
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.sidebar-last-state-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.sidebar-last-state-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--background);
  width: 100%;
}

.sidebar-last-state-item:last-child {
  border-bottom: none;
}

.sidebar-last-state-item>p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  max-width: 215px;
}

.sidebar-last-state-item div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-last-state-item div p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.states-all-wrapper {
  display: flex;
  align-items: flex-start;
  width: 100%;
  background: #fff;
  padding-bottom: 35px;
  border-radius: 0 0 16px 16px;
}

.states-wrapper-panel {
  padding: 0 34px;
  max-width: 981px;
  width: 100%;
  border-right: 1px solid var(--gray-400);
}

.states-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.states-wrapper h1 {
  margin: 23px 0 35px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 27px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.states-items {
  display: flex;
  /*align-items: flex-start;*/
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
  /* gap: 10px; */
  width: 100%;
}

.states-items-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 32px;
}

.states-items-poginations-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.states-items-poginations {
  display: flex;
  align-items: center;
  list-style: none;
}

.states-items-poginations li {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  transition: 0.3s linear;
}

.states-items-poginations li.active-pog {
  color: var(--red-900);
}

.states-items-poginations li.active-btn {
  background: var(--gray-400);
}

.states-items-poginations li.dots {
  color: var(--gray-800);
}

.states-items-poginations li:first-child {
  border-radius: 50%;
  border: 1px solid var(--gray-400);
}

.states-items-poginations li:first-child:hover {
  background: var(--gray-400);
  transition: 0.3s linear;
}

.states-items-poginations li:last-child {
  border-radius: 50%;
  border: 1px solid var(--gray-400);
}

.states-items-nav a {
  width: 100%;
  padding: 17px 0;
  background: var(--background);
  border-radius: 12px;
  font-family: var(--second-family);
  font-weight: 700;
  /* 500 */
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  text-decoration: none;
  margin-top: 24px;
  transition: 0.3s linear;
}

.change-count {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 12px 17px;
  border-radius: 4px;
  background: var(--background);
  border: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 13px;
  text-align: center;
  color: var(--gray-800);
  position: relative;
}

.change-count span {
  color: var(--dark-900);
}

.all-states-filter {
  max-width: 298px;
  width: 100%;
  padding: 18px 0;
}

.all-states-filter-btns {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.all-states-filter-btns a {
  padding: 16px 0;
  width: 100%;
  background: var(--red-900);
  border-radius: 8px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  text-decoration: none;
  transition: 0.3s linear;
}

.all-states-filter-btns a:hover {
  transition: 0.3s linear;
  background: var(--dark-900);
}

.line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gray-400);
}

.all-states-filter-btns {
  padding: 17px;
}

.all-states-filter-btns p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.dropdown-item {
  padding: 18px 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.publications-items>a {
  display: none;
}

.table-social-links-content {
  display: none;
}

.single-prev-wrapper {
  display: none;
}

.dropdown-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.dropdown-item-btn p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.dropdown-item-btn svg {
  transition: 0.3s linear;
}

.dropdown-panel {
  margin-top: 18px;
  width: 100%;
}

.dropdown-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  list-style: none;
  width: 100%;
}

.dropdown-category li {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

.dropdown-category li span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  background: var(--background);
}

.dropdown-category li.active-dropdown {
  background: var(--gray-800);
  color: #fff;
}

.dropdown-category li.active-dropdown span {
  background: var(--gray-800);
}

.dropdown-category li.active-dropdown span svg path {
  stroke: #fff;
  fill: var(--gray-800);
}

.rotate {
  transition: 0.3s linear;
  transform: rotate(180deg);
}

.dropdown-hteg {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  list-style: none;
  gap: 8px;
}

.dropdown-hteg li {
  padding: 6px;
  border-radius: 3px;
  background: var(--background);
  text-align: center;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  cursor: pointer;
  transition: 0.3s linear;
}

.dropdown-hteg li:hover {
  transition: 0.3s linear;
  color: #fff;
  background: var(--red-900);
}

.dropdown-hteg li:hover span {
  color: #fff;
  transition: 0.3s linear;
}

.dropdown-hteg li span {
  color: var(--red-900);
}

.dropdown-hteg li.active-hteg {
  color: #fff;
  background: var(--red-900);
}

.dropdown-hteg li.active-hteg span {
  color: #fff;
}

.dropdown-trafic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  list-style: none;
}

.dropdown-trafic li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  cursor: pointer;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  border: 1px solid var(--gray-600);
  border-radius: 2px;
  box-sizing: content-box;
  transition: 0.3s linear;
}

.checkbox-input:hover {
  transition: 0.3s linear;
  border: 1px solid var(--gray-800);
}

.active-checkbox {
  border: 1px solid var(--red-900) !important;
  position: relative;
}

.active-checkbox:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(/templates/cpamafiatop/images/check.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 10px;
  height: 7.2px;
  pointer-events: none;
}

.checkbox-input input {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.circle-input {
  border-radius: 50%;
}

.circle-input:after {
  background-image: url(/templates/cpamafiatop/images/dot.svg) !important;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 8px !important;
  height: 8px !important;
  pointer-events: none;
}

.clear-filter-btn {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  padding: 15px 0;
  text-align: center;
  width: 100%;
  border: 1px solid var(--gray-600);
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s linear;
}

.transition-red:hover {
  background: var(--red-900);
  transition: 0.3s linear;
  color: #fff;
}

.social-links-filter {
  padding: 23px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.social-links-filter p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.social-links-filter div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links-filter div a img {
  width: 32px;
  height: 32px;
}

.dropdown-select {
  width: 100%;
  background: var(--gray-200);
  padding: 7px 18px 7px 14px;
  border: 1px solid var(--gray-600);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

.dropdown-select:after {
  content: "";
  position: absolute;
  top: 21px;
  right: 18px;
  width: 14px;
  height: 7px;
  background-image: url(/templates/cpamafiatop/images/s-arrow.svg);
  background-repeat: no-repeat;
  background-size: 100%;
}

.dropdown-select p:first-child {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.dropdown-select-chooce {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.dropdown-select-panel {
  position: absolute !important;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  height: fit-content;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--gray-600);
  padding: 7px 18px 7px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 4;
  background: #fff;
}

.dropdown-select-panel-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
  padding: 8px 12px;
  border-radius: 8px;
  width: 100%;
  background: var(--gray-200);
}

.video-items {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  gap: 12px;
  justify-content: space-around;
  /* gap: 32px 76px;  
    justify-content: space-between;*/
}

.video-item {
  max-width: 418px;
}

.video-item .video-slide-img {
  width: 100%;
  height: 234px;
}

.video-item .video-slide-img img {
  width: 100%;
  height: 100%;
}

.video-item .video-slide-text p:last-child {
  color: #000;
  max-width: 336px;
}

.filter-title-text {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  padding: 6px 18px 0 18px;
}

.slider-checkbox-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin-bottom: 24px;
}

.slider-checkbox-items>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.slider-checkbox-items>div p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.slider-checkbox-item {
  border-radius: 32px;
  width: 26px;
  height: 18px;
  background: var(--gray-600);
  position: relative;
  cursor: pointer;
  transition: 0.3s linear;
}

.slider-checkbox-item:after {
  content: "";
  position: absolute;
  top: 3px;
  right: 11px;
  border-radius: 32px;
  width: 12px;
  height: 12px;
  background: #fff;
  transition: 0.3s linear;
}

.slider-checkbox-item-checked {
  background: var(--blue-900);
  transition: 0.3s linear;
}

.slider-checkbox-item-checked:after {
  transition: 0.3s linear;
  right: 3px;
}

.slider-checkbox-item input {
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.cpa-items-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.cpa-head-text {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.cpa-head-text p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cpa-lines-items {
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  /*gap: 12px;*/
  gap: 10px;
  padding: 18px 0 24px 0;
}

.partn-item-line {
  max-width: 450px;
}

.tooltip {
  position: relative;
  transition: 0.3s linear;
}

.tooltip:hover:after {
  content: "Платное место";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 114px;
  height: 38px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1), 0 0 60px 0 rgba(0, 0, 0, 0.05);
  background: var(--dark-900);
  border-radius: 6px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--white-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -100%);
}

.tooltip:hover::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--dark-900);
  top: -15px;
  left: 50%;
  transform: translate(-50%, 0) rotate(45deg);
}

.cpa-square-items {
  padding-top: 24px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  /* Added */
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}

.dark-hover-btn:hover {
  color: #fff;
  background: var(--dark-900);
  transition: 0.3s linear;
}

.cpa-square-items a {
  text-decoration: none;
}

.services-items-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
  width: 100%;
}

.stock-content a {
  text-decoration: none;
}

.services-items-wrapper a {
  text-decoration: none;
  /* width: 100%; */
}

.single-service-wrapper {
  width: 100%;
  background: #fff;
  border-radius: 0 0 12px 12px;
  padding: 0 34px;
}

.single-service-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  width: 100%;
  padding-top: 10px;
  position: relative;
  position: sticky;
  top: 0;
  left: 0;
}

.single-service-content {
  max-width: 850px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Added */
.single-service-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
}
.single-service-header > div {
    flex:1;
}
/* Added */
.search-wrapper .container {
  max-width: 100%;
}

.single-service-sidebar {
  max-width: 324px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: sticky;
  top: 80px;
  left: 0;
  margin-bottom: 32px;
}

.single-service-sidebar.single-service-sidebar-just {
  top: 15px !important;
}

.single-service-head {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 20px;
  width: 100%;
}

/* CPA */
.single-cpa-wrapper {
  width: 100%;
  background: #fff;
  border-radius: 0 0 12px 12px;
  padding: 0 34px;
} 
/* CPA */
.single-cpa-wrapper.cpa-head-wrapper {
  margin-top: 8px;
  border-radius: 12px;
  padding: 0 !important;
}

.single-cpa-wrapper.cpa-wrapper {
  margin-top: 8px;
  border-radius: 12px;
}
.single-cpa-wrapper h1,
.single-cpa-wrapper h2,
.single-cpa-wrapper h3,
.single-cpa-wrapper h4 {
    display: flex;
    align-items: center;
}
.single-cpa-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  /*padding-top: 10px;*/
  position: relative;
  position: sticky;
  top: 0;
  left: 0;
}

.single-cpa-content {
  /*max-width: 850px;*/
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.single-cpa-sidebar {
  max-width: 270px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*gap: 18px;*/
  position: sticky;
  /*top: 80px;*/
  gap: 0px;
  top: 69px;
  left: 0;
  margin-bottom: 32px;
}

.single-cpa-sidebar.single-service-sidebar-just {
  top: 15px !important;
}

ul.single-cpa-sidebar-menu {
  display: flex;
  padding: 35px 0;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  list-style: none;
  gap: 23px;
}

ul.single-cpa-sidebar-menu>li {
  height: 25px;
  padding-left: 30px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

ul.single-cpa-sidebar-menu>li.cpa-sidebar-item-active,
ul.single-cpa-sidebar-menu>li:hover {
  color: var(--red-900);
  border-left: 2px solid var(--red-900);
}

ul.single-cpa-sidebar-menu>li:hover {
  cursor: pointer;
}

ul.single-cpa-sidebar-menu>li:hover>svg path {
  stroke: var(--red-900);
}

.single-cpa-head {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 20px;
  width: 100%;
}

.single-cpa-head.cpa-head {
  flex-direction: column;
  margin-top: 0px !important;
  padding: 5px !important;
  gap: 0px !important;
}

.cpa-head>.cpa-head-banner {
  display: block;
  position: static;
  width: 100%;
  height: 227px;
  max-height: 227px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}

.cpa-head .cpa-head-info {
  display: flex;
  gap: 46px;
  width: 100%;
  flex-direction: row;
  justify-content: flex-start;
  border-bottom: 1px solid var(--gray-600);
}

.cpa-head-info-block1 {
  display: flex;
  gap: 10px;
  padding: 10px 0 10px 0;
  flex-direction: row;
  align-content: center;
  align-items: center;
}

.cpa-head-info-block1 > div {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: nowrap;
}
.cpa-head-info-block1 > div span {
    display: flex;
    gap: 15px;
}	

.cpa-head-info-block1>span:nth-child(3) {
  display: flex;
  gap: 10px;
}

.cpa-head-info-block1>span:nth-child(3)>div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.cpa-head-info-block2 {
  width: 100%;
  display: flex;
  padding: 12px 25px 20px 25px;
  align-content: center;
  justify-content: flex-start;
  flex-direction: row;
  align-items: baseline;
  gap:35px;
}

div.cpa-head-info-block2>span,
div.cpa-head-info-block2>span>span {
  display: flex;
  align-items: center;
  justify-content: space-around;
  align-content: center;
  flex-direction: row;
}

div.cpa-head-info-block2>span {
  /*margin-left: 35px;*/
  font-size: 14px;
  font-weight: 500;
  gap: 15px;
}

div.cpa-head-info-block2>span>span {
  gap: 10px;
}
.cpa-head-info .single-service-head-text ul li p:last-child {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -0.02em;
    text-align: left; 
    color: var(--dark-900);
    margin: 0;
    max-width: 261px;
}
/* .single-service-head-banner > img {
    display: block;
    position: relative; 
    width: 100%;
    height: 227px;
    max-height: 227px;
    object-fit: cover;
    border-radius: 12px;
    z-index: -1;
  }*/
/*.single-service-head-img.cpa-head-img {
  width: 100px;
  height: 100px;
  bottom: 22px;
  left: 25px;
  border-radius: 12px;
  background: #ffffff;
  padding: 5px;
  overflow: unset;
}*/

.cpa-head-img-no-banner .single-service-head-img, 
 .cpa-head-img > .single-service-head-img  {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  left: 25px;
  border-radius: 12px;
  background: #ffffff;
  padding: 5px;
}
.cpa-head-img > .single-service-head-img {
    bottom: 20px;
}
/*.cpa-head-img>img,
.cpa-head-img-no-banner img {
  min-width: 100px;
}*/

.cpa-head .single-service-head-text ul {
 /* width: 940px;*/
  flex-direction: row;
  margin: 0;
  padding: 0px 0px 10px;
  gap: 32px;
}

.cpa-head .single-service-head-text ul li {
  align-items: flex-start;
  flex-direction: column;
  border-bottom: none;
  width: auto;
}

.cpa-head a.directBtn {
  margin-top: 13px;
  border-radius: 8px;
  padding: 15px 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--red-900);
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  text-decoration: none;
  transition: 0.3s linear;
  border: 1px solid #ffffff00;
}

.cpa-head a.directBtn:hover {
  background: var(--red-600);
  transition: 0.3s linear;
  border: 1px solid var(--gray-600);
}

.cpa-wrapper .publications-title-nav {
  padding: 15px 0px;
}

.publications-title-nav p {
  display: flex;
  gap: 8px;
}

.cpa-wrapper .publications-slider {
  width: 100%;
  margin: 0px 0 30px 0px !important;
}

.cpa-wrapper .swiper-wrapper {
  min-height: 135px;
}

.cpa-wrapper .publications-slide {
  min-height: 135px;
  max-height: 135px;
}

.cpa-wrapper .publications-slide>img {
  min-width: 289px;
  min-height: 135px;
  max-width: 290px;
  max-height: 135px;
}

.cpa-wrapper .publications-slide>p {
  font-size: 13px;
  line-height: 120%;
  position: absolute;
  bottom: 0;
}

.single-cpa-descr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px; /*35*/
  padding: 35px 20px 32px;
}

.single-cpa-descr > h4 {
  font-size: 20px;
  font-weight: 700;
}
.single-cpa-descr ul {
    display: flex;
    gap: 5px; 
    flex-direction: column;
    padding: 0px 20px 0px 20px;
    list-style: square; 
}
.single-cpa-descr ul li::marker 
 {
    color: var(--red-900);
}
.single-cpa-reviews {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.cpa-comments-block-title {
  display: flex;
  justify-content: space-between;
  align-content: center;
  flex-direction: row;
  align-items: center;
}

.cpa-comments-wrapper {
  background: #fff;
  width: 100%;
  padding: 32px 20px;
  border-radius: 12px;
}

.cpa-comments-content {
  width: 100%;
}

.cpa-reviews-progress {
  height: 120px;
  display: flex;
  align-items: center;
  margin-top: 35px;
  background-color: #E7EAEF;
  border-radius: 18px;
  padding: 5px;
}

.cpa-reviews-total-progress {
  display: flex;
  width: 124px;
  height: 112px;
  background-color: var(--white-900);
  border-radius: 14px;
  /* margin-right: 54px; */
  margin-right: 8px;
  justify-content: center;
  align-items: center;
}

.cpa-reviews-progress .table-reviews-progress-item {
  display: flex;
  padding: 15px 0px 7px 0px;
}

.cpa-reviews-progress>span {
  width: 800px;
}

.cpa-total-outer {
  display: flex;
  position: relative;
  width: 124px;
  height: 112px;
  align-items: center;
  justify-content: center;
}

.cpa-total-outer p.percent span {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  color: #262D35 !important;
  bottom: 20px;
  font-size: 27px;
  font-weight: 700;
}

.cpa-alert-reviews {
  display: flex;
  width: 100%;
  background-color: #fff;
  color: var(--dark-900);
  font-weight: 700;
  font-size: 13px;
  padding: 14px 0px;
  border-radius: 14px;
  border-left: 6px;
  align-items: center;
  gap: 8px;
}

.cpa-alert-reviews:before,
 .cpa-reviews ol.comments-tree-list .cpa-reviews > .cpa-reviews_top:before {
  content: '';
  display: inline-block;
  width: 2px;
  height: 20px;
  background-color: var(--gray-800);
  margin-right: 10px;
}
.cpa-reviews ol.comments-tree-list .cpa-reviews > .cpa-reviews_top:before {
   background-color: var(--dark-700);
}

p.comments-count > span {
  color: var(--gray-800);
}

.cpa-comments-items {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 10px;
  margin-top: 18px;
}

.cpa-reviews {
  padding: 4px;
  background-color: var(--background) !important;
  border-radius: 12px;
  position: relative;
  height: auto;
}
.cpa-reviews ol.comments-tree-list .cpa-reviews {
   padding: 0;
}

.cpa-reviews ol.comments-tree-list {
    padding:0;
}
.cpa-reviews ol.comments-tree-list .cpa-reviews,
.cpa-reviews ol.comments-tree-list .cpa-reviews > .cpa-review {
  background-color: var(--gray-200) !important; 
  border-radius: 12px 12px 12px 0px;
}
 .cpa-reviews ol.comments-tree-list .cpa-reviews > .cpa-reviews_top {   
    color: var(--dark-700);
    font-size:14px;
    font-weight:700;
    padding: 15px 0px 8px;
}
.cpa-reviews ol.comments-tree-list .cpa-reviews > .cpa-review { 
    padding: 0px 20px 20px;
}
 .cpa-reviews ol.comments-tree-list .cpa-reviews > .user-comment-text {   
   margin:0;
}
    
.cpa-review {
  padding: 20px;
  margin-bottom: 12px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-700);
  background-color: var(--white-900);
  border-radius: 12px;
}

.cpa-reviews_top {
  display: flex;
  padding: 15px 10px 8px;
  gap: 10px;
  align-items: center;
}

.cpa-reviews_top>span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
}

.cpa-reviews_top .reviews_top_name,
.cpa-reviews_top .reviews_top_name a {
  gap: 0;
  margin: 0;
}

.cpa-reviews_top_date {
  color: var(--gray-800);
  font-size: 14px;
  font-weight: 400;
}

.cpa-review-rating-bar {
  display: flex;
  width: 115px;
  height: 28px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 20px;
  gap: 5px;
}
.cpa-review-rating-sidebar {
    display: flex;
    width: 32px;
    height: 24px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid; 
}

.negative-bar {
  background-color: #FF424226;
  color: var(--red-900);
}

.positive-bar {
  background-color: #4ACE6726;
  color: var(--green-900);
}

.neutral-bar {
  background-color: #dfa04f21;
  color: var(--yellow-900);
}

.negative-bar > span > span {
  color: var(--red-900);
}
.positive-bar > span > span  {
  color: var(--green-900);
}
.neutral-bar > span > span  {
  color: var(--yellow-900);
}

/* CPA */
.single-service-head-img {
  width: 384px;
  height: 242px;
  border-radius: 16px;
  background: var(--gray-200);
  border: 1px solid var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  /* Added */
  padding: 15px;
}

.single-service-head-img img:first-child {
  position: relative;
  z-index: 3;
}

.img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: blur(10px);
}

.single-service-head-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*max-width: 434px;*/
  width: 100%;
}

.single-service-head-text ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 18px 0 12px 0;
}

.single-service-head-text ul li {
  padding: 8px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--gray-600);
}

.single-service-head-text ul li p:first-child {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  margin: 0;
}

.single-service-head-text ul li p:last-child {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--dark-900);
  margin: 0;
  max-width: 261px;
}

.single-service-head-text h4 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.single-service-head-text p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 15px;
  line-height: 170%;
  color: var(--dark-700);
  margin: 18px 0 22px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  line-clamp: 6;
  box-orient: vertical;
}

.single-service-head-text a {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--blue-900);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.single-service-sidebar-baner {
  width: 100%;
  padding: 24px 24px;
  border: 1px solid var(--gray-400);
  border-radius: 12px;
  box-shadow: inset 0 -3px 1px 0 #e8eaec;
  background: #fff;
  transition: 0.3s linear;
  /* overflow: hidden; */
}

.single-service-sidebar-baner-just {
  background: var(--gray-200) !important;
}

.single-service-sidebar-baner h3 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 27px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.single-service-sidebar-baner>p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.single-service-sidebar-baner>a {
  margin-top: 13px;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--red-900);
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  text-decoration: none;
  transition: 0.3s linear;
  border: 1px solid #ffffff00;
}

.ddd {
  margin-top: 13px;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--red-900);
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  text-decoration: none;
  transition: 0.3s linear;
  border: 1px solid #ffffff00;
  max-width: 276px;
  width: 100%;
  margin: 0 auto;
}

.single-service-sidebar-baner>a:hover {
  background: var(--red-600);
  transition: 0.3s linear;
  border: 1px solid var(--gray-600);
}

.single-service-sidebar-baner img {
  width: 100%;
  height: 67px;
}

.baner-service-data {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 18px 0;
}

.baner-service-badge {
  /* Added */
  min-width: 115px;
  max-width: 115px;
  border-radius: 128px;
  padding: 5px 8px;
  /*5*/
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.baner-service-badge > span, .partn-badge > p {
  display: flex;
  width: 30px;
  align-items: center;
  justify-content: center; 
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 12px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  padding: 6px;
  margin: 0px;
  background: #fff;
  border-radius: 128px;
}

.baner-service-rew {
  display: flex;
  align-items: center;
  gap: 12px;
}

.baner-service-rew div {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.single-service-sidebar-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.single-service-sidebar-contacts>p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.single-service-sidebar-icon {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.sidebar-icon-img {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 12px;
}

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

.sidebar-icon-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.sidebar-icon-text p:first-child {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.sidebar-icon-text p:last-child {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.single-service-sidebar-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.single-service-sidebar-links a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.service-publications {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
}

.service-publication {
  width: 278px;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.service-publication:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.9) 100%);
}

.service-publication img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s linear;
}

.service-publication-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--white-900);
  width: 100px;
  height: 30px;
}

.service-publication-badge:after {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  width: 100px;
  height: 30px;
  background: var(--red-900);
  z-index: -1;
  border-radius: 10px;
  transform: skew(340deg);
}

.service-publication-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  z-index: 3;
}

.service-publication-text>p {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
  transition: 0.3s linear;
}

.service-publication:hover .service-publication-text>p {
  transition: 0.3s linear;
  margin-bottom: 20px;
}

.service-publication:hover .hover-text {
  opacity: 1;
  visibility: visible;
}

.service-publication:hover img {
  transform: scale(1.1) translate(-10px, -10px);
  transition: 0.3s linear;
}

.single-service-publications {
  margin-top: 32px;
  width: 100%;
}

.single-service-publications>p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-service-desc {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 32px;
}

.single-service-desc h4 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.single-service-desc p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  color: var(--dark-700);
  padding-right: 24px;
}

.single-service-reviews {
  /*margin-top: 48px;*/
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.users-comments-rare-wrapper {
  display: none;
}

.table-reviews-progress-item {
  display: flex;
}

.reviews-progress {
  display: flex;
  align-items: flex-end;
  margin-top: 35px;
}

.reviews-progress-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 0 24px;
  border-right: 1px solid var(--gray-400);
}

.reviews-progress-item:last-child {
  border-right: none;
}

.reviews-progress-item p:first-child {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.reviews-progress-item p:last-child {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #262d35;
}

.single-service-reviews h5 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.reviews-total-progress {
  max-width: 170px;
  /*margin-right: 54px;*/
  margin-right: 8px;
}

.reviews-total-progress p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #262d35;
}

.reviews-reactions {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
}

.reviews-reactions button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  border-radius: 8px;
  padding: 15px 24px;
  background: var(--background);
  border: none;
  transition: 0.3s linear;
}

.reviews-reactions button:nth-child(1):hover {
  transition: 0.3s linear;
  background: var(--green-900);
  color: #fff;
}

.reviews-reactions button:nth-child(2):hover {
  transition: 0.3s linear;
  background: var(--red-600);
  color: #fff;
}

.reviews-reactions button:nth-child(3):hover {
  transition: 0.3s linear;
  background: var(--gray-800);
  color: #fff;
}

.reviews-reactions button img {
  width: 18px;
  height: 18px;
}

.single-service-stars {
  padding: 32px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.single-service-stars h5 {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.stars {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
}

.stars li:hover svg {
  fill: var(--yellow-900);
}

.stars li:hover svg path {
  stroke: var(--yellow-900);
}

.active-star svg {
  fill: var(--yellow-900);
}

.active-star svg path {
  stroke: var(--yellow-900);
}

.users-comments-wrapper {
  padding: 24px 0 32px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.users-comment {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 24px 32px 24px;
  width: 100%;
  border-radius: 12px;
}

.users-comment-data {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.users-comment>p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-700);
}

.users-comment-data-info {
  display: flex;
  align-items: center;
}

.users-comment-data-info img {
  width: 32px;
  height: 32px;
}

.users-comment-data-info div {
  display: flex;
  align-items: center;
}

/*  .user-rate-table {
    display: none;
  }*/
.user-rate-table {
  /*position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, 0);*/
  position: relative;
  bottom: 15px;
  display: flex;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 11px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  background: var(--green-900);
  border: 2px solid #fff;
  border-radius: 128px;
  padding: 5px 8px;
  /* 1px 5px*/
}

.single-service-table-contacts {
  display: none;
}

.table-user-data {
  max-width: 320px;
  /*348*/
  width: 100%;
}

.single-stock-preview-img {
  display: none;
}

.table-user-name {
  display: none;
}

.users-comment-data-info div p:first-child {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
  margin: 0 6px 0 12px;
}

.users-comment-data-info div p:nth-child(2) {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--gray-800);
}

.users-comment-likes {
  display: flex;
  align-items: center;
  gap: 6px;
}

.users-comment-likes p {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
}

.comment-red-bg {
  background: #ff424220;
}

.comment-green-bg {
  background: #4ace6720;
}

.baner-service-social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.baner-service-social-links>p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.baner-service-social-links div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.baner-service-social-links div a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.baner-service-img-baner {
  margin: 10px auto;
  width: 100%;
  height: 648px;
  overflow: hidden;
  transition: 0.3s linear;
}

.baner-service-img-baner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Added */
  border-radius: 20px;
}
/* Added */
.socialnetworks {
    width: 100%;
    display: flex; 
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}
.socialnetworks > div:first-child {
    display: inline-flex;
    flex-direction: row;
    gap: 10px;
}
.socialnetworks > div > a > img {
    max-width: 32px;
}
/* Added */
.cpa-characters-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  margin: 32px 0px 22px;
  gap: 23px 120px;
  /*margin-top: 32px;
    gap: 24px 120px;*/
  max-height: 257px;
  flex-wrap: wrap;
}

/*
display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style: none;
    margin-top: 32px;
    gap: 24px 120px;
    height: 100%;
     height: 257px; EDITED
    flex-wrap: wrap;
  }*/

.cpa-characters-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.cpa-characters-list li.no-item div svg path {
  stroke: #78869f;
}

.cpa-characters-list li.no-item div p:last-child {
  color: #78869f;
}

/*.cpa-characters-list li:nth-child(4) {
    margin-top: 21px;
  }*/

.cpa-characters-list-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cpa-characters-list-icon>svg path {
  stroke: var(--dark-900);
}

.cpa-characters-list-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 400px;
  width: 100%;
}

.cpa-characters-list-text p:first-child {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.cpa-characters-list-text p:last-child {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.single-cpa-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
}

.single-cpa-contacts h4 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.single-cpa-contacts-items {
  display: flex;
  align-items: center;
  width: 100%;
}

.single-cpa-contacts-item {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 16px;
  padding: 0 32px;
  position: relative;
}

.single-cpa-contacts-item:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 48px;
  background: var(--gray-400);
  transform: translate(0, -50%);
}

.single-cpa-contacts-item:last-child:after {
  content: unset;
}

.single-cpa-contacts-item:first-child {
  padding: 0 32px 0 0;
}

.single-cpa-contacts-item-data {
  display: flex;
  align-items: center;
  gap: 16px;
}

.single-cpa-contacts-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.single-cpa-contacts-text h6 {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.single-cpa-contacts-text p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.single-cpa-contacts-text a {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--blue-900);
  text-decoration: none;
}

.single-cpa-contacts-img {
  border-radius: 12px;
  width: 48px;
  height: 48px;
  overflow: hidden;
}

.single-cpa-contacts-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-cpa-contacts-item-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.single-cpa-contacts-item-links a {
  width: 32px;
  height: 32px;
  background: var(--gray-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-event-btn,
.add-review-btn {
  padding: 13px;
  /*  16px 0 */
  background: var(--red-900);
  max-width: 262px;
  margin: 0 auto;
  /*  0 auto 12px auto */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s linear;
}

.add-event-btn:hover,
.add-review-btn:hover {
  transition: 0.3s linear;
  background: var(--dark-900);
}

.add-review-btn {
  width: auto;
  margin: 0;
}

.events-tabs {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
  width: 100%;
  border-bottom: 1px solid var(--background);
}

.events-tabs li {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 12px;
  cursor: pointer;
}

.events-tabs li.active-ev-tab {
  position: relative;
}

.events-tabs li.active-ev-tab a {
  color: var(--dark-900);
}

.events-tabs li.active-ev-tab:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background: var(--red-900);
}

.events-tabs li span {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 12px;
  /* line-height: 1; */
  letter-spacing: -0.02em;
  color: var(--white-900);
  background: var(--red-900);
  border-radius: 32px;
  padding: 5px 8px 5px 8px;
}

/*.events-tabs li span {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--white-900);
    background: var(--red-900);
    border-radius: 32px;
    padding: 2px 5px;
  }*/

.events-tabs li a {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  text-decoration: none;
}

.events-wrapper,
.events-tabs-wrapper {
  width: 100%;
}

.events-tabs-wrapper {}

.events-wrapper-panel {
  padding: 0 30px 0 34px;
}

.events-content {
  width: 100%;
  display: flex; 
  flex-wrap: wrap;
  /*gap: 24px 8px;*/
  gap: 15px 15px;
  margin-top: 30px;
  /*Added*/
  justify-content: flex-start;
}
}

.single-service-sidebar-baner .alarm-btn {
  background: var(--background);
  color: var(--dark-900);
}

.single-service-desc ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 8px 0;
  list-style: none;
}

.single-service-desc ul li {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 200%;
  color: var(--dark-700);
  padding-left: 15px;
  position: relative;
}

.single-service-desc ul li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--red-900);
}

.stock-content {
  gap: 18px;
}

.contacts-data>span {
  display: none;
}

.contacts-wrapper {
  box-shadow: inset 0 -2px 1px 1px rgba(166, 175, 253, 0.5);
  background: #fff;
  padding: 0 34px 64px 34px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 0 0 12px 12px;
}

.contacts-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.contacts-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 27px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin: 18px 0;
}

.contacts-content-wrapper {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 150px;
  margin-top: 32px;
}

.contact-form {
  max-width: 590px;
  width: 100%;
  margin-top: 0;
}

.contacts-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contacts-data>p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin-bottom: 6px;
}

.contacts-social-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.contacts-social-links a img {
  width: 32px;
  height: 32px;
}

.contacts-social-items {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.contacts-social-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contacts-social-item span {
  border-radius: 8px;
  width: 32px;
  height: 32px;
  background: var(--red-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-social-item div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.contacts-social-item div a {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
  text-decoration: none;
}

.contacts-social-item div p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.map-site-wrapper {
  background: #fff;
  padding: 34px 34px 250px 34px;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: inset 0 -2px 1px 1px rgba(166, 175, 253, 0.5);
}

.desktp-none {
  display: none;
}

.map-site-wrapper h1 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 27px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin-bottom: 32px;
}

.map-site-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.map-site-wrapper>h2 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  position: relative;
  padding-bottom: 4px;
  margin-bottom: 24px;
}

.map-site-wrapper>h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(120, 134, 159, 0.2);
}

.map-site-item-list>p {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  position: relative;
  padding-bottom: 4px;
}

.map-site-item-list>p:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(120, 134, 159, 0.2);
}

.map-site-item-list>ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-top: 18px;
}

.map-site-item-list>ul li {
  padding-left: 24px;
  padding-bottom: 4px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  position: relative;
}

.map-site-item-list>ul li:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  width: 100%;
  height: 1px;
  background: rgba(120, 134, 159, 0.2);
}

.map-site-item-list {
  position: relative;
}

.map-site-item-list::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 22px;
  height: calc(100% - 10px);
  width: 1px;
  background: rgba(120, 134, 159, 0.2);
}

.map-site-item-list::after {
  content: "";
  position: absolute;
  left: -14px;
  bottom: -13px;
  height: 1px;
  width: 30px;
  background: rgba(120, 134, 159, 0.2);
}

.page-404-wrapper {
  background: #fff;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 64px 0 280px 0;
}

.page-404-wrapper h2 {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--dark-900);
}

.onmain-btn {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  border: 1px solid var(--red-900);
  border-radius: 8px;
  background: var(--red-900);
  padding: 15px 64px;
  text-decoration: none;
  margin-top: 32px;
}

.error-404-img {
  width: 303px;
}

.error-500-img {
  width: 197px;
}

.page-500-wrapper {
  background: #fff;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 77px 0 315px 0;
}

.page-500-wrapper h2 {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--dark-900);
}

.users-content {
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.user-data {
  max-width: 320px;
  /*348*/
  width: 100%;
  height: 100%;
  border-right: 1px solid var(--gray-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 32px;
}

.user-icon-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 16px;*/
}

.user-icon,
.user-icon-data>div:first-child>img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  position: relative;
}

.user-icon:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000009b;
  background-image: url(/templates/cpamafiatop/images/photo.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 53px;
  transition: 0.3s linear;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-radius: 50%;
}

.user-icon:hover:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000009b;
  background-image: url(/templates/cpamafiatop/images/photo.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 53px;
  transition: 0.3s linear;
  opacity: 1;
  visibility: visible;
}

.user-icon input {
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

.user-icon img {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 50%;
}

.user-name-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-name-status p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

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

.user-rate p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: center;
}

.user-activity-status {
  margin: 18px 0;
  width: 100%;

  padding: 18px 32px;
  background: #e7eaef3f;
  border-top: 1px solid var(--gray-400);
  border-bottom: 1px solid var(--gray-400);
}

.user-activity-status ul {
  display: flex;
  align-items: center;
  /*justify-content: space-between;*/
  justify-content: space-evenly;
  list-style: none;
  width: 100%;
}

.user-activity-status ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.user-activity-status ul li p:first-child {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.user-activity-status ul li p:last-child {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-900);
}

.user-options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  padding: 0 18px 20px;
}

.user-options a {
  background: var(--background);
  width: 100%;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  transition: 0.3s linear;
}

.user-options a:hover {
  transition: 0.3s linear;
  color: #fff;
  background: var(--dark-900);
}

.user-options a:hover svg path {
  stroke: #fff;
  fill: #fff;
  transition: 0.3s linear;
}

.user-options p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--gray-800);
}

.user-content-panel {
  padding: 25px;
  /*  32px 32px 32px */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-panel-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.user-panel-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.user-panel-tabs li {
  padding: 11px 18px;
  border-radius: 8px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--gray-800);
  transition: 0.3s linear;
  cursor: pointer;
}

.user-panel-tabs li:hover {
  color: #000000;
  background: var(--background);
  transition: 0.3s linear;
}

.user-panel-tabs li.active-user-tab {
  color: #fff;
  background: var(--dark-900);
  transition: 0.3s linear;
}

.user-panel-btns a {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  padding: 11px 28px;
  background: var(--red-900);
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s linear;
}

.user-panel-btns a:hover {
  transition: 0.3s linear;
  background: var(--red-600);
}

.user-content-items {
  width: 100%;
  margin-top: 32px;
}

.user-content-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  /*min-width: 910px;*/
}

.user-states-posted {
  display: flex;
  align-items: flex-start;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  /* 18 16 */
}

.user-states-posted a {
   flex:1;
 }

.posted-user-post {
  max-width: 426px;
  width: 100%;
  height: 218px;
  border-radius: 11px;
  overflow: hidden;
  position: relative;
  padding: 14px 17px;
  display: flex;
  align-items: flex-end;
}

.posted-user-post:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.9) 100%);
}

.posted-user-post p {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--white-900);
  position: relative;
  z-index: 2;
  max-width: 256px;
}

.posted-user-post img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.posted-user-post-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--white-900);
  width: 93px;
  height: 28px;
  justify-content: center;
}

.posted-user-post-badge:after {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 93px;
  height: 28px;
  background: var(--red-900);
  transform: skew(-16deg);
  border-radius: 8px;
  z-index: -1;
}

.user-comments-posted {
  display: flex;
  flex-direction: column;
  /*align-items: flex-start;*/
  align-items: stretch;
  gap: 18px;
  width: 100%;
}

.user-comment-posted {
  padding: 12px 14px;
  border-radius: 4px;
  background: var(--background);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.user-comment-posted::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -11px;
  background-image: url(/templates/cpamafiatop/images/kov.svg);
  background-repeat: no-repeat;
  width: 24px;
  height: 25px;
}

.user-comment-posted div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-comment-posted div img {
  width: 18px;
  height: 18px;
}

.user-comment-posted div p {
  font-weight: 500;
}

.user-comment-posted p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.user-comment-posted p:last-child {
  font-weight: 700;
}

.user-comment-text {
  font-weight: 400;
  line-height: 140% !important;
  margin: 12px 0 0 0;
}

.user-reviews-items {
  display: flex;
  flex-direction: column;
  /*align-items: flex-start;*/
  align-items: stretch;
  gap: 18px;
  width: 100%;
}

.user-reviews-item {
  border-radius: 12px;
  padding: 24px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.user-reviews-item>p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-700);
}

.user-reviews-data {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.user-reviews-stats {
  display: flex;
  align-items: flex-start;
}

.user-reviews-stats img {
  width: 32px;
  height: 32px;
}

.user-reviews-stats div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 6px 0 12px;
}

.user-reviews-rate {
  display: flex;
  align-items: center;
  gap: 6px;
}

.green-bg-opacity {
  background: #4ace6710;
}

.red-bg-opacity {
  background: #ff424210;
}

.user-reviews-stats>p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: var(--gray-800);
}

.user-reviews-stats div p:first-child {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.user-reviews-stats div p:last-child {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--green-900);
}

.user-reviews-rate p {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: right;
}

.user-settings-panel {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

.user-settings-panel h1 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.user-settings-profile {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}

.user-settings-head {
  width: 100%;
  padding: 24px 12px 20px 18px;
  background: #e7eaef;
  display: flex;
  align-items: center;
  gap: 7px;
}

.user-settings-head p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.user-settings-content {
  width: 100%;
  padding: 24px;
}

.user-form {
  max-width: 378px;
  width: 100%;
}

.user-form {
  margin-top: 0;
}

.form-social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.form-social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.user-change-email-pass-wrapper {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 32px;
}

.user-change-item {
  overflow: hidden;
  max-width: 418px;
  width: 100%;
  height: 136px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}

.user-change-item-head {
  padding: 24px 18px 20px 18px;
  background: #e7eaef;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.user-change-item-click {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-change-item-click {
  padding: 24px 18px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.user-change-item-click a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.02), 0 0 5px 0 rgba(0, 0, 0, 0.03),
    0 0 9px 0 rgba(0, 0, 0, 0.03), 0 0 15px 0 rgba(0, 0, 0, 0.04),
    0 0 24px 0 rgba(0, 0, 0, 0.04), 0 0 43px 0 rgba(0, 0, 0, 0.05),
    0 0 92px 0 rgba(0, 0, 0, 0.07);
  background: var(--white-900);
  border-radius: 50%;
}

.change-password-wrapper {
  padding-top: 140px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  background: #00000095;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.change-password-wrapper-open {
  opacity: 1;
  visibility: visible;
}

.change-password-content {
  position: relative;
  max-width: 442px;
  width: 100%;
  height: fit-content;
  box-shadow: inset 0 -2px 1px 1px rgba(166, 175, 253, 0.5);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.change-password-head {
  width: 100%;
  background: #e7eaef;
  padding: 26px 32px 20px 32px;
}

.change-password-head p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.close-change-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: initial;
  border: none;
}

.change-pass-form {
  padding: 32px;
  width: 100%;
  margin-top: 0;
}

.change-email-btn,
.change-password-btn {
  cursor: pointer;
}

.vocancy-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vocancy-content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
}

.vocancy-content-head p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 6px;
}

.vocancy-items-wrapper {
  width: 100%;
}

.vocancy-items {
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;

  gap: 12px;
}

.vocancy-item {
  max-width: 450px;
  width: 100%;
  height: 185px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--gray-400);
  border-radius: 12px;
}

.vocancy-item a {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  width: 100%;
  padding: 17px 0;
  text-decoration: none;
  border: 1px solid var(--background);
  background: var(--background);
  border-radius: 12px;
  transition: 0.3s linear;
}

.vocancy-item ul {
  display: flex;
  align-items: flex-start;
  list-style: none;
}

.vocancy-item ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 110%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.vocancy-item ul li:first-child {
  color: var(--gray-800);
}

.vocancy-item-icon-data {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vocancy-item-icon-data img {
  width: 48px;
  height: 48px;
}

.vocancy-item-icon-data div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.vocancy-item-icon-data div p:first-child {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.vocancy-item-icon-data div p:last-child {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.vocancy-item-icon-data div p:last-child span {
  border-radius: 8px;
  background: rgba(32, 81, 255, 0.15);
  font-weight: 700;
  color: var(--blue-900);
  background: rgba(32, 81, 255, 0.15);
  padding: 3px 5.5px;
}

.vocancy-wrapper-panel {
  padding: 0 34px;
}

.dark-hover:hover {
  transition: 0.3s linear;
  color: #fff;
  background: var(--dark-900) !important;
}

.vocancy-line {
  margin: 24px 0;
}

.vocancy-items-wrapper>p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin-bottom: 24px;
}

.vocancy-item a.white-btn {
  background: #fff;
  border: 1px solid var(--background);
}

.range-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
}

.range-slider {
  width: 100%;
  margin-bottom: 18px;
}

.extra-controls {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.irs-min,
.irs-max,
.irs-from,
.irs-to {
  display: none;
}

.irs-handle {
  width: 18px !important;
  height: 18px !important;
  background: var(--blue-900) !important;
  border: 3px solid #fff !important;
  box-shadow: none !important;
  top: 5px !important;
}

.irs-bar {
  background: var(--blue-900);
}

.irs--round .irs-handle {
  top: 28px;
}

.irs--round {
  height: 0;
}

.irs-single {
  display: none;
}

.irs--round .irs-line,
.irs--round .irs-bar {
  top: 12px;
}

.range-wrapper .login-form div input {
  font-family: var(--font-family) !important;
}

.rub-rate {
  width: 18px;
  height: 18px;
  border: 1px solid var(--gray-600);
  border-radius: 50%;
  box-sizing: content-box;
  transition: 0.3s linear;
}

.rub-rate:hover {
  transition: 0.3s linear;
  border: 1px solid var(--gray-800);
}

.active-checkbox {
  border: 1px solid var(--red-900) !important;
  position: relative;
}

.active-checkbox:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(/templates/cpamafiatop/images/check.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  width: 10px;
  height: 7.2px;
  pointer-events: none;
}

.rub-rate input {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.dollar-rate {
  width: 18px;
  height: 18px;
  border: 1px solid var(--gray-600);
  border-radius: 50%;
  box-sizing: content-box;
  transition: 0.3s linear;
}

.dollar-rate:hover {
  transition: 0.3s linear;
  border: 1px solid var(--gray-800);
}

.dollar-rate input {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.sidebane-filter-baner {
  width: 100%;
}

.link-telegramm-img {
  padding: 14px 17px 0 17px;
}

.link-telegramm-img a img {
  width: 100%;
}

.single-vocancy-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  padding: 0 34px;
  gap: 32px;
}

.single-vocancy-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.single-vocancy-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 826px;
  width: 100%;
}

.single-vocancy-content>div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.single-vocancy-content>div h2 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.single-vocancy-content>div p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 15px;
  line-height: 170%;
  color: var(--dark-700);
}

.single-vocancy-content>div ul {
  display: flex;
  flex-direction: column;
  align-items: start;
  list-style: none;
}

.single-vocancy-content>div ul li {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 200%;
  color: var(--dark-700);
  padding-left: 18px;
  position: relative;
}

.single-vocancy-content>div ul li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--red-900);
}

.recommend-vocancy-wrapper {
  padding: 42px 0 23px 0;
  border-radius: 0 0 12px 12px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 33px;
  background: #fff;
  width: 100%;
}

.recommend-vocancy {
  width: 100%;
  padding: 0 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.recommend-vocancy h2 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.vocancy-items-rec {
  gap: 12px;
}

.vocancy-item-rec {
  max-width: 600px;
}

.single-vocancy-sidebar {
  width: 324px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.single-vocancy-sidebar>img {
  width: 100%;
}

.single-vocancy-sidebar-item {
  width: 100%;
  border-radius: 12px;
  padding: 18px 24px 24px 24px;
  border: 1px solid var(--gray-400);
  box-shadow: inset 0 -3px 1px 0 #e8eaec;
  background: #fff;
}

.single-vocancy-sidebar-item h4 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin-top: 18px;
}

.single-vocancy-sidebar-item div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-vocancy-sidebar-item div p:first-child {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.single-vocancy-sidebar-item div p:last-child {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--blue-900);
  padding: 3px 4.5px;
  background: rgba(32, 81, 255, 0.15);
  border-radius: 8px;
  margin-top: 4px;
}

.single-vocancy-sidebar-item a {
  width: 100%;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  background: var(--red-900);
  border-radius: 8px;
  border: none;
  text-decoration: none;
  padding: 15px 0;
  transition: 0.3s linear;
}

.single-vocancy-sidebar-item a:hover {
  background: var(--red-600);
  transition: 0.3s linear;
}

.add-vocancy-panel {
  width: 100%;
  background: #fff;
  border-radius: 0 0 12px 12px;
  position: relative;
}

.add-state-panel {
  width: 100%;
  background: #fff;
  border-radius: 0 0 12px 12px;
  position: relative;
}

.add-vocancy-panel-wrapper {
  padding: 0 34px 34px 34px;
}

.panel-apply {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 17px 75px 45px 75px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 0 18px -9px #0000005e;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 5;
}

.panel-apply button:first-child {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--white-900);
  background: var(--red-900);
  border: 1px solid var(--red-900);
  border-radius: 8px;
  padding: 14px 62.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: 0.3s linear;
}

.panel-apply button:first-child:hover {
  color: var(--white-900);
  background: var(--dark-900);
  border: 1px solid var(--dark-900);
  transition: 0.3s linear;
}

.panel-apply button:last-child {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  background: var(--background);
  border-radius: 8px;
  padding: 14px 22.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: 0.3s linear;
}

.panel-apply button:last-child:hover {
  color: var(--white-900);
  background: var(--dark-900);
  transition: 0.3s linear;
}

.panel-apply button:last-child svg path {
  transition: 0.3s linear;
}

.panel-apply button:last-child:hover svg path {
  stroke: #fff;
  transition: 0.3s linear;
}

.call-sold-btn {
  border: 1px solid var(--gray-600);
  border-radius: 8px;
  padding: 15px 0;
  max-width: 100%;
  width: 100%;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 11px;
  transition: 0.3s linear;
}

.call-sold-btn:hover {
  transition: 0.3s linear;
  color: #fff;
  border: 1px solid var(--dark-900);
  background: var(--dark-900);
}

.add-vocancy-wrapper {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.add-vocancy-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.add-vocancy-title h2 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 27px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.add-vocancy-content {}

.add-vocancy-item .dropdown-item {
  padding: 0;
  width: 100%;
}

.add-vocancy-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 24px;
  max-width: 470px;
  width: 100%;
}

.no-width {
  max-width: 100%;
}

.add-vocancy-item h4 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.add-vocancy-item form {
  margin-top: 0;
}

.d-input {
  position: relative;
}

.d-input label {
  left: 60px !important;
}

.d-input input {
  padding: 27px 15px 9px 60px !important;
}

.d-input svg {
  position: absolute;
  top: 50% !important;
  transform: translate(0, -50%) !important;
  left: 18px !important;
  display: block;
}

.d-input:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  left: 48px;
  width: 1px;
  height: 32px;
  background: #d9d9d9;
  z-index: 2;
}

.vocancy-form-links {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 18px;
}

.vocancy-form-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.vocancy-form-links a:first-child {
  color: #57c3ff;
}

.vocancy-form-links a:last-child {
  color: #2454ff;
}

.vocancy-form-links a svg {
  position: static !important;
}

.add-contact-person {
  width: 100%;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--blue-900);
  padding: 14px 0;
  border: 1px dashed var(--blue-900);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 4px;
}

.dropdown-trafic-line {
  flex-direction: row;
}

.dropdown-trafic-line li div {
  width: unset !important;
}

.dropdown-trafic-line li div input {
  width: 18px !important;
}

.price-vocancy-item {
  display: flex;
  align-items: center;
  gap: 24px;
}

.price-vocancy-item div {
  max-width: 216px;
}

.price-vocancy-item div input {
  max-width: 216px;
}

.voc-item ul li div {
  width: 18px !important;
}

.voc-item {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
}

.voc-item>p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.add-vocancy-item>p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 15px;
  line-height: 170%;
  color: var(--dark-700);
  max-width: 826px;
  width: 100%;
}

.add-vocancy-sidebar {
  max-width: 276px;
  width: 100%;
}

.add-vocancy-sidebar-radio-panel {
  width: 100%;
  padding: 8px 8px 16px 8px;
  border: 1px solid var(--gray-600);
  border-radius: 12px;
}

.wrapper-img-text {
  width: 100%;
  height: 204px;
  overflow: hidden;
  border-radius: 12px;
}

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

.add-vocancy-sidebar-radio {
  width: 100%;
  margin-top: 8px;
}

.add-vocancy-sidebar-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  gap: 4px;
  width: 100%;
}

.sidebar-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 23px 8px 18px;
  border-radius: 12px;
  cursor: pointer;
}

.sidebar-list-item-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar-list-item-text p:first-child {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.sidebar-list-item-text p:last-child {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--dark-700);
}

.sidebar-list-input {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gray-600);
  background: var(--gray-200);
  position: relative;
}

.sidebar-list-item-active {
  background: rgba(255, 66, 66, 0.1);
}

.sidebar-list-item-active .sidebar-list-item-text p:first-child {
  color: var(--red-900);
}

.sidebar-list-item-active .sidebar-list-item-text p:last-child {
  color: var(--red-900);
}

.sidebar-list-item-active .sidebar-list-input {
  border: 1px solid var(--red-900);
}

.sidebar-list-item-active .sidebar-list-input:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--red-900);
  border-radius: 50%;
}

.sidebar-list-input input {
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.list-additional {
  width: 100%;
}

.list-additional-ul {
  display: flex;
  align-items: start;
  list-style: none;
  width: 100%;
  gap: 18px;
  margin-top: 24px;
  border-bottom: 1px solid var(--background);
}

.list-additional-ul li {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  padding-bottom: 12px;
  position: relative;
  cursor: pointer;
}

.list-additional-ul li.active-li {
  color: var(--dark-900);
}

.list-additional-ul li.active-li:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--red-900);
}

.add-post-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000b5;
  display: flex;
  justify-content: center;
  z-index: 99;
  padding-top: 140px;
  opacity: 0;
  visibility: hidden;
}

.add-post-wrapper-open {
  opacity: 1;
  visibility: visible;
}

.add-post-content {
  max-width: 510px;
  width: 100%;
  height: fit-content;
  box-shadow: inset 0 -2px 1px 1px rgba(166, 175, 253, 0.5);
  background: #fff;
  border-radius: 16px;
  position: relative;
}

.close-add-post {
  border: none;
  background: initial;
  position: absolute;
  top: 18px;
  right: 18px;
}

.add-post-content>p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  width: 100%;
  padding: 26px 32px 20px 32px;
  background: #e7e7e7;
  border-radius: 16px 16px 0 0;
}

.add-post-items {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /*space-between*/
  padding: 32px;
}

.add-post-items a {
  text-decoration: none;
}

.add-post-item {
  width: 133px;
  height: 176px;
  position: relative;
  padding: 16px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.add-post-item img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.add-post-item:last-child img {
  top: 10px;
}

.add-post-item p {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.add-post-item p span {
  font-weight: 400;
}

/* Added */

/* Add review Modal */
.add-review-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000b5;
  display: flex;
  justify-content: center;
  z-index: 99;
  padding-top: 140px;
  opacity: 0;
  visibility: hidden;
}

.add-review-wrapper-open {
  opacity: 1;
  visibility: visible;
}

.add-review-content {
  max-width: 640px; /*510*/
  width: 100%;
  height: fit-content;
  box-shadow: inset 0 -2px 1px 1px rgba(166, 175, 253, 0.5);
  background: #fff;
  border-radius: 16px;
  position: relative;
}

.close-add-review {
  border: none;
  background: initial;
  position: absolute;
  top: 18px;
  right: 18px;
}

.add-review-content>p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  width: 100%;
  padding: 26px 32px 20px 32px;
  background: #e7e7e7;
  border-radius: 16px 16px 0 0;
}

.add-review-items {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /*space-between*/
  padding: 32px;
}

.add-review-items a {
  text-decoration: none;
}

.add-review-item {
  width: 133px;
  height: 176px;
  position: relative;
  padding: 16px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.add-review-item img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.add-review-item:last-child img {
  top: 10px;
}

.add-review-item p {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.add-review-item p span {
  font-weight: 400;
}

.add-review-content > form#dle-comments-form {
    padding: 33px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.add-review-content .comments-vote {
	margin-right:unset;
}
.add-review-content .reviews-reactions {
	margin-top:unset;
}
.add-review-content .comments-rating__select {
    margin: 22px 0px;
}
.add-review-content .comments-rating__select>label {
    font-size: 13px;
}
.add-review-content .comments-add {
	margin-top:unset;
    margin-bottom: 27px;
}
.add-review-content .send-comment-btn {
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    justify-content: center;
}
/* Add review Modal */

.add-post {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 18px;
  margin-top: 24px;
}

.add-post div {
  width: 100%;
  position: relative;
}

.add-post div label {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 11px;
  line-height: 1;
  color: var(--gray-800);
  position: absolute;
  top: 13px;
  left: 15px;
  z-index: 2;
}

.add-post div input {
  padding: 27px 15px 9px 15px;
  background: var(--gray-200);
  width: 100%;
  border-radius: 7px;
  outline: none;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-900);
  transition: 0.3s linear;
  border: 2px solid #ffffff00;
}

/* ----- */
.add-state-content {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.state-edit-panel-aply {
  padding: 17px 75px 45px 180px;
}

.add-state-content-head {
  display: flex;
  align-items: center;
  margin-top: 37px;
}

.add-state-content-head div {
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-right: 1px solid var(--background);
}

.add-state-content-head div:first-child {
  padding: 0;
}

.add-state-content-head div:last-child {
  border-right: none;
}

.add-state-content-head div:last-child p {
  color: var(--gray-800);
  font-weight: 500;
}

.add-state-content-head div p {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.add-state-content-head div span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--red-900);
  border-radius: 6px;
}

.add-state-content-wrapper {
  margin-top: 20px;
}

.add-state-content-wrapper>input#title,
.add-state-content-wrapper>input#title::placeholder {
  background-color: #fff;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-transform: inherit;
  color: var(--gray-600);
  padding: 10px 5px;
}

.add-state-content-wrapper input#title:focus {
  border: 3px solid #101010;
}

.add-state-content-wrapper>h2 {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.add-photo-wrapper {
  max-width: 744px;
  width: 100%;
  height: 314px;
  border: 1px dashed var(--gray-800);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 32px 0 40px 0;
  position: relative;
}

.add-photo-wrapper input {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.add-photo-wrapper h5 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
}

.add-photo-wrapper h5 span {
  color: var(--red-900);
}

.add-photo-wrapper p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 146%;
  letter-spacing: -0.01em;
  text-align: center;
  color: #9296ab;
  margin-top: 18px;
}

.add-state-content-wrapper>p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 200%;
  color: var(--dark-700);
  max-width: 744px;
}

.state-tags-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.state-tags-list li {
  padding: 6px;
  background: rgba(231, 234, 239, 0.4);
  border-radius: 3px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-600);
  cursor: pointer;
  transition: 0.3s linear;
}

.state-tags-list li:hover {
  background: var(--dark-900);
  color: var(--white-900);
  transition: 0.3s linear;
}

.state-tags-list li:hover span {
  color: var(--white-900);
  transition: 0.3s linear;
}

.state-tags-list li span {
  color: var(--gray-800);
}

.state-tags-list li.active-tag {
  background: var(--red-900);
  color: var(--white-900);
}

.state-tags-list li.active-tag span {
  color: var(--white-900);
}

.state-tags-list-wrapper {
  margin: 40px 0 110px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
}

.table-p {
  display: none;
}

.state-tags-list-wrapper p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.users-comment-likes-mobile {
  display: none !important;
}

.inputs-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.inputs-wrapper>div {
  width: 100%;
  position: relative;
}

.inputs-wrapper div label {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 11px;
  line-height: 1;
  color: var(--gray-800);
  position: absolute;
  top: 13px;
  left: 15px;
  z-index: 2;
}

.inputs-wrapper div input {
  padding: 27px 15px 9px 15px;
  background: var(--gray-200);
  width: 100%;
  border-radius: 7px;
  outline: none;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-900);
  transition: 0.3s linear;
  border: 2px solid #ffffff00;
}

.inputs-wrapper div input:focus {
  background: #fff;
  border: 2px solid var(--dark-900);
}

.inputs-wrapper div input:hover {
  transition: 0.3s linear;
  background: var(--gray-600);
}

.add-video-wrapper {
  border-radius: 8px;
  overflow: hidden;
  max-width: 744px;
  width: 100%;
  height: 314px;
  margin-top: 32px;
  position: relative;
}

.add-video-wrapper>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.add-video-btns {
  position: absolute;
  top: 12px;
  z-index: 2;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.add-video-btns button {
  box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.04), 0 4px 19px 0 rgba(0, 0, 0, 0.06),
    0 7px 38px 0 rgba(0, 0, 0, 0.07), 0 15px 79px 0 rgba(0, 0, 0, 0.09),
    0 42px 217px 0 rgba(0, 0, 0, 0.13);
  background: rgba(40, 48, 63, 0.5);
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
}

.add-v-btn {
  box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.04), 0 4px 19px 0 rgba(0, 0, 0, 0.06),
    0 7px 38px 0 rgba(0, 0, 0, 0.07), 0 15px 79px 0 rgba(0, 0, 0, 0.09),
    0 42px 217px 0 rgba(0, 0, 0, 0.13);
  background: rgba(40, 48, 63, 0.5);
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-v-btn input {
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  cursor: pointer;
}

.add-video-input {
  max-width: 744px;
  width: 100%;
}

.back-r-btn {
  display: none;
}

.table-baner-vocancy {
  display: none;
}

.table-add-vocancy-title {
  display: none;
}

.redact-content-wrapper {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 58px;
  width: 100%;

  position: relative;
}

.redact-content-items {
  display: flex;
  width: 100%;
  padding-left: 181px;
  gap: 58px;
}

.redact-service-wrapper {
  padding: 0;
}

.redact-service-wrapper .state-bread-crumbs {
  padding: 25px 0 0 181px;
}

.redact-content-left-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 282px;
  width: 100%;
}

.redact-content-img {
  width: 282px;
  height: 119px;
  border: 1px solid var(--gray-400);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.redact-main-range {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.redact-inputs {
  margin-top: 0;
}

.redact-main-range>p:nth-child(1) {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.redact-main-range>p:nth-child(2) {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
  margin-top: 17px;
}

.check-box-redact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.check-box-redact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-box-redact-item div {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gray-600);
}

.check-box-redact-item div input {
  width: 100%;
  height: 100%;
  opacity: 0;
}

.check-box-redact-item p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.redact-inputs .inputs-wrapper {
  gap: 12px;
}

.redact-inp div {
  position: relative;
}

.redact-inp div span {
  position: absolute;
  top: 19px;
  right: 19px;
  background: var(--gray-800);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.redact-inp div span svg {
  position: static !important;
}

.tooltip-wrapper {
  padding: 21px 18px 24px 18px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1), 0 0 60px 0 rgba(0, 0, 0, 0.05);
  background: var(--dark-900);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 306px !important;
  position: absolute !important;
  top: -140px;
  left: 77%;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
}

.gray-tolltip {
  background: var(--dark-900) !important;
}

.tooltip-wrapper-open {
  opacity: 1;
  visibility: visible;
}

.tooltip-wrapper:after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--dark-900);
  transform: rotate(45deg);
  position: absolute;
  bottom: -4px;
  left: 32px;
}

.tooltip-wrapper p {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 13px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: var(--white-900);
}

.check-box-redact-two {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 24px;
  width: 100%;
}

.check-box-redact-two p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin-bottom: 24px;
}

.soc-lin {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 24px;
  gap: 18px;
}

.soc-lin a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.soc-lin a:first-child {
  color: #57c3ff;
}

.soc-lin a:last-child {
  color: #2454ff;
}

.redact-content-right-bar {
  max-width: 693px;
  width: 100%;
}

.redact-content-right-bar h6 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.redact-content-right-bar>p {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 200%;
  color: var(--dark-700);
  margin-top: 24px;
}

.checks-items-redact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  margin-top: 120px;
}

.checks-item-redact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.checks-item-clicks {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 693px;
  width: 100%;
}

.checks-item-click {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checks-item-redact>p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.checks-item-click>div {
  width: 18px;
  height: 18px;
  border: 1px solid var(--gray-600);
  border-radius: 2px;
  position: relative;
}

.checks-item-click>div.active-ck {
  border: 1px solid var(--red-900);
}

.checks-item-click>div.active-ck:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/templates/cpamafiatop/images/check.svg);
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.checks-item-click>div input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.checks-item-click p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.range-redact-items {
  margin-top: 48px;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.range-redact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.range-redact-item>p {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.range-redact-item div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.range-redact-item div p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.redact-user-data {
  width: 100%;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--background);
}

.redact-user-name-icon {
  display: flex;
  align-items: center;
  gap: 16px;
}

.redact-user-name-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.redact-user-icon {
  width: 48px;
  height: 48px;
  position: relative;
  cursor: pointer;
}

.redact-user-icon img {
  transition: 0.3s linear;
}

.redact-user-icon:hover img {
  filter: brightness(0.3);
  transition: 0.3s linear;
}

.redact-user-icon svg {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.redact-user-icon:hover svg {
  opacity: 1;
  visibility: visible;
}

.redact-user-name-item:first-child p {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
}

.redact-user-name-item:last-child p {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.redact-user-name-item button {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.02), 0 0 5px 0 rgba(0, 0, 0, 0.03),
    0 0 9px 0 rgba(0, 0, 0, 0.03), 0 0 15px 0 rgba(0, 0, 0, 0.04),
    0 0 24px 0 rgba(0, 0, 0, 0.04), 0 0 43px 0 rgba(0, 0, 0, 0.05),
    0 0 92px 0 rgba(0, 0, 0, 0.07);
  background: var(--white-900);
  border: none;
}

.redact-social {
  margin-top: 24px;
}

.menu-publications-slide {
  width: 309px;
  height: 160px;
}

.menu-state-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.menu-state-preview>p {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

.menu-publications-slide>p {
  font-size: 11px;
}

.burger-wrapper {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
}

.burger-wrapper-open {
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}

.burger-content {
  float: right;
  background: #fff;
  width: 45vw;
  height: 100vh;
  /*height: fit-content;*/
  padding: 80px 24px 24px 24px;
  border-radius: 0 0 0 12px;
  transform: translateX(25vw);
  /* Y -600px */
  transition: 0.3s linear;
}

.burger-content-open {
  transform: translateY(0);
  transition: 0.3s linear;
}

.burger-content>ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px 64px;
  height: 100px;
  flex-wrap: wrap;
  width: fit-content;
}

.burger-content ul a {
  font-family: var(--second-family);
  font-weight: 700;
  /*500*/
  font-size: 14px;
  /*13*/
  letter-spacing: -0.02em;
  color: var(--dark-900);
  text-decoration: none;
}

.wrapper-burger-dropdown {
  width: 100%;
  /*margin-top: 32px;*/
}

.wrapper-burger-dropdown>ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  width: 100%;
}

.wrapper-burger-dropdown>ul>li {
  padding: 18px 0;
  width: 100%;
  border-bottom: 1px solid var(--background);
}

/*.wrapper-burger-dropdown > ul > li:first-child {
    border-top: 1px solid var(--background);
  }*/

.wrapper-burger-dropdown>ul>li p {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /*justify-content: space-between;*/
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  gap: 8px;
}

/* Added */
.wrapper-burger-dropdown>ul>li svg {
  transform: rotate(270deg);
}

.sub-burger-menu {
  margin-top: 10px;
  display: none;
}

.sub-burger-menu-open {
  display: block;
}

.sub-burger-menu>ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  list-style: none;
  padding-left: 20px;
}

.swiper-btn-hover {
  transition: 0.3s linear;
}

.swiper-btn-hover:hover {
  transition: 0.3s linear;
  background: var(--red-900);
}

.swiper-btn-hover:hover svg path {
  stroke: #fff;
}

.save-options:hover {
  transition: 0.3s linear;
  background: var(--dark-900) !important;

  color: #fff !important;
}

.fixed-link {
  position: fixed;
  top: 78px;
  /* Отступ от верхней границы */
  z-index: 1000;
  /* Чтобы ссылка была сверху других элементов */
  max-width: 276px;
  width: 100%;
}

/*** 
  Added
  ****/
div#main-content {
  width: 100%;
}

input,
textarea {
  padding: 27px 15px 9px 15px;
  background: var(--gray-200);
  width: 100%;
  border-radius: 7px;
  outline: none;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-900);
  transition: 0.3s linear;
  border: 2px solid #ffffff00;
}

input[type=button],
input[type=submit] {
  /*font-size: .85rem;
    float: right;*/
  border: 0 none;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 8px;
  outline: none;
  background-color: #ff4242;
  color: #fff;
  border: 0 none;
  padding: 12px 19px;
  text-decoration: none !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  -webkit-transition: allease .1s;
  transition: allease .1s;
  /* text-shadow: 0 1px #333;*/
}

.single-prev-img img {
  width: 200px;
  max-width: 200px;
}

img.avatar {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -khtml-border-radius: 50%;
}

.none {
  display: none !important;
}

.state-author a {
  color: #28303f;
  text-decoration: none;
}

.index-state-main-baner {
  padding: 15px 0 15px 0;
  display: block;
  border-radius: 52px;
}

.index-state-main-baner img {
  width: 100%;
  border-radius: 10px;
}

ul.dropdown-trafic.sidebar_filter label {
  display: inline;
  cursor: pointer;
}

ul.dropdown-trafic.sidebar_filter a {
  text-decoration: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  cursor: pointer;
}

/* Reviews. */

.comment__list {
  margin-top: 20px;
}

.comment__list {
  list-style: none;
}

.comment__list .children {
  list-style: none;
  margin-left: 25px;
}

.reviews_top_avatar {
  width: 32px;
  height: 32px;
}

.reviews_top_reply {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  gap: 2px;
  /*Added*/
  font-weight: 600;
  /*Added*/
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.negative__comment>.reviews {
  background-color: #ff424220;
}

.positive__comment>.reviews {
  background-color: #4ace6720;
}

.comment__list #respond .button {
  margin-bottom: 45px;
}

.triple_blocks:not(:last-child) {
  margin-bottom: 8px;
}

.reviews_wrapper:last-child .reviews {
  margin-bottom: 0;
}

.reviews_bottom_li_resolved {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #0fa93a;
}

.reviews_bottom_li_resolved svg {
  height: 20px;
  fill: #0fa93a;
  margin-right: 5px;
}

/* lastcomments */
div.item-page-lastcomments div:has(>.review) {
  margin-bottom: 20px;
}

/* Comment Image */

.form__respond .my_block_button {
  margin-bottom: 18px;
}

.form__respond .file-preview {
  margin-bottom: 18px;
}

.comment-image {
  margin-top: 16px;
}

.comment-image img {
  width: auto;
}

/* END: Comment Image */

.comments-tree-item ol {
  padding-left: 30px;
}

.reviews.positive,
.main-sidebar-reviews-item.positive {
  background-color: #f0fff0;
}

.reviews.negative,
.main-sidebar-reviews-item.negative {
  background-color: #fff0f2;
}

/* Reviews. */

.reviews {
  padding: 20px 32px;
  /*margin-bottom: 36px;*/
  background-color: var(--background);
  border-radius: 12px;
  position: relative;
}

.reviews_top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 12px;
}

.reviews_top_name,
.reviews_top_name a {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-700);
  margin: 0 6px 0 6px;
  gap: 12px;
}

.reviews_top_date {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--gray-800);
}

.review {
  margin-bottom: 12px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: var(--dark-700);
}

.reviews_bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  padding: 8px;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}

.reviews_bottom_li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  align-content: center;
  gap:7px;
 /* margin-right: 32px;
  margin-bottom: 8px; */
}

.reviews_bottom_li_txt {
  margin-right: 8px;
}

.reviews_bottom_number {
  color: #ff4242;
}

.comm-action {
  position: absolute;
  bottom: 30px;
  right: 30px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

ol.comments-tree-list.comments-items {
  list-style: none;
  position: relative;
}

/*.reviews::before {
        content: "";
        position: absolute;
        top: 0;
        left: -20px;
        width: 1px;
        height: 100%;
        background: var(--background);
    }*/

/* Rating Vote */

.comments-vote {
  display: inline-block;
  margin-right: 18px;
}

.comments-vote label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--dark-900);
  border-radius: 8px;
  padding: 15px 24px;
  background: var(--background);
  border: none;
  transition: 0.3s linear;
  cursor: pointer;
}

.comments-vote input:checked~label {
  color: #fff;
}

#rating_positive:checked~label,
#mrating_positive:checked~label {
  background: #10c722;
}

#rating_default:checked~label,
#mrating_default:checked~label {
  background: #9f9f9f;
}

#rating_negative:checked~label,
#mrating_negative:checked~label {
  background: #ff4242;
}

#mrating_positive:checked~label,
#mrating_default:checked~label,
#mrating_negative:checked~label {
  border-radius: 10px;
}

.comments-vote:last-child {
  margin-right: 0;
}

.comments-vote input {
  display: none;
}


.comments-rating__select {
  margin: 10px auto;
  border: none;
  float: left;
}

.comments-rating__select>label {
  color: #90A0A3;
  float: right;
}

.comments-rating__select>label:before {
  margin: 5px;
  font-size: 2em;
  font-family: FontAwesome;
  content: "\f005";
  display: inline-block;
}

.comments-rating__select>input {
  display: none;
}

.comments-rating__select>input:checked~label,
.comments-rating__select:not(:checked)>label:hover,
.comments-rating__select:not(:checked)>label:hover~label {
  color: #F79426;
}

.comments-rating__select>input:checked+label:hover,
.comments-rating__select>input:checked~label:hover,
.comments-rating__select>label:hover~input:checked~label,
.comments-rating__select>input:checked~label:hover~label {
  color: #FECE31;
}

/* END: Rating Vote */

/* Rating Select */
/* Reviews. */

/* Podcast */
.podcast-img:after {
  background-image: url('../images/audio.svg');
}

.podcast-img:hover:after {
  display: none;
}

/* Articles */

.ui_block {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

@media (max-width: 1439px) {
  .ui_block ul {
    margin: 24px 0;
    gap: 18px;
  }

  .ui_block ul li {
    font-size: 14px;
    line-height: 1;
  }
}

.ui_block ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  gap: 12px;
  margin: 24px 0 32px 0;
}

.ui_block ul li {
  font-family: var(--second-family);
  font-weight: 500;
  font-size: 17px;
  line-height: 200%;
  color: var(--dark-700);
  padding-left: 18px;
  position: relative;
}

.state-text h3 {
  margin-top: 32px;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  padding-left: 12px;
  border-left: 2px solid var(--red-900);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#dle-captcha {
  display: block;
  margin: 0 0 10px;
  width: 120px !important;
}

.title {
  margin-top: 32px;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  padding-left: 12px;
  border-left: 2px solid var(--red-900);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

span.searchheading {
  padding: 10px;
}

span.searchheading:hover {
  cursor: pointer;
  font-weight: bold;
}

.sort_search_bar {
  line-height: 18px;
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
}

.sort_search_bar::before {
  /* line-height: 8px; */
  display: inline-block;
  content: '';
  width: 2px;
  height: 13px;
  margin-right: 5px;
  background-color: #ff4242;
}

.box {
  width: 100%;
  color: #000000;
  background: #ffebea;
  border-radius: 5px;
  /* border: 1px solid #F44336; */
  border-left: 5px solid #F44336;
  padding: 15px 15px;
  margin: 15px auto;
  font-size: 14px;
}

.box a {
  font-weight: bold;
}

/*.box b {
  display: block;
}*/

.box li {
  list-style: none;
  margin-bottom: 5px;
}
.box.bsuccess {
    background: #e8ffce;
    border-left: 5px solid #8BC34A;
}
.form-checkbox-inline {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-right: 15px;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.form-checkbox-inline input {
  margin-right: 5px;
  margin-right: 5px;
  margin-right: 0.3125rem;
  width: auto;
  position: static;
}

.form-checkbox-inline>input:checked+label {
  color: #fff;
  font-weight: bold;
  background: var(--red-900);
}

/*.sidebar_tag_li {
    display: inline-block;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin-right: 8px;
    margin-bottom: 8px;
    padding: 8px 18px 8px 32px;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 2px;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}*/
.sidebar_tag_li label {
  margin: 4px;
  padding: 8px;
  border-radius: 3px;
  background: var(--background);
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  cursor: pointer;
  transition: 0.3s linear;
}

.sidebar_tag_li>label {
  margin-left: 10px;
}

.sidebar_tag_li label:before {
  content: '';
  position: absolute;
  top: calc(50% - 4px);
  left: 16px;
  width: 8px;
  color: var(--red-900);
  height: 8px;
  background-repeat: no-repeat;
  background-position: left center;
  background-image: url('../images/sh.svg');
}

.form-checkbox-inline input {
  display: none;
}

.plupload_button.plupload_add,
.plupload_button.plupload_add:hover {
  background-color: #ff4242 !important;
  border-color: #ff4242 !important;
}

.userinfo ul {
  list-style: none;
}

.drop-down-click-panel {
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
  position: absolute;
  top: 53px;
  left: -82px;
  z-index: 1;
  background: #fff;
  max-width: 290px;
  width: 100%;
  height: 124px;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.02), 0 5px 4px 0 rgba(0, 0, 0, 0.03), 0 10px 8px 0 rgba(0, 0, 0, 0.03), 0 16px 13px 0 rgba(0, 0, 0, 0.04);
}

.drop-down-click-panel.open-panel {
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}

a.partner_link:hover {
  transition: 0.2s linear;
  color: #ff4242;
}
.characters-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  margin: 15px 0px 22px;
  gap: 23px 120px; 
  max-height: 257px;
  flex-wrap: wrap;
}
.characters-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.characters-list li.no-item div svg path {
  stroke: #78869f;
}

.characters-list li.no-item div p:last-child {
  color: #78869f;
} 
.characters-list-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.characters-list-icon>svg path {
  stroke: var(--dark-900);
}

.characters-list-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 400px;
  width: 100%;
}

.characters-list-text p:first-child {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--gray-800);
}

.characters-list-text p:last-child {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}