/*
 Theme Name:   Appyn Child
 Description:  Дочерняя тема для Appyn
 Author:       Я
 Template:     appyn
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  appyn-child
*/

:root {
	--columns: 6;
}

.section .baps .bav {
	width: calc(100% / 6);
}

@media (max-width: 1100px) {
	.section .baps[data-cols="8"] .bav2,
	.section .baps[data-cols="7"] .bav2,
	.section .baps[data-cols="6"] .bav2,
	.section .baps[data-cols="5"] .bav2 {
		width: calc(100% / 4);
	}
}

@media (max-width: 950px) {
	.section .baps[data-cols="8"] .bav,
	.section .baps[data-cols="7"] .bav,
	.section .baps[data-cols="6"] .bav {
		width: calc(100% / 4);
	}
	.section .baps[data-cols="8"] .bav2,
	.section .baps[data-cols="7"] .bav2,
	.section .baps[data-cols="6"] .bav2 {
		width: calc(100% / 3);
	}
}

@media (max-width: 750px) {
	.section .baps[data-cols="8"] .bav2,
	.section .baps[data-cols="7"] .bav2,
	.section .baps[data-cols="6"] .bav2,
	.section .baps[data-cols="5"] .bav2,
	.section .baps[data-cols="6"] .bav {
		width: calc(100% / 3);
	}
}

@media (max-width: 650px) {
	.section .baps[data-cols="7"] .bav {
		width: calc(100% / 3);
	}
	.section .baps[data-cols="5"] .bav,
	.section .baps[data-cols="4"] .bav,
	.section .baps[data-cols="3"] .bav {
		width: calc(100% / 2);
	}
}

@media (max-width: 480px) {
	.section .baps[data-cols="8"] .bav,
	.section .baps[data-cols="7"] .bav,
	.section .baps[data-cols="6"] .bav,
	.section .baps[data-cols="5"] .bav,
	.section .baps[data-cols="4"] .bav,
	.section .baps[data-cols="3"] .bav {
		width: calc(100% / 2);
	}
}

#px-bottom-menu {
	display: none;
}

@media (max-width: 640px) {
	#px-bottom-menu {
		display: block;
		position: fixed;
		bottom: 0;
		width: 100%;
		z-index: 999;
		background: #1d222d;
		box-shadow: 0 -5px 10px rgba(0,0,0,.1);
		border-top: 2px solid #1bbc9b;
	}

	#px-bottom-menu ul {
		display: flex;
		justify-content: center;
	}

	#px-bottom-menu ul li {
		flex: 1;
		display: flex;
		align-items: end;
	}

	#px-bottom-menu ul li a {
		text-align: center;
		padding: 9px 5px;
		color: #FFF;
		display: block;
		width: 100%;
		font-size: 12px;
		border-bottom: 4px solid transparent;
	}

	#px-bottom-menu ul li a i {
		font-size: 23px;
		display: block;
		margin: 2px 0 5px;
	}

	#footer {
		padding-bottom: 65px;
	}
}

/* ==== STATIC CSS MOVED FROM PHP ==== */

.pxtd {
	padding-top: 20px;
}

#main-site {
	padding-top: 80px;
}

/* sticky only for logged-in users on mobile */
@media (max-width: 600px) {
	.logged-in #header {
		position: sticky;
		top: 0;
	}

	.logged-in #subheader.np {
		padding-top: 15px;
	}

	.logged-in #subheader {
		padding-top: 30px;
	}

	.logged-in #main-site {
		padding-top: 20px;
	}
}

/* rounded design */
.sb_search[type="text"],
.sb_submit[type="submit"],
.ratingBoxMovil button,
.widget.widget_tag_cloud a,
#main-site .error404 form input[type="text"] {
	border-radius: 50px;
}

