
.single-blog-page {
    --forest: #42653b;
    --forest-dark: #29482d;
    --forest-light: #71896a;
    --forest-soft: #eef4eb;

    --ink: #202820;
    --ink-soft: #3f493f;
    --body-text: #5b645c;
    --muted: #8a9189;

    --paper: #ffffff;
    --paper-warm: #fdfdf9;

    --surface: #f1f3ed;
    --surface-dark: #e7eae3;

    --line: #e1e5dc;
    --line-dark: #cfd6ca;

    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    color: var(--ink);
    background: var(--surface-dark);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;
}


/* =========================================================
   RESET
========================================================= */

.single-blog-page *,
.single-blog-page *::before,
.single-blog-page *::after {
    box-sizing: border-box;
}

.single-blog-page img {
    max-width: 100%;
    height: auto;
}

.single-blog-page a {
    color: inherit;
}


/* =========================================================
   HERO
   Tight premium editorial spacing
========================================================= */

.single-blog-hero {
    position: relative;

    width: 100%;

    margin: 0 !important;
    padding: 46px 0 42px !important;

    min-height: 0 !important;
    height: auto !important;

    background: var(--paper);

    overflow: hidden;
}


/* =========================================================
   HERO CONTAINER
========================================================= */
.single-blog-hero .container {
    position: relative;

    width: 100%;
    max-width: none;

    margin: 0 !important;
    padding: 0 0px !important;

    z-index: 2;
}



/* =========================================================
   HERO CONTENT
========================================================= */
.single-blog-hero-content {
    width: 100%;
    max-width: none;

    margin: 0 !important;
    padding: 0 !important;

    text-align: left;
}


/* =========================================================
   OPTIONAL CATEGORY
========================================================= */

.single-blog-category {
    display: flex;

    align-items: center;
    justify-content: flex-start;

    gap: 10px;

    width: fit-content;

    margin: 0 0 14px !important;
    padding: 0 !important;

    color: var(--forest);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;

    line-height: 1;

    text-transform: uppercase;
}

.single-blog-category::before {
    content: "";

    display: block;

    width: 26px;
    height: 1px;

    flex: 0 0 26px;

    background: var(--forest);

    opacity: .65;
}

.single-blog-category::after {
    display: none !important;
}


/* =========================================================
   MAIN BLOG TITLE
========================================================= */

.single-blog-title {
    display: block;

    width: max-content;
    max-width: none;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 46px !important;
    font-weight: 700;

    line-height: 1.08 !important;

    letter-spacing: -1.8px;

    text-align: left;

    white-space: nowrap;
    text-wrap: nowrap;

    overflow: visible;
}



/* =========================================================
   META / DATE
========================================================= */

.single-blog-meta {
    display: flex;

    align-items: center;
    justify-content: flex-start;

    flex-wrap: wrap;

    gap: 10px;

    margin: 14px 0 0 !important;
    padding: 0 !important;

    color: var(--muted);

    font-size: 10px !important;
    font-weight: 700;

    letter-spacing: 1.7px;

    line-height: 1.2;

    text-align: left;

    text-transform: uppercase;
}

.single-blog-date,
.single-blog-meta .single-blog-author {
    font-size: 10px !important;

    line-height: 1.2;
}

.single-blog-separator {
    color: var(--forest-light);

    opacity: .55;
}


/* =========================================================
   CONTENT SECTION
========================================================= */

.single-blog-content {
    width: 100%;

    margin: 0;

    padding: 34px 0 100px !important;

    background:
        linear-gradient(
            180deg,
            #eef1eb 0%,
            #e7eae4 100%
        );
}


/* =========================================================
   CONTENT CONTAINER
========================================================= */

.single-blog-content .container {
    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;

    padding: 0;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.single-blog-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 830px)
        270px;

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;

    background: var(--paper);

    border: 1px solid rgba(36, 55, 38, .08);

    border-radius: 10px;

    box-shadow:
        0 2px 5px rgba(25, 35, 25, .025),
        0 12px 30px rgba(25, 35, 25, .045),
        0 35px 85px rgba(25, 35, 25, .075);

    overflow: visible;
}


/* =========================================================
   ARTICLE
========================================================= */

.single-blog-article {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0 64px 76px;

    background: var(--paper);

    border-radius: 10px 0 0 10px;
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.single-blog-featured-image {
    position: relative;

    width: calc(100% + 128px);

    margin:
        0 0 48px
        -64px;

    overflow: hidden;

    background: #e5e9e1;

    border-radius: 10px 0 0 0;
}

.single-blog-featured-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 55%,
            rgba(25, 40, 25, .10) 100%
        );

    pointer-events: none;
}

.single-blog-image {
    display: block;

    width: 100%;
    height: 620px !important;

    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.2, .7, .2, 1);
}


/* =========================================================
   ARTICLE BODY
========================================================= */

