/* ================================ MASTER ======================================= */
.hidden,
.hide {
    display: none;
}

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-upper { text-transform: uppercase; }
.text-lower { text-transform: lowercase; }
.text-break { overflow-wrap: break-word; word-break: break-all; }

.g-desktop {
    display: none;
}
.g-mobile {
    display: initial;
}
@media (min-width: 768px) {
    .g-desktop {
        display: initial;
    }
    .g-mobile {
        display: none;
    }
}


.form-message.text-scs {
    color: #34c687;
}
.form-message.text-err {
    color: #ec2113;
}



.c-muted {
    color: #747474;
}
.c-scs {
    color: #34c687;
}
.c-err {
    color: #ec2113;
}

.row-scs {
    background-color: #d4edda;
}
.row-err {
    background-color: #f8d7da;
}
.row-wrn {
    background-color: #fff3cd;
}
.row-inf {
    background-color: #cce5ff;
}
.row-grs {
    background-color: #eaeaea;
}
.row-cancel {
    background-clip: #fbeaec;
}
/*
.row-mark-01 {
    background-color: #eaeaea;
}
.row-mark-02 {
    background-color: #ffe9ec;
}
.row-mark-03 {
    background-color: #e5f2ff;
}
.row-mark-04 {
    background-color: #f9c8d3;
}
.row-mark-05 {
    background-color: #d5bcd8;
}
*/



.comdog-alert {
    display: block;
    padding: 16px;
    width: 90%;
    margin: 16px 0;

    color: #383d41;
    background-color: #e2e3e5;
    border: 1px solid #d6d8db;
}
.comdog-alert.m-center {
    width: auto;
    max-width: 888px;
    margin: 16px 24px 0 16px;
}
.comdog-alert-scs {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.comdog-alert-err {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.comdog-alert-wrn {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.comdog-alert-inf {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}



.comdog-table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    padding: 0 0 4px 0;
}
.comdog-table-wrapper::-webkit-scrollbar {
    width: 100%; height: 8px;
    background: transparent;
    cursor: pointer;
}
.comdog-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}
.comdog-table-wrapper::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #FF924166;
}
.comdog-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #FF924166;
}

.comdog-table-inner {
    display: inline-block;
    border: 1px solid #dadada;
}
.comdog-table-inner tr:first-child th,
.comdog-table-inner tr:first-child td {
    border-top: 0px solid #dadada;
}
.comdog-table-inner tr:last-child th,
.comdog-table-inner tr:last-child td {
    border-bottom: 0px solid #dadada;
}
.comdog-table-inner th:first-child,
.comdog-table-inner td:first-child {
    border-left: 0px solid #dadada;
}
.comdog-table-inner th:last-child,
.comdog-table-inner td:last-child {
    border-right: 0px solid #dadada;
}

.comdog-table {
    width: 100%;
    position: relative;
    border-collapse: collapse;
    text-align: left;

    background: #fff;
    word-wrap: break-word;
}
.comdog-table.m-auto {
    width: auto;
}
.comdog-table.m-fixed {
    table-layout: fixed;
}

.comdog-table th,
.comdog-table td {
    padding: 8px;
    vertical-align: middle;
    text-align: left;
}
.comdog-table th {
    text-align: center;
    font-weight: 600;
    background: #f5f5f5;
}
.comdog-table th,
.comdog-table td {
    border-right: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
}
.comdog-table tr:first-child th,
.comdog-table tr:first-child td {
    border-top: 1px solid #dadada;
}
.comdog-table th:first-child,
.comdog-table td:first-child {
    border-left: 1px solid #dadada;
}

.comdog-table th.m-left,
.comdog-table td.m-left {
    text-align: left;
}
.comdog-table th.m-right,
.comdog-table td.m-right {
    text-align: right;
}
.comdog-table th.m-center,
.comdog-table td.m-center {
    text-align: center;
}
.comdog-table th.m-justify,
.comdog-table td.m-justify {
    text-align: justify;
}
.comdog-table th.m-top,
.comdog-table td.m-top {
        vertical-align: top;
}
.comdog-table th.m-mid,
.comdog-table td.m-mid {
      vertical-align: middle;
}
.comdog-table th.m-bot,
.comdog-table td.m-bot {
    vertical-align: bottom;
}

.comdog-table .m-sticky-h {
    position: sticky;
    top: 0;
}
.comdog-table .m-sticky-v {
    position: sticky;
    left: 0;
}
th.m-sticky-h,
th.m-sticky-v {
    background: #f5f5f5;
    z-index: 8;
}
th.m-sticky-h > .m-sticky-inner,
th.m-sticky-v > .m-sticky-inner {
    margin: -9px; padding: 8px;
    border: 1px solid #dadada;
    background: #f5f5f5;
}
td.m-sticky-h,
td.m-sticky-v {
    background: #fff;
    z-index: 7;
}
td.m-sticky-h > .m-sticky-inner,
td.m-sticky-v > .m-sticky-inner {
    margin: -9px; padding: 8px;
    border: 1px solid #dadada;
    background: #fff;
}

