/*
Theme Name: 画月环保 Huayue Poster
Theme URI: https://example.com/themes/huayue-poster
Author: 苏曼影
Author URI: https://example.com/sumanying
Description: 为扬州画月环保设备有限公司(虚构演示商号)定制的老上海月份牌广告画风格 WordPress 主题:米色画纸底,胭脂粉、湖蓝灰、鹅黄三色淡彩并用,卷草花边画框、老美术字标题、柔和肤感渐变与月份牌日历块,产品卡皆作小广告画。内置自定义文章类型「本牌出品」,未发内容时以样张自动补位,窄屏折叠为汉堡栏目。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huayue-poster
Tags: custom-menu, custom-logo, featured-images, two-columns, right-sidebar
*/

/* ============================================================
   0. 变量:月份牌淡彩三色 + 墨褐文字
   ============================================================ */
:root {
  --hy-paper: #f4ecdd;        /* 米色画纸底 */
  --hy-paper-deep: #ecdfc8;   /* 画纸加深(条纹/表头) */
  --hy-rouge: #d98e9a;        /* 胭脂粉(装饰/大字) */
  --hy-rouge-deep: #a8495c;   /* 胭脂深(按钮/日历红字) */
  --hy-lake: #5a8fb5;         /* 湖蓝灰(装饰/大字) */
  --hy-lake-deep: #35607f;    /* 湖蓝深(链接/可读强调) */
  --hy-goose: #e6c35c;        /* 鹅黄(点缀) */
  --hy-ink: #4a3428;          /* 墨褐正文(对比度 9.8:1) */
  --hy-ink-soft: #6b5142;     /* 墨褐次级 */
  --hy-line: rgba(74, 52, 40, 0.35);
  --hy-line-soft: rgba(74, 52, 40, 0.18);
  --hy-font-display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --hy-font-body: "Songti SC", "STSong", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  --hy-radius: 10px;
  --hy-radius-sm: 5px;
  --hy-wash-rouge: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(217, 142, 154, 0.16), rgba(217, 142, 154, 0) 68%);
  --hy-wash-lake: radial-gradient(ellipse 90% 70% at 50% 100%, rgba(90, 143, 181, 0.13), rgba(90, 143, 181, 0) 66%);
  --hy-wash-goose: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(230, 195, 92, 0.16), rgba(230, 195, 92, 0) 70%);
  --hy-vine-frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cdefs%3E%3Cg id='c'%3E%3Ccircle cx='15' cy='8.6' r='3.4' fill='%23d98e9a' opacity='.8'/%3E%3Ccircle cx='15' cy='21.4' r='3.4' fill='%23d98e9a' opacity='.8'/%3E%3Ccircle cx='8.6' cy='15' r='3.4' fill='%23d98e9a' opacity='.8'/%3E%3Ccircle cx='21.4' cy='15' r='3.4' fill='%23d98e9a' opacity='.8'/%3E%3Ccircle cx='10.6' cy='10.6' r='2.5' fill='%23e6c35c' opacity='.85'/%3E%3Ccircle cx='19.4' cy='10.6' r='2.5' fill='%23e6c35c' opacity='.85'/%3E%3Ccircle cx='10.6' cy='19.4' r='2.5' fill='%23e6c35c' opacity='.85'/%3E%3Ccircle cx='19.4' cy='19.4' r='2.5' fill='%23e6c35c' opacity='.85'/%3E%3Ccircle cx='15' cy='15' r='3.1' fill='%235a8fb5'/%3E%3C/g%3E%3Cg id='v'%3E%3Cpath d='M31 15c5-6 9 6 14 0s9 6 14 0' fill='none' stroke='%235a8fb5' stroke-width='1.4' opacity='.55'/%3E%3Ccircle cx='38' cy='11.6' r='2.1' fill='%23d98e9a'/%3E%3Ccircle cx='52' cy='18.4' r='2.1' fill='%23d98e9a'/%3E%3Ccircle cx='45' cy='15' r='1.5' fill='%23e6c35c'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23c'/%3E%3Cuse href='%23c' transform='translate(90 0) scale(-1 1)'/%3E%3Cuse href='%23c' transform='translate(0 90) scale(1 -1)'/%3E%3Cuse href='%23c' transform='translate(90 90) scale(-1 -1)'/%3E%3Cuse href='%23v'/%3E%3Cuse href='%23v' transform='rotate(180 45 45)'/%3E%3Cuse href='%23v' transform='rotate(90 45 45)'/%3E%3Cuse href='%23v' transform='rotate(-90 45 45)'/%3E%3C/svg%3E");
}

