/*
Theme Name: newsnewstoktheme
Theme URI: https://newstok.gr
Author: newstokgr
Author URI: https://newstok.gr
Description: A modern, magazine-style WordPress news theme with breaking news ticker, category color-coding, dark mode support, and magazine-style layouts. Built for digital-first newsrooms and publishers who demand speed, clarity, and visual impact.
Version: 1.0.33
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newstoktheme
Tags: news, magazine, blog, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, two-columns, wide-blocks

newnewstoktheme WordPress Theme, Copyright 2024 newstokgr
newnewstoktheme is distributed under the terms of the GNU GPL
*/

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Brand Colors */
  --nw-red: #e63329;
  --nw-red-dark: #c0271e;
  --nw-red-light: #ff4a40;
  --nw-navy: #0d1b2a;
  --nw-navy-light: #1a2d42;
  --nw-white: #ffffff;
  --nw-off-white: #f8f9fa;
  --nw-light-gray: #e9ecef;
  --nw-mid-gray: #adb5bd;
  --nw-dark-gray: #495057;
  --nw-black: #111111;

  /* Category Colors — Greek categories */
  --cat-ellada:     #2563eb;
  --cat-astynomika: #b91c1c;
  --cat-diethni:    #16a34a;
  --cat-politiki:   #4338ca;
  --cat-oikonomia:  #d97706;
  --cat-athlitika:  #ea580c;
  --cat-media:      #7c3aed;
  --cat-ygeia:      #0d9488;
  --cat-apopseis:   #475569;

  /* Typography */
  --font-headline: 'Roboto', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --nw-container: 1280px;
  --nw-gap: 24px;
  --nw-radius: 4px;
  --nw-radius-lg: 8px;

  /* Transitions */
  --nw-transition: 0.2s ease;
  --nw-transition-slow: 0.4s ease;

  /* Shadows */
  --nw-shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --nw-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --nw-shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.08);

  /* Header */
  --nw-header-bg: var(--nw-navy);
  --nw-header-text: var(--nw-white);

  /* Body */
  --nw-body-bg: var(--nw-off-white);
  --nw-body-text: var(--nw-black);
  --nw-card-bg: var(--nw-white);
  --nw-border: var(--nw-light-gray);
}

/* Dark Mode */
.dark-mode,
[data-theme="dark"] {
  --nw-body-bg: #0f172a;
  --nw-body-text: #e2e8f0;
  --nw-card-bg: #1e293b;
  --nw-border: #334155;
  --nw-off-white: #1e293b;
  --nw-dark-gray: #94a3b8;
  --nw-mid-gray: #64748b;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--nw-body-text);
  background-color: var(--nw-body-bg);
  transition: background-color var(--nw-transition-slow), color var(--nw-transition-slow);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--nw-red); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
  color: var(--nw-body-text);
}

p { margin-bottom: 1rem; }

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.nw-container {
  width: 100%;
  max-width: var(--nw-container);
  margin: 0 auto;
  padding: 0 20px;
}

.nw-grid {
  display: grid;
  gap: var(--nw-gap);
}

.nw-grid-2 { grid-template-columns: repeat(2, 1fr); }
.nw-grid-3 { grid-template-columns: repeat(3, 1fr); }
.nw-grid-4 { grid-template-columns: repeat(4, 1fr); }
.nw-grid-content-sidebar { grid-template-columns: 1fr 320px; }

.nw-section { padding: 40px 0; }
.nw-section--sm { padding: 24px 0; }
.nw-section--lg { padding: 64px 0; }

/* ==========================================================================
   4. BREAKING NEWS TICKER
   ========================================================================== */

/* Breaking Ticker — matches React BreakingTicker: dark bar below sticky header */
.nw-ticker {
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  height: 36px;
}

.nw-ticker__inner {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.nw-ticker__label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--nw-red);
  color: var(--nw-white);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 14px;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 10;
  box-shadow: 4px 0 12px rgba(0,0,0,0.4);
}

.nw-ticker__track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* left & right fade edges */
.nw-ticker__track::before,
.nw-ticker__track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  z-index: 2;
  pointer-events: none;
}
.nw-ticker__track::before { left: 0;  background: linear-gradient(to right,  #0f0f0f, transparent); }
.nw-ticker__track::after  { right: 0; background: linear-gradient(to left,   #0f0f0f, transparent); }

.nw-ticker__items {
  display: flex;
  align-items: center;
  height: 100%;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}

.nw-ticker__item {
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
  color: #d4d4d8;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: color .2s;
  text-decoration: none;
}
a.nw-ticker__item:hover { color: #0be6af; }

.nw-ticker__item::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0be6af;
  opacity: 0.5;
  flex-shrink: 0;
}

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

.nw-ticker:hover .nw-ticker__items { animation-play-state: paused; }

/* Live indicator (right side of ticker) */
.nw-ticker__live {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-left: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0be6af;
}

.nw-ticker__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0be6af;
  box-shadow: 0 0 6px rgba(11,230,175,0.55);
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */

.nw-header {
  background: var(--nw-header-bg);
  color: var(--nw-header-text);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nw-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.nw-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nw-header__logo-mark {
  background: var(--nw-red);
  color: white;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.6rem;
  padding: 4px 10px;
  letter-spacing: -0.02em;
}

.nw-header__logo-text {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--nw-white);
  letter-spacing: -0.02em;
}

.nw-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nw-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nw-nav__link {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--nw-radius);
  transition: all var(--nw-transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nw-nav__link:hover,
.nw-nav__link.active {
  color: var(--nw-white);
  background: rgba(255,255,255,0.1);
}

.nw-nav__link--breaking {
  color: var(--nw-red-light);
  font-weight: 700;
}

.nw-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nw-btn-icon {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--nw-white);
  width: 36px;
  height: 36px;
  border-radius: var(--nw-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--nw-transition);
  font-size: 1rem;
}

.nw-btn-icon:hover { background: rgba(255,255,255,0.2); }

.nw-btn-subscribe {
  background: var(--nw-red);
  color: var(--nw-white);
  border: none;
  padding: 8px 18px;
  border-radius: var(--nw-radius);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--nw-transition);
}

.nw-btn-subscribe:hover { background: var(--nw-red-dark); }

/* Category Nav Bar */
.nw-cat-nav {
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nw-cat-nav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nw-cat-nav__inner::-webkit-scrollbar { display: none; }

.nw-cat-nav__link {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 16px;
  white-space: nowrap;
  transition: all var(--nw-transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
}

.nw-cat-nav__link:hover,
.nw-cat-nav__link.active {
  color: var(--nw-white);
  border-bottom-color: var(--nw-red);
}

/* ==========================================================================
   6. BADGES & LABELS
   ========================================================================== */

.nw-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.nw-badge--breaking {
  background: var(--nw-red);
  color: var(--nw-white);
  animation: pulse-badge 1.5s ease-in-out infinite;
}

.nw-badge--live {
  background: #16a34a;
  color: var(--nw-white);
}

.nw-badge--live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: pulse-dot 1s ease-in-out infinite;
}

.nw-badge--cat { border-radius: 2px; }
.nw-badge--ellada     { background: var(--cat-ellada);     color: white; }
.nw-badge--astynomika { background: var(--cat-astynomika); color: white; }
.nw-badge--diethni    { background: var(--cat-diethni);    color: white; }
.nw-badge--politiki   { background: var(--cat-politiki);   color: white; }
.nw-badge--oikonomia  { background: var(--cat-oikonomia);  color: white; }
.nw-badge--athlitika  { background: var(--cat-athlitika);  color: white; }
.nw-badge--media      { background: var(--cat-media);      color: white; }
.nw-badge--ygeia      { background: var(--cat-ygeia);      color: white; }
.nw-badge--apopseis   { background: var(--cat-apopseis);   color: white; }

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ==========================================================================
   7. ARTICLE CARDS
   ========================================================================== */

.nw-card {
  background: var(--nw-card-bg);
  border-radius: var(--nw-radius-lg);
  overflow: hidden;
  box-shadow: var(--nw-shadow-sm);
  transition: transform var(--nw-transition), box-shadow var(--nw-transition);
  display: flex;
  flex-direction: column;
}

.nw-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--nw-shadow-lg);
}

.nw-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.nw-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nw-card:hover .nw-card__image { transform: scale(1.04); }

.nw-card__image-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}

.nw-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nw-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--nw-mid-gray);
}

