/*
Theme Name: SpillPH Ultra
Description: Modern viral news & media WordPress theme inspired by premium magazine layouts.
Version: 2.0.0
Author: SpillPH
Text Domain: spillph
*/

:root{
 --accent:#ff2b2b;
 --dark:#0b0b0c;
 --surface:#ffffff;
 --bg:#f3f4f6;
 --muted:#666;
 --radius:24px;
 --shadow:0 12px 40px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
body{
 margin:0;
 background:var(--bg);
 color:#111;
 font-family:Inter,Arial,sans-serif;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.breaking-bar{
 background:var(--accent);
 color:#fff;
 padding:10px 18px;
 font-size:13px;
 font-weight:800;
 text-transform:uppercase;
 letter-spacing:.08em;
 overflow:hidden;
 white-space:nowrap;
}

.site-header{
 position:sticky;
 top:0;
 z-index:999;
 background:rgba(11,11,12,.92);
 backdrop-filter:blur(12px);
 color:#fff;
 border-bottom:1px solid rgba(255,255,255,.08);
}

.header-inner{
 max-width:1280px;
 margin:auto;
 display:flex;
 justify-content:space-between;
 align-items:center;
 padding:18px 20px;
 gap:20px;
}

.logo{
 font-size:42px;
 font-weight:900;
 letter-spacing:-3px;
}
.logo span{color:var(--accent)}

.nav ul{
 display:flex;
 list-style:none;
 gap:18px;
 margin:0;padding:0;
}
.nav a{
 color:#fff;
 font-size:13px;
 font-weight:800;
 text-transform:uppercase;
}

.main{
 max-width:1280px;
 margin:auto;
 padding:24px 20px 80px;
}

.hero-grid{
 display:grid;
 grid-template-columns:2fr 1fr;
 gap:20px;
}

.hero-main{
 position:relative;
 overflow:hidden;
 border-radius:32px;
 min-height:560px;
 background:#111;
 box-shadow:var(--shadow);
}
.hero-main img{
 width:100%;
 height:100%;
 object-fit:cover;
}
.hero-overlay{
 position:absolute;
 inset:0;
 background:linear-gradient(to top,rgba(0,0,0,.88),rgba(0,0,0,.1));
 display:flex;
 align-items:flex-end;
 padding:36px;
}
.hero-content h1{
 color:#fff;
 font-size:clamp(40px,5vw,78px);
 line-height:.92;
 margin:10px 0;
 letter-spacing:-4px;
}
.hero-content p{
 color:#ddd;
 font-size:18px;
 max-width:720px;
}

.hero-side{
 display:grid;
 gap:20px;
}

.side-card{
 background:#fff;
 border-radius:28px;
 overflow:hidden;
 box-shadow:var(--shadow);
 display:flex;
 flex-direction:column;
}

.side-card-content{
 padding:18px;
}
.badge{
 display:inline-block;
 background:rgba(255,43,43,.12);
 color:var(--accent);
 padding:8px 12px;
 border-radius:999px;
 font-size:11px;
 font-weight:900;
 text-transform:uppercase;
 letter-spacing:.08em;
}

.section{
 margin-top:42px;
}

.section-header{
 display:flex;
 justify-content:space-between;
 align-items:end;
 margin-bottom:18px;
}

.section-title{
 font-size:36px;
 font-weight:900;
 letter-spacing:-2px;
 margin:0;
}

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

.news-card{
 background:#fff;
 border-radius:24px;
 overflow:hidden;
 box-shadow:var(--shadow);
 transition:.25s ease;
}
.news-card:hover{
 transform:translateY(-4px);
}

.news-thumb{
 aspect-ratio:16/10;
 background:linear-gradient(135deg,#111,var(--accent));
}
.news-thumb img{
 width:100%;
 height:100%;
 object-fit:cover;
}

.news-body{
 padding:18px;
}

.news-title{
 font-size:24px;
 line-height:1.05;
 letter-spacing:-1px;
 margin:8px 0;
 font-weight:900;
}

.news-meta{
 color:var(--accent);
 font-size:12px;
 text-transform:uppercase;
 font-weight:800;
}

.sidebar-layout{
 display:grid;
 grid-template-columns:1fr 320px;
 gap:24px;
 margin-top:32px;
}

.trending-box{
 background:#fff;
 border-radius:24px;
 padding:20px;
 box-shadow:var(--shadow);
 position:sticky;
 top:100px;
}

.trending-title{
 margin-top:0;
 font-size:24px;
 letter-spacing:-1px;
}

.trending-list{
 padding-left:18px;
}
.trending-list li{
 margin:14px 0;
 font-weight:700;
}

.single-wrap{
 max-width:900px;
 margin:auto;
 background:#fff;
 padding:40px;
 border-radius:32px;
 box-shadow:var(--shadow);
}

.single-wrap h1{
 font-size:clamp(44px,6vw,84px);
 line-height:.92;
 letter-spacing:-4px;
}

.site-footer{
 background:#0b0b0c;
 color:#fff;
 margin-top:80px;
 padding:50px 20px;
}

.footer-inner{
 max-width:1280px;
 margin:auto;
}

@media(max-width:1000px){
 .hero-grid,.sidebar-layout,.news-grid{
   grid-template-columns:1fr;
 }
 .hero-main{
   min-height:420px;
 }
 .hero-content h1{
   font-size:48px;
 }
}

@media(max-width:700px){
 .nav ul{
   flex-wrap:wrap;
 }
 .logo{
   font-size:34px;
 }
 .hero-overlay{
   padding:24px;
 }
 .section-title{
   font-size:28px;
 }
 .single-wrap{
   padding:24px;
 }
}
