/*
 * Hagerie Elementor Widgets — Shared Stylesheet
 * Dark broadcast-style theme matching the Hagerie TV UI/UX design.
 * All widgets use the .nz- namespace to avoid conflicts.
 */

/* ── CSS Variables (override via Blocksy / child theme) ─────────────────── */
:root {
  --nz-accent:        #f0a824;              /* gold — LIVE / on-air / highlights */
  --nz-accent-2:      #4d7fe0;              /* blue — primary category / links */
  --nz-cta-bg:         #cddbf6;             /* light-blue CTA button */
  --nz-cta-text:       #14161a;
  --nz-text:          #ffffff;
  --nz-text-muted:    #9aa0a8;
  --nz-text-dim:      #6c7178;
  --nz-bg:            #151c28;              /* card / surface background */
  --nz-bg-light:      #1c2536;              /* nested surface */
  --nz-page-bg:       #0e0f12;              /* section / page background */
  --nz-border:        rgba(255,255,255,0.08);
  --nz-radius:         12px;
  --nz-radius-sm:      6px;
  --nz-font-heading:  inherit;
  --nz-font-body:     inherit;
  --nz-transition:    0.25s ease;
}

/* ── Shared Utilities ────────────────────────────────────────────────────── */
.nz-cat-label {
  display: inline-block;
  background-color: var(--nz-accent-2);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--nz-radius-sm);
  margin-bottom: 8px;
  white-space: nowrap;
}

/* Flat (no background) category label used on dark cards — colour varies */
.nz-cat-text {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--nz-accent);
}
.nz-cat-text.is-blue   { color: var(--nz-accent-2); }
.nz-cat-text.is-gold   { color: var(--nz-accent); }
.nz-cat-text.is-orange { color: #e8874a; }
.nz-cat-text.is-green  { color: #4bb17a; }
.nz-cat-text.is-red    { color: #e2584f; }

.nz-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
  gap: 16px;
}

.nz-section-heading { display: flex; flex-direction: column; gap: 4px; }

.nz-section-title {
  font-family: var(--nz-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--nz-text);
  margin: 0;
  position: relative;
  padding-left: 0;
}
.nz-section-title::before { content: none; }

.nz-section-subtitle {
  font-size: 13px;
  color: var(--nz-text-muted);
  margin: 0;
}

.nz-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: var(--nz-accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  transition: opacity var(--nz-transition);
  white-space: nowrap;
}
.nz-view-all::after { content: '\2192'; font-size: 13px; transition: transform var(--nz-transition); }
.nz-view-all:hover { opacity: 0.8; }
.nz-view-all:hover::after { transform: translateX(3px); }

.nz-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--nz-text-muted);
  margin-top: 6px;
}
.nz-meta-author { font-weight: 600; color: var(--nz-text); }

/* Card shared styles */
.nz-card {
  background: var(--nz-bg);
  border: 1px solid var(--nz-border);
  border-radius: var(--nz-radius);
  overflow: hidden;
  transition: transform var(--nz-transition), border-color var(--nz-transition);
}
.nz-card:hover { border-color: rgba(255,255,255,0.16); }
.nz-card-thumb-wrap { position: relative; overflow: hidden; padding-bottom: 58%; background: var(--nz-bg-light); }
.nz-card-thumb-wrap img,
.nz-card-thumb-wrap a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.nz-card:hover .nz-card-thumb-wrap img { transform: scale(1.04); }
.nz-card-body { padding: 16px; }
.nz-card-title { font-family: var(--nz-font-heading); font-size: 16px; font-weight: 800; line-height: 1.35; margin: 0 0 6px; }
.nz-card-title a { color: var(--nz-text); text-decoration: none; }
.nz-card-title a:hover { color: var(--nz-accent); }
.nz-card-excerpt { font-size: 13px; color: var(--nz-text-muted); line-height: 1.5; margin: 0; }


/* ── Hero Carousel ───────────────────────────────────────────────────────── */
.nz-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: stretch;
}

/* Main slider */
.nz-hero-left { position: relative; border-radius: var(--nz-radius); overflow: hidden; }
.nz-hero-slider { position: relative; width: 100%; height: 100%; border-radius: var(--nz-radius); overflow: hidden; }