.single-blog-body {
    width: 100%;
    max-width: 740px;

    margin: 0 auto;
    color: var(--ink-soft);

    font-size: 16px;

    line-height: 1.72;
    
}

.single-blog-body p {
    margin: 0 0 24px;
        font-size: 14px;

}

.single-blog-body p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FIRST PARAGRAPH
========================================================= */

.single-blog-body p:first-child {
    color: var(--ink-soft);

    font-size: 16px;

    line-height: 1.72;
}


/* =========================================================
   ARTICLE HEADINGS
========================================================= */

.single-blog-body h2,
.single-blog-body h3,
.single-blog-body h4 {
    color: var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -.6px;
}


/* =========================================================
   H2
========================================================= */

.single-blog-body h2 {
    margin: 52px 0 18px;

    font-size: 30px;
}

.single-blog-body h2:first-child {
    margin-top: 0;
}


/* =========================================================
   H3
========================================================= */

.single-blog-body h3 {
    margin: 42px 0 16px;

    font-size: 24px;

    line-height: 1.25;

    letter-spacing: -.5px;
}


/* =========================================================
   H4
========================================================= */

.single-blog-body h4 {
    margin: 34px 0 14px;

    font-size: 20px;

    line-height: 1.3;
}


/* =========================================================
   HEADING DECORATION
========================================================= */

.single-blog-body h2::after {
    content: "";

    display: block;

    width: 30px;
    height: 2px;

    margin-top: 12px;

    background: var(--forest);

    border-radius: 999px;

    opacity: .65;
}


/* =========================================================
   LINKS
========================================================= */

.single-blog-body a {
    color: var(--forest);

    text-decoration: underline;

    text-decoration-thickness: 1px;

    text-underline-offset: 4px;

    transition:
        color .2s ease,
        text-decoration-color .2s ease;
}

.single-blog-body a:hover {
    color: var(--forest-dark);

    text-decoration-color: var(--forest-dark);
}


/* =========================================================
   LISTS
========================================================= */

.single-blog-body ul,
.single-blog-body ol {
    margin: 0 0 26px;

    padding-left: 25px;
}

.single-blog-body li {
    margin-bottom: 8px;

    padding-left: 4px;
}


/* =========================================================
   BODY IMAGES
========================================================= */

.single-blog-body img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    margin: 40px auto;

    border-radius: 7px;

    box-shadow:
        0 12px 35px rgba(25, 35, 25, .09);
}


/* =========================================================
   BLOCKQUOTE
========================================================= */

.single-blog-body blockquote {
    position: relative;

    margin: 42px 0;

    padding: 28px 32px 28px 36px;

    color: #465047;

    background:
        linear-gradient(
            135deg,
            #f8faf6,
            #f0f4ed
        );

    border: 1px solid #dfe5dc;

    border-left: 3px solid var(--forest);

    border-radius: 5px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;

    line-height: 1.6;
}

.single-blog-body blockquote p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   TABLES
========================================================= */

.single-blog-body table {
    width: 100%;

    margin: 34px 0;

    border-collapse: separate;

    border-spacing: 0;

    overflow: hidden;

    border: 1px solid var(--line);

    border-radius: 6px;

    font-size: 15px;
}

