/*
Theme Name: Nisnom Vibe AI
Theme URI: https://nisnom.com/
Author: Trident Web Solutions SRL
Author URI: https://tridentwebsolutions.ro/
Description: A fast, responsive WordPress theme for an English-language concept site about vibe coding, AI tools, image generation, music generation, video generation and creative automation.
Version: 1.0.2
Requires at least: 6.1
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nisnom
Tags: blog, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, responsive-layout, editor-style
*/

:root {
  --nn-bg: #fbfaf7;
  --nn-surface: #ffffff;
  --nn-surface-soft: #f5f7ff;
  --nn-text: #202432;
  --nn-muted: #5f6675;
  --nn-line: rgba(40, 61, 120, .14);
  --nn-blue: #315bd6;
  --nn-blue-strong: #2346b7;
  --nn-cyan: #65d8ff;
  --nn-lime: #d9ff73;
  --nn-purple: #7b5cff;
  --nn-pink: #ff7ad9;
  --nn-shadow: 0 22px 60px rgba(31, 49, 108, .13);
  --nn-radius-sm: 14px;
  --nn-radius: 24px;
  --nn-radius-lg: 34px;
  --nn-container: 1180px;
  --nn-heading: Georgia, Cambria, "Times New Roman", serif;
  --nn-ui: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nn-mono: "SFMono-Regular", "Cascadia Code", Consolas, ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 5%, rgba(101, 216, 255, .18), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(123, 92, 255, .10), transparent 26rem),
    var(--nn-bg);
  color: var(--nn-text);
  font-family: var(--nn-ui);
  font-size: 18px;
  line-height: 1.72;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--nn-blue); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--nn-blue-strong); }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
strong, b { font-weight: 800; color: #111727; }
em, i { color: #364057; }
::selection { background: rgba(49, 91, 214, .18); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--nn-blue);
  color: #fff;
}
.skip-link:focus { left: 12px; }

.nn-shell { width: min(calc(100% - 36px), var(--nn-container)); margin-inline: auto; }
.nn-narrow { width: min(calc(100% - 36px), 880px); margin-inline: auto; }
.nn-wide { width: min(calc(100% - 36px), 1320px); margin-inline: auto; }

.nn-grid-bg {
  background-image:
    linear-gradient(rgba(49, 91, 214, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 91, 214, .06) 1px, transparent 1px),
    radial-gradient(circle, rgba(49, 91, 214, .13) 1px, transparent 1px);
  background-size: 42px 42px, 42px 42px, 10px 10px;
  background-position: center;
}

/* Header */
.nn-site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 250, 247, .88);
  border-bottom: 1px solid var(--nn-line);
  backdrop-filter: blur(18px);
}
.nn-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nn-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #111521;
  text-decoration: none;
  font-weight: 830;
  letter-spacing: -.03em;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
  line-height: 1;
}
.nn-brand img, .custom-logo {
  width: auto;
  max-width: min(210px, 42vw);
  max-height: 48px;
  display: block;
}
.nn-default-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nn-default-logo svg { width: 44px; height: 44px; flex: 0 0 auto; }
.nn-main-nav { margin-left: clamp(12px, 2vw, 28px); margin-right: auto; display: flex; align-items: center; gap: 28px; }
.nn-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 38px);
  margin: 0;
  padding: 0;
}
.nn-menu > li { position: relative; }
.nn-menu a {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  color: #111521;
  text-decoration: none;
  font-weight: 520;
  font-size: clamp(1.03rem, .92rem + .36vw, 1.28rem);
  letter-spacing: .01em;
  line-height: 1.2;
  border-bottom: 1px solid transparent;
}
.nn-menu a:hover,
.nn-menu .current-menu-item > a,
.nn-menu .current_page_item > a {
  color: var(--nn-blue);
  border-bottom-color: rgba(49, 91, 214, .42);
}
.nn-menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  padding: 10px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--nn-line);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--nn-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
}
.nn-menu li:hover > .sub-menu,
.nn-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nn-menu .sub-menu a { width: 100%; border-radius: 12px; }
.nn-header-actions { display: flex; align-items: center; gap: 12px; }
.nn-header-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(49,91,214,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #111521;
  text-decoration: none;
  font-family: var(--nn-mono);
  font-size: .95rem;
  font-weight: 650;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(31, 49, 108, .08);
}
.nn-header-lang:hover {
  color: var(--nn-blue);
  border-color: rgba(49,91,214,.34);
  transform: translateY(-1px);
}
.nn-lang-icon { font-size: .98rem; line-height: 1; }
.nn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid rgba(49,91,214,.24);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nn-blue), var(--nn-purple));
  color: #fff !important;
  text-decoration: none;
  font-weight: 780;
  box-shadow: 0 14px 34px rgba(49, 91, 214, .22);
}
.nn-cta:hover { transform: translateY(-1px); filter: saturate(1.07); }
.nn-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--nn-line);
  border-radius: 15px;
  background: #fff;
  color: #111827;
  cursor: pointer;
}
.nn-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 5px;
  background: currentColor;
}