#header nav .menu > li > a::before,
#header nav ul li.current-menu-item a,
.section .bav2 a,
.bloque-imagen,
.section .bav1 a,
.section .bav1 a::before,
.app-s .buttond,
.buttond,
#list-downloadlinks li a.dapk_b,
.app-s .s2 .meta-cats a,
.app-s .readmore,
#comments input[type="submit"],
.app-s .box h2.box-title::after,
.app-p .box h2.box-title::after,
.app-p .box,
.app-s .box,
.section.blog,
.single-product .product,
.entry.bx-info-install,
.widget,
.widget .wp-block-search .wp-block-search__input,
.widget .search-form .search-field,
.widget .search-form input[type="submit"],
.widget .wp-block-search .wp-block-search__button,
.entry .wp-caption a,
.section .bav2 img,
.section.blog .bloques li a .bloque-imagen img,
#box-report input[type="submit"],
#box-report .box-content,
.botones_sociales span,
.botones_sociales a,
.tags a,
#dasl,
#comments input[type="text"],
#comments input[type="email"],
#comments input[type="url"],
#comments textarea,
.app-s .box-data-app,
.bloque-blog,
.bloque-blog .bloque-imagen img,
.gsc-control-cse,
.app-s .s2 .amount-app li,
.b-type,
.catbar li a {
	border-radius: 20px;
}

.section .bav1 .px-postmeta,
#subheader.np {
	border-radius: 0 0 20px 20px;
}

.pagination .current,
.pagination a {
	padding: 9px 15px;
	border-radius: 50px;
}

.section a.more {
	border-radius: 50px;
}

#list-downloadlinks li a.dapk_b {
	padding-left: 56px;
	padding-right: 25px;
}

#slideimages .px-carousel-item img,
#box-report textarea {
	border-radius: 10px;
}

table {
	border-radius: 20px;
	overflow: hidden;
}

#box-report .close-report {
	padding: 10px;
}

.pxccat,
.widget > div:not(.wp-block-group) > ul {
	border-radius: 0 0 20px 20px;
	overflow: hidden;
}

.buttond i::before,
.app-s .bx-download ul li a i::before {
	position: relative;
	left: 2px;
}

/* bonus block */
.app-s .da-s-bonus {
	cursor: pointer;
	user-select: none;
	display: block;
	padding: 12px 14px;
	border-radius: 10px;
	transition: all 0.2s ease;
	border: 1px solid rgba(255,255,255,0.06);
	text-align: left;
}

.app-s .da-s-bonus:hover {
	background: rgba(255, 215, 0, 0.08);
	border-color: rgba(255,215,0,0.25);
}

