/* ================================================================
   Newspress Portal CSS
   Base: news.css (original theme)  +  Razor-specific adaptations
   Fonts loaded via Google Fonts in layout head.
   ================================================================ */

/* ---- ORIGINAL THEME: CSS variables ---- */
:root {
  --np-bg:        #FFFFFF;
  --np-surface:   #FFFFFF;
  --np-surface-2: #FAFAF8;
  --np-ink:       #0E0E10;
  --np-ink-2:     #3A3A3F;
  --np-ink-3:     #6B6B72;
  --np-rule:      #E6E6E2;
  --np-rule-2:    #F0EFEB;

  --np-accent:        #C8102E;
  --np-accent-ink:    #FFFFFF;
  --np-accent-tint:   #FCEAEC;
  --np-accent-hover:  #A40D26;

  --cat-gundem:  #C8102E;
  --cat-ekonomi: #1B5E20;
  --cat-spor:    #0D47A1;
  --cat-tek:     #4A148C;
  --cat-kultur:  #BF6B04;
  --cat-yasam:   #00695C;
  --cat-dunya:   #424242;
  --cat-magazin: #AD1457;
  --cat-saglik:  #0891B2;
  --cat-bilim:   #0284C7;
  --cat-siyaset: #7B1FA2;

  --np-t-xs:  12px;
  --np-t-sm:  13px;
  --np-t-base:15px;
  --np-t-md:  17px;
  --np-t-lg:  20px;
  --np-t-xl:  24px;
  --np-t-2xl: 32px;
  --np-t-3xl: 44px;
  --np-t-4xl: 64px;

  --np-radius:      4px;
  --np-radius-md:   8px;
  --np-radius-lg:   12px;
  --np-radius-pill: 999px;

  --np-sh-1: 0 1px 0 rgba(14,14,16,.04), 0 1px 2px rgba(14,14,16,.05);
  --np-sh-2: 0 6px 20px rgba(14,14,16,.07);
  --np-sh-3: 0 14px 40px rgba(14,14,16,.12);

  --np-container: 1280px;
  --np-gap: 24px;
  --np-ease: cubic-bezier(.2,.7,.2,1);
}

/* ---- ORIGINAL THEME: Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--np-bg);
  color: var(--np-ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: var(--np-t-base);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

::selection { background: var(--np-accent); color: var(--np-accent-ink); }

/* ---- ORIGINAL THEME: Container ---- */
.np-container {
  width: 100%;
  max-width: var(--np-container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Masthead widget (FX rates + weather) ---- */
.np-widget {
  display: flex;
  align-items: center;
}
.np-widget-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 16px;
  border-left: 1px solid var(--np-rule);
}
.np-widget-item:first-child { border-left: none; padding-left: 0; }
.np-widget-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--np-ink-3);
  line-height: 1;
}
.np-widget-value {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--np-ink);
  line-height: 1.3;
}
.np-widget-value.up   { color: var(--cat-ekonomi); }
.np-widget-value.down { color: var(--np-accent); }
.np-weather-item {
  border-left: none;
  padding-left: 0;
  border-right: 1px solid var(--np-rule);
  padding-right: 16px;
  margin-right: 4px;
}

/* ---- ORIGINAL THEME: Top utility bar ---- */
.np-topbar {
  background: var(--np-ink);
  color: #EDEDE8;
  font-size: 12px;
  border-bottom: 1px solid var(--np-rule);
}
.np-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px;
  gap: 16px;
}
.np-topbar a { color: #EDEDE8; opacity: .85; }
.np-topbar a:hover { opacity: 1; }
.np-topbar .left, .np-topbar .right {
  display: flex; align-items: center; gap: 18px;
}
.np-date-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; letter-spacing: 0.02em;
}
.np-clock {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Filter tabs in topbar (period: Tümü / Son 1 Saat / Bugün / Bu Hafta) */
.np-topbar-period {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.15);
  height: 20px;
}
.np-topbar-period .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.np-topbar-period button {
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(255,255,255,0.75);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: color .15s var(--np-ease);
}
.np-topbar-period button:hover { color: white; }
.np-topbar-period button.active { color: white; font-weight: 600; }
.np-topbar-period button.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--np-accent);
}

/* ---- ORIGINAL THEME: Masthead ---- */
.np-masthead {
  background: var(--np-bg);
  border-bottom: 1px solid var(--np-rule);
  padding: 20px 0;
  position: relative;
}
.np-masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.np-logo {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--np-ink);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.np-logo .accent-dot {
  width: 10px; height: 10px;
  background: var(--np-accent);
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 6px;
  margin-left: 4px;
}
.np-logo .sub {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--np-ink-3);
  text-transform: uppercase;
  display: block;
  text-align: center;
  margin-top: 2px;
}
.np-masthead-left, .np-masthead-right {
  display: flex; align-items: center; gap: 16px;
}
.np-masthead-right { justify-content: flex-end; }