.nz-hero-main-slide {
  display: none;
  height: 560px;
  background-size: cover;
  background-position: center;
  background-color: var(--nz-bg-light);
  position: relative;
  border-radius: var(--nz-radius);
}
.nz-hero-main-slide.active { display: block; }
.nz-hero-main-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.05) 0%, rgba(10,10,12,0.15) 45%, rgba(8,9,11,0.92) 100%);
  pointer-events: none;
}

.nz-hero-top-bar { pointer-events: none; }
.nz-hero-cat-pill {
  background-color: var(--nz-accent-2) !important;
  color: #fff !important;
  border-radius: var(--nz-radius-sm) !important;
  font-family: var(--nz-font-body);
}

/* Arrows are subtle, revealed on hover to match the clean reference UI */
.nz-hero-arrows { opacity: 0; transition: opacity var(--nz-transition); }
.nz-hero-left:hover .nz-hero-arrows { opacity: 1; }
.nz-hero-arrow { backdrop-filter: blur(4px); }

.nz-hero-slide-inner {
  position: absolute;
  bottom: 32px; left: 32px; right: 32px;
  z-index: 2;
}
.nz-hero-title {
  font-family: var(--nz-font-heading);
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: 640px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.nz-hero-title a { color: #fff; text-decoration: none; }
.nz-hero-title a:hover { opacity: 0.9; }
.nz-hero-excerpt { color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.55; margin: 0 0 18px; max-width: 560px; }
.nz-hero-meta { color: rgba(255,255,255,0.7); font-size: 12px; display: flex; gap: 16px; margin-bottom: 14px; }
.nz-hero-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.nz-hero-author { font-weight: 600; }

/* Watch Highlights CTA */
.nz-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--nz-cta-bg);
  color: var(--nz-cta-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: var(--nz-radius-sm);
  text-decoration: none;
  transition: transform var(--nz-transition), opacity var(--nz-transition);
}
.nz-hero-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.nz-hero-cta svg { flex-shrink: 0; }

/* Dots */
.nz-hero-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.nz-hero-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background var(--nz-transition);
}
.nz-hero-dots span.active { background: var(--nz-accent); }

/* Sidebar of stacked story cards next to the hero */
.nz-hero-right { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.nz-hero-side-card {
  position: relative;
  display: block;
  flex: 1;
  min-height: 160px;
  background: var(--nz-bg);
  border: 1px solid var(--nz-border);
  border-radius: var(--nz-radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--nz-transition);
}
.nz-hero-side-card:hover { border-color: rgba(255,255,255,0.18); }
.nz-hero-side-thumb {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--nz-bg-light);
}
.nz-hero-side-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.nz-hero-side-card:hover .nz-hero-side-thumb img { transform: scale(1.05); }
.nz-hero-side-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8,9,13,0.94) 100%);
  pointer-events: none;
}
.nz-hero-side-overlay {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 2;
}
.nz-hero-side-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.nz-hero-side-card:hover .nz-hero-side-title { color: var(--nz-accent); }

@media (max-width: 900px) {
  .nz-hero-wrap { grid-template-columns: 1fr; }
  .nz-hero-right { flex-direction: row; overflow-x: auto; }
  .nz-hero-side-card { min-width: 240px; }
  .nz-hero-main-slide { height: 380px; }
  .nz-hero-title { font-size: 24px; }
}
@media (max-width: 560px) {
  .nz-hero-side-card { min-width: 200px; }
}

/* Standalone use (Trending Posts Sidebar widget, not nested in the hero grid) */
.nz-trending-sidebar .nz-hero-right { height: auto; }
.nz-trending-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--nz-text);
  margin: 0 0 16px;
}

/* Numbered "Trending Now" card style */
.nz-trending-card {
  background: var(--nz-bg);
  border: 1px solid var(--nz-border);
  border-radius: var(--nz-radius);
  padding: 24px;
}
.nz-trending-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--nz-accent-2);
  margin: 0 0 22px;
}
.nz-trending-heading svg { flex-shrink: 0; }
.nz-trending-list { display: flex; flex-direction: column; gap: 22px; }
.nz-trending-row { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.nz-trending-index {
  font-size: 32px;
  font-weight: 800;
  color: rgba(255,255,255,0.16);
  line-height: 1.05;
  min-width: 32px;
  flex-shrink: 0;
}
.nz-trending-row-body { padding-top: 2px; }
.nz-trending-row-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--nz-text);
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nz-trending-row:hover .nz-trending-row-title { color: var(--nz-accent); }
.nz-trending-time { font-size: 12px; color: var(--nz-text-muted); }
.nz-trending-footer { margin-top: 18px; }


