.resources {
  .resources-container {
    max-width: 1230px;
    padding: 0 20px;
    margin: 0 auto;
  }

  .resources-wrapper {
    display: grid;
    gap: 37px;
    grid-template-columns: 1fr 262px;

    @media (max-width: 1024px) {
      grid-template-columns: 1fr;
    }
  }

  .resources-left {
    position: relative;
    padding-top: 56.25%;
    border: 1px solid var(--c-gray-900);
    border-radius: 5px;
    overflow: hidden;

    @media (max-width: 1024px) {
      margin-left: -20px;
      margin-right: -20px;
      border-left: 0;
      border-right: 0;
      border-radius: 0;
    }

    video {
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      object-fit: cover;
    }
  }

  .resources-right {
    padding-top: 14px;

    @media (max-width: 1024px) {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
  }

  .resources-title {
    position: relative;
    width: 254px;
    height: 48px;
    margin-bottom: 32px;
    border-radius: 5px;
    border: 1px solid #181818;
    background: #fffaee;

    @media (max-width: 1024px) {
      width: 254px;
    }

    h2 {
      margin: 0;
      width: 100%;
      height: 100%;
      color: #000;
      text-align: center;
      font-weight: 700;
      font-size: 30px;
      line-height: 110%;
      border: 1px solid #181818;
      background: #fffaee;
      border-radius: 5px;

      display: flex;
      justify-content: center;
      align-items: center;

      position: absolute;
      top: -15px;
      left: 15px;
      z-index: 3;

      @media (max-width: 1024px) {
        font-size: 30px;
      }
    }

    >div {
      width: 100%;
      height: 100%;
      border-radius: 5px;
      background: #fffaee;
      z-index: 1;

      &:nth-child(2) {
        border: 1px solid #181818;
        position: absolute;
        top: -7px;
        left: 7px;
        z-index: 2;
      }
    }
  }

  .resources-items {
    display: flex;
    flex-direction: column;
    border: 1px solid #181818;
    border-radius: 5px;

    @media (max-width: 1024px) {
      width: 265px;
    }

    a {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 13.5px 22px;
      gap: 16px;
      border-bottom: 1px solid #181818;

      &:last-child {
        border-bottom: none;
      }

      svg {
        width: 24px;
        height: 24px;
      }

      img {
        width: 24px;
        height: 24px;
      }

      span {
        flex: 1;
        font-family: var(--ff-primary);
        font-style: normal;
        font-weight: 400;
        font-size: 17px;
        line-height: 1.5;
        color: #181818;
      }
    }
  }
}