/* Icon buttons (search, dark mode, etc.) */
.np-icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--np-rule);
  background: var(--np-surface);
  color: var(--np-ink);
  border-radius: 50%;
  transition: all .15s var(--np-ease);
}
.np-icon-btn:hover { border-color: var(--np-ink); background: var(--np-surface-2); }
.np-icon-btn.primary { background: var(--np-accent); border-color: var(--np-accent); color: white; }
.np-icon-btn.primary:hover { background: var(--np-accent-hover); border-color: var(--np-accent-hover); }

/* Search form in masthead */
.np-search-form {
  display: flex;
}
.np-search-form input {
  border: 1px solid var(--np-rule);
  border-right: none;
  border-radius: var(--np-radius) 0 0 var(--np-radius);
  padding: 8px 14px;
  font-size: 14px;
  width: 220px;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--np-surface-2);
  color: var(--np-ink);
  transition: border-color .15s;
  outline: none;
}
.np-search-form input:focus { border-color: var(--np-accent); }
.np-search-form button {
  background: var(--np-accent);
  color: white;
  border: none;
  border-radius: 0 var(--np-radius) var(--np-radius) 0;
  padding: 8px 16px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .15s;
}
.np-search-form button:hover { background: var(--np-accent-hover); }

/* Hamburger toggle (mobile) */
.np-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--np-rule);
  border-radius: 50%;
  background: var(--np-surface);
  color: var(--np-ink);
  margin-left: auto;
  flex-shrink: 0;
}
.np-nav-toggle:hover { background: var(--np-surface-2); border-color: var(--np-ink); }

/* ---- ORIGINAL THEME: Primary nav ---- */
.np-nav {
  background: var(--np-bg);
  border-bottom: 2px solid var(--np-ink);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s var(--np-ease);
}
.np-nav.shadowed { box-shadow: var(--np-sh-2); }
.np-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.np-nav-list {
  display: flex; align-items: stretch; list-style: none;
  padding: 0; margin: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.np-nav-list::-webkit-scrollbar { display: none; }

/* ADAPTATION: theme uses <button> inside np-nav-item,
   Razor uses <a class="np-nav-link"> — match button styles exactly */
.np-nav-item .np-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 16px 16px;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--np-ink-2);
  white-space: nowrap;
  transition: color .15s var(--np-ease);
  text-decoration: none;
}
.np-nav-item .np-nav-link:hover { color: var(--np-ink); }
.np-nav-item .np-nav-link.active { color: var(--np-ink); }
.np-nav-item .np-nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: -2px;
  height: 4px;
  background: var(--np-accent);
}

/* Category dot inside nav link — color via data-cat, no inline style */
.np-nav-item .np-nav-link .dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--np-ink-3);
  flex-shrink: 0;
}
.np-nav-item .np-nav-link[data-cat="Gündem"]    .dot { background: var(--cat-gundem); }
.np-nav-item .np-nav-link[data-cat="Ekonomi"]   .dot { background: var(--cat-ekonomi); }
.np-nav-item .np-nav-link[data-cat="Spor"]      .dot { background: var(--cat-spor); }
.np-nav-item .np-nav-link[data-cat="Teknoloji"] .dot { background: var(--cat-tek); }
.np-nav-item .np-nav-link[data-cat="Kültür"]    .dot { background: var(--cat-kultur); }
.np-nav-item .np-nav-link[data-cat="Yaşam"]     .dot { background: var(--cat-yasam); }
.np-nav-item .np-nav-link[data-cat="Dünya"]     .dot { background: var(--cat-dunya); }
.np-nav-item .np-nav-link[data-cat="Magazin"]   .dot { background: var(--cat-magazin); }
.np-nav-item .np-nav-link[data-cat="Sağlık"]    .dot { background: var(--cat-saglik); }
.np-nav-item .np-nav-link[data-cat="Bilim"]     .dot { background: var(--cat-bilim); }
.np-nav-item .np-nav-link[data-cat="Siyaset"]   .dot { background: var(--cat-siyaset); }

.np-nav-actions {
  display: flex; gap: 8px; align-items: center;
  padding-left: 8px;
  border-left: 1px solid var(--np-rule);
  height: 32px;
}