.nw-card__meta-dot { color: var(--nw-mid-gray); }

.nw-card__title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nw-body-text);
  transition: color var(--nw-transition);
}

.nw-card__title:hover { color: var(--nw-red); }

.nw-card__excerpt {
  font-size: 0.875rem;
  color: var(--nw-dark-gray);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nw-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--nw-border);
  font-size: 0.78rem;
  color: var(--nw-mid-gray);
}

.nw-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.nw-card__author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.nw-card__read-time {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hero Card (Large) */
.nw-card--hero {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 420px;
}

.nw-card--hero .nw-card__image-wrap {
  flex: 1.2;
  aspect-ratio: auto;
  min-height: 420px;
}

.nw-card--hero .nw-card__body {
  flex: 1;
  padding: 32px;
  justify-content: flex-end;
}

.nw-card--hero .nw-card__title {
  font-size: 1.75rem;
  line-height: 1.25;
}

.nw-card--hero .nw-card__excerpt { -webkit-line-clamp: 3; }

/* List Card (Horizontal compact) */
.nw-card--list {
  flex-direction: row;
  align-items: flex-start;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--nw-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
  background: transparent;
}

.nw-card--list:hover { transform: none; box-shadow: none; }

.nw-card--list .nw-card__image-wrap {
  width: 90px;
  height: 72px;
  flex-shrink: 0;
  aspect-ratio: auto;
  border-radius: var(--nw-radius);
}

.nw-card--list .nw-card__body {
  padding: 0 0 0 14px;
  gap: 6px;
}

.nw-card--list .nw-card__title { font-size: 0.9rem; line-height: 1.3; }

/* ==========================================================================
   8. SECTION HEADERS
   ========================================================================== */

.nw-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--nw-light-gray);
  position: relative;
}

.nw-section-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--nw-red);
}

.nw-section-header--ellada::after     { background: var(--cat-ellada); }
.nw-section-header--astynomika::after { background: var(--cat-astynomika); }
.nw-section-header--diethni::after    { background: var(--cat-diethni); }
.nw-section-header--politiki::after   { background: var(--cat-politiki); }
.nw-section-header--oikonomia::after  { background: var(--cat-oikonomia); }
.nw-section-header--athlitika::after  { background: var(--cat-athlitika); }
.nw-section-header--media::after      { background: var(--cat-media); }
.nw-section-header--ygeia::after      { background: var(--cat-ygeia); }
.nw-section-header--apopseis::after   { background: var(--cat-apopseis); }

.nw-section-header__title {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nw-section-header__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nw-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   9. TRENDING SIDEBAR
   ========================================================================== */

.nw-trending { }

.nw-trending__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--nw-border);
}

.nw-trending__num {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-headline);
  color: var(--nw-light-gray);
  line-height: 1;
  min-width: 36px;
  transition: color var(--nw-transition);
}

.nw-trending__item:hover .nw-trending__num { color: var(--nw-red); }

.nw-trending__content { flex: 1; }

.nw-trending__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  transition: color var(--nw-transition);
}

.nw-trending__item:hover .nw-trending__title { color: var(--nw-red); }

.nw-trending__meta {
  font-size: 0.75rem;
  color: var(--nw-mid-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   10. SIDEBAR WIDGETS
   ========================================================================== */

/* Sidebar latest-from-category cards */
.nw-sb-cat-card {
  display: block;
  background: #111827;
  overflow: hidden;
  margin-bottom: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nw-sb-cat-card:hover { opacity: 0.85; }
.nw-sb-cat-card__header {
  padding: 10px 12px 8px;
  text-align: center;
}
.nw-sb-cat-card__cat {
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0be6af;
  margin: 0;
  line-height: 1.2;
}
.nw-sb-cat-card__img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1f2937;
}
.nw-sb-cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: transform 0.5s;
}
.nw-sb-cat-card:hover .nw-sb-cat-card__img { transform: scale(1.05); }
.nw-sb-cat-card__body { padding: 10px 12px 12px; }
.nw-sb-cat-card__title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Tag strip (below section titles on homepage) ── */
.nw-hp-tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
  margin-bottom: 16px;
}
.nw-hp-tag-pill {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.nw-hp-tag-pill:hover {
  border-color: currentColor;
  color: #111827;
}

.nw-widget {
  background: var(--nw-card-bg);
  border-radius: var(--nw-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--nw-shadow-sm);
}

.nw-widget__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--nw-red);
  margin-bottom: 16px;
}

