/* Editorial presentation for individual Crealandia news articles. */

body.single-post {
    --btg-news-bg: #f5f2ed;
    --btg-news-surface: #ffffff;
    --btg-news-ink: #1c1b19;
    --btg-news-muted: #77716a;
    --btg-news-line: rgba(28, 27, 25, .12);
    --btg-news-accent: #b96d49;
    --btg-news-accent-soft: #fbefe8;
    background: var(--btg-news-bg);
}

body.single-post .custom-logo-link {
    display: flex !important;
    width: 146px;
    height: 30px;
    align-items: center;
    background: url("../img/emails/crealandia-logo.png") center / contain no-repeat;
}

body.single-post .custom-logo-link img {
    visibility: hidden;
}

body.single-post .content-wrapper {
    width: 100%;
    max-width: 1240px !important;
    margin: clamp(48px, 6vw, 78px) auto 100px !important;
    padding: 0 clamp(16px, 3vw, 40px) !important;
}

body.single-post .site-main.no-sidebar {
    width: 100%;
    padding: 0 !important;
}

body.single-post .site-main.no-sidebar > article.post {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 28px;
    overflow: hidden;
    border: 1px solid var(--btg-news-line);
    border-radius: 30px;
    background: var(--btg-news-surface);
    box-shadow: 0 24px 70px rgba(44, 35, 28, .09);
}

body.single-post .site-main.no-sidebar > article.post .entry-header {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: clamp(48px, 7vw, 82px) clamp(24px, 7vw, 88px) 38px !important;
    text-align: center;
}

body.single-post .site-main.no-sidebar > article.post .entry-header::before {
    content: "CREALANDIA JOURNAL";
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 22px;
    padding: 6px 11px;
    border: 1px solid rgba(185, 109, 73, .32);
    border-radius: 999px;
    background: var(--btg-news-accent-soft);
    color: var(--btg-news-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1;
}

body.single-post .site-main.no-sidebar > article.post .entry-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 20px !important;
    color: var(--btg-news-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.single-post .site-main.no-sidebar > article.post .entry-meta a {
    color: var(--btg-news-muted) !important;
}

body.single-post .site-main.no-sidebar > article.post .entry-meta .byline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.single-post .site-main.no-sidebar > article.post .entry-meta .byline::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--btg-news-accent);
}

body.single-post .site-main.no-sidebar > article.post .entry-title {
    max-width: 850px;
    margin: 0 auto !important;
    color: var(--btg-news-ink) !important;
    font-size: clamp(38px, 5.3vw, 68px) !important;
    font-weight: 750;
    letter-spacing: -.065em;
    line-height: 1.02 !important;
    text-wrap: balance;
}

body.single-post .site-main.no-sidebar > article.post .post-thumbnail {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 0 !important;
    background: #e9e2da;
}

body.single-post .site-main.no-sidebar > article.post .post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2.32 / 1;
    object-fit: cover;
}

body.single-post .site-main.no-sidebar > article.post .entry-content {
    max-width: 780px !important;
    margin: 0 auto !important;
    padding: clamp(42px, 6vw, 68px) clamp(24px, 5vw, 56px) 0 !important;
    color: var(--btg-news-ink);
    font-size: clamp(17px, 1.35vw, 19px);
    line-height: 1.8;
}

body.single-post .site-main.no-sidebar > article.post .entry-content p {
    margin: 0 0 26px;
}

body.single-post .site-main.no-sidebar > article.post .entry-content > p:first-child {
    margin-bottom: 32px;
    color: #3f3934;
    font-size: 1.16em;
    font-weight: 600;
    line-height: 1.6;
}