/* ============================================================
   1. 基础
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--hy-paper);
  background-image: var(--hy-wash-rouge);
  background-repeat: no-repeat;
  color: var(--hy-ink);
  font-family: var(--hy-font-body);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--hy-lake-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--hy-rouge-deep); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--hy-lake-deep);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hy-font-display);
  color: var(--hy-ink);
  line-height: 1.35;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: 0.05em;
}

p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.6em; margin: 0 0 1.1em; }

blockquote {
  margin: 1.4em 0;
  padding: 0.9em 1.3em;
  border-left: 4px solid var(--hy-rouge);
  background: rgba(217, 142, 154, 0.1);
  border-radius: var(--hy-radius-sm);
  font-style: normal;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
  font-size: 0.95em;
}
th, td {
  border: 1px solid var(--hy-line);
  padding: 0.55em 0.8em;
  text-align: left;
  vertical-align: top;
}
th { background: var(--hy-paper-deep); font-family: var(--hy-font-display); font-weight: 700; }

code, pre {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(74, 52, 40, 0.08);
  border-radius: 4px;
}
code { padding: 0.15em 0.4em; }
pre { padding: 1em 1.2em; overflow: auto; }
pre code { background: none; padding: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--hy-line-soft);
  margin: 2em 0;
}

.hy-container {
  width: min(1180px, 92vw);
  margin-left: auto;
  margin-right: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  position: absolute !important;
  left: 8px; top: 8px;
  width: auto; height: auto;
  clip-path: none;
  z-index: 100000;
  background: var(--hy-paper);
  color: var(--hy-ink);
  padding: 0.6em 1em;
  border: 1.5px solid var(--hy-ink);
  border-radius: var(--hy-radius-sm);
}
.skip-link { left: 8px; top: 8px; }

/* ============================================================
   2. 老美术字标题(描边圆润体:双层错位 text-shadow)
   ============================================================ */
.hy-title {
  font-family: var(--hy-font-display);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--hy-ink);
  text-shadow: 1px 1px 0 var(--hy-paper), 3px 3px 0 rgba(217, 142, 154, 0.6);
}

.hy-title-grand {
  text-shadow: 1px 1px 0 var(--hy-paper), 3px 3px 0 rgba(217, 142, 154, 0.62), 5px 5px 0 rgba(90, 143, 181, 0.26);
}

.hy-vertical {
  writing-mode: vertical-rl;
  letter-spacing: 0.35em;
  font-family: var(--hy-font-display);
}

/* ============================================================
   3. 月份牌画框(外框细线 + 内框卷草花边)
   ============================================================ */
.hy-frame {
  position: relative;
  border: 20px solid rgba(217, 142, 154, 0.3); /* border-image 失效时的软粉兜底 */
  border-image: var(--hy-vine-frame) 30 round;
  background-color: var(--hy-paper);
  background-clip: padding-box;
}
.hy-frame::before {
  content: "";
  position: absolute;
  inset: -27px;
  border: 1.5px solid var(--hy-line);
  border-radius: var(--hy-radius-sm);
  pointer-events: none;
}

.hy-frame-thin {
  border-width: 14px;
}
.hy-frame-thin::before { inset: -20px; border-width: 1px; }

/* ============================================================
   4. 顶条 + 页眉 + 导航
   ============================================================ */
.hy-topline {
  background: var(--hy-ink);
  color: #f7f0e2;
  font-family: var(--hy-font-display);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-align: center;
  padding: 0.42em 1em;
}
.hy-topline span { color: var(--hy-goose); margin-left: 1.2em; letter-spacing: 0.08em; }

.hy-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 236, 221, 0.96);
  border-bottom: 1px solid var(--hy-line-soft);
  transition: box-shadow 0.3s ease;
}
.hy-header.is-scrolled {
  box-shadow: 0 6px 22px rgba(74, 52, 40, 0.14);
  border-bottom-color: var(--hy-line);
}

.hy-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 0.65rem 0;
}

.hy-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--hy-ink);
}
.hy-brand:hover { color: var(--hy-ink); }
.hy-badge { width: 52px; height: 52px; color: var(--hy-ink); flex-shrink: 0; }
.hy-brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.hy-brand-name {
  font-family: var(--hy-font-display);
  font-weight: 900;
  font-size: 1.28rem;
  letter-spacing: 0.12em;
  text-shadow: 1px 1px 0 var(--hy-paper), 2.5px 2.5px 0 rgba(217, 142, 154, 0.55);
}
.hy-brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--hy-ink-soft);
}

