/*
Theme Name: Inspiro Child
Theme URI: https://nawismarine.com
Description: Child theme for Inspiro — Nawis Marine editorial blog design (v2).
Author: Nawis Marine
Template: inspiro
Version: 2.0.0
Text Domain: inspiro-child
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  /* Brand — warm editorial palette, uyumlu with anasayfa.html */
  --nw-bg:           #f9f7f4;
  --nw-bg-alt:       #fefcf9;
  --nw-surface:      #ffffff;
  --nw-surface-2:    #f3f0eb;

  --nw-ink:          #0c1a2e;
  --nw-ink-2:        #1e293b;
  --nw-ink-3:        #475569;
  --nw-muted:        #475569;
  --nw-muted-2:      #64748b;

  --nw-border:       #e6e2dc;
  --nw-border-soft:  #efeae2;
  --nw-border-strong:#cbd5e1;

  --nw-brand:        #1a56db;
  --nw-brand-2:      #2563eb;
  --nw-brand-ghost:  rgba(26, 86, 219, 0.08);
  --nw-accent:       #0e7490;
  --nw-accent-2:     #06b6d4;

  --nw-dark:         #0a1628;
  --nw-dark-2:       #0f1f3a;

  /* Typography scale */
  --nw-font-body:    "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nw-font-head:    "Sora", system-ui, sans-serif;
  --nw-font-mono:    "JetBrains Mono", "SFMono-Regular", Consolas, Menlo, monospace;

  /* Radius */
  --nw-r-sm:  10px;
  --nw-r-md:  14px;
  --nw-r-lg:  20px;
  --nw-r-xl:  28px;

  /* Shadows */
  --nw-shadow-xs: 0 1px 2px rgba(12, 26, 46, 0.04);
  --nw-shadow-sm: 0 2px 8px rgba(12, 26, 46, 0.05);
  --nw-shadow-md: 0 8px 24px rgba(12, 26, 46, 0.07);
  --nw-shadow-lg: 0 20px 48px rgba(12, 26, 46, 0.10);
  --nw-shadow-xl: 0 28px 64px rgba(12, 26, 46, 0.14);

  /* Motion */
  --nw-ease:  cubic-bezier(0.2, 0.8, 0.2, 1);
  --nw-dur:   280ms;
}

/* =========================================================
   2. PARENT THEME RESET — full-width editorial layout
   (blog + haberler + taxonomy)
   ========================================================= */
.blog .site-content,
.single-post .site-content,
.single-haber .site-content,
.post-type-archive-haber .site-content,
.tax-haber_kategorisi .site-content,
.archive .site-content,
.search .site-content {
  padding-top: 0 !important;
}

.blog #page,          .single-post #page,          .single-haber #page,
.post-type-archive-haber #page, .tax-haber_kategorisi #page,
.archive #page,       .search #page,
.blog #content,       .single-post #content,       .single-haber #content,
.post-type-archive-haber #content, .tax-haber_kategorisi #content,
.archive #content,    .search #content,
.blog .site-content-inner, .single-post .site-content-inner, .single-haber .site-content-inner,
.post-type-archive-haber .site-content-inner, .tax-haber_kategorisi .site-content-inner,
.archive .site-content-inner, .search .site-content-inner,
.blog .content-wrapper,    .single-post .content-wrapper,    .single-haber .content-wrapper,
.post-type-archive-haber .content-wrapper, .tax-haber_kategorisi .content-wrapper,
.archive .content-wrapper, .search .content-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.blog #secondary,      .single-post #secondary,      .single-haber #secondary,
.post-type-archive-haber #secondary, .tax-haber_kategorisi #secondary,
.archive #secondary,   .search #secondary,
.blog .widget-area,    .single-post .widget-area,    .single-haber .widget-area,
.post-type-archive-haber .widget-area, .tax-haber_kategorisi .widget-area,
.archive .widget-area, .search .widget-area,
.blog .sidebar,        .single-post .sidebar,        .single-haber .sidebar,
.post-type-archive-haber .sidebar, .tax-haber_kategorisi .sidebar,
.archive .sidebar,     .search .sidebar {
  display: none !important;
}

.blog #primary,         .single-post #primary,         .single-haber #primary,
.post-type-archive-haber #primary, .tax-haber_kategorisi #primary,
.archive #primary,      .search #primary,
.blog .content-area,    .single-post .content-area,    .single-haber .content-area,
.post-type-archive-haber .content-area, .tax-haber_kategorisi .content-area,
.archive .content-area, .search .content-area,
.blog .site-main,       .single-post .site-main,       .single-haber .site-main,
.post-type-archive-haber .site-main, .tax-haber_kategorisi .site-main,
.archive .site-main,    .search .site-main {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   3. SHARED PAGE SHELL
   ========================================================= */
.nw-blog-page,
.nw-single-page {
  background: var(--nw-bg);
  color: var(--nw-ink-2);
  font-family: var(--nw-font-body);
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nw-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.nw-container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Focus rings — accessible */
.nw-blog-page a:focus-visible,
.nw-single-page a:focus-visible,
.nw-blog-page button:focus-visible,
.nw-single-page button:focus-visible,
.nw-blog-page input:focus-visible,
.nw-single-page input:focus-visible {
  outline: 2px solid var(--nw-brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Reveal-on-scroll */
.nw-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--nw-ease), transform 700ms var(--nw-ease);
  will-change: opacity, transform;
}
.nw-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .nw-reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   4. BLOG LISTING HERO (magazine style, slim)
   ========================================================= */
.nw-hero {
  position: relative;
  /* Üstte parent temanın (olası) sabit header'ıyla çakışmayı önleyen tampon */
  padding: 112px 0 56px;
  background: var(--nw-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--nw-border-soft);
}

.nw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 85% 10%, rgba(26, 86, 219, 0.06), transparent 60%),
    radial-gradient(500px 280px at 10% 100%, rgba(14, 116, 144, 0.05), transparent 65%);
  pointer-events: none;
}