.app-s .da-s-bonus .bonus-title,
.app-s .da-s-bonus .bonus-badge-title {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.app-s .da-s-bonus .bonus-value,
.app-s .da-s-bonus .bonus-badge-code {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 6px;
	background: rgba(255,255,255,0.05);
	color: #ffb347 !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.app-s .da-s-bonus .bonus-value *,
.app-s .da-s-bonus .bonus-badge-code *,
.app-s .da-s-bonus .bonus-value i,
.app-s .da-s-bonus .bonus-badge-code i,
.app-s .da-s-bonus .bonus-value svg,
.app-s .da-s-bonus .bonus-badge-code svg {
	color: #ffffff !important;
	fill: #ffffff !important;
}

.app-s .da-s-bonus .bonus-note,
.app-s .da-s-bonus .bonus-badge-note {
	display: block;
	margin-top: 4px;
	line-height: 1.3;
	opacity: 0.85;
}

.app-s .da-s-bonus.is-copied {
	background: rgba(46, 204, 113, 0.12);
	border-color: rgba(46,204,113,0.35);
}

.app-s .da-s-bonus.is-copied .bonus-value,
.app-s .da-s-bonus.is-copied .bonus-badge-code {
	background: #19c37d !important;
	color: #ffffff !important;
}

.app-s .da-s-bonus.is-copied .bonus-value *,
.app-s .da-s-bonus.is-copied .bonus-badge-code *,
.app-s .da-s-bonus.is-copied .bonus-value svg,
.app-s .da-s-bonus.is-copied .bonus-badge-code svg {
	color: #ffffff !important;
	fill: #ffffff !important;
}

/* single app logo fix */
.app-s .image-single {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	padding-bottom: 0;
	background: none;
	background-image: none;
	overflow: hidden;
	border-radius: 25px;
}

.app-s .image-single > img.image-single-img {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: cover;
	border-radius: 25px;
}

@media (max-width: 650px) {
	.app-s .image-single {
		border-radius: 20px;
	}

	.app-s .image-single > img.image-single-img {
		border-radius: 20px;
	}
}

/* from old px_clsa */
.lazyload {
	opacity: 1;
}

html .widget.widget_tag_cloud a {
	padding: 10px;
}

html .buttond {
	background-color: #0f856c;
}

/* dark theme */
body.theme-dark,
body.theme-dark .wrapper-inside,
body.theme-dark .app-s .rating-average b,
body.theme-dark .ratingBoxMovil .rating-average b,
body.theme-dark #header nav .menu > li.menu-item-has-children > .sub-menu::before,
body.theme-dark .section .bloque-blog a.title:hover,
body.theme-dark .section.blog .bloques li a.title:hover,
body.theme-dark .app-s .box .entry a,
body.theme-dark .app-s .box .box-content a,
body.theme-dark .app-p .box .entry a,
body.theme-dark .app-s .da-s a,
body.theme-dark .rlat .bav1 a:hover .title,
body.theme-dark #comments ol.comment-list .comment .comment-body .reply a,
body.theme-dark #wp-calendar td a,
body.theme-dark .trackback a,
body.theme-dark .pingback a,
body.theme-dark .pxtd h3 i,
body.theme-dark .spinvt .snt {
	color: #FFF;
}

body.theme-dark .wb .developer,
body.theme-dark .wb .app-date,
body.theme-dark .wb .version,
body.theme-dark #breadcrumbs,
body.theme-dark #breadcrumbs a,
body.theme-dark .app-spe .version,
body.theme-dark .bav .version,
body.theme-dark .bav .developer,
body.theme-dark .bav .app-date,
body.theme-dark .box .box-title,
body.theme-dark #footer .widget ul li .wb .developer {
	color: #e2e2e2;
}

/* light theme fallback */
body:not(.theme-dark) #breadcrumbs a,
body:not(.theme-dark) .app-spe .version,
body:not(.theme-dark) .bav .version,
body:not(.theme-dark) .bav .developer,
body:not(.theme-dark) .bav .app-date,
body:not(.theme-dark) .box .box-title {
	color: #6e6e6e;
}

/* full width */
.full-width .container,
.full-width #subheader.np {
	width: 100%;
}

@media (min-width: 1280px) {
	.full-width .rlat .bav1 {
		width: 12.5%;
	}
}

.full-width #slideimages .px-carousel-item img {
	max-height: 300px;
}

.full-width .app-s .da-s {
	width: 25%;
}

/* footer restore */
#footer {
	background: #13161d;
}

/* ============================================================
   ПЕРЕНЕСЕНО ИЗ PHP: px_css_dark_theme() + add_color_theme()
   ============================================================ */

