/*
Theme Name: Eagle Newswire
Theme URI: https://eaglenewswire.com/
Author: Eagle Newswire
Description: Premium press/newswire WordPress theme with front-end newsroom layout.
Version: 2.8.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: #087c70;
  --en-brand-dark: #075f56;
  --en-gold: #c9ee65;
  --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: linear-gradient(90deg, #061d35, 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.92); border-bottom: 1px solid rgba(11,77,137,0.12); backdrop-filter: blur(16px); box-shadow: 0 12px 28px rgba(15,23,42,0.06); }
.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("assets/newsroom-hero.webp") 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: radial-gradient(circle at 20% 15%, #dceeff, transparent 30%), linear-gradient(135deg, #eef6ff, #ffffff); }
.en-auth-box { width: min(500px, 100%); padding: 28px; }
.en-auth-premium { border-color: rgba(11,77,137,0.16); box-shadow: 0 24px 70px rgba(8,52,93,0.16); }
.en-auth-visual { margin: -6px -6px 20px; }
.en-auth-visual svg { width: 100%; display: block; border-radius: 8px; }
.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-dashboard { padding: 56px 0 76px; background: linear-gradient(180deg, #eef6ff 0%, #f7f9fc 42%, #fff 100%); }
.en-dashboard-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--en-brand-dark), var(--en-brand)); box-shadow: var(--en-shadow); margin-bottom: 22px; }
.en-dashboard-hero h1 { margin: 12px 0 8px; font-size: clamp(34px, 5vw, 58px); line-height: 1; }
.en-dashboard-hero p { max-width: 660px; margin: 0; color: rgba(255,255,255,0.82); }
.en-dashboard-badge { flex: 0 0 auto; padding: 12px 14px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.24); font-weight: 900; }
.en-dashboard-badge.is-verified { background: rgba(15,143,98,0.18); border-color: rgba(255,255,255,0.34); }
.en-dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 22px 0; }
.en-dash-card { padding: 22px; border-radius: 8px; background: #fff; border: 1px solid var(--en-line); box-shadow: 0 12px 28px rgba(16,24,40,0.07); }
.en-dash-card span { color: var(--en-muted); font-weight: 800; font-size: 13px; }
.en-dash-card strong { display: block; margin-top: 8px; color: var(--en-brand); font-size: 34px; line-height: 1; }
.en-dashboard-panel { background: #fff; border: 1px solid var(--en-line); border-radius: 8px; box-shadow: var(--en-shadow); padding: 24px; }
.en-dashboard-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.en-dashboard-panel h2 { margin: 0; }
.en-table-wrap { overflow-x: auto; }
.en-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.en-table th, .en-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--en-line); }
.en-table th { color: #334155; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.en-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; background: #eef6ff; color: var(--en-brand); }
.en-status-pending { background: #fff7e6; color: #935f00; }
.en-status-publish { background: #e9f9f2; color: #08764c; }
.en-footer { background: radial-gradient(circle at 20% 0%, rgba(11,77,137,0.42), transparent 28%), #0f172a; color: rgba(255,255,255,0.78); padding: 48px 0; }
.en-footer .en-wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.en-footer strong { color: #fff; }
.en-footer-brand { display: flex; align-items: center; gap: 14px; max-width: 520px; }
.en-footer-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.en-footer-links a { padding: 9px 12px; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; color: rgba(255,255,255,0.86); }
@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, .en-dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .en-dashboard-hero, .en-dashboard-panel-head { align-items: start; flex-direction: column; }
  .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, .en-dashboard-grid { grid-template-columns: 1fr; }
  .en-hero h1 { font-size: 40px; }
  .en-section { padding: 48px 0; }
}

/* Publisher navigation and footer. */
.en-topbar { background: #192422; color: #d4dedb; font-size: 12px; }
.en-topbar .en-wrap { min-height: 34px; }
.en-topbar strong { font-size: 11px; }
.en-nav { background: #fff; border-bottom: 1px solid #dce6e2; box-shadow: 0 4px 20px rgba(25,36,34,.04); backdrop-filter: none; }
.en-nav .en-wrap { min-height: 88px; }
.en-brand { min-width: 0; font-size: 21px; }
.en-brand-link { display: flex; align-items: center; gap: 12px; min-width: 0; }
.en-mark { background: #087c70; box-shadow: none; border-radius: 4px; flex-shrink: 0; }
.en-wordmark { display: grid; gap: 2px; }
.en-wordmark strong { font-weight: 800; overflow-wrap: anywhere; }
.en-wordmark small { font-size: 9px; font-weight: 600; color: #697770; }
.en-brand .custom-logo { width: auto; max-width: 230px; max-height: 58px; object-fit: contain; }
.en-logo-slot { display: block; width: var(--en-logo-width); height: var(--en-logo-height); max-width: 100%; }
.en-brand .en-logo-slot { max-width: min(100%, 52vw); }
.en-logo-slot .en-logo-image { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: left center; }
.en-navigation { flex: 1; }
.en-navigation > summary { display: none; }
.en-navigation > .en-navlinks { display: flex; justify-content: flex-end; gap: 28px; }
.en-menu { display: flex; gap: 24px; align-items: center; list-style: none; padding: 0; margin: 0; }
.en-menu a { display: block; padding: 12px 0; }
.en-menu .current-menu-item > a { color: var(--en-brand); }
.en-account-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.en-account-actions > a:not(.en-btn) { font-size: 12px; color: #697770; }
.en-btn-dark:hover, .en-btn-dark:focus-visible { background: #075f56; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #087c70; outline-offset: 4px; }
.en-field input:focus { outline: 2px solid #087c70; outline-offset: 2px; }
.en-resend { width: min(480px, 100%); margin: 18px auto 0; padding: 16px 0; color: #43534c; font-size: 14px; }
.en-dashboard-hero { background: #192422; }
.en-resend summary { cursor: pointer; font-weight: 600; }
.en-resend form { margin-top: 18px; }
.en-footer { background: #192422; border-top: 4px solid #c9ee65; padding: 56px 0 0; color: #aebdb6; }
.en-footer .en-footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 64px; padding-bottom: 48px; }
.en-footer-brand { color: #fff; font-size: 22px; gap: 12px; }
.en-footer-about p { max-width: 400px; font-size: 14px; margin: 20px 0; }
.en-footer-cta { display: inline-flex; align-items: center; gap: 24px; color: #c9ee65; font-weight: 700; font-size: 14px; }
.en-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; }
.en-footer-column h2 { font-size: 13px; color: #fff; margin: 0 0 8px; }
.en-footer-column a:hover { color: #c9ee65; }
.en-footer .en-footer-bottom { display: flex; border-top: 1px solid #3c4842; padding: 22px 0; font-size: 12px; gap: 16px; }
.en-table th { letter-spacing: 0; }
@media (min-width: 901px) {
  .en-navigation:not([open]) > .en-navlinks { display: flex; }
}
@media (max-width: 900px) {
  .en-nav .en-wrap { flex-wrap: wrap; gap: 0; padding: 16px 0; min-height: 76px; }
  .en-brand { flex: 1; padding-right: 12px; }
  .en-navigation { flex: none; }
  .en-navigation > summary { display: flex; gap: 12px; padding: 10px 14px; border: 1px solid #dce6e2; border-radius: 4px; cursor: pointer; font-size: 14px; }
  .en-navigation:not([open]) > .en-navlinks { display: none; }
  .en-navigation[open] { width: 100%; margin-top: 12px; }
  .en-navigation[open] > summary { width: fit-content; margin-left: auto; }
  .en-navigation[open] > .en-navlinks { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 0 0; }
  .en-menu { flex-wrap: wrap; }
  .en-footer .en-footer-grid { gap: 32px; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .en-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .en-topbar .en-wrap { display: block; padding: 8px 0; }
  .en-topbar-right { display: none; }
  .en-wordmark strong { font-size: 17px; }
  .en-brand .custom-logo { max-width: 190px; }
  .en-brand .en-logo-slot { height: min(var(--en-logo-height), 120px); }
  .en-footer .en-footer-bottom { flex-direction: column; }
}
