body.detail-stories-page #header,
body.detail-stories-page #hero,
body.detail-stories-page #footer {
    background-color: #f2ebe7;
}

body.detail-stories-page #content {
    margin: 0 auto;
    padding: 0 0px;
}

body.detail-stories-page #content p,
body.detail-stories-page #content h1,
body.detail-stories-page #content h3 {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    font-size: 15px;
    line-height: 1.7;
}

h2 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 16px;
    color: #0A1E2C;
}

body.detail-stories-page #content p {
    text-transform: none;
}

.story-header .categories a {
    text-transform: uppercase;
}

body.detail-stories-page #content p {
    margin-bottom: 20px;
}

.story-header + img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px 0;
}

.story-header .publish-date {
    font-size: 12px;
    color: #09202E;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.story-header h1 {
    font-size: 26px;
    font-weight: 550;
    line-height: 1.3;
    margin: 0 0 20px;
    color: #091D28;
}

.story-header .categories {
    font-size: 12px;
    text-transform: uppercase;
    color: #09202E;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 0;
}

.story-header .categories a {
    color: #09202E;
    text-decoration: none;
}

.story-header .categories a::after {
    content: " / ";
}

.story-header .categories a:last-of-type::after {
    content: "";
}
picture,
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}

.story-content {
    padding: 40px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pagination {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 24px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 40px 20px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pagination .prev,
.pagination .next {
    width: 100%;
    text-align: center;
}

.pagination .label {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.pagination .no-more {
    font-size: 16px;
    font-weight: 500;
}

.pagination a {
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

body.detail-stories-page #content ul li {
    text-transform: none;
    font-size: 14px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    body.detail-stories-page #content p,
    body.detail-stories-page #content h1,
    body.detail-stories-page #content h3 {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        font-size: inherit;
        line-height: 1.6;
    }

    h2 {
        font-size: 50px;
        line-height: normal;
        margin-bottom: 20px;
    }

    .story-header h1 {
        font-size: clamp(28px, 5vw, 48px);
        line-height: 1.2;
    }

    .story-header .publish-date,
    .story-header .categories {
        font-size: 13px;
    }

    .story-header + img {
        margin: 40px auto;
    }

    .pagination {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
        padding: 60px 0;
        margin-top: 80px;
    }

    .pagination .prev,
    .pagination .next {
        width: 45%;
        text-align: initial;
    }

    .pagination .prev {
        text-align: left;
    }

    .pagination .next {
        text-align: right;
    }

    .pagination .label {
        font-size: 24px;
    }

    .pagination .no-more,
    .pagination a {
        font-size: 18px;
    }

    body.detail-stories-page #content ul li {
        font-size: inherit;
    }
}