/* --- px_css_dark_theme() --- */
body, .wrapper-inside {
	color: #d8d2d2;
	background: #1d222d;
}
table thead th,
#versiones table tbody > tr:nth-child(odd) td,
.pxtd .table tr:nth-child(odd) td {
	background: rgba(255,255,255,0.05);
}
table tbody td,
table tfoot td,
table tfoot th,
#versiones table tbody tr td {
	background: rgba(255,255,255,0.02);
}
#versiones table tbody tr td {
	background: transparent;
}
#header, #header menu .menu .sub-menu, #header menu .menu .sub-menu li a, #footer, #px-bottom-menu {
	background: #13161d;
}
.box-rating .rating {
	background-color: #7c7f84;
}
table td, table th,
.box .box-title::before,
.section.blog .bloques li, .section.blog .title-section, .box .comments-title,
#versiones table thead tr th, #slideimages .item img,
.pxtd .table td, .loading, .g-recaptcha::before {
	border-color: #232834;
}
html .section .bav2>a::before {
	background: rgb(31 34 39 / 30%);
}
html .section .bav a,
.section a.more:hover,
.section .bloque-blog,
.widget .widget-content ul li:hover a::before,
.w75.bloque-imagen.bi_ll,
.pxtd .entry.bx-info-install,
.fp_box a,
.catbar li a {
	background-color: #282d3a;
}
table tr:nth-child(even), table tbody th {
	background: #252a37;
}
#versiones table thead tr th {
	background: #1f2430;
}
html .section .bav a,
html .gsc-control-cse,
.bloque-blog {
	box-shadow: 2px 2px 2px 0px #1a1c1f;
}
.rating-loading {
	background-color: rgba(0,0,0,0.5);
}
a, a:hover,
.botones_sociales.v2 a i,
.app-s #download.box ul li a,
#comments ol.comment-list .comment .comment-body > p,
.box .box-title,
.app-p .box h1.box-title,
.app-p .box h2 #reply-title,
.bav .title,
h1.main-box-title,
#subheader.np #searchBox ul li a,
.section.blog .bloques li a.title,
.section .bloque-blog a.title,
.single-product .product,
.single-product .product a,
.single-product .product a:hover,
.app-s .bx-download, .bxt,
#breadcrumbs a:hover,
#main-site .error404 h1,
#main-site .error404 h2,
.app-s .da-s b,
.widget-title h2,
.dl-verified,
#comments ol.comment-list .trackback,
#comments ol.comment-list .pingback,
.widget a,
.pxtd h3,
.catbar li a {
	color: #FFF;
}
.px-carousel-nav .px-prev i,
.px-carousel-nav .px-next i {
	color: #8a8a8a;
}
.entry, .section.blog .bloques li .excerpt,
.app-s .entry,
.app-s .box .box-content {
	color: #d4d4d4;
}
#comments ol.comment-list .comment .comment-body .reply a {
	color: #1bbc9b;
}
.app-s .box, #subheader.np,
.section.blog, .app-p .box,
.single-product .product {
	background: #282d3a;
	box-shadow: 2px 2px 2px 0px #1a1c1f;
}
.app-s .entry.bx-info-install {
	background: #303542;
}
.botones_sociales.v2 a,
#comments textarea,
#comments input[type=text],
#comments input[type=email],
#comments input[type=url],
#comments textarea,
.botones_sociales a {
	background: #1d222d;
	color: #FFF;
}
.pagination .page-numbers,
.pagination .current,
.section.blog .pagination .current,
.section.blog .pagination .page-numbers {
	color: #FFF;
	background: #282d3a;
}
.wb .title,
#comments ol.comment-list .comment .comment-body .comment-content p {
	color: #bfbfbf;
}
#subheader.np #searchBox ul,
.widget {
	background: #1d222d;
	box-shadow: none;
}
.section .title-section,
.widget .widget-title,
.widget_block h2,
.widget .widget-content ul li a,
#slideimages .px-prev i,
#slideimages .px-next i,
.app-s .entry.bx-info-install {
	border-color: #282d3a;
}
#breadcrumbs,
#breadcrumbs a,
.wb .developer,
.wb .app-date,
.wb .version {
	color: #6d6d6d;
}
main .error404 {
	color: #FFF;
}
main .error404 h1 {
	text-shadow: 10px 10px 8px rgba(0,0,0,0.4);
}
.entry blockquote {
	border-color: #4c5160;
}
.ratingBoxMovil .box-rating.movil {
	background: #252935;
}
.link-report {
	color: #bfbfbf;
}
.link-report:hover,
.px-carousel-nav .px-prev i:hover,
.px-carousel-nav .px-next i:hover {
	color: #FFF;
}
#box-report > div {
	color: #4c4c4c;
}
.wp-caption-text {
	background: rgba(0,0,0,0.1);
	color: #d8d2d2;
}
.app-s .entry.limit::before {
	background: linear-gradient(to bottom, rgba(40,45,58,0), rgba(40,45,58,1));
}
.buttond:not(.danv):hover:not(.t):hover,
.buttond.danv:hover,
.buttond.t:hover,
.app-s .s2 .meta-cats a:hover,
.app-s .readmore:hover,
.tags a:hover,
#comments input[type=submit]:hover,
.section a.more:hover,
.sb_submit[type=submit]:hover,
.widget.widget_tag_cloud a:hover,
.bloque-imagen.bi_ll,
#backtotop:hover,
.botones_sociales.color span:hover,
.botones_sociales.color a:hover,
.widget .search-form input[type=submit]:hover,
.widget .wp-block-search .wp-block-search__button:hover,
#dl-telegram:hover,
#dasl:not([disabled]):hover,
.catbar li a:hover {
	background: #41495d;
}
.sdl-bar {
	background: rgba(0,0,0,0.2);
}
/* Woocommerce */
.select2-container {
	color: #000;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce #reviews #comments ol.commentlist li .comment-text,
#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods,
#add_payment_method .cart-collaterals .cart_totals tr td,
#add_payment_method .cart-collaterals .cart_totals tr th,
.woocommerce-cart .cart-collaterals .cart_totals tr td,
.woocommerce-cart .cart-collaterals .cart_totals tr th,
.woocommerce-checkout .cart-collaterals .cart_totals tr td,
.woocommerce-checkout .cart-collaterals .cart_totals tr th {
	border-color: rgba(255,255,255,0.1);
}
#subheader.np #searchBox ul li a:hover,
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment,
fieldset {
	background: rgba(255,255,255,0.1);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active, fieldset legend {
	background: #282d3a;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: rgba(255,255,255,0.3);
}
@media screen and (max-width: 500px) {
	.botones_sociales li {
		border: none;
	}
	.app-s .box-data-app {
		background: #1d222d;
	}
	.app-s .da-s {
		border-bottom-color: #282d3a;
	}
}

/* --- add_color_theme() — цвет акцента #22c55e --- */
html {
	scrollbar-color: #22c55e transparent;
}
html a,
html #header nav .menu > li.menu-item-has-children > .sub-menu::before,
html .section .bloque-blog a.title:hover,
html .section.blog .bloques li a.title:hover,
html .app-s .box .entry a,
html .app-s .box .box-content a,
html .app-p .box .entry a,
html .app-s .rating-average b,
html .app-s .da-s a,
html .rlat .bav1 a:hover .title,
html .ratingBoxMovil .rating-average b,
html #comments ol.comment-list .comment .comment-body .reply a,
html #wp-calendar td a,
html .trackback a,
html .pingback a,
html .pxtd h3 i,
html .spinvt .snt {
	color: #22c55e;
}
html #header nav ul li.current-menu-item a,
html #header nav .menu > li > a::before,
html #header nav .menu > li.beforeactive > a::before,
html #menu-mobile ul li a:hover,
html body.nav_res #header nav ul.menu.active li a:hover,
html body.nav_res #header nav ul.menu.active li a:hover i::before,
html .sb_submit[type=submit],
html #subheader.np #searchBox form button,
html #subheader .np .social li a,
html .section .bav1 a::after,
html .pagination .page-numbers.current,
html .pagination a.page-numbers:hover,
html .section.blog .pagination .page-numbers.current,
html .section.blog .pagination a.page-numbers:hover,
html .section.blog .bloques li .excerpt .readmore a,
html .section a.more,
html .buttond,
html .app-s .s2 .meta-cats a,
html .app-s .readmore,
html .tags a,
html .box .box-title::after,
html .box .comments-title::after,
html #slideimages .si-prev i,
html #slideimages .si-next i,
html #comments input[type=submit],
html .widget.widget_tag_cloud a,
html .widget .search-form input[type=submit],
html .widget .wp-block-search .wp-block-search__button,
html main .error404 form button,
html .ratingBoxMovil button,
html #slideimages .px-prev i,
html #slideimages .px-next i,
html .section.blog .pagination .current,
html .section.blog .pagination a:hover,
html #box-report input[type=submit],
#main-site .error404 form button,
html .bld_,
html #backtotop,
html #dasl:not([disabled]),
html .sdl-bar div {
	background: #22c55e;
}
html ::-webkit-scrollbar-thumb {
	background: #22c55e;
}
html #header,
html #header nav .menu > li.menu-item-has-children > .sub-menu::before,
html #subheader,
html .section .bav a,
html #footer,
html #button_light_dark i,
html .bloque-blog,
html .spinvt .snv,
html #px-bottom-menu,
html #px-bottom-menu ul li a:hover,
html #px-bottom-menu .current-menu-item a,
html #px-bottom-menu .current_page_item a {
	border-color: #22c55e;
}
html .loading {
	border-top-color: #22c55e;
}
html .spinvt .snv {
	border-right-color: transparent;
}
html .loading,
html .g-recaptcha::before {
	border-top-color: #22c55e;
}
html .downloadAPK {
	background-color: #1bbc9b;
}
.bloque-status.bs-new {
	background-color: #d22222;
}
.bloque-status.bs-update {
	background-color: #19b934;
}
.rating .stars {
	background-color: #f9bd00;
}
.b-type {
	background-color: #20a400;
}

/* Перенесено из Внешний вид → Дополнительный CSS */
.footer_descr .bloque-blog {
	display: block;
}
#breadcrumbs a, #breadcrumbs .breadcrumb-delimiter {
	color: #c6c6c6;
}
#breadcrumbs {
	margin: 0 10px 20px 10px;
	display: block;
}
.app-p > .section {
	display: flex;
	flex-direction: column;
}
.app-p > .section .title-section { order: 1; }
.app-p > .section .cats-section { order: 2; }
.app-p > .section .baps { order: 3; }
.app-p > .section .section { order: 4; }
.app-p > .section .ct_description { order: 5; }
.box div.box-title {
	font-weight: 700;
	text-transform: uppercase;
}
.welcome-pt-message {
	text-align: center;
	font-size: 15px;
}
.site-btn--submit {
	display: block;
	padding: 10px 15px;
	background-color: #22c55e;
	color: white;
	text-decoration: none;
	border-radius: 50px;
	transition: background-color 0.3s ease, color 0.3s ease;
	text-align: center;
}
.site-btn--submit:hover {
	background-color: #41495d;
	color: white;
}
.rcat.rlat .bav1 {
	max-width: 150px;
}
.custom-homepage-content {
	background-color: #282d3a;
	border-radius: 20px;
	padding: 15px;
	margin-bottom: 40px;
}
.cats-section {
	margin: 20px 10px 10px;
}
.sidebar-menu.sidebar-menu_archive {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.sidebar-menu.sidebar-menu_archive li a,
.sidebar-menu.sidebar-menu_archive li span {
	display: block;
	padding: 10px 15px;
	background-color: #22c55e;
	color: white;
	text-decoration: none;
	border-radius: 50px;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.sidebar-menu.sidebar-menu_archive li.active span,
.sidebar-menu.sidebar-menu_archive li.active a {
	background-color: #41495d;
}
.sidebar-menu.sidebar-menu_archive li a:hover {
	background-color: #41495d;
	color: white;
}
.sidebar-menu.sidebar-menu_archive li a:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5);
}
.bread #breadcrumbs {
	padding: 10px;
}
.title-section h1 {
	font-size: 22px;
	padding: 0;
	margin: 0;
	font-weight: 400;
}
#subheader .social li a.telegram,
#subheader .social li a.pinterest,
#subheader .social li a.instagram,
#subheader .social li a.facebook,
#subheader .social li a.twitter,
#subheader .social li a.youtube {
	background: #00000085;
}
#subheader {
	background: linear-gradient(#13161d 25%, #1d222d 90%);
}
html #header nav .menu > li.menu-item-has-children > .sub-menu::before,
html #subheader,
html .section .bloque-app a::before,
html .section .bloque-app-second,
html #footer,
html .bld_ico,
html .bloque-blog,
html .spinvt .snv {
	border-color: #1d222d;
}
html #header {
	border-color: #13161d00;
}
html .section .bav a,
html .gsc-control-cse,
.bloque-blog {
	box-shadow: 0 0 0 0;
	border-color: transparent;
}
.app-s .lazyload {
	opacity: 1;
}
.cats-simple {
	list-style: none;
	padding-left: 0;
	margin: 0;
}
.cats-simple .cat-item {
	margin: 8px 0;
}
.cats-simple .cat-item a {
	text-decoration: none;
	display: inline-block;
}
.cats-simple .cat-item.is-active a {
	font-weight: 700;
	text-decoration: underline;
}
.cat-toplink {
	margin: 8px 0 14px;
	opacity: .9;
}