/* =============================== COMMON ======================================= */
html, body {
    height: auto;
}

/* ================================ FORM ======================================= */
.form-message.text-err {
    display: block;
    padding: 0.8rem 0 0 0;
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 300;
    text-align: left;
    color: var(--color-error);
}
.form-message.text-scs {
    color: #795639;
    font-weight: 600;
    font-size: 2rem;
}
.ui-check__text a {
    color: #795639;
    font-weight: 600;
}

/* ============================== DIRECTIONS ==================================== */
.directions__item-title {
    text-transform: uppercase;
}
.directions__item-link {
    text-decoration: none
}
.directions__item-content p {
  display: block;
  margin: 0 0 1.8rem;
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 400;
}
@media (min-width: 768px) {
  .directions__item-content p {
    font-size: 1.3rem;
  }
}
@media (min-width: 1200px) {
  .directions__item-content p {
    font-size: 2.2rem;
    margin: 0 0 3rem;
  }
}

/* =============================== PROJECTS ===================================== */
.projects__item-link {
    text-decoration: none
}
.projects__title {
    text-transform: uppercase;
}
.projects__swiper .swiper-caption .ui-btn {
    min-width: 33.5rem;
}
@media (max-width: 1199px) {
    .projects__swiper .swiper-caption .ui-btn {
        min-width: auto;
    }
}
@media (max-width: 768px) {
    .projects__swiper .swiper-control {
        padding-left: 0;
    }
}

/* =============================== LANGUAGE ===================================== */
[data-toogle-language] {
    cursor: pointer;
}

/* ================================ HEADER ======================================= */
.header__logo a {
    height: inherit;
    display: inline-flex;
}
.header__nav-menu {
    margin: auto 0;
}
.header__nav-menu {
    font-size: 2.2rem;
}
@media (min-width: 768px) { 
   .header__nav-menu {
      margin: auto 50% auto 0;
      font-size: 2.2rem;
   }
}
@media (min-width: 1200px) {
    .header__nav-menu {
        font-size: 4rem;
    }
}
.header__nav-image {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: #0d340c; */
    color: #fbf7f3;
    background: #2d575c;
    min-height: 37.5rem;
}
.header__nav-menu {
    padding-bottom: 5.6rem;
}
.header-contacts {
    font-size: 2rem;
    margin: auto 0;
}
.header__nav-phone {
    margin: 0;
    font-size: inherit;
}
@media (min-width: 768px) { 
  .header-contacts {
      font-size: 2rem;
      margin: 0 50% 0 0;
      padding-right: 2rem;
  }
}
@media (min-width: 1200px) {
  .header-contacts {
      font-size: 2.4rem;
  }
}
.header-contacts__item:not(:first-child) {
    margin-top: 1.5rem;
}
.header-contacts__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.header__nav-contacts  {
    /*padding-bottom: 5.6rem;*/
}
.header__nav-social {
    display: flex;
    gap: 1rem;
}
.header__nav-social svg {
    width: 3rem;
    height: 3rem;
}
.header-contacts a {
    text-decoration: none;
    color: #795639;
    line-height: 1;
}
.header__nav-language {
    padding-top: 5.6rem;
    margin-top: auto;
}
.header__nav-language a {
    color: #373D3F;
    border-bottom: 1px solid currentColor;
    transition: color 0.25s;
}
@media (min-width: 768px) {
  .header__nav-language {
     display: none;
  }
}

@media (max-width: 768px) {
  .header__nav-image {
     display: none;
  }
}

.header__nav-logo {
    top: 0;
}


/* ======================== HEADER NAV OFFCANVAS ========================== */

.header__nav-offcanvas > .container-fluid {
  min-height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 11.8rem 2rem 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .header__nav-offcanvas > .container-fluid {
    padding: 11.7rem 2rem 2rem;
  }
}

@media (min-width: 1200px) {
  .header__nav-offcanvas > .container-fluid {
    padding: 20rem 5.4rem 5.4rem;
  }
}

.header__nav-menu {
    white-space: unset;
}

.header__nav-menu a {
    text-transform: uppercase;
}

/* ================================ LOADING ====================================== */
.loading {
    transition-delay: 0s
}

/* ================================= INTRO ======================================= */
.intro__title > span {
    display: block;
    text-align: left;
}
@media (max-width: 768px) {
    .intro__video:before {
        padding: 178.333% 0 0 0;
    }
    .intro__video {
        max-height: calc(100vh - 78px);
    }
}

/* ================================= FOOTER ====================================== */

