/* ===== Section ===== */
.finance-section {
  /* padding: 120px 0px; */
  position: relative;

  .finance-heading {
    font-family: var(--font-source-serif-4);
    font-size: var(--font-9-2);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 55px;
    color: rgba(var(--text-color-3));
    text-align: center;
  }

  .content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 74px;
    position: static;
    min-height: 402px;

    .left {
      display: flex;
      gap: 39px;
      align-items: center;
      position: absolute;
      max-width: 1025px;
      width: 51%;
      max-height: 402px;
      height: 100%;
      left: 0;
      transform: translateX(-17%);

      .pill-light {
        border: none !important;
      }

      .img-box {
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 100px;
        border: 1px solid rgba(var(--bg-color-1), 20%);
        box-shadow: 0 10px 25px 0 rgba(var(--bg-color-6), 8%);

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center;
        }
      }
    }

    .right {
      width: 56%;

      p {
        font-size: var(--font-24);
        line-height: 1.5;
        font-weight: 400;
        color: rgba(var(--text-color-6));
      }

      ul {
        padding-left: 28px;

        li {
          font-size: var(--font-24);
          line-height: 1.5;
          font-weight: 400;
          color: rgba(var(--text-color-6));

          &::marker {
            color: rgba(var(--text-color-6));
          }
        }
      }
    }
  }

  @media (max-width: 1280px) {
    .content {
      .left {
        width: 63%;
        gap: 24px;
        transform: translateX(-20%);
        max-height: 370px;
      }

      .right {
        width: 45%;
      }
    }
  }

  @media (max-width: 1024px) {
    .content {
      flex-direction: column;
      gap: 36px;

      .left {
        width: 100%;
        max-width: 100%;
        gap: 24px;
        transform: translateX(0%);
        position: relative;
        max-height: 100%;
        height: 100%;

        .img-box {
          aspect-ratio: 6 / 5;
          height: auto;
          border-radius: var(--border-radius-3);

          &:nth-of-type(1),
          &:nth-of-type(2) {
            display: none;
          }
        }
      }

      .right {
        width: 100%;
      }
    }
  }

  @media (max-width: 680px) {
    .finance-heading {
      margin-bottom: 30px;
    }

    .content {
      gap: 24px;

      .left {
        .img-box {
          aspect-ratio: 3 / 2;

          &:nth-of-type(4) {
            display: none;
          }
        }
      }
    }
  }
}