.nw-hero > .nw-container { position: relative; z-index: 2; }

.nw-hero-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
}

.nw-hero-title-block {
  max-width: 780px;
}

.nw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nw-font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nw-brand);
  margin-bottom: 18px;
}

.nw-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nw-hero h1 {
  font-family: var(--nw-font-head);
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--nw-ink);
  margin: 0 0 18px;
  text-wrap: balance;
}

.nw-hero-lede {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--nw-ink-3);
  max-width: 620px;
  margin: 0;
}

.nw-hero-lede a {
  color: var(--nw-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hero-level search (inline, compact) */
.nw-hero-search {
  position: relative;
  flex: 0 0 auto;
  width: min(340px, 100%);
}

.nw-hero-search input[type="search"] {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border-radius: var(--nw-r-md);
  border: 1px solid var(--nw-border);
  background: var(--nw-surface);
  color: var(--nw-ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--nw-dur) var(--nw-ease), box-shadow var(--nw-dur) var(--nw-ease);
}

.nw-hero-search input[type="search"]:focus {
  outline: none;
  border-color: var(--nw-brand);
  box-shadow: 0 0 0 4px var(--nw-brand-ghost);
}

.nw-hero-search::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  pointer-events: none;
}

.nw-hero-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--nw-r-sm);
  background: var(--nw-ink);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color var(--nw-dur) var(--nw-ease);
}

.nw-hero-search button:hover { background: var(--nw-brand); }

@media (max-width: 900px) {
  .nw-hero-head { grid-template-columns: 1fr; }
  .nw-hero-search { width: 100%; }
  .nw-hero { padding: 92px 0 42px; }
}

/* =========================================================
   5. CATEGORY FILTER BAR (sticky pill tabs)
   ========================================================= */
.nw-filter-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 247, 244, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--nw-border-soft);
}

.nw-filter-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nw-filter-row::-webkit-scrollbar { display: none; }

.nw-filter-label {
  flex: 0 0 auto;
  font-family: var(--nw-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nw-muted);
}

.nw-chips {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

.nw-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--nw-border);
  background: var(--nw-surface);
  color: var(--nw-ink-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    border-color var(--nw-dur) var(--nw-ease),
    background-color var(--nw-dur) var(--nw-ease),
    color var(--nw-dur) var(--nw-ease),
    transform var(--nw-dur) var(--nw-ease);
}

.nw-chip:hover {
  border-color: var(--nw-ink);
  transform: translateY(-1px);
}

.nw-chip.is-active,
.nw-chip[aria-current="page"] {
  background: var(--nw-ink);
  border-color: var(--nw-ink);
  color: #fff;
}

.nw-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--nw-surface-2);
  color: var(--nw-ink-3);
}

.nw-chip.is-active .nw-chip-count,
.nw-chip[aria-current="page"] .nw-chip-count {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* =========================================================
   6. FEATURED POST (big hero card, magazine style)
   ========================================================= */
.nw-featured {
  padding: 48px 0 16px;
}

.nw-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border-radius: var(--nw-r-xl);
  overflow: hidden;
  background: var(--nw-surface);
  border: 1px solid var(--nw-border);
  box-shadow: var(--nw-shadow-md);
  transition: transform var(--nw-dur) var(--nw-ease), box-shadow var(--nw-dur) var(--nw-ease);
  text-decoration: none;
  color: inherit;
}

.nw-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nw-shadow-lg);
}

.nw-featured-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--nw-surface-2);
}

.nw-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--nw-ease);
}

.nw-featured-card:hover .nw-featured-media img {
  transform: scale(1.04);
}

.nw-featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(12, 26, 46, 0.88);
  color: #fff;
  font-family: var(--nw-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 4;
  pointer-events: none;
}

.nw-featured-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--nw-accent-2);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.22);
}

.nw-featured-body {
  padding: clamp(28px, 3.8vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.nw-featured-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nw-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--nw-brand-ghost);
  color: var(--nw-brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color var(--nw-dur) var(--nw-ease);
}

.nw-tag:hover { background: rgba(26, 86, 219, 0.16); }

.nw-featured-title {
  font-family: var(--nw-font-head);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--nw-ink);
  text-wrap: balance;
}

.nw-featured-excerpt {
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--nw-ink-3);
  margin: 0;
}

.nw-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--nw-muted);
  margin-top: 6px;
}

.nw-featured-meta strong {
  color: var(--nw-ink-2);
  font-weight: 600;
}

.nw-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.55;
}

@media (max-width: 960px) {
  .nw-featured-card { grid-template-columns: 1fr; }
  .nw-featured-media { aspect-ratio: 16 / 10; }
  .nw-featured { padding: 36px 0 8px; }
}

/* =========================================================
   7. POST LIST (grid of cards)
   ========================================================= */
.nw-blog-list {
  padding: 36px 0 96px;
}

.nw-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.nw-list-head h2 {
  font-family: var(--nw-font-head);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
  color: var(--nw-ink);
  margin: 0;
}