/* ── Now On Air Ticker ───────────────────────────────────────────────────── */
.nz-onair-wrap { display: flex; align-items: center; gap: 24px; padding: 20px 0; }
.nz-onair-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nz-accent);
  flex-shrink: 0;
}
.nz-onair-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--nz-accent);
  box-shadow: 0 0 0 0 rgba(240,168,36,0.6);
  animation: nz-pulse 1.8s infinite;
}
@keyframes nz-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,168,36,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(240,168,36,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,168,36,0); }
}
.nz-onair-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.nz-onair-track::-webkit-scrollbar { display: none; }
.nz-onair-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--nz-radius-sm);
  text-decoration: none;
  flex-shrink: 0;
  min-width: 240px;
  border: 1px solid transparent;
  transition: background var(--nz-transition), border-color var(--nz-transition);
}
.nz-onair-item.is-live { background: var(--nz-bg); border-color: var(--nz-border); }
.nz-onair-item img { width: 68px; height: 52px; object-fit: cover; border-radius: var(--nz-radius-sm); flex-shrink: 0; }
.nz-onair-time { font-size: 12px; color: var(--nz-accent-2); font-weight: 700; margin: 0 0 4px; }
.nz-onair-item.is-live .nz-onair-time { color: var(--nz-accent-2); }
.nz-onair-title { font-size: 14px; font-weight: 700; color: var(--nz-text); margin: 0; line-height: 1.3; }

@media (max-width: 768px) {
  .nz-onair-wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
}


/* ── Match Center (score card + standings) ──────────────────────────────── */
.nz-matchcenter-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: start;
}
.nz-match-card {
  background: var(--nz-bg);
  border: 1px solid var(--nz-border);
  border-radius: var(--nz-radius);
  padding: 40px 32px;
  text-align: center;
}
.nz-match-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nz-accent);
  border: 1px solid rgba(240,168,36,0.4);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}
.nz-match-status.is-live { color: #e2584f; border-color: rgba(226,88,79,0.45); }
.nz-match-league { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--nz-text-muted); margin: 0 0 28px; }
.nz-match-teams { display: flex; align-items: center; justify-content: center; gap: 40px; }
.nz-match-team { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 1; }
.nz-match-crest { width: 72px; height: 72px; border-radius: var(--nz-radius-sm); object-fit: cover; background: var(--nz-bg-light); }
.nz-match-team-name { font-size: 18px; font-weight: 800; color: var(--nz-text); margin: 0; }
.nz-match-score { font-size: 46px; font-weight: 800; color: var(--nz-text); display: flex; align-items: center; gap: 16px; }
.nz-match-score-sep { color: var(--nz-text-dim); font-weight: 600; }

.nz-standings-card { background: var(--nz-bg); border: 1px solid var(--nz-border); border-radius: var(--nz-radius); overflow: hidden; }
.nz-standings-head { padding: 18px 20px; border-bottom: 1px solid var(--nz-border); }
.nz-standings-head h3 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--nz-text); }
.nz-standings-cols {
  display: grid;
  grid-template-columns: 28px 1fr 32px 32px 36px;
  gap: 8px;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nz-text-dim);
}
.nz-standings-row {
  display: grid;
  grid-template-columns: 28px 1fr 32px 32px 36px;
  gap: 8px;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--nz-border);
  font-size: 13px;
  color: var(--nz-text);
}
.nz-standings-pos { font-weight: 800; color: var(--nz-text-muted); }
.nz-standings-row.is-rank-1 .nz-standings-pos { color: var(--nz-accent-2); }
.nz-standings-row.is-rank-2 .nz-standings-pos { color: var(--nz-accent); }
.nz-standings-club { display: flex; align-items: center; gap: 10px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nz-standings-crest { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: var(--nz-bg-light); flex-shrink: 0; }
.nz-standings-pts { font-weight: 800; }
.nz-standings-p, .nz-standings-gd { color: var(--nz-text-muted); }

@media (max-width: 900px) {
  .nz-matchcenter-wrap { grid-template-columns: 1fr; }
  .nz-match-teams { gap: 20px; }
  .nz-match-crest { width: 56px; height: 56px; }
  .nz-match-score { font-size: 34px; }
}


/* ── Story Circles ───────────────────────────────────────────────────────── */
.nz-circles-wrap { overflow-x: auto; scrollbar-width: none; }
.nz-circles-wrap::-webkit-scrollbar { display: none; }
.nz-circles-track {
  display: flex;
  gap: 16px;
  padding: 8px 0 12px;
}
.nz-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  width: 80px;
}
.nz-circle-img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--nz-accent);
  transition: transform var(--nz-transition);
}
.nz-circle-item:hover .nz-circle-img { transform: scale(1.05); }
.nz-circle-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--nz-text);
  text-align: center;
  line-height: 1.2;
}


