.history-section {
  background-color: var(--color-background);
  .history-section__container {
    position: relative;
    @media (width >= 1024px) {
      padding-bottom: 200px;
      padding-top: 30px;
    }

    & .history-section__header-grid {
      display: grid;
      gap: 16px;
      @media(width < 768px) {
        display: flex;
        flex-direction: column;
        padding: 50px 0;
        overflow: hidden;
      }
      @media (width >= 768px) {
        gap: 60px 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      @media (width >= 1024px) {
        gap: 80px;
        grid-template-columns: repeat(12, minmax(0, 1fr));
      }

      & .history-section__header {
        width: 100%;
        @media (width >= 1024px) {
          grid-column: span 6 / span 6;
        }
        & .history-section__pre-title {
          margin-bottom: 16px;
        }
        & .history-section__title {
          line-height: 1.2;
          text-transform: capitalize;
          letter-spacing: 0;
          margin-bottom: 0;
          margin-top: 0;
        }
      }
      & .history-section__description-wrapper {
        align-items: flex-end;
        display: flex;
        width: 100%;
        @media (width >= 1024px) {
          grid-column: span 6 / span 6;
          opacity: .8;
        }
        & .history-section__description {
          font-weight: 400;
          line-height: 1.6;
          margin-bottom: 24px;
          @media (width >= 1024px) {
            font-size: 18px;
            margin-bottom: 0;
          }
        }
      }
      & .history-section__body {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
        @media (width >= 768px) {
          flex-direction: row;
          grid-column: span 2 / span 2;
        }
        @media (width >= 1024px) {
          grid-column: span 12 / span 12;
        }

        & .timeline {
          flex: 12;
          position: relative;
          width: 100vw;
          @media (width >= 768px) {
            flex: 6;
          }
          @media (width >= 1024px) {
            flex: 5;
          }
          @media (width >= 1280px) {
            flex: 4;
          }

          & .timeline__line-bg {
            background-color: #eae5e0;
            display: none;
            height: 100%;
            left: 8px;
            position: absolute;
            top: 8px;
            width: 2px;
            @media(width >= 768px) {
              display: block;
            }
          }
          & .timeline__line-fill {
            background-color: var(--color-primary-button-background);
            display: none;
            height: 0;
            left: 8px;
            position: absolute;
            top: 8px;
            transform-origin: top;
            width: 2px;
            @media(width >= 768px) {
              display: block;
            }
          }
          & .timeline__container {
            display: flex;
            flex-direction: row;
            overflow-x: auto;
            padding-bottom: 40px;
            position: relative;
            z-index: 6;
            @media(width >= 768px) {
              flex-direction: column;
              overflow-x: initial;
              padding-bottom: 0;
            }
            & .timeline__item {
              margin-left: 30px;
              min-width: 80vw;
              padding-bottom: 16px;
              position: relative;
              @media (width >= 768px) {
                margin-left: 56px;
                min-width: initial;
              }
              @media (width >= 1024px) {
                padding-bottom: 60px;
              }
              & .timeline-item__year {
                color: #A46C32;
                display: block;
                font-family: var(--font-body--family);
                font-weight: 700;
                line-height: 1.2;
                margin-bottom: 16px;
                position: relative;
                & .timeline-item__dot {
                  background-color: rgb(214 204 194 / 1);
                  border-radius: 100%;
                  display: block;
                  height: 14px;
                  left: -30px;
                  position: absolute;
                  top: 8px;
                  width: 14px;
                  @media(width >= 768px) {
                    height: 18px;
                    left: -56px;
                    width: 18px;
                  }
                }
              }
              & .timeline-item__description {
                color: var(--color-foreground);
                font-family: var(--font-body--family);
                font-size: 16px;
                font-weight: normal;
                line-height: 1.5;
                margin-bottom: 0;
                margin-top: 0;
                @media (width >= 768px) {
                  max-width: 384px;
                }
              }
              & .timeline-item__image {
                display: none;
                & img {
                  height: 100%;
                  object-fit: cover;
                  width: 100%;
                }
              }
            }
          }
        }
        & .history-section__image-container {
          align-items: center;
          display: flex;
          flex: 12;
          justify-content: center;
          width: 100%;
          @media (width >= 768px) {
            flex: 6;
            position: sticky;
            top: 60px;
          }
          @media (width >= 1024px) {
            flex: 7;
            height: 562px;
            max-width: 736px;
          }
          @media (width >= 1280px) {
            flex: 8;
          }
          & .history-section__image {
            aspect-ratio: 1 / 1;
            height: 100%;
            object-fit: cover;
            width: 100%;
            @media (width < 768px) {
              height: 384px;
            }
          }
        }
      }
    }
  }
}