.hy-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1.5px solid var(--hy-line);
  border-radius: var(--hy-radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--hy-ink);
  font-family: var(--hy-font-display);
}
.hy-nav-toggle-bars { display: flex; flex-direction: column; gap: 4px; }
.hy-nav-toggle-bars span {
  display: block;
  width: 22px; height: 2px;
  background: var(--hy-ink);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.hy-nav-toggle.is-open .hy-nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hy-nav-toggle.is-open .hy-nav-toggle-bars span:nth-child(2) { opacity: 0; }
.hy-nav-toggle.is-open .hy-nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.hy-nav-toggle-label { font-size: 0.68rem; letter-spacing: 0.2em; }

.hy-menu,
.hy-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}
.hy-nav li { position: relative; }
.hy-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--hy-font-display);
  font-size: 0.98rem;
  letter-spacing: 0.14em;
  color: var(--hy-ink);
  text-decoration: none;
  border-radius: var(--hy-radius-sm);
}
.hy-nav a:hover {
  color: var(--hy-rouge-deep);
  background: rgba(217, 142, 154, 0.14);
}
.hy-nav .current-menu-item > a,
.hy-nav .current_page_item > a {
  color: var(--hy-rouge-deep);
  box-shadow: inset 0 -2px 0 var(--hy-rouge);
}
.hy-nav ul ul {
  display: none;
  position: absolute;
  left: 0; top: 100%;
  min-width: 12em;
  background: var(--hy-paper);
  border: 1px solid var(--hy-line);
  border-radius: var(--hy-radius-sm);
  padding: 0.3rem;
  box-shadow: 0 10px 26px rgba(74, 52, 40, 0.16);
  z-index: 70;
}
.hy-nav li:hover > ul,
.hy-nav li:focus-within > ul { display: block; }

/* ============================================================
   5. 首屏:一幅月份牌广告画
   ============================================================ */
.hy-hero {
  padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(2.4rem, 5vw, 4.2rem);
  background-image: var(--hy-wash-goose), var(--hy-wash-lake);
  background-repeat: no-repeat;
}

.hy-hero-frame {
  padding: clamp(1.4rem, 3.5vw, 3rem);
  background-image: radial-gradient(ellipse 80% 90% at 68% 30%, rgba(230, 195, 92, 0.18), rgba(230, 195, 92, 0) 62%), radial-gradient(ellipse 90% 80% at 20% 90%, rgba(217, 142, 154, 0.14), rgba(217, 142, 154, 0) 60%);
}

.hy-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}

.hy-hero-copy { position: relative; padding-left: 2.4rem; }
.hy-hero-mark {
  position: absolute;
  left: 0; top: 0.4rem;
  writing-mode: vertical-rl;
  font-family: var(--hy-font-display);
  font-size: 0.82rem;
  letter-spacing: 0.5em;
  color: var(--hy-lake-deep);
  border: 1px solid var(--hy-lake);
  border-radius: 999px;
  padding: 0.9em 0.32em;
  background: rgba(90, 143, 181, 0.08);
}

.hy-hero-kicker {
  font-family: var(--hy-font-display);
  letter-spacing: 0.3em;
  font-size: 0.88rem;
  color: var(--hy-rouge-deep);
  margin-bottom: 0.7rem;
}
.hy-hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.28;
  margin-bottom: 0.9rem;
}
.hy-hero-slogan {
  font-family: var(--hy-font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  letter-spacing: 0.16em;
  color: var(--hy-lake-deep);
  margin-bottom: 0.9rem;
}
.hy-hero-lede { max-width: 34em; color: var(--hy-ink); }

.hy-hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }

/* 画作列 */
.hy-hero-art { position: relative; }
.hy-hero-art svg { display: block; width: 100%; height: auto; }

/* 月份牌日历块 */
.hy-calendar {
  position: absolute;
  top: -0.6rem;
  right: -0.4rem;
  width: 6.4rem;
  background: var(--hy-paper);
  border: 1.5px solid var(--hy-ink);
  border-radius: var(--hy-radius-sm);
  box-shadow: 3px 3px 0 rgba(217, 142, 154, 0.5);
  text-align: center;
  padding: 0.5rem 0.4rem 0.6rem;
  transform: rotate(2deg);
  font-family: var(--hy-font-display);
  line-height: 1.3;
}
.hy-calendar::before {
  content: "";
  display: block;
  width: 60%;
  margin: 0 auto 0.35rem;
  border-top: 3px double var(--hy-line);
}
.hy-calendar-era { display: block; font-size: 0.72rem; letter-spacing: 0.28em; color: var(--hy-ink-soft); }
.hy-calendar-month { display: block; font-size: 0.9rem; letter-spacing: 0.2em; color: var(--hy-ink); margin-top: 0.1rem; }
.hy-calendar-day {
  display: block;
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--hy-rouge-deep);
  line-height: 1.05;
  text-shadow: 1px 1px 0 var(--hy-paper), 2.5px 2.5px 0 rgba(230, 195, 92, 0.65);
}
.hy-calendar-note { display: block; font-size: 0.62rem; letter-spacing: 0.3em; color: var(--hy-ink-soft); margin-top: 0.2rem; }

