
* {
	margin: 0;
	padding: 0;
}


/* Верхняя часть сайта начинается от края окна */
header.header .shapes{margin-top:0!important}
header.header{background-color:#e9faff;background-position:center -50px!important}
nav.nav{margin-top:0!important}

a {
	color: #1495ff;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}


br.clear {
	clear: both;
}




h1{margin-bottom:15px}

img.left {
	float: left;
	margin: 5px 20px 20px 0;
}

img.top {
	margin: 5px 0 20px 0;
}

p {
	margin-bottom: 0em;
}

ul {
	margin-bottom: 1.5em;
}

.imageList {
	list-style: none;
}

.imageList li {
	clear: both;
}

#bg {
	background: url('images/shadow.png') top left repeat-x;
}

#banner {
	background: #fff;
}

#box1 {
	width: 745px;
	overflow: hidden;
	margin: 0 0 35px 0;
}

#box2 {
	width: 355px;
	overflow: hidden;
	float: left;
}

#box3 {
	width: 355px;
	overflow: hidden;
	margin: 0 0 0 390px;
}

#content {
	width: 745px;
	margin: 0 0 0 355px;
	padding: 40px;
	background: #fff;
}

#copyright {
	padding: 0 0 80px 0;
	text-align: center;
	color: #D8C2AB;
}

#copyright a {
	color: #D8C2AB;
}

#footer {
	position: relative;
	padding: 40px;
	width: 1100px;
	color: #e1d2c7;
}

#footer a {
	color: #f4eeea;
}

#footer h2, #footer h3, #footer h4 {
	color: #f4eeea;
}

#footer ul {
	list-style: none;
}

#footer ul li {
	padding: 15px 0 15px 0;
	border-top: dotted 1px #c6aa95;
}

#footer ul li.first {
	padding-top: 0;
	border-top: 0;
}

#footerContent {
	width: 745px;
	margin: 0 0 0 355px;
}

#footerSidebar {
	width: 240px;
	float: left;
}

#header {
	position: relative;
	padding: 40px;
	height: 120px;
}

#logo {
	position: absolute;
	top: 40px;
	left: 40px;
	height: 120px;
	line-height: 120px;
}

#logo a {
	text-decoration: none;
	color: #fff;
}

#logo h1 {
	font-size: 3.5em;
	font-family: Lobster, cursive;
	text-shadow: 0 2px 1px #32251B;
}




#outer {
	position: relative;
	width: 1180px;
	margin: 0 auto;
	padding: 30px;
}

#search input.button {
	margin-left: 1em;
	border: 0;
	color: #fff;
	background: #1495ff;
	padding: 11px;
}

#search input.text {
	border: dotted 1px #fff;
	padding: 10px;
}

#sidebar {
	width: 240px;
	float: left;
	padding: 40px;
	background: #32251b;
	color: #e1d2c7;
}

#sidebar a {
	color: #e2e0df;
}

#sidebar h2, #sidebar h3, #sidebar h4 {
	color: #fff;
}

#sidebar ul {
	list-style: none;
}

#sidebar ul li {
	padding: 15px 0 15px 0;
	border-top: dotted 1px #70665f;
}

#sidebar ul li.first {
	padding-top: 0;
	border-top: 0;
}

div.error{color:red; display:block; margin-left:20px}
span.topic{display:block; font-size:18px}
input.pole{display:block; height:24px; width:250px; margin-bottom:10px; border:1px #19A9EC solid; margin-left:0px;padding: 10px 0;}
input[type=submit]{width:200px; height:40px; border-radius:6px; font-size:16px; background-color:#19A9EC; color:white}
div#auth_block{color:black}
div#auth_block h3,div#auth_block h2 {margin-left:15px}
div#auth_block a, div#auth_block h1{color:black}
.block_a{float:left; padding:10px; margin-right:50px}
img.logo{width:100px}
div.otstup{height:30px}
span.dtt{display:block. border-bottom:1px black solid}
img.mini{max-width:200px}
#main a.delete{color:red}
div.container{display:none; margin-top:20px}
a.knopka{display:block;  margin-top:10px;
  text-decoration:none; color:black; font-size:15px; width:200px; border:1px #22D9F3 solid; border-radius:6px; text-align:center; height:30px; padding-top:7px}
body{line-height:1.4em}
#pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  clear:both;
  width:100%;
  margin:28px 0 12px;
  color:#46505a;
  font-size:14px;
}
#pagination a,#pagination span{box-sizing:border-box}
#pagination a{color:#46505a;text-decoration:none}
#pagination .pagination-control{
  min-width:88px;padding:9px 12px;border:1px solid #d8e1e6;border-radius:8px;
  background:#fff;text-align:center;transition:background .15s ease,border-color .15s ease,color .15s ease;
}
#pagination .pagination-control:hover{border-color:#22D9F3;background:#eafcff;color:#087e94}
#pagination .pagination-control.is-disabled{color:#aeb8bd;background:#f5f7f8;cursor:default}
#pagination .pagination-pages{display:flex;align-items:center;gap:4px}
#pagination .pagination-page{
  display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;
  padding:0 8px;border:1px solid transparent;border-radius:8px;
}
#pagination a.pagination-page:hover{border-color:#22D9F3;background:#eafcff;color:#087e94}
#pagination .pagination-page.is-current{border-color:#22D9F3;background:#22D9F3;color:#fff;font-weight:bold}
#pagination .pagination-ellipsis{min-width:20px;text-align:center;color:#9aa7ad}
@media (max-width:600px){
  #pagination{gap:4px;margin-top:22px;font-size:13px}
  #pagination .pagination-control{min-width:0;padding:9px 7px;font-size:12px}
  #pagination .pagination-page{min-width:32px;height:34px;padding:0 5px}
}
input[type=submit]{margin-top:20px}

.nav{width:980px;
 margin-top:50px}
 
 ul.hmenu>li>a {
    font-family: 'Conv_10045';
    text-transform: uppercase;
    font-size: 15px !important;
    text-shadow: 1px 1px 1px #000;
    letter-spacing: 1px;
    font-weight: bold !important;
    padding: 0 10px !important;
    }


.block a{color:black}
div#teacher_content{padding-left:15px; color:black}
div#teacher_content a{color:black; margin-bottom:20px; display:inline-block}
h3{margin-bottom:10px; font-size:20px;}

/* Строгое оформление информационных страниц */
.page-content{
  box-sizing:border-box;
  padding:24px 28px 28px;
  border:0;
  border-radius:0;
  background:rgba(255,255,255,.94);
  color:#303b42;
}

.page-content h1{
  margin:0 0 24px;
  padding:0 0 12px;
  border-bottom:1px solid #dce7eb;
  color:#087e94;
  font-family:'Conv_10045',sans-serif;
  font-size:26px;
  line-height:1.2;
}

.page-content p{
  margin:0 0 28px;
  font-size:16px;
  line-height:1.65;
  text-align:left;
}

.page-content > p:empty,
.page-content > p:has(+ h3){
  display:none;
}

.page-content h3 > br:first-child{display:none;}

.page-content h2,
.page-content h3{
  margin:28px 0 14px;
  color:#087e94;
  font-family:'Conv_10045',sans-serif;
  font-size:21px;
  line-height:1.3;
}

.page-content ul,
.page-content ol{
  margin:0 0 24px;
  padding-left:28px;
}

.page-content li{
  margin-bottom:9px;
  padding-left:4px;
  font-size:15px;
  line-height:1.45;
}

.page-content > div:last-child{
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid #dce7eb;
  color:#66747b;
  font-size:12px;
  line-height:1.6;
  font-style:italic;
}

.page-content > hr ~ p{
  margin:0 0 10px;
  color:#66747b;
  font-size:12px;
  line-height:1.55;
  font-style:italic;
}

/* Раздел объявлений */
.profile-info-page{
  box-sizing:border-box;
  padding:20px 24px 26px;
  color:#3d4d52;
  font-family:Arial,sans-serif;
  background:rgba(255,255,255,.94);
}
.profile-info-page h3{
  margin:20px 0 12px;
  padding-bottom:10px;
  border-bottom:1px solid #dce7eb;
  color:#2f7180;
  font-family:Arial,sans-serif;
  font-size:21px;
  font-weight:700;
  line-height:1.3;
}
.profile-info-page ul{
  margin:0 0 22px;
  padding:0;
  list-style:none;
}
.profile-info-page ul li{
  position:relative;
  margin:0 0 8px;
  padding-left:20px;
}
.profile-info-page ul li:before{
  content:'›';
  position:absolute;
  left:2px;
  color:#22b9d0;
  font-size:22px;
  font-weight:bold;
  line-height:18px;
}
.profile-info-page ul li a{
  margin:0;
  color:#2d9db1;
  font-family:Arial,sans-serif;
  font-size:14px;
  text-decoration:none;
}
.profile-info-page ul li a:hover{text-decoration:underline}
.profile-info-page > h3:not(:first-of-type){margin-top:24px}
.profile-info-page .block.block6{
  box-sizing:border-box;
  min-height:92px;
  margin:0 0 12px;
  padding:12px 14px;
  overflow:hidden;
  border:1px solid #d9e4e7;
  border-radius:9px;
  background:#fff;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.profile-info-page .block.block6:hover{
  border-color:#62d5e8;
  box-shadow:0 4px 12px rgba(35,74,91,.08);
}
.profile-info-page .block6 .little{
  margin-bottom:7px;
  color:#789098;
  font-family:Arial,sans-serif;
  font-size:11px;
}
.profile-info-page .block6 .s_pic{
  width:96px;
  height:96px;
  margin:0 16px 6px 0;
  object-fit:cover;
  border-radius:6px;
}
.profile-info-page .block6 > a{
  display:block;
  margin:0;
  color:#3d4d52;
  text-decoration:none;
}
.profile-info-page .block6 > a h3{
  margin:0 0 5px;
  padding:0;
  border:0;
  color:#2f7180;
  font-family:Arial,sans-serif;
  font-size:17px;
  font-weight:700;
  line-height:1.3;
}
.profile-info-page .block6 > a p{
  margin:0;
  color:#52646a;
  font-family:Arial,sans-serif;
  font-size:13px;
  line-height:1.45;
}
.profile-info-page .profile-empty{
  margin:0 0 18px;
  padding:14px 16px;
  border:1px dashed #cbdde2;
  border-radius:8px;
  color:#789098;
  font-family:Arial,sans-serif;
  font-size:14px;
  background:#f8fcfd;
}

.commoninfo-page{
  box-sizing:border-box;
  padding:24px 28px 28px;
  border:0;
  border-radius:0;
  background:rgba(255,255,255,.94);
}

.commoninfo-page > h1{
  margin:0 0 20px;
  padding:0 0 12px;
  border-bottom:1px solid #dce7eb;
  color:#087e94;
  font-family:'Conv_10045',sans-serif;
  font-size:26px;
  line-height:1.2;
}

.commoninfo-card{
  box-sizing:border-box;
  min-height:132px;
  margin:0 0 12px;
  padding:16px 18px;
  overflow:hidden;
  border:1px solid #e2e7ea;
  border-radius:9px;
  background:#fff;
  transition:border-color .15s ease,box-shadow .15s ease;
}

.commoninfo-card:hover{
  border-color:#22D9F3;
  box-shadow:0 4px 12px rgba(41,76,92,.1);
}

.commoninfo-meta{
  margin-bottom:5px;
  color:#77868d;
  font-size:12px;
  font-weight:bold;
  letter-spacing:.03em;
}

.commoninfo-author{
  margin-bottom:8px;
  color:#66747b;
  font-size:13px;
}

.commoninfo-author a{
  color:#087e94;
  text-decoration:none;
}

.commoninfo-author a:hover{text-decoration:underline;}

.commoninfo-card .s_pic{
  float:left;
  width:96px;
  height:96px;
  margin:0 16px 8px 0;
  object-fit:cover;
  border-radius:6px;
}

.commoninfo-card > a:last-of-type{
  display:block;
  color:#303b42;
  text-decoration:none;
}

.commoninfo-card > a:last-of-type h3{
  margin:0 0 7px;
  color:#087e94;
  font-family:Arial,sans-serif;
  font-size:18px;
  line-height:1.3;
}

.commoninfo-card > a:last-of-type p{
  margin:0;
  color:#46545b;
  font-size:14px;
  line-height:1.45;
}

.commoninfo-page #pagination{margin-top:24px;}

@media (max-width:600px){
  .commoninfo-page{padding:18px 14px 22px;}
  .commoninfo-page > h1{font-size:22px;}
  .commoninfo-card{padding:14px;}
  .commoninfo-card > a:last-of-type h3{font-size:16px;}
  .commoninfo-card > a:last-of-type p{font-size:13px;}
}

@media (max-width:600px){
  .page-content{padding:18px 16px 22px;}
  .page-content h1{font-size:22px;}
  .page-content p{font-size:15px;line-height:1.55;}
  .page-content h2,.page-content h3{font-size:18px;}
}








