@font-face{font-family:Inter;src:url('../fonts/Inter-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('../fonts/Inter-SemiBold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
:root{
  --its-accent:#3867d6;
  --its-accent-dark:#2854bd;
  --its-accent-soft:#edf2ff;
  --its-accent-border:#cbd8fa;
  --its-green:#20b486;
  --its-green-soft:#e9f9f4;
  --its-orange:#f3a72f;
  --its-red:#e8435a;
  --its-text:#101a35;
  --its-text-2:#34415f;
  --its-muted:#71809d;
  --its-bg:#f3f7fd;
  --its-card:#fff;
  --its-border:#d7e1f1;
  --its-shadow:0 12px 34px rgba(31,55,103,.08);
  --its-shadow-hover:0 18px 42px rgba(56,103,214,.16);
  --its-radius:16px;
  --its-radius-sm:10px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.itsnew-body{font-family:Inter,Arial,sans-serif;background:var(--its-bg);color:var(--its-text);font-size:16px;line-height:1.55;overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.itsnew-body a{color:var(--its-accent);text-decoration:none}
body.itsnew-body a:hover{color:var(--its-accent-dark);text-decoration:none}
body.itsnew-body img{max-width:100%;height:auto}
body.itsnew-body h1,body.itsnew-body h2,body.itsnew-body h3,body.itsnew-body h4{color:var(--its-text);font-weight:700;line-height:1.18;letter-spacing:-.025em}
body.itsnew-body .container{max-width:1280px}
body.itsnew-body .btn{min-height:40px;border-radius:10px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease}
body.itsnew-body .btn-primary{background:var(--its-accent);border-color:var(--its-accent);color:#fff!important;box-shadow:0 8px 20px rgba(56,103,214,.22)}
body.itsnew-body .btn-primary:hover,body.itsnew-body .btn-primary:focus{background:var(--its-accent-dark);border-color:var(--its-accent-dark);color:#fff!important;transform:translateY(-2px);box-shadow:0 13px 28px rgba(56,103,214,.3)}
body.itsnew-body .btn-primary:active{transform:translateY(0);box-shadow:0 5px 12px rgba(56,103,214,.22)}
body.itsnew-body .btn-primary:focus-visible,body.itsnew-body .btn-outline-primary:focus-visible{outline:3px solid rgba(56,103,214,.3);outline-offset:2px}
body.itsnew-body .btn-outline-primary{border-color:var(--its-accent);color:var(--its-accent);background:#fff}
body.itsnew-body .btn-outline-primary:hover,body.itsnew-body .btn-outline-primary:focus{background:var(--its-accent);border-color:var(--its-accent);color:#fff!important}
body.itsnew-body .btn-light{background:#fff;border:1px solid var(--its-accent-border);color:var(--its-accent)}
body.itsnew-body .btn-light:hover{background:var(--its-accent-soft);border-color:var(--its-accent);color:var(--its-accent-dark)}
body.itsnew-body .form-control,body.itsnew-body input[type=text],body.itsnew-body input[type=search],body.itsnew-body input[type=email],body.itsnew-body input[type=password],body.itsnew-body select,body.itsnew-body textarea{border:1px solid var(--its-border);border-radius:10px;min-height:44px;color:var(--its-text);background:#fff}
body.itsnew-body .form-control:focus,body.itsnew-body input:focus,body.itsnew-body select:focus,body.itsnew-body textarea:focus{border-color:var(--its-accent);box-shadow:0 0 0 3px rgba(56,103,214,.12);outline:0}

/* Header */
.its-header{position:sticky;top:0;z-index:1040;height:74px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--its-border);transition:box-shadow .2s ease,background .2s ease}
.its-header.is-scrolled{box-shadow:0 9px 25px rgba(28,49,91,.09)}
.its-header__inner{height:74px;display:flex;align-items:center;gap:18px;min-width:0}
.its-header__logo{display:flex;align-items:center;flex:0 0 auto;min-width:150px}
.its-logo-widget{display:flex;align-items:center;max-width:170px;margin:0!important;padding:0!important}
.its-logo-widget img{display:block!important;object-fit:contain;object-position:left center;max-height:42px;width:auto}
.its-header__desktop-menu{flex:1 1 auto;min-width:0}
.its-header__desktop-menu .icms-widget,.its-header__desktop-menu .navbar,.its-header__account .icms-widget{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.its-header__desktop-menu .navbar{min-height:42px;flex-wrap:nowrap}
.its-header__desktop-menu .navbar-nav{display:flex;align-items:center;flex-wrap:nowrap;gap:1px;width:100%}
.its-header__desktop-menu .nav-link{padding:10px 10px!important;border-radius:8px;color:var(--its-text)!important;font-size:13px;white-space:nowrap;font-weight:600}
.its-header__desktop-menu .nav-link:hover,.its-header__desktop-menu .nav-item.active>.nav-link{background:var(--its-accent-soft);color:var(--its-accent)!important}
.its-header__account{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-left:auto}
.its-header__account .navbar-nav{align-items:center;flex-direction:row}
.its-header__account .nav-link{min-width:40px;min-height:40px;padding:8px!important;border:1px solid var(--its-border);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--its-text)!important;background:#f8faff}
.its-header__account .nav-link:hover{background:var(--its-accent-soft);border-color:var(--its-accent-border);color:var(--its-accent)!important}
.its-header__account .dropdown-menu{border:1px solid var(--its-border);border-radius:0!important;box-shadow:var(--its-shadow);padding:0;overflow:hidden;min-width:210px;margin-top:10px}
.its-header__account .dropdown-item{border-radius:0!important;padding:12px 15px;color:var(--its-text);border-bottom:1px solid #edf1f8;background:#fff}
.its-header__account .dropdown-item:last-child{border-bottom:0}
.its-header__account .dropdown-item:hover{background:var(--its-accent-soft);color:var(--its-accent)}
.its-header__mobile-menu{display:none;margin-left:auto}
.its-header__mobile-menu .navbar{padding:0}
.its-header__mobile-menu .navbar-toggler{border:1px solid var(--its-border);border-radius:10px;width:44px;height:44px}

/* Hero */
.its-hero{position:relative;background:#f8fbff;border-bottom:1px solid var(--its-border);overflow:hidden}
.its-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 30%,rgba(56,103,214,.09),transparent 34%),radial-gradient(circle at 76% 88%,rgba(32,180,134,.08),transparent 28%);pointer-events:none}
.its-hero__inner{position:relative;min-height:505px;display:grid;grid-template-columns:minmax(0,1fr) minmax(480px,.9fr);align-items:center;gap:70px;padding-top:70px;padding-bottom:70px}
.its-hero__content{max-width:650px}
.its-hero__badge{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border:1px solid var(--its-accent-border);border-radius:999px;background:#fff;color:var(--its-accent);font-size:13px;font-weight:600;margin-bottom:22px}
.its-hero__badge span{width:9px;height:9px;border-radius:50%;background:#26c892;box-shadow:0 0 0 5px rgba(38,200,146,.13)}
.its-hero h1{font-size:clamp(40px,4vw,60px);margin:0 0 20px;letter-spacing:-.045em}
.its-hero h1 em{display:block;font-style:normal;color:var(--its-accent)}
.its-hero__content>p{max-width:620px;font-size:18px;line-height:1.72;color:var(--its-text-2);margin-bottom:28px}
.its-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.its-hero__actions .btn{min-height:54px;padding:13px 24px;font-size:15px}
.its-hero__primary:hover{transform:translateY(-3px) scale(1.01)!important}
.its-hero__links{display:flex;gap:8px;flex-wrap:wrap}
.its-hero__links a{border:1px solid var(--its-border);border-radius:999px;background:#fff;padding:8px 14px;font-size:13px;font-weight:600;color:var(--its-accent)}
.its-hero__links a:hover{background:var(--its-accent-soft);border-color:var(--its-accent)}
.its-hero-live{position:relative;min-height:390px;display:flex;align-items:center;justify-content:center}
.its-hero-live__glow{position:absolute;width:430px;height:330px;border-radius:50%;background:rgba(56,103,214,.12);filter:blur(60px)}
.its-hero-live__window{position:relative;width:500px;max-width:100%;background:rgba(255,255,255,.94);border:1px solid var(--its-accent-border);border-radius:22px;box-shadow:0 30px 70px rgba(45,72,126,.18);overflow:hidden;transform:rotate(-1.2deg)}
.its-hero-live__head{height:54px;display:flex;align-items:center;gap:12px;padding:0 18px;border-bottom:1px solid var(--its-border);font-size:13px;font-weight:600}
.its-hero-live__head>span:nth-child(2){flex:1}.its-hero-live__head b{font-size:11px;color:var(--its-green);display:flex;align-items:center;gap:5px}.its-hero-live__head b i{width:7px;height:7px;border-radius:50%;background:var(--its-green)}
.its-hero-live__dots{display:flex;gap:6px}.its-hero-live__dots i{width:9px;height:9px;border-radius:50%;background:#ff6e7c}.its-hero-live__dots i:nth-child(2){background:#ffc34d}.its-hero-live__dots i:nth-child(3){background:#3dc89b}
.its-hero-live__stream{padding:16px;display:grid;gap:10px}
.its-hero-live__card{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;padding:11px 13px;background:#fff;border:1px solid var(--its-border);border-radius:13px;color:var(--its-text)!important;box-shadow:0 6px 16px rgba(31,55,103,.05);animation:itsFloatCard 5.5s ease-in-out infinite}
.its-hero-live__card:nth-child(2){animation-delay:-1.8s;margin-left:25px}.its-hero-live__card:nth-child(3){animation-delay:-3.5s;margin-right:20px}
.its-hero-live__icon,.its-hero-live__thumb{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--its-accent-soft);color:var(--its-accent);font-size:20px}
.its-hero-live__thumb{background:linear-gradient(145deg,#3867d6,#27b99a);position:relative}.its-hero-live__thumb:after{content:"";width:24px;height:17px;border:2px solid #fff;border-radius:5px;transform:rotate(-8deg)}
.its-hero-live__card span:last-child{display:grid;grid-template-columns:1fr auto;gap:2px 10px;min-width:0}.its-hero-live__card small{grid-column:1/3;color:var(--its-muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em}.its-hero-live__card strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.its-hero-live__card em{font-style:normal;font-size:11px;color:var(--its-accent);align-self:center}
.its-hero-live__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 16px 17px}.its-hero-live__stats span{padding:11px 8px;border-radius:11px;background:#f8faff;border:1px solid var(--its-border);font-size:11px;display:flex;align-items:center;gap:7px}.its-hero-live__stats b{color:var(--its-accent);font-size:18px}
.its-hero-live__pulse{position:absolute;padding:9px 13px;background:#fff;border:1px solid var(--its-accent-border);border-radius:10px;box-shadow:var(--its-shadow);font-size:11px;font-weight:600;color:var(--its-accent);animation:itsPulseLabel 4s ease-in-out infinite}.its-hero-live__pulse--one{top:36px;left:-18px}.its-hero-live__pulse--two{right:-10px;bottom:37px;animation-delay:-2s}
@keyframes itsFloatCard{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes itsPulseLabel{0%,100%{transform:translateY(0);opacity:.88}50%{transform:translateY(-7px);opacity:1}}

/* Site content and generic widgets */
.its-site-content{padding:28px 0 52px}
.itsnew-home .its-site-content{padding-top:0}
.its-home-search{padding:24px 0 0}.its-home-sections{padding:16px 0 42px}.its-home-community{padding:48px 0;background:#eef4ff;border-top:1px solid var(--its-border);border-bottom:1px solid var(--its-border)}.its-home-extra{padding:36px 0}
.its-home-sections>.container>.icms-widget,.its-home-sections .icms-widget,.its-home-community .icms-widget,.its-home-extra .icms-widget{margin-bottom:42px;background:transparent;border:0;box-shadow:none;padding:0}
.its-home-sections .icms-widget__title,.its-home-community .icms-widget__title,.its-home-extra .icms-widget__title{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px;padding:0 0 10px;border-bottom:1px solid var(--its-border);font-size:30px;line-height:1.2;font-weight:700;color:var(--its-text)}
.its-home-sections .icms-widget__title a,.its-home-community .icms-widget__title a{font-size:13px;border:1px solid var(--its-accent-border);border-radius:10px;padding:8px 13px;font-weight:600}
.its-home-community__heading{text-align:center;max-width:720px;margin:0 auto 32px}.its-home-community__heading>span{color:var(--its-accent);font-weight:700;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.its-home-community__heading h2{font-size:34px;margin:7px 0 10px}.its-home-community__heading p{color:var(--its-muted)}
.its-home-community__grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.its-home-community__column{min-width:0}
.icms-widget:not(.icms-widget__transparent){border:1px solid var(--its-border);border-radius:var(--its-radius);background:#fff;box-shadow:var(--its-shadow)}
.icms-widget:not(.icms-widget__transparent)>.icms-widget__title{padding:16px 18px;border-bottom:1px solid var(--its-border);margin:0}.icms-widget:not(.icms-widget__transparent)>.icms-widget__body{padding:18px}

/* Task cards on home */
.itsnew-home .my_board_list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0!important}
.itsnew-home .my_board_list_item{height:100%;min-width:0;background:#fff;border:1px solid var(--its-border);border-radius:var(--its-radius);padding:20px;box-shadow:0 8px 24px rgba(31,55,103,.06);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.itsnew-home .my_board_list_item:hover{transform:translateY(-4px);box-shadow:var(--its-shadow-hover);border-color:var(--its-accent-border)}
.its-task-card__top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.its-task-card__top .f_cat a,.my_board_list_item .f_cat a{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:var(--its-accent-soft);color:var(--its-accent);font-size:11px;font-weight:600}.its-task-card__status{background:#fff1d8;color:#a76500;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:700}
.itsnew-home .my_board_list_item h3{font-size:17px;margin:0 0 13px;min-height:42px}.itsnew-home .my_board_list_item h3 a{color:var(--its-text)}.itsnew-home .my_board_list_item h3 a:hover{color:var(--its-accent)}
.itsnew-home .my_board_list_item .f_content{color:var(--its-text-2);font-size:13px;line-height:1.6;min-height:84px}
.its-task-card__meta{display:flex;justify-content:space-between;gap:12px;padding-top:15px;margin-top:15px;border-top:1px solid #edf1f8;color:var(--its-muted);font-size:11px}
.myb_fields_footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:15px;margin-top:15px;border-top:1px solid var(--its-border)}.myb_fields_footer .f_price{font-size:15px;font-weight:700;color:var(--its-accent);min-width:0}.mybl_pay_btns{display:flex!important;align-items:center;justify-content:flex-end;gap:7px;min-width:82px;min-height:34px}.mybl_pay_btns:empty{display:none!important}.mybl_pay_btns a{width:34px;height:34px;border:1px solid var(--its-border);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:#fff;transition:.2s ease}.mybl_pay_btns a:hover{background:var(--its-accent-soft);border-color:var(--its-accent);transform:translateY(-2px)}.mybl_pay_btns img{width:24px!important;height:24px!important;object-fit:contain}

/* Main board list — one task per row */
body:not(.itsnew-home) .my_board_list{display:block!important;margin-top:20px!important}
body:not(.itsnew-home) .my_board_list_item{display:block;width:100%;margin:0 0 16px;padding:22px 24px;background:#fff;border:1px solid var(--its-border);border-radius:var(--its-radius);box-shadow:0 7px 22px rgba(31,55,103,.055)}
body:not(.itsnew-home) .my_board_list_item>.icms-content-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:28px}
body:not(.itsnew-home) .my_board_list_item .f_title,body:not(.itsnew-home) .my_board_list_item .f_content,body:not(.itsnew-home) .my_board_list_item .f_cat,body:not(.itsnew-home) .my_board_list_item .f_date_pub,body:not(.itsnew-home) .my_board_list_item .f_user{grid-column:1}
body:not(.itsnew-home) .my_board_list_item .f_title h3{font-size:21px;margin:8px 0 10px}body:not(.itsnew-home) .my_board_list_item .f_content{max-width:850px;color:var(--its-text-2);line-height:1.65;margin-bottom:12px}body:not(.itsnew-home) .my_board_list_item .f_date_pub,body:not(.itsnew-home) .my_board_list_item .f_user{display:inline-flex;align-items:center;gap:6px;margin-right:18px;color:var(--its-muted);font-size:13px}
body:not(.itsnew-home) .my_board_list_item .myb_fields_footer{grid-column:2;grid-row:1/10;align-self:stretch;min-width:180px;margin:0;padding:4px 0 4px 22px;border-top:0;border-left:1px solid var(--its-border);flex-direction:column;justify-content:center;align-items:flex-end}.is_main_add_btn{max-width:260px;margin-left:auto}
.board_list_cats{background:#fff;border:1px solid var(--its-border);border-radius:var(--its-radius);padding:18px}.board_cats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0!important;padding:0!important}.board_cats li{list-style:none}.board_cats>li{border:1px solid var(--its-border);border-radius:10px;padding:10px}.board_cats img{width:24px;height:24px;object-fit:contain}.show_all_cats{border:0;background:var(--its-accent-soft);color:var(--its-accent);border-radius:9px;padding:8px 12px;margin-top:10px}

/* Portfolio cards */
.portfolio-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}
.portfolio-list__item{min-width:0}.portfolio-list__item-inner{height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid var(--its-border);border-radius:var(--its-radius);overflow:hidden;box-shadow:0 8px 24px rgba(31,55,103,.055);transition:.2s ease}.portfolio-list__item-inner:hover{transform:translateY(-4px);box-shadow:var(--its-shadow-hover);border-color:var(--its-accent-border)}
.portfolio-list__image-wrapper{position:relative;overflow:hidden;background:#eaf0fb}.portfolio-list__responsive-image{width:100%;height:100%!important;object-fit:cover;display:block;transition:transform .35s ease}.portfolio-list__item:hover .portfolio-list__responsive-image{transform:scale(1.035)}.portfolio-list__image-link-overlay{position:absolute;inset:0;z-index:2}.portfolio-list__category{position:absolute;z-index:3;left:10px;top:10px;background:#fff;color:var(--its-accent)!important;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:600;box-shadow:0 4px 12px rgba(20,40,80,.12)}.portfolio-list__image-stats{position:absolute;z-index:3;right:9px;bottom:9px;display:flex;gap:5px}.portfolio-list__stat{display:inline-flex;align-items:center;gap:4px;background:rgba(12,24,49,.8);color:#fff;border-radius:999px;padding:5px 8px;font-size:10px}.portfolio-list__stat svg{width:12px;height:12px}.portfolio-list__item-content{padding:13px 15px 16px;display:flex;flex-direction:column;gap:10px;flex:1}.portfolio-list__author{display:flex;align-items:center;gap:8px;color:var(--its-text)!important;font-size:12px}.portfolio-list__author-avatar{width:30px!important;height:30px!important;border-radius:50%;object-fit:cover}.portfolio-list__item-title,.portfolio-list__item-content h3{font-size:14px;font-weight:600;line-height:1.4;color:var(--its-text)!important;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.portfolio-list__item .info_bar{display:none!important}

/* Popular services */
.its-popular-services{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.its-popular-service{min-width:0;min-height:132px;background:#fff;border:1px solid var(--its-border);border-radius:14px;padding:14px;display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:13px;box-shadow:0 7px 20px rgba(31,55,103,.05);transition:.2s ease}.its-popular-service:hover{transform:translateY(-3px);border-color:var(--its-accent-border);box-shadow:var(--its-shadow-hover)}.its-popular-service__image{width:82px;height:82px;border-radius:12px;background:#edf2fb;overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--its-accent)}.its-popular-service__image img{width:100%;height:100%;object-fit:cover}.its-popular-service__content{display:flex;flex-direction:column;min-width:0;height:82px}.its-popular-service h3{font-size:13px;line-height:1.42;margin:0;color:var(--its-text);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.its-popular-service h3 a{color:var(--its-text)}.its-popular-service__meta{margin-top:auto;display:flex;align-items:center;gap:9px;color:var(--its-muted);font-size:11px;white-space:nowrap}.its-popular-service__meta span{display:inline-flex;align-items:center;gap:4px}.its-popular-service__meta svg{width:12px;height:12px}

/* Home article cards */
.its-article-list .portfolio-list__item-content{min-height:218px}.its-article-list__teaser{font-size:12px;line-height:1.55;color:var(--its-text-2);margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.its-article-list .info_bar{display:flex!important;margin-top:auto;min-height:42px;padding:10px 14px;border-top:1px solid var(--its-border);align-items:center;gap:12px;background:#fafcff}.its-article-list .info_bar .bar_item{display:inline-flex;align-items:center;gap:5px;line-height:1;font-size:11px;color:var(--its-muted)}.its-article-list .info_bar svg{width:13px;height:13px;vertical-align:middle}

/* Related widgets in sidebars */
.its-related-list{display:flex;flex-direction:column;gap:10px}.its-related-card{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important;min-height:90px!important;height:auto!important;width:100%!important;padding:8px!important;border:1px solid var(--its-border)!important;border-radius:12px!important;background:#fff!important;overflow:hidden}.its-related-card__media{width:76px!important;height:76px!important;border-radius:10px!important;background:var(--its-accent-soft)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}.its-related-card__media img{width:100%!important;height:100%!important;object-fit:cover!important}.its-related-card__media span{font-size:22px}.its-related-card__content{min-width:0;display:flex;flex-direction:column}.its-related-card__category{font-size:10px;color:var(--its-accent);font-weight:600}.its-related-card h3{font-size:13px;line-height:1.35;margin:3px 0 5px;word-break:normal!important;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.its-related-card h3 a{color:var(--its-text)}.its-related-card__meta{margin-top:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;color:var(--its-muted)}.its-related-card__meta span,.its-related-card__meta strong{display:inline-flex;align-items:center;gap:3px}.its-related-card__meta svg{width:11px;height:11px}

/* Categories */
.its-category-pills,.icms-content-subcats.its-category-pills{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:18px 0 24px;padding:0;list-style:none}.its-category-pill{min-height:38px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--its-accent-border);border-radius:999px;background:#fff;padding:7px 12px;color:var(--its-text)!important;font-size:12px;font-weight:600;transition:.2s ease}.its-category-pill svg{width:17px;height:17px;color:var(--its-accent)}.its-category-pill b{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--its-accent-soft);color:var(--its-accent);display:inline-flex;align-items:center;justify-content:center;font-size:10px}.its-category-pill:hover,.its-category-pill.is-active,.its-category-pill.active{background:var(--its-accent);border-color:var(--its-accent);color:#fff!important}.its-category-pill:hover svg,.its-category-pill.is-active svg{color:#fff}.its-category-pill:hover b,.its-category-pill.is-active b{background:rgba(255,255,255,.2);color:#fff}

/* Questions */
.its-section-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 24px;padding:28px 30px;background:#fff;border:1px solid var(--its-border);border-radius:var(--its-radius);box-shadow:var(--its-shadow)}.its-section-hero__eyebrow{color:var(--its-accent);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.its-section-hero h1{font-size:34px;margin:5px 0 7px}.its-section-hero p{color:var(--its-muted);margin:0;max-width:660px}.its-section-hero__actions{display:flex;align-items:center;gap:10px}.its-total-badge{border:1px solid var(--its-border);border-radius:999px;background:#f8faff;padding:9px 13px;font-size:12px}.its-total-badge b{color:var(--its-accent);font-size:15px}
.its-questions-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-bottom:14px}.its-questions-toolbar span{font-size:12px;color:var(--its-muted)}.its-questions-toolbar select{width:auto;min-width:180px}.its-questions-list{display:flex;flex-direction:column;gap:10px}.its-question-card{display:grid;grid-template-columns:64px minmax(0,1fr) 76px;align-items:center;gap:16px;padding:14px 16px;background:#fff;border:1px solid var(--its-border);border-radius:14px;box-shadow:0 5px 16px rgba(31,55,103,.045);transition:.2s ease}.its-question-card:hover{border-color:var(--its-accent-border);box-shadow:var(--its-shadow)}.its-question-card__avatar{width:64px;height:64px;border-radius:12px;overflow:hidden;background:#edf1f8}.its-question-card__avatar img{width:100%;height:100%;object-fit:cover}.its-question-card__body{min-width:0}.its-question-card__title{font-size:15px;font-weight:600;line-height:1.4;margin-bottom:7px}.its-question-card__title a{color:var(--its-text)}.its-question-card__solved{display:inline-flex;align-items:center;background:var(--its-green-soft);color:#158764;border-radius:999px;padding:3px 7px;font-size:9px;margin-right:6px;vertical-align:2px}.its-question-card__meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--its-muted);font-size:11px}.its-question-card__meta span{display:inline-flex;align-items:center;gap:4px}.its-question-card__meta span+span:before{content:"";width:3px;height:3px;background:#b5bfd0;border-radius:50%;margin-right:4px}.its-question-card__meta svg{width:12px;height:12px}.its-question-card__reward{color:#b76d00!important;font-weight:600}.its-question-card__answers{width:72px;min-height:62px;border:1px solid var(--its-border);border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--its-muted)!important}.its-question-card__answers b{font-size:21px;line-height:1}.its-question-card__answers span{font-size:9px;font-weight:600;margin-top:4px}.its-question-card__answers.has-answers{border-color:#a7dfc6;background:var(--its-green-soft);color:#168761!important}
.its-home-community .its-question-card{grid-template-columns:46px minmax(0,1fr) 60px;padding:10px}.its-home-community .its-question-card__avatar{width:46px;height:46px}.its-home-community .its-question-card__answers{width:58px;min-height:52px}.its-home-community .its-question-card__meta{font-size:10px}

/* Portfolio page and author widget */
.its-portfolio-toolbar{background:#fff;border:1px solid var(--its-border);border-radius:var(--its-radius);padding:14px 16px;margin-bottom:20px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.its-portfolio-toolbar .its-category-pills{margin:0;flex:1}.its-portfolio-search{display:flex;align-items:center;gap:8px;border:1px solid var(--its-border);border-radius:999px;background:#fff;padding:4px 5px 4px 12px;min-width:260px}.its-portfolio-search>svg{width:15px;color:var(--its-muted)}.its-portfolio-search input{border:0!important;box-shadow:none!important;min-height:32px!important;min-width:0;flex:1;padding:0;background:transparent!important}.its-portfolio-search .btn{min-height:32px;border-radius:999px}.its-portfolio-sort{margin-left:auto}.its-portfolio-sort .nav,.its-portfolio-sort .dropdown{margin:0}.its-portfolio-authors{display:flex;gap:10px;overflow-x:auto;padding:2px 0 14px;scrollbar-width:thin}.its-portfolio-author{flex:0 0 190px;display:flex;align-items:center;gap:10px;border:1px solid var(--its-border);border-radius:12px;background:#fff;padding:9px 11px;color:var(--its-text)!important}.its-portfolio-author:hover{border-color:var(--its-accent);background:var(--its-accent-soft)}.its-portfolio-author__avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;overflow:hidden}.its-portfolio-author__avatar img,.its-portfolio-author__avatar .avatar{width:100%!important;height:100%!important;object-fit:cover}.its-portfolio-author__text{min-width:0;display:flex;flex-direction:column}.its-portfolio-author__text strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.its-portfolio-author__text small{font-size:10px;color:var(--its-muted)}

/* Read list */
.its-read-list{display:flex;flex-direction:column;gap:18px}.its-read-card{display:grid;grid-template-columns:minmax(280px,34%) minmax(0,1fr);background:#fff;border:1px solid var(--its-border);border-radius:var(--its-radius);overflow:hidden;box-shadow:0 8px 24px rgba(31,55,103,.055)}.its-read-card__media{display:block;min-height:250px;background:#edf1f8}.its-read-card__media img{width:100%;height:100%!important;object-fit:cover;display:block}.its-read-card__content{padding:22px 24px;display:flex;flex-direction:column;min-width:0}.its-read-card__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.its-read-card__category{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:var(--its-accent);color:#fff!important;font-size:10px;font-weight:600}.its-read-card__category svg{width:12px;height:12px}.its-read-card__readtime{display:inline-flex;align-items:center;gap:5px;color:var(--its-muted);font-size:11px}.its-read-card h2{font-size:26px;margin:0 0 12px}.its-read-card h2 a{color:var(--its-text)}.its-read-card h2 a:hover{color:var(--its-accent)}.its-read-card p{color:var(--its-text-2);line-height:1.68;margin:0 0 18px}.its-read-card__meta{margin-top:auto;display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding-top:13px;border-top:1px solid var(--its-border)}.its-read-card__meta .bar_item{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--its-muted);line-height:1}.its-read-card__meta svg{width:13px;height:13px}.its-read-card__meta a{position:relative;z-index:2}

/* Internal content/service pages */
.its-item-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.its-item-head .portfolio-item-author{margin-left:2px!important;display:grid!important;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:10px}.its-item-head .portfolio-item-avatar,.its-item-head .portfolio-item-avatar img,.its-item-head .portfolio-item-avatar .avatar{width:50px!important;height:50px!important;border-radius:12px!important;object-fit:cover}.its-item-head .portfolio-item-meta{margin:0!important}.its-item-head .portfolio-item-author-name{margin:0!important;line-height:1.2}.its-item-head .portfolio-item-date{font-size:11px!important}.its-item-menu{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;margin:15px 0 20px!important;background:#fff;border:1px solid var(--its-border)!important;border-radius:12px!important}.its-item-menu .nav-item{margin:0}.its-item-menu .nav-link{border:0!important;border-radius:9px!important;padding:8px 12px;color:var(--its-text-2)}.its-item-menu .nav-link:hover,.its-item-menu .nav-link.active{background:var(--its-accent-soft);color:var(--its-accent)}
.content_item{background:#fff;border:1px solid var(--its-border);border-radius:var(--its-radius);padding:22px;box-shadow:var(--its-shadow)}.content_item .f_content>.value{font-size:17px;line-height:1.75;color:var(--its-text-2)}.content_item .f_content>.value h2{font-size:31px;margin:34px 0 15px}.content_item .f_content>.value h3{font-size:24px;margin:28px 0 12px}.content_item .f_content>.value img{height:auto;border-radius:12px}.content_item .f_nav>.value{width:100%;display:flex!important;align-items:center;justify-content:space-between!important;gap:18px;padding:16px 18px;border:1px solid var(--its-accent-border);border-radius:12px;background:var(--its-accent-soft)}.content_item .f_nav>.value>*:first-child{margin-right:auto}.content_item .f_nav>.value>*:last-child{margin-left:auto}
.its-toc-toggle{position:fixed;left:16px;top:45%;z-index:1010;border:1px solid var(--its-accent);border-radius:10px;background:#fff;color:var(--its-accent);padding:10px 11px;box-shadow:var(--its-shadow);display:flex;align-items:center;gap:7px;font-weight:600;transform:translateY(-50%);transition:.2s ease}.its-toc-toggle:hover{background:var(--its-accent);color:#fff;transform:translateY(-50%) translateX(3px)}.its-toc-toggle svg{width:16px;height:16px}.its-page-toc{position:fixed;left:0;top:0;bottom:0;width:min(360px,90vw);z-index:1060;background:#fff;box-shadow:18px 0 50px rgba(17,31,62,.2);transform:translateX(-105%);transition:transform .25s ease;padding:0;overflow-y:auto}.its-page-toc__head{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--its-border)}.its-page-toc__head button{width:36px;height:36px;border:0;border-radius:9px;background:var(--its-accent-soft);font-size:24px;line-height:1}.its-page-toc nav{padding:16px}.its-page-toc nav a{display:block;padding:9px 11px;border-radius:8px;color:var(--its-text);font-size:13px}.its-page-toc nav a:hover{background:var(--its-accent-soft);color:var(--its-accent)}.its-page-toc nav a.is-sub{padding-left:25px;font-size:12px;color:var(--its-muted)}.its-page-toc-backdrop{position:fixed;inset:0;z-index:1050;background:rgba(9,18,38,.42);opacity:0;visibility:hidden;transition:.2s}.its-toc-open .its-page-toc{transform:translateX(0)}.its-toc-open .its-page-toc-backdrop{opacity:1;visibility:visible}.its-toc-open{overflow:hidden}
.its-social-follow{margin:28px 0 18px;padding:18px 20px;border:1px solid var(--its-accent-border);border-radius:14px;background:var(--its-accent-soft);display:flex;align-items:center;justify-content:space-between;gap:20px}.its-social-follow__text{display:flex;align-items:center;gap:12px}.its-social-follow__text>span{width:44px;height:44px;border-radius:12px;background:var(--its-accent);color:#fff;display:flex;align-items:center;justify-content:center}.its-social-follow__text>span svg{width:20px}.its-social-follow__text div{display:flex;flex-direction:column}.its-social-follow__text strong{font-size:15px}.its-social-follow__text small{color:var(--its-muted);font-size:11px;margin-top:2px}.its-social-follow__links{display:flex;align-items:center;gap:8px}.its-social-follow__links a{width:42px;height:42px;border-radius:10px;background:#fff;border:1px solid var(--its-accent-border);display:flex;align-items:center;justify-content:center;color:var(--its-accent);font-size:17px}.its-social-follow__links a:hover{background:var(--its-accent);color:#fff;transform:translateY(-2px)}.its-social-follow__links svg{width:19px;height:19px}
.its-item-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap;padding:14px 0 0!important;margin-top:14px!important;border-top:1px solid var(--its-border)!important;min-height:46px}.its-item-actions .bar_item{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:30px!important;line-height:1!important;margin:0!important;font-size:12px;color:var(--its-muted)}.its-item-actions .bar_item svg{width:15px!important;height:15px!important;vertical-align:middle!important}.its-item-actions .bar_item img{vertical-align:middle}.its-item-actions .bar_item a{display:inline-flex;align-items:center;color:var(--its-accent)}

/* Profile */

/* Footer */
.its-footer{background:#101a35;color:#cbd5eb;padding:48px 0 0}.its-footer__grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:40px;align-items:start}.its-footer__brand{max-width:460px}.its-footer__brand-name{display:inline-block;color:#fff!important;font-size:24px;font-weight:800;letter-spacing:-.04em;margin-bottom:11px}.its-footer__brand p{color:#9eabc6;line-height:1.65}.its-footer__menu .nav{gap:7px}.its-footer__menu a{color:#dce5f8!important}.its-footer__menu a:hover{color:#fff!important}.its-footer__bottom{display:flex;align-items:center;justify-content:space-between;margin-top:34px;padding-top:18px;padding-bottom:20px;border-top:1px solid rgba(255,255,255,.1);font-size:12px;color:#8290ad}

/* Prevent ad placeholders in this template */
.itsnew-body .yandex-ad,.itsnew-body [id^="yandex_rtb_"]{display:none!important;min-height:0!important;height:0!important;margin:0!important;padding:0!important}

/* Responsive */
@media(max-width:1399.98px){
  .its-header__desktop-menu{display:none}.its-header__mobile-menu{display:block}.its-header__account{margin-left:auto}.its-header__logo{min-width:0}.its-header__inner{gap:10px}
}
@media(max-width:1199.98px){
  .its-hero__inner{grid-template-columns:minmax(0,1fr) 430px;gap:35px}.its-hero h1{font-size:48px}.its-popular-services{grid-template-columns:repeat(3,minmax(0,1fr))}.portfolio-list{grid-template-columns:repeat(3,minmax(0,1fr))}.its-toc-toggle span{display:none}.its-toc-toggle{left:8px}
}
@media(max-width:991.98px){
  .its-hero__inner{grid-template-columns:1fr;padding-top:55px}.its-hero__content{max-width:720px}.its-hero-live{min-height:360px}.its-home-community__grid{grid-template-columns:1fr}.itsnew-home .my_board_list{grid-template-columns:1fr 1fr}.portfolio-list{grid-template-columns:1fr 1fr}.its-popular-services{grid-template-columns:1fr 1fr}.its-read-card{grid-template-columns:300px minmax(0,1fr)}.its-read-card h2{font-size:22px}.board_cats{grid-template-columns:1fr 1fr}.its-section-hero{align-items:flex-start;flex-direction:column}.its-portfolio-toolbar{align-items:stretch}.its-portfolio-search{min-width:100%}
}
@media(max-width:767.98px){
  body.itsnew-body{font-size:15px}.its-header,.its-header__inner{height:64px}.its-logo-widget__desktop{max-width:132px}.its-header__account{gap:4px}.its-header__account .nav-link{width:38px;height:38px;min-width:38px;min-height:38px}.its-hero__inner{padding-top:38px;padding-bottom:45px}.its-hero h1{font-size:38px}.its-hero__content>p{font-size:16px}.its-hero-live__window{transform:none}.its-hero-live__pulse{display:none}.its-hero-live__card:nth-child(2),.its-hero-live__card:nth-child(3){margin:0}.its-home-sections .icms-widget__title,.its-home-community .icms-widget__title{font-size:24px}.itsnew-home .my_board_list{grid-template-columns:1fr}.portfolio-list{grid-template-columns:1fr 1fr}.its-popular-services{grid-template-columns:1fr}.its-home-community{padding:36px 0}.its-home-community__heading h2{font-size:28px}
  body:not(.itsnew-home) .my_board_list_item>.icms-content-fields{display:block}body:not(.itsnew-home) .my_board_list_item .myb_fields_footer{border-left:0;border-top:1px solid var(--its-border);padding:14px 0 0;margin-top:14px;min-width:0;align-items:flex-start;flex-direction:row}.board_cats{grid-template-columns:1fr}.its-question-card{grid-template-columns:48px minmax(0,1fr) 58px;gap:10px;padding:11px}.its-question-card__avatar{width:48px;height:48px}.its-question-card__answers{width:56px;min-height:52px}.its-question-card__meta span:nth-child(n+3){display:none}.its-read-card{grid-template-columns:1fr}.its-read-card__media{min-height:220px;aspect-ratio:16/9}.its-read-card__content{padding:18px}.its-read-card h2{font-size:21px}.its-section-hero{padding:22px}.its-section-hero h1{font-size:28px}.its-section-hero__actions{width:100%;justify-content:space-between}.its-item-head{align-items:flex-start}.its-item-head .portfolio-item-author{width:100%;order:3}.its-item-menu{overflow-x:auto;justify-content:flex-start}.content_item{padding:16px}.content_item .f_content>.value{font-size:16px}.content_item .f_content>.value h2{font-size:26px}.content_item .f_nav>.value{align-items:flex-start;flex-direction:column}.content_item .f_nav>.value>*{margin:0!important}.its-social-follow{align-items:flex-start;flex-direction:column}.its-social-follow__links{width:100%;justify-content:flex-start}.its-item-actions{align-items:flex-start!important}.its-footer__grid{grid-template-columns:1fr}.its-footer__bottom{align-items:flex-start;flex-direction:column;gap:5px}.its-toc-toggle{position:fixed;left:auto;right:12px;top:auto;bottom:18px;transform:none;border-radius:50%;width:48px;height:48px;justify-content:center}.its-toc-toggle:hover{transform:translateY(-2px)}
}
@media(max-width:575.98px){
  .its-header__logo{max-width:120px}.its-header__account .nav-link{border-radius:8px}.its-hero h1{font-size:34px}.its-hero__actions{display:grid;grid-template-columns:1fr}.its-hero__actions .btn{width:100%}.its-hero-live{min-height:320px}.its-hero-live__head{padding:0 12px}.its-hero-live__stream{padding:12px}.its-hero-live__stats{grid-template-columns:1fr;padding:0 12px 12px}.its-hero-live__stats span:nth-child(n+2){display:none}.portfolio-list{grid-template-columns:1fr}.portfolio-list__image-wrapper{height:230px}.its-category-pills{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.its-category-pill{flex:0 0 auto}.its-question-card{grid-template-columns:42px minmax(0,1fr)}.its-question-card__avatar{width:42px;height:42px}.its-question-card__answers{grid-column:2;width:auto;min-height:34px;flex-direction:row;justify-content:flex-start;gap:5px;padding:5px 10px}.its-question-card__answers b{font-size:16px}.its-question-card__answers span{margin:0}.its-popular-service{grid-template-columns:72px minmax(0,1fr)}.its-popular-service__image{width:72px;height:72px}.its-portfolio-author{flex-basis:170px}.its-section-hero__actions{align-items:stretch;flex-direction:column}.its-total-badge{text-align:center}.its-item-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}.its-item-actions .bar_item{min-width:0}.its-footer{padding-top:36px}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Portfolio functional widgets */
.its-portfolio-widget-zone{margin:0 0 16px}
.its-portfolio-widget-zone>.icms-widget{margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.its-portfolio-widget-zone .icms-widget__title{font-size:14px;margin:0 0 10px;padding:0;border:0}
.its-portfolio-toolbar--sort-only{justify-content:flex-end;padding:0;background:transparent;border:0;margin:-54px 0 14px;min-height:40px}
.its-portfolio-filter-widget{background:#fff;border:1px solid var(--its-border);border-radius:14px;padding:12px;box-shadow:0 8px 24px rgba(31,55,103,.05)}
.its-portfolio-filter-widget__fields{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.its-portfolio-filter-widget__field{flex:1 1 210px;min-width:0;margin:0!important}
.its-portfolio-filter-widget__field .form-group,.its-portfolio-filter-widget__field .input-group,.its-portfolio-filter-widget__field .chosen-container{margin:0!important;width:100%!important}
.its-portfolio-filter-widget__field label{display:none!important}
.its-portfolio-filter-widget__field input,.its-portfolio-filter-widget__field select{width:100%;margin:0!important}
.its-portfolio-filter-widget__field .chosen-single{height:44px!important;line-height:42px!important;border:1px solid var(--its-border)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
.its-portfolio-filter-widget__field .chosen-single div{top:9px}
.its-portfolio-filter-widget__submit,.its-portfolio-filter-widget__reset{flex:0 0 auto;margin:0!important}
.its-portfolio-widget-zone--categories .its-category-pills{margin:0;padding:0 0 4px}
.its-portfolio-widget-zone--authors{background:#edf3ff;border:1px solid var(--its-accent-border);border-radius:14px;padding:12px 12px 0}

@media(max-width:991.98px){
  .its-portfolio-toolbar--sort-only{margin:0 0 12px;justify-content:flex-start}
}
@media(max-width:767.98px){
  .its-portfolio-filter-widget__fields{display:grid;grid-template-columns:1fr 1fr}
  .its-portfolio-filter-widget__field{grid-column:1/-1}
  .its-portfolio-filter-widget__submit,.its-portfolio-filter-widget__reset{width:100%}
}
.its-portfolio-authors-widget__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 10px}.its-portfolio-authors-widget__head strong{font-size:14px}.its-portfolio-authors-widget__head span{font-size:10px;color:var(--its-muted);text-transform:uppercase;letter-spacing:.05em}

/* 0.5.1: reliable mobile navigation */
.its-header__mobile-menu{position:relative;z-index:1052}
.its-header__mobile-menu .icms-widget{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.its-header__mobile-menu .navbar-toggler{
  display:flex!important;
  align-items:center;
  justify-content:center;
  padding:0!important;
  color:var(--its-text)!important;
  background:#fff!important;
  border:1px solid var(--its-accent-border)!important;
  box-shadow:0 5px 15px rgba(31,55,103,.08);
}
.its-header__mobile-menu .navbar-toggler-icon{
  display:block!important;
  width:22px!important;
  height:16px!important;
  background-image:linear-gradient(var(--its-text),var(--its-text)),linear-gradient(var(--its-text),var(--its-text)),linear-gradient(var(--its-text),var(--its-text))!important;
  background-repeat:no-repeat!important;
  background-size:22px 2px!important;
  background-position:center top,center center,center bottom!important;
}
.its-header__mobile-menu .navbar-collapse{
  position:absolute!important;
  top:calc(100% + 12px);
  right:0;
  width:min(330px,calc(100vw - 24px));
  padding:10px;
  background:#fff;
  border:1px solid var(--its-border);
  border-radius:12px;
  box-shadow:var(--its-shadow-hover);
  z-index:1055;
}
.its-header__mobile-menu .navbar-collapse:not(.show){display:none!important}
.its-header__mobile-menu .navbar-collapse.show{display:block!important}
.its-header__mobile-menu .navbar-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:2px}
.its-header__mobile-menu .nav-item{width:100%}
.its-header__mobile-menu .nav-link{display:flex!important;align-items:center;justify-content:space-between;width:100%;padding:11px 12px!important;color:var(--its-text)!important;border-radius:8px;font-weight:600}
.its-header__mobile-menu .nav-link:hover,.its-header__mobile-menu .nav-item.active>.nav-link{background:var(--its-accent-soft);color:var(--its-accent)!important}
@media(min-width:1400px){.its-header__mobile-menu{display:none!important}}
@media(max-width:1399.98px){.its-header__mobile-menu{display:block!important}}
@media(max-width:575.98px){
  .its-header__inner{gap:7px}
  .its-header__account{max-width:calc(100vw - 190px);overflow:visible}
  .its-header__mobile-menu .navbar-collapse{position:fixed!important;top:68px;right:12px;left:12px;width:auto}
}

/* ITSNEW 0.5.2 refinements */

/* Two-level header: account tools above the main navigation */
.its-header{height:auto}
.its-header__utility{min-height:38px;background:#f7f9fd;border-bottom:1px solid #e7edf7}
.its-header__utility-inner{min-height:38px;display:flex;align-items:center;justify-content:flex-end}
.its-header__main{background:rgba(255,255,255,.98)}
.its-header__inner{height:68px}
.its-header__account{margin-left:0;min-height:38px;gap:6px}
.its-header__account .icms-widget{display:flex;align-items:center}
.its-header__account .nav-link{min-width:32px;min-height:32px;height:32px;padding:5px 8px!important;border:0;border-radius:8px;background:transparent}
.its-header__account .icms-user-menu__summary{min-height:32px;padding:3px 8px!important;border-radius:8px;background:#fff;border:1px solid var(--its-border)}
.its-header__account .icms-user-menu__nickname{color:var(--its-text)!important}
.its-header__account .icms-user-menu__nickname span{color:var(--its-text)!important}
.its-header__account .icms-user-avatar img{width:27px!important;height:27px!important;object-fit:cover}
.its-header__account .dropdown-menu{margin-top:5px}

/* Widget title actions */
.its-home-sections .icms-widget__title>a,
.its-home-community .icms-widget__title>a,
.its-home-extra .icms-widget__title>a,
.its-widget-title-actions a{
  min-height:36px;display:inline-flex;align-items:center;justify-content:center;
  padding:7px 13px!important;border:1px solid var(--its-accent-border)!important;
  border-radius:10px!important;background:var(--its-accent-soft)!important;
  color:var(--its-accent)!important;font-size:12px!important;font-weight:600!important;
  line-height:1.2;transition:.2s ease
}
.its-home-sections .icms-widget__title>a:hover,
.its-home-community .icms-widget__title>a:hover,
.its-home-extra .icms-widget__title>a:hover,
.its-widget-title-actions a:hover{
  background:var(--its-accent)!important;border-color:var(--its-accent)!important;
  color:#fff!important;transform:translateY(-1px);box-shadow:0 8px 18px rgba(56,103,214,.2)
}
.its-home-sections .icms-widget__title>a:last-child:not(:only-child),
.its-home-community .icms-widget__title>a:last-child:not(:only-child),
.its-home-extra .icms-widget__title>a:last-child:not(:only-child){background:var(--its-accent)!important;color:#fff!important;border-color:var(--its-accent)!important}
.its-home-sections .icms-widget__title>a:last-child:not(:only-child):hover,
.its-home-community .icms-widget__title>a:last-child:not(:only-child):hover,
.its-home-extra .icms-widget__title>a:last-child:not(:only-child):hover{background:var(--its-accent-dark)!important;border-color:var(--its-accent-dark)!important}

/* Task promotion actions */
.mybl_pay_btns{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-height:36px!important}
.mybl_pay_btns:empty{display:none!important}
.mybl_pay_btns a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;flex:0 0 36px!important;border:1px solid var(--its-accent-border)!important;border-radius:10px!important;background:#fff!important;box-shadow:0 4px 12px rgba(31,55,103,.06);overflow:hidden}
.mybl_pay_btns a:hover{background:var(--its-accent-soft)!important;border-color:var(--its-accent)!important;transform:translateY(-2px)}
.mybl_pay_btns a img{display:block!important;width:25px!important;height:25px!important;max-width:25px!important;object-fit:contain!important}
.itsnew-home .my_board_list_item .myb_fields_footer{align-items:center}

/* Popular services: one row on desktop, responsive tiles below */
.its-popular-services{grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch}
.its-popular-service{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;min-height:218px;padding:12px!important}
.its-popular-service__image{width:100%!important;height:auto!important;aspect-ratio:16/10;border-radius:10px!important}
.its-popular-service__image img{object-fit:cover}
.its-popular-service__content{height:auto!important;min-height:86px;flex:1}
.its-popular-service h3{font-size:13px;-webkit-line-clamp:2;min-height:37px}
.its-popular-service__meta{font-size:12px;justify-content:space-between;width:100%}

/* Read cards: no initial image zoom/cropping; zoom only on hover */
.its-read-card__media{overflow:hidden;display:flex;align-items:center;justify-content:center}
.its-read-card__media img{object-fit:contain!important;transform:scale(1)!important;transition:transform .35s ease;background:#edf1f8}
.its-read-card:hover .its-read-card__media img,.its-read-card__media:hover img{transform:scale(1.035)!important}

/* Community blocks */
.its-home-community__column>.icms-widget{background:#fff!important;border:1px solid var(--its-border)!important;border-radius:16px!important;box-shadow:0 10px 28px rgba(31,55,103,.06)!important;padding:0!important;overflow:hidden}
.its-home-community__column>.icms-widget>.icms-widget__title{padding:16px 18px!important;margin:0!important;font-size:20px!important;background:#fff;border-bottom:1px solid var(--its-border)!important}
.its-home-community__column>.icms-widget>.icms-widget__body{padding:18px!important}
.its-community-users{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.its-community-user{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;padding:9px 5px;border:1px solid transparent;border-radius:12px;color:var(--its-text)!important;text-align:center;transition:.2s ease}
.its-community-user:hover{background:var(--its-accent-soft);border-color:var(--its-accent-border);transform:translateY(-2px)}
.its-community-user__avatar{position:relative;width:58px;height:58px;display:block}
.its-community-user__avatar img,.its-community-user__avatar .avatar{width:58px!important;height:58px!important;border-radius:50%!important;object-fit:cover}
.its-community-user.is-online .its-community-user__avatar:after{content:"";position:absolute;right:1px;bottom:2px;width:12px;height:12px;border-radius:50%;background:var(--its-green);border:2px solid #fff}
.its-community-user__name{width:100%;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.its-community-users-list{display:flex;flex-direction:column;gap:9px}
.its-user-list-card{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid var(--its-border);border-radius:12px}
.its-user-list-card__avatar img{width:52px!important;height:52px!important;border-radius:50%;object-fit:cover}
.its-user-list-card__body h5{font-size:14px;margin:0 0 4px}
.its-activity-timeline{display:flex;flex-direction:column;gap:8px}
.its-activity-timeline__day{font-size:17px;margin:12px 0 6px;padding-bottom:8px;border-bottom:1px solid var(--its-border)}
.its-activity-timeline__day:first-child{margin-top:0}
.its-activity-event{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:start;padding:11px;border:1px solid var(--its-border);border-radius:12px;background:#fff}
.its-activity-event__avatar img,.its-activity-event__avatar .avatar{width:42px!important;height:42px!important;border-radius:50%!important;object-fit:cover}
.its-activity-event__text{font-size:13px;line-height:1.5;color:var(--its-text-2)}
.its-activity-event__text .author{font-weight:700}
.its-activity-event__meta{display:flex;align-items:center;gap:12px;margin-top:4px;font-size:11px;color:var(--its-muted)}
.its-activity-event__meta a{display:inline-flex;align-items:center;gap:4px}
.its-activity-event__images{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
.its-activity-event__images img{width:72px!important;height:56px!important;object-fit:cover;border-radius:8px}
.its-activity-event__actions .btn{min-width:30px;min-height:30px;height:30px;padding:4px}
.its-comments-feed{display:flex;flex-direction:column;gap:10px}
.its-comment-preview{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;padding:12px;border:1px solid var(--its-border);border-radius:12px;background:#fff}
.its-comment-preview__avatar img,.its-comment-preview__avatar .avatar{width:42px!important;height:42px!important;border-radius:50%!important;object-fit:cover}
.its-comment-preview__head{display:flex;align-items:center;gap:5px;min-width:0;font-size:13px;line-height:1.35}
.its-comment-preview__head .user{font-weight:700;flex:0 0 auto}
.its-comment-preview__head .subject{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.its-comment-preview__text{margin-top:6px;font-size:13px;line-height:1.5;color:var(--its-text-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.its-comment-preview__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;font-size:11px;color:var(--its-muted)}
.its-comment-preview__meta span{display:inline-flex;align-items:center;gap:4px}

/* Question hero action */
.its-section-hero>.btn,.its-section-hero__actions>.btn{flex:0 0 auto;white-space:nowrap;min-width:146px}

/* Footer menu restored as plain text links */
.its-footer__menu .icms-widget,.its-footer__menu .icms-widget__body,.its-footer__menu .navbar,.its-footer__menu .nav{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
.its-footer__menu .nav,.its-footer__menu .navbar-nav{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-end;align-items:center;gap:8px 20px!important}
.its-footer__menu .nav-item{margin:0!important}
.its-footer__menu .nav-link,.its-footer__menu a{padding:2px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#cbd5eb!important;font-size:13px;font-weight:500;box-shadow:none!important}
.its-footer__menu .nav-link:hover,.its-footer__menu a:hover{color:#fff!important;text-decoration:underline;text-underline-offset:4px}

@media(max-width:1199.98px){
  .its-popular-services{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:991.98px){
  .its-header__inner{height:64px}
  .its-community-users{grid-template-columns:repeat(4,minmax(0,1fr))}
  .its-popular-services{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767.98px){
  .its-header,.its-header__inner{height:auto}
  .its-header__utility{min-height:36px}
  .its-header__utility-inner{min-height:36px;padding-left:12px;padding-right:12px}
  .its-header__main .its-header__inner{height:62px}
  .its-header__account{width:100%;justify-content:flex-end}
  .its-header__account .icms-user-menu__nickname span{display:inline-block!important;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .its-header__mobile-menu .navbar-collapse{top:104px!important}
  .its-home-community__grid{gap:18px}
  .its-community-users{grid-template-columns:repeat(4,minmax(0,1fr))}
  .its-section-hero>.btn,.its-section-hero__actions>.btn{width:100%;min-width:0;align-self:stretch;margin-top:8px}
  .its-footer__menu .nav,.its-footer__menu .navbar-nav{justify-content:flex-start}
}
@media(max-width:575.98px){
  .its-popular-services{grid-template-columns:1fr!important}
  .its-popular-service{min-height:0;display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;align-items:center!important}
  .its-popular-service__image{width:92px!important;aspect-ratio:1/1}
  .its-popular-service__content{min-height:76px}
  .its-community-users{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .its-community-user__avatar,.its-community-user__avatar img,.its-community-user__avatar .avatar{width:52px!important;height:52px!important}
  .its-activity-event{grid-template-columns:38px minmax(0,1fr)}
  .its-activity-event__avatar img,.its-activity-event__avatar .avatar{width:38px!important;height:38px!important}
  .its-activity-event__actions{grid-column:2;justify-self:end;margin-top:-31px}
  .its-comment-preview{grid-template-columns:36px minmax(0,1fr);padding:10px}
  .its-comment-preview__avatar img,.its-comment-preview__avatar .avatar{width:36px!important;height:36px!important}
  .its-comment-preview__head{flex-wrap:wrap}
  .its-comment-preview__head .subject{max-width:100%}
}
@media(max-width:767.98px){
  .its-header__mobile-menu .navbar-collapse{position:fixed!important;top:104px!important;right:12px!important;left:12px!important;width:auto!important;max-height:calc(100vh - 116px);overflow-y:auto}
}

/* ITSNEW 0.5.3 — header, home widgets and authentication */

/* The logo widget contains two files. Show only the correct version. */
.its-logo-widget .its-logo-widget__desktop{display:block!important;max-width:170px;width:auto;height:auto}
.its-logo-widget .its-logo-widget__small{display:none!important;width:44px;height:44px}

/* Guest login must look like an action, not an unexplained icon. */
.its-header__account .login-icon .nav-link{
  width:auto!important;min-width:92px!important;padding:5px 12px!important;
  gap:7px;border:1px solid var(--its-accent-border)!important;
  border-radius:9px!important;background:#fff!important;color:var(--its-accent)!important;
  font-weight:700;font-size:13px
}
.its-header__account .login-icon .nav-link::after{content:"Войти";display:inline-block;line-height:1}
.its-header__account .login-icon .nav-link:hover{
  color:#fff!important;background:var(--its-accent)!important;border-color:var(--its-accent)!important;
  box-shadow:0 7px 18px rgba(56,103,214,.2)
}
.its-header__account .login-icon .nav-link svg{width:15px;height:15px}

/* Widget title actions */
.its-widget-title-actions{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}
.its-widget-title-actions .its-widget-action{
  min-height:38px!important;padding:8px 14px!important;border-radius:9px!important;
  font-size:12px!important;font-weight:700!important;line-height:1!important;
  transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease
}
.its-widget-title-actions .its-widget-action--secondary{
  color:var(--its-accent)!important;background:#fff!important;border:1px solid var(--its-accent-border)!important
}
.its-widget-title-actions .its-widget-action--secondary:hover{
  color:#fff!important;background:var(--its-accent)!important;border-color:var(--its-accent)!important;
  transform:translateY(-1px);box-shadow:0 8px 18px rgba(56,103,214,.18)
}
.its-widget-title-actions .its-widget-action--primary{
  color:#fff!important;background:var(--its-accent)!important;border:1px solid var(--its-accent)!important;
  box-shadow:0 7px 17px rgba(56,103,214,.19)
}
.its-widget-title-actions .its-widget-action--primary:hover{
  background:var(--its-accent-dark)!important;border-color:var(--its-accent-dark)!important;
  transform:translateY(-1px);box-shadow:0 10px 22px rgba(56,103,214,.26)
}

/* Popular services — vertical tiles in one desktop row. */
.its-popular-services{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:14px!important;align-items:stretch!important;width:100%
}
.its-popular-service{
  min-width:0!important;min-height:250px!important;display:flex!important;flex-direction:column!important;
  align-items:stretch!important;gap:0!important;padding:0!important;overflow:hidden;
  background:#fff!important;border:1px solid var(--its-border)!important;border-radius:14px!important;
  box-shadow:0 8px 24px rgba(31,55,103,.055)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease
}
.its-popular-service:hover{transform:translateY(-4px);border-color:var(--its-accent-border)!important;box-shadow:var(--its-shadow-hover)!important}
.its-popular-service__image{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:auto!important;aspect-ratio:16/10!important;
  border-radius:0!important;background:#eef3fb!important;overflow:hidden!important
}
.its-popular-service__image img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .3s ease}
.its-popular-service:hover .its-popular-service__image img{transform:scale(1.035)}
.its-popular-service__placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--its-accent);font-size:28px}
.its-popular-service__content{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;height:auto!important;min-height:112px!important;padding:12px 13px 13px!important}
.its-popular-service__category{
  display:block;width:max-content;max-width:100%;margin:0 0 7px;color:var(--its-accent)!important;
  font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.035em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.its-popular-service h3{margin:0!important;min-height:39px!important;font-size:13px!important;line-height:1.48!important;-webkit-line-clamp:2!important}
.its-popular-service h3 a{color:var(--its-text)!important}
.its-popular-service h3 a:hover{color:var(--its-accent)!important}
.its-popular-service__meta{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
  width:100%!important;margin-top:auto!important;padding-top:10px!important;color:var(--its-muted)!important;
  font-size:12px!important;line-height:1.2!important;white-space:nowrap
}
.its-popular-service__meta span{display:inline-flex;align-items:center;gap:4px}
.its-popular-service__meta svg{width:12px;height:12px}

/* Community section spacing and stable columns. */
.its-home-community__grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important;align-items:start!important}
.its-home-community__column{display:flex!important;flex-direction:column!important;gap:22px!important;min-width:0!important}
.its-home-community__column>.icms-widget{
  width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important;
  background:#fff!important;border:1px solid var(--its-border)!important;border-radius:15px!important;
  box-shadow:0 9px 25px rgba(31,55,103,.055)!important
}
.its-home-community__column>.icms-widget>.icms-widget__title{
  min-height:58px!important;display:flex!important;align-items:center!important;gap:12px!important;
  margin:0!important;padding:13px 16px!important;border-bottom:1px solid var(--its-border)!important;
  background:#fff!important;font-size:18px!important;line-height:1.25!important
}
.its-home-community__column>.icms-widget>.icms-widget__title>span:first-child{min-width:0}
.its-home-community__column>.icms-widget>.icms-widget__body{min-width:0!important;padding:16px!important}

/* New users */
.its-community-users{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;align-items:start!important
}
.its-community-user{
  min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;
  gap:7px!important;padding:9px 5px!important;border:1px solid transparent!important;border-radius:11px!important;
  color:var(--its-text)!important;text-align:center!important
}
.its-community-user:hover{background:var(--its-accent-soft)!important;border-color:var(--its-accent-border)!important}
.its-community-user__avatar,.its-community-user__avatar>a,.its-community-user__avatar>span{
  display:block!important;width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important
}
.its-community-user__avatar img,.its-community-user__avatar .avatar,.its-community-user__avatar [class*="avatar"]{
  display:block!important;width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;
  max-width:58px!important;max-height:58px!important;border-radius:50%!important;object-fit:cover!important;overflow:hidden!important
}
.its-community-user__name{display:block;width:100%;font-size:11px!important;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Activity timeline */
.its-activity-timeline{display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0}
.its-activity-timeline__day{margin:8px 0 2px!important;padding:0 0 8px!important;border-bottom:1px solid var(--its-border)!important;font-size:17px!important}
.its-activity-timeline__day:first-child{margin-top:0!important}
.its-activity-event{
  display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;gap:11px!important;
  align-items:start!important;min-width:0!important;padding:11px 12px!important;
  background:#fbfcff!important;border:1px solid var(--its-border)!important;border-radius:11px!important
}
.its-activity-event__body,.its-activity-event__text{min-width:0!important;overflow-wrap:anywhere}
.its-activity-event__text{font-size:13px!important;line-height:1.5!important}
.its-activity-event__meta{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin-top:5px!important;font-size:11px!important}

/* New comments: work both with and without avatars. */
.its-comments-feed{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important}
.its-comment-preview{
  display:block!important;min-width:0!important;padding:12px 13px!important;
  background:#fbfcff!important;border:1px solid var(--its-border)!important;border-radius:11px!important
}
.its-comment-preview.has-avatar{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:11px!important}
.its-comment-preview__body{min-width:0!important;max-width:100%!important}
.its-comment-preview__head{
  display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;max-width:100%!important;
  font-size:13px!important;line-height:1.35!important
}
.its-comment-preview__head .user{flex:0 0 auto;max-width:38%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}
.its-comment-preview__head .subject{display:block;min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-weight:600}
.its-comment-preview__arrow{flex:0 0 auto;color:var(--its-muted)}
.its-comment-preview__text{margin-top:7px!important;font-size:13px!important;line-height:1.5!important;color:var(--its-text-2)!important;overflow-wrap:anywhere!important;word-break:normal!important}
.its-comment-preview__meta{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;flex-wrap:wrap!important;margin-top:8px!important;font-size:11px!important}

/* Questions hero action remains readable and responsive. */
.its-questions-page .its-section-hero{align-items:center!important}
.its-questions-page .its-section-hero>.btn{
  flex:0 0 auto!important;width:auto!important;min-width:154px!important;max-width:230px!important;
  white-space:normal!important;text-align:center!important;padding:11px 18px!important
}

/* Footer menu: plain links without a light widget/card background. */
.its-footer__menu,.its-footer__menu .icms-widget,.its-footer__menu .card,.its-footer__menu .card-body,
.its-footer__menu .icms-widget__body,.its-footer__menu .navbar,.its-footer__menu .navbar-collapse,
.its-footer__menu .nav,.its-footer__menu .navbar-nav{
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;min-height:0!important
}
.its-footer__menu .nav,.its-footer__menu .navbar-nav{
  display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:flex-end!important;
  gap:8px 20px!important
}
.its-footer__menu .nav-link,.its-footer__menu a{
  padding:2px 0!important;background:transparent!important;border:0!important;border-radius:0!important;
  color:#cbd5eb!important;font-size:13px!important;font-weight:500!important;box-shadow:none!important
}
.its-footer__menu .nav-link:hover,.its-footer__menu a:hover{color:#fff!important;text-decoration:underline!important;text-underline-offset:4px}

/* Authentication and registration */
.its-auth-card{
  width:100%;max-width:680px;margin:0 auto;padding:30px;background:#fff;border:1px solid var(--its-border);
  border-radius:16px;box-shadow:0 18px 50px rgba(22,42,83,.13);color:var(--its-text)
}
.its-auth-card--login{max-width:620px}
.its-auth-card__header{display:flex;align-items:flex-start;gap:15px;margin:0 0 24px;padding:0 0 21px;border-bottom:1px solid var(--its-border)}
.its-auth-card__icon{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border-radius:12px;background:var(--its-accent-soft);color:var(--its-accent)}
.its-auth-card__icon svg{width:21px;height:21px}
.its-auth-card__header>div{min-width:0;padding-top:1px}
.its-auth-card__header h1{margin:0 0 5px!important;font-size:27px!important;font-weight:700!important;line-height:1.18!important;color:var(--its-text)!important}
.its-auth-card__header p{max-width:540px;margin:0;color:var(--its-muted);font-size:13px;line-height:1.5}
.its-auth-card__form,.its-auth-card__form form,.its-auth-card__form .form-tabs,.its-auth-card__form .icms-form-body{width:100%;min-width:0}
.its-auth-card__form form,.its-auth-card__form fieldset{margin:0!important}
.its-auth-card__form fieldset{min-width:0;padding:0!important;border:0!important}
.its-auth-card__form fieldset legend{
  float:none!important;width:100%!important;max-width:none!important;margin:0 0 15px!important;padding:0!important;
  color:var(--its-text)!important;font-size:14px!important;font-weight:700!important;line-height:1.3!important
}
.its-auth-card--registration .its-auth-card__form fieldset+fieldset{
  margin-top:25px!important;padding-top:22px!important;border-top:1px solid var(--its-border)!important
}
.its-auth-card__form .form-group,.its-auth-card__form .field{margin:0 0 17px!important}
.its-auth-card__form fieldset>.form-group:last-child,.its-auth-card__form fieldset>.field:last-child{margin-bottom:0!important}
.its-auth-card__form label{display:block;margin:0 0 7px;color:var(--its-text-2);font-size:13px;font-weight:600;line-height:1.35}
.its-auth-card__form .form-control,.its-auth-card__form input[type="text"],.its-auth-card__form input[type="email"],.its-auth-card__form input[type="password"],.its-auth-card__form select{
  width:100%!important;min-height:48px!important;padding:10px 13px!important;background:#fff!important;border:1px solid var(--its-border)!important;border-radius:10px!important;color:var(--its-text)!important;box-shadow:none!important
}
.its-auth-card__form input:-webkit-autofill,.its-auth-card__form input:-webkit-autofill:hover,.its-auth-card__form input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--its-text)!important;-webkit-box-shadow:0 0 0 1000px #fff inset!important;box-shadow:0 0 0 1000px #fff inset!important
}
.its-auth-card__form input:focus,.its-auth-card__form select:focus{border-color:var(--its-accent)!important;box-shadow:0 0 0 3px rgba(56,103,214,.12)!important;outline:0!important}
.its-auth-card__form .input-group{align-items:stretch}
.its-auth-card__form .input-group>.form-control{min-width:0}
.its-auth-card__form .input-group-append .btn,.its-auth-card__form .input-group-prepend .btn{min-height:48px;border-color:var(--its-border)!important}
.its-auth-card__form .icms-forms-hint{margin-top:6px!important;line-height:1.45}
.its-auth-card__form .hint,.its-auth-card__form .form-text{font-size:11px!important;color:var(--its-muted)!important}
.its-auth-card__form .custom-control{min-height:24px;margin:2px 0 0;padding-top:1px}
.its-auth-card__form .custom-control-label{margin-bottom:0!important;font-weight:500!important;line-height:1.45!important}
.its-auth-card__form .g-recaptcha,.its-auth-card__form [class*="recaptcha"]{max-width:100%;margin-top:3px}
.its-auth-card__form iframe{max-width:100%}
.its-auth-card__form .buttons,.its-auth-card__form .form-buttons{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin:24px 0 0!important;padding:0!important}
.its-auth-card__form button[type="submit"],.its-auth-card__form input[type="submit"]{min-width:132px!important;min-height:44px!important;padding:10px 18px!important;background:var(--its-accent)!important;border:1px solid var(--its-accent)!important;color:#fff!important;border-radius:10px!important;font-weight:700!important;box-shadow:0 6px 14px rgba(56,103,214,.16)!important}
.its-auth-card__form button[type="submit"]:hover,.its-auth-card__form input[type="submit"]:hover{background:var(--its-accent-dark)!important;border-color:var(--its-accent-dark)!important}
.its-auth-card__switch{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid var(--its-border);font-size:12px;color:var(--its-muted)}
.its-auth-card__switch a{font-weight:700}
.its-auth-social{margin-top:22px;text-align:center}
.its-auth-social__title{display:flex;align-items:center;gap:12px;margin:0 0 14px;color:var(--its-muted);font-size:11px}
.its-auth-social__title:before,.its-auth-social__title:after{content:"";height:1px;flex:1;background:var(--its-border)}
.its-auth-social h2{margin:0 0 13px;font-size:14px!important;font-weight:600!important}
.its-auth-social__buttons{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}
.its-auth-social__buttons a,.its-auth-social__buttons button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:44px!important;height:44px!important;border-radius:10px!important}
#icms_modal.its-auth-modal .modal-dialog{width:calc(100% - 32px)!important;max-width:620px!important;margin:28px auto!important}
#icms_modal.its-auth-modal .modal-content{overflow:hidden;width:100%!important;background:#fff!important;border:0!important;border-radius:17px!important;box-shadow:0 28px 80px rgba(8,19,45,.28)!important}
#icms_modal.its-auth-modal .modal-header{min-height:64px;padding:18px 26px!important;background:#fff!important;border-bottom:1px solid var(--its-border)!important;color:var(--its-text)!important}
#icms_modal.its-auth-modal .modal-title{margin:0!important;font-size:20px!important;font-weight:700!important;line-height:1.3!important;color:var(--its-text)!important}
#icms_modal.its-auth-modal .modal-close{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px!important;background:var(--its-accent-soft)!important;color:var(--its-accent)!important}
#icms_modal.its-auth-modal .modal-close svg{width:15px;height:15px;fill:currentColor}
#icms_modal.its-auth-modal .modal-body{width:100%!important;padding:0!important;background:#fff!important}
#icms_modal.its-auth-modal .its-auth-card{width:100%!important;max-width:100%!important;margin:0!important;padding:26px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#icms_modal.its-auth-modal .its-auth-card__form,#icms_modal.its-auth-modal .its-auth-card__form form,#icms_modal.its-auth-modal .its-auth-card__form .form-tabs,#icms_modal.its-auth-modal .its-auth-card__form .icms-form-body{width:100%!important;max-width:none!important}
#icms_modal.its-auth-modal .its-auth-card__form .buttons{margin-top:22px!important}

@media(max-width:1199.98px){
  .its-popular-services{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .its-community-users{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:991.98px){
  .its-home-community__grid{grid-template-columns:1fr!important}
  .its-popular-services{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767.98px){
  .its-logo-widget .its-logo-widget__desktop{display:none!important}
  .its-logo-widget .its-logo-widget__small{display:block!important}
  .its-header__logo{min-width:48px!important;max-width:48px!important}
  .its-header__account .login-icon .nav-link{min-width:86px!important;padding-left:10px!important;padding-right:10px!important}
  .its-home-community__column{gap:16px!important}
  .its-home-community__column>.icms-widget>.icms-widget__title{min-height:54px!important;padding:12px 14px!important;font-size:17px!important}
  .its-home-community__column>.icms-widget>.icms-widget__body{padding:14px!important}
  .its-community-users{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .its-activity-event{grid-template-columns:40px minmax(0,1fr)!important}
  .its-activity-event__actions{grid-column:2;justify-self:end;margin-top:-33px}
  .its-questions-page .its-section-hero{align-items:stretch!important}
  .its-questions-page .its-section-hero>.btn{width:100%!important;max-width:none!important;margin-top:10px!important}
  .its-footer__menu .nav,.its-footer__menu .navbar-nav{justify-content:flex-start!important}
  #icms_modal.its-auth-modal .modal-dialog{width:calc(100% - 20px)!important;max-width:none!important;margin:10px!important}
  #icms_modal.its-auth-modal .modal-body{padding:0!important}
  #icms_modal.its-auth-modal .its-auth-card{padding:20px!important}
  .its-auth-card{padding:22px}
}
@media(max-width:575.98px){
  .its-popular-services{grid-template-columns:1fr!important}
  .its-popular-service{min-height:0!important;display:grid!important;grid-template-columns:105px minmax(0,1fr)!important;align-items:stretch!important}
  .its-popular-service__image{width:105px!important;height:100%!important;min-height:125px!important;aspect-ratio:auto!important}
  .its-popular-service__content{min-height:125px!important;padding:12px!important}
  .its-community-users{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  .its-comment-preview.has-avatar{grid-template-columns:36px minmax(0,1fr)!important;gap:9px!important}
  .its-comment-preview__head{flex-wrap:wrap!important}
  .its-comment-preview__head .user{max-width:100%}
  .its-comment-preview__head .subject{flex-basis:calc(100% - 20px)}
  .its-widget-title-actions{gap:6px}
  .its-widget-title-actions .its-widget-action{min-height:36px!important;padding:7px 11px!important}
  .its-auth-card__header{gap:11px}
  .its-auth-card__icon{flex-basis:42px;width:42px;height:42px}
  .its-auth-card__header h1{font-size:23px!important}
  .its-auth-card__form .buttons,.its-auth-card__form .form-buttons{display:grid!important;grid-template-columns:1fr!important}
  .its-auth-card__form button,.its-auth-card__form .btn,.its-auth-card__form input[type="submit"]{width:100%!important}
}

/* The current home widget uses list_rate; turn that exact widget into service tiles. */
#widget_wrapper_246 .its-related-list{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:14px!important;align-items:stretch!important
}
#widget_wrapper_246 .its-related-card{
  display:flex!important;flex-direction:column!important;gap:0!important;
  min-width:0!important;width:100%!important;min-height:250px!important;height:100%!important;
  padding:0!important;overflow:hidden!important;border-radius:14px!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease
}
#widget_wrapper_246 .its-related-card:hover{transform:translateY(-4px);border-color:var(--its-accent-border)!important;box-shadow:var(--its-shadow-hover)!important}
#widget_wrapper_246 .its-related-card__media{
  width:100%!important;height:auto!important;aspect-ratio:16/10!important;
  border-radius:0!important;background:#eef3fb!important
}
#widget_wrapper_246 .its-related-card__media img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .3s ease}
#widget_wrapper_246 .its-related-card:hover .its-related-card__media img{transform:scale(1.035)}
#widget_wrapper_246 .its-related-card__content{flex:1 1 auto!important;min-height:112px!important;padding:12px 13px 13px!important}
#widget_wrapper_246 .its-related-card__category{
  display:block;width:max-content;max-width:100%;margin-bottom:5px;
  font-size:10px!important;text-transform:uppercase;letter-spacing:.035em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
#widget_wrapper_246 .its-related-card h3{min-height:39px!important;margin:0!important;font-size:13px!important;line-height:1.48!important}
#widget_wrapper_246 .its-related-card__meta{
  width:100%;margin-top:auto!important;padding-top:10px!important;
  justify-content:space-between!important;font-size:12px!important;white-space:nowrap
}
@media(max-width:1199.98px){#widget_wrapper_246 .its-related-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:991.98px){#widget_wrapper_246 .its-related-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:575.98px){
  #widget_wrapper_246 .its-related-list{grid-template-columns:1fr!important}
  #widget_wrapper_246 .its-related-card{display:grid!important;grid-template-columns:105px minmax(0,1fr)!important;min-height:125px!important}
  #widget_wrapper_246 .its-related-card__media{width:105px!important;height:100%!important;min-height:125px!important;aspect-ratio:auto!important}
  #widget_wrapper_246 .its-related-card__content{min-height:125px!important}
}

/* ITSNEW 0.5.4 — portfolio images and community section spacing/adaptation. */
body.itsnew-body img{
  max-width:100%;
  height:auto;
}
.portfolio-list__responsive-image{
  width:100%;
  height:100%!important;
  object-fit:fill!important;
  display:block;
  transform:scale(1);
  transition:transform .35s ease;
}
.portfolio-list__item:hover .portfolio-list__responsive-image,
.portfolio-list__image-wrapper:hover .portfolio-list__responsive-image{
  transform:scale(1.035);
}

/* Stable spacing for the community section. */
.its-home-community{
  padding:56px 0 64px!important;
}
.its-home-community>.container{
  padding-left:24px!important;
  padding-right:24px!important;
}
.its-home-community__heading{
  margin-bottom:36px!important;
}
.its-home-community__grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:28px!important;
  align-items:start!important;
}
.its-home-community__column{
  display:flex!important;
  flex-direction:column!important;
  gap:24px!important;
  min-width:0!important;
}
.its-home-community__column>.icms-widget{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid var(--its-border)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(31,55,103,.06)!important;
}
.its-home-community__column>.icms-widget>.icms-widget__title{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  min-height:62px!important;
  margin:0!important;
  padding:16px 18px!important;
  border-bottom:1px solid var(--its-border)!important;
  background:#fff!important;
  font-size:18px!important;
  line-height:1.3!important;
}
.its-home-community__column>.icms-widget>.icms-widget__body{
  min-width:0!important;
  padding:18px!important;
}

/* Users: equal cells, predictable names and spacing. */
.its-community-users{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:16px 12px!important;
  align-items:start!important;
}
.its-community-user{
  min-width:0!important;
  padding:8px 4px!important;
  gap:8px!important;
}
.its-community-user__avatar,
.its-community-user__avatar>a,
.its-community-user__avatar>span,
.its-community-user__avatar img,
.its-community-user__avatar .avatar,
.its-community-user__avatar [class*="avatar"]{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  min-height:58px!important;
  max-width:58px!important;
  max-height:58px!important;
}
.its-community-user__name{
  max-width:100%!important;
  font-size:11px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Activity and comments: comfortable padding and no squeezed text. */
.its-activity-timeline,
.its-comments-feed{
  gap:12px!important;
}
.its-activity-timeline__day{
  margin:10px 0 4px!important;
  padding:0 0 10px!important;
}
.its-activity-event{
  grid-template-columns:42px minmax(0,1fr) auto!important;
  gap:12px!important;
  padding:12px 14px!important;
  align-items:center!important;
}
.its-activity-event__body,
.its-comment-preview__body{
  min-width:0!important;
  width:100%!important;
}
.its-comment-preview{
  min-width:0!important;
  padding:14px 15px!important;
}
.its-comment-preview.has-avatar{
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:12px!important;
}
.its-comment-preview__head{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
}
.its-comment-preview__head .user{
  flex:0 0 auto!important;
  max-width:36%!important;
}
.its-comment-preview__head .subject{
  flex:1 1 auto!important;
  min-width:0!important;
}
.its-comment-preview__text{
  margin-top:8px!important;
  line-height:1.55!important;
}
.its-comment-preview__meta{
  margin-top:9px!important;
}

@media(max-width:1199.98px){
  .its-home-community>.container{padding-left:20px!important;padding-right:20px!important}
  .its-home-community__grid{gap:22px!important}
  .its-community-users{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:991.98px){
  .its-home-community{padding:46px 0 52px!important}
  .its-home-community__grid{grid-template-columns:1fr!important;gap:22px!important}
  .its-home-community__column{gap:22px!important}
}
@media(max-width:767.98px){
  .its-home-community{padding:38px 0 44px!important}
  .its-home-community>.container{padding-left:15px!important;padding-right:15px!important}
  .its-home-community__heading{margin-bottom:26px!important}
  .its-home-community__column{gap:18px!important}
  .its-home-community__column>.icms-widget>.icms-widget__title{
    min-height:56px!important;
    padding:13px 14px!important;
    font-size:17px!important;
  }
  .its-home-community__column>.icms-widget>.icms-widget__body{padding:14px!important}
  .its-community-users{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px 8px!important}
  .its-activity-event{grid-template-columns:40px minmax(0,1fr)!important;align-items:start!important}
  .its-activity-event__actions{grid-column:2!important;justify-self:end!important;margin-top:-34px!important}
  .its-comment-preview.has-avatar{grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important}
}
@media(max-width:575.98px){
  .its-home-community{padding:32px 0 38px!important}
  .its-home-community__grid{gap:16px!important}
  .its-home-community__column{gap:16px!important}
  .its-home-community__column>.icms-widget{border-radius:13px!important}
  .its-home-community__column>.icms-widget>.icms-widget__title{
    min-height:52px!important;
    padding:11px 12px!important;
    gap:8px!important;
    font-size:16px!important;
  }
  .its-home-community__column>.icms-widget>.icms-widget__body{padding:12px!important}
  .its-community-users{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 7px!important}
  .its-community-user__avatar,
  .its-community-user__avatar>a,
  .its-community-user__avatar>span,
  .its-community-user__avatar img,
  .its-community-user__avatar .avatar,
  .its-community-user__avatar [class*="avatar"]{
    width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important
  }
  .its-activity-event{padding:11px!important;gap:9px!important}
  .its-comment-preview{padding:12px!important}
  .its-comment-preview__head{align-items:flex-start!important;flex-wrap:wrap!important}
  .its-comment-preview__head .user{max-width:100%!important}
  .its-comment-preview__head .subject{flex-basis:calc(100% - 22px)!important}
}
@media(max-width:359.98px){
  .its-community-users{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ITSNEW 0.5.5 — отдельная плитка популярных сервисов на главной. */
.its-home-services-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:16px!important;
  width:100%!important;
  align-items:stretch!important;
}
.its-home-service-card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  height:100%!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid var(--its-border)!important;
  border-radius:14px!important;
  box-shadow:0 8px 24px rgba(31,55,103,.055)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
.its-home-service-card:hover{
  transform:translateY(-4px)!important;
  border-color:var(--its-accent-border)!important;
  box-shadow:var(--its-shadow-hover)!important;
}
.its-home-service-card__media{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  aspect-ratio:16/10!important;
  overflow:hidden!important;
  background:#eef3fb!important;
}
.its-home-service-card__media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transform:scale(1)!important;
  transition:transform .32s ease!important;
}
.its-home-service-card:hover .its-home-service-card__media img{
  transform:scale(1.035)!important;
}
.its-home-service-card__placeholder{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  color:var(--its-accent)!important;
  font-size:30px!important;
}
.its-home-service-card__content{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:128px!important;
  padding:14px 15px 15px!important;
}
.its-home-service-card__category{
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 0 8px!important;
  color:var(--its-accent)!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1.25!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.its-home-service-card__title{
  min-height:42px!important;
  margin:0!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.5!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
}
.its-home-service-card__title a{color:var(--its-text)!important}
.its-home-service-card__title a:hover{color:var(--its-accent)!important}
.its-home-service-card__meta{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  margin-top:auto!important;
  padding-top:12px!important;
  color:var(--its-muted)!important;
  font-size:12px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.its-home-service-card__meta span,
.its-home-service-card__meta time{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
}
.its-home-service-card__meta svg{width:12px!important;height:12px!important}

/* Более свободные внутренние отступы в блоках сообщества. */
.its-home-community__column .icms-widget{
  box-sizing:border-box!important;
}
.its-home-community__column .icms-widget > .card-header,
.its-home-community__column .icms-widget > .icms-widget__title{
  padding:18px 22px!important;
}
.its-home-community__column .icms-widget > .card-body,
.its-home-community__column .icms-widget > .icms-widget__body{
  padding:22px!important;
}
.its-home-community__column .widget_profiles_list,
.its-home-community__column .its-activity-timeline,
.its-home-community__column .its-comments-feed,
.its-home-community__column .its-questions-widget-list{
  width:100%!important;
  min-width:0!important;
}
.its-home-community__column .its-community-users{
  padding:2px!important;
}
.its-home-community__column .its-activity-event,
.its-home-community__column .its-comment-preview{
  margin:0!important;
}
.its-home-community__column .its-activity-timeline__day{
  padding-left:2px!important;
  padding-right:2px!important;
}

@media(max-width:1199.98px){
  .its-home-services-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:991.98px){
  .its-home-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .its-home-community__column .icms-widget > .card-header,
  .its-home-community__column .icms-widget > .icms-widget__title{padding:16px 18px!important}
  .its-home-community__column .icms-widget > .card-body,
  .its-home-community__column .icms-widget > .icms-widget__body{padding:18px!important}
}
@media(max-width:575.98px){
  .its-home-services-grid{grid-template-columns:1fr!important;gap:12px!important}
  .its-home-service-card{
    display:grid!important;
    grid-template-columns:112px minmax(0,1fr)!important;
    min-height:132px!important;
  }
  .its-home-service-card__media{
    width:112px!important;
    height:100%!important;
    min-height:132px!important;
    aspect-ratio:auto!important;
  }
  .its-home-service-card__content{min-height:132px!important;padding:13px!important}
  .its-home-service-card__title{min-height:auto!important}
  .its-home-community__column .icms-widget > .card-header,
  .its-home-community__column .icms-widget > .icms-widget__title{padding:14px 15px!important}
  .its-home-community__column .icms-widget > .card-body,
  .its-home-community__column .icms-widget > .icms-widget__body{padding:15px!important}
}


/* ITSNEW 0.5.7: карточки заданий, VIP-акцент и современные действия. */
.itsnew-home .my_board_list_item.is_vip .f_title h3 a,
.itsnew-home .my_board_list_item.is_vip .f_title h3 a:visited {
  color:#dc143c!important;
}
.itsnew-home .my_board_list_item.is_vip .f_title h3 a:hover,
.itsnew-home .my_board_list_item.is_vip .f_title h3 a:focus-visible {
  color:#b70f32!important;
}

.itsnew-home .my_board_list_item .field.ft_user,
.itsnew-home .my_board_list_item .field.ft_date,
.itsnew-home .my_board_list_item .f_user,
.itsnew-home .my_board_list_item .f_date_pub {
  display:flex!important;
  align-items:center!important;
  min-height:30px!important;
  line-height:1.25!important;
}
.itsnew-home .my_board_list_item .field.ft_user .title_left,
.itsnew-home .my_board_list_item .field.ft_user .value,
.itsnew-home .my_board_list_item .field.ft_date .title_left,
.itsnew-home .my_board_list_item .field.ft_date .value,
.itsnew-home .my_board_list_item .f_user .title_left,
.itsnew-home .my_board_list_item .f_user .value,
.itsnew-home .my_board_list_item .f_date_pub .title_left,
.itsnew-home .my_board_list_item .f_date_pub .value {
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
}

.itsnew-home .my_board_list_item .myb_fields_footer {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:52px!important;
  gap:12px!important;
}
.itsnew-home .my_board_list_item .myb_fields_footer .f_price,
.itsnew-home .my_board_list_item .myb_fields_footer .f_price .value {
  display:flex!important;
  align-items:center!important;
  min-height:38px!important;
  line-height:1.2!important;
  margin:0!important;
}
.itsnew-home .my_board_list_item .mybl_pay_btns {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-height:38px!important;
  gap:8px!important;
}

.mybl_pay_btns a.its-board-action {
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  box-shadow:none!important;
  transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease!important;
}
.mybl_pay_btns a.its-board-action svg {
  width:16px!important;
  height:16px!important;
  display:block!important;
  fill:currentColor!important;
}
.mybl_pay_btns a.its-board-action--top {
  color:#3867d6!important;
  background:#edf3ff!important;
  border-color:#cbd9fb!important;
}
.mybl_pay_btns a.its-board-action--vip {
  color:#dc143c!important;
  background:#fff0f3!important;
  border-color:#f6c5cf!important;
}
.mybl_pay_btns a.its-board-action--fix {
  color:#6c4fd3!important;
  background:#f2efff!important;
  border-color:#d8cff9!important;
}
.mybl_pay_btns a.its-board-action:hover {
  transform:translateY(-2px)!important;
  box-shadow:0 8px 18px rgba(31,55,103,.14)!important;
}
.mybl_pay_btns a.its-board-action--top:hover,
.mybl_pay_btns a.its-board-action--top:focus-visible {
  color:#fff!important;
  background:#3867d6!important;
  border-color:#3867d6!important;
}
.mybl_pay_btns a.its-board-action--vip:hover,
.mybl_pay_btns a.its-board-action--vip:focus-visible {
  color:#fff!important;
  background:#dc143c!important;
  border-color:#dc143c!important;
}
.mybl_pay_btns a.its-board-action--fix:hover,
.mybl_pay_btns a.its-board-action--fix:focus-visible {
  color:#fff!important;
  background:#6c4fd3!important;
  border-color:#6c4fd3!important;
}
.mybl_pay_btns a.its-board-action:active {
  transform:translateY(0)!important;
  box-shadow:none!important;
}

@media(max-width:575.98px){
  .itsnew-home .my_board_list_item .myb_fields_footer {
    flex-wrap:wrap!important;
    min-height:0!important;
  }
  .itsnew-home .my_board_list_item .myb_fields_footer .f_price {
    flex:1 1 auto!important;
  }
  .itsnew-home .my_board_list_item .mybl_pay_btns {
    margin-left:auto!important;
  }
}

/* ITSNEW 0.5.8 — точное выравнивание метаданных и действий в карточках заданий. */
.itsnew-home .my_board_list_item > .icms-content-fields {
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-height:0!important;
}
.itsnew-home .my_board_list_item .its-task-card__top {
  flex:0 0 auto!important;
}
.itsnew-home .my_board_list_item .f_title {
  flex:0 0 auto!important;
}
.itsnew-home .my_board_list_item .f_content {
  flex:1 1 auto!important;
  min-height:84px!important;
}
.itsnew-home .my_board_list_item .its-task-card__meta {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:14px!important;
  width:100%!important;
  min-height:64px!important;
  margin-top:auto!important;
  padding:0!important;
  border-top:1px solid #e5ebf5!important;
  border-bottom:1px solid #e5ebf5!important;
  color:var(--its-muted)!important;
  line-height:1.25!important;
}
.itsnew-home .my_board_list_item .its-task-card__meta > span {
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  min-height:64px!important;
  margin:0!important;
  padding:0!important;
}
.itsnew-home .my_board_list_item .its-task-card__meta > span:first-child {
  justify-content:flex-start!important;
}
.itsnew-home .my_board_list_item .its-task-card__meta > span:last-child {
  justify-content:flex-end!important;
  text-align:right!important;
  white-space:nowrap!important;
}
.itsnew-home .my_board_list_item .its-task-card__meta a,
.itsnew-home .my_board_list_item .its-task-card__meta .value,
.itsnew-home .my_board_list_item .its-task-card__meta .user {
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  line-height:1.25!important;
}
.itsnew-home .my_board_list_item .myb_fields_footer {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:14px!important;
  width:100%!important;
  min-height:58px!important;
  margin:0!important;
  padding:0!important;
  border-top:0!important;
}
.itsnew-home .my_board_list_item .myb_fields_footer .f_price,
.itsnew-home .my_board_list_item .myb_fields_footer .f_price .value {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
}
.itsnew-home .my_board_list_item .mybl_pay_btns {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-height:58px!important;
  margin:0!important;
  padding:0!important;
  gap:8px!important;
}
.itsnew-home .my_board_list_item.is_vip .f_title h3 a,
.itsnew-home .my_board_list_item.is_vip .f_title h3 a:visited {
  color:#dc143c!important;
}
.itsnew-home .my_board_list_item.is_vip .f_title h3 a:hover,
.itsnew-home .my_board_list_item.is_vip .f_title h3 a:focus-visible {
  color:#b20f30!important;
}
.mybl_pay_btns a.its-board-action {
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:1px solid var(--its-border)!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(31,55,103,.08)!important;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease!important;
}
.mybl_pay_btns a.its-board-action svg {
  width:17px!important;
  height:17px!important;
  display:block!important;
  fill:currentColor!important;
}
.mybl_pay_btns a.its-board-action--top {
  color:#3867d6!important;
  background:#edf3ff!important;
  border-color:#cbd9fb!important;
}
.mybl_pay_btns a.its-board-action--vip {
  color:#dc143c!important;
  background:#fff0f3!important;
  border-color:#f3c1cc!important;
}
.mybl_pay_btns a.its-board-action--fix {
  color:#6c4fd3!important;
  background:#f2efff!important;
  border-color:#d8cff9!important;
}
.mybl_pay_btns a.its-board-action:hover,
.mybl_pay_btns a.its-board-action:focus-visible {
  color:#fff!important;
  transform:translateY(-2px)!important;
  box-shadow:0 8px 18px rgba(31,55,103,.18)!important;
  outline:0!important;
}
.mybl_pay_btns a.its-board-action--top:hover,
.mybl_pay_btns a.its-board-action--top:focus-visible {
  background:#3867d6!important;
  border-color:#3867d6!important;
}
.mybl_pay_btns a.its-board-action--vip:hover,
.mybl_pay_btns a.its-board-action--vip:focus-visible {
  background:#dc143c!important;
  border-color:#dc143c!important;
}
.mybl_pay_btns a.its-board-action--fix:hover,
.mybl_pay_btns a.its-board-action--fix:focus-visible {
  background:#6c4fd3!important;
  border-color:#6c4fd3!important;
}
.mybl_pay_btns a.its-board-action:active {
  transform:translateY(0)!important;
  box-shadow:0 3px 8px rgba(31,55,103,.12)!important;
}
@media(max-width:575.98px){
  .itsnew-home .my_board_list_item .its-task-card__meta {
    min-height:56px!important;
    column-gap:10px!important;
  }
  .itsnew-home .my_board_list_item .its-task-card__meta > span {
    min-height:56px!important;
  }
  .itsnew-home .my_board_list_item .myb_fields_footer {
    min-height:54px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    column-gap:10px!important;
  }
  .itsnew-home .my_board_list_item .myb_fields_footer .f_price,
  .itsnew-home .my_board_list_item .myb_fields_footer .f_price .value,
  .itsnew-home .my_board_list_item .mybl_pay_btns {
    min-height:54px!important;
  }
  .mybl_pay_btns a.its-board-action {
    width:36px!important;
    height:36px!important;
    flex-basis:36px!important;
  }
}

/* ITSNEW 0.5.11 — внутренняя страница задания. */
body.itsnew-body .its-item-head--board{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
body.itsnew-body .its-item-head--board>.btn{
  height:44px;
  min-height:44px;
  margin-bottom:0!important;
  padding-top:8px;
  padding-bottom:8px;
}
body.itsnew-body .its-item-head--board .portfolio-item-author{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  min-height:44px!important;
  margin:0 0 0 2px!important;
}
body.itsnew-body .its-item-head--board .portfolio-item-avatar,
body.itsnew-body .its-item-head--board .portfolio-item-avatar img,
body.itsnew-body .its-item-head--board .portfolio-item-avatar .avatar{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  border-radius:11px!important;
  object-fit:cover!important;
}
body.itsnew-body .its-item-head--board .portfolio-item-meta{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
}
body.itsnew-body .its-item-head--board .portfolio-item-author-name{
  margin:0!important;
  font-size:14px!important;
  line-height:1.2!important;
}
body.itsnew-body .its-item-head--board .portfolio-item-date{
  margin-top:3px!important;
  font-size:11px!important;
  line-height:1.2!important;
}
body.itsnew-body .its-item-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px 11px!important;
  flex-wrap:wrap!important;
  min-height:54px!important;
  margin-top:16px!important;
  padding:10px 12px!important;
  background:#f8faff!important;
  border:1px solid #dfe7f5!important;
  border-radius:12px!important;
}
body.itsnew-body .its-item-actions .bar_item,
body.itsnew-body .its-item-actions .its-item-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
  white-space:nowrap;
}
body.itsnew-body .its-item-actions .bar_item>*{
  margin-top:0!important;
  margin-bottom:0!important;
}
body.itsnew-body .its-item-actions .bar_item a,
body.itsnew-body .its-item-actions .bar_item span,
body.itsnew-body .its-item-actions .bar_item div{
  align-items:center;
}
body.itsnew-body .its-item-actions .bar_item svg{
  display:block!important;
  flex:0 0 auto!important;
  width:16px!important;
  height:16px!important;
  margin:0!important;
  vertical-align:middle!important;
}
body.itsnew-body .its-item-actions .bar_item img{
  display:inline-block!important;
  margin:0!important;
  vertical-align:middle!important;
}
body.itsnew-body .its-item-actions .share42init,
body.itsnew-body .its-item-actions [class*="share"]{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  min-height:32px!important;
}
body.itsnew-body .its-social-follow__links .its-social-follow__link{
  color:#3867d6;
}
body.itsnew-body .its-social-follow__links .its-social-follow__link--vk{
  color:#2787f5;
}
body.itsnew-body .its-social-follow__links .its-social-follow__link--dzen{
  color:#17191c;
}
body.itsnew-body .its-social-follow__links .its-social-follow__link--telegram{
  color:#229ed9;
}
body.itsnew-body .its-social-follow__brand-icon{
  display:block;
  width:25px!important;
  height:25px!important;
}
body.itsnew-body .its-social-follow__links .its-social-follow__link--vk:hover,
body.itsnew-body .its-social-follow__links .its-social-follow__link--vk:focus-visible{
  color:#fff;
  background:#2787f5;
  border-color:#2787f5;
}
body.itsnew-body .its-social-follow__links .its-social-follow__link--dzen:hover,
body.itsnew-body .its-social-follow__links .its-social-follow__link--dzen:focus-visible{
  color:#fff;
  background:#17191c;
  border-color:#17191c;
}
body.itsnew-body .its-social-follow__links .its-social-follow__link--telegram:hover,
body.itsnew-body .its-social-follow__links .its-social-follow__link--telegram:focus-visible{
  color:#fff;
  background:#229ed9;
  border-color:#229ed9;
}
@media(max-width:575.98px){
  body.itsnew-body .its-item-head--board{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
  }
  body.itsnew-body .its-item-head--board>.btn{
    width:100%;
  }
  body.itsnew-body .its-item-head--board .portfolio-item-author{
    grid-column:1/-1;
    width:100%;
    margin:0!important;
    padding-top:2px;
  }
  body.itsnew-body .its-item-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:center!important;
  }
  body.itsnew-body .its-item-actions .bar_item,
  body.itsnew-body .its-item-actions .its-item-action{
    min-width:0!important;
    white-space:normal;
  }
  body.itsnew-body .its-social-follow__links{
    justify-content:center!important;
  }
}


/* ITSNEW 0.5.12 — стабильная сетка info bar внутренней страницы. */
body.itsnew-body .its-item-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;gap:0!important;width:100%!important;min-height:0!important;margin-top:18px!important;padding:0 15px!important;overflow:hidden!important;background:#f8faff!important;border:1px solid #dfe7f5!important;border-radius:13px!important}
body.itsnew-body .its-item-actions__group{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 12px!important;min-width:0!important;min-height:50px!important;margin:0!important;padding:9px 0!important}
body.itsnew-body .its-item-actions__group+.its-item-actions__group{border-top:1px solid #e3eaf5!important}
body.itsnew-body .its-item-actions__stats,body.itsnew-body .its-item-actions__favorites{justify-content:flex-start!important}
body.itsnew-body .its-item-actions .bar_item,body.itsnew-body .its-item-actions .its-item-action{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;min-width:0!important;min-height:32px!important;margin:0!important;padding:0!important;line-height:1.25!important;white-space:nowrap!important}
body.itsnew-body .its-item-actions .bar_item>svg,body.itsnew-body .its-item-actions .its-item-action>svg{flex:0 0 16px!important;width:16px!important;height:16px!important;margin:0!important;vertical-align:middle!important}
body.itsnew-body .its-item-actions .bar_item>a,body.itsnew-body .its-item-actions .bar_item>span,body.itsnew-body .its-item-actions .bar_item>div{min-width:0!important;margin-top:0!important;margin-bottom:0!important;line-height:1.25!important}
body.itsnew-body .its-item-actions__share .bar_item{display:flex!important;align-items:center!important;flex:1 1 100%!important;width:100%!important;gap:10px!important;overflow:hidden!important;white-space:normal!important}
body.itsnew-body .its-item-actions__share .share,body.itsnew-body .its-item-actions__share .ya-share2,body.itsnew-body .its-item-actions__share .share42init,body.itsnew-body .its-item-actions__share [class*="share"]{max-width:100%!important}
body.itsnew-body .its-item-actions__share .ya-share2__list{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important;padding:0!important}
body.itsnew-body .its-item-actions__share .ya-share2__item{display:block!important;margin:0!important}
body.itsnew-body .its-item-actions__share .ya-share2__link{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;border-radius:8px!important}
body.itsnew-body .its-item-actions__share .ya-share2__title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.itsnew-body .its-item-actions__share .ya-share2__badge,body.itsnew-body .its-item-actions__share .ya-share2__icon{width:32px!important;height:32px!important;border-radius:8px!important}
body.itsnew-body .its-item-actions__favorites .bar_item{color:#3867d6!important}
@media(max-width:767.98px){body.itsnew-body .its-item-actions{padding:0 12px!important}body.itsnew-body .its-item-actions__group{gap:7px 10px!important;min-height:48px!important;padding:9px 0!important}body.itsnew-body .its-item-actions__stats .bar_item{flex:0 1 auto!important;white-space:normal!important}body.itsnew-body .its-item-actions__share .bar_item{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}}
@media(max-width:399.98px){body.itsnew-body .its-item-actions__stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:center!important}body.itsnew-body .its-item-actions__stats .bar_item{width:100%!important;min-height:30px!important}}

/* ITSNEW 0.5.13 — прозрачные заголовки карточек и компактный info bar в одну линию. */
body.itsnew-body .card-header {
  padding: .75rem 1.25rem;
  margin-bottom: 0;
  background-color: transparent!important;
  border-bottom: 1px solid rgba(26,26,26,.125);
}

body.itsnew-body .its-item-actions {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:12px 20px!important;
  width:100%!important;
  min-height:58px!important;
  margin-top:18px!important;
  padding:10px 14px!important;
  overflow:visible!important;
  background:#f8faff!important;
  border:1px solid #dfe7f5!important;
  border-radius:13px!important;
}
body.itsnew-body .its-item-actions__primary {
  display:flex!important;
  align-items:center!important;
  flex:1 1 auto!important;
  flex-wrap:wrap!important;
  gap:8px 16px!important;
  min-width:0!important;
}
body.itsnew-body .its-item-actions__group {
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:8px!important;
  min-width:0!important;
  min-height:36px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.itsnew-body .its-item-actions__group + .its-item-actions__group {
  border-top:0!important;
}
body.itsnew-body .its-item-actions__stats,
body.itsnew-body .its-item-actions__favorites {
  justify-content:flex-start!important;
  flex:0 1 auto!important;
}
body.itsnew-body .its-item-actions__share {
  justify-content:flex-end!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
}
body.itsnew-body .its-item-actions .bar_item,
body.itsnew-body .its-item-actions .its-item-action {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  min-width:0!important;
  min-height:34px!important;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
body.itsnew-body .its-item-actions__share .bar_item {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex:0 0 auto!important;
  width:auto!important;
  gap:7px!important;
  overflow:visible!important;
  white-space:nowrap!important;
}
body.itsnew-body .its-item-actions__share .share,
body.itsnew-body .its-item-actions__share .ya-share2,
body.itsnew-body .its-item-actions__share .share42init,
body.itsnew-body .its-item-actions__share [class*="share"] {
  display:inline-flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  width:auto!important;
  max-width:none!important;
  min-height:34px!important;
  margin:0!important;
}
body.itsnew-body .its-item-actions__share a:not(.stretched-link),
body.itsnew-body .its-item-actions__share .ya-share2__link {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:8px!important;
  font-size:0!important;
  line-height:0!important;
}
body.itsnew-body .its-item-actions__share a:not(.stretched-link) img,
body.itsnew-body .its-item-actions__share a:not(.stretched-link) svg,
body.itsnew-body .its-item-actions__share .ya-share2__icon,
body.itsnew-body .its-item-actions__share .ya-share2__badge {
  display:block!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  margin:0!important;
  border-radius:8px!important;
}
body.itsnew-body .its-item-actions__share .ya-share2__list {
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  margin:0!important;
  padding:0!important;
}
body.itsnew-body .its-item-actions__share .ya-share2__item {
  display:block!important;
  margin:0!important;
}
body.itsnew-body .its-item-actions__share .ya-share2__title {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

@media(max-width:991.98px) {
  body.itsnew-body .its-item-actions {
    flex-wrap:wrap!important;
  }
  body.itsnew-body .its-item-actions__primary {
    flex:1 1 100%!important;
  }
  body.itsnew-body .its-item-actions__share {
    flex:0 1 auto!important;
    margin-left:auto!important;
  }
}
@media(max-width:575.98px) {
  body.itsnew-body .card-header {
    padding:.7rem 1rem;
  }
  body.itsnew-body .its-item-actions {
    gap:9px 12px!important;
    padding:10px 12px!important;
  }
  body.itsnew-body .its-item-actions__primary {
    gap:6px 12px!important;
  }
  body.itsnew-body .its-item-actions__stats {
    flex-wrap:wrap!important;
  }
  body.itsnew-body .its-item-actions__favorites {
    margin-right:auto!important;
  }
  body.itsnew-body .its-item-actions__share {
    margin-left:auto!important;
  }
}

/* ITSNEW 0.5.14 — точное центрирование пиктограмм социальных сетей в info bar. */
body.itsnew-body .its-item-actions__share .ya-share2__badge {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  line-height:0!important;
  vertical-align:middle!important;
}
body.itsnew-body .its-item-actions__share .ya-share2__icon {
  display:block!important;
  flex:0 0 24px!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  margin:auto!important;
  border-radius:0!important;
  background-position:50% 50%!important;
  background-repeat:no-repeat!important;
  background-size:24px 24px!important;
  vertical-align:middle!important;
}
body.itsnew-body .its-item-actions__share a:not(.stretched-link) > img,
body.itsnew-body .its-item-actions__share a:not(.stretched-link) > svg {
  align-self:center!important;
  object-position:50% 50%!important;
  vertical-align:middle!important;
}
body.itsnew-body .its-item-actions__share .ya-share2__list,
body.itsnew-body .its-item-actions__share .ya-share2__item,
body.itsnew-body .its-item-actions__share .ya-share2__link {
  align-items:center!important;
  vertical-align:middle!important;
}

/* ITSNEW 0.5.16 — стабильная строка категории в заданиях. */
body.itsnew-body:not(.itsnew-home) .my_board_list_item .icms-content-fields .f_cat {
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:30px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  line-height:1!important;
}
body.itsnew-body:not(.itsnew-home) .my_board_list_item .icms-content-fields .f_cat::before {
  position:static!important;
  inset:auto!important;
  display:inline-flex!important;
  align-self:center!important;
  justify-self:auto!important;
  flex:0 0 28px!important;
  float:none!important;
  width:28px!important;
  height:28px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  background-position:50% 50%!important;
  background-size:18px 18px!important;
  background-repeat:no-repeat!important;
  vertical-align:middle!important;
}
body.itsnew-body:not(.itsnew-home) .my_board_list_item .icms-content-fields .f_cat .value {
  display:flex!important;
  align-items:center!important;
  align-self:center!important;
  min-width:0!important;
  min-height:28px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
}
body.itsnew-body:not(.itsnew-home) .my_board_list_item .icms-content-fields .f_cat .value > a,
body.itsnew-body:not(.itsnew-home) .my_board_list_item .icms-content-fields .f_cat .value > span,
body.itsnew-body:not(.itsnew-home) .my_board_list_item .icms-content-fields .f_cat .value > .btn {
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  min-height:28px!important;
  margin:0!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

/* Карточки заданий на главной: длинная категория не сжимается в вертикальную колонку. */
.itsnew-home .my_board_list_item .its-task-card__top {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-width:0!important;
  min-height:30px!important;
}
.itsnew-home .my_board_list_item .its-task-card__top .f_cat {
  display:flex!important;
  align-items:center!important;
  flex:1 1 auto!important;
  width:auto!important;
  max-width:calc(100% - 48px)!important;
  min-width:0!important;
  min-height:28px!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  grid-template-columns:none!important;
  overflow:visible!important;
}
.itsnew-home .my_board_list_item .its-task-card__top .f_cat::before {
  display:none!important;
  content:none!important;
}
.itsnew-home .my_board_list_item .its-task-card__top .f_cat > a,
.itsnew-home .my_board_list_item .its-task-card__top .f_cat .value > a,
.itsnew-home .my_board_list_item .its-task-card__top .f_cat > span,
.itsnew-home .my_board_list_item .its-task-card__top .f_cat .value > span {
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:28px!important;
  margin:0!important;
  padding:6px 10px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.itsnew-home .my_board_list_item .its-task-card__status {
  flex:0 0 auto!important;
  align-self:center!important;
  margin-left:auto!important;
  white-space:nowrap!important;
}
@media(max-width:575.98px) {
  .itsnew-home .my_board_list_item .its-task-card__top .f_cat {
    max-width:calc(100% - 44px)!important;
  }
}


/* ITSNEW 0.5.17 — категории в карточках заданий на главной без сжатия текста. */
body.itsnew-body.itsnew-home .my_board_list_item .its-task-card__top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 30px !important;
}
body.itsnew-body.itsnew-home .my_board_list_item .its-task-card__category-wrap {
    display: flex !important;
    align-items: center !important;
    justify-self: start !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}
body.itsnew-body.itsnew-home .my_board_list_item .its-task-card__category {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: var(--its-accent-soft) !important;
    color: var(--its-accent) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
body.itsnew-body.itsnew-home .my_board_list_item .its-task-card__status {
    grid-column: 2 !important;
    align-self: center !important;
    justify-self: end !important;
    margin: 0 !important;
}

/* 0.5.19: hero copy, mobile fit and LCP */
.its-hero{overflow:hidden;overflow:clip}
.its-hero__inner,.its-hero__content,.its-hero-live{min-width:0}
.its-hero__content{width:100%}
.its-hero h1{max-width:680px;overflow-wrap:break-word}
.its-hero__audience{max-width:640px;margin:-10px 0 24px;padding-left:18px;position:relative;color:var(--its-muted);font-size:14px;line-height:1.55}
.its-hero__audience:before{content:"";position:absolute;left:0;top:.58em;width:7px;height:7px;border-radius:50%;background:var(--its-green);box-shadow:0 0 0 4px rgba(32,180,134,.12)}
.its-hero-live__window,.its-hero-live__card,.its-hero-live__pulse{will-change:auto}

@media(max-width:991.98px){
  .its-hero__inner{min-height:0;gap:34px;padding-bottom:50px}
  .its-hero__content{max-width:760px}
  .its-hero h1{max-width:760px}
}
@media(max-width:767.98px){
  .its-hero:before{background:radial-gradient(circle at 85% 18%,rgba(56,103,214,.08),transparent 38%),radial-gradient(circle at 12% 92%,rgba(32,180,134,.06),transparent 30%)}
  .its-hero__inner{display:block;min-height:0;width:100%;padding-top:34px;padding-bottom:38px}
  .its-hero__content{width:100%;max-width:100%;min-width:0}
  .its-hero__badge{max-width:100%;margin-bottom:18px;padding:7px 11px;font-size:12px;white-space:normal;line-height:1.35}
  .its-hero h1{max-width:100%;margin-bottom:17px;font-size:clamp(31px,9.2vw,40px);line-height:1.08;letter-spacing:-.035em;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
  .its-hero h1 em{margin-top:6px}
  .its-hero__content>p{max-width:100%;margin-bottom:18px;font-size:16px;line-height:1.58}
  .its-hero__audience{max-width:100%;margin:0 0 22px;font-size:13px;line-height:1.5}
  .its-hero-live{display:none!important}
  .its-hero__actions{margin-bottom:16px}
  .its-hero__links{width:100%}
}
@media(max-width:575.98px){
  .its-hero__inner{padding-top:28px;padding-bottom:32px}
  .its-hero h1{font-size:clamp(29px,9vw,34px)}
  .its-hero__content>p{font-size:15px;line-height:1.55}
  .its-hero__actions{gap:9px}
  .its-hero__actions .btn{min-height:50px;padding:11px 16px}
  .its-hero__links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .its-hero__links a{min-width:0;text-align:center;padding:8px 7px;font-size:12px;white-space:normal}
}
@media(max-width:359.98px){
  .its-hero h1{font-size:28px}
  .its-hero__links{grid-template-columns:1fr}
}


/* 0.5.20: unified typography, header spacing and registration link */
:root{
  --its-content-h1-size:37px;
  --its-content-h2-size:29px;
  --its-widget-text-size:17px;
  --its-widget-meta-size:14px;
}

/* Main navigation and utility account strip */
.its-header__desktop-menu .nav-link{
  font-size:16px!important;
  line-height:1.35!important;
  padding:11px 12px!important;
}
.its-header__utility{min-height:48px}
.its-header__utility-inner{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding-top:6px;
  padding-bottom:6px;
}
.its-header__account{
  margin-left:auto;
  padding-right:10px;
  gap:8px!important;
}
.its-header__account .nav-link,
.its-header__account .dropdown-toggle{
  min-height:38px;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* One typography scale for widgets */
.icms-widget__body,
.icms-widget__body p,
.icms-widget__body li,
.icms-widget__body td,
.icms-widget__body th,
.icms-widget__body label,
.icms-widget__body input,
.icms-widget__body select,
.icms-widget__body textarea{
  font-size:var(--its-widget-text-size);
}
.icms-widget__body small,
.icms-widget__body .small,
.icms-widget__body time,
.icms-widget__body .text-muted,
.icms-widget__body [class*="__meta"],
.icms-widget__body [class*="-meta"]{
  font-size:var(--its-widget-meta-size)!important;
}
.icms-widget__title,
.card-header{
  font-size:22px;
  line-height:1.3;
}
/* Keep compact chips and counters compact, but raise them by one pixel */
.icms-widget__body .badge,
.icms-widget__body [class*="__category"],
.icms-widget__body [class*="-category"],
.icms-widget__body [class*="__status"],
.icms-widget__body [class*="-status"]{
  font-size:13px!important;
}

/* Unified headings inside content types */
body.itsnew-body:not(.itsnew-home) main h1,
body.itsnew-body:not(.itsnew-home) .content_item h1,
body.itsnew-body:not(.itsnew-home) .content-list h1,
body.itsnew-body:not(.itsnew-home) .its-section-hero h1,
body.itsnew-body:not(.itsnew-home) .page-title,
body.itsnew-body:not(.itsnew-home) h1.page-title{
  font-size:var(--its-content-h1-size)!important;
  line-height:1.16!important;
  letter-spacing:-.025em!important;
}
body.itsnew-body:not(.itsnew-home) main h2,
body.itsnew-body:not(.itsnew-home) .content_item h2,
body.itsnew-body:not(.itsnew-home) .content-list h2,
body.itsnew-body:not(.itsnew-home) .its-section-hero h2{
  font-size:var(--its-content-h2-size)!important;
  line-height:1.24!important;
  letter-spacing:-.015em!important;
}

/* Registration switch must always be an actual clickable link */
.its-auth-card__switch{position:relative;z-index:3}
.its-auth-card__switch .its-auth-register-link{
  position:relative;
  z-index:4;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:4px 7px;
  border-radius:7px;
  color:var(--its-accent)!important;
  font-weight:700;
  text-decoration:none!important;
  cursor:pointer;
  pointer-events:auto!important;
}
.its-auth-card__switch .its-auth-register-link:hover{
  background:var(--its-accent-soft);
  color:var(--its-accent-dark)!important;
}

@media(max-width:991.98px){
  .its-header__desktop-menu .nav-link{font-size:14px!important;padding-left:9px!important;padding-right:9px!important}
  :root{--its-content-h1-size:33px;--its-content-h2-size:26px}
}
@media(max-width:767.98px){
  :root{--its-content-h1-size:30px;--its-content-h2-size:24px;--its-widget-text-size:15px;--its-widget-meta-size:12px}
  .its-header__utility-inner{padding-left:14px;padding-right:14px}
  .its-header__account{padding-right:0}
}

/* ITSNEW 0.5.21 — portfolio count, author links, white stats icons and category cards. */
.its-portfolio-category-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(155px,1fr));
  gap:10px;
  margin:0 0 18px;
}
.its-portfolio-category-card{
  min-width:0;
  min-height:58px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:9px 11px;
  border:1px solid var(--its-border);
  border-radius:13px;
  background:#fff;
  color:var(--its-text)!important;
  box-shadow:0 6px 18px rgba(31,55,103,.045);
  transition:border-color .2s ease,background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.its-portfolio-category-card:hover{
  transform:translateY(-2px);
  border-color:var(--its-accent);
  box-shadow:0 10px 24px rgba(31,55,103,.09);
}
.its-portfolio-category-card.is-active{
  border-color:var(--its-accent);
  background:var(--its-accent);
  color:#fff!important;
}
.its-portfolio-category-card__icon{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:var(--its-accent-soft);
  color:var(--its-accent);
  flex:0 0 38px;
}
.its-portfolio-category-card__icon svg{
  width:21px;
  height:21px;
  display:block;
  fill:currentColor;
}
.its-portfolio-category-card__label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:600;
  line-height:1.25;
}
.its-portfolio-category-card b{
  min-width:27px;
  height:27px;
  padding:0 7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#edf3ff;
  color:var(--its-accent);
  font-size:11px;
  line-height:1;
}
.its-portfolio-category-card.is-active .its-portfolio-category-card__icon,
.its-portfolio-category-card.is-active b{
  background:rgba(255,255,255,.17);
  color:#fff;
}
.its-portfolio-page .its-portfolio-toolbar--sort-only{
  margin:0 0 14px;
}
.portfolio-list__stat svg,
.portfolio-list__stat svg path,
.portfolio-list__stat .icms-svg-icon,
.portfolio-list__stat .icms-svg-icon use{
  color:#fff!important;
  fill:#fff!important;
}
.portfolio-list__author{
  position:relative;
  z-index:4;
}
@media(max-width:767.98px){
  .its-portfolio-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .its-portfolio-category-card{
    min-height:54px;
    grid-template-columns:34px minmax(0,1fr) auto;
    gap:8px;
    padding:8px 9px;
  }
  .its-portfolio-category-card__icon{
    width:34px;
    height:34px;
    flex-basis:34px;
  }
  .its-portfolio-category-card__icon svg{
    width:19px;
    height:19px;
  }
  .its-portfolio-category-card__label{
    font-size:12px;
  }
}
@media(max-width:420px){
  .its-portfolio-category-grid{
    grid-template-columns:1fr;
  }
  .its-portfolio-category-card__label{
    white-space:normal;
  }
}

/* ITSNEW 0.5.21 — complete portfolio page rebuild */
.its-portfolio-page{
  --portfolio-surface:#fff;
  --portfolio-soft:#f2f6ff;
  --portfolio-green:#20b486;
  width:100%;
  min-width:0;
  padding-bottom:30px;
}
.its-portfolio-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin:0 0 18px;
  padding:28px 30px;
  border:1px solid var(--its-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 30px rgba(31,55,103,.055);
}
.its-portfolio-hero__copy{min-width:0}
.its-portfolio-hero__eyebrow{
  display:block;
  margin-bottom:7px;
  color:var(--its-accent);
  font-size:12px;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.its-portfolio-hero h1{
  margin:0 0 7px!important;
  color:var(--its-text);
  font-size:36px!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
}
.its-portfolio-hero p{
  max-width:680px;
  margin:0;
  color:var(--its-muted);
  font-size:15px;
  line-height:1.55;
}
.its-portfolio-hero__actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:12px;
}
.its-portfolio-total{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:7px 14px;
  border:1px solid var(--its-accent-border);
  border-radius:999px;
  background:var(--its-accent-soft);
  color:var(--its-muted);
  font-size:13px;
  white-space:nowrap;
}
.its-portfolio-total b{color:var(--its-accent);font-size:17px}
.its-portfolio-add-button{min-height:42px;white-space:nowrap}

.its-portfolio-controls{
  position:relative;
  z-index:5;
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 18px;
  padding:12px;
  border:1px solid var(--its-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(31,55,103,.045);
}
.its-portfolio-controls__categories{
  min-width:0;
  flex:1 1 auto;
  overflow:hidden;
}
.its-portfolio-category-pills{
  display:flex;
  align-items:center;
  gap:8px;
  max-width:100%;
  margin:0;
  padding:2px 2px 5px;
  overflow-x:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--its-accent-border) transparent;
}
.its-portfolio-category-pills::-webkit-scrollbar{height:4px}
.its-portfolio-category-pills::-webkit-scrollbar-thumb{border-radius:999px;background:var(--its-accent-border)}
.its-portfolio-category-pill{
  flex:0 0 auto;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 12px;
  border:1px solid var(--its-accent-border);
  border-radius:999px;
  background:#fff;
  color:var(--its-text)!important;
  font-size:12px;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
  transition:transform .18s ease,border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.its-portfolio-category-pill:hover{
  transform:translateY(-1px);
  border-color:var(--its-accent);
  background:var(--its-accent-soft);
  color:var(--its-accent)!important;
  box-shadow:0 6px 16px rgba(56,103,214,.09);
}
.its-portfolio-category-pill.is-active,
.its-portfolio-category-pill.active{
  border-color:var(--its-accent);
  background:var(--its-accent);
  color:#fff!important;
}
.its-portfolio-category-pill__icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--its-accent);
}
.its-portfolio-category-pill__icon svg{
  width:17px;
  height:17px;
  display:block;
  fill:currentColor;
}
.its-portfolio-category-pill b{
  min-width:23px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 6px;
  border-radius:999px;
  background:var(--its-accent-soft);
  color:var(--its-accent);
  font-size:10px;
  line-height:1;
}
.its-portfolio-category-pill.is-active .its-portfolio-category-pill__icon,
.its-portfolio-category-pill.active .its-portfolio-category-pill__icon{color:#fff}
.its-portfolio-category-pill.is-active b,
.its-portfolio-category-pill.active b{background:rgba(255,255,255,.18);color:#fff}

.its-portfolio-controls__tools{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:9px;
}
.its-portfolio-controls__search{min-width:190px}
.its-portfolio-filter-widget form{margin:0}
.its-portfolio-filter-widget__fields{
  position:relative;
  display:flex;
  align-items:center;
  gap:6px;
}
.its-portfolio-filter-widget__field{
  position:relative;
  flex:1 1 210px;
  min-width:0;
  margin:0!important;
}
.its-portfolio-filter-widget__field .form-group,
.its-portfolio-filter-widget__field .input-group{margin:0!important}
.its-portfolio-filter-widget__field label{display:none!important}
.its-portfolio-filter-widget__field input{
  width:210px!important;
  height:40px!important;
  margin:0!important;
  padding:8px 12px 8px 36px!important;
  border:1px solid var(--its-accent-border)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--its-text)!important;
  font-size:12px!important;
  box-shadow:none!important;
}
.its-portfolio-filter-widget__field input:focus{
  border-color:var(--its-accent)!important;
  box-shadow:0 0 0 3px rgba(56,103,214,.1)!important;
}
.its-portfolio-filter-widget__search-icon{
  position:absolute;
  z-index:2;
  left:12px;
  top:50%;
  width:15px;
  height:15px;
  color:var(--its-muted);
  transform:translateY(-50%);
  pointer-events:none;
}
.its-portfolio-filter-widget__search-icon svg{width:15px;height:15px;display:block;fill:currentColor}
.its-portfolio-filter-widget__submit{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  opacity:0;
  pointer-events:none;
}
.its-portfolio-filter-widget__reset{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:-39px;
  border-radius:50%;
  background:#fff;
  color:var(--its-muted)!important;
  font-size:18px;
  line-height:1;
}
.its-portfolio-search-fallback{position:relative;margin:0}
.its-portfolio-search-fallback>span{position:absolute;left:12px;top:50%;width:15px;height:15px;transform:translateY(-50%);color:var(--its-muted)}
.its-portfolio-search-fallback svg{width:15px;height:15px;fill:currentColor}
.its-portfolio-search-fallback input{
  width:210px;
  height:40px;
  padding:8px 12px 8px 36px;
  border:1px solid var(--its-accent-border);
  border-radius:999px;
  background:#fff;
  color:var(--its-text);
  outline:none;
}
.its-portfolio-sort select{
  min-width:130px;
  height:40px;
  padding:7px 34px 7px 13px;
  border:1px solid var(--its-accent-border);
  border-radius:999px;
  background:#fff url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237b88a3' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  color:var(--its-text-2);
  font-size:12px;
  appearance:none;
  outline:none;
}
.its-portfolio-sort select:focus{border-color:var(--its-accent);box-shadow:0 0 0 3px rgba(56,103,214,.1)}
.its-portfolio-view-toggle{display:flex;align-items:center;gap:4px}
.its-portfolio-view-toggle button{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid var(--its-accent-border);
  border-radius:10px;
  background:#fff;
  color:var(--its-muted);
  cursor:pointer;
  transition:.18s ease;
}
.its-portfolio-view-toggle button:hover,
.its-portfolio-view-toggle button.is-active{border-color:var(--its-accent);background:var(--its-accent-soft);color:var(--its-accent)}
.its-portfolio-view-toggle svg{width:17px;height:17px;display:block;fill:currentColor}

.its-portfolio-widget-zone--authors{
  margin:0 0 18px;
  padding:0;
  border:0;
  background:transparent;
}
.its-portfolio-authors-widget{min-width:0}
.its-portfolio-authors{
  display:flex;
  align-items:stretch;
  gap:10px;
  padding:2px 1px 5px;
  overflow-x:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--its-accent-border) transparent;
}
.its-portfolio-authors::-webkit-scrollbar{height:4px}
.its-portfolio-authors::-webkit-scrollbar-thumb{background:var(--its-accent-border);border-radius:999px}
.its-portfolio-author{
  flex:0 0 auto;
  min-width:188px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 12px;
  border:1px solid var(--its-border);
  border-radius:13px;
  background:#fff;
  color:var(--its-text)!important;
  box-shadow:0 5px 16px rgba(31,55,103,.04);
  transition:.2s ease;
}
.its-portfolio-author:hover{
  transform:translateY(-2px);
  border-color:var(--its-accent);
  background:var(--its-accent-soft);
  box-shadow:0 10px 22px rgba(31,55,103,.08);
}
.its-portfolio-author__avatar,
.its-portfolio-author__avatar img,
.its-portfolio-author__avatar .avatar{
  width:34px!important;
  height:34px!important;
  min-width:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%!important;
  object-fit:cover;
  overflow:hidden;
}
.its-portfolio-author__text{min-width:0;display:flex;flex-direction:column;gap:2px}
.its-portfolio-author__text strong{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.25}
.its-portfolio-author__text small{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--its-muted);font-size:10px!important;line-height:1.25}

.its-portfolio-widget-zone--cta{margin:0 0 24px}
.its-portfolio-cta{
  position:relative;
  overflow:hidden;
  min-height:112px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:25px 30px;
  border-radius:17px;
  background:linear-gradient(115deg,var(--its-accent) 0%,#238fe6 52%,var(--portfolio-green) 100%);
  color:#fff;
  box-shadow:0 13px 30px rgba(56,103,214,.16);
}
.its-portfolio-cta:before,
.its-portfolio-cta:after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.1);
  pointer-events:none;
}
.its-portfolio-cta:before{width:170px;height:170px;right:19%;top:-115px}
.its-portfolio-cta:after{width:110px;height:110px;left:42%;bottom:-85px}
.its-portfolio-cta__copy{position:relative;z-index:1;min-width:0}
.its-portfolio-cta h2{margin:0 0 5px!important;color:#fff!important;font-size:21px!important;line-height:1.25!important}
.its-portfolio-cta p{margin:0;color:rgba(255,255,255,.9);font-size:14px;line-height:1.5}
.its-portfolio-cta__button{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 19px;
  border:1px solid rgba(255,255,255,.8);
  border-radius:11px;
  background:#fff;
  color:var(--its-accent)!important;
  font-size:13px;
  font-weight:700;
  box-shadow:0 7px 18px rgba(16,42,88,.12);
  transition:.2s ease;
}
.its-portfolio-cta__button:hover{transform:translateY(-2px);background:#f8fbff;color:var(--its-accent-dark)!important;box-shadow:0 11px 24px rgba(16,42,88,.18)}
.its-portfolio-cta__button svg{width:15px;height:15px}

.its-portfolio-description{margin:0 0 20px;padding:18px 20px;border:1px solid var(--its-border);border-radius:14px;background:#fff}
.its-portfolio-list-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  color:var(--its-muted);
  font-size:12px;
  font-weight:700;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.its-portfolio-list-heading b{color:var(--its-text-2);font-size:12px;font-weight:700}

.its-portfolio-page .portfolio-list{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  margin:0!important;
  padding:0!important;
}
.its-portfolio-page .portfolio-list__item{
  min-width:0!important;
  width:auto!important;
  flex:initial!important;
  overflow:visible!important;
  transform:none;
}
.its-portfolio-page .portfolio-list__item-inner{
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--its-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(31,55,103,.055);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.its-portfolio-page .portfolio-list__item:hover .portfolio-list__item-inner{
  transform:translateY(-5px);
  border-color:var(--its-accent-border);
  box-shadow:0 16px 38px rgba(31,55,103,.13);
}
.its-portfolio-page .portfolio-list__image-wrapper{
  position:relative;
  width:100%;
  height:auto;
  min-height:205px;
  overflow:hidden;
  border-radius:0!important;
  background:#eaf0fb;
  aspect-ratio:auto!important;
}
.its-portfolio-page .portfolio-list__responsive-image{
  width:100%;
  height:100%!important;
  display:block;
  object-fit:cover;
  object-position:center;
  transform:scale(1);
  transition:transform .38s cubic-bezier(.2,.7,.2,1);
}
.its-portfolio-page .portfolio-list__item:hover .portfolio-list__responsive-image{transform:scale(1.045)}
.its-portfolio-page .portfolio-list__image-link-overlay{position:absolute;inset:0;z-index:2}
.its-portfolio-page .portfolio-list__category{
  position:absolute;
  z-index:4;
  top:10px;
  left:10px;
  max-width:calc(100% - 20px);
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:5px 10px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.7);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--its-accent)!important;
  font-size:10px;
  font-weight:700;
  line-height:1.1;
  text-overflow:ellipsis;
  white-space:nowrap;
  backdrop-filter:blur(8px);
  box-shadow:0 4px 13px rgba(15,36,77,.12);
}
.its-portfolio-page .portfolio-list__category:before,
.its-portfolio-page .portfolio-list__category:after{display:none!important}
.its-portfolio-page .portfolio-list__image-stats{
  position:absolute;
  z-index:4;
  right:10px;
  bottom:10px;
  display:flex;
  align-items:center;
  gap:6px;
  padding:0!important;
  background:transparent!important;
}
.its-portfolio-page .portfolio-list__stat{
  min-height:28px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 9px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:999px;
  background:rgba(12,24,49,.82);
  color:#fff!important;
  font-size:10px;
  line-height:1;
  backdrop-filter:blur(8px);
}
.its-portfolio-page .portfolio-list__stat svg,
.its-portfolio-page .portfolio-list__stat svg path{
  width:13px;
  height:13px;
  display:block;
  fill:#fff!important;
  color:#fff!important;
}
.its-portfolio-page .portfolio-list__item-content{
  min-height:150px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
  padding:14px 15px 15px!important;
}
.its-portfolio-page .portfolio-list__item-title{
  margin:0;
  color:var(--its-text)!important;
  font-size:14px;
  font-weight:700;
  line-height:1.4;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.its-portfolio-page .portfolio-list__excerpt{
  margin:0;
  color:var(--its-text-2);
  font-size:11px;
  line-height:1.48;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.its-portfolio-page .portfolio-list__footer{
  min-height:32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:auto;
  padding-top:9px;
  border-top:1px solid #edf1f8;
}
.its-portfolio-page .portfolio-list__author{
  position:relative;
  z-index:5;
  min-width:0;
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--its-text-2)!important;
  font-size:11px;
  transition:color .18s ease;
}
.its-portfolio-page a.portfolio-list__author:hover{color:var(--its-accent)!important}
.its-portfolio-page .portfolio-list__author-avatar,
.its-portfolio-page .portfolio-list__author-avatar img,
.its-portfolio-page .portfolio-list__author-avatar .avatar{
  width:27px!important;
  height:27px!important;
  min-width:27px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%!important;
  object-fit:cover;
  overflow:hidden;
}
.its-portfolio-page .portfolio-list__author-name{
  min-width:0;
  max-width:145px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  font-weight:600;
}
.its-portfolio-page .portfolio-list__item .info_bar{display:none!important}

.its-portfolio-page .portfolio-list.is-list-view{grid-template-columns:1fr!important}
.its-portfolio-page .portfolio-list.is-list-view .portfolio-list__item-inner{
  min-height:150px;
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
}
.its-portfolio-page .portfolio-list.is-list-view .portfolio-list__image-wrapper{
  height:100%;
  min-height:150px;
}
.its-portfolio-page .portfolio-list.is-list-view .portfolio-list__item-content{min-height:150px;padding:17px 19px!important}
.its-portfolio-page .portfolio-list.is-list-view .portfolio-list__item-title{font-size:16px;-webkit-line-clamp:2}
.its-portfolio-page .portfolio-list.is-list-view .portfolio-list__excerpt{-webkit-line-clamp:3;font-size:12px}

.its-portfolio-page.is-portfolio-reveal-ready .portfolio-list__item{
  opacity:0;
  transform:translate3d(var(--portfolio-reveal-x,-30px),22px,0);
  transition:opacity .78s ease var(--portfolio-reveal-delay,0ms),transform .88s cubic-bezier(.2,.72,.22,1) var(--portfolio-reveal-delay,0ms);
}
.its-portfolio-page.is-portfolio-reveal-ready .portfolio-list__item.is-visible{opacity:1;transform:translate3d(0,0,0)}

.its-portfolio-page .pagination,
.its-portfolio-page .pagebar{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:30px;
}
.its-portfolio-page .pagination .page-link,
.its-portfolio-page .pagebar a,
.its-portfolio-page .pagebar span{
  min-width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--its-accent-border)!important;
  border-radius:9px!important;
  background:#fff!important;
  color:var(--its-text-2)!important;
}
.its-portfolio-page .pagination .active .page-link,
.its-portfolio-page .pagebar .selected{
  border-color:var(--its-accent)!important;
  background:var(--its-accent)!important;
  color:#fff!important;
}

@media(max-width:1199.98px){
  .its-portfolio-controls{align-items:flex-start;flex-direction:column}
  .its-portfolio-controls__categories{width:100%}
  .its-portfolio-controls__tools{width:100%;justify-content:flex-end}
  .its-portfolio-page .portfolio-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .its-portfolio-page .portfolio-list__image-wrapper{height:auto;min-height:205px}
}
@media(max-width:991.98px){
  .its-portfolio-hero{align-items:flex-start}
  .its-portfolio-page .portfolio-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .its-portfolio-page .portfolio-list__image-wrapper{height:auto;min-height:205px}
}
@media(max-width:767.98px){
  .its-portfolio-hero{flex-direction:column;padding:22px 20px}
  .its-portfolio-hero h1{font-size:30px!important}
  .its-portfolio-hero__actions{width:100%;justify-content:space-between}
  .its-portfolio-controls{padding:10px}
  .its-portfolio-controls__tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .its-portfolio-controls__search{min-width:0}
  .its-portfolio-filter-widget__field input,
  .its-portfolio-search-fallback input{width:100%!important}
  .its-portfolio-sort{grid-column:1}
  .its-portfolio-sort select{width:100%;min-width:0}
  .its-portfolio-view-toggle{grid-column:2;grid-row:1/3}
  .its-portfolio-cta{align-items:flex-start;flex-direction:column;padding:22px}
  .its-portfolio-cta__button{width:100%}
  .its-portfolio-page .portfolio-list__image-wrapper{height:auto;min-height:205px}
  .its-portfolio-page .portfolio-list.is-list-view .portfolio-list__item-inner{grid-template-columns:165px minmax(0,1fr)}
  .its-portfolio-page .portfolio-list.is-list-view .portfolio-list__image-wrapper{height:100%;min-height:160px}
}
@media(max-width:575.98px){
  .its-portfolio-hero{margin-left:-2px;margin-right:-2px;padding:20px 17px;border-radius:14px}
  .its-portfolio-hero__actions{align-items:stretch;flex-direction:column}
  .its-portfolio-total{justify-content:center}
  .its-portfolio-add-button{width:100%;justify-content:center}
  .its-portfolio-controls__tools{grid-template-columns:minmax(0,1fr) auto}
  .its-portfolio-category-pill{min-height:36px;padding:6px 10px;font-size:11px}
  .its-portfolio-author{min-width:175px}
  .its-portfolio-list-heading{align-items:flex-start;flex-direction:column;gap:3px}
  .its-portfolio-page .portfolio-list{grid-template-columns:1fr!important;gap:13px!important}
  .its-portfolio-page .portfolio-list__image-wrapper{height:auto;min-height:205px}
  .its-portfolio-page .portfolio-list__item-content{min-height:138px}
  .its-portfolio-page .portfolio-list.is-list-view .portfolio-list__item-inner{display:flex;min-height:0}
  .its-portfolio-page .portfolio-list.is-list-view .portfolio-list__image-wrapper{height:220px;min-height:220px}
  .its-portfolio-page .portfolio-list.is-list-view .portfolio-list__item-content{min-height:138px}
}
@media(max-width:380px){
  .its-portfolio-page .portfolio-list__image-wrapper{height:auto;min-height:205px}
  .its-portfolio-controls__tools{grid-template-columns:1fr}
  .its-portfolio-view-toggle{grid-column:1;grid-row:auto;justify-content:flex-end}
}
@media(prefers-reduced-motion:reduce){
  .its-portfolio-page .portfolio-list__item,
  .its-portfolio-page .portfolio-list__item-inner,
  .its-portfolio-page .portfolio-list__responsive-image,
  .its-portfolio-author,
  .its-portfolio-category-pill{transition:none!important;transform:none!important}
}

/* ITSNEW 0.5.22 — portfolio categories, form field and merged CTA heading */
.its-portfolio-controls--categories-only{
  display:block;
  padding:12px 14px;
}
.its-portfolio-controls--categories-only .its-portfolio-controls__categories{
  width:100%;
  overflow:hidden;
}
.its-portfolio-controls--categories-only .its-portfolio-category-pills{
  width:100%;
  padding:2px 2px 6px;
}
.its-portfolio-showcase-intro{
  overflow:hidden;
  margin:0 0 20px;
  border:1px solid var(--its-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(31,55,103,.055);
}
.its-portfolio-showcase-intro .its-portfolio-widget-zone--cta{
  margin:0;
}
.its-portfolio-showcase-intro .its-portfolio-cta{
  min-height:112px;
  margin:0;
  border-radius:0;
  box-shadow:none;
}
.its-portfolio-showcase-intro>.its-portfolio-cta{
  border-radius:0;
}
.its-portfolio-showcase-intro .its-portfolio-list-heading{
  min-height:58px;
  margin:0;
  padding:16px 20px;
  border-top:1px solid var(--its-border);
  background:#fff;
  color:var(--its-text-2);
  letter-spacing:0;
  text-transform:none;
}
.its-portfolio-showcase-intro .its-portfolio-list-heading span{
  font-size:15px;
  font-weight:600;
}
.its-portfolio-showcase-intro .its-portfolio-list-heading b{
  color:var(--its-accent);
  font-size:13px;
}
@media(max-width:767.98px){
  .its-portfolio-controls--categories-only{
    padding:10px;
  }
  .its-portfolio-showcase-intro{
    border-radius:15px;
  }
  .its-portfolio-showcase-intro .its-portfolio-list-heading{
    min-height:0;
    padding:14px 16px;
  }
}

/* ITSNEW 0.5.23 — readable portfolio cards and distinct real category totals */
.its-portfolio-page .portfolio-list__item-title{
  font-size:16px!important;
  line-height:1.42!important;
}
.its-portfolio-page .portfolio-list__excerpt{
  font-size:13px!important;
  line-height:1.58!important;
  -webkit-line-clamp:3;
}
.its-portfolio-page .portfolio-list.is-list-view .portfolio-list__item-title{
  font-size:17px!important;
}
.its-portfolio-page .portfolio-list.is-list-view .portfolio-list__excerpt{
  font-size:14px!important;
  line-height:1.6!important;
}
@media(max-width:575.98px){
  .its-portfolio-page .portfolio-list__item-title{font-size:15px!important}
  .its-portfolio-page .portfolio-list__excerpt{font-size:13px!important}
}


/* ITSNEW 0.5.24 — portfolio motion, clean breadcrumbs and subscription action */
.breadcrumb:after{
  display:none!important;
  content:none!important;
  width:0!important;
  background:none!important;
}
.its-portfolio-page .portfolio-list__image-wrapper{
  position:relative;
  width:100%;
  height:auto;
  min-height:205px;
  overflow:hidden;
  border-radius:0!important;
  background:#eaf0fb;
  aspect-ratio:auto!important;
}
.its-portfolio-subscribe-slot{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.its-portfolio-subscribe-slot:empty{display:none}
.its-portfolio-subscribe-slot .subscriptions_buttons,
.its-portfolio-subscribe-slot .subscriptions_buttons_item,
.its-portfolio-subscribe-slot .subscriptions_buttons_button{
  margin:0!important;
  padding:0!important;
}
.its-portfolio-subscribe-slot .subscriptions_buttons_title{display:none!important}
.its-portfolio-subscribe-slot .subscribe_wrap{
  float:none!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
}
.its-portfolio-subscribe-slot .subscriber{
  min-height:44px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 18px!important;
  border:1px solid var(--its-accent)!important;
  border-radius:11px!important;
  background:var(--its-accent)!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:700!important;
  box-shadow:0 9px 22px rgba(56,103,214,.2)!important;
}
.its-portfolio-subscribe-slot .subscriber:hover{
  transform:translateY(-2px);
  background:var(--its-accent-dark)!important;
  border-color:var(--its-accent-dark)!important;
  box-shadow:0 13px 28px rgba(56,103,214,.28)!important;
}
.its-portfolio-subscribe-slot .subscriber span{
  display:inline-block!important;
}
.its-portfolio-subscribe-slot .subscriber svg{width:15px;height:15px}
.its-portfolio-subscribe-slot .count-subscribers{
  min-width:44px;
  height:44px;
  margin-left:8px!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  border:1px solid var(--its-accent-border)!important;
  border-radius:11px!important;
  background:#fff!important;
  color:var(--its-text-2)!important;
  font-size:14px!important;
  font-weight:700!important;
}
.its-portfolio-subscribe-slot .count-subscribers:after{display:none!important}
@media(max-width:575.98px){
  .its-portfolio-subscribe-slot,
  .its-portfolio-subscribe-slot .subscriptions_buttons,
  .its-portfolio-subscribe-slot .subscriptions_buttons_item,
  .its-portfolio-subscribe-slot .subscriptions_buttons_button,
  .its-portfolio-subscribe-slot .subscribe_wrap{width:100%}
  .its-portfolio-subscribe-slot .subscriber{flex:1 1 auto}
}


/* ITSNEW 0.5.25 — внутренняя страница портфолио и единая увеличенная типографика. */
body.itsnew-body .its-item-head--portfolio{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
body.itsnew-body .its-item-head--portfolio>.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  height:44px;
  min-height:44px;
  margin:0!important;
  padding:8px 14px;
  border-radius:10px;
  font-size:15px;
  font-weight:600;
  line-height:1;
}
body.itsnew-body .its-item-head--portfolio .portfolio-item-author{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0 0 0 2px!important;
}
body.itsnew-body .its-item-head--portfolio .portfolio-item-avatar,
body.itsnew-body .its-item-head--portfolio .portfolio-item-avatar img,
body.itsnew-body .its-item-head--portfolio .portfolio-item-avatar .avatar{
  display:block!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  border-radius:11px!important;
  object-fit:cover!important;
  overflow:hidden!important;
}
body.itsnew-body .its-item-head--portfolio .portfolio-item-meta{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
}
body.itsnew-body .its-item-head--portfolio .portfolio-item-author-name{
  display:block!important;
  margin:0!important;
  color:var(--its-accent)!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:1.2!important;
}
body.itsnew-body .its-item-head--portfolio .portfolio-item-date{
  display:block!important;
  margin-top:3px!important;
  color:var(--its-muted)!important;
  font-size:12px!important;
  line-height:1.2!important;
}
body.itsnew-body .its-portfolio-item-taxonomy{
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid var(--its-border);
  border-radius:13px;
  background:#fff;
  box-shadow:0 6px 18px rgba(31,55,103,.045);
}
body.itsnew-body .its-portfolio-item-taxonomy__title{
  display:inline-flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  color:var(--its-text);
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
body.itsnew-body .its-portfolio-item-taxonomy__title svg{
  width:17px;
  height:17px;
  color:var(--its-accent);
}
body.itsnew-body .its-portfolio-item-taxonomy__items{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  min-width:0;
}
body.itsnew-body .its-portfolio-item-taxonomy__items .btn,
body.itsnew-body .its-portfolio-item-taxonomy__items a{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:34px!important;
  margin:0!important;
  padding:7px 11px!important;
  border:1px solid var(--its-accent-border)!important;
  border-radius:999px!important;
  background:var(--its-accent-soft)!important;
  color:var(--its-accent)!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
body.itsnew-body .its-portfolio-item-taxonomy__items .btn:hover,
body.itsnew-body .its-portfolio-item-taxonomy__items a:hover{
  border-color:var(--its-accent)!important;
  background:var(--its-accent)!important;
  color:#fff!important;
  text-decoration:none!important;
}
body.itsnew-body .portfolio_item{
  position:relative;
}
body.itsnew-body .portfolio_item .f_photo{
  margin-bottom:20px;
}
body.itsnew-body .portfolio_item .f_photo img{
  width:100%;
  height:auto;
  border-radius:14px;
}
body.itsnew-body .portfolio_item .f_content>.value{
  font-size:17px!important;
  line-height:1.78!important;
}
body.itsnew-body .portfolio_item .f_content>.value h2{
  font-size:31px!important;
}
body.itsnew-body .portfolio_item .f_content>.value h3{
  font-size:24px!important;
}
body.itsnew-body .portfolio_item .tags_bar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
}
body.itsnew-body .portfolio_item .tags_bar a{
  margin:0!important;
  font-size:13px!important;
}

/* Базовый размер текста сайта увеличен ещё на один пиксель. */
body.itsnew-body .btn,
body.itsnew-body .form-control,
body.itsnew-body .custom-select,
body.itsnew-body .nav-link,
body.itsnew-body .dropdown-item,
body.itsnew-body label,
body.itsnew-body .content_list_item,
body.itsnew-body .content_item_props,
body.itsnew-body .pagination{
  font-size:inherit;
}
body.itsnew-body small,
body.itsnew-body .small{
  font-size:calc(80% + 1px);
}

@media(max-width:767.98px){
  body.itsnew-body .its-item-head--portfolio{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
  }
  body.itsnew-body .its-item-head--portfolio>.btn{
    width:100%;
  }
  body.itsnew-body .its-item-head--portfolio .portfolio-item-author{
    grid-column:1/-1;
    width:100%;
    margin:0!important;
    padding:2px 0 0;
  }
  body.itsnew-body .its-portfolio-item-taxonomy{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    padding:12px;
  }
  body.itsnew-body .its-portfolio-item-taxonomy__items{
    width:100%;
  }
  body.itsnew-body .portfolio_item .f_content>.value{
    font-size:16px!important;
  }
  body.itsnew-body .portfolio_item .f_content>.value h2{
    font-size:27px!important;
  }
  body.itsnew-body .portfolio_item .f_content>.value h3{
    font-size:22px!important;
  }
}
@media(max-width:420px){
  body.itsnew-body .its-item-head--portfolio{
    grid-template-columns:1fr;
  }
  body.itsnew-body .its-item-head--portfolio .portfolio-item-author{
    grid-column:auto;
  }
  body.itsnew-body .its-portfolio-item-taxonomy__items .btn,
  body.itsnew-body .its-portfolio-item-taxonomy__items a{
    max-width:100%;
    white-space:normal!important;
  }
}

/* ITSNEW 0.5.26 — наборы портфолио и info bar как на странице board. */
body.itsnew-body .its-portfolio-datasets-panel{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  margin:0 0 18px;
  padding:11px 14px;
  border:1px solid var(--its-border);
  border-radius:15px;
  background:#fff;
  box-shadow:0 8px 24px rgba(31,55,103,.045);
}
body.itsnew-body .its-portfolio-datasets-panel__label{
  flex:0 0 auto;
  color:var(--its-text-2);
  font-size:14px;
  font-weight:700;
  line-height:1;
}
body.itsnew-body .its-portfolio-datasets-panel__items{
  min-width:0;
  flex:1 1 auto;
}
body.itsnew-body .its-portfolio-datasets-panel .content_datasets{
  min-width:0!important;
  margin:0!important;
}
body.itsnew-body .its-portfolio-datasets-panel .dataset-pills{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.itsnew-body .its-portfolio-datasets-panel .dataset-pills .nav-item{
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.itsnew-body .its-portfolio-datasets-panel .dataset-pills .nav-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:36px!important;
  margin:0!important;
  padding:7px 13px!important;
  border:1px solid var(--its-accent-border)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--its-text-2)!important;
  font-size:13px!important;
  font-weight:650!important;
  line-height:1.1!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
body.itsnew-body .its-portfolio-datasets-panel .dataset-pills .nav-link:hover{
  border-color:var(--its-accent)!important;
  color:var(--its-accent)!important;
  transform:translateY(-1px);
}
body.itsnew-body .its-portfolio-datasets-panel .dataset-pills .nav-link.active,
body.itsnew-body .its-portfolio-datasets-panel .dataset-pills .is-active>.nav-link{
  border-color:var(--its-accent)!important;
  background:var(--its-accent)!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(56,103,214,.18)!important;
}
body.itsnew-body .its-portfolio-datasets-panel .dataset-pills .counter{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:20px!important;
  height:20px!important;
  margin:0!important;
  padding:0 5px!important;
  border-radius:999px!important;
  background:var(--its-accent-soft)!important;
  color:var(--its-accent)!important;
  font-size:11px!important;
  font-weight:700!important;
}
body.itsnew-body .its-portfolio-datasets-panel .dataset-pills .nav-link.active .counter,
body.itsnew-body .its-portfolio-datasets-panel .dataset-pills .is-active>.nav-link .counter{
  background:rgba(255,255,255,.2)!important;
  color:#fff!important;
}
body.itsnew-body .portfolio_item .its-item-actions{
  flex-wrap:nowrap!important;
}
body.itsnew-body .portfolio_item .its-item-actions__primary{
  flex-wrap:nowrap!important;
}
@media(max-width:991.98px){
  body.itsnew-body .portfolio_item .its-item-actions{
    flex-wrap:wrap!important;
  }
  body.itsnew-body .portfolio_item .its-item-actions__primary{
    flex-wrap:wrap!important;
  }
}
@media(max-width:575.98px){
  body.itsnew-body .its-portfolio-datasets-panel{
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
    padding:11px;
  }
  body.itsnew-body .its-portfolio-datasets-panel__items{
    width:100%;
  }
  body.itsnew-body .its-portfolio-datasets-panel .dataset-pills{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    padding-bottom:4px!important;
    scrollbar-width:thin;
  }
  body.itsnew-body .its-portfolio-datasets-panel .dataset-pills .nav-item{
    flex:0 0 auto!important;
  }
}

/* ITSNEW 0.5.27 — внутренняя страница сервиса и единый блок действий. */
body.itsnew-body .its-item-head--services{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
body.itsnew-body .its-item-head--services>.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  height:44px;
  min-height:44px;
  margin:0!important;
  padding:8px 14px;
  border-radius:10px;
  font-size:15px;
  font-weight:600;
  line-height:1;
}
body.itsnew-body .its-item-head--services .portfolio-item-author{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0 0 0 2px!important;
}
body.itsnew-body .its-item-head--services .portfolio-item-avatar,
body.itsnew-body .its-item-head--services .portfolio-item-avatar img,
body.itsnew-body .its-item-head--services .portfolio-item-avatar .avatar{
  display:block!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  border-radius:11px!important;
  object-fit:cover!important;
  overflow:hidden!important;
}
body.itsnew-body .its-item-head--services .portfolio-item-meta{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:44px!important;
  margin:0!important;
}
body.itsnew-body .its-item-head--services .portfolio-item-author-name{
  display:block!important;
  margin:0!important;
  color:var(--its-accent)!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:1.2!important;
}
body.itsnew-body .its-item-head--services .portfolio-item-date{
  display:block!important;
  margin-top:3px!important;
  color:var(--its-muted)!important;
  font-size:12px!important;
  line-height:1.2!important;
}
body.itsnew-body .services_item .its-item-actions{
  flex-wrap:nowrap!important;
}
body.itsnew-body .services_item .its-item-actions__primary{
  flex-wrap:nowrap!important;
}
body.itsnew-body .its-service-action-panel{
  width:100%;
  margin:0;
  padding:14px;
  border:1px solid var(--its-border);
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 24px rgba(31,55,103,.055);
}
body.itsnew-body .its-service-action-panel__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  width:100%;
}
body.itsnew-body .its-service-action-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  min-width:0;
  min-height:48px;
  padding:11px 16px;
  border:1px solid transparent;
  border-radius:11px;
  font-size:16px;
  font-weight:700;
  line-height:1.15;
  text-align:center;
  text-decoration:none!important;
  white-space:nowrap;
  transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease;
}
body.itsnew-body .its-service-action-btn svg{
  flex:0 0 18px;
  width:18px;
  height:18px;
  margin:0;
}
body.itsnew-body .its-service-action-btn--primary{
  border-color:var(--its-accent);
  background:var(--its-accent);
  color:#fff;
  box-shadow:0 9px 20px rgba(56,103,214,.2);
}
body.itsnew-body .its-service-action-btn--primary:hover,
body.itsnew-body .its-service-action-btn--primary:focus-visible{
  border-color:#2147a0;
  background:#2147a0;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(56,103,214,.27);
}
body.itsnew-body .its-service-action-btn--secondary{
  border-color:var(--its-accent);
  background:#fff;
  color:var(--its-accent);
}
body.itsnew-body .its-service-action-btn--secondary:hover,
body.itsnew-body .its-service-action-btn--secondary:focus-visible{
  border-color:var(--its-accent);
  background:var(--its-accent-soft);
  color:#2147a0;
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(56,103,214,.14);
}
body.itsnew-body .its-service-action-btn:active{
  transform:translateY(0);
  box-shadow:none;
}
@media(max-width:991.98px){
  body.itsnew-body .services_item .its-item-actions,
  body.itsnew-body .services_item .its-item-actions__primary{
    flex-wrap:wrap!important;
  }
}
@media(max-width:767.98px){
  body.itsnew-body .its-item-head--services{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
  }
  body.itsnew-body .its-item-head--services>.btn{
    width:100%;
  }
  body.itsnew-body .its-item-head--services .portfolio-item-author{
    grid-column:1/-1;
    width:100%;
    margin:0!important;
    padding:2px 0 0;
  }
}
@media(max-width:575.98px){
  body.itsnew-body .its-service-action-panel{
    padding:12px;
  }
  body.itsnew-body .its-service-action-panel__grid{
    grid-template-columns:1fr;
    gap:10px;
  }
  body.itsnew-body .its-service-action-btn{
    min-height:46px;
    padding:10px 14px;
    font-size:15px;
  }
}
@media(max-width:420px){
  body.itsnew-body .its-item-head--services{
    grid-template-columns:1fr;
  }
  body.itsnew-body .its-item-head--services .portfolio-item-author{
    grid-column:auto;
  }
}

.itsnew-body .services_item .field.f_nav,.itsnew-body .services_item .field.f_toc,.itsnew-body .services_item .field.f_contents,.itsnew-body .services_item .field.f_content_nav{display:none!important}

/* 0.5.31: services catalogue */
.its-services-page{display:grid;gap:22px}
.its-services-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 32px;border:1px solid var(--its-border);border-radius:20px;background:linear-gradient(135deg,#fff 0%,#f5f8ff 62%,#eefaf7 100%);box-shadow:var(--its-shadow);overflow:hidden;position:relative}
.its-services-hero:before,.its-services-hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.its-services-hero:before{width:210px;height:210px;right:12%;top:-130px;background:rgba(56,103,214,.08)}.its-services-hero:after{width:170px;height:170px;right:-55px;bottom:-95px;background:rgba(32,180,134,.10)}
.its-services-hero__copy,.its-services-hero__stats{position:relative;z-index:1}.its-services-hero__copy{max-width:760px}.its-services-hero__eyebrow{display:block;margin-bottom:8px;color:var(--its-accent);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.its-services-hero h1{margin:0 0 10px;font-size:clamp(34px,4vw,52px)}.its-services-hero p{margin:0;max-width:720px;color:var(--its-text-2);font-size:17px;line-height:1.65}
.its-services-hero__stats{display:flex;align-items:stretch;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:300px}.its-services-stat{min-width:104px;padding:13px 15px;border:1px solid var(--its-accent-border);border-radius:14px;background:rgba(255,255,255,.88);display:flex;flex-direction:column;justify-content:center}.its-services-stat span{font-size:11px;color:var(--its-muted);text-transform:uppercase;letter-spacing:.05em}.its-services-stat b{font-size:24px;color:var(--its-accent);line-height:1.1}.its-services-hero__add{padding-inline:18px}
.its-services-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--its-border);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(31,55,103,.06)}
.its-services-category-card{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;border:1px solid var(--its-border);border-radius:14px;background:#fff;color:var(--its-text)!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease}.its-services-category-card:hover{transform:translateY(-3px);border-color:var(--its-accent-border);box-shadow:0 12px 26px rgba(56,103,214,.12);background:#f9fbff}.its-services-category-card.is-active{border-color:var(--its-accent);background:var(--its-accent-soft)}
.its-services-category-card__icon{width:46px;height:46px;border-radius:13px;background:var(--its-accent-soft);color:var(--its-accent);display:flex;align-items:center;justify-content:center}.its-services-category-card__icon svg{width:23px;height:23px;fill:currentColor}.its-services-category-card__body{min-width:0;display:flex;flex-direction:column;gap:3px}.its-services-category-card__body strong{font-size:14px;color:var(--its-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.its-services-category-card__body small{font-size:11px;line-height:1.35;color:var(--its-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.its-services-category-card>b{min-width:31px;height:31px;padding:0 8px;border-radius:999px;background:#f3f6fc;color:var(--its-accent);display:inline-flex;align-items:center;justify-content:center;font-size:12px}.its-services-category-card.is-active>b{background:var(--its-accent);color:#fff}
.its-services-datasets{padding:12px 16px;border:1px solid var(--its-border);border-radius:14px;background:#fff}.its-services-datasets .content_datasets_services{margin:0!important}.its-services-description{margin:0 0 8px;padding:22px 24px;border:1px solid var(--its-border);border-radius:16px;background:#fff;color:var(--its-text-2);box-shadow:0 8px 22px rgba(31,55,103,.05)}
.its-services-groups{display:grid;gap:30px}.its-services-group{padding:24px;border:1px solid var(--its-border);border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(31,55,103,.06)}.its-services-group__head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--its-border)}.its-services-group__heading{display:flex;align-items:center;gap:13px;min-width:0}.its-services-group__icon{width:48px;height:48px;flex:0 0 48px;border-radius:14px;background:var(--its-accent-soft);color:var(--its-accent);display:flex;align-items:center;justify-content:center}.its-services-group__icon svg{width:25px;height:25px;fill:currentColor}.its-services-group__eyebrow{display:block;margin-bottom:2px;color:var(--its-muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.its-services-group h2{margin:0;font-size:27px}.its-services-group h2 a{color:var(--its-text)!important}.its-services-group h2 a:hover{color:var(--its-accent)!important}.its-services-group__all{min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:8px 10px 8px 14px;border:1px solid var(--its-accent-border);border-radius:11px;background:#fff;color:var(--its-accent)!important;font-size:13px;font-weight:700}.its-services-group__all:hover{background:var(--its-accent);border-color:var(--its-accent);color:#fff!important}.its-services-group__all b{min-width:25px;height:25px;padding:0 6px;border-radius:999px;background:var(--its-accent-soft);display:flex;align-items:center;justify-content:center;font-size:11px}.its-services-group__all:hover b{background:rgba(255,255,255,.18)}.its-services-group__all svg{width:14px;height:14px}
.its-services-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.its-services-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--its-border);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 7px 20px rgba(31,55,103,.05);opacity:0;transform:translateY(24px);transition:opacity .62s ease var(--its-services-card-delay,0ms),transform .62s cubic-bezier(.2,.7,.2,1) var(--its-services-card-delay,0ms),box-shadow .25s ease,border-color .25s ease}.its-services-card.is-visible{opacity:1;transform:translateY(0)}.its-services-card:hover{border-color:var(--its-accent-border);box-shadow:var(--its-shadow-hover)}
.its-services-card__media{position:relative;height:158px;overflow:hidden;background:linear-gradient(135deg,#eaf0ff,#eefaf7);display:flex;align-items:center;justify-content:center}.its-services-card__media img{width:100%!important;height:100%!important;object-fit:cover;display:block;transition:transform .45s ease}.its-services-card:hover .its-services-card__media img{transform:scale(1.055)}.its-services-card__placeholder{width:72px;height:72px;border-radius:20px;background:rgba(255,255,255,.78);color:var(--its-accent);display:flex;align-items:center;justify-content:center}.its-services-card__placeholder svg{width:38px;height:38px;fill:currentColor}.its-services-card__category{position:absolute;left:12px;top:12px;max-width:calc(100% - 24px);padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 5px 14px rgba(31,55,103,.12);color:var(--its-accent);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.its-services-card__body{display:flex;flex:1;flex-direction:column;padding:15px 15px 12px}.its-services-card h3{margin:0 0 8px;font-size:16px;line-height:1.32}.its-services-card h3 a{color:var(--its-text)!important}.its-services-card h3 a:hover{color:var(--its-accent)!important}.its-services-card__body p{margin:0 0 14px;color:var(--its-text-2);font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.its-services-card__meta{margin-top:auto;display:flex;align-items:center;gap:13px;color:var(--its-muted);font-size:11px}.its-services-card__meta span{display:inline-flex;align-items:center;gap:5px}.its-services-card__meta svg{width:13px;height:13px}.its-services-card__meta span:last-child svg{color:#f4b740}
.its-services-card__footer{display:flex;align-items:center;gap:8px;padding:11px 15px 14px;border-top:1px solid #edf1f8}.its-services-card__details{min-height:37px;flex:1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 11px;border-radius:9px;background:var(--its-accent-soft);color:var(--its-accent)!important;font-size:12px;font-weight:700}.its-services-card__details:hover{background:var(--its-accent);color:#fff!important}.its-services-card__details svg{width:13px;height:13px}.its-services-card__external{width:37px;height:37px;flex:0 0 37px;border:1px solid var(--its-accent-border);border-radius:9px;background:#fff;color:var(--its-accent)!important;display:flex;align-items:center;justify-content:center}.its-services-card__external:hover{background:var(--its-accent);border-color:var(--its-accent);color:#fff!important}.its-services-card__external svg{width:14px;height:14px}
@media(max-width:1199.98px){.its-services-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.its-services-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991.98px){.its-services-hero{align-items:flex-start;flex-direction:column}.its-services-hero__stats{justify-content:flex-start;min-width:0;width:100%}.its-services-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.its-services-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767.98px){.its-services-page{gap:16px}.its-services-hero{padding:22px}.its-services-hero h1{font-size:34px}.its-services-hero p{font-size:15px}.its-services-hero__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.its-services-hero__add{grid-column:1/-1;width:100%}.its-services-category-grid{padding:12px;gap:9px}.its-services-category-card{grid-template-columns:40px minmax(0,1fr) auto;padding:10px;gap:9px}.its-services-category-card__icon{width:40px;height:40px}.its-services-category-card__icon svg{width:20px;height:20px}.its-services-category-card__body small{display:none}.its-services-group{padding:17px}.its-services-group__head{align-items:flex-start}.its-services-group h2{font-size:23px}.its-services-group__all span{display:none}.its-services-card__media{height:175px}}
@media(max-width:575.98px){.its-services-category-grid{grid-template-columns:1fr}.its-services-card-grid{grid-template-columns:1fr}.its-services-group__head{gap:10px}.its-services-group__icon{width:42px;height:42px;flex-basis:42px}.its-services-group__all{padding-left:9px}.its-services-card__media{height:210px}}
@media(prefers-reduced-motion:reduce){.its-services-card{opacity:1!important;transform:none!important;transition:none!important}}


/* ITSNEW 0.5.32 — вложенные пункты пользовательского меню. */
#desktop_device_type .icms-user-menu > .icms-user-menu__items{
  min-width:220px;
  overflow:visible!important;
}
#desktop_device_type .icms-user-menu__items li.dropdown{
  position:relative;
}
#desktop_device_type .icms-user-menu__items li.dropdown > .dropdown-menu{
  top:-1px!important;
  right:calc(100% - 1px)!important;
  bottom:auto!important;
  left:auto!important;
  min-width:230px;
  margin:0!important;
  padding:6px!important;
  border:1px solid var(--its-border)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(20,38,78,.16)!important;
  z-index:1085!important;
}
#desktop_device_type .icms-user-menu__items li.dropdown.show > .dropdown-menu{
  display:block!important;
  animation:its-user-submenu-in .16s ease-out both;
}
#desktop_device_type .icms-user-menu__items li.dropdown > a.dropdown-toggle::after{
  display:none!important;
}
#desktop_device_type .icms-user-menu__items li.dropdown > a.dropdown-toggle::before{
  display:inline-block!important;
  width:0;
  height:0;
  margin-right:.42rem;
  vertical-align:.1em;
  content:"";
  border-top:.28em solid transparent;
  border-right:.34em solid currentColor;
  border-bottom:.28em solid transparent;
}
#desktop_device_type .icms-user-menu__items li.dropdown > .dropdown-menu .dropdown-item{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:8px 11px!important;
  border-radius:7px;
  color:var(--its-text)!important;
}
#desktop_device_type .icms-user-menu__items li.dropdown > .dropdown-menu .dropdown-item:hover,
#desktop_device_type .icms-user-menu__items li.dropdown > .dropdown-menu .dropdown-item:focus{
  background:var(--its-accent-soft)!important;
  color:var(--its-accent)!important;
  text-decoration:none;
}
@keyframes its-user-submenu-in{
  from{opacity:0;transform:translateX(5px)}
  to{opacity:1;transform:translateX(0)}
}

/* StencilConv сохраняет собственную палитру и не наследует цвет заголовков темы. */
body.itsnew-body .sc-page h1,
body.itsnew-body .sc-page h2,
body.itsnew-body .sc-page h3,
body.itsnew-body .sc-page h4,
body.itsnew-body .sc-page h1 a,
body.itsnew-body .sc-page h2 a,
body.itsnew-body .sc-page h3 a,
body.itsnew-body .sc-page h4 a{
  color:inherit;
  letter-spacing:normal;
}
body.itsnew-body .sc-page .sc-hero h1{
  color:#fff;
}
body.itsnew-body .sc-page .sc-hero h1 a{
  color:inherit;
}

/* StencilConv gallery: fixed contrast inside the dark hero and primary actions. */
body.itsnew-body .sc-gallery-page .sc-gallery-hero h1,
body.itsnew-body .sc-gallery-page .sc-gallery-hero h2,
body.itsnew-body .sc-gallery-page .sc-gallery-hero h3{
  color:#fff!important;
}
body.itsnew-body .sc-gallery-page .sc-gallery-hero p{
  color:rgba(255,255,255,.88)!important;
}
body.itsnew-body .sc-gallery-page .sc-gallery-hero .sc-kicker{
  color:#8fb0ff!important;
}
body.itsnew-body .sc-gallery-page .sc-btn.sc-btn--primary,
body.itsnew-body .sc-gallery-page a.sc-btn.sc-btn--primary,
body.itsnew-body .sc-gallery-page button.sc-btn.sc-btn--primary{
  border-color:#3867d6!important;
  background:#3867d6!important;
  color:#fff!important;
  text-shadow:none!important;
}
body.itsnew-body .sc-gallery-page .sc-btn.sc-btn--primary *,
body.itsnew-body .sc-gallery-page a.sc-btn.sc-btn--primary *{
  color:inherit!important;
}
body.itsnew-body .sc-gallery-page .sc-btn.sc-btn--primary:hover,
body.itsnew-body .sc-gallery-page .sc-btn.sc-btn--primary:focus,
body.itsnew-body .sc-gallery-page a.sc-btn.sc-btn--primary:hover,
body.itsnew-body .sc-gallery-page a.sc-btn.sc-btn--primary:focus{
  border-color:#2f58bd!important;
  background:#2f58bd!important;
  color:#fff!important;
}


/* ITSNEW 0.5.34 — двухуровневое пользовательское меню по наведению. */
#desktop_device_type .icms-user-menu > .icms-user-menu__items{
  overflow:visible!important;
}
#desktop_device_type .icms-user-menu__items li.dropdown{
  position:relative;
}
#desktop_device_type .icms-user-menu__items li.dropdown > a.dropdown-toggle{
  cursor:pointer;
}
#desktop_device_type .icms-user-menu__items li.dropdown > .dropdown-menu{
  display:none!important;
  top:-1px!important;
  right:calc(100% - 2px)!important;
  bottom:auto!important;
  left:auto!important;
  margin:0!important;
  visibility:hidden;
  opacity:0;
  pointer-events:none!important;
  transform:translateX(5px);
  transition:opacity .16s ease, transform .16s ease, visibility .16s ease;
}
#desktop_device_type .icms-user-menu__items li.dropdown:hover > .dropdown-menu,
#desktop_device_type .icms-user-menu__items li.dropdown:focus-within > .dropdown-menu,
#desktop_device_type .icms-user-menu__items li.dropdown.its-submenu-active > .dropdown-menu{
  display:block!important;
  visibility:visible;
  opacity:1;
  pointer-events:auto!important;
  transform:translateX(0);
  animation:its-user-submenu-in .16s ease-out both;
}
#desktop_device_type .icms-user-menu__items li.dropdown.show:not(:hover):not(:focus-within):not(.its-submenu-active) > .dropdown-menu{
  display:none!important;
}
#desktop_device_type .icms-user-menu__items li.dropdown > .dropdown-menu::after{
  content:"";
  position:absolute;
  top:0;
  right:-6px;
  bottom:0;
  width:8px;
}
#desktop_device_type .icms-user-menu__items li.dropdown > a.dropdown-toggle::before{
  transition:transform .16s ease;
}
#desktop_device_type .icms-user-menu__items li.dropdown:hover > a.dropdown-toggle::before,
#desktop_device_type .icms-user-menu__items li.dropdown:focus-within > a.dropdown-toggle::before,
#desktop_device_type .icms-user-menu__items li.dropdown.its-submenu-active > a.dropdown-toggle::before{
  transform:translateX(-2px);
}

body.itsnew-body .sc-page a.sc-btn--primary,
body.itsnew-body .sc-page button.sc-btn--primary,
body.itsnew-body .sc-page a.sc-btn--primary:visited,
body.itsnew-body .sc-page button.sc-btn--primary:visited,
body.itsnew-body .sc-page a.sc-btn--primary:hover,
body.itsnew-body .sc-page button.sc-btn--primary:hover,
body.itsnew-body .sc-page a.sc-btn--primary:focus,
body.itsnew-body .sc-page button.sc-btn--primary:focus,
body.itsnew-body .sc-page a.sc-btn--primary:active,
body.itsnew-body .sc-page button.sc-btn--primary:active{
  color:#fff!important;
  text-decoration:none!important;
}
body.itsnew-body .sc-page .sc-btn--primary svg{
  color:inherit!important;
  stroke:currentColor!important;
}

/* ITSNEW 0.5.35 — единый каталог сервисов и рабочие внешние ссылки. */
.its-services-list-filter{margin-bottom:18px;padding:14px 16px;border:1px solid var(--its-border);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(31,55,103,.05)}
.its-services-category-results{margin:0}
.its-services-group__count{pointer-events:none;cursor:default}
.its-services-group__count:hover{background:#fff;border-color:var(--its-accent-border);color:var(--its-accent)!important}
.its-services-pagebar{margin-top:22px}
.its-services-pagebar .pagination{margin-bottom:0;justify-content:center}
@media(max-width:767.98px){.its-services-description{padding:18px;margin-bottom:4px}.its-services-category-results{padding:17px}.its-services-list-filter{padding:12px}}

/* ITSNEW 0.5.39 — shared redesign for /catalog and /stati. */
.its-library-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:36px;
  align-items:center;
  overflow:hidden;
  margin:0 0 24px;
  padding:38px 42px;
  border:1px solid rgba(124,164,255,.2);
  border-radius:18px;
  background:
    radial-gradient(circle at 82% 20%,rgba(71,136,255,.28),transparent 34%),
    radial-gradient(circle at 14% 112%,rgba(48,214,176,.18),transparent 34%),
    linear-gradient(135deg,#071a3a 0%,#0b2a5f 52%,#0a3774 100%);
  box-shadow:0 20px 54px rgba(8,29,67,.16);
  color:#fff;
}
.its-library-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(90deg,#000,transparent 88%);
}
.its-library-hero__content{position:relative;z-index:2;min-width:0}
.its-library-hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:34px;
  margin-bottom:15px;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.17);
  border-radius:999px;
  background:rgba(255,255,255,.09);
  color:#cfe1ff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
}
.its-library-hero__kicker svg{width:16px;height:16px;color:#6ff0cf}
.its-library-hero h1{
  max-width:880px;
  margin:0 0 15px;
  color:#fff!important;
  font-size:clamp(34px,4vw,52px)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
.its-library-hero__description{
  max-width:860px;
  margin:0;
  color:#d4e2f7;
  font-size:16px;
  line-height:1.72;
}
.its-library-hero__description>*:last-child{margin-bottom:0}
.its-library-hero__description a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.its-library-hero__stats{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.its-library-hero__stat{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:142px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(255,255,255,.075);
  backdrop-filter:blur(8px);
}
.its-library-hero__stat-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:10px;
  background:rgba(99,160,255,.18);
  color:#91bbff;
}
.its-library-hero__stat-icon svg{width:16px;height:16px}
.its-library-hero__stat>span:last-child{display:flex;flex-direction:column;line-height:1.1}
.its-library-hero__stat b{font-size:18px;color:#fff}
.its-library-hero__stat small{margin-top:4px;color:#afc4e3;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.its-library-hero__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.its-library-hero__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  padding:10px 16px;
  border:1px solid #5e8ee8;
  border-radius:10px;
  background:#fff;
  color:#123d7b!important;
  font-weight:750;
  text-decoration:none!important;
  box-shadow:0 8px 24px rgba(3,16,43,.18);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.its-library-hero__button:hover{transform:translateY(-2px);background:#eef5ff;box-shadow:0 12px 30px rgba(3,16,43,.25)}
.its-library-hero__button svg{width:15px;height:15px}
.its-library-hero__button--secondary{border-color:rgba(255,255,255,.19);background:rgba(255,255,255,.08);color:#fff!important;box-shadow:none}
.its-library-hero__button--secondary:hover{background:rgba(255,255,255,.14)}
.its-library-hero__visual{position:relative;z-index:2;min-height:245px}
.its-library-hero__orb{position:absolute;border-radius:50%;filter:blur(1px)}
.its-library-hero__orb--one{width:190px;height:190px;right:24px;top:12px;background:linear-gradient(135deg,rgba(73,146,255,.42),rgba(68,237,195,.09))}
.its-library-hero__orb--two{width:92px;height:92px;right:178px;bottom:1px;background:rgba(73,225,195,.16)}
.its-library-hero__visual-card{
  position:absolute;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.2);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.07));
  backdrop-filter:blur(12px);
  box-shadow:0 18px 45px rgba(0,15,48,.22);
}
.its-library-hero__visual-card--main{right:24px;top:43px;width:230px;padding:23px;transform:rotate(3deg)}
.its-library-hero__visual-card--main>span{display:inline-flex;align-items:center;justify-content:center;width:47px;height:47px;margin-bottom:20px;border-radius:13px;background:#fff;color:#2865c7}
.its-library-hero__visual-card--main svg{width:23px;height:23px}
.its-library-hero__visual-card--main b{color:#fff;font-size:18px;line-height:1.25}
.its-library-hero__visual-card--main small{margin-top:8px;color:#bfd2ed;line-height:1.45}
.its-library-hero__visual-card--small{right:226px;top:20px;align-items:center;justify-content:center;width:62px;height:62px;color:#67e8c8;transform:rotate(-8deg)}
.its-library-hero__visual-card--small svg{width:24px;height:24px}

.its-library-categories{
  margin:0 0 25px;
  padding:22px;
  border:1px solid var(--its-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 30px rgba(20,48,92,.06);
}
.its-library-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}
.its-library-section-heading>div{display:flex;align-items:center;gap:10px}
.its-library-section-heading>div>span{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:var(--its-accent-soft);color:var(--its-accent)}
.its-library-section-heading svg{width:18px;height:18px}
.its-library-section-heading h2{margin:0!important;font-size:23px!important;color:#132b4f}
.its-library-section-heading p{max-width:520px;margin:0;color:var(--its-muted);font-size:13px;line-height:1.55;text-align:right}
.its-library-categories__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.its-library-category{
  position:relative;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 24px;
  gap:12px;
  align-items:center;
  min-height:78px;
  padding:13px 14px;
  border:1px solid #dce7f5;
  border-radius:12px;
  background:linear-gradient(180deg,#fff,#f8fbff);
  color:#17365f!important;
  text-decoration:none!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.its-library-category:hover,.its-library-category.active{transform:translateY(-2px);border-color:#8eb4f2;background:#f3f8ff;box-shadow:0 9px 22px rgba(42,91,169,.11)}
.its-library-category__icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:11px;background:#eaf2ff;color:#3867d6}
.its-library-category__icon svg{width:19px;height:19px}
.its-library-category__text{display:flex;flex-direction:column;min-width:0}
.its-library-category__text b{overflow:hidden;color:#17365f;font-size:14px;line-height:1.35;text-overflow:ellipsis}
.its-library-category__text small{margin-top:5px;color:#7587a3;font-size:12px}
.its-library-category__arrow{display:inline-flex;align-items:center;justify-content:center;color:#9aacc4;transition:transform .2s ease,color .2s ease}
.its-library-category:hover .its-library-category__arrow{transform:translateX(3px);color:#3867d6}
.its-library-category__arrow svg{width:14px;height:14px}

.its-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:12px 14px;border:1px solid var(--its-border);border-radius:12px;background:#fff}
.its-library-toolbar__datasets{margin:0!important;min-width:0;flex:1}
.its-library-toolbar__styles{display:flex;align-items:center;gap:6px}
.its-library-toolbar__styles .btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:1px solid var(--its-border);border-radius:9px;background:#f7faff;color:#56708f}
.its-library-toolbar__styles .btn:hover{border-color:var(--its-accent);color:var(--its-accent);background:var(--its-accent-soft)}

.its-library-list{display:flex;flex-direction:column;gap:17px;margin:0}
.its-library-card{
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  min-height:205px;
  overflow:hidden;
  border:1px solid #dfe8f3;
  border-radius:16px;
  background:#fff;
  box-shadow:0 9px 28px rgba(25,57,101,.055);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.its-library-card:hover{transform:translateY(-3px);border-color:#b9ccec;box-shadow:0 16px 35px rgba(25,57,101,.1)}
.its-library-card__media{position:relative;min-height:205px;overflow:hidden;background:#dfe8f4}
.its-library-card__media>a{display:block;width:100%;height:100%;text-decoration:none}
.its-library-card__image{position:relative;isolation:isolate;display:flex;width:100%;height:100%;min-height:205px;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(145deg,#e8eef7,#d7e2f0)}
.its-library-card__image-backdrop{position:absolute;z-index:0;inset:-22px;display:block;overflow:hidden;background:#dce6f3}
.its-library-card__image-backdrop::after{position:absolute;inset:0;content:"";background:linear-gradient(135deg,rgba(235,242,251,.24),rgba(12,42,82,.16))}
.its-library-card__image-backdrop img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;filter:blur(17px) saturate(.82);opacity:.55;transform:scale(1.13)!important;border-radius:0!important}
.its-library-card__image-foreground{position:relative;z-index:1;display:flex;width:100%;height:100%;min-height:205px;align-items:center;justify-content:center;padding:12px;box-sizing:border-box}
.its-library-card__image-foreground>*{display:flex!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;align-items:center;justify-content:center;margin:0!important;padding:0!important;background:transparent!important}
.its-library-card__image-foreground .value,.its-library-card__image-foreground picture,.its-library-card__image-foreground figure{display:flex!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;align-items:center;justify-content:center;margin:0!important}
.its-library-card__image-foreground img{display:block;width:auto!important;height:auto!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;border:1px solid rgba(255,255,255,.62)!important;border-radius:9px!important;box-shadow:0 10px 30px rgba(13,38,75,.19);transition:none!important}
.its-library-card:hover .its-library-card__image img{transform:none}
.its-library-card__placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:205px;background:radial-gradient(circle at 68% 22%,rgba(92,145,234,.28),transparent 34%),linear-gradient(135deg,#102d5b,#23589e)}
.its-library-card__placeholder>span{display:inline-flex;align-items:center;justify-content:center;width:70px;height:70px;border:1px solid rgba(255,255,255,.25);border-radius:19px;background:rgba(255,255,255,.11);color:#fff}
.its-library-card__placeholder svg{width:31px;height:31px}
.its-library-card__type{position:absolute;left:12px;top:12px;display:inline-flex;align-items:center;gap:7px;min-height:29px;padding:5px 10px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(7,29,67,.74);color:#fff;font-size:11px;font-weight:700;backdrop-filter:blur(7px)}
.its-library-card__type svg{width:12px;height:12px}
.its-library-card__body{display:flex;flex-direction:column;min-width:0;padding:20px 22px 17px}
.its-library-card__topline{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:27px;margin-bottom:8px}
.its-library-card__category,.its-library-card__readtime{display:inline-flex;align-items:center;gap:7px;min-width:0;color:#6d7f99;font-size:12px}
.its-library-card__category{padding:5px 9px;border-radius:999px;background:#eef5ff;color:#315f9f}
.its-library-card__category svg,.its-library-card__readtime svg{flex:0 0 auto;width:13px;height:13px}
.its-library-card__category span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.its-library-card__category a{color:#315f9f!important;text-decoration:none!important}
.its-library-card__category a:hover{text-decoration:underline!important}
.its-library-card__readtime{margin-left:auto;white-space:nowrap}
.its-library-card__readtime .field,.its-library-card__category .field{display:inline!important;margin:0!important;padding:0!important}
.its-library-card__readtime .value,.its-library-card__category .value{display:inline!important}
.its-library-card__title-row{display:flex;align-items:flex-start;gap:12px}
.its-library-card__title{flex:1;min-width:0;margin:0!important;font-size:22px!important;line-height:1.28!important;letter-spacing:-.012em!important}
.its-library-card__title>a{display:-webkit-box;overflow:hidden;color:#142e53!important;text-decoration:none!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.its-library-card__title>a:hover{color:var(--its-accent)!important}
.its-library-card__parent{font-size:12px!important;color:#6f82a0!important}
.its-library-card__lock{display:inline-flex;margin-left:6px;color:#8da0b9}
.its-library-card__lock svg{width:13px;height:13px}
.its-library-card__actions{flex:0 0 auto}
.its-library-card__actions>.btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid var(--its-border);border-radius:9px;background:#fff;color:#71839b}
.its-library-card__actions>.btn:hover{background:var(--its-accent-soft);color:var(--its-accent)}
.its-library-card__excerpt{display:-webkit-box;overflow:hidden;margin:10px 0 12px;color:#526780;font-size:14px;line-height:1.62;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.its-library-card__extras{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.its-library-card__extra{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 8px;border:1px solid #e2eaf4;border-radius:8px;background:#f8faff;color:#526984;font-size:11px}
.its-library-card__extra-label{font-weight:700;color:#34577f}
.its-library-card__extra-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.its-library-card__extra a{color:var(--its-accent)}
.its-library-card__footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:auto;padding-top:12px;border-top:1px solid #edf1f7}
.its-library-card__meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;min-width:0;color:#7b8da6;font-size:12px}
.its-library-card__meta-item{position:relative;display:inline-flex;align-items:center;gap:6px;min-width:0}
.its-library-card__meta-item svg{flex:0 0 auto;width:13px;height:13px;color:#8aa2c3}
.its-library-card__meta-item a{color:#627a98!important;text-decoration:none!important}
.its-library-card__meta-item a:hover{color:var(--its-accent)!important}
.its-library-card__more{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:36px;padding:7px 11px;border:1px solid #bcd0ed;border-radius:9px;background:#f7faff;color:#315f9f!important;font-size:12px;font-weight:750;text-decoration:none!important;transition:background .2s ease,color .2s ease,border-color .2s ease}
.its-library-card__more svg{width:12px;height:12px;transition:transform .2s ease}
.its-library-card__more:hover{border-color:var(--its-accent);background:var(--its-accent);color:#fff!important}
.its-library-card__more:hover svg{transform:translateX(2px)}
.its-library-card__tags{margin-top:12px}
.its-library-card__tags .btn{border-radius:999px}
.its-library-card--private{opacity:.88}
.its-library-empty{display:flex;align-items:center;gap:13px;margin:22px 0;padding:18px;border:1px solid #d9e5f3;border-radius:13px;background:#f6f9fd;color:#516a88}
.its-library-empty__icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;background:#e8f1ff;color:#3867d6}
.its-library-empty__icon svg{width:18px;height:18px}
.its-library-empty p{margin:0}
.its-library-pagination{margin-top:24px}
.its-library-pagination .pagination{justify-content:center}
.its-library-pagination .page-link{border-color:#dbe6f3;color:#315f9f}
.its-library-pagination .page-item.active .page-link{border-color:var(--its-accent);background:var(--its-accent);color:#fff}

@media(max-width:1199.98px){
  .its-library-hero{grid-template-columns:minmax(0,1fr) 270px;padding:34px}
  .its-library-hero__visual-card--main{right:4px;width:220px}
  .its-library-hero__visual-card--small{right:194px}
  .its-library-card{grid-template-columns:235px minmax(0,1fr)}
}
@media(max-width:991.98px){
  .its-library-hero{grid-template-columns:1fr;padding:30px}
  .its-library-hero__visual{display:none}
  .its-library-card{grid-template-columns:215px minmax(0,1fr)}
  .its-library-card__body{padding:18px}
  .its-library-section-heading{align-items:flex-start;flex-direction:column;gap:7px}
  .its-library-section-heading p{text-align:left}
}
@media(max-width:767.98px){
  .its-library-hero{margin-bottom:18px;padding:23px 20px;border-radius:15px}
  .its-library-hero h1{font-size:31px!important}
  .its-library-hero__description{font-size:15px;line-height:1.62}
  .its-library-hero__stats{gap:8px}
  .its-library-hero__stat{min-width:0;flex:1;padding:9px 10px}
  .its-library-categories{padding:17px;border-radius:14px}
  .its-library-categories__grid{grid-template-columns:1fr}
  .its-library-toolbar{align-items:flex-start;flex-direction:column}
  .its-library-toolbar__styles{align-self:flex-end}
  .its-library-card{grid-template-columns:1fr;min-height:0}
  .its-library-card__media{min-height:0;aspect-ratio:16/8.5}
  .its-library-card__image,.its-library-card__image-foreground,.its-library-card__placeholder{min-height:0}
  .its-library-card__image-foreground{padding:9px}
  .its-library-card__body{padding:17px}
  .its-library-card__title{font-size:20px!important}
  .its-library-card__footer{align-items:flex-start;flex-direction:column;gap:12px}
  .its-library-card__more{align-self:stretch}
}
@media(max-width:479.98px){
  .its-library-hero__stats{flex-direction:column}
  .its-library-hero__stat{width:100%}
  .its-library-hero__actions{flex-direction:column}
  .its-library-hero__button{width:100%}
  .its-library-card__topline{align-items:flex-start;flex-direction:column;gap:7px}
  .its-library-card__readtime{margin-left:0}
  .its-library-card__meta{gap:7px 11px}
}

@media(prefers-reduced-motion:reduce){
  .its-library-card,.its-library-category,.its-library-hero__button,.its-library-card__image img{transition:none!important}
}

/* ITSNEW 0.5.42 — внутренние страницы /catalog и /stati. */
.its-library-item{min-width:0}
.its-library-item-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(290px,380px);
  gap:34px;
  align-items:center;
  overflow:hidden;
  margin:0 0 22px;
  padding:34px 36px;
  border:1px solid rgba(124,164,255,.22);
  border-radius:18px;
  background:
    radial-gradient(circle at 88% 8%,rgba(73,143,255,.32),transparent 34%),
    radial-gradient(circle at 8% 105%,rgba(58,223,183,.15),transparent 34%),
    linear-gradient(135deg,#071a3a 0%,#0b2b61 54%,#0a3978 100%);
  box-shadow:0 20px 52px rgba(8,29,67,.16);
  color:#fff;
}
.its-library-item-hero::before{
  position:absolute;
  inset:0;
  content:"";
  pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(90deg,#000,transparent 92%);
}
.its-library-item-hero__content,.its-library-item-hero__visual{position:relative;z-index:1;min-width:0}
.its-library-item-hero__badges{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.its-library-item-hero__type,.its-library-item-hero__category{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:31px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.17);
  border-radius:999px;
  background:rgba(255,255,255,.09);
  color:#d8e7ff!important;
  font-size:12px;
  font-weight:700;
  text-decoration:none!important;
  backdrop-filter:blur(7px);
}
.its-library-item-hero__type:hover,.its-library-item-hero__category:hover{background:rgba(255,255,255,.15);color:#fff!important}
.its-library-item-hero__type svg{width:13px;height:13px;color:#6ff0cf}
.its-library-item-hero__category a{color:#d8e7ff!important;text-decoration:none!important}
.its-library-item-hero__category a:hover{color:#fff!important}
.its-library-item-hero h1{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(31px,3.35vw,48px)!important;
  line-height:1.1!important;
  letter-spacing:-.035em!important;
  text-wrap:balance;
}
.its-library-item-hero h1 .is_private{display:inline-flex;margin-left:7px;color:#b9ccef}
.its-library-item-hero h1 .is_private svg{width:18px;height:18px}
.its-library-item-hero__meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;margin-top:22px}
.its-library-item-author{display:inline-grid;grid-template-columns:43px minmax(0,1fr);align-items:center;gap:10px;color:#fff!important;text-decoration:none!important}
.its-library-item-author__avatar,.its-library-item-author__avatar img,.its-library-item-author__avatar .avatar{display:block;width:43px!important;height:43px!important;border-radius:11px!important;object-fit:cover}
.its-library-item-author__avatar{overflow:hidden;border:2px solid rgba(255,255,255,.22)}
.its-library-item-author__text{display:flex;min-width:0;flex-direction:column;line-height:1.2}
.its-library-item-author__text b{overflow:hidden;color:#fff;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.its-library-item-author__text small{margin-top:4px;color:#b8cbe8;font-size:11px}
.its-library-item-hero__meta-entry{display:inline-flex;align-items:center;gap:7px;color:#cadbf2;font-size:12px;white-space:nowrap}
.its-library-item-hero__meta-entry svg{width:14px;height:14px;color:#91bbff}
.its-library-item-hero__actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:22px}
.its-library-item-hero__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:9px 14px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:10px;
  background:rgba(255,255,255,.09);
  color:#fff!important;
  font-size:13px;
  font-weight:750;
  text-decoration:none!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.its-library-item-hero__button:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.16)}
.its-library-item-hero__button svg{width:14px;height:14px}
.its-library-item-hero__button--favorite-active{border-color:rgba(111,240,207,.45);background:rgba(111,240,207,.12);color:#8ff5da!important}
.its-library-item-hero__visual{display:flex;min-height:250px;align-items:center;justify-content:center}
.its-library-item-hero__image{
  position:relative;
  display:flex;
  width:100%;
  min-height:245px;
  max-height:310px;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:13px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:17px;
  background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.07));
  box-shadow:0 18px 40px rgba(0,15,48,.24);
  backdrop-filter:blur(10px);
}
.its-library-item-hero__image>*{display:flex!important;width:100%!important;height:100%!important;max-width:100%!important;align-items:center;justify-content:center;margin:0!important;padding:0!important;background:transparent!important}
.its-library-item-hero__image .value,.its-library-item-hero__image picture,.its-library-item-hero__image figure{display:flex!important;width:100%!important;height:100%!important;align-items:center;justify-content:center;margin:0!important}
.its-library-item-hero__image img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:280px!important;object-fit:contain!important;object-position:center!important;border-radius:11px!important;box-shadow:0 13px 30px rgba(0,15,48,.27)}
.its-library-item-hero__placeholder{display:flex;width:100%;min-height:245px;align-items:center;justify-content:center;flex-direction:column;padding:24px;border:1px solid rgba(255,255,255,.18);border-radius:17px;background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.06));box-shadow:0 18px 40px rgba(0,15,48,.22);text-align:center;transform:rotate(1.2deg)}
.its-library-item-hero__placeholder>span{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;margin-bottom:18px;border-radius:16px;background:#fff;color:#3867d6}
.its-library-item-hero__placeholder svg{width:27px;height:27px}
.its-library-item-hero__placeholder b{color:#fff;font-size:19px}
.its-library-item-hero__placeholder small{margin-top:7px;color:#bfd2ed;font-size:12px;line-height:1.45}
.its-library-item>.parent_title{margin:-5px 0 18px;padding:10px 13px;border:1px solid var(--its-border);border-radius:10px;background:#fff}
.its-library-item__content{margin:0!important;padding:30px 34px!important;border-radius:18px!important;box-shadow:0 12px 34px rgba(25,57,101,.065)!important}
.its-library-item__content>.icms-content-fields{max-width:100%}
.its-library-item__content .field{max-width:100%}
.its-library-item__content .field+.field{margin-top:18px}
.its-library-item__content .field_label{margin-bottom:9px;color:#18375f;font-size:13px;font-weight:750}
.its-library-item__content .f_content>.value{color:#263f61!important;font-size:17px!important;line-height:1.82!important}
.its-library-item__content .f_content>.value>p:first-child{margin-top:0}
.its-library-item__content .f_content>.value h2{position:relative;margin:42px 0 17px!important;padding:0 0 12px;color:#102f59!important;font-size:30px!important;line-height:1.25!important;letter-spacing:-.02em!important}
.its-library-item__content .f_content>.value h2::after{position:absolute;left:0;bottom:0;width:62px;height:3px;border-radius:999px;background:linear-gradient(90deg,#3867d6,#56d8bc);content:""}
.its-library-item__content .f_content>.value h3{margin:31px 0 13px!important;color:#173a68!important;font-size:23px!important;line-height:1.32!important;letter-spacing:-.012em!important}
.its-library-item__content .f_content>.value h4{margin:25px 0 10px;color:#1d426f;font-size:19px;line-height:1.38}
.its-library-item__content .f_content>.value a{color:#2e64ce;text-decoration-thickness:1px;text-underline-offset:3px}
.its-library-item__content .f_content>.value ul,.its-library-item__content .f_content>.value ol{margin:14px 0 20px;padding-left:25px}
.its-library-item__content .f_content>.value li{margin:7px 0;padding-left:3px}
.its-library-item__content .f_content>.value blockquote{margin:24px 0;padding:17px 20px;border:1px solid #cfe0f6;border-left:4px solid #3867d6;border-radius:0 12px 12px 0;background:#f4f8ff;color:#2d4b70}
.its-library-item__content .f_content>.value pre{max-width:100%;overflow:auto;margin:22px 0;padding:18px;border:1px solid #1a3760;border-radius:12px;background:#071a35;color:#dceaff;font-size:13px;line-height:1.65}
.its-library-item__content .f_content>.value code:not(pre code){padding:2px 6px;border-radius:6px;background:#edf3fb;color:#234f91;font-size:.9em}
.its-library-item__content .f_content>.value img{display:block;max-width:100%;height:auto!important;margin:22px auto;border:1px solid #e1e9f4;border-radius:13px!important;box-shadow:0 10px 28px rgba(20,48,92,.08)}
.its-library-item__content .f_content>.value table{width:100%;margin:22px 0;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #dce6f2;border-radius:12px;background:#fff}
.its-library-item__content .f_content>.value th,.its-library-item__content .f_content>.value td{padding:11px 13px;border-right:1px solid #e5ecf5;border-bottom:1px solid #e5ecf5;vertical-align:top}
.its-library-item__content .f_content>.value th{background:#eef4fc;color:#193b67;font-weight:750}
.its-library-item__content .f_content>.value tr:last-child td{border-bottom:0}
.its-library-item__content .f_content>.value th:last-child,.its-library-item__content .f_content>.value td:last-child{border-right:0}
.its-library-item__content .f_nav>.value{margin:0 0 24px}
.its-library-item__content .ft_audio,.its-library-item__content .f_audio,.its-library-item__content .f_voice,.its-library-item__content .f_listen{padding:14px 16px;border:1px solid #d8e5f5;border-radius:12px;background:#f7faff}
.its-library-item__content .fields_group{margin:0}
.its-library-item__content .icms-content-fields__group_title{margin:0 0 18px!important;color:#173a68!important;font-size:25px!important}
.its-library-item__content .content_item_props{margin:25px 0 0!important;border:1px solid #dce6f2;border-radius:12px;overflow:hidden}
.its-library-item__content .content_item_props table{margin:0}
.its-library-item__content .content_item_props .heading{background:#eef4fc;color:#193b67}
.its-library-item__tags{margin-top:23px;padding-top:18px;border-top:1px solid #e7edf5}
.its-library-item__tags .btn{margin:3px;border-radius:999px}
.its-library-item__actions{margin-top:22px!important}
@media(max-width:991.98px){
  .its-library-item-hero{grid-template-columns:1fr;padding:30px}
  .its-library-item-hero__visual{min-height:0}
  .its-library-item-hero__image,.its-library-item-hero__placeholder{min-height:220px}
}
@media(max-width:767.98px){
  .its-library-item-hero{gap:23px;padding:23px 20px;border-radius:15px}
  .its-library-item-hero h1{font-size:31px!important}
  .its-library-item-hero__meta{align-items:flex-start;flex-direction:column;gap:11px}
  .its-library-item-hero__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .its-library-item-hero__button{width:100%}
  .its-library-item-hero__image,.its-library-item-hero__placeholder{min-height:190px;max-height:none}
  .its-library-item-hero__image img{max-height:240px!important}
  .its-library-item__content{padding:21px 19px!important;border-radius:15px!important}
  .its-library-item__content .f_content>.value{font-size:16px!important;line-height:1.75!important}
  .its-library-item__content .f_content>.value h2{margin-top:34px!important;font-size:25px!important}
  .its-library-item__content .f_content>.value h3{font-size:21px!important}
  .its-library-item__content .f_content>.value table{display:block;max-width:100%;overflow-x:auto;white-space:nowrap}
}
@media(max-width:419.98px){
  .its-library-item-hero__actions{grid-template-columns:1fr}
  .its-library-item-hero__badges{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){.its-library-item-hero__button{transition:none!important}}

/* ITSNEW 0.5.43 — компактная нижняя панель внутренних страниц /catalog и /stati. */
body.itsnew-body .its-library-item__actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px 20px!important;
  min-height:62px!important;
  padding:10px 14px!important;
}
body.itsnew-body .its-library-item__actions .its-item-actions__primary{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:8px 13px!important;
  min-width:0!important;
}
body.itsnew-body .its-library-item__actions .its-item-actions__stats{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px 10px!important;
  min-width:0!important;
}
body.itsnew-body .its-library-item__actions .its-item-actions__share{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
  margin-left:0!important;
}
@media(max-width:739.98px){
  body.itsnew-body .its-library-item__actions{
    grid-template-columns:minmax(0,1fr)!important;
    gap:7px!important;
  }
  body.itsnew-body .its-library-item__actions .its-item-actions__share{
    justify-content:flex-start!important;
  }
}
@media(max-width:479.98px){
  body.itsnew-body .its-library-item__actions .its-item-actions__share .bar_item{
    align-items:flex-start!important;
    flex-direction:column!important;
    white-space:normal!important;
  }
  body.itsnew-body .its-library-item__actions .its-item-actions__share .ya-share2__list{
    flex-wrap:wrap!important;
  }
}


/* ITSNEW profile — consolidated 0.5.52 */
.profile-header{
  position:relative;
  min-height:280px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--its-radius);
  background-position:center;
  background-size:cover;
  box-shadow:var(--its-shadow);
  isolation:isolate;
}
.profile-header::before{
  position:absolute;
  z-index:-2;
  inset:0;
  content:"";
  background:linear-gradient(100deg,rgba(7,18,44,.82) 0%,rgba(12,34,74,.67) 48%,rgba(27,73,145,.30) 100%);
}
.profile-header::after{
  position:absolute;
  z-index:-1;
  inset:0;
  content:"";
  pointer-events:none;
  background:linear-gradient(180deg,rgba(4,11,28,.03) 45%,rgba(4,11,28,.20));
}
.profile-header--with-tabs{border-radius:var(--its-radius) var(--its-radius) 0 0}
.profile-header__content{
  min-height:280px;
  padding:30px 32px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:28px;
}
.profile-header__top,.profile-header__bottom{position:relative;z-index:1}
.profile-header__identity{display:flex;align-items:center;gap:22px;min-width:0}
.profile-header__identity .avatar{position:relative;flex:0 0 auto;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.profile-header__identity .avatar,
.profile-header__identity .avatar img,
.profile-header__identity .icms-profile-avatar__default{
  width:124px!important;
  height:124px!important;
  border-radius:28px!important;
  object-fit:cover;
}
.profile-header__identity .avatar>*{border-radius:28px!important}
.profile-header__identity .avatar img,
.profile-header__identity .icms-profile-avatar__default{
  border:5px solid rgba(255,255,255,.95);
  background:transparent!important;
  box-shadow:0 16px 40px rgba(2,10,28,.32);
}
.profile-header__identity .icms-user-avatar.peer_online::after,
.profile-header__identity .icms-user-avatar.peer_no_online::after{
  right:6px;
  bottom:5px;
  width:18px;
  height:18px;
  border:4px solid #fff;
  box-shadow:0 4px 12px rgba(0,0,0,.24);
}
.profile-header__name{min-width:0}
.profile-header__eyebrow{
  min-height:28px;
  margin-bottom:9px;
  padding:5px 10px;
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#e4edff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
}
.profile-header__name h1{
  margin:0!important;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  color:#fff!important;
  font-size:clamp(32px,4vw,44px);
  line-height:1.08;
  letter-spacing:-.04em;
  text-shadow:0 3px 16px rgba(0,0,0,.20);
}
.profile-header__state{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;color:#ffd9df}
.profile-header__state svg{width:18px;height:18px}
.profile-header__meta{
  margin-top:12px;
  display:flex!important;
  align-items:center!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  gap:12px!important;
  color:#e0eaff;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
}
.profile-header__online,.profile-header__city{
  margin:0!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto;
  gap:7px;
  line-height:1.2!important;
  white-space:nowrap;
}
.profile-header__online i{width:9px;height:9px;border-radius:50%;background:#f2b84b;box-shadow:0 0 0 5px rgba(242,184,75,.13)}
.profile-header__online.is-online i{background:#32d19a;box-shadow:0 0 0 5px rgba(50,209,154,.14)}
.profile-header__city svg{width:14px;height:14px;margin:0!important}
.profile-header__bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:22px}
.profile-header__stats{display:flex;align-items:stretch;gap:9px;flex:0 0 auto}
.profile-stat{
  min-width:92px;
  min-height:64px;
  padding:10px 14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:1px solid rgba(255,255,255,.20);
  border-radius:13px;
  background:rgba(7,17,42,.62);
  color:#fff;
  backdrop-filter:blur(9px);
}
.profile-stat b{font-size:20px;line-height:1.05}
.profile-stat span{margin-top:5px;color:#c9d8f5;font-size:9px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.profile-header__contact-area{max-width:760px;margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}
.profile-header__contact-caption{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:#fff;text-align:right}
.profile-header__contact-caption>span{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.12)}
.profile-header__contact-caption svg{width:15px;height:15px}
.profile-header__contact-caption b{font-size:12px;line-height:1.2}
.profile-header__contacts{display:flex!important;width:auto!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:8px!important}
.profile-contact{
  appearance:none;
  min-height:44px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:12px;
  background:rgba(255,255,255,.96);
  color:var(--its-accent)!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font:inherit;
  font-size:12px;
  font-weight:700;
  box-shadow:0 8px 20px rgba(3,13,34,.12);
  cursor:pointer;
  transition:transform .2s ease,background-color .2s ease,box-shadow .2s ease;
}
.profile-contact:hover,.profile-contact:focus{border-color:#fff;background:#fff;color:var(--its-accent-dark)!important;transform:translateY(-2px);box-shadow:0 12px 25px rgba(3,13,34,.20);outline:0}
.profile-contact:not(.profile-contact--revealed){width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;padding:0!important}
.profile-contact__icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px}
.profile-contact__icon svg{width:18px;height:18px}
.profile-contact:not(.profile-contact--revealed) .profile-contact__text{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.profile-contact--revealed{width:auto!important;max-width:min(360px,100%)!important;padding:10px 13px!important;justify-content:flex-start!important;background:var(--its-green-soft);border-color:#bfe9dc;color:#137b5f!important}
.profile-contact--revealed .profile-contact__text{position:static!important;width:auto!important;height:auto!important;margin:0!important;overflow:visible!important;clip:auto!important;white-space:normal!important}
.its-profile-tabs-wrap{margin:0!important}
.profile-header--with-tabs+.its-profile-tabs-wrap{margin-top:0!important}
.icms-profile__tabs{
  margin:0!important;
  padding:0 8px;
  overflow-x:auto;
  overflow-y:hidden;
  flex-wrap:nowrap;
  border:1px solid var(--its-border);
  border-top:0;
  border-radius:0 0 14px 14px;
  background:#fff;
  box-shadow:0 8px 22px rgba(31,55,103,.04);
}
.icms-profile__tabs .nav-item{flex:0 0 auto}
.icms-profile__tabs .nav-link{min-height:50px;padding:14px!important;border:0!important;border-bottom:3px solid transparent!important;color:var(--its-text-2)!important;font-size:13px;font-weight:600;white-space:nowrap}
.icms-profile__tabs .nav-link:hover{background:var(--its-accent-soft);color:var(--its-accent)!important}
.icms-profile__tabs .nav-link.active{border-bottom-color:var(--its-accent)!important;background:transparent!important;color:var(--its-accent)!important}

.its-profile-layout{margin:24px 0 0!important;display:grid!important;grid-template-columns:minmax(245px,285px) minmax(0,1fr);align-items:start;gap:24px}
.its-profile-sidebar,.its-profile-main{min-width:0}
.its-profile-sidebar{display:grid;gap:18px}
.its-profile-sidebar__widgets{display:grid;gap:18px;min-width:0}
.its-profile-sidebar__widgets>.icms-widget,.its-profile-sidebar__widgets>.widget{margin:0!important}
.its-profile-card{overflow:hidden;border:1px solid var(--its-border);border-radius:var(--its-radius);background:#fff;box-shadow:0 8px 26px rgba(31,55,103,.06)}
.its-profile-card__head{min-height:62px;padding:16px 18px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--its-border);background:linear-gradient(180deg,#fff,#fbfcff)}
.its-profile-card__head--main{padding:19px 22px;background:#f6f8fb}
.its-profile-card__icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex:0 0 36px;border-radius:10px;background:var(--its-accent-soft);color:var(--its-accent)}
.its-profile-card__icon svg{width:17px;height:17px}
.its-profile-card__head h2{margin:0!important;font-size:17px;letter-spacing:-.02em}
.its-profile-card__head p{margin:3px 0 0;color:var(--its-muted);font-size:11px;line-height:1.35}
.its-profile-summary__list{padding:5px 18px}
.its-profile-summary__row{padding:12px 0;display:grid;gap:4px;border-bottom:1px solid #edf1f8}
.its-profile-summary__row:last-child{border-bottom:0}
.its-profile-summary__label{color:var(--its-muted);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.its-profile-summary__value{overflow-wrap:anywhere;color:var(--its-text);font-size:13px;font-weight:600}
.its-profile-summary__value a{color:var(--its-accent)}
.its-profile-counts{padding:10px;display:grid;gap:6px;border-top:1px solid var(--its-border);background:#fbfcff}
.its-profile-count{min-height:42px;padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid transparent;border-radius:10px;color:var(--its-text-2)!important;font-size:12px;font-weight:600}
a.its-profile-count:hover{border-color:var(--its-accent-border);background:var(--its-accent-soft);color:var(--its-accent)!important}
.its-profile-count b{min-width:30px;padding:4px 8px;border-radius:999px;background:var(--its-accent-soft);color:var(--its-accent);font-size:11px;text-align:center}
#user_profile .list-group,#user_profile #information{border:1px solid var(--its-border);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(31,55,103,.045)}
#user_profile #information.its-profile-information{padding:0!important;overflow:visible}
#user_profile .list-group-item{border-color:var(--its-border)!important;background:#fff}
.its-profile-fieldset{margin:0;padding:0 22px}
.its-profile-fieldset+.its-profile-fieldset{border-top:1px solid var(--its-border)}
.its-profile-fieldset__title{margin:0!important;padding:22px 0 12px!important;display:flex;align-items:center;gap:10px;border:0!important}
.its-profile-fieldset__title::before{width:4px;height:22px;content:"";flex:0 0 4px;border-radius:4px;background:var(--its-accent)}
.its-profile-fieldset__title::after{display:none!important}
.its-profile-fieldset__title h3{float:none!important;margin:0!important;padding:0!important;background:transparent!important;color:var(--its-text)!important;font-size:17px!important;line-height:1.25}
.its-profile-fields{padding-bottom:12px;display:grid;gap:0}
.its-profile-field{min-width:0;margin:0!important;padding:15px 0;border-top:1px solid #edf1f8}
.its-profile-field:first-child{border-top:0}
.its-profile-field--labeled{display:grid;grid-template-columns:minmax(130px,190px) minmax(0,1fr);align-items:start;gap:20px}
.its-profile-field__label{color:var(--its-muted)!important;font-size:11px;font-weight:700;line-height:1.45;letter-spacing:.025em;text-transform:uppercase}
.its-profile-field__value{min-width:0;overflow-wrap:anywhere;color:var(--its-text-2);font-size:14px;line-height:1.65}
.its-profile-field__value>:first-child{margin-top:0}
.its-profile-field__value>:last-child{margin-bottom:0}
.its-profile-field__value img{height:auto}
.its-profile-field--wide>.its-profile-field__value{width:100%}
.its-profile-empty{margin:20px 22px 24px;padding:22px;display:flex;align-items:center;gap:12px;border:1px dashed var(--its-accent-border);border-radius:13px;background:var(--its-accent-soft);color:var(--its-text-2)}
.its-profile-empty>span{width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex:0 0 38px;border-radius:10px;background:#fff;color:var(--its-accent)}
.its-profile-empty svg{width:17px;height:17px}
.its-profile-empty p{margin:0;font-size:13px}

/* Specialization: clean clickable links without inherited Bootstrap borders. */
#user_profile .its-profile-field--specialization{align-items:center}
#user_profile .its-specialization-list{width:100%;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#user_profile .its-specialization-chip,
#user_profile a.its-specialization-chip,
#user_profile span.its-specialization-chip{
  min-height:32px!important;
  margin:0!important;
  padding:7px 11px!important;
  display:inline-flex!important;
  align-items:center!important;
  border:0!important;
  outline:0!important;
  border-radius:9px!important;
  background:#eef2f6!important;
  color:#34445c!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.25!important;
  text-decoration:none!important;
}
#user_profile a.its-specialization-chip:hover,
#user_profile a.its-specialization-chip:focus{
  border:0!important;
  outline:0!important;
  background:#e1e7ee!important;
  color:#17243a!important;
  box-shadow:none!important;
  transform:none!important;
}

/* Portfolio section inside the profile information card. */
#user_profile .its-profile-field--portfolio{
  width:calc(100% + 44px)!important;
  margin:0 -22px!important;
  padding:0!important;
  display:block!important;
  border-top:1px solid var(--its-border)!important;
}
#user_profile .its-profile-portfolio-section{width:100%;display:block;background:#fff}
#user_profile .its-profile-portfolio-section__head{
  width:100%;
  min-height:74px;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  border-bottom:1px solid var(--its-border)!important;
  background:#f6f8fb!important;
}
#user_profile .its-profile-portfolio-section__head .its-profile-card__icon{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  margin:0!important;
}
#user_profile .its-profile-portfolio-section__head .its-profile-card__icon svg{
  width:17px!important;
  height:17px!important;
  fill:currentColor!important;
}
#user_profile .its-profile-portfolio-section__heading{min-width:0;display:block}
#user_profile .its-profile-portfolio-section__heading h2{
  margin:0!important;
  color:var(--its-text)!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:-.02em!important;
}
#user_profile .its-profile-portfolio-section__heading p{
  margin:3px 0 0!important;
  color:var(--its-muted)!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.35!important;
}
#user_profile .its-profile-portfolio-section__action{margin-left:auto;flex:0 0 auto}
#user_profile .its-profile-field--portfolio .its-profile-portfolio-link{
  min-height:36px!important;
  margin:0!important;
  padding:8px 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  outline:0!important;
  border-radius:10px!important;
  background:#e8edf3!important;
  color:#34445c!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.2!important;
  text-decoration:none!important;
}
#user_profile .its-profile-field--portfolio .its-profile-portfolio-link::after{margin-left:7px;content:"→";font-size:14px;line-height:1}
#user_profile .its-profile-field--portfolio .its-profile-portfolio-link:hover,
#user_profile .its-profile-field--portfolio .its-profile-portfolio-link:focus{
  border:0!important;
  outline:0!important;
  background:#dde4ec!important;
  color:#17243a!important;
  box-shadow:none!important;
  transform:none!important;
}
#user_profile .its-profile-portfolio-section__body{padding:18px 22px 22px;background:#fff}
#user_profile .its-profile-portfolio-section__body>.its-profile-field__value{width:100%;display:block!important}
/* Portfolio grids on the main profile and in the profile content tab. */
.its-profile-portfolio-grid,
.its-profile-field--portfolio .portfolio-list,
.its-profile-content-list--portfolio .portfolio-list{
  width:100%!important;
  flex:0 0 100%!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}
.its-profile-portfolio-card,
.its-profile-field--portfolio .portfolio-list__item-inner,
.its-profile-content-list--portfolio .portfolio-list__item-inner{
  min-width:0;
  overflow:hidden!important;
  border:1px solid #e1e7ef!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(18,35,62,.055)!important;
}
.its-profile-portfolio-card__media,
.its-profile-field--portfolio .portfolio-list__image-wrapper,
.its-profile-content-list--portfolio .portfolio-list__image-wrapper{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16/10!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:#edf1f5!important;
  isolation:isolate!important;
}
.its-profile-portfolio-card__media::before,
.its-profile-portfolio-card__media::after,
.its-profile-field--portfolio .portfolio-list__image-wrapper::before,
.its-profile-field--portfolio .portfolio-list__image-wrapper::after,
.its-profile-content-list--portfolio .portfolio-list__image-wrapper::before,
.its-profile-content-list--portfolio .portfolio-list__image-wrapper::after{
  display:none!important;
  content:none!important;
  background:none!important;
}
.its-profile-portfolio-card__media img,
.its-profile-field--portfolio .portfolio-list__responsive-image,
.its-profile-content-list--portfolio .portfolio-list__responsive-image{
  position:absolute!important;
  z-index:5!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
  border:0!important;
  opacity:1!important;
  visibility:visible!important;
  object-fit:cover!important;
  object-position:center!important;
  background:transparent!important;
  filter:none!important;
  transform:none!important;
}
.its-profile-field--portfolio .portfolio-list__image-link-overlay,
.its-profile-content-list--portfolio .portfolio-list__image-link-overlay{
  position:absolute!important;
  z-index:6!important;
  inset:0!important;
  display:block!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  opacity:1!important;
}
.its-profile-field--portfolio .portfolio-list__image-link-overlay::before,
.its-profile-field--portfolio .portfolio-list__image-link-overlay::after,
.its-profile-content-list--portfolio .portfolio-list__image-link-overlay::before,
.its-profile-content-list--portfolio .portfolio-list__image-link-overlay::after{
  display:none!important;
  content:none!important;
  background:none!important;
}
.its-profile-portfolio-card__placeholder{position:absolute;z-index:1;inset:0;display:flex;align-items:center;justify-content:center;background:#edf1f5;color:#9aa6b5}
.its-profile-portfolio-card__placeholder svg{width:34px;height:34px}
.its-profile-portfolio-card__stats,
.its-profile-field--portfolio .portfolio-list__image-stats,
.its-profile-content-list--portfolio .portfolio-list__image-stats{
  position:absolute!important;
  z-index:8!important;
  right:10px!important;
  bottom:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
}
.its-profile-portfolio-card__stats>span,
.its-profile-field--portfolio .portfolio-list__stat,
.its-profile-content-list--portfolio .portfolio-list__stat{
  min-height:25px;
  padding:5px 8px;
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:999px;
  background:rgba(17,29,49,.76)!important;
  color:#fff!important;
  font-size:10px;
  line-height:1;
  backdrop-filter:blur(5px);
}
.its-profile-portfolio-card__stats svg,
.its-profile-field--portfolio .portfolio-list__stat svg,
.its-profile-content-list--portfolio .portfolio-list__stat svg{width:11px;height:11px;fill:currentColor}
.its-profile-portfolio-card__body,
.its-profile-field--portfolio .portfolio-list__item-content,
.its-profile-content-list--portfolio .portfolio-list__item-content{
  min-height:64px!important;
  padding:13px 14px 15px!important;
  display:flex!important;
  align-items:center!important;
  background:#fff!important;
}
.its-profile-portfolio-card h3{width:100%;margin:0!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important}
.its-profile-portfolio-card h3 a,
.its-profile-field--portfolio .portfolio-list__item-title,
.its-profile-content-list--portfolio .portfolio-list__item-title{
  margin:0!important;
  padding:0!important;
  display:-webkit-box!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#17243a!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.4!important;
  text-decoration:none!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
.its-profile-field--portfolio .portfolio-list__category,
.its-profile-field--portfolio .portfolio-list__footer,
.its-profile-field--portfolio .portfolio-list__excerpt,
.its-profile-content-list--portfolio .portfolio-list__category,
.its-profile-content-list--portfolio .portfolio-list__footer,
.its-profile-content-list--portfolio .portfolio-list__excerpt{
  display:none!important;
}
.its-profile-field--portfolio .portfolio-list__item-title::before,
.its-profile-field--portfolio .portfolio-list__item-title::after,
.its-profile-content-list--portfolio .portfolio-list__item-title::before,
.its-profile-content-list--portfolio .portfolio-list__item-title::after{
  display:none!important;
  content:none!important;
}

/* Profile content pages. */
.its-profile-content-heading{width:100%;min-height:78px;margin:0 0 22px;padding:16px 19px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--its-border);border-radius:var(--its-radius);background:linear-gradient(180deg,#fff,#f9fbff);box-shadow:0 8px 26px rgba(31,55,103,.055)}
.its-profile-content-heading__text{min-width:0}
.its-profile-content-heading__eyebrow{margin-bottom:4px;display:block;color:var(--its-muted);font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.its-profile-content-heading h1{margin:0!important;color:var(--its-text)!important;font-size:clamp(24px,3vw,32px)!important;line-height:1.15!important;letter-spacing:-.03em}
.its-profile-content-heading__rss{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;border:1px solid var(--its-accent-border);border-radius:11px;background:var(--its-accent-soft);color:var(--its-accent)!important}
.its-profile-content-heading__rss svg{width:16px;height:16px}
.icms-users-profile__view .f_viewhistory .btn,.icms-users-profile__view .viewhistory-list a{border-color:var(--its-accent)!important;border-radius:7px!important;background:var(--its-accent)!important;color:#fff!important}
.icms-profile__tab-content,.subscriptions-list,.subscriptions_list{margin-top:20px}
.icms-profile__tabs+.subscriptions-list,.icms-profile__tabs+.subscriptions_list{margin-top:22px}

@media(max-width:1199.98px){
  .its-profile-portfolio-grid,
  .its-profile-field--portfolio .portfolio-list,
  .its-profile-content-list--portfolio .portfolio-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:991.98px){
  .profile-header__content{padding:26px}
  .profile-header__identity .avatar,.profile-header__identity .avatar img,.profile-header__identity .icms-profile-avatar__default{width:108px!important;height:108px!important;border-radius:24px!important}
  .profile-header__identity .avatar>*{border-radius:24px!important}
  .profile-header__bottom{align-items:flex-start;flex-direction:column}
  .profile-header__contact-area{width:100%;max-width:none;margin-left:0;align-items:flex-start}
  .profile-header__contact-caption{justify-content:flex-start;text-align:left}
  .profile-header__contacts{justify-content:flex-start!important}
  .its-profile-layout{grid-template-columns:1fr;gap:18px}
  .its-profile-sidebar{grid-template-columns:minmax(230px,300px) minmax(0,1fr);align-items:start}
  .its-profile-portfolio-grid,
  .its-profile-field--portfolio .portfolio-list,
  .its-profile-content-list--portfolio .portfolio-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767.98px){
  .profile-header{min-height:0;border-radius:14px 14px 0 0}
  .profile-header__content{min-height:0;padding:22px 18px;gap:23px}
  .profile-header__identity{align-items:flex-start;gap:15px}
  .profile-header__identity .avatar,.profile-header__identity .avatar img,.profile-header__identity .icms-profile-avatar__default{width:86px!important;height:86px!important;border-radius:20px!important}
  .profile-header__identity .avatar>*{border-radius:20px!important}
  .profile-header__identity .avatar img,.profile-header__identity .icms-profile-avatar__default{border-width:4px}
  .profile-header__eyebrow{margin-bottom:7px;font-size:9px}
  .profile-header__name h1{font-size:clamp(27px,8vw,34px)}
  .profile-header__meta{gap:10px!important;margin-top:9px!important;font-size:11px!important}
  .profile-header__stats{width:100%}
  .profile-header__contacts{width:100%!important;justify-content:flex-start!important}
  .profile-contact--revealed{max-width:100%!important}
  .icms-profile__tabs .nav-link{min-height:46px;padding:12px!important;font-size:12px}
  .its-profile-layout{margin-top:18px!important}
  .its-profile-sidebar{grid-template-columns:1fr}
  .its-profile-card__head--main{padding:17px 18px}
  .its-profile-fieldset{padding:0 18px}
  .its-profile-field--labeled{grid-template-columns:1fr;gap:6px}
  .its-profile-empty{margin:18px}
  .its-profile-content-heading{min-height:0;margin-bottom:18px;padding:15px 16px;border-radius:14px}
}
@media(max-width:575.98px){
  .profile-header__identity{display:grid;grid-template-columns:72px minmax(0,1fr);gap:13px}
  .profile-header__identity .avatar,.profile-header__identity .avatar img,.profile-header__identity .icms-profile-avatar__default{width:72px!important;height:72px!important;border-radius:17px!important}
  .profile-header__identity .avatar>*{border-radius:17px!important}
  .profile-header__identity .icms-user-avatar.peer_online::after,.profile-header__identity .icms-user-avatar.peer_no_online::after{right:1px;bottom:1px;width:15px;height:15px;border-width:3px}
  .profile-header__name h1{font-size:27px}
  .profile-header__meta{gap:8px!important;font-size:10px!important}
  .profile-header__online i{width:8px!important;height:8px!important;box-shadow:0 0 0 4px rgba(242,184,75,.13)!important}
  .profile-header__online.is-online i{box-shadow:0 0 0 4px rgba(50,209,154,.14)!important}
  .profile-header__city svg{width:12px!important;height:12px!important}
  .profile-header__contact-caption>span{display:none}
  .its-profile-card__head{padding:15px}
  .its-profile-fieldset{padding:0 15px}
  #user_profile .its-specialization-list{gap:6px}
  #user_profile .its-specialization-chip{min-height:30px!important;padding:6px 9px!important;font-size:11px!important}
  .its-profile-portfolio-grid,
  .its-profile-field--portfolio .portfolio-list,
  .its-profile-content-list--portfolio .portfolio-list{grid-template-columns:1fr!important;gap:12px!important}
}

@media(max-width:767.98px){
  #user_profile .its-profile-field--portfolio{width:calc(100% + 36px)!important;margin-left:-18px!important;margin-right:-18px!important}
  #user_profile .its-profile-portfolio-section__head{padding:17px 18px!important}
  #user_profile .its-profile-portfolio-section__body{padding:16px 18px 20px}
  #user_profile .its-profile-portfolio-section__action{margin-left:auto}
}
@media(max-width:575.98px){
  #user_profile .its-profile-field--portfolio{width:calc(100% + 30px)!important;margin-left:-15px!important;margin-right:-15px!important}
  #user_profile .its-profile-portfolio-section__head{padding:15px!important;align-items:flex-start!important;flex-wrap:wrap!important}
  #user_profile .its-profile-portfolio-section__heading{padding-top:1px}
  #user_profile .its-profile-portfolio-section__action{width:100%;margin:2px 0 0 47px}
  #user_profile .its-profile-portfolio-section__body{padding:14px 15px 18px}
}
@media(prefers-reduced-motion:reduce){
  .profile-contact,
  .its-profile-count,
  .its-profile-portfolio-card{transition:none!important}
}

/* ITSNEW 0.5.58 — mobile account dropdown and footer menu. */
@media (max-width: 767.98px) {
  #mobile_device_type .its-header__account .icms-user-menu {
    position: static !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu > .icms-user-menu__items {
    position: fixed !important;
    top: 58px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    display: none !important;
    width: calc(100vw - 24px) !important;
    max-width: 360px !important;
    height: auto !important;
    max-height: calc(100dvh - 72px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    transform: none !important;
    transition: none !important;
    border: 1px solid var(--its-border) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 18px 48px rgba(18, 35, 73, .22) !important;
    z-index: 1300 !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu > .icms-user-menu__items.show,
  #mobile_device_type .its-header__account .icms-user-menu.show > .icms-user-menu__items {
    display: block !important;
    transform: none !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items > li {
    width: 100% !important;
    margin: 0 !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items > li.bg-primary {
    display: flex !important;
    align-items: center !important;
    min-height: 52px !important;
    margin: 0 0 6px !important;
    padding: 8px 9px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #f4f7fc !important;
    color: var(--its-text) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items > li.bg-primary .icms-user-avatar img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items > li.bg-primary .text-white {
    margin-left: 10px !important;
    color: var(--its-text) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items > li.bg-primary .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin-left: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: var(--its-muted) !important;
    box-shadow: 0 2px 8px rgba(31, 55, 103, .08) !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items > li.bg-primary .btn svg {
    width: 12px !important;
    height: 16px !important;
    fill: currentColor !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items > .nav-item > .nav-link,
  #mobile_device_type .its-header__account .icms-user-menu__items > li > a:not(.dropdown-item) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 11px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: var(--its-text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: normal !important;
    box-shadow: none !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items > .nav-item > .nav-link:hover,
  #mobile_device_type .its-header__account .icms-user-menu__items > .nav-item > .nav-link:focus,
  #mobile_device_type .its-header__account .icms-user-menu__items > li > a:not(.dropdown-item):hover,
  #mobile_device_type .its-header__account .icms-user-menu__items > li > a:not(.dropdown-item):focus {
    background: var(--its-accent-soft) !important;
    color: var(--its-accent) !important;
    text-decoration: none !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items .nav-item-text {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items li.dropdown > a.dropdown-toggle::before {
    display: none !important;
    content: none !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items li.dropdown > a.dropdown-toggle::after {
    display: block !important;
    flex: 0 0 auto !important;
    width: 7px !important;
    height: 7px !important;
    margin: 0 3px 3px auto !important;
    border: 0 !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) !important;
    transition: transform .16s ease !important;
    content: "" !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items li.dropdown.show > a.dropdown-toggle::after,
  #mobile_device_type .its-header__account .icms-user-menu__items li.dropdown.its-submenu-active > a.dropdown-toggle::after {
    margin-bottom: -2px !important;
    transform: rotate(225deg) !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items li.dropdown > .dropdown-menu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    float: none !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 3px 0 6px !important;
    padding: 4px !important;
    overflow: visible !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #f5f7fb !important;
    box-shadow: none !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items li.dropdown.show > .dropdown-menu,
  #mobile_device_type .its-header__account .icms-user-menu__items li.dropdown.its-submenu-active > .dropdown-menu {
    display: block !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items li.dropdown > .dropdown-menu .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 9px 11px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: var(--its-text-2) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  #mobile_device_type .its-header__account .icms-user-menu__items li.dropdown > .dropdown-menu .dropdown-item:hover,
  #mobile_device_type .its-header__account .icms-user-menu__items li.dropdown > .dropdown-menu .dropdown-item:focus {
    background: #fff !important;
    color: var(--its-accent) !important;
    text-decoration: none !important;
  }

  .its-footer__menu {
    width: 100% !important;
    margin-top: 8px !important;
  }

  .its-footer__menu-toggle {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    min-width: 118px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-transform: none !important;
    box-shadow: none !important;
  }

  .its-footer__menu-toggle:hover,
  .its-footer__menu-toggle:focus {
    border-color: rgba(255, 255, 255, .32) !important;
    background: rgba(255, 255, 255, .13) !important;
    color: #fff !important;
    outline: 0 !important;
  }

  .its-footer__menu-toggle-icon {
    position: relative !important;
    display: block !important;
    width: 18px !important;
    height: 14px !important;
    flex: 0 0 18px !important;
    border-top: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
  }

  .its-footer__menu-toggle-icon::before {
    position: absolute !important;
    top: 4px !important;
    right: 0 !important;
    left: 0 !important;
    border-top: 2px solid currentColor !important;
    content: "" !important;
  }

  .its-footer__menu > .icms-widget {
    display: none !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .its-footer__menu.is-open > .icms-widget {
    display: block !important;
  }

  .its-footer__menu .navbar-toggler {
    display: none !important;
  }

  .its-footer__menu.is-open .navbar-collapse,
  .its-footer__menu.is-open .nav,
  .its-footer__menu.is-open .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    width: 100% !important;
  }

  .its-footer__menu.is-open .nav-item {
    width: 100% !important;
  }

  .its-footer__menu.is-open .nav-link,
  .its-footer__menu.is-open a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 9px 10px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #dce5f8 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }

  .its-footer__menu.is-open .nav-link:hover,
  .its-footer__menu.is-open a:hover {
    background: rgba(255, 255, 255, .06) !important;
    color: #fff !important;
    text-decoration: none !important;
  }
}

@media (min-width: 768px) {
  .its-footer__menu-toggle {
    display: none !important;
  }
}

/* ITSNEW 0.5.62 — users directory redesign. */
body.itsnew-body .its-users-directory{width:100%;margin:0 0 28px}
body.itsnew-body .its-users-directory__hero{display:flex;align-items:center;gap:16px;margin:0 0 16px;padding:20px 22px;border:1px solid var(--its-border);border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(31,55,103,.05)}
body.itsnew-body .its-users-directory__hero-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;flex:0 0 48px;border-radius:13px;background:var(--its-accent-soft);color:var(--its-accent)}
body.itsnew-body .its-users-directory__hero-icon svg{width:21px;height:21px}
body.itsnew-body .its-users-directory__hero-copy{min-width:0}
body.itsnew-body .its-users-directory__eyebrow{margin:0 0 3px;color:var(--its-accent);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body.itsnew-body .its-users-directory__title{margin:0!important;font-size:28px!important;line-height:1.15!important;letter-spacing:-.035em!important}
body.itsnew-body .its-users-directory__title>span{margin-left:8px;color:var(--its-muted);font-size:14px;font-weight:600;letter-spacing:0}
body.itsnew-body .its-users-directory__hero-copy>p{max-width:760px;margin:5px 0 0;color:var(--its-muted);font-size:13px;line-height:1.5}
body.itsnew-body .its-users-directory__datasets{margin:0 0 16px;padding:10px;border:1px solid var(--its-border);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(31,55,103,.04)}
body.itsnew-body .its-users-directory__datasets .content_datasets{margin:0!important}
body.itsnew-body .its-users-directory__datasets .dataset-pills{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin:0!important;padding:0!important;border:0!important}
body.itsnew-body .its-users-directory__datasets .dataset-pills .nav-item{margin:0!important}
body.itsnew-body .its-users-directory__datasets .dataset-pills .nav-link{min-height:36px!important;padding:8px 13px!important;display:inline-flex!important;align-items:center!important;gap:5px!important;border:1px solid transparent!important;border-radius:10px!important;background:#f4f7fb!important;color:var(--its-text-2)!important;font-size:12px!important;font-weight:600!important;line-height:1!important}
body.itsnew-body .its-users-directory__datasets .dataset-pills .nav-link:hover{border-color:var(--its-accent-border)!important;background:var(--its-accent-soft)!important;color:var(--its-accent)!important}
body.itsnew-body .its-users-directory__datasets .dataset-pills .nav-link.active{border-color:var(--its-accent)!important;background:var(--its-accent)!important;color:#fff!important;box-shadow:0 7px 18px rgba(56,103,214,.18)}
body.itsnew-body .its-users-directory__datasets .dataset-pills .counter{background:rgba(255,255,255,.18)!important;color:inherit!important}
body.itsnew-body .its-users-directory__filter{margin:0 0 16px}
body.itsnew-body .its-users-directory__filter .filter-panel{margin:0!important;border:1px solid var(--its-border);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(31,55,103,.04)}
body.itsnew-body .its-users-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
body.itsnew-body .its-users-card{position:relative;min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--its-border);border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(31,55,103,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
body.itsnew-body .its-users-card:hover{transform:translateY(-2px);border-color:var(--its-accent-border);box-shadow:0 14px 34px rgba(31,55,103,.1)}
body.itsnew-body .its-users-card__top{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 18px 14px}
body.itsnew-body .its-users-card__avatar{position:relative;width:76px;height:76px;display:block;flex:0 0 76px;border-radius:18px;background:#edf2fa;box-shadow:0 0 0 1px var(--its-border)}
body.itsnew-body .its-users-card__avatar img,body.itsnew-body .its-users-card__avatar svg,body.itsnew-body .its-users-card__avatar .avatar{width:76px!important;height:76px!important;display:block!important;border-radius:18px!important;object-fit:cover!important}
body.itsnew-body .its-users-card__avatar-placeholder{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;border-radius:inherit;background:linear-gradient(135deg,#edf3ff 0%,#e2ebff 100%);color:var(--its-accent)}
body.itsnew-body .its-users-card__avatar-placeholder--backup{display:none}
body.itsnew-body .its-users-card__avatar.is-fallback-avatar>img,body.itsnew-body .its-users-card__avatar.is-fallback-avatar>.avatar{display:none!important}
body.itsnew-body .its-users-card__avatar.is-fallback-avatar>.its-users-card__avatar-placeholder--backup{display:flex}
body.itsnew-body .its-users-card__avatar>.its-users-card__avatar-placeholder svg{width:30px!important;height:30px!important;display:block!important;border-radius:0!important;object-fit:initial!important}
body.itsnew-body .its-users-card__presence{position:absolute;right:-2px;bottom:-2px;width:17px;height:17px;border:4px solid #fff;border-radius:50%;background:#aab6c9}
body.itsnew-body .its-users-card__avatar.is-online .its-users-card__presence{background:#25c992;box-shadow:0 0 0 3px rgba(37,201,146,.12)}
body.itsnew-body .its-users-card__identity{min-width:0}
body.itsnew-body .its-users-card__identity h2{margin:0 0 7px!important;overflow:hidden;font-size:16px!important;line-height:1.2!important;text-overflow:ellipsis;white-space:nowrap}
body.itsnew-body .its-users-card__identity h2 a{color:var(--its-text)!important}
body.itsnew-body .its-users-card__identity h2 a:hover{color:var(--its-accent)!important}
body.itsnew-body .its-users-card__meta{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;color:var(--its-muted);font-size:11px;line-height:1.35}
body.itsnew-body .its-users-card__meta>span{max-width:100%;display:inline-flex;align-items:center;gap:5px;min-width:0}
body.itsnew-body .its-users-card__meta svg{width:11px;height:11px;flex:0 0 11px}
body.itsnew-body .its-users-card__city{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.itsnew-body .its-users-card__city.is-empty{color:#9aa6ba}
body.itsnew-body .its-users-card__online{color:#168863!important;font-weight:600}
body.itsnew-body .its-users-card__online i{width:7px;height:7px;border-radius:50%;background:#25c992;box-shadow:0 0 0 3px rgba(37,201,146,.12)}
body.itsnew-body .its-users-card__position{position:absolute;top:10px;left:10px;z-index:2;min-width:28px;height:28px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid var(--its-accent-border);border-radius:9px;background:rgba(255,255,255,.94);color:var(--its-accent);font-size:10px;font-weight:700;box-shadow:0 5px 14px rgba(31,55,103,.08)}
body.itsnew-body .its-users-card__position svg{width:11px;height:11px}
body.itsnew-body .its-users-card__more{align-self:start;margin:-3px -6px 0 0}
body.itsnew-body .its-users-card__more>.btn{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:1px solid transparent!important;background:transparent!important;color:var(--its-muted)!important;box-shadow:none!important}
body.itsnew-body .its-users-card__more>.btn:hover{border-color:var(--its-border)!important;background:#f5f7fb!important;color:var(--its-text)!important;transform:none!important}
body.itsnew-body .its-users-card__specializations{min-height:92px;margin:0 18px;padding:14px 0;border-top:1px solid #edf1f8}
body.itsnew-body .its-users-card__section-label{margin:0 0 8px;color:var(--its-muted);font-size:9px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
body.itsnew-body .its-users-card__chips{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px}
body.itsnew-body .its-users-card__chip,body.itsnew-body a.its-users-card__chip,body.itsnew-body span.its-users-card__chip{min-height:29px!important;margin:0!important;padding:6px 9px!important;display:inline-flex!important;align-items:center!important;border:0!important;border-radius:8px!important;background:#eef2f6!important;color:#34445c!important;box-shadow:none!important;font-size:10px!important;font-weight:600!important;line-height:1.25!important;text-decoration:none!important}
body.itsnew-body a.its-users-card__chip:hover{background:#e1e7ee!important;color:#17243a!important}
body.itsnew-body .its-users-card__chip--more{background:var(--its-accent-soft)!important;color:var(--its-accent)!important}
body.itsnew-body .its-users-card__specializations-empty{padding:3px 0;color:#9aa6ba;font-size:11px}
body.itsnew-body .its-users-card__stats{margin-top:auto;padding:10px 18px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-top:1px solid #edf1f8;background:#fbfcff}
body.itsnew-body .its-users-card__stats>span,body.itsnew-body .its-users-card__stats>a{min-width:0;display:grid;grid-template-columns:13px auto;grid-template-rows:auto auto;align-items:center;column-gap:5px;color:var(--its-muted);text-decoration:none!important}
body.itsnew-body .its-users-card__stats>a:hover{color:var(--its-accent)!important}
body.itsnew-body .its-users-card__portfolio-stat{padding:3px 6px;margin:-3px -6px;border-radius:7px;transition:background .18s ease,color .18s ease}
body.itsnew-body .its-users-card__portfolio-stat:hover{background:var(--its-accent-soft)}
body.itsnew-body .its-users-card__stats svg{grid-row:1/3;width:12px;height:12px;color:var(--its-accent)}
body.itsnew-body .its-users-card__stats b{color:var(--its-text-2);font-size:11px;line-height:1.1}
body.itsnew-body .its-users-card__stats small{font-size:8px;line-height:1.15;text-transform:uppercase;letter-spacing:.04em}
body.itsnew-body .its-users-card__actions{padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border-top:1px solid var(--its-border);background:#fff}
body.itsnew-body .its-users-card__profile-btn,body.itsnew-body .its-users-card__message-btn{min-height:40px;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;font-size:11px;font-weight:700;line-height:1.1;text-decoration:none!important}
body.itsnew-body .its-users-card__profile-btn{border:1px solid var(--its-accent-border);background:var(--its-accent-soft);color:var(--its-accent)!important}
body.itsnew-body .its-users-card__profile-btn:hover{border-color:var(--its-accent);background:#e5ecff;color:var(--its-accent-dark)!important}
body.itsnew-body .its-users-card__message-btn{border:1px solid var(--its-accent);background:var(--its-accent);color:#fff!important;box-shadow:0 6px 14px rgba(56,103,214,.16)}
body.itsnew-body .its-users-card__message-btn:hover{background:var(--its-accent-dark);border-color:var(--its-accent-dark);color:#fff!important}
body.itsnew-body .its-users-card__profile-btn svg,body.itsnew-body .its-users-card__message-btn svg{width:13px;height:13px}
body.itsnew-body .its-users-directory__pagination{margin:22px 0 0}
body.itsnew-body .its-users-directory__empty{margin:18px 0;padding:24px;display:flex;align-items:center;gap:14px;border:1px dashed var(--its-accent-border);border-radius:15px;background:#fff;color:var(--its-text-2)}
body.itsnew-body .its-users-directory__empty>span{width:42px;height:42px;display:flex;align-items:center;justify-content:center;flex:0 0 42px;border-radius:11px;background:var(--its-accent-soft);color:var(--its-accent)}
body.itsnew-body .its-users-directory__empty h3{margin:0 0 3px!important;font-size:15px!important}
body.itsnew-body .its-users-directory__empty p{margin:0;color:var(--its-muted);font-size:12px}

@media(max-width:991.98px){
  body.itsnew-body .its-users-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
}
@media(max-width:767.98px){
  body.itsnew-body .its-users-directory__hero{align-items:flex-start;padding:16px}
  body.itsnew-body .its-users-directory__hero-icon{width:42px;height:42px;flex-basis:42px;border-radius:11px}
  body.itsnew-body .its-users-directory__title{font-size:23px!important}
  body.itsnew-body .its-users-directory__title>span{display:block;margin:4px 0 0;font-size:12px}
  body.itsnew-body .its-users-directory__hero-copy>p{font-size:12px}
  body.itsnew-body .its-users-directory__datasets{padding:8px;overflow-x:auto}
  body.itsnew-body .its-users-directory__datasets .dataset-pills{flex-wrap:nowrap!important;width:max-content!important;min-width:100%}
  body.itsnew-body .its-users-grid{grid-template-columns:1fr;gap:12px}
  body.itsnew-body .its-users-card__top{grid-template-columns:68px minmax(0,1fr) auto;padding:15px 15px 12px}
  body.itsnew-body .its-users-card__avatar,body.itsnew-body .its-users-card__avatar img,body.itsnew-body .its-users-card__avatar svg,body.itsnew-body .its-users-card__avatar .avatar{width:68px!important;height:68px!important;border-radius:16px!important}
  body.itsnew-body .its-users-card__specializations{min-height:0;margin:0 15px;padding:12px 0}
  body.itsnew-body .its-users-card__stats{padding:10px 15px}
  body.itsnew-body .its-users-card__actions{padding:11px 12px}
}
@media(max-width:420px){
  body.itsnew-body .its-users-card__actions{grid-template-columns:1fr 1fr}
  body.itsnew-body .its-users-card__profile-btn,body.itsnew-body .its-users-card__message-btn{padding-left:8px;padding-right:8px;font-size:10px}
}

/* ITSNEW 0.5.65 — users filter, activity and comments redesign. */
body.itsnew-body .its-users-directory__filter{margin:0 0 16px;overflow:hidden;border:1px solid var(--its-border);border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(31,55,103,.05)}
body.itsnew-body .its-users-directory__filter-head{display:flex;align-items:center;gap:13px;padding:16px 18px;border-bottom:1px solid #edf1f8;background:#fbfcff}
body.itsnew-body .its-users-directory__filter-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex:0 0 40px;border-radius:11px;background:var(--its-accent-soft);color:var(--its-accent)}
body.itsnew-body .its-users-directory__filter-icon svg{width:17px;height:17px}
body.itsnew-body .its-users-directory__filter-title{margin:0;color:var(--its-text);font-size:15px;font-weight:750;line-height:1.2}
body.itsnew-body .its-users-directory__filter-head p{margin:3px 0 0;color:var(--its-muted);font-size:11px;line-height:1.45}
body.itsnew-body .its-users-directory__filter .icms-filter-panel{margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
body.itsnew-body .its-users-directory__filter .icms-filter-link__open{width:auto!important;min-height:40px!important;margin:14px 18px!important;padding:9px 13px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;border:1px solid var(--its-accent-border)!important;border-radius:10px!important;background:var(--its-accent-soft)!important;color:var(--its-accent)!important;font-size:11px!important;font-weight:700!important;box-shadow:none!important}
body.itsnew-body .its-users-directory__filter .icms-filter-link__open:hover{border-color:var(--its-accent)!important;background:#e5ecff!important;color:var(--its-accent-dark)!important;transform:none!important}
body.itsnew-body .its-users-directory__filter .icms-filter-link__open svg{width:13px;height:13px}
body.itsnew-body .its-users-directory__filter .icms-filter-container{margin:0!important;padding:16px 18px 18px!important;border:0!important;border-radius:0!important;background:#fff!important}
body.itsnew-body .its-users-directory__filter .icms-filter-link__close{top:11px!important;right:13px!important;width:30px!important;height:30px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:9px!important;background:#f4f7fb!important;color:#7c899d!important;font-size:20px!important;line-height:1!important;opacity:1!important;box-shadow:none!important}
body.itsnew-body .its-users-directory__filter .icms-filter-link__close:hover{background:#e9eef6!important;color:var(--its-text)!important}
body.itsnew-body .its-users-directory__filter form{margin:0!important}
body.itsnew-body .its-users-directory__filter .fields{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px!important;margin:0!important;padding:0!important}
body.itsnew-body .its-users-directory__filter .fields>.form-group{width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;flex:0 0 auto!important}
body.itsnew-body .its-users-directory__filter .form-group>label{display:block!important;margin:0 0 7px!important;color:var(--its-text-2)!important;font-size:10px!important;font-weight:700!important;line-height:1.2!important;letter-spacing:.055em!important;text-transform:uppercase!important}
body.itsnew-body .its-users-directory__filter .form-control,
body.itsnew-body .its-users-directory__filter select,
body.itsnew-body .its-users-directory__filter input[type="text"],
body.itsnew-body .its-users-directory__filter input[type="search"],
body.itsnew-body .its-users-directory__filter input[type="number"]{min-height:42px!important;border:1px solid #dce4f0!important;border-radius:10px!important;background:#fff!important;color:var(--its-text)!important;font-size:12px!important;box-shadow:none!important}
body.itsnew-body .its-users-directory__filter .form-control:focus,
body.itsnew-body .its-users-directory__filter select:focus,
body.itsnew-body .its-users-directory__filter input:focus{border-color:var(--its-accent)!important;box-shadow:0 0 0 3px rgba(56,103,214,.09)!important;outline:0!important}
body.itsnew-body .its-users-directory__filter .select2-container{width:100%!important}
body.itsnew-body .its-users-directory__filter .select2-container .select2-selection{min-height:42px!important;border:1px solid #dce4f0!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
body.itsnew-body .its-users-directory__filter .select2-container .select2-selection--single .select2-selection__rendered{min-height:40px!important;padding:9px 34px 9px 12px!important;color:var(--its-text)!important;font-size:12px!important;line-height:22px!important}
body.itsnew-body .its-users-directory__filter .select2-container .select2-selection--multiple{padding:4px 6px!important}
body.itsnew-body .its-users-directory__filter .select2-container .select2-selection--multiple .select2-selection__choice{margin:2px!important;padding:5px 8px!important;border:0!important;border-radius:7px!important;background:#eef2f6!important;color:#34445c!important;font-size:10px!important}
body.itsnew-body .its-users-directory__filter .custom-control,
body.itsnew-body .its-users-directory__filter .checkbox,
body.itsnew-body .its-users-directory__filter .radio{margin:0 0 6px!important;color:var(--its-text-2)!important;font-size:11px!important;line-height:1.35!important}
body.itsnew-body .its-users-directory__filter input[type="checkbox"],
body.itsnew-body .its-users-directory__filter input[type="radio"]{accent-color:var(--its-accent)}
body.itsnew-body .its-users-directory__filter .buttons{margin:16px 0 0!important;padding:14px 0 0!important;align-items:center!important;gap:8px!important;border-top:1px solid #edf1f8!important}
body.itsnew-body .its-users-directory__filter .buttons .btn{min-height:38px!important;margin:0!important;padding:8px 13px!important;border-radius:10px!important;font-size:11px!important;font-weight:700!important;line-height:1.1!important;box-shadow:none!important}
body.itsnew-body .its-users-directory__filter .buttons .btn-primary,
body.itsnew-body .its-users-directory__filter .buttons input[type="submit"]{border-color:var(--its-accent)!important;background:var(--its-accent)!important;color:#fff!important;box-shadow:0 6px 14px rgba(56,103,214,.14)!important}
body.itsnew-body .its-users-directory__filter .buttons .btn-secondary{border:1px solid #dce4f0!important;background:#f4f7fb!important;color:var(--its-text-2)!important}
body.itsnew-body .its-users-directory__filter .buttons .btn-link{border:0!important;background:transparent!important;color:var(--its-accent)!important}

body.itsnew-body .its-community-page{width:100%;margin:0 0 28px}
body.itsnew-body .its-community-page__hero{position:relative;display:flex;align-items:center;gap:16px;margin:0 0 16px;padding:20px 22px;border:1px solid var(--its-border);border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(31,55,103,.05)}
body.itsnew-body .its-community-page__hero-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;flex:0 0 48px;border-radius:13px;background:var(--its-accent-soft);color:var(--its-accent)}
body.itsnew-body .its-community-page__hero-icon svg{width:20px;height:20px}
body.itsnew-body .its-community-page__hero-copy{min-width:0;flex:1 1 auto}
body.itsnew-body .its-community-page__eyebrow{margin:0 0 3px;color:var(--its-accent);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body.itsnew-body .its-community-page__title{margin:0!important;color:var(--its-text)!important;font-size:28px!important;line-height:1.15!important;letter-spacing:-.035em!important}
body.itsnew-body .its-community-page__hero-copy>p{max-width:780px;margin:5px 0 0;color:var(--its-muted);font-size:13px;line-height:1.5}
body.itsnew-body .its-community-page__rss{width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex:0 0 38px;border:1px solid var(--its-accent-border);border-radius:10px;background:var(--its-accent-soft);color:var(--its-accent)!important;text-decoration:none!important}
body.itsnew-body .its-community-page__rss:hover{border-color:var(--its-accent);background:#e5ecff;color:var(--its-accent-dark)!important}
body.itsnew-body .its-community-page__rss svg{width:15px;height:15px}
body.itsnew-body .its-community-page__datasets{margin:0 0 16px;padding:10px;border:1px solid var(--its-border);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(31,55,103,.04)}
body.itsnew-body .its-community-page__datasets .content_datasets{margin:0!important}
body.itsnew-body .its-community-page__datasets .dataset-pills{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin:0!important;padding:0!important;border:0!important}
body.itsnew-body .its-community-page__datasets .dataset-pills .nav-item{margin:0!important}
body.itsnew-body .its-community-page__datasets .dataset-pills .nav-link{min-height:36px!important;padding:8px 13px!important;display:inline-flex!important;align-items:center!important;border:1px solid transparent!important;border-radius:10px!important;background:#f4f7fb!important;color:var(--its-text-2)!important;font-size:12px!important;font-weight:600!important;line-height:1!important}
body.itsnew-body .its-community-page__datasets .dataset-pills .nav-link:hover{border-color:var(--its-accent-border)!important;background:var(--its-accent-soft)!important;color:var(--its-accent)!important}
body.itsnew-body .its-community-page__datasets .dataset-pills .nav-link.active{border-color:var(--its-accent)!important;background:var(--its-accent)!important;color:#fff!important;box-shadow:0 7px 18px rgba(56,103,214,.18)}
body.itsnew-body .its-community-page__pagination{margin:22px 0 0}
body.itsnew-body .its-community-page__empty{margin:0;padding:24px;display:flex;align-items:center;gap:14px;border:1px dashed var(--its-accent-border);border-radius:15px;background:#fff;color:var(--its-text-2)}
body.itsnew-body .its-community-page__empty>span{width:42px;height:42px;display:flex;align-items:center;justify-content:center;flex:0 0 42px;border-radius:11px;background:var(--its-accent-soft);color:var(--its-accent)}
body.itsnew-body .its-community-page__empty h3{margin:0 0 3px!important;font-size:15px!important}
body.itsnew-body .its-community-page__empty p{margin:0;color:var(--its-muted);font-size:12px}

body.itsnew-body .its-activity-feed{display:flex;flex-direction:column;gap:10px}
body.itsnew-body .its-activity-feed__day{margin:10px 0 2px;display:flex;align-items:center;gap:8px;color:var(--its-text-2);font-size:11px;font-weight:700;letter-spacing:.025em}
body.itsnew-body .its-activity-feed__day:first-child{margin-top:0}
body.itsnew-body .its-activity-feed__day::after{height:1px;flex:1 1 auto;background:#dfe6f1;content:""}
body.itsnew-body .its-activity-feed__day-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex:0 0 30px;border-radius:9px;background:var(--its-accent-soft);color:var(--its-accent)}
body.itsnew-body .its-activity-feed__day-icon svg{width:12px;height:12px}
body.itsnew-body .its-activity-card{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:start;gap:13px;padding:15px 16px;border:1px solid var(--its-border);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(31,55,103,.045);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
body.itsnew-body .its-activity-card:hover{transform:translateY(-1px);border-color:var(--its-accent-border);box-shadow:0 10px 26px rgba(31,55,103,.075)}
body.itsnew-body .its-activity-card.is-new{border-left:3px solid var(--its-accent)}
body.itsnew-body .its-activity-card__avatar{position:relative;width:48px;height:48px;display:block;border-radius:13px;background:#edf2fa;box-shadow:0 0 0 1px var(--its-border)}
body.itsnew-body .its-activity-card__avatar img,body.itsnew-body .its-activity-card__avatar .avatar{width:48px!important;height:48px!important;display:block!important;border-radius:13px!important;object-fit:cover!important}
body.itsnew-body .its-activity-card__avatar-placeholder{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:linear-gradient(135deg,#edf3ff,#e2ebff);color:var(--its-accent)}
body.itsnew-body .its-activity-card__avatar-placeholder svg{width:19px;height:19px}
body.itsnew-body .its-activity-card__presence{position:absolute;right:-2px;bottom:-2px;width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:#aab6c9}
body.itsnew-body .its-activity-card__avatar.is-online .its-activity-card__presence{background:#25c992;box-shadow:0 0 0 3px rgba(37,201,146,.11)}
body.itsnew-body .its-activity-card__content{min-width:0;padding-top:1px}
body.itsnew-body .its-activity-card__headline{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;color:var(--its-text-2);font-size:13px;line-height:1.5}
body.itsnew-body .its-activity-card__author{color:var(--its-text)!important;font-weight:750;text-decoration:none!important}
body.itsnew-body .its-activity-card__author:hover{color:var(--its-accent)!important}
body.itsnew-body .its-activity-card__description a{color:var(--its-accent)!important;font-weight:600;text-decoration:none!important}
body.itsnew-body .its-activity-card__description a:hover{text-decoration:underline!important}
body.itsnew-body .its-activity-card__private{margin-left:3px;color:var(--its-muted)}
body.itsnew-body .its-activity-card__private svg{width:10px;height:10px}
body.itsnew-body .its-activity-card__meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:7px 0 0}
body.itsnew-body .its-activity-card__date{display:inline-flex;align-items:center;gap:5px;color:var(--its-muted);font-size:10px}
body.itsnew-body .its-activity-card__date.is-new{color:var(--its-accent);font-weight:650}
body.itsnew-body .its-activity-card__date svg{width:10px;height:10px}
body.itsnew-body .its-activity-card__reply{min-height:28px;padding:5px 8px;display:inline-flex;align-items:center;gap:5px;border-radius:8px;background:#f4f7fb;color:var(--its-text-2)!important;font-size:10px;font-weight:650;text-decoration:none!important}
body.itsnew-body .its-activity-card__reply:hover{background:var(--its-accent-soft);color:var(--its-accent)!important}
body.itsnew-body .its-activity-card__reply svg{width:10px;height:10px}
body.itsnew-body .its-activity-card__images{display:grid;grid-template-columns:repeat(5,minmax(0,92px));gap:6px;margin:11px 0 0}
body.itsnew-body .its-activity-card__image,body.itsnew-body .its-activity-card__images-more{aspect-ratio:1/1;overflow:hidden;border:1px solid var(--its-border);border-radius:9px;background:#f4f7fb}
body.itsnew-body .its-activity-card__image img{width:100%;height:100%;display:block;object-fit:cover}
body.itsnew-body .its-activity-card__images-more{display:flex;align-items:center;justify-content:center;background:var(--its-accent-soft);color:var(--its-accent)!important;font-size:15px;font-weight:750;text-decoration:none!important}
body.itsnew-body .its-activity-card__controls{margin:-5px -6px 0 0}
body.itsnew-body .its-activity-card__controls>.btn{width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:var(--its-muted)!important;box-shadow:none!important}
body.itsnew-body .its-activity-card__controls>.btn:hover{border-color:var(--its-border)!important;background:#f4f7fb!important;color:var(--its-text)!important;transform:none!important}

body.itsnew-body .its-comments-feed{display:flex;flex-direction:column;gap:12px;margin:0}
body.itsnew-body .its-comments-feed>.comment{position:relative;margin:0!important;padding:16px!important;border:1px solid var(--its-border);border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(31,55,103,.045);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
body.itsnew-body .its-comments-feed>.comment:hover{transform:translateY(-1px);border-color:var(--its-accent-border);box-shadow:0 10px 26px rgba(31,55,103,.075)}
body.itsnew-body .its-comments-feed>.comment>.icms-comment-rating{display:none!important}
body.itsnew-body .its-comments-feed>.comment>.media-body{min-width:0;width:100%}
body.itsnew-body .its-comments-feed>.comment h6{margin:0 0 10px!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;color:var(--its-text-2)!important;font-size:11px!important;line-height:1.4!important}
body.itsnew-body .its-comments-feed>.comment h6>.d-none.d-sm-inline-block{margin:0 2px 0 0!important}
body.itsnew-body .its-comments-feed .icms-user-avatar{width:36px!important;height:36px!important;display:block!important;flex:0 0 36px!important;border-radius:10px!important;background:#edf2fa!important;box-shadow:0 0 0 1px var(--its-border)!important}
body.itsnew-body .its-comments-feed .icms-user-avatar img,body.itsnew-body .its-comments-feed .icms-user-avatar .avatar{width:36px!important;height:36px!important;display:block!important;border-radius:10px!important;object-fit:cover!important}
body.itsnew-body .its-comments-feed .user{color:var(--its-text)!important;font-size:12px!important;font-weight:750!important;text-decoration:none!important}
body.itsnew-body .its-comments-feed a.user:hover{color:var(--its-accent)!important}
body.itsnew-body .its-comments-feed h6>.mx-md-2{margin:0 1px!important;color:#9aa6ba!important}
body.itsnew-body .its-comments-feed .subject{max-width:620px;padding:4px 7px;border-radius:7px;background:#f4f7fb;color:var(--its-accent)!important;font-size:10px!important;font-weight:650!important;line-height:1.3!important;text-decoration:none!important}
body.itsnew-body .its-comments-feed .subject:hover{background:var(--its-accent-soft)!important;color:var(--its-accent-dark)!important}
body.itsnew-body .its-comments-feed h6>small{margin:0 0 0 auto!important;display:inline-flex!important;align-items:center!important;gap:4px!important;color:var(--its-muted)!important;font-size:9px!important;white-space:nowrap!important}
body.itsnew-body .its-comments-feed h6>small svg{width:9px;height:9px}
body.itsnew-body .its-comments-feed .icms-comment-html{margin:0!important;padding:12px 13px!important;border:1px solid #edf1f8!important;border-radius:10px!important;background:#f8fafd!important;color:var(--its-text-2)!important;font-size:12px!important;line-height:1.6!important}
body.itsnew-body .its-comments-feed .icms-comment-html p:last-child{margin-bottom:0!important}
body.itsnew-body .its-comments-feed .icms-comment-html a{color:var(--its-accent)!important}
body.itsnew-body .its-comments-feed .icms-comment-controls{margin:8px 0 0!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px!important}
body.itsnew-body .its-comments-feed .icms-comment-controls .btn{min-height:29px!important;margin:0!important;padding:5px 8px!important;border-radius:8px!important;background:#f4f7fb!important;color:var(--its-text-2)!important;font-size:10px!important;font-weight:650!important;box-shadow:none!important}
body.itsnew-body .its-comments-feed .icms-comment-controls .btn:hover{background:var(--its-accent-soft)!important;color:var(--its-accent)!important;transform:none!important}
body.itsnew-body .its-comments-feed .selected-comment{border-color:var(--its-accent-border)!important;background:#fbfcff!important;box-shadow:0 0 0 3px rgba(56,103,214,.06)!important}

@media(max-width:1199.98px){
  body.itsnew-body .its-users-directory__filter .fields{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:991.98px){
  body.itsnew-body .its-users-directory__filter .fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767.98px){
  body.itsnew-body .its-users-directory__filter-head{align-items:flex-start;padding:14px 15px}
  body.itsnew-body .its-users-directory__filter-icon{width:36px;height:36px;flex-basis:36px;border-radius:10px}
  body.itsnew-body .its-users-directory__filter .icms-filter-container{padding:14px 15px 16px!important}
  body.itsnew-body .its-users-directory__filter .fields{grid-template-columns:1fr}
  body.itsnew-body .its-users-directory__filter .buttons{flex-direction:row!important;flex-wrap:wrap!important}
  body.itsnew-body .its-users-directory__filter .buttons .btn{width:auto!important}
  body.itsnew-body .its-community-page__hero{align-items:flex-start;padding:16px}
  body.itsnew-body .its-community-page__hero-icon{width:42px;height:42px;flex-basis:42px;border-radius:11px}
  body.itsnew-body .its-community-page__title{font-size:23px!important}
  body.itsnew-body .its-community-page__hero-copy>p{font-size:12px}
  body.itsnew-body .its-community-page__datasets{padding:8px;overflow-x:auto}
  body.itsnew-body .its-community-page__datasets .dataset-pills{flex-wrap:nowrap!important;width:max-content!important;min-width:100%}
  body.itsnew-body .its-activity-card{grid-template-columns:42px minmax(0,1fr) auto;gap:11px;padding:13px}
  body.itsnew-body .its-activity-card__avatar,body.itsnew-body .its-activity-card__avatar img,body.itsnew-body .its-activity-card__avatar .avatar,body.itsnew-body .its-activity-card__avatar-placeholder{width:42px!important;height:42px!important;border-radius:11px!important}
  body.itsnew-body .its-activity-card__headline{font-size:12px}
  body.itsnew-body .its-activity-card__images{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.itsnew-body .its-comments-feed>.comment{padding:13px!important}
  body.itsnew-body .its-comments-feed>.comment h6{align-items:flex-start!important}
  body.itsnew-body .its-comments-feed h6>small{width:100%;margin:2px 0 0 44px!important}
  body.itsnew-body .its-comments-feed .subject{max-width:calc(100% - 48px)}
}
@media(max-width:480px){
  body.itsnew-body .its-users-directory__filter-head p{display:none}
  body.itsnew-body .its-users-directory__filter .buttons .btn{flex:1 1 auto!important;text-align:center!important}
  body.itsnew-body .its-community-page__hero{gap:12px}
  body.itsnew-body .its-community-page__rss{position:absolute;top:14px;right:14px;width:34px;height:34px}
  body.itsnew-body .its-comments-page .its-community-page__hero-copy{padding-right:40px}
  body.itsnew-body .its-activity-card{grid-template-columns:38px minmax(0,1fr);padding:12px}
  body.itsnew-body .its-activity-card__avatar,body.itsnew-body .its-activity-card__avatar img,body.itsnew-body .its-activity-card__avatar .avatar,body.itsnew-body .its-activity-card__avatar-placeholder{width:38px!important;height:38px!important;border-radius:10px!important}
  body.itsnew-body .its-activity-card__controls{position:absolute;top:8px;right:8px;margin:0}
  body.itsnew-body .its-activity-card__content{padding-right:22px}
  body.itsnew-body .its-activity-card__images{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.itsnew-body .its-comments-feed>.comment h6>.d-none.d-sm-inline-block{display:none!important}
  body.itsnew-body .its-comments-feed .subject{max-width:100%}
  body.itsnew-body .its-comments-feed h6>small{margin:2px 0 0!important}
}

/* ITSNEW 0.5.67 — avatar rendering and profile friends filter cleanup. */
body.itsnew-body .its-activity-card__avatar{overflow:hidden}
body.itsnew-body .its-activity-card__avatar>img,
body.itsnew-body .its-activity-card__avatar>.avatar{position:relative;z-index:1}
body.itsnew-body .its-activity-card__avatar-placeholder--backup{display:none;position:absolute;inset:0;z-index:2}
body.itsnew-body .its-activity-card__avatar.is-fallback-avatar>img,
body.itsnew-body .its-activity-card__avatar.is-fallback-avatar>.avatar{display:none!important}
body.itsnew-body .its-activity-card__avatar.is-fallback-avatar>.its-activity-card__avatar-placeholder--backup{display:flex!important}

body.itsnew-body .its-comments-feed>.comment h6{min-height:52px;gap:9px!important}
body.itsnew-body .its-comments-feed .its-comment-avatar-wrap{width:48px;height:48px;display:block;flex:0 0 48px;margin:0 4px 0 0!important}
body.itsnew-body .its-comments-feed .icms-user-avatar{position:relative;width:48px!important;height:48px!important;display:block!important;overflow:hidden;flex:0 0 48px!important;border-radius:12px!important;background:#edf2fa!important;box-shadow:0 0 0 1px var(--its-border)!important}
body.itsnew-body .its-comments-feed .icms-user-avatar>img,
body.itsnew-body .its-comments-feed .icms-user-avatar>.avatar,
body.itsnew-body .its-comments-feed .icms-user-avatar .avatar>img{position:relative;z-index:1;width:48px!important;height:48px!important;display:block!important;border-radius:12px!important;object-fit:cover!important}
body.itsnew-body .its-comments-feed .its-comment-avatar-placeholder{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:linear-gradient(135deg,#edf3ff,#e2ebff);color:var(--its-accent)}
body.itsnew-body .its-comments-feed .its-comment-avatar-placeholder svg{width:19px;height:19px}
body.itsnew-body .its-comments-feed .its-comment-avatar-placeholder--backup{display:none;position:absolute;inset:0;z-index:2}
body.itsnew-body .its-comments-feed .icms-user-avatar.is-fallback-avatar>img,
body.itsnew-body .its-comments-feed .icms-user-avatar.is-fallback-avatar>.avatar{display:none!important}
body.itsnew-body .its-comments-feed .icms-user-avatar.is-fallback-avatar>.its-comment-avatar-placeholder--backup{display:flex!important}
body.itsnew-body .its-comments-feed .user{font-size:13px!important}
body.itsnew-body .its-comments-feed .subject{font-size:11px!important}

body.itsnew-body .its-profile-friends-page{margin-top:20px}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter{margin:0 0 18px!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter-head{padding:0 0 14px!important;border:0!important;border-bottom:1px solid #e8edf5!important;background:transparent!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .icms-filter-panel{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .icms-filter-link__open{width:auto!important;min-height:38px!important;margin:14px 0 0!important;padding:8px 12px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;border:1px solid var(--its-accent-border)!important;border-radius:10px!important;background:var(--its-accent-soft)!important;color:var(--its-accent)!important;font-size:11px!important;font-weight:700!important;box-shadow:none!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .icms-filter-link__open:hover{border-color:var(--its-accent)!important;background:#e5ecff!important;color:var(--its-accent-dark)!important;transform:none!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .icms-filter-container{position:relative!important;width:100%!important;margin:14px 0 0!important;padding:16px 0 0!important;border:0!important;border-top:1px solid #edf1f8!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .icms-filter-link__close{top:10px!important;right:0!important;width:30px!important;height:30px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:9px!important;background:#f4f7fb!important;color:#7c899d!important;font-size:20px!important;line-height:1!important;opacity:1!important;box-shadow:none!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .fields{display:block!important;margin:0!important;padding:0 40px 0 0!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .fields>.form-group{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;flex:0 0 100%!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .form-group>label{display:block!important;margin:0 0 12px!important;color:var(--its-text-2)!important;font-size:10px!important;font-weight:750!important;line-height:1.2!important;letter-spacing:.06em!important;text-transform:uppercase!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .input_checkbox_list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px 18px!important;align-items:start!important;width:100%!important;margin:0!important;overflow:visible!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .input_checkbox_list .custom-control{position:relative!important;min-width:0!important;min-height:22px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;gap:8px!important;color:var(--its-text-2)!important;font-size:12px!important;line-height:1.35!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .input_checkbox_list .custom-control-input{position:static!important;width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 18px!important;margin:0!important;opacity:1!important;appearance:auto!important;-webkit-appearance:checkbox!important;accent-color:var(--its-accent)!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .input_checkbox_list .custom-control-label{position:static!important;min-width:0!important;margin:0!important;padding:0!important;display:block!important;color:var(--its-text-2)!important;font-size:12px!important;line-height:1.35!important;cursor:pointer!important;word-break:normal!important;overflow-wrap:break-word!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .input_checkbox_list .custom-control-label::before,
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .input_checkbox_list .custom-control-label::after{display:none!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .buttons{margin:16px 0 0!important;padding:14px 0 0!important;display:flex!important;align-items:center!important;gap:8px!important;border-top:1px solid #edf1f8!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .buttons .btn,
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .buttons input[type="submit"],
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .buttons button[type="submit"]{min-height:38px!important;margin:0!important;padding:8px 13px!important;border-radius:10px!important;font-size:11px!important;font-weight:700!important;line-height:1.1!important}
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .buttons input[type="submit"],
body.itsnew-body .its-profile-friends-page .its-users-directory__filter .buttons button[type="submit"]{border:1px solid var(--its-accent)!important;background:var(--its-accent)!important;color:#fff!important;box-shadow:0 6px 14px rgba(56,103,214,.14)!important}

@media(max-width:1199.98px){
  body.itsnew-body .its-profile-friends-page .its-users-directory__filter .input_checkbox_list{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:767.98px){
  body.itsnew-body .its-comments-feed .its-comment-avatar-wrap,
  body.itsnew-body .its-comments-feed .icms-user-avatar,
  body.itsnew-body .its-comments-feed .icms-user-avatar>img,
  body.itsnew-body .its-comments-feed .icms-user-avatar>.avatar,
  body.itsnew-body .its-comments-feed .icms-user-avatar .avatar>img,
  body.itsnew-body .its-comments-feed .its-comment-avatar-placeholder{width:42px!important;height:42px!important;flex-basis:42px!important;border-radius:11px!important}
  body.itsnew-body .its-comments-feed>.comment h6{min-height:44px}
  body.itsnew-body .its-comments-feed h6>small{margin-left:50px!important}
  body.itsnew-body .its-profile-friends-page{margin-top:16px}
  body.itsnew-body .its-profile-friends-page .its-users-directory__filter .input_checkbox_list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
  body.itsnew-body .its-comments-feed h6>small{margin-left:0!important}
  body.itsnew-body .its-profile-friends-page .its-users-directory__filter .fields{padding-right:34px!important}
  body.itsnew-body .its-profile-friends-page .its-users-directory__filter .input_checkbox_list{grid-template-columns:1fr!important;gap:9px!important}
  body.itsnew-body .its-profile-friends-page .its-users-directory__filter .buttons{flex-wrap:wrap!important}
  body.itsnew-body .its-profile-friends-page .its-users-directory__filter .buttons .btn,
  body.itsnew-body .its-profile-friends-page .its-users-directory__filter .buttons input[type="submit"],
  body.itsnew-body .its-profile-friends-page .its-users-directory__filter .buttons button[type="submit"]{flex:1 1 auto!important;text-align:center!important}
}


/* ITSNEW 0.5.68 — direct square avatars in activity/comments */
body.itsnew-body .its-activity-card__avatar-image,
body.itsnew-body .its-comments-feed .its-comment-avatar-image{display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:inherit!important;object-fit:cover!important;object-position:center!important}
body.itsnew-body .its-activity-card__avatar>img,
body.itsnew-body .its-comments-feed .icms-user-avatar>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important}