.single-blog-body th,
.single-blog-body td {
    padding: 13px 15px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.single-blog-body th:last-child,
.single-blog-body td:last-child {
    border-right: 0;
}

.single-blog-body tr:last-child td {
    border-bottom: 0;
}

.single-blog-body th {
    color: var(--ink);

    background: var(--surface);

    font-weight: 700;
}


/* =========================================================
   AUTHOR BOX
========================================================= */

.single-blog-article > .single-blog-author {
    display: flex;

    align-items: center;

    gap: 16px;

    max-width: 740px;

    margin: 60px auto 0;

    padding: 24px 0 0;

    border-top: 1px solid var(--line-dark);
}

.single-author-avatar {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    overflow: hidden;

    background: #e6eae2;

    border: 1px solid #d9dfd4;

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(70, 107, 56, .045);
}

.single-author-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.single-author-info {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.single-author-name {
    color: var(--ink);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.single-author-role {
    color: var(--muted);

    font-size: 11px;

    line-height: 1.4;
}


/* =========================================================
   TAGS
========================================================= */

.single-blog-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    max-width: 740px;

    margin: 20px auto 0;
}

.single-blog-tags a {
    display: inline-flex;

    align-items: center;

    padding: 7px 12px;

    color: var(--forest);

    background: var(--forest-soft);

    border: 1px solid #d5dfd1;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.single-blog-tags a:hover {
    color: #fff;

    background: var(--forest);

    border-color: var(--forest);

    transform: translateY(-2px);
}


/* =========================================================
   SIDEBAR
========================================================= */

.single-blog-sidebar {
    position: sticky;

    top: 105px;

    align-self: start;

    width: 100%;
    min-width: 0;

    margin: 0;

    padding: 31px 27px 40px;

    background:
        linear-gradient(
            180deg,
            #fafbf7 0%,
            #f3f5ef 100%
        );

    border-left: 1px solid var(--line);

    border-radius: 0 10px 10px 0;

    z-index: 10;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.single-blog-back {
    display: flex;

    align-items: center;

    gap: 9px;

    width: 100%;

    margin: 0 0 30px;

    padding: 0 0 18px;

    color: var(--forest);

    border-bottom: 1px solid var(--line);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.6px;

    line-height: 1;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        color .2s ease,
        gap .2s ease;
}

.single-blog-back::before {
    content: none !important;
}

.single-blog-back-arrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    font-size: 15px;

    line-height: 1;

    transition: transform .25s ease;
}

.single-blog-back:hover {
    gap: 12px;

    color: var(--forest-dark);
}

.single-blog-back:hover .single-blog-back-arrow {
    transform: translateX(-3px);
}


/* =========================================================
   SIDEBAR NAVIGATION
========================================================= */

.single-blog-navigation {
    display: block !important;

    width: 100%;

    margin: 0;
    padding: 0;

    border: 0 !important;
}


/* =========================================================
   EXPLORE ARTICLES LABEL
========================================================= */

.single-nav-label {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    margin: 0 0 24px;

    padding: 6px 0;

    color: var(--ink);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -.35px;

    text-align: center;
}

.single-nav-label::before,
.single-nav-label::after {
    content: "";

    flex: 1;

    height: 1px;

    background: var(--line-dark);
}

.single-nav-label::before {
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--line-dark)
        );
}

.single-nav-label::after {
    background:
        linear-gradient(
            90deg,
            var(--line-dark),
            transparent
        );
}


/* =========================================================
   NAV ITEMS
========================================================= */

.single-nav-item {
    position: relative;

    display: block !important;

    width: 100%;

    margin: 0;

    padding: 0 18px 19px 0;

    border-bottom: 1px solid var(--line);

    text-decoration: none;

    transition:
        padding-left .25s ease,
        border-color .25s ease;
}

.single-nav-item + .single-nav-item {
    padding-top: 19px;
}

.single-nav-item:last-child {
    border-bottom: 0;
}


/* =========================================================
   NAV DIRECTION
========================================================= */

.single-nav-direction {
    display: block;

    margin: 0 0 8px;

    color: var(--forest-light);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;

    line-height: 1;

    text-transform: uppercase;
}


/* =========================================================
   NAV ARROW
========================================================= */

