/*
 * ZKM theme, ported from zkm-wp-theme 2.2.0 (style.css) for zkm-cms.
 * WordPress block styles the content relies on are in blocks.css.
 */

:root {
  --zkm-bg: #060914;
  --zkm-bg-soft: #0d1324;
  --zkm-panel: #101a30;
  --zkm-text: #f2f8ff;
  --zkm-copy: #d5e9ff;
  --zkm-muted: #a7b8d8;
  --zkm-link: #5df2ff;
  --zkm-link-hover: #e8f7ff;
  --zkm-border: #264a72;
  --zkm-focus: #ffe082;
  --zkm-neon-cyan: #5df2ff;
  --zkm-neon-violet: #b68cff;
  --zkm-neon-pink: #ff5fd2;
  --zkm-font-body: "Rajdhani", "Segoe UI", sans-serif;
  --zkm-font-heading: "Orbitron", "Segoe UI", sans-serif;
  --zkm-max: 1100px;
  --zkm-content: 860px;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --zkm-bg: #fbefd6;
    --zkm-bg-soft: #fffaf0;
    --zkm-panel: #fffdf7;
    --zkm-text: #3a220e;
    --zkm-copy: #5b3a1a;
    --zkm-muted: #8a6640;
    --zkm-link: #b2470b;
    --zkm-link-hover: #7d2f06;
    --zkm-border: #ecd2a4;
    --zkm-neon-cyan: #e0701a;
    --zkm-neon-violet: #e9a91a;
    --zkm-neon-pink: #c8501c;
  }
}

:root[data-theme="light"] {
  --zkm-bg: #fbefd6;
  --zkm-bg-soft: #fffaf0;
  --zkm-panel: #fffdf7;
  --zkm-text: #3a220e;
  --zkm-copy: #5b3a1a;
  --zkm-muted: #8a6640;
  --zkm-link: #b2470b;
  --zkm-link-hover: #7d2f06;
  --zkm-border: #ecd2a4;
  --zkm-neon-cyan: #e0701a;
  --zkm-neon-violet: #e9a91a;
  --zkm-neon-pink: #c8501c;
}

:root[data-theme="dark"] {
  --zkm-bg: #060914;
  --zkm-bg-soft: #0d1324;
  --zkm-panel: #101a30;
  --zkm-text: #f2f8ff;
  --zkm-copy: #d5e9ff;
  --zkm-muted: #a7b8d8;
  --zkm-link: #5df2ff;
  --zkm-link-hover: #e8f7ff;
  --zkm-border: #264a72;
  --zkm-neon-cyan: #5df2ff;
  --zkm-neon-violet: #b68cff;
  --zkm-neon-pink: #ff5fd2;
}

html {
  background-color: var(--zkm-bg);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  overflow-y: auto;
}

