
body{font-family:Arial;margin:0;background:#f4f4f4}
.dark{background:#111;color:white}
.container{width:95%;max-width:1100px;margin:auto}
.header{display:flex;justify-content:space-between;align-items:center}
nav a{margin-right:15px;text-decoration:none;color:white}
header{background:#222;color:white;padding:15px}
.layout{display:flex;margin-top:20px}
.content{width:70%}
.sidebar{width:30%;padding-left:20px}
.post{background:white;padding:20px;margin-bottom:20px;border-radius:6px}
.post-img{width:100%;max-height:280px;object-fit:cover}
.single-img{width:100%;margin:20px 0}
.widget{background:white;padding:15px;margin-bottom:20px}
.ad{background:#ddd;padding:30px;text-align:center}
footer{background:#111;color:white;text-align:center;padding:20px;margin-top:40px}
.comment{background:#eee;padding:10px;margin-top:10px}
.content h1{
font-size:32px;
margin-bottom:20px;
}

.content h2{
margin-top:25px;
color:#333;
}

.content p{
line-height:1.7;
font-size:16px;
}

.content ul{
padding-left:20px;
}

.content li{
margin-bottom:8px;
}
form input, form textarea{
padding:8px;
border:1px solid #ccc;
border-radius:4px;
}

form button{
padding:10px 15px;
background:#333;
color:white;
border:none;
cursor:pointer;
}
/* HEADER */

header{
background:#111;
color:#fff;
padding:12px 15px;
}

.header-container{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:wrap;
}

/* LOGO */

.logo a{
color:white;
text-decoration:none;
font-size:22px;
font-weight:600;
}

/* NAV */

nav{
display:flex;
align-items:center;
gap:15px;
}

nav a{
color:white;
text-decoration:none;
font-size:15px;
}

nav a:hover{
color:#00a8ff;
}

/* SEARCH */

.search-box{
margin-left:15px;
}

.search-box input{
padding:6px 10px;
border-radius:4px;
border:none;
}

/* MENU BUTTON */

.menu-btn{
display:none;
background:none;
border:none;
color:white;
font-size:22px;
cursor:pointer;
}

/* DARK BUTTON */

.dark-btn{
background:#333;
border:none;
color:white;
padding:5px 8px;
border-radius:4px;
cursor:pointer;
}

/* MOBILE */

@media(max-width:768px){

.header-container{
flex-wrap:nowrap;
}

.menu-btn{
display:block;
}

nav{
display:none;
flex-direction:column;
width:100%;
background:#111;
padding:10px 0;
margin-top:10px;
}

nav.show{
display:flex;
}

nav a{
padding:10px;
border-top:1px solid #222;
text-align:center;
}

.search-box{
width:100%;
margin-top:10px;
}

.search-box input{
width:100%;
}

}
/* GRID */

.posts-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:20px;
}

/* POST CARD */

.post-card{
background:#fff;
border-radius:8px;
overflow:hidden;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
transition:0.3s;
}

.post-card:hover{
transform:translateY(-5px);
}

/* IMAGE */

.post-img{
width:100%;
height:200px;
object-fit:cover;
}

/* CONTENT */

.post-content{
padding:15px;
}

.post-category a{
font-size:13px;
color:#0073e6;
text-decoration:none;
font-weight:600;
}

.post-title{
font-size:18px;
margin:8px 0;
}

.post-title a{
text-decoration:none;
color:#222;
}

.post-excerpt{
font-size:14px;
color:#555;
line-height:1.6;
}

/* BUTTON */

.read-btn{
display:inline-block;
margin-top:10px;
padding:8px 14px;
background:#0073e6;
color:#fff;
text-decoration:none;
border-radius:4px;
font-size:14px;
}

.read-btn:hover{
background:#0056b3;
}

/* MOBILE */

@media (max-width:768px){

.post-img{
height:180px;
}

.page-title{
font-size:22px;
}

}
.sidebar{
width:300px;
}

.widget{
background:#fff;
padding:15px;
margin-bottom:20px;
border-radius:6px;
box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.widget h3{
margin-bottom:10px;
}

.widget a{
text-decoration:none;
color:#333;
display:block;
padding:6px 0;
}

.widget a:hover{
color:#0073e6;
}
@media(max-width:768px){

.layout{
flex-direction:column;
}

.sidebar{
width:100%;
}

}
body{
font-family:'Poppins',sans-serif;
margin:0;
background:#f5f6fa;
}

/* HEADER */

header{
background:#111;
color:#fff;
padding:15px 20px;
box-shadow:0 2px 10px rgba(0,0,0,0.2);
}

.header-container{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:wrap;
}

/* LOGO */

.logo{
font-size:24px;
font-weight:600;
}

/* NAV */

nav a{
color:#fff;
text-decoration:none;
margin-right:18px;
font-size:15px;
}

nav a:hover{
color:#00a8ff;
}

/* SEARCH */

.search-box input{
padding:7px 10px;
border-radius:4px;
border:none;
}

/* MENU BUTTON */

.menu-btn{
display:none;
background:none;
border:none;
color:white;
font-size:24px;
cursor:pointer;
}

/* DARK BUTTON */

.dark-btn{
background:#333;
border:none;
color:white;
padding:5px 8px;
border-radius:4px;
cursor:pointer;
}

/* DARK MODE */

.dark{
background:#121212;
color:white;
}

/* MOBILE */

@media(max-width:768px){

.menu-btn{
display:block;
}

nav{
display:none;
width:100%;
margin-top:10px;
}

nav.show{
display:block;
}

nav a{
display:block;
margin:10px 0;
}

.search-box{
width:100%;
margin-top:10px;
}

.search-box input{
width:100%;
}

}
/* FOOTER */

.site-footer{
background:#111;
color:#ddd;
margin-top:40px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
padding:40px 20px;
}

.footer-container h3,
.footer-container h4{
color:#fff;
margin-bottom:10px;
}

.footer-container p{
font-size:14px;
line-height:1.6;
}

.footer-container ul{
list-style:none;
padding:0;
}

.footer-container ul li{
margin-bottom:8px;
}

.footer-container ul li a{
color:#ccc;
text-decoration:none;
font-size:14px;
}

.footer-container ul li a:hover{
color:#00a8ff;
}

.footer-bottom{
text-align:center;
border-top:1px solid #333;
padding:15px;
font-size:14px;
background:#0a0a0a;
}
.single-post{
background:white;
padding:25px;
border-radius:8px;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.post-title{
font-size:28px;
margin-bottom:15px;
}

.post-category a{
font-size:14px;
color:#0073e6;
text-decoration:none;
}

.single-img{
width:100%;
max-height:400px;
object-fit:cover;
margin:15px 0;
border-radius:6px;
}

.post-content{
font-size:16px;
line-height:1.8;
color:#333;
}
.posts-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:20px;
}

.post-card{
background:white;
border-radius:8px;
overflow:hidden;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
transition:0.3s;
}

.post-card:hover{
transform:translateY(-5px);
}

.post-img{
width:100%;
height:200px;
object-fit:cover;
}

.post-content{
padding:15px;
}

.post-title a{
text-decoration:none;
color:#222;
}

.post-excerpt{
font-size:14px;
color:#555;
}

.read-btn{
display:inline-block;
margin-top:10px;
padding:8px 14px;
background:#0073e6;
color:#fff;
text-decoration:none;
border-radius:4px;
}.contact-form input,
.contact-form textarea{
width:100%;
padding:10px;
border:1px solid #ccc;
border-radius:5px;
}

.contact-form button{
padding:10px 18px;
background:#0073e6;
color:white;
border:none;
border-radius:4px;
cursor:pointer;
}

.contact-form button:hover{
background:#0056b3;
}