.nw-list-sub {
  font-size: 0.92rem;
  color: var(--nw-muted);
  margin: 0;
}

.nw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.nw-card {
  background: var(--nw-surface);
  border: 1px solid var(--nw-border);
  border-radius: var(--nw-r-lg);
  overflow: hidden;
  transition: transform var(--nw-dur) var(--nw-ease),
              box-shadow var(--nw-dur) var(--nw-ease),
              border-color var(--nw-dur) var(--nw-ease);
  display: flex;
  flex-direction: column;
}

.nw-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--nw-shadow-lg);
  border-color: var(--nw-border-strong);
}

.nw-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.nw-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--nw-surface-2);
  overflow: hidden;
}

.nw-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 500ms var(--nw-ease);
}

.nw-card:hover .nw-thumb { transform: scale(1.05); }

.nw-thumb-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(26, 86, 219, 0.08), rgba(14, 116, 144, 0.06)),
    var(--nw-surface-2);
  color: var(--nw-ink);
  font-family: var(--nw-font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.nw-thumb-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--nw-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  text-decoration: none;
  z-index: 3;
  pointer-events: none;
}

.nw-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nw-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nw-muted);
  margin-bottom: 10px;
}

.nw-meta time { color: var(--nw-ink-3); }

.nw-card-title {
  font-family: var(--nw-font-head);
  font-size: 1.22rem;
  line-height: 1.32;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--nw-ink);
}

.nw-card-excerpt {
  margin: 0 0 18px;
  color: var(--nw-ink-3);
  line-height: 1.68;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nw-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--nw-brand);
  letter-spacing: -0.01em;
}

.nw-read-more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--nw-dur) var(--nw-ease);
}

.nw-card:hover .nw-read-more svg { transform: translateX(4px); }

@media (max-width: 1024px) {
  .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 640px) {
  .nw-grid { grid-template-columns: 1fr; }
  .nw-container { padding: 0 20px; }
  .nw-blog-list { padding: 28px 0 72px; }
}

/* =========================================================
   8. PAGINATION
   ========================================================= */
.nw-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.nw-pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: var(--nw-surface);
  border: 1px solid var(--nw-border);
  box-shadow: var(--nw-shadow-xs);
}

.nw-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--nw-ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color var(--nw-dur) var(--nw-ease), color var(--nw-dur) var(--nw-ease);
}

.nw-pagination .page-numbers:hover { background: var(--nw-surface-2); }
.nw-pagination .page-numbers.current {
  background: var(--nw-ink);
  color: #fff;
}
.nw-pagination .page-numbers.dots { color: var(--nw-muted); }

/* =========================================================
   9. NEWSLETTER STRIP
   ========================================================= */
.nw-newsletter {
  margin: 72px 0 0;
}

.nw-newsletter-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--nw-r-xl);
  padding: clamp(36px, 5vw, 64px);
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(26, 86, 219, 0.32), transparent 65%),
    radial-gradient(500px 280px at 10% 100%, rgba(6, 182, 212, 0.22), transparent 60%),
    linear-gradient(135deg, #0a1628 0%, #0f1f3a 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.nw-newsletter-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.6;
  pointer-events: none;
}

.nw-newsletter-body { position: relative; z-index: 1; }

.nw-newsletter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--nw-accent-2);
  font-family: var(--nw-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.nw-newsletter-box h2 {
  font-family: var(--nw-font-head);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #fff;
}

.nw-newsletter-box p {
  margin: 0;
  color: rgba(219, 231, 255, 0.88);
  line-height: 1.7;
  max-width: 52ch;
}

.nw-newsletter-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nw-newsletter-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: var(--nw-r-md);
  background: #fff;
  color: var(--nw-ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--nw-dur) var(--nw-ease), box-shadow var(--nw-dur) var(--nw-ease);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.nw-newsletter-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.nw-newsletter-cta small {
  color: rgba(219, 231, 255, 0.6);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 860px) {
  .nw-newsletter-box { grid-template-columns: 1fr; }
}

/* =========================================================
   10. EMPTY STATE
   ========================================================= */
.nw-empty {
  max-width: 640px;
  margin: 40px auto;
  background: var(--nw-surface);
  border-radius: var(--nw-r-lg);
  padding: 44px 32px;
  border: 1px dashed var(--nw-border-strong);
  text-align: center;
}

.nw-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--nw-surface-2);
  display: grid;
  place-items: center;
  color: var(--nw-muted);
}

.nw-empty h2 {
  font-family: var(--nw-font-head);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--nw-ink);
}

.nw-empty p {
  margin: 0;
  color: var(--nw-ink-3);
  line-height: 1.65;
}

.nw-empty p a {
  color: var(--nw-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   11. SINGLE POST — READING PROGRESS BAR
   ========================================================= */
.nw-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 9998;
  pointer-events: none;
}

.nw-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--nw-brand), var(--nw-accent-2));
  transition: width 80ms linear;
}

/* =========================================================
   12. SINGLE POST HERO
   ========================================================= */
.nw-single-hero {
  /* Progress bar (3px) + header clearance */
  padding: 96px 0 28px;
  background: var(--nw-bg);
  border-bottom: 1px solid var(--nw-border-soft);
  position: relative;
}

.nw-single-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 340px at 90% 0%, rgba(26, 86, 219, 0.06), transparent 70%);
  pointer-events: none;
}

.nw-single-hero .nw-container { position: relative; z-index: 1; }

.nw-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--nw-muted);
  margin-bottom: 22px;
}

