/*#region variables*/
:root {
  --main-blue-color: #38265f;
  --accent-green-color: #b6d461;
  --light-green-color: #d1f372;
  --secondary-yellow-color: #fff844;

  --white-color: #fff;

  --transition-value: all 0.4s linear;
  --icons-font: "Font Awesome 6 Free";
}

/*#endregion variables*/

/*#region generalStyles*/
*,
*::after,
*::before {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  line-height: 20px;
  font-weight: 500;
  font-style: normal;
  color: var(--main-blue-color);
  overflow-x: hidden;
}

a {
  /* display: block; */
  text-decoration: none;
  color: var(--main-blue-color);
  cursor: pointer;
}

a:focus {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

button {
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.container {
  max-width: 1920px;
  width: 100%;
  padding: 0 200px;
  margin: 0 auto;
}

.section {
  padding: 125px 0 0;
}

.section h2 {
  font-size: 36px;
  line-height: 36px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

a.page__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 310px;
  height: 85px;
  font-size: 24px;
  background-image: url("./images/about__link__background.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transition: var(--transition-value);
  transform-origin: left bottom;
}

a.page__link:hover {
  transform: scale(1.05);
}

.link-main {
  height: 70px;
}

main {
  position: relative;
  top: - var(--header-h) !important;
}

/*#endregion generalStyles*/

/*#region header*/
header {
  position: relative;
  background: var(--accent-green-color);
  font-size: 20px;
  z-index: 1;
  z-index: 999;
  height: var(--header-h);
}

header.hidden {
  height: 0px;
}


.header--mobile {
  display: none;
}

.header--desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding-top: 45px;
  padding-bottom: 60px; */
  padding: 10px 0;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__nav-list li {
  position: relative;
}

.header__nav-list li a {
  width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  transition: var(--transition-value);
}

.header__nav-list li a:hover {
  color: var(--secondary-yellow-color);
}

.header__nav-list ul {
  position: absolute;
  padding: 30px 0;
  width: 110%;
  left: -5%;
  top: 40px;
  background-color: var(--light-green-color);
  border-radius: 30px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-value);
}

.header__nav-list li:hover>ul {
  opacity: 1;
  pointer-events: all;
}

.header__nav-list ul li a {
  padding: 12px 25px;
  text-align: center;
  transition: var(--transition-value);
}

.header__nav-list ul li a:hover {
  background-color: var(--accent-green-color);
}

.header__nav-list ul ul {
  width: max-content;
  top: -30px;
  left: 100%;
}

.header__search {
  position: relative;
  width: 80%;
  max-width: 275px;
}

/* .header__search::after {
  content: "";
  display: block;
  height: 60px;
  width: 35px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8px;
  background-image: url("./images/glass_decorator.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
} */

.header--desktop input {
  display: block;
  padding: 10px 45px 10px 10px;
  width: 100%;
  border: 1px solid var(--white-color);
  border-radius: 18px;
  font-size: inherit;
  font-family: inherit;
  outline: none;
  transition: var(--transition-value);
}

.header--desktop input:focus {
  border-color: var(--light-green-color);
  -webkit-box-shadow: 5px 5px 10px 0px rgba(209, 243, 114, 1);
  -moz-box-shadow: 5px 5px 10px 0px rgba(209, 243, 114, 1);
  box-shadow: 5px 5px 10px 0px rgba(209, 243, 114, 1);
}

.header__login-link {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--secondary-yellow-color);
  transition: var(--transition-value);
}

.header__login-link svg {
  height: 30px;
  fill: var(--secondary-yellow-color);
  transition: var(--transition-value);
}

.header__login-link:hover {
  color: var(--main-blue-color);
}

.header__login-link:hover svg {
  fill: var(--main-blue-color);
}

/*#endregion header*/

/*#region greeting*/
.greeting__section {
  position: relative;
  background-image: url("./images/greeting__background.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-bottom-left-radius: 300px;
  border-bottom-right-radius: 300px;
  z-index: -1;
  display: flex;
  flex-wrap: wrap;
  align-content: end;
}

.greeting__section>img {
  display: none;
}

.greeting {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 90px);
}

.greeting h1 {
  width: max-content;
  margin-top: 125px;
  padding: 70px 120px 65px 60px;
  font-size: 40px;
  font-weight: 600;
  color: var(--white-color);
  background-image: url("./images/title__decorator.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.greeting h1 strong {
  display: block;
  margin-bottom: 30px;
  font-size: 50px;
}

/*#endregion greeting*/

/*#region opportunities*/
.opportunities__section {
  position: relative;
}

.opportunities__section::after {
  content: "";
  position: absolute;
  top: -260px;
  left: 0;
  display: block;
  width: 100%;
  height: 600px;
  background-image: url("./images/greeting__decorator.png");
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: -2;
}

.opportunities__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 25px;
  margin: 0 auto;
}

.opportunities__card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.opportunities__card-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 155px;
  margin-bottom: 10px;
  background-image: url("./images/opportunities__card__background.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.opportunities__card-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("./images/opportunities__card__decorator.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.opportunities__card:nth-child(2n) .opportunities__card-icon::after {
  transform: rotate(-90deg);
}

.opportunities__card:nth-child(3n) .opportunities__card-icon::after {
  transform: rotate(-180deg);
}

.opportunities__card:nth-child(4n) .opportunities__card-icon::after {
  transform: rotate(-270deg);
}

.opportunities__card-icon img {
  width: auto;
  max-width: 60px;
  height: auto;
  max-height: 60px;
}

.opportunities__card p {
  width: 210px;
  margin: 0 auto;
  text-align: center;
}

/*#endregion opportunities*/

/*#region about*/
.about__content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 50px;
}

.about__content-part {
  width: calc(50% - 50px);
}

.about__content-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about__content-text p {
  position: relative;
  width: 95%;
  line-height: 30px;
  margin-bottom: 40px;
}

.about__content-text p::after {
  content: "";
  position: absolute;
  bottom: -85px;
  left: -95px;
  display: block;
  height: 210px;
  width: 210px;
  border-radius: 50%;
  background: linear-gradient(180deg,
      rgba(255, 248, 68, 0.5) 0%,
      rgba(230, 253, 165, 0) 100%);
  z-index: -1;
}

.about__content-img {
  position: relative;
  height: max-content;
}

.about__content-img::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  height: 110%;
  width: 110%;
  background-image: url("./images/about__decorator.png");
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
}

/*#endregion about*/

/*#region overview*/
.overview__section {
  background-image: url("./images/overview__background.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.overview__cards {
  margin-bottom: 45px;
}

.overview__card {
  position: relative;
  /* padding: 35px 35px 55px; */
  padding: 20px 15px 80px;
  overflow: hidden;
  /*щоб приховати дії*/

}

.overview__card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.overview__card .selected_letter {
  background: #fff;
  width: 60px;
  height: 60px;
  border-radius: 200px;
  position: absolute;
  z-index: 99;
  top: 10%;
  right: 10%;
  border: 2px solid #b6d461;
}

.overview__card-level {
  display: flex;
  width: 75px;
  padding: 5px;
  border-radius: 5px;
  position: absolute;
  right: 7%;
  top: calc(10% + 75px);
  font-size: 13px;
  justify-content: center;
  border: 2px solid #b6d461;
}

.overview__card-level.level_one {
  background: #e6fda5;
}

.overview__card-level.level_two {
  background: #ece17c;
}

.overview__card-level.level_three {
  background: #f3c553;
}

.overview__card-level.level_four {
  background: #f9a829;
}

.overview__card-level.level_five {
  background: #ff8c00;
}

.overview__card-composition {
  display: flex;
  min-width: 75px;
  padding: 5px;
  border-radius: 5px;
  position: absolute;
  right: 7%;
  top: calc(10% + 110px);
  font-size: 13px;
  justify-content: center;
  background: #fff;
  border: 2px solid #b6d461;
}

.overview__card-background svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #e6fda5;
  transition: var(--transition-value);
}

.overview__card:hover .overview__card-background svg {
  fill: #d3f969;
}

.overview__card-img {
  width: 90%;
  height: auto;
  max-width: 375px;
  max-height: 235px;
  margin: 0 auto 5px;
  cursor: pointer;
}

a.overview__card-link {
  text-align: center;
  transition: var(--transition-value);
  max-width: 80%;
  margin: 0 auto;
  display: block;
}

a.overview__card-link:hover {
  text-decoration: underline;
  transform: translateY(-3px);
}

.overview__section a.page__link {
  margin: 0 auto;
}

.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 85px;
  width: 85px;
  border-radius: 50%;
  border: 5px solid var(--accent-green-color);
  background-color: #e6fda5;
  font-size: 0;
  color: var(--accent-green-color);
  cursor: pointer;
  transition: var(--transition-value);
}

.slick-arrow:hover {
  background-color: var(--accent-green-color);
  color: #e6fda5;
}

.slick-arrow::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  font-size: 30px;
  line-height: 30px;
  color: inherit;
}

.slick-arrow.slick-prev {
  transform: translateY(-50%) rotate(-180deg);
}

.overview__cards .slick-arrow.slick-prev {
  left: -70px;
}

.overview__cards .slick-arrow.slick-next {
  right: -70px;
}

.slick-arrow.slick-disabled {
  cursor: not-allowed;
}

/*#endregion overview*/

/*#region demonstration*/
.demostration__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 25px;
  row-gap: 30px;
  margin-bottom: 45px;
}

.demostration__card {
  position: relative;
  padding: 45px 0 55px;
}

.demostration__card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.demostration__card-background svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #e6fda5;
  transition: var(--transition-value);
}

.demostration__card:hover .demostration__card-background svg {
  fill: #fff974;
}

.demostration__card-img {
  max-width: 190px;
  max-height: 235px;
  margin: 0 auto 35px;
}

.demostration__card a:last-child {
  text-align: center;
  transition: var(--transition-value);
}

.demostration__card a:last-child:hover {
  text-decoration: underline;
  transform: translateY(-3px);
}

.demostration__section a.page__link {
  margin: 0 auto;
}

/*#endregion demonstration*/

/*#region footer*/
footer {
  margin-top: 95px;
}

.footer_single_game {}

.footer__nav-wrapper {
  background-image: url("./images/footer__background.svg");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.footer__nav {
  padding: 85px 0 60px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}

.footer__nav-list-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.footer__nav-list {}

.footer__nav-list li a {
  padding: 10px 0;
  transition: var(--transition-value);
  display: block;
}

.footer__nav-list li a:hover {
  color: var(--secondary-yellow-color);
}

.footer__rights-wrapper {
  background-color: var(--white-color);
}

.footer__rights {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.footer__rights p {
  line-height: 24px;
}

.footer__rights p span {
  display: inline-block;
  margin-right: 3px;
  font-size: 24px;
}

.footer__rights__payment {
  display: flex;
  align-items: center;
  gap: 35px;
}

/*#endregion footer*/

/*Additional pages*/

/*#region generalStylesAdditional*/
.breadcrumbs__wrapper {
  padding-top: 115px;
  margin-bottom: 15px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 50px;
}

.breadcrumbs a {
  position: relative;
  font-size: 18px;
  line-height: 18px;
  color: #a4b4c8;
}

.breadcrumbs a:nth-child(n + 3) {
  color: var(--main-blue-color);
}

.breadcrumbs a:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-green-color);
}

.breadcrumbs a svg {
  height: 25px;
}

.section--other-page {
  padding-top: 15px;
}

.accent-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--white-color);
  max-width: 90%;
  width: 470px;
  margin: 0 auto 55px;
  text-align: center;
  text-transform: uppercase;
  padding: 30px 0;
  background-image: url("./images/accent-title__background.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.section--other-page h3 {
  font-size: 36px;
  line-height: 40px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 90px;
}

.pagination .nav-links {
  display: flex;
  gap: 20px;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 70px;
  font-size: 20px;
  text-align: center;
  background-image: url("./images/pagination-numbers__background.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: var(--transition-value);
}

.pagination .page-numbers:hover {
  transform: scale(1.03) translateY(-3px);
}

.pagination .page-numbers.current {
  background-image: url(./images/pagination-numbers__background_active.svg);
}

.pagination .page-numbers.dots {
  cursor: pointer;
}

/*#endregion generalStylesAdditional*/

/*#region games*/
.games__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 70px;
}