/* FAQ block — перенесено из mu-plugins/faq-single.php */
.post-faq {
	margin: 2rem 0;
	padding: 1rem;
	border: 1px solid #2b313a;
	border-radius: 20px;
	background: #1d222d;
}
.post-faq__item {
	box-shadow: 2px 2px 2px 0 #1a1c1f;
	border-radius: 16px;
	padding: 0.75rem 1rem;
	margin: .5rem 0;
	background: #1d222d;
}
.post-faq__header {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}
.post-faq__q {
	margin: 0;
	flex: 1 1 auto;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 600;
}
.post-faq__toggle,
.post-faq__toggle:focus,
.post-faq__toggle:active {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	color: #fff;
	padding: 0;
	font-size: 16px;
	border: 1px solid #2b313a;
	background: #222832;
	cursor: pointer;
	position: relative;
}
.post-faq__toggle:hover {
	background: #22c55e;
}
.post-faq__toggle::after {
	content: "+";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.post-faq__toggle[aria-expanded="true"]::after {
	content: "–";
}
.post-faq__a {
	margin-top: .5rem;
}


/* Clearfy pseudo links */
.pseudo-clearfy-link {
	color: #008acf;
	cursor: pointer;
}
.pseudo-clearfy-link:hover {
	text-decoration: none;
}

.apk-install-help {
    text-align: center;
    margin: 12px 0 0;
}

.apk-install-help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6ea8ff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
}

