/* Scoped layouts for the two new reading languages; existing brand and resources remain intact. */
html[lang="zh-Hans"] body.pb-locale-page {
  --local-sans: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --local-title: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --serif: var(--local-title); --sans: var(--local-sans);
}
html[lang="ru"] body.pb-locale-page {
  --local-sans: "Segoe UI", "Noto Sans", Arial, sans-serif;
  --local-title: Georgia, "Noto Serif", "Times New Roman", serif;
  --serif: var(--local-title); --sans: var(--local-sans);
}
.pb-locale-page { font-family:var(--local-sans)!important; letter-spacing:normal; }
.pb-locale-page :is(h1,h2,h3) { font-family:var(--local-title)!important; letter-spacing:normal!important; }
.pb-locale-page :is(a,button,summary) { letter-spacing:0!important; }
.pb-locale-page .pb-local-header .i18n-header-inner { display:grid!important; grid-template-columns:minmax(150px,220px) minmax(0,1fr) auto; align-items:center; gap:clamp(12px,2vw,28px); padding-block:16px!important; }
.pb-locale-page .pb-local-header .i18n-logo { width:min(100%,210px); max-inline-size:100%; }
.pb-locale-page .pb-local-header .i18n-logo img { width:100%;height:auto; }
.pb-local-nav { display:flex; justify-content:center; flex-wrap:wrap; align-items:center; column-gap:clamp(15px,2vw,27px); row-gap:8px; min-width:0; }
.pb-local-nav>a { font-size:15px;font-weight:620;color:#153e46!important; text-decoration:none;padding:8px 2px; line-height:1.35; }
.pb-local-nav>a[aria-current="page"] { border-block-end:2px solid #9a713a; }
.pb-locale-page .pb-local-header .button { font-family:var(--local-sans)!important; font-size:14px; line-height:1.35; padding:12px 16px; max-width:100%; white-space:normal; min-block-size:44px; text-align:center; }
.pb-locale-page .pb-local-checked { font-size:.82rem!important; opacity:.94; margin-block:12px 0!important; }
.pb-local-alternates { display:flex!important; flex-wrap:wrap; align-items:center; gap:5px 9px; margin-block:12px 6px!important; font-size:13px; line-height:1.5; }
.pb-local-alternates>:is(a,strong) { white-space:normal!important; overflow-wrap:anywhere; }
:is(.guide-hero,.seo-page-hero,.i18n-hero) :is(.pb-local-alternates,.pb-fiscal-languages) :is(a,strong,span) { color:#f6f1e5!important; }
:is(.guide-hero,.seo-page-hero,.i18n-hero) :is(.pb-local-alternates,.pb-fiscal-languages) a {text-decoration:underline!important;text-underline-offset:3px;}
:is(.guide-hero,.seo-page-hero,.i18n-hero) .guide-languages :is(a[lang="zh-Hans"],a[lang="ru"]){color:#f6f1e5!important;text-decoration:underline!important;text-underline-offset:3px;}
.pb-locale-page .i18n-hero .wrap { max-width:1120px; }
.pb-locale-page main .i18n-hero .wrap>h1 { max-inline-size:760px!important; line-height:1.3!important; margin-block:7px 13px!important; }
.pb-locale-page main .i18n-hero .i18n-lead { font-weight:450!important; }
html[lang="zh-Hans"] body.pb-locale-page main .i18n-hero .wrap>h1 { font-weight:650!important;font-size:clamp(27px,3vw,40px)!important;line-height:1.4!important; }
html[lang="zh-Hans"] body.pb-locale-page main .i18n-hero .wrap>p:not(.eyebrow) { max-inline-size:740px!important; line-height:1.8!important; }
html[lang="ru"] body.pb-locale-page main .i18n-hero .wrap>h1 { font-weight:650!important;line-height:1.17!important; }
.pb-locale-page .i18n-section p { overflow-wrap:anywhere; }
html[lang="zh-Hans"] body.pb-locale-page .translated-reading-body :is(p,li),html[lang="zh-Hans"] body.pb-locale-page .pb-local-hub-content :is(p,li){font-size:16px!important;line-height:1.85!important;word-break:normal;}
html[lang="ru"] body.pb-locale-page .translated-reading-body :is(p,li),html[lang="ru"] body.pb-locale-page .pb-local-hub-content :is(p,li){font-size:16px!important;line-height:1.7!important;}
.pb-locale-page .translated-reading-body h2 { line-height:1.38!important; }
.pb-locale-page .translated-reading-body .pb-local-small { font-size:13px!important; color:#536865; }
.pb-locale-page .translated-reading-index li a { line-height:1.45; overflow-wrap:anywhere; }
.pb-locale-page .pb-faq-disclosure>summary { font-weight:650; line-height:1.45; padding-block:13px; overflow-wrap:anywhere; }
.pb-locale-page .i18n-sources ul { padding-inline-start:1.25em; }
.pb-locale-page .i18n-sources a { text-decoration:underline!important; overflow-wrap:anywhere; color:#174a4e!important; }
.pb-local-hub-content { max-width:1120px; padding-block:27px 35px; }
.pb-local-hub-content .i18n-section { padding-block:20px!important; }
.pb-local-hub-content .i18n-section>.wrap { width:100%!important; }
.pb-local-hub-content .i18n-section>.wrap>p { max-inline-size:920px; }
.pb-local-resource-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:14px; margin-block:18px 0; text-align:start; }
.pb-local-resource-grid:not(:has(> :nth-child(2))) { grid-template-columns:minmax(0,1fr); }
@media(min-width:901px){.pb-local-hub-content .pb-local-resource-grid:has(> :nth-child(3)):not(:has(> :nth-child(4))) { grid-template-columns:repeat(3,minmax(0,1fr)); }}
.pb-local-resource-grid> :last-child:nth-child(odd):not(:first-child) { grid-column:1/-1; }
@media(min-width:901px){.pb-local-hub-content .pb-local-resource-grid:has(> :nth-child(3)):not(:has(> :nth-child(4)))> :last-child {grid-column:auto;}}
.pb-local-resource { display:flex; flex-direction:column; min-width:0; padding:17px; border:1px solid #d9dbd1; border-radius:12px; background:#fbfaf5; box-shadow:0 6px 22px #102e3c0a; }
.pb-local-resource h3 { font-size:1.02rem!important; font-weight:650!important; line-height:1.42!important; margin:0 0 8px!important; color:#173e46!important; overflow-wrap:anywhere; }
.pb-local-resource p { margin:0 0 14px!important; font-size:.9rem!important; line-height:1.58!important; color:#38595c; }
.pb-local-resource-action { display:flex!important; align-items:center; justify-content:center; gap:.35em; margin-block-start:auto!important; align-self:stretch; min-height:42px; border:1px solid #b4cdbe; border-radius:7px; background:#e7f0ea; color:#16463e!important; text-align:center; font-weight:650; text-decoration:none!important; padding:8px 12px; line-height:1.45; }
.pb-local-resource-action:is(:hover,:focus-visible) { background:#dbeade; border-color:#769f89; }
.pb-local-assessment { display:grid; justify-items:center; padding:clamp(18px,3vw,28px); text-align:center; border:1px solid #cdd9d1; border-radius:12px; background:#f1f5ee; gap:12px; }
.pb-local-assessment p { margin:0!important; text-align:center!important; }
.pb-local-assessment .button { max-inline-size:100%; min-inline-size:min(100%,260px); padding:13px 22px; line-height:1.45; font-family:var(--local-sans)!important; white-space:normal; }
.pb-local-es-form { color:#21524b!important; font-size:.92rem; text-decoration:underline!important; text-underline-offset:3px; min-height:32px; padding:4px 8px; }
.pb-local-table-wrap { max-inline-size:100%; margin:18px auto; border-radius:11px; overflow:hidden; border:1px solid #cbd4cc; }
.pb-local-numeric-table { width:100%; border-collapse:collapse; table-layout:fixed; font-family:var(--local-sans); font-size:14px; color:#173c42; background:#f8f8f2; font-variant-numeric:tabular-nums; }
.pb-local-numeric-table caption { padding:10px 12px; background:#edf1e8; font-weight:650; text-align:center; line-height:1.4; }
.pb-local-numeric-table :is(th,td) { border:1px solid #d2dcd4; padding:11px 8px; text-align:center; vertical-align:middle; overflow-wrap:normal; line-height:1.45; }
.pb-local-numeric-table thead th {background:#153d43;color:#fff; font-weight:650;}
.pb-local-numeric-table tbody th {background:#f0f4ef;font-weight:600;overflow-wrap:anywhere;}
.pb-local-numeric-table tbody tr:nth-child(2n) td { background:#f1f5ef; }
.pb-local-numeric-table tbody tr:last-child :is(th,td) { background:#e4eee6; color:#183e37; font-weight:650; }
.pb-local-language-catalog { margin-block:28px; }
.pb-local-language-catalog .pb-local-resource-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.pb-local-language-catalog .pb-local-resource h3[lang="zh-Hans"] { font-family:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC",sans-serif!important; }
.pb-local-language-catalog .pb-local-resource h3[lang="ru"] { font-family:"Segoe UI",Arial,sans-serif!important; }
@media(max-width:900px){
 .pb-locale-page .pb-local-header .i18n-header-inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px 12px; padding-block:10px!important; }
 .pb-locale-page .pb-local-header .i18n-logo { width:min(100%,190px); }
 .pb-locale-page .pb-local-header .pb-local-nav { grid-column:1/-1; grid-row:2; justify-content:space-around; gap:7px; border-block-start:1px solid #d8dcd1; padding-block-start:3px; }
 .pb-locale-page .pb-local-header .pb-local-nav>a { font-size:13px; min-height:36px; text-align:center; }
 .pb-locale-page .pb-local-header .button { grid-column:2; grid-row:1; font-size:13px; padding:8px 9px; }
 .pb-local-hub-content .pb-local-resource-grid:has(> :nth-child(2)) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .pb-locale-page .translated-reading-layout { padding-block:22px!important; }
}
@media(max-width:600px){
 .pb-local-resource-grid,.pb-local-hub-content .pb-local-resource-grid,.pb-local-language-catalog .pb-local-resource-grid { grid-template-columns:minmax(0,1fr);gap:12px; }
 .pb-local-resource { padding:15px; }
 .pb-local-hub-content { padding-block:12px 24px; }
 .pb-locale-page .i18n-hero { padding-block:24px!important; }
 .pb-local-alternates { gap:4px 7px; font-size:12.5px; }
 .pb-local-numeric-table { font-size:13px; }
 .pb-local-numeric-table :is(th,td) { padding:9px 5px; }
 .pb-local-numeric-table thead th { overflow-wrap:anywhere; }
}
@media(max-width:360px){ .pb-local-numeric-table{font-size:12px;} .pb-local-numeric-table :is(th,td){padding-inline:3px;} .pb-locale-page .pb-local-header .pb-local-nav>a{font-size:12px;} }
@media(prefers-reduced-motion:reduce){.pb-locale-page *{transition:none!important;scroll-behavior:auto!important;}}
