/* 65yee.com base stylesheet — 静态站公共样式 */

:root {
  --brand:        #e30c0b;   /* 取自 logo 的红（像素采样） */
  --brand-dark:   #ba0a09;
  --brand-soft:   #fdf0f0;

  --fast:         #17924f;   /* 快招频道 */
  --fast-soft:    #e9f6ee;
  --official:     #1f62c4;   /* 正规岗位频道 */
  --official-soft:#e9f0fb;

  --bg:           #ffffff;
  --bg-alt:       #f6f7f9;
  --surface:      #ffffff;
  --border:       #e3e6ea;
  --border-soft:  #eef0f3;

  --text:         #1c2126;
  --text-muted:   #5b656f;
  --text-faint:   #8b949e;

  --radius:       10px;
  --radius-sm:    6px;
  --shadow:       0 1px 2px rgba(16,24,40,.05), 0 4px 12px rgba(16,24,40,.05);
  --maxw:         1100px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand:      #ff4b45;
    --brand-dark: #ff6d68;
    --brand-soft: #2d1312;
    --fast:       #3ecf7f;
    --fast-soft:  #12241a;
    --official:   #6da4f5;
    --official-soft:#131d2d;
    --bg:         #14171a;
    --bg-alt:     #1a1e22;
    --surface:    #1c2024;
    --border:     #2c3238;
    --border-soft:#23282d;
    --text:       #e6e9ec;
    --text-muted: #a2acb5;
    --text-faint: #7b858e;
    --shadow:     0 1px 2px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.3);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  height: 58px;
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 38px; width: auto; display: block; }
.logo:hover { text-decoration: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo img { filter: brightness(1.12); }
}

.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  padding: 6px 12px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 15px;
}
.nav a:hover { background: var(--bg-alt); color: var(--text); text-decoration: none; }
.nav a.is-active { color: var(--brand); font-weight: 600; }

/* ---------- Page header ---------- */
.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-soft);
  padding: 22px 0 18px;
}
.page-head h1, .page-head .page-title {
  margin: 0; font-size: 23px; font-weight: 700; letter-spacing: -.01em;
}
.crumb { margin: 0 0 6px; font-size: 13px; color: var(--text-faint); }
.crumb a { color: var(--text-faint); }
.crumb a:hover { color: var(--brand); }

/* ---------- Content ---------- */
main { padding: 36px 0 64px; }

.prose { max-width: 760px; }
.prose h2 {
  margin: 32px 0 10px; font-size: 19px; font-weight: 700;
  padding-left: 11px; border-left: 3px solid var(--brand); line-height: 1.4;
}
.prose h2:first-child { margin-top: 0; }
.prose h3, .prose h4 { margin: 26px 0 8px; font-size: 17px; font-weight: 700; }
.prose p  { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose strong { font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--border-soft); margin: 28px 0; }

.note {
  background: var(--brand-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 12px 14px; margin: 0 0 20px;
  font-size: 14px; color: var(--text-muted);
}

/* ---------- Two-column (contact) ---------- */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 800px) { .cols { grid-template-columns: 1fr; gap: 24px; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h2 { margin-top: 0; }

.info-list { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.info-list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { color: var(--text-faint); min-width: 64px; flex: none; }

/* ---------- Form ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--brand); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 10px 12px;
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.hp { position: absolute; left: -9999px; }

.btn {
  display: inline-block; padding: 11px 26px;
  font: inherit; font-size: 15px; font-weight: 600;
  color: #fff; background: var(--brand);
  border: 0; border-radius: var(--radius-sm); cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }

.alert { padding: 11px 14px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px; }
.alert-ok  { background: var(--fast-soft); color: var(--fast); border: 1px solid currentColor; }
.alert-err { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid currentColor; }

.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 36px 0 28px;
  font-size: 14px; color: var(--text-muted);
}
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 560px)  { .foot-grid { grid-template-columns: 1fr; gap: 20px; } }
.site-footer h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--text); }
.site-footer p { margin: 0 0 10px; line-height: 1.7; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 5px 0; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--brand); }
.copyright {
  margin-top: 26px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-faint);
}


/* ---------- Google 广告位 ---------- */
/* 广告是页面的一部分，但不能伪装成内容——统一加浅色底和「广告」标识。 */
.ad {
  margin: 22px 0;
  min-height: 90px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.ad::before {
  content: "赞助商广告";
  align-self: flex-start;
  padding: 3px 8px;
  font-size: 11px; line-height: 1.4; color: var(--text-faint);
  letter-spacing: .04em;
}
.ad ins { display: block; width: 100%; }
.ad--side   { min-height: 280px; margin-top: 0; }
.ad--inline { min-height: 100px; }
.ad--top    { margin: 0 0 22px; min-height: 90px; }

/* 广告位占位（未配置 AdSense 时显示，便于排版验收） */
.ad-ph {
  width: 100%; flex: 1;
  display: flex; align-items: center; justify-content: center;
  min-height: 88px;
  color: var(--text-faint); font-size: 13px;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 9px,
    var(--border-soft) 9px, var(--border-soft) 10px);
}
.ad--side .ad-ph { min-height: 246px; }