/*admin*/
table.the_table{border:1px #BDBEBC solid; width:100%; border-collapse:collapse}
table.the_table td{border:1px #BDBEBC solid;padding:2px}
table.the_table td:first-child{border:1px #BDBEBC solid;padding:2px; width:10%}
a.delete{color:red}
table.the_table.out_table td{padding-left:4px; font-size:16px;}


/* account */
div.one_album{float:left;margin-right:20px; padding:5px; border:1px #DFE1E0 solid; margin-bottom:10px}
div.one_album img{width:120px; }
div.one_album a{text-decoration:none}
div.picc{height:120px; overflow:hidden}

   .blockcontent ul.menu0{
    background: url(../images/vm-bg.png) no-repeat center top, url(../images/vm-bg-bot.png) no-repeat center bottom, #22D9F3;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 10px 0 #B3B3B3;
    box-shadow: 0 0 10px 0 #B3B3B3;
    border: 3px solid #FFE01B;
    padding: 10px 0;
    margin: 10px 0;
}

.blockcontent ul.menu li a, a#seeit, #random h3, #auth_block ul li a, #teacher_content a, .logo_block a {
    font-size: 13px;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px #fff;
    padding: 0px !important;
    display: inline-block;
    margin: 0 5px;
    text-align: left;
    text-shadow: #FFF 1px 0px, #FFF 1px 1px, #FFF 0px 1px, #FFF -1px 1px, #FFF -1px 0px, #FFF -1px -1px, #FFF 0px -1px, #FFF 1px -1px;
    font-weight: bold;
}
.blockcontent ul.menu li{list-style:none;}

.blockcontent ul.menu1,ul.menu2 {
    background: url(../images/vm-bg-ch.png) no-repeat left top, url(../images/vm-bg-bot-ch.png) no-repeat right bottom, rgba(255, 224, 27, 0.35);
    border-radius: 10px;
    -webkit-box-shadow: 0 0 10px 0 #B3B3B3;
    box-shadow: 0 0 10px 0 #B3B3B3;
    border: 3px solid #22D9F3;
    padding: 10px 0;
    margin: 10px 0;
}

ul.menu2 {
    background: rgba(255, 224, 27, 0.35);
    border-radius: 10px;
    -webkit-box-shadow: 0 0 10px 0 #B3B3B3;
    box-shadow: 0 0 10px 0 #B3B3B3;
    border: 3px solid #22D9F3;
    padding: 10px 0;
    margin: 10px 0;
}
.footer p{margin-bottom:0}
select.simple{width:250px; display:block; float:none; height:44px; border: 1px #19A9EC solid;}
.s_pic{width:100px; float:left}
span.little{font-size:12px; font-weight:bold; display:block}
.block.block6>a{text-decoration:none}

/* portfolio list */
.portfolioinfo-page{padding:20px 24px 24px;border:0;border-radius:0;background:rgba(255,255,255,.94);box-shadow:none}
.portfolioinfo-page h1{margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #dce8eb;color:#2f6473;font-family:'Conv_10045',sans-serif!important;font-size:26px;font-weight:700}
.portfolioinfo-card{min-height:116px;margin:0 0 12px;padding:14px 16px;overflow:hidden;border:1px solid #d9e4e7;border-radius:9px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.portfolioinfo-card:hover{border-color:#62d5e8;box-shadow:0 4px 12px rgba(35,74,91,.08)}
.portfolioinfo-meta{margin-bottom:7px;color:#789098;font-size:11px;font-weight:bold;letter-spacing:.4px}
.portfolioinfo-author{margin-bottom:10px;color:#71838a;font-size:12px}
.portfolioinfo-author a{color:#2d9db1;text-decoration:none}.portfolioinfo-author a:hover{text-decoration:underline}
.portfolioinfo-card .s_pic{float:left;width:92px;height:92px;margin:0 15px 6px 0;object-fit:cover;border-radius:6px}
.portfolioinfo-content{display:block;overflow:hidden;color:#3d4d52;text-decoration:none}
.portfolioinfo-content h3{margin:0 0 6px;color:#2f7180;font-family:Arial,sans-serif!important;font-size:17px;line-height:1.3}
.portfolioinfo-content p{margin:0;color:#52646a;font-size:13px;line-height:1.45}
.portfolioinfo-page #pagination{margin-top:20px}
@media (max-width:600px){.portfolioinfo-page{padding:16px 12px 20px}.portfolioinfo-page h1{font-size:22px}.portfolioinfo-card{padding:12px}.portfolioinfo-content h3{font-size:16px}}

/* single article */
.article-page{padding:20px 28px 28px;background:rgba(255,255,255,.94);color:#303b42}
.article-back{margin-bottom:16px;font-size:13px}.article-back a{display:inline-block;padding:0;border:0;background:transparent;color:#2d9db1;text-decoration:none}.article-back a:hover{background:transparent;color:#16879c;text-decoration:underline}
.article-meta{margin-bottom:7px;color:#789098;font-size:12px;font-weight:bold;letter-spacing:.04em}
.article-author{margin-bottom:18px;color:#71838a;font-size:13px}.article-author a{color:#2d9db1;text-decoration:none}.article-author a:hover{text-decoration:underline}
.article-main-image{display:block;max-width:100%;width:auto;height:auto;margin:0 0 18px;border-radius:7px}
.article-page h1{margin:0 0 14px;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:25px;line-height:1.3}
.article-text{margin-bottom:18px;color:#3f5056;font-size:15px;line-height:1.6}.article-text p{margin:0 0 12px}
.article-download{display:inline-block;margin:0 0 18px;padding:9px 14px;border-radius:6px;background:#e9fbfe;color:#246b78;font-size:14px;font-weight:bold;text-decoration:none}.article-download:hover{background:#43c5da;color:#fff}
.article-document-image{display:block;max-width:100%;width:auto;height:auto;border-radius:7px}.article-document-frame{display:block;max-width:100%;border:1px solid #d9e4e7;border-radius:7px}
@media (max-width:600px){.article-page{padding:16px 14px 22px}.article-page h1{font-size:21px}.article-text{font-size:14px;line-height:1.55}.article-document-frame{height:620px}}

/* user portfolio */
.user-portfolio-page{padding:20px 28px 28px;background:rgba(255,255,255,.94);color:#303b42}
.user-portfolio-back{margin-bottom:16px;font-size:13px}.user-portfolio-back a{color:#2d9db1;text-decoration:none}.user-portfolio-back a:hover{text-decoration:underline}
.user-portfolio-page h1{margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:25px;line-height:1.3}
.user-portfolio-page h2{margin:24px 0 14px;color:#2f7180;font-family:Arial,sans-serif!important;font-size:20px;font-weight:700;line-height:1.3}
.user-portfolio-chapters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #dce8eb}
.user-portfolio-chapters a{display:inline-block;padding:7px 11px;border:1px solid #54c9dc;border-radius:6px;background:#e9fbfe;color:#246b78;font-size:12px;font-weight:bold;text-decoration:none}.user-portfolio-chapters a:hover{background:#43c5da;color:#fff}
.user-portfolio-card{min-height:0}
.user-portfolio-card .portfolioinfo-content p{margin:0}
@media (max-width:600px){.user-portfolio-page{padding:16px 14px 22px}.user-portfolio-page h1{font-size:21px}.user-portfolio-page h2{font-size:18px}.user-portfolio-chapters{display:block}.user-portfolio-chapters a{display:block;margin-bottom:8px;text-align:center}}

/* portfolio chapter */
.folio-page{padding:20px 28px 28px;background:rgba(255,255,255,.94);color:#303b42}
.folio-back{margin-bottom:16px;font-size:13px}.folio-back a{color:#2d9db1;text-decoration:none}.folio-back a:hover{text-decoration:underline}
.folio-page h1{margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:25px;line-height:1.3}
.folio-card{min-height:0}
.folio-card .portfolioinfo-content p{margin:0}
.folio-page #pagination{margin-top:20px}
@media (max-width:600px){.folio-page{padding:16px 14px 22px}.folio-page h1{font-size:21px}}

/* albums */
.albums-page{padding:20px 28px 28px;background:rgba(255,255,255,.94);color:#303b42}
.albums-back{margin-bottom:16px;font-size:13px}.albums-back a{color:#2d9db1;text-decoration:none}.albums-back a:hover{text-decoration:underline}
.albums-page>h1{margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:25px;line-height:1.3}
.albums-page:after{content:'';display:block;clear:both}
.albums-page .one_album{box-sizing:border-box;display:inline-flex;vertical-align:top;width:calc(33.333% - 9px);min-height:208px;margin:0 10px 12px 0;padding:10px;border:1px solid #d9e4e7;border-radius:9px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.albums-page .one_album:nth-of-type(3n){margin-right:0}
.albums-page .one_album:hover{border-color:#62d5e8;box-shadow:0 4px 12px rgba(35,74,91,.1)}
.albums-page .one_album a{display:flex;flex-direction:column;width:100%;color:#2f7180;text-decoration:none}
.albums-page .one_album h2{min-height:34px;margin:0 0 9px;color:#2f7180;font-family:Arial,sans-serif!important;font-size:13px;line-height:1.25}
.albums-page .picc{width:100%;height:145px;overflow:hidden;border-radius:6px;background:#f1f5f6}
.albums-page .picc img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:800px){.albums-page .one_album{width:calc(50% - 7px)}.albums-page .one_album:nth-of-type(3n){margin-right:10px}.albums-page .one_album:nth-of-type(2n){margin-right:0}}
@media (max-width:600px){.albums-page{padding:16px 14px 22px}.albums-page>h1{font-size:21px}.albums-page .one_album{width:100%;margin-right:0!important}.albums-page .picc{height:170px}}

/* photo album */
.photo-album-page{padding:20px 28px 28px;background:rgba(255,255,255,.94);color:#303b42}
.album-back{margin-bottom:16px;font-size:13px}.album-back a{color:#2d9db1;text-decoration:none}.album-back a:hover{text-decoration:underline}
.photo-album-page>h1{display:block!important;float:none!important;clear:both;width:100%;box-sizing:border-box;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:25px;line-height:1.3}
.photo-album-page:after{content:'';display:block;clear:both}
.photo-album-page .one_album{box-sizing:border-box;display:inline-flex;vertical-align:top;width:calc(25% - 10px);height:184px;margin:0 10px 12px 0;padding:8px;border:1px solid #d9e4e7;border-radius:9px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.photo-album-page .one_album:nth-of-type(4n){margin-right:0}
.photo-album-page .one_album:hover{border-color:#62d5e8;box-shadow:0 4px 12px rgba(35,74,91,.1)}
.photo-album-page .one_album a{display:block;width:100%;height:100%;font-size:0}
.photo-album-page .one_album img{display:block;width:100%;height:100%;object-fit:cover;border-radius:6px}
.album-empty{margin:0;padding:28px 0;color:#71838a;font-size:15px}
@media (max-width:800px){.photo-album-page .one_album{width:calc(33.333% - 8px)}.photo-album-page .one_album:nth-of-type(4n){margin-right:10px}.photo-album-page .one_album:nth-of-type(3n){margin-right:0}}
@media (max-width:600px){.photo-album-page{padding:16px 14px 22px}.photo-album-page>h1{font-size:21px}.photo-album-page .one_album{width:calc(50% - 6px);height:170px}.photo-album-page .one_album:nth-of-type(3n){margin-right:10px}.photo-album-page .one_album:nth-of-type(2n){margin-right:0}}
.profile-empty{margin:0;padding:28px 0;color:#71838a;font-size:15px}
.user-portfolio-page .profile-empty{margin:0 0 18px;padding:14px 16px;border:1px dashed #cbdde2;border-radius:8px;color:#789098;font-family:Arial,sans-serif;font-size:14px;background:#f8fcfd}

/* authorization and cabinet */
#auth_block{padding:24px 28px 28px;border:0;border-radius:0;background:rgba(255,255,255,.94);color:#303b42}
#auth_block h1,#auth_block h3{margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:25px;line-height:1.3}
#enter_form{max-width:620px}
#enter_form .topic{margin:16px 0 5px;color:#2f7180;font-family:Arial,sans-serif;font-size:15px;font-weight:bold}
#enter_form input.pole{box-sizing:border-box;width:100%;height:40px;margin:0 0 5px;padding:8px 10px;border:1px solid #b9d1d7;border-radius:5px;background:#fff;color:#303b42;font-size:15px}
#enter_form input.pole:focus{outline:none;border-color:#22bfd7;box-shadow:0 0 0 3px rgba(34,191,215,.12)}
#enter_form .auth-option{display:block;margin-top:10px;color:#52646a;font-size:13px;line-height:1.4}
#enter_form .auth-option input{width:16px;height:16px;margin:0 6px 0 0;vertical-align:middle;accent-color:#22bfd7}
#enter_form>a{display:inline-block;margin-top:10px;color:#2d9db1}
#enter_form input[type=submit]{display:block;width:180px;height:42px;margin-top:20px;border:0;border-radius:6px;background:#22bfd7;color:#fff;font-size:15px;font-weight:bold;cursor:pointer}
#enter_form input[type=submit]:hover{background:#159db5}
#auth_block>input[type=text]{box-sizing:border-box;width:100%;max-width:620px;height:38px;padding:8px 10px;border:1px solid #b9d1d7;border-radius:5px;background:#fff}
#auth_block ul{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;padding:0;list-style:none}
#auth_block ul li{margin:0;list-style:none!important;background:none!important}
#auth_block ul li:before{display:none!important}
#auth_block ul li a{display:inline-block;padding:8px 12px;border:1px solid #54c9dc;border-radius:6px;background:#e9fbfe;color:#246b78!important;font-size:13px;text-decoration:none}
#auth_block ul li a:hover{background:#43c5da;color:#fff!important}
@media (max-width:600px){#auth_block{padding:18px 14px 22px}#auth_block h1,#auth_block h3{font-size:21px}#auth_block ul{display:block}#auth_block ul li{margin-bottom:8px}#auth_block ul li a{display:block;text-align:center}#enter_form input[type=submit]{width:100%}}
#register h3,#auth_block h1,#auth_block h3{color:#0072ff!important;font-family:'Conv_10045'!important;font-size:18px;letter-spacing:1px;text-transform:uppercase;font-weight:700}

/* Главная страница личного кабинета */
#auth_block.cabinet-page{
  box-sizing:border-box;
  padding:20px 28px 28px;
  border:0;
  border-radius:0;
  background:rgba(255,255,255,.94);
  color:#303b42;
  font-family:Arial,sans-serif;
}
#auth_block.cabinet-page .cabinet-site-label{display:block;margin:0 0 7px;color:#71838a;font-size:13px;font-weight:bold}
#auth_block.cabinet-page #cabinet-site-url{box-sizing:border-box;width:100%;max-width:620px;height:38px;padding:8px 10px;border:1px solid #b9d1d7;border-radius:5px;background:#f8fcfd;color:#52646a;font-size:14px}
#auth_block.cabinet-page h1{margin:24px 0 18px;padding:0 0 12px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:25px!important;line-height:1.3;letter-spacing:0;text-transform:none;text-shadow:none}
#auth_block.cabinet-page h1 a{margin:0;padding:0;color:inherit!important;font:inherit;text-decoration:none}
#auth_block.cabinet-page ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
#auth_block.cabinet-page ul li{margin:0;list-style:none!important;background:none!important}
#auth_block.cabinet-page ul li:before{display:none!important}
#auth_block.cabinet-page ul li a{display:inline-block;margin:0;padding:8px 12px;border:1px solid #54c9dc;border-radius:6px;background:#e9fbfe;color:#246b78!important;font-family:Arial,sans-serif;font-size:13px;font-weight:bold;text-decoration:none;text-transform:none;text-shadow:none}
#auth_block.cabinet-page ul li a:hover{background:#43c5da;color:#fff!important}
#auth_block.cabinet-page ul li a.delete{color:#a45159!important;background:#fff5f5;border-color:#e0b9bd}
#auth_block.cabinet-page ul li a.delete:hover{background:#d86f79;color:#fff!important}
@media (max-width:600px){#auth_block.cabinet-page{padding:18px 14px 22px}#auth_block.cabinet-page h1{font-size:21px!important}#auth_block.cabinet-page ul{display:block}#auth_block.cabinet-page ul li{margin-bottom:8px}#auth_block.cabinet-page ul li a{display:block;text-align:center}}
#auth_block.cabinet-page ul{gap:10px;margin-top:4px}
#auth_block.cabinet-page ul li a{min-width:80px;min-height:37px;width:auto!important;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:7px 14px!important;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.15;text-align:center;white-space:nowrap}
#auth_block.cabinet-page ul li a:hover{background:#d9f7fb;color:#246b78!important}
#auth_block.cabinet-page ul li a.active,
#auth_block.cabinet-page ul li a.active:hover{
  border-color:#159db5;
  background:#22bfd7;
  color:#fff!important;
  box-shadow:0 3px 9px rgba(21,157,181,.24);
}
#auth_block.cabinet-page ul li a.delete{background:#fff5f5;border-color:#e0b9bd;color:#a45159!important}
#auth_block.cabinet-page ul li a.delete:hover{background:#fbe4e6;color:#8d3d46!important}
@media (max-width:600px){#auth_block.cabinet-page ul{display:block}#auth_block.cabinet-page ul li{margin-bottom:8px}#auth_block.cabinet-page ul li a{width:100%;min-height:38px;padding:7px 9px;font-size:13px}}

/* Текст «О себе» в личном кабинете */
.cabinet-text-page{box-sizing:border-box;margin-top:22px;padding:18px;border:1px solid #d9e4e7;border-radius:8px;background:#fff;color:#3d4d52;font-family:Arial,sans-serif}
.cabinet-text-page h2{margin:0 0 8px;padding:0 0 11px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:20px;line-height:1.3;text-transform:none;text-shadow:none}
.cabinet-text-hint{max-width:620px;margin:0 0 16px;color:#71838a;font-size:13px;line-height:1.45}
.cabinet-text-form{margin:0}
.cabinet-text-page #cke_text{box-sizing:border-box;width:100%!important;max-width:100%;border:1px solid #b9d1d7;border-radius:7px;overflow:hidden;box-shadow:none}
.cabinet-text-page .cke_top{border-bottom-color:#cbdde2;background:#f2f7f8}
.cabinet-text-page .cke_bottom{border-top-color:#cbdde2;background:#f2f7f8}
.cabinet-text-page .cabinet-text-submit{box-sizing:border-box;width:180px!important;height:40px!important;margin:16px 0 0!important;padding:7px 12px!important;border:1px solid #35c4dc!important;border-radius:6px!important;background:#e9fbfe!important;background-image:none!important;color:#2f7180!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:14px!important;font-weight:700!important;text-shadow:none!important;box-shadow:none!important;cursor:pointer}
.cabinet-text-page .cabinet-text-submit:hover{background:#d9f7fb!important;color:#246b78!important}
@media (max-width:600px){.cabinet-text-page{margin-top:16px;padding:13px}.cabinet-text-page h2{font-size:18px}.cabinet-text-submit{width:100%}}

/* Свидетельство в личном кабинете */
.certificate-page{box-sizing:border-box;max-width:760px;margin-top:22px;padding:4px 0 10px;color:#3d4d52;font-family:Arial,sans-serif}
.certificate-page-paid{padding-left:0}
.certificate-page h2{margin:0 0 10px;padding:0 0 11px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:20px;line-height:1.3;text-transform:none;text-shadow:none}
.certificate-payment-panel,.certificate-background-panel{box-sizing:border-box;margin:0 0 22px;padding:22px 24px 24px;border:1px solid #d9e4e7;border-radius:8px;background:#fff}
.certificate-paid-panel{margin-bottom:0}
.certificate-paid-info{margin:0 0 14px}
.certificate-page .payment,.certificate-page .hyper0{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:auto!important;min-width:180px;height:38px!important;margin:0 0 12px!important;padding:7px 14px!important;border:1px solid #72b982!important;border-radius:6px!important;background:#edf9ef!important;color:#3f7f50!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:14px!important;font-weight:700!important;line-height:1.2!important;text-align:center;text-decoration:none!important;text-shadow:none!important;box-shadow:none!important}
.certificate-page .payment:hover,.certificate-page .hyper0:hover{background:#dff2e3!important;color:#316c40!important}
.certificate-payment-info{margin:0;color:#52646a;font-size:13px;line-height:1.65}
.certificate-payment-status{margin:0 0 16px;padding:12px 14px;border:1px solid #b9d9c0;border-radius:7px;background:#edf9ef;color:#3f7f50;font-size:14px;line-height:1.45}.certificate-payment-status.pending{border-color:#ead6a6;background:#fff9e8;color:#92722b}.certificate-payment-status.success{border-color:#b9d9c0;background:#edf9ef;color:#3f7f50}
.certificate-payment-info a{color:#2d9db1;text-decoration:none}
.certificate-payment-info a:hover{text-decoration:underline}
.certificate-page #price{color:#b35b63;font-weight:700}
.certificate-hint{margin:0 0 12px;color:#71838a;font-size:13px;line-height:1.45}
.certificate-cover-count{margin:-5px 0 10px;color:#789098;font-size:13px;font-weight:700}
.certificate-form{margin:0}
.certificate-cover-carousel{display:flex;align-items:center;gap:8px;margin:16px 0 10px}
.certificate-cover-viewport{flex:1;min-width:0;overflow:hidden;cursor:grab;touch-action:pan-y;user-select:none}
.certificate-cover-viewport.is-dragging{cursor:grabbing}
.certificate-cover-grid{display:flex;gap:14px;margin:0;transition:transform .25s ease}
.certificate-cover-grid .cvr{position:relative;display:flex;flex:0 0 calc((100% - 42px)/4);flex-direction:column;align-items:center;box-sizing:border-box;margin:0!important;padding:8px!important;border:1px solid #d9e4e7;border-radius:8px;background:#f8fcfd;text-align:center;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}
.certificate-cover-grid .cvr:hover{border-color:#62d5e8;box-shadow:0 3px 10px rgba(35,74,91,.08)}
.certificate-cover-grid .cvr:has(input:checked){border-color:#35c4dc;box-shadow:0 0 0 3px rgba(53,196,220,.15)}
.certificate-cover-grid input[type=radio]{position:absolute;top:8px;left:50%;width:20px;height:20px;margin:0;transform:translateX(-50%);opacity:0;cursor:pointer}
.certificate-cover-dot{display:block;width:20px;height:20px;margin:0 auto 7px;border:2px solid #9db9c0;border-radius:50%;box-sizing:border-box;background:#fff}
.certificate-cover-grid .cvr:has(input:checked) .certificate-cover-dot{border:6px solid #22bfd7}
.certificate-cover-grid img{display:block;width:auto;max-width:100%;height:150px;margin:0 auto;object-fit:contain}
.certificate-cover-arrow{flex:0 0 34px;width:34px;height:38px;padding:0;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180;font-size:20px;cursor:pointer}
.certificate-cover-arrow:hover{background:#d9f7fb}
.certificate-cover-arrow:disabled{opacity:.45;cursor:default}
.certificate-cover-status{min-height:19px;margin:0 0 8px;color:#71838a;font-size:13px}.certificate-cover-status.is-success{color:#3f7f50}.certificate-cover-status.is-error{color:#b34040}
.certificate-page .certificate-submit{box-sizing:border-box;width:210px!important;height:38px!important;margin:0!important;padding:7px 12px!important;border:1px solid #35c4dc!important;border-radius:6px!important;background:#e9fbfe!important;background-image:none!important;color:#2f7180!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:14px!important;font-weight:700!important;text-shadow:none!important;box-shadow:none!important;cursor:pointer}
.certificate-page .certificate-submit:hover{background:#d9f7fb!important;color:#246b78!important}
.certificate-submit-bottom{margin-top:2px!important}
@media (max-width:700px){.certificate-cover-grid .cvr{flex-basis:calc((100% - 14px)/2)}.certificate-cover-arrow{flex-basis:30px;width:30px}.certificate-payment-panel,.certificate-background-panel{padding:16px}.certificate-page .certificate-submit{width:100%!important}}

/* Главная страница админки */
#auth_block.admin-page{box-sizing:border-box;padding:20px 28px 28px;border:0;border-radius:0;background:rgba(255,255,255,.94);color:#303b42;font-family:Arial,sans-serif}
#auth_block.admin-page h1{display:block;margin:24px 0 18px;padding:0 0 12px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:25px!important;line-height:1.3;letter-spacing:0;text-transform:none;text-shadow:none}
#auth_block.admin-page h1 a{margin:0;padding:0;color:inherit!important;font:inherit;text-decoration:none}
#auth_block.admin-page ul{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
#auth_block.admin-page ul li{margin:0;list-style:none!important;background:none!important}
#auth_block.admin-page ul li:before{display:none!important}
#auth_block.admin-page ul li a{min-width:66px;min-height:31px;width:auto!important;box-sizing:border-box;display:flex;align-items:center;justify-content:center;margin:0;padding:6px 14px!important;border:1px solid #35c4dc;border-radius:5px;background:#e9fbfe;color:#2f7180!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:11px;font-weight:700;line-height:1.15;text-align:center;text-decoration:none;text-transform:none;text-shadow:none;white-space:nowrap;overflow:visible}
#auth_block.admin-page ul li a:hover{background:#d9f7fb;color:#246b78!important}
#auth_block.admin-page ul li a.delete{background:#fff5f5;border-color:#e0b9bd;color:#a45159!important}
#auth_block.admin-page ul li a.delete:hover{background:#fbe4e6;color:#8d3d46!important}
@media (max-width:600px){#auth_block.admin-page{padding:18px 14px 22px}#auth_block.admin-page h1{font-size:21px!important}#auth_block.admin-page ul{display:block}#auth_block.admin-page ul li{margin-bottom:8px}#auth_block.admin-page ul li a{width:100%;min-height:38px;padding:7px 9px;font-size:13px}}

/* Разделы администрирования */
.admin-subpage{box-sizing:border-box;padding:12px 16px 16px;color:#3d4d52;font-family:Arial,sans-serif}
.admin-mailtemplates-page{box-sizing:border-box;margin-left:20px!important;margin-right:20px!important;padding-left:28px!important;padding-right:28px!important}
.admin-mailtemplates-page .admin-form-panel{margin:0 0 20px!important;padding:16px!important}
.admin-payment-page .admin-form-panel,.admin-maintenance-page .admin-form-panel{padding:16px!important}
.admin-subpage .error:empty{display:none}
.admin-subpage h2{margin:0 0 14px;padding:0 0 10px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:20px;line-height:1.3;text-transform:none;text-shadow:none}
.admin-action{display:inline-flex;align-items:center;justify-content:center;min-height:28px;margin:0 0 14px;padding:5px 9px;border:1px solid #72b982;border-radius:5px;background:#edf9ef;color:#3f7f50!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:12px;font-weight:700;text-decoration:none}
.admin-action:hover{background:#dff2e3;color:#316c40!important}
.admin-form-panel{box-sizing:border-box;margin:0 0 20px;padding:16px;border:1px solid #d9e4e7;border-radius:8px;background:#fff}
.admin-pages-page .admin-form-panel{display:none}
.admin-pages-page .admin-form-panel:target{display:block}
.admin-subpage .topic{display:block;margin:12px 0 4px;color:#2f7180;font-size:13px;font-weight:bold}
.admin-subpage input.pole,.admin-subpage textarea{box-sizing:border-box;width:100%;max-width:620px;padding:8px 10px;border:1px solid #b9d1d7;border-radius:5px;background:#fff;color:#303b42;font-family:Arial,sans-serif;font-size:14px}
.admin-subpage input.pole{height:38px}
.admin-subpage input.pole:focus,.admin-subpage textarea:focus{outline:none;border-color:#22bfd7;box-shadow:0 0 0 3px rgba(34,191,215,.12)}
.admin-subpage .ord_button{min-height:34px;margin-top:14px;padding:7px 12px;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;cursor:pointer}
.admin-subpage .ord_button:hover{background:#d9f7fb}
.admin-cover-panel{box-sizing:border-box;margin:0 0 20px;padding:16px;border:1px solid #d9e4e7;border-radius:8px;background:#fff}.admin-cover-panel h2{margin-bottom:12px}.admin-cover-current{display:block;width:auto;max-width:180px;height:130px;margin:0 0 10px;border:1px solid #d9e4e7;border-radius:6px;object-fit:contain}.admin-cover-form .certificate-cover-carousel{max-width:680px}.admin-cover-form .certificate-cover-grid .cvr{flex-basis:calc((100% - 42px)/4)}.admin-cover-form .certificate-cover-grid img{height:120px}.admin-cover-form .ord_button{margin-top:10px}@media(max-width:700px){.admin-cover-form .certificate-cover-grid .cvr{flex-basis:calc((100% - 14px)/2)}}
.admin-maintenance-switch{display:flex;align-items:center;gap:8px;color:#2f7180;font-size:15px;font-weight:700;cursor:pointer}.admin-maintenance-switch input{width:18px;height:18px;margin:0;accent-color:#22bfd7}.admin-maintenance-page .admin-payment-hint{max-width:620px;margin-top:12px}
.admin-payment-success{margin:0 0 12px;padding:9px 11px;border-radius:6px;background:#edf9ef;color:#3f7f50;font-size:13px}.admin-payment-hint{max-width:620px;color:#71838a;font-size:13px;line-height:1.45}
.mail-template-heading{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px}.mail-template-preview-button{box-sizing:border-box;flex:none;width:178px;height:36px;min-height:36px;padding:6px 10px;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:12px;font-weight:700;line-height:1.2;text-align:center;cursor:pointer}.mail-template-preview-button:hover{background:#d9f7fb;color:#246b78}.mail-template-preview[hidden]{display:none}.mail-template-preview{position:fixed;z-index:10000;inset:0}.mail-template-preview-backdrop{position:absolute;inset:0;background:rgba(25,48,56,.46)}.mail-template-preview-dialog{position:relative;box-sizing:border-box;width:calc(100% - 28px);max-width:760px;max-height:calc(100vh - 32px);margin:16px auto;overflow:auto;border:1px solid #d9e4e7;border-radius:9px;background:#fff;box-shadow:0 10px 30px rgba(35,74,91,.25);color:#303b42}.mail-template-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #dce8eb}.mail-template-preview-header h3{margin:0;color:#2f7180;font-family:Arial,sans-serif;font-size:18px}.mail-template-preview-close{width:32px;height:32px;padding:0;border:1px solid #e0b9bd;border-radius:6px;background:#fff5f5;color:#a45159;font-size:22px;line-height:28px;cursor:pointer}.mail-template-preview-close:hover{background:#fbe4e6}.mail-template-preview-meta{padding:12px 16px;border-bottom:1px solid #edf2f3;color:#52646a;font-size:13px}.mail-template-preview-content{min-height:180px;padding:22px 20px;background:#fff;color:#303b42;font-family:Arial,sans-serif;font-size:15px;line-height:1.6}.mail-template-preview-content h1,.mail-template-preview-content h2,.mail-template-preview-content h3{color:#2f7180}.mail-template-preview-content img{max-width:100%;height:auto}
@media (max-width:600px){.mail-template-heading{display:block}.mail-template-preview-button{display:block;margin-top:8px}.mail-template-preview-content{padding:16px 14px;font-size:14px}}
.admin-pages-list{margin-top:4px;padding-top:16px;border-top:1px solid #dce8eb}
.admin-pages-list h2{margin-bottom:12px}
.admin-pages-list .the_table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #d9e4e7;border-radius:8px;background:#fff;color:#52646a;font-size:12px}
.admin-pages-list .the_table td{padding:8px 9px;border-right:1px solid #d9e4e7;border-bottom:1px solid #d9e4e7;vertical-align:top;line-height:1.35}
.admin-pages-list .the_table tr:first-child td{background:#f0fbfd;color:#2f7180;font-weight:bold}
.admin-pages-list .the_table tr:last-child td{border-bottom:0}
.admin-pages-list .the_table td:last-child{border-right:0}
.admin-pages-list .the_table a{color:#2d9db1;text-decoration:none;font-weight:bold}
.admin-pages-list .the_table a:hover{text-decoration:underline}
.admin-pages-list .the_table a.delete{color:#b35b63}
@media (max-width:600px){.admin-subpage{padding-top:0}.admin-form-panel{padding:12px}.admin-pages-list{overflow-x:auto}.admin-pages-list .the_table{min-width:620px}}

.admin-ads-page>h2{margin-bottom:16px}
.admin-ads-card{box-sizing:border-box;min-height:92px;margin:0 0 12px;padding:12px 14px;overflow:hidden;border:1px solid #d9e4e7;border-radius:9px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}
.admin-ads-card:hover{border-color:#62d5e8;box-shadow:0 4px 12px rgba(35,74,91,.08)}
.admin-ads-card .little{display:block;margin-bottom:6px;color:#789098;font-size:11px;font-weight:bold}
.admin-ads-author{margin-bottom:8px;color:#52646a;font-size:13px}
.admin-ads-author a{color:#2d9db1;text-decoration:none}
.admin-ads-author a:hover{text-decoration:underline}
.admin-ads-card .s_pic{float:left;width:96px;height:96px;margin:0 14px 6px 0;object-fit:cover;border-radius:6px}
.admin-ads-main-link{display:block;color:#52646a;text-decoration:none}
.admin-ads-main-link h3{margin:0 0 5px;padding:0;border:0;color:#2f7180;font-family:Arial,sans-serif;font-size:17px;font-weight:700;line-height:1.3}
.admin-ads-main-link p{margin:0;color:#52646a;font-size:13px;line-height:1.45}
.admin-ads-card .admin-delete{display:inline-block;margin-top:8px;color:#b35b63!important;font-size:12px;font-weight:bold;text-decoration:none}
.admin-ads-card .admin-delete:hover{text-decoration:underline}
@media (max-width:600px){.admin-ads-card{padding:10px 11px}.admin-ads-card .s_pic{width:76px;height:76px;margin-right:10px}.admin-ads-main-link h3{font-size:15px}.admin-ads-main-link p,.admin-ads-author{font-size:12px}}

.admin-pct-page h2{margin-bottom:16px}
.pct-status{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#52646a;font-size:13px}
.pct-status strong,.pct-progress strong{color:#2f7180}
.pct-progress{margin:0 0 16px;color:#52646a;font-size:15px;font-weight:bold}
.pct-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.pct-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border:1px solid #35c4dc;border-radius:5px;background:#e9fbfe;color:#2f7180!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:12px;font-weight:700;text-decoration:none}
.pct-actions a:hover{background:#d9f7fb;color:#246b78!important}
.pct-actions a:last-child{border-color:#dcaeb3;background:#fff5f5;color:#a45159!important}
.pct-actions a:last-child:hover{background:#fbe4e6;color:#8d3d46!important}
.pct-actions a.pct-new-action{border-color:#72b982;background:#edf9ef;color:#3f7f50!important}
.pct-actions a.pct-new-action:hover{background:#dff2e3;color:#316c40!important}
.admin-pct-page form{margin:0}
@media (max-width:600px){.pct-actions{display:block}.pct-actions a{margin:0 6px 8px 0}}

.admin-mails-page h2{margin-bottom:14px}
.admin-copy-mails{display:inline-flex;align-items:center;justify-content:center;min-height:30px;margin:0 0 6px;padding:6px 10px;border:1px solid #72b982;border-radius:5px;background:#edf9ef;color:#3f7f50;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:12px;font-weight:700;cursor:pointer}
.admin-copy-mails:hover{background:#dff2e3;color:#316c40}
.admin-mails-hint{margin:0 0 12px;color:#789098;font-size:12px}
.admin-mails-list{box-sizing:border-box;max-height:560px;overflow:auto;padding:10px 12px;border:1px solid #d9e4e7;border-radius:8px;background:#fff;color:#52646a;font-size:13px;line-height:1.7}
.admin-mail-item{display:block;padding:2px 0;border-bottom:1px solid #eef3f4}
.admin-mail-item:last-child{border-bottom:0}
@media (max-width:600px){.admin-mails-list{max-height:420px;font-size:12px}}

/* registration */
#register{padding:24px 28px 30px;border:0;border-radius:0;background:rgba(255,255,255,.94);color:#303b42}
#register form{max-width:620px;margin-top:22px}
#register h3{margin:0;padding-bottom:12px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:'Conv_10045',sans-serif!important;font-size:25px;line-height:1.3}
#register .topic{margin:18px 0 4px;color:#2f7180;font-family:Arial,sans-serif;font-size:15px;font-weight:bold}
#register form p{margin:0 0 6px;color:#71838a;font-size:12px}
#register input.pole{box-sizing:border-box;width:100%;height:40px;margin:0 0 4px;padding:8px 10px;border:1px solid #b9d1d7;border-radius:5px;background:#fff;color:#303b42;font-size:15px}
#register input.pole:focus{outline:none;border-color:#22bfd7;box-shadow:0 0 0 3px rgba(34,191,215,.12)}
#register input[type=checkbox]{width:16px;height:16px;margin:3px 5px 0 0;vertical-align:top;accent-color:#22bfd7}
#register form>a{color:#2d9db1}
#register input[type=submit]{display:block;width:180px;height:42px;margin-top:18px;border:0;border-radius:6px;background:#22bfd7;color:#fff;font-size:15px;font-weight:bold;cursor:pointer}
#register input[type=submit]:hover{background:#159db5}
#register .error,#register .success{margin-bottom:12px;padding:10px 12px;border-radius:6px;font-size:13px}
#register .error:empty,#register .success:empty{display:none}
#register .error{background:#fff0f0;color:#b34040}.success{background:#effbf3;color:#3c7f52}
#register div.error{box-sizing:border-box;margin-left:0;padding:16px 20px;font-size:18px;line-height:1.4}
@media (max-width:600px){#register{padding:18px 14px 24px}#register h3{font-size:21px}#register form{margin-top:16px}#register input[type=submit]{width:100%}}
#register h3{color:#0072ff!important;font-family:'Conv_10045'!important;font-size:18px;letter-spacing:1px;text-transform:uppercase;font-weight:700}
.standard-back,.albums-back,.album-back,.folio-back,.article-back,.user-portfolio-back{margin-bottom:16px;font-size:13px}
.standard-back a,.albums-back a,.album-back a,.folio-back a,.article-back a,.user-portfolio-back a{color:#2d9db1;text-decoration:none}
.standard-back a:hover,.albums-back a:hover,.album-back a:hover,.folio-back a:hover,.article-back a:hover,.user-portfolio-back a:hover{text-decoration:underline}
.standard-back a,.albums-back a,.album-back a,.folio-back a,.article-back a,.user-portfolio-back a{
  margin:0!important;
  font-weight:400!important;
  text-transform:none!important;
}

/* Единый стиль загрузки файлов на всех страницах */
input[type='file']{
  display:block;
  max-width:100%;
  color:#52646a;
  font-family:Arial,sans-serif;
  font-size:12px;
  line-height:1.2;
}
input[type='file']::file-selector-button{
  min-height:30px;
  margin:0 8px 0 0;
  padding:5px 9px;
  border:1px solid #35c4dc;
  border-radius:5px;
  background:#e9fbfe;
  color:#2f7180;
  font-family:'PT Sans Narrow',Arial,sans-serif;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
input[type='file']::-webkit-file-upload-button{
  min-height:30px;
  margin:0 8px 0 0;
  padding:5px 9px;
  border:1px solid #35c4dc;
  border-radius:5px;
  background:#e9fbfe;
  color:#2f7180;
  font-family:'PT Sans Narrow',Arial,sans-serif;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
input[type='file']::file-selector-button:hover,
input[type='file']::-webkit-file-upload-button:hover{
  background:#d9f7fb;
  color:#246b78;
}

/* Раздел объявлений пользователя */
.board-page{box-sizing:border-box;padding:20px 24px 26px;color:#3d4d52;font-family:Arial,sans-serif;background:rgba(255,255,255,.94)}
.board-page h1{margin:0 0 10px;padding:0 0 12px;border-bottom:1px solid #dce7eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:23px!important;line-height:1.3;text-transform:none!important;text-shadow:none!important}
.board-section-title{margin:0 0 18px;color:#778e95;font-size:15px;font-weight:bold}
.board-card{box-sizing:border-box;min-height:92px;margin:0 0 12px;padding:12px 14px;overflow:hidden;border:1px solid #d9e4e7;border-radius:9px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}
.board-card:hover{border-color:#62d5e8;box-shadow:0 4px 12px rgba(35,74,91,.08)}
.board-card .little{display:block;margin-bottom:7px;color:#789098;font-size:11px;font-weight:bold}
.board-card .s_pic{width:96px;height:96px;margin:0 16px 6px 0;object-fit:cover;border-radius:6px}
.board-card>a{display:block;margin:0;color:#3d4d52;text-decoration:none}
.board-card>a h3{margin:0 0 5px;padding:0;border:0;color:#2f7180;font-family:Arial,sans-serif;font-size:17px;font-weight:700;line-height:1.3}
.board-card>a p{margin:0;color:#52646a;font-size:13px;line-height:1.45}
.board-page .profile-empty{margin:0 0 18px;padding:14px 16px;border:1px dashed #cbdde2;border-radius:8px;color:#789098;font-size:14px;background:#f8fcfd}
.board-page #pagination{margin-top:22px}

/* Пользователи в админке */
.admin-users-page{padding-top:4px}
.admin-users-page h2{margin-bottom:14px}
.admin-users-search{display:flex;align-items:center;gap:8px;margin:0 0 18px}
.admin-users-search .pole{flex:0 1 320px!important;width:320px!important;min-width:0;margin:0!important}
.admin-users-search .ord_button{margin:0!important;min-height:38px;padding:7px 14px;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;cursor:pointer}
.admin-users-search .ord_button:hover{background:#d9f7fb}
.admin-users-table-wrap{overflow-x:auto;border:1px solid #d9e4e7;border-radius:8px;background:#fff}
.admin-users-page .the_table{width:100%!important;min-width:760px;border:0;border-collapse:separate;border-spacing:0;background:#fff;color:#52646a;font-size:12px}
.admin-users-page .the_table td{padding:8px 7px;border-right:1px solid #d9e4e7;border-bottom:1px solid #d9e4e7;vertical-align:top;line-height:1.35}
.admin-users-page .the_table tr:first-child td{background:#f0fbfd;color:#2f7180;font-weight:700;white-space:nowrap}
.admin-users-page .the_table tr:last-child td{border-bottom:0}
.admin-users-page .the_table td:last-child{border-right:0}
.admin-users-page .the_table a{color:#2d9db1;text-decoration:none;font-weight:700}
.admin-users-page .the_table a:hover{text-decoration:underline}
.admin-users-page .the_table a.delete{color:#b35b63}
.admin-users-page .the_table td:nth-child(5),.admin-users-page .the_table td:nth-child(6),.admin-users-page .the_table td:nth-child(9){text-align:center;font-weight:700}
@media (max-width:600px){.admin-users-search{display:block}.admin-users-search .pole{width:100%!important;max-width:360px;margin-bottom:8px!important}.admin-users-search .ord_button{width:auto}.admin-users-table-wrap{margin-right:-2px}}

/* Карточка пользователя в админке */
.admin-card-page{max-width:760px}
.admin-card-page h2{margin-bottom:16px}
.admin-profile-panel{padding:16px 18px 18px;border:1px solid #d9e4e7;border-radius:8px;background:#fff}
.admin-profile-panel h2{margin-top:0}
.admin-card-form{padding:0 0 4px}
.admin-card-form .logo{display:block;max-width:220px;height:auto;margin:8px 0 12px;border:1px solid #d9e4e7;border-radius:6px;background:#f5fafb}
.admin-card-form input[type='file']{display:block;margin:8px 0 12px;color:#52646a;font-family:Arial,sans-serif;font-size:12px}
.admin-card-form .ord_button{margin-top:8px}
.admin-photo-delete{min-height:34px;margin:8px 0 0 6px;padding:7px 12px;border:1px solid #e0b9bd;border-radius:6px;background:#fff5f5;color:#a45159;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;cursor:pointer}
.admin-photo-delete:hover{background:#fbe4e6;color:#8d3d46}
.admin-card-options{display:flex;flex-wrap:wrap;gap:8px 16px;margin:16px 0 10px;padding:10px 12px;border:1px solid #d9e4e7;border-radius:6px;background:#f8fcfd}
.admin-card-options label{display:inline-flex;align-items:center;gap:6px;color:#52646a;font-size:13px;cursor:pointer}
.admin-card-options input{accent-color:#22bfd7}
.admin-card-divider{height:1px;margin:22px 0 18px;background:#dce8eb}
.admin-password-panel{margin-top:4px;padding:16px 18px 18px;border:1px solid #d9e4e7;border-radius:8px;background:#f8fcfd}
.admin-password-panel h2{margin-top:0;border-bottom-color:#c9e1e6}
.admin-password-panel .ord_button{background:#eaf8ed;border-color:#78c58a;color:#39784b}
.admin-password-panel .ord_button:hover{background:#ddf3e2}

/* Редактор аватарки */
.avatar-upload-help{max-width:620px;margin:4px 0 12px;color:#789098;font-size:12px;line-height:1.45}
.avatar-editor{max-width:620px;margin:12px 0 14px;padding:14px;border:1px solid #b9dfe5;border-radius:8px;background:#f8fcfd}
.avatar-editor-title{margin-bottom:10px;color:#2f7180;font-size:15px;font-weight:700}
.avatar-crop-area{max-width:100%;min-height:120px;padding:8px;overflow:hidden;border-radius:6px;background:#26363b;text-align:center}
.avatar-crop-area img{display:block;max-width:100%;height:auto;margin:0 auto}
.admin-card-page .avatar-crop-area{max-width:420px;margin:0 auto}
.admin-card-page .avatar-crop-area img{max-width:420px;max-height:420px;object-fit:contain}
.avatar-editor-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.avatar-editor-button{padding:7px 10px;border:1px solid #35c4dc;border-radius:5px;background:#e9fbfe;color:#2f7180;font-family:Arial,sans-serif;font-size:12px;font-weight:700;cursor:pointer}
.avatar-editor-button{white-space:nowrap}
.avatar-editor-button:hover{background:#d9f7fb}
.avatar-editor-apply{border-color:#78c58a;background:#eaf8ed;color:#39784b}
.avatar-editor-apply:hover{background:#ddf3e2}
.avatar-editor-status{margin:10px 0 0;color:#52646a;font-size:12px;line-height:1.4}
.avatar-editor-status.is-error{color:#b35b63;font-weight:700}
.avatar-preview{display:block;max-width:140px;max-height:140px;margin:12px 0 0;border:2px solid #35c4dc;border-radius:6px}
.avatar-preview[hidden]{display:none!important}
@media (max-width:600px){.avatar-editor-actions{display:block}.avatar-editor-button{margin:0 5px 7px 0}}

/* Личные данные в кабинете */
.cabinet-data-page{box-sizing:border-box;max-width:760px;padding:4px 0 10px;color:#52646a;font-family:Arial,sans-serif}
.cabinet-data-page>h2,.cabinet-data-page .block_a h2{margin:0 0 14px;padding:0 0 10px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:20px;line-height:1.3;text-transform:none;text-shadow:none}
.cabinet-data-page>.topic{margin:0 0 7px;color:#2f7180;font-size:13px;font-weight:700}
.cabinet-data-page #avatar{min-height:12px;margin:0 0 12px}
.cabinet-data-page #avatar .mini{display:block;max-width:180px;width:auto;height:auto;border:1px solid #d9e4e7;border-radius:7px}
.cabinet-data-page .block_a{float:none;box-sizing:border-box;margin:0 0 22px;padding:16px 18px;border:1px solid #d9e4e7;border-radius:8px;background:#fff}
.cabinet-data-page .block_a:first-of-type{padding-top:16px}
.cabinet-data-page .topic{display:block;margin:12px 0 4px;color:#2f7180;font-size:13px;font-weight:700}
.cabinet-data-page input.pole{box-sizing:border-box;width:100%;max-width:620px;height:38px;padding:8px 10px;border:1px solid #b9d1d7;border-radius:5px;background:#fff;color:#303b42;font-family:Arial,sans-serif;font-size:14px}
.cabinet-data-page input.pole:focus{outline:none;border-color:#22bfd7;box-shadow:0 0 0 3px rgba(34,191,215,.12)}
.cabinet-data-page .cabinet-option{display:block;margin:0 0 9px;color:#52646a;font-size:13px;line-height:1.4;cursor:pointer}
.cabinet-data-page .cabinet-option input{margin:0 7px 0 0;accent-color:#22bfd7}
.cabinet-data-page input[type='submit'],.cabinet-data-page #crop{display:inline-block;min-height:34px;margin:12px 0 0;padding:7px 14px;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;cursor:pointer}
.cabinet-data-page input[type='submit']:hover,.cabinet-data-page #crop:hover{background:#d9f7fb}
.cabinet-data-page input[type='file']{display:block;margin:8px 0;color:#52646a;font-size:12px}
.cabinet-data-page #target{display:block;max-width:100%;height:auto;border:1px solid #d9e4e7;border-radius:7px}
.cabinet-data-page #cropresult{margin-top:10px}
.cabinet-data-page .clear{display:none}
.cabinet-data-page .cabinet-photo-settings{display:block}
.cabinet-avatar-editor{max-width:620px;margin:12px 0 14px;padding:14px;border:1px solid #b9dfe5;border-radius:8px;background:#f8fcfd}
.cabinet-avatar-editor .avatar-crop-area{max-width:420px;margin:0 auto}
.cabinet-avatar-editor .avatar-crop-area img{max-width:420px;max-height:420px;object-fit:contain}
.cabinet-crop-grid{position:absolute;z-index:5;box-sizing:border-box;border:1px solid rgba(255,255,255,.9);background-image:linear-gradient(to right,transparent 32.8%,rgba(255,255,255,.78) 33%,rgba(255,255,255,.78) 33.6%,transparent 33.8%,transparent 66.1%,rgba(255,255,255,.78) 66.3%,rgba(255,255,255,.78) 66.9%,transparent 67.1%),linear-gradient(to bottom,transparent 32.8%,rgba(255,255,255,.78) 33%,rgba(255,255,255,.78) 33.6%,transparent 33.8%,transparent 66.1%,rgba(255,255,255,.78) 66.3%,rgba(255,255,255,.78) 66.9%,transparent 67.1%);pointer-events:none}
.cabinet-crop-grid[hidden]{display:none}
.cabinet-photo-save,.cabinet-photo-delete{box-sizing:border-box;width:200px!important;height:40px;min-height:40px;margin:12px 8px 0 0!important;padding:7px 12px;vertical-align:top;white-space:nowrap}
.cabinet-photo-delete{display:inline-block;border:1px solid #e0b9bd;border-radius:6px;background:#fff5f5;color:#a45159;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;cursor:pointer}
.cabinet-photo-delete:hover{background:#fbe4e6;color:#8d3d46}

/* Фотоальбомы в личном кабинете */
.cabinet-album-page{box-sizing:border-box;max-width:760px;padding:4px 0 10px;color:#52646a;font-family:Arial,sans-serif}
.cabinet-album-error:empty{display:none}
.cabinet-album-error:not(:empty){margin:0 0 12px;padding:9px 11px;border-radius:6px;background:#fff0f0;color:#b34040;font-size:13px}
.cabinet-album-form,.cabinet-album-list-section{box-sizing:border-box;margin:0 0 22px;padding:22px 24px 24px;border:1px solid #d9e4e7;border-radius:8px;background:#fff}
.cabinet-album-form{margin:0 0 22px!important;padding:22px 24px 24px!important}
.cabinet-album-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid #dce8eb;margin-bottom:14px}
.cabinet-album-list-heading h2{border:0;margin:0;padding:0 0 10px}
.cabinet-album-list-heading span{padding-bottom:10px;color:#789098;font-size:12px}
.cabinet-album-page h2{margin:0 0 14px;padding:0 0 10px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:20px;line-height:1.3;text-transform:none;text-shadow:none}
.cabinet-album-field{display:block;margin:0 0 13px}
.cabinet-album-field>span{display:block;margin:0 0 5px;color:#2f7180;font-size:13px;font-weight:700}
.cabinet-album-help{display:block;margin:-4px 0 7px;color:#789098;font-size:12px;line-height:1.4}
.cabinet-album-logo-delete-form{margin:0 0 9px}.cabinet-album-logo-delete{display:flex;margin:8px 0 0;width:max-content}
.cabinet-album-field input.pole{box-sizing:border-box;width:100%;max-width:620px;height:38px;margin:0;padding:8px 10px;border:1px solid #b9d1d7;border-radius:5px;background:#fff;color:#303b42;font-family:Arial,sans-serif;font-size:14px}
.cabinet-album-field input.pole:focus{outline:none;border-color:#22bfd7;box-shadow:0 0 0 3px rgba(34,191,215,.12)}
.cabinet-album-field input[type=file]{display:block;margin:0;color:#52646a;font-family:Arial,sans-serif;font-size:12px}
.cabinet-album-field .alb_logo{display:block;float:none!important;width:auto!important;max-width:150px;height:auto;max-height:120px;margin:0 0 9px;border:1px solid #d9e4e7;border-radius:6px;object-fit:cover}
.cabinet-album-switch{display:flex;align-items:center;gap:7px;margin:3px 0 13px;color:#52646a;font-size:13px;cursor:pointer}
.cabinet-album-switch input{width:16px;height:16px;margin:0;accent-color:#22bfd7}
.cabinet-album-form-actions{display:flex;align-items:center;gap:8px}
.cabinet-album-submit,.cabinet-album-cancel,.cabinet-album-action{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:0;padding:7px 12px;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.2;text-decoration:none;cursor:pointer}
.cabinet-album-page input.cabinet-album-submit{width:auto!important;height:34px!important;margin:0!important;padding:7px 14px!important;border:1px solid #35c4dc!important;background:#e9fbfe!important;color:#2f7180!important;font-size:13px!important}
.cabinet-album-submit:hover,.cabinet-album-cancel:hover,.cabinet-album-action:hover{background:#d9f7fb;color:#246b78!important}
.cabinet-album-cancel{border-color:#e0b9bd;background:#fff5f5;color:#a45159!important}
.cabinet-album-cancel:hover{background:#fbe4e6;color:#8d3d46!important}
.cabinet-album-list{display:grid;gap:9px}
.cabinet-album-item{display:flex;align-items:center;gap:12px;box-sizing:border-box;padding:11px 12px;border:1px solid #d9e4e7;border-radius:7px;background:#fafdfe}
.cabinet-album-item-logo{display:block;flex:0 0 64px;width:64px;height:64px;overflow:hidden;border-radius:6px;background:#f1f5f6}
.cabinet-album-item-logo img{display:block;width:100%;height:100%;object-fit:cover}
.cabinet-album-item-number{display:flex;flex:0 0 28px;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;background:#dff7fb;color:#2f7180;font-size:12px;font-weight:700}
.cabinet-album-item-content{min-width:0;flex:1}
.cabinet-album-item h3{margin:0 0 8px;padding:0;border:0;color:#2f7180;font-family:Arial,sans-serif;font-size:15px;line-height:1.3;text-transform:none;text-shadow:none}
.cabinet-album-item h3 a{color:#2f7180;text-decoration:none}
.cabinet-album-item h3 a:hover{text-decoration:underline}
.cabinet-album-actions{display:flex;flex-wrap:wrap;gap:6px}
.cabinet-album-toggle-form{display:inline-flex;margin:0}
.cabinet-album-toggle{font:inherit}
.cabinet-album-toggle-on{border-color:#e0b9bd;background:#fff5f5;color:#a45159!important}
.cabinet-album-toggle-on:hover{background:#fbe4e6;color:#8d3d46!important}
.cabinet-album-toggle-off{border-color:#9ed9a9;background:#f0fff2;color:#3f8050!important}
.cabinet-album-toggle-off:hover{background:#ddf8e2;color:#347041!important}
.cabinet-album-action{min-height:28px;padding:5px 8px;border-radius:5px;font-size:11px}
.cabinet-album-delete{border-color:#e0b9bd;background:#fff5f5;color:#a45159!important}
.cabinet-album-delete:hover{background:#fbe4e6;color:#8d3d46!important}
.cabinet-album-item{cursor:grab}
.cabinet-album-item:active{cursor:grabbing;opacity:.75}
@media (max-width:600px){.cabinet-album-form,.cabinet-album-list-section{padding:16px}.cabinet-album-form{padding:16px!important}.cabinet-album-page h2{font-size:18px}.cabinet-album-list-heading{display:block}.cabinet-album-list-heading span{display:block;padding:0 0 10px}.cabinet-album-item{align-items:flex-start}.cabinet-album-item-logo{flex-basis:52px;width:52px;height:52px}.cabinet-album-actions{display:block}.cabinet-album-action,.cabinet-album-toggle-form{margin:0 4px 6px 0}.cabinet-album-form-actions{align-items:stretch;flex-direction:column}.cabinet-album-submit,.cabinet-album-cancel{width:100%}}

/* Объявления в личном кабинете */
.cabinet-ads-page{box-sizing:border-box;max-width:760px;padding:4px 0 10px;color:#52646a;font-family:Arial,sans-serif}
.cabinet-ads-error:empty{display:none}
.cabinet-ads-error:not(:empty){margin:0 0 12px;padding:9px 11px;border-radius:6px;background:#fff0f0;color:#b34040;font-size:13px}
.cabinet-ads-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:0 0 10px;border-bottom:1px solid #dce8eb}
.cabinet-ads-heading h2,.cabinet-ads-list-section>h2{margin:0;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:20px;line-height:1.3;text-transform:none;text-shadow:none}
.cabinet-ads-chapters{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 9px;border:1px solid #35c4dc;border-radius:5px;background:#e9fbfe;color:#2f7180!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:12px;font-weight:700;text-decoration:none}
.cabinet-ads-chapters:hover{background:#d9f7fb;color:#246b78!important}
.cabinet-ads-add{margin:0 0 26px}
.cabinet-ads-add>summary{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:150px;min-height:34px;padding:7px 14px;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.2;list-style:none;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}
.cabinet-ads-add>summary::-webkit-details-marker{display:none}
.cabinet-ads-add>summary:hover{background:#d9f7fb;color:#246b78}
.cabinet-ads-add[open]>summary{border-color:#159db5;background:#22bfd7;color:#fff}
.cabinet-ads-add>.cabinet-ads-form{margin-top:14px!important}
.cabinet-ads-form,.cabinet-ads-list-section{box-sizing:border-box;margin:0 0 22px;padding:22px 24px 24px;border:1px solid #d9e4e7;border-radius:8px;background:#fff}
.cabinet-ads-form{margin:0 0 22px!important;padding:22px 24px 24px!important}
.cabinet-ads-form>h3{margin:0 0 14px;padding:0 0 10px;border-bottom:1px solid #dce8eb;color:#2f7180;font-family:Arial,sans-serif;font-size:17px;line-height:1.3;text-transform:none;text-shadow:none}
.cabinet-ads-field{display:block;margin:0 0 13px}
.cabinet-ads-field>span{display:block;margin:0 0 5px;color:#2f7180;font-size:13px;font-weight:700}
.cabinet-ads-field input.pole,.cabinet-ads-field select,.cabinet-ads-field textarea{box-sizing:border-box;width:100%;max-width:620px;margin:0;padding:8px 10px;border:1px solid #b9d1d7;border-radius:5px;background:#fff;color:#303b42;font-family:Arial,sans-serif;font-size:14px}
.cabinet-ads-field input.pole,.cabinet-ads-field select{height:38px}
.cabinet-ads-field textarea{min-height:90px;resize:vertical}
.cabinet-ads-field input.pole:focus,.cabinet-ads-field select:focus,.cabinet-ads-field textarea:focus{outline:none;border-color:#22bfd7;box-shadow:0 0 0 3px rgba(34,191,215,.12)}
.cabinet-ads-upload small{display:block;margin:0 0 7px;color:#789098;font-size:12px;line-height:1.4}
.cabinet-ads-upload input[type=file]{display:block;color:#52646a;font-size:12px}
.cabinet-ads-upload input[type=file]::file-selector-button{min-height:30px;margin:0 8px 0 0;padding:5px 9px;border:1px solid #35c4dc;border-radius:5px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:12px;font-weight:700;cursor:pointer}
.cabinet-ads-upload input[type=file]::file-selector-button:hover{background:#d9f7fb;color:#246b78}
.cabinet-ads-current-image{display:block;max-width:160px;max-height:120px;margin:0 0 8px;border:1px solid #d9e4e7;border-radius:6px;object-fit:cover}
.cabinet-file-delete{display:inline-flex;align-items:center;gap:5px;margin:0 0 8px;color:#a45159;font-size:12px;cursor:pointer}
.cabinet-file-delete input{width:15px;height:15px;margin:0;accent-color:#c85d66}
.cabinet-ads-editor .cke{box-sizing:border-box;max-width:620px}
.cabinet-ads-form-actions{display:flex;align-items:center;gap:8px}
.cabinet-ads-submit,.cabinet-ads-cancel,.cabinet-ads-action{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:0;padding:7px 12px;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.2;text-decoration:none;cursor:pointer}
.cabinet-ads-page input.cabinet-ads-submit{width:auto!important;height:34px!important;margin:0!important;padding:7px 14px!important;border:1px solid #35c4dc!important;background:#e9fbfe!important;color:#2f7180!important;font-size:13px!important}
.cabinet-ads-submit:hover,.cabinet-ads-cancel:hover,.cabinet-ads-action:hover{background:#d9f7fb!important;color:#246b78!important}
.cabinet-ads-cancel{border-color:#e0b9bd;background:#fff5f5;color:#a45159!important}
.cabinet-ads-cancel:hover{background:#fbe4e6!important;color:#8d3d46!important}
.cabinet-ads-list-section>h2{margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #dce8eb}
.cabinet-portfolio-filter-box{margin:0 0 16px;padding:10px 12px;border:1px solid #d9e4e7;border-radius:7px;background:#fafdfe}
.cabinet-portfolio-filter-title{margin:0 0 7px;color:#58747c;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.2}
.cabinet-portfolio-filters{display:flex;flex-wrap:wrap;gap:5px;margin:0}
.cabinet-portfolio-filters a{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border:1px solid #b9d1d7;border-radius:4px;background:#f8fcfd;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:11px;font-weight:700;line-height:1.15;text-decoration:none}
.cabinet-portfolio-filters a:hover{border-color:#35c4dc;background:#e9fbfe}
.cabinet-portfolio-filters a.active{border-color:#159db5;background:#22bfd7;color:#fff}
.cabinet-ads-list{display:grid;gap:10px}
.cabinet-ads-item{display:flex;gap:13px;box-sizing:border-box;padding:12px;border:1px solid #d9e4e7;border-radius:8px;background:#fafdfe}
.cabinet-ads-image{flex:0 0 100px;width:100px;height:100px;border-radius:6px;object-fit:contain;background:#f1f5f6}
.cabinet-ads-item-content{min-width:0;flex:1}
.cabinet-ads-meta{display:flex;flex-wrap:wrap;gap:5px 12px;margin:0 0 7px;color:#789098;font-size:11px;line-height:1.3}
.cabinet-ads-item h3{margin:0 0 5px;padding:0;border:0;color:#2f7180;font-family:Arial,sans-serif;font-size:16px;line-height:1.3;text-transform:none;text-shadow:none}
.cabinet-ads-item p{margin:0;color:#52646a;font-size:13px;line-height:1.45}
.cabinet-ads-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.cabinet-ads-action{min-height:28px;padding:5px 8px;border-radius:5px;font-size:11px}
.cabinet-ads-delete{border-color:#e0b9bd;background:#fff5f5;color:#a45159!important}
.cabinet-ads-delete:hover{background:#fbe4e6!important;color:#8d3d46!important}
.cabinet-ads-pagination{margin-top:14px;overflow:hidden}
.cabinet-ads-pagination #pagination a{box-sizing:border-box;display:inline-flex;float:none;align-items:center;justify-content:center;width:27px;height:27px;margin:0 4px 4px 0;padding:0;border:1px solid #b9d1d7;border-radius:4px;color:#2f7180;text-decoration:none}
.cabinet-ads-pagination #pagination a:hover,.cabinet-ads-pagination #pagination a.current{border-color:#35c4dc;background:#e9fbfe}
@media (max-width:600px){.cabinet-ads-heading{align-items:flex-start;flex-direction:column}.cabinet-ads-form,.cabinet-ads-list-section{padding:16px}.cabinet-ads-form{padding:16px!important}.cabinet-ads-add>summary{width:100%}.cabinet-portfolio-filters a{flex:1 1 auto}.cabinet-ads-item{display:block}.cabinet-ads-image{width:86px;height:86px;margin-bottom:8px}.cabinet-ads-form-actions{align-items:stretch;flex-direction:column}.cabinet-ads-submit,.cabinet-ads-cancel{width:100%}}

/* Портфолио в личном кабинете */
.cabinet-portfolio-add{margin:0 0 26px}
.cabinet-portfolio-add>summary{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:150px;min-height:34px;padding:7px 14px;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.2;list-style:none;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}
.cabinet-portfolio-add>summary::-webkit-details-marker{display:none}
.cabinet-portfolio-add>summary:hover{background:#d9f7fb;color:#246b78}
.cabinet-portfolio-add[open]>summary{border-color:#159db5;background:#22bfd7;color:#fff}
.cabinet-portfolio-add>.cabinet-ads-form{margin-top:14px!important}
.cabinet-portfolio-hint{display:block;margin:-1px 0 7px;color:#789098;font-size:12px;line-height:1.4}
.cabinet-portfolio-current-file,.cabinet-portfolio-file{display:inline-flex;align-items:center;min-height:27px;margin:0 0 8px;padding:4px 8px;border:1px solid #72b982;border-radius:5px;background:#edf9ef;color:#3f7f50!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:12px;font-weight:700;text-decoration:none}
.cabinet-portfolio-current-file:hover,.cabinet-portfolio-file:hover{background:#dff2e3;color:#316c40!important}
.cabinet-portfolio-file{margin:8px 0 0}
@media (max-width:600px){.cabinet-portfolio-add>summary{width:100%}}

/* Подразделы в личном кабинете */
.cabinet-chapters-page{box-sizing:border-box;max-width:760px;padding:4px 0 10px;color:#52646a;font-family:Arial,sans-serif}
.cabinet-chapters-form,.cabinet-chapters-list-section{box-sizing:border-box;margin:0 0 22px;padding:22px 24px 24px;border:1px solid #d9e4e7;border-radius:8px;background:#fff}
.cabinet-chapters-form{margin:0 0 22px!important;padding:22px 24px 24px!important}
.cabinet-chapters-page h2{margin:0 0 14px;padding:0 0 10px;border-bottom:1px solid #dce8eb;color:#2f7180!important;font-family:Arial,sans-serif!important;font-size:20px;line-height:1.3;text-transform:none;text-shadow:none}
.cabinet-chapters-field{display:block;margin:0 0 13px}
.cabinet-chapters-field>span{display:block;margin:0 0 5px;color:#2f7180;font-size:13px;font-weight:700}
.cabinet-chapters-field input.pole,.cabinet-chapters-field select{box-sizing:border-box;width:100%;max-width:620px;height:38px;margin:0;padding:8px 10px;border:1px solid #b9d1d7;border-radius:5px;background:#fff;color:#303b42;font-family:Arial,sans-serif;font-size:14px}
.cabinet-chapters-field input.pole:focus,.cabinet-chapters-field select:focus{outline:none;border-color:#22bfd7;box-shadow:0 0 0 3px rgba(34,191,215,.12)}
.cabinet-chapters-page input.cabinet-chapters-submit{width:auto!important;height:34px!important;margin:0!important;padding:7px 14px!important;border:1px solid #35c4dc!important;border-radius:6px!important;background:#e9fbfe!important;color:#2f7180!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:13px!important;font-weight:700;cursor:pointer}
.cabinet-chapters-page input.cabinet-chapters-submit:hover{background:#d9f7fb!important;color:#246b78!important}
.cabinet-chapters-columns{display:grid;grid-template-columns:1fr;gap:22px}
.cabinet-chapters-list-section{min-width:0;margin:0}
.cabinet-chapters-list-section h2{font-size:17px}
.cabinet-chapters-list{display:grid;gap:8px}
.cabinet-chapters-item{display:flex;align-items:center;gap:9px;box-sizing:border-box;min-height:45px;padding:8px 9px;border:1px solid #d9e4e7;border-radius:7px;background:#fafdfe}
.cabinet-chapters-number{display:flex;flex:0 0 25px;width:25px;height:25px;align-items:center;justify-content:center;border-radius:50%;background:#dff7fb;color:#2f7180;font-size:11px;font-weight:700}
.cabinet-chapters-name{min-width:0;flex:1;overflow-wrap:anywhere;color:#3f555c;font-size:13px;font-weight:700}
.cabinet-chapters-delete{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:4px 7px;border:1px solid #e0b9bd;border-radius:5px;background:#fff5f5;color:#a45159!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:11px;font-weight:700;text-decoration:none}
.cabinet-chapters-delete:hover{background:#fbe4e6;color:#8d3d46!important}
.cabinet-chapters-empty{margin:0;padding:11px;border:1px dashed #cbdde2;border-radius:7px;background:#f8fcfd;color:#789098;font-size:12px;text-align:center}
@media (max-width:700px){.cabinet-chapters-columns{grid-template-columns:1fr}.cabinet-chapters-form,.cabinet-chapters-list-section{padding:16px}.cabinet-chapters-form{padding:16px!important}.cabinet-chapters-page h2{font-size:18px}.cabinet-chapters-list-section h2{font-size:16px}}

/* Воздух между отдельными панелями кабинета */
.cabinet-chapters-columns{margin-top:26px}
.cabinet-album-list-section{margin-top:26px}
.cabinet-pictures-page{box-sizing:border-box;color:#52646a;font-family:Arial,sans-serif}
.cabinet-pictures-back{margin:0 0 14px;font-size:13px}.cabinet-pictures-back a{color:#2d9db1;text-decoration:none}.cabinet-pictures-back a:hover{text-decoration:underline}
.cabinet-pictures-error:empty{display:none}
.cabinet-pictures-error:not(:empty){margin:0 0 12px;padding:9px 11px;border-radius:6px;background:#fff0f0;color:#b34040;font-size:13px}
.cabinet-pictures-form{box-sizing:border-box;margin:0 0 22px;padding:22px 24px 24px;border:1px solid #d9e4e7;border-radius:8px;background:#fff}
.cabinet-pictures-form h2{margin:0 0 14px;padding:0 0 10px;border-bottom:1px solid #dce8eb;color:#2f7180;font-family:Arial,sans-serif;font-size:20px;line-height:1.3;text-transform:none;text-shadow:none}
.cabinet-pictures-upload{display:block;margin:0 0 13px;color:#2f7180;font-size:13px;font-weight:700}
.cabinet-pictures-upload small{display:block;margin:5px 0 7px;color:#789098;font-size:12px;font-weight:400;line-height:1.4}
.cabinet-pictures-upload input[type=file]{display:block;color:#52646a;font-size:12px}
.cabinet-pictures-upload input[type=file]::file-selector-button{min-height:30px;margin:0 8px 0 0;padding:5px 9px;border:1px solid #35c4dc;border-radius:5px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:12px;font-weight:700;cursor:pointer}
.cabinet-pictures-submit{box-sizing:border-box;min-height:34px;margin:0;padding:7px 14px;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.2;cursor:pointer}
.cabinet-pictures-submit:hover{background:#d9f7fb;color:#246b78}
.cabinet-pictures-loading{display:none;min-height:0;margin:0 0 12px}.cabinet-pictures-progress{width:100%;max-width:420px;height:8px;overflow:hidden;border-radius:5px;background:#e8f1f3}.cabinet-pictures-progress span{display:block;width:0;height:100%;border-radius:5px;background:#25bfd7;transition:width .15s ease}.cabinet-pictures-progress-text{margin-top:5px;color:#789098;font-size:12px}
.cabinet-pictures-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;box-sizing:border-box;margin:0;padding:22px 24px 24px;border:1px solid #d9e4e7;border-radius:8px;background:#fff}.cabinet-pictures-gallery:empty{display:none}
.cabinet-pictures-card{position:relative;min-width:0;box-sizing:border-box;margin:0;padding:8px;border:1px solid #d9e4e7;border-radius:7px;background:#fafdfe}
.cabinet-pictures-image{display:block;width:100%;height:150px;object-fit:cover;border-radius:5px}
.cabinet-pictures-delete{display:block;visibility:visible;min-height:27px;box-sizing:border-box;margin-top:7px;padding:5px 7px;border:1px solid #e0b9bd;border-radius:5px;background:#fff5f5;color:#a45159!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:11px;font-weight:700;text-align:center;text-decoration:none;opacity:1}
.cabinet-pictures-delete:hover{background:#fbe4e6;color:#8d3d46!important}
@media (max-width:800px){.cabinet-pictures-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){.cabinet-pictures-form,.cabinet-pictures-gallery{padding:16px}.cabinet-pictures-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cabinet-pictures-image{height:120px}}
.cabinet-ads-list-section{margin-top:26px}
.certificate-background-panel{margin-top:26px}
.cabinet-data-page .block_a+.block_a{margin-top:26px}
.rich-editor-source{display:none!important}
.rich-editor{min-height:280px;background:#fff;color:#40545b;border:1px solid #b9d1d7;border-radius:7px;font-family:Arial,sans-serif;font-size:16px}
.rich-editor .ql-editor{min-height:240px;line-height:1.5}
.rich-editor .ql-toolbar{border-radius:7px 7px 0 0;border-color:#b9d1d7;background:#f7fcfd}
.rich-editor .ql-container{border-color:#b9d1d7;border-radius:0 0 7px 7px}

/* Главная: современный экран сервиса и реестр персональных сайтов */
body:has(.index-home-page){background:#f2fbfd!important}
body:has(.index-home-page) .header,body:has(.index-home-page) .nav,body:has(.index-home-page) .sidebar2,body:has(.index-home-page) .inf,body:has(.index-home-page) .sl-bg,body:has(.index-home-page) .polosa{display:none!important}
body:has(.index-home-page) #main,body:has(.index-home-page) .main-bg,body:has(.index-home-page) .bg-f,body:has(.index-home-page) .sheet,body:has(.index-home-page) .layout-wrapper{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:0;background:transparent;box-shadow:none}
body:has(.index-home-page) .content-layout,body:has(.index-home-page) .content-layout-row,body:has(.index-home-page) .layout-cell.content{display:block;width:100%;margin:0;padding:0}
body:has(.index-home-page) .post{box-sizing:border-box;width:100%;max-width:1240px;margin:0 auto;padding:0 28px;border:0;background:transparent;box-shadow:none}
.index-modern-header{display:flex;align-items:center;gap:20px;box-sizing:border-box;width:100%;height:auto!important;min-height:0!important;max-width:1240px;margin:0 auto;padding:12px 28px;border-bottom:1px solid #dceff3;background:#fff}
.index-modern-logo{flex:0 0 auto;color:#0878f9!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:25px;line-height:1;text-decoration:none;letter-spacing:-1px}
.index-modern-nav{margin-left:auto;padding:4px 8px;border-radius:12px;background:linear-gradient(90deg,#13b5cf,#20c3dc)}.index-modern-menu{display:flex;align-items:center;gap:2px;margin:0;padding:0;list-style:none}.index-modern-menu a{display:block;padding:9px 10px;border-radius:8px;color:#fff!important;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}.index-modern-menu a:hover{background:rgba(255,255,255,.18);color:#fff!important}.index-modern-menu li:first-child a{background:rgba(255,255,255,.18);color:#fff!important}
.index-modern-menu-toggle{display:none}
.index-home-page{display:block;box-sizing:border-box;color:#17627a;font-family:Arial,Helvetica,sans-serif}
.index-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);gap:30px;align-items:center;margin:0 0 26px;padding:34px 32px;border-radius:22px;background:linear-gradient(135deg,#f4fcfe 0%,#e5f8fb 100%);overflow:hidden}
.index-eyebrow{margin:0 0 12px;color:#20a8c0;font-size:12px;font-weight:700;letter-spacing:2px}
.index-hero h1{margin:0 0 16px;color:#17627a!important;font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(30px,4vw,48px);font-weight:800;line-height:1.08;letter-spacing:-1px;text-shadow:none!important}
.index-hero h1 span{color:#13acc7}
.index-hero-text{max-width:610px;margin:0 0 22px;color:#627b91;font-size:17px;line-height:1.55}
.index-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.index-primary-action,.index-secondary-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;padding:11px 20px;border-radius:12px;font-size:15px;font-weight:700;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.index-primary-action{background:#f4d85e;color:#17627a!important;box-shadow:0 6px 14px rgba(205,173,34,.18)}
.index-secondary-action{border:2px solid #20b8cf;background:#fff;color:#148eaa!important}
.index-primary-action:hover,.index-secondary-action:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(23,98,122,.12)}
.index-primary-action span{margin-left:14px;font-size:22px;line-height:1}
.index-benefits{display:flex;flex-wrap:wrap;gap:10px 18px;color:#5f8290;font-size:12px}
.index-benefits span{white-space:nowrap}
.index-hero-preview{display:flex;align-items:center;justify-content:center;min-height:245px;padding:8px}
.index-hero-preview img{display:block;width:100%;max-width:430px;height:auto;border-radius:18px;box-shadow:0 14px 28px rgba(23,98,122,.12)}
.index-preview-window{width:min(100%,390px);padding:9px;border:2px solid #c5e7ee;border-radius:15px;background:#fff;box-shadow:0 16px 32px rgba(23,98,122,.18);transform:rotate(2deg)}
.index-preview-top{display:flex;gap:5px;padding:3px 4px 9px}.index-preview-top i{display:block;width:7px;height:7px;border-radius:50%;background:#b9dce5}
.index-preview-banner{height:76px;border-radius:9px;background:linear-gradient(125deg,#20b8cf,#d9f3f5 65%,#f4d85e)}
.index-preview-body{display:grid;grid-template-columns:54px 1fr;gap:10px;padding:14px 10px 8px}.index-preview-avatar{width:54px;height:54px;border-radius:50%;background:linear-gradient(145deg,#f4d85e 0 42%,#20b8cf 43%)}
.index-preview-lines b,.index-preview-lines i{display:block;height:8px;margin:7px 0;border-radius:6px;background:#d7edf1}.index-preview-lines b{width:72%;background:#17627a}.index-preview-lines i{width:90%}
.index-preview-tiles{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.index-preview-tiles span{height:46px;border-radius:7px;background:#eef9fa}.index-preview-tiles span:nth-child(2){background:#fff4bf}.index-preview-tiles span:nth-child(3){background:#dff4f7}
.index-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 28px}
.index-feature-card{display:flex;align-items:center;gap:12px;min-width:0;padding:17px;border:1px solid #dbecef;border-radius:14px;background:#fff;color:#17627a!important;text-decoration:none;box-shadow:0 5px 16px rgba(23,98,122,.05);transition:transform .15s ease,box-shadow .15s ease}
.index-feature-card:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(23,98,122,.1)}
.index-feature-card b,.index-feature-card small{display:block}.index-feature-card b{margin-bottom:5px;font-size:16px}.index-feature-card small{color:#78909b;font-size:12px;line-height:1.35}
.index-feature-icon{display:flex;flex:0 0 43px;width:43px;height:43px;align-items:center;justify-content:center;border-radius:50%;background:#dff7fb;color:#078ca8;font-size:26px;font-weight:700}.index-feature-icon-yellow{background:#fff1aa;color:#856c00}
.index-directory-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 14px;padding:0 4px}.index-directory-head h2{margin:0 0 4px;color:#17627a;font-size:28px;line-height:1.15}.index-directory-head p{margin:0;color:#78909b;font-size:13px}.index-directory-head strong{color:#13a1bd;font-size:14px;white-space:nowrap}
.index-how-it-works{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:12px;align-items:center;margin:0 0 28px;padding:18px 20px;border-radius:14px;background:#e5f7fa}.index-how-it-works>div:first-child>b{display:block;margin-bottom:5px;color:#17627a;font-size:18px}.index-how-it-works>div:first-child>small{display:block;color:#78909b;font-size:12px;line-height:1.35}.index-step{display:flex;align-items:center;gap:9px;padding-left:12px;border-left:1px solid #c3e6ec}.index-step>strong{display:flex;flex:0 0 30px;width:30px;height:30px;align-items:center;justify-content:center;border-radius:50%;background:#20b8cf;color:#fff;font-size:15px}.index-step b,.index-step small{display:block}.index-step b{margin-bottom:3px;color:#17627a;font-size:13px}.index-step small{color:#78909b;font-size:11px}
.index-directory-search{display:flex;gap:8px;margin:0 0 18px}.index-directory-search input[type=text]{flex:1;min-width:0;box-sizing:border-box;height:42px;padding:0 14px;border:1px solid #c7e0e6;border-radius:9px;background:#fff;color:#40545b;font:14px Arial,sans-serif}.index-directory-search button{height:42px;padding:0 20px;border:0;border-radius:9px;background:#20b8cf;color:#fff;font:bold 14px Arial,sans-serif;cursor:pointer}.index-directory-search button:hover{background:#149eb5}
.index-directory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.index-home-page .block.block2{box-sizing:border-box;margin:0 0 12px;padding:14px;border:1px solid #dbecef;border-radius:14px;background:#fff;box-shadow:0 5px 15px rgba(23,98,122,.05)}
.index-home-page .block.block2:hover{border-color:#8adcea;box-shadow:0 8px 20px rgba(23,98,122,.1)}
.index-home-page .block.block2 .logo_block{border-radius:12px}.index-home-page .block.block2 .other_block h3{color:#17627a}.index-home-page .block.block2 .other_block .topic:before{color:#20b8cf}
.index-home-page .otstup{height:8px}
.index-modern-footer{display:grid;grid-template-columns:1.1fr 1fr 1.2fr;gap:22px;box-sizing:border-box;width:100%;max-width:1240px;margin:30px auto 0;padding:24px 28px;border-top:1px solid #d7ebef;background:#fff;color:#78909b;font-family:Arial,Helvetica,sans-serif}.index-footer-brand a{display:block;margin-bottom:6px;color:#0878f9!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:21px;text-decoration:none}.index-footer-brand span{font-size:12px}.index-footer-links{display:flex;flex-wrap:wrap;gap:8px 16px;align-content:start}.index-footer-links a{color:#17627a!important;font-size:12px;text-decoration:none}.index-footer-links a:hover{text-decoration:underline}.index-footer-legal{font-size:11px;line-height:1.55;text-align:right}
@media (min-width:701px){.index-home-page .block.block2>a{display:flex;align-items:center}.index-home-page .block.block2 .logo_block{flex:0 0 120px;width:120px;height:120px;margin-right:18px}}
@media (max-width:900px){.index-modern-header{gap:14px;padding-right:18px;padding-left:18px}.index-modern-menu{gap:0}.index-modern-menu a{padding-right:6px;padding-left:6px;font-size:11px}.index-how-it-works{grid-template-columns:1fr 1fr}}
@media (max-width:700px){body:has(.index-home-page) .post{padding:0 12px}.index-modern-header{display:block;padding:14px 12px}.index-modern-logo{display:block;margin-bottom:13px;font-size:23px}.index-modern-nav{margin:0}.index-modern-menu-toggle{display:flex;width:100%;min-height:40px;padding:8px 14px;border:1px solid #35c4dc;border-radius:8px;background:#e9fbfe;color:#2f7180;font:700 15px 'PT Sans Narrow',Arial,sans-serif;cursor:pointer}.index-modern-menu-toggle[aria-expanded=true]{background:#20b8cf;color:#fff}.index-modern-menu{display:none;flex-direction:column;align-items:stretch;gap:5px;margin-top:7px}.index-modern-menu.mobile-menu-open{display:flex}.index-modern-menu a{padding:10px 12px;border:1px solid #d4edf1;background:#f8fdfe;text-align:center;font-size:13px}.index-hero{display:block;margin:0 0 18px;padding:24px 18px;border-radius:16px}.index-hero h1{font-size:31px;letter-spacing:-.5px}.index-hero-text{font-size:15px}.index-hero-preview{min-height:180px;margin-top:20px}.index-hero-preview img{max-width:330px}.index-features{grid-template-columns:1fr;gap:8px;margin-bottom:22px}.index-how-it-works{grid-template-columns:1fr;gap:12px;margin-bottom:22px;padding:15px}.index-step{padding-left:0;border-left:0}.index-directory-head{display:block}.index-directory-head h2{font-size:24px}.index-directory-head strong{display:block;margin-top:8px}.index-directory-search button{padding:0 13px}.index-directory-list{grid-template-columns:1fr;gap:0}.index-home-page .block.block2{margin-bottom:9px;padding:10px}.index-modern-footer{display:block;margin-top:22px;padding:20px 12px}.index-footer-links{margin:16px 0}.index-footer-legal{text-align:left}}

/* Финальное выравнивание главной поверх старых правил шаблона */
body:has(.index-home-page) .index-modern-header{position:relative!important;display:flex!important;height:64px!important;min-height:64px!important;margin:0 auto!important;padding:8px 28px!important;overflow:visible!important}
body:has(.index-home-page) .index-modern-nav{height:48px!important;min-height:0!important;margin-left:auto!important;padding:4px 8px!important;overflow:visible!important}
body:has(.index-home-page) .index-modern-menu{height:40px!important;min-height:0!important}
body:has(.index-home-page) .index-modern-menu,body:has(.index-home-page) .index-modern-menu li{display:flex!important;align-items:center!important;margin:0!important;padding:0!important;list-style:none!important;line-height:1!important;position:static!important}
body:has(.index-home-page) .index-modern-menu li{height:40px!important;flex:1 1 auto!important}
body:has(.index-home-page) .index-modern-menu a{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;height:40px!important;box-sizing:border-box!important;line-height:1!important}
body:has(.index-home-page) .index-modern-menu li:before,body:has(.index-home-page) .index-modern-menu li:after,body:has(.index-home-page) .index-modern-menu a:before,body:has(.index-home-page) .index-modern-menu a:after{display:none!important;content:none!important}
body:has(.index-home-page) .index-hero h1{font-family:Arial,Helvetica,sans-serif!important;font-weight:800!important;text-shadow:none!important}
body:has(.index-home-page) .index-hero-preview img{object-fit:cover}

/* Главная в композиции макета №2 */
body:has(.index-home-page){margin:0!important;padding:0!important;background:#eefafd!important;color:#17627a!important}
body:has(.index-home-page) #main{min-height:100vh!important}
body:has(.index-home-page) .post{max-width:1240px!important;padding:0 24px!important}
body:has(.index-home-page) .index-modern-header{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;width:100%!important;height:64px!important;min-height:64px!important;padding:8px 0!important;border:0!important;background:transparent!important}
body:has(.index-home-page) .index-modern-logo{font-size:24px!important;line-height:1!important;white-space:nowrap!important}
body:has(.index-home-page) .index-modern-nav{width:100%!important;height:48px!important;box-sizing:border-box!important;padding:4px 10px!important;border-radius:13px!important;background:linear-gradient(90deg,#12b4cd,#26c1db)!important;box-shadow:0 5px 12px rgba(15,151,177,.14)!important}
body:has(.index-home-page) .index-modern-menu{height:40px!important;justify-content:space-around!important;gap:2px!important}
body:has(.index-home-page) .index-modern-menu a{padding:10px 12px!important;color:#fff!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:13px!important;font-weight:700!important;text-shadow:none!important}
body:has(.index-home-page) .index-modern-menu li:first-child a{background:rgba(255,255,255,.2)!important}
body:has(.index-home-page) .index-hero{grid-template-columns:minmax(0,.95fr) minmax(420px,1.15fr)!important;gap:28px!important;min-height:370px!important;margin:18px 0 22px!important;padding:30px 34px!important;border-radius:24px!important;background:linear-gradient(115deg,#effbfd,#e4f8fb)!important;box-shadow:none!important}
body:has(.index-home-page) .index-eyebrow{font-size:13px!important;letter-spacing:2.5px!important}
body:has(.index-home-page) .index-hero h1{font-size:clamp(38px,4.2vw,56px)!important;line-height:1.03!important;letter-spacing:-1.6px!important}
body:has(.index-home-page) .index-hero h1{text-transform:none!important}
body:has(.index-home-page) .index-hero-text{max-width:560px!important;font-size:16px!important;line-height:1.5!important}
body:has(.index-home-page) .index-primary-action,body:has(.index-home-page) .index-secondary-action{min-height:48px!important;padding:11px 22px!important;border-radius:11px!important;font-size:15px!important}
body:has(.index-home-page) .index-hero-preview{min-height:0!important;padding:0!important}
body:has(.index-home-page) .index-hero-preview img{width:100%!important;max-width:540px!important;border-radius:18px!important;box-shadow:0 15px 30px rgba(23,98,122,.15)!important}
body:has(.index-home-page) .index-features{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-bottom:24px!important}
body:has(.index-home-page) .index-features{display:none!important}
body:has(.index-home-page) .index-feature-card{min-height:78px!important;padding:16px 18px!important;border-radius:14px!important}
body:has(.index-home-page) .index-directory-head h2{font-family:Arial,Helvetica,sans-serif!important;font-size:30px!important;font-weight:800!important}
body:has(.index-home-page) .index-directory-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body:has(.index-home-page) .index-home-page .block.block2{height:100%!important;margin:0!important;padding:12px!important;border-radius:14px!important}
body:has(.index-home-page) .index-home-page .block.block2>a{height:100%!important;box-sizing:border-box!important}
body:has(.index-home-page) .index-home-page .block.block2 .logo_block{flex-basis:86px!important;width:86px!important;height:86px!important;margin-right:12px!important}
body:has(.index-home-page) .index-card-action{display:inline-flex!important;align-items:center!important;gap:7px!important;align-self:center!important;margin-left:auto!important;padding:8px 10px!important;border-radius:8px!important;background:#f4d85e!important;color:#17627a!important;font-family:Arial,Helvetica,sans-serif!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important;text-shadow:none!important}.index-card-action b{font-size:17px!important;line-height:1!important}
body:has(.index-home-page) .index-modern-footer{border-radius:14px 14px 0 0!important}
body:has(.index-home-page) .index-modern-footer{font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:1.45!important;text-shadow:none!important}
body:has(.index-home-page) .index-modern-footer a,body:has(.index-home-page) .index-modern-footer span,body:has(.index-home-page) .index-footer-legal{font-family:Arial,Helvetica,sans-serif!important;text-shadow:none!important}
body:has(.index-home-page) .index-footer-brand a{font-family:'PT Sans Narrow',Arial,Helvetica,sans-serif!important;font-size:18px!important;font-weight:700!important;letter-spacing:0!important}
body:has(.index-home-page) .index-footer-brand a{color:#17627a!important}
body:has(.index-home-page) .index-footer-brand span{font-size:14px!important;color:#607b86!important}
body:has(.index-home-page) .index-footer-links{gap:10px 22px!important;align-items:start!important}
body:has(.index-home-page) .index-footer-links a{font-size:14px!important;font-weight:700!important;color:#17627a!important}
body:has(.index-home-page) .index-footer-legal{font-size:13px!important;line-height:1.55!important;color:#607b86!important}
@media (max-width:1000px){body:has(.index-home-page) .index-modern-header{grid-template-columns:150px minmax(0,1fr)!important}.index-modern-menu a{padding-right:6px!important;padding-left:6px!important;font-size:11px!important}.index-hero{grid-template-columns:1fr 1fr!important}.index-directory-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:700px){body:has(.index-home-page) .post{padding:0 12px!important}body:has(.index-home-page) .index-modern-header{display:block!important;height:auto!important;min-height:0!important;padding:12px 0!important}.index-modern-logo{margin-bottom:12px!important}.index-modern-nav{height:auto!important;background:transparent!important;box-shadow:none!important;padding:0!important}.index-modern-menu-toggle{display:flex!important}.index-modern-menu{height:auto!important;justify-content:initial!important}.index-hero{grid-template-columns:1fr!important;min-height:0!important;padding:22px 18px!important}.index-hero h1{font-size:34px!important}.index-hero-preview{margin-top:16px!important}.index-features{grid-template-columns:1fr!important}.index-directory-list{grid-template-columns:1fr!important}}

/* Компактная композиция главной по макету №2 */
body:has(.index-home-page) .index-hero{min-height:0!important;margin:10px 0 14px!important;padding:22px 26px!important;grid-template-columns:minmax(0,1fr) minmax(430px,1.08fr)!important;gap:20px!important}
body:has(.index-home-page) .index-hero{min-height:250px!important;margin:8px 0 12px!important;padding:18px 22px!important;grid-template-columns:minmax(0,1fr) minmax(400px,1.05fr)!important;gap:16px!important}
body:has(.index-home-page) .index-hero h1{max-width:500px!important;font-size:clamp(32px,3.1vw,42px)!important;line-height:1.02!important}
body:has(.index-home-page) .index-hero-text{max-width:470px!important;margin-bottom:11px!important;font-size:13px!important;line-height:1.3!important}
body:has(.index-home-page) .index-hero-actions{margin-bottom:12px!important}.index-benefits{gap:8px 14px!important;font-size:11px!important}
body:has(.index-home-page) .index-hero-preview img{max-width:470px!important;max-height:220px!important;object-fit:cover!important}
body:has(.index-home-page) .index-directory-head{margin-bottom:8px!important}.index-directory-head h2{font-size:26px!important}.index-directory-head p{font-size:12px!important}
body:has(.index-home-page) .index-directory-search{margin-bottom:10px!important}.index-directory-search input[type=text],.index-directory-search button{height:36px!important}
body:has(.index-home-page) .index-directory-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body:has(.index-home-page) .index-home-page .block.block2{min-height:146px!important;padding:14px!important;border-radius:12px!important}
body:has(.index-home-page) .index-home-page .block.block2>a{align-items:center!important;min-width:0!important}
body:has(.index-home-page) .index-home-page .block.block2 .logo_block{flex-basis:112px!important;width:112px!important;height:112px!important;margin-right:14px!important;border-radius:10px!important}
body:has(.index-home-page) .index-home-page .block.block2 .other_block{min-width:0!important;overflow:hidden!important}
body:has(.index-home-page) .index-home-page .block.block2 .other_block h3{margin:0 0 5px!important;font-size:18px!important;line-height:1.12!important;overflow-wrap:anywhere!important}
body:has(.index-home-page) .index-home-page .block.block2 .other_block .topic{display:block!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:14px!important;line-height:1.3!important}
body:has(.index-home-page) .index-home-page .block.block2 .other_block .topic:not(:first-of-type){display:block!important}
body:has(.index-home-page) .index-home-page .block.block2 .other_block .topic{font-size:14px!important;line-height:1.3!important}
body:has(.index-home-page) .index-card-action{flex:0 0 auto!important;margin-left:12px!important;padding:9px 11px!important;font-size:12px!important}.index-card-action b{font-size:16px!important}
body:has(.index-home-page) .index-directory-list.index-directory-loading{opacity:.45!important;pointer-events:none!important;transition:opacity .15s ease}
.commoninfo-page.internal-listing-loading,.portfolioinfo-page.internal-listing-loading,.documentsinfo-page.internal-listing-loading{opacity:.45;pointer-events:none;transition:opacity .15s ease}
body:has(.index-home-page) .index-how-it-works{margin:14px 0 0!important;padding:13px 16px!important}
@media (max-width:1000px) and (min-width:701px){body:has(.index-home-page) .index-hero{grid-template-columns:1fr 1fr!important;padding:18px!important}.index-directory-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.index-home-page .block.block2 .logo_block{flex-basis:86px!important;width:86px!important;height:86px!important}}
@media (max-width:700px){body:has(.index-home-page) .index-hero{grid-template-columns:1fr!important;padding:20px 16px!important}.index-directory-list{grid-template-columns:1fr!important}.index-home-page .index-card-action{font-size:11px!important}.index-home-page .index-how-it-works{margin-top:12px!important}}

/* Иллюстрированный блок «Как это работает?» */
body:has(.index-home-page) .index-how-it-works{grid-template-columns:1.05fr repeat(3,1fr)!important;gap:0!important;min-height:150px!important;padding:14px 18px!important;overflow:hidden!important;background:linear-gradient(100deg,#e8f9fc 0%,#f7fdfe 100%)!important}
body:has(.index-home-page) .index-how-it-works>div:first-child{padding-right:18px!important}
body:has(.index-home-page) .index-how-it-works>div:first-child>b{font-size:23px!important;line-height:1.05!important}
body:has(.index-home-page) .index-how-it-works>div:first-child>small{font-size:13px!important;line-height:1.35!important}
body:has(.index-home-page) .index-step{display:grid!important;grid-template-columns:78px 30px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;min-width:0!important;padding:0 12px!important;border-left:1px solid #c5e7ed!important}
body:has(.index-home-page) .index-step-art{position:relative!important;display:block!important;width:78px!important;height:90px!important;overflow:hidden!important}
body:has(.index-home-page) .index-step-art img{position:absolute!important;top:0!important;left:0!important;width:300%!important;max-width:none!important;height:100%!important;object-fit:cover!important;object-position:center!important}
body:has(.index-home-page) .index-step:nth-child(3) .index-step-art img{left:-100%!important}
body:has(.index-home-page) .index-step:nth-child(4) .index-step-art img{left:-200%!important}
body:has(.index-home-page) .index-step>strong{width:30px!important;height:30px!important;font-size:16px!important}
body:has(.index-home-page) .index-step b{font-size:14px!important;line-height:1.1!important}
body:has(.index-home-page) .index-step small{font-size:11px!important;line-height:1.25!important}
@media (max-width:1000px) and (min-width:701px){body:has(.index-home-page) .index-how-it-works{grid-template-columns:1fr repeat(3,1fr)!important;padding:12px 10px!important}.index-step{grid-template-columns:54px 26px minmax(0,1fr)!important;gap:5px!important;padding:0 6px!important}.index-step-art{width:54px!important;height:74px!important}.index-step>strong{width:26px!important;height:26px!important}.index-step b{font-size:12px!important}.index-step small{font-size:10px!important}}
@media (max-width:700px){body:has(.index-home-page) .index-how-it-works{display:block!important;min-height:0!important;padding:16px!important}.index-how-it-works>div:first-child{padding:0 0 10px!important}.index-step{display:grid!important;grid-template-columns:74px 30px minmax(0,1fr)!important;min-height:82px!important;padding:8px 0!important;border-left:0!important;border-top:1px solid #c5e7ed!important}.index-step-art{width:74px!important;height:76px!important}}

/* Статистика проекта */
body:has(.index-home-page) .index-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:center!important;margin:0 0 14px!important;padding:14px 20px!important;border:1px solid #d9eef2!important;border-radius:16px!important;background:linear-gradient(100deg,#edfaff,#f8fdff)!important;box-shadow:0 5px 15px rgba(23,98,122,.04)!important}
body:has(.index-home-page) .index-stat{display:flex!important;align-items:center!important;gap:12px!important;min-height:48px!important;padding:0 18px!important;border-right:1px solid #cfe8ed!important;color:#17627a!important}
body:has(.index-home-page) .index-stat:last-child{border-right:0!important}
body:has(.index-home-page) .index-stat-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:50%!important;background:#d7f6fb!important;color:#18b5cc!important;font-family:Arial,sans-serif!important;font-size:23px!important;line-height:1!important}
body:has(.index-home-page) .index-stat b,body:has(.index-home-page) .index-stat small{display:block!important}
body:has(.index-home-page) .index-stat b{font-size:18px!important;line-height:1.15!important}
body:has(.index-home-page) .index-stat small{margin-top:3px!important;color:#718b96!important;font-size:13px!important;line-height:1.15!important}
@media (max-width:1000px) and (min-width:701px){body:has(.index-home-page) .index-stats{padding:10px!important}.index-stat{gap:7px!important;padding:0 8px!important}.index-stat-icon{width:32px!important;height:32px!important;flex-basis:32px!important;font-size:18px!important}.index-stat b{font-size:15px!important}.index-stat small{font-size:11px!important}}
@media (max-width:700px){body:has(.index-home-page) .index-stats{grid-template-columns:1fr 1fr!important;gap:0!important;margin-bottom:12px!important;padding:7px!important}.index-stat{min-height:54px!important;padding:7px 8px!important;border-right:1px solid #cfe8ed!important}.index-stat:nth-child(2){border-right:0!important}.index-stat:nth-child(-n+2){border-bottom:1px solid #cfe8ed!important}.index-stat-wide{grid-column:1/-1!important;border-right:0!important}.index-stat-icon{width:32px!important;height:32px!important;flex-basis:32px!important;font-size:18px!important}.index-stat b{font-size:14px!important}.index-stat small{font-size:11px!important}}

/* Информационный блок проекта */
body:has(.index-home-page) .index-intro-panel{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;align-items:center!important;gap:24px!important;margin:0 0 14px!important;padding:22px 30px!important;border:4px solid #20c5df!important;border-radius:18px!important;background:linear-gradient(105deg,#fff5b7 0%,#f8fdff 38%,#fff 100%)!important;box-shadow:0 8px 22px rgba(23,98,122,.1)!important}
body:has(.index-home-page) .index-intro-logo{display:flex!important;align-items:center!important;justify-content:center!important}
body:has(.index-home-page) .index-intro-logo img{display:block!important;width:135px!important;height:145px!important;object-fit:contain!important}
body:has(.index-home-page) .index-intro-panel p{margin:0!important;color:#263d46!important;font-size:16px!important;line-height:1.5!important}
@media (max-width:1000px) and (min-width:701px){body:has(.index-home-page) .index-intro-panel{grid-template-columns:120px minmax(0,1fr)!important;gap:16px!important;padding:18px 20px!important}.index-intro-logo img{width:100px!important;height:110px!important}.index-intro-panel p{font-size:14px!important;line-height:1.4!important}}
@media (max-width:700px){body:has(.index-home-page) .index-intro-panel{display:block!important;margin-bottom:12px!important;padding:16px!important;border-width:3px!important;border-radius:14px!important}.index-intro-logo{justify-content:flex-start!important;margin-bottom:8px!important}.index-intro-logo img{width:78px!important;height:78px!important}.index-intro-panel p{font-size:14px!important;line-height:1.45!important}}

/* Подписка и группа ВК */
body:has(.index-home-page) .index-community{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:0 0 14px!important}
body:has(.index-home-page) .index-community-card{box-sizing:border-box!important;min-width:0!important;min-height:300px!important;padding:18px!important;border:1px solid #d7edf1!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 15px rgba(23,98,122,.05)!important;overflow:hidden!important}
body:has(.index-home-page) .index-community-heading{display:flex!important;align-items:center!important;gap:12px!important;margin-bottom:10px!important}
body:has(.index-home-page) .index-community-heading h2{margin:0!important;color:#17627a!important;font-size:22px!important;line-height:1.1!important}
body:has(.index-home-page) .index-community-heading p{margin:4px 0 0!important;color:#718b96!important;font-size:12px!important;line-height:1.3!important}
body:has(.index-home-page) .index-community-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:50%!important;background:#d9f7fb!important;color:#16b5cc!important;font-family:Arial,sans-serif!important;font-size:18px!important;font-weight:700!important}
body:has(.index-home-page) .index-community-card iframe{display:block!important;width:100%!important;height:245px!important;border:0!important;overflow:hidden!important}
body:has(.index-home-page) .index-vk-card #index-vk-widget{display:flex!important;justify-content:center!important;min-height:245px!important;padding-top:3px!important}
@media (max-width:1000px) and (min-width:701px){body:has(.index-home-page) .index-community-card{padding:14px!important}.index-community-heading h2{font-size:18px!important}.index-community-heading p{font-size:11px!important}}
@media (max-width:700px){body:has(.index-home-page) .index-community{grid-template-columns:1fr!important;gap:12px!important}.index-community-card{min-height:0!important;padding:14px!important}.index-community-heading h2{font-size:19px!important}.index-community-card iframe{height:300px!important}.index-vk-card #index-vk-widget{justify-content:flex-start!important}}

/* Ссылки на основной сайт */
body:has(.index-home-page) .index-main-links{margin:0 0 14px!important;padding:18px 20px!important;border:1px solid #d7edf1!important;border-radius:16px!important;background:linear-gradient(105deg,#e9fafe,#fff)!important;box-shadow:0 5px 15px rgba(23,98,122,.05)!important}
body:has(.index-home-page) .index-main-links-heading{display:flex!important;align-items:center!important;gap:12px!important;margin-bottom:13px!important}
body:has(.index-home-page) .index-main-links-mark{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:12px!important;background:#20b8cf!important;color:#fff!important;font:700 24px Arial,sans-serif!important}
body:has(.index-home-page) .index-main-links-heading h2{margin:0!important;color:#17627a!important;font-size:22px!important;line-height:1.1!important}
body:has(.index-home-page) .index-main-links-heading p{margin:4px 0 0!important;color:#718b96!important;font-size:12px!important;line-height:1.3!important}
body:has(.index-home-page) .index-main-links-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
body:has(.index-home-page) .index-main-links-grid a{display:flex!important;align-items:center!important;min-height:48px!important;padding:10px 14px!important;border:1px solid #bfe8ef!important;border-radius:9px!important;background:#fff!important;color:#17627a!important;font-size:16px!important;font-weight:700!important;line-height:1.2!important;text-decoration:none!important}
body:has(.index-home-page) .index-main-links-grid a:before{content:'↗';margin-right:7px!important;color:#20b8cf!important;font-weight:700!important}
body:has(.index-home-page) .index-main-links-grid a:hover{border-color:#20b8cf!important;background:#f0fcfe!important;transform:translateY(-1px)!important}
body:has(.index-home-page) .index-main-links-grid a:before{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;flex:0 0 34px!important;margin-right:11px!important;border-radius:11px!important;background:linear-gradient(145deg,#d9f7fb,#b9eaf1)!important;color:#159eb7!important;font-size:20px!important;line-height:1!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(2):before,body:has(.index-home-page) .index-main-links-grid a:nth-child(5):before{background:linear-gradient(145deg,#fff2b0,#f7dc6b)!important;color:#9b7d12!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(3):before,body:has(.index-home-page) .index-main-links-grid a:nth-child(6):before{background:linear-gradient(145deg,#d9eefb,#bdd9f0)!important;color:#4d82a5!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(4):before,body:has(.index-home-page) .index-main-links-grid a:nth-child(7):before{background:linear-gradient(145deg,#e4dafa,#cfc0ed)!important;color:#8064a9!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(1):before{content:'✦'!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(2):before{content:'🏆'!important;font-size:17px!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(3):before{content:'⚡'!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(4):before{content:'✎'!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(5):before{content:'❖'!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(6):before{content:'▤'!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(7):before{content:'♧'!important}
body:has(.index-home-page) .index-main-links-grid a:nth-child(8):before{content:'◌'!important}
@media (max-width:1000px) and (min-width:701px){body:has(.index-home-page) .index-main-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:700px){body:has(.index-home-page) .index-main-links{padding:14px!important}.index-main-links-heading h2{font-size:19px!important}.index-main-links-grid{grid-template-columns:1fr!important;gap:6px!important}.index-main-links-grid a{font-size:15px!important}}

/* Пастельные оттенки аватаров */
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="1"]{background:linear-gradient(145deg,#a9dfe7,#7fb9c8)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="2"]{background:linear-gradient(145deg,#ffd88f,#f3a58a)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="3"]{background:linear-gradient(145deg,#b9e5d7,#86c4cc)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="4"]{background:linear-gradient(145deg,#d0bcec,#9ca9d4)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="5"]{background:linear-gradient(145deg,#f3b3c5,#cf83a7)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="6"]{background:linear-gradient(145deg,#b9dbf2,#8faed4)!important}

/* Компактная шапка с логотипом */
body:has(.index-home-page) .index-modern-header{display:flex!important;align-items:center!important;gap:22px!important;height:88px!important;min-height:88px!important;padding:10px 22px!important;border-bottom:1px solid #dceff3!important;background:#fff!important}
body:has(.index-home-page) .index-modern-logo{display:flex!important;order:1!important;align-items:center!important;gap:12px!important;min-width:300px!important;color:#0b5270!important;font-family:Arial,Helvetica,sans-serif!important;letter-spacing:0!important;text-decoration:none!important}
body:has(.index-home-page) .index-modern-logo img{display:block!important;width:60px!important;height:68px!important;object-fit:contain!important}
body:has(.index-home-page) .index-modern-logo b{display:block!important;color:#0d5875!important;font-size:22px!important;line-height:1!important;white-space:nowrap!important}
body:has(.index-home-page) .index-modern-logo small{display:block!important;margin-top:6px!important;color:#78909b!important;font-size:11px!important;line-height:1.1!important;white-space:nowrap!important}
body:has(.index-home-page) .index-modern-nav{order:2!important;flex:0 1 800px!important;margin:0 0 0 auto!important;padding:4px!important;border-radius:12px!important;background:#fff!important}
body:has(.index-home-page) .index-modern-menu{justify-content:flex-end!important;gap:2px!important}
body:has(.index-home-page) .index-modern-menu a{padding:11px 13px!important;border-radius:22px!important;color:#214e69!important;font-size:13px!important;background:transparent!important}
body:has(.index-home-page) .index-modern-menu a:hover,body:has(.index-home-page) .index-modern-menu li:first-child a{background:#dff6fa!important;color:#17627a!important}
body:has(.index-home-page) .index-modern-menu-toggle{display:flex!important;order:3!important;align-items:center!important;justify-content:center!important;gap:0!important;width:42px!important;height:42px!important;flex:0 0 42px!important;margin:0!important;padding:0!important;border:2px solid #d5edf3!important;border-radius:50%!important;background:#fff!important;color:#17627a!important;cursor:pointer!important}
body:has(.index-home-page) .index-modern-menu-toggle>span:last-child{display:none!important}
body:has(.index-home-page) .index-modern-menu-toggle .mobile-menu-icon{display:flex!important;flex-direction:column!important;gap:4px!important}
body:has(.index-home-page) .index-modern-menu-toggle .mobile-menu-icon i{display:block!important;width:20px!important;height:2px!important;border-radius:2px!important;background:#17627a!important}
@media (max-width:1000px) and (min-width:701px){body:has(.index-home-page) .index-modern-header{height:76px!important;min-height:76px!important;padding:9px 14px!important;gap:8px!important}.index-modern-logo{min-width:205px!important}.index-modern-logo b{font-size:15px!important}.index-modern-logo small{font-size:8px!important}.index-modern-logo img{width:38px!important;height:46px!important}.index-modern-menu a{padding:8px 7px!important;font-size:10px!important}}
@media (max-width:700px){body:has(.index-home-page) .index-modern-header{display:block!important;height:auto!important;min-height:0!important;padding:12px!important}.index-modern-logo{min-width:0!important;margin-bottom:10px!important}.index-modern-logo img{width:42px!important;height:48px!important}.index-modern-logo b{font-size:17px!important}.index-modern-logo small{font-size:9px!important}.index-modern-nav{width:100%!important;margin:0!important;padding:0!important}.index-modern-menu-toggle{position:absolute!important;top:16px!important;right:12px!important}.index-modern-menu{display:none!important}.index-modern-menu.mobile-menu-open{display:flex!important;flex-direction:column!important}.index-modern-menu a{border-radius:8px!important;text-align:center!important}}

/* Яркие аватары для карточек без загруженной фотографии */
body:has(.index-home-page) .index-avatar-placeholder{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;border-radius:inherit!important;color:#fff!important;font:700 30px/1 Arial,sans-serif!important;text-shadow:0 2px 5px rgba(0,0,0,.18)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="1"]{background:linear-gradient(145deg,#20b8d1,#17627a)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="2"]{background:linear-gradient(145deg,#ffca55,#ed7961)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="3"]{background:linear-gradient(145deg,#8bd6c2,#398a9b)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="4"]{background:linear-gradient(145deg,#b493e6,#5d68ae)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="5"]{background:linear-gradient(145deg,#f49ab1,#b85e87)!important}
body:has(.index-home-page) .index-avatar-placeholder[data-avatar-tone="6"]{background:linear-gradient(145deg,#86c8f0,#4877b1)!important}

/* Шапка без общей белой подложки */
body:has(.index-home-page) .index-modern-header{background:transparent!important;border-bottom:0!important;box-shadow:none!important}

body:has(.index-home-page) .index-stat-icon svg{display:block!important;width:25px!important;height:25px!important;fill:none!important;stroke:#18b5cc!important;stroke-width:2.4!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body:has(.index-home-page) .index-directory-search button.is-loading{opacity:.65!important;cursor:wait!important}
body:has(.index-home-page) .index-search-empty{grid-column:1/-1!important;padding:28px!important;border:1px dashed #bfe8ef!important;border-radius:12px!important;background:#f8fdfe!important;color:#718b96!important;text-align:center!important;font-size:16px!important}
body:has(.index-home-page) .index-search-status{min-height:0!important;margin:6px 0 0!important;color:#718b96!important;font-size:14px!important;text-align:center!important}

/* Адаптивный каркас главной: отменяет фиксированные 1000px старого шаблона. */
@media (max-width:1000px){
  html,body:has(.index-home-page){width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:hidden!important}
  body:has(.index-home-page) href\='',
  body:has(.index-home-page) #main,
  body:has(.index-home-page) .main-bg,
  body:has(.index-home-page) .bg-f,
  body:has(.index-home-page) .sheet,
  body:has(.index-home-page) .layout-wrapper,
  body:has(.index-home-page) .content-layout,
  body:has(.index-home-page) .content-layout-row,
  body:has(.index-home-page) .layout-cell.content,
  body:has(.index-home-page) article.post{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body:has(.index-home-page) article.post{padding:0 18px!important}
  body:has(.index-home-page) .index-home-page{width:100%!important;min-width:0!important;max-width:100%!important}
  body:has(.index-home-page) .index-modern-header{width:100%!important;min-width:0!important;max-width:100%!important}
  body:has(.index-home-page) .index-hero,
  body:has(.index-home-page) .index-stats,
  body:has(.index-home-page) .index-main-links,
  body:has(.index-home-page) .index-directory-list,
  body:has(.index-home-page) .index-how-it-works,
  body:has(.index-home-page) .index-community,
  body:has(.index-home-page) .index-intro-panel{min-width:0!important;max-width:100%!important}
}

@media (max-width:820px) and (min-width:701px){
  body:has(.index-home-page) .index-hero{grid-template-columns:1fr!important;gap:18px!important}
  body:has(.index-home-page) .index-hero-preview img{max-width:560px!important;max-height:none!important}
  body:has(.index-home-page) .index-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:has(.index-home-page) .index-stat:nth-child(2){border-right:0!important}
  body:has(.index-home-page) .index-stat:nth-child(-n+2){border-bottom:1px solid #cfe8ed!important}
  body:has(.index-home-page) .index-how-it-works{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body:has(.index-home-page) .index-how-it-works>div:first-child{grid-column:1/-1!important;padding:0 0 10px!important}
  body:has(.index-home-page) .index-step{border-left:0!important;border-top:1px solid #c5e7ed!important;padding:12px 6px 0!important}
}

@media (max-width:700px){
  body:has(.index-home-page) article.post{padding:0 12px!important}
  body:has(.index-home-page) .index-hero-actions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
  body:has(.index-home-page) .index-primary-action,
  body:has(.index-home-page) .index-secondary-action{width:100%!important;padding:10px 13px!important}
  body:has(.index-home-page) .index-directory-search{align-items:stretch!important}
  body:has(.index-home-page) .index-directory-search button{flex:0 0 auto!important}
  body:has(.index-home-page) .index-home-page .block.block2>a{
    display:grid!important;
    grid-template-columns:82px minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
  }
  body:has(.index-home-page) .index-home-page .block.block2 .logo_block{
    grid-row:1 / span 2!important;
    width:82px!important;
    height:82px!important;
    flex-basis:82px!important;
    margin:0!important;
  }
  body:has(.index-home-page) .index-home-page .block.block2 .other_block{overflow:visible!important}
  body:has(.index-home-page) .index-card-action{
    grid-column:2!important;
    justify-self:start!important;
    align-self:start!important;
    margin:7px 0 0!important;
  }
}

@media (max-width:420px){
  body:has(.index-home-page) .index-hero{padding:18px 14px!important}
  body:has(.index-home-page) .index-hero h1{font-size:30px!important}
  body:has(.index-home-page) .index-benefits{display:grid!important;gap:7px!important}
  body:has(.index-home-page) .index-main-links{padding:12px!important}
  body:has(.index-home-page) .index-main-links-heading{align-items:flex-start!important}
  body:has(.index-home-page) .index-main-links-heading p{font-size:11px!important}
}
body:has(.index-home-page) .index-search-status.is-error{color:#b34e5a!important}

body:has(.index-home-page) footer.index-modern-footer{width:100%!important;max-width:1184px!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important}
body:has(.index-home-page) .index-footer-legal a{color:#607b86!important;text-decoration:none!important}
body:has(.index-home-page) .index-footer-legal a:hover{text-decoration:underline!important;color:#17627a!important}

/* Увеличенное окно подписки в фирменном стиле */
body:has(.index-home-page) .index-community-card{min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body:has(.index-home-page) .index-community-heading{padding:0 4px!important}
body:has(.index-home-page) .index-subscribe-card iframe{height:340px!important;min-height:340px!important;border:0!important;border-radius:14px!important;background:#edfaff!important}

body:has(.index-home-page) .index-vk-card #index-vk-widget{width:100%!important;justify-content:stretch!important;min-height:340px!important}
body:has(.index-home-page) .index-vk-card #index-vk-widget>iframe{display:block!important;width:100%!important;max-width:100%!important;height:340px!important}
body:has(.index-home-page) .index-vk-card #index-vk-widget{box-sizing:border-box!important;border:1px solid #d7edf1!important;border-radius:14px!important;overflow:hidden!important;background:#fdf3af!important}
body:has(.index-home-page) .index-vk-card #index-vk-widget>iframe{border-radius:13px!important}
@media (max-width:700px){body:has(.index-home-page) .index-subscribe-card iframe{height:330px!important;min-height:330px!important}.index-vk-card #index-vk-widget{min-height:340px!important}.index-vk-card #index-vk-widget>iframe{height:340px!important}}

/* Синхронизируем высоту соседних блоков подписки и VK */
body:has(.index-home-page) .index-community{align-items:stretch!important}
body:has(.index-home-page) .index-community-card{height:410px!important;min-height:410px!important;overflow:hidden!important}
body:has(.index-home-page) .index-subscribe-card iframe{height:340px!important;min-height:340px!important}
body:has(.index-home-page) .index-vk-card #index-vk-widget{height:340px!important;min-height:340px!important;overflow:hidden!important}
body:has(.index-home-page) .index-vk-card #index-vk-widget>iframe{height:340px!important;min-height:340px!important}
@media (max-width:700px){body:has(.index-home-page) .index-community-card{height:auto!important;min-height:0!important}.index-vk-card #index-vk-widget{height:340px!important}}

/* базовая мобильная адаптация */
.mobile-menu-toggle{display:none}
@media (max-width:700px){
  html,body{width:100%;min-width:0;max-width:100%;overflow-x:hidden}
  #main,.main-bg,.bg-f,.sheet,.layout-wrapper{box-sizing:border-box;width:100%;min-width:0;max-width:100%}
  .header{height:190px;min-height:190px;background-position:center top!important}
  header.header .shapes{position:relative;top:auto;right:auto;bottom:auto;left:auto;width:100%;height:190px;margin:0!important;overflow:visible;background-position:14px 0}
  .shapes:after{display:none}
  .nostyle.logos{top:22px!important;left:14px!important;right:14px;white-space:normal;overflow:hidden;text-align:left}
  .nostyle.logos a{font-size:clamp(21px,7vw,27px);line-height:1.1}
  .nostyle.logos a:after{display:none}
  .custom.opis{top:62px!important;left:14px!important;right:14px}
  .custom.opis p{font-size:13px;line-height:1.2}
  .nostyle.vopr{display:none!important}
  .nostyle.ssrch{display:block;top:104px!important;right:14px!important;left:14px!important;width:auto!important;height:auto;background:none}
  .search.ssrch{display:block;top:0;left:0;width:100%!important}
  .ssrch input.inputbox.ssrch{box-sizing:border-box;width:100%;height:38px;padding:0 42px 0 13px!important;font-size:13px!important}
  .nav{box-sizing:border-box;width:100%;min-width:0;margin:0!important;padding:8px 10px;background:#fff!important}
  .mobile-menu-toggle{display:flex;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;width:100%;min-height:42px;padding:8px 14px;border:1px solid #35c4dc;border-radius:7px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:16px;font-weight:700;line-height:1.2;cursor:pointer}
  .mobile-menu-toggle[aria-expanded=true]{background:#22bfd7;color:#fff}
  .mobile-menu-icon{display:flex;flex-direction:column;gap:4px;width:20px}
  .mobile-menu-icon i{display:block;width:20px;height:2px;border-radius:2px;background:currentColor}
  ul.hmenu{display:none;flex-direction:column;gap:6px;margin:8px 0 0!important;padding:0;list-style:none}
  ul.hmenu.mobile-menu-open{display:flex}
  ul.hmenu>li{display:block;float:none;width:100%;margin:0}
  ul.hmenu>li>a{display:block;box-sizing:border-box;width:100%;padding:9px 12px!important;border:1px solid #35c4dc;border-radius:6px;background:#e9fbfe;color:#2f7180!important;text-align:center;text-shadow:none;font-size:13px!important;line-height:1.2}
  ul.hmenu ul{display:none!important}
  .sl-bg,.polosa{display:none}
  .sheet{margin:0!important;padding:0}
  .layout-wrapper{margin:0!important;padding:10px 0;border-radius:0;box-shadow:none}
  .content-layout,.content-layout-row{display:block;width:100%;min-width:0}
  .layout-cell,.content-layout .content,.content-layout .sidebar2{display:block;box-sizing:border-box;width:100%!important;min-width:0;margin:0!important}
  .post{box-sizing:border-box;width:calc(100% - 20px)!important;margin:0 10px!important;border-width:2px}
  .postcontent{box-sizing:border-box;max-width:100%;overflow:hidden}
  input,select,textarea{max-width:100%}
  img,video,iframe{max-width:100%;height:auto}
  .certificate-cover-carousel,.certificate-cover-viewport,.certificate-cover-grid{max-width:100%;min-width:0}
  #pagination{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
  .block,.block_a,.admin-subpage,.user-portfolio-page,#register,#auth_block{max-width:100%;box-sizing:border-box}
  table.the_table{display:block;max-width:100%;overflow-x:auto;white-space:nowrap}
  #djslider198{width:100%!important;max-width:100%}
  #slider198 li a img,#slider198 li a:hover img{box-sizing:border-box;max-width:100%;width:auto;height:auto}
  .footer,.footer-inner{box-sizing:border-box;width:100%;min-width:0}
  .mobile-random-heading,.mobile-random-module,.mobile-vk-module{display:none!important}
}

/* Размеры карусели как в рабочей версии сайта */
body.site-internal .certificate-page .certificate-cover-carousel{gap:8px!important;max-width:none!important}
body.site-internal .certificate-page .certificate-cover-grid{gap:14px!important}
body.site-internal .certificate-page .certificate-cover-grid .cvr{
  flex-basis:calc((100% - 42px)/4)!important;
  height:auto!important;
  min-height:0!important;
  padding:8px!important;
}
body.site-internal .certificate-page .certificate-cover-grid .cvr img{height:150px!important}
body.site-internal .certificate-page .certificate-cover-carousel .certificate-cover-arrow{
  flex-basis:34px!important;
  width:34px!important;
  min-width:34px!important;
  height:38px!important;
  min-height:38px!important;
  border:1px solid #35c4dc!important;
  border-radius:6px!important;
  background:#e9fbfe!important;
  color:#2f7180!important;
  font:20px/1 Arial,sans-serif!important;
}
body.site-internal .certificate-page .certificate-cover-carousel .certificate-cover-arrow:hover{background:#d9f7fb!important}
@media(max-width:700px){
  body.site-internal .certificate-page .certificate-cover-grid .cvr{flex-basis:calc((100% - 14px)/2)!important}
  body.site-internal .certificate-page .certificate-cover-grid .cvr img{height:150px!important}
  body.site-internal .certificate-page .certificate-cover-carousel .certificate-cover-arrow{flex-basis:30px!important;width:30px!important;min-width:30px!important}
}

/* Финальная геометрия выбора фона сертификата */
body.site-internal .certificate-page .certificate-cover-carousel{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  width:100%!important;
  max-width:1220px!important;
}
body.site-internal .certificate-page .certificate-cover-viewport{
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
}
body.site-internal .certificate-page .certificate-cover-grid{
  display:flex!important;
  gap:26px!important;
  width:100%!important;
  margin:0!important;
}
body.site-internal .certificate-page .certificate-cover-grid .cvr{
  display:flex!important;
  flex:0 0 calc((100% - 78px)/4)!important;
  flex-direction:column!important;
  align-items:center!important;
  box-sizing:border-box!important;
  width:auto!important;
  height:418px!important;
  min-height:418px!important;
  margin:0!important;
  padding:16px!important;
}
body.site-internal .certificate-page .certificate-cover-grid .cvr img{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:300px!important;
  min-height:0!important;
  margin:0 auto!important;
  object-fit:contain!important;
}
body.site-internal .certificate-page .certificate-cover-carousel .certificate-cover-arrow{
  display:flex!important;
  flex:0 0 68px!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:68px!important;
  min-width:68px!important;
  height:76px!important;
  min-height:76px!important;
  margin:0!important;
  padding:0!important;
  border:2px solid #a9e5f0!important;
  border-radius:10px!important;
  background:#f8fdfe!important;
  color:#8db8c2!important;
  font:36px/1 Arial,sans-serif!important;
  box-shadow:none!important;
}
body.site-internal .certificate-page .certificate-cover-carousel .certificate-cover-arrow:hover{
  border-color:#20bfd7!important;
  background:#f1fcfe!important;
  color:#2f8191!important;
}
@media(max-width:700px){
  body.site-internal .certificate-page .certificate-cover-grid .cvr{
    flex-basis:calc((100% - 14px)/2)!important;
    height:300px!important;
    min-height:300px!important;
  }
  body.site-internal .certificate-page .certificate-cover-grid .cvr img{height:210px!important}
  body.site-internal .certificate-page .certificate-cover-carousel .certificate-cover-arrow{
    flex-basis:42px!important;width:42px!important;min-width:42px!important;height:54px!important;min-height:54px!important;font-size:26px!important
  }
}

/* Финальная полировка общей оболочки внутренних страниц */
body:not(:has(.index-home-page)) .internal-modern-header{width:min(1184px,calc(100% - 56px))}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu a{color:#17627a!important;text-shadow:none!important}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu a:hover,
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu li:nth-child(4) a{color:#087e94!important}
body:not(:has(.index-home-page)) footer.index-modern-footer:before,
body:not(:has(.index-home-page)) footer.index-modern-footer:after{display:none!important;content:none!important;background-image:none!important}

@media (max-width:700px){
  body:not(:has(.index-home-page)) .internal-modern-header{width:calc(100% - 28px)!important}
}

/* Информационная подпись о свидетельстве под изображением в герое */
body:has(.index-home-page) .index-hero-preview{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important}
body:has(.index-home-page) .index-hero-price-note{max-width:430px;margin:0;color:#6d8994;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:18px;font-weight:400;line-height:1.3;text-align:center}
body:has(.index-home-page) .index-hero-price-note strong{color:#17627a;font-weight:700;white-space:nowrap}
@media (max-width:700px){
  body:has(.index-home-page) .index-hero-price-note{max-width:330px;font-size:16px}
}

/* Единый фирменный стиль внутренних страниц */
body:not(:has(.index-home-page)){background:linear-gradient(180deg,#eafaff 0%,#f8fdfe 48%,#eafaff 100%)!important;color:#304b55!important;font-family:Arial,sans-serif}
body:not(:has(.index-home-page)) .header,body:not(:has(.index-home-page)) nav.nav{display:none!important}
body:not(:has(.index-home-page)) .internal-modern-header{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:24px;box-sizing:border-box;width:min(1240px,calc(100% - 56px));min-height:84px;margin:0 auto 16px;padding:12px 0;background:transparent!important}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-logo{display:flex;align-items:center;gap:12px;color:#17627a;text-decoration:none}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-logo img{display:block;width:54px;height:62px;object-fit:contain}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-logo span{display:flex;flex-direction:column;gap:2px}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-logo b{font-family:'PT Sans Narrow',Arial,sans-serif;font-size:30px;line-height:1;letter-spacing:.02em}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-logo small{color:#7898a3;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:14px}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-nav{justify-self:end;width:100%;margin:0;padding:0}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu{display:flex;align-items:center;justify-content:space-between;gap:2px;margin:0;padding:5px 8px;border:1px solid #d2ebf0;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(23,98,122,.08);list-style:none}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu li{margin:0;list-style:none}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu a{display:block;padding:10px 13px;border-radius:10px;color:#17627a;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:16px;font-weight:700;text-decoration:none;white-space:nowrap}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu a:hover,body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu li:nth-child(4) a{background:#d9f7fb;color:#087e94}
body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu-toggle{display:none}
body:not(:has(.index-home-page)) #main{background:#eafaff!important;background-image:none!important}
body:not(:has(.index-home-page)) header.header{height:150px!important;background:#eafaff!important;border-bottom:1px solid #d4edf1!important;box-shadow:none!important}
body:not(:has(.index-home-page)) header.header .shapes{box-sizing:border-box;width:min(1240px,calc(100% - 56px))!important;height:150px!important;margin:0 auto!important;background:none!important}
body:not(:has(.index-home-page)) header.header .nostyle.logos{top:28px!important;left:0!important;padding-left:72px;background:url('/images/logos.png') left center/58px 64px no-repeat}
body:not(:has(.index-home-page)) header.header .nostyle.logos a{color:#17627a!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:32px!important;font-weight:700!important;letter-spacing:.02em;text-shadow:none!important;text-decoration:none!important}
body:not(:has(.index-home-page)) header.header .nostyle.logos a:after{display:none!important}
body:not(:has(.index-home-page)) header.header .nostyle.opis{top:78px!important;left:72px!important}
body:not(:has(.index-home-page)) header.header .custom.opis p{color:#7898a3!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:16px!important;text-shadow:none!important}
body:not(:has(.index-home-page)) header.header .nostyle.vopr,body:not(:has(.index-home-page)) header.header .nostyle.ssrch{display:none!important}
body:not(:has(.index-home-page)) nav.nav{box-sizing:border-box;width:min(1184px,calc(100% - 56px))!important;margin:0 auto 18px!important;padding:0!important;background:transparent!important}
body:not(:has(.index-home-page)) nav.nav ul.hmenu{display:flex!important;align-items:center;justify-content:center;gap:4px;min-height:54px;margin:0!important;padding:5px 8px!important;border:1px solid #cfeaf0;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(23,98,122,.08);list-style:none}
body:not(:has(.index-home-page)) nav.nav ul.hmenu>li{margin:0!important;list-style:none!important;background:none!important}
body:not(:has(.index-home-page)) nav.nav ul.hmenu>li>a{display:block!important;padding:11px 16px!important;border-radius:10px;color:#17627a!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:16px!important;font-weight:700!important;letter-spacing:0!important;text-shadow:none!important;text-decoration:none!important;text-transform:none!important}
body:not(:has(.index-home-page)) nav.nav ul.hmenu>li>a:hover,body:not(:has(.index-home-page)) nav.nav ul.hmenu>li:first-child>a{background:#d9f7fb!important;color:#087e94!important}
body:not(:has(.index-home-page)) .sl-bg,body:not(:has(.index-home-page)) .polosa,body:not(:has(.index-home-page)) .sidebar2{display:none!important}
body:not(:has(.index-home-page)) .bg-f,body:not(:has(.index-home-page)) .sheet,body:not(:has(.index-home-page)) .layout-wrapper{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
body:not(:has(.index-home-page)) .content-layout,body:not(:has(.index-home-page)) .content-layout-row,body:not(:has(.index-home-page)) .layout-cell.content{display:block!important;width:100%!important;margin:0!important;padding:0!important}
body:not(:has(.index-home-page)) .post{box-sizing:border-box;width:min(1184px,calc(100% - 56px))!important;max-width:none!important;margin:0 auto 28px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body:not(:has(.index-home-page)) .post>section,body:not(:has(.index-home-page)) .post>article,body:not(:has(.index-home-page)) .post>#register,body:not(:has(.index-home-page)) .post>#auth_block,body:not(:has(.index-home-page)) .post>.block.user-profile{box-sizing:border-box;border:1px solid #d2ebf0!important;border-radius:18px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 24px rgba(23,98,122,.07)!important}
body:not(:has(.index-home-page)) .post h1,body:not(:has(.index-home-page)) .post h2,body:not(:has(.index-home-page)) .post h3{font-family:'PT Sans Narrow',Arial,sans-serif!important;text-shadow:none!important}
body:not(:has(.index-home-page)) .standard-back a,body:not(:has(.index-home-page)) .album-back a,body:not(:has(.index-home-page)) .albums-back a,body:not(:has(.index-home-page)) .folio-back a,body:not(:has(.index-home-page)) .article-back a,body:not(:has(.index-home-page)) .user-portfolio-back a{color:#168ca5!important;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:15px;font-weight:700;text-decoration:none}
body:not(:has(.index-home-page)) input.pole,body:not(:has(.index-home-page)) input[type=text],body:not(:has(.index-home-page)) input[type=email],body:not(:has(.index-home-page)) input[type=password],body:not(:has(.index-home-page)) textarea,body:not(:has(.index-home-page)) select{border:1px solid #b8dce4!important;border-radius:9px!important;background:#fff!important;color:#304b55!important}
body:not(:has(.index-home-page)) input[type=submit],body:not(:has(.index-home-page)) button{border-radius:9px!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-weight:700!important}
body:not(:has(.index-home-page)) #pagination{margin-top:22px!important}
body:not(:has(.index-home-page)) table.the_table{border:1px solid #cfe6eb!important;border-radius:12px;overflow:hidden;background:#fff}
body:not(:has(.index-home-page)) table.the_table td{padding:10px 12px!important;border-color:#dceff2!important}
body:not(:has(.index-home-page)) table.the_table tr:first-child td{background:#d9f7fb;color:#17627a;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:16px;font-weight:700}
@media (max-width:700px){
  body:not(:has(.index-home-page)) header.header{height:118px!important}
  body:not(:has(.index-home-page)) header.header .shapes{width:calc(100% - 28px)!important;height:118px!important}
  body:not(:has(.index-home-page)) header.header .nostyle.logos{top:18px!important;left:0!important;padding-left:50px;background-size:40px 46px}
  body:not(:has(.index-home-page)) header.header .nostyle.logos a{font-size:24px!important}
  body:not(:has(.index-home-page)) header.header .nostyle.opis{top:57px!important;left:50px!important}
  body:not(:has(.index-home-page)) header.header .custom.opis p{font-size:13px!important}
  body:not(:has(.index-home-page)) nav.nav{width:calc(100% - 28px)!important;margin-bottom:12px!important}
  body:not(:has(.index-home-page)) nav.nav ul.hmenu{display:none!important}
  body:not(:has(.index-home-page)) nav.nav .mobile-menu-toggle{display:flex!important}
  body:not(:has(.index-home-page)) .post{width:calc(100% - 28px)!important;margin-bottom:18px!important}
  body:not(:has(.index-home-page)) .post>section,body:not(:has(.index-home-page)) .post>article,body:not(:has(.index-home-page)) .post>#register,body:not(:has(.index-home-page)) .post>#auth_block,body:not(:has(.index-home-page)) .post>.block.user-profile{border-radius:14px!important}
}

/* Административная панель в общей визуальной системе */
body:has(.admin-page) .post{width:min(1184px,calc(100% - 56px))!important;max-width:none!important}
body:has(.admin-page) #auth_block.admin-page{padding:26px 28px 30px!important;border:1px solid #d2ebf0!important;border-radius:18px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 24px rgba(23,98,122,.07)!important}
body:has(.admin-page) #auth_block.admin-page h1{margin:0 0 20px!important;padding:0 0 14px!important;border-bottom:1px solid #dceff2!important;color:#17627a!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:30px!important;letter-spacing:0!important;text-transform:none!important}
body:has(.admin-page) #auth_block.admin-page h1 a{color:inherit!important;text-decoration:none!important}
body:has(.admin-page) #auth_block.admin-page ul{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;margin:0!important}
body:has(.admin-page) #auth_block.admin-page ul li{margin:0!important}
body:has(.admin-page) #auth_block.admin-page ul li a{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:46px!important;padding:10px 14px!important;border:1px solid #bfe8ef!important;border-radius:10px!important;background:#f8fdfe!important;color:#17627a!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:16px!important;text-decoration:none!important;transition:background .15s ease,border-color .15s ease,transform .15s ease!important}
body:has(.admin-page) #auth_block.admin-page ul li a:hover{border-color:#22bfd7!important;background:#d9f7fb!important;transform:translateY(-1px)}
body:has(.admin-page) #auth_block.admin-page ul li a.delete{border-color:#efc9cd!important;background:#fff5f5!important;color:#a45159!important}
body:has(.admin-page) .admin-subpage{border:1px solid #d2ebf0!important;border-radius:18px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 24px rgba(23,98,122,.07)!important}
body:has(.admin-page) .admin-subpage h2{font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:26px!important}
body:has(.admin-page) .admin-subpage .the_table{font-size:14px!important}
@media (max-width:700px){
  body:has(.admin-page) .post{width:calc(100% - 28px)!important}
  body:has(.admin-page) #auth_block.admin-page{padding:18px 14px 22px!important;border-radius:14px!important}
  body:has(.admin-page) #auth_block.admin-page h1{font-size:25px!important}
  body:has(.admin-page) #auth_block.admin-page ul{grid-template-columns:1fr!important}
}

/* Внутренние страницы: та же оболочка, что у главной, без добавления блоков */
body:not(:has(.index-home-page)) header.header{height:118px!important;background:#fff!important;border-bottom:1px solid #d7edf1!important}
body:not(:has(.index-home-page)) header.header .shapes{height:118px!important;background:none!important}
body:not(:has(.index-home-page)) header.header .nostyle.logos{top:22px!important}
body:not(:has(.index-home-page)) header.header .nostyle.logos a{font-size:30px!important;line-height:1!important}
body:not(:has(.index-home-page)) header.header .nostyle.opis{top:67px!important}
body:not(:has(.index-home-page)) nav.nav ul.hmenu>li>a{font-size:17px!important}
body:not(:has(.index-home-page)) .sl-bg,body:not(:has(.index-home-page)) .polosa{display:none!important}
body:not(:has(.index-home-page)) .inf{box-sizing:border-box;width:min(1184px,calc(100% - 56px));margin:0 auto 24px!important;padding:22px 28px!important;border:1px solid #d2ebf0!important;border-radius:18px!important;background:linear-gradient(110deg,#fff9bf 0%,#fff 25%,#fff 100%)!important;box-shadow:0 8px 24px rgba(23,98,122,.07)!important;color:#304b55!important}
body:not(:has(.index-home-page)) .inf .custom.inf p{margin:0!important;font-family:Arial,sans-serif!important;font-size:16px!important;line-height:1.55!important;text-align:left!important}
body:not(:has(.index-home-page)) .inf .custom.inf img{width:92px!important;height:auto!important;margin:0 24px 8px 0!important;border-radius:12px!important}
body:not(:has(.index-home-page)) footer.index-modern-footer{display:grid!important;box-sizing:border-box!important;width:min(1184px,calc(100% - 56px))!important;max-width:none!important;min-height:118px!important;margin:0 auto 22px!important;padding:24px 28px!important;border:1px solid #d2ebf0!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 24px rgba(23,98,122,.07)!important}
body:not(:has(.index-home-page)) footer.index-modern-footer .index-footer-brand a{color:#17627a!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:24px!important;font-weight:700!important}
body:not(:has(.index-home-page)) footer.index-modern-footer .index-footer-brand span{color:#7898a3!important;font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:15px!important}
body:not(:has(.index-home-page)) footer.index-modern-footer .index-footer-links a{font-family:'PT Sans Narrow',Arial,sans-serif!important;font-size:16px!important}
body:not(:has(.index-home-page)) footer.index-modern-footer .index-footer-legal{font-size:13px!important;line-height:1.5!important}
@media (max-width:700px){
  body:not(:has(.index-home-page)) .internal-modern-header{display:block!important;width:calc(100% - 28px)!important;min-height:0;margin:0 auto 12px;padding:10px 0!important}
  body:not(:has(.index-home-page)) .internal-modern-header .index-modern-logo{margin-bottom:10px}
  body:not(:has(.index-home-page)) .internal-modern-header .index-modern-logo img{width:42px;height:48px}
  body:not(:has(.index-home-page)) .internal-modern-header .index-modern-logo b{font-size:23px}
  body:not(:has(.index-home-page)) .internal-modern-header .index-modern-logo small{font-size:12px}
  body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu-toggle{display:flex!important;align-items:center;justify-content:center;gap:9px;width:100%;min-height:40px;padding:8px 14px;border:1px solid #35c4dc;border-radius:9px;background:#e9fbfe;color:#2f7180;font-family:'PT Sans Narrow',Arial,sans-serif;font-size:16px;font-weight:700;cursor:pointer}
  body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu-toggle[aria-expanded=true]{background:#22bfd7;color:#fff}
  body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu{display:none;flex-direction:column;align-items:stretch;gap:5px;margin-top:7px}
  body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu.mobile-menu-open{display:flex}
  body:not(:has(.index-home-page)) .internal-modern-header .index-modern-menu a{padding:9px 12px;text-align:center;border:1px solid #d2ebf0;background:#f8fdfe}
  body:not(:has(.index-home-page)) header.header{height:104px!important}
  body:not(:has(.index-home-page)) header.header .shapes{height:104px!important}
  body:not(:has(.index-home-page)) header.header .nostyle.logos{top:16px!important}
  body:not(:has(.index-home-page)) header.header .nostyle.logos a{font-size:23px!important}
  body:not(:has(.index-home-page)) header.header .nostyle.opis{top:54px!important}
  body:not(:has(.index-home-page)) .inf{width:calc(100% - 28px)!important;margin-bottom:16px!important;padding:16px!important;border-radius:14px!important}
  body:not(:has(.index-home-page)) .inf .custom.inf p{font-size:14px!important;line-height:1.45!important}
  body:not(:has(.index-home-page)) .inf .custom.inf img{width:64px!important;margin-right:14px!important}
  body:not(:has(.index-home-page)) footer.index-modern-footer{display:block!important;width:calc(100% - 28px)!important;min-height:0!important;margin-bottom:14px!important;padding:18px 16px!important;border-radius:14px!important}
  body:not(:has(.index-home-page)) footer.index-modern-footer .index-footer-links{margin:14px 0!important}
  body:not(:has(.index-home-page)) footer.index-modern-footer .index-footer-legal{text-align:left!important;font-size:12px!important}
}

/* Рабочая геометрия карусели имеет приоритет над экспериментальными правилами выше */
body.site-internal .certificate-page .certificate-cover-grid .cvr{flex-basis:calc((100% - 70px)/6)!important;height:auto!important;min-height:0!important;padding:8px!important}
body.site-internal .certificate-page .certificate-cover-grid .cvr img{height:150px!important}
body.site-internal .certificate-page .certificate-cover-carousel .certificate-cover-arrow{flex-basis:34px!important;width:34px!important;min-width:34px!important;height:38px!important;min-height:38px!important;border:1px solid #35c4dc!important;border-radius:6px!important;background:#e9fbfe!important;color:#2f7180!important;font:20px/1 Arial,sans-serif!important}
body.site-internal .certificate-page{width:100%!important;max-width:none!important}
body.site-internal .certificate-page form.certificate-form{width:100%!important;max-width:none!important}

/* Последнее мобильное правило главной — после всех исторических переопределений. */
@media (max-width:700px){
  body:has(.index-home-page) .index-community,
  body:has(.index-home-page) .index-intro-panel{display:none!important}
  body:has(.index-home-page) .index-hero-price-note{
    max-width:none!important;
    width:100%!important;
    white-space:nowrap!important;
    font-size:clamp(9px,3vw,12px)!important;
    line-height:1.15!important;
  }
  body:has(.index-home-page) .index-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:has(.index-home-page) .index-stat{min-width:0!important}
  body:has(.index-home-page) .index-stat-wide{grid-column:auto!important}
  body:has(.index-home-page) .index-main-links-grid{grid-template-columns:1fr!important}
  body:has(.index-home-page) .index-directory-list{grid-template-columns:1fr!important}
  body:has(.index-home-page) .index-home-page .block.block2>a{
    display:grid!important;
    grid-template-columns:82px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px 12px!important;
    width:100%!important;
    min-width:0!important;
  }
  body:has(.index-home-page) .index-home-page .block.block2 .logo_block{
    float:none!important;
    grid-row:1 / span 2!important;
    width:82px!important;
    height:82px!important;
    min-width:0!important;
    margin:0!important;
  }
  body:has(.index-home-page) .index-home-page .block.block2 .other_block{
    float:none!important;
    width:auto!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body:has(.index-home-page) .index-card-action{
    display:none!important;
  }
}
@media (max-width:820px) and (min-width:701px){
  body:has(.index-home-page) .index-directory-list{grid-template-columns:1fr!important}
  body:has(.index-home-page) .index-modern-menu-toggle{display:none!important}
}
@media (max-width:350px){
  body:has(.index-home-page) .index-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:has(.index-home-page) .index-stat{border-right:1px solid #cfe8ed!important;border-bottom:0!important}
  body:has(.index-home-page) .index-stat:nth-child(even){border-right:0!important}
  body:has(.index-home-page) .index-stat:nth-child(-n+2){border-bottom:1px solid #cfe8ed!important}
  body:has(.index-home-page) .index-stat-wide{grid-column:auto!important}
  body:has(.index-home-page) .index-hero-actions{grid-template-columns:1fr!important}
}

/* Мобильная статистика без внутренних полосок сетки. */
@media (max-width:700px){
  body:has(.index-home-page) .index-stats{
    column-gap:8px!important;
    row-gap:4px!important;
    padding:8px!important;
  }
  body:has(.index-home-page) .index-stat,
  body:has(.index-home-page) .index-stat:nth-child(2),
  body:has(.index-home-page) .index-stat:nth-child(-n+2),
  body:has(.index-home-page) .index-stat-wide,
  body:has(.index-home-page) .index-stat:last-child{
    border:0!important;
  }
}

/* Мобильный блок «Как это работает?» без линий внутренней сетки. */
@media (max-width:700px){
  body:has(.index-home-page) .index-how-it-works{border:0!important}
  body:has(.index-home-page) .index-how-it-works .index-step,
  body:has(.index-home-page) .index-how-it-works .index-step:first-child{border:0!important}
}