.footer__group-wrap-flex {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.footer__group-social a {
    display: block;
}

/* =============================== PAGE PROJECT =============================== */
.about__video .video__content {
    max-width: 100%;
}
.about__collapse-in > *:first-child {
    padding-top: 0;
    margin-top: 0;
}
.about__wysiwyg img {
    height: auto !important;
    width: auto !important;
    object-fit: unset !important;
}
@media (max-width: 1199px) {
  .about__description--desktop {
    display: none;
  }
}
@media (min-width: 1200px) {
  .about__description--mobile {
    display: none;
  }
}
@media (min-width: 768px) {
  .swiper-about .swiper-prev.swiper-button-disabled, .swiper-about .swiper-next.swiper-button-disabled {
      opacity: 0.4;
  }
  .swiper-about .swiper-prev, .swiper-about .swiper-next, .swiper-about .swiper-pagination-bullet {
      filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.4));
  }
}
.about__gallery picture {
    background: unset;
    aspect-ratio: unset;
}
.about__picture {
    background: unset !important;
    aspect-ratio: unset !important;
    margin: 0 !important;
}
.about__gallery img {
    width: auto;
    height: auto;
    object-fit: unset;
}
.about__swiper .swiper-button-lock, .about__swiper .swiper-pagination-lock {
    display: none !important;
}
.about__sticky-wysiwyg dl {
    margin: 3rem 0 !important;
}
.about__sticky-wysiwyg dl:last-child {
    margin-bottom: 0 !important;
}
.about__site span {
    font-weight: 400;
    color: #795639;
}
.about__site a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #795639;
}
.about__sticky-action {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
@media (min-width: 1200px) {
  .about__sticky-action .ui-btn {
      padding-left: 3rem;
      padding-right: 3rem;
      min-width: auto;
  }
  .about__collapse-in {
        padding-top: 10rem;
  }
  .about__wysiwyg, .about__gallery {
        margin: 0 0 10rem;
  }
  .about__video-title {
      margin-bottom: 5rem;
  }
  .about__wysiwyg + .about__gallery {
      margin-top: -5rem;
  }
}
@media (max-width: 768px) {
  .about__sticky-title {
    margin-bottom: 2rem;
  }
  .about__sticky-action {
      padding-top: 2rem;
  }
  .about__sticky-wysiwyg dl {
    margin: 2rem 0 !important;
  }
  .about__wysiwyg h2 {
      margin-bottom: 2rem;
  }
  .about__video-title {
      margin-bottom: 3rem;
  }
  .about__gallery .row > [class^=col] {
      padding-bottom: 1.6rem;
  }
  .about__wysiwyg .row > [class^=col]:last-child > *:last-child {
      margin-bottom: 0;
  }
  .about__wysiwyg + .about__gallery {
      margin-top: -4rem;
  }
}
@media (min-width: 1200px) {
    .about__sticky > .row {
        position: sticky;
        top: 16rem;
    }
    .about__grid {
        grid-template-areas: "sticky swiper" "sticky collapse";
    }
}
/* ===== Lock Image ===== */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* ===== Lock Select Text ===== */
* {
    user-select: none;
}
[data-allow-select], [data-allow-select] * {
   user-select: text;
}

/* ==== Hide All for Print ==== */
@media print {
    * {
        display: none !important;
    }
}


/* ======= SERVICES ======== */
.services__tabs-menu > li:first-of-type ~ li .services__tabs-btn:before {
    transform: unset;
    height: 5rem;
    top: 50%;
    transform: translateY(-50%);
}
@media (max-width: 1199px) {
    .services__tabs-menu > li:first-of-type ~ li .services__tabs-btn:before {
        height: 2.5rem;
    }
}
.services__text {
    text-align: justify;
}
.services__table td {
    text-align: justify;
}

/* ========== POPUP PRESENTATION ========== */
.popup-presentation .ui-btn {
    max-width: 31rem;
}
.popup-presentation .ui-btn svg {
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    margin: 0 1.4rem 0 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}
.popup-presentation + .fancybox-close {
    display: none;
}

/* ================== UI ================== */
.ui-btn--white {
    background: #fff;
    color: #5D3D27;
}
.ui-btn--white:hover {
    background: #E4CFB9;
}

/* =============== BENEFITS =================== */
.benefits + .video:not(:has(h2)) {
    margin-top: -8rem;
}
@media (max-width: 1199px) {
  .benefits + .video:not(:has(h2)) {
      margin-top: -5rem;
  }
}

/* ================== VIDEO ================== */
.video {
  margin: 0 0 7rem;
}

@media (min-width: 1200px) {
  .video {
    margin: 0 0 14rem;
  }
}

.video__content {
  background: black;
  position: relative;
  z-index: 100;
  overflow: hidden;
  aspect-ratio: 854 / 480;
  max-width: 854px;
  margin: 0 auto;
}

.video__content iframe, .video__content video {
    width: 100%;
    height: 100%;
}

.video__image {
    margin: 0;
    line-height: 0;
    height: 100%;
}

.video__image img {
    height: 100%;
    object-fit: cover;
}

.video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12rem;
    height: 12rem;
    cursor: pointer;
}