/* ---- ORIGINAL THEME: Breaking news ticker ---- */
.np-breaking {
  background: var(--np-accent-tint);
  border-bottom: 1px solid var(--np-rule);
  overflow: hidden;
}
.np-breaking-inner {
  display: flex; align-items: center; gap: 16px;
  height: 40px;
}
.np-breaking-label {
  flex-shrink: 0;
  background: var(--np-accent);
  color: white;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
}
.np-breaking-label::before {
  content: "";
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
  animation: np-pulse 1.4s infinite;
}
@keyframes np-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.np-ticker {
  flex: 1; overflow: hidden;
  position: relative;
  height: 24px;
}
.np-ticker-track {
  display: flex; gap: 60px;
  animation: np-ticker 60s linear infinite;
  white-space: nowrap;
  align-items: center;
  height: 100%;
  width: max-content;
}
.np-ticker-track:hover { animation-play-state: paused; }

/* ADAPTATION: theme uses <span>, Razor uses <a> for click tracking */
.np-ticker-track span,
.np-ticker-track a {
  font-size: 13px;
  color: var(--np-ink);
  font-weight: 500;
  text-decoration: none;
}
.np-ticker-track span::before,
.np-ticker-track a::before {
  content: "▸";
  color: var(--np-accent);
  margin-right: 8px;
  font-size: 11px;
}
.np-ticker-track a:hover { color: var(--np-accent); }

@keyframes np-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- ORIGINAL THEME: Hero section ---- */
.np-hero-section {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--np-rule);
}
.np-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
.np-hero-main {
  position: relative;
  border-radius: var(--np-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  background: var(--np-ink);
}

/* ADAPTATION: theme uses background-image div, we use <img> tag */
.np-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--np-ease);
  opacity: 0.85;
}
.np-hero-main:hover .np-hero-img { transform: scale(1.03); }

.np-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  pointer-events: none;
}
.np-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px;
  color: white;
}
.np-hero-cat {
  display: inline-block;
  background: var(--np-accent);
  color: white;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  margin-bottom: 16px;
}
.np-hero-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.np-hero-title a { color: white; }
.np-hero-title a:hover { text-decoration: underline; }
.np-hero-meta {
  display: flex; gap: 20px; align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.np-hero-meta img { width: 14px; height: 14px; border-radius: 2px; display: inline; }
.np-hero-source { display: inline-flex; align-items: center; gap: 5px; }

/* Hero side cards */
.np-hero-side {
  display: flex; flex-direction: column;
  gap: 16px;
}
.np-hero-side-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--np-rule);
  cursor: pointer;
}
.np-hero-side-card:last-child { border-bottom: 0; padding-bottom: 0; }

/* ADAPTATION: theme uses background-image, we use <img> inside the div */
.np-hero-side-thumb {
  width: 110px; height: 80px;
  border-radius: var(--np-radius-md);
  position: relative;
  overflow: hidden;
  background: var(--np-rule);
  flex-shrink: 0;
}
.np-hero-side-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.np-hero-side-thumb .num {
  position: absolute; top: 6px; left: 6px;
  width: 24px; height: 24px;
  background: var(--np-bg);
  color: var(--np-ink);
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  z-index: 1;
}
.np-hero-side-content {
  display: flex; flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.np-hero-side-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-accent);
}
.np-hero-side-title {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: var(--np-ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.np-hero-side-card:hover .np-hero-side-title { color: var(--np-accent); }
.np-hero-side-title a { color: inherit; }
.np-hero-side-meta {
  font-size: 11px; color: var(--np-ink-3);
  display: flex; gap: 8px; align-items: center;
}

/* ---- ORIGINAL THEME: Section head ---- */
.np-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--np-rule);
}
.np-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--np-ink);
}
.np-section-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  display: flex; align-items: center; gap: 10px;
}
.np-section-title .accent-bar {
  width: 4px; height: 22px;
  background: var(--np-accent);
  display: inline-block;
}
.np-section-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--np-ink-2);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s var(--np-ease), gap .15s var(--np-ease);
}
.np-section-link:hover { color: var(--np-accent); gap: 10px; }

/* ---- ORIGINAL THEME: Grids ---- */
.np-grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.np-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.np-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- ORIGINAL THEME: Sidebar blocks ---- */
.np-sidebar { display: flex; flex-direction: column; gap: 32px; }
.np-side-block {
  border: 1px solid var(--np-rule);
  border-radius: var(--np-radius-lg);
  padding: 24px;
  background: var(--np-surface);
}
.np-side-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--np-ink);
}
.np-side-title .accent-bar { width: 4px; height: 16px; background: var(--np-accent); display: inline-block; }