/* 出品商标条 */
.hy-mark-strip {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  border-top: 1px solid var(--hy-line);
  padding-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 1.4rem;
  font-family: var(--hy-font-display);
}
.hy-mark-strip-main {
  font-weight: 800;
  letter-spacing: 0.24em;
  font-size: clamp(0.95rem, 1.7vw, 1.12rem);
}
.hy-mark-strip-main .hy-dot { color: var(--hy-rouge-deep); padding: 0 0.35em; }
.hy-mark-strip-sub { font-size: 0.78rem; letter-spacing: 0.22em; color: var(--hy-ink-soft); }

/* ============================================================
   6. 按钮
   ============================================================ */
.hy-btn {
  display: inline-block;
  font-family: var(--hy-font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.98rem;
  padding: 0.72em 1.7em;
  border-radius: 8px;
  border: 1.5px solid var(--hy-rouge-deep);
  background: var(--hy-rouge-deep);
  color: #fdf7ec;
  text-decoration: none;
  box-shadow: 3px 3px 0 rgba(217, 142, 154, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hy-btn:hover {
  color: #fdf7ec;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(217, 142, 154, 0.55);
}
.hy-btn-ghost {
  background: transparent;
  color: var(--hy-ink);
  border-color: var(--hy-ink);
  box-shadow: 3px 3px 0 rgba(90, 143, 181, 0.35);
}
.hy-btn-ghost:hover { color: var(--hy-rouge-deep); border-color: var(--hy-rouge-deep); }

/* ============================================================
   7. 区块骨架 + 栏目题
   ============================================================ */
.hy-section { padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.hy-section-rouge { background-image: var(--hy-wash-rouge); background-repeat: no-repeat; }
.hy-section-lake { background-image: var(--hy-wash-lake); background-repeat: no-repeat; }
.hy-section-line { border-top: 1px solid var(--hy-line-soft); }

.hy-section-head {
  position: relative;
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(1.8rem, 4vw, 2.8rem);
  padding: 0 3rem;
}
.hy-section-mark {
  position: absolute;
  right: 0; top: 0;
  writing-mode: vertical-rl;
  font-family: var(--hy-font-display);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  color: var(--hy-rouge-deep);
  border: 1px solid var(--hy-rouge);
  border-radius: 999px;
  padding: 0.7em 0.28em;
  background: rgba(217, 142, 154, 0.1);
}
.hy-section-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 0.4rem; }
.hy-section-sub { color: var(--hy-ink-soft); font-size: 0.98rem; margin: 0; }
.hy-section-sub::before,
.hy-section-sub::after { content: "❀"; color: var(--hy-rouge); font-size: 0.8em; padding: 0 0.6em; }

/* ============================================================
   8. 老广告腔文案条(静态三条)
   ============================================================ */
.hy-adlines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.hy-adline {
  position: relative;
  border: 1px solid var(--hy-line);
  border-radius: var(--hy-radius);
  background: linear-gradient(160deg, rgba(230, 195, 92, 0.14), rgba(244, 236, 221, 0) 55%), var(--hy-paper);
  padding: 1.2rem 1.3rem 1.1rem 2.7rem;
  font-family: var(--hy-font-display);
  letter-spacing: 0.08em;
  line-height: 1.7;
}
.hy-adline::before {
  content: "启";
  position: absolute;
  left: 0.75rem; top: 0.85rem;
  width: 1.5rem; height: 1.5rem;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  color: #fdf7ec;
  background: var(--hy-lake);
  border-radius: 50%;
}
.hy-adline:nth-child(2)::before { background: var(--hy-rouge); content: "告"; }
.hy-adline:nth-child(3)::before { background: var(--hy-rouge-deep); content: "识"; }

/* ============================================================
   9. 数字条
   ============================================================ */
.hy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}
.hy-stat {
  text-align: center;
  border: 1px solid var(--hy-line-soft);
  border-radius: var(--hy-radius);
  padding: 1.1rem 0.6rem 0.9rem;
  background: radial-gradient(ellipse 100% 90% at 50% 0%, rgba(90, 143, 181, 0.1), rgba(90, 143, 181, 0) 70%), var(--hy-paper);
}
.hy-stat-num {
  display: block;
  font-family: var(--hy-font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--hy-lake-deep);
  text-shadow: 1px 1px 0 var(--hy-paper), 2.5px 2.5px 0 rgba(230, 195, 92, 0.55);
}
.hy-stat-label { font-size: 0.85rem; color: var(--hy-ink-soft); letter-spacing: 0.14em; font-family: var(--hy-font-display); }

/* ============================================================
   10. 产品卡:小广告画
   ============================================================ */
.hy-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 2.4rem);
}
.hy-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.3rem 1.2rem 1.2rem;
  background-image: radial-gradient(ellipse 90% 70% at 50% 8%, rgba(217, 142, 154, 0.16), rgba(217, 142, 154, 0) 62%), radial-gradient(ellipse 80% 60% at 50% 100%, rgba(90, 143, 181, 0.1), rgba(90, 143, 181, 0) 60%);
}
.hy-product-corner {
  position: absolute;
  top: -0.4rem; right: -0.4rem;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--hy-ink);
  background: var(--hy-goose);
  display: grid;
  place-items: center;
  font-family: var(--hy-font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--hy-ink);
  box-shadow: 2px 2px 0 rgba(217, 142, 154, 0.5);
  transform: rotate(6deg);
}
.hy-product-model {
  font-family: var(--hy-font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  color: var(--hy-rouge-deep);
}
.hy-product-title { font-size: 1.35rem; margin: 0.15rem 0 0.5rem; }
.hy-product-title a { color: inherit; text-decoration: none; }
.hy-product-title a:hover { color: var(--hy-rouge-deep); }
.hy-product-figure {
  margin: 0 0 0.8rem;
  border: 1px solid var(--hy-line-soft);
  border-radius: var(--hy-radius-sm);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 80% at 50% 30%, rgba(230, 195, 92, 0.2), rgba(230, 195, 92, 0) 70%), var(--hy-paper);
}
.hy-product-figure img { display: block; width: 100%; }
.hy-product-figure svg { display: block; width: 100%; height: auto; }
.hy-product-specs {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  display: grid;
  gap: 0.3rem;
}
.hy-product-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  border-bottom: 1px dashed var(--hy-line-soft);
  padding-bottom: 0.3rem;
}
.hy-product-specs dt { font-family: var(--hy-font-display); color: var(--hy-ink-soft); }
.hy-product-specs dd { margin: 0; text-align: right; }
.hy-product-blurb { font-size: 0.95rem; color: var(--hy-ink-soft); }
.hy-product-card .hy-btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   11. 制器之法(工序) + 郑重声明框
   ============================================================ */
