/*
Theme Name:  Nexus News Child
Description: Astra child theme – News Blog 04 (Nexus News) recreation
Author:      Nexus News
Template:    astra
Version:     1.0.0
*/

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Lexend:wght@500;600;700;800&display=swap');

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --accent:        #c0392b;
  --accent-dark:   #a93226;
  --text:          #111111;
  --text-muted:    #777777;
  --bg:            #f2f2f2;
  --white:         #ffffff;
  --footer-bg:     #0d0d0d;
  --border:        #e0e0e0;
  --font-body:     'DM Sans', sans-serif;
  --font-heading:  'Lexend', sans-serif;
  --max-w:         1260px;
  --ease:          all 0.25s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  margin: 0; padding: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-top: 0;
}

a { color: var(--text); text-decoration: none; transition: var(--ease); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
p { margin-bottom: 1.2em; }

/* ============================================
   SUPPRESS ASTRA DEFAULT HEADER / FOOTER
   ============================================ */
#masthead,
.ast-above-header,
.ast-primary-header-bar,
.ast-below-header,
#colophon.site-footer,
.ast-site-footer-wrap { display: none !important; }

body { padding-top: 0 !important; }

/* ============================================
   LAYOUT
   ============================================ */
.nn-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 30px;
}

/* ============================================
   BADGE & META
   ============================================ */
.nn-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.nn-badge:hover { background: var(--accent-dark); color: var(--white); }
.nn-meta { font-size: 13px; color: var(--text-muted); margin: 5px 0; }

/* ============================================
   HEADER  – TOP BAR
   ============================================ */
#nn-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nn-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  border-bottom: 1px solid var(--border);
}

.nn-social { display: flex; gap: 18px; align-items: center; }
.nn-social a { color: #444; display: flex; }
.nn-social a:hover { color: var(--accent); }
.nn-social svg { width: 18px; height: 18px; fill: currentColor; }

.nn-logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.nn-logo .w-black { color: var(--text); }
.nn-logo .w-red   { color: var(--accent); }
.nn-logo:hover { text-decoration: none; }

.nn-subscribe-btn {
  background: var(--text);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  letter-spacing: 0.3px;
  border: none; cursor: pointer;
  transition: var(--ease);
}
.nn-subscribe-btn:hover { background: var(--accent); color: var(--white); }

/* NAVBAR */
.nn-navbar {
  padding: 0 40px;
  border-bottom: 1px solid var(--border);
}
.nn-navbar ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nn-navbar ul li a {
  display: block;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 3px solid transparent;
  transition: var(--ease);
}
.nn-navbar ul li a:hover,
.nn-navbar ul li.current-menu-item > a {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Mobile toggle */
.nn-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nn-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: var(--ease); }

/* ============================================
   HERO SECTION
   ============================================ */
.nn-hero { margin-bottom: 50px; }

.nn-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4px;
  height: 520px;
}

/* Big featured post */
.nn-hero-main {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.nn-hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.nn-hero-main:hover img { transform: scale(1.04); }

.nn-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}
.nn-hero-overlay .nn-badge { margin-bottom: 12px; }
.nn-hero-overlay h2 { font-size: 26px; color: var(--white); margin: 0 0 8px; }
.nn-hero-overlay h2 a { color: var(--white); }
.nn-hero-overlay h2 a:hover { color: var(--accent); }
.nn-hero-overlay .nn-meta { color: rgba(255,255,255,0.7); }

/* Side posts */
.nn-hero-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nn-side-post {
  flex: 1;
  background: var(--white);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
}
.nn-side-post .thumb {
  width: 130px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
}
.nn-side-post .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.nn-side-post:hover .thumb img { transform: scale(1.06); }
.nn-side-post .info { flex: 1; }
.nn-side-post .nn-badge { margin-bottom: 8px; }
.nn-side-post h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; line-height: 1.35; }
.nn-side-post h3 a { color: var(--text); }
.nn-side-post h3 a:hover { color: var(--accent); }

/* ============================================
   SECTION HEADING (red bar accent)
   ============================================ */
.nn-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.nn-section-head .bar {
  width: 4px;
  height: 24px;
  background: var(--accent);
  flex-shrink: 0;
}
.nn-section-head h2 {
  flex: 1;
  font-size: 20px;
  margin: 0;
}
.nn-section-head .view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.nn-section-head .view-all:hover { color: var(--accent-dark); }

/* ============================================
   HOME SECTIONS WRAPPER
   ============================================ */
.nn-home-section { margin-bottom: 50px; }
.nn-main { padding: 40px 0; }

