/* wiipoo design system: self-hosted fonts + unified buttons
   Load after style.css. Do not edit TDK here. */

/* ---------- @font-face: Noto Sans SC (chinese-simplified + latin) ---------- */
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/NotoSansSC-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/NotoSansSC-400.woff2") format("woff2");
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF, U+3000-303F, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/NotoSansSC-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/NotoSansSC-500.woff2") format("woff2");
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF, U+3000-303F, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/NotoSansSC-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/NotoSansSC-600.woff2") format("woff2");
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF, U+3000-303F, U+FF00-FFEF;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/NotoSansSC-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/NotoSansSC-700.woff2") format("woff2");
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+F900-FAFF, U+3000-303F, U+FF00-FFEF;
}

:root {
  --wp-font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wp-font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wp-btn-primary-bg: #e51d21;
  --wp-btn-primary-text: #fff;
  --wp-btn-primary-hover: #c4181c;
  --wp-btn-secondary-bg: transparent;
  --wp-btn-secondary-text: #0f172a;
  --wp-btn-secondary-border: #0f172a;
  --wp-btn-ghost-text: #e51d21;
  --wp-btn-radius: 8px;
  --wp-btn-height: 44px;
  --wp-btn-height-sm: 36px;
}

/* ---------- Global body / UI font ---------- */
html, body,
button, input, select, textarea {
  font-family: var(--wp-font-sans);
}
*,
*::before,
*::after {
  font-family: inherit;
}

/* ---------- Display font: headings + major titles / slogan ---------- */
h1, h2,
.index-title h1,
.index-title h2,
.section01-home .index-title h1,
.wiipoo-section .index-title h2,
.ny-title h1,
.ny-title h2,
.sloganfi,
.home-banner-slogan,
.ny-banner-label,
.sol-cta-band h3 {
  font-family: var(--wp-font-sans);
  font-style: normal;
  font-synthesis: none;
}

/* ---------- Button system helpers ---------- */
.wp-btn,
.wp-btn-primary,
.playBtn,
.playBtn-cta,
.path-cta,
.solutions-more-link,
.play-btn,
.gf-demand .write .submit,
.pupDemandMain .btn.pi-btn-base,
.pupDemandMain .pupDemandSubmit,
.sol-hero-actions .playBtn-cta,
.sol-cta-band .playBtn-cta,
.home-cta-group .playBtn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--wp-btn-height);
  padding: 0 24px;
  border-radius: var(--wp-btn-radius) !important;
  font-family: var(--wp-font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

/* Primary CTAs */
.wp-btn-primary,
.playBtn-cta,
.path-cta,
.play-btn,
.gf-demand .write .submit,
.pupDemandMain .btn.pi-btn-base,
.pupDemandMain .pupDemandSubmit,
.home-cta-group .playBtn-cta,
.sol-hero-actions .playBtn-cta,
.sol-cta-band .playBtn-cta {
  background: var(--wp-btn-primary-bg) !important;
  background-color: var(--wp-btn-primary-bg) !important;
  color: var(--wp-btn-primary-text) !important;
  border: 1.5px solid var(--wp-btn-primary-bg) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.wp-btn-primary:hover,
.playBtn-cta:hover,
.path-cta:hover,
.play-btn:hover,
.gf-demand .write .submit:hover,
.pupDemandMain .btn.pi-btn-base:hover,
.pupDemandMain .pupDemandSubmit:hover,
.home-cta-group .playBtn-cta:hover,
.sol-hero-actions .playBtn-cta:hover,
.sol-cta-band .playBtn-cta:hover {
  background: var(--wp-btn-primary-hover) !important;
  background-color: var(--wp-btn-primary-hover) !important;
  border-color: var(--wp-btn-primary-hover) !important;
  color: #fff !important;
}

/* Secondary / outline — default playBtn (non-cta), solutions-more */
.wp-btn-secondary,
.playBtn:not(.playBtn-cta),
.home-cta-group .playBtn:not(.playBtn-cta),
.solutions-more-link,
.sol-hero-actions .playBtn:not(.playBtn-cta),
.sol-cta-band .playBtn:not(.playBtn-cta) {
  background: var(--wp-btn-secondary-bg) !important;
  background-color: transparent !important;
  color: var(--wp-btn-secondary-text) !important;
  border: 1.5px solid var(--wp-btn-secondary-border) !important;
  box-shadow: none !important;
}

.playBtn:not(.playBtn-cta):hover,
.home-cta-group .playBtn:not(.playBtn-cta):hover,
.solutions-more-link:hover,
.sol-hero-actions .playBtn:not(.playBtn-cta):hover,
.sol-cta-band .playBtn:not(.playBtn-cta):hover {
  background: #0f172a !important;
  color: #fff !important;
  border-color: #0f172a !important;
}

/* Ghost / text */
.wp-btn-ghost,
.solution-side-more,
.city-local-more {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--wp-btn-ghost-text) !important;
  padding: 0 4px;
  min-height: auto;
  border-radius: 0 !important;
  font-family: var(--wp-font-sans);
}

.wp-btn-ghost:hover,
.solution-side-more:hover,
.city-local-more:hover {
  color: var(--wp-btn-primary-hover) !important;
}

/* Dark surfaces: secondary outline becomes light */
.sol-hero-actions .playBtn:not(.playBtn-cta),
.sol-cta-band .playBtn:not(.playBtn-cta) {
  color: #fff !important;
  border-color: rgba(255,255,255,.55) !important;
  background: transparent !important;
}
.sol-hero-actions .playBtn:not(.playBtn-cta):hover,
.sol-cta-band .playBtn:not(.playBtn-cta):hover {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  border-color: #fff !important;
}

/* Kill pill radii on known buttons */
.playBtn,
.home-cta-group .playBtn,
.section-path .path-cta,
.solutions-more-link,
.pupDemandMain .btn,
.pupDemandMain .btn.pi-btn-base,
.footer-form .btn,
.websiteFastBox .btn,
.quickDemandBox .btn,
.btn.pi-btn-base,
.btn.pi-btn-bigger {
  border-radius: var(--wp-btn-radius) !important;
}

/* Footer / demand form primary submit already covered; normalize generic .btn used as CTA */
.pupDemandMain .btn {
  border-radius: var(--wp-btn-radius) !important;
}

/* Header utility .archives are text nav links — font only, not button chrome */
.archives {
  font-family: var(--wp-font-sans);
}

/* .indexmore is a background-image control — keep sprite, only soften radius */
.indexmore {
  border-radius: var(--wp-btn-radius) !important;
  font-family: var(--wp-font-sans);
}

/* Case hover overlay buttons: keep compact but radius 8 */
.btn-group a {
  border-radius: var(--wp-btn-radius);
}

/* Size tweaks that shouldn't break layout */
.home-cta-group .playBtn {
  min-width: 160px;
  height: var(--wp-btn-height);
  min-height: var(--wp-btn-height);
  letter-spacing: 0.04em;
}
.section-path .path-cta {
  min-height: var(--wp-btn-height);
  align-self: stretch;
}
.gf-demand .write .submit {
  width: auto;
  min-width: 120px;
  height: var(--wp-btn-height);
  padding: 0 20px !important;
}

@media (max-width: 768px) {
  .home-cta-group .playBtn,
  .path-cta,
  .solutions-more-link,
  .playBtn {
    min-height: var(--wp-btn-height-sm);
    height: auto;
    font-size: 14px;
    padding: 0 18px;
  }
}
