/* =========================
   CATEGORY SECTIONS
========================= */

.category-section{
max-width:1200px;
margin:60px auto;
padding:0 20px;
}

.category-container{
background:#ffffff;
padding:30px;
border-radius:14px;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

/* =========================
   CATEGORY TITLE
========================= */

.category-title{
font-size:24px;
margin-bottom:25px;
border-left:5px solid #2563eb;
padding-left:12px;
color:#1f2937;
}

/* =========================
   CARD GRID
========================= */

.category-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

/* =========================
   CARD DESIGN
========================= */

.category-card{
background:#f9fafc;
padding:14px;
border-radius:10px;
text-align:center;
transition:0.3s;
}

.category-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

/* =========================
   CARD IMAGE (Square)
========================= */

.category-card img{
width:100%;
aspect-ratio:1/1;
object-fit:cover;
border-radius:8px;
margin-bottom:10px;
}

/* =========================
   NAME
========================= */

.person-name{
font-size:16px;
font-weight:600;
margin-bottom:4px;
color:#111827;
}

/* =========================
   SUBTITLE
========================= */

.person-subtitle{
font-size:13px;
color:#6b7280;
margin-bottom:10px;
}

/* =========================
   PROFILE BUTTON
========================= */

.profile-btn{
display:inline-block;
padding:6px 14px;
background:#2563eb;
color:white;
border-radius:6px;
text-decoration:none;
font-size:12px;
}

.profile-btn:hover{
background:#1d4ed8;
}

/* =========================
   CATEGORY SEE MORE
========================= */

.category-more{
text-align:center;
margin-top:25px;
}

.category-more a{
display:inline-block;
padding:9px 22px;
background:#2563eb;
color:white;
border-radius:6px;
text-decoration:none;
font-size:14px;
}

.category-more a:hover{
background:#1d4ed8;
}

/* =========================
   NEWS / TRENDING CARDS
========================= */

.news-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.news-card{
background:#ffffff;
border-radius:12px;
overflow:hidden;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
transition:0.3s;
}

.news-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

.news-card img{
width:100%;
height:160px;
object-fit:cover;
}

.news-content{
padding:14px;
}

.news-title{
font-size:15px;
font-weight:600;
margin-bottom:8px;
}

.news-btn{
display:inline-block;
padding:6px 12px;
background:#2563eb;
color:white;
border-radius:5px;
text-decoration:none;
font-size:12px;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:1000px){

.category-grid{
grid-template-columns:repeat(2,1fr);
}

.news-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:500px){

.category-grid{
grid-template-columns:1fr;
}

.news-grid{
grid-template-columns:1fr;
}

}