/* Local WordPress integration for the approved B direction. */
body.b { min-width: 320px; background: #f8faf8; color: #24302e; }
body.b h1, body.b h2, body.b h3, body.b h4 { color: inherit; }
body.b p { margin-bottom: 0; }
body.b .site-header { width: 100%; overflow: visible; }
body.b .site-header .nav-row { max-width: 1280px; }
body.b .site-footer a:hover, body.b .nav-links a:hover { color: #23584b; }
body.b .reading-list article a:first-child:hover { color: #23584b; text-decoration: underline; }
body.b .reading-list article h3 a { color: inherit; }
body.b .reading-list article h3 a:hover { color: #23584b; }
body.b .xz-more-link { margin: 30px 0 0; }
body.b .xz-light-kicker { color: #dfbd83; }
body.b .hero .kicker { color: #a36f3e; font-size: 12px; line-height: 1.4; letter-spacing: .2em; margin: 0 0 18px; }

.xz-b-brand-intro { padding: 86px 0 80px; background: #eaf2ed; }
.xz-b-brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.xz-b-brand-grid p { font-size: 18px; line-height: 1.95; color: #415149; margin: 0 0 28px !important; }
.xz-b-brand-grid .section-title { max-width: 560px; }
.xz-b-story-lead { font-size: 21px; line-height: 1.9; color: #23584b !important; padding-left: 25px; border-left: 4px solid #23584b; }
.xz-b-story li { margin-bottom: 10px; }
.xz-b-email { color: #23584b; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.xz-b-phone-reserve { display: flex; gap: 20px; margin-top: 36px; padding: 22px 0; border-top: 1px solid rgba(35,88,75,.2); border-bottom: 1px solid rgba(35,88,75,.2); }
.xz-b-phone-reserve strong { color: #24302e; }
.xz-b-phone-reserve span { color: #67736d; }

.xz-mobile-nav { display: none; position: relative; font-size: 14px; font-weight: 700; }
.xz-mobile-nav summary { cursor: pointer; list-style: none; padding: 8px; }
.xz-mobile-nav summary::-webkit-details-marker { display: none; }
.xz-mobile-nav summary::after { content: " ☰"; margin-left: 5px; }
.xz-mobile-nav[open] nav { position: absolute; z-index: 50; right: 0; top: 42px; min-width: 190px; padding: 12px; background: #fff; border: 1px solid rgba(35,88,75,.19); box-shadow: 0 15px 35px rgba(15,39,34,.12); }
.xz-mobile-nav nav a { display: block; padding: 10px 12px; }
.xz-mobile-nav nav a:hover { background: #eaf2ed; }

.xz-b-interior { background: #f8faf8; }
.xz-b-subhero { padding: 95px 0 100px; background: linear-gradient(125deg,#f8faf8 50%,#e8f0ea); }
.xz-b-subhero h1 { max-width: 860px; margin: 13px 0 25px; font-size: clamp(42px,5.2vw,72px); line-height: 1.18; letter-spacing: -.055em; font-weight: 650; }
.xz-b-intro { max-width: 750px; color: #596860; font-size: 19px; line-height: 1.85; margin: 0 0 28px !important; }
.xz-b-section { padding: 92px 0; }
.xz-b-section .section-title { max-width: 820px; }
.xz-b-section p { color: #596860; line-height: 1.85; }
.xz-b-mist { background: #eaf2ed; }
.xz-b-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 39px; }
.xz-b-cards article { padding: 32px; background: white; border-top: 4px solid #23584b; min-height: 280px; }
.xz-b-cards span { font-size: 12px; letter-spacing: .1em; color: #a36f3e; font-weight: 700; }
.xz-b-cards h3 { margin: 25px 0 13px; font-size: 24px; line-height: 1.4; }
.xz-b-two { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: center; }
.xz-b-two p { max-width: 610px; margin: 25px 0 24px !important; font-size: 17px; }
.xz-b-fact-panel { padding: 34px 36px; border: 1px solid rgba(35,88,75,.2); background: #fff; }
.xz-b-fact-panel strong { display: block; font-size: 19px; }
.xz-b-fact-panel p { margin: 14px 0 0 !important; font-size: 15px; }
.xz-b-fact-panel ol { margin: 20px 0; padding-left: 22px; }
.xz-b-fact-panel li { margin: 10px 0; }
.xz-b-status { display: inline-block; margin: 7px 0 0 !important; padding: 5px 11px; background: #e5ece7; border: 1px solid #b9cbbb; color: #23584b !important; font-size: 13px; font-weight: 700; }
.xz-b-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 38px; }
.xz-b-detail-grid > div { border-top: 1px solid rgba(35,88,75,.19); padding: 28px 0 35px; }
.xz-b-detail-grid h3 { margin: 0 0 10px; font-size: 22px; }
.xz-b-back { padding: 20px 0 60px; }

.xz-b-article-head { padding: 82px 0 67px; background: #eaf2ed; }
.xz-b-article-head h1 { max-width: 950px; margin: 20px 0 24px; font-size: clamp(36px,4.5vw,62px); line-height: 1.28; letter-spacing: -.045em; }
.xz-b-article-meta { display: flex; flex-wrap: wrap; gap: 9px 25px; color: #67736d; font-size: 13px; }
.xz-b-article-lead { max-width: 760px; margin: 30px 0 0 !important; border-top: 1px solid rgba(35,88,75,.2); padding-top: 24px; color: #415149; font-size: 18px; line-height: 1.8; }
.xz-b-article-body { padding: 55px 0 100px; background: #fff; }
.xz-b-prose { max-width: 760px; font-size: 18px; line-height: 1.9; color: #29352f; overflow-wrap: anywhere; }
.xz-b-prose h2 { margin: 2.1em 0 .7em; font-size: 30px; line-height: 1.38; }
.xz-b-prose h3 { margin: 1.7em 0 .65em; font-size: 23px; line-height: 1.5; }
.xz-b-prose p { margin: 0 0 1.35em !important; line-height: inherit !important; color: inherit !important; }
.xz-b-prose img { height: auto; max-width: 100%; }
.xz-b-prose figcaption { font-size: 13px; color: #67736d; }
.xz-b-prose ul, .xz-b-prose ol { margin: 0 0 1.5em; padding-left: 1.6em; }
.xz-b-prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 4px solid #23584b; color: #415149; }
.xz-b-prose a { color: #23584b; text-decoration: underline; text-underline-offset: 3px; }
.xz-b-article-next { padding: 63px 0 80px; background: #f8faf8; }
.xz-b-article-next h2 { margin: 0 0 23px; font-size: 25px; }
.xz-b-next-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.xz-b-next-links a { display: flex; justify-content: space-between; padding: 20px 23px; border: 1px solid rgba(35,88,75,.2); background: #fff; color: #23584b; font-weight: 700; }
.xz-b-next-links a:hover { background: #eaf2ed; }
.olx-cc-article-paths { max-width: 760px; margin: 18px auto; }

@media (max-width: 760px) {
  .xz-b-brand-intro { padding: 65px 0; }
  .xz-b-brand-grid { display: block; }
  .xz-b-brand-grid p { margin-top: 25px !important; font-size: 16px; }
  .xz-b-story-lead { font-size: 18px; }
  .xz-mobile-nav { display: block; }
  .xz-b-subhero { padding: 65px 0 72px; }
  .xz-b-subhero h1 { font-size: clamp(34px,9vw,48px); }
  .xz-b-intro { font-size: 16px; }
  .xz-b-section { padding: 68px 0; }
  .xz-b-cards, .xz-b-two, .xz-b-detail-grid, .xz-b-next-links { display: block; }
  .xz-b-cards article { min-height: 0; margin-top: 15px; }
  .xz-b-two .xz-b-fact-panel { margin-top: 35px; }
  .xz-b-detail-grid > div { padding: 24px 0; }
  .xz-b-article-head { padding: 58px 0; }
  .xz-b-article-head h1 { font-size: clamp(33px,8.5vw,44px); }
  .xz-b-article-lead { font-size: 16px; }
  .xz-b-article-body { padding: 35px 0 75px; }
  .xz-b-prose { font-size: 17px; line-height: 1.8; }
  .xz-b-prose h2 { font-size: 25px; }
  .xz-b-prose h3 { font-size: 20px; }
  .xz-b-next-links a { margin-top: 12px; }
}
@media (max-width: 359px) {
  .b .hero h1 { font-size: 32px; letter-spacing: -.075em; }
}


/* === Xianhezhuang V1.0 Oriental Sojourn Additions === */
.xz-reading-progress-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(35, 88, 75, 0.1);
  z-index: 9999;
  pointer-events: none;
}
.xz-reading-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #23584b 0%, #8b6b4a 100%);
  transition: width 0.12s ease-out;
}
.xz-b-article-head .kicker a {
  color: inherit;
  text-decoration: none;
}
.xz-b-article-head .kicker a:hover {
  text-decoration: underline;
}
.xz-b-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(35, 88, 75, 0.18);
}
.xz-b-tags__label {
  font-size: 13px;
  color: #67736d;
}
.xz-b-tag-chip {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(35, 88, 75, 0.25);
  background: #f8faf8;
  color: #23584b !important;
  text-decoration: none !important;
  font-size: 13px;
}
.xz-b-cite-card {
  margin-top: 36px;
  padding: 28px 30px;
  background: #f4f7f4;
  border: 1px solid rgba(35, 88, 75, 0.22);
}
.xz-b-cite-card__head h2 {
  margin: 6px 0 10px !important;
  font-size: 21px !important;
}
.xz-b-cite-card__desc {
  font-size: 14px !important;
  color: #415149 !important;
  margin-bottom: 16px !important;
}
.xz-b-cite-card__copy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.xz-b-cite-card__copy input {
  flex: 1 1 260px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(35, 88, 75, 0.28);
  background: #fff;
  font-size: 13px;
  color: #29352f;
}
.xz-b-cite-status {
  font-size: 13px;
  color: #23584b;
  font-weight: 600;
}
.xz-b-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.xz-b-post-nav__item {
  padding: 18px 22px;
  border: 1px solid rgba(35, 88, 75, 0.2);
  background: #f8faf8;
}
.xz-b-post-nav__item--next {
  text-align: right;
}
.xz-b-post-nav__item span {
  display: block;
  font-size: 12px;
  color: #67736d;
  margin-bottom: 6px;
}
.xz-b-post-nav__item a {
  font-size: 16px;
  font-weight: 700;
  color: #23584b;
  text-decoration: none !important;
}
.xz-b-archive-toolbar {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.xz-b-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.xz-b-pill {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid rgba(35, 88, 75, 0.26);
  background: #fff;
  color: #23584b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.xz-b-pill.is-active,
.xz-b-pill:hover {
  background: #23584b;
  color: #fff;
}
.xz-b-search-form {
  display: flex;
  gap: 10px;
  max-width: 540px;
}
.xz-b-search-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 15px;
  border: 1px solid rgba(35, 88, 75, 0.3);
  background: #fff;
  font-size: 14px;
}
.xz-b-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.xz-b-archive-card {
  padding: 28px;
  border: 1px solid rgba(35, 88, 75, 0.2);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.xz-b-archive-card .meta {
  font-size: 12px;
  color: #67736d;
}
.xz-b-archive-card h2 {
  margin: 12px 0;
  font-size: 21px;
  line-height: 1.45;
}
.xz-b-archive-card h2 a {
  color: #1f2d27;
  text-decoration: none;
}
.xz-b-archive-card h2 a:hover {
  color: #23584b;
}
.xz-b-archive-card p {
  font-size: 15px;
  line-height: 1.75;
  color: #4b5952;
  margin: 0 0 18px !important;
}
.xz-b-pagination {
  margin-top: 36px;
}
@media (max-width: 760px) {
  .xz-b-archive-grid,
  .xz-b-post-nav {
    grid-template-columns: 1fr;
  }
  .xz-b-post-nav__item--next {
    text-align: left;
  }
}


/* === OpenLX V1.1 Xianhezhuang Sojourn Architecture Enhancements === */
.xz-b-article-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.xz-b-issue-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #23584b;
  color: #f8f5ee;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 2px;
}
.xz-b-series-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid rgba(35, 88, 75, 0.28);
  background: rgba(248, 245, 238, 0.85);
  color: #23584b;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.xz-b-cover-box {
  margin: 0 0 32px;
  border: 1px solid rgba(35, 88, 75, 0.22);
  background: #fbf9f4;
  overflow: hidden;
}
.xz-b-cover-box__visual {
  position: relative;
  aspect-ratio: 16 / 7;
  max-height: 310px;
  width: 100%;
  overflow: hidden;
  background: #1f3a33;
}
.xz-b-cover-box__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}
.xz-b-cover-box__credit {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 4px 10px;
  background: rgba(20, 34, 29, 0.72);
  color: rgba(248, 245, 238, 0.92);
  font-size: 11px;
  line-height: 1.4;
}
.xz-b-cover-box__caption {
  padding: 20px 24px;
  border-top: 1px solid rgba(35, 88, 75, 0.14);
}
.xz-b-cover-box__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.xz-b-cover-box__series {
  font-size: 12px;
  color: #7b6244;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.xz-b-cover-box__title {
  margin: 0 0 6px !important;
  font-size: 16px;
  font-weight: 700;
  color: #1f2d27;
}
.xz-b-cover-box__note {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: #5a6760 !important;
}
.xz-b-toc {
  margin: 0 0 32px;
  padding: 20px 24px;
  background: #f5f2ea;
  border-left: 3px solid #23584b;
}
.xz-b-toc__title {
  margin: 0 0 10px !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #23584b;
}
.xz-b-toc__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
}
.xz-b-toc__list li {
  font-size: 14px;
  line-height: 1.5;
}
.xz-b-toc__list a {
  color: #29352f;
  text-decoration: none;
}
.xz-b-toc__list a:hover {
  color: #23584b;
  text-decoration: underline;
}
.xz-b-conversion-card {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid rgba(35, 88, 75, 0.28);
  background: linear-gradient(180deg, #faf7f0 0%, #f3efe4 100%);
}
.xz-b-conversion-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(35, 88, 75, 0.15);
}
.xz-b-conversion-card__head h2 {
  margin: 6px 0 0;
  font-size: 21px;
  line-height: 1.4;
  color: #1f2d27;
}
.xz-b-conversion-card__seal {
  flex-shrink: 0;
  padding: 5px 12px;
  border: 1px solid #8c6239;
  color: #8c6239;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
}
.xz-b-conversion-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.xz-b-conversion-card__col {
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(35, 88, 75, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.xz-b-conversion-card__col strong {
  display: block;
  font-size: 16px;
  color: #1f2d27;
  margin-bottom: 8px;
}
.xz-b-conversion-card__col p {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #4b5952 !important;
  margin: 0 0 16px !important;
}
.xz-b-conversion-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.xz-b-related-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(35, 88, 75, 0.2);
}
.xz-b-related-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}
.xz-b-related-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
}
.xz-b-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.xz-b-related-card {
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(35, 88, 75, 0.18);
}
.xz-b-related-card .meta {
  font-size: 12px;
  color: #23584b;
  font-weight: 600;
}
.xz-b-related-card h3 {
  margin: 10px 0 8px;
  font-size: 17px;
  line-height: 1.45;
}
.xz-b-related-card h3 a {
  color: #1f2d27;
  text-decoration: none;
}
.xz-b-related-card h3 a:hover {
  color: #23584b;
}
.xz-b-related-card p {
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: #55635c !important;
}
@media (max-width: 760px) {
  .xz-b-toc__list,
  .xz-b-conversion-card__grid,
  .xz-b-related-grid {
    grid-template-columns: 1fr;
  }
  .xz-b-conversion-card__head,
  .xz-b-related-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
