#site-content {
    width: 100%;
}

.archive-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.archive-header h1 {
    font-size: 2.5rem;
}

.archive-introduction {
    text-align: center;
    font-size: 16px;
    margin-bottom: 1.5rem;
}

.no-grammar-tests {
    text-align: center;
    font-style: italic;
    color: gray;
}

.ielts-grammar-test-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 50px;
}

article {
    width: calc(25% - 15px) !important;
    padding: 10px 10px 5px 10px !important;
    border: 1px solid gray !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 0px !important;
    border-radius: 5px;
    text-align: center;
    background-color: white;
    display: flex;
    flex-direction: column;
    position: relative;
}

article .post-header {
    margin-top: 5px;
    margin-bottom: 0px;
}

article .post-title{
    font-size: 0.8rem;
}

article .post-title a{
    font-weight: bold;
}

.post-content {
    font-size: 0.7rem;
    flex-grow: 1;
    margin-bottom: 5px;
}

.post-content p {
    margin-bottom: 0px;
}

.start-grammar-test-button {
    display: block;
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 3px;
    border-radius: 5px;
    background-color: teal;
}

.start-grammar-test-button:hover {
    color: white;
}

.start-grammar-test-button:focus {
    color: white;
}

@media screen and (max-width: 768px) {
    .ielts-grammar-test-posts {
        gap: 10px;
    }
    article {
        width: calc(50% - 5px) !important;
    }
}