.exercises__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 30px;
  margin-bottom: 70px;
}

.exercises__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 0 35px;
  /* width: fit-content; */
}

.exercises__card:nth-child(5n) .exercises__card-background,
.exercises__card:nth-child(6n) .exercises__card-background,
.exercises__card:nth-child(7n) .exercises__card-background,
.exercises__card:nth-child(8n) .exercises__card-background {
  transform: scale(-1, 1);
}

.exercises__card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.exercises__card-background svg {
  width: 100%;
  height: 100%;
  fill: #e6fda5;
  transition: var(--transition-value);
}

.exercises__card:hover .exercises__card-background svg {
  fill: #d3f969;
}

.exercises__card:nth-child(5n) .exercises__card-img,
.exercises__card:nth-child(6n) .exercises__card-img,
.exercises__card:nth-child(7n) .exercises__card-img,
.exercises__card:nth-child(8n) .exercises__card-img,
.exercises__card:nth-child(5n) .exercises__card-img img,
.exercises__card:nth-child(6n) .exercises__card-img img,
.exercises__card:nth-child(7n) .exercises__card-img img,
.exercises__card:nth-child(8n) .exercises__card-img img {
  transform: scale(-1, 1);
}

.exercises__card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 70px;
  margin-bottom: 30px;
  background-image: url("./images/excersices__card__letter-background.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.exercises__card-img img {
  width: 100%;
  max-height: 100px;
}

.exercises__card a {
  transition: var(--transition-value);
}

.exercises__card a:hover {
  text-decoration: underline;
  transform: translateY(-3px);
}

.new-games {
  width: 90%;
  margin: 0 auto;
}

.new-games .slick-list {
  padding: 50px 0;
}

.new-games .slick-arrow.slick-prev {
  left: -90px;
}

.new-games .slick-arrow.slick-next {
  right: -90px;
}

.new-games .overview__card {
  transition: var(--transition-value);
}

.new-games .overview__card.slick-current+.overview__card {
  transform: scale(1.3);
}

/* games-tags */
.game_tags .exercises__cards {
  justify-items: center;
}

/* games-tags */

/*#endregion games*/

/*#region additionalPage*/
header {
  transition: var(--transition-value);
}

header.hidden {
  /* transform: translateY(-100%); */
  top: -100px;
}

.section--additional {
  transition: var(--transition-value);
  position: fixed;
  width: 100%;
}

/* .section--additional.with-header {
  transform: translateY(105px);
} */

.up__buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.timer {
  position: relative;
  width: max-content;
  padding: 20px;
  font-size: 32px;
  line-height: 32px;
}

.timer::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  height: 100%;
  width: 100%;
  background-image: url("./images/timer__border.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.timer p {
  width: max-content;
  font-size: 32px;
  line-height: 32px;
}

.up__buttons button {
  position: relative;
  height: 35px;
  width: 45px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

.up__buttons button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.8);
  display: block;
  height: 100%;
  width: 100%;
  background-image: url("./images/additional-buttons__background.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.up__buttons button span {
  display: block;
  height: 5px;
  width: 100%;
  background-color: var(--accent-green-color);
  border-radius: 20px;
}

.words__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 100px;
}

.words__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40% 0;
  background-color: #d9d9d9;
  cursor: pointer;
  border: 8px solid #d9d9d9;
  transition: var(--transition-value);
}

.words__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
  width: 100%;
  background-color: #d9d9d9;
  transition: var(--transition-value);
}

.words__card.active {
  border-color: var(--accent-green-color);
}

.words__card.active::after {
  opacity: 0;
  z-index: -1;
}

.words__card p {
  text-align: center;
  text-transform: uppercase;
  font-size: 36px;
  line-height: 36px;
}

.down__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
}

.down__buttons button,
.down__buttons a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
}

.down__buttons button::after,
.down__buttons a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.5);
  display: block;
  height: 100%;
  width: 100%;
  background-image: url("./images/additional-buttons__background.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.down__buttons svg {
  display: block;
  height: 50px;
  width: auto;
}

/*#endregion additionalPage*/

/*#region news*/
.news__card {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 65px;
  margin-bottom: 70px;
}

.news__card:last-child {
  margin-bottom: 0;
}

.news__card-part {
  width: calc(50% - 40px);
}

.news__card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 385px;
  height: auto;
  border-radius: 40px;
  overflow: hidden;
}

.news__card-img img {
  object-fit: cover;
  object-position: center;
}

.news__card-text--mobile {
  display: none;
}

.news__card-text h4 {
  font-size: 24px;
  line-height: 27px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: justify;
}

.news__card-text-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 30px;
  opacity: 0.6;
}

.news__card-text>p {
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 30px;
}

.news__card-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news__card-stat a {
  font-size: 16px;
  line-height: 16px;
}

.news__card-stat a:first-child {
  opacity: 0.6;
  transition: var(--transition-value);
}

.news__card-stat a:first-child:hover {
  opacity: 1;
}

.news__card-stat a:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

/*#endregion news*/

/* Стилі для архіву Новин *************/
.news__item-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news__item-link-comments {
  display: flex;
  align-items: center;
}

.news__item-link-comments span {
  margin-left: 5px;
}

.news__item img {
  max-width: 100%;
  height: auto;
  border-radius: 40px;
  margin: 0 65px 0 0;
  border: 1px solid var(--accent-green-color);
}

.news__item h1 {
  font-family: Nunito;
  font-size: 24px;
  font-weight: 700;
  line-height: 27.22px;
  text-align: left;
  color: #38265f;
}

/* Стилі для архіву Новин******** */

/* Стилі для виводу записів Новини ******* */
.news__article h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 49.1px;
  text-align: left;
  color: #38265f;
  margin: 45px auto 20px 0;
  text-transform: uppercase;
}

.news__banner-articles {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.news__banner-article {
  margin-bottom: 50px;
}

.news__banner-article h3 {
  width: max-content;
  position: relative;
  font-size: 24px;
  font-weight: 700;
  line-height: 32.74px;
  color: var(--white-color);
  margin: 10px 0 15px 20px;
}

.news__banner-article h3::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(1.3) scaleY(1.4);
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("./images/news-banner-article-title.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.news__banner-article hr {
  border: 2.5px solid #b6d461;
  border-radius: 10px;
  margin-bottom: 10px;
}

.news__banner-article-item {
  display: flex;
  justify-content: space-between;
  max-width: 415px;
  border-bottom: 2px solid #b6d461;
  padding-bottom: 20px;
}

.news__banner-article-item:last-child {
  border-bottom: none;
}

.news__banner-article-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  /* розкомітити */
  /* object-fit: cover; */
  /* прибрати (видалити) */
  background-image: url("./images/news_item_img.jpg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.news__banner-article-item-info {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.news__banner-article-item-info h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 27.22px;
  margin: 8px auto 14px 17px;
}

.news__banner-article-item-info span {
  font-size: 16px;
  font-weight: 400;
  line-height: 20.54px;
  color: #38265f96;
}

/* Стилі для виводу записів Новини ********** */

/*#region newsItem*/
.news__item-wrapper {
  display: grid;
  grid-template-columns: 50% 50%;
  column-gap: 70px;
  margin-bottom: 85px;
}

.news__item h4,
.news__item h3,
.news__item .news__item-info {
  grid-column: 1/2;
}

.news__item-img {
  grid-column: 1;
  grid-row: span 2;
}

.news__article-content {
  font-size: 15px;
  font-weight: 600;
  line-height: 27.28px;
  margin: 40px 0 85px 0;
}

.news__article-content p {
  margin-bottom: 20px;
}

.news__article-content em {
  font-style: italic;

}

.news__article-content ul {
  list-style: disc;
  padding-inline-start: 40px;
  margin: 20px 0;
  display: grid;
}

.news__article-content ol {
  list-style: auto;
  padding-inline-start: 40px;
  margin: 20px 0;
  display: grid;
}

.news__article-content strong {
  font-weight: bold;
}

.news__item-up {
  grid-column: 1/3;
}

.news__item-wrapper>p {
  grid-column: 1/2;
  grid-row: 5/6;
}

.news__item-main-info-images {
  grid-column: 2/3;
}

.news__item.news__item-img {
  width: 30%;
  float: left;
  padding-right: 20px;
  padding-bottom: 20px;
}

.news__item h4 {
  width: max-content;
  position: relative;
  font-size: 24px;
  line-height: 24px;
  color: var(--white-color);
  font-weight: 700;
  margin: 10px 0 30px 20px;
}

.news__item h4::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(1.9) scaleY(1.6);
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("./images/accent-title__background.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.news__item h3 {
  text-align: left;
  margin-bottom: 25px;
}

.news__item-wrapper p {
  font-size: 20px;
  line-height: 24px;
}

.news__item-info,
.news__article-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  line-height: 20px;
  opacity: 0.6;
  margin: 30px 30px 30px 0;
}

.news__article-info {
  margin: 15px 30px 28px 0;
}

.news__item-up {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 40px;
}

.news__item-up-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 65%;
  height: auto;
  max-height: 460px;
  overflow: hidden;
  border-radius: 40px;
}

.news__item-up p {
  position: relative;
  padding-left: 40px;
  padding-top: 40px;
}

.news__item-up p::before {
  content: "“";
  position: absolute;
  top: -25px;
  left: -5px;
  font-size: 150px;
  line-height: 150px;
  font-weight: 700;
}

.news__item-main-info-images {
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.news__item-main-info-images div {
  max-height: 265px;
  border-radius: 20px;
  overflow: hidden;
}

.news__item-main-info-images img {
  object-fit: cover;
  object-position: center;
}

.news__item-offers-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}

.news__item-offers-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 25px 0;
  border-top: 1px solid var(--accent-green-color);
}

.news__item-offers-item:first-of-type {
  border-width: 4px;
}

.news__item-offers-item:not(:first-of-type) .news__item-offers-item-img {
  display: none;
}

.news__item-offers-item-img {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 130px;
  min-width: 160px;
  overflow: hidden;
  border-radius: 10px;
}

.news__item-offers-item-img img {
  object-fit: cover;
  object-position: center;
}

.news__item-offers-item-text a {
  font-size: 24px;
  line-height: 24px;
  font-weight: 700;
  text-align: justify;
  margin-bottom: 15px;
  transition: var(--transition-value);
}

.news__item-offers-item-text a:hover {
  text-decoration: underline;
  transform: translateY(-3px);
}

.news__item-offers-item-text p {
  width: max-content;
  margin-left: auto;
  font-size: 16px;
  line-height: 16px;
  opacity: 0.6;
}

/*#endregion newsItem*/

/*#region modal*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  padding-top: 140px;
  background-color: #38265fa1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition-value);
}

.modal.visible {
  transform: translateY(0);
  opacity: 1;
  z-index: 9;
}

.modal__content--video {
  position: relative;
  /* width: 80%;
  max-width: 1150px;
  height: 70vh;
  max-height: 655px;
  margin: 0 auto;
  padding-top: 50px;
  border: 25px solid #E6FDA5; */
}

.modal__content--video video {
  /* position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 100%;
  height: 100%; */
  display: block;
  width: 85%;
  max-width: 1150px;
  height: auto;
  max-height: 70vh;
  margin: 0 auto;
  border: 25px solid #e6fda5;
  background-color: #e6fda5;
}

.modal__content--video button {
  position: absolute;
  top: -55px;
  right: 65px;
  display: block;
  width: 45px;
  height: 45px;
  z-index: 1;
  transition: var(--transition-value);
}

.modal__content--video button:hover {
  background-color: var(--secondary-yellow-color);
  border-radius: 50%;
}

.modal__content--video button span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  background-color: #fff844;
  transition: var(--transition-value);
}

.modal__content--video button span:first-child {
  transform: rotate(-45deg);
}

.modal__content--video button span:last-child {
  transform: rotate(45deg);
}

.modal__content--video button:hover span {
  background-color: var(--main-blue-color);
}