body {
  margin: 0;
  font-family: var(--zkm-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  background:
    radial-gradient(circle at 12% -8%, rgba(93, 242, 255, 0.22) 0%, rgba(93, 242, 255, 0) 36%),
    radial-gradient(circle at 88% -12%, rgba(182, 140, 255, 0.26) 0%, rgba(182, 140, 255, 0) 40%),
    radial-gradient(circle at 50% 120%, rgba(255, 95, 210, 0.14) 0%, rgba(255, 95, 210, 0) 44%),
    linear-gradient(180deg, var(--zkm-bg-soft) 0%, var(--zkm-bg) 100%);
  background-color: var(--zkm-bg);
  color: var(--zkm-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 12% -8%, rgba(232, 119, 30, 0.14) 0%, rgba(232, 119, 30, 0) 36%),
    radial-gradient(circle at 88% -12%, rgba(245, 197, 24, 0.15) 0%, rgba(245, 197, 24, 0) 40%),
    radial-gradient(circle at 50% 120%, rgba(232, 119, 30, 0.1) 0%, rgba(232, 119, 30, 0) 44%),
    linear-gradient(180deg, var(--zkm-bg-soft) 0%, var(--zkm-bg) 100%);
  color: var(--zkm-text);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-image: linear-gradient(rgba(100, 198, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 198, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 88%);
  opacity: 0.45;
}

body::after {
  background: radial-gradient(circle at 20% 30%, rgba(93, 242, 255, 0.16) 0%, rgba(93, 242, 255, 0) 30%), radial-gradient(circle at 80% 24%, rgba(255, 95, 210, 0.12) 0%, rgba(255, 95, 210, 0) 30%);
  filter: blur(18px);
  animation: zkm-ambient-shift 16s ease-in-out infinite alternate;
}

:root[data-theme="light"] body::before {
  background-image: linear-gradient(rgba(178, 110, 40, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(178, 110, 40, 0.09) 1px, transparent 1px);
  opacity: 0.28;
}

:root[data-theme="light"] body::after {
  background: radial-gradient(circle at 20% 30%, rgba(232, 119, 30, 0.16) 0%, rgba(232, 119, 30, 0) 30%), radial-gradient(circle at 80% 24%, rgba(245, 197, 24, 0.12) 0%, rgba(245, 197, 24, 0) 30%);
}

body,
body p,
body li,
body span,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  color: var(--zkm-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--zkm-font-heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

a {
  color: var(--zkm-link);
  text-decoration: underline;
  text-decoration-color: rgba(93, 242, 255, 0.5);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, background-color 0.2s ease, text-decoration-color 0.2s ease;
}

:root[data-theme="light"] a {
  text-decoration-color: rgba(232, 119, 30, 0.5);
}

a:hover,
a:focus-visible {
  color: var(--zkm-link-hover);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--zkm-focus);
  outline-offset: 2px;
}

.site-header,
.site-main,
.site-footer {
  width: min(var(--zkm-max), calc(100% - 0.75rem));
  margin: 0 auto;
}

.site-header-wrap {
  position: relative;
  z-index: 40;
  isolation: isolate;
  border-bottom: 1px solid rgba(93, 242, 255, 0.32);
  background: linear-gradient(180deg, rgba(4, 10, 22, 0.86), rgba(9, 17, 33, 0.82));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 28px rgba(93, 242, 255, 0.11);
  margin-bottom: 1.5rem;
}

:root[data-theme="light"] .site-header-wrap {
  border-bottom: 1px solid rgba(178, 71, 11, 0.22);
  background: linear-gradient(180deg, rgba(255, 250, 238, 0.94), rgba(253, 241, 216, 0.88));
  box-shadow: 0 8px 22px rgba(92, 52, 14, 0.12), 0 0 12px rgba(232, 119, 30, 0.1);
}

.site-header-wrap::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 720px);
  z-index: -1;
  background: url("images/solo-jazz.webp") center / cover no-repeat;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  pointer-events: none;
}

:root[data-theme="light"] .site-header-wrap::before {
  background-image: url("images/solo-flowers.svg");
  opacity: 0.55;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.35rem 0;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 1.85rem;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(93, 242, 255, 0.45);
  background: linear-gradient(140deg, rgba(93, 242, 255, 0.18), rgba(182, 140, 255, 0.2));
  color: var(--zkm-text);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(93, 242, 255, 0.86);
  box-shadow: 0 0 0 1px rgba(93, 242, 255, 0.28), 0 0 16px rgba(93, 242, 255, 0.3);
}

:root[data-theme="light"] .menu-toggle:hover,
:root[data-theme="light"] .menu-toggle:focus-visible {
  border-color: rgba(232, 119, 30, 0.8);
  box-shadow: 0 0 0 1px rgba(232, 119, 30, 0.24), 0 0 14px rgba(245, 197, 24, 0.4);
}

:root[data-theme="light"] .menu-toggle {
  border-color: rgba(178, 71, 11, 0.32);
  background: linear-gradient(140deg, rgba(178, 71, 11, 0.12), rgba(245, 197, 24, 0.12));
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 1.1rem;
}

.menu-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle.is-active .menu-toggle-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  height: 1.55rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(93, 242, 255, 0.45);
  background: linear-gradient(140deg, rgba(93, 242, 255, 0.18), rgba(182, 140, 255, 0.2));
  color: var(--zkm-text);
  font-family: var(--zkm-font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: rgba(93, 242, 255, 0.86);
  box-shadow: 0 0 0 1px rgba(93, 242, 255, 0.28), 0 0 16px rgba(93, 242, 255, 0.3);
  transform: translateY(-1px);
}

:root[data-theme="light"] .theme-toggle:hover,
:root[data-theme="light"] .theme-toggle:focus-visible {
  border-color: rgba(232, 119, 30, 0.8);
  box-shadow: 0 0 0 1px rgba(232, 119, 30, 0.24), 0 0 14px rgba(245, 197, 24, 0.4);
}

.theme-toggle-icon {
  font-size: 0.84rem;
  line-height: 1;
}

:root[data-theme="light"] .theme-toggle {
  border-color: rgba(178, 71, 11, 0.32);
  background: linear-gradient(140deg, rgba(178, 71, 11, 0.12), rgba(245, 197, 24, 0.12));
}

.site-branding {
  min-width: 220px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.6rem;
  row-gap: 0.03rem;
}

.site-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.site-title,
.site-description {
  grid-column: 2;
}

.site-branding .zkm-logo-mark {
  position: relative;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(93, 242, 255, 0.6);
  background:
    url("images/solo-jazz.webp") 50% 50% / 190% auto no-repeat,
    linear-gradient(140deg, #0d1a33, #060914);
  box-shadow: 0 0 0 2px rgba(182, 140, 255, 0.28), 0 0 14px rgba(93, 242, 255, 0.3);
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.site-branding .zkm-logo-mark:hover {
  transform: rotate(-4deg);
  box-shadow: 0 0 0 2px rgba(182, 140, 255, 0.45), 0 0 18px rgba(93, 242, 255, 0.45);
}

:root[data-theme="light"] .site-branding .zkm-logo-mark:hover {
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.5), 0 4px 14px rgba(232, 119, 30, 0.35);
}


:root[data-theme="light"] .site-branding .zkm-logo-mark {
  border-color: rgba(232, 119, 30, 0.55);
  background:
    url("images/solo-flowers.svg") 31% 32% / auto 150% no-repeat,
    #fdf3dd;
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.2), 0 4px 10px rgba(92, 52, 14, 0.16);
}


.site-branding .custom-logo {
  width: auto;
  max-height: 24px;
}

.site-title {
  margin: 0;
  padding-bottom: 0.5em;
  order: 2;
  font-family: var(--zkm-font-heading);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.75vw, 2rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-transform: none;
}

.site-title a {
  display: inline-block;
  color: #e8f3ff;
  text-shadow: 0 0 16px rgba(93, 242, 255, 0.32);
  text-decoration: none;
}

:root[data-theme="light"] .site-title a {
  color: #3a220e;
  text-shadow: 0 0 10px rgba(232, 119, 30, 0.12);
}

.site-description {
  order: 1;
  margin: 0;
  color: #7fb4d9;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

:root[data-theme="light"] .site-description {
  color: #8a6640;
}

.main-navigation .menu,
.footer-navigation .menu,
.social-navigation .menu {
  display: flex;
  gap: 0.22rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

.main-navigation .menu-item > a,
.footer-navigation .menu-item > a {
  display: inline-block;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #caf7ff;
  text-decoration: none;
  border: 1px solid rgba(93, 242, 255, 0.3);
  background: linear-gradient(135deg, rgba(93, 242, 255, 0.09), rgba(182, 140, 255, 0.08));
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(8, 14, 25, 0.82);
}

:root[data-theme="light"] .main-navigation .menu-item > a,
:root[data-theme="light"] .footer-navigation .menu-item > a {
  color: #3a220e;
  border-color: rgba(178, 71, 11, 0.35);
  background: linear-gradient(135deg, rgba(232, 119, 30, 0.1), rgba(245, 197, 24, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.main-navigation .menu-item > a:hover,
.main-navigation .menu-item > a:focus-visible,
.footer-navigation .menu-item > a:hover,
.footer-navigation .menu-item > a:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(93, 242, 255, 0.22), rgba(182, 140, 255, 0.24));
  border-color: rgba(93, 242, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(93, 242, 255, 0.22), 0 0 20px rgba(93, 242, 255, 0.28);
}

:root[data-theme="light"] .main-navigation .menu-item > a:hover,
:root[data-theme="light"] .main-navigation .menu-item > a:focus-visible,
:root[data-theme="light"] .footer-navigation .menu-item > a:hover,
:root[data-theme="light"] .footer-navigation .menu-item > a:focus-visible {
  color: #3a220e;
  background: linear-gradient(135deg, rgba(232, 119, 30, 0.2), rgba(245, 197, 24, 0.2));
  border-color: rgba(178, 71, 11, 0.62);
  box-shadow: 0 0 0 1px rgba(232, 119, 30, 0.18), 0 0 14px rgba(232, 119, 30, 0.22);
}

.main-navigation .menu-item > a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(93, 242, 255, 0.2), rgba(182, 140, 255, 1));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

:root[data-theme="light"] .main-navigation .menu-item > a::after {
  background: linear-gradient(90deg, rgba(245, 197, 24, 0.4), rgba(232, 119, 30, 1));
}

.main-navigation .menu-item > a:hover::after,
.main-navigation .menu-item > a:focus-visible::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
  transform: scaleX(1);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(93, 242, 255, 0.24), rgba(182, 140, 255, 0.28));
  border-color: rgba(93, 242, 255, 0.65);
}

:root[data-theme="light"] .main-navigation .current-menu-item > a,
:root[data-theme="light"] .main-navigation .current_page_item > a {
  color: #3a220e;
  background: linear-gradient(135deg, rgba(232, 119, 30, 0.24), rgba(245, 197, 24, 0.24));
  border-color: rgba(178, 71, 11, 0.58);
}

.site-main {
  padding-top: 0;
  padding-bottom: 2rem;
}

/* Force consistent non-hero layout across all pages when legacy classes are present. */
.zkm-has-hero-layout .site-header-wrap {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(93, 242, 255, 0.32);
}

body.admin-bar.zkm-has-hero-layout .site-header-wrap {
  top: 32px;
}

.zkm-has-hero-layout .site-main.has-hero-layout {
  width: min(var(--zkm-max), calc(100% - 0.75rem));
  margin: 0 auto;
  padding-top: 0.35rem;
  padding-bottom: 2rem;
}

.site-main.has-hero-layout .post,
.site-main.has-hero-layout .page {
  margin-bottom: 3rem;
  padding: clamp(0.85rem, 1.6vw, 1.25rem);
  border: 1px solid rgba(93, 242, 255, 0.32);
  border-radius: 1.05rem;
  box-shadow: 0 22px 48px rgba(2, 6, 14, 0.68), inset 0 0 0 1px rgba(182, 140, 255, 0.12);
  background: linear-gradient(160deg, rgba(16, 26, 48, 0.86), rgba(8, 15, 30, 0.84));
}

:root[data-theme="light"] .site-main.has-hero-layout .post,
:root[data-theme="light"] .site-main.has-hero-layout .page {
  border: 1px solid rgba(232, 119, 30, 0.22);
  box-shadow: 0 20px 38px rgba(92, 52, 14, 0.14), inset 0 0 0 1px rgba(245, 197, 24, 0.08);
  background: linear-gradient(160deg, rgba(255, 253, 247, 0.97), rgba(255, 246, 226, 0.94));
}

.site-main.has-hero-layout .entry-content,
.site-main.has-hero-layout .entry-summary {
  max-width: 70ch;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.site-main.has-hero-layout .entry-header-overlay {
  position: static;
  inset: auto;
  padding: 0;
}

.site-main.has-hero-layout .entry-hero,
.site-main.has-hero-layout .entry-hero::after,
.site-main.has-hero-layout .entry-hero-arrow {
  display: none;
}

.site-main.has-hero-layout .entry-hero .wp-post-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.7rem;
}

.content-area {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.content-area {
  max-width: var(--zkm-content);
}

.content-area .post,
.content-area .page {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
  background: linear-gradient(160deg, rgba(16, 26, 48, 0.86), rgba(8, 15, 30, 0.84));
  border: 1px solid rgba(93, 242, 255, 0.32);
  border-radius: 1.05rem;
  padding: clamp(0.85rem, 1.6vw, 1.25rem);
  box-shadow: 0 22px 48px rgba(2, 6, 14, 0.68), inset 0 0 0 1px rgba(182, 140, 255, 0.12);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

:root[data-theme="light"] .content-area .post,
:root[data-theme="light"] .content-area .page {
  background: linear-gradient(160deg, rgba(255, 253, 247, 0.97), rgba(255, 246, 226, 0.94));
  border: 1px solid rgba(232, 119, 30, 0.22);
  box-shadow: 0 20px 38px rgba(92, 52, 14, 0.14), inset 0 0 0 1px rgba(245, 197, 24, 0.08);
}

.content-area .post::before,
.content-area .page::before {
  content: "";
  position: absolute;
  inset: -30% -18% auto;
  height: 62%;
  background: radial-gradient(circle, rgba(93, 242, 255, 0.24) 0%, rgba(93, 242, 255, 0) 70%);
  pointer-events: none;
}

:root[data-theme="light"] .content-area .post::before,
:root[data-theme="light"] .content-area .page::before {
  background: radial-gradient(circle, rgba(245, 197, 24, 0.22) 0%, rgba(245, 197, 24, 0) 70%);
}

.content-area .post::after,
.content-area .page::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(147, 198, 255, 0.08), rgba(147, 198, 255, 0.08) 1px, transparent 1px, transparent 14px);
  opacity: 0.2;
  pointer-events: none;
}

:root[data-theme="light"] .content-area .post::after,
:root[data-theme="light"] .content-area .page::after {
  opacity: 0.08;
}

.content-area .post:hover,
.content-area .page:hover {
  border-color: rgba(93, 242, 255, 0.72);
  transform: translateY(-2px);
}

:root[data-theme="light"] .content-area .post:hover,
:root[data-theme="light"] .content-area .page:hover {
  border-color: rgba(232, 119, 30, 0.55);
}

.entry-title {
  margin: 0 0 1rem;
  line-height: 1.2;
  text-wrap: balance;
  letter-spacing: 0;
  color: var(--zkm-text);
  text-shadow: 0 0 18px rgba(93, 242, 255, 0.18);
}

:root[data-theme="light"] .entry-title {
  text-shadow: 0 0 12px rgba(232, 119, 30, 0.14);
}

.page .entry-title,
.single .entry-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.9rem, 2.6vw, 2rem);
}

