@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#ffffff;
    color:#242424;
    font-family:'Inter',sans-serif;
    line-height:1.7;
}

/*
|--------------------------------------------------------------------------
| TOPBAR
|--------------------------------------------------------------------------
*/

.topbar{
    width:100%;
    height:72px;
    border-bottom:1px solid #f0f0f0;
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
}

.topbar-inner{
    width:100%;
    max-width:1100px;
    height:100%;
    margin:auto;
    display:flex;
    align-items:center;
    padding:0 20px;
}

.logo{
    font-size:30px;
    font-weight:700;
    text-decoration:none;
    color:#111;
    font-family:Georgia,serif;
}

/*
|--------------------------------------------------------------------------
| HOME
|--------------------------------------------------------------------------
*/

.container{
    width:100%;
    max-width:760px;
    margin:auto;
    padding:50px 20px;
}

.hero{
    margin-bottom:60px;
}

.hero h1{
    font-size:58px;
    line-height:1.1;
    margin-bottom:20px;
    font-family:Georgia,serif;
    font-weight:700;
}

.hero p{
    font-size:21px;
    color:#6b6b6b;
}

.article-list{
    display:flex;
    flex-direction:column;
    gap:35px;
}

.article-card{
    text-decoration:none;
    color:inherit;
    border-bottom:1px solid #f0f0f0;
    padding-bottom:35px;
    transition:0.2s;
}

.article-card:hover{
    opacity:0.8;
}

.article-card h2{
    font-size:34px;
    line-height:1.2;
    margin-bottom:15px;
    font-family:Georgia,serif;
}

.article-card p{
    color:#6b6b6b;
    font-size:19px;
}

.read-more{
    margin-top:18px;
    color:#1a8917;
    font-weight:600;
}

/*
|--------------------------------------------------------------------------
| ARTICLE
|--------------------------------------------------------------------------
*/

.reader-container{
    width:100%;
    display:flex;
    justify-content:center;
    padding:50px 20px;
}

.reader{
    width:100%;
    max-width:740px;
}

.article-title{
    font-size:62px;
    line-height:1.1;
    margin-bottom:45px;
    font-family:Georgia,serif;
    font-weight:700;
}

.article-body{
    font-size:22px;
    line-height:1.95;
    font-family:Georgia,serif;
    color:#242424;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4{
    margin-top:45px;
    margin-bottom:20px;
    line-height:1.3;
}

.article-body p{
    margin-bottom:28px;
}

.article-body img{
    width:100%;
    border-radius:10px;
    margin:30px 0;
}

.article-body ul,
.article-body ol{
    margin-left:30px;
    margin-bottom:30px;
}

.article-body blockquote{
    border-left:4px solid #111;
    padding-left:20px;
    margin:30px 0;
    color:#555;
    font-style:italic;
}

.article-body a{
    color:#1a8917;
}

.article-body pre{
    background:#f7f7f7;
    padding:20px;
    overflow:auto;
    border-radius:10px;
    margin:30px 0;
    font-size:16px;
}

.article-body code{
    font-family:monospace;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width:768px){

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:18px;
    }

    .article-card h2{
        font-size:28px;
    }

    .article-title{
        font-size:42px;
    }

    .article-body{
        font-size:20px;
    }

}

/*
|--------------------------------------------------------------------------
| GRID ARTICLE
|--------------------------------------------------------------------------
*/

.custom-container{
    max-width:1400px;
    padding:40px 30px;
}

.article-card-grid{
    display:block;
    text-decoration:none;
    color:inherit;
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    border:1px solid #f0f0f0;
    transition:0.25s;
    height:100%;
}

.article-card-grid:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.card-image{
    width:100%;
    height:220px;
    overflow:hidden;
    background:#f5f5f5;
}

.card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.card-body-custom{
    padding:22px;
}

.card-body-custom h2{
    font-size:24px;
    line-height:1.3;
    margin-bottom:14px;
    font-family:Georgia,serif;
    font-weight:700;
    color:#111;
}

.card-body-custom p{
    font-size:15px;
    line-height:1.7;
    color:#6b6b6b;
    margin-bottom:18px;
}

.read-more{
    color:#1a8917;
    font-weight:600;
    font-size:15px;
}

/*
|--------------------------------------------------------------------------
| CATEGORY BUTTONS
|--------------------------------------------------------------------------
*/

.category-wrapper{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:40px;
}

.category-btn{
    padding:10px 18px;
    border-radius:999px;
    background:#f5f5f5;
    color:#111;
    text-decoration:none;
    font-size:15px;
    font-weight:500;
    transition:0.2s;
}