body.single-post .site-main.no-sidebar > article.post .entry-content a {
    color: var(--btg-news-accent) !important;
    text-decoration-color: rgba(185, 109, 73, .45) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.single-post .site-main.no-sidebar > article.post .entry-content a:hover,
body.single-post .site-main.no-sidebar > article.post .entry-content a:focus {
    color: #8f4f32 !important;
    text-decoration-color: currentColor !important;
}

body.single-post .site-main.no-sidebar > article.post .entry-content blockquote {
    margin: 38px 0;
    padding: 6px 0 6px 24px;
    border-left: 3px solid var(--btg-news-accent);
    color: #514941;
}

body.single-post .site-main.no-sidebar > article.post .entry-content > p:last-child {
    margin-top: 38px;
    margin-bottom: 0;
    padding: 22px 24px;
    border: 1px solid rgba(185, 109, 73, .2);
    border-radius: 18px;
    background: var(--btg-news-accent-soft);
    color: #544239;
    font-size: .92em;
    line-height: 1.65;
}

body.single-post .site-main.no-sidebar > article.post .entry-footer {
    max-width: 780px !important;
    margin: 42px auto 0 !important;
    padding: 24px clamp(24px, 5vw, 56px) 56px !important;
    border-top: 1px solid var(--btg-news-line);
}

body.single-post .site-main.no-sidebar > article.post .tags-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--btg-news-muted);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
}

body.single-post .site-main.no-sidebar > article.post .tags-links a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0 !important;
    padding: 6px 11px;
    border: 1px solid var(--btg-news-line);
    border-radius: 999px;
    background: #faf9f6;
    color: #59514b !important;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

body.single-post .site-main.no-sidebar > article.post .tags-links a:hover,
body.single-post .site-main.no-sidebar > article.post .tags-links a:focus {
    border-color: rgba(185, 109, 73, .45);
    background: var(--btg-news-accent-soft);
    color: #8f4f32 !important;
    transform: translateY(-1px);
}

body.single-post .site-main.no-sidebar > .post-navigation {
    width: 100%;
    max-width: 1120px !important;
    margin: 0 auto 28px !important;
    padding: 0 !important;
}

body.single-post .site-main.no-sidebar > .post-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body.single-post .site-main.no-sidebar > .post-navigation .nav-previous,
body.single-post .site-main.no-sidebar > .post-navigation .nav-next {
    min-width: 0;
    margin: 0 !important;
}

