.film-comission-editor {
  padding: 40px 0;

  h1 {
    font-size: 25px;
    text-align: center;
    color: #3a266e;
    margin: 0;
  }

  p {
    color: #595959;
    text-align: center;
    max-width: 850px;
    margin: 0;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 400;
  }

  .cards-list-editor {
    display: grid;
    grid-template-columns: 50% 50%;

    .card-editor {
      padding: 40px;
      border: 1px solid #828282;
      text-align: center;
      border-radius: 10px;
      margin: 15px;

      .image-button {
        margin-bottom: 10px;
        height: fit-content;

        img {
          width: 100px;
          height: 100px;
          object-fit: cover;
        }
      }
      h2 {
        font-size: 25px;
        color: #3a266e;
        margin: 0;
      }

      h3 {
        color: #595959;
        max-width: 850px;
        margin: 0;
        margin-bottom: 15px;
        font-size: 20px;
        font-weight: 400;
      }

      p {
        color: #595959;
        text-align: center;
        font-size: 14px;
        font-weight: 500;
      }

      .button-remove {
        margin-top: 10px;
        background: #cc1818;
        color: white !important;
      }
      .button-remove:hover {
        background: #a11313;
      }
    }
  }
}

/* ----------Front end---------- */

.film-comission {
  padding: 40px 0;

  .text-content {
    display: grid;
    justify-items: center;

    h2 {
      font-size: 70px;
      font-family: MRCHMaverickGrotesk;
      color: #3a266e;
      margin-bottom: 5px;
    }

    p {
      color: #595959;
      max-width: 850px;
      font-family: BROmny;
      margin-bottom: 50px;
      font-size: 20px;
      font-weight: 400;
    }
  }

  .banners-content-wrapper {
    .banners-content {
      .block-content-film {
        cursor: pointer;
        display: flex;
        justify-content: center;
        .text-card-content {
          opacity: 0;
          overflow: hidden;
          transition: max-height 0.4s ease, opacity 0.7s ease;
          width: 330px;
          height: 445px;
          padding: 30px 35px;
          background: #3d297dc1;
          display: grid;
          justify-items: center;
          position: absolute;
          top: 0;

          .texts-cards {
            display: grid;
            justify-content: space-between;

            h2 {
              text-align: center;
              font-family: BROmny;
              font-size: 24px;
              color: #f48130;
              font-weight: 900;
              margin-bottom: 2px;
            }

            h3 {
              text-align: center;
              color: white;
              font-family: BROmny;
              font-size: 16px;
              font-weight: 500;
              margin-bottom: 15px;
            }

            p {
              text-align: center;
              color: white;
              font-family: BROmny;
              font-size: 13px;
              font-weight: 400;
            }
          }

          a {
            background: #f48130;
            color: white;
            padding: 7px 13px 0;
            font-size: 36px;
            width: fit-content;
            height: fit-content;
            align-self: end;
            font-family: MRCHMaverickGrotesk;
            line-height: normal;
          }
        }

        .text-card-content.active {
          opacity: 1;
        }
      }
    }
  }

  .navigation-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 190px;
    right: -5%;
    width: 110%;
  }
}

/* ----------carrousel---------- */

.film-comission .banners-content-wrapper {
  position: relative;

  .banners-overflow {
    overflow: hidden;
  }
}

.film-comission .banners-content {
  display: flex;
  transition: transform 0.4s ease;
}

.film-comission .block-content-film {
  flex: 0 0 calc(100% / 3);
  box-sizing: border-box;
  padding: 0 10px;
}

.film-comission .arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