/* 4-col post cards */
.nn-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nn-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nn-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* ============================================
   POST CARD
   ============================================ */
.nn-card {
  background: var(--white);
  overflow: hidden;
  transition: var(--ease);
}
.nn-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.nn-card .card-img {
  width: 100%; aspect-ratio: 16/10;
  overflow: hidden;
}
.nn-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.nn-card:hover .card-img img { transform: scale(1.06); }
.nn-card .card-body { padding: 16px; }
.nn-card .nn-badge { margin-bottom: 10px; }
.nn-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; line-height: 1.4; }
.nn-card h3 a { color: var(--text); }
.nn-card h3 a:hover { color: var(--accent); }

/* Feature card (used in World / 2-col sections) */
.nn-feature-card .card-img { aspect-ratio: 16/10; margin-bottom: 16px; }
.nn-feature-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.nn-feature-card:hover .card-img img { transform: scale(1.05); }
.nn-feature-card .nn-badge { margin-bottom: 12px; }
.nn-feature-card h3 { font-size: 20px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.nn-feature-card h3 a { color: var(--text); }
.nn-feature-card h3 a:hover { color: var(--accent); }

/* ============================================
   TOP STORIES (large + newsletter)
   ============================================ */
.nn-top-stories { display: grid; grid-template-columns: 1fr 340px; min-height: 380px; gap: 0; margin-bottom: 50px; }

.nn-story-main {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.nn-story-main img {
  width: 100%; min-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.nn-story-main:hover img { transform: scale(1.04); }
.nn-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}
.nn-story-overlay .nn-badge { font-size: 10px; letter-spacing: 2px; margin-bottom: 12px; }
.nn-story-overlay h3 { font-size: 22px; color: var(--white); margin: 0 0 8px; }
.nn-story-overlay h3 a { color: var(--white); }
.nn-story-overlay h3 a:hover { color: var(--accent); }
.nn-story-overlay .nn-meta { color: rgba(255,255,255,0.7); }

.nn-newsletter-box {
  background: var(--accent);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nn-newsletter-box .eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}
.nn-newsletter-box h3 {
  font-size: 26px; font-weight: 700;
  color: var(--white);
  line-height: 1.3; margin: 0 0 12px;
}
.nn-newsletter-box p { font-size: 14px; color: rgba(255,255,255,0.85); margin: 0; line-height: 1.6; }

/* ============================================
   CONTRIBUTE SECTION
   ============================================ */
.nn-contribute {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--accent);
  overflow: hidden;
  margin-bottom: 50px;
}
.nn-contribute .contrib-img { overflow: hidden; }
.nn-contribute .contrib-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.nn-contribute .contrib-content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nn-contribute .contrib-content h2 {
  font-size: 32px; font-weight: 700;
  color: var(--white);
  margin: 0 0 14px; line-height: 1.3;
}
.nn-contribute .contrib-content p {
  font-size: 15px; color: rgba(255,255,255,0.85);
  margin: 0 0 28px; line-height: 1.7;
}
.nn-btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 14px; font-weight: 600;
  padding: 13px 28px;
  transition: var(--ease);
  align-self: flex-start;
}
.nn-btn-outline:hover { background: var(--white); color: var(--accent); }

/* ============================================
   FOOTER
   ============================================ */
#nn-footer {
  background: var(--footer-bg);
  border-top: 5px solid var(--accent);
}

.nn-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nn-footer-logo {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 800; letter-spacing: 1px;
  display: flex; gap: 5px; align-items: baseline;
}
.nn-footer-logo .w-black { color: var(--white); }
.nn-footer-logo .w-red   { color: var(--accent); }
.nn-footer-logo:hover { text-decoration: none; }

.nn-footer-nav { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nn-footer-nav a { color: rgba(255,255,255,0.65); font-size: 14px; transition: var(--ease); }
.nn-footer-nav a:hover,
.nn-footer-nav .current-menu-item a { color: var(--accent); }

.nn-footer-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 46px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nn-fw { padding: 0 30px; border-right: 1px solid rgba(255,255,255,0.1); }
.nn-fw:first-child { padding-left: 0; }
.nn-fw:last-child  { border-right: none; }
.nn-fw h4 {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); margin: 0 0 20px;
}

/* Subscribe form */
.nn-sub-form { display: flex; flex-direction: column; gap: 10px; }
.nn-sub-form input[type="email"] {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  padding: 11px 14px;
  font-family: var(--font-body); font-size: 14px;
  outline: none; transition: var(--ease);
}
.nn-sub-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.nn-sub-form input[type="email"]:focus { border-color: var(--accent); }
.nn-sub-form button {
  background: var(--accent); color: var(--white);
  border: none; padding: 11px 16px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  cursor: pointer; transition: var(--ease);
}
.nn-sub-form button:hover { background: var(--accent-dark); }

