.sw-tag-hero {
  background-color: #eeeeee;
  color: #111;
  padding: 40px 0;
  position: relative;

  .sw19s-std-wrap {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 8px;
    max-width: 936px;
  }

  .subtitle {
    font-size: 20px;
    line-height: 30px;
    font-family: "Roboto Slab";
  }

  .title {
    margin: 0;
    padding: 0;
    font-size: 48px;
    line-height: 60px;
    font-weight: bold;
    text-transform: capitalize;
  }

  .hero-widget {
    position: absolute;
    bottom: 0;
    left: 0;
    line-height: 0;
  }

  @media (max-width: 768px) {
    padding-bottom: 48px;
    .hero-widget {
      padding-left: 16px;
    }

    .title {
      font-size: 34px;
      line-height: 44px;
    }
  }
}

.sw-latest-posts-grid {
  padding: 40px 0;

  .sw19s-std-wrap {
    display: flex;
    flex-direction: column;
    gap: 56px;
    max-width: 936px;
  }

  .sw-post-item {
    display: flex;
    gap: 40px;
    color: #111;
    .image {
      border-radius: 13.5px;
      position: relative;
      width: fit-content;
      min-width: 360px;
      height: 202px;
      width: 360px;

      .overlay {
        height: 100%;
        width: 100%;
        background-color: rgba(17, 17, 17, 0.4);
        position: absolute;
        top: 0;
        display: none;
        border-radius: 13.6px;
      }

      &:active {
        img {
          border: 1px solid #444444;
          transform: scale(0.9);
        }
        .overlay {
          display: block;
          &:hover {
            transform: scale(0.9);
          }
        }
      }

      img {
        height: 202px;
        width: 360px;
        object-fit: cover;
        object-position: center;
        border-radius: 13.6px;
        transition: all 0.4s ease;

        &:hover {
          transform: scale(0.9);
        }
      }
    }

    .text {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .title {
      font-size: 20px;
      line-height: 28px;
      color: #111;
      font-weight: bold;

      &:hover {
        text-decoration: underline;
      }

      &:active {
        text-decoration: underline;
        color: #003c4e;
      }
    }

    .date-and-author {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;

      .date {
        font-family: "Roboto Slab";
        color: #666666;
        font-size: 16px;
        line-height: 24px;
      }

      a.author {
        color: #111;
        font-size: 16px;
        text-decoration: underline;
        font-family: "Roboto";
        &:hover {
          color: #006482;
          text-decoration-thickness: 2px;
        }
        &:active {
          color: #003c4e;
          text-decoration-thickness: 2px;
        }
      }
    }

    .divider {
      width: 1px;
      background-color: #a0b9b9;
    }

    .excerpt {
      font-size: 16px;
      line-height: 24px;
    }

    .categories {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    a.category-pill {
      display: block;
      background-color: #d8e3e3;
      color: #444;
      border-radius: 6px;
      font-size: 14px;
      line-height: 24px;
      padding: 0 16px;
      font-weight: bold;
      box-sizing: border-box;
      border: solid 1px transparent;
      text-transform: uppercase;
      width: fit-content;

      &:hover {
        border: solid 1px #444;
      }

      &:active {
        background-color: #fff;
      }
    }
  }

  .sw-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 32px 0 48px 0;

    .disabled {
      line-height: 0;
      svg {
        opacity: 0.2;
      }
      &.prev {
        padding-right: 13px;
      }
      &.next {
        padding-left: 13px;
      }
    }

    .page-numbers {
      padding: 8px 15px;
      font-size: 16px;
      line-height: 24px;
      font-weight: bold;
      border-radius: 8px;
      color: #006482;
      max-width: 40px;
      display: flex;
      justify-content: center;

      &.current {
        background-color: #d8e3e3;
      }

      &.prev,
      &.next {
        padding: 0;
        line-height: 0;
      }

      &.prev {
        padding-right: 13px;
      }
      &.next {
        padding-left: 13px;
      }

      &.dots {
        padding: 8px;
        font-weight: normal;
      }
    }

    a.page-numbers {
      &:hover {
        text-decoration: underline;
      }

      &:active {
        color: #003c4e;
      }
    }
  }

  @media (max-width: 768px) {
    padding: 48px 0;
    .sw19s-std-wrap {
      gap: 64px;
    }

    .sw-post-item {
      flex-direction: column;
      gap: 16px;

      .image {
        min-width: 0;
        height: 194px;
        width: 344px;
      }

      .image img {
        height: 194px;
        width: 344px;
      }
    }

    .sw-pagination {
      padding: 16px 0;
    }
  }

  @media (max-width: 375px) {
    .sw-post-item {
      .image {
        height: auto;
        width: auto;
      }
      .image img {
        aspect-ratio: 344 / 194;
        height: 100%;
        width: 100%;
      }
    }
  }
}

/*---------------
# Breadcrumbs
----------------*/
.om__singlepost-breadcrumbs {
  font-family: "Roboto";
  font-size: 14px;
  font-weight: 400;
  line-height: 1.29;
  color: #666666;
  margin: 56px 0 0 0;
  a {
    color: #006482;
    font-weight: bold;
    text-decoration: none;

    &.link-bread {
      &:hover,
      &:active {
        text-decoration: underline;
      }
    }
  }

  span {
    color: #006482;
    font-weight: bold;
    text-decoration: none;
  }

  @media (max-width: 992px) {
    margin-top: 2rem;
  }
}
