/* AK Agency — Articles premium V2 */

.single-post .ak-single-post {
    padding-top: 72px;
    padding-bottom: 110px;
}

.single-post .ak-single-post__header {
    max-width: 980px;
}

.single-post .ak-single-post__header h1 {
    max-width: 930px;
    margin-inline: auto;
    text-wrap: balance;
}

.single-post .ak-single-post__image {
    max-width: 1180px;
    aspect-ratio: 16 / 9;
    background: #ece5dc;
}

.single-post .ak-single-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post .ak-single-post__content {
    max-width: 920px;
    margin-top: 52px;
    padding: clamp(34px, 5vw, 72px);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,252,248,.90)),
        #fffaf5;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.96),
        0 32px 85px rgba(62,42,28,.10);
}

.single-post .ak-single-post__content > p:first-child {
    margin-top: 0;
    color: #2b211a;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.75;
    font-weight: 520;
}

.single-post .ak-single-post__content p {
    margin: 0 0 24px;
    color: #554d45;
    font-size: 17px;
    line-height: 1.92;
}

.single-post .ak-single-post__content h2 {
    position: relative;
    margin: 58px 0 22px;
    padding-top: 19px;
    color: #15110e;
    font-size: clamp(29px, 3vw, 39px);
    line-height: 1.16;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.single-post .ak-single-post__content h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff8b2b, #ff5d00);
    box-shadow: 0 5px 18px rgba(255,104,10,.24);
}

.single-post .ak-single-post__content h2:first-of-type {
    margin-top: 48px;
}

.single-post .ak-single-post__content strong {
    color: #20170f;
}

.single-post .ak-single-post__content a {
    color: #e85d08;
    font-weight: 720;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.single-post .ak-single-post__content .ak-article-conclusion {
    margin: 42px 0 0;
    padding: 25px 27px;
    border: 1px solid rgba(255,105,12,.22);
    border-radius: 21px;
    background:
        linear-gradient(135deg, rgba(255,139,43,.10), rgba(255,93,0,.04)),
        rgba(255,255,255,.62);
    color: #3f342c;
    font-size: 16px;
    line-height: 1.8;
}

.single-post .ak-single-post__back {
    max-width: 920px;
}

@media (max-width: 767px) {
    .single-post .ak-single-post {
        padding-top: 52px;
        padding-bottom: 72px;
    }

    .single-post .ak-single-post__image {
        width: calc(100% - 28px);
        aspect-ratio: 4 / 3;
    }

    .single-post .ak-single-post__content {
        margin-top: 26px;
        padding: 27px 21px;
        border-radius: 24px;
    }

    .single-post .ak-single-post__content > p:first-child {
        font-size: 18px;
        line-height: 1.72;
    }

    .single-post .ak-single-post__content p {
        margin-bottom: 21px;
        font-size: 15.5px;
        line-height: 1.84;
    }

    .single-post .ak-single-post__content h2 {
        margin-top: 43px;
        font-size: 27px;
    }

    .single-post .ak-single-post__content .ak-article-conclusion {
        padding: 21px 19px;
    }
}