/* ── Latest News Grid ────────────────────────────────────────────────────── */

/* featured_list layout */
.nz-latest-wrap.nz-layout-featured_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.nz-featured-post .nz-card-thumb-wrap { padding-bottom: 65%; }
.nz-featured-post .nz-card-title { font-size: 18px; }

.nz-list-aside { display: flex; flex-direction: column; gap: 0; }
.nz-list-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--nz-border);
}
.nz-list-item img { width: 110px; height: 75px; object-fit: cover; border-radius: var(--nz-radius-sm); flex-shrink: 0; }
.nz-list-content { flex: 1; min-width: 0; }
.nz-list-title { font-size: 14px; font-weight: 700; margin: 4px 0 6px; line-height: 1.35; }
.nz-list-title a { color: var(--nz-text); text-decoration: none; }
.nz-list-title a:hover { color: var(--nz-accent); }

/* card_grid layout */
.nz-latest-wrap.nz-layout-card_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nz-latest-wrap.nz-layout-card_grid_4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.nz-latest-wrap.nz-layout-list_only { display: flex; flex-direction: column; }

@media (max-width: 900px) {
  .nz-latest-wrap.nz-layout-featured_list { grid-template-columns: 1fr; }
  .nz-latest-wrap.nz-layout-card_grid { grid-template-columns: repeat(2, 1fr); }
  .nz-latest-wrap.nz-layout-card_grid_4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nz-latest-wrap.nz-layout-card_grid,
  .nz-latest-wrap.nz-layout-card_grid_4 { grid-template-columns: 1fr; }
}


/* ── Most Read ───────────────────────────────────────────────────────────── */
.nz-rank-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--nz-accent);
  line-height: 1;
  min-width: 40px;
}

/* number_list layout */
.nz-most-read.nz-layout-number_list { display: flex; flex-direction: column; gap: 0; }
.nz-most-read-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--nz-border);
}
.nz-most-read-item img { width: 100px; height: 70px; object-fit: cover; border-radius: var(--nz-radius-sm); flex-shrink: 0; }
.nz-most-read-content { flex: 1; min-width: 0; }
.nz-most-read-content h4 { font-size: 14px; font-weight: 700; margin: 4px 0 4px; line-height: 1.35; }
.nz-most-read-content h4 a { color: var(--nz-text); text-decoration: none; }
.nz-most-read-content h4 a:hover { color: var(--nz-accent); }

