/* Review 2026-10-26: shared controls and restrained breadcrumb hierarchy. */
body[data-site-design="approved-20261023"] main#main :is(a.button,a.button-primary,a.button--primary,a.ep-action-control) {
 font-size:16px; font-weight:700; line-height:1.5; min-height:52px;
}
body[data-site-design="approved-20261023"] main#main :is(.hero,.ep-service-hero,.gw-hero) .actions > a {
 font-size:16px; font-weight:700;
}
body[data-site-design="approved-20261023"] .ep-link-copy .ep-keep-term { display:inline; white-space:nowrap; }
body[data-site-design="approved-20261023"] .ep-footer-group a:hover .ep-link-copy,
body[data-site-design="approved-20261023"] .ep-footer-group a:focus-visible .ep-link-copy { text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
body[data-site-design="approved-20261023"] main#main nav:is(.site-breadcrumbs,.ep-breadcrumbs,.breadcrumbs) {
 display:flex; flex-wrap:wrap; align-items:center; gap:7px 11px;
 margin-block:0; padding-block:16px; font-size:13px; line-height:1.7;
 color:#536876; background:linear-gradient(90deg,#d9e6e9,transparent) left bottom/100% 1px no-repeat;
}
body[data-site-design="approved-20261023"] main#main nav:is(.site-breadcrumbs,.ep-breadcrumbs,.breadcrumbs) a {
 display:inline-flex; align-items:center; gap:7px; color:#536876;
 text-decoration:none; transition:color .15s;
}
body[data-site-design="approved-20261023"] main#main nav:is(.site-breadcrumbs,.ep-breadcrumbs,.breadcrumbs) a:hover {
 color:#007e92; text-decoration:underline; text-underline-offset:4px;
}
body[data-site-design="approved-20261023"] main#main nav:is(.site-breadcrumbs,.ep-breadcrumbs,.breadcrumbs) > :is(span[aria-hidden],.crumb-separator) { color:#8ca5ae; font-size:12px; }
body[data-site-design="approved-20261023"] main#main nav:is(.site-breadcrumbs,.ep-breadcrumbs,.breadcrumbs) [aria-current="page"] { color:#142b4e; font-weight:600; }
body[data-site-design="approved-20261023"] main#main nav:is(.site-breadcrumbs,.ep-breadcrumbs,.breadcrumbs) a[href="/"]::before {
 content:""; display:inline-block; width:13px; height:13px;
 background:currentColor;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 10 9-7 9 7v11h-6v-7H9v7H3Z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