/* Newsletter Widget */
.nw-widget--newsletter {
  background: linear-gradient(135deg, var(--nw-navy) 0%, var(--nw-navy-light) 100%);
  color: var(--nw-white);
}

.nw-widget--newsletter .nw-widget__title { color: var(--nw-white); border-color: var(--nw-red); }

.nw-newsletter__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  line-height: 1.5;
}

.nw-newsletter__form { display: flex; flex-direction: column; gap: 10px; }

/* ── Shared newsletter widget (newswave_newsletter_form() helper) ── */
.nw-newsletter-widget { display: flex; flex-direction: column; gap: 6px; }
.nw-newsletter-widget__title {
  font-size: 12px; font-weight: 900; text-transform: uppercase;
  letter-spacing: .08em; margin: 0 0 2px;
}
.nw-newsletter-widget__desc {
  font-size: 11px; line-height: 1.5; margin: 0 0 10px;
}
.nw-newsletter-widget__form {
  display: flex; flex-direction: column; gap: 8px;
}
.nw-newsletter-widget__input {
  height: 38px; padding: 0 12px;
  font-size: 12px; font-family: inherit;
  border-radius: 4px; outline: none; width: 100%;
  box-sizing: border-box;
  transition: border-color .2s;
}
.nw-newsletter-widget__input:focus { border-color: #0be6af !important; }
.nw-newsletter-widget__input::placeholder { opacity: .6; }
.nw-newsletter-widget__btn {
  height: 38px; width: 100%;
  font-size: 11px; font-weight: 900; text-transform: uppercase;
  letter-spacing: .08em; font-family: inherit;
  border: none; border-radius: 4px; cursor: pointer;
  transition: opacity .2s, transform .1s;
}
.nw-newsletter-widget__btn:hover  { opacity: .88; }
.nw-newsletter-widget__btn:active { transform: scale(.98); }
.nw-newsletter-widget__btn:disabled { opacity: .6; cursor: not-allowed; }
.nw-newsletter-widget__msg { font-size: 12px; font-weight: 600; margin: 4px 0 0; }

.nw-newsletter__input {
  padding: 10px 14px;
  border-radius: var(--nw-radius);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--nw-white);
  font-size: 0.875rem;
  width: 100%;
}

.nw-newsletter__input::placeholder { color: rgba(255,255,255,0.5); }
.nw-newsletter__input:focus { outline: none; border-color: var(--nw-red); }

.nw-newsletter__btn {
  background: var(--nw-red);
  color: white;
  border: none;
  padding: 10px;
  border-radius: var(--nw-radius);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--nw-transition);
  width: 100%;
}

.nw-newsletter__btn:hover { background: var(--nw-red-dark); }

/* Tags Widget */
.nw-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.nw-tag {
  background: var(--nw-light-gray);
  color: var(--nw-dark-gray);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all var(--nw-transition);
  font-weight: 500;
}

.nw-tag:hover {
  background: var(--nw-red);
  color: white;
}

/* ==========================================================================
   11. SINGLE ARTICLE
   ========================================================================== */

.nw-article-header {
  padding: 40px 0 32px;
}

.nw-article-header__badge { margin-bottom: 16px; }

.nw-article-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.nw-article-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--nw-dark-gray);
  padding-bottom: 20px;
  border-bottom: 2px solid var(--nw-border);
  margin-bottom: 20px;
}

.nw-article-header__author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.nw-article-header__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nw-article-header__share {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nw-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--nw-border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: all var(--nw-transition);
  color: var(--nw-dark-gray);
}

.nw-share-btn:hover { background: var(--nw-red); color: white; border-color: var(--nw-red); }

.nw-article-feat-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--nw-radius-lg);
  margin-bottom: 12px;
}

.nw-article-caption {
  font-size: 0.8rem;
  color: var(--nw-mid-gray);
  text-align: center;
  margin-bottom: 32px;
  font-style: italic;
}

.nw-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--nw-body-text);
}

.nw-article-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.nw-article-content h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem;
}

.nw-article-content p { margin-bottom: 1.25rem; }

.nw-article-content blockquote {
  border-left: 4px solid var(--nw-red);
  padding: 16px 24px;
  margin: 2rem 0;
  background: var(--nw-off-white);
  font-size: 1.15rem;
  font-style: italic;
  font-family: var(--font-headline);
  color: var(--nw-dark-gray);
}

.nw-article-content a { color: var(--nw-red); text-decoration: underline; }

/* Author Bio Box */
.nw-author-box {
  display: flex;
  gap: 20px;
  background: var(--nw-card-bg);
  border-radius: var(--nw-radius-lg);
  padding: 24px;
  box-shadow: var(--nw-shadow-sm);
  margin: 32px 0;
  border: 1px solid var(--nw-border);
}

.nw-author-box__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nw-author-box__name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.nw-author-box__bio {
  font-size: 0.875rem;
  color: var(--nw-dark-gray);
  line-height: 1.6;
}

/* ==========================================================================
   12. SEARCH
   ========================================================================== */

.nw-search-form {
  display: flex;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}

.nw-search-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--nw-border);
  border-right: none;
  border-radius: var(--nw-radius) 0 0 var(--nw-radius);
  font-size: 1rem;
  background: var(--nw-card-bg);
  color: var(--nw-body-text);
}

.nw-search-input:focus { outline: none; border-color: var(--nw-red); }

.nw-search-btn {
  background: var(--nw-red);
  color: white;
  border: 2px solid var(--nw-red);
  padding: 14px 24px;
  border-radius: 0 var(--nw-radius) var(--nw-radius) 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--nw-transition);
}

.nw-search-btn:hover { background: var(--nw-red-dark); }

/* ==========================================================================
   13. CATEGORY PAGE
   ========================================================================== */

.nw-cat-header {
  padding: 48px 0;
  background: var(--nw-navy);
  color: white;
  margin-bottom: 40px;
}

.nw-cat-header__breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nw-cat-header__title {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-headline);
  color: #fff;
  border-left: 5px solid var(--nw-red);
  padding-left: 20px;
  margin-bottom: 12px;
}

