/* v16: styles for the new pages only (added file, site.css is not changed) */

/* ===== v15: program boxes in articles ===== */
.art-prog-mini { display: flex; gap: 12px; align-items: flex-start; background: var(--teal-tint); border-left: 4px solid var(--teal-dark); border-radius: 12px; padding: 14px 16px; margin: 18px 0; color: var(--teal-ink); }
.art-prog-mini svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal-dark); }
.art-prog-mini p { margin: 0; line-height: 1.55; }
.art-prog-mini a { color: var(--teal-ink); font-weight: 600; }
.art-prog { background: var(--white); border: 2px solid var(--teal-dark); border-radius: 20px; padding: clamp(18px, 3vw, 28px); margin: 28px 0; box-shadow: var(--shadow); }
.art-prog-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.art-prog-head h3 { margin: 2px 0 0; font-size: 1.25rem; color: var(--teal-ink); }
.art-prog-head .eyebrow { margin: 0; }
.art-prog-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--yellow); color: var(--teal-ink); flex: none; }
.art-prog-ic svg { width: 22px; height: 22px; }
.art-prog-list { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 10px; }
.art-prog-list li { display: flex; gap: 10px; align-items: flex-start; }
.art-prog-list svg { width: 18px; height: 18px; color: var(--teal-dark); flex: none; margin-top: 3px; }
.art-prog .btn-row { margin-top: 6px; }
.art-prog-note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.art-jobs { background: #FFF8DB; border: 1px solid #F2D675; border-radius: 16px; padding: 16px 18px; margin: 20px 0; }
.art-jobs p { margin: 0 0 10px; }
.art-jobs p strong { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-ink); }
.art-jobs p strong svg { width: 18px; height: 18px; }
.art-jobs .btn-row { gap: 8px; }
.art-jobs .btn svg { width: 16px; height: 16px; }
.kw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.kw-chips span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .92rem; font-weight: 600; color: var(--teal-ink); }
.link-cols { columns: 2 280px; column-gap: 28px; padding-left: 18px; }
.link-cols li { break-inside: avoid; margin-bottom: 8px; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 18px; }
.city-tile { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-decoration: none; color: var(--teal-ink); font-family: var(--font-display); font-weight: 600; transition: border-color .2s ease, transform .2s ease; }
.city-tile:hover { border-color: var(--teal-dark); transform: translateY(-2px); }
.city-tile .rflag { width: 28px; height: 28px; }
.article-body .rflag { vertical-align: middle; }

