.cn-ip {
  --cn-ink: #10263b;
  --cn-muted: #465d70;
  --cn-line: #d4e1eb;
  color: var(--cn-ink);
  text-align: left;
  scroll-margin-top: 104px;
  margin: 2rem auto;
  max-width: 1152px;
  padding: clamp(18px, 3vw, 38px);
  border: 1px solid var(--cn-line);
  border-radius: 24px;
  background: linear-gradient(145deg, #f0f7fd, #f7fbfc 65%, #eef8f7);
}
.cn-ip .cn-ip-header { max-width: 735px; margin-bottom: 22px; }
.cn-ip .cn-ip-header h2 { margin: 0 0 10px; color: var(--cn-ink); font-size: clamp(1.65rem, 4vw, 2.35rem); line-height: 1.14; letter-spacing: -.035em; }
.cn-ip p { margin: 0; color: var(--cn-muted); line-height: 1.55; }
.cn-ip strong { color: var(--cn-ink); }
.cn-ip .cn-ip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cn-ip .cn-ip-card { min-width: 0; display: flex; flex-direction: column; padding: clamp(15px, 2.2vw, 25px); background: #fff; border: 1px solid #cedfe9; border-radius: 17px; }
.cn-ip .cn-ip-card-sg { background: #f9fffe; border-color: #8dbeb8; }
.cn-ip .cn-ip-card h3 { margin: 0 0 4px; color: var(--cn-ink); font-size: clamp(1.12rem, 2.3vw, 1.42rem); line-height: 1.2; }
.cn-ip .cn-ip-card > p { font-size: .92rem; }
.cn-ip .cn-ip-apps { margin: 15px 0 19px; flex: 1; }
.cn-ip .cn-ip-apps > div { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--cn-line); }
.cn-ip .cn-ip-apps dt, .cn-ip .cn-ip-apps dd { margin: 0; font-size: .88rem; line-height: 1.25; }
.cn-ip .cn-ip-apps dt { font-weight: 650; }
.cn-ip .cn-ip-apps dd { text-align: right; }
.cn-ip .cn-ip-state { display: inline-block; padding: 4px 7px; border-radius: 7px; font-size: .75rem; font-weight: 700; }
.cn-ip .is-available { color: #075a42; background: #e7f6ef; }
.cn-ip .is-limited { color: #793c13; background: #fff1de; }
.cn-ip a.cn-ip-cta { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 46px; padding: 9px 13px; border: 1px solid #315870; border-radius: 9px; color: #17435c; background: #fff; font-size: .92rem; font-weight: 750; text-decoration: none; }
.cn-ip .cn-ip-card-sg a.cn-ip-cta { color: #fff; background: #12584f; border-color: #12584f; }
.cn-ip a.cn-ip-cta:hover { box-shadow: 0 0 0 2px #80aeb5; }
.cn-ip a:focus-visible { outline: 3px solid #206a9c; outline-offset: 3px; }
.cn-ip a.cn-ip-example { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 5px; flex-wrap: wrap; margin-top: 4px; text-align: center; font-size: .85rem; color: #17435c; text-decoration: underline; text-underline-offset: 3px; }
.cn-ip .cn-ip-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 16px; font-size: .88rem; }
.cn-ip .cn-ip-sources { margin-top: 14px; font-size: .78rem; }
.cn-ip .cn-ip-sources a { color: #17435c; text-decoration: underline; text-underline-offset: 2px; }
.country-experience .cn-ip { width: calc(100% - 32px); }
.blog-content .cn-ip { max-width: none; }
@media (max-width: 620px) {
  .cn-ip .cn-ip-grid, .cn-ip .cn-ip-notes { grid-template-columns: 1fr; }
  .cn-ip .cn-ip-card { padding: 15px; }
}

.cn-ip .cn-ip-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.cn-ip[dir="rtl"] { text-align: right; }
.cn-ip[dir="rtl"] .cn-ip-apps dd { text-align: left; }
.cn-ip-results { scroll-margin-top: 104px; }
.cn-ip-results h2 { margin: 0 0 12px; font-size: 1.35rem; }
.cn-ip-results ul { list-style: none; margin: 0 0 12px; padding: 0; }
.cn-ip-results li { border-bottom: 1px solid var(--cn-line); }
.cn-ip-results a.cn-ip-example { justify-content: start; text-align: start; }
.cn-ip-results > a { color: #17435c; text-decoration: underline; }

/* Keep the chooser buttons distinct from the blog's inline prose links. */
#postBody .cn-ip a.cn-ip-cta {
  display: flex !important;
  color: #17435c !important;
  text-decoration: none !important;
}
#postBody .cn-ip .cn-ip-card-sg a.cn-ip-cta { color: #fff !important; }

/* The China article can send readers straight to the chooser before its hero image. */
#postContent .cn-article-lead { margin: 0 auto 1.15rem; max-width: 38rem; }
#postContent .cn-article-lead p { margin: 0 0 .75rem; color: #465d70; font-size: 1rem; line-height: 1.5; }
#postContent .cn-article-lead a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .6rem 1rem;
  border-radius: .6rem;
  background: #12584f;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
#postContent .cn-article-lead a:focus-visible { outline: 3px solid #206a9c; outline-offset: 3px; }
#postBody #location .cn-ip-header h2 { margin: 0 0 10px !important; }
#postBody #location .cn-ip-card h3 { margin: 0 0 4px !important; }
#postBody #location .cn-ip-card > p { margin: 0 !important; }
