* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary: #1e3c72; --secondary: #2a5298; --accent: #f5576c; }
html { font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: #f9f9f9; color: #111; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* TICKER */
.ticker { background: #1a1a1a; height: 32px; display: flex; align-items: center; overflow: hidden; }
.ticker-label { background: var(--primary); color: #fff; font-weight: 700; font-size: 11px; padding: 0 12px; }
.ticker-scroll { flex: 1; overflow: hidden; }
.ticker-track { display: flex; white-space: nowrap; animation: ticker 60s linear infinite; }
.ticker-track span { color: #fff; font-size: 12px; padding: 0 30px 0 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* HEADER */
header { background: #fff; border-bottom: 3px solid var(--primary); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo-box { width: 50px; height: 50px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; border-radius: 2px; }
.logo-text h1 { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.logo-text p { font-size: 10px; color: #999; }
.header-buttons { display: flex; gap: 8px; }
.btn { font-size: 12px; font-weight: 600; padding: 8px 14px; cursor: pointer; border: none; background: var(--primary); color: #fff; text-transform: uppercase; letter-spacing: .05em; transition: opacity .2s; }
.btn:hover { opacity: 0.85; }
.btn-outline { background: transparent; border: 1px solid #ddd; }

/* NAV */
nav { background: #000; position: sticky; top: 0; z-index: 99; }
.nav-list { list-style: none; display: flex; max-width: 1280px; margin: 0 auto; }
.nav-list li a { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); padding: 12px 14px; border-bottom: 3px solid transparent; transition: all .2s; }
.nav-list li a:hover { color: #fff; border-bottom-color: var(--accent); }

/* HERO */
.hero { padding: 40px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.hero-image { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 4px; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.article-tag { display: inline-block; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 3px 8px; margin-bottom: 8px; border-radius: 2px; }
.article-title { font-family: 'Crimson Text', serif; font-size: 36px; font-weight: 700; line-height: 1.2; margin: 10px 0; }
.article-summary { font-size: 16px; line-height: 1.6; margin: 12px 0; color: #333; }
.article-meta { display: flex; gap: 20px; font-size: 11px; color: #999; margin-top: 12px; }

/* SIDEBAR */
.trending { background: #fff; border-top: 3px solid var(--accent); border-radius: 4px; }
.trending-header { padding: 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid #ddd; }
.trending-item { display: flex; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #ddd; }
.trending-num { font-family: 'Crimson Text', serif; font-size: 18px; font-weight: 700; color: #ddd; width: 20px; }
.trending-title { font-family: 'Crimson Text', serif; font-size: 12px; font-weight: 600; line-height: 1.3; }

/* GRID */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.article-card { background: #fff; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; transition: transform .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,.1); }
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-content { padding: 16px; }
.article-desk { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.article-headline { font-family: 'Crimson Text', serif; font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.article-excerpt { font-size: 13px; color: #666; margin-bottom: 10px; }
.article-date { font-size: 10px; color: #999; }

/* FOOTER */
footer { background: #1a1a1a; color: #fff; padding: 40px 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-section h4 { font-size: 10px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; color: var(--accent); }
.footer-section a { display: block; font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 6px; transition: color .2s; }
.footer-section a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: 11px; color: rgba(255,255,255,.5); }

/* LOGIN */
.login-box { width: 100%; max-width: 400px; background: #fff; border: 1px solid #ddd; padding: 40px; margin: 60px auto; border-radius: 4px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; margin-bottom: 6px; color: #666; }
.form-group input { width: 100%; padding: 10px; border: 1px solid #ddd; font-family: 'Inter', sans-serif; font-size: 14px; border-radius: 2px; }

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .article-title { font-size: 24px; }
}