/* Hero and home */
.nn-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--nn-line);
}
.nn-hero::before,
.nn-article-hero::before,
.nn-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251,250,247,.95), rgba(251,250,247,.58) 50%, rgba(251,250,247,.92)),
    linear-gradient(rgba(49, 91, 214, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 91, 214, .06) 1px, transparent 1px),
    radial-gradient(circle, rgba(49, 91, 214, .16) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px, 10px 10px;
  background-position: center;
}
.nn-hero-inner {
  position: relative;
  padding: clamp(66px, 9vw, 130px) 0 clamp(52px, 7vw, 95px);
  text-align: center;
}
.nn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--nn-blue);
  font-family: var(--nn-mono);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nn-eyebrow::before, .nn-eyebrow::after {
  content: "";
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(49,91,214,.45));
}
.nn-eyebrow::after { background: linear-gradient(90deg, rgba(49,91,214,.45), transparent); }
.nn-hero-title,
.nn-article-title,
.nn-page-title {
  margin: 0;
  color: var(--nn-blue);
  font-family: var(--nn-heading);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.052em;
  font-size: clamp(3rem, 7.8vw, 8.6rem);
}
.nn-hero-subtitle {
  max-width: 850px;
  margin: 26px auto 0;
  color: #3c4353;
  font-size: clamp(1.12rem, 1rem + .7vw, 1.55rem);
  line-height: 1.62;
}
.nn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.nn-button,
.wp-block-button__link,
button.nn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(49,91,214,.22);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nn-blue), var(--nn-purple));
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(49,91,214,.22);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.nn-button:hover,
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 22px 54px rgba(49,91,214,.28); }
.nn-button.secondary {
  background: rgba(255,255,255,.78);
  color: var(--nn-blue) !important;
  box-shadow: none;
}

.nn-section { padding: clamp(46px, 7vw, 86px) 0; }
.nn-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.nn-section-title {
  margin: 0;
  font-family: var(--nn-heading);
  font-size: clamp(2.1rem, 3.5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.044em;
  color: #172044;
}
.nn-section-kicker {
  margin: 0 0 8px;
  color: var(--nn-blue);
  font-family: var(--nn-mono);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nn-section-copy { max-width: 720px; color: var(--nn-muted); }

.nn-carousel-wrap { position: relative; }
.nn-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 430px);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.nn-carousel > * { scroll-snap-align: start; }
.nn-carousel-actions { display: flex; gap: 9px; }
.nn-carousel-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--nn-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nn-blue);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}
.nn-carousel-button:hover { background: var(--nn-surface-soft); }

