

/* Start:/local/templates/agstudio/components/bitrix/news/projects/bitrix/news.detail/.default/style.css?17716994426663*/
/* =========================
   PROJECT DETAIL (standalone)
   ========================= */

/* контейнер блока проекта */
.project-detail {}

/* ===== layout: контент + aside ===== */

.project-layout{
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start; /* важно */
}

/* важно: sticky ломается, если где-то выше стоит overflow */
.project-detail,
.project-layout,
.project-content,
.project-aside{
  overflow: visible;
}

@media (max-width: 991px){
  .project-layout{
    grid-template-columns: 1fr;
  }
}

/* ===== HERO ===== */
.project-hero{
  margin-bottom: 28px;
}

.project-labels{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.project-chip{
  display: inline-flex;
  align-items: center;
  font-size: 12px !important;
  padding: 4px 10px !important;
  height: auto !important;
  white-space: nowrap;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
}

.project-chip--purple{
  background: var(--accent-soft, #eef2ff) !important;
  color: var(--accent, #4f46e5) !important;
  border-color: transparent;
}

.project-title{
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  margin: 8px 0 12px;
}

@media (max-width: 767px){
  .project-title{ font-size: 22px; }
}

.project-lead{
  max-width: 820px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted, #6b7280);
}

/* meta (клиент, год, срок, стек) */
.project-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 18px 0 18px;
}

.project-meta-label{
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.project-meta-value{
  font-size: 15px;
  font-weight: 500;
}

/* preview/cover маленький */
.project-cover{
  margin-top: 14px;
}

.project-cover--sm{
  max-width: 520px;
}

.project-cover__img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: #f1f3f5;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* ===== sections ===== */
.project-section{
  margin-top: 22px;
}

.project-section__title{
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
}

.project-section__subtitle{
  font-size: 14px;
  color: var(--text-muted, #6b7280);
  margin-bottom: 12px;
}

/* card */
.project-card{
  background: var(--card-bg, #f1f3f5);
  border-radius: 20px;
  padding: 22px 22px;
}

.project-col .project-card{
  height: 100%;
}


.project-richtext p{ margin: 0 0 10px; }
.project-richtext p:last-child{ margin-bottom: 0; }

/* lists */
.project-list{
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-list li{
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.65;
}

.project-list li:last-child{ margin-bottom: 0; }

.project-list li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent, #4f46e5);
}

/* двухколоночные блоки */
.project-cols{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 991px){
  .project-cols{ grid-template-columns: 1fr; }
}

/* KPI */
.project-grid{
  display: grid;
  gap: 16px;
}

.project-grid--3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991px){
  .project-grid--3{ grid-template-columns: 1fr; }
}

.project-kpi{
  background: var(--card-bg, #f1f3f5);
  border-radius: 20px;
  padding: 20px 18px;
}

.project-kpi__value{
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.project-kpi__text{
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted, #6b7280);
}

/* gallery */
.project-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 991px){
  .project-gallery{ grid-template-columns: 1fr; }
}

.project-shot{
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #f1f3f5;
}

.project-shot img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform .35s ease;
}

.project-shot:hover img{
  transform: scale(1.03);
}

/* ===== ASIDE + STICKY ===== */
.project-aside{
  display: block;
  height: 100%;
}

/* Ключевое: sticky на всю страницу проекта.
   Sticky ограничен нижней границей родителя (.project-detail / .project-layout).
   top подстрой под высоту твоей шапки. */
.project-sticky{
  position: sticky;
  top: 96px;
}

@media (max-width: 991px){
  .project-sticky{
    position: static;
    top: auto;
  }
}

.project-sidebar-card{
  background: var(--card-bg, #f1f3f5);
  border-radius: 20px;
  padding: 22px;
}

.project-sidebar-card__title{
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}

.project-sidebar-card__hint{
  font-size: 13px;
  line-height: 1.55;
  color: #6b7280;
  margin: 0 0 12px;
}

.project-sidebar-meta{
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.project-sidebar-meta li{
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0;
  font-size: 12px;
}

.project-sidebar-meta span{
  font-size: 12px;
  color: #9ca3af;
}

.project-sidebar-meta strong{
  font-size: 14px;
  font-weight: 500;
}

.project-sidebar-fields{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 10px;
}

.project-sidebar-policy{
  font-size: 11px;
  line-height: 1.5;
  color: #9ca3af;
  margin: 0 0 10px;
}

.project-sidebar-policy a{
  color: inherit;
  text-decoration: underline;
}

.project-sidebar-submit{
  width: 100%;
}



.site.header_fixed{
	overflow: visible!important;
}



.project-cover--video { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; }
.project-cover__video { width: 100%; height: auto; display: block; }

.project-video-play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  pointer-events:none;
  opacity:.9;
  transition: opacity .2s ease, transform .2s ease;
}
.project-video-play__icon{
  width:64px; height:64px; border-radius:999px;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,.35);
  position: relative;
  transform: scale(1);
}
.project-video-play__icon:before{
  content:"";
  position:absolute;
  left:26px; top:20px;
  width:0; height:0;
  border-top:12px solid transparent;
  border-bottom:12px solid transparent;
  border-left:18px solid #fff;
}

.project-cover--video:hover .project-video-play{ opacity:1; transform: scale(1.03); }
.project-cover--video.is-playing .project-video-play{ opacity:0; }

/* End */
/* /local/templates/agstudio/components/bitrix/news/projects/bitrix/news.detail/.default/style.css?17716994426663 */
