/*
Theme Name: Eagle Newswire
Theme URI: https://eaglenewswire.com/
Author: Eagle Newswire
Description: Premium press/newswire WordPress theme with front-end newsroom layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: eagle-newswire
*/

:root {
  --en-ink: #111827;
  --en-muted: #5b6472;
  --en-line: #dfe5ee;
  --en-paper: #f7f9fc;
  --en-brand: #0b4d89;
  --en-brand-dark: #08345d;
  --en-gold: #f3b33d;
  --en-white: #ffffff;
  --en-shadow: 0 18px 45px rgba(16, 24, 40, 0.12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--en-ink);
  background: var(--en-paper);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.en-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.en-topbar { background: var(--en-brand-dark); color: rgba(255,255,255,0.86); font-size: 13px; }
.en-topbar .en-wrap, .en-nav .en-wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.en-topbar .en-wrap { min-height: 38px; }
.en-topbar strong { color: #fff; }
.en-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--en-line); backdrop-filter: blur(14px); }
.en-nav .en-wrap { min-height: 74px; }
.en-brand { display: flex; align-items: center; gap: 12px; font-weight: 850; font-size: 22px; }
.en-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--en-brand), #1680c4); color: #fff; box-shadow: 0 10px 20px rgba(11,77,137,0.26); font-weight: 900; }
.en-navlinks { display: flex; align-items: center; gap: 22px; color: #334155; font-weight: 700; font-size: 14px; }
.en-btn, button.en-btn, input.en-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font-weight: 800; cursor: pointer; }
.en-btn-primary { background: var(--en-gold); color: #1d2733; }
.en-btn-dark { background: var(--en-brand); color: #fff; }
.en-btn-light { background: #fff; color: var(--en-brand); border-color: rgba(11,77,137,0.22); }
.en-hero { background: linear-gradient(90deg, rgba(8,52,93,0.96), rgba(8,52,93,0.78), rgba(8,52,93,0.32)), url("https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=1800&q=82") center/cover; color: #fff; min-height: 620px; display: grid; align-items: center; }
.en-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr); gap: 48px; align-items: center; padding: 72px 0; }
.en-eyebrow { display: inline-flex; padding: 7px 10px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; font-size: 13px; font-weight: 800; }
.en-hero h1 { max-width: 780px; margin: 18px 0; font-size: clamp(42px, 6vw, 74px); line-height: 0.98; letter-spacing: 0; }
.en-hero p { max-width: 650px; margin: 0 0 30px; color: rgba(255,255,255,0.86); font-size: 18px; }
.en-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.en-panel, .en-card, .en-package, .en-auth-box { background: #fff; border: 1px solid var(--en-line); border-radius: 8px; box-shadow: 0 10px 24px rgba(16,24,40,0.06); }
.en-panel { color: var(--en-ink); padding: 24px; box-shadow: var(--en-shadow); }
.en-panel h2 { margin: 0 0 6px; font-size: 24px; }
.en-panel p, .en-muted { color: var(--en-muted); }
.en-field { display: grid; gap: 6px; margin-bottom: 12px; }
.en-field label { color: #334155; font-size: 13px; font-weight: 800; }
.en-field input, .en-field select, .en-field textarea { width: 100%; min-height: 44px; border: 1px solid var(--en-line); border-radius: 8px; padding: 10px 12px; font: inherit; background: #fff; }
.en-field textarea { min-height: 130px; resize: vertical; }
.en-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--en-line); border-bottom: 1px solid var(--en-line); }
.en-stat { background: #fff; padding: 26px 24px; }
.en-stat strong { display: block; color: var(--en-brand); font-size: 28px; }
.en-stat span { color: var(--en-muted); font-weight: 700; font-size: 14px; }
.en-section { padding: 70px 0; }
.en-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.en-section-head h2, .en-page-title { margin: 0; font-size: 36px; line-height: 1.08; }
.en-section-head p { max-width: 560px; margin: 8px 0 0; color: var(--en-muted); }
.en-release-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.en-card { overflow: hidden; }
.en-card-featured { grid-row: span 2; }
.en-thumb { min-height: 160px; background: linear-gradient(135deg, #dceeff, #eef5ff); display: flex; align-items: end; padding: 18px; }
.en-card-featured .en-thumb { min-height: 330px; }
.en-thumb.has-image { background-size: cover; background-position: center; }
.en-tag { display: inline-flex; padding: 6px 9px; background: var(--en-brand); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 850; }
.en-card-body { padding: 18px; }
.en-card-body h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.2; }
.en-card-featured h3 { font-size: 28px; }
.en-meta { color: var(--en-muted); font-size: 13px; font-weight: 700; }
.en-categories { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.en-cat { background: #fff; border: 1px solid var(--en-line); border-radius: 8px; padding: 18px; min-height: 118px; }
.en-cat b { display: block; margin-top: 12px; }
.en-cat span { color: var(--en-muted); font-size: 13px; }
.en-icon { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: #e9f4ff; color: var(--en-brand); font-weight: 900; }
.en-packages { background: #fff; border-top: 1px solid var(--en-line); border-bottom: 1px solid var(--en-line); }
.en-package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.en-package { padding: 26px; }
.en-package-highlight { border-color: rgba(243,179,61,0.7); box-shadow: var(--en-shadow); }
.en-price { font-size: 36px; font-weight: 900; margin: 12px 0; }
.en-package ul { padding-left: 18px; color: var(--en-muted); }
.en-package li { margin: 9px 0; }
.en-ticker { background: var(--en-brand-dark); color: #fff; padding: 16px 0; overflow: hidden; white-space: nowrap; font-weight: 800; }
.en-ticker span { display: inline-block; margin-right: 34px; color: rgba(255,255,255,0.86); }
.en-content { padding: 62px 0; }
.en-content article { background: #fff; border: 1px solid var(--en-line); border-radius: 8px; padding: min(42px, 6vw); }
.en-auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 48px 16px; background: linear-gradient(135deg, #eef6ff, #ffffff); }
.en-auth-box { width: min(460px, 100%); padding: 28px; }
.en-auth-box h1 { margin-top: 0; }
.en-alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; background: #eef6ff; color: #08345d; border: 1px solid #cfe4fa; }
.en-footer { background: #0f172a; color: rgba(255,255,255,0.78); padding: 44px 0; }
.en-footer .en-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.en-footer strong { color: #fff; }
@media (max-width: 900px) {
  .en-navlinks { display: none; }
  .en-hero-grid, .en-release-grid, .en-package-grid { grid-template-columns: 1fr; }
  .en-stats, .en-categories { grid-template-columns: repeat(2, 1fr); }
  .en-hero { min-height: auto; }
  .en-section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  .en-topbar .en-wrap { align-items: start; flex-direction: column; padding: 10px 0; }
  .en-stats, .en-categories { grid-template-columns: 1fr; }
  .en-hero h1 { font-size: 40px; }
  .en-section { padding: 48px 0; }
}
