/*
Theme Name: ZyvenPress
Theme URI: https://zyvenpress.com
Author: Zyven Group
Author URI: https://zyvenpress.com
Description: Executive Next-Gen Global News & Intelligence Theme - Clean Canvas Edition.
Version: 3.2.0
License: GNU General Public License v2 or later
Text Domain: zyvenpress
*/

:root {
  --zp-bg: #ffffff;
  --zp-surface: #ffffff;
  --zp-surface-2: #f8f9fa;
  --zp-border: #eceae5;
  --zp-border-hover: rgba(255, 255, 255, 0.16);
  --zp-text: #111111;
  --zp-text-muted: #52525b;
  --zp-accent: #ef4444;
  --zp-accent-blue: #3b82f6;
  --zp-accent-cyan: #00e5ff;
  --zp-accent-green: #10b981;
  --zp-gold: #f59e0b;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "DM Mono", monospace;
}

html[data-mode="cream"], body.cream {
  --zp-bg: #f8f6f0;
  --zp-surface: #ffffff;
  --zp-surface-2: #ede8df;
  --zp-border: #dcd7cc;
  --zp-border-hover: #b8b1a2;
  --zp-text: #1a1a1a;
  --zp-text-muted: #5f5c56;
}

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

html, body {
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  color: var(--zp-text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

#zpMainContent {
  flex: 1 0 auto;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
}

/* =========================================================================
   EXECUTIVE ELITE HEADER WRAPPER
   ========================================================================= */
#zpEliteHeaderWrap {
  position: relative;
  width: 100%;
  top: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1000;
  background: #090b12;
  border-bottom: 1px solid var(--zp-border);
}

/* 1. TOP UTILITY RIBBON BAR */
.zp-elite-top-bar {
  background: linear-gradient(90deg, rgba(9, 11, 18, 0.98), rgba(15, 23, 42, 0.98), rgba(9, 11, 18, 0.98));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--zp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 36px;
  font-size: 11px;
  position: relative;
  z-index: 10;
}

.zp-elite-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zp-elite-edition-wrap {
  display: inline-flex;
  align-items: center;
}

.zp-edition-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--zp-border);
  border-radius: 6px;
  padding: 2px 8px;
  color: var(--zp-text);
  font-size: 11px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.zp-edition-select option {
  background: #0d111e;
  color: #fff;
}

.zp-elite-unified-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--zp-border);
  padding: 0 12px;
  height: 24px;
  border-radius: 12px;
  font-size: 11.5px;
  color: var(--zp-text);
}

.zp-meta-dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
}

.zp-city-name {
  font-weight: 700;
  font-size: 11.5px;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.zp-clock-display {
  font-family: var(--mono);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.zp-weather-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
}

.zp-aqi-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.zp-elite-top-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.zp-market-unified-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--zp-border);
  padding: 0 12px;
  height: 24px;
  border-radius: 12px;
  font-size: 11.5px;
  color: var(--zp-text);
}

.zp-mkt-badge {
  color: #34d399;
  font-weight: 800;
  font-size: 9.5px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.zp-mkt-subitem {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
}

.zp-mk-lbl {
  color: #94a3b8;
  font-size: 9.5px;
  text-transform: uppercase;
}

.zp-up {
  color: #34d399;
  font-weight: 800;
}

.zp-gold {
  color: #fbbf24;
  font-weight: 800;
}

.zp-elite-top-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 2px;
}

/* 2. MAIN EXECUTIVE HEADER BAR */
.zp-elite-main-bar {
  background: rgba(9, 10, 15, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--zp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 20px;
  min-height: 64px;
}

.zp-elite-brand-section {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.zp-elite-menu-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--zp-border);
  color: var(--zp-text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all 0.25s ease;
}

.zp-elite-menu-btn:hover {
  background: var(--zp-accent);
  border-color: var(--zp-accent);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.zp-elite-brand-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: #ffffff;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.zp-elite-brand-text span {
  background: linear-gradient(135deg, #ef4444, #8b5cf6, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.zp-elite-brand-badge {
  font-size: 9px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(139, 92, 246, 0.2));
  color: #f43f5e !important;
  -webkit-text-fill-color: #f43f5e !important;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.zp-elite-nav-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.zp-elite-nav-pills::-webkit-scrollbar { display: none; }

.zp-elite-nav-pills a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.zp-elite-nav-pills a:hover, .zp-elite-nav-pills a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.zp-elite-live-pill {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f43f5e !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

.zp-elite-live-pill:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}

.zp-pulse-dot-red {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  animation: zpPulse 1.4s infinite;
}

@keyframes zpPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.zp-elite-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.zp-elite-action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--zp-border);
  color: var(--zp-text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
}

.zp-elite-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: var(--zp-border-hover);
}