/* Most read list */
.np-most-list { display: flex; flex-direction: column; gap: 16px; }
.np-most-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  cursor: pointer;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--np-rule);
}
.np-most-item:last-child { border-bottom: 0; padding-bottom: 0; }
.np-most-num {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  color: var(--np-accent);
  letter-spacing: -0.02em;
}
.np-most-content { display: flex; flex-direction: column; gap: 6px; }
.np-most-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--np-ink-3);
}
.np-most-title {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  color: var(--np-ink);
  margin: 0;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.np-most-item:hover .np-most-title { color: var(--np-accent); }
.np-most-meta { font-size: 11px; color: var(--np-ink-3); }

/* Ad slot placeholder */
.np-ad {
  background: repeating-linear-gradient(45deg, var(--np-rule-2), var(--np-rule-2) 8px, transparent 8px, transparent 16px);
  border: 1px dashed var(--np-rule);
  border-radius: var(--np-radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--np-ink-3);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  min-height: 90px;
}
.np-ad.tall { min-height: 280px; }

/* ---- ORIGINAL THEME: Footer ---- */
.np-footer {
  background: var(--np-ink);
  color: #C7C7C0;
  padding: 56px 0 24px;
  margin-top: 24px;
}
.np-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.np-footer-brand .np-logo { color: white; font-size: 32px; }
.np-footer-brand .np-logo .accent-dot { background: var(--np-accent); }
.np-footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  max-width: 40ch;
  margin: 12px 0 16px;
  line-height: 1.6;
}
.np-footer-col h4 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: white;
}
.np-footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.np-footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color .15s var(--np-ease);
}
.np-footer-col a:hover { color: white; }
.np-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.np-social { display: flex; gap: 8px; }
.np-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s var(--np-ease);
}
.np-social a:hover { background: var(--np-accent); border-color: var(--np-accent); color: white; }

/* ================================================================
   PORTAL-SPECIFIC STYLES (not in original theme)
   ================================================================ */

/* ---- Portal wrapper ---- */
.np-portal-wrap {
  max-width: var(--np-container);
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* ---- Main content + sidebar grid ---- */
.np-portal-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
  padding-top: 32px;
}

/* ---- Section heading (feed area) ---- */
.np-section-head-sm {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--np-ink);
}
.np-section-head-sm h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.np-section-head-sm h2 .accent-bar { width: 4px; height: 18px; background: var(--np-accent); display: inline-block; }

/* ---- News card (our card component — uses <img> not background-image) ---- */
.news-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: var(--np-surface);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-radius-lg);
  overflow: hidden;
  transition: box-shadow .2s var(--np-ease), transform .2s var(--np-ease), border-color .2s;
}
.news-card:hover {
  box-shadow: var(--np-sh-2);
  transform: translateY(-2px);
  border-color: transparent;
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--np-rule-2);
}
.card-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s var(--np-ease);
  display: block;
}
.news-card:hover .card-image-wrap img { transform: scale(1.04); }

.card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8e3d8, #d5cfc2);
  display: flex; align-items: center; justify-content: center;
}
.card-placeholder svg { width: 36px; height: 36px; opacity: .25; }

/* Category badge (top-right corner) */
.cat-badge {
  position: absolute;
  top: 10px; right: 10px;
  padding: 5px 10px;
  border-radius: 3px;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background: var(--np-accent);
  pointer-events: none;
}

/* Category-specific badge colors via data-cat on news-card */
.news-card[data-cat="Gündem"]    .cat-badge { background: var(--cat-gundem); }
.news-card[data-cat="Ekonomi"]   .cat-badge { background: var(--cat-ekonomi); }
.news-card[data-cat="Spor"]      .cat-badge { background: var(--cat-spor); }
.news-card[data-cat="Teknoloji"] .cat-badge { background: var(--cat-tek); }
.news-card[data-cat="Kültür"]    .cat-badge { background: var(--cat-kultur); }
.news-card[data-cat="Yaşam"]     .cat-badge { background: var(--cat-yasam); }
.news-card[data-cat="Dünya"]     .cat-badge { background: var(--cat-dunya); }
.news-card[data-cat="Magazin"]   .cat-badge { background: var(--cat-magazin); }
.news-card[data-cat="Sağlık"]    .cat-badge { background: var(--cat-saglik); }
.news-card[data-cat="Bilim"]     .cat-badge { background: var(--cat-bilim); }
.news-card[data-cat="Siyaset"]   .cat-badge { background: var(--cat-siyaset); }

/* View count badge (bottom-left) */
.view-badge {
  position: absolute; bottom: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
}
.view-badge svg { width: 10px; height: 10px; }

/* Card body */
.card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-title {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--np-ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s var(--np-ease);
}
.card-title a { color: inherit; }
.news-card:hover .card-title { color: var(--np-accent); }

