/*
Theme Name: ZNHOUSE Modular
Author: ZNHOUSE
Description: ZNHOUSE 网站主题。首页在「外观 → 自定义」管理；导航、图文和媒体使用 WordPress 原生编辑界面。
Version: 1.4.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: zn-modular
*/
:root {
  --zn-blue: #00529e;
  --zn-yellow: #ffdd00;
  --zn-ink: #1d3042;
  --zn-surface: #f2f4f6;
  --zn-stroke: #d6e0e7;
  --zn-card-radius: 20px;
  --zn-panel-radius: 28px;
  --zn-light: #f2f4f6;
  --zn-width: 1170px;
  --zn-frame-width: min(var(--zn-width), calc(100% - 48px));
  --zn-font: Inter, "Noto Sans Arabic", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--zn-ink);
  font-family: var(--zn-font);
  font-weight: 400;
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; }
a { color: var(--zn-blue); }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #0075c9; outline-offset: 3px; }
img, video { max-width: 100%; height: auto; }
.zn-wrap { width: min(var(--zn-width), calc(100% - 30px)); margin-inline: auto; }
.screen-reader-text:not(:focus) {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0;
}
@media (max-width: 767px) { .zn-wrap { width: calc(100% - 20px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* Credit a visualization next to its image, including project galleries. */
.zn-visual-note { display:block; color:inherit; font-size:12px; line-height:1.45; font-weight:500; letter-spacing:.015em; margin-block:5px 8px; }
.zn-visual-figure { display:inline-block; max-width:100%; vertical-align:top; }
.zn-visual-figure .zn-visual-note { color:#465b6c; }
.zn-visual-figure img { display:block; }

@media (max-width: 767px) {
  :root { --zn-frame-width: calc(100% - 40px); }
}
