@import url("../country-guide-base.css");

.china-article-page {
  --article-accent:#c0443f;
  --article-accent-light:#f8dfdc;
  --article-accent-dark:#842f2c;
  --article-tint:#fffafa;
  margin:0;
}

.china-article-page .article-hero.notes {
  --article-accent:#c0443f;
  --article-accent-light:#f8dfdc;
  --article-accent-dark:#842f2c;
}

.china-article-page .article-hero.mobile {
  --article-accent:#238078;
  --article-accent-light:#d9f2ef;
  --article-accent-dark:#18564f;
}

.china-article-page .article-hero.cash {
  --article-accent:#b98724;
  --article-accent-light:#fff0bc;
  --article-accent-dark:#765716;
}

.china-article-page .article-hero.refund {
  --article-accent:#3879a7;
  --article-accent-light:#dcecf7;
  --article-accent-dark:#275371;
}

.china-article-page .article-hero.tipping {
  --article-accent:#7b5990;
  --article-accent-light:#ede3f3;
  --article-accent-dark:#523c61;
}

.china-name-board,
.china-fee-board,
.china-wallet-split,
.china-refund-path,
.china-tip-grid {
  display:grid;
  gap:14px;
  margin:28px 0;
  padding:20px;
  border:3px solid var(--ink);
  border-radius:6px;
}

.china-name-board {
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:linear-gradient(145deg,#f8dfdc,#fff 50%,#fff0bc);
  box-shadow:5px 6px 0 #842f2c;
}

.china-name-board > span,
.china-fee-board > span,
.china-wallet-split > div,
.china-refund-path > div,
.china-tip-grid > span {
  min-width:0;
  padding:16px 10px;
  border:3px solid var(--ink);
  border-radius:5px;
  background:#fff;
  box-shadow:3px 4px 0 var(--ink);
  text-align:center;
}

.china-name-board b,
.china-name-board small,
.china-fee-board strong,
.china-fee-board small,
.china-wallet-split strong,
.china-wallet-split span,
.china-refund-path strong,
.china-refund-path span,
.china-tip-grid strong,
.china-tip-grid small {
  display:block;
}

.china-name-board b,
.china-fee-board strong,
.china-wallet-split strong,
.china-refund-path strong,
.china-tip-grid strong {
  font-size:1.05rem;
}

.china-name-board small,
.china-fee-board small,
.china-wallet-split span,
.china-refund-path span,
.china-tip-grid small {
  margin-top:5px;
  color:var(--muted);
  font-weight:750;
}

.china-fee-board {
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:linear-gradient(145deg,#d9f2ef,#fff 52%,#fff0bc);
  box-shadow:5px 6px 0 #18564f;
}

.china-fee-board > span:nth-child(1) strong {
  color:#18564f;
}

.china-fee-board > span:nth-child(2) strong {
  color:#842f2c;
}

.china-fee-board > span:nth-child(3) strong {
  color:#275371;
}

.china-qr-path {
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr;
  align-items:center;
  gap:14px;
  margin:28px 0;
  padding:20px;
  border:3px solid var(--ink);
  border-radius:6px;
  background:linear-gradient(145deg,#d9f2ef,#fff 52%,#f8dfdc);
  box-shadow:5px 6px 0 #18564f;
}

.china-qr-path > div {
  min-height:112px;
  padding:16px 10px;
  border:3px solid var(--ink);
  border-radius:5px;
  background:#fff;
  box-shadow:3px 4px 0 var(--ink);
  text-align:center;
}

.china-qr-path strong,
.china-qr-path span {
  display:block;
}

.china-qr-path span {
  margin-top:5px;
  color:var(--muted);
  font-weight:750;
}

.china-qr-path > b {
  font-size:1.35rem;
}

.china-wallet-split {
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:linear-gradient(145deg,#fff0bc,#fff 52%,#d9f2ef);
  box-shadow:5px 6px 0 #765716;
}

.china-cash-slip,
.china-refund-slip {
  width:min(100%,620px);
  margin:28px auto;
  padding:22px;
  border:3px solid var(--ink);
  border-radius:5px;
  background:linear-gradient(150deg,#fff,#fff0bc);
  box-shadow:5px 6px 0 #765716;
}

.china-cash-slip > span,
.china-refund-slip > span {
  display:block;
  font-size:.78rem;
  font-weight:950;
}

.china-cash-slip > strong,
.china-refund-slip > strong {
  display:block;
  margin:7px 0 16px;
  padding:9px;
  border:3px double var(--ink);
  text-align:center;
  font-size:clamp(1.35rem,4vw,2.1rem);
}

.china-cash-slip > strong {
  color:#765716;
}

.china-refund-slip > strong {
  color:#275371;
}

.china-cash-slip div,
.china-refund-slip div {
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:9px 0;
  border-bottom:2px dotted rgba(22,22,22,.32);
}

.china-cash-slip div:last-child,
.china-refund-slip div:last-child {
  border-bottom:0;
}

.china-refund-path {
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:linear-gradient(145deg,#dcecf7,#fff 50%,#f8dfdc);
  box-shadow:5px 6px 0 #275371;
}

.china-tip-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:linear-gradient(145deg,#ede3f3,#fff 52%,#fff0bc);
  box-shadow:5px 6px 0 #523c61;
}

.china-article-page .article-money-explorer {
  background:linear-gradient(145deg,#fffafa,#fff 52%,#edf7f5);
}

@media (max-width:700px) {
  .china-name-board,
  .china-fee-board,
  .china-wallet-split,
  .china-refund-path,
  .china-tip-grid,
  .china-qr-path {
    grid-template-columns:1fr;
  }

  .china-qr-path > b {
    text-align:center;
    transform:rotate(90deg);
  }

  .china-qr-path > div {
    min-height:0;
  }

  .china-cash-slip div,
  .china-refund-slip div {
    display:grid;
    gap:3px;
  }
}
