:root{
--green:#1DB954;
--green-dark:#0e7a39;
--black:#0f0f0f;
--light:#f5f7fa;
--text:#333;
}

/* ================= GLOBAL ================= */

body{
background:var(--light);
font-family:Inter,system-ui,-apple-system;
color:var(--text);
line-height:1.6;
}

img{
max-width:100%;
display:block;
}

section{
margin-bottom:40px;
}

/* ================= TYPOGRAPHY ================= */

h1{
font-size:2.2rem;
font-weight:700;
margin-bottom:10px;
}

h2{
font-size:1.6rem;
font-weight:600;
}

h4{
font-size:1.2rem;
font-weight:600;
}

p{
font-size:0.95rem;
line-height:1.7;
}

/* ================= NAVBAR ================= */

.navbar-custom{
background:#0f0f0f;
padding:16px 0;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.logo-green{
color:var(--green);
}

.navbar-nav .nav-link{
color:#ddd;
font-weight:500;
margin:0 10px;
}

.navbar-nav .nav-link:hover{
color:var(--green);
}

.nav-actions i{
color:#ddd;
font-size:18px;
margin-left:18px;
cursor:pointer;
}

.nav-actions i:hover{
color:var(--green);
}

/* ================= HERO GRID ================= */

.hero-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:20px;
margin-top:30px;
}

.hero-main{
position:relative;
height:420px;
border-radius:14px;
overflow:hidden;
}

.hero-main img{
width:100%;
height:100%;
object-fit:cover;
}

.hero-side{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
}

.hero-small{
position:relative;
height:200px;
border-radius:12px;
overflow:hidden;
}

.hero-small img{
width:100%;
height:100%;
object-fit:cover;
}

.hero-link{
display:block;
height:100%;
color:white;
text-decoration:none;
}

.hero-main-content{
position:absolute;
bottom:25px;
left:25px;
background:rgba(0,0,0,0.65);
padding:18px;
border-radius:10px;
max-width:80%;
}

.hero-main-content h2{
font-size:1.5rem;
}

.hero-small-content{
position:absolute;
bottom:10px;
left:10px;
background:rgba(0,0,0,0.65);
padding:6px 10px;
border-radius:6px;
font-size:13px;
color:white;
}

.hero-read{
background:var(--green);
padding:6px 12px;
border-radius:6px;
font-size:13px;
margin-top:6px;
display:inline-block;
}

/* ================= TOOLBAR ================= */

.toolbar{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:15px;
margin:30px 0;
}

.category-scroll{
display:flex;
gap:10px;
overflow-x:auto;
}

.category-scroll button{
background:white;
border:1px solid #ddd;
padding:6px 14px;
border-radius:20px;
font-size:13px;
white-space:nowrap;
}

.category-scroll button:hover{
background:var(--green);
color:white;
border-color:var(--green);
}

.filter-controls{
display:flex;
align-items:center;
gap:10px;
flex-wrap:wrap;
}

.filter-btn{
background:white;
border:1px solid #ddd;
padding:6px 12px;
border-radius:20px;
font-size:13px;
cursor:pointer;
}

.filter-btn:hover{
background:var(--green);
color:white;
}

.active-filter{
background:var(--green);
color:white;
border-color:var(--green);
}
.search-box{
display:flex;
align-items:center;
background:white;
padding:6px 12px;
border-radius:20px;
border:1px solid #ddd;
}

.search-box input{
border:none;
outline:none;
margin-left:6px;
font-size:14px;
}

/* ================= BLOG CARDS ================= */

.blog-card{
background:white;
border-radius:14px;
overflow:hidden;
box-shadow:0 8px 25px rgba(0,0,0,0.05);
transition:.25s;
height:100%;
}

.blog-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 35px rgba(0,0,0,0.1);
}

.blog-img-wrapper{
position:relative;
}

.blog-card img{
height:210px;
object-fit:cover;
width:100%;
}

.category-badge{
position:absolute;
top:10px;
left:10px;
background:var(--green);
color:white;
padding:4px 10px;
font-size:11px;
border-radius:20px;
}

.blog-card-body{
padding:16px;
}

.blog-card-body h5{
font-size:1rem;
margin-bottom:6px;
}

.read-btn{
color:var(--green);
font-size:14px;
text-decoration:none;
font-weight:500;
}

.read-btn i{
margin-left:4px;
}

/* ================= SIDEBAR ================= */

.sidebar{
padding-left:25px;
}

.newsletter{
background:white;
padding:20px;
border-radius:12px;
box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

/* ================= BLOG PAGE ================= */

.blog-container{
margin-top:40px;
}

.post-meta{
font-size:13px;
color:#888;
margin-bottom:10px;
}

.blog-feature-img{
width:100%;
border-radius:10px;
margin-bottom:20px;
}

.blog-content{
font-size:16px;
line-height:1.8;
}

.author-box{
background:white;
padding:16px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.05);
margin-top:30px;
}

/* ================= COMMENTS ================= */

.comment-section{
margin-top:40px;
}

.comment{

background:white;

padding:12px;

border-radius:8px;

box-shadow:0 3px 10px rgba(0,0,0,0.05);

margin-bottom:12px;

}