.video__play svg {
    width: 100%;
    height: 100%;
}

.video__play svg circle {
    transition: fill .2s ease-out;
}
.video__play:hover svg circle {
    fill: #E4CFB9;
}

@media (max-width: 768px) {
  .video__play {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 7rem;
      height: 7rem;
  }
}
.video__title {
  display: block;
  margin: 0 0 3rem;
  font: 400 2rem/1.3 var(--font-secondary);
  color: #0E370D;
  position: relative;
  padding-left: 4rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .video__title {
    font-size: 1.7rem;
  }
}
@media (min-width: 1200px) {
  .video__title {
    font-size: 4rem;
  }
}
.video__title:before {
  content: "";
  display: block;
  position: absolute;
  top: 1.1rem;
  left: 0;
  width: 2.7rem;
  height: 1.5px;
  margin: 0;
  background: currentColor;
}
@media (min-width: 768px) {
  .video__title {
    padding-left: 6.2rem;
  }
  .video__title:before {
    width: 4.2rem;
    top: 1rem;
  }
}
@media (min-width: 1200px) {
  .video__title {
    padding-left: 9.4rem;
  }
  .video__title:before {
    width: 7rem;
    top: 2.4rem;
    height: 0.3rem;
  }
}
@media (min-width: 768px) {
  .video__title {
    margin-bottom: 2.4rem;
  }
}
@media (min-width: 1200px) {
  .video__title {
    margin-bottom: 4.4rem;
  }
}

/* =========== Complex =========== */
.complex__item-desc--non-margin  {
    margin: 0;
}
.complex__desc {
    text-align: justify;
}
@media (min-width: 768px) {
    .swiper-complex .swiper-slide {
        min-width: 33.333%;
    }
}

/* ========== Clients ========== */
.clients__anim-marquee {
    will-change: transform;
}

/* ======= Clients Swiper ====== */
.clients__swiper .swiper-slide {
    width: fit-content;
}
.clients__swiper .swiper {
    height: 14.5rem;
}
.clients__swiper-item {
    padding: 0 5rem;
    max-width: 37.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.clients__swiper-image {
    display: block;
    width: 100%;
    height: 100%;
}
.clients__swiper-image img {
    object-fit: contain;
    height: 100%;
    width: 100%;
    display: block;
}
.clients__swiper .swiper-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
    pointer-events: none;
}
.clients__swiper .swiper-nav > button {
    background: #fff;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: all;
}
.clients__swiper .swiper-button-disabled {
    opacity: 0.15;
}
@media (max-width: 1199px) {
    .clients__swiper .swiper {
        height: 8rem;
    }
    .clients__swiper-item {
        padding: 0 2.5rem;
    }
    .clients__swiper .swiper-nav > button {
        width: 2.5rem;
        height: 2.5rem;
    }
}
@media (max-width: 576px) {
    .clients__swiper .swiper-nav {
        display: none;
    }
    .clients__swiper .swiper {
        height: 6.5rem;
    }
    .clients__swiper-item {
        padding: 0 2rem;
    }
}

/* ==================== «Новый слайдер проектов» и «Карточки статей» ============================= */

