/* Noisekill-like blog layout for Asuka staging */
:root {
  --nk-accent: #f04f25;
  --nk-accent-hot: #ff5a2c;
  --nk-accent-ink: #141414;
  --nk-navy: #141414;
  --nk-muted: #6b7280;
  --nk-border: #e5e5e5;
  --nk-soft: #fff8f5;
  --nk-glow: #ffe0d4;
  --nk-cta-yellow: #ffe14a;
  --nk-font: "Montserrat", system-ui, -apple-system, Segoe UI, sans-serif;
}

.nk-blog,
.nk-blog * {
  box-sizing: border-box;
}

.nk-blog {
  font-family: var(--nk-font);
  color: #171717;
  background: #fff;
}

.nk-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.nk-shell-tight {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .nk-shell-tight {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }
}

.nk-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 12px;
  color: #a3a3a3;
  margin: 0 0 1rem;
}

.nk-crumb a {
  color: inherit;
  text-decoration: none;
}
.nk-crumb a:hover {
  color: var(--nk-accent);
}

.nk-eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nk-accent);
}

.nk-title {
  margin: 0.65rem 0 0;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #171717;
}

.nk-lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: 14px;
  line-height: 1.6;
  color: var(--nk-muted);
}

.nk-blog a.nk-btn,
.nk-blog button.nk-btn,
.nk-blog .nk-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px !important;
  border: 2px solid transparent !important;
  padding: 0.75rem 1.35rem !important;
  font-family: var(--nk-font) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  transition: 0.15s ease;
  cursor: pointer;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.nk-blog a.nk-btn-primary,
.nk-blog button.nk-btn-primary,
.nk-blog .nk-btn-primary {
  background: var(--nk-accent) !important;
  background-image: linear-gradient(180deg, var(--nk-accent-hot) 0%, var(--nk-accent) 100%) !important;
  border-color: var(--nk-accent) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(240, 79, 37, 0.28);
}
.nk-blog a.nk-btn-primary:hover,
.nk-blog button.nk-btn-primary:hover,
.nk-blog .nk-btn-primary:hover {
  filter: brightness(1.06);
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(240, 79, 37, 0.36);
}

.nk-blog a.nk-btn-ghost,
.nk-blog button.nk-btn-ghost,
.nk-blog .nk-btn-ghost {
  background: #fff !important;
  border-color: var(--nk-accent) !important;
  color: var(--nk-accent) !important;
  box-shadow: 0 2px 8px rgba(240, 79, 37, 0.08);
}
.nk-blog a.nk-btn-ghost:hover,
.nk-blog button.nk-btn-ghost:hover,
.nk-blog .nk-btn-ghost:hover {
  background: var(--nk-soft) !important;
  border-color: var(--nk-accent) !important;
  color: var(--nk-accent) !important;
}

.nk-blog a.nk-btn-yellow,
.nk-blog button.nk-btn-yellow,
.nk-blog .nk-btn-yellow {
  background: var(--nk-cta-yellow) !important;
  border-color: #1a1a1a !important;
  color: #141414 !important;
  box-shadow: 0 8px 20px rgba(255, 225, 74, 0.45);
}
.nk-blog a.nk-btn-yellow:hover,
.nk-blog button.nk-btn-yellow:hover,
.nk-blog .nk-btn-yellow:hover {
  filter: brightness(1.04);
  color: #141414 !important;
}

.nk-btn-sm {
  padding: 0.5rem 1rem !important;
  font-size: 10px !important;
}

.nk-btn-block {
  width: 100%;
}

/* ===== Archive / Blog index ===== */
.nk-hero-glow {
  position: relative;
}
.nk-hero-glow::before {
  content: "";
  position: absolute;
  left: -8rem;
  top: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: var(--nk-glow);
  opacity: 0.55;
  filter: blur(2px);
  box-shadow: 0 0 120px 100px var(--nk-glow);
  pointer-events: none;
  z-index: 0;
}

.nk-featured {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 1024px) {
  .nk-featured {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.nk-feature-main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 0.9rem;
  min-height: 220px;
  width: 100%;
  color: #fff;
  text-decoration: none;
  background: #171717 center/cover no-repeat;
}

@media (min-width: 640px) {
  .nk-feature-main {
    min-height: 20rem;
    border-radius: 0.65rem;
  }
}

@media (min-width: 1024px) {
  .nk-feature-main {
    width: 690px;
    max-width: 62%;
    flex-shrink: 0;
    min-height: 24rem;
  }
}

.nk-feature-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.92) 100%);
}

.nk-feature-main > * {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem 1.15rem;
}