.hy-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  counter-reset: hy-step;
}
.hy-step {
  position: relative;
  border: 1px solid var(--hy-line-soft);
  border-radius: var(--hy-radius);
  background: linear-gradient(170deg, rgba(90, 143, 181, 0.1), rgba(244, 236, 221, 0) 55%), var(--hy-paper);
  padding: 1.6rem 1.1rem 1.1rem;
}
.hy-step::before {
  counter-increment: hy-step;
  content: counter(hy-step, cjk-ideographic);
  position: absolute;
  top: -0.85rem; left: 1rem;
  min-width: 1.7rem; height: 1.7rem;
  padding: 0 0.3rem;
  display: grid;
  place-items: center;
  background: var(--hy-lake-deep);
  color: #f5efe1;
  font-family: var(--hy-font-display);
  font-size: 0.85rem;
  border-radius: 50%;
  box-shadow: 2px 2px 0 rgba(230, 195, 92, 0.6);
}
.hy-step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; letter-spacing: 0.12em; }
.hy-step p { margin: 0; font-size: 0.92rem; color: var(--hy-ink-soft); }

.hy-notice {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  border: 3px double var(--hy-rouge-deep);
  border-radius: var(--hy-radius-sm);
  background: linear-gradient(150deg, rgba(217, 142, 154, 0.12), rgba(244, 236, 221, 0) 60%), var(--hy-paper);
  padding: 1.5rem clamp(1.2rem, 3vw, 2.2rem) 1.2rem;
  position: relative;
}
.hy-notice-tag {
  position: absolute;
  top: -0.95rem; left: 50%;
  transform: translateX(-50%);
  background: var(--hy-rouge-deep);
  color: #fdf7ec;
  font-family: var(--hy-font-display);
  letter-spacing: 0.3em;
  font-size: 0.82rem;
  padding: 0.28em 1.1em 0.28em 1.4em;
  border-radius: 999px;
  white-space: nowrap;
}
.hy-notice p { margin: 0; font-size: 1.02rem; line-height: 2; }
.hy-notice p + p { margin-top: 0.6em; }
.hy-notice-lake { border-color: var(--hy-lake-deep); }
.hy-notice-lake .hy-notice-tag { background: var(--hy-lake-deep); }

