/* Font Awesome Free 5.15.3 brand font, SIL OFL 1.1, https://fontawesome.com/license/free */
@font-face {
  font-family: "Social Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/fa-brands-400-675b31d58a.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #161e1d;
  --green: #285f52;
  --teal: #123d49;
  --border: #d6e1df;
  --line: #dce3e4;
  --muted: #edf1f2;
  --section-gradient: linear-gradient(108deg, #296d54 0%, #3c8266 58%, #5c9b7d 100%);
  font-family: Arial, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd, ul { margin: 0; }
body { min-width: 280px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { padding: 0; list-style: none; }
button { color: inherit; }
[hidden] { display: none !important; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.brand-icon { font-family: "Social Brands"; font-style: normal; font-weight: 400; line-height: 1; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; padding: 12px 18px; background: #fff; color: var(--green); z-index: 100; }
a:focus-visible, button:focus-visible { outline: 3px solid #c6a328; outline-offset: 4px; }
.mobile-only { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #edf0f0; box-shadow: 0 2px 5px #183c3b08; }
.header-inner { position: relative; display: flex; align-items: center; gap: 28px; min-height: 100px; max-width: 1110px; margin: 0 auto; padding: 16px 24px; }
.brand { flex-shrink: 0; width: 154px; }
.main-navigation { margin-left: auto; }
.navigation-list { display: flex; align-items: center; gap: 27px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.navigation-list > li > a, .submenu-toggle { display: flex; align-items: center; gap: 3px; min-height: 44px; }
.navigation-list a:hover, .submenu-toggle:hover { color: #3b8068; }
.submenu-toggle { padding: 0; border: 0; background: none; font-weight: inherit; }
.submenu-toggle .icon { width: 11px; height: 11px; stroke-width: 2; }
.has-submenu { position: relative; }
.submenu { position: absolute; top: 100%; left: -16px; min-width: 155px; padding: 8px; background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 24px #163d4312; border-radius: 8px; visibility: hidden; opacity: 0; transition: opacity .15s; }
.submenu a { display: block; padding: 12px; border-radius: 4px; }
.submenu a:hover { background: #f0f5f2; }
.has-submenu.is-open > .submenu { visibility: visible; opacity: 1; }
.language-switch { display: flex; align-self: flex-start; gap: 8px; padding-top: 2px; font-size: 10px; color: #666; white-space: nowrap; }
.language-switch a:hover { color: var(--green); text-decoration: underline; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--teal); }

/* Profile overview */
.page-container { max-width: 1240px; margin: 34px auto 30px; padding: 0 16px; }
.profile-overview { display: grid; grid-template-columns: minmax(240px, .354fr) minmax(0, 1fr); align-items: stretch; gap: 18px; }
.card { min-width: 0; overflow: hidden; background: linear-gradient(125deg, #fff 24%, #f6f9f9 100%); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 1px 2px #1d51420b; }
.portrait-card { display: flex; flex-direction: column; padding: 16px 18px 24px; }
.helper-photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; }
.helper-remark { margin: 18px 0 24px; }
.helper-remark h2 { margin-bottom: 8px; color: var(--green); font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }
.helper-remark h2 small { font-size: 12px; }
.helper-remark p { font-size: 13px; line-height: 1.45; }
.video-container { width: 100%; margin-top: auto; aspect-ratio: 16 / 9; background: #eff0ee; }
.video-preview { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #202322; }
.video-preview > img { width: 100%; height: 100%; object-fit: cover; }
.video-label { position: absolute; top: 0; left: 0; right: 0; padding: 12px 10px 24px; text-align: left; color: #fff; font-size: 12px; font-weight: 600; background: linear-gradient(#000a, transparent); }
.play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 44px; display: grid; place-items: center; background: #f03; border-radius: 12px; transition: background .15s; }
.play-button svg { width: 32px; height: 32px; fill: #fff; }
.video-preview:hover .play-button { background: #c90027; }
.video-container iframe { display: block; width: 100%; height: 100%; border: 0; }
.profile-details { display: grid; grid-template-rows: auto auto 1fr; gap: 16px; min-width: 0; }
.summary-card { padding: 16px 18px; }
.summary-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
h1 { font-size: clamp(26px, 2.9vw, 36px); font-weight: 750; letter-spacing: .2px; line-height: 1.25; color: var(--green); }
.helper-type { padding: 5px 20px; border-radius: 30px; background: #dcebd4; color: #2b5b53; font-size: 12px; font-weight: 700; }
.quick-facts { display: grid; grid-template-columns: .9fr 1fr .95fr 1.24fr 1.06fr; margin-top: 16px; }
.quick-fact { display: grid; grid-template-columns: 29px minmax(0,1fr); gap: 6px 10px; align-content: start; padding: 0 14px; border-right: 1px solid var(--line); }
.quick-fact:first-child { padding-left: 0; }
.quick-fact:last-child { border: 0; padding-right: 0; }
.quick-fact > .icon { grid-row: 1 / 3; width: 28px; height: 28px; color: #286958; }
.quick-fact dt { font-size: 11px; font-weight: 600; min-height: 28px; }
.quick-fact dd { font-size: 25px; font-weight: 700; white-space: nowrap; }
.quick-fact dd small { font-size: 14px; }
.quick-fact dd.text-value { font-size: 17px; }
.quick-fact dd.education-value { font-size: 19px; }
.quick-fact .education-value small { display: block; margin-top: 1px; font-size: 12px; }
.section-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; min-height: 40px; padding: 8px 18px; color: #fff; background: var(--section-gradient); font-size: 19px; line-height: 1.3; font-weight: 700; }
.section-heading > .icon { width: 25px; height: 25px; margin-right: 1px; }
.section-heading > [lang="en"] { font-size: .92em; }
.card-body { padding: 12px 18px; }
.particulars-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px; }
.fact-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 37px; border-bottom: 1px solid var(--line); }
.fact-row:first-child { border-top: 1px solid var(--line); }
.fact-row dt { display: flex; align-items: center; padding: 8px 12px; border-radius: 7px; background: linear-gradient(110deg,#eef1f1,#f4f5f5); font-size: 12px; font-weight: 600; color: #24433e; }
.fact-row dd { align-self: center; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.personal-details-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: 22px; }
.personal-details-grid .section-heading { font-size: 17px; padding-left: 17px; gap: 7px 10px; }
.personal-details-grid .section-heading > .icon { width: 23px; height: 23px; }
.family-facts > div { display: grid; grid-template-columns: 32px minmax(0,1fr) 45px; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.family-facts .icon { width: 30px; height: 34px; color: var(--green); }
.family-facts dt { font-size: 14px; }
.family-facts dt span { display: block; margin-top: 3px; font-size: 12px; }
.family-facts dd { font-size: 19px; font-weight: 700; text-align: center; }
.language-body { padding: 8px 16px 14px; }
.language-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.language-table th { font-weight: 600; }
.language-table thead { background: #edf2f1; color: #2d4e46; }
.language-table thead th { padding: 8px 4px; white-space: nowrap; font-size: 11px; }
.language-table thead th span { display: block; }
.language-table thead th:first-child { text-align: left; padding-left: 12px; border-radius: 5px 0 0 5px; }
.language-table tbody tr { border-bottom: 1px solid var(--line); }
.language-table tbody th { width: 45%; text-align: left; padding: 7px 12px; }
.language-table td { text-align: center; }
.status { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.status .icon { width: 21px; height: 21px; stroke-width: 3.2; }
.status--yes { color: #008824; }
.status--no { color: #ef1320; }

/* Experience and employment */
.experience-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; margin-top: 26px; }
.experience-list { padding: 12px 32px 24px; }
.experience-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; padding: 3px 6px; border-bottom: 1px solid var(--line); font-size: 14px; }
.experience-list li > span:first-child { min-width: 0; }
.experience-list .status { flex-shrink: 0; }
.history-facts { padding: 12px 32px 24px; }
.history-facts .fact-row { grid-template-columns: 1.5fr 1fr; min-height: 30px; }
.history-facts .fact-row:first-child { border-top: 0; }
.history-facts dt { display: block; padding: 5px 6px; font-size: 14px; font-weight: 400; background: none; color: var(--ink); }
.history-facts dd { padding: 5px 6px; text-align: center; font-size: 14px; font-weight: 400; }
.employer-card { margin-top: 24px; }
.employer-card > .card-body { padding: 16px 16px 12px; }
.employer-facts { display: grid; grid-template-columns: .95fr .95fr 1.2fr 1.3fr 1.2fr 1.25fr 1.2fr; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.employer-fact { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 0 10px; text-align: center; border-right: 1px solid var(--line); }
.employer-fact:last-child { border: 0; }
.employer-fact dt { font-size: 12px; }
.employer-fact dt span { display: block; }
.employer-fact dd { font-size: 13px; font-weight: 600; }
.job-scope { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 12px; margin-top: 12px; }
.job-scope h3 { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 12px; border-radius: 16px; background: #edf1f2; font-size: 14px; color: var(--green); }
.job-scope h3 span { display: block; }
.job-list { display: grid; grid-template-columns: repeat(30,minmax(0,1fr)); gap: 12px 10px; padding: 6px 0 12px; border-bottom: 1px solid var(--line); }
.job-list li { display: flex; align-items: flex-start; gap: 9px; grid-column: span 6; min-width: 0; font-size: 12px; line-height: 1.4; }
.job-list li:nth-child(n+6) { grid-column: span 5; padding-top: 8px; border-top: 1px solid #e8eded; }
.job-list li > span:last-child > span { display: block; }
.job-list small { display: block; margin-top: 2px; font-size: 10px; color: #56615c; }
.job-check { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 17px; height: 17px; border: 1px solid #acb6b4; border-radius: 4px; background: #fff; color: #167858; }
.job-check .icon { width: 19px; height: 19px; stroke-width: 3; }

/* Supplementary questions */
.questions-card { margin-top: 26px; }
.questions-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; padding: 12px 18px 18px; }
.question-column { display: grid; grid-template-rows: repeat(5,1fr); gap: 4px; }
.question-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 8px 18px; border-bottom: 1px solid #e5e9e8; border-radius: 20px; background: linear-gradient(115deg,#f1f3f3,#fafbfb); }
.question-row dt { font-size: 13px; line-height: 1.4; }
.question-row dt span { display: block; }
.question-row dd { font-size: 13px; font-weight: 700; white-space: nowrap; }
.disclaimer { margin: 20px 2px 0; font-size: 11px; line-height: 1.45; }
.disclaimer p + p { margin-top: 10px; }

/* Footer */
.site-footer { background: linear-gradient(120deg,#f3f5f7,#f8f9fa); border-top: 1px solid #e7ebef; }
.footer-inner { max-width: 920px; margin: 0 auto; padding: 44px 24px 30px; }
.footer-brand { display: block; width: 145px; margin-bottom: 18px; }
.social-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; transition: background .15s; }
.social-links a:hover { background: #34765e; }
.social-links .brand-icon { font-size: 24px; }
.social-links .icon { width: 26px; height: 26px; }
.social-links .rednote { font-size: 9px; font-weight: 700; }
.contact-details { font-style: normal; font-size: 13px; }
.contact-details strong { display: block; margin-bottom: 5px; font-weight: 500; }
.contact-details p { display: flex; align-items: flex-start; gap: 10px; margin-top: 5px; }
.contact-details .icon { width: 16px; height: 18px; color: var(--teal); }
.contact-details .brand-icon { width: 16px; font-size: 16px; color: var(--teal); }
.contact-details a:hover, .terms-link:hover { text-decoration: underline; }
.licence-details { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; margin-top: 20px; padding: 16px 6px 20px; border-top: 1px solid #aeb8bc; font-size: 10px; }
.consulate-licence { display: flex; align-items: center; gap: 12px; }
.consulate-licence img { flex-shrink: 0; width: 32px; }
.terms-link { display: inline-block; min-height: 44px; padding: 10px 0; font-size: 12px; }
.copyright-bar { background: #123d49; color: #fff; }
.copyright-bar > div { max-width: 920px; margin: 0 auto; padding: 9px 24px; font-size: 10px; line-height: 1.65; }
.copyright-bar p + p { margin-top: 5px; }
.whatsapp-float { position: fixed; right: 24px; bottom: 48px; z-index: 15; display: flex; align-items: center; gap: 7px; padding: 9px 14px; border: 2px solid #fff; border-radius: 12px; color: #fff; background: #26765c; box-shadow: 0 3px 14px #173f4a25; font-size: 15px; font-weight: 700; line-height: 1.1; }
.whatsapp-float > .brand-icon { font-size: 30px; }
.whatsapp-float small { display: block; margin-top: 3px; color: #ffdb6a; font-size: 12px; text-align: center; }
.scroll-top { position: fixed; right: 12px; bottom: 12px; z-index: 15; display: grid; place-items: center; width: 32px; height: 32px; padding: 4px; border: 0; border-radius: 3px; color: #fff; background: #255ba2; box-shadow: 0 2px 5px #183c3b20; }
.scroll-top .icon { width: 18px; height: 18px; }

@media (hover: hover) and (min-width: 1101px) {
  .has-submenu:hover > .submenu { visibility: visible; opacity: 1; }
}

@media (max-width: 1100px) {
  .header-inner { min-height: 82px; gap: 18px; }
  .brand { width: 145px; }
  .menu-toggle { display: flex; margin-left: auto; order: 3; }
  .language-switch { align-self: center; margin-left: auto; order: 2; font-size: 11px; }
  .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; max-height: calc(100dvh - 82px); padding: 10px 24px 18px; overflow-y: auto; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 10px 20px #153c4310; }
  .main-navigation.is-open { display: block; }
  .navigation-list { display: block; font-size: 14px; }
  .navigation-list > li { border-bottom: 1px solid #edf0ef; }
  .navigation-list > li > a, .submenu-toggle { min-height: 48px; width: 100%; justify-content: space-between; }
  .submenu { position: static; display: none; min-width: 0; padding: 0 0 8px 14px; border: 0; box-shadow: none; }
  .has-submenu.is-open > .submenu { display: block; }
  .submenu-toggle .icon { width: 16px; height: 16px; }
  .quick-fact { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding: 0 7px; }
  .quick-fact > .icon { grid-row: auto; width: 26px; height: 26px; }
  .quick-fact dt { min-height: 28px; }
  .quick-fact dd { font-size: 23px; }
  .quick-fact dd.text-value { font-size: 14px; }
  .particulars-grid { gap: 14px; padding: 12px; }
  .fact-row { grid-template-columns: 1.05fr 1fr; }
  .fact-row dt, .fact-row dd { padding: 8px; font-size: 12px; }
  .personal-details-grid { gap: 14px; }
  .personal-details-grid .section-heading { font-size: 16px; gap: 6px; }
  .section-heading { font-size: 18px; }
  .family-facts { padding: 8px 12px; }
  .family-facts > div { gap: 8px; grid-template-columns: 26px minmax(0,1fr) 24px; }
  .family-facts .icon { width: 26px; }
  .family-facts dt { font-size: 12px; }
  .language-body { padding: 8px 10px 12px; }
  .language-table thead th { font-size: 10px; }
  .language-table tbody th { padding: 8px 5px; }
  .experience-grid { gap: 24px; }
  .experience-list, .history-facts { padding-left: 22px; padding-right: 22px; }
  .experience-list li, .history-facts dt, .history-facts dd { font-size: 13px; }
  .employer-facts { grid-template-columns: repeat(4,minmax(0,1fr)); row-gap: 18px; }
  .employer-fact { justify-content: flex-start; }
  .employer-fact:nth-child(4) { border-right: 0; }
  .job-scope { grid-template-columns: 95px minmax(0,1fr); }
  .job-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 14px; }
  .job-list li, .job-list li:nth-child(n+6) { grid-column: auto; padding-top: 0; border-top: 0; }
  .questions-grid { gap: 22px; }
  .question-row { padding: 9px 12px; gap: 12px; }
}

@media (max-width: 800px) {
  .profile-overview { grid-template-columns: 220px minmax(0,1fr); gap: 14px; }
  .portrait-card { padding: 14px 14px 20px; }
  .profile-details { gap: 14px; }
  .personal-details-grid { grid-template-columns: 1fr; }
  .personal-details-grid .section-heading { font-size: 17px; }
  .family-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .language-table thead th span { display: inline; }
  .summary-card { padding: 14px; }
  .summary-heading { gap: 10px; }
  .helper-type { padding: 5px 12px; font-size: 11px; }
  .particulars-grid { grid-template-columns: 1fr; gap: 0; }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .particulars-grid .fact-row dt, .particulars-grid .fact-row dd { font-size: 13px; }
  .particulars-grid .fact-table + .fact-table .fact-row:first-child { border-top: 0; }
  .section-heading { padding: 9px 14px; }
  .section-heading > [lang="en"] { font-size: .85em; }
  .experience-list, .history-facts { padding: 12px 16px 20px; }
  .experience-list li, .history-facts .fact-row { min-height: 35px; }
  .questions-grid { grid-template-columns: 1fr; gap: 4px; }
  .question-column { grid-template-rows: none; }
  .question-row { min-height: 58px; }
  .whatsapp-float { right: 12px; padding: 10px; }
}

@media (max-width: 640px) {
  .page-container { margin-top: 20px; padding: 0 14px; }
  .profile-overview { display: flex; flex-direction: column; gap: 18px; }
  .profile-details { display: contents; }
  .summary-card { order: 0; }
  .portrait-card { order: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 14px 18px; padding: 18px; }
  .helper-photo { grid-row: span 2; align-self: center; }
  .helper-remark { margin: 0; }
  .helper-remark h2 { font-size: 12px; }
  .helper-remark h2 small { display: block; font-size: 11px; }
  .helper-remark p { font-size: 12px; }
  .video-container { margin: 0; }
  .video-label { display: none; }
  .play-button { width: 48px; height: 34px; border-radius: 9px; }
  .profile-details > .card:not(.summary-card) { order: 2; }
  .personal-details-grid { order: 3; gap: 18px; }
  .summary-heading { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 30px; }
  .quick-facts { margin-top: 18px; gap: 14px 0; }
  .quick-fact > .icon { width: 25px; height: 25px; }
  .quick-fact dt { font-size: 10px; min-height: 29px; }
  .quick-fact dd { font-size: 21px; }
  .quick-fact dd small { font-size: 12px; }
  .quick-fact dd.text-value { font-size: 12px; }
  .quick-fact dd.education-value { font-size: 17px; }
  .quick-fact .education-value small { font-size: 10px; }
  .particulars-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .particulars-grid .fact-table + .fact-table .fact-row:first-child { border-top: 1px solid var(--line); }
  .particulars-grid .fact-row dt, .particulars-grid .fact-row dd { font-size: 12px; }
  .experience-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .section-heading, .personal-details-grid .section-heading { font-size: 18px; }
  .section-heading > [lang="en"] { font-size: 15px; }
  .experience-list li, .history-facts dt, .history-facts dd { font-size: 14px; }
  .employer-card, .questions-card { margin-top: 20px; }
  .employer-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; padding-bottom: 4px; }
  .employer-fact { gap: 8px; padding: 12px 8px; border-bottom: 1px solid #e6ebea; }
  .employer-fact:nth-child(even), .employer-fact:last-child { border-right: 0; }
  .employer-fact:last-child { border-bottom: 0; }
  .job-scope { display: block; }
  .job-scope h3 { flex-direction: row; gap: 6px; justify-content: flex-start; padding: 10px 12px; margin-bottom: 14px; border-radius: 8px; }
  .job-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .questions-grid { padding: 12px 10px; }
  .question-row dt, .question-row dd { font-size: 12px; }
  .disclaimer { font-size: 10px; line-height: 1.6; }
  .footer-inner { padding: 32px 24px 22px; }
  .copyright-bar > div { padding: 12px 24px 24px; }
  .contact-details { font-size: 12px; }
  .licence-details { grid-template-columns: 1fr 1.5fr; gap: 14px; }
  .whatsapp-float { bottom: 54px; gap: 0; width: 50px; height: 50px; justify-content: center; padding: 0; border-radius: 50%; }
  .whatsapp-float > span:last-child { display: none; }
  .whatsapp-float > .brand-icon { font-size: 29px; }
  .scroll-top { right: 20px; }
}

@media (max-width: 430px) {
  .header-inner { gap: 10px; min-height: 76px; padding: 12px 14px; }
  .brand { width: 125px; }
  .language-switch { gap: 5px; font-size: 9px; }
  .menu-toggle { width: 40px; height: 40px; flex-shrink: 0; }
  .main-navigation { max-height: calc(100dvh - 76px); padding-left: 18px; padding-right: 18px; }
  .portrait-card { display: flex; align-items: stretch; padding: 18px; }
  .helper-photo { width: 100%; max-width: 280px; align-self: center; }
  .helper-remark { margin: 2px 0 4px; }
  .helper-remark h2 { font-size: 14px; }
  .helper-remark h2 small { display: inline; font-size: 12px; }
  .helper-remark p { font-size: 13px; }
  .video-container { max-width: 340px; align-self: center; }
  .video-label { display: block; }
  .play-button { width: 60px; height: 42px; }
  .quick-facts { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .quick-fact { grid-column: span 2; }
  .quick-fact:nth-child(3) { border-right: 0; }
  .quick-fact:nth-child(n+4) { grid-column: span 3; padding-top: 12px; border-top: 1px solid var(--line); }
  .quick-fact dt { min-height: 0; font-size: 11px; }
  .quick-fact dd.text-value { font-size: 17px; }
  .quick-fact dd.education-value { font-size: 18px; }
  .quick-fact .education-value small { display: inline; margin-left: 4px; font-size: 12px; }
  .particulars-grid { grid-template-columns: 1fr; gap: 0; padding: 12px 14px; }
  .particulars-grid .fact-row dt, .particulars-grid .fact-row dd { font-size: 13px; }
  .particulars-grid .fact-table + .fact-table .fact-row:first-child { border-top: 0; }
  .family-facts { gap: 16px; }
  .family-facts > div { grid-template-columns: 25px minmax(0,1fr) 20px; gap: 7px; }
  .family-facts dt span { font-size: 10px; }
  .language-table thead th span { display: block; }
  .experience-list li { font-size: 12px; }
  .experience-list, .history-facts { padding-left: 12px; padding-right: 12px; }
  .section-heading { gap: 6px 8px; padding: 10px 12px; font-size: 17px; }
  .section-heading > .icon { width: 22px; height: 22px; }
  .section-heading > [lang="en"] { font-size: 13px; }
  .question-row { gap: 10px; padding: 10px; border-radius: 14px; }
  .licence-details { grid-template-columns: 1fr; gap: 18px; }
  .mobile-only { display: initial; }
}

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