:root{
    --kg-blog-brown:#7a5648;
    --kg-blog-brown-dark:#2b211d;
    --kg-blog-green:#6aa84f;
    --kg-blog-green-dark:#426b32;
    --kg-blog-cream:#f7f1e8;
    --kg-blog-bg:#fbf8f3;
    --kg-blog-ink:#171514;
    --kg-blog-muted:#706a64;
    --kg-blog-card:#fff;
    --kg-blog-border:#e9e2d8;
}

.kg-blog-page,
.kg-blog-page *{
    box-sizing:border-box;
}

.kg-blog-page{
    background:var(--kg-blog-bg);
    color:var(--kg-blog-ink);
    overflow:hidden;
}

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

.kg-blog-hero{
    position:relative;
    padding:34px 0 70px;
    background:
        radial-gradient(circle at 16% 20%,rgba(122,86,72,.16),transparent 30%),
        radial-gradient(circle at 84% 0,rgba(106,168,79,.18),transparent 34%),
        linear-gradient(135deg,#15110f 0%,#241b17 48%,#10130f 100%);
    color:#fff;
    isolation:isolate;
}

.kg-blog-hero__glow{
    position:absolute;
    width:420px;
    height:420px;
    border-radius:999px;
    filter:blur(80px);
    opacity:.22;
    z-index:-1;
    pointer-events:none;
}

.kg-blog-hero__glow--brown{
    left:-120px;
    top:80px;
    background:#c59665;
}

.kg-blog-hero__glow--green{
    right:-120px;
    bottom:20px;
    background:var(--kg-blog-green);
}

.kg-blog-breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:46px;
    color:rgba(255,255,255,.55);
    font-size:14px;
}

.kg-blog-breadcrumb a{
    color:rgba(255,255,255,.72);
    text-decoration:none;
    transition:color .25s ease;
}

.kg-blog-breadcrumb a:hover{
    color:#fff;
}

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

.kg-blog-eyebrow,
.kg-blog-card__label{
    display:inline-flex;
    align-items:center;
    width:fit-content;
    min-height:32px;
    padding:0 14px;
    border-radius:999px;
    background:rgba(106,168,79,.13);
    border:1px solid rgba(106,168,79,.28);
    color:#477334;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
    text-decoration:none;
}

.kg-blog-hero .kg-blog-eyebrow{
    color:#9fda83;
}

.kg-blog-hero h1{
    max-width:760px;
    margin:20px 0 18px;
    font-size:clamp(38px,6vw,78px);
    line-height:.96;
    letter-spacing:-.055em;
    font-weight:900;
}

.kg-blog-hero p{
    max-width:650px;
    margin:0;
    color:rgba(255,255,255,.72);
    font-size:18px;
    line-height:1.7;
}

.kg-blog-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;
}

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

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

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

.kg-btn--ghost{
    color:#fff;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.16);
    backdrop-filter:blur(16px);
}

.kg-btn--ghost:hover{
    color:#fff;
    background:rgba(255,255,255,.13);
}

.kg-blog-hero__card{
    position:relative;
    padding:28px;
    border-radius:30px;
    background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.055));
    border:1px solid rgba(255,255,255,.15);
    box-shadow:0 30px 80px rgba(0,0,0,.28);
    backdrop-filter:blur(20px);
    overflow:hidden;
}

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

.kg-blog-hero__status{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-bottom:24px;
    color:rgba(255,255,255,.78);
    font-size:13px;
    font-weight:750;
}

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

.kg-blog-hero__card h2{
    margin:0 0 14px;
    color:#fff;
    font-size:30px;
    line-height:1.08;
    letter-spacing:-.035em;
    font-weight:900;
}

.kg-blog-hero__card p{
    color:rgba(255,255,255,.72);
    font-size:15px;
}

.kg-blog-hero__stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:24px;
}

.kg-blog-hero__stats div{
    padding:16px;
    border-radius:20px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
}

.kg-blog-hero__stats strong{
    display:block;
    color:#bce5a5;
    font-size:24px;
    line-height:1;
    font-weight:950;
}