.nw-breadcrumb a {
  color: var(--nw-ink-3);
  text-decoration: none;
  transition: color var(--nw-dur) var(--nw-ease);
}

.nw-breadcrumb a:hover { color: var(--nw-brand); }

.nw-breadcrumb-sep {
  color: var(--nw-muted-2);
  font-size: 0.85rem;
}

.nw-single-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.nw-single-title {
  font-family: var(--nw-font-head);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--nw-ink);
  margin: 0 0 18px;
  max-width: 22ch;
  text-wrap: balance;
}

.nw-single-lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--nw-ink-3);
  margin: 0 0 28px;
  max-width: 64ch;
}

.nw-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--nw-border-soft);
}

.nw-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nw-brand), var(--nw-accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--nw-font-head);
  font-weight: 700;
  font-size: 1rem;
  flex: 0 0 auto;
}

.nw-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.nw-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
}

.nw-author-name {
  color: var(--nw-ink);
  font-weight: 700;
}

.nw-author-meta {
  color: var(--nw-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   13. COVER IMAGE
   ========================================================= */
.nw-single-cover-wrap {
  padding: 32px 0 0;
}

.nw-single-cover {
  margin: 0;
  border-radius: var(--nw-r-xl);
  overflow: hidden;
  background: var(--nw-surface);
  box-shadow: var(--nw-shadow-md);
  aspect-ratio: 16 / 9;
}

.nw-single-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   14. ARTICLE LAYOUT (content + TOC + share)
   ========================================================= */
.nw-single-content-wrap {
  padding: clamp(40px, 6vw, 80px) 0 40px;
}

.nw-article-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* TOC gizliyse içerik sütununu yay: blog + haber tekil */
.nw-article-layout.is-toc-hidden {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
}

.nw-article-layout.is-toc-hidden .nw-article-main {
  max-width: 880px;
}

.nw-article-layout.is-toc-hidden .nw-article-aside {
  display: none;
}

.nw-article-main {
  position: relative;
  max-width: 740px;
  margin: 0 auto;
  width: 100%;
}

/* Floating share — desktop only */
.nw-share-floating {
  position: absolute;
  top: 0;
  left: -72px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.nw-share-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--nw-border);
  background: var(--nw-surface);
  color: var(--nw-ink-3);
  cursor: pointer;
  transition:
    background-color var(--nw-dur) var(--nw-ease),
    color var(--nw-dur) var(--nw-ease),
    border-color var(--nw-dur) var(--nw-ease),
    transform var(--nw-dur) var(--nw-ease);
  text-decoration: none;
}

.nw-share-btn:hover {
  background: var(--nw-ink);
  color: #fff;
  border-color: var(--nw-ink);
  transform: translateY(-2px);
}

.nw-share-btn svg { width: 16px; height: 16px; }

.nw-share-btn.is-copied {
  background: var(--nw-accent);
  color: #fff;
  border-color: var(--nw-accent);
}

/* Mobile share row */
.nw-share-row {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
  padding: 14px;
  border-radius: var(--nw-r-md);
  background: var(--nw-surface);
  border: 1px solid var(--nw-border);
}

.nw-share-row span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nw-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 4px;
}

/* =========================================================
   15. SIDEBAR TOC (sticky)
   ========================================================= */
.nw-article-aside {
  position: sticky;
  top: 88px;
  align-self: start;
}

.nw-toc {
  padding: 22px;
  border-radius: var(--nw-r-lg);
  background: var(--nw-surface);
  border: 1px solid var(--nw-border);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.nw-toc-title {
  font-family: var(--nw-font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nw-muted);
  margin: 0 0 14px;
}

.nw-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nw-toc-list a {
  display: block;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  color: var(--nw-ink-3);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.45;
  border-radius: 0 6px 6px 0;
  transition:
    color var(--nw-dur) var(--nw-ease),
    background-color var(--nw-dur) var(--nw-ease),
    border-color var(--nw-dur) var(--nw-ease);
}

.nw-toc-list a:hover {
  color: var(--nw-ink);
  background: var(--nw-surface-2);
}

.nw-toc-list a.is-active {
  color: var(--nw-brand);
  font-weight: 600;
  border-left-color: var(--nw-brand);
  background: var(--nw-brand-ghost);
}

.nw-toc-list li.depth-3 a { padding-left: 22px; font-size: 0.85rem; }
.nw-toc-list li.depth-4 a { padding-left: 32px; font-size: 0.83rem; }

/* =========================================================
   16. ARTICLE PROSE
   ========================================================= */
.nw-prose {
  color: var(--nw-ink-2);
  font-size: 1.08rem;
  line-height: 1.8;
  letter-spacing: -0.005em;
}

.nw-prose > *:first-child { margin-top: 0; }
.nw-prose > *:last-child  { margin-bottom: 0; }

.nw-prose h1, .nw-prose h2, .nw-prose h3, .nw-prose h4, .nw-prose h5, .nw-prose h6 {
  font-family: var(--nw-font-head);
  color: var(--nw-ink);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 700;
  scroll-margin-top: 96px;
}

.nw-prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 2em 0 0.6em;
  padding-top: 0.3em;
}

.nw-prose h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  margin: 1.8em 0 0.5em;
}

.nw-prose h4 { font-size: 1.1rem; margin: 1.6em 0 0.45em; }

.nw-prose p {
  margin: 0 0 1.15em;
}

.nw-prose > p:first-of-type {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--nw-ink);
  font-weight: 400;
}

