body.page,
body.single-post {
  --jn-bg: linear-gradient(180deg, #f6f1e8 0%, #f7f8fc 100%);
  --jn-surface: rgba(255, 255, 255, 0.88);
  --jn-surface-strong: #ffffff;
  --jn-ink: #1f2937;
  --jn-muted: #5b6472;
  --jn-line: rgba(148, 163, 184, 0.22);
  --jn-accent: #1d4ed8;
  --jn-accent-soft: rgba(29, 78, 216, 0.12);
  --jn-accent-strong: #1e3a8a;
  background: var(--jn-bg);
  color: var(--jn-ink);
}

body.page-id-36 {
  --jn-bg: radial-gradient(circle at top left, #fff1c9 0%, #fff8e7 22%, #eef6ff 58%, #f6f8ff 100%);
  --jn-accent: #c26a00;
  --jn-accent-soft: rgba(194, 106, 0, 0.12);
  --jn-accent-strong: #8a4a00;
}

body.page-id-63 {
  --jn-bg: radial-gradient(circle at top left, #eafbf5 0%, #f1fffb 24%, #eef8ff 66%, #f8fbff 100%);
  --jn-accent: #0f766e;
  --jn-accent-soft: rgba(15, 118, 110, 0.12);
  --jn-accent-strong: #115e59;
}

body.page-id-78 {
  --jn-bg: radial-gradient(circle at top left, #fff2e8 0%, #fff8f4 26%, #fffef8 60%, #fff9f5 100%);
  --jn-accent: #c2410c;
  --jn-accent-soft: rgba(194, 65, 12, 0.12);
  --jn-accent-strong: #9a3412;
}

body.page-id-88 {
  --jn-bg: radial-gradient(circle at top left, #f0f7ff 0%, #f7fbff 28%, #eefdf7 70%, #fbfffd 100%);
  --jn-accent: #0369a1;
  --jn-accent-soft: rgba(3, 105, 161, 0.12);
  --jn-accent-strong: #0c4a6e;
}

body.page-id-93 {
  --jn-bg: radial-gradient(circle at top left, #f3ebff 0%, #faf7ff 24%, #eef6ff 62%, #fffefd 100%);
  --jn-accent: #7c3aed;
  --jn-accent-soft: rgba(124, 58, 237, 0.12);
  --jn-accent-strong: #5b21b6;
}

body.page-id-110 {
  --jn-bg: radial-gradient(circle at top left, #eef4ff 0%, #f7f9ff 28%, #f7fbff 62%, #fcfefe 100%);
  --jn-accent: #2563eb;
  --jn-accent-soft: rgba(37, 99, 235, 0.12);
  --jn-accent-strong: #1d4ed8;
}

body.single-post {
  --jn-bg: radial-gradient(circle at top left, #fff3e8 0%, #fffaf5 26%, #eef7ff 72%, #f6f9ff 100%);
  --jn-accent: #be185d;
  --jn-accent-soft: rgba(190, 24, 93, 0.12);
  --jn-accent-strong: #9d174d;
}

body.page .site,
body.single-post .site {
  background: transparent;
}

body.page .site-content,
body.single-post .site-content {
  position: relative;
  z-index: 0;
}

body.page .site-content::before,
body.single-post .site-content::before,
body.page .site-content::after,
body.single-post .site-content::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(6px);
  z-index: -1;
  opacity: 0.45;
}

body.page .site-content::before,
body.single-post .site-content::before {
  top: 110px;
  left: -110px;
  background: radial-gradient(circle, var(--jn-accent-soft) 0%, rgba(255, 255, 255, 0) 70%);
}

body.page .site-content::after,
body.single-post .site-content::after {
  right: -120px;
  bottom: 30px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, rgba(255, 255, 255, 0) 72%);
}

body.page .site-content > .ast-container,
body.single-post .site-content > .ast-container {
  max-width: 1180px;
  padding: 40px 20px 84px;
}

body.page .content-area,
body.single-post .content-area {
  width: 100%;
}

body.page .site-main > article,
body.single-post .site-main > article {
  background: var(--jn-surface);
  border: 1px solid var(--jn-line);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

body.page .entry-header,
body.single-post .entry-header {
  position: relative;
  padding: 42px 42px 20px;
  background:
    linear-gradient(135deg, var(--jn-accent-soft) 0%, rgba(255, 255, 255, 0.9) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.74) 100%);
}

body.page .entry-header::after,
body.single-post .entry-header::after {
  content: "";
  position: absolute;
  inset: auto 42px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--jn-line), rgba(255, 255, 255, 0));
}

body.page .entry-title,
body.single-post .entry-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--jn-accent-strong);
}

body.page .entry-meta,
body.single-post .entry-meta {
  margin-top: 12px;
  color: var(--jn-muted);
}

body.page .entry-content,
body.single-post .entry-content {
  padding: 18px 42px 46px;
  color: var(--jn-ink);
}

body.page .entry-content > * + *,
body.single-post .entry-content > * + * {
  margin-top: 1.3rem;
}

body.page .entry-content p,
body.page .entry-content li,
body.single-post .entry-content p,
body.single-post .entry-content li {
  color: var(--jn-muted);
  font-size: 1.04rem;
  line-height: 1.82;
}

body.page .entry-content h2,
body.page .entry-content h3,
body.page .entry-content h4,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
  color: var(--jn-accent-strong);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

body.page .entry-content h2,
body.single-post .entry-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-top: 2rem;
}

body.page .entry-content h3,
body.single-post .entry-content h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
}