/* ===== v15: comments ===== */
.comments-sec { padding-top: 8px; }
.comments-sec .section-head { text-align: left; margin-bottom: 14px; }
.comments-sec .section-head p.muted { margin-top: 6px; }
.cm-list { display: grid; gap: 12px; margin-bottom: 18px; }
.cm-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.cm-item.cm-reply { margin-left: clamp(16px, 4vw, 40px); border-color: var(--teal-dark); background: var(--teal-tint); }
.cm-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin-bottom: 6px; }
.cm-head strong { color: var(--teal-ink); font-family: var(--font-display); }
.cm-head .cm-badge { background: var(--teal-dark); color: #fff; border-radius: 999px; padding: 2px 8px; font-size: .75rem; font-weight: 600; }
.cm-head span { color: #4A5B57; font-size: .88rem; }
.cm-item p { margin: 0; white-space: pre-line; line-height: 1.55; }
.cm-empty { color: #4A5B57; }
.cm-form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 3vw, 24px); display: grid; gap: 12px; }
.cm-form label { display: grid; gap: 6px; font-weight: 600; color: var(--teal-ink); }
.cm-form input, .cm-form textarea { font: inherit; padding: 10px 12px; border: 1px solid #BFCFCB; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.cm-form input:focus, .cm-form textarea:focus { outline: 3px solid rgba(31, 106, 96, .25); border-color: var(--teal-dark); }
.cm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cm-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.cm-actions .btn svg { width: 18px; height: 18px; }
.cm-note { font-size: .88rem; color: #4A5B57; }
.cm-msg { margin: 0; font-weight: 600; color: var(--teal-ink); min-height: 1.2em; }
.cm-msg.is-error { color: #A12A2A; }
@media (max-width: 640px) { .cm-row { grid-template-columns: 1fr; } }

/* ===== v15: live strip on the homepage ===== */
.live-strip { background: var(--teal-ink); color: #fff; }
.live-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; padding-top: 12px; padding-bottom: 12px; text-align: center; }
.live-strip .ls-item { display: inline-flex; align-items: baseline; gap: 6px; font-size: .98rem; color: #E2F1ED; }
.live-strip .ls-item strong { font-family: var(--font-display); font-size: 1.12rem; color: #fff; }
.live-strip .ls-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: #fff; }
.live-strip a.ls-go { color: var(--yellow); font-weight: 700; text-decoration: none; font-family: var(--font-display); display: inline-flex; align-items: center; gap: 6px; }
.live-strip a.ls-go:hover { text-decoration: underline; }
.live-strip a.ls-go svg { width: 16px; height: 16px; }
.hj-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.hj-stat { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); border-radius: 14px; padding: 10px 14px; min-width: 120px; }
.hj-stat strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: #fff; }
.hj-stat span { color: #E2F1ED; font-size: .9rem; }
@media (max-width: 640px) { .live-strip .ls-item.ls-hide-sm { display: none; } }

/* ===== v15: live job market page ===== */
.lm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 10px 0 24px; }
.lm-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.lm-card strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--teal-ink); }
.lm-card span { color: #4A5B57; }
.lm-bars { display: grid; gap: 8px; margin: 8px 0 24px; }
.lm-bar { display: grid; grid-template-columns: minmax(120px, 210px) 1fr minmax(56px, auto); gap: 10px; align-items: center; text-decoration: none; color: var(--ink); }
.lm-bar:hover .lm-name { text-decoration: underline; }
.lm-name { font-weight: 600; color: var(--teal-ink); display: inline-flex; align-items: center; gap: 8px; }
.lm-name .rflag { width: 20px; height: 20px; }
.lm-track { background: var(--teal-tint); border-radius: 999px; height: 12px; overflow: hidden; }
.lm-fill { display: block; background: var(--teal-dark); height: 100%; border-radius: 999px; width: 0; transition: width .8s ease; }
.lm-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--teal-ink); }
.lm-updated { color: #4A5B57; }
@media (max-width: 560px) { .lm-bar { grid-template-columns: 1fr minmax(48px, auto); } .lm-track { grid-column: 1 / -1; order: 3; } }

/* ===== v15: official updates feed ===== */
.ou-list { display: grid; gap: 10px; }
.ou-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; }
.ou-item a { font-weight: 600; color: var(--teal-ink); }
.ou-item span { color: #4A5B57; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.ou-item .rflag { width: 16px; height: 16px; }

/* ===== v16: weekly job market reports ===== */
.rp-delta { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
.rp-delta.up { color: #1E7A4F; }
.rp-delta.down { color: #A4442F; }
.rp-table td .rp-delta { display: inline; margin-left: 4px; }
.rp-table td a { display: inline-flex; align-items: center; gap: 6px; }
.rp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 28px; }
.rp-rank { padding-left: 22px; margin: 6px 0 18px; }
.rp-rank li { margin-bottom: 6px; }
.rp-rank a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.rp-jobs, .article-body .rp-jobs { list-style: none; padding: 0; margin: 8px 0 20px; display: grid; gap: 8px; }
.rp-list, .article-body .rp-list { padding: 0; margin-left: 0; }
.rp-jobs li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.rp-jobs li a { font-weight: 600; display: block; }
.rp-jobs li span { display: inline-flex; align-items: center; gap: 6px; color: #4A5B57; font-size: .94rem; margin-top: 2px; }
.rp-list { list-style: none; padding: 0; margin: 8px 0 22px; display: grid; gap: 10px; }
.rp-list a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; text-decoration: none; color: var(--ink); transition: border-color .2s ease; }
.rp-list a:hover { border-color: var(--teal-dark); }
.rp-list strong { display: block; font-family: var(--font-display); color: var(--teal-ink); }
.rp-list span { color: #4A5B57; font-size: .95rem; }
.rp-table .rflag, .rp-rank .rflag, .rp-jobs .rflag { width: 20px; height: 20px; box-shadow: 0 0 0 1px var(--line); }

/* ===== v17: job board highlight, live count, offer and motion ===== */
.site-header .nav a { position: relative; }
.nav-live { position: absolute; top: -7px; right: -16px; display: inline-flex; align-items: center; gap: 4px; padding: 0 6px; border-radius: 999px; background: #FFE9A3; color: var(--teal-ink); font-size: .62rem; font-weight: 700; line-height: 16px; pointer-events: none; white-space: nowrap; }
.nav-live i { width: 6px; height: 6px; border-radius: 50%; background: #1E9E62; box-shadow: 0 0 0 0 rgba(30, 158, 98, .6); animation: iebPulse 1.8s ease-out infinite; }
@keyframes iebPulse { 0% { box-shadow: 0 0 0 0 rgba(30, 158, 98, .55); } 70% { box-shadow: 0 0 0 7px rgba(30, 158, 98, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 158, 98, 0); } }
.jsb { background: linear-gradient(180deg, #0F4A43 0%, #14564E 100%); color: #fff; padding: 0 0 34px; position: relative; }
.jsb-card { background: var(--white); color: var(--ink); border-radius: 22px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 18px 50px rgba(9, 40, 36, .28); position: relative; top: -6px; }
.jsb-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 14px; }
.jsb-top h2 { font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem); margin: 0; color: var(--teal-ink); }
.jsb-top h2 strong { color: #1E7A4F; }
.jsb-live { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: #4A5B57; }
.jsb-live i { width: 9px; height: 9px; border-radius: 50%; background: #1E9E62; animation: iebPulse 1.8s ease-out infinite; }
.jsb-form { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) auto; gap: 10px; align-items: stretch; }
.jsb-form input[type="search"], .jsb-form select { width: 100%; min-height: 54px; border: 1.5px solid #CFE0DB; border-radius: 14px; padding: 0 16px; font: inherit; font-size: 1.02rem; background: #fff; color: var(--ink); }
.jsb-form input[type="search"]:focus, .jsb-form select:focus { outline: none; border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(31, 106, 96, .14); }
.jsb-form .btn { min-height: 54px; white-space: nowrap; }
.jsb-opts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 2px 0; }
.jsb-opts label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-ink); cursor: pointer; }
.jsb-opts input { width: 18px; height: 18px; accent-color: #1F6A60; }
.jsb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.jsb-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); font-weight: 600; font-size: .93rem; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.jsb-chips a:hover { background: #CDE6E0; transform: translateY(-1px); }
.jsb-chips .rflag { width: 20px; height: 20px; }
.jsb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.jsb-stats div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 12px 16px; }
.jsb-stats strong { display: block; font-family: var(--font-display); font-size: 1.45rem; color: #FFD640; }
.jsb-stats span { color: #DDEFEA; font-size: .92rem; }
@media (max-width: 760px) { .jsb-form { grid-template-columns: 1fr; } .jsb-stats { grid-template-columns: 1fr; } .jsb-stats div { display: flex; align-items: baseline; gap: 10px; } .jsb-stats strong { font-size: 1.2rem; } }
.ieb-offer { position: fixed; left: 22px; bottom: 22px; z-index: 60; width: 310px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(9, 40, 36, .22); padding: 20px 20px 18px; transform: translateY(24px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.ieb-offer.in { transform: none; opacity: 1; }
.ieb-offer .eyebrow { margin: 0 0 4px; }
.ieb-offer h3 { font-size: 1.12rem; margin: 0 0 6px; color: var(--teal-ink); padding-right: 22px; }
.ieb-offer p { margin: 0 0 12px; color: #4A5B57; font-size: .96rem; line-height: 1.5; }
.ieb-offer .btn-row { gap: 8px; }
.ieb-offer .ieb-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--teal-tint); color: var(--teal-ink); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.ieb-offer-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; margin-bottom: 10px; color: var(--teal-ink); }
.ieb-offer-ic svg { width: 22px; height: 22px; }
.guide, .city-tile, .lm-card, .kfact, .rp-list a { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.guide:hover, .lm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.art-jobs .btn, .jsb-form .btn-primary { position: relative; overflow: hidden; }
.jsb-form .btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: iebShine 4.5s ease-in-out 1.5s infinite; }
@keyframes iebShine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .nav-live i, .jsb-live i, .jsb-form .btn-primary::after { animation: none; } .ieb-offer { transition: none; } }
@media (max-width: 1199px) { .nav-live { position: static; margin-left: 8px; font-size: .72rem; line-height: 20px; vertical-align: 2px; } }
.jsb-form .jsb-opts { grid-column: 1 / -1; }

/* ===== v17: job search at the top of the home page ===== */
.hs-wrap { position: relative; z-index: 2; width: 100%; max-width: calc(var(--max) + 40px); margin-inline: auto; padding: 26px var(--gutter-r) 0 var(--gutter-l); }
.hs { background: var(--white); color: var(--ink); border-radius: 22px; padding: clamp(16px, 2.4vw, 24px); box-shadow: 0 18px 50px rgba(9, 40, 36, .30); animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1) both; }
.hs-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 12px; }
.hs-head h2 { font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); margin: 0; color: var(--teal-ink); }
.hs-head p { margin: 0; color: #4A5B57; font-size: .96rem; flex: 1 1 340px; }
.hs-head p strong { color: #1E7A4F; }
.hs-badge { display: inline-flex; align-items: center; gap: 7px; background: #E3F5EC; color: #1E7A4F; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.hs-badge i { width: 8px; height: 8px; border-radius: 50%; background: #1E9E62; animation: iebPulse 1.8s ease-out infinite; }
.hs-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.05fr) minmax(0, 1.15fr) auto; gap: 10px; }
@media (max-width: 1080px) { .hs-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hs-form input[type="search"] { grid-column: 1 / -1; } .hs-form .btn { grid-column: 1 / -1; } }
.hs-form input[type="search"], .hs-form select { width: 100%; min-height: 52px; border: 1.5px solid #CFE0DB; border-radius: 14px; padding: 0 16px; font: inherit; font-size: 1.02rem; background: #fff; color: var(--ink); }
.hs-form input[type="search"]:focus, .hs-form select:focus { outline: none; border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(31, 106, 96, .14); }
.hs-form .btn { min-height: 52px; white-space: nowrap; position: relative; overflow: hidden; }
.hs-form .btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: iebShine 4.5s ease-in-out 1.5s infinite; }
.hs-opts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 2px 2px 0; }
.hs-opts label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal-ink); cursor: pointer; font-size: .96rem; }
.hs-opts input { width: 18px; height: 18px; accent-color: #1F6A60; }
.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.hs-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.hs-chips a:hover { background: #CDE6E0; transform: translateY(-1px); }
.hs-chips .rflag { width: 20px; height: 20px; }
.hs-chips svg { width: 15px; height: 15px; }
.hero .hs-wrap + .container { padding-top: clamp(28px, 4vw, 52px); }
.hero-pe { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.hero-pe:hover { background: rgba(255, 255, 255, .16); transform: translateY(-1px); }
.hero-pe svg { width: 18px; height: 18px; flex: none; color: #FFD640; }
.hero-pe span { line-height: 1.45; color: #E6F3EF; }
.hero-pe strong { color: #fff; }
@media (max-width: 760px) { .hs-form { grid-template-columns: 1fr; } .hs-head p { flex-basis: 100%; } .hs-wrap { padding-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .hs-badge i, .hs-form .btn-primary::after, .hs { animation: none; } }

/* ===== v17: live charts in articles ===== */
.lv-chart { margin: 18px 0 24px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 14px; box-shadow: 0 1px 2px rgba(21, 61, 56, .04); }
.lv-chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.lv-chart figcaption strong { font-family: var(--font-display); color: var(--teal-ink); font-size: 1.08rem; }
.lv-live { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: #4A5B57; }
.lv-live i { width: 8px; height: 8px; border-radius: 50%; background: #1E9E62; animation: iebPulse 1.8s ease-out infinite; }
.lv-chart .lm-bars { margin: 0; }
.lv-chart .lm-bar { grid-template-columns: minmax(110px, 220px) 1fr minmax(48px, auto); }
.lv-chart .lm-name .rflag { width: 20px; height: 20px; }
.lv-note { font-size: .86rem; margin: 10px 0 0; }
.lm-fill { transition: width .9s cubic-bezier(.2, .7, .2, 1); }

/* ===== v17: free profile check ===== */
.pe-form { display: grid; gap: 16px; margin: 6px 0 10px; }
.pe-step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.pe-step h3 { margin: 4px 0 10px; font-size: 1.15rem; color: var(--teal-ink); }
.pe-num { width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: var(--teal-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.pe-step label { display: grid; gap: 6px; font-weight: 600; color: var(--teal-ink); margin-bottom: 12px; }
.pe-step select, .pe-step input[type="text"], .pe-step input:not([type]) { width: 100%; min-height: 48px; border: 1.5px solid #CFE0DB; border-radius: 12px; padding: 0 14px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
.pe-step select:focus, .pe-step input:focus { outline: none; border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(31, 106, 96, .14); }
.pe-step .pe-err { border-color: #C0462E; box-shadow: 0 0 0 4px rgba(192, 70, 46, .14); }
.pe-pref { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pe-pref legend { font-weight: 600; color: var(--teal-ink); margin-bottom: 8px; padding: 0; }
.article-body .pe-chip, .pe-chip { display: inline-flex; margin: 0; cursor: pointer; }
.pe-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pe-chip span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid #CFE0DB; background: #fff; font-weight: 600; font-size: .92rem; transition: background .2s ease, border-color .2s ease; }
.pe-chip input:checked + span { background: var(--teal-tint); border-color: var(--teal-dark); }
.pe-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(31, 106, 96, .2); }
.pe-chip .rflag { width: 18px; height: 18px; }
.pe-go { justify-self: start; min-height: 54px; padding-inline: 28px; }
.pe-privacy { font-size: .9rem; margin: 0; }
.pe-results { display: grid; gap: 16px; scroll-margin-top: 100px; margin-bottom: 10px; }
.pe-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.pe-card h3 { margin: 0 0 8px; color: var(--teal-ink); }
.pe-top { background: linear-gradient(135deg, #0F4A43, #1F6A60); color: #fff; border: 0; }
.pe-top h3 { color: #fff; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
.pe-top p { color: #E1F0EC; margin: 0 0 6px; }
.pe-top .eyebrow { color: #FFD640; }
.pe-meta { font-weight: 700; color: #FFD640 !important; }
.pe-h { margin: 6px 0 0; }
.pe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pe-country { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: grid; gap: 10px; align-content: start; animation: fadeUp .6s cubic-bezier(.2, .7, .2, 1) both; }
.pe-country:nth-child(2) { animation-delay: .08s; } .pe-country:nth-child(3) { animation-delay: .16s; } .pe-country:nth-child(4) { animation-delay: .24s; }
.pe-ch { display: flex; align-items: center; gap: 12px; }
.pe-ch .rflag { width: 36px; height: 36px; }
.pe-ch h4 { margin: 0; font-size: 1.15rem; color: var(--teal-ink); }
.pe-rank { font-size: .78rem; font-weight: 700; color: #1E7A4F; letter-spacing: .06em; }
.article-body .pe-nums, .pe-nums { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.pe-nums li { font-size: .98rem; color: #4A5B57; }
.pe-nums strong { color: var(--teal-ink); font-family: var(--font-display); }
.pe-co, .pe-route { margin: 0; font-size: .95rem; line-height: 1.5; }
.pe-co span, .pe-route span { font-weight: 700; color: var(--teal-ink); }
.pe-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pe-cta .btn-row { gap: 8px; }
.pe-note { font-size: .88rem; margin: 10px 0 0; }
.pe-loading { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; font-weight: 600; color: var(--teal-ink); }
.pe-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #CFE0DB; border-top-color: #1F6A60; animation: iebSpin .8s linear infinite; }
@keyframes iebSpin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .pe-step { grid-template-columns: 1fr; } .pe-num { width: 34px; height: 34px; } }
.hero .hs-chips a:not(.btn) { color: var(--teal-ink); }
.hero .hs a:not(.btn):not(.hs-chips a) { color: var(--teal-dark); }
.article-body .lv-note { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ===== v18: urgent call ===== */
.hero .btn-row .hero-call { border-color: rgba(255, 255, 255, .45); }
.call-band { padding-top: 10px; }
.call-card { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--yellow); border-radius: 18px; padding: 20px 22px; box-shadow: 0 10px 30px rgba(9, 40, 36, .06); }
.call-card > svg { width: 30px; height: 30px; color: var(--teal-dark); flex: none; }
.call-card > div { flex: 1 1 320px; }
.call-card h2 { font-size: 1.3rem; margin: 0 0 4px; color: var(--teal-ink); }
.call-card p { margin: 0; color: #4A5B57; }
.pe-save { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }
.pe-save input[type="text"], .pe-save input[type="email"], .pe-save input[type="tel"] { width: 100%; min-height: 46px; border: 1.5px solid #CFE0DB; border-radius: 12px; padding: 0 14px; font: inherit; }
.pe-save .pe-consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #4A5B57; }
.pe-save .pe-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: #1F6A60; flex: none; }
.pe-save .btn { grid-column: 1 / -1; justify-self: start; }
.pe-save-msg { margin: 10px 0 0; font-weight: 600; color: var(--teal-ink); }
.pe-save .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== v19: call buttons and real review pop-ups ===== */
.call-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.rv-toast { position: fixed; left: 20px; bottom: 20px; z-index: 55; width: 330px; max-width: calc(100vw - 32px); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 44px rgba(9, 40, 36, .18); padding: 16px 18px 14px; transform: translateY(18px); opacity: 0; transition: transform .32s ease, opacity .32s ease; font-size: .95rem; }
.rv-toast.in { transform: none; opacity: 1; }
.rv-toast .rv-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 1.4rem; line-height: 1; color: #6B7C78; cursor: pointer; padding: 6px; }
.rv-toast .rv-res { display: flex; align-items: center; gap: 6px; margin: 0 26px 6px 0; font-weight: 700; color: var(--teal-ink); font-size: .92rem; }
.rv-toast .rv-res svg { color: #1E7A4F; flex: none; }
.rv-toast .rv-q { margin: 0 0 8px; color: #2E3F3B; line-height: 1.5; }
.rv-toast .rv-who { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: .86rem; color: #5A6B67; }
.rv-toast .rv-who strong { color: var(--teal-ink); }
.rv-toast .rv-more { display: inline-block; margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--teal-dark); }
@media (max-width: 640px) {
  .rv-toast { left: 12px; right: 12px; top: 82px; bottom: auto; width: auto; padding: 12px 14px 10px; font-size: .88rem; transform: translateY(-14px); border-radius: 16px; }
  .rv-toast .rv-q { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
  .rv-toast .rv-more { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rv-toast { transition: none; } }

/* ===== v19: deep guides: charts, numbers, timeline, notes, photos ===== */
.article-body .ch { margin: 28px 0; padding: 20px 22px 16px; background: #FCFDFC; border: 1px solid var(--line); border-radius: 18px; }
.ch figcaption { margin: 0 0 14px; display: flex; flex-direction: column; gap: 2px; }
.ch figcaption strong { font-family: var(--font-head, inherit); font-size: 1.05rem; color: var(--teal-ink); line-height: 1.35; }
.ch figcaption span { font-size: .9rem; color: #5A6B67; }
.ch-bars ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ch-bars li { display: grid; grid-template-columns: minmax(110px, 34%) 1fr auto; align-items: center; gap: 12px; padding: 0; margin: 0; outline: none; }
.ch-bars li::before { display: none; }
.ch-l { font-size: .93rem; color: #2E3F3B; line-height: 1.3; }
.ch-track { position: relative; height: 18px; display: flex; align-items: center; }
.ch-bar { display: block; height: 18px; width: 0; max-width: var(--w); background: var(--c, #009A84); border-radius: 0 4px 4px 0; transition: width 1s cubic-bezier(.2, .7, .2, 1); }
.ch.in .ch-bar { width: var(--w); }
.ch-bars li.hi .ch-bar { background: #E5602E; }
.ch-v { font-size: .9rem; font-weight: 700; color: var(--teal-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-pairs li { grid-template-columns: minmax(90px, 26%) 1fr; }
.ch-pair { display: grid; gap: 4px; }
.ch-pair .ch-track { display: grid; grid-template-columns: 1fr 92px; gap: 8px; height: 16px; }
.ch-pair .ch-bar { height: 14px; }
.ch-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -4px 0 12px; font-size: .88rem; color: #3D4E4A; }
.ch-legend i, .dn-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.article-body .ch .ch-note, .ch .ch-note { margin: 12px 0 0; font-size: .85rem; color: #5A6B67; line-height: 1.5; }
.ch-table { margin-top: 10px; font-size: .88rem; }
.ch-table summary { cursor: pointer; color: var(--teal-dark); font-weight: 600; }
.ch-table .table-wrap { margin-top: 8px; }
.dn-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; }
.dn { position: relative; width: 220px; height: 220px; }
.dn svg { width: 100%; height: 100%; transform: rotate(0deg); }
.dn-seg { opacity: 0; transition: opacity .6s ease; }
.ch.in .dn-seg { opacity: 1; }
.ch.in .dn-seg:nth-of-type(3) { transition-delay: .15s; } .ch.in .dn-seg:nth-of-type(4) { transition-delay: .3s; } .ch.in .dn-seg:nth-of-type(5) { transition-delay: .45s; }
.dn-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.dn-c strong { font-size: 1.5rem; color: var(--teal-ink); line-height: 1.1; }
.dn-c span { font-size: .8rem; color: #5A6B67; max-width: 120px; }
.dn-leg { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dn-leg li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: baseline; padding: 0; margin: 0; font-size: .93rem; color: #2E3F3B; }
.dn-leg li::before { display: none; }
.dn-leg strong { color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.dn-leg em { font-style: normal; color: #5A6B67; font-size: .85rem; min-width: 38px; text-align: right; }
.ch-tip { position: fixed; z-index: 70; pointer-events: none; background: #14302B; color: #fff; font-size: .82rem; padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); opacity: 0; transition: opacity .12s; max-width: 260px; }
.ch-tip.on { opacity: 1; }
.kstat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0; }
.kstat { background: linear-gradient(160deg, #F2F8F6, #FFFFFF); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 14px; }
.kstat strong { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--teal-ink); }
.kstat span { display: block; margin-top: 6px; font-size: .88rem; color: #4A5B57; line-height: 1.4; }
.tl { list-style: none; margin: 22px 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 125px; top: 6px; bottom: 6px; width: 2px; background: #D5E6E1; }
.tl li { display: grid; grid-template-columns: 110px 1fr; gap: 34px; margin: 0 0 18px; padding: 0; position: relative; }
.tl li::before { content: ""; position: absolute; left: 119px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #009A84; }
.tl li > .tl-when { grid-column: 1; grid-row: 1; }
.tl li > div { grid-column: 2; grid-row: 1; }
.tl-when { font-size: .85rem; font-weight: 700; color: var(--teal-dark); text-align: right; padding-top: 2px; }
.tl strong { display: block; color: var(--teal-ink); }
.article-body .tl p { margin: 2px 0 0; color: #3D4E4A; }
.my-note { display: grid; grid-template-columns: 52px 1fr; gap: 14px; margin: 26px 0; padding: 18px 20px; background: #FFF9E3; border: 1px solid #F3E2A2; border-radius: 18px; }
.my-note img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.article-body .my-note p { margin: 0; color: #3A3A2E; }
.article-body .my-note .my-note-t { font-weight: 700; color: #6A5300; margin-bottom: 4px; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.art-photo { margin: 28px 0; }
.art-photo img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 18px; display: block; }
.art-photo figcaption { margin-top: 8px; font-size: .88rem; color: #5A6B67; }
.checklist { margin: 24px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #F7FBFA; }
.article-body .checklist .cl-t { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; font-weight: 700; color: var(--teal-ink); }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; margin: 0; padding: 0; }
.checklist li::before { display: none; }
.checklist li svg { color: #009A84; margin-top: 4px; }
.mistakes { display: grid; gap: 12px; margin: 22px 0; }
.mk { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.article-body .mk p { margin: 0; padding: 10px 14px; display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.mk-x { background: #FFF1EC; color: #6E2A15; }
.mk-x svg { color: #C8553D; margin-top: 4px; }
.mk-ok { background: #fff; color: #23403A; }
.mk-ok svg { color: #009A84; margin-top: 4px; }
@media (max-width: 640px) {
  .article-body .ch { padding: 16px 14px 12px; }
  .ch-bars li { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .ch-bars li .ch-l { grid-column: 1 / -1; }
  .ch-pairs li { grid-template-columns: 1fr; }
  .dn-wrap { grid-template-columns: 1fr; justify-items: center; }
  .dn { width: 190px; height: 190px; }
  .dn-leg { width: 100%; }
  .tl::before { left: 8px; }
  .tl li { grid-template-columns: 1fr; gap: 2px; padding-left: 30px; }
  .tl li::before { left: 2px; }
  .tl-when { text-align: left; }
  .tl li > .tl-when, .tl li > div { grid-column: 1; grid-row: auto; }
  .kstat strong { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) { .ch-bar, .dn-seg { transition: none; } }
@media print { .ch-bar { width: var(--w) !important; } .dn-seg { opacity: 1 !important; } .ch-table { display: none; } }
.art-photo.side { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: center; background: #F7FBFA; border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.art-photo.side img { max-height: 340px; aspect-ratio: 4 / 5; }
.art-photo.side figcaption { margin: 0 0 6px; font-weight: 700; color: var(--teal-ink); font-size: .95rem; }
.article-body .art-photo .ap-text p { margin: 0 0 8px; color: #33443F; }
.art-photo:not(.side) img { max-height: 460px; aspect-ratio: 4 / 5; width: auto; margin: 0 auto; }
@media (max-width: 640px) { .art-photo.side { grid-template-columns: 1fr; } .art-photo.side img { max-height: 380px; width: 100%; } }
.cv-anatomy { margin: 26px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.cv-sheet { background: #fff; border: 1px solid #D5E2DF; border-radius: 10px; box-shadow: 0 14px 34px rgba(9, 40, 36, .1); padding: 18px; font-size: .78rem; color: #33443F; }
.cv-sheet .cv-sec { border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; background: #F3F8F6; border-left: 4px solid #009A84; }
.cv-sheet .cv-sec b { display: block; color: var(--teal-ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.cv-sheet .cv-head { display: grid; grid-template-columns: 1fr 46px; gap: 10px; align-items: center; border-left-color: #E5602E; background: #FFF4EF; }
.cv-sheet .cv-ph { width: 46px; height: 56px; border-radius: 6px; background: #D9E6E2; }
.cv-sheet .cv-line { display: block; height: 6px; border-radius: 3px; background: #D5E2DF; margin: 5px 0; }
.cv-notes { list-style: none; margin: 0; padding: 0; counter-reset: cvn; display: grid; gap: 10px; }
.cv-notes li { counter-increment: cvn; display: grid; grid-template-columns: 28px 1fr; gap: 10px; margin: 0; padding: 0; }
.cv-notes li::before { content: counter(cvn); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #009A84; color: #fff; font-weight: 700; font-size: .85rem; position: static; }
@media (max-width: 760px) { .cv-anatomy { grid-template-columns: 1fr; } }

/* v21: phone layout of the home page search and proof strip */
.hj-flags .hj-all { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .18); font-weight: 800; line-height: 1; }
@media (max-width: 760px) {
  .hs { padding: 18px 16px 14px; }
  .hs-head h2 { font-size: 1.3rem; }
  .hs-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .hs-form input[type="search"], .hs-form .btn, .hs-opts { grid-column: 1 / -1; }
  .hs-form input[type="search"], .hs-form select { min-height: 48px; font-size: 16px; padding: 0 12px; }
  .hs-form .btn { min-height: 50px; }
  .hs-opts { gap: 4px 14px; }
  .hs-opts label { font-size: .92rem; }
  /* the quick searches become one row you swipe through, so the hero shows sooner */
  .hs-chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 10px -16px 0; padding: 10px 16px 2px;
              -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%); }
  .hs-chips::-webkit-scrollbar { display: none; }
  .hs-chips a { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; padding: 8px 13px; }
  .stats { padding: 6px 0; }
  .stats-grid .stat strong { font-size: 1.7rem; }
  .stats-grid .stat span { font-size: .9rem; line-height: 1.35; }
  .logos { padding: 18px 0 22px; }
  .logos-label { font-size: .88rem; padding: 0 8px; }
  .home-jobs .hj-flags { gap: 8px; }
  .home-jobs .hj-flags a { padding: 6px 12px 6px 6px; font-size: .92rem; }
}
@media (max-width: 380px) { .hs-form { grid-template-columns: 1fr; } }
/* v21: long Indian city names (Thiruvananthapuram, Visakhapatnam) never push the page wider on phones */
.kfact { min-width: 0; }
.kfact span, .kfact strong { overflow-wrap: anywhere; }
.city-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.city-grid > * { min-width: 0; }
.city-tile span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 420px) { .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .city-tile { padding: 9px 10px; gap: 8px; font-size: .95rem; } .city-tile .rflag { width: 24px; height: 24px; } }
@media (max-width: 420px) { .kfact-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; } .kfact { padding: 11px 14px; } }
/* v21: country cards on the city roadmaps */
.ctry-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 12px 0 22px; }
.ctry-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--white); display: grid; gap: 8px; align-content: start; min-width: 0; }
.ctry-card p { margin: 0; font-size: .95rem; line-height: 1.45; }
.ctry-card .ctry-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.ctry-card .ctry-name a { color: var(--teal-ink); text-decoration: none; }
.ctry-card .rflag { width: 26px; height: 26px; flex: 0 0 26px; }
.ctry-card .cc-top { margin-left: auto; font-family: var(--font-body, inherit); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #7A4B00; background: #FFF1CC; border-radius: 999px; padding: 3px 9px; }
.ctry-card .cc-l { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
.ctry-card .cc-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