.nw-prose > p:first-of-type::first-letter {
  /* Subtle drop cap for first paragraph */
  font-family: var(--nw-font-head);
  font-size: 3.4em;
  line-height: 0.9;
  float: left;
  padding: 6px 10px 0 0;
  color: var(--nw-ink);
  font-weight: 800;
}

.nw-prose a {
  color: var(--nw-brand);
  text-decoration: none;
  background-image: linear-gradient(to right, var(--nw-brand), var(--nw-brand));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
  transition: background-size var(--nw-dur) var(--nw-ease), color var(--nw-dur) var(--nw-ease);
}

.nw-prose a:hover {
  color: var(--nw-ink);
  background-image: linear-gradient(to right, var(--nw-ink), var(--nw-ink));
}

.nw-prose strong { color: var(--nw-ink); font-weight: 700; }
.nw-prose em { color: var(--nw-ink-2); }

.nw-prose ul, .nw-prose ol {
  margin: 0 0 1.2em 1.4em;
  padding: 0;
}

.nw-prose li {
  margin-bottom: 0.45em;
  padding-left: 0.3em;
}

.nw-prose li::marker {
  color: var(--nw-brand);
  font-weight: 700;
}

.nw-prose blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--nw-brand);
  font-family: var(--nw-font-head);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--nw-ink);
  font-weight: 500;
  font-style: normal;
}

.nw-prose blockquote p { margin: 0 0 0.5em; }
.nw-prose blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--nw-muted);
  font-style: normal;
  font-family: var(--nw-font-body);
  font-weight: 500;
}

.nw-prose hr,
.nw-prose .wp-block-separator {
  border: 0;
  height: 1px;
  background: var(--nw-border);
  margin: 2.2em auto;
  width: 40%;
}

.nw-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--nw-r-md);
  display: block;
}

.nw-prose figure {
  margin: 1.8em 0;
}

.nw-prose figure img {
  box-shadow: var(--nw-shadow-sm);
}

.nw-prose figcaption,
.nw-prose .wp-element-caption {
  margin-top: 0.7em;
  font-size: 0.88rem;
  color: var(--nw-muted);
  text-align: center;
  line-height: 1.55;
}

.nw-prose .wp-block-image.is-style-rounded img { border-radius: 999px; }

.nw-prose table,
.nw-prose .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 0.94rem;
  overflow: hidden;
  border-radius: var(--nw-r-md);
  border: 1px solid var(--nw-border);
}

.nw-prose thead th {
  background: var(--nw-surface-2);
  color: var(--nw-ink);
  font-weight: 700;
  font-family: var(--nw-font-head);
  letter-spacing: -0.01em;
}

.nw-prose th, .nw-prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--nw-border-soft);
  text-align: left;
  vertical-align: top;
}

.nw-prose tbody tr:last-child td { border-bottom: 0; }
.nw-prose tbody tr:nth-child(even) { background: rgba(243, 240, 235, 0.4); }

.nw-prose pre,
.nw-prose .wp-block-code,
.nw-prose .wp-block-preformatted {
  margin: 1.8em 0;
  padding: 20px 22px;
  border-radius: var(--nw-r-md);
  overflow: auto;
  background: var(--nw-dark);
  color: #e2e8f0;
  font-family: var(--nw-font-mono);
  line-height: 1.6;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--nw-shadow-sm);
}

.nw-prose code, .nw-prose kbd, .nw-prose samp {
  font-family: var(--nw-font-mono);
  font-size: 0.86em;
}

.nw-prose :not(pre) > code {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--nw-surface-2);
  color: var(--nw-brand);
  border: 1px solid var(--nw-border);
  font-size: 0.86em;
}

.nw-prose .wp-block-pullquote {
  margin: 2.2em 0;
  padding: 28px 24px;
  border-top: 2px solid var(--nw-ink);
  border-bottom: 2px solid var(--nw-ink);
  background: transparent;
  text-align: center;
}

.nw-prose .wp-block-pullquote p {
  margin: 0;
  font-family: var(--nw-font-head);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--nw-ink);
}

.nw-prose .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  border-radius: var(--nw-r-sm);
  padding: 0.78em 1.3em;
  font-weight: 700;
  background: var(--nw-ink);
  color: #fff;
  text-decoration: none;
  background-image: none;
  transition: transform var(--nw-dur) var(--nw-ease), background-color var(--nw-dur) var(--nw-ease);
}

.nw-prose .wp-block-button__link:hover {
  background: var(--nw-brand);
  transform: translateY(-1px);
}

.nw-prose .wp-block-file {
  margin: 1.3em 0;
  padding: 14px 16px;
  border-radius: var(--nw-r-sm);
  background: var(--nw-surface-2);
  border: 1px solid var(--nw-border);
}

.nw-prose .wp-block-embed,
.nw-prose iframe:not(.nw-video-lite__player),
.nw-prose video:not(.nw-video-lite__player) {
  margin: 1.6em 0;
  width: 100%;
  max-width: 100%;
  border-radius: var(--nw-r-md);
  box-shadow: var(--nw-shadow-sm);
}

/* Click-to-play video block shortcode: [nawis_video] */
.nw-prose .nw-video-lite {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--nw-r-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--nw-border);
  box-shadow: var(--nw-shadow-md);
  margin: 1.6em 0;
  isolation: isolate;
}

.nw-prose .nw-video-lite--portrait {
  max-width: 420px;
  aspect-ratio: 9 / 16;
  margin-left: auto;
  margin-right: auto;
}

