.sw25-dns-featured-posts {
  padding: 32px 0 56px;

  &.gray-blue-100 {
    background-color: #eaf2f5;
  }

  .sw19s-std-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    flex-wrap: wrap;
  }

  .fp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 2rem;
    width: 100%;

    &.s-space {
      margin-bottom: 0.5rem;

      .long-line {
        background-color: transparent;
      }
    }
  }

  .fp-headline {
    font-family: "Archivo Black";
    font-size: 32px;
    line-height: 1.25;
    color: #584f4a;
    white-space: nowrap;
  }

  .long-line {
    background-color: #9f9894;
    height: 1px;
    width: 100%;
  }

  a {
    font-family: "Roboto";
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #0044ab;
    white-space: nowrap;

    svg {
      width: 10px;
      margin-left: 6px;
    }

    &:hover {
      color: #0044ab;
      text-decoration: underline;
    }

    &:active {
      color: #00086f;
      text-decoration: underline;
    }
  }

  .container {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
  }

  .block-article {
    max-width: 24rem;
    width: 100%;
    border: 1px solid #b3b3a8;
    border-radius: 8px;
    overflow: hidden;
    flex-direction: column;
    display: flex;
    background-color: #fff;

    .article-image img {
      width: 384px;
      height: 116px;
      object-fit: cover;
      object-position: top center;
      aspect-ratio: 384 / 116;
    }

    .article-content {
      padding: 1rem 1rem 1.5rem 2rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      position: relative;

      > svg {
        position: absolute;
        top: 34px;
        left: 12px;
      }
    }

    .article-title {
      font-family: "Roboto";
      font-size: 20px;
      font-weight: bold;
      line-height: 1.2;
      color: #222;
      margin: 1rem 0 0.75rem;
      display: block;
      white-space: normal;
      position: relative;
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      min-height: 85px;

      svg {
        position: absolute;
        top: 3px;
        right: calc(100% + 0.5rem);
        width: 15px;
        margin: 0;
      }
    }

    .article-date {
      font-family: "Roboto";
      font-size: 14px;
      font-style: italic;
      line-height: 1.71;
      color: #766d68;
      margin-bottom: 0.75rem;
    }

    .article-description {
      font-family: "Roboto";
      font-size: 18px;
      line-height: 1.78;
      color: #222;
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      margin-bottom: 3rem;
    }

    .article-extra {
      display: flex;
      justify-content: space-between;
      margin-top: auto;
    }

    .article-cat {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;

      a {
        font-family: "Archivo";
        font-size: 16px;
        font-weight: bold;
        line-height: 1.5;
        color: #676656;
        text-decoration: underline;

        &:hover {
          color: #584f4a;
        }

        &:active {
          color: #3a312c;
          text-decoration: none;
        }
      }

      .divider {
        width: 2px;
        height: 18px;
        background-image: linear-gradient(to bottom, #3fb9ff 0%, #0066ff 103%);
        transform: translateY(2px);
      }

      .divider:last-child {
        display: none;
      }
    }
  }

  .fp-actions {
    display: none;
    margin-top: 2rem;
    text-align: center;
  }

  .fp-foot {
    margin-top: 52px;

    .sw-dns-pagination {
      padding-bottom: 0;
    }
  }

  .fp-sec-cta {
    margin-top: 2.5rem;
    text-align: center;
  }

  .dns-cta {
    font-family: "Archivo";
    font-size: 18px;
    font-weight: bold;
    line-height: 1.33;
    color: #000;
    border-radius: 48px;
    padding: 12px 32px;
    display: inline-block;

    svg {
      width: 14px;
    }

    &:hover {
      text-decoration: none;
      color: #000;
    }

    &:active {
      text-decoration: none;
      color: #000;
    }

    &.secondary {
      border: 3px solid #42e2b8;

      &:hover {
        background-color: #83ecd0;
      }

      &:active {
        background-color: #21d4a4;
      }
    }
  }

  .controls {
    display: none;

    svg path {
      stroke: #0044ab;
    }
  }

  @media (max-width: 1024px) {
    .view-all-cta {
      display: none;
    }

    .block-article {
      width: 100%;
      flex-shrink: 0;
      max-width: unset;

      &.offscreen {
        opacity: 0.2;
      }

      &.not-visible {
        display: none;
      }

      .article-title {
        font-size: 20px;
      }

      .article-image img {
        width: unset;
        max-width: 100%;
        height: unset;
        aspect-ratio: 384 / 100;
      }
    }

    &.do-list {
      .container {
        display: flex;
        gap: 32px;
        flex-direction: column;
        align-items: center;
      }
    }

    /* mobile slider only */
    &.do-slider {
      .slider {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        align-items: center;
        gap: 2rem;
      }

      .container {
        display: flex;
        gap: 3rem;
        transition: transform 0.5s ease-in-out;
        position: relative;
        flex-wrap: nowrap;
        width: 100%;
      }

      .controls {
        display: flex;
        gap: 1rem;
        max-width: none;
      }

      .arrow {
        cursor: pointer;
      }
    }

    .block-article {
      width: 100%;
      flex-shrink: 0;
      max-width: unset;

      &.offscreen {
        opacity: 0.2;
      }

      &.not-visible {
        display: none;
      }
    }

    .fp-actions {
      display: block;
    }
  }

  /* copy/paste mobile */

  .slider {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 2rem;
  }

  .container {
    display: flex;
    gap: 3rem;
    transition: transform 0.5s ease-in-out;
    position: relative;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .controls {
    display: flex;
    max-width: none;
  }

  .arrow {
    cursor: pointer;
  }
}