.entry-title a {
  color: var(--zkm-text);
}

.entry-content p,
.entry-summary p {
  max-width: none;
  margin-bottom: 1.2em;
  color: var(--zkm-copy);
  line-height: 1.8;
}

.entry-content img,
.entry-summary img,
.wp-post-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.7rem;
  transition: box-shadow 0.2s ease, transform 0.18s linear;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34), 0 0 20px rgba(93, 242, 255, 0.12);
}

:root[data-theme="light"] .entry-content img,
:root[data-theme="light"] .entry-summary img,
:root[data-theme="light"] .wp-post-image {
  box-shadow: 0 14px 30px rgba(92, 52, 14, 0.2), 0 0 18px rgba(245, 197, 24, 0.18);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-caption {
  margin: 0 0 1rem;
}

.entry-content figure + figure,
.entry-content .wp-block-image + .wp-block-image,
.entry-content img + img {
  margin-top: 1rem;
}

.entry-content img.zkm-parallax-target {
  will-change: transform;
  backface-visibility: hidden;
}

/* Show content for one color mode only: add zkm-dark-only or zkm-light-only
   as an "Additional CSS class" on a block. */
:root[data-theme="light"] .zkm-dark-only,
:root:not([data-theme="light"]) .zkm-light-only {
  display: none !important;
}

/* When a dark-only block leads the content, its light twin takes the first-child spacing. */
.entry-content > .zkm-dark-only:first-child + .zkm-light-only {
  margin-top: 0;
}

.is-about-page .entry-content img {
  border-radius: 44% 56% 58% 42% / 49% 42% 58% 51%;
  max-width: 360px;
  width: min(100%, 360px);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(93, 242, 255, 0.34);
  box-shadow: 0 20px 40px rgba(2, 8, 18, 0.62), 0 0 24px rgba(93, 242, 255, 0.26);
}

:root[data-theme="light"] .is-about-page .entry-content img {
  border-color: rgba(232, 119, 30, 0.4);
  box-shadow: 0 18px 36px rgba(92, 52, 14, 0.24), 0 0 24px rgba(245, 197, 24, 0.3);
}

.entry-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 0.7rem;
  margin: 0 0 1.1rem;
  background: #090f1d;
}

