/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {min-width: 320px; position: relative;}
.wrapper__container {max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 20; padding: 0 var(--indent);}
.header__top {background-color: var(--bg-dark); --tt: var(--tt-on-dark); color: var(--tt-on-dark); 
	gap: 15px; position: sticky; left: 0; top: 0; z-index: 990;}
.header__mid {padding-top: 32px; padding-bottom: 32px; gap: 10px;}
.header__btm {background-color: var(--accent); --tt: #fff; padding-top: 10px; padding-bottom: 10px; gap: 10px;}
.cols {min-height: 80vh; display: grid; gap: 40px; grid-template-areas: "main sidebar";
	grid-template-columns: minmax(0,1fr) 230px; padding: 20px 0 40px 0;}
.sidebar {gap: 16px; grid-area: sidebar;}
.content {grid-area: main;}
.footer {background-color: var(--bg-dark); --tt: var(--tt-on-dark); color: var(--tt-on-dark);}
.footer__top {background-color: rgba(255,255,255,0.06); gap: 20px; padding-top: 15px; padding-bottom: 15px;}
.footer__btm {padding-top: 20px; padding-bottom: 20px; gap: 20px;}

.scrolltop {position: fixed; width: 50px; height: 50px; right: -60px; bottom: 10px; display: none;
	z-index: 990; border-radius: 50%; font-size: 20px; opacity: 0; transition: right 0.2s, opacity 0.2s;}
.scrolltop.is-active {right: 10px; opacity: 1;}


/* HEADER
----------------------------------------------- */
.header__menu {gap: 10px 25px;}
.header__menu .blue a {color: var(--blue);}
.header__login {position: relative; padding-right: 44px; height: 45px; line-height: 1; font-size: 15px;}
.header__link {font-size: 12px; margin-top: 3px;}
.logo {display: block; position: relative; font-size: 34px; line-height: 1; text-align: center; white-space: nowrap;}
.logo div span {color: var(--accent);}
.logo p {font-size: 13px; margin-top: 8px;}
.logo > span {position: absolute; left: 95%; top: -10px; font-size: 13px; text-transform: uppercase; pointer-events: none;}
.header__login-img {width: 34px; height: 34px; cursor: pointer;
	position: absolute; right: 0; top: 50%; margin-top: -17px; border-radius: 2px;}
.header__login-open {cursor: pointer;}
.header__menu-btns {gap: 5px;}
.header__menu-btns a {height: 32px; padding: 0 10px;}
.header__menu-btns li:last-child a {background-color: var(--blue);}
.theme-toggle {font-size: 24px; min-width: 30px; height: 30px; 
	background: url(../images/sun.svg) 0 0 / contain no-repeat !important;}
.dt-is-active .theme-toggle {background-image: url(../images/moon.svg) !important;}

.search-block {position: relative; width: 230px;}
.search-block__input, .search-block__input:focus {border-radius: 15px; padding: 0 30px 0 15px; 
	border: 1px solid rgba(255,255,255,0.35); box-shadow: none; background: none; color: #fff; 
	height: 30px; line-height: 31px; font-style: italic;}
.search-block__input:not(:focus)::placeholder {color: #fff; opacity: 1; font-size: 12px;}
.search-block__btn {position: absolute; right: 0; top: 0; width: 40px; height: 30px;
	border-radius: 50%; font-size: 16px; color: #fff;}


/* SIDEBAR
----------------------------------------------- */
.sb__title {text-align: center; margin-bottom: 16px; font-size: 18px;}
.sb__menu {gap: 5px; font-size: 16px; white-space: nowrap; --tt: #fff;}
.sb__menu a {display: block; padding: 6px 20px; background-color: var(--accent); color: var(--tt); border-radius: 6px;}
.sb__menu .blue a {background-color: var(--blue);}
.release {display: block; margin: 0 auto; max-width: 200px;}
.release__img {padding-top: 140%; border-radius: 3px;}
.sb__top {display: grid; gap: 10px; grid-template-columns: repeat(auto-fill,minmax(100px,1fr));}


/* SECTION
----------------------------------------------- */
.sect:not(:last-child) {margin-bottom: 20px;}
.sect--bdt {border-top: 1px solid var(--bdc); padding-top: 20px;}
.sect__header {margin-bottom: 20px; gap: 10px;}
.sect__title {font-size: 20px; font-weight: 400; border-left: 5px solid var(--accent); padding-left: 10px;}
.sect__link {display: flex;	align-items: center; gap: 10px; cursor: pointer;}
.sect__link::before {display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; 
	border: 2px solid #464646; color: #464646; font-size: 10px; box-sizing: border-box;}
.sect__btn {height: 45px; font-size: 22px; padding: 0 30px; max-width: 100%;
	display: flex; width: max-content; margin: 0 auto; margin-top: 20px;}

.speedbar {color: #fff; --tt: #fff;}
.speedbar a:first-child:before {content:"\e90b"; font-weight: 900; font-family:'fa-custom'; 
		font-size: 12px; display: inline-block; vertical-align: middle; margin-right: 10px;}
.speedbar::before {margin-right: 6px; width: 26px; height: 26px; border-radius: 50%; background-color: #fff; 
	display: inline-grid; place-items: center; color: #464646; font-size: 14px; vertical-align: middle;}
.site-desc {display: grid; gap: 20px; background-color:  var(--bg-white); border: 2px solid var(--accent); padding: 15px; margin-top: 40px;}
.site-desc :is(h1,h2,h3) {font-size: 18px; color: var(--tt); line-height: 1.3;}
.site-desc a {text-decoration: underline; color: var(--blue);}
.site-desc ul li {position: relative; padding-left: 25px; margin-left: 25px;}
.site-desc ul li::before {content:"\e926"; font-weight: 400; font-family:'fa-custom'; 
	color: var(--accent); position: absolute; left: 0; top: 0;}
.sorter {position:relative; cursor:pointer; height: 34px; display: flex; align-items: center;
	padding: 0 10px; border: 2px solid var(--bdc); font-weight: 700; min-width: 185px;}
.sorter > span {display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;}
.sorter > span > span {color: var(--accent); font-size: 12px;}
.sorter form {display: none; background-color: var(--bg-white); padding: 0px; 
	box-shadow: 0 0 15px 0 rgba(0,0,0,0.1); position: absolute; right: 0; top: 100%; 
	width: 100%; z-index: 99; border: 2px solid var(--accent); font-weight: 400;}
.sorter a {display: block; border-bottom: 1px solid var(--bdc); padding: 6px 10px;}
.sort li.asc a::after, .sort li.desc a::after {content:"\e903"; font-family:"fa-custom"; 
	display: inline-block; margin-left: 10px; font-weight: 400;}
.sort li.desc a::after {content:"\e925"}


/* ITEM
----------------------------------------------- */
.item {
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-size: 14px;
}

/* Image container with aspect ratio */
.item {display: block; text-align: center; position: relative; overflow: hidden; font-size: 14px;}
.item__img {padding-top: 140%; margin-bottom: 10px;}
.items-label .item::before {width: 100px; height: 100px; background-color: var(--green); color: #fff; 
	display: flex; align-items: flex-end; justify-content: center; transform: rotate(-45deg); 
	position: absolute; left: -58px; top: -58px; pointer-events: none; content: ''; z-index: 1; 
	border-bottom: 1px solid #fff; box-shadow: inset 0 -2px rgba(0,0,0,0.15), 0 0 20px rgba(0,0,0,0.5);}
.items-label .item::after {content:"\e918"; font-weight: 400; font-family:'fa-custom'; 
	color: #fff; position: absolute; left: 5px; top: 4px; z-index: 2; 
	font-size: 20px; transform: scale(-1,1); pointer-events: none;}
.items-label--star .item::after {content:"\e921"; left: 3px; top: 3px;}

/* FOOTER, PAGINATION
----------------------------------------------- */
.footer__menu {gap: 10px 25px; text-decoration: underline;}
.footer__btn-top::before {border-color: var(--tt-on-dark); color: var(--tt-on-dark);}

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


/* INNER PAGE
----------------------------------------------- */
.page__header-main h1 {font-size: 21px; font-weight: 700;}
.page__header-main h1 a {font-size: 16px; margin-left: 10px;}
.page__header-meta {font-size: 14px; gap: 10px 20px; margin-top: 6px;}
.page__header-meta-item {gap: 5px;}
.page__header-meta-item > span {color: var(--tt-fade);}
.page__poster {width: 200px; height: 300px; border-radius: 3px 3px 0 0;}
.page__col-left {width: 200px; margin-right: 20px;}
.page__subtitle {color: var(--accent); margin-bottom: 20px; font-size: 18px; font-weight: 400;}
.page__release .page__subtitle {color: var(--red);}
.page__subtitle--dl {font-size: 19px; font-weight: 400; text-align: center;}
.page__tech-caption {font-weight: 700; margin-top: 15px;}
.page__tech a {color: var(--blue); text-decoration: underline;}
.page__subscribe {background-color: var(--bg-darker); padding: 10px 8px; text-align: center; border-radius: 0 0 3px 3px;}
.page__subscribe-btn {padding: 0; width: 100%; background-color: var(--orange); 
	font-size: 13px; margin-bottom: 10px; height: 28px;}
.page__subscribe-count span {color: red; font-weight: 700;}
.page__text {margin-top: -10px;}
.page__dl-btn {height: 50px; margin: 0; font-size: 26px;}
.page__dl-count {font-size: 14px;}
.page__header-rating {height: 26px; border-radius: 7px; padding: 0 10px; --gray: #d9d9d9;
	background-color: var(--gray); color: #fff; margin-left: auto; gap: 5px;}
.page__header-rating > span {font-size: 12px; text-shadow: 0 2px 3px rgba(0,0,0,.35); font: bold 12px/12px 'Trebuchet MS';}
.page__header-rating a span {-webkit-text-stroke: 1px var(--green); color: #fff;}
.page__header-rating a:first-child span {-webkit-text-stroke: 1px var(--red);}
.page__header-rating a {display: flex; align-items: center; height: 100%; font-size: 14px; padding: 0 5px;}
.page__header-rating:has(.ratingminus) {background-color: #dd8585;}
.page__header-rating:has(.ratingplus) {background-color: #94dd85;}
.page__header-rating.gold {background-color: #e6c200;}
.page__header-rating.black {background-color: #333;}
.page__upd a {color: var(--blue);}
.page__upd {background-color: #edf1f9; padding: 10px 10px; margin-top: 15px; 
	border: 1px solid var(--bdc); border-left: 3px solid var(--accent);}
.page__fav {position: absolute; left: 0; top: 0; z-index: 5;}
.page__fav a {display: grid; place-items: center; width: 40px; height: 40px; 
	background-color: var(--blue); color: #fff; font-size: 18px; border-radius: 3px 0 3px 0;}

.page__scr ul {display: grid; gap: 10px; grid-template-columns: repeat(3,1fr);}
.page__scr li:nth-child(6) ~ li {display: none;}
.page__scr a, .page__scr img {display: block; position: relative; width: 100%; aspect-ratio: 3 / 2; height: auto;}
.page__scr img {object-fit: cover;}
.page__scr a::before {content:"\e91f"; font-family:'fa-custom'; font-weight: 400;
	width: 40px; height: 40px; display: grid; place-items: center; background-color: #fff; color: #464646; 
	position: absolute; left: 50%; top: 50%; margin: -20px 0 0 -20px; z-index: 5; border-radius: 50%; font-size: 18px;}
	

/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.page__title {margin-bottom: 20px; font-size: 24px;}
.full-text {line-height: 1.5; font-size: 15px; word-wrap: break-word;}
.full-text a {text-decoration: underline; color: var(--blue);}
.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: 15px;}
.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: 400;
	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; background-color: #000;}
.video-responsive > iframe, .video-responsive > video, .video-responsive > img {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: 15px;}
.full-text iframe {width: 100%; height: 400px; margin-bottom: 20px;}
.video-responsive > img {opacity: 0.6; object-fit: cover;}

/* COMMENTS
----------------------------------------------- */
.page__comments {margin-top: 0px;}
.page__comments-title {font-size: 19px; margin-bottom: 20px;}
.page__comments-info {color: var(--tt-fade); display: block; margin: -15px 0 20px; font-size: 14px; padding-left: 23px; position: relative;}
.page__comments-info::before {color: var(--ui-red); position: absolute; left: 0; top: 2px;}
.ac-form {margin-bottom: 30px; position: relative;}
.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-toggle.ac-form {cursor: pointer;}
.ac-form__header input, .ac-toggle .ac-form__editor textarea {border-radius: 4px; box-shadow: none;}
.ac-toggle, .ac-toggle .ac-form__editor {position: relative;}
.ac-toggle .ac-form__bottom button {position: absolute; bottom: 20px; right: 10px; z-index: 10; pointer-events: none;}
.ac-form .bb-btn {display: none;}
.ac-form .bb-pane {background: none; box-shadow: none; border: 0; position: absolute; left: 0; bottom: 0; right: 0;}
.ac-form #b_emo, .ac-form #b_leech, .ac-form #b_quote, .ac-form #b_spoiler, 
.ac-form #b_b, .ac-form #b_u, .ac-form #b_s, .ac-form #b_color, .ac-form #b_hide {display: grid;}
.ac-toggle .bb-btn {pointer-events: none;}
.ac-toggle .ac-form__editor .bb-editor textarea {height: 140px; resize: none;}
.ac-form__editor .bb-editor textarea {height: 140px; line-height: 1.4; padding-bottom: 40px;}
.comments_subscribe + br, .ac-form .bb-editor + br {display: none;}
.ac-toggle .has-checkbox {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: 50%;}
.mass_comments_action .bbcodes {border-radius: 0; padding: 0 10px;}

.comm__title {font-size: 18px; margin-bottom: 20px;}
.cguest .bb-pane {display: none;}
.bb-pane b {font-weight: 400 !important;}

.comm {margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--bdc);}
.comm__img {width: 40px; height: 40px; border-radius: 4px; margin-right: 15px;}
.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: 400; font-size: 14px;}
.comm__date {color: var(--accent); font-size: 13px; margin-top: 2px;}
.comm__main {margin: 10px 0 10px 0; position: relative; padding-left: 15px;}
.comm__main::before {position: absolute; left: 0; top: 4px; font-size: 12px;}
.comm__action {gap: 20px; font-size: 12px; margin-right: auto;}
.comm__action li, .comm__action li a {color: var(--tt-fade); cursor: pointer; gap: 4px; display: flex; align-items: center;}
.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);}
.comm__rating2 a {display: flex; align-items: center; gap: 5px; height: 28px; 
	padding: 0 5px; border-radius: 4px; font-size: 16px; color: var(--accent);}
.comm__rating2 a:not(:hover) .far {color: var(--tt-fade); opacity: 0.6;}

@media screen and (min-width: 760px) {
	.comm {padding-left: 85px; position: relative; min-height: 70px;}
	.comm__img {width: 70px; height: 70px; margin: 0; position: absolute; left: 0; top: 0;}
	.comm__meta {display: flex; justify-content: space-between;}
	.comm__date {margin: 0;}
}


/* LOGIN
----------------------------------------------- */
.login {position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%);
	background-color: var(--ui-bg); width: 440px; border: 10px solid var(--ui-bg-darker); 
	box-shadow: 0 15px 45px rgba(0,0,0,1); overflow-y: auto;
	 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;}
.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: 50px; 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; color: var(--ui-accent); text-decoration: underline;}
.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: var(--ui-bdrs); height: 50px; line-height: 48px;}
.login__row button {width: 100%; height: 40px; border-radius: var(--ui-bdrs);}
.login__social {padding-top: 10px; text-align: center; gap: 10px; margin-bottom: -20px;}
.login__social-caption {font-size: 13px; color: var(--ui-tt-fade); width: 100%;}
.login__social a {padding: 0 10px; border-radius: 20px; position: relative; width: 40px; height: 40px; 
	overflow: hidden; color: #fff; display: flex; align-items: center; justify-content: center;}
.login__social a::before {content: ''; width: 40px; background: rgba(0,0,0,0); position: absolute; left: 0; top: 0; height: 100%;}
.login__social a img {position: absolute; left: 10px; top: 50%; height: 20px; width: 20px; z-index: 1; 
	display: block; filter: invert(1); transform: translateY(-50%);}
.login__social-vk {background-color: #587ba1;}
.login__social-ok {background-color: #ff9800;}
.login__social-fb {background-color: #3b5998;}
.login__social-ml {background-color: #2196f3;}
.login__social-gg {background-color: #f44336;}
.login__social-ya {background-color: #fc3f1d;}

.header__login-header {font-weight: 700; gap: 10px; background-color: var(--ui-bg-darker);}
.header__login-avatar {width: 40px; height: 40px; border-radius: 50%;}
.header__login-group span {font-size: 12px; font-weight: 400; margin-top: 2px; 
	display: block; color: var(--tt-fade) !important;}
.header__login-menu a {display: flex; align-items: center; min-height: 30px; padding: 0 20px 0 0;}
.header__login-menu a::before {width: 40px; text-align: center; color: var(--blue);}
.header__login-menu-border {border-top: 1px solid var(--bdc); margin-top: 10px; padding-top: 10px;}
.header__login-menu a span {font-size: 12px; margin-left: auto;}


/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.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: 280px; 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);}
.mobile-menu.is-active {left: 0;}
body.mobile-menu-is-opened {overflow: hidden; width: 100%; height: 100%;}
.mobile-menu__header {padding: 10px; gap: 10px; border-bottom: 1px solid var(--bdc); background-color: var(--bg-white);}
.mobile-menu__btn-close {font-size: 24px; width: 40px; height: 40px; margin-right: 0px;}
.mobile-menu .logo {transform: scale(0.8,0.8); transform-origin: left center; margin: 0;}
.mobile-menu__content {padding: 20px; padding-top: 15px; display: flex; flex-direction: column; gap: 16px;}
.mobile-menu__content .header__menu-btns li {flex-grow: 1;}
.mobile-menu__content .header__menu-btns a {display: flex; font-size: 14px;}

@media screen and (max-width: 1220px) {
	:root {--indent-negative: -20px; --indent: 20px;}
	.wrapper__container {max-width:1000px;}
	.cols {gap: 20px;}
}

@media screen and (max-width: 950px) {
	.wrapper__container {max-width:768px;}
	.pagination {gap: 10px;}
	.pagination__btn-loader a, .pagination__btn-loader span {width: 100%;}
	.pagination > a, .pagination > span {flex-grow: 1; order: 10;}
	.pagination__pages {width: 100%;}
	.pagination__pages a, .pagination__pages span {flex-grow: 1;}
	.header__top {position: relative;}
	.header__mid {padding-top: 20px; padding-bottom: 20px;}
	.header__top .header__menu, .header .header__menu-btns, .sb--release {display: none;}
	.header__btn-menu {display: flex; font-size: 24px; width: 50px; height: 50px; border-radius: 50%; padding: 0;}
	.cols {display: block;}
	.sidebar {margin-top: 20px;}
	.sb__menu {flex-direction: row; flex-wrap: wrap;}
	.sb__menu li {flex-grow: 1;}
	.sb__menu a {padding: 6px 10px; font-size: 14px; text-align: center;}
}

@media screen and (max-width: 760px) {
	.wrapper__container {max-width:640px;}
	.login__header, .login__content {padding: 20px;}
	.login__social {margin-bottom: 0;}
	.login__row::before {height: 40px;}
	.login__input input {height: 40px; line-height: 40px; box-shadow: none; border: 0; background-color: var(--bg-darker);}
	.login__social a {border-radius: var(--bdrs); height: 30px; flex: 1 0 30%;}
	.login__social a img {left: 50%; margin-left: -10px;}

	.page__header-main {text-align: center;}
	.page__header-meta {justify-content: center;}
	.page__header-rating {margin-left: 0;}
	.page__cols {display: block;}
	.page__col-left {margin: 0 auto; margin-bottom: 20px;}

	.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;}
	.ac-form #b_color {display: none;}
	.ac-form__bottom button {position: static !important; width: 100% !important;}
}

@media screen and (max-width: 590px) {
	.wrapper__container {max-width:480px;}
	.logo {flex: 1 1 0; min-width: 100px; max-width: 100%; margin-left: -10px;}
	.header__search {min-width: 100%; width: 100%;}
	.speedbar {min-width: 100%; width: 100%; order: 2;}
	.wrapper--main .speedbar {display: none;}
	.sect__title, .sect__sort {min-width: 100%;}
	.d-grid-items {grid-template-columns: repeat(2,minmax(100px,1fr));}
	.sorter {flex-grow: 1;}
}

@media screen and (max-width: 470px) {
	.wrapper__container123 {max-width:360px;}
	.sb--release {display: block;}
	.footer__menu, .footer__text {min-width: 100%; justify-content: center; text-align: center;}
	.page__scr ul {grid-template-columns: repeat(2,1fr);}
	.page__header-meta-item {font-size: 12px;}
	.page__subtitle--dl, .page__related .sect__title {font-size: 18px;}
	.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;}
}