.nw-cat-header__count {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* ==========================================================================
   14. PAGINATION
   ========================================================================== */

.nw-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 0;
}

.nw-pagination__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nw-border);
  border-radius: var(--nw-radius);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--nw-card-bg);
  color: var(--nw-body-text);
  cursor: pointer;
  transition: all var(--nw-transition);
  text-decoration: none;
}

.nw-pagination__btn:hover,
.nw-pagination__btn.active {
  background: var(--nw-red);
  color: white;
  border-color: var(--nw-red);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.nw-footer {
  background: var(--nw-navy);
  color: rgba(255,255,255,0.8);
  margin-top: 48px;
}

.nw-footer__top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nw-footer__brand-name {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.nw-footer__brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 20px;
}

.nw-footer__social {
  display: flex;
  gap: 10px;
}

.nw-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--nw-radius);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--nw-transition);
  text-decoration: none;
}

.nw-social-btn:hover {
  background: var(--nw-red);
  border-color: var(--nw-red);
  color: white;
}

.nw-footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 16px;
}

.nw-footer__links { display: flex; flex-direction: column; gap: 8px; }

.nw-footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--nw-transition);
}

.nw-footer__link:hover { color: var(--nw-red-light); }

.nw-footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   16. COMMENTS
   ========================================================================== */

.nw-comments { margin-top: 40px; }

.nw-comments__title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--nw-red);
}

.nw-comment {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--nw-border);
}

.nw-comment__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nw-comment__author {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.nw-comment__date {
  font-size: 0.75rem;
  color: var(--nw-mid-gray);
  margin-bottom: 10px;
}

.nw-comment__text {
  font-size: 0.9rem;
  color: var(--nw-dark-gray);
  line-height: 1.6;
}

/* ==========================================================================
   17. UTILITIES
   ========================================================================== */

.nw-text-red { color: var(--nw-red); }
.nw-text-muted { color: var(--nw-mid-gray); }
.nw-font-headline { font-family: var(--font-headline); }
.nw-uppercase { text-transform: uppercase; letter-spacing: 0.06em; }

.nw-divider {
  border: none;
  border-top: 1px solid var(--nw-border);
  margin: 24px 0;
}

.nw-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--nw-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
  transition: gap var(--nw-transition);
}

.nw-read-more:hover { gap: 10px; }

.nw-ad-placeholder {
  background: var(--nw-light-gray);
  border: 1px dashed var(--nw-mid-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nw-mid-gray);
  font-size: 0.75rem;
  border-radius: var(--nw-radius);
}

/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .nw-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nw-grid-content-sidebar { grid-template-columns: 1fr; }
  .nw-footer__top { grid-template-columns: 1fr 1fr; }
  .nw-card--hero { flex-direction: column; }
  .nw-card--hero .nw-card__image-wrap { min-height: 260px; }
}

@media (max-width: 768px) {
  .nw-grid-2, .nw-grid-3 { grid-template-columns: 1fr; }
  .nw-header__nav { display: none; }
  .nw-footer__top { grid-template-columns: 1fr; }
  .nw-article-header__title { font-size: 1.6rem; }
  .nw-cat-header__title { font-size: 1.75rem; }
  .nw-btn-subscribe { display: none; }
}

@media (max-width: 480px) {
  .nw-container { padding: 0 12px; }
  .nw-widget { padding: 16px; }
  .nw-author-box { flex-direction: column; }
}

/* ==========================================================================
   19. ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.nw-animate-fade-up {
  animation: fadeInUp 0.5s ease forwards;
}

.nw-stagger-1 { animation-delay: 0.05s; }
.nw-stagger-2 { animation-delay: 0.1s; }
.nw-stagger-3 { animation-delay: 0.15s; }
.nw-stagger-4 { animation-delay: 0.2s; }

/* ==========================================================================
   20. ACCESSIBILITY
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--nw-red);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip link */
.nw-skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--nw-red);
  color: white;
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 700;
}

.nw-skip-link:focus { top: 0; }

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */

.nw-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  height: clamp(320px, 52vw, 560px);
}

.nw-slider__track { width: 100%; height: 100%; position: relative; }

.nw-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.nw-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.nw-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.nw-slide.is-active .nw-slide__bg { transform: scale(1.04); }

.nw-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.08) 100%),
              linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 50%);
}

.nw-slide__content {
  position: absolute;
  bottom: 96px;
  left: 0;
  right: 0;
  padding: 0 40px;
  max-width: 680px;
  color: #fff;
}

.nw-slide__badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.nw-slide__time {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

.nw-slide__comments {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: rgba(255,255,255,.6);
}

.nw-slide__title {
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}

.nw-slide__title a { color: #fff; text-decoration: none; }
.nw-slide__title a:hover { color: rgba(255,255,255,.88); }

.nw-slide__excerpt {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 560px;
}

/* Arrows */
.nw-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--nw-transition);
  backdrop-filter: blur(6px);
}

.nw-slider__arrow:hover { background: rgba(0,0,0,.65); }
.nw-slider__arrow--prev { left: 14px; }
.nw-slider__arrow--next { right: 14px; }

/* Progress bar */
.nw-slider__progress {
  position: absolute;
  bottom: 84px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,.15);
  z-index: 15;
}

.nw-slider__progress-bar {
  height: 100%;
  background: var(--nw-red);
  width: 0;
  transition: none;
}

/* Thumbnails */
.nw-slider__thumbs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.1);
  height: 84px;
}

.nw-slider__thumb {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-top: 2px solid transparent;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: all var(--nw-transition);
  overflow: hidden;
  min-width: 0;
}

.nw-slider__thumb:last-child { border-right: none; }
.nw-slider__thumb:hover { background: rgba(255,255,255,.08); }
.nw-slider__thumb.is-active { border-top-color: var(--nw-red); background: rgba(230,51,41,.12); }

