/*
 * 任务型首屏（inc/hero-task.php）：香港注册、海牙认证、财税、香港财税、关于我们、品牌中心六页。
 * 只调整首屏内的排布；颜色、字体、按钮与卡片样式沿用全站现有变量和组件。
 */

/* ---------- 通用：标题与说明收紧，让费用、工具或内容进入首屏 ---------- */
.p2-hero.is-task { padding-bottom: clamp(36px, 4vw, 56px); }
.p2-hero.is-task h1 { max-width: 18em; margin-bottom: 14px; font-size: clamp(36px, 3.3vw, 48px); }
.p2-hero.is-task .p2-h1-sub { margin-top: 10px; }
.p2-hero.is-task .p2-hero-lead { max-width: 46em; margin-bottom: 22px; }
.p2-hero.is-task .p2-hero-actions { margin-top: 0; }

/* ---------- 注册页：横向费用摘要 ---------- */
.p2-hero.is-task-fee .p2-quick.is-fee { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; margin: 0 0 24px; }
.p2-quick.is-fee .p2-quick-cell { display: flex; flex-direction: column; padding: 18px 22px 20px; }
.p2-quick.is-fee dd { display: flex; flex: 1; flex-direction: column; }
.p2-quick.is-fee dd strong { font-size: clamp(19px, 1.5vw, 22px); }
.p2-quick.is-fee dd span { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--text); }
.p2-quick-link { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 700; color: var(--blue, #3558F0); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.p2-quick-link i { font-style: normal; transition: transform var(--fast, .2s) ease; }
.p2-quick-link:is(:hover, :focus-visible) i { transform: translateX(3px); }
.p2-hero-facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.6; color: var(--text); }
.p2-hero-facts b { margin-right: 8px; font-weight: 600; color: var(--muted); }
.p2-hero-facts span { margin-left: 8px; color: var(--muted); }
.p2-hero.is-task-fee .p2-hero-facts + .p2-toc,
.p2-hero.is-task-fee .p2-hero-actions + .p2-toc { margin-top: 26px; }

/* ---------- 认证页：路径判断工具作为首屏主体，结果在下方展开 ---------- */
/* 全站区块留白规则（ds-2026 的 body.kqw-b26 :is(... .p2-pathcheck)）不用于首屏内嵌工具。 */
body.kqw-b26 .p2-hero .p2-pathcheck.is-hero, .p2-pathcheck.is-hero { padding: 0; scroll-margin-top: 110px; }
.p2-pathcheck.is-hero .p2-pc-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.p2-pathcheck.is-hero .p2-pc-form { padding: clamp(18px, 2vw, 26px); }
.p2-pathcheck.is-hero .p2-pc-kind { margin-bottom: 16px; }
.p2-pathcheck.is-hero .p2-pc-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; }
.p2-pathcheck.is-hero .p2-pc-fields .p2-field { margin-bottom: 14px; }
.p2-pathcheck.is-hero .p2-pc-submit { width: auto; min-width: 220px; }
.p2-pc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 4px; }
.p2-pc-help { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--blue, #3558F0); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.p2-pc-help:is(:hover, :focus-visible) { text-decoration-thickness: 2px; }
.p2-pathcheck.is-hero .p2-pc-tip { margin-top: 10px; }
.p2-pathcheck.is-hero .p2-pc-result { padding: clamp(18px, 2vw, 26px); }
/* 未提交前显示常见路径参考：桌面三列横排，减少首屏高度。 */
.p2-pathcheck.is-hero .p2-pc-static .p2-pc-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }
.p2-pathcheck.is-hero .p2-pc-static .p2-pc-paths li { padding-bottom: 0; border-bottom: 0; }

