.kg-single-page {
    --kg-brown: #7a5648;
    --kg-brown-dark: #2b211d;
    --kg-green: #6aa84f;
    --kg-green-dark: #426b32;
    --kg-cream: #f7f1e8;
    --kg-ink: #171514;
    --kg-muted: #706a64;
    --kg-card: #fff;
    --kg-border: #e9e2d8;
    background: #fbf8f3;
    color: var(--kg-ink);
    overflow: hidden
}

.kg-single-page * {
    box-sizing: border-box
}

.kg-single-page .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px
}

.kg-single-progress {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    z-index: 10000;
    background: transparent
}

.kg-single-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--kg-green), #d7a77b, var(--kg-brown));
    box-shadow: 0 0 18px rgba(106, 168, 79, .35)
}

.kg-single-hero {
    position: relative;
    padding: 30px 0 64px;
    background: radial-gradient(circle at 14% 12%, rgba(106, 168, 79, .12), transparent 30%), radial-gradient(circle at 84% 10%, rgba(122, 86, 72, .12), transparent 32%), linear-gradient(135deg, #fff 0%, #fbf8f3 52%, #f2eadf 100%);
    border-bottom: 1px solid var(--kg-border)
}

.kg-single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 42px;
    color: #8b8178;
    font-size: 14px
}

.kg-single-breadcrumb a {
    color: #6f665e;
    text-decoration: none;
    font-weight: 700;
    transition: color .25s ease
}

.kg-single-breadcrumb a:hover {
    color: var(--kg-green-dark)
}

.kg-single-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 420px;
    gap: 34px;
    align-items: stretch
}

.kg-single-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: #81766d;
    font-size: 13px;
    font-weight: 750
}

.kg-single-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef7e9;
    border: 1px solid #dcecd5;
    color: var(--kg-green);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none
}

.kg-single-hero h1 {
    max-width: 820px;
    margin: 20px 0 18px;
    font-size: clamp(36px, 5.8vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 900;
    color: #171514
}

.kg-single-lead {
    max-width: 720px;
    margin: 0;
    color: var(--kg-muted);
    font-size: 18px;
    line-height: 1.75
}

.kg-single-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px
}

.kg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 850;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease
}

.kg-btn:hover {
    transform: translateY(-3px)
}

.kg-btn--primary {
    color: #13200f;
    background: linear-gradient(135deg, #bce5a5 0%, #6aa84f 100%);
    box-shadow: 0 18px 42px rgba(106, 168, 79, .24)
}

.kg-btn--primary:hover {
    color: #13200f;
    box-shadow: 0 24px 60px rgba(106, 168, 79, .32)
}

.kg-btn--ghost {
    color: #2b211d;
    background: #fff;
    border: 1px solid var(--kg-border);
    box-shadow: 0 12px 34px rgba(35, 28, 22, .06)
}

.kg-btn--ghost:hover {
    color: var(--kg-green-dark);
    border-color: #dcecd5
}

.kg-btn--ghost-dark {
    color: #fff;
    background: linear-gradient(135deg, #7a5648, #65463a);
    box-shadow: 0 16px 38px rgba(122, 86, 72, .16);
}

.kg-single-hero__card {
    position: relative;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(145deg, #1b1512, #2b211d);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 80px rgba(35, 28, 22, .18);
    overflow: hidden
}

.kg-single-hero__card:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--kg-green), #e0b171, var(--kg-brown));
    opacity: .95
}

.kg-single-card-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 800
}

.kg-single-card-status i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #82d366;
    box-shadow: 0 0 0 8px rgba(130, 211, 102, .12)
}

.kg-single-hero__card h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: #fff
}

.kg-single-hero__card p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.7
}

.kg-single-phone {
    display: inline-flex;
    color: #bce5a5;
    font-size: 25px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -.025em
}

.kg-single-phone:hover {
    color: #fff
}

.kg-single-cover {
    position: relative;
    margin-top: -34px;
    padding-bottom: 28px
}

.kg-single-cover__card {
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid var(--kg-border);
    background: #ece4d8;
    box-shadow: 0 24px 80px rgba(35, 28, 22, .1)
}

