/* ─── NEWSGLOBE SUPREME SAPPHIRE DIGITAL ─── */
@import url('https://fonts.googleapis.com/css2?family=Chomsky&family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary-blue:   #002b5c; /* Deep Sapphire/Navy */
  --accent-cyan:    #0097b2; /* Professional Highlight */
  --accent-gold:    #d4af37; /* Trust / Prestige */
  --bg-page:        #fcfcfc; /* Premium off-white */
  --bg-inset:       #f4f6f8;
  --text-main:      #111827;
  --text-muted:     #6b7280;
  --border-light:   #e5e7eb;
  --border-heavy:   #111827;
  --container-max:  1360px;
}

body { font-family: 'Inter', sans-serif; background: var(--bg-page); color: var(--text-main); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease-in-out; }
a:hover { color: var(--accent-cyan); }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

/* ─── TICKER ─── */
.ticker-wrap { background: var(--primary-blue); color: #fff; padding: 8px 0; overflow: hidden; display: flex; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid var(--accent-cyan); }
.ticker-title { background: var(--accent-cyan); padding: 8px 15px; margin: -8px 15px -8px -20px; z-index: 2; position: relative; }
.ticker-text { white-space: nowrap; animation: ticker 30s linear infinite; display: inline-block; }
.ticker-item { margin-right: 40px; }
.ticker-item span { color: var(--accent-gold); margin-right: 5px; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ─── HEADER ─── */
header { background: #fff; border-bottom: 4px solid var(--border-heavy); }
.header-mid { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; }
.logo-masthead { text-align: center; flex: 1; }
.logo-main { font-family: 'Playfair Display', serif; font-size: 55px; font-weight: 900; line-height: 1; color: var(--primary-blue); letter-spacing: -1px; display: block; }
.logo-main span { color: var(--accent-cyan); }
.logo-sub { font-family: 'Outfit'; font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: 5px; color: var(--text-muted); display: block; margin-top: 5px; }

.header-side { width: 250px; }
.header-date { font-family: 'Outfit'; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.header-actions { display: flex; gap: 15px; margin-top: 5px; }
.btn-hollow { border: 1px solid var(--border-heavy); padding: 6px 12px; font-size: 10px; font-weight: 800; text-transform: uppercase; border-radius: 2px; }
.btn-hollow:hover { background: var(--border-heavy); color: #fff; }

.main-nav { border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-heavy); display: flex; justify-content: center; background: #fff; position: sticky; top: 0; z-index: 100;}
.main-nav a { font-family: 'Outfit'; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; padding: 16px 20px; position: relative; color: var(--primary-blue); display: inline-block; }
.main-nav a::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 3px; background: var(--accent-cyan); transition: width 0.3s; }
.main-nav a:hover::after { width: 100%; }

/* ─── TYPOGRAPHY & BADGES ─── */
.section-header { margin: 40px 0 20px; border-bottom: 2px solid var(--border-heavy); padding-bottom: 10px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-header h2 { font-family: 'Outfit'; font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); display: inline-block; position: relative; }
.section-header h2::after { content: ''; position: absolute; left: 0; bottom: -12px; height: 4px; width: 100%; background: var(--primary-blue); }

.badge { display: inline-block; font-family: 'Inter'; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #fff; padding: 3px 8px; margin-bottom: 10px; border-radius: 2px; }
.bg-prime { background: var(--primary-blue); }
.bg-cyan { background: var(--accent-cyan); }
.bg-war { background: #b91c1c; }
.bg-finance { background: #047857; }

/* ─── NEWSPAPER GRIDS ─── */
.grid-frontpage { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 30px; margin-top: 30px; }
.col-divider { border-right: 1px solid var(--border-light); padding-right: 30px; }

/* ─── ARTICLES ─── */
.post-main { display: flex; flex-direction: column; height: 100%; }
.post-main-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 20px; position: relative; border-radius: 2px; }
.post-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.post-main:hover .post-main-img img { transform: scale(1.03); }
.post-main-title { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900; line-height: 1.1; margin-bottom: 15px; color: var(--text-main); letter-spacing: -0.5px; }

.post-excerpt { font-family: 'Inter'; font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.post-meta { font-family: 'Outfit'; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }

.post-secondary { padding-bottom: 25px; margin-bottom: 20px; border-bottom: 1px solid var(--border-light); }
.post-secondary:last-child { border-bottom: none; }
.post-secondary-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }

.post-mini { display: flex; gap: 15px; margin-bottom: 20px; }
.post-mini-img { width: 90px; height: 90px; flex-shrink: 0; border-radius: 2px; overflow: hidden; }
.post-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.post-mini-title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; line-height: 1.3; margin-bottom: 5px; }

/* ─── DARK SECTION ─── */
.dark-module { background: var(--primary-blue); color: #fff; padding: 60px 0; margin: 60px 0; border-top: 4px solid var(--accent-cyan); }
.dark-module .section-header { border-bottom-color: rgba(255,255,255,0.2); }
.dark-module .section-header h2 { color: #fff; }
.dark-module .section-header h2::after { background: var(--accent-cyan); }
.dark-module .post-secondary-title, .dark-module .post-mini-title { color: #fff; }
.dark-module .post-secondary { border-bottom-color: rgba(255,255,255,0.1); }
.dark-module a:hover { color: var(--accent-cyan); }

/* ─── 4 COL DESK ─── */
.grid-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 30px; }
.post-block-img { height: 180px; width: 100%; overflow: hidden; border-radius: 2px; margin-bottom: 15px; }
.post-block-img img { width: 100%; height: 100%; object-fit: cover; }
.post-block-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 800; line-height: 1.3; }

/* ─── WIDGETS ─── */
.box-widget { background: var(--bg-inset); border: 1px solid var(--border-light); padding: 25px; border-top: 3px solid var(--border-heavy); margin-bottom: 30px; }
.box-title { font-family: 'Outfit'; font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.box-title::before { content: ""; display: block; width: 8px; height: 8px; background: var(--accent-cyan); }
.subscribe input { width: 100%; padding: 12px; border: 1px solid #ccc; font-family: 'Inter'; font-size: 13px; margin-bottom: 10px; outline: none; }
.subscribe button { width: 100%; padding: 12px; background: var(--primary-blue); color: #fff; font-family: 'Outfit'; font-weight: 800; border: none; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: 0.3s; }
.subscribe button:hover { background: var(--accent-cyan); }

/* ─── POST DETAIL PAGE ─── */
.article-container { max-width: 900px; margin: 40px auto; padding: 40px; background: #fff; border: 1px solid var(--border-light); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.article-header { text-align: center; margin-bottom: 40px; border-bottom: 1px solid var(--border-light); padding-bottom: 40px; }
.article-title { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900; line-height: 1.1; margin: 15px 0; }
.article-meta { font-family: 'Outfit'; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.article-hero { width: 100%; max-height: 500px; overflow: hidden; margin-bottom: 40px; }
.article-hero img { width: 100%; height: auto; display: block; }
.article-body { font-family: 'Inter'; font-size: 18px; line-height: 1.8; font-weight: 400; color: #333; }
.article-body p { margin-bottom: 25px; }

/* ─── FOOTER ─── */
footer { background: var(--primary-blue); color: #fff; padding: 80px 0 40px; border-top: 4px solid var(--accent-cyan); margin-top: 80px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.ft-logo { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; margin-bottom: 20px; }
.ft-desc { color: #9ab4ce; font-size: 14px; margin-bottom: 25px; max-width: 300px; }
.ft-title { font-family: 'Outfit'; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-cyan); margin-bottom: 20px; }
.ft-col ul { list-style: none; }
.ft-col ul li { margin-bottom: 12px; }
.ft-col ul li a { color: #9ab4ce; font-size: 14px; transition: color 0.2s; font-family: 'Outfit'; font-weight: 500; }
.ft-col ul li a:hover { color: #fff; }
.ft-bottom { text-align: center; margin-top: 80px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: #6b89a8; font-size: 12px; font-family: 'Inter'; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