.card-summary {
  font-size: 13px;
  color: var(--np-ink-2);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  margin-top: auto;
  padding-top: 10px;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--np-rule-2);
}
.source-line {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px;
  color: var(--np-ink-3);
}
.source-line img { width: 13px; height: 13px; border-radius: 2px; display: inline; }
.card-date { font-size: 11px; color: var(--np-ink-3); margin-left: auto; }

/* ---- Card grid ---- */
.np-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---- Category hero banner ---- */
.np-cat-hero {
  background: var(--np-accent);
  color: white;
  margin-bottom: 0;
  border-bottom: none;
}
.np-cat-hero[data-cat="Spor"]      { background: var(--cat-spor); }
.np-cat-hero[data-cat="Ekonomi"]   { background: var(--cat-ekonomi); }
.np-cat-hero[data-cat="Teknoloji"] { background: var(--cat-tek); }
.np-cat-hero[data-cat="Kültür"]    { background: var(--cat-kultur); }
.np-cat-hero[data-cat="Yaşam"]     { background: var(--cat-yasam); }
.np-cat-hero[data-cat="Dünya"]     { background: var(--cat-dunya); }
.np-cat-hero[data-cat="Magazin"]   { background: var(--cat-magazin); }
.np-cat-hero[data-cat="Sağlık"]    { background: var(--cat-saglik); }
.np-cat-hero[data-cat="Bilim"]     { background: var(--cat-bilim); }
.np-cat-hero[data-cat="Siyaset"]   { background: var(--cat-siyaset); }

.np-cat-hero-inner {
  max-width: var(--np-container);
  margin: 0 auto;
  padding: 28px 24px;
}
.np-cat-hero-label {
  font-family: "Inter", sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 6px;
}
.np-cat-hero-name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.np-cat-hero-count {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  opacity: .75;
}

/* ---- Pagination ---- */
.np-pagination {
  display: flex; gap: 6px;
  justify-content: center;
  margin-top: 32px;
  font-family: "Inter", sans-serif;
}
.np-pagination a,
.np-pagination span {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--np-rule);
  border-radius: var(--np-radius);
  font-size: 13px;
  font-weight: 500;
  background: var(--np-surface);
  color: var(--np-ink-2);
  transition: all .15s var(--np-ease);
}
.np-pagination a:hover {
  background: var(--np-surface-2);
  border-color: var(--np-accent);
  color: var(--np-accent);
}
.np-current { background: var(--np-accent) !important; color: white !important; border-color: var(--np-accent) !important; }
.np-disabled { color: var(--np-rule) !important; pointer-events: none; }

/* ---- Infinite scroll loading ---- */
.np-feed-loading {
  text-align: center;
  padding: 24px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--np-ink-3);
  display: none;
}
.np-feed-loading.visible { display: block; }
.np-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid var(--np-rule);
  border-top-color: var(--np-accent);
  border-radius: 50%;
  animation: np-spin .7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes np-spin { to { transform: rotate(360deg); } }

/* ---- Empty state ---- */
.np-empty {
  text-align: center;
  padding: 64px 24px;
  font-family: "Inter", sans-serif;
  color: var(--np-ink-3);
}
.np-empty h2 { font-family: "Oswald", sans-serif; font-size: 22px; margin-bottom: 8px; color: var(--np-ink-2); }
.np-empty a { color: var(--np-accent); }

/* ---- Search page ---- */
.np-search-page-form {
  padding: 40px 0 32px;
}
.np-search-page-form form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}
.np-search-page-form input {
  flex: 1;
  border: 2px solid var(--np-rule);
  border-right: none;
  border-radius: var(--np-radius) 0 0 var(--np-radius);
  padding: 14px 20px;
  font-size: 16px;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--np-surface);
  color: var(--np-ink);
  outline: none;
  transition: border-color .15s;
}
.np-search-page-form input:focus { border-color: var(--np-accent); }
.np-search-page-form button {
  background: var(--np-accent);
  color: white;
  border: none;
  border-radius: 0 var(--np-radius) var(--np-radius) 0;
  padding: 14px 24px;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .15s;
  cursor: pointer;
}
.np-search-page-form button:hover { background: var(--np-accent-hover); }

.np-search-results { padding-top: 4px; }
.np-search-results .np-section-head-sm { margin-bottom: 24px; }
.np-search-results .np-pagination { margin-top: 32px; }

/* ---- Login butonu & kullanıcı menüsü ---- */
.np-user-wrap {
  position: relative;
}
.np-login-btn {
  transition: background .15s, border-color .15s;
}
.np-login-btn--active {
  background: var(--np-accent);
  border-color: var(--np-accent);
  color: white;
}
.np-login-btn--active:hover {
  background: var(--np-accent-hover);
  border-color: var(--np-accent-hover);
}
.np-avatar-small {
  width: 26px; height: 26px;
  background: transparent;
  color: white;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}