/* Footer links */
.nn-fw-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.nn-fw-links a { color: rgba(255,255,255,0.65); font-size: 14px; transition: var(--ease); }
.nn-fw-links a:hover { color: var(--accent); }

/* Footer social */
.nn-fw-social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.nn-fw-social a {
  color: rgba(255,255,255,0.65); font-size: 14px;
  display: flex; align-items: center; gap: 10px; transition: var(--ease);
}
.nn-fw-social a:hover { color: var(--accent); }
.nn-fw-social svg { width: 16px; height: 16px; fill: currentColor; }

/* Copyright */
.nn-footer-copy {
  padding: 16px 40px;
  text-align: center;
  background: rgba(0,0,0,0.25);
}
.nn-footer-copy p { color: rgba(255,255,255,0.4); font-size: 13px; margin: 0; }

/* ============================================
   ARCHIVE PAGE
   ============================================ */
.nn-archive-wrap { padding: 40px 0 60px; }
.nn-archive-title h1 { font-size: 30px; font-weight: 700; margin: 0 0 14px; }
.nn-archive-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 30px; }
.nn-archive-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.nn-archive-breadcrumb a { color: var(--text-muted); }
.nn-archive-breadcrumb a:hover { color: var(--accent); }

.nn-archive-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.nn-archive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.nn-a-card { background: var(--white); overflow: hidden; transition: var(--ease); }
.nn-a-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.09); }
.nn-a-card .a-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.nn-a-card .a-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.nn-a-card:hover .a-img img { transform: scale(1.05); }
.nn-a-card .a-body { padding: 18px; }
.nn-a-card .nn-badge { margin-bottom: 10px; }
.nn-a-card h2 { font-size: 17px; font-weight: 700; line-height: 1.4; margin: 0 0 6px; }
.nn-a-card h2 a { color: var(--text); }
.nn-a-card h2 a:hover { color: var(--accent); }
.nn-a-card .excerpt { font-size: 14px; color: #555; line-height: 1.6; margin-top: 10px; }

/* Sidebar */
.nn-sidebar { background: var(--white); padding: 24px; }
.nn-widget { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.nn-widget:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.nn-widget-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin: 0 0 14px; }

.nn-search-form { display: flex; }
.nn-search-form input[type="search"] {
  flex: 1; border: 1px solid var(--border); border-right: none;
  padding: 10px 12px;
  font-family: var(--font-body); font-size: 14px; outline: none;
}
.nn-search-form input:focus { border-color: var(--accent); }
.nn-search-form button {
  background: var(--text); color: var(--white);
  border: none; padding: 10px 14px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: var(--ease);
  white-space: nowrap;
}
.nn-search-form button:hover { background: var(--accent); }

.nn-recent-posts, .nn-cat-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.nn-recent-posts li a, .nn-cat-list li a {
  font-size: 14px; font-weight: 500; color: var(--accent);
  line-height: 1.4; transition: var(--ease);
}
.nn-recent-posts li a:hover, .nn-cat-list li a:hover { color: var(--accent-dark); }

/* Pagination */
.nn-pagination { margin-top: 36px; display: flex; gap: 6px; }
.nn-pagination a, .nn-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  font-size: 14px; font-weight: 500;
  background: var(--white); color: var(--text);
  border: 1px solid var(--border); transition: var(--ease);
}
.nn-pagination a:hover, .nn-pagination span.current {
  background: var(--accent); border-color: var(--accent); color: var(--white);
}

/* ============================================
   SINGLE POST
   ============================================ */
.nn-single-wrap { max-width: 820px; margin: 0 auto; padding: 30px 0 60px; }

.nn-single-card { background: var(--white); padding: 42px 50px; }
.nn-single-card .nn-badge { margin-bottom: 20px; }
.nn-single-card h1 { font-size: 32px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; }
.nn-single-card .byline { font-size: 14px; color: var(--text-muted); margin: 0 0 26px; }
.nn-single-card .byline a { color: var(--accent); }
.nn-single-card .feat-img { margin: 0 0 30px; overflow: hidden; }
.nn-single-card .feat-img img { width: 100%; height: auto; display: block; }

