:root {
    --post-text: #1B1C1E;
    --post-muted: #1B1C1E;
    --post-bg: #ffffff;
    --post-sans: neulis-sans, "Neulis Sans", sans-serif;
    --post-accent: #457B9D;
    --post-border: #c6ac8f;
    --post-heading: #1B1C1E;
}

.single-post .post__section {
    position: relative;
    background: var(--post-bg);
    padding-top: calc(var(--header-height) + 72px);
    padding-bottom: 72px;
}

.single-post .post__section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 640px;
    background: #f3f1ee;
    z-index: 0;
}

.post__wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    align-items: flex-start;
    max-width: 980px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.post__article {
    width: 100%;
    max-width: 100%;
}

.post__header {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: left;
}

.post__title {
    font-family: var(--post-sans);
    font-size: clamp(36px, 4.6vw, 54px);
    line-height: 1.08;
    color: var(--post-heading);
    margin-bottom: 18px;
    font-weight: 300;
}

.post__meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--post-muted);
}

.post__featured {
    max-width: 840px;
    margin: 0 auto 40px;
}

.post__featured img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.post__content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.85;
    color: var(--post-text);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.post__content p {
    margin-bottom: 22px;
}

.post__content > * {
    width: 100%;
    clear: both;
}

.post__content h2,
.post__content h3 {
    font-family: var(--post-sans);
    margin: 32px 0 12px;
    font-weight: 300;
    color: var(--post-heading);
}

.post__content blockquote {
    font-family: var(--post-sans);
    font-size: 20px;
    line-height: 1.5;
    color: var(--post-text);
    border-left: none;
    padding-left: 18px;
    margin: 28px 0;
}

.post__content > p:first-of-type::first-letter {
    float: left;
    font-family: var(--post-sans);
    font-size: 5.2em;
    line-height: 0.84;
    margin: 0.02em 0.12em 0 0;
    color: #1b1c1e;
    font-weight: 500;
}

/* New elements, styled in line with existing single post design */
.post__backlink {
    display: inline-flex;
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--post-muted);
}

.post__intro {
    margin-top: 16px;
    max-width: 620px;
    color: var(--post-muted);
    font-size: 16px;
    line-height: 1.65;
}

.post__more {
    background: var(--post-bg);
    padding: 0 0 84px;
}

.post__more .wrapper {
    max-width: 980px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.post__more__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.post__more__header h2 {
    margin: 0;
    font-family: var(--post-sans);
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.1;
    color: var(--post-heading);
    font-weight: 300;
}

.post__more__header a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--post-muted);
}

.post__more__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.post__more__card {
    border: none;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(39, 28, 19, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post__more__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(39, 28, 19, 0.14);
}

.post__more__image {
    display: block;
    aspect-ratio: 4 / 3;
    background: #f3f1ee;
    overflow: hidden;
}

.post__more__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post__more__body {
    padding: 14px 14px 16px;
}

.post__more__body time {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--post-muted);
}

.post__more__body h3 {
    margin: 0 0 8px;
    font-family: var(--post-sans);
    font-size: 24px;
    line-height: 1.2;
    color: var(--post-heading);
    font-weight: 300;
}

.post__more__body h3 a {
    color: inherit;
}

.post__more__body p {
    margin: 0 0 10px;
    color: var(--post-muted);
    font-size: 14px;
    line-height: 1.6;
}

.post__more__read {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--post-text);
}

.single-post .post__article a,
.single-post .post__more a {
    font-weight: 400;
    color: var(--post-text);
}

.single-post .post__article a:hover,
.single-post .post__more a:hover {
    color: var(--post-accent);
}

@media (max-width: 1023.98px) {
    .single-post .post__section {
        padding-top: calc(var(--header-height) + 56px);
    }

    .post__article {
        max-width: 840px;
    }

    .single-post .post__section::before {
        height: 300px;
    }

    .post__more__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .single-post .post__section {
        padding-top: calc(var(--header-height) + 48px);
        padding-bottom: 52px;
    }

    .single-post .post__section::before {
        height: clamp(380px, 92vw, 520px);
    }

    .post__header,
    .post__featured,
    .post__content {
        max-width: 100%;
    }

    .post__title {
        font-size: 32px;
    }

    .post__more {
        padding-bottom: 64px;
    }

    .post__wrapper,
    .post__more .wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .post__more__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .post__more__grid {
        grid-template-columns: 1fr;
    }
}