.nw-slider__thumb img {
  width: 64px;
  height: 46px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.nw-slider__thumb-title {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nw-slider__thumb.is-active .nw-slider__thumb-title { color: #fff; }

@media (max-width: 768px) {
  .nw-slide__content { padding: 0 20px; bottom: 96px; }
  .nw-slider__thumbs { height: 76px; }
  .nw-slider__thumb img { width: 48px; height: 36px; }
  .nw-slider__thumb-title { display: none; }
  .nw-slider__thumb { justify-content: center; }
}

/* ==========================================================================
   BOTTOM MENU STRIP
   ========================================================================== */

.nw-footer__bottom-menu {
  background: #070707;
  border-top: 1px solid rgba(255,255,255,.05);
}

.nw-bottom-menu__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.nw-bottom-menu__list li {
  display: flex;
  align-items: center;
}

.nw-bottom-menu__list li + li::before {
  content: '·';
  color: rgba(255,255,255,.18);
  margin: 0 10px;
  font-size: 12px;
}

.nw-bottom-menu__list a {
  font-size: 11.5px;
  color: rgba(255,255,255,.38);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.12);
  text-underline-offset: 2px;
  transition: color var(--nw-transition), text-decoration-color var(--nw-transition);
}

.nw-bottom-menu__list a:hover {
  color: rgba(255,255,255,.82);
  text-decoration-color: rgba(255,255,255,.4);
}

@media (max-width: 600px) {
  .nw-bottom-menu__list {
    gap: 4px 0;
  }
}

/* ==========================================================================
   COMMENTS
   ========================================================================== */

.nw-comments-section {
  margin: 56px 0 0;
  padding-top: 40px;
  border-top: 1px solid var(--nw-border);
}

.nw-comments-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.nw-comments-count {
  color: var(--nw-primary);
}

/* Comment list */
.nw-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nw-comment-list > li + li {
  border-top: 1px solid var(--nw-border);
}

.nw-comment {
  padding: 24px 0;
}

.nw-comment__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nw-comment__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nw-comment__avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--nw-border);
}

.nw-comment__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nw-comment__author {
  font-weight: 700;
  font-size: 0.9rem;
}

.nw-comment__date {
  font-size: 0.78rem;
  color: var(--nw-mid-gray);
}

.nw-comment__text {
  font-size: 0.95rem;
  line-height: 1.65;
  padding-left: 52px;
}

.nw-comment__footer {
  padding-left: 52px;
}

.nw-comment__reply a,
.nw-comment__reply button {
  font-size: 0.8rem;
  color: var(--nw-mid-gray);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color var(--nw-transition);
}

.nw-comment__reply a:hover,
.nw-comment__reply button:hover {
  color: var(--nw-primary);
}

/* Nested (children) */
.nw-comment-list .children {
  list-style: none;
  padding-left: 52px;
  margin-top: 16px;
  border-left: 2px solid var(--nw-border);
}

.nw-comment-list .children .nw-comment__text,
.nw-comment-list .children .nw-comment__footer {
  padding-left: 52px;
}

/* Comment form */
.nw-comment-form {
  margin-top: 48px;
  padding: 28px;
  background: var(--nw-card-bg);
  border: 1px solid var(--nw-border);
  border-radius: 12px;
}

.nw-comment-form h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.nw-comment-field {
  margin-bottom: 16px;
}

.nw-comment-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nw-mid-gray);
}

.nw-comment-field input,
.nw-comment-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--nw-border);
  border-radius: 6px;
  background: var(--nw-bg);
  color: var(--nw-text);
  font-size: 0.95rem;
  transition: border-color var(--nw-transition);
}

.nw-comment-field input:focus,
.nw-comment-field textarea:focus {
  outline: none;
  border-color: var(--nw-primary);
}

.nw-comment-field textarea {
  resize: vertical;
  min-height: 120px;
}

.nw-comment-field--full {
  grid-column: 1 / -1;
}

.nw-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--nw-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity var(--nw-transition);
}

.nw-btn--primary:hover {
  opacity: 0.88;
}

.nw-comments-closed {
  color: var(--nw-mid-gray);
  font-style: italic;
  font-size: 0.9rem;
}

.nw-comment__moderation {
  font-style: italic;
  color: var(--nw-mid-gray);
  font-size: 0.85rem;
  padding-left: 52px;
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.nw-breadcrumb {
  padding: 12px 0 0;
}

.nw-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
}

.nw-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nw-breadcrumb__link {
  color: var(--nw-mid-gray);
  text-decoration: none;
  transition: color var(--nw-transition);
}

.nw-breadcrumb__link:hover {
  color: var(--nw-text);
}

.nw-breadcrumb__sep {
  color: var(--nw-mid-gray);
  opacity: 0.5;
  font-size: 0.85rem;
  line-height: 1;
}

