/* ===========================
   Daily Report - style.css
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Roboto,Arial,sans-serif;
    background:#f4f4f4;
    color:#222;
    line-height:1.6;
}

/* Header */

header{
    background:#fff;
    border-bottom:3px solid #c40000;
}

.top-bar{
    background:#111;
    color:#fff;
    display:flex;
    justify-content:space-between;
    padding:10px 8%;
    font-size:14px;
}

.top-bar a{
    color:#fff;
    text-decoration:none;
    margin-left:15px;
}

.logo-section{
    text-align:center;
    padding:30px;
}

.logo-section h1{
    font-size:48px;
    color:#c40000;
    font-weight:900;
}

.logo-section p{
    color:#666;
}

/* Navigation */

nav{
    background:#c40000;
}

nav ul{
    display:flex;
    justify-content:center;
    list-style:none;
    flex-wrap:wrap;
}

nav li{
    margin:0;
}

nav a{
    display:block;
    color:white;
    text-decoration:none;
    padding:15px 20px;
    transition:.3s;
}

nav a:hover,
nav a.active{
    background:#8d0000;
}

/* Breaking News */

.breaking-news{
    display:flex;
    background:#fff;
    border-bottom:1px solid #ddd;
    align-items:center;
}

.breaking{
    background:#c40000;
    color:white;
    padding:12px 18px;
    font-weight:bold;
}

marquee{
    padding-left:15px;
    font-weight:500;
}

/* Layout */

.container{
    width:90%;
    max-width:1200px;
    margin:30px auto;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
}

/* Hero */

.hero{
    background:white;
    border-radius:10px;
    overflow:hidden;
    margin-bottom:30px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.hero img{
    width:100%;
    display:block;
}

.hero-text{
    padding:25px;
}

.hero h2{
    margin:10px 0;
    font-size:34px;
}

.read-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 20px;
    background:#c40000;
    color:white;
    text-decoration:none;
    border-radius:5px;
}

/* Categories */

.category{
    background:#c40000;
    color:white;
    padding:4px 10px;
    border-radius:4px;
    font-size:13px;
}

/* News Grid */

.news-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
}

.card{
    background:white;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.card img{
    width:100%;
}

.card .content{
    padding:18px;
}

.card h3{
    margin:12px 0;
}

.card a{
    color:#c40000;
    text-decoration:none;
    font-weight:bold;
}

/* Sidebar */

.sidebar{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.widget{
    background:white;
    padding:20px;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.widget h3{
    margin-bottom:15px;
    color:#c40000;
}

.widget input{
    width:100%;
    padding:10px;
    margin:10px 0;
    border:1px solid #ccc;
}

.widget button{
    width:100%;
    padding:10px;
    border:none;
    background:#c40000;
    color:white;
    cursor:pointer;
}

.widget ol{
    padding-left:20px;
}

.widget li{
    margin-bottom:10px;
}

/* Featured */

.featured{
    width:90%;
    max-width:1200px;
    margin:40px auto;
}

.featured h2{
    margin-bottom:20px;
}

.featured-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.featured-card{
    background:white;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.featured-card img{
    width:100%;
}

.featured-card h3{
    padding:15px;
}

/* Footer */

footer{
    background:#111;
    color:white;
    margin-top:50px;
}

.footer-columns{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    width:90%;
    max-width:1200px;
    margin:auto;
    padding:40px 0;
}

.footer-columns ul{
    list-style:none;
}

.footer-columns li{
    margin:8px 0;
}

.footer-columns a{
    color:#ccc;
    text-decoration:none;
}

.footer-columns a:hover{
    color:white;
}

.copyright{
    text-align:center;
    padding:20px;
    background:#000;
    color:#999;
}

/* Responsive */

@media(max-width:900px){

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

.hero h2{
    font-size:28px;
}

.logo-section h1{
    font-size:36px;
}

nav ul{
    flex-direction:column;
}

nav a{
    text-align:center;
}

.top-bar{
    flex-direction:column;
    text-align:center;
    gap:10px;
}

}