body[data-site-design="approved-20261023"] main#main :is(.ep-hero-inner,.detail-hero-inner,.bp-hero,.gw-hero-grid) { padding-top:36px; }
body.home-page main#main #cases .case-card { padding-top:24px; }
body.home-page main#main #cases { padding-block:48px; }
body.home-page main#main #cases .case-type { margin-top:0; }
body.home-page main#main #cases .case-description { margin-bottom:16px; }
body[data-site-design="approved-20261023"] .initial-consultation-note { display:block; width:fit-content; margin:16px 0 24px; padding:9px 16px; border-left:3px solid #007e92; background:#edf6f7; font-size:16px; font-weight:700; color:#142b4e; }
body[data-site-design="approved-20261023"] .cases-product-filter { margin:20px 0 8px; padding:10px 14px; background:white; border-left:3px solid #007e92; font-size:14px; color:#142b4e; }
@media(max-width:760px) {
 body[data-site-design="approved-20261023"] main#main nav:is(.site-breadcrumbs,.ep-breadcrumbs,.breadcrumbs) { padding-block:13px; gap:5px 8px; font-size:12px; }
 body[data-site-design="approved-20261023"] main#main :is(.ep-hero-inner,.detail-hero-inner,.bp-hero,.gw-hero-grid) { padding-top:24px; }
 body.home-page main#main #cases { padding-block:36px; }
}

body.home-page main#main .hero .actions > a { padding:13px 24px; min-height:52px; box-sizing:border-box; line-height:1.5; }

/* Mobile review, 2026-10-30: one layout rule for standalone actions and reading rows. */
@media (max-width:760px) {
 body.editorial-site main#main :is(.final-cta,.dx-final>.wrap,.welfare-material-band,.ss-consult-grid>div,.recruit-application-action,.recruit-about>.wrap)>.button {display:flex;width:fit-content;max-width:100%;margin-inline:auto;justify-self:center;align-self:center;}
 body.editorial-site.recruit-index-page .recruit-hero-layout {position:relative;isolation:isolate;display:block;}
 body.editorial-site.recruit-index-page .recruit-hero-art {position:absolute;inset:0 0 auto auto;width:100%;height:100%;max-width:none;object-fit:contain;opacity:.13;z-index:-1;pointer-events:none;}
 body.editorial-site.recruit-index-page .recruit-work-grid>article {display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:12px;row-gap:12px;align-items:center;}
 body.editorial-site.recruit-index-page .recruit-work-grid>article>.recruit-icon {width:36px;height:36px;margin:0;}
 body.editorial-site.recruit-index-page .recruit-work-grid>article>h3 {margin:0;}
 body.editorial-site.recruit-index-page .recruit-work-grid>article>p {grid-column:1/-1;margin:0;}
 body.editorial-site main#main .detail-hero-inner:has(>.case-sharing) {position:relative;isolation:isolate;display:block;}
 body.editorial-site main#main .detail-hero-inner>.case-sharing {position:absolute;inset:0 0 0 auto;width:100%;height:100%;margin:0;opacity:.15;z-index:-1;pointer-events:none;}
 body.editorial-site main#main .detail-hero-inner>.case-sharing svg {width:100%;height:100%;}
 body.editorial-site[data-page="about"] #section-4 table tr {padding:0;}
 body.editorial-site.page-about #section-4 table th {padding:12px 0 4px!important;}
 body.editorial-site.page-about #section-4 table td {padding:0 0 12px!important;}
 body.editorial-site main#main .review-process .wr-deliverable {display:block;grid-column:1/-1;width:100%;}
 body.editorial-site main#main .review-process .wr-deliverable>span {display:block;width:auto;white-space:normal;margin-bottom:6px;font-size:14px;}
 body.editorial-site main#main .review-process .wr-deliverable>strong {display:block;}
 body.editorial-site main#main .gw-price {white-space:nowrap;}
 body.editorial-site main#main .gw-price small {display:inline;font-size:16px;white-space:nowrap;margin-left:4px;}
 body.editorial-site main#main .gw-support-panel>article {display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:start;}
 body.editorial-site main#main .gw-support-panel>article>img {width:36px;height:36px;}
 body.editorial-site main#main .gw-support-panel>article h3 {white-space:normal;word-break:normal;}
 body.editorial-site main#main .gw-support-panel>article p {word-break:normal;overflow-wrap:break-word;}
 body.editorial-site main#main .gw-welfare-link>a {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border:1px solid var(--ep-border,#bdd1d6);border-radius:6px;color:var(--ep-action,#007f96);font-weight:600;line-height:1.7;text-decoration:none;}
 body.editorial-site main#main .bp-metrics>ul {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:0;}
 body.editorial-site main#main .bp-metrics>ul>li {width:auto;min-width:0;padding-inline:10px;font-size:16px;text-align:center;}
 body.editorial-site main#main .dx-logo-examples>.dx-logo-label {font-size:20px;color:var(--ep-heading,#102651);line-height:1.5;}
 body.editorial-site[data-page="ma"] main#main .review-process>li {grid-template-columns:80px minmax(0,1fr);column-gap:16px;}
 body.editorial-site[data-page="ma"] main#main .review-process .ma-step-symbols {grid-column:1;grid-row:1;display:flex;align-items:center;gap:8px;}
 body.editorial-site[data-page="ma"] main#main .review-process>li>h3 {grid-column:2;grid-row:1;align-self:center;}
 body.editorial-site[data-page="ma"] main#main .review-process>li>p {grid-column:2;}
}