.projects-preview .projects__title {
  margin-bottom: 5rem;
}
.preview-card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4rem;
  height: 100%;
  text-decoration: none;
  color: #5D3D27;
  font-family: var(--font-third);
}
.preview-card h2, .preview-card h3, .preview-card ul, .preview-card p {
  margin: 0;
}
.preview-card p {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}
.preview-card__top {
  position: relative;
  overflow: hidden;
  padding: 0;
  padding-bottom: 100%;
}
.preview-card__top img {
  position: absolute;
  z-index: 0;  
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  -o-transition: transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
}
.preview-card__top::after {
  content: "";
  position: absolute;
  z-index: 1;  
  inset: 0;
  background: -o-linear-gradient(top, rgba(55, 61, 63, 0.90) 0%, rgba(55, 61, 63, 0.56) 64%, rgba(55, 61, 63, 0.00) 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(55, 61, 63, 0.90)), color-stop(64%, rgba(55, 61, 63, 0.56)), to(rgba(55, 61, 63, 0.00)));
  background: linear-gradient(180deg, rgba(55, 61, 63, 0.90) 0%, rgba(55, 61, 63, 0.56) 64%, rgba(55, 61, 63, 0.00) 100%);
}
.preview-card__text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 20px;
  padding: 9rem 7rem 7rem 9rem;
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
}
.preview-card__title {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
}
.preview-card__title h2.title-decor {
  font-family: var(--font-secondary);
  margin: 0;
  font-size: 4rem;
  font-weight: 400;
  line-height: 110%;
  text-transform: uppercase;
  padding-left: 0;
  color: inherit;
}
.preview-card__title h2.title-decor::before {
  top: 2rem;
  left: -2rem;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
      transform: translateX(-100%);
}
.preview-card__title h2 em {
  padding-left: 1rem;
}
.preview-card__title em {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  font-style: normal;
}
.preview-card__title p em {
  display: block;
}
.preview-card__date {
  font-family: var(--font-secondary);
  font-size: 2.3rem;
  text-transform: uppercase;
}
.preview-card___info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2.6rem;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.preview-card__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2rem;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}
.preview-card__name {
  font-size: 2rem;
}
.preview-card__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
}
.preview-card__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
  font-size: 1.8rem;
}
.preview-card__item h3 {
  font-family: var(--font-secondary);
  font-weight: 400;
  text-transform: uppercase;
}
.preview-card__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
.preview-card__list h3 {
  font-family: var(--font-secondary);
  font-weight: 400;
  text-transform: uppercase;
  color: #4D4D4D;
}

.title-decor {
  position: relative;
  padding-left: 9rem;
}
.title-decor::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  left: 0;
  width: 7rem;;
  height: 3px;
  background-color: currentColor;
}
h1.title-decor, h2.title-decor, h3.title-decor {
  margin: 0;
  color: #373D3F;
  font-weight: 400;
}
h2.title-decor {
  font-size: 4rem;
}
h3.title-decor {
  font-size: 2.4rem;
}
h3.title-decor::before {
  top: 1.5rem;
}
h1.title-decor, h2.title-decor, h3.title-decor {
  font-family: var(--font-secondary);
  text-transform: uppercase;
}

.title-row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 2rem 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
  font-size: 2.2rem;
  color: #373D3F;
}
.title-row p {
  max-width: 88%;
  padding-left: 2rem;
  color: inherit;
  margin: 0;
  color: #373D3F;
  font-weight: 400;
}

.-offset-bottom {
  margin-bottom: 13.7rem;
}

.site-more {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2.6rem;
  font-size: 2.2rem;
  color: #5D3D27;
  text-decoration: none;
  -webkit-transition: 0.3s color;
  -o-transition: 0.3s color;
  transition: 0.3s color;
}
.site-more svg {
  width: 6.5rem;
  height: auto;
}

.main-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  padding: 0;
  list-style: none;
  color: #373D3F;
  font-size: 1.8rem;
}
.main-list li {
  position: relative;
  padding-left: 20px;
  line-height: 130%;
}
.main-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background-color: currentColor;
}

.grid-comand {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 6rem 1fr 6rem 1fr 6rem 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: 6rem;
  margin-bottom: 6rem;
}
.grid-comand__item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.grid-comand__item.-long {
  -ms-grid-column-span: 2;
  grid-column: 2 span;
}
.grid-comand__item.-long .grid-comand__image {
  padding-top: 49%;
}
.grid-comand__image {
  position: absolute;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  padding: 4rem 5rem;
  height: 100%;
  padding-top: 100%;
  text-decoration: none;
}
.grid-comand__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: -o-linear-gradient(94deg, rgba(0, 0, 0, 0.80) 4.03%, rgba(0, 0, 0, 0.00) 28.82%);
  background: linear-gradient(356deg, rgba(0, 0, 0, 0.80) 4.03%, rgba(0, 0, 0, 0.00) 28.82%);
  -webkit-transition: 0.4s ease;
  -o-transition: 0.4s ease;
  transition: 0.4s ease;
}
.grid-comand__image > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.grid-comand__more {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.2rem;
  font-size: 2.2rem;
  color: #fff;
  -webkit-transition: 0.4s ease;
  -o-transition: 0.4s ease;
  transition: 0.4s ease;
}
.grid-comand__more img {
  display: block;
  width: 2.35rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.grid-comand__more img:nth-child(2),
.grid-comand__more picture:nth-child(2) {
  display: none;
}
.grid-comand__info {
  will-change: transform;
  position: relative;
  z-index: 1;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding: 4rem 5rem;
  opacity: 0;
  background: -o-linear-gradient(94deg, rgba(0, 0, 0, 0.80) -0.44%, rgba(0, 0, 0, 0.00) 163.94%);
  background: linear-gradient(356deg, rgba(0, 0, 0, 0.80) -0.44%, rgba(0, 0, 0, 0.00) 163.94%);
  opacity: 0;
  pointer-events: none;
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-transition: 0.4s ease;
  -o-transition: 0.4s ease;
  transition: 0.4s ease;
}
.grid-comand__info .site-more {
  color: #fff;
}
.grid-comand__item:hover .grid-comand__info {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}
.grid-comand__item:hover .grid-comand__image::after {
  opacity: 0;
}
.grid-comand__item:hover .grid-comand__more {
  opacity: 0;
  pointer-events: none;
}
.grid-comand__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 2.6rem;
}
.grid-comand__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2rem;
  color: #fff;
  font-size: 2rem;
}
.grid-comand__title h2 {
  overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  text-transform: uppercase;
  margin: 0;
  font-family: var(--font-secondary);
  font-weight: 400;
  color: inherit;
}
.grid-comand__title p {
  overflow: hidden;
  max-height: 100%;
  display: -webkit-box;
    -webkit-box-orient: vertical;
  -webkit-line-clamp: 11;
  margin: 0;
}