.entry-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(93, 242, 255, 0.05) 0%, rgba(8, 12, 24, 0.82) 100%);
  opacity: 0.82;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.entry-hero {
  margin: 0 0 1.25rem;
}

.entry-hero::after {
  background: linear-gradient(180deg, rgba(93, 242, 255, 0.16) 0%, rgba(7, 12, 24, 0.9) 100%);
  opacity: 1;
}

.entry-header-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: clamp(0.9rem, 2.4vw, 1.5rem);
}

.entry-header-overlay .entry-title {
  margin: 0;
  color: #ffffff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
  font-size: clamp(1.85rem, 4vw, 2.9rem);
}

.entry-hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(9, 12, 19, 0.32);
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
  opacity: 0.95;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.entry-hero-arrow:hover,
.entry-hero-arrow:focus-visible {
  background: rgba(95, 168, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(2px);
}

.entry-thumbnail-link {
  display: block;
}

.entry-thumbnail .wp-post-image {
  border-radius: inherit;
  box-shadow: none;
}

.entry-thumbnail:hover img,
.entry-content p img:hover,
.entry-content figure img:hover {
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.3);
}

.entry-thumbnail:hover::after,
.entry-thumbnail:focus-within::after {
  opacity: 0.56;
}

.entry-hero:hover::after,
.entry-hero:focus-within::after {
  opacity: 1;
}