.modal__content--video button:hover span:first-child {
  transform: rotate(-45deg) scale(0.65);
}

.modal__content--video button:hover span:last-child {
  transform: rotate(45deg) scale(0.65);
}

/*#endregion modal*/

/*#region maintancePage*/
.section--maintance {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  background-image: url("./images/not-found__background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.maintance__content {
  position: relative;
  width: 90%;
  max-width: 600px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 1) 40%,
      rgba(255, 255, 255, 0) 100%);
}

.maintance__content img:first-child {
  width: 80%;
}

.maintance__content h2 {
  position: absolute;
  font-size: 36px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  bottom: 30%;
}

.maintance__content img:last-child {
  margin-top: -50px;
}

/*#endregion maintancePage*/

/*#region pageNotFound*/
.section--not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  width: 100%;
}

.not-found__content {
  position: relative;
  padding-top: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.not-found__content::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  height: 100vh;
  width: 100%;
  background-image: url("./images/not-found__background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.not-found__content::after {
  content: "";
  position: absolute;
  top: 105px;
  left: 0;
  display: block;
  width: 100%;
  height: 80%;
  background-color: var(--white-color);
  border-radius: 40px;
  z-index: -1;
}

.not-found__content img {
  margin-bottom: 25px;
  width: 80%;
  max-width: 370px;
}

.not-found__content h2 {
  font-size: 36px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/*#endregion pageNotFound*/

/*#region demonstration*/
.demostration__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 25px;
  row-gap: 30px;
  margin-bottom: 45px;
}

.demostration__card {
  position: relative;
  padding: 45px 0 55px;
}

.demostration__card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.demostration__card-background svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #e6fda5;
  transition: var(--transition-value);
}

.demostration__card:hover .demostration__card-background svg {
  fill: #fff974;
}

.demostration__card-img {
  max-width: 190px;
  max-height: 235px;
  margin: 0 auto 35px;
}

.demostration__card a:last-child {
  text-align: center;
  transition: var(--transition-value);
}

.demostration__card a:last-child:hover {
  text-decoration: underline;
  transform: translateY(-3px);
}

.demostration__section a.page__link {
  margin: 0 auto;
}

/*#endregion demonstration*/


.main_game_container {
  overflow: hidden;
  margin: 20px 0;
}

.game-modal {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: #ffffff4d;
  top: 0;
  align-items: center;
  justify-content: center;
  padding: 10px;
  backdrop-filter: blur(10px);
  z-index: 9;
}

.modal-content {
  max-width: 500px;
  min-height: 300px;
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 1px 2px 6px 0px #cddc39;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  flex-direction: column;
}

.modal-content-inner {
  padding: 20px;
  text-align: center;
  width: 100%;
}

.modal-content-inner a {
  display: inline-block;
}

.modal-icon {
  margin-bottom: 20px;
}

.modal-icon svg {
  width: 60px;
  fill: #ffc107;
}

.modal-text {
  margin-bottom: 20px;
}

.modal-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.modal-buttons button {
  font-family: "Nunito";
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  width: 100px;
  text-align: center;
  border: 2px solid;
  border-radius: 21px 15px 8px 15px;
  justify-content: center;
  margin: 0 10px;
}

.modal-buttons button svg {
  width: 30px;
  margin-left: 10px;
}

.modal_header {
  width: 100%;
  display: flex;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
}

.modal_content_inner {
  padding-bottom: 20px;
}

.modal_content_inner form {
  display: flex;
  flex-direction: column;
}

.modal_content_inner input[type="text"],
.modal_content_inner input[type="password"],
.modal_content_inner input[type="email"] {
  border: none;
  border-bottom: 1px solid #a9ba09;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 20px;
}

.modal_content_inner input[type="submit"] {
  border: none;
  background: #a9ba09;
  color: #ffffff;
  padding: 10px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

.modal_content_inner input[type="submit"]:hover {
  background: #ff9800;
}

.modal_header .close {
  border-radius: 100px;
  border: 1px solid;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.modal_header .close:hover {
  background: #ff9800;
  color: #ffffff;
}

#yes-reload {
  color: #a9ba09;
}

#no-reload {
  color: #ff9800;
}

#yes-reload svg {
  fill: #a9ba09;
}

#no-reload {
  fill: #ff9800;
}

.display-modal {
  display: flex;
}

/* End Game Modal */
#end-game-modal {
  /* display: flex !important; */
}

#end-game-modal .modal-icon svg {
  fill: #a9ba09;
}

#end-game-modal .modal-buttons button {
  width: 100%;
  height: 40px;
  margin-bottom: 16px;
}

#chose-game {
  color: #ff9800;
}

#chose-game svg {
  fill: #ff9800;
}

#next-game {
  background: #a9ba09;
  color: #ffffff;
  height: 50px !important;
}

#next-game svg {
  fill: #ffffff;
}

#start-game-modal {
  display: flex;
}

#game-start {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #a9ba09;
  border: 0;
}

#game-start svg {
  fill: #ffffff;
}

.modal-text strong {
  font-weight: bold;
  font-size: 18px;
  color: #a9ba09;
}

.modal-text span {
  padding: 10px;
  background: #eefec0;
  display: block;
  margin: 10px 0;
}

.overview__card img {
  max-width: 80%;
  border-radius: 43px 16px 28px 21px;
  margin: 0 auto;
}

.all_uppercase {
  text-transform: uppercase;
}



.text_page_content {
  line-height: 1.3;
}

.text_page_content strong,
.text_page_content b {
  font-weight: bold;
}

.text_page_content p {
  margin-bottom: 10px;
}

.text_page_content a {
  color: var(--accent-green-color);
}

#login-form,
#register-form,
#forgot-password-form {
  display: none;
}

#login-form {
  display: block;
  /* По умолчанию показываем форму логина */
}

.login_actions {
  margin-top: 20px;
}

.login_actions a,
.login_actions {
  font-size: 15px;
}

.login_actions a {
  color: var(--accent-green-color);
  text-decoration: underline;
}

.login_actions span {
  margin-bottom: 10px;
  display: block;
}

.news_page p {
  line-height: 1.5;
}

.news_page h1 {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-green-color);
  margin-bottom: 25px;
  line-height: 1;
}

.news_page img {
  border: 1px solid var(--accent-green-color);
  border-radius: 4px;
  float: left;
  max-width: 300px;
  margin: 0 20px 0 0;
}

.news__article-info {
  margin: 5px auto 15px 0;
}

.greeting__section>img {
  opacity: 0;
}


/* User cabilnet */
.cabinet_row {
  display: flex;
  flex-wrap: wrap;
}

.sidebar {
  max-width: 200px;
  width: 100%;
}

.user_cabinet {
  flex: 1;
}

.user_cabinet .user_avatar {
  width: 100px;
}

.user_cabinet .user_menu {}

.user_cabinet .user_menu li a {
  background: var(--accent-green-color);
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  height: 30px;
  font-size: 16px;
  border-radius: 5px;
  color: var(--main-blue-color);
}

.user_cabinet .user_menu li a:hover {
  background: var(--light-green-color);
}

.user_cabinet .user_menu li.active a {}

.card_actions {
  position: absolute;
  margin: 0 auto;
  left: 50%;
  transform: translate(-50%);
  top: -50px;
  opacity: 0;
  /* Исходное состояние (скрыто) */
  transition: top 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.overview__card:hover .card_actions {
  top: 30px;
  opacity: 1;
  /* Показываем элемент */
}

.not_in_featured:hover {
  color: red;
  cursor: pointer;
  font-weight: bold;
}

.overview__card .card_actions.active {
  top: 30px;
}

.add_to_features {
  padding: 5px;
  border-radius: 4px;
  background: #ffffff;
}

.add_to_features.active {}

.add_to_features .in_featured {
  display: none;
}

.add_to_features.active .not_in_featured {
  display: none;
}

.add_to_features.active .in_featured {
  display: block;
}

.favorite_game {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid;
  padding: 5px;
}

.favorite_game a {
  color: var(--main-blue-color);
}

.favorite_game a:hover {
  color: var(--accent-green-color);
}

.favorite_game .favorite_game_title {
  width: 40%;
}

.favorite_game .favorite_game_gametype {
  width: 40%;
  text-align: center;
}

.favorite_game .favorite_game_play {
  /* width: 20%; */
  text-align: right;
}

.content_area {
  flex: 1;
  padding: 10px;
}

.header__user-menu {
  position: relative;
}

.header__dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.header__dropdown-menu li {
  padding: 5px 15px;
}

.header__dropdown-menu li a {
  color: #333;
  text-decoration: none;
  display: block;
}

.header__dropdown-menu li a:hover {
  background: #f0f0f0;
}

.games-additional-data-buttons {
  padding: 20px 0;
}

.games-additional-data-line {
  margin-top: 40px;
  padding: 0 10px;
  color: var(--accent-green-color);
}

.games-additional-data-line i,
.games-additional-data-line svg {
  font-size: 23px;

}

.display-none {
  display: none;
}

.additional-function {
  position: relative;
}

.informer {
  position: absolute;
  width: 136px;
  font-size: 11px;
  text-align: left;
  background: #eefec0;
  top: -35px;
  right: -135px;
  color: var(--main-blue-color);
  padding: 0 5px;
}

/* Треугольный указатель */
.informer::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: -6px;
  border-width: 7px;
  border-style: solid;
  border-color: #eefec0 transparent transparent transparent;
  transform: rotate(135deg);
}


/* Prices page */
.period_selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0 50px 0;
}

.period_item {
  padding: 5px;
  width: 100px;
  text-align: center;
  /* margin: 0 5px; */
  margin: 10px 18px;
  cursor: pointer;
  background: #a4b4c859;
  border-radius: 10px 5px 4px 4px;
}

.period_item.active,
.period_item:hover {
  background: var(--light-green-color);
}

.package_items_container {
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
  margin-bottom: 155px;
  justify-content: space-around;
}

.package_item_inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.package_item {
  max-width: 20%;
  width: 100%;
  background: #3a3a3a08;
  border-radius: 50px;
  margin: 20px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 21.82px;
}

.package_item_title {
  padding: 6px;
  text-align: center;
  margin: 15px;
  height: 63px;
  border-radius: 50px 20px 35px 10px;
  opacity: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package_item_price {
  text-align: center;
  color: #7e7e7e;
  margin: 23px;
}

.package_item_description {
  font-size: 14px;
  line-height: 19.1px;
  margin-bottom: 35px;
}

.package_item_description ul {
  padding-left: 13px;
  list-style: none;
}

.package_item_description ul li {
  padding-left: 28px;
  position: relative;
  margin: 10px 5px;
}

.package_item_description ul li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background: #ffb744;
}

.buy_row {
  border-radius: 100px;
  background: #ffb744;
  margin: auto 22px 17px 22px;
}

.buy_row a {
  padding: 11px;
  text-align: center;
  text-transform: uppercase;
  color: black;
  transition: all 0.1s ease;
  display: flex;
  justify-content: center;
}

.buy_row:hover {
  /* opacity: 0.8;   */
  transform: scale(1.05);
}

.buy_row:active {
  transform: translateY(4px);
  /* Зсуває кнопку вниз */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  /* Додає тінь */
}

/* Prices page */



#qt_work_experience_toolbar,
.wp-editor-tabs,
.quicktags-toolbar {
  display: none !important;
}

/* Индикатор загрузки */
.loading-indicator {
  border: 5px solid #f3f3f3;
  /* Серый фон */
  border-top: 5px solid #3498db;
  /* Цвет полосы загрузки */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  /* Анимация вращения */
  margin: 10px 0;
}

/* Анимация вращения */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/* Logopeds list */
/* Общие стили для сетки */
.logopeds-grid-container {
  display: grid;
  gap: 16px;
  /* Отступы между элементами */
  grid-template-columns: repeat(5, 1fr);
  /* 4 колонки по умолчанию (десктоп) */
}

.grid-item {
  position: relative;
  padding: 20px;
  text-align: center;
  border: 1px solid #ccc;
  background: #b6d4613d;
}