/* ============================================================
   12. 画报实录(案例画报页)
   ============================================================ */
.hy-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 2.4rem);
}
.hy-case {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.2rem 1.1rem;
  background-image: radial-gradient(ellipse 90% 80% at 30% 0%, rgba(230, 195, 92, 0.14), rgba(230, 195, 92, 0) 60%);
}
.hy-case-title {
  writing-mode: vertical-rl;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  margin: 0;
  padding: 0.5em 0.3em;
  border-left: 1px solid var(--hy-line-soft);
  color: var(--hy-lake-deep);
  text-shadow: 1px 1px 0 var(--hy-paper), 2px 2px 0 rgba(217, 142, 154, 0.5);
}
.hy-case-body { font-size: 0.94rem; }
.hy-case-model {
  display: inline-block;
  font-family: var(--hy-font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--hy-rouge-deep);
  border: 1px solid var(--hy-rouge);
  border-radius: 999px;
  padding: 0.1em 0.8em;
  margin-bottom: 0.6rem;
  background: rgba(217, 142, 154, 0.1);
}
.hy-case-note {
  display: block;
  margin-top: 0.7rem;
  text-align: right;
  font-size: 0.82rem;
  color: var(--hy-ink-soft);
  letter-spacing: 0.1em;
}
.hy-case-note::before { content: "—— "; }

/* ============================================================
   13. 月历新闻
   ============================================================ */
.hy-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.hy-news-item {
  border: 1px solid var(--hy-line-soft);
  border-radius: var(--hy-radius);
  background: var(--hy-paper);
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.hy-date-chip {
  flex-shrink: 0;
  width: 3.4rem;
  text-align: center;
  border: 1.5px solid var(--hy-ink);
  border-radius: var(--hy-radius-sm);
  background: var(--hy-paper);
  font-family: var(--hy-font-display);
  overflow: hidden;
}
.hy-date-chip-m {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  background: var(--hy-ink);
  color: #f5efe1;
  padding: 0.15em 0;
}
.hy-date-chip-d {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--hy-rouge-deep);
  line-height: 1.35;
}
.hy-news-item h3 { font-size: 1.02rem; margin: 0 0 0.3rem; line-height: 1.5; }
.hy-news-item h3 a { color: inherit; text-decoration: none; }
.hy-news-item h3 a:hover { color: var(--hy-rouge-deep); }
.hy-news-item p { margin: 0; font-size: 0.88rem; color: var(--hy-ink-soft); }

/* ============================================================
   14. 惠赐函电(联系)
   ============================================================ */
.hy-contact-frame {
  padding: clamp(1.6rem, 4vw, 2.8rem);
  text-align: center;
  background-image: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(217, 142, 154, 0.15), rgba(217, 142, 154, 0) 60%);
}
.hy-contact-list {
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2.4rem;
  font-family: var(--hy-font-display);
  letter-spacing: 0.08em;
}
.hy-contact-list b { color: var(--hy-rouge-deep); font-weight: 800; margin-right: 0.4em; }

/* ============================================================
   15. 页脚
   ============================================================ */
.hy-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--hy-ink);
  color: #ecdfca;
  background-image: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(217, 142, 154, 0.14), rgba(217, 142, 154, 0) 60%);
}
.hy-footer a { color: #f2e6cd; }
.hy-footer a:hover { color: var(--hy-goose); }
.hy-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 2.4rem;
  padding: clamp(2.2rem, 5vw, 3.2rem) 0 1.6rem;
}
.hy-footer h2 {
  color: var(--hy-goose);
  font-size: 1.02rem;
  letter-spacing: 0.24em;
  margin-bottom: 0.9rem;
}
.hy-footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.hy-footer-brand .hy-badge { color: var(--hy-goose); }
.hy-footer-brand-name {
  font-family: var(--hy-font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: #f7ecd4;
}
.hy-footer p { font-size: 0.92rem; line-height: 1.9; color: #dccdb2; }
.hy-footer-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.hy-footer-menu a { text-decoration: none; letter-spacing: 0.12em; font-family: var(--hy-font-display); font-size: 0.95rem; }
.hy-footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; color: #dccdb2; }
.hy-footer-contact b { color: var(--hy-goose); font-weight: 700; margin-right: 0.4em; font-family: var(--hy-font-display); }
.hy-footer-supplier {
  border-top: 1px solid rgba(236, 223, 202, 0.22);
  padding: 1rem 0;
  font-size: 0.88rem;
  color: #d3c2a4;
  text-align: center;
  letter-spacing: 0.05em;
}
.hy-footer-bottom {
  border-top: 1px solid rgba(236, 223, 202, 0.22);
  padding: 1rem 0 1.3rem;
  text-align: center;
  font-size: 0.82rem;
  color: #c4b193;
  letter-spacing: 0.08em;
}
.hy-footer-bottom p { margin: 0.2em 0; color: inherit; font-size: inherit; }

/* ============================================================
   16. 内页通用(存档/正文/侧栏)
   ============================================================ */
.hy-page-hero {
  padding: clamp(2rem, 5vw, 3.2rem) 0;
  text-align: center;
  background-image: var(--hy-wash-rouge);
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--hy-line-soft);
}
.hy-page-hero .hy-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 0.4rem; }
.hy-page-hero p { color: var(--hy-ink-soft); margin: 0; }

