/* ==========================================================================
   RADOCO — light "Apple-style" pages: Support, Community, Legal, Region,
   Supply Chain, Newsroom. Loaded together with style.css.
   ========================================================================== */
.page-light { background: #fff; }
.page-light .site-header { position: relative; background: #000; }
.page-light .header-main.is-sticky { position: static; height: var(--header-h); background: #000; box-shadow: none; animation: none; }
.page-light .header-main.is-sticky .logo img { height: 46px; }
.page-light main { background: #fff; }
.pg { --ink: #1d1d1f; --mute: #6e6e73; --mute-2: #86868b; --grey: #f5f5f7; --line: #d2d2d7; --r: 22px; --wrap: 1040px; --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: "Inter", var(--font-text); color: var(--ink); -webkit-font-smoothing: antialiased; background: #fff; }
.pg h1, .pg h2, .pg h3, .pg h4 { font-family: "Inter", var(--font-title); color: var(--ink); letter-spacing: -.025em; }
.pg a { color: var(--primary); }
.pg a:hover { color: var(--primary-dark); text-decoration: underline; }
.pg p { color: var(--ink); }
.pg .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.pg .wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.pg .grey { background: var(--grey); }
.pg .h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; line-height: 1.1; margin: 0 0 10px; }
.pg .h3 { font-size: 21px; font-weight: 600; margin: 0 0 8px; }
.pg .sub { font-size: 17px; color: var(--mute); margin: 0; line-height: 1.5; }
.pg .center { text-align: center; }
.pg .pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 980px; background: var(--primary); color: #fff; font: 500 15px/1 "Inter", var(--font-text); border: 0; cursor: pointer; transition: transform .35s var(--ease), background .25s; text-decoration: none !important; }
.pg .pill:hover { background: var(--primary-dark); color: #fff; transform: scale(1.03); }
.pg .pill.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.pg .pill.ghost:hover { background: var(--grey); }
.pg .pill.sm { height: 34px; padding: 0 16px; font-size: 13px; }
.pg .pill:disabled { opacity: .5; pointer-events: none; }
.pg .more { font-weight: 500; white-space: nowrap; }
.pg .more::after { content: " ›"; }
.pg svg { width: 1em; height: 1em; }
[data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-rv].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-rv] { opacity: 1; transform: none; transition: none; } }

/* ---------- hero ---------- */
.pg-hero { padding: 70px 24px 50px; text-align: center; }
.pg-hero .mark { width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(221, 51, 51, .3); }
.pg-hero .mark svg { width: 34px; height: 34px; }
.pg-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1.05; margin: 0 0 12px; }
.pg-hero .sub { font-size: clamp(17px, 1.8vw, 21px); }
.pg-search { position: relative; max-width: 640px; margin: 28px auto 0; }
.pg-search input { width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 0 20px 0 48px; font: 400 16px "Inter", var(--font-text); color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s; }
.pg input::placeholder, .pg textarea::placeholder { color: #86868b; opacity: 1; }
.pg-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(221, 51, 51, .12); }
.pg-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--mute-2); }

/* ---------- product row ---------- */
.pg-products { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px 24px 40px; }
.pg-products a { width: 128px; text-align: center; color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: none !important; }
.pg-products .pic { height: 96px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; transition: transform .5s var(--ease); }
.pg-products .pic img { max-height: 90px; max-width: 100px; width: auto; object-fit: contain; }
.pg-products a:hover .pic { transform: translateY(-4px) scale(1.04); }
.pg-products a.on { color: var(--primary); }