#user-profile-form [type="submit"],
#user-settings-form [type="submit"] {
  background: var(--accent-green-color);
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  height: 30px;
  font-size: 16px;
  border-radius: 5px;
  width: 200px;
}

[name="address"] {
  width: 100%;
}

.ui-state-highlight {
  border: 1px dashed #ccc;
  background-color: #f0f0f0;
  height: 150px;
}

.sidebar .user_menu li a::before {
  display: none;
  font-family: var(--icons-font);
  font-weight: bold;
}

.menu_favorites a::before {
  content: '\f004';

}

.menu_schedule a::before {
  content: '\f03a';
}

.menu_clients a::before {
  content: '\f0c0';
}

.menu_mypage a::before {
  content: '\f2bb';
}

.menu_mymessages a::before {
  content: '\f0e0';
}

.menu_settings a::before {
  content: '\f1de';
}

#certificates_list img {
  width: 150px;
  height: 150px;
}

.fit-content {
  width: fit-content;
}

.personal_features {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  position: absolute;
  right: 5px;
  top: 5px;
}

.logopeds-grid-container .grid-item a {
  display: block;
}

.personal_features span {
  color: var(--accent-green-color);
  margin-left: 10px;
  border: 1px solid;
  display: flex;
  flex-wrap: wrap;
  width: 35px;
  height: 35px;
  border-radius: 100px;
  justify-content: center;
  align-content: center;
  font-size: 17px;
  background: #ffffff;
}

.personal_features svg {}

.personal_features span.only_reg {
  color: #ccc;
}

.logoped_name {
  font-size: 16px;
  padding: 10px 0;
  font-weight: bold;
}

.logoped_short_description {
  font-size: 14px;
  font-weight: 500;
}



.tooltip-box {
  position: absolute;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 1000;
  display: none;
  /* Скрыто по умолчанию */
  opacity: 0;
  transition: opacity 0.2s;
}

.tooltip-box.visible {
  display: block;
  opacity: 1;
}

/* Logoped personal page */
.logoped_profile-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.logoped_block {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #cccccc;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.logoped_profile-photo {
  width: 200px;
  border: 1px solid #cccccc;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: 267px;
}

.logoped_profile-main-info {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
}

.logoped_profile-main-info h1 {
  font-size: 20px;
  color: #84a720;
  margin-bottom: 35px;
  flex-basis: 100%;
}

.logoped_profile-general {
  display: flex;
  flex-wrap: wrap;
  border: none;
  margin-bottom: 35px;
  width: 100%;
  flex-wrap: nowrap;
}

.logoped_profile-work-areas {
  flex-basis: 70%;
}

.logoped_profile-features_menu {
  flex-basis: 25%;
  margin-left: 5%;
  background: #b6d461;
  position: relative;
}

.logoped_profile-features_menu ul {
  margin-block-end: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  flex-direction: column;
  justify-content: center;
}

.logoped_block h3 {
  font-weight: bold;
  color: #BBA3A3;
  width: 100%;
  padding: 10px 0;
}

.logoped_block h3:not(:first-child) {
  border-top: 1px solid #cccccc;
  margin-top: 10px;
  padding-top: 10px;
}

.logoped_profile-skills {
  flex-basis: 49%;
}

.logoped_profile-education {
  flex-basis: 49%;
}

.logoped_block {
  line-height: 1.5;
}

.logoped_profile-container #contacts {
  flex-basis: 100%;
}

.logoped_profile-container #sertificates {
  flex-basis: 100%;
}

#user-page-photo {
  background: url('/wp-content/themes/logoped/images/nophoto.jpg');
  width: 135px;
  height: 175px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid #ccc;
}

#user-page-photo input {
  background: antiquewhite;
  height: inherit;
  width: inherit;
  opacity: 0;
  z-index: 9;
  position: absolute;
  cursor: pointer;
}

#user-page-photo #delete_profile_picture {
  top: 5px;
  position: absolute;
  right: 5px;
  z-index: 10;
}

#profile_picture_preview {
  position: absolute;
  top: 0;
  width: inherit;
  height: inherit;
}

#profile_picture_preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
  position: relative;

}

#user-page-photo #delete_profile_picture:hover {
  color: red;
}

.user_profile_row {
  margin-bottom: 25px;
  background: #a4b4c833;
  padding: 10px;
}

.user_profile_row label {
  width: 100%;
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

.user_cabinet input[type="text"] {
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px 5px;
  border-radius: 5px;
}

.user_cabinet input[type="date"] {
  border: 1px solid #ccc;
  padding: 10px 5px;
  border-radius: 5px;
  margin-right: 30px;
}

.user_profile_row.birthday_date {
  display: flex;
  align-items: center;
}

.user_profile_row.birthday_date label {
  width: fit-content;
  margin-bottom: 0;
  margin-right: 10px;
}

.user_profile_subrow {
  margin-bottom: 20px;
}

.overview__card-img image {
  width: 100%;
}

.overview__card-img a {
  max-width: unset !important;
}

.templates_cards .overview__card-background svg {
  fill: #ffe996;
}

.templates_cards .overview__card:hover .overview__card-background svg {
  fill: #ffc161;
}

.templates_cards {
  grid-template-columns: repeat(5, 1fr);
}

.templates_cards .overview__card {
  padding: 50px 15px 57px;
}

.templates_cards_link {
  display: block;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
}

.templates_cards .overview__card-img {
  margin-bottom: 5px;
}

.city_item {
  background: #b6d461;
  color: #ffffff;
  display: inline-flex;
  border-radius: 4px;
  padding: 5px;
  margin: 5px;

}

.city_item:first-child {
  margin-left: 0;
}

.cities_row {
  width: 100%;
}

.main_address {
  width: 100%;
  /* font-weight: bold; */
  color: #BBA3A3;
}

.main_address_value {
  /* color: #b6d461; */
  width: 100%;
  font-weight: bold;
}

.profile_phone {
  color: #b6d461;
  display: flex;
  border: 1px solid #b6d461;
  padding: 5px;
  border-radius: 4px;
  font-weight: bold;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.profile_phone span {
  padding-left: 10px;
}

.profile_phone:hover {
  background: #b6d461;
  color: #fff;
}

.only_for_logged {
  color: orange;
  padding: 5px 20px;
  font-style: italic;
  border: 1px solid;
  margin: 10px 0;
  border-radius: 10px;
  background: #ffa50012;
}

.only_for_logged.phone_alert {}

.only_for_logged a {
  display: inline;
  color: orange;
  text-decoration: underline;
}

.only_for_logged a:hover {
  color: var(--main-blue-color);
}

.logoped_block-certificate {
  position: relative;
  width: 100%;
}

.logoped_block-certificate img {
  height: unset !important;
  width: 100%;
  max-height: 250px;
}

.logoped_block-certificate button {}

.logoped_block-certificate button.slick-prev {
  z-index: 9;
}

.logoped_block-certificate button.slick-next {
  right: 0;
}

.cert_image {
  cursor: pointer;
}

.cert_item {
  display: flex;
  justify-items: center;
}

.logoped_block-certificate_slider .slick-track {
  display: flex;
  align-items: center;
}

.logoped_block.logoped_profile-work-areas ul {
  width: 100%;
  list-style: disc;
  margin-left: 30px;
}

.logoped_block.logoped_profile-work-areas ul li {}

.slick-dots {
  display: flex;
  justify-content: center;
}

#contacts.logoped_block p {
  width: 100%;
}

.slick-dots li {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: #cccccc;
  margin: 0 5px;
}

.slick-dots li.slick-active {
  background: var(--accent-green-color);
}

.slick-dots li button {
  display: none;
}

.slick-dots li.slick-active button {}

#reviews {
  font-style: italic;
  opacity: 0.7;
}

.logoped_profile-features_menu svg {
  margin-right: 10px;
}

.logoped_profile-features_menu svg path {
  fill: #ffffff;
}

.logoped_profile-features_menu li {
  margin-bottom: 20px;
}

.logoped_profile-features_menu li:last-child {
  margin-bottom: 0;
}

.logoped_profile-features_menu a {
  color: #fff;
  text-decoration: underline;
}

.logoped_profile-features_menu:after {
  content: '\f005';
  font-family: 'Font Awesome 6 Free';
  font-weight: bold;
  position: absolute;
  top: -22px;
  right: -15px;
  font-size: 30px;
  color: gold;
}

.alert_user_name_sname {
  color: var(--accent-green-color);
  font-weight: bold;
}

.orange_alert {
  border-radius: 10px;
  border: 2px solid orange;
  padding: 10px;
  font-style: italic;
  color: orange;
  font-size: 13px;
}

.orange_alert a {
  text-decoration: underline;
  display: inline-block;
}

.logopeds-grid-container .grid-item img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 3 / 4;
}

.button_main {
  display: flex;
  background: var(--accent-green-color);
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: 10px 10px;
  font-size: 16px;
  color: #fff;
  width: fit-content;
}

.button_main:hover,
.user_profile_save_button:hover {
  background: orange;
}

.personal_requests ul li {
  display: flex;
  flex-wrap: wrap;
  grid-auto-flow: column;
  margin-bottom: 10px;
  padding: 5px;
  font-size: 13px;
}

.personal_requests ul li>div {
  /* width: 15%; */
}

.request_name {
  width: 25%;
}

.request_phone {
  width: 25%;
}

.request_read {
  width: 15%;
}

.request_date {
  width: 20%;
}

.request_status {
  width: 5%;
}

.request_actions {
  width: 10%;
}

.request_item .request_read button {
  text-decoration: underline;
  color: var(--accent-green-color);
}


.personal_requests ul li:nth-child(odd) {
  background: #eeeeee;
}

.personal_requests ul li:hover {
  background: var(--secondary-yellow-color);
}

.alerts_count {
  position: absolute;
  font-size: 10px;
  top: -5px;
  right: -7px;
  background: orange;
  width: 15px;
  height: 15px;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
}

.cabinet_row .user_menu li {
  position: relative;
}

.cabinet_row a.button_main {
  color: #ffffff;
}

#certificates_list {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
}

#certificates_list li {
  margin-left: 10px;
  margin-bottom: 10px;
  position: relative;
}

#certificates_list li img {
  object-fit: cover;
  border: 2px solid #b6d461;
  border-radius: 4px;
}

.delete_certificate {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #000;
  width: 20px;
  height: 20px;
  border-radius: 100px;
  color: #ffffff;
}

.delete_certificate:hover {
  color: red;

}

#user-profile-form [type="submit"]:hover,
#user-settings-form [type="submit"]:hover {
  background: orange;
}



.favorite_game_list_head {
  background: #b6d461;
  padding: 5px;
  border-radius: 5px;
}

.profile_type {
  padding: 10px;
}

.profile_type p {
  padding-bottom: 10px;
}

.profile_type_values_list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  line-height: 1.5;
}

.centered_emoji {
  font-size: 70px;
  margin-bottom: 40px;
}

.game_not_login_user {
  /* display: ruby-text; */
}

.modal-content.not_login {
  justify-content: center;
}

.game_not_login_user a {
  color: var(--accent-green-color);
  cursor: pointer;
}

.to_home {}

.botton_buttons_not_login {
  margin-top: 20px;
}

.botton_buttons_not_login a {
  margin: 0 20px;
}

.page-numbers.current {}


.news__banner-wrraper {
  display: none;
}

.news__list .news__item-img {
  width: 100%;
}

.news__list a.news__item-info {
  background-image: url(./images/accent-title__background.svg);
  background-size: cover;
  width: 177px;
  height: 37px;
  justify-content: center;
  align-items: center;
}

.cabinet_top_row {
  display: flex;
  margin-bottom: 10px;
}

.cabinet_top_row div {
  width: 50%;
}

.tariff_value {
  text-transform: capitalize;
  font-weight: bold;
}

.plan_row {
  text-align: right;
  position: relative;
}

.cabinet_change_tariff {
  font-size: 11px;
  position: absolute;
  bottom: -13px;
  display: block;
  right: 0;
}

.cabinet_change_tariff:hover {
  text-decoration: underline;
}

#searchform {
  display: flex;
  position: relative;
}

#searchform button {
  position: absolute;
  top: 14px;
  font-size: 20px;
  right: 14px;
}