.nw-prose .nw-video-lite--square {
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
  margin-right: auto;
}

.nw-prose .nw-video-lite__trigger {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  margin: 0;
  color: #fff;
  background-color: #0f172a;
  background-image: linear-gradient(135deg, #0f172a, #111827);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: filter 0.4s var(--nw-ease);
  overflow: hidden;
}

.nw-prose .nw-video-lite__trigger:hover {
  filter: brightness(1.06) saturate(1.05);
}

.nw-prose .nw-video-lite__trigger:focus-visible {
  outline: 3px solid var(--nw-primary, #2563eb);
  outline-offset: 3px;
}

.nw-prose .nw-video-lite__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0.16) 100%
  );
  pointer-events: none;
}

.nw-prose .nw-video-lite__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.35s var(--nw-ease), box-shadow 0.35s var(--nw-ease);
  z-index: 2;
}

.nw-prose .nw-video-lite__play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

.nw-prose .nw-video-lite__trigger:hover .nw-video-lite__play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(255, 255, 255, 0.18);
}

.nw-prose .nw-video-lite__trigger:active .nw-video-lite__play {
  transform: translate(-50%, -50%) scale(0.96);
}

.nw-prose .nw-video-lite__title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  z-index: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  pointer-events: none;
}

.nw-prose .nw-video-lite__player,
.nw-prose iframe.nw-video-lite__player,
.nw-prose video.nw-video-lite__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  background: #000;
}

.nw-prose video.nw-video-lite__player {
  object-fit: contain;
  object-position: center;
}

.nw-prose .nw-video-lite.is-playing {
  background: #000;
}

.nw-prose .nw-video-lite.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  animation: nw-video-spin 0.85s linear infinite;
  z-index: 3;
  pointer-events: none;
}

@keyframes nw-video-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .nw-prose .nw-video-lite {
    border-radius: var(--nw-r-sm, 10px);
  }

  .nw-prose .nw-video-lite--portrait {
    max-width: min(320px, 78vw);
  }

  .nw-prose .nw-video-lite__play {
    width: 58px;
    height: 58px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
  }

  .nw-prose .nw-video-lite__play svg {
    width: 22px;
    height: 22px;
    margin-left: 2px;
  }

  .nw-prose .nw-video-lite__title {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 0.84rem;
  }

  .nw-prose .nw-video-lite.is-loading::after {
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nw-prose .nw-video-lite__trigger,
  .nw-prose .nw-video-lite__trigger::before,
  .nw-prose .nw-video-lite__play {
    transition: none !important;
  }

  .nw-prose .nw-video-lite.is-loading::after {
    animation-duration: 1.6s;
  }
}

.nw-prose details,
.nw-prose .wp-block-details {
  margin: 1.4em 0;
  padding: 14px 16px;
  border-radius: var(--nw-r-md);
  border: 1px solid var(--nw-border);
  background: var(--nw-surface);
}

.nw-prose summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--nw-ink);
  font-family: var(--nw-font-head);
}

.nw-prose .alignleft  { float: left;  margin: 0.35em 1.4em 0.9em 0; max-width: 50%; }
.nw-prose .alignright { float: right; margin: 0.35em 0 0.9em 1.4em; max-width: 50%; }
.nw-prose .aligncenter { display: block; margin: 1.4em auto; }
.nw-prose::after { content: ""; display: table; clear: both; }

/* =========================================================
   17. POST FOOTER (tags + share + author bio)
   ========================================================= */
.nw-post-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--nw-border);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nw-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.nw-post-tags-label {
  font-family: var(--nw-font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nw-ink-3);
  margin-right: 6px;
}

.nw-author-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--nw-r-lg);
  background: var(--nw-surface);
  border: 1px solid var(--nw-border);
}

.nw-author-card .nw-avatar { width: 56px; height: 56px; font-size: 1.2rem; }

.nw-author-card .nw-author-name {
  font-family: var(--nw-font-head);
  font-size: 1.05rem;
  font-weight: 700;
}

.nw-author-card p {
  margin: 4px 0 0;
  color: var(--nw-ink-3);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* =========================================================
   18. RELATED POSTS
   ========================================================= */
.nw-related {
  padding: 48px 0 24px;
  background: var(--nw-bg);
  border-top: 1px solid var(--nw-border-soft);
}

.nw-related-head {
  max-width: 1280px;
  margin: 0 auto 24px;
  padding: 0 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.nw-related-head h2 {
  font-family: var(--nw-font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--nw-ink);
}

.nw-related-head p {
  margin: 0;
  color: var(--nw-ink-3);
  font-size: 0.92rem;
}

.nw-related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nw-brand);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}

/* =========================================================
   19. CTA BOX
   ========================================================= */
.nw-single-cta {
  padding: 36px 0 96px;
}

.nw-single-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--nw-r-xl);
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(500px 280px at 80% 0%, rgba(26, 86, 219, 0.28), transparent 65%),
    linear-gradient(135deg, var(--nw-dark) 0%, var(--nw-dark-2) 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--nw-shadow-lg);
}

.nw-single-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.7;
  pointer-events: none;
}

.nw-single-cta-inner { position: relative; z-index: 1; }

.nw-single-cta-box h2 {
  margin: 0 0 10px;
  font-family: var(--nw-font-head);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #fff;
}

.nw-single-cta-box p {
  margin: 0;
  color: rgba(219, 231, 255, 0.88);
  line-height: 1.7;
  max-width: 52ch;
}

