@font-face {
    font-family: "Object Sans LCN";
    src: url("media/ObjectSans-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  .lcn-about-project {
    /* ===== НАСТРОЙКИ БЛОКА ===== */
    --about-padding-x: clamp(44px, 4.2vw, 84px);
    --about-padding-top: clamp(56px, 5vw, 96px);
    --about-padding-bottom: clamp(58px, 6vw, 110px);
    --about-image-radius: 48px;
    --about-title-size: clamp(32px, 2.55vw, 50px);
    --about-column-gap: clamp(20px, 2.5vw, 48px);
    --about-text: #252525;
    --about-muted: #c7c7c7;
    --about-green: #8b9d81;
    --about-accent: #c7e0b8;
    --about-gray: #f3f4f6;

    width: 100%;
    margin: 0;
    padding:
      var(--about-padding-top)
      var(--about-padding-x)
      var(--about-padding-bottom);

    box-sizing: border-box;
    color: var(--about-text);
    background: #ffffff;
    font-family: "Object Sans LCN", Arial, sans-serif;
  }

  .lcn-about-project,
  .lcn-about-project * {
    box-sizing: border-box;
  }

  .lcn-about-banner {
    width: 100%;
    aspect-ratio: 1.86 / 1;
    overflow: hidden;
    border-radius: var(--about-image-radius);
    background: var(--about-gray);
  }

  .lcn-about-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .lcn-about-content {
    width: 100%;
  }

  /*
    Ширина float совпадает с началом колонки описания:
    50% первой колонки + полный межколоночный отступ.
  */
  .lcn-about-kicker {
    float: left;
    width: calc(50% + var(--about-column-gap));
    margin: 32px 0 0;
    color: var(--about-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
  }

  .lcn-about-title {
    margin: 32px 0 0;
    color: var(--about-text);
    font-family: "Object Sans LCN", Arial, sans-serif;
    font-size: var(--about-title-size);
    font-weight: 400;
    line-height: 1.27;
    letter-spacing: -0.018em;
    text-transform: uppercase;
  }

  .lcn-about-title span {
    color: var(--about-green);
  }

  .lcn-about-bottom {
    clear: both;
    display: grid;
    grid-template-columns: 50% 32% 1fr;
    gap: var(--about-column-gap);
    align-items: end;
    width: 100%;
    margin-top: clamp(34px, 4vw, 72px);
  }

  /* ===== КРУГЛЫЕ ФОТО ПРЕПОДАВАТЕЛЕЙ ===== */

  .lcn-about-team {
    display: flex;
    align-items: center;
  }

  .lcn-about-team span,
  .lcn-about-team b {
    position: relative;
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    overflow: hidden;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--about-gray);
  }

  .lcn-about-team span:nth-child(1) {
    z-index: 4;
  }

  .lcn-about-team span:nth-child(2) {
    z-index: 3;
    margin-left: -10px;
  }

  .lcn-about-team span:nth-child(3) {
    z-index: 2;
    margin-left: -10px;
  }

  .lcn-about-team b {
    z-index: 1;
    margin-left: -10px;
    color: var(--about-text);
    font-size: 17px;
    font-weight: 400;
  }

  /*
    Все три фотографии одинаковые:
    без увеличения, без индивидуального смещения.
  */
  .lcn-about-team img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
  }

  .lcn-about-description {
    margin: 0;
    color: var(--about-text);
    font-size: clamp(15px, 1vw, 18px);
    font-weight: 400;
    line-height: 1.32;
  }

  .lcn-about-more {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
    width: fit-content;
    color: var(--about-text);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
    text-transform: uppercase;
  }

  .lcn-about-more i {
    display: grid;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 50%;
    color: var(--about-text);
    background: var(--about-accent);
    font-style: normal;
    transition: transform 220ms ease;
  }

  .lcn-about-more:hover i {
    transform: translateX(4px);
  }

  .lcn-about-more:focus-visible {
    outline: 2px solid var(--about-text);
    outline-offset: 5px;
  }

  .lcn-about-more svg {
    width: 20px;
    height: 20px;
  }

  .lcn-about-more path {
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* ===== ПЛАВНОЕ ПОЯВЛЕНИЕ ПРИ ПРОКРУТКЕ ===== */

  .lcn-about-project.lcn-about-reveal-ready .lcn-about-banner,
  .lcn-about-project.lcn-about-reveal-ready .lcn-about-kicker,
  .lcn-about-project.lcn-about-reveal-ready .lcn-about-title,
  .lcn-about-project.lcn-about-reveal-ready .lcn-about-bottom {
    opacity: 0;
    transform: translateY(28px);
    will-change: opacity, transform;
  }

  .lcn-about-project.lcn-about-reveal-ready .lcn-about-banner {
    transform: translateY(18px) scale(0.985);

    transition:
      opacity 0.8s ease,
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .lcn-about-project.lcn-about-reveal-ready .lcn-about-kicker {
    transition:
      opacity 0.62s ease 0.12s,
      transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
  }

  .lcn-about-project.lcn-about-reveal-ready .lcn-about-title {
    transition:
      opacity 0.72s ease 0.2s,
      transform 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
  }

  .lcn-about-project.lcn-about-reveal-ready .lcn-about-bottom {
    transition:
      opacity 0.72s ease 0.34s,
      transform 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.34s;
  }

  .lcn-about-project.lcn-about-reveal-ready.is-visible .lcn-about-banner,
  .lcn-about-project.lcn-about-reveal-ready.is-visible .lcn-about-kicker,
  .lcn-about-project.lcn-about-reveal-ready.is-visible .lcn-about-title,
  .lcn-about-project.lcn-about-reveal-ready.is-visible .lcn-about-bottom {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* ===== ПЛАНШЕТ ===== */

  @media (max-width: 1024px) {
    .lcn-about-project {
      --about-padding-x: clamp(28px, 3.5vw, 48px);
      --about-padding-top: 48px;
      --about-image-radius: 34px;
      --about-title-size: clamp(29px, 3.8vw, 40px);
    }

    .lcn-about-banner {
      aspect-ratio: 1.55 / 1;
    }

    /*
      При двух равных колонках начало второй колонки:
      50% + половина межколоночного отступа.
    */
    .lcn-about-kicker {
      width: calc(50% + clamp(10px, 1.25vw, 24px));
    }

    .lcn-about-bottom {
      grid-template-columns: 1fr 1fr;
    }

    .lcn-about-team {
      grid-column: 1;
    }

    .lcn-about-more {
      grid-column: 2;
      justify-self: start;
    }
  }

  /* ===== ТЕЛЕФОН ===== */

  @media (max-width: 600px) {
    .lcn-about-project {
      --about-padding-x: 18px;
      --about-padding-top: 16px;
      --about-padding-bottom: 56px;
      --about-image-radius: 24px;
      --about-title-size: 24px;
    }

    .lcn-about-banner {
      aspect-ratio: 1 / 1.05;
    }

    .lcn-about-kicker {
      float: none;
      width: 100%;
      margin-top: 24px;
    }

    .lcn-about-title {
      margin-top: 22px;
      line-height: 1.3;
      letter-spacing: 0;
    }

    .lcn-about-bottom {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 26px;
      margin-top: 32px;
    }

    .lcn-about-description {
      width: 88%;
      font-size: 16px;
    }

    .lcn-about-more {
      width: 100%;
      justify-content: space-between;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .lcn-about-more i {
      transition: none;
    }

    .lcn-about-project.lcn-about-reveal-ready .lcn-about-banner,
    .lcn-about-project.lcn-about-reveal-ready .lcn-about-kicker,
    .lcn-about-project.lcn-about-reveal-ready .lcn-about-title,
    .lcn-about-project.lcn-about-reveal-ready .lcn-about-bottom {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

/* Keep the team photo in its natural landscape proportions on mobile.
   The stronger selector also overrides Elementor's generic image height. */
@media(max-width:767px){
  .lcn-about-project .lcn-about-banner{aspect-ratio:auto;height:auto;min-height:0}
  .lcn-about-project .lcn-about-banner img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}
}
