/* Tisa PH 网站样式。黑板绿、米白纸、粉笔黄。 */
:root {
  --board: #1e4a3e; --board-deep: #173a31; --paper: #fffaf0; --cream: #fff6e1; --ink: #2a1e14; --soft: #6b5a4a;
  --yellow: #f7c440; --teal: #185c60; --red: #b0482c; --line: #e8dcc2;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --chalk: "Cabin Sketch", "Chalkduster", "Comic Sans MS", cursive;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--red); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.chalk { font-family: var(--chalk); font-weight: 700; letter-spacing: 0.01em; }

/* 顶栏 */
.top { background: var(--board); border-bottom: 4px solid var(--yellow); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand .chalk { font-size: 38px; line-height: 1; }
.brand .ph { font-family: var(--sans); font-weight: 800; font-size: 15px; background: var(--yellow); color: var(--board); padding: 3px 8px; border-radius: 6px; }
.brand.small .chalk { font-size: 30px; }
nav { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--sans); font-size: 15px; font-weight: 600; }
nav a { color: var(--cream); text-decoration: none; opacity: 0.92; }
nav a:hover { color: var(--yellow); opacity: 1; }

/* 首页黑板 */
.hero { background: var(--board) radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.07), transparent 60%); color: var(--cream); padding: 64px 0 72px; }
.hero .eyebrow { color: var(--yellow); font-size: 26px; margin: 0 0 6px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.08; margin: 0 0 22px; }
.lede { font-size: 21px; max-width: 46em; margin: 0 0 28px; color: #f3ead4; }
.lede.dark { color: var(--soft); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn { font-family: var(--sans); font-weight: 700; font-size: 16px; text-decoration: none; padding: 12px 20px; border-radius: 10px; border: 2px solid var(--cream); color: var(--cream); }
.btn.solid { background: var(--yellow); border-color: var(--yellow); color: var(--board-deep); }
.btn:hover { color: var(--board-deep); background: var(--cream); }
.soon-note { font-family: var(--sans); font-size: 15px; opacity: 0.8; }

/* 小标题：粉笔字标签 */
.chalklabel { font-family: var(--chalk); font-weight: 700; font-size: 28px; margin: 0 0 14px; color: var(--cream); }
.chalklabel.dark { color: var(--board); margin-top: 56px; }

/* 文章卡片 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(42,30,20,0.12); color: var(--ink); }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.cardbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 23px; line-height: 1.25; margin: 0; }
.card p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--soft); }
.tag { font-family: var(--sans); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); }
.meta { font-family: var(--sans); font-size: 13.5px; color: var(--soft); margin-top: auto; padding-top: 6px; }

/* 首页的三条承诺 */
.promise { margin-top: 24px; margin-bottom: 72px; }
.three { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.three li { background: var(--cream); border-left: 5px solid var(--yellow); padding: 16px 18px; border-radius: 0 10px 10px 0; font-size: 17.5px; line-height: 1.5; }

/* 文章页 */
.pagehead { padding-top: 48px; }
article { padding-top: 40px; padding-bottom: 24px; }
.crumbs { font-family: var(--sans); font-size: 14px; margin: 0 0 10px; color: var(--soft); }
.crumbs a { color: var(--soft); }
h1 { font-size: clamp(34px, 5.2vw, 54px); line-height: 1.12; margin: 0 0 24px; letter-spacing: -0.01em; }
.answer { background: var(--board); color: var(--cream); border-radius: 14px; padding: 22px 26px 24px; margin: 0 0 28px; border-bottom: 5px solid var(--yellow); }
.answer p { margin: 0; font-size: 21px; line-height: 1.55; }
.video { margin: 0 0 12px; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; position: relative; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video.soon { background: none; }
.video.soon img { width: 100%; height: 100%; object-fit: cover; }
.video.soon img { border-radius: 14px; }
.badge { position: absolute; right: 14px; bottom: 14px; font-family: var(--sans); font-size: 13.5px; font-weight: 700; background: rgba(23,58,49,0.92); color: var(--cream); padding: 6px 12px; border-radius: 999px; }

/* 视频页 */
.vcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.vcard .video { margin: 0; border-radius: 0; }
.vcard .video.soon img { border-radius: 0; }
.vbody { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.vbody h3 { font-size: 24px; line-height: 1.25; margin: 0; }
.vbody h3 a { color: var(--ink); text-decoration: none; }
.vbody h3 a:hover { color: var(--teal); text-decoration: underline; }
.vbody p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--soft); }
.vbody .meta { font-size: 14.5px; padding-top: 4px; }
.vcard.big { display: grid; grid-template-columns: 1.6fr 1fr; align-items: stretch; }
.vcard.big .vbody { justify-content: center; padding: 24px 28px; }
.vcard.big .vbody h3 { font-size: 30px; }
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
@media (max-width: 820px) { .vcard.big { grid-template-columns: 1fr; } .vcard.big .vbody h3 { font-size: 25px; } .grid.wide { grid-template-columns: 1fr; } }
.story h2 { font-size: 30px; line-height: 1.2; margin: 48px 0 14px; }
.story p, .prose p { margin: 0 0 18px; }
figure { margin: 0 0 18px; }
.story figure img { border-radius: 12px; border: 1px solid var(--line); }
.dates ol { list-style: none; margin: 0; padding: 0 0 0 4px; border-left: 3px solid var(--yellow); }
.dates li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 9px 0 9px 18px; position: relative; font-size: 17.5px; line-height: 1.45; }
.dates li::before { content: ""; position: absolute; left: -8.5px; top: 17px; width: 12px; height: 12px; border-radius: 50%; background: var(--board); border: 2px solid var(--yellow); }
.yr { font-family: var(--sans); font-weight: 800; color: var(--board); }
.unsure ul { list-style: none; margin: 0; padding: 20px 24px; background: var(--cream); border: 2px dashed #d9c79c; border-radius: 14px; }
.unsure li { font-size: 17.5px; line-height: 1.5; padding: 8px 0; border-bottom: 1px solid #eadfc4; }
.unsure li:last-child { border-bottom: 0; }
.sources ol { padding-left: 22px; font-size: 16.5px; line-height: 1.5; }
.sources li { margin-bottom: 8px; }
.fine { font-family: var(--sans); font-size: 13.5px; line-height: 1.5; color: var(--soft); }
.more { margin-bottom: 72px; }
.prose h2 { font-size: 27px; margin: 40px 0 12px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 10px; }
.log { background: var(--cream); border-radius: 10px; padding: 12px 16px; font-family: var(--sans); font-size: 15px; color: var(--soft); }

/* 页脚 */
footer { background: var(--board-deep); color: #e9dfc8; margin-top: 40px; padding: 36px 0 28px; }
.foot { display: grid; gap: 14px; }
.foot p { margin: 4px 0 0; font-size: 16px; }
.footlinks { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--sans); font-size: 14.5px; font-weight: 600; }
.footlinks a { color: #e9dfc8; text-decoration: none; }
.footlinks a:hover { color: var(--yellow); }
footer .fine { color: #b9ad94; max-width: 62em; }
footer .fine a { color: #d8ccb2; }

@media (max-width: 640px) {
  body { font-size: 18px; }
  .hero { padding: 40px 0 48px; }
  .lede { font-size: 19px; }
  .answer { padding: 18px 18px 20px; }
  .answer p { font-size: 19px; }
  .story h2 { font-size: 26px; margin-top: 40px; }
  .dates li { grid-template-columns: 62px 1fr; gap: 10px; }
  nav { gap: 14px; font-size: 14px; }
}