.hy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.8rem, 4vw, 3rem);
  padding: clamp(2rem, 5vw, 3.2rem) 0;
  align-items: start;
}
.hy-layout-single { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }

.hy-article-list { display: grid; gap: 1.6rem; }
.hy-post-card {
  border: 1px solid var(--hy-line-soft);
  border-radius: var(--hy-radius);
  background: linear-gradient(165deg, rgba(230, 195, 92, 0.09), rgba(244, 236, 221, 0) 50%), var(--hy-paper);
  padding: 1.4rem 1.5rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.hy-post-card-body { min-width: 0; }
.hy-post-card h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.hy-post-card h2 a { color: inherit; text-decoration: none; }
.hy-post-card h2 a:hover { color: var(--hy-rouge-deep); }
.hy-post-meta { font-size: 0.82rem; color: var(--hy-ink-soft); letter-spacing: 0.08em; font-family: var(--hy-font-display); margin-bottom: 0.5rem; }
.hy-post-meta span + span::before { content: " · "; color: var(--hy-rouge); }
.hy-post-card p { margin: 0 0 0.7rem; font-size: 0.95rem; }
.hy-more-link {
  font-family: var(--hy-font-display);
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1.5px solid var(--hy-rouge);
}

.hy-article { background: var(--hy-paper); }
.hy-article-header { text-align: center; margin-bottom: 1.8rem; }
.hy-article-header .hy-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.hy-article-content { font-size: 1.03rem; }
.hy-article-content h2 { font-size: 1.4rem; padding-left: 0.6em; border-left: 4px solid var(--hy-rouge); }
.hy-article-content h3 { font-size: 1.18rem; }
.hy-article-content img { border-radius: var(--hy-radius-sm); }
.hy-article-footer { margin-top: 2rem; border-top: 1px dashed var(--hy-line); padding-top: 1rem; }

.hy-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  font-family: var(--hy-font-display);
}
.hy-post-nav a { text-decoration: none; letter-spacing: 0.06em; }

