/* China Panda precious-metal family hub */
.panda-hub {
  --panda-ivory: #f7f3ec;
  --panda-paper: #fbf8f2;
  --panda-ink: #10283a;
  --panda-ink-2: #172330;
  --panda-gold: #b58b3a;
  --panda-gold-2: #c39a4b;
  --panda-red: #8c1d18;
  --panda-silver: #bdc3c7;
  --panda-stone: #d9d2c8;
  --panda-muted: #68727a;
  --panda-line: rgba(16, 40, 58, 0.14);
  --panda-serif: Georgia, "Times New Roman", "Noto Serif SC", serif;
  --panda-sans: Inter, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --panda-frame: min(1480px, calc(100% - 96px));
  overflow-x: clip;
  background: var(--panda-ivory);
  color: var(--panda-ink);
  font-family: var(--panda-sans);
  font-size: 16px;
  line-height: 1.6;
}

.panda-hub img { display: block; max-width: 100%; }
.panda-frame { width: var(--panda-frame); margin-inline: auto; }
.panda-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  color: #7b7770;
  font-size: 12px;
  white-space: nowrap;
}
.panda-breadcrumb a { color: inherit; text-decoration: none; }
.panda-breadcrumb a:hover { color: var(--panda-gold); }

.panda-hero {
  position: relative;
  min-height: 910px;
  overflow: hidden;
  background: #dcd3c4;
}
.panda-hero__architecture {
  position: absolute;
  inset: 0 0 132px;
  background: url("/images/bullion/china/panda/temple-hall-approved-crop.jpg") center 40% / cover no-repeat;
}
.panda-hero__wash {
  position: absolute;
  inset: 0 0 132px;
  background:
    linear-gradient(90deg, rgba(247, 243, 236, 0.98) 0%, rgba(247, 243, 236, 0.94) 35%, rgba(247, 243, 236, 0.38) 62%, rgba(16, 40, 58, 0.10) 100%),
    linear-gradient(0deg, rgba(16, 40, 58, 0.20), transparent 50%);
}
.panda-hero__inner {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  padding: 58px 0 105px;
}
.panda-hero__copy { max-width: 690px; }
.panda-eyebrow {
  margin: 0 0 16px;
  color: var(--panda-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.panda-hero h1 {
  margin: 0;
  font: clamp(58px, 5.2vw, 92px) / 0.98 var(--panda-serif);
  letter-spacing: -0.045em;
}
.panda-hero__secondary {
  margin: 24px 0 0;
  font: 500 23px / 1.3 var(--panda-sans);
  letter-spacing: 0.15em;
}
.panda-hero__deck {
  max-width: 610px;
  margin: 28px 0 24px;
  color: #344956;
  font-size: 18px;
  line-height: 1.75;
}
.panda-text-link {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--panda-gold);
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}
.panda-text-link span { margin-left: 12px; color: var(--panda-gold); }
.panda-text-link:focus-visible { outline: 3px solid var(--panda-red); outline-offset: 5px; }
.panda-hero__coins { position: relative; height: 590px; }
.panda-coin {
  position: absolute;
  margin: 0;
  filter: drop-shadow(0 22px 24px rgba(15, 25, 31, 0.22));
}
.panda-coin img { width: 100%; height: auto; object-fit: contain; }
.panda-coin figcaption {
  position: absolute;
  right: 5%;
  bottom: 2%;
  padding: 4px 8px;
  background: rgba(247, 243, 236, 0.88);
  color: var(--panda-ink);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.panda-coin--gold { z-index: 2; top: 45px; left: 0; width: min(370px, 27vw); }
.panda-coin--silver { z-index: 3; right: 15px; bottom: 10px; width: min(440px, 32vw); }
.panda-hero-facts {
  position: relative;
  z-index: 5;
  min-height: 132px;
  margin-top: -132px;
  padding: 24px 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: rgba(251, 248, 242, 0.96);
  box-shadow: 0 16px 50px rgba(30, 28, 21, 0.12);
}
.panda-hero-facts div { padding: 0 30px; border-right: 1px solid var(--panda-line); }
.panda-hero-facts div:last-child { border: 0; }
.panda-hero-facts span,
.panda-hero-facts small { display: block; color: var(--panda-muted); font-size: 11px; }
.panda-hero-facts span { letter-spacing: 0.13em; text-transform: uppercase; }
.panda-hero-facts strong { display: block; margin: 5px 0; font: 24px var(--panda-serif); }

.panda-section { padding: 120px 0; scroll-margin-top: 24px; }
.panda-section-heading h2 {
  margin: 0;
  font: clamp(42px, 4vw, 66px) / 1.03 var(--panda-serif);
  letter-spacing: -0.035em;
}
.panda-section-heading > p:last-child { margin: 14px 0 0; color: var(--panda-muted); font-size: 14px; letter-spacing: 0.08em; }
.panda-section-heading--center { margin-bottom: 58px; text-align: center; }
.panda-section-heading--light > p:last-child { color: #c9d0d4; }

.panda-family { background: var(--panda-paper); }
.panda-family-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 24px; }
.panda-family-card {
  min-height: 390px;
  padding: 26px 32px 26px 14px;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--panda-line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.panda-family-card:hover,
.panda-family-card:focus-visible {
  border-color: var(--panda-gold);
  outline: none;
  box-shadow: 0 20px 50px rgba(16, 40, 58, 0.09);
  transform: translateY(-4px);
}
.panda-family-card:focus-visible { box-shadow: 0 0 0 4px rgba(140, 29, 24, 0.30), 0 20px 50px rgba(16, 40, 58, 0.09); }
.panda-family-card__art { height: 100%; padding: 20px; display: grid; place-items: center; }
.panda-family-card__art img {
  max-height: 290px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(16, 40, 58, 0.18));
}
.panda-family-card__copy,
.panda-family-card__copy > span { display: block; }
.panda-family-card--gold { background: #f2e7ca; }
.panda-family-card--silver { background: #fff; }
.panda-family-card--platinum { background: #e9eceb; }
.panda-family-card--history { background: #efe6d9; }
.panda-family-card--history .panda-family-card__art img { max-height: 280px; object-fit: cover; }
.panda-card-kicker {
  margin: 0 0 10px;
  color: var(--panda-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.panda-family-card__copy > strong { font: 38px / 1.05 var(--panda-serif); }
.panda-family-card__copy > strong small { display: block; margin-top: 10px; font: 500 13px var(--panda-sans); letter-spacing: 0.1em; }
.panda-card-body { max-width: 360px; margin-top: 14px; color: #536069; font-size: 14px; }
.panda-card-cta { margin-top: 22px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.panda-card-cta b { margin-left: 12px; color: var(--panda-gold); }

.panda-transition { background: var(--panda-ink); color: #f8f4ed; }
.panda-transition__grid { display: grid; grid-template-columns: 310px 1fr; gap: 100px; align-items: center; }
.panda-transition-track { display: grid; grid-template-columns: 1fr 36px 1fr 36px 1fr; align-items: center; }
.panda-transition-track article { min-height: 265px; padding: 30px 24px 20px; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.panda-transition-track article.is-focus { border-color: var(--panda-gold); background: rgba(181, 139, 58, 0.12); }
.panda-transition-track article > span { color: var(--panda-gold-2); font-size: 11px; letter-spacing: 0.16em; }
.panda-transition-track h3 { margin: 20px 0 10px; font: 28px var(--panda-serif); }
.panda-transition-track p { color: #bdc8cf; font-size: 13px; }
.panda-transition-arrow { color: var(--panda-gold); font-size: 20px; text-align: center; }

.panda-annual { background: var(--panda-ivory); }
.panda-annual__intro { margin-bottom: 70px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 100px; align-items: end; }
.panda-annual__intro > p { color: var(--panda-muted); font-size: 17px; }
.panda-era-strip { display: grid; grid-template-columns: repeat(6, 1fr); border-block: 1px solid var(--panda-line); }
.panda-era-strip article { min-height: 350px; padding: 28px 24px; border-right: 1px solid var(--panda-line); text-align: center; }
.panda-era-strip article:last-child { border: 0; }
.panda-era-strip article > span { display: block; color: var(--panda-gold); font: 18px var(--panda-serif); text-align: left; }
.panda-era-strip h3 { margin: 22px 0 8px; font: 21px var(--panda-serif); }
.panda-era-strip p { color: var(--panda-muted); font-size: 12px; }
.panda-era-image img {
  display: block;
  width: 130px;
  height: 130px;
  aspect-ratio: 1;
  margin: 26px auto 0;
  background: transparent;
  filter: drop-shadow(0 10px 12px rgba(16, 40, 58, 0.12));
  object-fit: contain;
}
.panda-media-note { max-width: 760px; margin: 26px auto 0; color: var(--panda-muted); font-size: 11px; text-align: center; }

.panda-love { position: relative; overflow: hidden; background: #eee4d7; }
.panda-love::before { content: "爱"; position: absolute; top: -100px; right: -20px; color: rgba(140, 29, 24, 0.035); font: 430px / 1 var(--panda-serif); }
.panda-love__grid { position: relative; display: grid; grid-template-columns: 380px 1fr; gap: 100px; }
.panda-love .panda-eyebrow { color: var(--panda-red); }
.panda-love h2 { margin: 0; font: 72px / 0.95 var(--panda-serif); }
.panda-love__secondary { color: var(--panda-red); font-size: 19px; letter-spacing: 0.2em; }
.panda-love__copy > p:last-child { color: #5d5a57; }
.panda-love-timeline { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(140, 29, 24, 0.25); list-style: none; }
.panda-love-timeline li { position: relative; min-height: 145px; padding: 28px 20px; border-bottom: 1px solid rgba(140, 29, 24, 0.15); }
.panda-love-timeline li::before { content: ""; position: absolute; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: #8e8175; }
.panda-love-timeline span,
.panda-love-timeline b,
.panda-love-timeline small { display: block; }
.panda-love-timeline span { color: var(--panda-red); font: 18px var(--panda-serif); }
.panda-love-timeline b { margin-top: 10px; font: 19px var(--panda-serif); }
.panda-love-timeline small { color: #7d746d; }
.panda-love-timeline .is-highlight { background: rgba(255, 255, 255, 0.32); }
.panda-love-timeline .is-highlight::before { background: var(--panda-red); }

.panda-milestones { background: #fff; }
.panda-milestone-line { position: relative; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); list-style: none; }
.panda-milestone-line::before { content: ""; position: absolute; top: 16px; right: 6%; left: 6%; height: 1px; background: linear-gradient(90deg, var(--panda-gold), var(--panda-red)); }
.panda-milestone-line li { position: relative; scroll-margin-top: 24px; text-align: center; }
.panda-milestone-line li::before { content: ""; width: 10px; height: 10px; margin: 11px auto 32px; display: block; border: 2px solid var(--panda-gold); border-radius: 50%; background: #fff; }
.panda-milestone-line li:last-child::before { border-color: var(--panda-red); }
.panda-milestone-line b { font: 26px var(--panda-serif); }
.panda-milestone-line span { max-width: 120px; margin: 8px auto 0; display: block; color: var(--panda-muted); font-size: 11px; }

.panda-made { background: var(--panda-paper); }
.panda-made__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 100px; align-items: center; }
.panda-made__photo { position: relative; height: 650px; margin: 0; overflow: hidden; }
.panda-made__photo img { width: 100%; height: 100%; object-fit: cover; }
.panda-made__photo figcaption { position: absolute; right: 20px; bottom: 18px; padding: 4px 8px; background: rgba(16, 40, 58, 0.72); color: #fff; font-size: 10px; }
.panda-made__intro { max-width: 650px; color: var(--panda-muted); font-size: 16px; }
.panda-mint-list { margin-top: 40px; border-top: 1px solid var(--panda-line); }
.panda-mint-list article { padding: 22px 0; display: grid; grid-template-columns: 50px 1fr 1fr; align-items: center; border-bottom: 1px solid var(--panda-line); }
.panda-mint-list span { color: var(--panda-gold); font-size: 10px; }
.panda-mint-list h3 { margin: 0; font: 25px var(--panda-serif); }
.panda-mint-list p { margin: 0; color: var(--panda-muted); font-size: 12px; }

.panda-authority { padding: 105px 0; background: var(--panda-ink-2); color: #f4f0e9; }
.panda-authority__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 120px; }
.panda-authority h2 { margin: 0; font: 50px / 1.05 var(--panda-serif); }
.panda-authority dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.panda-authority dl div { padding: 25px; border-top: 1px solid rgba(255, 255, 255, 0.17); }
.panda-authority dt { color: var(--panda-gold-2); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }
.panda-authority dd { margin: 9px 0 0; font: 20px var(--panda-serif); }
.panda-authority dd small { margin-top: 7px; display: block; color: #aeb8bf; font: 11px / 1.5 var(--panda-sans); }

.panda-sources { background: #efe6d8; }
.panda-sources__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 140px; }
.panda-sources h2 { margin: 0; font: 50px / 1.05 var(--panda-serif); }
.panda-sources p { max-width: 580px; color: var(--panda-muted); }
.panda-source-links { border-top: 1px solid var(--panda-line); }
.panda-source-links a { padding: 17px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--panda-line); color: inherit; font: 21px var(--panda-serif); text-decoration: none; }
.panda-source-links a:hover,
.panda-source-links a:focus-visible { color: var(--panda-red); }
.panda-source-links a:focus-visible { outline: 3px solid var(--panda-red); outline-offset: 4px; }
.panda-source-links span { color: var(--panda-gold); }

@media (max-width: 1100px) {
  .panda-hub { --panda-frame: min(calc(100% - 56px), 1040px); }
  .panda-hero { min-height: 790px; }
  .panda-hero__inner { grid-template-columns: 1.05fr 0.95fr; min-height: 670px; padding-bottom: 90px; }
  .panda-coin--gold { left: 15px; }
  .panda-family-card { grid-template-columns: 42% 58%; padding-right: 22px; }
  .panda-transition__grid { grid-template-columns: 250px 1fr; gap: 50px; }
  .panda-era-strip { grid-template-columns: repeat(3, 1fr); }
  .panda-era-strip article:nth-child(3n) { border-right: 0; }
  .panda-love__grid { grid-template-columns: 300px 1fr; gap: 50px; }
  .panda-made__grid { gap: 50px; }
}

@media (max-width: 900px) {
  .panda-hub-route .topbar {
    position: relative;
    min-height: 70px;
    padding: 10px 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  .panda-hub-route .topbar .main-nav,
  .panda-hub-route .topbar .account-strip { display: none; }
  .panda-hub-route .topbar .language-switcher {
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .panda-hub-route .topbar .brand-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .panda-hub-route .topbar .brand strong { font-size: 0.9rem; white-space: nowrap; }
  .panda-hub-route .topbar .brand small { display: none; }
  .panda-hub-route .topbar .language-switcher a { padding: 6px; font-size: 0.78rem; }
}

@media (max-width: 760px) {
  .panda-hub { --panda-frame: calc(100% - 34px); font-size: 15px; }
  .panda-breadcrumb { min-height: 48px; overflow: hidden; font-size: 10px; }
  .panda-breadcrumb > span:nth-last-child(n + 4) { display: none; }
  .panda-hero { min-height: 1060px; }
  .panda-hero__architecture { inset: 465px 0 130px; background-position: 50% 50%; }
  .panda-hero__wash {
    inset: 0 0 130px;
    background: linear-gradient(180deg, var(--panda-ivory) 0%, var(--panda-ivory) 43%, rgba(247, 243, 236, 0.55) 65%, rgba(16, 40, 58, 0.05));
  }
  .panda-hero__inner { min-height: 930px; padding: 34px 0; display: block; }
  .panda-hero__copy { position: relative; z-index: 4; }
  .panda-hero h1 { font-size: clamp(40px, 12.3vw, 48px); line-height: 1; }
  .panda-hero__secondary { margin-top: 16px; font-size: 17px; letter-spacing: 0.08em; }
  .panda-hero__deck { margin: 20px 0; font-size: 15px; line-height: 1.6; }
  .panda-hero__coins { height: 430px; margin-top: 25px; }
  .panda-coin--silver { right: -18px; bottom: 0; width: 245px; }
  .panda-coin--gold { top: 10px; left: -8px; width: 205px; }
  .panda-coin figcaption { font-size: 8px; }
  .panda-hero-facts { min-height: 180px; margin-top: -130px; padding: 12px; grid-template-columns: 1fr 1fr; }
  .panda-hero-facts div { padding: 14px; border-right: 1px solid var(--panda-line); border-bottom: 1px solid var(--panda-line); }
  .panda-hero-facts div:nth-child(2) { border-right: 0; }
  .panda-hero-facts div:nth-child(3),
  .panda-hero-facts div:nth-child(4) { border-bottom: 0; }
  .panda-hero-facts div:nth-child(4) { border-right: 0; }
  .panda-hero-facts strong { font-size: 18px; }
  .panda-hero-facts span,
  .panda-hero-facts small { font-size: 9px; }
  .panda-section { padding: 78px 0; }
  .panda-section-heading h2 { font-size: 42px; }
  .panda-section-heading--center { margin-bottom: 36px; }
  .panda-family-grid { display: block; }
  .panda-family-card { min-height: 0; margin-bottom: 14px; padding: 18px; grid-template-columns: 104px 1fr; }
  .panda-family-card__art { padding: 7px; }
  .panda-family-card__art img { height: 94px; max-height: 94px; }
  .panda-family-card__copy > strong { font-size: 25px; }
  .panda-card-body { margin-top: 8px; font-size: 12px; line-height: 1.45; }
  .panda-card-cta { margin-top: 8px; }
  .panda-family-card--history .panda-family-card__art img { height: 110px; }
  .panda-transition__grid { display: block; }
  .panda-transition-track { margin-top: 40px; display: block; border-left: 1px solid rgba(255, 255, 255, 0.20); }
  .panda-transition-track article { min-height: 0; padding: 22px; border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .panda-transition-arrow { height: 24px; transform: rotate(90deg); }
  .panda-annual__intro { margin-bottom: 40px; display: block; }
  .panda-annual__intro > p { font-size: 14px; }
  .panda-era-strip { grid-template-columns: 1fr 1fr; }
  .panda-era-strip article { min-height: 280px; padding: 18px; }
  .panda-era-strip article:nth-child(3n) { border-right: 1px solid var(--panda-line); }
  .panda-era-strip article:nth-child(2n) { border-right: 0; }
  .panda-era-image img { width: 105px; height: 105px; }
  .panda-love__grid { display: block; }
  .panda-love h2 { font-size: 56px; }
  .panda-love-timeline { margin-top: 45px; grid-template-columns: 1fr 1fr; }
  .panda-milestone-line { margin-top: 40px; display: block; }
  .panda-milestone-line::before { top: 0; right: auto; bottom: 0; left: 8px; width: 1px; height: auto; }
  .panda-milestone-line li { min-height: 56px; display: grid; grid-template-columns: 30px 60px 1fr; align-items: center; text-align: left; }
  .panda-milestone-line li::before { width: 9px; height: 9px; margin: 0; }
  .panda-milestone-line b { font-size: 21px; }
  .panda-milestone-line span { max-width: none; margin: 0; }
  .panda-made__grid { display: flex; flex-direction: column; }
  .panda-made__photo { order: 2; width: 100%; height: 340px; }
  .panda-mint-list article { grid-template-columns: 35px 1fr; }
  .panda-mint-list article p { grid-column: 2; }
  .panda-authority { padding: 75px 0; }
  .panda-authority__inner { display: block; }
  .panda-authority h2 { font-size: 40px; }
  .panda-authority dl { margin-top: 40px; grid-template-columns: 1fr; }
  .panda-authority dl div { padding: 18px 0; }
  .panda-sources__inner { display: block; }
  .panda-sources h2 { font-size: 40px; }
  .panda-source-links { margin-top: 40px; }
}

@media (max-width: 390px) {
  .panda-family-card { grid-template-columns: 92px 1fr; padding: 14px; }
  .panda-family-card__art img { height: 82px; }
  .panda-family-card__copy > strong { font-size: 22px; }
  .panda-card-cta { font-size: 9px; }
  .panda-source-links a { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .panda-hub *,
  .panda-hub *::before,
  .panda-hub *::after { scroll-behavior: auto !important; transition: none !important; }
}
