/* =========================================
   ENTERPRISE NEWS CATEGORY PAGE
========================================= */

.news-category{
margin-top:20px;
}

/* =========================
   CATEGORY TOP BAR
========================= */

.cat-topbar{
display:flex;
justify-content:space-between;
align-items:center;
border-bottom:3px solid #111;
padding-bottom:10px;
margin-bottom:15px;
}

.cat-title h1{
font-size:28px;
font-weight:800;
margin:0;
}

.cat-title span{
font-size:13px;
color:#777;
}

/* =========================
   BREAKING STRIP
========================= */

.breaking-strip{
display:flex;
align-items:center;
background:#111;
color:#fff;
padding:10px 0;
overflow:hidden;
margin-bottom:25px;
}

.breaking-label{
background:#c3131b;
padding:6px 18px;
font-size:12px;
font-weight:700;
letter-spacing:1px;
display:flex;
align-items:center;
gap:8px;
}

.live-dot{
width:8px;
height:8px;
background:#fff;
border-radius:50%;
animation:blink 1.2s infinite;
}

@keyframes blink{
0%{opacity:1}
50%{opacity:.3}
100%{opacity:1}
}

.breaking-wrapper{
overflow:hidden;
flex:1;
}

.breaking-ticker{
display:flex;
gap:60px;
white-space:nowrap;
animation:ticker 35s linear infinite;
padding-left:25px;
}

.breaking-ticker a{
color:#fff;
text-decoration:none;
font-size:14px;
transition:.3s;
}

.breaking-ticker a:hover{
color:#ffcccb;
}

@keyframes ticker{
0%{transform:translateX(100%)}
100%{transform:translateX(-100%)}
}

/* =========================
   MAIN LAYOUT
========================= */

.cat-layout{
display:grid;
grid-template-columns:2.2fr 1fr;
gap:35px;
}

/* =========================
   LEAD STORY
========================= */

.lead-story{
position:relative;
margin-bottom:25px;
}

.lead-story img{
width:100%;
height:340px;
object-fit:cover;
border-radius:8px;
transition:transform .4s ease;
}

.lead-story:hover img{
transform:scale(1.03);
}

.lead-content{
position:absolute;
bottom:0;
left:0;
width:100%;
padding:25px;
background:linear-gradient(to top,rgba(0,0,0,.85),transparent);
color:#fff;
border-radius:8px;
}

.lead-content h2{
font-size:26px;
margin:0 0 10px;
line-height:1.3;
}

.lead-content .meta{
font-size:13px;
opacity:.85;
}

/* =========================
   NORMAL NEWS CARD
========================= */

.news-card{
display:flex;
gap:18px;
margin-bottom:22px;
padding-bottom:18px;
border-bottom:1px solid #eee;
transition:.3s;
}

.news-card img{
width:170px;
height:110px;
object-fit:cover;
border-radius:6px;
transition:.3s;
}

.news-card:hover img{
transform:scale(1.05);
}

.card-content h3{
font-size:18px;
margin:0 0 8px;
line-height:1.4;
}

.card-content h3:hover{
color:#c3131b;
}

.card-content p{
font-size:14px;
color:#555;
margin-bottom:8px;
}

.card-content .meta{
font-size:12px;
color:#999;
}

/* =========================
   PAGINATION
========================= */

.pagination{
margin-top:30px;
display:flex;
gap:10px;
flex-wrap:wrap;
}

.pagination a,
.pagination span{
padding:8px 14px;
border:1px solid #ddd;
text-decoration:none;
font-size:13px;
color:#333;
border-radius:4px;
transition:.3s;
}

.pagination a:hover{
background:#111;
color:#fff;
}

.pagination .current{
background:#c3131b;
color:#fff;
border-color:#c3131b;
}

/* =========================
   SIDEBAR
========================= */

.cat-sidebar{
position:sticky;
top:110px;
height:fit-content;
}

.sidebar-box{
background:#fff;
padding:18px;
margin-bottom:25px;
border-radius:6px;
box-shadow:0 2px 10px rgba(0,0,0,.04);
}

.sidebar-box h3{
font-size:16px;
margin-bottom:15px;
border-bottom:2px solid #111;
padding-bottom:6px;
}

.trend-item{
display:flex;
gap:10px;
margin-bottom:12px;
}

.trend-item img{
width:65px;
height:55px;
object-fit:cover;
border-radius:4px;
}

.trend-item span{
font-size:13px;
line-height:1.4;
}

.trend-item a{
text-decoration:none;
color:#333;
transition:.3s;
}

.trend-item a:hover{
color:#c3131b;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

.cat-layout{
grid-template-columns:1fr;
}

.cat-sidebar{
position:relative;
top:auto;
}

.lead-story img{
height:260px;
}

.news-card{
flex-direction:column;
}

.news-card img{
width:100%;
height:200px;
}

}

@media(max-width:576px){

.cat-title h1{
font-size:22px;
}

.lead-content h2{
font-size:20px;
}

.breaking-ticker{
gap:30px;
}

}
