article {
    padding: 1.5em;
}

@media (min-width: 620px) {
    article {
        padding: 2em;
    }
}

/* Page title */

.ppw26-page-title {
    font-size: 2em;
    margin: 0 0 0.5em 0;
    overflow-wrap: break-word;
}

/* In case the title is a link (like in the case of categories) */
.ppw26-page-title a {
    color: var(--text);
}

.ppw26-posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
}

.ppw26-no-content-notice {
    font-size: 1.25em;
    font-weight: 600;
    color: var(--subtext);
    text-align: center;
    grid-column: 1 / -1;
}

@media (min-width: 380px) {
    .ppw26-page-title {
        font-size: 2.25em;
    }
}

@media (min-width: 660px) {
    .ppw26-posts {
        gap: 2em;
    }
}

@media (min-width: 880px) {
    .ppw26-page-title {
        font-size: 2.5em;
    }
}

@media (min-width: 1030px) {
    .ppw26-posts {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1250px) {
    .ppw26-posts {
        grid-template-columns: 1fr;
    }
}

/* Post */

.ppw26-post-container {
    border-radius: 1em;
    box-shadow: var(--shadow-elevated);
}

.ppw26-post-card {
    background-image: var(--gradient-surface);
}

.ppw26-post {
    background-image: linear-gradient(to bottom, var(--base), var(--surface0));
}

.ppw26-post-header {
    display: grid;
    gap: 0.25em;
    margin-bottom: 0.5em;
}

@media (min-width: 730px) {
    .ppw26-post-header {
        display: flex;
        justify-content: space-between;
    }
}

@media (min-width: 1030px) {
    .ppw26-post-header {
        display: grid;
        gap: 0.25em;
    }
}

@media (min-width: 1250px) {
    .ppw26-post-header {
        display: flex;
        justify-content: space-between;
    }
}

.ppw26-post-timestamp,
.ppw26-post-category {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--subtext);
    margin: 0;
}

/* Category can be both text and link */
.ppw26-post-category a {
    color: var(--subtext);
    transition: color var(--transition-fast);
}

.ppw26-post-category a:hover,
.ppw26-post-category a:focus-visible {
    color: var(--overlay2);
}

.ppw26-post-title {
    font-size: 1.75em;
    margin: 0;
    overflow-wrap: break-word;
}

.ppw26-content p {
    overflow-wrap: break-word;
}

.wp-block-list {
    margin-left: 0.75em;
    padding-left: 1em;
}

.wp-block-list li+li,
.wp-block-list li>ul,
.wp-block-list li>ol {
    margin-top: 0.5em;
}

figcaption {
    text-align: center;
}

.wp-block-footnotes {
    color: var(--overlay2);
    font-size: 0.85em;
}

/* Content buttons */

.ppw26-content-buttons {
    display: flex;
    justify-content: end;
    gap: 0.75em;
    flex-wrap: wrap;
    margin-top: 1.5em;
}

.ppw26-content-buttons>.ppw26-button {
    flex: 1;
}

#ppw26-404-container {
    justify-content: center;
}

@media (min-width: 800px) {
    .ppw26-content-buttons>.ppw26-button {
        flex: initial;
    }

    .ppw26-content-buttons {
        justify-content: initial;
    }
}