.blog-content {
  display: flex;
  gap: 90px;
  flex-wrap: wrap;
  padding: 3.75em 0;
  @screen md {
    padding: 8.125em 0;
    .item {
      flex: 0 0 calc(50% - 45px);
      &:nth-child(odd) {
        transform: translateY(-70px);
      }
      &:nth-child(even) {
        transform: translateY(70px);
      }
    }
  }
}
.blog-pagination {
  text-align: center;
  padding: 3.125em 0;
  text-transform: uppercase;
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1.65px;
  font-family: theme('fontFamily.heading');
  @screen md {
    font-size: 15px;
  }

  .page-numbers {
    padding: 0.625em 5px;
    @screen md {
      padding: 0.625em 10px;
    }
    &.current,
    &:not(.dots):hover {
      color: #d0a66c;
    }
  }
  .next,
  .prev {
    display: inline-flex;
    align-items: center;
  }
  .next {
    &::after {
      content: '>';
      line-height: 1;
      margin-top: -3px;
    }
  }
  .prev {
    &::before {
      content: '<';
      line-height: 1;
      margin-top: -3px;
    }
  }
}
.card-post {
  max-width: 100%;
  a {
    &:hover {
      color: inherit;
      .card-visual {
        img {
          transform: scale(1.05);
        }
      }
    }
  }
  .card-visual {
    aspect-ratio: 16/12;
    overflow: hidden;
    display: block;
    margin-bottom: 30px;
    p {
      width: 100% !important;
      height: 100% !important;
      margin: 0 !important;
    }
    img {
      object-fit: cover;
      object-position: center;
      top: 0;
      left: 0;
      width: 100% !important;
      height: 100% !important;
      transition: all 0.6s ease-in-out;
    }
  }
  .card-uptitle {
    color: theme('colors.gold');
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    text-transform: uppercase;
    font-family: theme('fontFamily.heading');
  }
  .card-title {
    font-family: theme('fontFamily.heading');
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%;
  }
  .card-text {
    font-family: theme('fontFamily.body');
    font-size: 17px;
    line-height: 1.8;
    letter-spacing: 0.85px;
    margin-bottom: 30px;
  }
  .card-date {
    font-family: theme('fontFamily.heading');
    color: #3b3b3b;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .card-button {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1.1;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    font-family: theme('fontFamily.heading');
    span {
      position: relative;
      &:after {
        content: '';
        width: 100%;
        height: 1px;
        background-color: theme('colors.black');
        bottom: -5px;
        left: 0;
        position: absolute;
        transform: scaleX(0);
        transition: all 0.3s ease-in-out;
        transform-origin: left;
      }
    }
    path,
    circle {
      transition: all 0.3s ease-in-out;
    }
    &:hover {
      span {
        &:after {
          transform: scaleX(1);
        }
      }
      // path {
      //   transform: translateX(0px);
      //   fill: theme('colors.white');
      // }
      // circle {
      //   fill: theme('colors.black');
      // }
    }
  }
}
.blog-page {
  @screen lg {
    padding-top: 56px;
  }
}

.section-post-related {
  display: none !important;
}

.blog-navigation {
  padding: 3.75em 0 20px;
  ul {
    list-style: none;

    li {
      margin: 0 !important;
      list-style: none !important;
    }
  }
  .previous {
  }
  .next {
  }
}

.blog-title {
  // background-color: theme('colors.white');
  color: theme('colors.black');
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  height: 250px;
  @screen lg {
    height: 350px;
  }
  &__dark {
    background-color: theme('colors.black');
    color: theme('colors.white');
  }

  &__featured {
    height: 300px;
    max-height: calc(90vh - 50px);
    @screen md {
      height: 500px;
    }
    @screen lg {
      height: 950px;
      max-height: calc(100vh - 135px);
    }
  }
  .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    img {
      object-fit: cover;
      object-position: center;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    &::after {
      content: '';
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1;
    }
  }
  .wrapper {
    width: 700px;
    max-width: 90vw;
    overflow: unset;
  }

  .uptitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1.8px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: theme('fontFamily.heading');
  }
  .title {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: theme('fontFamily.heading');

    @screen md {
      font-size: clamp(2rem, 5vw, 3rem);
    }

    a {
      display: block;
      // overflow: visible;
      transition: all 1s ease-out;
      // &:after {
      //   content: '';
      //   width: 100px;
      //   bottom: 0;
      //   left: 50%;
      //   position: absolute;
      //   height: 5px;
      //   transform: translate(-50%, 0px);
      //   background-color: theme('colors.white');
      //   opacity: 0;
      //   transition: all 0.3s ease-in-out;
      // }

      &:hover {
        color: theme('colors.white');
        transform: scale(1.03);
        // &:after {
        //   transform: translate(-50%, 10px);
        //   opacity: 1;
        // }
      }
    }
  }
  .date {
    font-family: theme('fontFamily.heading');
    font-size: 12px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 1.2px;
    text-transform: uppercase;
  }
}

.section_wrapper,
.post .container {
  // max-width: 1220px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.section_wrapper,
.post .container-xl {
  max-width: 1220px;
}

.post {
  // padding-top: 76px;

  .content > p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  b,
  strong {
    font-weight: 500;
  }
  em,
  i {
    font-style: italic;
  }
  a:not(.btn) {
    color: theme('colors.gold');
    position: relative;
    &:after {
      content: '';
      width: 100%;
      height: 1px;
      background-color: theme('colors.gold');
      bottom: 0px;
      left: 0;
      position: absolute;
      transform: scaleX(0);
      transition: all 0.3s ease-in-out;
      transform-origin: left;
    }
    &:hover {
      &:after {
        transform: scaleX(1);
      }
    }
  }

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

/* Intro ------------------------------------------------------------------------- */
#Intro {
  text-align: center;
  position: relative;
  background-color: #000119;
  background-position: center top;
  max-height: 100vh;
  color: theme('colors.white');
  font-family: theme('fontFamily.heading');
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  @screen lg {
    height: 550px;
  }
  .intro-inner {
    max-width: 950px;
    .intro-category {
      font-size: 18px;
      font-weight: 400;
      line-height: 1.2;
      letter-spacing: 1.8px;
      margin-bottom: 20px;
      text-transform: uppercase;
      font-family: theme('fontFamily.heading');
      color: theme('colors.white');
    }
    .intro-title {
      font-size: clamp(1.9rem, 5vw, 3rem);
      font-weight: 700;
      line-height: 1.2;
      text-transform: uppercase;
      margin-bottom: 20px;
      font-family: theme('fontFamily.heading');
      word-break: keep-all;
      padding: 0 20px;
    }
    .intro-date {
      font-family: theme('fontFamily.heading');
      font-size: 12px;
      font-weight: 400;
      line-height: 2;
      letter-spacing: 1.2px;
      text-transform: uppercase;
    }
  }
}

#Intro .intro-inner {
  z-index: 1;
  position: relative;
}
#Intro .intro-title {
  margin-bottom: 20px;
}

#Intro .intro-next {
  display: none;
}

#Intro.parallax {
  overflow: hidden;
  .mfn-parallax {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    transition: opacity 0.2s;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