.zkm-has-hero-layout .site-header-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  margin-bottom: 0;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(9, 12, 19, 0.64) 0%, rgba(9, 12, 19, 0.1) 62%, rgba(9, 12, 19, 0) 100%);
}

body.admin-bar.zkm-has-hero-layout .site-header-wrap {
  top: 32px;
}

.zkm-has-hero-layout .site-title a,
.zkm-has-hero-layout .site-description,
.zkm-has-hero-layout .main-navigation .menu-item > a {
  color: #ffffff;
}

.zkm-has-hero-layout .main-navigation .menu-item > a {
  background: rgba(11, 17, 27, 0.5);
}

.zkm-has-hero-layout .main-navigation .current-menu-item > a,
.zkm-has-hero-layout .main-navigation .current_page_item > a {
  background: linear-gradient(135deg, rgba(93, 242, 255, 0.35), rgba(182, 140, 255, 0.46));
}

.zkm-has-hero-layout .site-main.has-hero-layout {
  width: 100%;
  margin: 0;
  padding-bottom: 0;
}

.site-main.has-hero-layout .content-area {
  max-width: 100%;
}

.site-main.has-hero-layout .post,
.site-main.has-hero-layout .page {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.site-main.has-hero-layout .post::before,
.site-main.has-hero-layout .page::before {
  display: none;
}

.site-main.has-hero-layout .entry-hero {
  width: 100%;
  height: min(78vh, 760px);
  min-height: 460px;
  margin: 0;
  border-radius: 0;
}

.site-main.has-hero-layout .entry-hero::after {
  background: linear-gradient(180deg, rgba(93, 242, 255, 0.58) 0%, rgba(182, 140, 255, 0.52) 45%, rgba(5, 8, 16, 0.96) 100%);
}

.site-main.has-hero-layout .entry-hero .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.02);
}

.site-main.has-hero-layout .entry-header-overlay {
  inset: auto 0 1.4rem;
  text-align: center;
  padding: 0 1rem;
}

.site-main.has-hero-layout .entry-header-overlay .entry-title {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  text-transform: lowercase;
}

.site-main.has-hero-layout .entry-content {
  max-width: 640px;
  margin: 2.5rem auto 2rem;
  padding: 1.3rem 1.25rem 1.7rem;
  background: linear-gradient(160deg, rgba(16, 26, 48, 0.76), rgba(8, 15, 30, 0.84));
  border: 1px solid rgba(93, 242, 255, 0.28);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34), 0 0 24px rgba(93, 242, 255, 0.14);
}

.site-main.has-hero-layout .entry-content p,
.site-main.has-hero-layout .entry-summary p {
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.72;
  color: #d9dfeb;
}

.site-main.has-hero-layout .entry-content > .wp-block-image:first-child img,
.site-main.has-hero-layout .entry-content > figure.wp-block-image:first-child img,
.site-main.has-hero-layout .entry-content > p:first-child img {
  width: min(210px, 54vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  margin: 0 auto 1rem;
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.32);
}

.site-main.has-hero-layout .entry-content > .wp-block-image:first-child,
.site-main.has-hero-layout .entry-content > figure.wp-block-image:first-child,
.site-main.has-hero-layout .entry-content > p:first-child {
  margin-bottom: 1rem;
}

.zkm-has-hero-layout .site-footer-wrap {
  margin-top: 0.75rem;
}

.entry-content blockquote {
  font-style: italic;
  border-left: 4px solid var(--zkm-neon-cyan);
  background: linear-gradient(140deg, rgba(16, 26, 48, 0.78), rgba(9, 16, 30, 0.78));
  color: var(--zkm-text);
  margin: 1.5em 0;
  padding: 0.75em 1em;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(93, 242, 255, 0.2);
}

:root[data-theme="light"] .entry-content blockquote {
  box-shadow: inset 0 0 0 1px rgba(232, 119, 30, 0.2);
}

.fluentform {
  margin-top: 0.5rem;
}