.np-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--np-surface);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-radius-md);
  box-shadow: var(--np-sh-2);
  min-width: 200px;
  z-index: 200;
  overflow: hidden;
}
.np-user-menu-name {
  padding: 12px 16px 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--np-ink);
  border-bottom: 1px solid var(--np-rule);
}
.np-user-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: var(--np-ink-2);
  background: none;
  border: none;
  border-bottom: 1px solid var(--np-rule-2);
  cursor: pointer;
  transition: background .12s;
}
.np-user-menu-item:last-child { border-bottom: none; }
.np-user-menu-item:hover { background: var(--np-surface-2); color: var(--np-ink); }
.np-user-menu-item--danger:hover { color: var(--np-accent); }

/* ---- Login Modal ---- */
.np-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,14,16,.6);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.np-modal-overlay[hidden] { display: none; }
.np-modal {
  background: var(--np-surface);
  border-radius: var(--np-radius-lg);
  width: 100%;
  max-width: 460px;
  padding: 40px 36px 36px;
  position: relative;
  box-shadow: var(--np-sh-3);
}
.np-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--np-ink-3);
  border-radius: 50%;
  transition: background .12s, color .12s;
}
.np-modal-close:hover { background: var(--np-rule-2); color: var(--np-ink); }
.np-modal-logo {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--np-ink);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.np-modal-logo .accent-dot {
  width: 7px; height: 7px;
  background: var(--np-accent);
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 4px;
  margin-left: 3px;
}
.np-modal-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--np-ink);
  margin: 0 0 8px;
}
.np-modal-sub {
  font-size: 14px;
  color: var(--np-ink-3);
  margin: 0 0 24px;
  line-height: 1.5;
}
.np-modal-form { display: flex; flex-direction: column; gap: 14px; }
.np-modal-input {
  border: 1.5px solid var(--np-rule);
  border-radius: var(--np-radius);
  padding: 12px 16px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  color: var(--np-ink);
  background: var(--np-surface-2);
  outline: none;
  transition: border-color .15s;
}
.np-modal-input:focus { border-color: var(--np-accent); background: var(--np-surface); }
.np-modal-btn {
  background: var(--np-accent);
  color: white;
  border: none;
  border-radius: var(--np-radius);
  padding: 13px 24px;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}
.np-modal-btn:hover { background: var(--np-accent-hover); }
.np-modal-btn--ghost {
  background: transparent;
  color: var(--np-ink-3);
  border: 1.5px solid var(--np-rule);
}
.np-modal-btn--ghost:hover { background: var(--np-surface-2); color: var(--np-ink); }
.np-modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

/* ---- Kategori chip grid (modal içi) ---- */
.np-cat-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.np-cat-chip-btn {
  padding: 8px 16px;
  border: 1.5px solid var(--np-rule);
  border-radius: var(--np-radius-pill);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--np-ink-2);
  background: var(--np-surface);
  cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
}
.np-cat-chip-btn:hover { border-color: var(--np-accent); color: var(--np-accent); }
.np-cat-chip-btn--active {
  border-color: var(--np-accent);
  background: var(--np-accent);
  color: white;
}

/* ---- Kişisel akış bloğu (sidebar) ---- */
.np-pref-block { }
.np-pref-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.np-pref-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--np-radius-pill);
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--np-accent-tint);
  color: var(--np-accent);
  border: 1px solid var(--np-accent);
}
.np-pref-edit-btn {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid var(--np-rule);
  border-radius: var(--np-radius);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--np-ink-3);
  background: none;
  cursor: pointer;
  transition: border-color .12s, color .12s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.np-pref-edit-btn:hover { border-color: var(--np-accent); color: var(--np-accent); }

/* ---- Kişisel akış banner ---- */
.np-personal-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
  background: var(--np-accent-tint);
  border: 1px solid rgba(200,16,46,.18);
  border-radius: var(--np-radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--np-accent);
}
.np-personal-banner svg { flex-shrink: 0; opacity: .8; }
.np-personal-reset {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--np-ink-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  transition: color .12s;
}
.np-personal-reset:hover { color: var(--np-accent); }

/* ---- En Çok Okunanlar loading ---- */
.np-most-loading {
  text-align: center;
  padding: 12px;
}

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

/* ================================================================
   DETAIL LAYOUTS — Article / Static page / Contact
   ================================================================ */