.kg-blog-hero__stats span{
    display:block;
    margin-top:6px;
    color:rgba(255,255,255,.68);
    font-size:13px;
}

.kg-blog-categories{
    position:relative;
    margin-top:-38px;
    padding-bottom:34px;
    z-index:2;
}

.kg-blog-categories__inner{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:14px;
    border-radius:28px;
    background:#fff;
    border:1px solid var(--kg-blog-border);
    box-shadow:0 24px 70px rgba(35,28,22,.08);
    scrollbar-width:none;
}

.kg-blog-categories__inner::-webkit-scrollbar{
    display:none;
}

.kg-blog-category-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-height:42px;
    padding:0 18px;
    border-radius:999px;
    color:#362c27;
    background:#fbf8f3;
    border:1px solid #eee7dc;
    text-decoration:none;
    font-size:14px;
    font-weight:800;
    transition:transform .25s ease,background .25s ease,color .25s ease,border-color .25s ease;
}

.kg-blog-category-pill:hover,
.kg-blog-category-pill.is-active{
    transform:translateY(-2px);
    background:#eef7e9;
    color:var(--kg-blog-green-dark);
    border-color:#dcecd5;
}

.kg-blog-layout-section{
    padding:6px 0 88px;
}

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

.kg-blog-main{
    min-width:0;
}

.kg-blog-featured{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(0,1fr);
    gap:0;
    margin-bottom:24px;
    border-radius:34px;
    background:#fff;
    border:1px solid var(--kg-blog-border);
    box-shadow:0 24px 80px rgba(35,28,22,.08);
    overflow:hidden;
    transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}

.kg-blog-featured:hover{
    transform:translateY(-6px);
    border-color:rgba(106,168,79,.36);
    box-shadow:0 32px 90px rgba(35,28,22,.12);
}

.kg-blog-featured__image{
    display:block;
    min-height:360px;
    background:#ece4d8;
    overflow:hidden;
}

.kg-blog-featured__img{
    display:block;
    width:100%;
    height:100%;
    min-height:360px;
    object-fit:cover;
    transition:transform .5s ease;
}

.kg-blog-featured:hover .kg-blog-featured__img{
    transform:scale(1.04);
}

.kg-blog-featured__content{
    padding:34px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.kg-blog-featured h2,
.kg-blog-card h2,
.kg-blog-sidebar-card h2,
.kg-blog-empty h2{
    margin:16px 0 12px;
    color:var(--kg-blog-ink);
    font-size:clamp(24px,3vw,42px);
    line-height:1.04;
    letter-spacing:-.045em;
    font-weight:880;
}

.kg-blog-card h2{
    font-size:22px;
    line-height:1.14;
}

.kg-blog-featured h2 a,
.kg-blog-card h2 a{
    color:inherit;
    text-decoration:none;
}

.kg-blog-featured h2 a:hover,
.kg-blog-card h2 a:hover{
    color:var(--kg-blog-green-dark);
}

.kg-blog-featured p,
.kg-blog-card p,
.kg-blog-sidebar-card p,
.kg-blog-empty p{
    margin:0;
    color:var(--kg-blog-muted);
    font-size:15px;
    line-height:1.7;
}

.kg-blog-card__meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    margin-top:18px;
    color:#8a8178;
    font-size:13px;
    font-weight:700;
}

.kg-blog-link{
    display:inline-flex;
    width:fit-content;
    margin-top:22px;
    color:var(--kg-blog-brown);
    text-decoration:none;
    font-weight:850;
    transition:color .25s ease,transform .25s ease;
}

.kg-blog-link:hover{
    color:var(--kg-blog-green-dark);
    transform:translateX(4px);
}

.kg-blog-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.kg-blog-card,
.kg-blog-sidebar-card,
.kg-blog-empty{
    position:relative;
    border-radius:30px;
    background:#fff;
    border:1px solid var(--kg-blog-border);
    box-shadow:0 24px 70px rgba(35,28,22,.07);
    overflow:hidden;
    transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}

.kg-blog-card:hover,
.kg-blog-sidebar-card:hover{
    transform:translateY(-6px);
    border-color:rgba(106,168,79,.36);
    box-shadow:0 32px 85px rgba(35,28,22,.11);
}