.nw-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.nw-single-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 22px;
  border-radius: var(--nw-r-md);
  background: #fff;
  color: var(--nw-ink);
  text-decoration: none;
  font-weight: 700;
  transition: transform var(--nw-dur) var(--nw-ease), box-shadow var(--nw-dur) var(--nw-ease);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.nw-single-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.nw-single-cta-btn.is-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: none;
}

.nw-single-cta-btn.is-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

@media (max-width: 860px) {
  .nw-single-cta-box { grid-template-columns: 1fr; }
}

/* =========================================================
   20. BACK TO TOP
   ========================================================= */
.nw-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nw-ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 300ms var(--nw-ease),
    transform 300ms var(--nw-ease),
    background-color var(--nw-dur) var(--nw-ease);
  z-index: 9997;
  box-shadow: var(--nw-shadow-md);
}

.nw-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nw-to-top:hover { background: var(--nw-brand); }
.nw-to-top svg { width: 18px; height: 18px; }

/* =========================================================
   21. RESPONSIVE: ARTICLE LAYOUT
   ========================================================= */
@media (max-width: 1100px) {
  .nw-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nw-article-aside { position: static; }
  .nw-toc {
    max-height: none;
    order: -1;
  }
  .nw-share-floating { display: none; }
  .nw-share-row { display: flex; }
}

@media (max-width: 768px) {
  .nw-single-hero { padding: 76px 0 22px; }
  .nw-single-cover-wrap { padding: 24px 0 0; }
  .nw-prose { font-size: 1.02rem; line-height: 1.75; }
  .nw-prose > p:first-of-type { font-size: 1.08rem; }
  .nw-prose > p:first-of-type::first-letter {
    font-size: 2.8em;
    padding: 4px 8px 0 0;
  }
  .nw-prose .alignleft, .nw-prose .alignright {
    float: none; display: block; margin: 1.2em auto; max-width: 100%;
  }
  .nw-related-head { flex-direction: column; align-items: start; }
}

/* =========================================================
   22. LEGACY SUPPORT (old class names from v1 still mapped)
   ========================================================= */
.nw-blog-hero { /* old hero class, if used in older PHP fallback */
  padding: 96px 0 72px;
  background: var(--nw-bg);
  border-bottom: 1px solid var(--nw-border-soft);
}
.nw-blog-hero h1 {
  font-family: var(--nw-font-head);
  font-size: clamp(2.1rem, 4.8vw, 3.3rem);
  color: var(--nw-ink);
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.nw-blog-hero p {
  color: var(--nw-ink-3);
  line-height: 1.7;
  max-width: 620px;
  margin: 0;
}

/* Keep mini-finder spacing stable if used between sections */
.nawis-mini-finder { margin: 48px 0; }

/* =========================================================
   23. HABERLER (CPT: haber) — subtle theme variant
   Blog: mavi (brand) | Haberler: turkuaz + kırmızımsı live-dot
   Haberlere özel hafif farklar, blog'u bozmaz.
   ========================================================= */

/* ---- Renk aksanı: haberlerde turkuaz/teal ---- */
.nw-haber-page .nw-eyebrow,
.nw-haber-single .nw-eyebrow {
  color: var(--nw-accent);
}

.nw-haber-page .nw-tag,
.nw-haber-single .nw-tag {
  background: rgba(14, 116, 144, 0.10);
  color: var(--nw-accent);
}

.nw-haber-page .nw-tag:hover,
.nw-haber-single .nw-tag:hover {
  background: rgba(14, 116, 144, 0.18);
}

.nw-haber-page .nw-read-more,
.nw-haber-single .nw-read-more {
  color: var(--nw-accent);
}

/* ---- Hero arka plan: haberlerde turkuaz odaklı radial ---- */
.nw-haber-page .nw-hero::before {
  background:
    radial-gradient(620px 340px at 85% 10%, rgba(14, 116, 144, 0.07), transparent 60%),
    radial-gradient(520px 300px at 12% 100%, rgba(6, 182, 212, 0.06), transparent 65%);
}

.nw-haber-single .nw-single-hero::before {
  background:
    radial-gradient(720px 360px at 90% 0%, rgba(14, 116, 144, 0.07), transparent 70%);
}

/* ---- Featured "Son Haber" rozeti — canlı kırmızı nokta (live news feel) ---- */
.nw-haber-page .nw-featured-badge::before {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25);
  animation: nw-haber-pulse 1.8s var(--nw-ease) infinite;
}

@keyframes nw-haber-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.08); }
}

@media (prefers-reduced-motion: reduce) {
  .nw-haber-page .nw-featured-badge::before { animation: none; }
}

/* ---- Kategori chip'leri: aktif renk turkuaz ---- */
.nw-haber-page .nw-chip.is-active,
.nw-haber-page .nw-chip[aria-current="page"] {
  background: var(--nw-accent);
  border-color: var(--nw-accent);
  color: #fff;
}

/* ---- Card hover: ince turkuaz kenar hissi ---- */
.nw-haber-page .nw-card:hover {
  border-color: rgba(14, 116, 144, 0.35);
}

/* ---- Thumb üstündeki kategori etiketi: haberlerde aksent tonu ---- */
.nw-haber-page .nw-thumb-cat {
  background: rgba(14, 116, 144, 0.92);
  color: #fff;
}

/* ---- Tekil haber: drop-cap blog gibi açık, aksan turkuaz ---- */
.nw-haber-single .nw-prose > p:first-of-type::first-letter {
  color: var(--nw-accent);
}

