
/* Contact form bot trap: accessible to bots, visually absent for people. */
.form-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}

.contacts-page__form-status{min-height:1.4em;margin-top:12px;font-size:14px;line-height:1.5;color:var(--muted)}
.contacts-page__form-status.is-success{color:#16a34a}
.contacts-page__form-status.is-warning{color:#b45309}
.contacts-page__form-status.is-error{color:#dc2626}
.contacts-page__submit:disabled{opacity:.65;cursor:wait}

/* ───────── v7 ───────── */

/* Портфолио: карточки, свёрнутые кнопкой «Загрузить ещё» (фильтр — класс .hidden из app.min.css) */
.portfolio-gallery__grid .portfolio-gallery__item.is-collapsed{display:none!important}

/* До / После: компактнее (раньше квадрат от 400px). Ширина «после»-слоя считается от контейнера. */
[data-fls-beforeafter]{aspect-ratio:3/2;container-type:inline-size}
[data-fls-beforeafter-before]{height:100%}
[data-fls-beforeafter-before] img{min-height:0;height:100%;width:100%;aspect-ratio:auto;object-fit:cover}
[data-fls-beforeafter-after] img{min-height:0;height:100%;width:100cqw;aspect-ratio:auto;object-fit:cover}
.slider__items{grid-template-columns:repeat(auto-fill,minmax(min(100%,400px),1fr))}
.before-after__info .before-after__description{font-size:.9375rem}

/* Статья блога: главное фото меньше — по ширине текстовой колонки, а не на весь контейнер */
.article-media picture{display:block;max-width:46rem;margin-inline:auto}
.article-media img{aspect-ratio:16/9;max-height:25rem}
.article-media figcaption{max-width:46rem;margin-inline:auto}

/* Галерея поверх попапа проекта */
.lg-outer .lg-sub-html h4{font-size:1rem;margin:0 0 .25rem}
.lg-outer .lg-sub-html p{margin:0;font-size:.875rem;opacity:.85}


.portfolio-gallery__item {
    break-inside: avoid;
    margin-bottom: 1rem;
    position: relative;
    background: black;
    border-radius: 1rem;
    overflow: hidden;
}

.portfolio-gallery__overlay{

}
.portfolio-gallery__link {

    height: auto; 
  
}