/* ---------- tiles / notices / cards ---------- */
.pg-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pg-tile { display: block; background: var(--grey); border-radius: var(--r); padding: 30px 26px; color: var(--ink); text-decoration: none !important; transition: transform .5s var(--ease), box-shadow .5s; }
.pg-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); color: var(--ink); }
.pg-tile .ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pg-tile .ic svg { width: 22px; height: 22px; }
.pg-tile h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.pg-tile p { font-size: 14px; color: var(--mute); margin: 0; line-height: 1.5; }
.pg-notice { background: var(--grey); border-radius: 16px; padding: 22px 28px; font-size: 14px; color: var(--ink); line-height: 1.7; }
.pg-notice p { margin: 0; }
.pg-notice svg { color: var(--primary); vertical-align: -2px; margin-right: 8px; }
.pg-split { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pg-split.rev { grid-template-columns: 1fr 1.1fr; }
.pg-split .art { background: var(--grey); min-height: 320px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pg-split .art img { max-width: 100%; max-height: 100%; object-fit: cover; width: 100%; height: 100%; }
.pg-split .art.collage { padding: 30px; gap: 14px; flex-wrap: wrap; }
.pg-split .art.collage img { width: 42%; height: 150px; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .15)); }
.pg-split .art.dark { background: radial-gradient(70% 70% at 50% 40%, #2b2b2f, #0b0b0c); }
.pg-split .txt { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.pg-split .txt h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin: 0 0 14px; line-height: 1.15; }
.pg-split .txt p { color: var(--mute); font-size: 16px; line-height: 1.6; margin: 0 0 18px; }
.pg-explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pg-explore .item { background: #fff; border-radius: var(--r); padding: 30px 26px; border: 1px solid var(--line); }
.pg-explore h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.pg-explore p { color: var(--mute); font-size: 14px; line-height: 1.55; margin: 0 0 14px; }
.pg-section { padding: 70px 0; }

/* ---------- knowledge base ---------- */
.kb-group { padding: 26px 0 6px; border-top: 1px solid var(--line); }
.kb-group:first-child { border-top: 0; }
.kb-group h3 { font-size: 20px; font-weight: 600; margin: 0 0 4px; display: flex; align-items: center; gap: 12px; }
.kb-group h3 img { width: 40px; height: 40px; object-fit: contain; }
.kb-group .m { font-size: 13px; color: var(--mute-2); margin: 0 0 8px 52px; }
.kb-group details { border-top: 1px solid #ebebf0; margin-left: 52px; }
.kb-group details:first-of-type { border-top: 0; }
.kb-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; font-size: 15px; font-weight: 500; }
.kb-group summary::-webkit-details-marker { display: none; }
.kb-group summary::after { content: "+"; color: var(--mute-2); font-weight: 400; font-size: 18px; transition: transform .3s; }
.kb-group details[open] summary::after { transform: rotate(45deg); }
.kb-group details p { margin: 0 0 16px; color: var(--mute); font-size: 15px; line-height: 1.6; max-width: 760px; }
.kb-group details p a { font-weight: 500; }
.kb-empty { text-align: center; color: var(--mute); padding: 30px 0; }
.kb-hidden { display: none !important; }
.kb-count { font-size: 13px; color: var(--mute-2); text-align: center; margin-top: 10px; min-height: 18px; }

/* ---------- community ---------- */
.cm-hero { background: linear-gradient(180deg, #fff, var(--grey)); }
.cm-cats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 26px 0 0; }
.cm-cats a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 980px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: none !important; transition: background .25s, border-color .25s; }
.cm-cats a:hover, .cm-cats a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cm-avatars { display: flex; justify-content: center; margin: 26px 0 6px; }
.cm-avatars span { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #fff; margin: 0 -8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 16px; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.cm-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.cm-list { border-top: 1px solid var(--line); }
.th-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: background .2s; }
.th-item:hover { background: #fafafa; color: var(--ink); }
.av { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 16px; flex: 0 0 auto; }
.av.staff { background: var(--primary); }
.th-item h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }
.th-item .ex { color: var(--mute); font-size: 14px; margin: 0 0 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.th-meta { font-size: 12.5px; color: var(--mute-2); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.th-meta .tag { background: var(--grey); border-radius: 6px; padding: 2px 8px; color: var(--mute); font-weight: 500; }
.th-meta .staff { color: var(--primary); font-weight: 600; }
.th-meta .pin { color: var(--primary); }
.th-count { text-align: center; color: var(--mute-2); font-size: 12px; min-width: 56px; align-self: center; }
.th-count b { display: block; font-size: 20px; color: var(--ink); font-weight: 600; }
.cm-side .box { background: var(--grey); border-radius: var(--r); padding: 26px 24px; margin-bottom: 18px; }
.cm-side h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.cm-side p { font-size: 14px; color: var(--mute); margin: 0 0 14px; line-height: 1.5; }
.cm-side .stat { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-top: 1px solid #e3e3e8; }
.cm-side .stat:first-of-type { border-top: 0; }
.cm-side .stat b { font-weight: 600; }
.cm-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cm-featured a { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; color: var(--ink); text-decoration: none !important; transition: transform .5s var(--ease), box-shadow .5s; display: flex; flex-direction: column; }
.cm-featured a:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); color: var(--ink); }
.cm-featured h3 { font-size: 17px; font-weight: 600; margin: 14px 0 8px; line-height: 1.3; }
.cm-featured p { font-size: 14px; color: var(--mute); line-height: 1.55; margin: 0 0 14px; flex: 1; }
.cm-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.cm-how .ic { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.cm-how .ic svg { width: 24px; height: 24px; }
.cm-how h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.cm-how p { font-size: 14px; color: var(--mute); margin: 0; line-height: 1.5; }
.cm-disclaimer { font-size: 11.5px; color: var(--mute-2); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 20px; }
.cm-empty { text-align: center; color: var(--mute); padding: 50px 0; }
/* forms */
.cm-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; }
.cm-form h2 { font-size: 22px; font-weight: 700; margin: 0 0 18px; }
.cm-form .row { margin-bottom: 14px; }
.cm-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cm-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink); }
.cm-form label small { color: var(--mute-2); font-weight: 400; }
.cm-form input, .cm-form textarea, .cm-form select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 400 15px "Inter", var(--font-text); color: var(--ink); background: #fff; outline: none; transition: border-color .25s, box-shadow .25s; }
.cm-form input:focus, .cm-form textarea:focus, .cm-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(221, 51, 51, .12); }
.cm-form textarea { min-height: 140px; resize: vertical; }
.cm-form .hp { position: absolute; left: -9999px; }
.cm-form .rules { font-size: 12px; color: var(--mute-2); margin: 12px 0 0; }
.cm-form .msg { font-size: 14px; margin-top: 12px; min-height: 20px; }
.cm-form .msg.err { color: #c0392b; } .cm-form .msg.ok { color: #1a7f37; }
.cm-modal { position: fixed; inset: 0; z-index: 400; background: rgba(0, 0, 0, .5); display: none; align-items: center; justify-content: center; padding: 20px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cm-modal.open { display: flex; }
.cm-modal .cm-form { width: 100%; max-width: 640px; max-height: 92vh; overflow: auto; position: relative; animation: cm-in .4s var(--ease); }
@keyframes cm-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.cm-modal .x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--grey); font-size: 20px; cursor: pointer; }
/* thread page */
.th-post { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.th-post .av { width: 56px; height: 56px; font-size: 18px; }
.th-post .who { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.th-post .who b { font-size: 15px; }
.th-post .who span { font-size: 12.5px; color: var(--mute-2); }
.th-post .body { font-size: 16px; line-height: 1.65; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.th-post.op { border-bottom: 2px solid var(--ink); }
.th-post.op h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.15; margin: 0 0 14px; }
.th-post .acts { margin-top: 14px; display: flex; gap: 10px; }
.th-replies-title { font-size: 18px; font-weight: 600; margin: 30px 0 0; }

/* ---------- legal ---------- */
.lg-hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lg-hub a { background: var(--grey); border-radius: var(--r); padding: 30px 28px; color: var(--ink); text-decoration: none !important; transition: transform .5s var(--ease); }
.lg-hub a:hover { transform: translateY(-4px); color: var(--ink); }
.lg-hub h2 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.lg-hub p { font-size: 14px; color: var(--mute); margin: 0 0 12px; line-height: 1.55; }
.lg-layout { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.lg-nav { position: sticky; top: 24px; }
.lg-nav h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--mute-2); margin: 0 0 12px; }
.lg-nav a { display: block; font-size: 14px; color: var(--ink); padding: 6px 0; text-decoration: none !important; border-left: 2px solid transparent; padding-left: 12px; margin-left: -14px; }
.lg-nav a:hover, .lg-nav a.on { color: var(--primary); border-color: var(--primary); }
.lg-doc h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; margin: 0 0 6px; line-height: 1.1; }
.lg-doc .upd { font-size: 13px; color: var(--mute-2); margin: 0 0 36px; }
.lg-doc h2 { font-size: 21px; font-weight: 600; margin: 34px 0 10px; }
.lg-doc p { font-size: 16px; line-height: 1.7; color: #3a3a3c; margin: 0 0 14px; }
.lg-doc .foot { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }

/* ---------- region ---------- */
.rg-group { padding: 34px 0; border-top: 1px solid var(--line); }
.rg-group:first-child { border-top: 0; }
.rg-group h2 { font-size: 22px; font-weight: 600; margin: 0 0 18px; }
.rg-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 30px; }
.rg-item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ebebf0; font-size: 15px; }
.rg-item .fl { margin-right: 8px; }
.rg-item .ls a { font-size: 13px; color: var(--mute); margin-left: 10px; text-decoration: none !important; }
.rg-item .ls a:hover { color: var(--primary); }
.rg-item.cur { font-weight: 600; }

