/*--------------------------------------------------------------
# Page Olive Mill
--------------------------------------------------------------*/

.page-olive-mill {
  /* Section Spotlight
--------------------------------------------- */

  .section-spotlight {
    position: relative;
    width: 100%;
    height: 75vh;

    img {
      position: absolute;
      inset: 0;
      z-index: -1;
      display: block;
      object-fit: cover;
      width: 100%;
      height: 100%;
      z-index: -1;
    }

    & .content {
      width: 100%;
      height: 100%;
      background-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.75) 0,
        rgba(0, 0, 0, 0.25) 100%
      );
      color: #fff;

      > .wrapper {
        height: 100%;
        max-width: var(--max-w-xl);
        margin: 0 auto;
        padding: 4.5rem 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .title {
        margin-bottom: 1.5rem;
        font-size: var(--font-3xl);
        line-height: 1.2;
        font-weight: bold;
        animation: spotlight 0.4s;
        animation-delay: 0.4s;
        animation-fill-mode: backwards;
      }

      .description {
        animation: spotlight 0.4s;
        animation-delay: 0.8s;
        animation-fill-mode: backwards;
      }
    }
  }

  /* Section Intro
--------------------------------------------- */

  .section-intro {
    .title {
      margin-bottom: 1.5rem;
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: bold;
    }

    .description p:not(:last-of-type) {
      margin-bottom: 1.5rem;
    }

    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: var(--padding-xxl) 24px;

      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 1.5rem;

      @media (min-width: 960px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4.5rem;
      }
    }
  }

  /* Section Gallery
--------------------------------------------- */

  .section-gallery {
    .swiper img {
      object-fit: cover;
      aspect-ratio: 3 / 4;
    }

    > .wrapper {
      max-width: var(--max-w-xxl);
      margin: 0 auto;
      padding: 0 24px;
    }
  }

  /* Section Intro
--------------------------------------------- */

  .section-cold-pressing {
    .title {
      margin-bottom: 1.5rem;
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: bold;
    }

    .description p:not(:last-of-type) {
      margin-bottom: 1.5rem;
    }

    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: var(--padding-xxl) 24px;

      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 1.5rem;

      @media (min-width: 960px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4.5rem;
      }
    }
  }

  /* Section Production Steps
--------------------------------------------- */
  .section-production-steps {
    background-color: var(--primary-100);

    > .wrapper {
      max-width: var(--max-w-xl);
      margin: 0 auto;
      padding: var(--padding-xxl) 24px;

      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 3rem;
    }

    .title {
      margin-bottom: 1.5rem;
      font-size: var(--font-2xl);
      line-height: 1.2;
      font-weight: bold;
    }

    .timeline {
      .timeline-item {
        position: relative;
        border-left: 4px solid var(--primary-500);
        padding-left: 40px;
        padding-bottom: 40px;

        .title {
          font-size: var(--font-lg);
          font-weight: bold;
          margin-bottom: 0.75rem;
        }

        & ::before {
          content: "";
          display: block;
          position: absolute;
          top: 0;
          left: 0;
          -webkit-transform: translateX(-12px);
          -ms-transform: translateX(-12px);
          transform: translateX(-12px);
          width: 20px;
          height: 20px;
          border-radius: 50%;
          background-color: var(--primary-500);
          box-shadow: 0 0 0 6px var(--primary-200);
        }
      }
    }
  }
}