.apk-install-help-link:hover {
    text-decoration: underline;
}

.apk-install-help-icon {
    font-size: 13px;
    opacity: .9;
}

/* =============================================
   БЛОК АВТОРА на странице /author/
   ============================================= */

.author-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: var(--bg-card, #1d222d);
    border: 1px solid rgba(255,255,255,0.06);
}

.author-card__avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.1);
}

.author-card__info {
    flex: 1;
    min-width: 0;
}

.author-card__name {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary, #fff);
}

.author-card__role {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(27, 188, 155, 0.15);
    color: #1bbc9b;
    margin-bottom: 12px;
}

.author-card__bio {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary, rgba(255,255,255,0.7));
}

.author-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.author-card__stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.author-card__stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #1bbc9b;
    line-height: 1;
}

.author-card__stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.author-card__trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 14px;
    background: rgba(27, 188, 155, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(27, 188, 155, 0.15);
}

.author-card__trust svg {
    flex-shrink: 0;
}

.author-card__trust span {
    font-size: 13px;
    color: rgba(255,255,255,0.68);
}

.author-about {
    margin-bottom: 24px;
}

.author-about__content {
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
}

/* Светлая тема */
body:not(.theme-dark) .author-card {
    background: #f5f5f5;
    border-color: #e0e0e0;
}