.kg-single-cover__image {
    display: block;
    width: 100%;
    height: min(520px, 48vw);
    min-height: 320px;
    object-fit: cover
}

.kg-single-body {
    padding: 22px 0 70px
}

.kg-single-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 26px;
    align-items: start
}

.kg-single-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 16px
}

.kg-single-sidebar__card {
    padding: 24px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--kg-border);
    box-shadow: 0 18px 55px rgba(35, 28, 22, .065)
}

.kg-single-sidebar__card h2 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -.035em
}

.kg-single-toc {
    display: grid;
    gap: 8px
}

.kg-single-toc a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: #625950;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 750;
    transition: background .25s ease, color .25s ease, transform .25s ease
}

.kg-single-toc a:hover,
.kg-single-toc a.is-active {
    background: #eef7e9;
    color: var(--kg-green-dark);
    transform: translateX(3px)
}

.kg-single-sidebar__card--dark {
    background: radial-gradient(circle at 100% 0, rgba(106, 168, 79, .18), transparent 34%), linear-gradient(145deg, #181311, #2b211d);
    color: #fff;
    border-color: rgba(255, 255, 255, .12)
}

.kg-single-sidebar__card--dark span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #9fda83;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase
}

.kg-single-sidebar__card--dark p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    line-height: 1.65
}

.kg-single-sidebar__card--dark a {
    color: #bce5a5;
    text-decoration: none;
    font-weight: 900
}

.kg-single-article {
    min-width: 0
}

.kg-single-article__inner {
    padding: 42px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid var(--kg-border);
    box-shadow: 0 24px 80px rgba(35, 28, 22, .075)
}

.kg-single-article__inner>:first-child {
    margin-top: 0
}

.kg-single-article__inner h2,
.kg-single-article__inner h3,
.kg-single-article__inner h4 {
    color: #171514;
    letter-spacing: -.035em
}

.kg-single-article__inner h2 {
    margin: 42px 0 16px;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.05
}

.kg-single-article__inner h3 {
    margin: 32px 0 12px;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.12
}

.kg-single-article__inner p,
.kg-single-article__inner li {
    color: #4f4943;
    font-size: 17px;
    line-height: 1.82
}

.kg-single-article__inner p {
    margin: 0 0 20px
}

.kg-single-article__inner a {
    color: var(--kg-green-dark);
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px
}

.kg-single-article__inner img {
    max-width: 100%;
    height: auto;
    border-radius: 24px
}

.kg-single-article__inner blockquote {
    margin: 34px 0;
    padding: 26px;
    border-left: 4px solid var(--kg-green);
    border-radius: 24px;
    background: #f3faef;
    color: #2d2a25
}

.kg-single-article__inner ul,
.kg-single-article__inner ol {
    padding-left: 22px
}

.kg-single-article__inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    border-radius: 18px;
    overflow: hidden
}

.kg-single-article__inner th,
.kg-single-article__inner td {
    padding: 14px;
    border: 1px solid var(--kg-border);
    text-align: left
}

.kg-single-article__inner th {
    background: #f8f3ec
}

.kg-single-pagination {
    margin-top: 24px
}

.kg-single-article-footer {
    display: grid;
    gap: 18px;
    margin-top: 18px;
    padding: 24px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--kg-border);
    box-shadow: 0 18px 55px rgba(35, 28, 22, .055)
}

.kg-single-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px
}

.kg-single-share span {
    color: #6b625a;
    font-weight: 850;
    margin-right: 4px
}

.kg-single-share a,
.kg-single-share button,
.kg-single-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #e7ded3;
    background: #fbf8f3;
    color: #3c342f;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease
}

.kg-single-share a:hover,
.kg-single-share button:hover,
.kg-single-tags a:hover {
    transform: translateY(-2px);
    border-color: #dcecd5;
    background: #eef7e9;
    color: var(--kg-green-dark)
}

.kg-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.kg-single-section-head {
    max-width: 760px;
    margin-bottom: 24px
}

.kg-single-section-head h2,
.kg-single-cta h2 {
    margin: 14px 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -.045em
}

.kg-single-section-head p,
.kg-single-cta p {
    margin: 0;
    color: var(--kg-muted);
    font-size: 16px;
    line-height: 1.7
}

