/* =========================================
   SINGLE CITY POST PAGE
========================================= */
.post-page-shell,
.post-page,
.post-header {
    background: #f3f3f3;
}

.post-page {
    overflow: hidden;
}

.post-page .container,
.post-header .container,
.site-footer .container {
    width: min(calc(100% - 48px), 1180px);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.post-hero {
    background: #42e0a8;
    padding: 18px 0 16px;
}

.post-hero__label {
    margin: 0;
    font-size: clamp(34px, 5vw, 78px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: #000;
}

.single-post-section {
    position: relative;
    padding: 54px 0 74px;
    background: #f3f3f3;
}

.single-post {
    max-width: 920px;
    margin: 0 auto;
}

.single-post__back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: #8a2a8e;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    transition: 0.3s ease;
}

.single-post__back:hover {
    transform: translateX(-5px);
}

.single-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.single-post__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #42e0a8;
    color: #111;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.single-post__title {
    margin: 0 0 20px;
    font-size: clamp(34px, 4.6vw, 66px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: #000;
}

.single-post__lead {
    max-width: 760px;
    margin: 0 0 30px;
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #181818;
}

.single-post__image-wrap {
    width: 100%;
    margin: 0 0 34px;
    overflow: hidden;
    background: #d9d9d9;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
}

.single-post__image {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.single-post__content {
    max-width: 760px;
    margin: 0 auto;
}

.single-post__content p {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;
    color: #111;
    letter-spacing: -0.01em;
}

.single-post__content p+p {
    margin-top: 18px;
}

.single-post--empty {
    min-height: 360px;
}

.related-posts-section {
    padding: 46px 0 70px;
    background: #dff1ea;
}

.related-posts-title {
    max-width: 920px;
    margin: 0 auto 24px;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.055em;
    color: #000;
}

.related-posts-grid {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.related-post-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
    transition: 0.35s ease;
}

.related-post-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.12);
}

.related-post-card__image {
    display: block;
    width: 100%;
    height: 168px;
    overflow: hidden;
    background: #d9d9d9;
}

.related-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.55s ease;
}

.related-post-card:hover .related-post-card__image img {
    transform: scale(1.06);
}

.related-post-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}

.related-post-card__content span {
    width: fit-content;
    margin-bottom: 9px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #42e0a8;
    color: #111;
    font-size: 11px;
    font-weight: 800;
}

.related-post-card__content h3 {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111;
}

.related-post-card__content a {
    margin-top: auto;
    width: fit-content;
    color: #8a2a8e;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    .post-page .container,
    .post-header .container,
    .site-footer .container {
        width: min(calc(100% - 28px), 1180px);
    }

    .post-hero {
        padding: 15px 0 14px;
    }

    .post-hero__label {
        font-size: 42px;
    }

    .single-post-section {
        padding: 34px 0 48px;
    }

    .single-post__title {
        font-size: 31px;
        line-height: 1.05;
    }

    .single-post__lead {
        font-size: 17px;
    }

    .single-post__content p {
        font-size: 15px;
        line-height: 1.5;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .related-post-card__image {
        height: 190px;
    }
}