:root {
  --narasoro-ink: #315b4a;
  --narasoro-muted: #6f7866;
  --narasoro-green: #3d8064;
  --narasoro-green-deep: #49745d;
  --narasoro-mint: #e9f0df;
  --narasoro-soft: #f8f2df;
  --narasoro-yellow: #eddc6a;
  --narasoro-line: rgba(23, 53, 43, 0.14);
  --narasoro-shadow: 0 22px 60px rgba(23, 53, 43, 0.14);
}

body {
  background: #fffdf4;
  color: var(--narasoro-ink);
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.wp-site-blocks {
  min-height: 100vh;
}

.narasoro-theme-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 255, 252, 0.92);
  border-bottom: 1px solid var(--narasoro-line);
  backdrop-filter: blur(16px);
}

.narasoro-theme-header__inner {
  width: min(1160px, calc(100% - 32px));
  min-height: 74px;
  margin-inline: auto;
}

.narasoro-theme-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.narasoro-theme-brand .narasoro-home-link::before {
  content: "";
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  background: url("../narasoro-logo-primary.png") center / contain no-repeat;
}

.narasoro-theme-brand .narasoro-home-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.narasoro-home-link:focus-visible {
  outline: 3px solid var(--narasoro-green);
  outline-offset: 5px;
  border-radius: 6px;
}

.narasoro-theme-brand small {
  display: block;
  color: var(--narasoro-muted);
  font-size: 13px;
  font-weight: 800;
}

.narasoro-theme-nav a {
  font-weight: 800;
}

.narasoro-theme-cta .wp-block-button__link {
  background: var(--narasoro-green);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(8, 115, 79, 0.22);
  color: #fff;
  font-weight: 900;
}

.narasoro-theme-main {
  margin-top: 0;
}

.narasoro-theme-content {
  padding-top: 72px;
  padding-bottom: 96px;
}

.narasoro-theme-footer {
  background: #58755b;
  color: #fff9ec;
  padding-top: 42px;
  padding-bottom: 42px;
}

.narasoro-theme-footer a,
.narasoro-theme-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.narasoro-theme-footer img {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}

.narasoro-theme-footer-brand::before {
  content: "";
  display: block;
  width: 96px;
  height: 96px;
  margin-bottom: 14px;
  background: #fff url("../narasoro-logo-characters.png") center / contain no-repeat;
  border-radius: 8px;
  padding: 8px;
}

.wp-block-navigation__responsive-container.is-menu-open {
  padding: 24px;
}

@media (max-width: 782px) {
  .narasoro-theme-header__inner {
    min-height: 66px;
  }
}

/* Keep restored page images within small screens. */
.narasoro-theme-main img { max-width: 100%; height: auto; }

.narasoro-theme-main .narasoro-feature-panel img { max-width: min(360px, 100%); }