footer .link-main {
  height: 60px;
}

.payment_bottom_text {
  font-size: 14px;
}

.payment_bottom_text p {
  margin-bottom: 20px;
}

.payment_bottom_text em {
  font-style: italic;
}

.payment_bottom_text b,
.payment_bottom_text strong {
  font-weight: bold;
}

.news__article-video iframe {
  max-width: 100%;
}

.contact_form {
  width: 50%;
}

.contact_information {
  width: 50%;
}

.contact_form form {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 50%;
}

.contact_form form label {}

.contact_form form input,
.contact_form form textarea {
  margin: 10px 0;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 7px;
}

.contact_form form button {
  background: var(--accent-green-color);
  color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  max-width: 200px;
}

.contacts_container {
  display: flex;
  flex-wrap: wrap;
}

.contact_info_row {
  display: flex;
  padding: 10px 0;
}

.contact_info_title {
  width: 50%;
  font-weight: bold;
}

.contact_info_value {
  width: 50%;
}

.captcha_block {
  background: #f1f1f1;
  padding: 10px;
  margin-bottom: 20px;
}

.contacts_container a {
  color: var(--accent-green-color);
}

.modal-content .error-messages {
  max-width: 200px;
  font-size: 12px;

}

.login_actions a {
  display: block;
}

/* Затемнение формы */
.form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Анимация лоадера */
.form-loader {
  width: 40px;
  height: 40px;
  border: 4px solid var(--accent-green-color);
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Блокировка формы */
#custom-register-form.loading {
  pointer-events: none;
  /* Блокируем все клики */
  opacity: 0.6;
}

.registration_complete {
  color: var(--accent-green-color);
  font-size: 85px;
  display: flex;
  flex-wrap: wrap;
  height: initial;
  width: 100%;
  flex: auto;
  justify-content: center;
  align-content: center;
}


/* ==== HELP PANEL ==== */

/* Overlay для затемнення */
.help-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9998;
}

body.help-open .help-overlay {
  opacity: 1;
  pointer-events: all;
}

/* Кнопка виклику */
.help-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 8;
}

.help-toggle {
  background: #6f608e;
  color: #fff;
  border: none;
  padding: 14px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
}

.help-toggle:hover {
  background: #38265f;
  transform: translateY(-2px);
}

/* Сайдбар */
.help-content {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow-y: auto;
  transition: right 0.4s ease;
  z-index: 9999;
}

/* Активний стан */
.help-panel.active .help-content {
  right: 0;
}

/* Заголовок */
.help-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #4c265f;
  margin-bottom: 16px;
}

/* Акордеон */
.help-accordion {
  flex-grow: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-green-color) #f0f0f0;
}

.help-accordion::-webkit-scrollbar {
  width: 8px;
}

.help-accordion::-webkit-scrollbar-thumb {
  background-color: var(--accent-green-color);
  border-radius: 4px;
}

.help-accordion::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

.help-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
  transition: background 0.2s;
  padding: 10px;
}

.help-item.open {
  background: #f9f9ff;
}

.help-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  cursor: pointer;
}

.help-header img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.help-header span {
  flex-grow: 1;
  font-weight: 600;
  font-size: 15px;
  color: #333;
}

.help-header i {
  color: #586eb3;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.help-item.open .help-header i {
  transform: rotate(180deg);
}

.help-body {
  display: none;
  padding: 8px 0 10px 50px;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.help-body p {
  margin: 0 0 6px;
}



.social_links {
  font-size: 25px;
}

/* Media start */
/* Media start */


@media screen and (max-width: 1850px) {
  .container {
    padding: 0 100px;
  }
}

@media screen and (max-width: 1600px) {
  body {
    font-size: 18px;
    line-height: 18px;
  }

  .link-main {
    height: 60px;
  }

  .section {
    padding: 110px 0 0;
  }

  .section h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  a.page__link {
    font-size: 20px;
    width: 265px;
    height: 75px;
  }

  header {
    font-size: 20px;
  }

  .header--desktop {
    /* padding-top: 30px;
    padding-bottom: 50px; */
  }

  .header__nav-list {
    gap: 30px;
  }

  .header__nav-list ul {
    width: 110%;
    left: -3%;
  }

  .header__search {
    max-width: 225px;
  }

  .header--desktop input {
    padding: 10px 45px 10px 10px;
    border-radius: 15px;
  }

  .header__login-link {
    gap: 10px;
  }

  .header__login-link svg {
    height: 30px;
    width: 30px;
  }

  .greeting__section {
    border-bottom-left-radius: 235px;
    border-bottom-right-radius: 235px;
  }

  .greeting h1 {
    font-size: 36px;
  }

  .greeting h1 strong {
    font-size: 46px;
  }

  .about__content-text p::after {
    bottom: -30px;
    left: -65px;
  }

  .about__content-text p {
    margin-bottom: 30px;
  }

  .slick-arrow {
    height: 75px;
    width: 75px;
    border-width: 3px;
  }

  footer {
    margin-top: 40px;
  }

  .breadcrumbs__wrapper {
    padding-top: 100px;
  }

  .accent-title {
    font-size: 30px;
    line-height: 34px;
    margin: 0 auto 45px;
    padding: 25px 0;
  }

  .section--other-page h3 {
    font-size: 30px;
    line-height: 34px;
  }

  .news__card-text h4 {
    font-size: 22px;
    line-height: 22px;
  }

  .news__card-text>p {
    font-size: 18px;
  }

  .games__cards .overview__card-img {
    max-width: 315px;
  }

  .exercises__card-img {
    padding: 40px 60px;
  }

  .exercises__card-img img {
    /* width: 60px; */
  }

  /* .section--additional.with-header {
    transform: translateY(95px);
  } */

  .timer p {
    font-size: 28px;
    line-height: 28px;
  }

  .up__buttons button {
    height: 30px;
    width: 40px;
  }

  .words__card {
    border-width: 6px;
  }

  .words__card p {
    font-size: 32px;
    line-height: 32px;
  }

  .down__buttons svg {
    height: 45px;
  }

  .down__buttons button,
  .down__buttons a {
    width: 85px;
  }

  .news__item h4 {
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 25px;
  }

  .section--other-page.news__item h3 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 20px;
  }

  .news__item-info p {
    font-size: 18px;
    line-height: 18px;
  }

  .news__item-up-img {
    max-height: 360px;
  }

  .news__item-up p::before {
    font-size: 130px;
    line-height: 130px;
  }

  .news__item-wrapper p {
    font-size: 18px;
    line-height: 22px;
  }

  .news__item-main-info-images div {
    max-height: 210px;
  }

  .news__item-wrapper {
    margin-bottom: 75px;
  }

  .news__item-offers-item-text a {
    font-size: 20px;
    line-height: 20px;
  }

  .news__item-offers-item-img {
    max-height: 105px;
    min-width: 145px;
  }

  .not-found__content {
    padding-top: 90px;
  }

  .not-found__content::after {
    top: 70px;
  }

  .not-found__content h2 {
    font-size: 28px;
    margin-bottom: 35px;
  }

  .not-found__content img {
    max-width: 330px;
  }

  .modal__content--video video {
    width: 80%;
  }

  .modal__content--video button {
    height: 40px;
    width: 40px;
    right: 40px;
  }
}

@media screen and (max-width: 1400px) {
  main {
    top: -30px;
  }

  .container {
    padding: 0 80px;
  }

  body {
    font-size: 16px;
    line-height: 16px;
  }

  .link-main {
    height: 50px;
  }

  .section h2 {
    font-size: 28px;
  }

  header {
    font-size: 18px;
  }

  .header--desktop {
    padding-top: 20px;
    padding-bottom: 50px;
  }

  .header__nav-list {
    gap: 20px;
  }

  .header__nav-list ul {
    width: 125%;
    left: -12%;
  }

  .header__search {
    max-width: 190px;
  }

  .header__search::after {
    height: 30px;
  }

  .header--desktop input {
    padding: 7px 40px 7px 7px;
    border-radius: 10px;
  }

  .header__login-link {
    gap: 5px;
  }

  .header__login-link svg {
    height: 27px;
    width: 27px;
  }

  .greeting__section {
    border-bottom-left-radius: 185px;
    border-bottom-right-radius: 185px;
  }

  .greeting h1 {
    margin-top: 65px;
    padding: 85px 80px 70px 55px;
    font-size: 30px;
  }

  .greeting h1 strong {
    font-size: 40px;
  }

  .opportunities__section::after {
    top: -165px;
  }

  .opportunities__card-icon {
    width: 150px;
    height: 130px;
  }

  .opportunities__card-icon img {
    max-width: 50px;
    max-height: 50px;
  }

  .about__content-text p {
    line-height: 25px;
  }

  .games__cards,
  .exercises__cards {
    margin-bottom: 60px;
  }

  .overview__card {
    padding: 25px 25px 45px;
  }

  .slick-arrow {
    height: 65px;
    width: 65px;
  }

  .slick-arrow::after {
    font-size: 26px;
    line-height: 26px;
  }

  .overview__cards .slick-arrow.slick-prev {
    left: -50px;
  }

  .overview__cards .slick-arrow.slick-next {
    right: -50px;
  }

  .demostration__cards {
    row-gap: 15px;
  }

  .demostration__card-img {
    max-width: 165px;
    max-height: 120px;
  }

  footer {
    margin-top: 25px;
  }

  .footer__nav {
    padding: 70px 0 40px;
  }

  .footer__rights {
    padding: 5px 0;
  }

  .footer__rights__payment {
    gap: 25px;
  }

  .footer__rights__payment a {
    width: 35px;
  }

  .footer__rights p span {
    font-size: 18px;
  }

  .breadcrumbs__wrapper {
    padding-top: 60px;
  }

  .accent-title {
    font-size: 26px;
    line-height: 30px;
    margin: 0 auto 35px;
    padding: 20px 0;
  }

  .section--other-page h3 {
    font-size: 26px;
    line-height: 30px;
  }

  .news__card {
    margin-bottom: 55px;
  }

  .news__card-text h4 {
    font-size: 18px;
    line-height: 18px;
  }

  .news__card-text>p {
    font-size: 16px;
  }

  .exercises__card-img {
    padding: 20px 50px;
    margin-bottom: 25px;
  }

  .exercises__card-img img {
    /* max-width: 50px; */
  }

  .new-games .slick-arrow.slick-prev {
    left: -55px;
  }

  .new-games .slick-arrow.slick-next {
    right: -55px;
  }

  /* .section--additional.with-header {
    transform: translateY(50px);
  } */

  .timer {
    padding: 10px;
  }

  .timer p {
    font-size: 24px;
    line-height: 24px;
  }

  .up__buttons button {
    height: 25px;
    width: 35px;
    margin-right: 15px;
  }

  .up__buttons button span {
    height: 4px;
  }

  .words__cards {
    gap: 30px;
    margin-bottom: 85px;
  }

  .words__card p {
    font-size: 28px;
    line-height: 28px;
  }

  .down__buttons {
    gap: 50px;
  }

  .down__buttons svg {
    height: 35px;
  }

  .down__buttons button,
  .down__buttons a {
    width: 50px;
  }

  .news__item-wrapper {
    column-gap: 50px;
  }

  .news__item-offers-wrapper {
    gap: 50px;
  }

  .news__item-wrapper p {
    font-size: 16px;
    line-height: 18px;
  }

  .news__item h4 {
    font-size: 16px;
    line-height: 16px;
    margin: 0 0 15px 15px;
  }

  .section--other-page.news__item h3 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 15px;
  }

  .news__item-info,
  .news__article-info {
    margin: 15px auto 20px 0;
  }

  .news__item-info p,
  .news__article-info p {
    font-size: 14px;
    line-height: 14px;
  }

  .news__item-up-img {
    max-height: 300px;
  }

  .news__item-up p {
    padding-left: 25px;
    padding-top: 25px;
  }

  .news__item-up p::before {
    font-size: 100px;
    line-height: 100px;
  }

  .news__item-main-info-images {
    gap: 40px;
  }

  .news__item-offers-item {
    padding: 20px 0;
  }

  .news__item-offers-item-text a {
    font-size: 16px;
    line-height: 16px;
  }

  .news__item-offers-item-text p {
    font-size: 13px;
    line-height: 13px;
  }

  .not-found__content {
    padding-top: 80px;
  }

  .not-found__content::after {
    top: 60px;
  }

  .not-found__content h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .not-found__content img {
    max-width: 290px;
  }

  .modal {
    padding-top: 100px;
  }

  .modal__content--video button {
    height: 35px;
    width: 35px;
    top: -40px;
  }

  #searchform button {
    position: absolute;
    top: 8px;
    font-size: 20px;
    right: 10px;
  }
}

