/* ============================================
   Dakzhou Theme - Base Styles
   基础重置、排版、通用元素样式
   ============================================ */

/* ===== 重置 ===== */
*,*::before,*::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}
html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}
body{
  overflow-x:hidden;
  padding-top:94px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB",sans-serif;
  font-size:15px;
  line-height:1.6;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img,video,svg{
  max-width:100%;
  height:auto;
  display:block;
}
a{
  color:inherit;
  text-decoration:none;
  transition:color .2s;
}
a:hover{
  color:var(--orange);
}
ul,ol{
  list-style:none;
}
button,input,select,textarea{
  font:inherit;
  color:inherit;
}
button{
  cursor:pointer;
  border:none;
  background:none;
}
input,select,textarea{
  font-family:inherit;
}
:focus-visible{
  outline:2px solid var(--emerald);
  outline-offset:2px;
  border-radius:6px;
}

/* ===== 排版 ===== */
h1,h2,h3,h4,h5,h6{
  font-weight:700;
  line-height:1.2;
  color:var(--ink);
}
h1{font-size:var(--t-h1);}
h2{font-size:var(--t-h2);}
h3{font-size:var(--t-xl);}
h4{font-size:var(--t-lg);}
h5{font-size:var(--t-md);}
h6{font-size:var(--t-base);}
p{
  margin-bottom:16px;
}

/* ===== 工具类 ===== */
.container{
  width:92%;
  max-width:1280px;
  margin:0 auto;
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.text-center{text-align:center;}
.hidden{display:none !important;}