.teame-cases__column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 6rem;
}
.teame-cases__item {
  padding: 6rem;
  padding-left: 0;
  background-color: #fff;
}
.teame-cases__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 6rem;
}
.teame-cases__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4.4rem;
  width: 45%;
}
.teame-cases__info p {
  margin: 0;
  padding-left: 9rem;
  padding-right: 2rem;
  font-size: 2rem;
}
.teame-cases__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.8rem;
  color: #795639;
}
.teame-cases__top h3 {
  color: inherit;
}
.teame-cases__slider {
  position: relative;
  width: calc(54% - 6rem);
}
.teame-cases__slider .swiper-control {
  position: relative;
  bottom: 0;
  right: 0;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 0;
}
.teame-cases__slider .swiper-caption {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
}
.teame-cases__slider .swiper {
  overflow: hidden;
  margin: 0;
}
.teame-cases__slider .swiper-slide {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 50%;
          flex: 0 0 50%;
}

.video-card {
  position: relative;
}
.video-card__image {
  position: relative;
  padding-bottom: 100%;
}
.video-card__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.video-card__btn {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 8rem;
  height: 8rem;
  background-color: var(--body-bg);
  border-radius: 50%;
  -webkit-transition: 0.4s ease;
  -o-transition: 0.4s ease;
  transition: 0.4s ease;
}
.video-card__btn img {
  max-width: 2.5rem;
  margin-left: 0.5rem
}

#popup-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
#popup-video .fancybox-close {
  display: none;
}