/* Cards */
.nn-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.nn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--nn-line);
  border-radius: var(--nn-radius);
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 40px rgba(31, 49, 108, .07);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.nn-card:hover { transform: translateY(-4px); border-color: rgba(49,91,214,.25); box-shadow: var(--nn-shadow); }
.nn-card-media {
  position: relative;
  aspect-ratio: 16/10;
  margin: 12px 12px 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(49,91,214,.14), rgba(101,216,255,.16));
}
.nn-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nn-card-media .nn-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--nn-mono);
  color: var(--nn-blue);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nn-card-body { padding: 18px 19px 20px; }
.nn-card-meta,
.nn-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: #5f6675;
  font-family: var(--nn-mono);
  font-size: .82rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .035em;
}
.nn-card-title {
  margin: 12px 0 8px;
  color: #151b2d;
  font-family: var(--nn-heading);
  font-size: clamp(1.65rem, 1.4rem + .9vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -.042em;
}
.nn-card-excerpt { margin: 0; color: var(--nn-muted); font-size: 1rem; line-height: 1.62; }
.nn-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(49,91,214,.08);
  color: var(--nn-blue);
  font-weight: 760;
  text-decoration: none;
}
.nn-chip:hover { background: rgba(49,91,214,.13); }

.nn-intro-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--nn-line);
  border-radius: var(--nn-radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(101,216,255,.22), transparent 25rem),
    radial-gradient(circle at 10% 90%, rgba(123,92,255,.12), transparent 24rem),
    rgba(255,255,255,.82);
  box-shadow: var(--nn-shadow);
}
.nn-intro-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(49,91,214,.13) 1px, transparent 1px);
  background-size: 12px 12px;
  pointer-events: none;
  opacity: .58;
}
.nn-intro-panel > * { position: relative; }
.nn-code-card {
  border: 1px solid rgba(49,91,214,.16);
  border-radius: 24px;
  background: #111827;
  color: #e8efff;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(17,24,39,.22);
}
.nn-code-card-top { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.nn-dot { width: 11px; height: 11px; border-radius: 50%; background: #ff7a90; }
.nn-dot:nth-child(2) { background: #ffd76f; }
.nn-dot:nth-child(3) { background: #7dffa1; }
.nn-code-card pre { margin: 0; padding: 20px; overflow: auto; font-family: var(--nn-mono); font-size: .9rem; line-height: 1.78; }
.nn-code-card code { font-family: inherit; }

/* Pages and articles */
.nn-page-hero,
.nn-article-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--nn-line);
}
.nn-page-hero-inner,
.nn-article-hero-inner {
  position: relative;
  padding: clamp(46px, 8vw, 104px) 0;
  text-align: center;
}
.nn-page-title { font-size: clamp(2.9rem, 6vw, 6.8rem); }
.nn-article-title { max-width: 1060px; margin-inline: auto; font-size: clamp(3rem, 6.8vw, 7.6rem); }
.nn-article-meta { justify-content: center; margin-top: 22px; }
.nn-featured-image-wrap {
  width: min(calc(100% - 36px), 1120px);
  margin: clamp(28px, 4vw, 54px) auto 0;
  border-radius: clamp(22px, 4vw, 42px);
  overflow: hidden;
  box-shadow: var(--nn-shadow);
  border: 1px solid var(--nn-line);
  background: #fff;
}
.nn-featured-image-wrap img { width: 100%; display: block; aspect-ratio: 16/8.2; object-fit: cover; }
.nn-content-wrap { padding: clamp(38px, 6vw, 74px) 0; }
.nn-entry-content {
  font-family: var(--nn-mono);
  font-size: clamp(1.05rem, 1rem + .45vw, 1.34rem);
  line-height: 1.78;
  color: #383f4f;
}
.nn-entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.nn-entry-content h2,
.nn-entry-content h3,
.nn-entry-content h4,
.nn-entry-content h5,
.nn-entry-content h6 {
  font-family: var(--nn-heading);
  color: #161c2f;
  line-height: 1.08;
  letter-spacing: -.038em;
  margin: 2.1em 0 .68em;
}
.nn-entry-content h2 { font-size: clamp(2.2rem, 4vw, 4.1rem); }
.nn-entry-content h3 { font-size: clamp(1.75rem, 2.8vw, 2.9rem); }
.nn-entry-content h4 { font-size: clamp(1.4rem, 2vw, 2rem); }
.nn-subtitle,
.nn-entry-content .subtitle,
.nn-entry-content .has-subtitle-style {
  display: block;
  margin: -0.25em 0 1.2em;
  color: var(--nn-muted);
  font-family: var(--nn-ui);
  font-size: clamp(1.2rem, 1.15rem + .45vw, 1.55rem);
  line-height: 1.55;
}
.nn-entry-content p a,
.nn-entry-content li a {
  color: var(--nn-blue);
  background: linear-gradient(to top, rgba(101,216,255,.28) 38%, transparent 38%);
  text-decoration: none;
  border-bottom: 1px solid rgba(49,91,214,.28);
}
.nn-entry-content p a:hover,
.nn-entry-content li a:hover { background: linear-gradient(to top, rgba(217,255,115,.35) 40%, transparent 40%); }
.nn-entry-content ul,
.nn-entry-content ol { padding-left: 1.35em; }
.nn-entry-content li { margin: .55em 0; padding-left: .15em; }
.nn-entry-content ul li::marker { color: var(--nn-blue); }
.nn-entry-content ol li::marker { color: var(--nn-blue); font-weight: 800; }
.nn-entry-content blockquote,
.wp-block-quote {
  position: relative;
  margin: 2em 0;
  padding: 28px 30px 28px 72px;
  border: 1px solid rgba(49,91,214,.15);
  border-left: 0;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(49,91,214,.08), rgba(101,216,255,.10)),
    #fff;
  box-shadow: 0 18px 44px rgba(31,49,108,.08);
  color: #20293c;
  font-family: var(--nn-ui);
}
.nn-entry-content blockquote::before,
.wp-block-quote::before {
  content: "🐾";
  position: absolute;
  left: 24px;
  top: 28px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(49,91,214,.14);
  font-size: 1.05rem;
}
.nn-entry-content blockquote.quote-dog::before { content: "🐶"; }
.nn-entry-content blockquote.quote-cat::before { content: "🐱"; }
.nn-entry-content blockquote p { margin: 0 0 .8em; }
.nn-entry-content blockquote cite { color: var(--nn-muted); font-size: .94rem; }
.nn-entry-content pre,
.wp-block-code {
  max-width: 100%;
  overflow: auto;
  padding: 20px;
  border-radius: 18px;
  background: #111827;
  color: #e7eeff;
  font-family: var(--nn-mono);
  font-size: .95rem;
  line-height: 1.75;
}
.nn-entry-content code { font-family: var(--nn-mono); }
.nn-entry-content :not(pre) > code {
  padding: .12em .35em;
  border-radius: 7px;
  background: rgba(49,91,214,.08);
  color: #1f3ea3;
}
.nn-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.7em 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(31,49,108,.08);
}
.nn-entry-content th,
.nn-entry-content td {
  padding: 14px 16px;
  border: 1px solid rgba(49,91,214,.12);
  vertical-align: top;
  text-align: left;
}
.nn-entry-content th { background: rgba(49,91,214,.08); color: #172044; font-weight: 850; }
.nn-entry-content .wp-block-table { overflow-x: auto; }
.nn-entry-content .wp-block-table table { min-width: 680px; }
.nn-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.nn-tags a { text-decoration: none; }

.nn-author-box {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 42px;
  padding: 22px;
  border: 1px solid var(--nn-line);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
}
.nn-author-box img { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; }
.nn-author-box h3 { margin: 0 0 4px; font-size: 1.25rem; }
.nn-author-box p { margin: 0; color: var(--nn-muted); line-height: 1.55; }

/* Custom AI/tool block */
.nn-tool-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .82fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  margin: 2em 0;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(49,91,214,.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(101,216,255,.28), transparent 18rem),
    radial-gradient(circle at 0 100%, rgba(123,92,255,.18), transparent 20rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(245,247,255,.92));
  box-shadow: var(--nn-shadow);
}
.nn-tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(49,91,214,.12) 1px, transparent 1px);
  background-size: 12px 12px;
  pointer-events: none;
}
.nn-tool-card > * { position: relative; }
.nn-tool-card.image-left { grid-template-columns: minmax(260px, .82fr) minmax(0, 1fr); }
.nn-tool-card.image-left .nn-tool-media { order: -1; }
.nn-tool-card.centered { grid-template-columns: 1fr; text-align: center; }
.nn-tool-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid rgba(49,91,214,.18);
  border-radius: 999px;
  background: #fff;
  color: var(--nn-blue);
  font-family: var(--nn-mono);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.nn-tool-title {
  margin: 14px 0 12px;
  color: #151b2d;
  font-family: var(--nn-heading);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.nn-tool-description { color: #485164; margin: 0 0 22px; font-family: var(--nn-ui); font-size: 1.08rem; line-height: 1.65; }
.nn-tool-media { border-radius: 24px; overflow: hidden; min-height: 220px; background: linear-gradient(135deg, rgba(49,91,214,.14), rgba(101,216,255,.18)); box-shadow: 0 18px 50px rgba(31,49,108,.12); }
.nn-tool-media img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.nn-tool-placeholder { min-height: 220px; display: grid; place-items: center; color: var(--nn-blue); font-family: var(--nn-mono); }


/* Prompt copy block and prompt style for core blocks */
.nn-prompt-box {
  position: relative;
  overflow: hidden;
  margin: 2em 0;
  border: 1px solid rgba(49,91,214,.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(101,216,255,.20), transparent 18rem),
    radial-gradient(circle at 0 100%, rgba(123,92,255,.14), transparent 20rem),
    rgba(255,255,255,.96);
  box-shadow: 0 20px 54px rgba(31,49,108,.11);
  font-family: var(--nn-ui);
}
.nn-prompt-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(49,91,214,.13) 1px, transparent 1px);
  background-size: 13px 13px;
  pointer-events: none;
}
.nn-prompt-box > * { position: relative; }
.nn-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(49,91,214,.13);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
}
.nn-prompt-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nn-blue);
  font-family: var(--nn-mono);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nn-prompt-label::before {
  content: "⌘";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(49,91,214,.12), rgba(101,216,255,.18));
  color: var(--nn-blue-strong);
  font-size: .95rem;
}
.nn-prompt-copy {
  appearance: none;
  border: 1px solid rgba(49,91,214,.18);
  border-radius: 999px;
  padding: 9px 13px;
  background: linear-gradient(135deg, var(--nn-blue), var(--nn-purple));
  color: #fff;
  cursor: pointer;
  font-family: var(--nn-ui);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(49,91,214,.18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.nn-prompt-copy:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(49,91,214,.24); }
.nn-prompt-copy:focus-visible { outline: 3px solid rgba(101,216,255,.45); outline-offset: 3px; }
.nn-prompt-copy.is-copied { background: linear-gradient(135deg, #17a76f, #30c58c); }
.nn-prompt-copy.is-disabled { cursor: default; opacity: .86; }
.nn-prompt-body,
.nn-prompt-from-style > .is-style-nisnom-prompt {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 120px;
  margin: 0;
  padding: clamp(18px, 3vw, 26px);
  overflow: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(11,16,32,.98), rgba(19,28,58,.98)),
    #0b1020;
  color: #eaf0ff;
  box-shadow: none;
  font-family: var(--nn-mono);
  font-size: clamp(.96rem, .92rem + .18vw, 1.08rem);
  line-height: 1.72;
  white-space: pre-wrap;
  word-break: break-word;
}
.nn-prompt-body code {
  color: inherit;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font: inherit;
  white-space: pre-wrap;
}
.nn-prompt-note {
  margin: 0;
  padding: 13px 16px 16px;
  color: var(--nn-muted);
  border-top: 1px solid rgba(49,91,214,.13);
  background: rgba(255,255,255,.74);
  font-family: var(--nn-ui);
  font-size: .96rem;
  line-height: 1.55;
}
.nn-prompt-box.is-code .nn-prompt-label::before { content: "</>"; font-size: .72rem; font-weight: 900; }
.nn-prompt-box.is-image .nn-prompt-label::before { content: "◈"; }
.nn-prompt-box.is-video .nn-prompt-label::before { content: "▶"; }
.nn-prompt-box.is-music .nn-prompt-label::before { content: "♪"; }
.nn-prompt-box.is-agent .nn-prompt-label::before { content: "AI"; font-size: .7rem; font-weight: 900; }
.is-style-nisnom-prompt:not(.nn-prompt-box) {
  border: 1px solid rgba(49,91,214,.18);
  border-radius: 22px;
  background: #0b1020;
  color: #eaf0ff;
  font-family: var(--nn-mono);
}
.nn-prompt-from-style > p.is-style-nisnom-prompt,
.nn-prompt-from-style > .wp-block-group.is-style-nisnom-prompt {
  margin: 0;
  padding: clamp(18px, 3vw, 26px);
}
.nn-prompt-from-style .wp-block-code,
.nn-prompt-from-style .wp-block-preformatted,
.nn-prompt-from-style pre.is-style-nisnom-prompt {
  margin: 0;
}

/* Contact */
.nn-contact-card {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--nn-line);
  border-radius: 30px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--nn-shadow);
}
.nn-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nn-form-field.full { grid-column: 1 / -1; }
.nn-form-field label { display: block; margin-bottom: 7px; font-weight: 780; color: #172044; }
.nn-form-field input,
.nn-form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(49,91,214,.18);
  border-radius: 16px;
  background: #fff;
  color: var(--nn-text);
  font: inherit;
}
.nn-form-field textarea { min-height: 160px; resize: vertical; }
.nn-form-field input:focus,
.nn-form-field textarea:focus { outline: 3px solid rgba(101,216,255,.35); border-color: rgba(49,91,214,.45); }
.nn-form-note { color: var(--nn-muted); font-size: .95rem; }
.nn-alert { padding: 14px 16px; margin-bottom: 18px; border-radius: 16px; background: rgba(217,255,115,.28); color: #25310f; border: 1px solid rgba(110,135,22,.15); }
.nn-alert.error { background: rgba(255,122,144,.12); color: #792334; }
.nn-honeypot { position: absolute; left: -9999px; opacity: 0; }

/* Footer */
.nn-site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--nn-line);
  background: #111827;
  color: #dce4f5;
}
.nn-site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(101,216,255,.18), transparent 22rem),
    radial-gradient(circle at 90% 10%, rgba(123,92,255,.22), transparent 26rem),
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: auto, auto, 12px 12px;
  pointer-events: none;
}
.nn-footer-inner { position: relative; padding: clamp(42px, 7vw, 78px) 0 28px; }
.nn-footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(160px, .5fr)) minmax(170px, .45fr); gap: 30px; }
.nn-footer-brand { color: #fff; }
.nn-footer-brand p { color: rgba(220,228,245,.76); max-width: 500px; }
.nn-footer-title { margin: 0 0 14px; color: #fff; font-weight: 850; }
.nn-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.nn-footer-menu a { color: rgba(220,228,245,.82); text-decoration: none; }
.nn-footer-menu a:hover { color: #fff; }
.nn-language-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); color: #fff; background: rgba(255,255,255,.06); }
.nn-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.nn-socials a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; font-size: .88rem; }
.nn-socials a:hover { background: rgba(101,216,255,.22); }
.nn-footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(220,228,245,.72); font-size: .95rem; }

