.category {
    max-width: 1320px;
    margin: calc(var(--header-height) + 20px) auto 35px auto;
    padding: 35px 0;
    position: relative;
}

.category h1 {
    font-size: clamp(25px, 5vw, 34px);
    font-weight: 700;
    width: 75%;
}

.category .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.category .cards .articles {
    margin: 15px 0;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    box-shadow: 0 0 5px #d3d3d3;
    padding: 15px;
    text-align: center;
    width: 32%;
    height: 360px;
}

.category .cards .articles h2 {
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: 700;
    margin-bottom: 5px;
}

.category .cards .articles .link {
    color: #333;
    text-decoration: none;
}

.category .cards .articles .meta {
    text-align: center;
    margin-bottom: 5px;
    font-size: clamp(12px, 1.25vw, 13px);
}

.category .cards .articles .intro {
    font-size: clamp(12px, 1.25vw, 14px);
    text-align: center;
    margin-bottom: 15px;
}

.category .cards .articles .link:hover {
    text-decoration: underline;
}

.category .cards .articles .img {
    max-width: 100%;
    height: auto;
    width: 100px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 3px #333;
}

@media screen and (max-width: 768px) {
    .category {
        margin: var(--header-height) 20px 0 20px;
    }

    .category .cards .articles {
        width: 100%;
        height: auto;
        margin: 15px 0;
    }

    .category .cards .articles .img {
        width: 100%;
    }
}