.popup-video {
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.popup-video__wrapper {
  width: 100%;
  height: 100%;
}
.popup-video__close {
  position: absolute;
  z-index: 2;
  top: 9rem;
  right: 5.5rem;
}

.video-teame {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.video-teame video,
.video-teame iframe,
.video-teame img {
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  display: block;
  height: 100%;
  width: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width:1199px) {
  .projects-preview .projects__title {
    margin-bottom: 3.2rem;
  }

  .title-decor {
    padding-left: 6.2rem;
  }
  .title-decor::before {
    width: 4.2rem;
    height: 2px;
    top: 1.1rem;
  }
  .title-row {
    font-size: 1.3rem;
    margin-bottom: 3rem;
  }
  h2.title-decor {
    font-size: 1.7rem;
  }
  h3.title-decor {
    font-size: 1.5rem;
  }
  h3.title-decor::before {
    height: 1px;
    top: 1rem;
  }
  .title-row p {
    max-width: 100%;
    padding-left: 0;
  }
  .-offset-bottom {
    margin-bottom: 7rem;
  }

  .preview-card {
    gap: 2rem;
  }
  .preview-card___info {
    gap: 1.8rem;
  }
  .preview-card__top {
    padding-bottom: 75%;
  }
  .preview-card__box {
    gap: 1.2rem;
  }
  .preview-card__name {
    font-size: 1.3rem;
  }
  .preview-card__text {
    padding: 4rem;
    font-size: 1.2rem;
  }
  .preview-card__item {
    font-size: 1.3rem;
  }
  .preview-card__item h3 {
    font-size: 1.6rem;
  }
  .preview-card__list {
    gap: 0.5rem;
  }
  .preview-card__list h3 {
    font-size: 1.6rem;
  }
  .preview-card__title {
    gap: 0.5rem;
    max-width: 76%;
  }
  .preview-card__title h2.title-decor  {
    padding-left: 0;
    font-size: 1.7rem;
  }
  .preview-card__title h2 em {
    padding-left: 4px;
  }
  .preview-card__title h2.title-decor::before {
    top: 1rem;
    left: -1.5rem;
    -webkit-transform: translateX(-84%);
        -ms-transform: translateX(-84%);
            transform: translateX(-84%);
    height: 1px;
  }
  .preview-card__date {
    font-size: 1.6rem;
  }

  .main-list {
    gap: 0.4rem;
    font-size: 1.3rem;
  }
  .main-list li {
    padding-left: 15px;
  }
  .main-list li::before {
    top: 0.6rem;
    width: 0.4rem;
    height: 0.4rem;
  }

  .site-more {
    gap: 1.4rem;
    font-size: 1.3rem;
  }
  .site-more svg {
    width: 3.5rem;
    height: 1.2rem;
  }

  .grid-comand {
    gap: 2rem;
    margin-bottom: 2rem;
    -ms-grid-columns: 1fr 2rem 1fr 2rem 1fr;
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-comand__item.-long {
    grid-column: auto;
  }
  .grid-comand__image {
    padding: 2rem;
  }
  .grid-comand__info {
    padding: 2rem;
  }
  .grid-comand__box {
    gap: 2rem;
  }
  .grid-comand__title {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    gap: 1.5rem;
    font-size: 1.2rem;
  }
  .grid-comand__title p {
    font-size: 1.3rem;
  }
  .grid-comand__more {
    gap: 1rem;
    font-size: 1.3rem;
  }
  .grid-comand__more img {
    width: 1.5rem;
    height: 1.5rem;
  }
  .grid-comand__more img:nth-child(1),
  .grid-comand__more picture:nth-child(1)  {
    display: none;
  }
  .grid-comand__more img:nth-child(2),
  .grid-comand__more picture:nth-child(2) {
    display: block;
  }

  .video-card__btn {
    width: 4.4rem;
    height: 4.4rem;
  }

  .video-card__btn img {
    max-width: 1.7rem;
  }

  .teame-cases__column {
    gap: 2rem;
  }
  .teame-cases__row {
    gap: 2rem;
  }
  .teame-cases__item {
    padding: 5rem 0;
    padding-left: 2rem;
    margin: 0 -2rem;
  }
  .teame-cases__info {
    width: 50%;
    gap: 4rem;
    padding-right: 2rem;
  }
  .teame-cases__info p {
    padding-left: 6.2rem;
    font-size: 1.3rem;
    padding-right: 0;
  }
  .teame-cases__slider {
    width: calc(54% - 2rem);
  }
  .teame-cases__slider .swiper-slide {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 70%;
            flex: 0 0 70%;
  }
  .teame-cases__slider .swiper-control {
    padding-right: 4rem;
    padding-left: 1rem;
  }

  .popup-video__close {
    max-width: 3rem;
    top: 3rem;
    right: 2rem;
  }
}

@media (max-width:767px) {
  .projects-preview .projects__title {
    margin-bottom: 3rem;
  }
  .projects-preview .swiper-control {
    display: none;
  }
  .projects-preview .swiper-slide {
    width: 30rem;
  }

  .preview-card__top {
    padding-bottom: 100%;
  }
  .preview-card__row {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
    gap: 0.8rem 2.8rem;
  }
  .preview-card__item {
    font-size: 1.2rem;
  }
  .preview-card__title {
    max-width: 100%;
  }
  .preview-card__text {
    padding: 3.5rem;
  }
  .preview-card__title h2.title-decor  {
    font-size: 2rem;
  }

  .main-list {
    font-size: 1.4rem;
  }

  .grid-comand {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    margin-right: -2rem;
    padding-right: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .grid-comand::-webkit-scrollbar {
      display: none;
  }
  .grid-comand__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 45%;
            flex: 0 0 45%;
  }

  .title-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-size: 1.6rem;
  }
  h2.title-decor {
    font-size: 2rem;
  }
  .title-row p {
    padding-left: 4rem;
  }
  .title-decor {
    padding-left: 4rem;
  }
  .title-decor::before {
    top: 1.1rem;
    width: 2.7rem;
    height: 2px;
  }

  .teame-cases__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 3rem;
  }
  .teame-cases__info {
    width: 100%;
    gap: 3rem;
  }
  .teame-cases__info p {
    padding-left: 4rem;
  }
  .teame-cases__slider {
    width: 100%;
    padding-left: 3rem;
  }
  .teame-cases__slider .swiper-control {
    display: none;
  }
  .teame-cases__slider .swiper-slide {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 60%;
            flex: 0 0 60%;
  }
  .teame-cases__item {
    padding: 4rem 0;
    padding-left: 2rem;
  }

  .popup-video__close {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
    top: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    min-height: 4.5rem;
    height: 13%;
    padding: 2rem;
    background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(rgba(255, 255, 255, 0.00)));
    background: -o-linear-gradient(top, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
    background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
  }
  .popup-video__close svg {
    width: 2.5rem;
    height: 2.5rem;
  }
  .video-teame video, .video-teame iframe, .video-teame img {
    bottom: 50%;
    -webkit-transform: translate(-50%, 50%);
        -ms-transform: translate(-50%, 50%);
            transform: translate(-50%, 50%);
    height: auto;
    max-height: 80%;
  }
}

@media (max-width:550px) {
  .grid-comand__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 80%;
            flex: 0 0 80%;
  }
  .teame-cases__slider .swiper-slide {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 85%;
            flex: 0 0 85%;
  }
}