.zp-elite-sub-btn {
  background: linear-gradient(135deg, #ef4444, #8b5cf6, #00e5ff);
  color: #ffffff !important;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
}

.zp-elite-sub-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* 3. RADAR SUB BAR MARQUEE */
.zp-elite-radar-bar {
  background: #07090f;
  border-bottom: 1px solid var(--zp-border);
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 12px;
  overflow: hidden;
}

.zp-elite-radar-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ef4444;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-right: 18px;
  border-right: 1px solid var(--zp-border);
  flex-shrink: 0;
}

.zp-elite-radar-items {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 18px;
  white-space: nowrap;
  animation: zpTicker 35s linear infinite;
}
.zp-elite-radar-items:hover { animation-play-state: paused; }

.zp-elite-radar-items a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.zp-elite-radar-items a:hover { color: #ffffff; }

.zp-radar-cat-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}

@keyframes zpTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================================
   MASTER FOOTER STYLES
   ========================================================================= */
#zpNewsWebFooter, .zp-master-footer {
  background: linear-gradient(180deg, #090b12 0%, #04060a 100%);
  border-top: 1px solid var(--zp-border);
  padding: 60px 5vw 30px;
  margin-top: 60px;
  color: #cbd5e1;
  width: 100%;
}

.zp-footer-newsletter {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 50px;
}

.zp-fnl-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.zp-fnl-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.zp-fnl-info h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #ffffff;
  font-weight: 800;
}

.zp-fnl-info p {
  margin: 0;
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.5;
}

.zp-fnl-input-wrap {
  display: flex;
  align-items: center;
  background: #121624;
  border: 1px solid var(--zp-border);
  border-radius: 10px;
  padding: 6px;
}

.zp-fnl-input-wrap i {
  padding: 0 10px 0 14px;
  color: #64748b;
  font-size: 16px;
}

.zp-fnl-input-wrap input {
  background: transparent;
  border: none;
  color: #ffffff;
  outline: none;
  font-size: 14px;
  flex: 1;
}

.zp-fnl-input-wrap button {
  background: var(--zp-accent);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.zp-fnl-input-wrap button:hover { background: #dc2626; }

.zp-fnl-consent {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 8px;
}

.zp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.zp-fbrand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.zp-bar-accent {
  width: 4px;
  height: 20px;
  background: var(--zp-accent);
  border-radius: 2px;
}

.zp-brand-name {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.zp-brand-dot {
  width: 6px;
  height: 6px;
  background: var(--zp-accent);
  border-radius: 50%;
}

.zp-fdesc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 16px;
}

.zp-ftrust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.zp-footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.zp-flinks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zp-flinks a {
  color: #94a3b8;
  font-size: 13.5px;
  transition: color 0.2s;
}

.zp-flinks a:hover {
  color: #ffffff;
}

.zp-footer-bottom {
  border-top: 1px solid var(--zp-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.zp-fcopy {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zp-fdot { color: #475569; }

.zp-flegal-row {
  display: flex;
  gap: 16px;
}

.zp-flegal-row a {
  color: #94a3b8;
  transition: color 0.2s;
}
.zp-flegal-row a:hover { color: #ffffff; }

/* =========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================= */
@media (max-width: 960px) {
  .zp-fnl-inner { grid-template-columns: 1fr; }
  .zp-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .zp-elite-top-right { display: none; }
  .zp-elite-nav-pills { display: none; }
}

@media (max-width: 650px) {
  .zp-elite-top-bar { height: 34px; padding: 0 12px; font-size: 10.5px; }
  .zp-elite-edition-wrap { display: none; }
  .zp-city-name { display: none; }
  .zp-elite-main-bar { padding: 8px 16px; min-height: 56px; }
  .zp-elite-brand-text { font-size: 20px; }
  .zp-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .zp-footer-newsletter { padding: 20px 16px; }
  .zp-footer-bottom { flex-direction: column; align-items: flex-start; }
}