body.page .entry-content a,
body.single-post .entry-content a {
  color: var(--jn-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

body.page .entry-content a:hover,
body.single-post .entry-content a:hover {
  color: var(--jn-accent-strong);
}

body.page .entry-content .wp-block-group,
body.page .entry-content .wp-block-columns,
body.page .entry-content .wp-block-cover,
body.page .entry-content .wp-block-media-text,
body.single-post .entry-content .wp-block-group,
body.single-post .entry-content .wp-block-columns,
body.single-post .entry-content .wp-block-cover,
body.single-post .entry-content .wp-block-media-text {
  border-radius: 24px;
}

body.page .entry-content .wp-block-group,
body.page .entry-content .wp-block-columns,
body.page .entry-content .wp-block-media-text,
body.single-post .entry-content .wp-block-group,
body.single-post .entry-content .wp-block-columns,
body.single-post .entry-content .wp-block-media-text {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--jn-line);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
  padding: clamp(18px, 2vw, 28px);
}

body.page .entry-content .wp-block-group.has-background,
body.page .entry-content .wp-block-cover,
body.single-post .entry-content .wp-block-group.has-background,
body.single-post .entry-content .wp-block-cover {
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

body.page .entry-content .wp-block-quote,
body.single-post .entry-content .wp-block-quote {
  border-left: 5px solid var(--jn-accent);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--jn-accent-soft) 0%, rgba(255, 255, 255, 0.92) 100%);
  padding: 22px 24px;
  margin: 28px 0;
}

body.page .entry-content .wp-block-button__link,
body.page .entry-content .wp-element-button,
body.page button,
body.page input[type="submit"],
body.page .submit,
body.single-post .entry-content .wp-block-button__link,
body.single-post .entry-content .wp-element-button,
body.single-post button,
body.single-post input[type="submit"],
body.single-post .submit {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--jn-accent) 0%, var(--jn-accent-strong) 100%);
  border: none;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--jn-accent) 26%, transparent);
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.page .entry-content .wp-block-button__link:hover,
body.page .entry-content .wp-element-button:hover,
body.page button:hover,
body.page input[type="submit"]:hover,
body.single-post .entry-content .wp-block-button__link:hover,
body.single-post .entry-content .wp-element-button:hover,
body.single-post button:hover,
body.single-post input[type="submit"]:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--jn-accent) 32%, transparent);
}

body.page input[type="text"],
body.page input[type="email"],
body.page input[type="tel"],
body.page input[type="url"],
body.page input[type="search"],
body.page textarea,
body.page select,
body.single-post input[type="text"],
body.single-post input[type="email"],
body.single-post input[type="tel"],
body.single-post input[type="url"],
body.single-post input[type="search"],
body.single-post textarea,
body.single-post select {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  padding: 0.9rem 1rem;
}

body.page input:focus,
body.page textarea:focus,
body.page select:focus,
body.single-post input:focus,
body.single-post textarea:focus,
body.single-post select:focus {
  border-color: color-mix(in srgb, var(--jn-accent) 48%, #ffffff);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--jn-accent) 16%, transparent);
  outline: none;
}

body.page .entry-content img,
body.single-post .entry-content img {
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

body.page .entry-content hr,
body.single-post .entry-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), var(--jn-line), rgba(255,255,255,0));
  margin: 30px 0;
}

body.page .ast-breadcrumbs-wrapper,
body.single-post .ast-breadcrumbs-wrapper {
  margin-bottom: 16px;
}

body.page .post-navigation,
body.single-post .post-navigation {
  margin-top: 24px;
  padding: 0 42px 42px;
}

body.page .post-navigation a,
body.single-post .post-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--jn-line);
}

@media (max-width: 921px) {
  body.page .site-content > .ast-container,
  body.single-post .site-content > .ast-container {
    padding: 24px 14px 64px;
  }

  body.page .entry-header,
  body.single-post .entry-header,
  body.page .entry-content,
  body.single-post .entry-content,
  body.page .post-navigation,
  body.single-post .post-navigation {
    padding-left: 22px;
    padding-right: 22px;
  }

  body.page .entry-title,
  body.single-post .entry-title {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }
}