.comment-author{

font-size:14px;

font-weight:600;

margin-bottom:4px;

}

.comment-content{

font-size:13px;

color:#555;

line-height:1.5;

}

.comment-date{

font-size:11px;

color:#999;

}

.comment-box{

background:white;

padding:18px;

border-radius:10px;

box-shadow:0 5px 20px rgba(0,0,0,0.05);

}

/* ================= RELATED POSTS ================= */

.related-grid{
display:grid;
gap:16px;
}

.related-card{
background:white;
padding:10px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.related-card img{
width:100%;
border-radius:6px;
margin-bottom:6px;
}

/* ================= SHARE BUTTONS ================= */

.share-box{
display:flex;
gap:10px;
margin-top:20px;
}

.share-box a{
width:36px;
height:36px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:white;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
color:#333;
}

.share-box a:hover{
background:var(--green);
color:white;
}
/* ================= FOOTER ================= */

.site-footer{

background:#0f0f0f;
color:#ccc;

padding:60px 0 20px;

margin-top:60px;

}

.footer-logo{

color:white;

font-size:20px;

font-weight:700;

margin-bottom:15px;

}

.footer-text{

font-size:14px;

color:#aaa;

margin-bottom:15px;

}

.footer-col h5{

color:white;

margin-bottom:15px;

font-size:16px;

}

.footer-col ul{

list-style:none;

padding:0;

margin:0;

}

.footer-col ul li{

margin-bottom:8px;

}

.footer-col ul li a{

color:#aaa;

text-decoration:none;

font-size:14px;

}

.footer-col ul li a:hover{

color:var(--green);

}

/* SOCIAL */

.footer-social{

display:flex;

gap:10px;

}

.footer-social a{

width:36px;
height:36px;

display:flex;
align-items:center;
justify-content:center;

background:#1a1a1a;

border-radius:50%;

color:#ccc;

}

.footer-social a:hover{

background:var(--green);
color:white;

}

/* NEWSLETTER */

.footer-newsletter{

display:flex;

margin-top:10px;

}

.footer-newsletter input{

flex:1;

border:none;

padding:10px;

border-radius:6px 0 0 6px;

}

.footer-newsletter button{

background:var(--green);

border:none;

padding:10px 14px;

border-radius:0 6px 6px 0;

color:white;

}

/* DIVIDER */

.footer-divider{

border-color:#222;

margin:30px 0;

}

/* BOTTOM */

.footer-bottom{

text-align:center;

font-size:13px;

color:#777;

}
/* ================= SKELETON ================= */

.skeleton-card{
height:300px;
background:linear-gradient(90deg,#eee,#f5f5f5,#eee);
background-size:200% 100%;
animation:skeleton-loading 1.2s infinite;
border-radius:12px;
}

@keyframes skeleton-loading{
0%{background-position:200% 0}
100%{background-position:-200% 0}
}

/* ================= RESPONSIVE ================= */

@media (max-width:1024px){

.hero-grid{
grid-template-columns:1fr;
}

.hero-side{
grid-template-columns:1fr 1fr;
}

.sidebar{
padding-left:0;
margin-top:30px;
}

}

@media (max-width:768px){

.hero-main{
height:300px;
}

.hero-small{
height:160px;
}

.toolbar{
flex-direction:column;
align-items:flex-start;
}

.filter-controls{
width:100%;
justify-content:space-between;
}

.blog-card img{
height:180px;
}

}

@media (max-width:480px){

.hero-small{
height:140px;
}

.hero-main{
height:250px;
}

h1{
font-size:1.7rem;
}

}
@media (max-width:768px){

.footer-col{

margin-bottom:30px;

}

.footer-newsletter{

flex-direction:column;

}

.footer-newsletter input{

border-radius:6px;
margin-bottom:10px;

}

.footer-newsletter button{

border-radius:6px;

}

}
/* ================= LOAD MORE ================= */

.load-more-wrapper{
text-align:center;
margin-top:30px;
}

.load-more-btn{

background:var(--green);

border:none;

color:white;

padding:12px 24px;

border-radius:8px;

font-size:15px;

font-weight:500;

display:inline-flex;

align-items:center;

gap:8px;

transition:.2s;

}

.load-more-btn:hover{
background:var(--green-dark);
}

.load-more-btn:disabled{
opacity:.6;
cursor:not-allowed;
}
/* ================= READING PROGRESS ================= */

#reading-progress{

position:fixed;

top:0;

left:0;

height:4px;

background:var(--green);

width:0%;

z-index:9999;

}
/* ================= TOC ================= */

#toc-box{

position:sticky;

top:100px;

background:white;

padding:18px;

border-radius:10px;

box-shadow:0 5px 20px rgba(0,0,0,0.05);

margin-bottom:20px;

}

#toc-box ul{

list-style:none;

padding:0;

margin:0;

}

#toc-box li{

margin-bottom:6px;

font-size:14px;

}

#toc-box a{

color:#444;

text-decoration:none;

}

#toc-box a:hover{

color:var(--green);

}