.kg-single-related {
    padding: 0 0 76px
}

.kg-single-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.kg-single-related-card {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--kg-border);
    box-shadow: 0 20px 65px rgba(35, 28, 22, .075);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease
}

.kg-single-related-card:hover {
    transform: translateY(-6px);
    border-color: rgba(106, 168, 79, .36);
    box-shadow: 0 30px 85px rgba(35, 28, 22, .12)
}

.kg-single-related-card__image {
    display: block;
    aspect-ratio: 1.45/1;
    background: #ece4d8;
    overflow: hidden
}

.kg-single-related-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.kg-single-related-card:hover img {
    transform: scale(1.04)
}

.kg-single-related-card__body {
    padding: 22px
}

.kg-single-related-card__body span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--kg-green);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase
}

.kg-single-related-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: -.035em
}

.kg-single-related-card h3 a {
    color: #171514;
    text-decoration: none
}

.kg-single-related-card h3 a:hover {
    color: var(--kg-green-dark)
}

.kg-single-related-card p {
    margin: 0;
    color: var(--kg-muted);
    font-size: 14px;
    line-height: 1.65
}

.kg-single-cta {
    padding: 0 0 82px
}

.kg-single-cta__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: 34px;
    background: radial-gradient(circle at 100% 0, rgba(106, 168, 79, .14), transparent 32%), linear-gradient(145deg, #fff, #f8f3ec);
    border: 1px solid var(--kg-border);
    box-shadow: 0 24px 80px rgba(35, 28, 22, .08)
}

.kg-single-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end
}

.kg-single-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .58s ease, transform .58s ease
}

.kg-single-visible {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width:1100px) {

    .kg-single-hero__grid,
    .kg-single-layout {
        grid-template-columns: 1fr
    }

    .kg-single-hero__card {
        max-width: 560px
    }

    .kg-single-sidebar {
        position: static;
        grid-template-columns: 1fr 1fr
    }

    .kg-single-related__grid {
        grid-template-columns: 1fr 1fr
    }

    .kg-single-cta__card {
        grid-template-columns: 1fr
    }

    .kg-single-cta__actions {
        justify-content: flex-start
    }
}

@media(max-width:767px) {
    .kg-single-page .container {
        padding: 0 16px
    }

    .kg-single-hero {
        padding: 24px 0 52px
    }

    .kg-single-breadcrumb {
        margin-bottom: 28px;
        font-size: 13px
    }

    .kg-single-hero h1 {
        font-size: clamp(34px, 10vw, 48px)
    }

    .kg-single-lead {
        font-size: 15px
    }

    .kg-single-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px
    }

    .kg-single-hero__card {
        padding: 22px;
        border-radius: 24px
    }

    .kg-single-hero__card h2 {
        font-size: 24px
    }

    .kg-single-phone {
        font-size: 22px
    }

    .kg-single-cover {
        margin-top: -26px
    }

    .kg-single-cover__card {
        border-radius: 26px
    }

    .kg-single-cover__image {
        height: auto;
        min-height: 240px;
        aspect-ratio: 1.15/1
    }

    .kg-single-body {
        padding-bottom: 54px
    }

    .kg-single-sidebar {
        grid-template-columns: 1fr
    }

    .kg-single-sidebar__card {
        padding: 22px;
        border-radius: 24px
    }

    .kg-single-article__inner {
        padding: 24px;
        border-radius: 26px
    }

    .kg-single-article__inner p,
    .kg-single-article__inner li {
        font-size: 16px
    }

    .kg-single-article-footer {
        padding: 20px;
        border-radius: 24px
    }

    .kg-single-related {
        padding-bottom: 58px
    }

    .kg-single-related__grid {
        grid-template-columns: 1fr
    }

    .kg-single-cta {
        padding-bottom: 58px
    }

    .kg-single-cta__card {
        padding: 24px;
        border-radius: 26px
    }

    .kg-single-cta__actions {
        display: grid;
        grid-template-columns: 1fr
    }
}

@media(prefers-reduced-motion:reduce) {
    .kg-single-page * {
        transition: none !important;
        animation: none !important
    }
}