.fluentform .frm-fluent-form .ff-el-group {
  margin-bottom: 1.1rem;
}

.fluentform .frm-fluent-form .ff-el-input--label label {
  color: #f0f4fc;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.fluentform .frm-fluent-form .ff-el-input--label.ff-el-is-required.asterisk-right label::after,
.fluentform .frm-fluent-form .ff-el-input--label.ff-el-is-required.asterisk-left label::before {
  color: #ff8181;
}

.fluentform .frm-fluent-form .ff-el-form-control {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 20, 31, 0.82);
  color: #f5f8ff;
  border-radius: 0.55rem;
  padding: 0.7rem 0.78rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.45;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.fluentform .frm-fluent-form .ff-el-form-control::placeholder {
  color: #95a1b7;
}

.fluentform .frm-fluent-form textarea.ff-el-form-control {
  min-height: 180px;
  resize: vertical;
}

.fluentform .frm-fluent-form .ff-el-form-control:focus {
  outline: none;
  border-color: var(--zkm-link);
  box-shadow: 0 0 0 3px rgba(95, 168, 255, 0.2);
  background: rgba(10, 15, 24, 0.92);
  color: #f5f8ff;
}

.fluentform .frm-fluent-form .ff-t-container {
  gap: 0.7rem;
}

.fluentform .frm-fluent-form .ff-el-help-message {
  color: #a8b2c4;
  font-size: 0.85rem;
}

.fluentform .frm-fluent-form .ff_submit_btn_wrapper {
  margin-top: 1rem;
}

.fluentform .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style) {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--zkm-link), var(--zkm-neon-violet));
  color: #0b1226;
  border-radius: 0.55rem;
  padding: 0.58rem 0.95rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 1;
  box-shadow: 0 0 14px rgba(93, 242, 255, 0.28);
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.14s ease;
}

.fluentform .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style):hover,
.fluentform .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style):focus-visible {
  filter: brightness(1.1);
  opacity: 1;
  transform: translateY(-1px);
}

.fluentform .frm-fluent-form .ff-btn-submit[disabled] {
  opacity: 0.8;
  cursor: progress;
  transform: none;
}

.fluentform .ff-errors-in-stack {
  border: 1px solid rgba(255, 110, 130, 0.52);
  background: rgba(94, 28, 42, 0.4);
  color: #ffeaf0;
  border-radius: 0.55rem;
  padding: 1rem 1.1rem;
}

.fluentform .ff-errors-in-stack .error {
  margin: 0.2rem 0;
  color: #ffeaf0;
  line-height: 1.45;
}

.fluentform .frm-fluent-form .ff-el-group.ff-el-is-error {
  background: rgba(94, 28, 42, 0.28);
  border: 1px solid rgba(255, 110, 130, 0.42);
  border-radius: 0.55rem;
  padding: 0.6rem 0.72rem;
}

.fluentform .frm-fluent-form .ff-el-is-error .ff-el-input--label label,
.fluentform .frm-fluent-form .ff-el-is-error .text-danger {
  color: #ffd9e1;
}

.fluentform .frm-fluent-form .ff-el-is-error .text-danger {
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.fluentform .frm-fluent-form .ff-el-is-error .ff-el-form-control {
  border-color: rgba(255, 110, 130, 0.72);
  color: #f5f8ff;
  background: rgba(15, 20, 31, 0.9);
}

.fluentform .ff-message-success {
  margin-top: 0.5rem;
  border: 1px solid rgba(90, 189, 140, 0.5);
  border-left: 4px solid #67d59e;
  background: rgba(22, 68, 48, 0.35);
  color: #e9fff3;
  border-radius: 0.65rem;
  box-shadow: none;
  padding: 0.9rem 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.fluentform .ff-message-success p {
  margin: 0;
}

.fluentform .ff-message-success a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.65);
}

.fluentform .ff-message-success a:hover,
.fluentform .ff-message-success a:focus-visible {
  text-decoration-color: rgba(255, 255, 255, 1);
}

:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-input--label label {
  color: #5b3a1a;
}

:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-input--label.ff-el-is-required.asterisk-right label::after,
:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-input--label.ff-el-is-required.asterisk-left label::before {
  color: #c0354f;
}

:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-form-control {
  border: 1px solid rgba(120, 72, 20, 0.24);
  background: rgba(255, 255, 255, 0.9);
  color: #3a220e;
}

:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-form-control::placeholder {
  color: #9a7a55;
}

:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-form-control:focus {
  border-color: rgba(178, 71, 11, 0.65);
  box-shadow: 0 0 0 3px rgba(178, 71, 11, 0.14);
  background: #ffffff;
  color: #3a220e;
}

:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-help-message {
  color: #8a6640;
}