body.single-post .site-main.no-sidebar > .post-navigation a {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 22px 24px;
    border: 1px solid var(--btg-news-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .78);
    color: var(--btg-news-ink) !important;
    box-shadow: 0 10px 30px rgba(44, 35, 28, .04);
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.single-post .site-main.no-sidebar > .post-navigation .nav-next a {
    align-items: flex-end;
    text-align: right;
}

body.single-post .site-main.no-sidebar > .post-navigation a:hover,
body.single-post .site-main.no-sidebar > .post-navigation a:focus {
    border-color: rgba(185, 109, 73, .42);
    background: var(--btg-news-surface);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(44, 35, 28, .08);
}

body.single-post .site-main.no-sidebar > .post-navigation .nav-subtitle {
    color: var(--btg-news-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.single-post .site-main.no-sidebar > .post-navigation .nav-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--btg-news-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.single-post .site-main.no-sidebar > .comments-area {
    width: 100%;
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: clamp(34px, 5vw, 58px) clamp(22px, 6vw, 72px) !important;
    border: 1px solid var(--btg-news-line);
    border-radius: 28px;
    background: var(--btg-news-surface) !important;
    box-shadow: 0 18px 55px rgba(44, 35, 28, .07);
}

body.single-post .comments-area #reply-title,
body.single-post .comments-area .comments-title {
    margin: 0 0 12px !important;
    color: var(--btg-news-ink) !important;
    font-size: clamp(28px, 3.2vw, 42px) !important;
    letter-spacing: -.045em;
}

body.single-post .comments-area #respond {
    display: none !important;
}

body.single-post .comments-area .comment-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body.single-post .comments-area .comment-form > .comment-notes,
body.single-post .comments-area .comment-form > .comment-form-comment,
body.single-post .comments-area .comment-form > .comment-form-url,
body.single-post .comments-area .comment-form > .comment-form-cookies-consent,
body.single-post .comments-area .comment-form > .form-submit {
    grid-column: 1 / -1;
}

body.single-post .comments-area .comment-form > p {
    margin: 0 !important;
}

body.single-post .comments-area .comment-notes {
    margin-bottom: 8px !important;
    color: var(--btg-news-muted);
    font-size: 13px;
    line-height: 1.6;
}

body.single-post .comments-area .comment-form label {
    display: block;
    margin-bottom: 7px;
    color: #504943;
    font-size: 12px;
    font-weight: 750;
}

body.single-post .comments-area .comment-form label .required {
    color: var(--btg-news-accent);
}

body.single-post .comments-area .comment-form input:not([type="checkbox"]),
body.single-post .comments-area .comment-form textarea {
    width: 100%;
    border: 1px solid var(--btg-news-line);
    border-radius: 14px;
    background: #fbfaf7;
    color: var(--btg-news-ink);
    outline: 0;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.single-post .comments-area .comment-form input:not([type="checkbox"]) {
    min-height: 52px;
    padding: 12px 14px;
}

body.single-post .comments-area .comment-form textarea {
    min-height: 190px;
    padding: 14px;
    resize: vertical;
}

body.single-post .comments-area .comment-form input:not([type="checkbox"]):focus,
body.single-post .comments-area .comment-form textarea:focus {
    border-color: var(--btg-news-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(185, 109, 73, .13);
}

body.single-post .comments-area .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--btg-news-muted);
    font-size: 12px;
    line-height: 1.45;
}

body.single-post .comments-area .comment-form-cookies-consent input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 3px;
}

body.single-post .comments-area .form-submit input[type="submit"] {
    min-height: 48px;
    margin-top: 4px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--btg-news-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.single-post .comments-area .form-submit input[type="submit"]:hover,
body.single-post .comments-area .form-submit input[type="submit"]:focus {
    background: var(--btg-news-accent);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(185, 109, 73, .2);
}

@media (max-width: 760px) {
    body.single-post .content-wrapper {
        margin-top: 40px !important;
        margin-bottom: 64px !important;
        padding-inline: 12px !important;
    }

    body.single-post .site-main.no-sidebar > article.post {
        border-radius: 20px;
    }

    body.single-post .site-main.no-sidebar > article.post .entry-header {
        padding: 42px 22px 30px !important;
    }

    body.single-post .site-main.no-sidebar > article.post .entry-header::before {
        margin-bottom: 18px;
        font-size: 9px;
        letter-spacing: .12em;
    }

    body.single-post .site-main.no-sidebar > article.post .entry-title {
        font-size: clamp(34px, 10vw, 48px) !important;
    }

    body.single-post .site-main.no-sidebar > article.post .post-thumbnail img {
        aspect-ratio: 1.45 / 1;
    }

    body.single-post .site-main.no-sidebar > article.post .entry-content {
        padding: 34px 22px 0 !important;
        font-size: 16px;
        line-height: 1.7;
    }

    body.single-post .site-main.no-sidebar > article.post .entry-footer {
        margin-top: 32px !important;
        padding: 20px 22px 34px !important;
    }

    body.single-post .site-main.no-sidebar > .post-navigation .nav-links,
    body.single-post .comments-area .comment-form {
        grid-template-columns: 1fr;
    }

    body.single-post .site-main.no-sidebar > .post-navigation .nav-next a {
        align-items: flex-start;
        text-align: left;
    }

    body.single-post .site-main.no-sidebar > .post-navigation a {
        min-height: 96px;
    }

    body.single-post .site-main.no-sidebar > .comments-area {
        border-radius: 20px;
        padding: 32px 20px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-post .site-main.no-sidebar > article.post .tags-links a,
    body.single-post .site-main.no-sidebar > .post-navigation a,
    body.single-post .comments-area .comment-form input,
    body.single-post .comments-area .comment-form textarea,
    body.single-post .comments-area .form-submit input[type="submit"] {
        transition: none !important;
    }
}