.nn-post-content { font-size: 16px; line-height: 1.8; color: #333; }
.nn-post-content p { margin-bottom: 1.5em; }
.nn-post-content h2, .nn-post-content h3 { margin-top: 1.5em; }

/* Author bio */
.nn-author-bio {
  border: 1px solid var(--border);
  padding: 24px; margin-top: 40px;
  display: flex; align-items: flex-start; gap: 20px;
}
.nn-author-bio .avatar {
  width: 70px; height: 70px;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.nn-author-bio .avatar img { width: 100%; height: 100%; object-fit: cover; }
.nn-author-bio .author-name { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.nn-author-bio .author-desc { font-size: 14px; color: #555; line-height: 1.6; margin: 0; }

/* Related posts */
.nn-related { margin-top: 50px; }
.nn-related-title {
  font-size: 22px; font-weight: 700;
  margin: 0 0 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.nn-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nn-rel-card .r-img { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 10px; }
.nn-rel-card .r-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.nn-rel-card:hover .r-img img { transform: scale(1.05); }
.nn-rel-card h4 { font-size: 14px; font-weight: 700; line-height: 1.4; margin: 0; }
.nn-rel-card h4 a { color: var(--text); }
.nn-rel-card h4 a:hover { color: var(--accent); }

/* Comments */
.nn-comments-card { background: var(--white); padding: 36px 50px; margin-top: 4px; }
.nn-comments-card h2 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.nn-comments-card .comment-note { font-size: 14px; color: #666; margin: 0 0 22px; }

.comment-form-nn textarea {
  width: 100%; min-height: 160px; resize: vertical;
  border: 1px solid var(--border);
  padding: 12px 16px; font-family: var(--font-body); font-size: 14px;
  outline: none; display: block; margin-bottom: 14px; transition: var(--ease);
}
.comment-form-nn .fields-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 14px;
}
.comment-form-nn input[type="text"],
.comment-form-nn input[type="email"],
.comment-form-nn input[type="url"] {
  width: 100%; border: 1px solid var(--border);
  padding: 11px 14px; font-family: var(--font-body); font-size: 14px;
  outline: none; transition: var(--ease);
}
.comment-form-nn input:focus,
.comment-form-nn textarea:focus { border-color: var(--accent); }

.comment-form-nn .check-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #555; margin-bottom: 20px;
}
.nn-btn-submit {
  background: var(--accent); color: var(--white); border: none;
  padding: 12px 28px; font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: var(--ease);
}
.nn-btn-submit:hover { background: var(--accent-dark); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nn-topbar, .nn-navbar, .nn-footer-top { padding-left: 24px; padding-right: 24px; }
  .nn-footer-widgets { padding: 36px 24px; }
  .nn-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nn-top-stories { grid-template-columns: 1fr; }
  .nn-newsletter-box { padding: 30px; }
  .nn-contribute { grid-template-columns: 1fr; }
  .nn-contribute .contrib-img img { min-height: 220px; }
  .nn-contribute .contrib-content { padding: 40px 30px; }
  .nn-footer-widgets { grid-template-columns: 1fr 1fr; }
  .nn-fw { border-right: none; padding: 0 0 24px; }
  .nn-archive-layout { grid-template-columns: 1fr; }
  .nn-related-grid { grid-template-columns: 1fr 1fr; }
  .comment-form-nn .fields-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nn-topbar { padding: 12px 16px; }
  .nn-social, .nn-subscribe-wrapper { display: none; }
  .nn-navbar { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
  .nn-navbar > ul { display: none; }
  .nn-navbar.open > ul {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 2px solid var(--border);
    z-index: 9998; padding: 8px 0;
  }
  .nn-navbar.open > ul li a { padding: 12px 20px; border-bottom: none; border-left: 3px solid transparent; width: 100%; }
  .nn-navbar.open > ul li a:hover { border-left-color: var(--accent); }
  .nn-toggle { display: flex; }

  .nn-hero-grid { grid-template-columns: 1fr; height: auto; gap: 4px; }
  .nn-hero-main { height: 320px; }
  .nn-hero-side { flex-direction: column; }
  .nn-hero-overlay h2 { font-size: 20px; }

  .nn-grid-2, .nn-grid-3, .nn-grid-4,
  .nn-archive-grid, .nn-related-grid { grid-template-columns: 1fr; }

  .nn-footer-top { flex-direction: column; gap: 16px; padding: 18px 16px; text-align: center; }
  .nn-footer-nav { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .nn-footer-widgets { grid-template-columns: 1fr; padding: 28px 16px; }
  .nn-footer-copy { padding: 14px 16px; }

  .nn-single-card, .nn-comments-card { padding: 24px 20px; }
  .nn-single-card h1 { font-size: 24px; }

  .nn-contribute { grid-template-columns: 1fr; }
  .nn-contribute .contrib-content { padding: 32px 24px; }
  .nn-contribute .contrib-content h2 { font-size: 24px; }
}
