/* ===== RESET ===== */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
}

body{
background:#f4f7fb;
color:#333;
}

/* ===== HEADER ===== */
.header{
display:flex;
align-items:center;
gap:10px;
padding:15px 20px;
background:#fff;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.logo{
width:45px;
}

/* ===== NAVBAR ===== */
.navbar{
display:flex;
justify-content:center;
gap:15px;
background:#1e3a5f;
padding:10px;
flex-wrap:wrap;
}

.navbar a{
color:white;
text-decoration:none;
padding:6px 12px;
border-radius:6px;
transition:0.3s;
}

.navbar a:hover{
background:#2c5aa0;
}

/* ===== HERO ===== */
.hero{
text-align:center;
padding:25px 10px;
background:linear-gradient(135deg,#1e3a5f,#2c5aa0);
color:white;
margin-bottom:10px;
}

.hero h1{
font-size:20px;
}

.hero p{
font-size:14px;
margin-bottom:10px;
}

/* ===== BUTTON ===== */
.btn{
padding:10px 15px;
border-radius:6px;
color:white;
text-decoration:none;
display:inline-block;
margin:5px;
}

.btn-orange{background:#ff7a00;}
.btn-green{background:#28a745;}

/* ===== ADS ===== */
.ads{
margin:10px auto;
text-align:center;
}

/* ===== SEARCH ===== */
.search{
width:90%;
max-width:400px;
display:block;
margin:10px auto;
padding:10px;
border-radius:8px;
border:1px solid #ccc;
}

/* ===== CONTAINER ===== */
.container{
width:95%;
max-width:1300px;
margin:auto;
}

/* ===== TRENDING GRID ===== */
.grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
margin-top:10px;
}

.card{
background:white;
padding:10px;
border-radius:8px;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.card a{
text-decoration:none;
color:#2c5aa0;
font-size:13px;
font-weight:bold;
}

/* ===== 3 COLUMN SECTION ===== */
.row{
display:grid;
grid-template-columns:repeat(3,1fr); /* 🔥 FORCE 3 COLUMN */
gap:15px;
margin-top:15px;
}

/* ===== BOX ===== */
.box{
background:white;
padding:12px;
border-radius:8px;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.box h3{
margin-bottom:8px;
}

.box a{
display:block;
font-size:13px;
padding:5px 0;
text-decoration:none;
color:#333;
}

/* ===== FOOTER ===== */
.footer{
margin-top:20px;
background:#1e3a5f;
color:white;
text-align:center;
padding:20px;
border-top:3px solid #2c5aa0;
}

.footer a{
color:#fff !important;
text-decoration:none;
margin:0 5px;
}

.footer a:hover{
color:#ffcc00;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media(max-width:992px){
.row{
grid-template-columns:repeat(2,1fr);
}
}

/* Mobile */
@media(max-width:600px){

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

.row{
grid-template-columns:1fr;
}

.hero h1{
font-size:16px;
}

}