body:not(.theme-dark) .author-card__name {
    color: #1a1a1a;
}

body:not(.theme-dark) .author-card__bio {
    color: #555;
}

body:not(.theme-dark) .author-card__stat-label {
    color: #888;
}

body:not(.theme-dark) .author-card__trust {
    background: rgba(27, 188, 155, 0.06);
    border-color: rgba(27, 188, 155, 0.2);
}

body:not(.theme-dark) .author-card__trust span {
    color: #555;
}

body:not(.theme-dark) .author-about__content {
    color: #555;
}

/* Мобильная версия */
@media (max-width: 600px) {
    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }

    .author-card__avatar img {
        width: 100px;
        height: 100px;
    }

    .author-card__name {
        font-size: 20px;
    }

    .author-card__stats {
        justify-content: center;
        gap: 14px;
    }

    .author-card__stat {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .author-card__stat-value {
        font-size: 18px;
    }

    .author-card__trust {
        justify-content: center;
    }

    .author-about__content {
        padding: 16px;
        font-size: 13px;
    }
}

.author-about {
    margin-bottom: 24px;
    overflow: hidden;
}

.author-about .box-title {
    position: relative;
}

.author-about .box-title::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 10px;
    border-radius: 999px;
    background: #1bbc9b;
}

.author-about__content {
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
}