/* ---------- 财税页：左侧选择地区与事项，右侧结果与服务目录 ---------- */
.tax-finder.is-hero { padding: 0; background: none; border: 0; scroll-margin-top: 110px; }
.tax-finder.is-hero .tax-finder-shell { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; width: 100%; max-width: none; }
.tax-finder.is-hero .tax-finder-side { padding: 20px 22px 22px; background: #fff; border: 1px solid #dce3f1; border-top: 3px solid var(--tax-navy); }
.tax-finder.is-hero .tax-finder-controls { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 14px; }
.tax-finder.is-hero .tax-finder-help { margin: 0 0 12px; font-size: 13px; line-height: 1.7; color: #485475; }
.tax-finder.is-hero .tax-finder-help-link { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 700; color: var(--tax-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tax-finder.is-hero .tax-finder-main { min-width: 0; }
.tax-finder.is-hero .tax-finder-cards { margin-top: 12px; }
.tax-finder.is-hero .tax-finder-directory { margin-top: 18px; }
.tax-finder.is-hero .tax-finder-directory ul { margin-top: 14px; }

/* ---------- 关于我们：一张真实团队照片 + 办公室与团队入口 ---------- */
.p2-hero.is-task-team.has-aside .p2-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.p2-hero-photo { margin: 0; }
.p2-hero-photo picture, .p2-hero-photo img { display: block; width: 100%; }
.p2-hero-photo img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; background: var(--pale, #F2F5FF); }
.p2-hero-photo figcaption { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.p2-hero-mini { margin-top: 26px; }
.p2-hero-mini ul { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.p2-hero-mini li { display: inline-flex; align-items: center; }
.p2-hero-mini li + li::before { content: ""; width: 1px; height: 12px; margin: 0 14px; background: rgba(33, 39, 115, .28); }
.p2-hero-mini a { font-weight: 600; color: var(--ink); }
.p2-hero-mini a:is(:hover, :focus-visible) { color: var(--blue, #3558F0); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 品牌中心：资讯分类 + 重点内容 + 近期文章 ---------- */
.p2-hero.is-task-news .p2-hero-actions { margin-bottom: 4px; }
.p2-hero-cats { margin: 22px 0 0; }
.p2-hero-cats ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.p2-hero-cats a { display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 16px; background: #fff; border: 1px solid rgba(33, 39, 115, .18); font-size: 15px; font-weight: 700; color: var(--ink); transition: border-color var(--fast, .2s) ease, color var(--fast, .2s) ease; }
.p2-hero-cats a span { font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.p2-hero-cats a:is(:hover, :focus-visible) { border-color: var(--blue, #3558F0); color: var(--blue, #3558F0); }
.p2-hero-news { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: 24px; }
.p2-hero-news-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--blue, #3558F0); }
.p2-hero-news-pick { padding: clamp(20px, 2.2vw, 28px); background: #fff; border: 1px solid rgba(33, 39, 115, .12); border-top: 3px solid var(--ink); }
.p2-hero-news-pick .p2-news-title { margin: 8px 0 10px; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.4; }
.p2-hero-news-pick .p2-news-excerpt { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; margin: 0 0 12px; font-size: 14.5px; line-height: 1.75; color: var(--text); }
.p2-hero-news-recent .p2-news-list { margin: 0; }
.p2-hero-news-recent .p2-news-row { gap: 16px; padding: 14px 0; }
.p2-hero-news-recent .p2-news-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: 4px; font-size: 13.5px; line-height: 1.65; }
.p2-hero-news-recent .p2-news-meta { margin-bottom: 4px; }
/* 首屏内容不做滚动出现动效，避免首屏下半部空白。 */
.p2-js .p2-hero [data-reveal] { opacity: 1; transform: none; }
.p2-hero-news-recent .p2-news-title { font-size: 16px; }
.p2-hero-news-all { margin: 18px 0 0; }

/* ---------- 香港财税页：左侧业务标题，右侧财年时间线（四个阶段，每段写“您提供 / 您收到”） ---------- */
.p2-hero-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.p2-hero-split-main { min-width: 0; padding-top: 8px; }
.p2-hero.is-task-timeline h1 { max-width: 12em; }
.p2-hero.is-task-timeline .p2-hero-lead { max-width: 32em; }
.p2-hero-timeline { margin: 0; padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 30px); background: #fff; border: 1px solid rgba(33, 39, 115, .12); border-top: 3px solid var(--ink); scroll-margin-top: 110px; }
.p2-hero-timeline-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--blue, #3558F0); }
.p2-hero-timeline-title { margin: 0 0 18px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink); }
.p2-hero-timeline-steps { margin: 0; padding: 0; list-style: none; }
.p2-hero-timeline-steps li { position: relative; display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 0 16px; padding: 0 0 16px 52px; }
.p2-hero-timeline-steps li + li { padding-top: 16px; border-top: 1px solid rgba(33, 39, 115, .08); }
.p2-hero-timeline-steps li::before { content: ""; position: absolute; left: 17px; top: 0; bottom: 0; width: 1px; background: rgba(33, 39, 115, .2); }
.p2-hero-timeline-steps li:first-child::before { top: 18px; }
.p2-hero-timeline-steps li:last-child { padding-bottom: 0; }
.p2-hero-timeline-steps li:last-child::before { bottom: auto; height: 34px; }
.p2-hero-timeline-no { position: absolute; z-index: 1; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--ink); background: #fff; font-size: 13px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.p2-hero-timeline-steps li + li .p2-hero-timeline-no { top: 16px; }
.p2-hero-timeline-steps li:last-child .p2-hero-timeline-no { background: var(--ink); color: #fff; }
.p2-hero-timeline-steps h3 { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
.p2-hero-timeline-steps dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; margin: 0; }
.p2-hero-timeline-steps dt { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.p2-hero-timeline-steps dd { margin: 2px 0 0; font-size: 14px; line-height: 1.65; color: var(--text); }
.p2-hero-timeline-note { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid rgba(33, 39, 115, .1); font-size: 13px; line-height: 1.7; color: var(--muted); }
.p2-hero-timeline-more { margin: 6px 0 0; }
.p2-hero-timeline-more a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--blue, #3558F0); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.p2-hero.is-task-timeline .p2-hero-split + .p2-toc { margin-top: 28px; }
@media (max-width: 1180px) {
  .p2-hero-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .p2-hero.is-task-timeline h1, .p2-hero.is-task-timeline .p2-hero-lead { max-width: none; }
}
@media (max-width: 640px) {
  .p2-hero-timeline { padding: 18px 16px; }
  .p2-hero-timeline-steps li { grid-template-columns: minmax(0, 1fr); padding-left: 48px; }
  .p2-hero-timeline-steps h3 { margin: 6px 0 8px; }
  .p2-hero-timeline-steps dl { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ---------- 香港注册页：左侧业务标题，右侧注册方案示例（个人持股 / 公司持股） ---------- */
.p2-hero.is-task-plan .p2-hero-split { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
.p2-hero.is-task-plan h1 { max-width: 10em; }
.p2-hero.is-task-plan .p2-hero-lead { max-width: 26em; }
.p2-hero.is-task-plan .p2-hero-facts { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 22px; }
.p2-hero.is-task-plan .p2-hero-facts span { display: block; margin-left: 0; font-size: 13px; }
.p2-hero.is-task-plan .p2-hero-split + .p2-toc { margin-top: 28px; }
.p2-hero.is-task-plan .p2-toc.is-stacked { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px; padding-top: 18px; }
.p2-hero.is-task-plan .p2-toc.is-stacked ol { flex-direction: column; gap: 6px; width: 100%; max-width: 20em; }
.p2-hero.is-task-plan .p2-toc.is-stacked a { display: flex; width: 100%; }
.p2-hero-plan { position: relative; margin: 0; padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 30px); background: #fff; border: 1px solid rgba(33, 39, 115, .12); border-top: 3px solid var(--ink); scroll-margin-top: 110px; }
.p2-hero-plan-radio { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; }
.p2-hero-plan-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 20px; margin-bottom: 12px; }
.p2-hero-plan-kicker { grid-column: 1; grid-row: 2; margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.p2-hero-plan-title { grid-column: 1; grid-row: 1; margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; color: var(--ink); }
.p2-hero-plan-switch { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; border: 1px solid var(--ink); }
.p2-hero-plan-switch label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; font-size: 14.5px; font-weight: 700; color: var(--ink); background: #fff; cursor: pointer; user-select: none; }
.p2-hero-plan-switch label + label { border-left: 1px solid var(--ink); }
.p2-hero-plan-switch label:hover { background: rgba(33, 39, 115, .06); }
#hk-plan-person:checked ~ .p2-hero-plan-head [data-plan-label="person"],
#hk-plan-company:checked ~ .p2-hero-plan-head [data-plan-label="company"] { background: var(--ink); color: #fff; }
#hk-plan-person:focus-visible ~ .p2-hero-plan-head [data-plan-label="person"],
#hk-plan-company:focus-visible ~ .p2-hero-plan-head [data-plan-label="company"] { outline: 2px solid var(--blue, #3558F0); outline-offset: 2px; }
.p2-hero-plan-case { display: none; }
#hk-plan-person:checked ~ [data-plan-case="person"],
#hk-plan-company:checked ~ [data-plan-case="company"] { display: block; }
.p2-hero-plan-example { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(33, 39, 115, .1); font-size: 14px; line-height: 1.65; color: var(--muted); }
.p2-hero-plan-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0 24px; }
.p2-hero-plan h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.p2-hero-plan h3 span { margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.p2-hero-plan ul { margin: 0; padding: 0; list-style: none; }
.p2-hero-plan li { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.65; color: var(--text); }
.p2-hero-plan li + li { margin-top: 2px; }
.p2-hero-plan li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--ink); }
.p2-hero-plan ul.is-numbered { counter-reset: plan; }
.p2-hero-plan ul.is-numbered li { padding-left: 24px; counter-increment: plan; }
.p2-hero-plan ul.is-numbered li::before { content: counter(plan); top: .2em; width: auto; height: auto; background: none; font-size: 12.5px; font-weight: 700; color: var(--blue, #3558F0); font-variant-numeric: tabular-nums; }
.p2-hero-plan-note { margin: 8px 0 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.p2-hero-plan-note a { font-weight: 700; color: var(--blue, #3558F0); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.p2-hero-plan-block.is-documents { padding-left: 20px; border-left: 1px solid rgba(33, 39, 115, .1); }
.p2-hero-plan-fees { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 14px; background: #f5f7fc; border: 1px solid rgba(33, 39, 115, .08); }
.p2-hero-plan-fee { padding: 12px 16px 14px; }
.p2-hero-plan-fee.is-renew { border-left: 1px solid rgba(33, 39, 115, .1); }
.p2-hero-plan-foot { flex: 1 1 16em; margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.p2-hero-plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; }
@media (max-width: 1180px) {
  .p2-hero.is-task-plan .p2-hero-split { grid-template-columns: minmax(0, 1fr); }
  .p2-hero.is-task-plan h1, .p2-hero.is-task-plan .p2-hero-lead { max-width: none; }
  .p2-hero.is-task-plan .p2-hero-facts { flex-direction: row; flex-wrap: wrap; }
  .p2-hero.is-task-plan .p2-toc.is-stacked ol { flex-direction: row; flex-wrap: wrap; max-width: none; }
  .p2-hero.is-task-plan .p2-toc.is-stacked a { display: inline-flex; width: auto; }
}
@media (max-width: 760px) {
  .p2-hero-plan { padding: 18px 16px; }
  .p2-hero-plan-head { grid-template-columns: minmax(0, 1fr); }
  .p2-hero-plan-switch { grid-column: 1; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; }
  .p2-hero-plan-switch label { justify-content: center; padding: 0 10px; }
  .p2-hero-plan-grid, .p2-hero-plan-fees { grid-template-columns: minmax(0, 1fr); }
  .p2-hero-plan-block.is-documents { margin-top: 14px; padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(33, 39, 115, .1); }
  .p2-hero-plan-fee.is-renew { border-left: 0; border-top: 1px solid rgba(33, 39, 115, .1); }
  .p2-hero-plan-actions .button { width: 100%; justify-content: center; }
}
/* ---------- 招聘：左侧标题与在招岗位，右侧团队实景照片 ---------- */
.p2-hero.is-task-careers.has-aside .p2-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: start; }
.p2-hero.is-task-careers h1 { max-width: 12em; }
.p2-hero.is-task-careers .p2-hero-lead { max-width: 34em; margin-bottom: 0; }
.p2-hero.is-task-careers .p2-hero-aside { padding-top: 6px; }
.p2-careers-roles { max-width: 36em; margin: 24px 0 22px; }
.p2-careers-roles-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px; font-size: 15px; color: var(--muted); }
.p2-careers-roles-head b { font: 800 30px/1 var(--numeric, inherit); color: var(--ink); }
.p2-careers-roles-head span { margin-left: auto; font-size: 13.5px; }
.p2-careers-roles ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.p2-careers-roles li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); transition: padding-left .2s ease, color .2s ease; }
.p2-careers-roles li a:is(:hover, :focus-visible) { padding-left: 6px; color: var(--blue, #3558F0); outline: none; }
.p2-careers-roles li span { min-width: 0; font-size: 16px; font-weight: 700; }
.p2-careers-roles li small { margin-left: 10px; font-size: 13px; font-weight: 500; color: var(--muted); }
.p2-careers-roles li b { flex: none; font: 700 15px/1 var(--numeric, inherit); color: var(--muted); }
.p2-careers-roles-more, .p2-careers-roles-empty { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.p2-careers-roles-more a { font-weight: 600; color: var(--ink); }
.p2-hero.is-task-careers .p2-hero-actions { margin: 0; }
@media (max-width: 900px) {
  .p2-hero.is-task-careers.has-aside .p2-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .p2-hero.is-task-careers h1, .p2-hero.is-task-careers .p2-hero-lead, .p2-careers-roles { max-width: none; }
  .p2-hero.is-task-careers .p2-hero-aside { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .p2-careers-roles li a { transition: none; } }
/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .p2-pathcheck.is-hero .p2-pc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p2-pathcheck.is-hero .p2-pc-static .p2-pc-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tax-finder.is-hero .tax-finder-shell { grid-template-columns: minmax(0, 1fr); }
  .p2-hero.is-task-team.has-aside .p2-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .p2-hero.is-task-team .p2-hero-aside { max-width: none; }
  .p2-hero-news { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .p2-hero.is-task-fee .p2-quick.is-fee { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .p2-hero.is-task h1 { font-size: clamp(30px, 8vw, 36px); }
  .p2-hero.is-task .p2-hero-lead { margin-bottom: 18px; }
  .p2-quick.is-fee .p2-quick-cell { padding: 14px 16px 16px; }
  .p2-quick.is-fee dd span { font-size: 13.5px; }
  .p2-hero-facts { flex-direction: column; gap: 4px; }
  .p2-pathcheck.is-hero .p2-pc-fields,
  .p2-pathcheck.is-hero .p2-pc-static .p2-pc-paths { grid-template-columns: minmax(0, 1fr); }
  .p2-pc-cta .button { flex: 1 1 100%; justify-content: center; }
  .p2-pc-help { flex: 1 1 100%; justify-content: center; }
  .tax-finder.is-hero .tax-finder-side { padding: 16px; }
  .tax-finder.is-hero .tax-finder-directory ul { grid-template-columns: minmax(0, 1fr); }
  .p2-hero-mini li + li::before { margin: 0 10px; }
  .p2-hero-cats ul { gap: 8px; }
  .p2-hero-cats a { padding: 9px 12px; font-size: 14px; }
}