/* ---- Detail page wrapper + centered reading column ---- */
.portal-wrap {
  max-width: var(--np-container);
  margin: 0 auto;
  padding: 0 24px 56px;
}
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 28px;
}
.article-wrap--wide { max-width: 980px; }

/* ---- Breadcrumb ---- */
.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  color: var(--np-ink-3);
  margin-bottom: 20px;
}
.article-breadcrumb a { color: var(--np-ink-3); transition: color .12s; }
.article-breadcrumb a:hover { color: var(--np-accent); }
.article-breadcrumb .bc-sep { color: var(--np-rule); }
.article-breadcrumb .bc-current { color: var(--np-ink-2); font-weight: 600; }

/* ---- Article header ---- */
.article-header { margin-bottom: 24px; }
.article-header h1 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.13;
  letter-spacing: -0.015em;
  color: var(--np-ink);
  margin: 10px 0 0;
}
.article-header .cat-badge {
  position: static;
  display: inline-block;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: var(--np-ink-3);
}
.article-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.article-source-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600; color: var(--np-ink-2);
}
.article-source-badge img { border-radius: 2px; }

/* ---- Article image ---- */
.article-image-wrap {
  margin: 0 0 24px;
  border-radius: var(--np-radius-md);
  overflow: hidden;
  background: var(--np-rule-2);
}
.article-image-wrap img { width: 100%; height: auto; display: block; }

/* ---- Article body text ---- */
.article-summary {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--np-ink);
  margin: 0 0 22px;
  padding-left: 16px;
  border-left: 3px solid var(--np-accent);
}
.article-excerpt {
  font-size: 16px;
  line-height: 1.78;
  color: var(--np-ink-2);
  margin: 0 0 24px;
}
.article-body {
  font-size: 16px;
  line-height: 1.78;
  color: var(--np-ink-2);
}
.article-body p { margin: 0 0 16px; }
.article-body h2,
.article-body h3 { font-family: "Oswald", sans-serif; color: var(--np-ink); margin: 28px 0 12px; }
.article-body h2 { font-size: 22px; }
.article-body h3 { font-size: 18px; }
.article-body a { color: var(--np-accent); text-decoration: underline; }
.article-body ul,
.article-body ol { padding-left: 22px; margin: 0 0 16px; }
.static-page-content img { border-radius: var(--np-radius-md); margin: 16px 0; }

/* ---- Source attribution box ---- */
.article-source-link {
  margin: 24px 0;
  padding: 14px 18px;
  background: var(--np-surface-2);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-radius-md);
  font-size: 14px;
  color: var(--np-ink-3);
}
.article-source-link a { color: var(--np-accent); font-weight: 600; }

/* ---- Share bar ---- */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--np-rule);
}
.share-label {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--np-ink-3);
  margin-right: 4px;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px;
  border: 1px solid var(--np-rule);
  border-radius: var(--np-radius);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--np-ink-2);
  background: var(--np-surface);
  cursor: pointer;
  transition: all .14s var(--np-ease);
}
.share-btn:hover { border-color: var(--np-accent); color: var(--np-accent); }
.share-btn--x:hover { background: #000; color: #fff; border-color: #000; }
.share-btn--wa:hover { background: #25D366; color: #fff; border-color: #25D366; }

/* ---- Back link ---- */
.article-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 28px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--np-accent);
}
.article-back:hover { text-decoration: underline; }

/* ---- Detail empty state ---- */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  font-family: "Inter", system-ui, sans-serif;
}
.empty-state h2 { font-family: "Oswald", sans-serif; color: var(--np-ink-2); }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.np-contact-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--np-ink-3);
  margin: 12px 0 0;
  max-width: 580px;
}
.np-contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}
.np-contact-grid--noinfo { grid-template-columns: 1fr; max-width: 620px; }

/* ---- Info panel ---- */
.np-contact-info {
  background: var(--np-surface-2);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-radius-lg);
  padding: 24px;
}
.np-contact-info-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--np-ink);
  margin: 0 0 8px;
  display: flex; align-items: center; gap: 8px;
}
.np-contact-info-title .accent-bar {
  width: 4px; height: 15px;
  background: var(--np-accent);
  display: inline-block;
}
.np-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--np-rule);
}
.np-contact-item:last-of-type { border-bottom: none; padding-bottom: 4px; }
.np-contact-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--np-accent-tint);
  color: var(--np-accent);
}
.np-contact-item-label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--np-ink-3);
  margin-bottom: 3px;
}
.np-contact-item-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--np-ink);
  line-height: 1.45;
  word-break: break-word;
}
.np-contact-item-value a { color: inherit; transition: color .12s; }
.np-contact-item-value a:hover { color: var(--np-accent); }