.category-btn:hover{
    background:#111;
    color:#fff;
}

.category-btn.active{
    background:#111;
    color:#fff;
}

/*
|--------------------------------------------------------------------------
| CATEGORY LABEL
|--------------------------------------------------------------------------
*/

.card-category{
    display:inline-block;
    margin-bottom:12px;
    font-size:13px;
    font-weight:600;
    color:#1a8917;
    text-transform:uppercase;
    letter-spacing:1px;
}

/*
|--------------------------------------------------------------------------
| ARTICLE SECTION
|--------------------------------------------------------------------------
*/

.article-section{
    margin-top:80px;
    border-top:1px solid #f0f0f0;
    padding-top:40px;
}

.section-title{
    font-size:28px;
    margin-bottom:25px;
    font-family:Georgia,serif;
    font-weight:700;
}

.mini-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.mini-card{
    display:block;
    padding:24px;
    border:1px solid #f0f0f0;
    border-radius:18px;
    text-decoration:none;
    color:#111;
    transition:0.25s;
    background:#fff;
}

.mini-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

.mini-category{
    font-size:12px;
    text-transform:uppercase;
    color:#1a8917;
    margin-bottom:12px;
    font-weight:700;
    letter-spacing:1px;
}

.mini-card h4{
    font-size:20px;
    line-height:1.5;
    font-family:Georgia,serif;
}

/*
|--------------------------------------------------------------------------
| ARTICLE SECTION
|--------------------------------------------------------------------------
*/

.article-section{
    margin-top:80px;
    border-top:1px solid #f0f0f0;
    padding-top:40px;
}

.section-title{
    font-size:28px;
    margin-bottom:25px;
    font-family:Georgia,serif;
    font-weight:700;
}

.mini-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.mini-card{
    display:block;
    padding:24px;
    border:1px solid #f0f0f0;
    border-radius:18px;
    text-decoration:none;
    color:#111;
    transition:0.25s;
    background:#fff;
}

.mini-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

.mini-category{
    font-size:12px;
    text-transform:uppercase;
    color:#1a8917;
    margin-bottom:12px;
    font-weight:700;
    letter-spacing:1px;
}

.mini-card h4{
    font-size:20px;
    line-height:1.5;
    font-family:Georgia,serif;
}

/*
|--------------------------------------------------------------------------
| ARTICLE LAYOUT
|--------------------------------------------------------------------------
*/

.article-layout{
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:minmax(0, 1fr) 360px;
    gap:70px;
    padding:50px 40px 100px;
}

/*
|--------------------------------------------------------------------------
| LEFT CONTENT
|--------------------------------------------------------------------------
*/

.article-left{
    min-width:0;
}

.reader{
    width:100%;
    max-width:860px;
}

/*
|--------------------------------------------------------------------------
| META
|--------------------------------------------------------------------------
*/

.article-meta{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:45px;
    color:#6b6b6b;
    font-size:15px;
}

.meta-author{
    font-weight:600;
}

.meta-dot{
    opacity:0.5;
}

/*
|--------------------------------------------------------------------------
| SIDEBAR
|--------------------------------------------------------------------------
*/

.article-sidebar{
    position:sticky;
    top:100px;
    align-self:start;
}

.sidebar-section{
    margin-bottom:50px;
    padding-bottom:40px;
    border-bottom:1px solid #f0f0f0;
}

.sidebar-title{
    font-size:16px;
    font-weight:800;
    margin-bottom:24px;
    color:#111;
    text-transform:uppercase;
    letter-spacing:1px;
}

.sidebar-post{
    display:block;
    text-decoration:none;
    color:#111;
    margin-bottom:26px;
    transition:0.2s;
}

.sidebar-post:hover{
    opacity:0.75;
}

.sidebar-category{
    color:#1a8917;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:1px;
    font-weight:700;
    margin-bottom:8px;
}

.sidebar-post h4{
    font-size:20px;
    line-height:1.45;
    font-weight:800;
    letter-spacing:-0.5px;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width:1100px){

    .article-layout{
        grid-template-columns:1fr;
        gap:50px;
    }

    .article-sidebar{
        position:relative;
        top:0;
    }

    .reader{
        max-width:100%;
    }

}

@media(max-width:768px){

    .article-layout{
        padding:35px 18px 70px;
    }

}


.article-card-grid{
    height:100%;
    display:flex;
    flex-direction:column;
}

.card-body-custom{
    flex:1;
}

.card-body-custom p{
    flex-grow:1;
}

.read-more{
    margin-top:auto;
}