/* Pagination */
.nn-pagination { margin-top: 34px; display: flex; justify-content: center; }
.nn-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 4px;
  padding: 0 12px;
  border: 1px solid var(--nn-line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: var(--nn-blue);
  font-weight: 780;
}
.nn-pagination .current { background: var(--nn-blue); color: #fff; }

/* 404 */
.nn-404-symbol {
  width: min(280px, 72vw);
  margin: 0 auto 24px;
  aspect-ratio: 1;
  border-radius: 42px;
  background:
    radial-gradient(circle at 30% 20%, rgba(101,216,255,.40), transparent 34%),
    radial-gradient(circle at 80% 70%, rgba(123,92,255,.32), transparent 36%),
    rgba(255,255,255,.72);
  border: 1px solid var(--nn-line);
  display: grid;
  place-items: center;
  box-shadow: var(--nn-shadow);
}
.nn-404-symbol span { font-family: var(--nn-mono); color: var(--nn-blue); font-size: 4.8rem; }

.alignwide { width: min(1120px, calc(100vw - 36px)); margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

@media (max-width: 980px) {
  body { font-size: 18px; }
  .nn-header-inner { min-height: 72px; gap: 12px; }
  .nn-main-nav {
    margin-left: 0;
    margin-right: 0;
    position: fixed;
    inset: 72px 14px auto 14px;
    max-height: calc(100dvh - 90px);
    overflow: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--nn-line);
    border-radius: 24px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--nn-shadow);
  }
  body.nn-menu-open .nn-main-nav { display: flex; }
  .nn-menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .nn-menu a { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 1.05rem; border-bottom: 0; }
  .nn-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; background: transparent; }
  .nn-header-actions { margin-left: auto; }
  .nn-header-lang { min-height: 42px; padding: 8px 12px; }
  .nn-menu-toggle { display: inline-block; }
  .nn-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nn-intro-panel,
  .nn-tool-card,
  .nn-tool-card.image-left { grid-template-columns: 1fr; }
  .nn-tool-card.image-left .nn-tool-media { order: 0; }
  .nn-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 18.5px; line-height: 1.68; }
  .nn-shell, .nn-narrow, .nn-wide { width: min(calc(100% - 24px), var(--nn-container)); }
  .nn-brand img, .custom-logo { max-height: 42px; max-width: min(180px, 56vw); }
  .nn-default-logo svg { width: 39px; height: 39px; }
  .nn-default-logo span { font-size: 1.35rem; }
  .nn-hero-title,
  .nn-article-title,
  .nn-page-title { letter-spacing: -.04em; }
  .nn-hero-inner { padding-top: 54px; }
  .nn-hero-subtitle { font-size: 1.1rem; }
  .nn-eyebrow::before, .nn-eyebrow::after { width: 28px; }
  .nn-section-head { align-items: flex-start; flex-direction: column; }
  .nn-carousel { grid-auto-columns: minmax(270px, 86vw); }
  .nn-post-grid { grid-template-columns: 1fr; gap: 18px; }
  .nn-card-media { margin: 10px 10px 0; border-radius: 18px; }
  .nn-card-body { padding: 16px; }
  .nn-card-title { font-size: 2rem; }
  .nn-entry-content { font-size: 1.08rem; line-height: 1.72; }
  .nn-entry-content blockquote, .wp-block-quote { padding: 24px 20px 24px 62px; border-radius: 22px; }
  .nn-entry-content table { display: block; overflow-x: auto; min-width: 100%; white-space: nowrap; }
  .nn-entry-content th, .nn-entry-content td { white-space: normal; min-width: 140px; }
  .nn-author-box { align-items: flex-start; }
  .nn-form-grid { grid-template-columns: 1fr; }
  .nn-footer-grid { grid-template-columns: 1fr; }
  .nn-footer-bottom { flex-direction: column; }
  .nn-tool-title { font-size: 2.45rem; }
  .nn-prompt-head { align-items: stretch; flex-direction: column; }
  .nn-prompt-copy { width: 100%; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.nn-site-footer .nn-default-logo img { filter: brightness(0) invert(1); }
.nn-site-footer .nn-brand { color: #fff; }