@media (min-width: 640px) {
  .nk-feature-main > * {
    padding: 1.35rem 1.5rem 1.5rem;
  }
}

.nk-feature-main .nk-date {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.nk-feature-main h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.nk-feature-main:hover h2 {
  color: #ffd4c8;
}

.nk-feature-side {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.9rem;
}

.nk-feature-side a {
  display: flex;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}
.nk-feature-side .thumb {
  width: 7rem;
  height: 5rem;
  border-radius: 0.55rem;
  overflow: hidden;
  background: #e5e5e5;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .nk-feature-side .thumb {
    width: 9.5rem;
    height: 6.25rem;
  }
}
@media (min-width: 1024px) {
  .nk-feature-side .thumb {
    width: 11.25rem;
    height: 7.35rem;
  }
}
.nk-feature-side .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nk-feature-side .meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.nk-feature-side .nk-date {
  margin: 0;
  font-size: 12px;
  color: var(--nk-muted);
}
.nk-feature-side h2 {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #171717;
}
@media (min-width: 640px) {
  .nk-feature-side h2 {
    font-size: 1.1rem;
  }
}
.nk-feature-side a:hover h2 {
  color: var(--nk-accent);
}

.nk-list-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .nk-list-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.nk-list-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}

.nk-search {
  position: relative;
  width: 100%;
}
@media (min-width: 640px) {
  .nk-search {
    width: 18rem;
  }
}
.nk-search input {
  width: 100%;
  border: 1px solid #d4d4d4;
  border-radius: 0.4rem;
  padding: 0.55rem 2.4rem 0.55rem 0.8rem;
  font: inherit;
  font-size: 13px;
  outline: none;
  background: #fff;
}
.nk-search input:focus {
  border-color: #171717;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.nk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.nk-chip {
  border: 1px solid var(--nk-border);
  background: #fff;
  color: #404040;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.nk-chip:hover {
  border-color: rgba(240, 79, 37, 0.45);
  color: #171717;
}
.nk-chip.is-active {
  background: var(--nk-accent);
  border-color: var(--nk-accent);
  color: #fff;
}

.nk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.35rem;
}
@media (min-width: 1024px) {
  .nk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 1280px) {
  .nk-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.nk-card {
  overflow: hidden;
  border: 1px solid #dfe4ea;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.nk-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.nk-card .media {
  aspect-ratio: 16 / 10;
  background: #e5e5e5;
  overflow: hidden;
}
.nk-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nk-card .body {
  padding: 0.85rem 0.95rem 1.05rem;
}
@media (min-width: 640px) {
  .nk-card .body {
    padding: 1.1rem 1.2rem 1.25rem;
  }
}
.nk-card .nk-date {
  margin: 0;
  font-size: 11px;
  color: var(--nk-muted);
}
.nk-card h3 {
  margin: 0.4rem 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #171717;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) {
  .nk-card h3 {
    font-size: 15px;
  }
}
.nk-card:hover h3 {
  color: var(--nk-accent);
}

.nk-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.25rem;
}
.nk-pager a,
.nk-pager span {
  min-width: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #525252;
}
.nk-pager .current {
  background: #171717;
  color: #fff;
}
.nk-pager a:hover {
  background: #f5f5f5;
}

/* ===== Single article ===== */
.nk-single-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .nk-single-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 2rem;
  }
}

.nk-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-top: 0.85rem;
  font-size: 12px;
  color: #737373;
}
.nk-meta-row button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--nk-accent);
  cursor: pointer;
}

.nk-cover {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #e5e5e5;
  border: 1px solid rgba(229, 229, 229, 0.8);
}
.nk-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.nk-excerpt {
  margin: 1.5rem 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #525252;
}

.nk-article-body {
  margin-top: 1.5rem;
  font-size: 15px;
  line-height: 1.8;
  color: #525252;
}
.nk-article-body > * + * {
  margin-top: 1.1rem;
}
.nk-article-body h2,
.nk-article-body h3,
.nk-article-body h4 {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #171717;
  line-height: 1.15;
}
.nk-article-body h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
}
.nk-article-body h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}
.nk-article-body a {
  color: var(--nk-accent);
  font-weight: 700;
  text-underline-offset: 2px;
}
.nk-article-body a:hover {
  color: #d43f1a;
}