:root[data-theme="light"] .fluentform .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style) {
  border-color: rgba(125, 47, 6, 0.38);
  background: linear-gradient(135deg, #b2470b, #d35f12);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(178, 71, 11, 0.22);
}

:root[data-theme="light"] .fluentform .ff-errors-in-stack {
  border-color: rgba(201, 62, 95, 0.4);
  background: rgba(255, 239, 243, 0.9);
}

:root[data-theme="light"] .fluentform .ff-errors-in-stack .error {
  color: #7f2035;
}

:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-group.ff-el-is-error {
  background: rgba(255, 239, 243, 0.9);
  border-color: rgba(201, 62, 95, 0.4);
}

:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-is-error .ff-el-input--label label,
:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-is-error .text-danger {
  color: #7f2035;
}

:root[data-theme="light"] .fluentform .frm-fluent-form .ff-el-is-error .ff-el-form-control {
  border-color: rgba(201, 62, 95, 0.65);
  color: #2f1d24;
  background: rgba(255, 255, 255, 0.96);
}

:root[data-theme="light"] .fluentform .ff-message-success {
  border-color: rgba(31, 138, 84, 0.4);
  border-left-color: #1f8a54;
  background: rgba(232, 248, 239, 0.95);
  color: #164a30;
}

:root[data-theme="light"] .fluentform .ff-message-success a {
  color: #0f5c37;
}

.site-footer-wrap {
  border-top: 1px solid rgba(93, 242, 255, 0.28);
  margin-top: 2.4rem;
  background: linear-gradient(180deg, rgba(7, 12, 24, 0) 0%, rgba(7, 12, 24, 0.78) 30%, rgba(5, 9, 18, 0.96) 100%);
  box-shadow: inset 0 18px 36px rgba(0, 0, 0, 0.22);
}

:root[data-theme="light"] .site-footer-wrap {
  border-top: 1px solid rgba(178, 71, 11, 0.22);
  background: linear-gradient(180deg, rgba(253, 243, 222, 0) 0%, rgba(252, 238, 208, 0.85) 30%, rgba(250, 233, 198, 0.96) 100%);
  box-shadow: inset 0 18px 36px rgba(232, 196, 140, 0.34);
}

:root[data-theme="light"] .footer-bottom {
  border-top-color: rgba(178, 71, 11, 0.18);
}

.site-footer {
  display: grid;
  gap: 0.9rem;
  padding: 1.45rem 0 1.2rem;
}

.footer-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7fb4d9;
}

.footer-site-name {
  margin: 0;
  font-family: var(--zkm-font-heading);
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
  letter-spacing: 0.06em;
}

.footer-site-name a {
  color: #e8f3ff;
  text-shadow: 0 0 16px rgba(93, 242, 255, 0.32);
  text-decoration: none;
}

:root[data-theme="light"] .footer-site-name a {
  color: #3a220e;
  text-shadow: 0 0 10px rgba(232, 119, 30, 0.12);
}

.footer-navigation .menu-item > a {
  padding: 0.28rem 0.6rem;
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(93, 242, 255, 0.14);
}

.footer-navigation .menu {
  gap: 0.3rem;
}

.social-navigation .menu-item > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  color: #ecf8ff;
  background: linear-gradient(140deg, rgba(93, 242, 255, 0.18), rgba(182, 140, 255, 0.2));
  border: 1px solid rgba(93, 242, 255, 0.45);
  padding: 0;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(5, 12, 24, 0.9), 0 0 20px rgba(93, 242, 255, 0.18);
}

:root[data-theme="light"] .social-navigation .menu-item > a {
  color: #3a220e;
  background: linear-gradient(140deg, rgba(232, 119, 30, 0.15), rgba(245, 197, 24, 0.17));
  border-color: rgba(232, 119, 30, 0.36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.84), 0 0 16px rgba(232, 119, 30, 0.16);
}

.social-navigation .menu-item > a .zkm-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: currentColor;
}

.social-navigation .menu-item > a .zkm-social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.social-navigation .menu-item > a:hover,
.social-navigation .menu-item > a:focus-visible {
  color: #ffffff;
  background: linear-gradient(140deg, rgba(93, 242, 255, 0.36), rgba(182, 140, 255, 0.38));
  border-color: rgba(93, 242, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(93, 242, 255, 0.35), 0 0 24px rgba(93, 242, 255, 0.38);
  transform: translateY(-2px);
}

:root[data-theme="light"] .social-navigation .menu-item > a:hover,
:root[data-theme="light"] .social-navigation .menu-item > a:focus-visible {
  background: linear-gradient(140deg, rgba(232, 119, 30, 0.28), rgba(245, 197, 24, 0.34));
  border-color: rgba(232, 119, 30, 0.75);
  box-shadow: 0 0 0 1px rgba(232, 119, 30, 0.3), 0 0 20px rgba(245, 197, 24, 0.4);
}

.social-navigation .menu {
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-navigation {
  display: flex;
  justify-content: center;
}

.site-info {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--zkm-muted);
  font-size: 0.84rem;
  padding-top: 0;
}

.site-info a {
  color: var(--zkm-link);
}

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(93, 242, 255, 0.64);
  background: linear-gradient(140deg, rgba(93, 242, 255, 0.18), rgba(182, 140, 255, 0.22));
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  z-index: 50;
}

:root[data-theme="light"] .back-to-top {
  border-color: rgba(232, 119, 30, 0.45);
  background: linear-gradient(140deg, rgba(232, 119, 30, 0.24), rgba(245, 197, 24, 0.2));
  color: #3a220e;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: linear-gradient(140deg, rgba(93, 242, 255, 0.92), rgba(182, 140, 255, 0.84));
  color: #071122;
}

:root[data-theme="light"] .back-to-top:hover,
:root[data-theme="light"] .back-to-top:focus-visible {
  background: linear-gradient(140deg, rgba(232, 119, 30, 0.82), rgba(245, 197, 24, 0.72));
  color: #fffaf0;
}