.hy-pagination { margin-top: 2rem; text-align: center; font-family: var(--hy-font-display); }
.hy-pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.hy-pagination .page-numbers {
  display: inline-block;
  min-width: 2.3em;
  padding: 0.35em 0.6em;
  border: 1px solid var(--hy-line);
  border-radius: var(--hy-radius-sm);
  text-decoration: none;
  color: var(--hy-ink);
  background: var(--hy-paper);
}
.hy-pagination .page-numbers.current { background: var(--hy-rouge-deep); border-color: var(--hy-rouge-deep); color: #fdf7ec; }
.hy-pagination .page-numbers:hover { border-color: var(--hy-rouge-deep); color: var(--hy-rouge-deep); }

/* 侧栏 */
.hy-sidebar { display: grid; gap: 1.4rem; }
.hy-widget {
  border: 1px solid var(--hy-line-soft);
  border-radius: var(--hy-radius);
  background: linear-gradient(170deg, rgba(90, 143, 181, 0.08), rgba(244, 236, 221, 0) 55%), var(--hy-paper);
  padding: 1.2rem 1.2rem 1.1rem;
}
.hy-widget-title {
  font-size: 0.95rem;
  letter-spacing: 0.26em;
  color: var(--hy-lake-deep);
  border-bottom: 3px double var(--hy-line);
  padding-bottom: 0.5rem;
  margin-bottom: 0.8rem;
}
.hy-widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.hy-widget li a { text-decoration: none; }
.hy-widget p { font-size: 0.92rem; margin: 0 0 0.6em; }
.hy-widget .hy-calendar { position: static; transform: none; width: 100%; box-shadow: none; }

/* ============================================================
   17. 表单 / 搜索
   ============================================================ */
.hy-search-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.hy-search-form input[type="search"] {
  flex: 1 1 12em;
  min-width: 0;
  font: inherit;
  color: var(--hy-ink);
  background: #faf5ea;
  border: 1.5px solid var(--hy-line);
  border-radius: var(--hy-radius-sm);
  padding: 0.55em 0.9em;
}
.hy-search-form input[type="search"]:focus { border-color: var(--hy-lake-deep); }
.hy-search-form button {
  font-family: var(--hy-font-display);
  letter-spacing: 0.2em;
  border: 1.5px solid var(--hy-rouge-deep);
  background: var(--hy-rouge-deep);
  color: #fdf7ec;
  border-radius: var(--hy-radius-sm);
  padding: 0.5em 1.3em;
  cursor: pointer;
}
.hy-search-form button:hover { background: var(--hy-ink); border-color: var(--hy-ink); }

/* ============================================================
   18. 404
   ============================================================ */
.hy-404 { text-align: center; padding: clamp(3rem, 8vw, 5.5rem) 0; }
.hy-404-num {
  font-family: var(--hy-font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 9vw, 6rem);
  letter-spacing: 0.14em;
  color: var(--hy-rouge-deep);
  text-shadow: 2px 2px 0 var(--hy-paper), 5px 5px 0 rgba(90, 143, 181, 0.3);
  margin-bottom: 0.5rem;
}
.hy-404 .hy-search-form { max-width: 420px; margin: 1.6rem auto 0; }

/* ============================================================
   19. 产品详情
   ============================================================ */
.hy-product-single {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 3.2rem) 0 0;
}
.hy-product-single-figure { padding: 1rem; }
.hy-product-single-figure img,
.hy-product-single-figure svg { display: block; width: 100%; height: auto; }
.hy-spec-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--hy-font-display);
  font-weight: 800;
  letter-spacing: 0.2em;
  padding-bottom: 0.5em;
  color: var(--hy-lake-deep);
}
.hy-spec-table th { width: 34%; white-space: nowrap; }
.hy-cta-box { text-align: center; padding: 1.8rem 1.4rem; }
.hy-cta-box .hy-btn { margin-top: 0.8rem; }
.hy-product-content { margin-top: 1.6rem; }

/* ============================================================
   20. WordPress 常规样式
   ============================================================ */
.alignleft { float: left; margin: 0.4em 1.4em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 0.85rem;
  color: var(--hy-ink-soft);
  text-align: center;
  padding: 0.4em 0;
}
.sticky .hy-post-card,
.post.sticky { position: relative; }
.bypostauthor { display: block; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 1.4em; }
.gallery-item { margin: 0; }

/* ============================================================
   21. 入场动效(.reveal:no-js 兜底 + 减动效直显)
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hy-btn, .hy-header { transition: none !important; }
}

/* ============================================================
   22. 响应式
   ============================================================ */
@media (max-width: 1020px) {
  .hy-product-grid, .hy-case-grid, .hy-news-list, .hy-adlines { grid-template-columns: repeat(2, 1fr); }
  .hy-steps { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .hy-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hy-hero-grid { grid-template-columns: 1fr; }
  .hy-hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .hy-layout { grid-template-columns: minmax(0, 1fr); }
  .hy-product-single { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .hy-nav-toggle { display: flex; }
  .hy-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--hy-paper);
    border-bottom: 1px solid var(--hy-line);
    box-shadow: 0 14px 30px rgba(74, 52, 40, 0.18);
    padding: 0.6rem 4vw 1rem;
  }
  .hy-nav.is-open { display: block; }
  .hy-menu, .hy-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .hy-nav a { padding: 0.8rem 0.4rem; border-bottom: 1px dashed var(--hy-line-soft); border-radius: 0; }
  .hy-nav ul ul {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 1.2em;
    background: none;
  }
  .hy-topline span { display: block; margin-left: 0; }
}

@media (max-width: 640px) {
  .hy-product-grid, .hy-case-grid, .hy-news-list, .hy-adlines, .hy-steps { grid-template-columns: 1fr; }
  .hy-stats { grid-template-columns: repeat(2, 1fr); }
  .hy-footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hy-hero-copy { padding-left: 0; }
  .hy-hero-mark { position: static; writing-mode: horizontal-tb; display: inline-block; margin-bottom: 0.9rem; padding: 0.2em 1em; letter-spacing: 0.3em; }
  .hy-section-head { padding: 0 1rem; }
  .hy-section-mark { display: none; }
  .hy-calendar { top: -0.4rem; right: 0; width: 5.6rem; }
  .hy-calendar-day { font-size: 2.2rem; }
  .hy-post-card { flex-direction: column; }
  .hy-case { grid-template-columns: 1fr auto; }
}
