.wrapper {
    min-width: 320px;
    position: relative;
  }

  .wrapper-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 20;
  }

  .header {
    background-color: var(--bg);
    box-shadow: 0 0 30px rgba(0,0,0,0.16);
    position: relative;
    z-index: 15;
  }

  .header__inner {
    padding: 0px var(--indent);
  }

  .content {
    background-color: var(--bg);
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.06);
    padding: 50px var(--indent);
    position: relative;
    z-index: 10;
    margin-top: -150px;
    margin-bottom: -50px;
  }

  .cols {
    display: grid;
    gap: 50px;
    grid-template-columns: 260px minmax(0,1fr);
    grid-template-areas: "sidebar main";
  }

  .cols__main {
    grid-area: main;
  }

  .cols__side {
    grid-area: sidebar;
  }

  .footer {
    background-color: var(--bg-black);
    color: #fff;
  }

  .footer__inner {
    padding: 30px var(--indent);
    padding-top: 80px;
    gap: 30px;
  }

  .footer__logo {
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
  }

  .footer__logo span {
    color: var(--accent, #ffcc00); 
  }

  @media (max-width: 480px) {
    .footer__logo {
      font-size: 16px;
      white-space: normal;   
      text-align: center;
    }
  }

  .scrolltop {
    position: fixed;
    width: 44px;
    height: 40px;
    right: -60px;
    bottom: 0px;
    z-index: 990;
    border-radius: 0;
    font-size: 20px;
    opacity: 0;
    transition: right 0.2s, opacity 0.2s;
  }

  .scrolltop.is-active {
    right: 0px;
    opacity: 1;
  }

  .logo {
      display: block; 
      height: 80px; 
      line-height: 80px; 
      font-weight: 700; 
      color: #000 !important;
      font-size: 24px; 
      letter-spacing: 1px; 
      padding-left: 40px;  
      background: url(../images/logo.png) 0 center / 30px no-repeat;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
      transition: all 0.3s ease;
  }
  .logo:hover {
      color: var(--accent) !important;
      opacity: 0.85;
  }
  .header__logo {
      min-width: 280px; 
      margin-right: 30px;

      flex-shrink: 1;
  }
  .header__btn-login {padding: 0 10px;}
  .header__btn-fav {margin-left: 30px;}
  .header__btn-fav:before {color: #fac51f; font-size: 15px;}
  .header__btn-fav span:last-child {
      font-size: 12px; 
      display: flex; 
      align-items: center; 
      height: 24px; 
      padding: 0 9px; 
      border: 1px solid var(--bdc); 
      border-radius: 3px; 
      min-width: 34px;
  }

  @media screen and (max-width: 768px) {
      .logo {
          height: 60px;
          line-height: 60px;
          font-size: 18px;
          padding-left: 35px;
          background-size: 25px;
      }

      .header__logo {
          min-width: auto;
          margin-right: 15px;
          max-width: 200px;
      }
  }

  @media screen and (max-width: 480px) {
      .logo {
          height: 50px;
          line-height: 50px;
          font-size: 16px;
          padding-left: 30px;
          background-size: 20px;
      }

      .header__logo {
          margin-right: 10px;
          max-width: 160px;
      }

      .logo span {
          display: none;
      }
  }

  .search-block {width: 100%; position: relative; margin-bottom: 20px;}
  .search-block__input, .search-block__input:focus {border-radius: 0; padding: 0 40px 0 13px; box-shadow: none;}
  .search-block__input:not(:focus)::placeholder {color: var(--tt-fade); opacity: 1; font-size: 14px;}
  .search-block__btn {position: absolute; right: 0; top: 0; width: 40px; border-radius: 0px; font-size: 16px;}

  .header__menu {gap: 30px;}
  .header__menu > li {position: relative;}
  .header__menu > li > a {height: 80px; display: flex; align-items: center; justify-content: space-between; 
      font-weight: 600; font-size: 16px; gap: 10px; position: relative; transition: all 0.3s ease;}
  .header__menu > li > a::before {content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; 
      background-color: var(--accent); transition: width 0.3s ease;}
  .header__menu > li > a:hover {color: var(--accent);}
  .header__menu > li > a:hover::before {width: 100%;}
  .header__menu-submenu {width: 240px; padding: 15px 30px; border-radius: 0 0 4px 4px; display: grid; gap: 10px; 
      position: absolute; left: -30px; top: 100%; background: var(--bg); box-shadow: 0 12px 12px rgba(0,0,0,0.27); 
      opacity: 0; visibility: hidden; transform: translateY(30px); transition: all 0.3s ease;}
  .header__menu-submenu li + li {border-top: 1px dashed var(--bdc); padding-top: 10px;}
  .header__menu-submenu a {transition: all 0.3s ease; padding: 8px 12px; display: block; border-radius: 4px; 
      margin: -5px -12px;}
  .header__menu-submenu a:hover {color: var(--accent); background-color: var(--bg-darker);}
  .header__menu-has-submenu > a::after {content:"\f107"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
      transition: transform 0.3s ease;}
  .header__menu-has-submenu:hover > a::after {transform: rotate(180deg);}

  .hero {
      background: #000 url(../images/bg.webp) center center / cover no-repeat;
      color: #fff;
      padding-bottom: 150px;
      box-shadow: inset 0 500px rgba(124, 104, 173, 0.4), inset 0 60px 60px rgba(0,0,0,1);
  }

  .hero__inner {
      padding: 50px var(--indent);
      display: flex;          
      flex-direction: column;
      gap: 10px;              
      justify-content: center;
      align-items: flex-start; 
  }

  .hero__title {
      font-weight: 600;
      font-size: 18px;
  }

  .hero__caption {
      opacity: 0.8;
      font-size: 13px;
  }

  .hero__btn {
      display: none;
  }

  .sect:not(:last-child) {margin-bottom: 50px;}
  .sect__header {margin-bottom: 30px;}
  .sect__title {font-size: 24px; font-weight: 700;}

  .speedbar {color: var(--tt-fade); font-size: 14px; margin-bottom: 15px;}

  .sect__sort {height: 36px;}
  .sect__sort ul {height: 36px; background-color: var(--bg-lighter);
      border-radius: 6px; position: relative; z-index: 50; cursor: pointer; text-align: center;}
  .sect__sort ul li {height: 36px; line-height: 36px; visibility: hidden; padding: 0 10px; font-size: 13px;}
  .sect__sort ul li[class], .sect__sort ul:hover li {visibility: visible;}
  .sect__sort ul:hover {height: auto; box-shadow: var(--bsh);}
  .sect__sort ul li[class]::before {content: 'Сортировать по:'; margin-right: 6px;}
  .sect__sort li.asc a::after, .sect__sort li.desc a::after {content: "\f063"; font-family: "Font Awesome 5 Pro"; 
      display: inline-block; margin-left: 6px; font-weight: 300; font-size: 10px;}
  .sect__sort li.desc a::after {content: "\f062"}
  .descr {display: grid; grid-gap: 20px; line-height: 1.7; font-size: 14px; color: #5c5c5c; 
      padding-top: 40px; border-top: 1px dashed #ccc;}
  .descr h1, .descr h2, .descr h3 {font-size: 18px; font-weight: 700; color: var(--tt); line-height: 1.3;}
  .descr a {text-decoration: underline; color: var(--accent);}
  .descr ul li {position: relative; padding-left: 25px; margin-left: 25px;}
  .descr ul li::before {content:"\f00c"; font-weight: 300; font-family:'Font Awesome 5 Pro'; 
      color: var(--accent); position: absolute; left: 0; top: 0;}
  .descr__section {padding-top: 15px; margin-bottom: -15px;}
  .descr__section p, .descr__section h2, .descr__section h3 {margin-bottom: 15px;}
  .descr__img {width: 130px; height: 130px; border-radius: 50%; margin-right: 25px; float: left;
      box-shadow: 0 0 0 1px var(--bdc); border: 10px solid var(--bg); background-color: var(--bg-darker);}

  .short {padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--bdc); gap: 30px; position: relative;}
  .short__img {width: 240px; height: 160px; display: block;}
  .short__fav {position: absolute; left: 200px; top: -5px; z-index: 5;}
  .short__fav .fas {width: 30px; height: 30px; position: relative; padding-top: 5px;
      background-color: var(--bg-darker-2); color: var(--tt-fade-2); font-size: 14px;}
  .short__fav .fas::after {content: ''; position: absolute; left: 0; top: 100%; transform-origin: center top;
      border: 15px solid transparent; border-top-color: var(--bg-darker-2); transform: scale(1,0.5);}
  .short__fav .fas.short__fav-added {background-color: #ffc300; color: #fff;}
  .short__fav .fas.short__fav-added::after {border-top-color: #ffc300;}
  .short__fav a {transition: none;}
  .short__meta {font-size: 13px; color: var(--tt-fade); margin-bottom: 8px; gap: 8px;}
  .short__title {font-size: 19px; font-weight: 400; margin-bottom: 15px;}
  .short__title a {color: var(--tt-colored);}
  .short__text {-webkit-line-clamp: 3; color: #5c5c5c; line-height: 1.5;}

  .side-block:not(:last-child) {margin-bottom: 50px;}
  .side-block__title {font-size: 19px; font-weight: 600; 
      margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--bdc);}
  .side-block__title a {font-size: 13px; text-decoration: underline; position: relative; padding-right: 15px; font-weight: 400;}
  .side-block__title a::before {position: absolute; right: 0; top: 3px; font-size: 15px;}
  .side-block__grid {display: grid; gap: 20px; grid-template-columns: repeat(auto-fill,minmax(240px,1fr));}

  .popular {gap: 15px; border-bottom: 1px solid var(--bdc); padding-bottom: 20px;}
  .popular__img {width: 60px; height: 60px; border-radius: 50%;}
  .popular__category {font-size: 13px; color: var(--tt-fade); margin-bottom: 5px;}
  .cols__side .popular__title {-webkit-line-clamp: 3;}

  .lcomm {border-bottom: 1px solid var(--bdc); padding-bottom: 20px;}
  .lcomm__title {font-weight: 400;}
  .lcomm__meta {font-size: 13px; color: var(--tt-fade); gap: 10px; margin: 5px 0;}
  .lcomm__text {font-size: 14px; -webkit-line-clamp: 5; color: #5c5c5c;}

  .nav-holder {margin-top: -50px; padding: 30px; padding-top: 50px; background-color: var(--bg-darker);}
  .nav-holder__title {font-size: 19px; font-weight: 600; margin-bottom: 20px;}
  .nav-holder__caption {font-size: 16px; display: block;}
  .nav-holder__caption:not(:last-child) {border-bottom: 1px solid var(--bdc); margin-bottom: 15px;
      margin-left: -30px; margin-right: -30px; padding: 15px 30px; padding-top: 0;}
  .nav-holder__list {font-size: 13px; display: grid; gap: 8px; color: var(--tt-fade);}
  .nav-holder__list a {opacity: 0.7; font-size: 14px; margin-right: 5px; transition: all 0.3s ease; 
      padding: 6px 10px; margin: -6px -10px; border-radius: 4px; display: inline-block;} 
  .nav-holder__list a:hover {opacity: 1; color: var(--accent); background-color: rgba(131, 106, 197, 0.1);}
  .nav-holder__list + .nav-holder__caption {margin-top: 20px;}

  .place-holder {height: 280px; padding: 30px; padding-bottom: 100px; position: relative; background: var(--bg-darker);}
  .place-holder__btn {position: absolute; bottom: 30px; left: 30px; right: 30px; z-index: 1;}
  .rkl-holder {background: #000 url(../images/hero-bg.jpg) center center / cover no-repeat; color: #fff; 
      overflow: hidden; box-shadow: inset 0 500px rgba(124, 104, 173, 0.4), inset 0 60px 60px rgba(0,0,0,1);}
  .rkl-holder__title {font-weight: 600; font-size: 24px; line-height: 1.2; margin-bottom: 10px;}
  .rkl-holder__caption {opacity: 0.8; font-size: 13px; line-height: 1.6;}
  .rkl-holder::after {content: ''; width: 500px; height: 500px; position: absolute; right: -200px; bottom: -250px;
      background: radial-gradient(circle closest-side at center, #ffc300 0%, transparent 100%); 
      mix-blend-mode: overlay; opacity: 0.6;}
  .vk-holder {background: radial-gradient(circle farthest-side at 50% 30%, #fff 0%, #fff 10%, #e9edf8 60%);}
  .vk-holder .place-holder__btn {background-color: #587ba1; height: 32px; font-size: 13px;}
  .vk-holder__title {color: #435d79; text-align: center; font-size: 13px;}
  .vk-holder::before {width: 50px; height: 50px; border-radius: 50%; content: ''; display: block;
      margin: 15px auto 15px auto; background: url(../images/social/vk.svg) 0 0 / 50px no-repeat;}

  .footer__menu {gap: 15px 30px;}
  .footer__menu a {font-weight: 400; font-size: 16px; color: #fff;}
  .footer__text {border-top: 1px solid rgba(255,255,255,0.13); margin-top: 30px; padding-top: 15px; 
      font-size: 13px; color: rgba(255,255,255,0.5);}
  .footer__copyright {margin-top: 11px; color: rgba(255,255,255,0.66);}
  .footer__copyright span {color: #fff;}
  .footer__logo {filter: grayscale(1) invert(1); min-width: 280px; margin-top: -32px;}
  .footer__counter {margin-top: 30px;}
  .footer__socials {gap: 6px; margin-top: 5px;}
  .footer__socials a, .footer__socials a img {width: 36px; height: 36px; border-radius: 50%; display: block;}

  .pagination {gap: 30px 60px;}
  .pagination a, .pagination span, .pagination__btn {display: grid; place-items: center; height: 36px;}
  .pagination__btn-loader {width: 100%;}
  .pagination__btn-loader a, .pagination__btn-loader span {height: 40px; border-radius: 4px; 
      background-color: var(--bg-darker); color: var(--tt-fade); width: 100%;}
  .pagination__pages {gap: 10px 20px; font-size: 18px;}
  .pagination__pages span:not(.nav_ext) {background-color: var(--accent); color: #fff; padding: 0 10px;}
  .pagination__btn {width: 36px; background-color: var(--bg-darker-2); color: var(--tt-fade-2);}

  .page__title {font-size: 34px; line-height: 1.2; margin-bottom: 10px;}
  .page__meta {color: var(--tt-fade); font-size: 13px; gap: 15px 20px; margin-bottom: 40px;}
  .page__meta .short__fav {position: relative; left: 0; top: 0;}
  .page__meta .short__fav a {display: flex; align-items: center; gap: 5px; color: var(--tt-fade);}
  .page__meta .short__fav .fas {transform: scale(0.8,0.8); transform-origin: left center;}
  .page__text {margin-bottom: 30px;}

  .page__intro {line-height: 1.5; margin: 0 0 30px 0; padding: 15px 20px 15px 100px; 
      position: relative; background-color: #f2f5fc; color: #2d4550;}
  .page__intro::before {content:"\f05a"; font-family:'Font Awesome 5 Pro'; font-weight: 300; 
      position: absolute; left: 30px; top: 50%; transform: translateY(-50%); color: #8babda; font-size: 40px;}
  .page__img {padding-top: 46%; margin-bottom: 40px;}
  .page .page__img.img-responsive {padding-top: 0; height: auto; min-height: 200px; background-color: var(--bg-darker);}
  .page .page__img.img-responsive > img {position: relative; width: 100%; height: auto; max-height: 80vh; object-fit: contain; object-position: center top;}
  .page .page__img.img-mask::before {display: none;}
  .page__img-caption {font-size: 13px; position: absolute; left: 15px; bottom: 15px; z-index: 10; 
      color: #fff; opacity: 0.9; width: 46%;}

  .page__prev-next {gap: 15px 90px; margin-bottom: 30px;}
  .page__prev-next-link {min-width: 280px;}
  .page__prev-next-link div:first-child {width: 100%; color: var(--accent); font-size: 13px; 
      justify-content: flex-start; margin-bottom: 6px; font-weight: 600; text-transform: uppercase;}
  .page__prev-next-link + .page__prev-next-link {text-align: right;}
  .page__prev-next-link + .page__prev-next-link div:first-child {justify-content: flex-end;}
  .page__tags {margin-bottom: 30px; gap: 10px;}
  .page__tags a {display: flex; align-items: center; white-space: nowrap; height: 30px; border-radius: 2px; 
      padding: 0 10px; font-size: 12px; text-transform: uppercase; color: var(--tt-fade); border: 1px solid var(--bdc);}

  .page__info {border-bottom: 1px solid var(--bdc); padding-bottom: 20px; margin-bottom: 20px;}
  .page__author {display: block; position: relative; padding-left: 50px;}
  .page__author-caption {color: var(--tt-fade); font-size: 13px; margin-bottom: 3px;}
  .page__author::before, .page__author img {position: absolute; left: 0; top: 50%; transform: translateY(-50%); 
      color: var(--accent); font-size: 40px;}
  .page__author img {width: 40px; height: 40px; border-radius: 50%; object-fit: cover;}
  .page__rating {gap: 30px;}
  .page__rating > * {display: flex; align-items: center; gap: 10px;}
  .page__rating > * .fal {font-size: 18px; height: 40px; width: 40px; border-radius: 50%; 
      border: 2px solid var(--ui-green); color: var(--ui-green);}
  .page__rating > *:last-child .fal {border: 2px solid var(--ui-red); color: var(--ui-red); }

  .ya-dzen {background: #ffdd2e url(../images/ya-dzen-bg.png) center center / cover no-repeat; margin-bottom: 30px;
      border-radius: 10px; padding: 18px 30px; position: relative;}
  .ya-dzen__btn {position: absolute; right: 30px; top: 50%; margin-top: -20px; background-color: #e95631;}
  .ya-dzen img {display: block; width: 100px; height: 30px; margin-top: 10px;}

  .full-text {line-height: 1.6; font-size: 17px; word-wrap: break-word;}
  .full-text a {text-decoration: underline; color: #5278b1;}
  .full-text img:not(.emoji), .full-text p, .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5, 
  .full-text > ul, .full-text > ol, .full-text table {margin-bottom: 25px;}
  .full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {margin:0 10px 10px 0;}
  .full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {margin:0 0 10px 10px;}
  .full-text > ul li, .full-text > ol li {padding-left: 60px; position: relative;}
  .full-text > ul li:before {content: ''; width: 8px; height: 8px; border-radius: 50%; 
      border: 3px solid #fcc506; position: absolute; top: 6px; left: 34px;}
  .full-text > ol {counter-reset: num;}
  .full-text > ol li:before {content: counter(num); counter-increment: num; background-color: #fcc506; color: #000; 
      position: absolute; top: -3px; left: 17px; width: 24px; height: 30px; font-size: 14px; font-weight: 600;
      display: flex; justify-content: flex-end; align-items: center; padding-right: 6px; box-sizing: border-box;}
  .full-text > ol li:after {content: ''; border: 10px solid transparent; border-left-color: #fcc506; 
      position: absolute; left: 41px; top: -3px; transform: scale(0.66,1.5); transform-origin: 0 0;}
  .full-text > ul li + li, .full-text > ol li + li {margin-top: 10px;}
  .full-text table, .video-inside > * {width:100%;}
  .full-text table tr td {padding:10px; border:2px solid #fff;}
  .full-text table tr:nth-child(2n+1) {background-color:#f2f6f9;} 
  .full-text table tr:nth-child(1) {background-color:#cee0ed;}
  .full-text table img:not(.emoji) {margin:0; max-width:350px}
  .full-text > *:last-child {margin-bottom: 0;}
  .video-responsive {padding-top: 60%; position: relative;}
  .video-responsive > iframe, .video-responsive > video {position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
  .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 21px; margin-bottom: 20px;}
  .full-text iframe {width: 100%; height: 400px; margin-bottom: 20px;}
  .fdl-btn {display: block; position: relative; box-shadow: 0 3px 10px rgba(0,0,0,0.1); 
      text-decoration: none !important; padding: 15px 15px 15px 130px;
      background: linear-gradient(to top, #27ae60, #2ecc71); color: #fff !important; overflow: hidden;}
  .fdl-btn-title {font-weight: 600; text-transform: uppercase; word-wrap: break-word;}
  .fdl-btn-size {font-size: 14px; margin-top: -2px; margin-bottom: 6px; opacity: 0.9;}
  .fdl-btn-caption {opacity: 0.7; font-size: 14px;}
  .fdl-btn-dl {font-size: 12px; text-transform: uppercase; margin-left: 15px;}
  .fdl-btn > * {position: relative; z-index: 3;}
  .fdl-btn-icon {width: 50px; height: 50px; border-radius: 50%; margin-top: -25px; font-size: 24px;
      position: absolute; left: 40px; top: 50%; display: flex; align-items: center; justify-content: center;
      box-shadow: 0 0 0 15px rgba(0,0,0,0.13), 0 0 0 30px rgba(0,0,0,0.08), 0 0 0 45px rgba(0,0,0,0.04);}

  .page__comments {margin-top: 0px;}
  .page__comments-title {font-size: 24px;}
  .page__comments-info {color: var(--tt-fade); display: block; margin: 5px 0 20px;}
  .page__comments-info::before {color: var(--ui-red); margin-right: 10px;}
  .ac-form {margin-bottom: 20px;}
  .ac-form__header, .ac-form__editor, .ac-form .message-info {gap: 10px; margin-bottom: 10px;}
  .ac-form__btn {padding: 0 60px;}
  .ac-form__bottom {gap: 25px;}
  .confidential-check {font-size: 14px;}
  .ac-form__header > span {margin-left: 15px;}
  .ac-form .comments_subscribe {margin-top: 0px;}

  .ac-form__editor .bb-editor textarea, .ac-form__editor .fr-wrapper {height: 100px !important;}
  .ac-form__editor .fr-view {min-height: 80px !important;}
  .ac-form .tox-tinymce {height: 160px !important;}
  .comments_subscribe + br, .ac-form .bb-editor + br {display: none;}

  .mass_comments_action {display: flex; align-items: center; flex-wrap: wrap; gap: 10px;}
  .mass_comments_action select {flex: 1 1 0; margin: 0 -28px 0 0; border-radius: 0; box-shadow: none; min-width: 60%;}
  .mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}

  .comm__title {font-size: 18px; margin-bottom: 20px;}

  .comm {margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--bdc);}
  .comm__img {width: 40px; height: 40px; border-radius: 50%; margin-right: 15px;}
  .comm__img::before {content: ''; width: 8px; height: 8px; border-radius: 50%; background-color: var(--ui-red); 
      position: absolute; right: -1px; top: -1px; z-index: 5; border: 2px solid var(--bg);}
  .comm--online .comm__img::before {background-color: var(--ui-green);}
  .comm__letter {width: 100%; height: 100%; text-transform: uppercase; border-radius: inherit;
      position: absolute; left: 0; top: 0; color: #fff; font-size: 18px; font-weight: var(--ui-fw-bolder);}
  .comm__author, .comm__author a {color: var(--tt-colored); font-weight: 600; font-size: 14px;}
  .comm__date {color: var(--tt-fade); font-size: 13px; margin-top: 2px;}
  .comm__main {margin: 10px 0 6px 0;}
  .comm__action {gap: 20px; font-size: 13px;}
  .comm__action li, .comm__action li a {color: var(--tt-fade); cursor: pointer; gap: 8px;}
  .comm__ctrl, .comm__ctrl a {font-size: 15px; gap: 10px 15px; color: var(--tt-fade);}
  .comm__ctrl li.has-checkbox {transform: scale(0.8,0.8); margin: 0 -10px 0 -5px;}
  .comm__ctrl li.has-checkbox input {border-color: var(--tt-fade);}
  .comm__rating {gap: 10px; font-size: 14px;}
  .comm__rating::before {content: attr(data-text); display: inline;}
  .comm__rating > * {display: flex; gap: 5px;}
  .comm__rating > * > span:first-child {text-decoration: underline; color: var(--ui-green);}
  .comm__rating > * + * > span:first-child {color: var(--ui-red);}

  .login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); overflow-y: auto;
      background-color: var(--ui-bg); width: 440px; border: 10px solid var(--ui-bg-darker); display: none;
      box-shadow: 0 15px 45px rgba(0,0,0,1); max-width: calc(100vw - 40px); max-height: calc(100vh - 40px);}
  .login__header {padding: 20px 50px 25px 50px; border-bottom: 1px solid var(--ui-bdc); position: relative;}
  .login__title {font-size: 24px; font-weight: var(--ui-fw-bolder);}
  .login__caption {font-size: 13px; color: var(--ui-tt-fade); margin-top: 3px;}
  .login__close {font-size: 23px; position: absolute; right: 10px; top: 10px; padding: 0; width: 40px; height: 40px;}
  .login__content {display: grid; gap: 20px; padding: 25px 50px; padding-bottom: 30px; position: relative;}
  .login__row, .login__row.fal, .login__row.fas {position: relative; display: grid; gap: 10px; justify-content: stretch;}
  .login__row-caption a, .login__caption a {margin-left: 10px;}
  .login__row::before {position: absolute; left: 2px; bottom: 0; width: 40px; height: 50px; 
      display: grid; place-items: center; opacity: 0.4; font-size: 18px;}
  .login__input input {padding-left: 40px; border-radius: 4px; height: 50px; line-height: 48px;}
  .login__row button {width: 100%; height: 40px; border-radius: 4px;}
  .login__social {padding-top: 10px; text-align: center; gap: 10px;}
  .login__social-caption {font-size: 13px; color: var(--ui-tt-fade); width: 100%;}
  .login__social a, .login__social img {display: block; width: 34px; height: 34px;}
  .login--logged .login__header {padding-left: 115px;}
  .login__avatar {width: 50px; height: 50px; position: absolute; left: 50px; top: 25px;}
  .login__menu a {border-bottom: 1px solid var(--ui-bdc); padding: 10px 0; width: 100%; justify-content: flex-start;}
  .login__menu li:last-child a {border: 0;}
  .login__menu a::before {width: 20px; font-size: 18px; text-align: center; color: var(--ui-accent); margin-right: 10px;}

  .overlay {position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; 
      opacity: 0.6; background-color: #000; cursor: pointer; display: none;}
  .mobile-menu {width: 360px; height: 100%; overflow-x: hidden; overflow-y: auto;
      z-index: 999; position: fixed; left: -360px; top: 0; transition: left 0.4s; 
      background-color: var(--bg); visibility: hidden;}
  .mobile-menu.is-active {left: 0; visibility: visible;}
  body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
  @media screen and (max-width: 590px) { .mobile-menu {left: -100vw; width: 100vw; height: 100vh;} }
  .mobile-menu__header {padding: 0 20px; gap: 10px;}
  .mobile-menu__search {background-color: var(--ui-bg-darker); padding: 10px 20px;}
  .mobile-menu__search .search-block {margin: 0;}
  .mobile-menu__header .logo {height: 60px; line-height: 60px; min-width: 100px; margin: 0;}
  .mobile-menu__btn-close {font-size: 24px; width: 40px; height: 40px; margin-right: -10px;}
  .mobile-menu__content .header__menu {margin: 0; padding: 20px; display: block;}
  .mobile-menu__content .header__menu > li > a {height: 40px; line-height: 40px; padding: 0;}
  .mobile-menu__content .header__menu-submenu {width: 100%; height: auto; position: static; display: none;
      border-radius: 0; padding: 5px 0 5px 20px; opacity: 1; visibility: visible; transform: none; box-shadow: none;}
  .mobile-menu__content .header__menu-has-submenu > a::after {content:"\f067"; font-size: 18px;}
  .mobile-menu__content .header__menu-has-submenu.is-active .header__menu-submenu {display: grid;}
  .mobile-menu__content .header__menu-has-submenu.is-active > a::after {content:"\f068";}
  .mobile-menu__content .nav-holder {padding: 20px; margin: 0;}

  @media screen and (max-width: 1220px) {
      :root {--indent-negative: -20px; --indent: 20px;}
      body {background-image: none;}
      .wrapper {padding: 0; background-image: none; overflow: hidden;}
      .wrapper-container {max-width:1000px;}
      .header .header__menu, .cols__side .nav-holder {display: none;}
      .header__btn-mobmenu {display: flex; font-size: 28px; margin-left: 30px;}
      .header__logo {flex: 1 1 0; min-width: 120px; max-width: 100%; 
          white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
      .content {padding-top: 30px;}
      .cols {display: block;}
      .cols__side, .footer__right {margin-top: 30px;}
      .footer__inner {display: block; text-align: center;}
      .footer__logo {min-width: auto; display: inline-block;}
      .footer__socials, .footer__menu {justify-content: center;}
  }

  @media screen and (max-width: 950px) {
      .wrapper-container {max-width:768px;}
      .short {gap: 20px;}
  }

  @media screen and (max-width: 760px) {
      .wrapper-container {max-width:640px;}
      .hero__inner {grid-template-columns: 1fr; padding-top: 30px; padding-bottom: 30px;}
      .hero__btn {grid-column: span 1; grid-row: span 1; margin-top: 5px; justify-self: start;}
      .short__img {width: 160px;}
      .short__fav {left: 120px;}
      .pagination > a, .pagination > span {display: none;}
      .pagination__pages {width: 100%;}

      .page__title {font-size: 24px;}
      .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 20px;}
      .page__intro, .page__text .quote {margin-left: var(--indent-negative); margin-right: var(--indent-negative); padding-right: var(--indent);}
      .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {font-size: 18px;}

      .ac-form__bottom {gap: 10px;}
      .ac-form__bottom button {padding: 0 20px;}
      .ac-form__header input + input {min-width: 100%; order: 10;}
      .ac-form__header > span, .comm__rating::before {display: none;}
  }

  @media screen and (max-width: 590px) {
      .wrapper-container {max-width:480px;}
      .header__btn-fav, .header__btn-login::before, .descr__img {display: none;}
      .header__btn-mobmenu {margin-left: 10px; margin-right: -10px;}
      .header__btn-login1 {width: 40px; padding: 0;}
      .short__img {width: 100%; height: 180px;}
      .short__fav {left: 20px;}
  }

  @media screen and (max-width: 470px) {
      .wrapper-container123 {max-width:360px;}
      .login__header, .login__content {padding-left: 20px; padding-right: 20px;}
      .login--logged .login__header {padding-left: 85px;}
      .login__avatar {left: 20px;}
      .login__title span {display: none;}
      .login__input input, .login__row::before {height: 40px; line-height: 38px;}
      .login__menu {margin: -15px 0;}
      .hero__title {font-size: 19px;}

      .page__meta, .page__rating {gap: 10px 20px; font-size: 13px;}
      .page__rating .fal {width: 30px; height: 30px; font-size: 14px; border-width: 1px;}
      .page__meta-item:first-child, .page__intro::before {display: none;}
      .page__intro {padding-left: 20px;}
      .page__intro + .page__img {margin-top: -30px; margin-left: -20px; margin-right: -20px;}
      .full-text {font-size: 15px;}
      .ac-form__bottom .comments_subscribe {font-size: 13px;}
      .full-text iframe {width: calc(100% + 40px); max-width: calc(100% + 40px); height: 260px; margin-left: -20px; margin-right: -20px;}
  }