@media (any-hover: hover) {
  .preview-card:hover .preview-card__top img {
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
  }
  .preview-card:hover .site-more {
    color: #0E370D;
  }
  .site-more:hover {
    color: #0E370D;
  }
  .grid-comand__info .site-more:hover {
    color: #fff;
  }
  .video-card__btn:hover {
    background-color:  #E4CFB9;
  }
}

/* ============ Правка ========= */
.block-article-cards + .slider-video {
    margin-top: -13.7rem;
}
@media (max-width: 1199px) {
    .block-article-cards + .slider-video {
        margin-top: -7rem;
    }
}

/* ============= Видео слайдер ============== */
.projects-video .swiper-slide {
	width: 25%;
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 25%;
	        flex: 0 0 25%;
	height: auto;
}

.video-card__info {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2rem;
    color: #fff;
    font-size: 2rem;
    padding: 4rem 5rem;
    background: -o-linear-gradient(274deg, rgba(0, 0, 0, 0.64) 37.51%, rgba(0, 0, 0, 0.00) 113.56%);
    background: linear-gradient(176deg, rgba(0, 0, 0, 0.64) 37.51%, rgba(0, 0, 0, 0.00) 113.56%);
    -webkit-transition: 0.4s ease;
    -o-transition: 0.4s ease;
    transition: 0.4s ease;
	color: #fff;
}

.video-card__info h2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-transform: uppercase;
    margin: 0;
	font-size: 2.4rem;
    font-family: var(--font-secondary);
    font-weight: 400;
    color: inherit;
}

.video-card__info ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	gap: 0.6rem;
    margin: 0;
    max-height: 100%;
	padding-left: 0;
}
.video-card__info ul li {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	gap: 1.2rem;
	font-family: "Geometria";
	font-weight: 400;
	color: #FBF4EE;
	font-size: 1.8rem;
	list-style: none;
}

.video-card__info ul li::before {
	content: "";
	-webkit-transform: translateY(1rem);
	    -ms-transform: translateY(1rem);
	        transform: translateY(1rem);
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 0.6rem;
	        flex: 0 0 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: currentColor;
}

.video-card__info ul li:only-of-type::before {
	display: none;
}

.video-card__btn.-small-bottom {
	-webkit-transform: unset;
	    -ms-transform: unset;
	        transform: unset;
	top: auto;
	left: auto;
	right: 5rem;
	bottom: 5rem;
	width: 4.5rem;
	height: 4.5rem;
}

.video-card__btn.-small-bottom img {
	max-width: 35%;
}

@media (max-width: 1199px) {
	.projects-video .projects__title {
		margin-bottom: 3.2rem;
	}
	.projects-video .swiper-slide {
		width: 50%;
		-webkit-box-flex: 0;
		    -ms-flex: 0 0 50%;
		        flex: 0 0 50%;
	}
	.projects-video .video-card__image {
		padding-bottom: 75%;
	}
    .video-card__info {
		gap: 1.5rem;
        padding: 2rem;
    }
	.video-card__info h2 {
		font-size: 1.8rem;
	}
	.video-card__info ul li {
		font-size: 1.3rem;
	}
	.video-card__info ul li::before {
		-webkit-box-flex: 0;
		    -ms-flex: 0 0 0.4rem;
		        flex: 0 0 0.4rem;
		height: 0.4rem;
		-webkit-transform: translateY(0.7rem);
		    -ms-transform: translateY(0.7rem);
		        transform: translateY(0.7rem);
	}
	.video-card__btn.-small-bottom {
		bottom: 2rem;
		right: 2rem;
	}
}

@media (max-width: 768px) {
	.projects-video .projects__title {
		margin-bottom: 3rem;
	}
	.projects-video .swiper-control {
		display: none;
	}
	.projects-video .swiper-slide {
		width: 30rem;
		-webkit-box-flex: 0;
		    -ms-flex: 0 0 30rem;
		        flex: 0 0 30rem;
	}
	.projects-video .video-card__image {
		padding-bottom: 100%;
	}
    .video-card__info {
		gap: 1.2rem;
    }
}

/* ============ Правка fancybox для iFrame ============ */
.fancybox-slide--iframe:has(.fancybox-iframe--video) {
    padding: 9rem 3rem;
}
.fancybox-content:has(.fancybox-iframe--video) {
    width: 1315px;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 84%;
    max-height: 100%;
}

.fancybox-content:has(.fancybox-iframe--video) iframe {
    width: 100%;
    height: 100%;
}