.single-nav-arrow {
    position: absolute;

    top: 1px;
    right: 0;

    color: var(--forest);

    font-size: 13px;

    line-height: 1;

    opacity: .45;

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* =========================================================
   NAV TITLE
========================================================= */

.single-nav-title {
    display: block;

    width: 100%;

    color: #3b433c;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.48;

    transition: color .2s ease;
}

.single-nav-item:hover {
    padding-left: 5px;

    border-color: var(--line-dark);
}

.single-nav-item:hover .single-nav-title {
    color: var(--forest);
}

.single-nav-item:hover .single-nav-arrow {
    opacity: 1;

    transform: translateX(3px);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.single-blog-page a:focus {
    outline: none !important;

    box-shadow: none !important;
}

.single-blog-page a:focus-visible {
    outline: 2px solid var(--forest) !important;

    outline-offset: 4px !important;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .single-blog-hero {
        padding: 46px 0 42px !important;
    }

    .single-blog-content {
        padding-top: 34px !important;
    }

    .single-blog-layout {
        grid-template-columns:
            minmax(0, 830px)
            270px;
    }

    .single-blog-title {
        font-size: 46px !important;
        line-height: 1.08 !important;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .single-blog-hero {
        padding: 42px 0 38px !important;
    }

    .single-blog-title {
        font-size: 43px !important;

        line-height: 1.08 !important;

        letter-spacing: -1.5px;
    }

    .single-blog-content {
        padding-top: 30px !important;
    }
}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 991px) {

    .single-blog-hero {
        padding: 40px 0 36px !important;
    }

    .single-blog-hero .container,
    .single-blog-content .container {
        width: calc(100% - 40px);

        max-width: 820px;
    }

    .single-blog-title {
        font-size: 40px !important;

        line-height: 1.08 !important;

        letter-spacing: -1.3px;
    }

    .single-blog-meta {
        margin-top: 13px !important;
    }

    .single-blog-content {
        padding: 28px 0 75px !important;
    }

    .single-blog-layout {
        display: block;

        max-width: 820px;
    }

    .single-blog-article {
        padding: 0 48px 60px;

        border-radius: 10px 10px 0 0;
    }

    .single-blog-featured-image {
        width: calc(100% + 96px);

        margin-left: -48px;

        border-radius: 10px 10px 0 0;
    }

    .single-blog-body {
        max-width: 720px;
    }

    .single-blog-sidebar {
        position: static;

        padding: 38px 45px 45px;

        border-top: 1px solid var(--line);

        border-left: 0;

        border-radius: 0 0 10px 10px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .single-blog-hero {
        padding: 32px 0 30px !important;
    }

    .single-blog-hero .container,
    .single-blog-content .container {
        width: calc(100% - 32px);

        max-width: none;

        padding: 0;
    }

    .single-blog-category {
        margin-bottom: 12px !important;

        font-size: 8px;

        letter-spacing: 1.7px;
    }

    .single-blog-category::before {
        width: 20px;

        flex-basis: 20px;
    }

    .single-blog-title {
        font-size: 34px !important;

        line-height: 1.08 !important;

        letter-spacing: -.8px;
    }

    .single-blog-meta {
        gap: 8px;

        margin-top: 12px !important;

        font-size: 9px !important;

        letter-spacing: 1px;
    }

    .single-blog-date,
    .single-blog-meta .single-blog-author {
        font-size: 9px !important;
    }

    .single-blog-content {
        padding: 20px 0 60px !important;
    }

    .single-blog-layout {
        border-radius: 8px;
    }

    .single-blog-article {
        padding: 0 25px 46px;

        border-radius: 8px 8px 0 0;
    }

    .single-blog-featured-image {
        width: calc(100% + 50px);

        margin-left: -25px;

        margin-bottom: 36px;

        border-radius: 8px 8px 0 0;
    }

    .single-blog-image {
        height: 430px !important;
    }

    .single-blog-body {
        font-size: 15.5px;

        line-height: 1.82;
    }

    .single-blog-body p {
        margin-bottom: 22px;
    }

    .single-blog-body p:first-child {
        font-size: 17px;

        line-height: 1.72;
    }

    .single-blog-body h2 {
        margin-top: 45px;

        font-size: 27px;

        line-height: 1.2;
    }

    .single-blog-body h3 {
        margin-top: 36px;

        font-size: 23px;
    }

    .single-blog-body h4 {
        margin-top: 30px;

        font-size: 20px;
    }

    .single-blog-body blockquote {
        margin: 36px 0;

        padding: 24px;

        font-size: 18px;
    }

    .single-blog-sidebar {
        padding: 32px 25px 38px;
    }

    .single-nav-label {
        font-size: 18px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .single-blog-hero {
        padding: 27px 0 26px !important;
    }

    .single-blog-hero .container,
    .single-blog-content .container {
        width: calc(100% - 24px);
    }

    .single-blog-category {
        margin-bottom: 11px !important;

        font-size: 7.5px;

        letter-spacing: 1.5px;
    }

    .single-blog-category::before {
        width: 18px;

        flex-basis: 18px;
    }

    .single-blog-title {
        font-size: 30px !important;

        line-height: 1.1 !important;

        letter-spacing: -.55px;
    }

    .single-blog-meta {
        gap: 7px;

        margin-top: 11px !important;

        font-size: 8.5px !important;
    }

    .single-blog-date,
    .single-blog-meta .single-blog-author {
        font-size: 8.5px !important;
    }

    .single-blog-content {
        padding-top: 16px !important;
    }

    .single-blog-article {
        padding: 0 21px 40px;
    }

    .single-blog-featured-image {
        width: calc(100% + 42px);

        margin-left: -21px;

        margin-bottom: 32px;
    }

    .single-blog-image {
        height: 360px !important;
    }

    .single-blog-body {
        font-size: 14.5px;

        line-height: 1.8;
    }

    .single-blog-body p:first-child {
        font-size: 15.5px;

        line-height: 1.7;
    }

    .single-blog-body h2 {
        margin-top: 40px;

        font-size: 25px;
    }

    .single-blog-body h3 {
        margin-top: 34px;

        font-size: 21px;
    }

    .single-blog-body h4 {
        margin-top: 28px;

        font-size: 19px;
    }

    .single-blog-sidebar {
        padding: 28px 21px 32px;
    }

    .single-nav-title {
        font-size: 13.5px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .single-blog-hero {
        padding: 24px 0 23px !important;
    }

    .single-blog-title {
        font-size: 28px !important;

        line-height: 1.1 !important;

        letter-spacing: -.45px;
    }

    .single-blog-meta {
        font-size: 8px !important;

        letter-spacing: .8px;
    }

    .single-blog-date,
    .single-blog-meta .single-blog-author {
        font-size: 8px !important;
    }

    .single-blog-content {
        padding-top: 14px !important;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .single-blog-page *,
    .single-blog-page *::before,
    .single-blog-page *::after {
        transition: none !important;

        animation: none !important;
    }
}