/* Gutenberg / theme buttons inside post content — force readable CTAs */
.nk-article-body .wp-block-buttons {
  margin: 1.5rem 0;
}
.nk-article-body .wp-block-button__link,
.nk-article-body .wp-element-button,
.nk-article-body a.wp-block-button__link,
.nk-blog .nk-article-body :where(.wp-element-button, .wp-block-button__link) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: 100%;
  border-radius: 999px !important;
  border: 2px solid #141414 !important;
  padding: 0.85rem 1.5rem !important;
  background: var(--nk-cta-yellow) !important;
  background-color: var(--nk-cta-yellow) !important;
  color: #141414 !important;
  font-family: var(--nk-font) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  line-height: 1.25 !important;
  text-decoration: none !important;
  text-align: center;
  box-shadow: 0 8px 22px rgba(255, 225, 74, 0.4);
  transition: 0.15s ease;
}
.nk-article-body .wp-block-button__link:hover,
.nk-article-body .wp-element-button:hover,
.nk-article-body a.wp-block-button__link:hover {
  filter: brightness(1.05);
  color: #141414 !important;
  background: #ffe86a !important;
}
.nk-article-body .wp-block-button__link strong,
.nk-article-body .wp-element-button strong {
  color: inherit !important;
  font-weight: inherit;
}
.nk-article-body mark,
.nk-article-body .has-luminous-vivid-orange-color {
  background: transparent !important;
  color: var(--nk-accent) !important;
}
.nk-article-body ul,
.nk-article-body ol {
  padding-left: 1.25rem;
}
.nk-article-body ul {
  list-style: disc;
}
.nk-article-body ol {
  list-style: decimal;
}
.nk-article-body img,
.nk-article-body video,
.nk-article-body iframe {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.4rem auto;
  border-radius: 0.8rem;
}
.nk-article-body blockquote {
  border-left: 2px solid var(--nk-accent);
  padding-left: 1rem;
  color: #737373;
  font-style: italic;
}

.nk-adj {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--nk-border);
}
.nk-adj a {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.nk-adj a.is-next {
  text-align: right;
}
.nk-adj .label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a3a3a3;
}
.nk-adj .title {
  display: block;
  margin-top: 0.3rem;
  font-size: 13px;
  font-weight: 700;
  color: #262626;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nk-adj a:hover .label,
.nk-adj a:hover .title {
  color: var(--nk-accent);
}

.nk-next-box {
  margin-top: 2rem;
  border: 1px solid var(--nk-border);
  background: var(--nk-soft);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem;
}
.nk-next-box p {
  margin: 0;
}
.nk-next-box .headline {
  margin-top: 0.45rem;
  font-size: 15px;
  font-weight: 700;
  color: #171717;
}
.nk-next-box .sub {
  margin-top: 0.35rem;
  font-size: 13px;
  color: #737373;
}
.nk-next-box .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.nk-aside {
  display: none;
}
@media (min-width: 1024px) {
  .nk-aside {
    display: block;
  }
}
.nk-aside-sticky {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nk-panel {
  overflow: hidden;
  border: 1px solid var(--nk-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.nk-panel-head {
  background: var(--nk-accent);
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 12px;
  font-weight: 800;
}
.nk-panel-body {
  padding: 1rem;
}
.nk-panel-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #525252;
}
.nk-panel-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #f5f5f5;
  font-size: 12px;
}
.nk-panel-links a {
  color: var(--nk-accent);
  font-weight: 700;
  text-decoration: none;
}
.nk-panel-links a.muted {
  color: #737373;
  font-weight: 500;
}
.nk-panel-links a:hover {
  text-decoration: underline;
}

.nk-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #f5f5f5;
}
.nk-related-head p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nk-related-head a {
  font-size: 11px;
  font-weight: 800;
  color: var(--nk-accent);
  text-decoration: none;
}

.nk-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nk-related-list li + li {
  border-top: 1px solid #f5f5f5;
}
.nk-related-list a {
  display: flex;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  text-decoration: none;
  color: inherit;
}
.nk-related-list a:hover {
  background: #fafafa;
}
.nk-related-list .thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #e5e5e5;
  flex-shrink: 0;
}
.nk-related-list .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nk-related-list .tag {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nk-accent);
}
.nk-related-list .tag span {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #a3a3a3;
}
.nk-related-list .title {
  margin: 0.2rem 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #262626;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nk-related-list a:hover .title {
  color: var(--nk-accent);
}

.nk-related-mobile {
  border-top: 1px solid rgba(229, 229, 229, 0.7);
  background: #f7f7f7;
}
@media (min-width: 1024px) {
  .nk-related-mobile {
    display: none;
  }
}
.nk-related-mobile .nk-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .nk-related-mobile .nk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hide default Hello Elementor post title duplicates inside our templates if any leak */
.nk-blog .page-header,
.nk-blog .entry-header {
  display: none !important;
}