/* ---- Tekil haber: breadcrumb aksan rengi turkuaz ---- */
.nw-haber-single .nw-breadcrumb a:hover {
  color: var(--nw-accent);
}

/* ---- Tekil haber: prose linkleri turkuaz ---- */
.nw-haber-single .nw-prose a {
  color: var(--nw-accent);
  background-image: linear-gradient(to right, var(--nw-accent), var(--nw-accent));
}

.nw-haber-single .nw-prose a:hover {
  color: var(--nw-ink);
  background-image: linear-gradient(to right, var(--nw-ink), var(--nw-ink));
}

.nw-haber-single .nw-prose li::marker {
  color: var(--nw-accent);
}

.nw-haber-single .nw-prose blockquote {
  border-left-color: var(--nw-accent);
}

.nw-haber-single .nw-prose :not(pre) > code {
  color: var(--nw-accent);
}

/* ---- Tekil haber: TOC aktif öğesi turkuaz ---- */
.nw-haber-single .nw-toc-list a.is-active {
  color: var(--nw-accent);
  border-left-color: var(--nw-accent);
  background: rgba(14, 116, 144, 0.08);
}

/* ---- Tekil haber: progress bar teal tonu ---- */
.nw-haber-single .nw-progress-bar {
  background: linear-gradient(90deg, var(--nw-accent), var(--nw-accent-2));
}

/* ---- Tekil haber hero: tarih üst satırında etiket stili ----
   .nw-haber-single için breadcrumb + başlık arasına "HABER · 24 NİS 2026"
   görünümü ön tarafta bir chip olarak ek. Yapısal değişiklik gerektirmez,
   var olan hero'yu daha "press release" hissi verecek şekilde süsler. */
.nw-haber-single .nw-single-hero {
  background:
    linear-gradient(180deg, var(--nw-bg) 0%, var(--nw-bg) 82%, var(--nw-bg-alt) 100%);
}

.nw-haber-single .nw-author-row {
  border-top-color: rgba(14, 116, 144, 0.18);
}


/* =========================================================
   24. EDITORIAL STRIP — shortcode ile her sayfada kullanılır
   ([nawis_son_haberler], [nawis_son_blog], [nawis_editorial])
   ========================================================= */
.nw-editorial {
  padding: 72px 0;
  background: var(--nw-bg);
  color: var(--nw-ink-2);
  font-family: var(--nw-font-body);
}

.nw-editorial + .nw-editorial {
  padding-top: 0;
}

.nw-editorial__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.nw-editorial__head .nw-eyebrow {
  margin-bottom: 12px;
}

.nw-editorial__title {
  font-family: var(--nw-font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--nw-ink);
  margin: 0 0 8px;
  font-weight: 800;
}

.nw-editorial__sub {
  margin: 0;
  color: var(--nw-ink-3);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 58ch;
}

.nw-editorial__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--nw-border);
  background: var(--nw-surface);
  color: var(--nw-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  transition:
    background-color var(--nw-dur) var(--nw-ease),
    color var(--nw-dur) var(--nw-ease),
    border-color var(--nw-dur) var(--nw-ease),
    transform var(--nw-dur) var(--nw-ease);
}

.nw-editorial__link:hover {
  background: var(--nw-ink);
  color: #fff;
  border-color: var(--nw-ink);
  transform: translateY(-1px);
}

.nw-editorial__link svg {
  transition: transform var(--nw-dur) var(--nw-ease);
}

.nw-editorial__link:hover svg { transform: translateX(3px); }

/* Varyant: Haberler — turkuaz aksent */
.nw-editorial--haber .nw-eyebrow { color: var(--nw-accent); }
.nw-editorial--haber .nw-editorial__link {
  border-color: rgba(14, 116, 144, 0.35);
  color: var(--nw-accent);
}
.nw-editorial--haber .nw-editorial__link:hover {
  background: var(--nw-accent);
  border-color: var(--nw-accent);
  color: #fff;
}
.nw-editorial--haber .nw-thumb-cat {
  background: rgba(14, 116, 144, 0.92);
  color: #fff;
}
.nw-editorial--haber .nw-card--haber .nw-read-more { color: var(--nw-accent); }

/* Varyant: Blog — mavi aksent */
.nw-editorial--blog .nw-eyebrow { color: var(--nw-brand); }
.nw-editorial--blog .nw-editorial__link {
  border-color: rgba(26, 86, 219, 0.25);
  color: var(--nw-brand);
}
.nw-editorial--blog .nw-editorial__link:hover {
  background: var(--nw-brand);
  border-color: var(--nw-brand);
  color: #fff;
}

@media (max-width: 768px) {
  .nw-editorial { padding: 56px 0; }
  .nw-editorial__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .nw-editorial__link { align-self: flex-start; }
}

/* ----------------------------------------------------------
   HEADER NOT:
   Asıl header sıkıştırması functions.php içindeki inline CSS
   (wp_add_inline_style → 'inspiro-parent-style') ile yapılır,
   böylece her sayfada (anasayfa dahil) yüklenir.
   Buradaki kurallar sadece blog/haber sayfalarında ekstra
   güvence içindir.
   ---------------------------------------------------------- */

/* Blog/haber sayfalarında header iç kapsayıcısı için ek güvence */
@media (min-width: 1024px) {
  #masthead > .container,
  #masthead .navbar,
  #masthead .header-inner,
  #masthead .site-header-inner {
    flex-wrap: nowrap;
  }
}

