/*
Theme Name: Yushi Capital
Theme URI: http://localhost:8888/
Author: Yushi Capital
Description: A lightweight custom WordPress theme for Yushi Capital.
Version: 0.2.0
Text Domain: yushi-capital
*/

@font-face {
  font-family: "yushi-orpheus";
  src: url("assets/fonts/orpheuspro.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "yushi-domaine-text";
  src: url("assets/fonts/domaine-text-light.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "yushi-domaine-text";
  src: url("assets/fonts/domaine-text-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "yushi-domaine-text";
  src: url("assets/fonts/domaine-text-medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "yushi-domaine-sans-text";
  src: url("assets/fonts/domaine-sans-text-light.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "yushi-domaine-sans-text";
  src: url("assets/fonts/domaine-sans-text-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "yushi-icomoon";
  src: url("assets/fonts/vite-icomoon.woff") format("woff");
  font-display: block;
  font-style: normal;
  font-weight: 400;
}

[class^="icon-"],
[class*=" icon-"] {
  font-family: "yushi-icomoon" !important;
}

body.admin-bar .wr25-header-container {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .wr25-header-container {
    top: 46px;
  }
}

.yushi-inner-page {
  margin: 0;
  background: #f1ecdf;
  color: #171512;
  font-family: "yushi-domaine-text", "Songti SC", "STSong", serif;
}

.yushi-site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.yushi-site-header {
  min-height: 88px;
  padding: 22px clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(23, 21, 18, 0.18);
  font-family: "yushi-domaine-sans-text", "PingFang SC", sans-serif;
}

.yushi-site-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.yushi-site-brand-cn {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.yushi-site-brand-en {
  font-size: 9px;
  letter-spacing: 0.28em;
}

.yushi-site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 14px;
}

.yushi-site-nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.yushi-site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: #570016;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.yushi-site-nav a:hover::after,
.yushi-site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.yushi-page-main {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  flex: 1;
}

.yushi-page-article {
  padding: clamp(72px, 10vw, 148px) 0 clamp(88px, 12vw, 180px);
}

.yushi-page-heading {
  display: grid;
  grid-template-columns: minmax(90px, 180px) 1fr;
  gap: clamp(24px, 6vw, 90px);
  align-items: start;
  padding-bottom: clamp(48px, 7vw, 92px);
  border-bottom: 1px solid rgba(23, 21, 18, 0.22);
}

.yushi-page-index {
  color: rgba(87, 0, 22, 0.42);
  font-size: clamp(68px, 10vw, 150px);
  line-height: 0.8;
}

.yushi-page-label {
  margin: 0 0 20px;
  color: #570016;
  font-family: "yushi-domaine-sans-text", "PingFang SC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
}

.yushi-page-heading h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(54px, 9vw, 132px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.yushi-page-content {
  max-width: 880px;
  margin-left: clamp(0px, 21vw, 270px);
  padding-top: clamp(48px, 7vw, 90px);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  line-height: 1.75;
}

.yushi-page-content > *:first-child {
  margin-top: 0;
}

.yushi-page-content h2 {
  margin: 2.5em 0 0.7em;
  color: #570016;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 300;
}

.yushi-page-content p {
  margin: 0 0 1.4em;
}

.yushi-page-content .wp-block-columns {
  gap: 18px;
  margin-top: 56px;
}

.yushi-page-content .wp-block-column {
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(87, 0, 22, 0.2);
}

.yushi-page-content .wp-block-column h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 400;
}

.yushi-page-content .wp-block-column p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.6;
}

.yushi-site-footer {
  padding: 26px clamp(24px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(23, 21, 18, 0.18);
  font-family: "yushi-domaine-sans-text", "PingFang SC", sans-serif;
  font-size: 12px;
}

.yushi-site-footer a {
  color: inherit;
}

@media (max-width: 760px) {
  .yushi-site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .yushi-site-nav {
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .yushi-page-heading {
    grid-template-columns: 1fr;
  }

  .yushi-page-index {
    font-size: 64px;
  }

  .yushi-page-heading h1 {
    font-size: clamp(52px, 18vw, 82px);
  }

  .yushi-page-content {
    margin-left: 0;
    font-size: 18px;
  }

  .yushi-site-footer {
    flex-direction: column;
  }
}