/* card_with_num layout */
.nz-most-read.nz-layout-card_with_num {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nz-most-read-card { background: var(--nz-bg); border: 1px solid var(--nz-border); border-radius: var(--nz-radius); overflow: hidden; }
.nz-most-read-card .nz-card-thumb-wrap { padding-bottom: 65%; }
.nz-most-read-card .nz-card-thumb-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nz-most-read-card .nz-card-body { padding: 12px; }
.nz-most-read-card .nz-rank-num { display: block; font-size: 36px; }

@media (max-width: 768px) {
  .nz-most-read.nz-layout-card_with_num { grid-template-columns: repeat(2, 1fr); }
}


/* ── Category Feature Block ──────────────────────────────────────────────── */
.nz-cat-feature-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.nz-cat-feature-wrap.nz-layout-right { direction: rtl; }
.nz-cat-feature-wrap.nz-layout-right > * { direction: ltr; }

.nz-feature-img-wrap {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--nz-bg-light);
  min-height: 360px;
  border-radius: var(--nz-radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.nz-feature-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0) 0%, rgba(8,9,11,0.85) 100%);
}
.nz-feature-img-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: #fff;
}
.nz-feature-img-content h3 { font-size: 20px; font-weight: 800; margin: 8px 0 8px; color: #fff; }
.nz-feature-img-content h3 a { color: #fff; text-decoration: none; }
.nz-feature-img-content h3 a:hover { opacity: 0.85; }
.nz-feature-img-content p { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0 0 8px; }
.nz-feature-img-content .nz-meta { color: rgba(255,255,255,0.7); }
.nz-feature-img-content .nz-meta-author { color: #fff; }

.nz-cat-list-col { display: flex; flex-direction: column; }

@media (max-width: 768px) {
  .nz-cat-feature-wrap { grid-template-columns: 1fr; }
  .nz-feature-img-wrap { min-height: 260px; }
}


/* ── Video / Cinematic Banner ────────────────────────────────────────────── */
.nz-video-banner {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-color: var(--nz-bg-light);
  border-radius: var(--nz-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.nz-video-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0.1) 0%, rgba(8,9,11,0.9) 100%);
}
.nz-video-banner-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  color: #fff;
}
.nz-video-banner-content h2 { font-size: 26px; font-weight: 900; margin: 8px 0 0; color: #fff; line-height: 1.2; }
.nz-video-banner-content h2 a { color: #fff; text-decoration: none; }
.nz-video-banner-content p { color: rgba(255,255,255,0.75); font-size: 14px; margin: 8px 0 0; }

.nz-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--nz-cta-bg);
  color: var(--nz-cta-text);
  padding: 12px 22px;
  border-radius: var(--nz-radius-sm);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 18px;
  transition: opacity var(--nz-transition);
}
.nz-play-btn:hover { opacity: 0.88; }

.nz-video-banner-row {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  padding: 16px 32px 24px;
}
.nz-video-banner-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border-radius: var(--nz-radius-sm);
  overflow: hidden;
  flex: 1;
  padding: 0 0 10px;
}
.nz-video-banner-card img { width: 100%; height: 90px; object-fit: cover; display: block; }
.nz-video-banner-card h5 { font-size: 12px; font-weight: 700; color: #fff; padding: 8px 10px 0; margin: 0; line-height: 1.3; }
.nz-video-banner-card h5 a { color: #fff; text-decoration: none; }


/* ── Magazine Grid ───────────────────────────────────────────────────────── */
.nz-magazine-grid { display: grid; gap: 16px; }

/* large_left: 2 cols, first item spans all rows */
.nz-magazine-grid.nz-grid-large_left {
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto;
}
.nz-magazine-grid.nz-grid-large_left .nz-mag-featured {
  grid-row: 1 / span 99;
}

/* large_top: 1 wide + row of 3 */
.nz-magazine-grid.nz-grid-large_top { grid-template-columns: repeat(3, 1fr); }
.nz-magazine-grid.nz-grid-large_top .nz-mag-item-0 { grid-column: 1 / -1; }

/* equal layouts */
.nz-magazine-grid.nz-grid-equal_3 { grid-template-columns: repeat(3, 1fr); }
.nz-magazine-grid.nz-grid-equal_4 { grid-template-columns: repeat(4, 1fr); }

/* mosaic 5 */
.nz-magazine-grid.nz-grid-mosaic_5 { grid-template-columns: repeat(4, 1fr); }
.nz-magazine-grid.nz-grid-mosaic_5 .nz-mag-item-0 { grid-column: span 2; }
.nz-magazine-grid.nz-grid-mosaic_5 .nz-mag-item-4 { grid-column: span 2; }

/* Shared mag item */
.nz-mag-item { background: var(--nz-bg); border: 1px solid var(--nz-border); border-radius: var(--nz-radius); overflow: hidden; }
.nz-mag-img-wrap {
  position: relative;
  padding-bottom: 65%;
  background-size: cover;
  background-position: center;
  background-color: var(--nz-bg-light);
  overflow: hidden;
}
.nz-mag-item-0 .nz-mag-img-wrap { padding-bottom: 60%; }
.nz-mag-img-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.nz-mag-img-wrap.has-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0) 0%, rgba(8,9,11,0.85) 100%);
}
.nz-mag-img-overlay-content {
  position: absolute;
  bottom: 16px; left: 14px; right: 14px;
  z-index: 2;
  color: #fff;
}
.nz-mag-img-overlay-content h3 { font-size: 15px; font-weight: 800; margin: 6px 0 0; color: #fff; }
.nz-mag-img-overlay-content h3 a { color: #fff; text-decoration: none; }
.nz-mag-content { padding: 14px; }
.nz-mag-content h3 { font-size: 15px; font-weight: 700; margin: 6px 0 6px; line-height: 1.35; }
.nz-mag-content h3 a { color: var(--nz-text); text-decoration: none; }
.nz-mag-content h3 a:hover { color: var(--nz-accent); }
.nz-mag-content p { font-size: 13px; color: var(--nz-text-muted); line-height: 1.5; margin: 0; }

@media (max-width: 768px) {
  .nz-magazine-grid.nz-grid-large_left,
  .nz-magazine-grid.nz-grid-equal_3,
  .nz-magazine-grid.nz-grid-equal_4 { grid-template-columns: repeat(2, 1fr); }
  .nz-magazine-grid.nz-grid-large_left .nz-mag-featured { grid-row: auto; }
}
@media (max-width: 480px) {
  .nz-magazine-grid { grid-template-columns: 1fr !important; }
}


/* ── Author Cards ────────────────────────────────────────────────────────── */
.nz-author-cards-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nz-author-card {
  background: var(--nz-bg);
  border: 1px solid var(--nz-border);
  border-radius: var(--nz-radius);
  padding: 20px;
}
.nz-author-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.nz-author-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--nz-accent);
  flex-shrink: 0;
}
.nz-author-name { font-size: 15px; font-weight: 800; margin: 0 0 2px; color: var(--nz-text); }
.nz-author-name a { color: var(--nz-text); text-decoration: none; }
.nz-author-name a:hover { color: var(--nz-accent); }
.nz-author-role { font-size: 11px; color: var(--nz-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.nz-author-bio { font-size: 13px; color: var(--nz-text-muted); line-height: 1.5; margin: 0 0 10px; }
.nz-author-latest { font-size: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--nz-border); }
.nz-author-latest-label { font-weight: 700; color: var(--nz-accent); margin-right: 4px; }
.nz-author-latest-title { color: var(--nz-text); text-decoration: none; line-height: 1.3; }
.nz-author-latest-title:hover { color: var(--nz-accent); }
.nz-author-social { display: flex; gap: 8px; margin-top: 10px; }
.nz-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--nz-bg-light);
  border: 1px solid var(--nz-border);
  color: var(--nz-text);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--nz-transition), border-color var(--nz-transition);
}
.nz-social-link:hover { background: var(--nz-accent); border-color: var(--nz-accent); color: #14161a; }

@media (max-width: 768px) { .nz-author-cards-wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nz-author-cards-wrap { grid-template-columns: 1fr; } }


/* ── Category Counter Widget ────────────────────────────────────────────── */
.nz-section-header.no-border {
    border-bottom: none;
    margin-bottom: 15px;
}

.nz-arrow-icon {
    font-size: 1.2em;
    vertical-align: middle;
    margin-left: 5px;
    font-weight: 300;
}

.nz-cat-counter-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nz-cat-counter-item {
    display: flex;
    height: 90px;
    background: var(--nz-bg);
    border: 1px solid var(--nz-border);
    border-radius: var(--nz-radius);
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--nz-transition), border-color var(--nz-transition);
}

.nz-cat-counter-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.18);
}

.nz-cat-counter-bg {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--nz-bg-light);
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.nz-cat-counter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.nz-cat-counter-name {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--nz-font-heading);
}

/* ── Hover Effect Styles ────────────────────────────────────────────────── */

.nz-cat-count-wrap {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nz-bg);
    border-left: 1px solid var(--nz-border);
    /* Smooth transitions for the hover effect */
    transition: background-color var(--nz-transition), border-color var(--nz-transition);
}

.nz-cat-count-num {
    font-size: 20px;
    font-weight: 700;
    /* Default state uses the primary brand accent */
    color: var(--nz-accent-2);
    transition: color var(--nz-transition);
}

/* Hover State: Background fills with the blue accent, border hides */
.nz-cat-counter-item:hover .nz-cat-count-wrap {
    background-color: var(--nz-accent-2);
    border-left-color: var(--nz-accent-2);
}

/* Hover State: Number changes to gold */
/* The !important flag ensures Elementor's inline color controls don't override the hover state */
.nz-cat-counter-item:hover .nz-cat-count-num {
    color: var(--nz-accent) !important;
}
