.latest-blog {
  position: relative;
  z-index: 2;

  .container-wide {
    padding-top: 90px;
    padding-bottom: 130px;
    background-color: var(--color-neutral-50);

    @media screen and (max-width: 1440px) {
      padding-top: 80px;
      padding-bottom: 120px;
    }

    @media screen and (max-width: 1366px) {
      padding-top: 70px;
      padding-bottom: 110px;
    }

    @media screen and (max-width: 1280px) {
      padding-top: 60px;
      padding-bottom: 100px;
    }

    @media screen and (max-width: 1024px) {
      padding-top: 50px;
      padding-bottom: 90px;
    }

    @media screen and (max-width: 768px) {
      padding-top: 40px;
      padding-bottom: 80px;
    }

    @media screen and (max-width: 576px) {
      padding-top: 30px;
      padding-bottom: 70px;
    }

    .container-narrow {
      display: grid;
      gap: 70px;
      grid-template-columns: 500px 1fr;
      width: 1000px;
      margin: 0 auto;
      padding: 0;

      @media screen and (max-width: 1440px) {
        gap: 60px;
        grid-template-columns: 450px 1fr;
      }

      @media screen and (max-width: 1280px) {
        padding: 0 20px;
      }

      @media screen and (max-width: 1024px) {
        gap: 40px;
        grid-template-columns: 4fr 5fr;
        width: auto;
        margin: 0;
        padding: 0 30px;
      }

      @media screen and (max-width: 768px) {
        gap: 30px;
        grid-template-columns: 1fr;
        padding: 0 20px;
      }

      .latest-post {
        article {
          figure {
            a {
              display: block;
              position: relative;
              color: var(--color-white);
              transition: transform 0.3s ease-in-out;

              img {
                width: 100%;
                z-index: 1;
              }

              &:before {
                display: block;
                position: absolute;
                content: '';
                left: 0;
                top: 0;
                right: 0;
                bottom: 0;
                background-image: linear-gradient(to bottom, rgba(102, 102, 102, 0), rgba(0, 0, 0, 1));
                transition: opacity 0.3s ease-in-out;
                opacity: 0.5;
              }

              strong {
                display: block;
                position: absolute;
                left: 40px;
                right: 40px;
                bottom: 70px;
                font-size: var(--font-size-xl);
                font-family: var(--font-family-title), var(--font-family-georgian);
                font-weight: 500;
                line-height: 1.3;
                z-index: 2;

                @media screen and (max-width: 1024px) {
                  left: 20px;
                  right: 20px;
                  bottom: 40px;
                }
              }

              &:hover {
                transform: scale(1.01);

                &:before {
                  opacity: 0.7;
                }
              }
            }
          }
        }
      }

      .last-posts {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 16px;

        @media screen and (max-width: 768px) {
          padding-left: 36px;
        }

        ul {
          display: flex;
          flex-direction: column;
          gap: 16px;
          margin: 0;
          padding: 0;
          list-style: none;

          @media screen and (max-width: 1024px) {
            gap: 10px;
          }

          li {
            position: relative;
            width: 100%;

            &:before {
              display: block;
              position: absolute;
              content: '';
              width: 9px;
              height: 9px;
              left: -28px;
              top: 16px;
              transform: rotate(45deg);
              background-color: var(--color-primary-200);

              @media screen and (max-width: 1366px) {
                left: -24px;
                top: 14px;
              }

              @media screen and (max-width: 1024px) {
                width: 7px;
                height: 7px;
                left: -20px;
                top: 12px;
              }
            }

            a {
              display: block;
              color: var(--color-neutral-700);
              font-weight: 300;

              &:hover {
                text-decoration: underline;
              }
            }
          }
        }

        .cta {
          display: flex;

          a {
            display: block;
            padding: 14px 26px;
            color: var(--color-neutral-700);
            font-size: var(--font-size-xs);
            font-family: var(--font-family-title), var(--font-family-georgian);
            border: 1px solid var(--color-neutral-700);
            transition: color 0.3s ease, border-color 0.3s ease;

            &:hover {
              color: var(--color-primary-200);
              border-color: var(--color-primary-200);
            }
          }
        }
      }
    }
  }
}