.author-about__content--highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 4px;
    padding: 18px 18px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(27,188,155,0.08) 0%, rgba(27,188,155,0.03) 100%);
    border: 1px solid rgba(27,188,155,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.author-about__icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(27,188,155,0.12);
    border: 1px solid rgba(27,188,155,0.18);
}

.author-about__text {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
}

body:not(.theme-dark) .author-about__content {
    color: #555;
}

body:not(.theme-dark) .author-about__content--highlight {
    background: linear-gradient(180deg, rgba(27,188,155,0.06) 0%, rgba(27,188,155,0.025) 100%);
    border-color: rgba(27,188,155,0.16);
}

body:not(.theme-dark) .author-about__text {
    color: #555;
}

@media (max-width: 600px) {
    .author-about__content {
        padding: 16px;
        font-size: 13px;
    }

    .author-about__content--highlight {
        gap: 12px;
        padding: 14px;
        border-radius: 10px;
    }

    .author-about__icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .author-about__text {
        font-size: 13px;
        line-height: 1.65;
    }
}

/* === Блок автора на странице приложения === */

.single-author-box {
    margin-top: 16px;
}

.single-author-box__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.single-author-box__inner:hover {
    background: rgba(255,255,255,0.04);
}

.single-author-box__avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
}

.single-author-box__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.single-author-box__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #fff);
}

.single-author-box__role {
    font-size: 13px;
    color: #1bbc9b;
    font-weight: 600;
}

.single-author-box__bio {
    font-size: 13px;
    color: var(--text-secondary, rgba(255,255,255,0.5));
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-author-box__arrow {
    font-size: 20px;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.single-author-box__inner:hover .single-author-box__arrow {
    transform: translateX(4px);
    color: #1bbc9b;
}

body:not(.theme-dark) .single-author-box__inner:hover {
    background: rgba(0,0,0,0.03);
}

body:not(.theme-dark) .single-author-box__avatar img {
    border-color: #e0e0e0;
}

body:not(.theme-dark) .single-author-box__name {
    color: #1a1a1a;
}

body:not(.theme-dark) .single-author-box__bio {
    color: #888;
}

body:not(.theme-dark) .single-author-box__arrow {
    color: #ccc;
}

@media (max-width: 600px) {
    .single-author-box__bio {
        display: none;
    }

    .single-author-box__inner {
        padding: 16px;
    }
}