@media screen and (max-width: 1200px) {
  .container {
    padding: 0 60px;
  }

  body {
    font-size: 14px;
    line-height: 14px;
  }

  .link-main {
    height: 40px;
  }

  .section {
    padding: 70px 0 0;
  }

  .section h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  a.page__link {
    width: 200px;
    height: 55px;
    font-size: 16px;
  }

  header {
    font-size: 16px;
  }

  .header--desktop {
    padding-bottom: 45px;
  }

  .header__nav-list ul {
    padding: 20px 0;
    border-radius: 20px;
  }

  .header__nav-list ul ul {
    top: -20px;
  }

  .header__search {
    max-width: 150px;
  }

  .header__search::after {
    right: 3px;
    width: 25px;
  }

  .header__login-link {
    gap: 3px;
  }

  .header__login-link svg {
    height: 23px;
    width: 23px;
  }

  .greeting h1 {
    font-size: 26px;
  }

  .greeting h1 strong {
    font-size: 36px;
  }

  .opportunities__card-icon {
    width: 130px;
    height: 110px;
  }

  .about__content-text p {
    line-height: 22px;
    margin-bottom: 20px;
  }

  .about__content-text p::after {
    width: 160px;
    height: 160px;
    bottom: -25px;
    left: -50px;
  }

  .overview__card {
    padding: 25px 20px 40px;
  }

  .overview__card-img {
    max-width: 215px;
  }

  .slick-arrow {
    height: 50px;
    width: 50px;
    border-width: 2px;
  }

  .slick-arrow::after {
    font-size: 20px;
    line-height: 20px;
  }

  .overview__cards .slick-arrow.slick-prev {
    left: -30px;
  }

  .overview__cards .slick-arrow.slick-next {
    right: -30px;
  }

  .demostration__card-img {
    max-width: 150px;
    margin: 0 auto 20px;
  }

  .breadcrumbs a {
    font-size: 16px;
  }

  .breadcrumbs a svg {
    display: block;
    height: 18px;
  }

  .accent-title {
    font-size: 22px;
    line-height: 28px;
    padding: 15px 0;
  }

  .section--other-page h3 {
    font-size: 22px;
    line-height: 28px;
  }

  .pagination {
    gap: 15px;
    margin-top: 75px;
  }



  .news__card {
    margin-bottom: 45px;
    gap: 40px;
  }

  .news__card-part {
    width: calc(50% - 25px);
  }

  .news__card-img {
    max-height: 280px;
  }

  .news__card-text h4 {
    font-size: 16px;
    line-height: 16px;
  }

  .news__card-text>p {
    font-size: 14px;
  }

  .news__card-text-info,
  .news__card-stat a {
    font-size: 13px;
    line-height: 13px;
  }

  .news__card-stat a svg {
    display: block;
    height: 20px;
  }

  .games__cards .overview__card-img {
    max-width: 230px;
  }

  .games__cards .overview__card {
    /* padding: 20px 15px 40px; */
  }

  .templates_cards .overview__card {
    padding: 21px 0px 13px;
  }

  .new-games .slick-list {
    padding: 20px 0;
  }

  .new-games .overview__card.slick-current+.overview__card {
    transform: scale(1.2);
  }

  .timer p {
    font-size: 20px;
    line-height: 20px;
  }

  .words__card {
    border-width: 4px;
  }

  .words__card p {
    font-size: 24px;
    line-height: 24px;
  }

  .news__item-wrapper {
    column-gap: 40px;
  }

  .news__item-offers-wrapper {
    gap: 40px;
  }

  .maintance__content {
    max-width: 545px;
  }

  .maintance__content h2 {
    font-size: 28px;
    bottom: 32%;
  }

  .maintance__content img:first-child {
    width: 70%;
  }

  .maintance__content img:last-child {
    margin-top: -40px;
  }

  .modal__content--video video {
    border-width: 20px;
  }

  .modal__content--video button {
    top: -35px;
  }
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 14px;
    line-height: 14px;
  }

  main {
    top: -25px;
  }

  .container {
    padding: 0 40px;
  }

  .section {
    padding: 60px 0 0;
  }

  .section h2 {
    font-size: 20px;
  }

  .header--desktop {
    display: none;
  }

  .header--mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }

  .link-main {
    transform: translateX(15px);
  }

  .header__burger {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 40px;
    height: 27px;
  }

  .header__burger span {
    display: block;
    height: 5px;
    width: 100%;
    border-radius: 20px;
    background-color: var(--secondary-yellow-color);
  }

  .header__dropdown-menu li a {
    padding: 10px 5px;
    margin-bottom: 5px;
    width: 100px;
  }

  .header__additional {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .header__additional svg {
    height: 35px;
  }

  .header__additional button {
    /* transform: scale(1.2); */
    transform-origin: center;
  }

  .header__additional a {
    transform: scale(0.95);
    transform-origin: center;
  }

  .header--mobile__nav {
    position: fixed;
    top: 0;
    left: 0;
    padding: 15px 25px 45px 20px;
    background-color: var(--light-green-color);
    border-radius: 0;
    font-size: 18px;
    line-height: 18px;
    transform: translateX(-200%);
    transition: var(--transition-value);
    width: 80%;
    height: 100%;
    box-shadow: 1px 1px 10px;
  }

  .header--mobile__nav::-webkit-scrollbar {
    width: 0;
  }

  .header--mobile__nav.active {
    transform: translateX(0);
  }

  header.hidden .header--mobile__nav.active {
    /* transform: translateY(36%) translateX(0); */
  }

  .header--mobile__nav-list li {
    position: relative;
  }

  .header--mobile__nav-list li a {
    padding: 20px 0;
    border-bottom: 1px solid #fff;
    display: block;
  }

  .header--mobile__nav button {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 25px;
    margin-left: auto;
    margin-bottom: 5px;
  }

  .header--mobile__nav button span {
    display: block;
    width: 125%;
    height: 3px;
    background-color: #8ea148;
    border-radius: 3px;
    transform-origin: left;
  }

  .header--mobile__nav button span:first-child {
    transform: rotate(45deg);
  }

  .header--mobile__nav button span:last-child {
    transform: rotate(-45deg);
  }

  .header--mobile__nav-list li.active {
    background-color: var(--accent-green-color);
  }

  .header--mobile__nav-list ul li.active {
    background-color: var(--secondary-yellow-color);
  }

  .header--mobile__nav-list ul {
    display: none;
    padding: 0 0 0 35px;
    background-color: #fff974;
    width: calc(100% + 45px);
    transform: translateX(-20px);
  }

  .header--mobile__nav-list ul.active {
    display: block;
  }

  .header--mobile__nav-list ul ul {
    display: none;
    width: max-content;
    max-height: max-content;
    padding: 25px 20px;
    position: absolute;
    left: calc(100% + 20px);
    top: -25px;
    background-color: var(--light-green-color);
    border-radius: 30px;
  }

  .header--mobile__nav-list ul ul.active {
    display: block;
  }

  .greeting__section {
    border-bottom-left-radius: 155px;
    border-bottom-right-radius: 155px;
  }

  .greeting h1 {
    font-size: 22px;
  }

  .greeting h1 strong {
    font-size: 32px;
  }

  .opportunities__section::after {
    top: -125px;
  }

  .about__content-part {
    width: calc(50% - 35px);
  }

  .overview__cards,
  .demostration__cards {
    margin-bottom: 35px;
  }

  .accent-title {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 25px;
  }

  .section--other-page h3 {
    font-size: 18px;
    line-height: 20px;
  }

  .games__cards,
  .exercises__cards {
    margin-bottom: 50px;
  }

  .games__cards .overview__card {
    /* padding-bottom: 35px; */
  }

  .games__cards .overview__card-img {
    /* max-width: 190px; */
  }

  .exercises__card-img img {
    /* max-width: 40px; */
  }

  .exercises__card-img {
    padding: 20px 35px;
    margin-bottom: 20px;
  }

  .new-games {
    width: 85%;
  }

  .new-games .slick-arrow.slick-prev {
    left: -45px;
  }

  .new-games .slick-arrow.slick-next {
    right: -45px;
  }

  .news__item-wrapper {
    /* display: block; */
    /* margin: 0 40px 65px 0; */
    margin: 0px 0px 62px 0;
    column-gap: 8px;
  }

  .news__item-info,
  .news__article-info {
    font-size: 14px;
  }

  .news__item-main-info-images {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .news__item-main-info-images div {
    max-height: 160px;
    width: 30%;
  }

  .not-found__content {
    padding-top: 60px;
  }

  .not-found__content::after {
    top: 40px;
  }

  .not-found__content h2 {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .not-found__content img {
    max-width: 260px;
  }

  .modal {
    padding-top: 80px;
  }

  .modal__content--video button {
    height: 30px;
    width: 30px;
  }

  .logopeds-grid-container {
    grid-template-columns: repeat(3, 1fr);
    /* 3 колонки на планшетах */
  }

  .templates_cards {
    grid-template-columns: repeat(4, 1fr);
  }
}


@media screen and (max-width: 960px) {
  .link-main {
    height: 35px;
  }

  a.page__link {
    margin: 0 auto;
  }

  .section h2 {
    font-size: 18px;
    line-height: 18px;
  }

  .header__burger {
    width: 35px;
    height: 25px;
  }

  .header__additional svg {
    height: 30px;
  }

  .greeting h1 {
    font-size: 18px;
  }

  .greeting h1 strong {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .opportunities__card-icon img {
    max-width: 40px;
    max-height: 40px;
  }

  .opportunities__card-icon {
    height: 80px;
    width: 105px;
  }

  .opportunities__card p {
    width: 175px;
  }

  .about__content {
    flex-direction: column-reverse;
  }

  .about__content-part {
    width: 70%;
    margin: 0 auto;
  }

  .about__content-text p::after {
    left: 335px;
    transform: rotate(145deg);
  }

  .overview__card-img {
    max-width: 150px;
    margin-bottom: 10px;
  }

  .slick-arrow {
    height: 35px;
    width: 35px;
  }

  .slick-arrow::after {
    font-size: 18px;
    line-height: 18px;
  }

  .overview__cards .slick-arrow.slick-prev {
    left: -25px;
  }

  .overview__cards .slick-arrow.slick-next {
    right: -25px;
  }

  .demostration__card {
    padding: 20px 0 25px;
  }

  .demostration__card-img {
    max-width: 95px;
    margin-bottom: 10px;
  }

  .demostration__card a:last-child {
    max-width: 105px;
    margin: 0 auto;
  }

  footer .link-main {
    transform: translateX(0);
  }

  .footer__nav {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 55px 0 25px;
  }

  .footer__nav-list-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__nav-list li a {
    padding: 10px 0;
    margin: 10px 0;
  }

  .footer__nav-list:first-child {
    margin-bottom: 55px;
  }

  .pagination {
    margin-top: 65px;
  }

  .news__card-text-info {
    margin-bottom: 20px;
  }

  .news__card-text>p {
    line-height: 16px;
  }

  .news__card-img {
    max-height: 250px;
  }

  .games__cards .overview__card-img {
    /* max-width: 170px; */
  }

  .exercises__card {
    padding: 25px 0 30px;
  }

  .words__cards {
    gap: 20px;
    margin-bottom: 75px;
  }

  .words__card p {
    font-size: 20px;
    line-height: 20px;
  }

  .down__buttons {
    gap: 40px;
  }

  .down__buttons svg {
    height: 30px;
  }

  .news__item h4 {
    font-size: 13px;
    line-height: 13px;
  }

  .news__item-wrapper p {
    font-size: 13px;
    line-height: 13px;
  }

  .section--other-page.news__item h3 {
    font-size: 16px;
    line-height: 17px;
    margin-bottom: 5px;
  }

  .news__item-up-img {
    min-width: 50%;
    max-height: 225px;
    border-radius: 30px;
  }

  .news__item-up p {
    padding-left: 20px;
    padding-top: 20px;
  }

  .news__item-up p::before {
    font-size: 80px;
    line-height: 80px;
  }

  .news__item-main-info-images div {
    max-height: 135px;
  }

  .news__item-wrapper {
    margin-bottom: 55px;
  }

  .news__item-offers-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .news__item-offers-item {
    justify-content: center;
  }

  .maintance__content {
    max-width: 500px;
  }

  .maintance__content h2 {
    font-size: 24px;
  }

  .modal__content--video video {
    border-width: 15px;
    width: 90%;
  }

  .modal__content--video button {
    height: 25px;
    width: 25px;
    right: -5px;
  }

  .package_items_container {
    margin-bottom: 130px;
  }

  .package_item {
    max-width: 40%;
  }

  .social_links {
    display: flex;
    flex-wrap: wrap;

  }

  .social_links li {
    margin: 0 10px;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 13px;
    line-height: 13px;
  }

  .container {
    padding: 0 20px;
  }

  .section h2 {
    text-align: center;
  }

  header.hidden .header--mobile__nav.active {
    /* transform: translateY(32%) translateX(0); */
    /* transform: translateY(100%) translateX(0); */
  }

  .greeting__section {
    background-image: none;
    max-height: 400px;
  }

  .greeting__section>img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom-left-radius: 155px;
    border-bottom-right-radius: 155px;
  }

  .greeting {
    min-height: auto;
  }

  .greeting h1 {
    margin-top: 0;
    position: relative;
    top: -65px;
  }

  .greeting h1::before {
    content: "";
    position: absolute;
    top: 60px;
    right: 15px;
    display: block;
    width: 35px;
    height: 35px;
    background-image: url("./images/title-sun__decorator.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .greeting h1::after {
    content: "";
    position: absolute;
    bottom: 50px;
    left: 0;
    display: block;
    width: 35px;
    height: 35px;
    background-image: url("./images/title-cloud__decorator.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .opportunities__section::after {
    display: none;
  }

  .about__content-part {
    width: 80%;
  }

  .overview__section .container {
    padding: 0 0 0 20px;
  }

  .overview__cards {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 500px;
    width: calc(100% + 15px);
    overflow-x: scroll;
    z-index: 1;
  }

  .overview__cards::-webkit-scrollbar {
    height: 0;
  }

  .demostration__section .container {
    padding: 0 0 0 20px;
  }

  .demostration__cards {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 500px;
    overflow-x: scroll;
  }

  .demostration__cards::-webkit-scrollbar {
    height: 0;
  }

  .demostration__card {
    padding: 25px;
  }

  .footer__nav-wrapper {
    background-image: url("./images/footer__background--mobile.svg");
  }

  .news__card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    position: relative;
    margin-bottom: 30px;
  }

  .news__card:not(:last-child):after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    height: 1px;
    width: 85%;
    background-color: var(--accent-green-color);
  }

  .news__card-part {
    width: 100%;
  }

  .news__card-text--mobile {
    display: block;
  }

  .news__card-part.news__card-text {
    grid-column: 1/3;
  }

  .news__card-part.news__card-text h4,
  .news__card-part.news__card-text .news__card-text-info {
    display: none;
  }

  .news__card-img {
    max-height: 185px;
  }

  .news__card-text>p {
    margin-bottom: 20px;
  }

  .games__cards,
  .exercises__cards {
    margin-bottom: 40px;
  }

  .games__cards {
    grid-template-columns: repeat(2, 1fr);
  }


  .exercises__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .games__cards a.overview__card-link {
    width: 75%;
  }

  .new-games {
    width: 100%;
  }

  .new-games .slick-arrow {
    visibility: hidden;
  }

  .timer p {
    font-size: 18px;
    line-height: 18px;
  }

  .up__buttons button {
    height: 20px;
    width: 30px;
    margin-right: 10px;
  }

  .words__card p {
    font-size: 16px;
    line-height: 16px;
  }

  .news__item-img {
    grid-row: 1;
  }

  .news__item-content {
    grid-column: 1 / 3;
    margin-top: 15px;
  }

  .news__item-info {
    flex-direction: column;
    align-items: start;
  }

  .news__article-info {
    margin: 10px auto 15px 0;
  }

  .news__item-up p::before {
    font-size: 55px;
    line-height: 55px;
    top: -15px;
  }

  .news__item-up p {
    padding-left: 15px;
    padding-top: 15px;
  }

  .news__item-up {
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .news__item-up-img {
    width: 100%;
    max-height: 275px;
  }

  .news__item-main-info-images {
    gap: 30px;
  }

  .news__item-main-info-images div {
    max-height: 115px;
  }

  .news__item-wrapper {
    margin-bottom: 45px;
  }

  .news__item-offers-item:first-of-type {
    border-width: 3px;
  }

  .maintance__content {
    max-width: 440px;
  }

  .maintance__content h2 {
    font-size: 22px;
  }

  .maintance__content img:first-child {
    width: 65%;
  }

  .maintance__content img:last-child {
    margin-top: -30px;
  }

  .news__item.news__item-img {
    width: 100%;
  }

  .package_item_price {
    margin: 15px;
  }

  .templates_cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .logoped_profile-photo {
    margin: 0 auto;
  }

  .logoped_profile-general {
    flex-wrap: wrap;
    margin: initial;
  }

  .logoped_profile-main-info {
    padding: 0;
    margin-top: 25px;
  }

  .logoped_profile-main-info h1 {
    text-align: center;
  }

  .cabinet_top_row div {
    width: 100%;
  }

  html #wpadminbar {
    height: 46px;
    min-width: 240px;
    top: 0;
    position: fixed;
  }
}



@media screen and (max-width: 640px) {
  .section {
    padding: 40px 0 0;
  }

  .header--mobile {
    padding: 8px 0;
  }

  header.hidden .header--mobile__nav.active {
    /* transform: translateY(26%) translateX(0); */
  }

  .greeting__section>img {
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
  }

  .greeting h1 {
    top: -25px;
    padding: 40px 80px 35px 55px;
    text-align: center;
    font-size: 16px;
    line-height: 16px;
    background-image: url("./images/title__decorator--mobile.svg");
    max-width: 475px;
  }

  .greeting h1 strong {
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 5px;
  }

  .greeting h1::before {
    top: 25px;
    right: 65px;
  }

  .greeting h1::after {
    bottom: 0;
    left: 55px;
  }

  .about__content-part {
    width: 100%;
  }

  .about__content-text p::after {
    left: 300px;
  }

  .opportunities__card-icon img {
    max-width: 30px;
    max-height: 30px;
  }

  .opportunities__card-icon {
    height: 55px;
    width: 70px;
  }

  .opportunities__card p {
    width: auto;
  }

  .overview__section {
    background-size: 150%;
  }

  .section--other-page h3 {
    margin-bottom: 15px;
  }

  .pagination {
    gap: 10px;
    margin-top: 40px;
  }

  .news__card-text h4 {
    margin-bottom: 10px;
  }

  .news__card-text-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    text-align: left;
    margin-bottom: 0;
  }

  .news__card-img {
    max-height: 140px;
    border-radius: 20px;
  }

  .games__cards,
  .exercises__cards {
    margin-bottom: 30px;
  }

  .new-games {
    width: 130%;
    transform: translateX(-12%);
  }

  .games__cards .overview__card-img {
    /* max-width: 135px; */
  }

  .games__cards .overview__card {
    padding: 15px 20px 25px;
  }

  .exercises__card {
    padding: 20px 0 25px;
  }

  .exercises__card-img {
    padding: 15px 25px;
  }

  .exercises__card-img img {
    /* max-width: 30px; */
  }

  .words__cards {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 65px;
  }

  .news__item-up-img {
    max-height: 215px;
  }

  .news__item-main-info-images {
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .news__item-main-info-images div {
    max-height: 90px;
  }

  .news__item-offers-item {
    padding: 15px 0;
  }

  .news__item h4 {
    margin-top: 10px;
  }

  .news__item-offers-item-text a {
    font-size: 13px;
    line-height: 13px;
  }

  .news__item-offers-item-text p {
    font-size: 11px;
    line-height: 11px;
  }

  .not-found__content h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .not-found__content img {
    max-width: 220px;
    margin-bottom: 15px;
  }

  .maintance__content h2 {
    font-size: 18px;
  }

  .modal__content--video video {
    border-width: 10px;
    width: 100%;
  }

  .sidebar {
    max-width: 50px;
  }

  .sidebar .user_menu li a::before {
    display: block;
  }

  .sidebar .user_menu li {}

  .sidebar .user_menu li span {
    display: none;
  }

  .content_area {
    display: flex;
    flex-grow: 1;
    max-width: 85%;
    width: 100%;
    flex-direction: column;
  }

  #user-profile-form {
    max-width: 100%;
  }

  .user_profile_row.birthday_date {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .logopeds-grid-container {
    grid-template-columns: 1fr;

  }

  .news_page h1 {
    float: left;
    width: 100%;
    margin-top: 25px;
  }

  .news_page img {
    max-width: 100%;
  }

  .news__item-content {
    font-size: 13px;
  }

  .news__article-content {
    font-size: 13px;
    line-height: 17.73px;
    margin: 15px auto 45px 0;
  }

  .news__item img {
    max-width: 100%;
    border-radius: 20px;
    margin: 0 11px 0 0;
  }

  .news__banner-article h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 17.73px;
  }

  .news__banner-article h3::after {
    transform: translate(-45%, -50%) scaleX(1.8) scaleY(1.9);
  }

  .news__banner-article-item h4 {
    font-size: 18px;
  }

  .news__article h2 {
    font-size: 20px;
    font-weight: 500;
    line-height: 21.82px;
  }

  .logoped_profile-work-areas {
    flex-basis: 65%;
  }

  .logoped_profile-features_menu {
    flex-basis: 30%;
  }

  .logoped_profile-skills {
    flex-basis: 100%;
  }

  .logoped_profile-education {
    flex-basis: 100%;
  }

  .package_item {
    max-width: 101%;
  }

  .period_item {
    padding: 10px 5px;
    width: 85px;
    margin: 10px 3px;
  }
}

@media screen and (max-width: 500px) {
  .news__item.news__item-img {
    width: 100%;
  }

  main {
    top: -15px;
  }

  .section {
    padding: 30px 0 0;
  }

  .link-main {
    height: 30px;
  }

  .header--mobile {
    padding: 10px 0 20px;
  }

  .header__burger {
    width: 30px;
    height: 20px;
  }

  .header__burger span {
    height: 3px;
  }

  .header__additional svg {
    height: 25px;
  }

  .header__additional {
    gap: 10px;
  }

  .greeting__section>img {
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
  }

  .greeting h1 {
    top: -10px;
    padding: 20px 50px 20px 45px;
    max-width: 280px;
  }

  .greeting h1::before {
    top: 20px;
    right: 0;
  }

  .greeting h1::after {
    left: -5px;
  }

  .about__content-text p::after {
    left: 130px;
    bottom: 40px;
  }

  .overview__section {
    background-size: 250%;
  }

  .overview__cards {
    max-height: 435px;
    column-gap: 10px;
  }

  .overview__card {
    padding-bottom: 30px;
  }

  .overview__card-img {
    max-width: 115px;
  }

  a.overview__card-link {
    max-width: 230px;
  }

  .footer__nav-list:first-child {
    margin-bottom: 35px;
  }

  .footer__rights__payment {
    gap: 15px;
  }

  .footer__rights__payment a {
    width: 25px;
  }

  .footer__nav {
    padding: 30px 0 10px;
  }

  .news__card {
    column-gap: 10px;
    row-gap: 15px;
  }

  .news__card-text h4 {
    font-size: 13px;
    line-height: 13px;
  }

  .news__card-text-info {
    font-size: 11px;
    line-height: 11px;
  }

  .news__card-text>p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 15px;
  }

  .news__card-stat a svg {
    height: 15px;
  }

  .news__card-img {
    max-height: 95px;
  }

  .news__item h1 {
    font-size: 13px;
    line-height: 16.51px;
  }

  .news__item-link-comments>svg {
    transform: scale(0.8);
  }

  .news__item-link-comments span {
    margin-left: 3px;
  }

  .games__cards {
    row-gap: 20px;
  }

  .games__cards .overview__card-img {
    margin-bottom: 3px;
    max-width: 320px;
    padding: 10px;
  }

  .games__cards a.overview__card-link {
    width: 100%;
  }

  .games__cards .overview__card-background svg {
    transform: scaleY(1.15);
  }

  .exercises__cards {
    row-gap: 0;
  }

  .exercises__card-img {
    padding: 10px 15px;
    margin-bottom: 3px;
  }

  .exercises__card a {
    font-size: 12px;
  }

  .new-games .slick-list {
    padding: 25px 0;
  }

  .new-games .overview__card {
    padding-top: 0;
    padding-bottom: 0;
  }

  .new-games .overview__card-background {
    transform: scaleY(1.2);
  }

  .new-games .overview__card.slick-current+.overview__card {
    transform: scale(1.3);
  }

  .new-games a.overview__card-link {
    font-size: 11px;
    max-width: 100%;
  }

  .new-games .overview__card-img {
    margin-bottom: 5px;
  }

  .timer p {
    font-size: 16px;
    line-height: 16px;
  }

  .words__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 55px;
  }

  .words__card {
    border-width: 3px;
  }

  .words__card p {
    font-size: 14px;
    line-height: 14px;
  }

  .down__buttons button,
  .down__buttons a {
    width: 40px;
  }

  .down__buttons svg {
    height: 25px;
  }

  .news__item-offers-item-img {
    min-width: 110px;
    max-height: 70px;
  }

  .news__item-offers-wrapper {
    gap: 30px;
  }

  .news__item-up-img {
    max-height: 165px;
    border-radius: 10px;
  }

  .news__item-main-info-images div {
    width: 31%;
    max-height: 65px;
    border-radius: 10px;
  }

  .news__item-main-info-images {
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .not-found__content {
    padding-top: 50px;
  }

  .not-found__content::after {
    top: 30px;
  }

  .not-found__content h2 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .not-found__content img {
    max-width: 200px;
  }

  .maintance__content h2 {
    font-size: 16px;
  }

  .maintance__content img:last-child {
    margin-top: -20px;
  }

  .modal {
    padding-top: 0;
  }

  .news__banner-article-item h4 {
    font-size: 16px;
  }

  .templates_cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .games__cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .exercises__cards {
    grid-template-columns: repeat(2, 1fr);
  }


  .games__cards .overview__card {
    padding: 15px 7px 25px;
    margin-bottom: 30px;
  }

  .overview__card .selected_letter {
    right: 17%;
  }

  .overview__card-composition,
  .overview__card-level {
    right: 15%;
  }

  .contacts_container {
    flex-direction: column;
  }

  .contact_information {
    margin-top: 50px;
  }

  .contact_form,
  .contact_information {
    width: 100%;
  }

  .contact_form form {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 450px) {
  .logoped_profile-work-areas {
    flex-basis: 100%;
  }

  .logoped_profile-features_menu {
    flex-basis: 100%;
    margin-left: 0;
  }
}

@media screen and (max-width: 360px) {
  .games__cards {
    row-gap: 0;
  }

  .news__item-wrapper {
    column-gap: 15px;
    margin: 0 10px 15px 0;
  }

  .news__article h2 {
    font-size: 16px;
  }
}


/* @media (min-width: 1024px) { */
header {
  /* overflow: hidden; */
  height: auto;
  opacity: 1;
  transition: height 0.4s ease, opacity 0.4s ease;
}

header.hidden {
  opacity: 0;
}

/* } */

header.static_pages {
  overflow: visible;
  margin-bottom: -40px;
}

header.hidden .header--desktop {
  padding: 0;
}

.footer_single_game {
  display: none;
}

/*  */
/* Повна заборона виділення і перетягування */
.section--additional,
.section--additional * {
  /* user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; */

  /* ❌ не чіпаємо touch-action, щоб не блокувати перетягування */
}

/* Щоб зображення не тягнулись браузером, але можна було обробляти драг через JS */
.section--additional img {
  /* -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto; */
  /* дозволяє отримувати події */
}



.essence-title {
  font-size: 30px;
  display: inline-block;
  font-weight: bold;
  margin: 20px 0;
}

.essence-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.essence-gallery .essence-thumb {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1/1;
}

.essence-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.essence-gallery img:hover {
  transform: scale(1.05);
}

.essence-gallery-more {
  text-align: center;
  margin-top: 10px;
}

.btn-show-more {
  background: var(--accent, #1AAFD0);
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background .2s ease;
}

.btn-show-more:hover {
  background: #1391ad;
}

.essence-analysis {}

.essence-analysis p {
  display: inline-block;
  margin: 10px 0;
  width: 100%;
}

.essence-sound-model {
  display: flex;
  /* flex-wrap:wrap; */
}

.essence-sound-model img {
  width: fit-content;
}

.essence_h2 {
  font-size: 26px;
  font-weight: bold;
  display: inline-block;
  line-height: 1;
  width: 100%;
}
.essence_h2 i{
  font-style: italic;
  color: var(--accent-green-color);
}
.essence-analysis_title{
      margin-top: 20px;
    font-size: 20px;
}
.essence-analysis p {
  margin-bottom: 20px;
}

.essence-analysis p:first-child {
  margin-top: 20px;
}

.login-invite-modal.modal.visible {
  z-index: 8 !important;
}

.demo-pay {
  background: rgb(255, 215, 130);
  padding: 5px;
  margin: 10px 0;
}

.demo-pay a {
  text-decoration: underline;
}

.fullscreen-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.buy_row .btn.disabled {
  color: #000000;
  cursor: default;
  border-radius: 6px;
  padding: 8px 16px;
  display: inline-block;
  text-decoration: none;
  font-size: 11px;
}

.team_photo {
  max-width: 300px;
}

/* BUG Report */
/* ===== Bug Report System ===== */

#bug-report-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #ff4747;
  color: white;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 99999;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;

  opacity: 0.5;

  /* Анімація */
  transition: all 0.25s ease;

  /* Початковий стан — стиснута кнопка */
  width: 42px;
  text-align: center;
  overflow: hidden;
}

/* Текст у кнопці розширюється на ховер */
#bug-report-btn:hover {

  opacity: 1;

  width: 140px;
  padding-right: 18px;
}