/* ---- Social row ---- */
.np-contact-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.np-contact-social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--np-rule);
  border-radius: 50%;
  color: var(--np-ink-2);
  background: var(--np-surface);
  transition: all .14s var(--np-ease);
}
.np-contact-social a:hover {
  background: var(--np-accent);
  border-color: var(--np-accent);
  color: #fff;
}

/* ---- Form card ---- */
.np-contact-form-card {
  background: var(--np-surface);
  border: 1px solid var(--np-rule);
  border-radius: var(--np-radius-lg);
  padding: 28px;
  box-shadow: var(--np-sh-1);
}
.np-contact-form-card h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.005em;
  color: var(--np-ink);
  margin: 0 0 4px;
}
.np-contact-form-sub {
  font-size: 13px;
  color: var(--np-ink-3);
  margin: 0 0 22px;
}
.np-form-grid { display: grid; gap: 16px; }
.np-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.np-field { display: flex; flex-direction: column; }
.np-field label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--np-ink-2);
  margin-bottom: 6px;
}
.np-field input,
.np-field textarea {
  border: 1.5px solid var(--np-rule);
  border-radius: var(--np-radius);
  padding: 11px 14px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: var(--np-ink);
  background: var(--np-surface-2);
  outline: none;
  transition: border-color .15s, background .15s;
}
.np-field input::placeholder,
.np-field textarea::placeholder { color: var(--np-ink-3); }
.np-field input:focus,
.np-field textarea:focus { border-color: var(--np-accent); background: var(--np-surface); }
.np-field textarea { resize: vertical; min-height: 130px; }

.np-form-submit {
  justify-self: start;
  background: var(--np-accent);
  color: #fff;
  border: none;
  border-radius: var(--np-radius);
  padding: 12px 30px;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}
.np-form-submit:hover { background: var(--np-accent-hover); }
.np-form-submit:disabled { opacity: .55; cursor: not-allowed; }

/* ---- Form alerts ---- */
.np-form-alert {
  padding: 12px 16px;
  border-radius: var(--np-radius);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
}
.np-form-alert--ok {
  background: #e7f6ec;
  border: 1px solid #a8d8b9;
  color: #1B5E20;
}
.np-form-alert--err {
  background: var(--np-accent-tint);
  border: 1px solid rgba(200,16,46,.32);
  color: var(--np-accent-hover);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .np-hero-grid { grid-template-columns: 1fr; }
  .np-grid-3, .np-grid-4 { grid-template-columns: 1fr 1fr; }
  .np-grid-2 { grid-template-columns: 1fr; }
  .np-footer-grid { grid-template-columns: 1fr 1fr; }
  .np-masthead-inner { grid-template-columns: 1fr; gap: 16px; }
  .np-masthead-left { display: none; }
  .np-portal-grid { grid-template-columns: 1fr; }
  .np-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .np-nav-toggle { display: flex; }
  .np-search-form { display: none; }

  /* Mobile nav as dropdown */
  .np-nav-inner {
    display: none;
    flex-direction: column;
    height: auto;
    overflow: visible;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--np-bg);
    border-bottom: 1px solid var(--np-rule);
    box-shadow: var(--np-sh-2);
    z-index: 99;
  }
  .np-nav-inner.open { display: flex; }
  .np-nav-list { flex-direction: column; width: 100%; }
  .np-nav-item .np-nav-link {
    width: 100%;
    padding: 12px 24px;
    border-bottom: 1px solid var(--np-rule-2);
    border-left: 3px solid transparent;
  }
  .np-nav-item .np-nav-link:hover,
  .np-nav-item .np-nav-link.active {
    border-left-color: var(--np-accent);
  }
  .np-nav-item .np-nav-link.active::after { display: none; }
  .np-nav { position: relative; }

  .np-breaking { display: none; }
  .np-topbar .right { display: none; }
  .np-weather-item { display: none; }

  .np-masthead-inner { grid-template-columns: auto 1fr; }
  .np-logo { font-size: 28px; }
}

@media (max-width: 600px) {
  .np-card-grid { grid-template-columns: 1fr; }
  .np-hero-side { gap: 12px; }
  .np-footer-grid { grid-template-columns: 1fr; }
  .np-container { padding: 0 16px; }
}

/* ---- Detail / Contact responsive ---- */
@media (max-width: 720px) {
  .np-contact-grid,
  .np-contact-grid--noinfo { grid-template-columns: 1fr; max-width: 100%; }
  .np-form-row { grid-template-columns: 1fr; }
  .article-wrap,
  .article-wrap--wide { max-width: 100%; padding-top: 20px; }
  .np-contact-form-card { padding: 22px 18px; }
  .portal-wrap { padding: 0 16px 40px; }
}
