body {
    font-family: system-ui, Arial, sans-serif;
    margin: 2rem auto;
    max-width: 940px;
    text-align: center;
    padding: 0 1rem
}

.header {
    margin-bottom: 1.5rem
}

.logo {
    max-width: 260px;
    height: auto
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0;
    margin: 0
}

.card {
    position: relative;
    list-style: none;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    transition: transform .15s
}

.card:hover {
    transform: translateY(-2px)
}

.thumb {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover
}

.info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 100%);
    text-align: left;
    color: #fff
}

.cat {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-left: .5rem;
    margin-bottom: .35rem;
    color: #fff
}

.time {
    display: flex;
    align-items: center;
    font-size: .8rem;
    color: #fff;
    margin-top: .5rem
}

.time svg {
    width: 16px;
    height: 16px;
    fill: #d00000;
    margin-right: .35rem
}

.title {
    display: block;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 0 0 .25rem;
    color: #fff
}

.pagination {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: .9rem
}

.page-link {
    padding: .4rem .8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #0077cc;
    text-decoration: none
}

.page-link:hover {
    background: #f0f0f0
}

.page-disabled {
    padding: .4rem .8rem;
    border: 1px solid #f5f5f5;
    border-radius: 4px;
    color: #bbb
}

.footer {
    margin-top: 3rem;
    font-size: .8rem;
    color: #555
}

@media(min-width:600px) {
    .grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .thumb {
        height: 320px
    }
}