/*
Theme Name: Newstopia Child
Template: newstopia
Version: 1.0
*/

:root{
--primary:#9f7aea;
--primary-dark:#7c3aed;
--primary-light:#ede9fe;
--bg:#f8f8ff;
--text:#222;
}

body{
background:#f5f6fa;
}

.bz-home{
max-width:1500px;
margin:auto;
padding:30px;
}

/* HERO */

.bz-hero{
display:grid;
grid-template-columns:1fr 320px;
gap:20px;
direction:ltr;
align-items:stretch;
}

.bz-featured{
height:700px;
overflow:hidden;
border-radius:24px;
position:relative;
}

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

.bz-side-posts{
display:grid;
grid-template-rows:repeat(4,1fr);
gap:15px;
height:700px;
}

.bz-side-card{
position:relative;
overflow:hidden;
border-radius:18px;
}

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

.bz-side-title{
position:absolute;
right:0;
left:0;
bottom:0;
padding:12px;
background:linear-gradient(
to top,
rgba(0,0,0,.85),
rgba(0,0,0,0)
);
color:#fff;
font-size:13px;
line-height:1.7;
font-weight:700;
}

/* CATEGORIES */

.bz-cats{
display:grid;
grid-template-columns:repeat(6,1fr);
gap:14px;
margin:40px 0 60px;
}

.bz-cat{
background:#fff;
border-radius:16px;
padding:18px 10px;
text-align:center;
box-shadow:0 4px 15px rgba(0,0,0,.06);
transition:.3s;
}

.bz-cat:hover{
transform:translateY(-4px);
}

.bz-icon{
display:flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
margin:0 auto 10px;
background:#f3edff;
border-radius:50%;
font-size:18px;
}

.bz-cat span:last-child{
font-size:13px;
font-weight:700;
display:block;
}

/* SECTIONS */

.bz-section{
margin:70px 0;
}

.bz-section h2{
position:relative;
font-size:32px;
margin-bottom:30px;
padding-right:20px;
font-weight:800;
}

.bz-section h2:before{
content:'';
position:absolute;
right:0;
top:0;
width:6px;
height:100%;
border-radius:20px;
background:#9f7aea;
}

/* POSTS GRID */

.bz-post-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:18px;
}

.bz-post{
border-radius:18px;
overflow:hidden;
}

.bz-post img{
width:100%;
height:180px;
object-fit:cover;
display:block;
}

.bz-post h3{
padding:12px;
font-size:14px;
line-height:1.8;
margin:0;
}

.bz-post{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.3s;
}

.bz-post:hover{
transform:translateY(-6px);
box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.bz-post img{
width:100%;
display:block;
}

.bz-post h3{
padding:15px;
font-size:15px;
line-height:1.8;
margin:0;
color:#222;
}

/* INCOME SECTION */

.bz-income{
margin:80px 0;
padding:60px;
border-radius:32px;
background:linear-gradient(
135deg,
#9f7aea,
#7c3aed
);
overflow:hidden;
}

.bz-income-content{
display:grid;
grid-template-columns:350px 1fr;
gap:30px;
align-items:start;
}

.bz-income-text{
color:#fff;
}

.bz-income-text h2{
font-size:42px;
margin-bottom:20px;
color:#fff;
}

.bz-income-text p{
line-height:2;
font-size:16px;
color:#fff;
}

.bz-btn{
display:inline-block;
margin-top:20px;
padding:14px 28px;
background:#fff;
color:#7c3aed;
font-weight:700;
border-radius:14px;
text-decoration:none;
}

.bz-income-posts{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

.bz-income-card{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.1);
height:100%;
}

.bz-income-card a{
display:block;
height:100%;
}

.bz-income-card img{
width:100%;
height:180px;
object-fit:cover;
display:block;
}

.bz-income-card h3{
padding:15px;
font-size:14px;
line-height:1.8;
margin:0;
color:#222;
}

.bz-income h2{
color:#fff !important;
font-size:36px;
margin-bottom:15px;
}

.bz-income p{
color:#fff;
font-size:16px;
line-height:2;
margin-bottom:20px;
}

.bz-income a{
text-decoration:none;
}

/* RESPONSIVE */

@media(max-width:992px){

.bz-hero{
grid-template-columns:1fr;
}

.bz-featured{
height:500px;
min-height:500px;
}

.bz-side-posts{
height:auto;
}

.bz-post-grid{
grid-template-columns:repeat(2,1fr);
}

.bz-income-content{
grid-template-columns:1fr;
}

.bz-income-posts{
grid-template-columns:1fr;
}

.bz-cats{
grid-template-columns:repeat(3,1fr);
}

}

@media(max-width:768px){

.bz-home{
padding:15px;
}

.bz-post-grid{
grid-template-columns:1fr;
}

.bz-cats{
grid-template-columns:repeat(2,1fr);
}

}
/* FOOTER */

.bz-footer{
margin-top:80px;
background:#fff;
}

.bz-newsletter{
background:linear-gradient(135deg,#9f7aea,#7c3aed);
padding:30px 50px;
display:flex;
justify-content:space-between;
align-items:center;
color:#fff;
border-radius:30px 30px 0 0;
}

.bz-news-right h3,
.bz-news-left h3{
margin:0 0 12px;
font-size:22px;
}

.bz-socials{
display:flex;
gap:12px;
}

.bz-socials a{
width:42px;
height:42px;
background:rgba(255,255,255,.15);
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
font-size:18px;
text-decoration:none;
}

.bz-news-left form{
display:flex;
gap:10px;
}

.bz-news-left input{
width:280px;
height:48px;
border:none;
border-radius:50px;
padding:0 20px;
}

.bz-news-left button{
height:48px;
padding:0 28px;
border:none;
background:#fff;
color:#7c3aed;
border-radius:50px;
font-weight:700;
cursor:pointer;
}

.bz-footer-main{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr 1fr;
gap:40px;
padding:50px;
align-items:start;
}

.bz-footer-about img{
max-width:180px;
margin-bottom:15px;
}

.bz-footer-about p{
line-height:2;
color:#555;
}

.bz-footer-col h4,
.bz-footer-enamad h4{
margin-bottom:20px;
font-size:18px;
}

.bz-footer-col ul{
list-style:none;
padding:0;
margin:0;
}

.bz-footer-col li{
margin-bottom:12px;
}

.bz-footer-col a{
text-decoration:none;
color:#555;
}

.bz-footer-col a:hover{
color:#9f7aea;
}

.bz-footer-enamad img{
max-width:120px;
}

.bz-copyright{
border-top:1px solid #eee;
padding:18px;
text-align:center;
font-size:14px;
color:#666;
}

@media(max-width:992px){

.bz-newsletter{
flex-direction:column;
gap:25px;
text-align:center;
}

.bz-footer-main{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:768px){

.bz-footer-main{
grid-template-columns:1fr;
text-align:center;
}

.bz-news-left form{
flex-direction:column;
}

.bz-news-left input{
width:100%;
}

}
.bz-footer{
background:#fff !important;
display:block !important;
padding:0 !important;
}

.bz-newsletter{
display:flex !important;
justify-content:space-between !important;
align-items:center !important;
background:#9f7aea !important;
padding:30px !important;
}

.bz-footer *{
box-sizing:border-box;
}