.kg-blog-card__media{
    display:block;
    aspect-ratio:16/10;
    background:#ece4d8;
    overflow:hidden;
}

.kg-blog-card__image{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s ease;
}

.kg-blog-card:hover .kg-blog-card__image{
    transform:scale(1.04);
}

.kg-blog-card__body{
    padding:24px;
}

.kg-blog-card__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-top:20px;
}

.kg-blog-card__arrow{
    flex:0 0 auto;
    width:46px;
    height:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    color:#fff;
    background:linear-gradient(135deg,var(--kg-blog-green),var(--kg-blog-green-dark));
    box-shadow:0 14px 30px rgba(106,168,79,.22);
    transition:transform .25s ease,box-shadow .25s ease;
}

.kg-blog-card__arrow:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 42px rgba(106,168,79,.3);
}

.kg-blog-card__arrow svg{
    width:22px;
    height:22px;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.kg-blog-sidebar{
    display:grid;
    gap:18px;
    position:sticky;
    top:96px;
}

.kg-blog-sidebar-card{
    padding:28px;
}

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

.kg-blog-sidebar-card--dark h2{
    color:#fff;
}

.kg-blog-sidebar-card--dark p{
    color:rgba(255,255,255,.72);
}

.kg-blog-latest{
    display:grid;
    gap:12px;
    margin-top:18px;
}

.kg-blog-latest__item{
    display:grid;
    gap:5px;
    padding:14px 0;
    border-bottom:1px solid #eee7dc;
    text-decoration:none;
}

.kg-blog-latest__item:last-child{
    border-bottom:0;
    padding-bottom:0;
}

.kg-blog-latest__item span{
    color:var(--kg-blog-green);
    font-size:12px;
    font-weight:850;
}

.kg-blog-latest__item strong{
    color:#2f2823;
    font-size:15px;
    line-height:1.35;
    font-weight:850;
    transition:color .25s ease;
}

.kg-blog-latest__item:hover strong{
    color:var(--kg-blog-green-dark);
}

.kg-blog-pagination{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:34px;
}

.kg-blog-pagination .page-numbers{
    min-width:44px;
    height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border-radius:14px;
    color:#332b26;
    background:#fff;
    border:1px solid var(--kg-blog-border);
    text-decoration:none;
    font-weight:850;
    transition:transform .25s ease,background .25s ease,color .25s ease,border-color .25s ease;
}

.kg-blog-pagination .page-numbers:hover,
.kg-blog-pagination .page-numbers.current{
    transform:translateY(-2px);
    color:#13200f;
    background:#eef7e9;
    border-color:#dcecd5;
}

.kg-blog-empty{
    padding:34px;
}

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

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

@media(max-width:1100px){
    .kg-blog-hero__grid,
    .kg-blog-layout,
    .kg-blog-featured{
        grid-template-columns:1fr;
    }

    .kg-blog-hero__card{
        max-width:560px;
    }

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

    .kg-blog-sidebar-card--dark{
        grid-column:1 / -1;
    }
}

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

    .kg-blog-hero{
        padding:24px 0 58px;
    }

    .kg-blog-breadcrumb{
        margin-bottom:30px;
        font-size:13px;
    }

    .kg-blog-hero p{
        font-size:15px;
    }

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

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

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

    .kg-blog-categories{
        margin-top:-26px;
    }

    .kg-blog-categories__inner{
        border-radius:22px;
        padding:10px;
    }

    .kg-blog-grid,
    .kg-blog-sidebar{
        grid-template-columns:1fr;
    }

    .kg-blog-featured{
        border-radius:26px;
    }

    .kg-blog-featured__image,
    .kg-blog-featured__img{
        min-height:240px;
    }

    .kg-blog-featured__content,
    .kg-blog-card__body,
    .kg-blog-sidebar-card,
    .kg-blog-empty{
        padding:22px;
    }

    .kg-blog-card,
    .kg-blog-sidebar-card,
    .kg-blog-empty{
        border-radius:24px;
    }

    .kg-blog-layout-section{
        padding-bottom:58px;
    }
}

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