/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/


/* =========================
 HEADER
========================= */


.site-header{

box-shadow:0 3px 15px rgba(0,0,0,0.08);

position:relative;

}


.ast-builder-grid-row{

display:flex !important;

align-items:center !important;

}



.site-logo-img img,
.custom-logo{

width:120px !important;

max-width:120px !important;

height:auto !important;

}



.main-header-menu{

padding-right:130px;

}



.main-header-menu a{

font-size:16px;

font-weight:600;

}




.piyush-header-photo{

position:absolute;

right:180px;

top:30px;

z-index:99;

}



.piyush-header-photo img{

width:90px !important;

height:90px !important;

object-fit:cover;

border-radius:0px;

}





/* =========================
 HOMEPAGE
========================= */


.upsc-home-container{


max-width:1200px;


margin:50px auto;


padding:0 20px;


}



.section-title{


text-align:center;


font-size:40px;


font-weight:800;


margin-bottom:40px;


color:blue !important;


}






/* =========================
 ARTICLE CARDS
========================= */


.article-grid{


display:grid;


grid-template-columns:repeat(3,1fr);


gap:35px;


}





.article-card{


background:#fff;


border-radius:16px;


overflow:hidden;


box-shadow:0 5px 25px rgba(0,0,0,0.12);


transition:0.3s;


}



.article-card:hover{


transform:translateY(-6px);


}



.article-card img{


width:100%;


height:230px;


object-fit:cover;


}



.article-content{

padding:22px;

}



.category-badge{


color:#4200ff;


font-weight:700;


}




.article-title{


font-size:24px;


line-height:1.3;


}




.article-title a{


color:#a40000;


text-decoration:none;


font-weight:800;


}








/* MOBILE */


@media(max-width:900px){


.article-grid{

grid-template-columns:1fr;

}


.piyush-header-photo{

display:none;

}


.main-header-menu{

padding-right:0;

}


.section-title{

font-size:32px;

}


}