/* На ховері змінюємо текст на “Проблема?” */
#bug-report-btn::after {
  content: "!";
  transition: opacity 0.25s ease, content 0.25s ease;
}

#bug-report-btn:hover::after {
  content: "   Проблема?";
}

/* Модалка */
#bug-report-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.br-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.br-window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.br-window h2 {
  margin-top: 0;
}

#br-preview {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}

#br-message {
  width: 100%;
  height: 90px;
  padding: 8px;
  margin-bottom: 10px;
  resize: vertical;
}

.br-buttons {
  display: flex;
  gap: 10px;
}

#br-send,
#br-cancel {
  width: 50%;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

#br-send {
  background: #0073aa;
  color: white;
}

#br-cancel {
  background: #ccc;
}

.history_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  font-size: 15px;
}

.history_table thead th {
  background: #f3f6fb;
  color: #333;
  padding: 12px 15px;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid #e1e7f0;
  position: sticky;
  top: 0;
  z-index: 2;
}

.history_table tbody tr {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.history_table tbody tr:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.history_table tbody td {
  padding: 14px 15px;
  border-top: 1px solid #f0f3f7;
  vertical-align: middle;
}

.history_table tbody td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.history_table tbody td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* Посилання на гру */
.game-history-link {
  text-decoration: none;
  color: #1a73e8;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-history-link:hover {
  color: #0b5dc1;
}

/* Мінімальна адаптація */
@media (max-width: 768px) {
  .history_table thead {
    display: none;
  }

  .history_table tbody tr {
    display: block;
    margin-bottom: 15px;
  }

  .history_table tbody td {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border: none;
    border-bottom: 1px dashed #e5e7eb;
  }

  .history_table tbody td:last-child {
    border-bottom: none;
  }

  .history_table tbody td:before {
    content: attr(data-label);
    font-weight: 600;
    color: #666;
  }
}


/* Cabinet switch */
.mode_switch {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
  width: auto !important;
}

.mode-tabs {
  display: inline-flex;
  background: #e9edf3;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  width: fit-content !important;
}

.hello_row {
  margin-left: 30px;
}

.mode-tabs .tab {
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  color: #555;
  transition: 0.25s;
}

.mode-tabs .tab.active {
  background: #ffffff;
  color: #222;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.mode-tabs .tab:hover {
  background: #f7f9fb;
}

.favorite_game {
  display: grid;
  grid-template-columns: 60px 1fr 180px 60px;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.favorite_game_list_head {
  font-weight: 600;
  border-bottom: 2px solid #ddd;
  padding-bottom: 8px;
}

.favorite_game_thumb_wrap img.favorite_game_thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.favorite_game_title a {
  text-decoration: none;
  color: #222;
}

.favorite_game_gametype {
  font-size: 14px;
  color: #555;
}

.favorite_game_play {
  display: inline-block;
  background: var(--accent-green-color);
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
}

.favorite_game_play:hover {
  background: var(--accent-green-color);
  color: #ffffff;
}

.favorite_game_play:hover svg path {
  fill: #ffffff;
}

.favorite_game_play_col {
  text-align: center;
}

/*  */
.essence-label.wysiwyg {
  padding: 10px 0;
}

.essence-switch {
  display: flex;
  gap: 10px;
  margin: 30px 0;
  margin-bottom: 0;
}

.essence-tab {
  padding: 8px 16px;
  border: 1px solid #b6d461;
  background: #ffffff;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
}

.essence-tab.active {
  background: #b6d461;
  color: #fff;
  border-radius: 10px 10px 0 0;
}

.essence-block {
  display: none;
}

.essence-block.active {
  display: block;
  border: 1px solid #b6d461;
  padding: 10px;
}

.essence-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.essence-gallery img {
  width: 100%;
  border-radius: 8px;
}

.essence-analysis--plural {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
}

.search-card.search-card--essence {
  display: flex;
  justify-content: center;
  text-align: center;


}

.search-card.search-card--essence img {
  max-height: 150px;
  object-fit: contain;


}
.essence-edit-link {
    margin-left: 8px;
    font-size: 18px;
    text-decoration: none;
    color: #888;
    background: #b6d461;
    padding: 5px;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.essence-edit-link:hover {
    color: #000;
}

.essence-row__cols{
  display: flex;
  flex-wrap: wrap;
}
.essence-row__cols .essence-label{
    width: 100%;
    margin: 5px 0;
    padding: 5px;
    font-size: 14px;
    border-bottom: 1px solid #ececec;
    color: #4d4d4d;
}
.essence-row__header{
  
}
.essence-row{
    margin: 10px 0;
    padding: 5px;
    border: 1px solid #ccc;
}
.essence-row__header .essence-word{
font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.essence-row__header .essence-edit-link{

}
.essence-col{
/* background: #ececec; */
    width: 50%;
    /* border: 3px solid #ffffff; */
    padding: 5px;
    font-size: 15px;
}
.essence-col:nth-child(even){
    background: aliceblue;
}
.essence-col:nth-child(odd){
background: #fff0db;
}
.essence-col svg{
      width: 19px;
}
.essence-col h3{
font-weight: bold;
    display: flex;
    align-content: center;
    margin-bottom: 10px;
}
.essence-col li{
  margin-bottom: 5px;
}
.essence-col li strong{
      font-style: italic;
    margin-right: 10px;
    opacity: 0.8;
}
.essence-row:nth-child(odd){
    background: #f3f3f3;
}
.essence-row:nth-child(even){

}
.essence-word-plural{
    background: #eeeeee;
    padding: 0 5px;
}