.title {
  font-size: 1.2rem;
}

.post-list-widget {
  display: flex;
  flex-direction: column;
  gap: 16px;

  .post-container {
    display: flex;
    scroll-snap-align: start;
    background-color: white;
    border-radius: 7px;
    box-shadow: var(--box-shadow);
    color: var(--text-color);
    transition: background-color .3s ease-in-out;

    &:hover {
      cursor: pointer;
      background-color: color-mix(in srgb, var(--agenda-color), white 90%);
    }

    .post-thumbnail-container {
      display: flex;
      align-items: center;
      flex: 1;
      width: 35%;

      .post-thumbnail {
        width: 100%;
        height: auto;
        border-radius: 7px;
      }
    }

    .post-content {
      display: flex;
      flex-direction: column;
      flex: 2;
      gap: 2px;
      padding: 12px;

      p, h3 {
        margin: 0;
      }

      .content-info-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 4px;

        .info-place {
          color: var(--text-color);

          &.info-title {
            font-size: 1rem;
            font-weight: bold;
          }
        }

        .info-date {
          display: inline-flex;
          color: white;
          background-color: var(--agenda-color);
          border-radius: 7px;
          padding: 4px 6px;
          font-size: .75rem;
        }
      }

      .content-title {
        font-size: 1rem;
        font-weight: bold;
      }

      .content-region {
        font-size: .7rem;
      }

      .content-sub-title {
        color: var(--agenda-color);
        font-size: .75rem;
      }

      .content-excerpt {
        font-size: .8rem;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        display: -webkit-box;
        overflow: hidden;

        @media (min-width: 768px) and (max-width: 1024px), (max-width: 567px) {
          -webkit-line-clamp: 2;
        }
      }
    }
  }

  .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;

    a {
      text-decoration: none;
    }

    .current {
      position: relative;
      text-decoration: underline;
      
      /*&::after {
        content: '';
        display: block;
        height: 2px;
        margin: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 85%;
        width: 10px;
        background-color: var(--agenda-color);
        border-radius: 2px;
      }*/
    }
    
  }
}


@media (max-width: 1024px) {
  .post-list-widget {  
    .post-content {
      .content-info-container {
        .info-date {
          &.--hide-on-mobile {
            display: none;
          }
        }
      }
    }
  }
}

@media (min-width: 1025px) {
  .post-list-widget {  
    .post-content {
      .content-info-container {
        .info-date {
          &.--hide-on-desktop {
            display: none;
          }
        }
      }
    }
  }
}