.nw-breadcrumb__current {
  color: var(--nw-text);
  opacity: 0.7;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   HOMEPAGE BLOCK LAYOUTS (index.php)
   Mirrors the React preview design block-for-block.
   ========================================================================== */

/* ── Shared helpers ─────────────────────────────────────────────────── */
.nw-hp-meta {
  font-size: 10.5px;
  color: #9ca3af;
  margin-bottom: 4px;
  line-height: 1.4;
}
.nw-hp-cat-label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.nw-hp-badge-breaking {
  display: inline-block;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #e63329;
  color: #fff;
  margin-bottom: 8px;
}
.nw-hp-img-wrap { overflow: hidden; background: #f3f4f6; display: block; }
.nw-hp-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.nw-hp-img-wrap:hover img { transform: scale(1.05); }

/* ── Section headers ─────────────────────────────────────────────────── */
.nw-hp-header-dot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.nw-hp-header-dot h2 {
  font-size: 32px;
  font-weight: 900;
  color: #111;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-headline);
}
.nw-hp-header-dot h2 span { color: #e63329; }
.nw-hp-header-dot__rule { flex: 1; height: 1px; background: #e5e7eb; }

.nw-hp-header-bar {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2.5px solid;
}
.nw-hp-header-bar h2 {
  font-weight: 900;
  font-size: 28px;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-headline);
  color: #111;
}
.nw-hp-header-bar__pip {
  display: inline-block;
  width: 4px;
  height: 16px;
  border-radius: 99px;
  flex-shrink: 0;
}

/* ── More button ─────────────────────────────────────────────────────── */
.nw-hp-more {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0 4px;
}
.nw-hp-more__rule {
  width: 100%;
  height: 1px;
  margin-bottom: -1px;
}
.nw-hp-more__btns {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 8px;
  background: inherit;
}
.nw-hp-more__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: all .2s;
  text-decoration: none;
}
.nw-hp-more__btn:hover { border-color: #111; color: #111; }
.nw-hp-more__btn--dark {
  border-color: rgba(255,255,255,.4);
  background: #e63329;
  color: #fff;
}
.nw-hp-more__btn--dark:hover { border-color: #fff; background: #c0271e; color: #fff; }

/* ── Small card (shared) ─────────────────────────────────────────────── */
.nw-hp-card-sm {}
.nw-hp-card-sm__img { aspect-ratio: 16/10; margin-bottom: 8px; }
.nw-hp-card-sm__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  transition: color .2s;
}
.nw-hp-card-sm__title a:hover { color: #e63329; }

/* ── Zone wrappers ───────────────────────────────────────────────────── */
.nw-hp-zone-1 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px;
}
.nw-hp-9-3 {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: start;
}
.nw-hp-zone-6 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

/* ── Block A — ProtoBlock (Ελλάδα) ─────────────────────────────────── */
.nw-block-a {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 20px;
  margin-bottom: 12px;
}
.nw-block-a__lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  min-height: 240px;
  margin-bottom: 20px;
}
.nw-block-a__lead-col {
  border-right: 1px solid #f3f4f6;
  padding-right: 20px;
}
.nw-block-a__lead-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  color: #111;
  margin-bottom: 10px;
  font-family: var(--font-headline);
}
.nw-block-a__lead-title a:hover { color: #e63329; }
.nw-block-a__lead-excerpt { font-size: 13px; color: #6b7280; line-height: 1.6; }
.nw-block-a__center-img { height: 100%; min-height: 200px; }
.nw-block-a__right-col { border-left: 1px solid #f3f4f6; padding-left: 20px; }
.nw-block-a__right-img { aspect-ratio: 16/9; margin-bottom: 8px; }
.nw-block-a__right-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-bottom: 4px;
}
.nw-block-a__right-title a:hover { color: #e63329; }
.nw-block-a__right-excerpt { font-size: 12px; color: #6b7280; line-height: 1.5; }
.nw-block-a__bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
  margin-bottom: 4px;
}

/* ── Block B — CompactBlock (Πολιτική) ────────────────────────────── */
.nw-block-b {
  padding: 16px;
  margin-bottom: 12px;
}
.nw-block-b__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 16px;
}
.nw-block-b__main { display: block; text-decoration: none; }
.nw-block-b__main-img { aspect-ratio: 4/3; margin-bottom: 10px; }
.nw-block-b__main-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin-bottom: 6px;
  transition: color .2s;
}
.nw-block-b__main:hover .nw-block-b__main-title { color: #e63329; }
.nw-block-b__main-excerpt { font-size: 12px; color: #6b7280; line-height: 1.5; }
.nw-block-b__list {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #f3f4f6;
  padding-left: 16px;
}
.nw-block-b__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
}
.nw-block-b__item:first-child { padding-top: 0; }
.nw-block-b__item:last-child { border-bottom: 0; padding-bottom: 0; }
.nw-block-b__item-img { width: 90px; height: 64px; flex-shrink: 0; }
.nw-block-b__item-body { flex: 1; min-width: 0; }
.nw-block-b__item-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  transition: color .2s;
}
.nw-block-b__item:hover .nw-block-b__item-title { color: #e63329; }

/* ── Homepage Sidebar ──────────────────────────────────────────────── */
.nw-hp-sidebar { display: flex; flex-direction: column; gap: 12px; }

.nw-hp-sidebar__cat-card {
  display: block;
  background: #111827;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.nw-hp-sidebar__cat-label {
  padding: 12px;
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #0be6af;
  font-family: var(--font-headline);
}
.nw-hp-sidebar__cat-img { aspect-ratio: 16/10; }
.nw-hp-sidebar__cat-body { padding: 12px; }
.nw-hp-sidebar__cat-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-align: center;
  transition: color .2s;
}
.nw-hp-sidebar__cat-card:hover .nw-hp-sidebar__cat-title { color: rgba(255,255,255,.7); }

.nw-hp-sidebar__newsletter { background: #e63329; padding: 16px; }
.nw-hp-sidebar__nl-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.nw-hp-sidebar__nl-title { font-size: 13px; font-weight: 900; color: #fff; }
.nw-hp-sidebar__nl-desc { font-size: 11px; color: rgba(255,255,255,.8); margin-bottom: 12px; line-height: 1.5; }
.nw-hp-sidebar__nl-form { display: flex; flex-direction: column; gap: 8px; }
.nw-hp-sidebar__nl-input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 12px;
  outline: none;
  transition: border-color .2s;
}
.nw-hp-sidebar__nl-input::placeholder { color: rgba(255,255,255,.5); }
.nw-hp-sidebar__nl-input:focus { border-color: rgba(255,255,255,.6); }
.nw-hp-sidebar__nl-btn {
  width: 100%;
  height: 36px;
  background: #fff;
  color: #e63329;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.nw-hp-sidebar__nl-btn:hover { background: rgba(255,255,255,.9); }

.nw-hp-sidebar__feed {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 16px;
}
.nw-hp-sidebar__feed-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.nw-hp-sidebar__feed-title {
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #111;
  white-space: nowrap;
  font-family: var(--font-headline);
}
.nw-hp-sidebar__feed-rule { flex: 1; height: 2px; background: #111; }
.nw-hp-sidebar__feed-item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
}
.nw-hp-sidebar__feed-item:last-child { border-bottom: 0; }
.nw-hp-sidebar__feed-cat {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .06em;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.nw-hp-sidebar__feed-headline {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin-bottom: 6px;
  transition: color .2s;
}
.nw-hp-sidebar__feed-item:hover .nw-hp-sidebar__feed-headline { color: #e63329; }
.nw-hp-sidebar__feed-date { font-size: 11px; color: #9ca3af; }

.nw-hp-sidebar__ad {
  background: #f3f4f6;
  border: 1px dashed #d1d5db;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  gap: 4px;
}

/* ── Block C — WideBlock (Αθλητικά) ───────────────────────────────── */
.nw-block-c {
  width: 100%;
  background: #fff;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  padding: 28px 0;
}
.nw-block-c__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nw-block-c__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 20px;
  margin-bottom: 4px;
}
.nw-block-c__lead {
  display: block;
  position: relative;
  overflow: hidden;
  background: #1f2937;
  min-height: 280px;
  text-decoration: none;
}
.nw-block-c__lead-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.nw-block-c__lead:hover .nw-block-c__lead-bg { transform: scale(1.05); }
.nw-block-c__lead-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
}
.nw-block-c__lead-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
}
.nw-block-c__lead-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--font-headline);
}
.nw-block-c__small-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── Block D — QuadBlock (Διεθνή + Αστυνομικά) ────────────────────── */
.nw-block-d {
  width: 100%;
  background: #f0f2f5;
  padding: 28px 0;
}
.nw-block-d__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nw-block-d__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nw-block-d__featured { display: block; margin-bottom: 16px; text-decoration: none; }
.nw-block-d__feat-img { aspect-ratio: 16/9; margin-bottom: 8px; }
.nw-block-d__feat-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  transition: color .2s;
}
.nw-block-d__featured:hover .nw-block-d__feat-title { color: #e63329; }
.nw-block-d__list { border-top: 1px solid #e5e7eb; padding-top: 8px; }
.nw-block-d__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
}
.nw-block-d__item:last-child { border-bottom: 0; padding-bottom: 0; }
.nw-block-d__item-img { width: 78px; height: 56px; flex-shrink: 0; }
.nw-block-d__item-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  transition: color .2s;
}
.nw-block-d__item:hover .nw-block-d__item-title { color: #e63329; }

/* ── Block E — RedBlock (Οικονομία) ───────────────────────────────── */
.nw-block-e {}
.nw-block-e__header { background: #fff; border-bottom: 1px solid #e5e7eb; }
.nw-block-e__header-inner { max-width: 1200px; margin: 0 auto; padding: 16px 20px 12px; }
.nw-block-e__title {
  font-size: 28px;
  font-weight: 900;
  color: #111;
  padding-bottom: 12px;
  border-bottom: 2.5px solid #111;
  display: inline-block;
  font-family: var(--font-headline);
}
.nw-block-e__body { background: #e63329; }
.nw-block-e__inner { max-width: 1200px; margin: 0 auto; padding: 24px 20px; }
.nw-block-e__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nw-block-e__card { display: block; text-decoration: none; }
.nw-block-e__card-img { aspect-ratio: 16/10; margin-bottom: 12px; }
.nw-block-e__card-meta {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}
.nw-block-e__card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  transition: color .2s;
}
.nw-block-e__card:hover .nw-block-e__card-title { color: rgba(255,255,255,.75); }

/* ── Block F — SignatureBlock (Απόψεις) ───────────────────────────── */
.nw-block-f {
  width: 100%;
  background: #e8edf5;
  padding: 32px 0;
}
.nw-block-f__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nw-block-f__title-row {
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d1d5db;
}
.nw-block-f__title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: #111;
  font-family: var(--font-headline);
}
.nw-block-f__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.nw-block-f__item {
  padding: 0 20px;
  border-right: 1px solid #d1d5db;
  display: flex;
  flex-direction: column;
}
.nw-block-f__item:first-child { padding-left: 0; }
.nw-block-f__item:last-child { border-right: 0; padding-right: 0; }
.nw-block-f__avatar-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  margin-bottom: 12px;
  flex-shrink: 0;
}
.nw-block-f__avatar { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.nw-block-f__author-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 4px;
  line-height: 1.2;
}
.nw-block-f__date { font-size: 10.5px; color: #9ca3af; margin-bottom: 12px; }
.nw-block-f__card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  flex: 1;
  margin-bottom: 16px;
  transition: color .2s;
}
.nw-block-f__card-title a:hover { color: #e63329; }
.nw-block-f__card-img { aspect-ratio: 4/3; display: block; margin-top: auto; }

/* ── Block G — HalfBlock (Υγεία + Media) ─────────────────────────── */
.nw-block-g__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nw-block-g { background: #f0f2f5; padding: 16px; }
.nw-block-g__featured { display: block; margin-bottom: 12px; text-decoration: none; }
.nw-block-g__feat-img { aspect-ratio: 16/9; margin-bottom: 8px; }
.nw-block-g__feat-title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  transition: color .2s;
}
.nw-block-g__featured:hover .nw-block-g__feat-title { color: #e63329; }
.nw-block-g__list { border-top: 1px solid #e5e7eb; padding-top: 8px; }
.nw-block-g__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
}
.nw-block-g__item:last-child { border-bottom: 0; padding-bottom: 0; }
.nw-block-g__item-img { width: 80px; height: 56px; flex-shrink: 0; }
.nw-block-g__item-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  transition: color .2s;
}
.nw-block-g__item:hover .nw-block-g__item-title { color: #e63329; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .nw-block-f__grid { grid-template-columns: repeat(3, 1fr); }
  .nw-block-f__item:nth-child(3) { border-right: 0; }
  .nw-block-c__small-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nw-hp-9-3 { grid-template-columns: 1fr; }
  .nw-hp-sidebar { display: none; }
  .nw-block-a__lead-grid { grid-template-columns: 1fr 1fr; }
  .nw-block-a__right-col { display: none; }
  .nw-block-d__grid { grid-template-columns: 1fr; }
  .nw-block-e__grid { grid-template-columns: repeat(2, 1fr); }
  .nw-block-g__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nw-block-a__lead-grid { grid-template-columns: 1fr; }
  .nw-block-a__center-img { display: none; }
  .nw-block-a__bottom { grid-template-columns: repeat(2, 1fr); }
  .nw-block-b__grid { grid-template-columns: 1fr; }
  .nw-block-b__list { border-left: 0; padding-left: 0; border-top: 1px solid #f3f4f6; padding-top: 8px; }
  .nw-block-c__grid { grid-template-columns: 1fr; }
  .nw-block-c__small-grid { grid-template-columns: repeat(2, 1fr); }
  .nw-block-e__grid { grid-template-columns: 1fr; }
  .nw-block-f__grid { grid-template-columns: repeat(2, 1fr); }
  .nw-block-f__item:nth-child(2) { border-right: 0; }
  .nw-block-f__item { padding: 16px 0; border-right: 0; border-bottom: 1px solid #d1d5db; }
  .nw-hp-zone-1 { padding: 12px; }
  .nw-hp-zone-6 { padding: 12px; }
}

/* ==========================================================================
   ARTICLE PAGE — 3-col layout (single.php)
   ========================================================================== */

/* 3-col flex wrapper */
.nw-art-3col {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Left social column */
.nw-art-social-col {
  width: 40px;
  flex-shrink: 0;
}
.nw-art-social-sticky {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}
.nw-art-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
}
.nw-art-social-btn:hover { opacity: .8; }
.nw-art-social-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

/* Center article */
.nw-art-body {
  flex: 1;
  min-width: 0;
}

/* Right sidebar */
.nw-art-sidebar {
  width: 270px;
  flex-shrink: 0;
}

/* Article elements */
.nw-art-cat-label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-decoration: none;
}
.nw-art-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  color: #111;
  margin-bottom: 16px;
  font-family: var(--font-headline);
}
.nw-art-subtitle {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 20px;
  border-left: 4px solid #e63429;
  padding-left: 16px;
  font-weight: 500;
}
.nw-art-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.nw-art-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nw-art-avatar { width: 36px; height: 36px; }
.nw-art-author-name { font-weight: 700; font-size: 13px; color: #111; }
.nw-art-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
}
.nw-art-figure { margin-bottom: 24px; }
.nw-art-caption { font-size: 11px; color: #9ca3af; margin-top: 6px; font-style: italic; }

/* Sidebar items */
.nw-art-sb-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
}
.nw-art-sb-item:last-child { border-bottom: 0; padding-bottom: 0; }
.nw-art-sb-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  transition: color .2s;
}
.nw-art-sb-item:hover .nw-art-sb-title { color: #e63429; }

/* Related grid */
.nw-art-related-card { }
.nw-art-rg-img:hover { transform: scale(1.05); }

/* Responsive */
@media (max-width: 1024px) {
  .nw-art-sidebar { display: none; }
}
@media (max-width: 768px) {
  .nw-art-social-col { display: none; }
  .nw-art-social-mobile { display: flex; }
  .nw-art-3col { flex-direction: column; }
}

/* ==========================================================================
   HEADER — 2-bar structure (header.php rewrite)
   ========================================================================== */

/* Sticky wrapper */
.nw-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

/* ── Top bar ── */
.nw-topbar {
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nw-topbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Social icons (left) */
.nw-topbar__social {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}
.nw-topbar__social-link {
  color: #71717a;
  transition: color .2s;
  display: flex;
  align-items: center;
}
.nw-topbar__social-link:hover { color: #fff; }

/* Logo (center, absolute) */
.nw-topbar__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  font-family: var(--font-headline);
  white-space: nowrap;
}
.nw-topbar__logo img { height: 45px; width: auto; object-fit: contain; }
.nw-topbar__logo-accent { color: #0be6af; }

/* Right: live button + hamburger */
.nw-topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.nw-topbar__live-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #0be6af;
  color: #000;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.nw-topbar__live-btn:hover { opacity: .9; }
.nw-topbar__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
  animation: nw-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes nw-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.nw-topbar__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #71717a;
  padding: 4px;
  transition: color .2s;
}
.nw-topbar__hamburger:hover { color: #fff; }

/* ── Nav bar ── */
.nw-navbar {
  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.nw-navbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.nw-navbar__inner::-webkit-scrollbar { display: none; }

/* Nav menu list — override WordPress defaults */
.nw-navbar__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nw-navbar__list li { position: relative; }
.nw-navbar__list li a {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a1a1aa;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  line-height: 1.2;
}
.nw-navbar__list li a:hover,
.nw-navbar__list li.current-menu-item > a,
.nw-navbar__list li.current-menu-ancestor > a,
.nw-navbar__list li.current_page_item > a {
  color: #fff;
  border-bottom-color: #fff;
}

/* Sub-menu */
.nw-navbar__list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.08);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 200;
}
.nw-navbar__list li:hover > .sub-menu { display: block; }
.nw-navbar__list .sub-menu li a {
  padding: 8px 16px;
  font-size: 13px;
  border-bottom: none;
  color: #a1a1aa;
}
.nw-navbar__list .sub-menu li a:hover { color: #fff; background: rgba(255,255,255,.05); }

/* Mobile nav drawer */
.nw-mobile-nav {
  background: #111;
  border-top: 1px solid rgba(255,255,255,.08);
}
.nw-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.nw-mobile-nav__list li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #a1a1aa;
  text-decoration: none;
  transition: color .2s;
}
.nw-mobile-nav__list li a:hover { color: #fff; }

/* Responsive header */
@media (max-width: 768px) {
  .nw-topbar__live-btn { display: none; }
  .nw-topbar__hamburger { display: flex; }
  .nw-topbar__social { gap: 10px; }
  .nw-navbar { display: none; }
}

/* ==========================================================================
   FOOTER — Minimal 4-row layout (footer.php rewrite)
   ========================================================================== */

.nw-footer {
  background: #0f1923;
  color: #fff;
  margin-top: 0;
}

/* Row 1: Logo + Social */
.nw-footer__row1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nw-footer__logo {
  display: block;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-headline);
}
.nw-footer__logo img { height: 45px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.nw-footer__logo-accent { color: #0be6af; }
.nw-footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nw-footer__social-link {
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  transition: opacity .2s;
}
.nw-footer__social-link:hover { opacity: 1; color: #fff; }

/* Row 2: Union logos + MHT cert */
.nw-footer__row2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.nw-footer__union-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}
.nw-footer__union-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.35);
}
.nw-footer__mht {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity .2s;
}
.nw-footer__mht:hover { opacity: .8; }
.nw-footer__mht-text { text-align: right; }
.nw-footer__mht-label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,.4);
  margin-bottom: 2px;
}
.nw-footer__mht-number {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
}
.nw-footer__mht-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Row 3: Legal text */
.nw-footer__row3 {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nw-footer__legal-text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 12.5px;
  color: rgba(255,255,255,.25);
  line-height: 1.8;
  text-align: center;
}

/* Row 4: Bottom bar */
.nw-footer__row4 {
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,.25);
}
.nw-footer__row4-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.nw-footer__copyright {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin: 0;
}
.nw-footer__legal-nav {}
.nw-footer__legal-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nw-footer__legal-links li a {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
  padding: 0 8px;
}
.nw-footer__legal-links li a:hover { color: rgba(255,255,255,.7); }
.nw-footer__legal-sep {
  font-size: 11px;
  color: rgba(255,255,255,.15);
}

@media (max-width: 600px) {
  .nw-footer__row1 { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nw-footer__row4-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nw-footer__legal-links { flex-wrap: wrap; }
}