/* ---------- supply chain ---------- */
.sc-hero { background: #000; color: #f5f5f7; padding: 90px 24px 70px; text-align: center; position: relative; overflow: hidden; }
.sc-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 0%, rgba(221, 51, 51, .25), transparent 70%); }
.sc-hero .k { position: relative; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #a1a1a6; font-weight: 600; margin-bottom: 16px; }
.sc-hero h1 { position: relative; color: #fff; font-size: clamp(38px, 6vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 0 0 18px; }
.sc-hero p { position: relative; color: #a1a1a6; font-size: clamp(17px, 1.8vw, 22px); max-width: 720px; margin: 0 auto; line-height: 1.45; }
.sc-stats { background: #000; padding: 0 24px 80px; }
.sc-stats .grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 40px; }
.sc-stats .v { font-size: clamp(44px, 5vw, 72px); font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1; }
.sc-stats .v small { font-size: .45em; font-weight: 600; margin-left: 3px; }
.sc-stats .l { color: #86868b; font-size: 14px; margin-top: 8px; }
.sc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; border-top: 1px solid var(--line); }
.sc-row:first-of-type { border-top: 0; }
.sc-row.rev .art { order: 2; }
.sc-row .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.sc-row h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.12; margin: 0 0 14px; }
.sc-row p { font-size: 16px; line-height: 1.65; color: #3a3a3c; margin: 0; }
.sc-row .art { border-radius: var(--r); overflow: hidden; background: var(--grey); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.sc-row .art img { width: 100%; height: 100%; object-fit: cover; }
.sc-row .art.cut { background: radial-gradient(70% 70% at 50% 40%, #2b2b2f, #0b0b0c); padding: 30px; }
.sc-row .art.cut img { object-fit: contain; max-height: 80%; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }
.sc-map { padding: 70px 0; background: var(--grey); }
.sc-map .map-box { margin-top: 30px; }
.sc-code { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: #000; color: #f5f5f7; border-radius: var(--r); padding: 40px 44px; margin: 60px auto; }
.sc-code h3 { color: #fff; font-size: 22px; font-weight: 600; margin: 0 0 8px; }
.sc-code p { color: #a1a1a6; margin: 0; font-size: 15px; }

/* ---------- newsroom ---------- */
.nw-featured { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--grey); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none !important; transition: transform .5s var(--ease); }
.nw-featured:hover { transform: translateY(-4px); color: var(--ink); }
.nw-featured .art { aspect-ratio: 16 / 10; overflow: hidden; }
.nw-featured .art img { width: 100%; height: 100%; object-fit: cover; }
.nw-featured .txt { padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.nw-featured h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.15; margin: 8px 0 12px; }
.nw-featured p { color: var(--mute); font-size: 15px; line-height: 1.55; margin: 0 0 16px; }
.nw-k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--primary); }
.nw-date { font-size: 13px; color: var(--mute-2); }
.nw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nw-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none !important; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.nw-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .08); color: var(--ink); }
.nw-card .art { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey); }
.nw-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.nw-card:hover .art img { transform: scale(1.04); }
.nw-card .txt { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.nw-card h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 6px 0 8px; }
.nw-card p { color: var(--mute); font-size: 14px; line-height: 1.5; margin: 0 0 12px; flex: 1; }
.nw-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 26px; }
.nw-filters a { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 980px; border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: none !important; }
.nw-filters a.on, .nw-filters a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.nw-article { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.nw-article h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.1; margin: 12px 0 18px; }
.nw-article .lead { font-size: 19px; color: var(--mute); line-height: 1.5; margin: 0 0 30px; }
.nw-article .nw-hero { border-radius: var(--r); overflow: hidden; margin: 0 0 36px; background: var(--grey); }
.nw-article .nw-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.nw-article .body p { font-size: 17px; line-height: 1.7; color: #3a3a3c; margin: 0 0 18px; }
.nw-article .body strong { color: var(--ink); }
.nw-article .foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.nw-rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; }
.nw-rel a { background: var(--grey); border-radius: 18px; padding: 20px; text-align: center; color: var(--ink); text-decoration: none !important; font-size: 14px; font-weight: 500; }
.nw-rel a img { height: 110px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 12px; }

/* ---------- region banner (global) ---------- */
.rg-banner { display: none; position: relative; z-index: 300; background: #f5f5f7; color: #1d1d1f; font: 400 14px "Inter", var(--font-text); padding: 12px 56px 12px 24px; text-align: center; border-bottom: 1px solid #d2d2d7; }
.rg-banner.show { display: block; }
.rg-banner a.go { display: inline-block; margin-left: 12px; padding: 6px 14px; border-radius: 980px; background: var(--primary); color: #fff; font-weight: 500; text-decoration: none; }
.rg-banner button { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 0; background: #e8e8ed; font-size: 16px; line-height: 1; cursor: pointer; color: #1d1d1f; }
body.has-banner .site-header { position: relative; }

/* ---------- language link in the top bar ---------- */
.lang-link { display: inline-flex; align-items: center; gap: 6px; }
.lang-link svg { width: 13px; height: 13px; }

/* ---------- RTL ---------- */
[dir="rtl"] .pg-search input { padding: 0 48px 0 20px; }
[dir="rtl"] .pg-search svg { left: auto; right: 18px; }
[dir="rtl"] .pg .more::after { content: " ‹"; }
[dir="rtl"] .lg-nav a { border-left: 0; border-right: 2px solid transparent; padding-left: 0; padding-right: 12px; margin-left: 0; margin-right: -14px; }
[dir="rtl"] .rg-item .fl { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .rg-item .ls a { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .rg-banner { padding: 12px 24px 12px 56px; }
[dir="rtl"] .rg-banner button { right: auto; left: 16px; }
[dir="rtl"] .rg-banner a.go { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .cm-modal .x { right: auto; left: 14px; }
[dir="rtl"] .pg-notice svg { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .kb-group .m, [dir="rtl"] .kb-group details { margin-left: 0; margin-right: 52px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pg-tiles, .pg-explore, .cm-featured, .cm-how, .nw-grid { grid-template-columns: repeat(2, 1fr); }
  .rg-list { grid-template-columns: repeat(2, 1fr); }
  .sc-stats .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .pg-split, .pg-split.rev { grid-template-columns: 1fr; }
  .pg-split .art { min-height: 240px; }
  .cm-layout { grid-template-columns: 1fr; }
  .lg-layout { grid-template-columns: 1fr; gap: 30px; }
  .lg-nav { position: static; display: flex; gap: 6px 14px; flex-wrap: wrap; }
  .lg-nav h4 { width: 100%; }
  .lg-nav a { margin: 0; padding: 4px 0; border: 0; }
  .sc-row, .sc-row.rev { grid-template-columns: 1fr; gap: 26px; padding: 44px 0; }
  .sc-row.rev .art { order: 0; }
  .sc-code { grid-template-columns: 1fr; padding: 30px; }
  .nw-featured { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pg-tiles, .pg-explore, .cm-featured, .cm-how, .nw-grid, .lg-hub { grid-template-columns: 1fr; }
  .rg-list { grid-template-columns: 1fr; }
  .pg-hero { padding: 50px 20px 34px; }
  .pg-products a { width: 96px; font-size: 12px; }
  .pg-products .pic { height: 72px; }
  .pg-products .pic img { max-height: 66px; max-width: 76px; }
  .th-item { grid-template-columns: 40px 1fr; }
  .th-count { display: none; }
  .cm-form .grid2 { grid-template-columns: 1fr; }
  .kb-group .m, .kb-group details { margin-left: 0 !important; margin-right: 0 !important; }
  .pg-section { padding: 50px 0; }
}