body.zkm-animate .site-header,
body.zkm-animate .post,
body.zkm-animate .page,
body.zkm-animate .site-footer,
body.zkm-animate .social-navigation .menu-item {
  opacity: 0;
  transform: translateY(10px);
}

body.zkm-animate.zkm-ready .site-header,
body.zkm-animate.zkm-ready .post,
body.zkm-animate.zkm-ready .page,
body.zkm-animate.zkm-ready .site-footer,
body.zkm-animate.zkm-ready .social-navigation .menu-item {
  animation: zkm-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.zkm-animate.zkm-ready .post,
body.zkm-animate.zkm-ready .page {
  animation-delay: 0.12s;
}

body.zkm-animate.zkm-ready .site-footer {
  animation-delay: 0.2s;
}

body.zkm-animate.zkm-ready .social-navigation .menu-item {
  animation-delay: 0.25s;
}

@keyframes zkm-ambient-shift {
  0% {
    transform: translate3d(-1.5%, -1.5%, 0) scale(1);
  }
  100% {
    transform: translate3d(1.5%, 1.5%, 0) scale(1.04);
  }
}

@keyframes zkm-fade-up {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.skip-link {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  padding: 0.55rem 0.75rem;
  background: #0b111b;
  color: #ffffff;
  border-radius: 0.45rem;
  border: 2px solid var(--zkm-focus);
  text-decoration: none;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 800px) {
  body::before,
  body::after {
    display: none;
  }

  .site-header-wrap {
    position: relative;
    top: auto;
  }

  .zkm-has-hero-layout .site-header-wrap {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(93, 242, 255, 0.24);
  }

  .site-header,
  .site-main,
  .site-footer {
    width: min(var(--zkm-max), calc(100% - 0.5rem));
  }

  .site-main {
    padding-top: 0.25rem;
  }

  .zkm-has-hero-layout .site-main.has-hero-layout {
    width: min(var(--zkm-max), calc(100% - 0.5rem));
    padding-top: 0.25rem;
  }

  .site-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem 0.5rem;
  }

  .site-branding {
    min-width: 0;
  }

  .site-branding .custom-logo {
    max-height: 22px;
  }

  .site-branding .zkm-logo-mark {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.55rem;
  }

  .site-title {
    font-size: clamp(0.82rem, 3.6vw, 0.96rem);
  }

  .site-description {
    font-size: 0.48rem;
  }

  .header-controls {
    display: contents;
  }

  .menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .main-navigation {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
  }

  .main-navigation.is-open {
    max-height: 70vh;
    opacity: 1;
    margin-top: 0.5rem;
    pointer-events: auto;
  }

  .main-navigation .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .main-navigation .menu .menu-item > a {
    display: block;
    text-align: center;
    padding: 0.55rem 0.6rem;
  }

  .theme-toggle--in-menu {
    width: 100%;
    height: auto;
    justify-content: center;
    padding: 0.55rem 0.6rem;
    margin-top: 0.35rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .social-navigation .menu {
    justify-content: center;
  }

  .site-info {
    justify-content: center;
    text-align: center;
  }

  .main-navigation .menu,
  .footer-navigation .menu,
  .social-navigation .menu {
    flex-wrap: wrap;
  }

  .main-navigation .menu-item > a,
  .footer-navigation .menu-item > a {
    padding: 0.35rem 0.6rem;
  }

  .site-info {
    font-size: 0.79rem;
  }

  .social-navigation .menu-item > a {
    width: 2.85rem;
    height: 2.85rem;
  }

  .content-area .post,
  .content-area .page {
    padding: 0.8rem;
  }

  .site-main.has-hero-layout .post,
  .site-main.has-hero-layout .page {
    padding: 0.8rem;
  }

  .site-main.has-hero-layout .entry-hero {
    min-height: 380px;
    height: 62vh;
  }

  .site-main.has-hero-layout .entry-content {
    margin-top: 1.6rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0.95rem 1.35rem;
  }

  .site-main.has-hero-layout .entry-content p,
  .site-main.has-hero-layout .entry-summary p {
    font-size: 0.95rem;
  }

  .fluentform .ff-errors-in-stack {
    padding: 1.1rem 1.15rem;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .fluentform .frm-fluent-form .ff-el-group.ff-el-is-error {
    padding: 0.5rem 0.6rem;
  }

  .fluentform .frm-fluent-form .ff-el-is-error .text-danger {
    font-size: 0.82rem;
    line-height: 1.4;
  }

}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header-wrap {
    top: auto;
  }

  body.admin-bar.zkm-has-hero-layout .site-header-wrap {
    top: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .entry-content img.zkm-parallax-target {
    transform: none !important;
  }

  .entry-hero-arrow {
    transition: none;
  }

  body::after {
    animation: none;
  }

  .site-header,
  .post,
  .page,
  .site-footer,
  .social-navigation .menu-item,
  body.zkm-animate.zkm-ready .site-header,
  body.zkm-animate.zkm-ready .post,
  body.zkm-animate.zkm-ready .page,
  body.zkm-animate.zkm-ready .site-footer,
  body.zkm-animate.zkm-ready .social-navigation .menu-item {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

}
