.posts-list ul,
.posts-list li {
    all: unset;
    padding: 0;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.posts-list {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.posts-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Rasa Serif", serif;
    font-size: var(--h2);
    border-bottom: 1px solid var(--blue-900);
    padding: 1rem 0;
    opacity: 0.5;
    transition: all 200ms ease;
}

.posts-list a:hover {
    opacity: 1;
}

.posts-list a svg {
    width: 1.5rem;
}

.posts-list--search {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid var(--blue-900);
    opacity: 0.5;
}

.posts-list--search input {
    width: 100%;
    background: transparent;
}

.posts-list--search input:focus {
    outline: none;
}

.posts-list--search:focus-within {
    outline: none;
    opacity: 1;
}

.posts-list--search svg {
    width: 1.25rem;
}

@media (max-width: 640px) {
    .posts-list a {
        padding: 0.5rem 0;
    }

    .posts-list--search svg {
    width: 1rem;
}
}

.editor-styles-wrapper .posts-list a {
  pointer-events: none !important;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
    gap: 4rem;
}

.entry-content .posts-grid {
    list-style-type: none !important;
}

.entry-content .posts-grid li {
    margin: 0;
    padding: 0;
}

.posts-grid--card picture {
    height: 2rem;
    width: 100%;
    overflow: hidden;
    display: block;
    background-color: var(--blue-100);
}

.posts-grid--card picture img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all 200ms ease-in-out;
}

.posts-grid--card-tags {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
    margin-bottom: 1rem;
}

.posts-grid--card-tags span {
    font-size: 0.75rem;
    font-weight: 900;
  /*   text-transform: uppercase;*/
    letter-spacing: 0.025rem; 
    padding: 0.125rem 0.5rem;
    background: var(--blue-100);
}

.posts-grid--card h3 {
    font-family: "Rasa Serif", sans-serif;
    font-size: 1.5rem !important;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.posts-grid--card-excerpt {
    opacity: .5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    transition: all 200ms ease-in-out;
}

.posts-grid--card:hover picture img {
    transform: scale(1.1);
}

.posts-grid--card:hover .posts-grid--card-excerpt {
    opacity: 1;
}

@media (max-width:980px) {
    .posts-grid {
        grid-template-columns: repeat(2, minmax(320px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 720px) {
    .posts-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 560px) {
    .posts-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 3rem;
    }
}
