.official-business .rich-text > p { margin: 8px 0 22px }
.official-business .rich-text > h4 { color: var(--quiet); font-size: 15px }
.publication-text > p { margin: 1.2rem 0 }
.publication-layout aside h2:not(:first-child) { margin-top: 1.6rem }
.publication-cover { width: 100%; height: auto; display: block }
.library-tools button { justify-self: start }
.library { scroll-margin-top: 84px }
.pagination .plain-button { text-decoration: none }
.reading-pair > :only-child { grid-column: 1 / -1 }
.reading-pair .opinion-card:only-child { max-width: 48rem }
.detail-body .more { line-height: 1.7 }

.library-row .report-list-cover { display:block; width:5.25rem; height:6.75rem; object-fit:contain; object-position:left center; margin-bottom:.4rem }
.publication-text img { display:block; max-width:100%; height:auto; margin:1rem 0 }
.publication-text .table { overflow-x:auto }
/* Keep the featured report compact beside the title and preserve the entire cover. */
.home .report-feature {
  display: grid;
  grid-template-columns: clamp(8rem, 14vw, 12rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.home .report-feature > img {
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  margin: 0;
}
@media (max-width: 600px) {
  .home .report-feature { grid-template-columns: 6.75rem minmax(0, 1fr); gap: .875rem }
}
.publication-text img[src^="/upload/"][alt*=" · "] {
  width: 100%;
  aspect-ratio: auto 16 / 9;
  object-fit: contain;
}
.report-volume-nav { display:flex; align-items:center; gap:1.25rem; flex-wrap:wrap; margin:1rem 0 2rem }
.report-volume-nav a { text-decoration:underline; text-underline-offset:.2em }
.publication-text h2[id^="report-volume-"] { scroll-margin-top:6rem }

/* Service overview and business profiles */
.home #home-services {scroll-margin-top: 82px}
.official-business.business-profiles {width: min(calc(100% - var(--gutter) * 2),1280px); border: 0; padding-block: 0}
.business-profile {padding-block: clamp(32px,4.5vw,70px); border-bottom: 1px solid var(--rule)}
.business-intro {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(32px,5vw,76px);
  align-items: center;
}
.business-intro img {width: 100%; height: auto}
.business-profile:nth-of-type(even) .business-intro img {order: 1}
.business-copy > h4 {font: 500 14px/1.5 var(--sans); color: var(--quiet); margin: 0 0 8px}
.business-copy > h2 {margin: 0 0 16px}
.business-copy > p {margin: 0; line-height: 1.85}
.business-copy > p + p {margin-top: .8em}
.business-profile .business-scope {margin-top: 28px}

.advisory-scope {max-width: 1060px; padding-block: clamp(32px,5vw,72px) 0}
.advisory-scope, .advisory-scope details, .business-scope {scroll-margin-top: 6rem}
.scope-links {display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap: .5rem 1.5rem; margin: 1.25rem 0 2rem}
.scope-links a {color: var(--navy); text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--rule)}
.scope-links a:hover {text-decoration-color: currentColor}
.advisory-scope details {border-top: 1px solid var(--rule)}
.advisory-scope summary {padding: 1rem 0; cursor: pointer; font-weight: 600}
.scope-copy {max-width: 50rem; padding: .25rem 0 1.5rem; line-height: 1.85}
.scope-copy h3 {margin: 1.25rem 0 .5rem; font-size: 1.35rem}
.scope-copy h4 {margin: 1.1rem 0 .25rem; font-size: 1.1rem}
.scope-copy p {margin: .35rem 0}
@media (max-width: 800px) {
  .business-intro {grid-template-columns: minmax(0,1fr); gap: 22px}
  .business-profile:nth-of-type(even) .business-intro img {order: 0}
}

.header-search { flex: none }
.top #nav { margin-left: auto }
.header-search form, .report-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #b6bbb9;
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
}
.header-search form { width: clamp(132px, 12vw, 180px) }
.report-search-form { margin: 1rem 0 }
.header-search form:focus-within, .report-search-form:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}
.header-search input, .report-search-form input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0 0 0 12px;
  color: inherit;
  background: transparent;
  border: 0;
  font: 14px/1.5 var(--sans);
}
.report-search-form input { height: 44px; font-size: 16px; scroll-margin-top: 7rem }
.header-search input::placeholder, .report-search-form input::placeholder { color: var(--quiet); opacity: 1 }
.header-search input:focus, .report-search-form input:focus { outline: none }
.header-search button, .report-search-form button {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--navy);
}
.report-search-form button { width: 44px; height: 44px }
.header-search button:hover, .report-search-form button:hover { background: var(--stone) }
.header-search button:focus-visible, .report-search-form button:focus-visible { outline-offset: -3px }
.header-search svg, .report-search-form svg { display: block; width: 18px; height: 18px }
.header-search .search-toggle { display: none }
@media (max-width: 800px) {
  .masthead .top {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-content: center;
    column-gap: 8px;
    row-gap: 0;
  }
  .top .menu { grid-column: 2 }
  .header-search { display: contents }
  .header-search .search-toggle { display: grid; grid-column: 3; width: 44px; height: 44px }
  .header-search form { display: none; grid-column: 1 / -1; width: 100%; margin: 0 0 12px }
  .top:has(.search-toggle[aria-expanded="true"]) { grid-template-rows: 66px auto }
  .header-search .search-toggle[aria-expanded="true"] + form { display: flex }
  .header-search input { height: 44px; font-size: 16px }
  .header-search form button { width: 44px; height: 44px }
  .search-toggle[aria-expanded="true"] svg { display: none }
  .search-toggle[aria-expanded="true"]::before, .search-toggle[aria-expanded="true"]::after {
    content: "";
    grid-area: 1 / 1;
    width: 17px;
    height: 1.5px;
    background: currentColor;
    transform: rotate(45deg);
  }
  .search-toggle[aria-expanded="true"]::after { transform: rotate(-45deg) }
}


.footer-links a[aria-current], .scope-links a[aria-current] {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: .28em;
  font-weight: 600;
}
.pageintro:has(+ .service-directory) {
  min-height: clamp(150px,15vw,220px);
  padding-block: clamp(22px,2.5vw,36px);
}
.pageintro:has(+ .service-directory) h1 {font-size: clamp(32px,3.2vw,48px)}
.pageintro:has(+ .service-directory) p {margin-top: 8px}
.service-directory {display: block; padding-block: clamp(26px,3.5vw,52px)}
.service-directory .section-lead {display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px}
.service-directory .section-lead h2 {font-size: clamp(24px,2vw,32px); margin: 0}
.service-directory .practices {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 clamp(20px,3vw,44px)}
.service-directory .practice {padding: 16px 0; align-items: baseline; border-top: 1px solid var(--rule); border-bottom: 0}
.service-directory .practice h3 {font-size: clamp(18px,1.55vw,24px)}
.service-directory .practice p {line-height: 1.65; margin-top: 4px}
.service-directory .practice:is(:focus-visible,:hover) h3 {text-decoration: underline; text-underline-offset: .22em}
@media (max-width: 900px) {
  .service-directory .practices {grid-template-columns: repeat(2,minmax(0,1fr))}
}
@media (max-width: 600px) {
  .service-directory .practices {grid-template-columns: 1fr}
  .service-directory .practice {padding: 9px 0; gap: 10px}
  .service-directory .practice p {font-size: 14px}
  .service-directory .section-lead {margin-bottom: 12px}
  .pageintro:has(+ .service-directory) p {max-width: 88%}
}

.topic-directory {padding-bottom: 0}
.topic-directory h2 {font-size: clamp(24px,2vw,32px)}
.topic-directory .scope-links {margin-bottom: 0; gap: 0 2rem}
.topic-directory .scope-links a {padding: .75rem 0; border-top: 1px solid var(--rule); text-decoration: none}
.topic-directory .scope-links a:hover, .topic-directory .scope-links a[aria-current] {text-decoration: underline}
#business-scope details, #service-needs {scroll-margin-top: 6rem}
.scope-contact {margin-bottom: 1rem}
@media (max-width: 600px) {
  .topic-directory .scope-links {grid-template-columns: 1fr; margin-top: .65rem}
  .topic-directory .scope-links a {padding: .45rem 0}
}

.original-scope .practice {grid-template-columns: 1fr}

.scope-copy {font-size: 18px; line-height: 1.85}
.scope-copy h3 {font-size: clamp(23px, 1.8vw, 28px); line-height: 1.45}
.scope-copy h4 {font-size: 20px; line-height: 1.55}
.advisory-scope .scope-links a, .advisory-scope summary {font-size: 18px}
.detail-body:has(> .scope-copy) {padding-block: clamp(28px, 4vw, 60px)}
.detail-body > .scope-copy > :first-child {margin-top: 0}
.detail-heading:has(+ .detail-body > .scope-copy) .detail-cover {grid-template-columns: 1fr}
.detail-heading .lead:empty {display: none}
@media (max-width: 800px) {
  .scope-copy {font-size: 17px}
  .scope-copy h4 {font-size: 19px}
}

/* Home business directory and company introduction */
.home .practice-band, .home .firm-panel {background: var(--paper)}
.home .practice-band .practice-section {display: block; padding-block: clamp(32px, 4.4vw, 68px) clamp(28px, 3.6vw, 56px)}
.home .practice-band .section-lead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px; margin-bottom: clamp(16px, 2vw, 28px);
}
.home .practice-band .section-lead h2, .home .firm-panel h2 {margin: 0; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.25}
.home .practice-band .more {font-size: 16px}
.home-service-overview .scope-links {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0; margin: 0; border-block: 1px solid var(--rule);
}
.home-service-overview .scope-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px clamp(12px, 1.5vw, 24px); min-height: 82px;
  border: 0; border-inline-end: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  color: var(--navy); font-size: clamp(19px, 1.42vw, 23px); line-height: 1.55;
  text-decoration: none; text-wrap: balance;
}
.home-service-overview .scope-links a:nth-child(3n) {border-inline-end: 0}
.home-service-overview .scope-links a:nth-last-child(-n+3) {border-bottom: 0}
.home-service-overview .scope-links a::after {
  content: ""; width: 7px; height: 7px; flex: none;
  border-top: 1.5px solid var(--brass); border-right: 1.5px solid var(--brass); transform: rotate(45deg);
}
.home-service-overview .scope-links a:is(:hover, :focus-visible) {background: var(--stone); color: var(--navy); text-decoration: underline; text-underline-offset: .24em}
.home .firm-panel {padding-bottom: clamp(28px, 4vw, 64px)}
.home .firm-panel .wrap {
  display: grid; grid-template-columns: 1fr 1.18fr; grid-template-areas: "copy photo";
  align-items: stretch; gap: 0; padding: 0; background: #19354d; color: var(--paper);
}
.home .firm-panel img {grid-area: photo; width: 100%; height: 100%; min-height: 0; aspect-ratio: 2.1; object-fit: cover}
.home .firm-panel .wrap > div {grid-area: copy; align-self: center; padding: clamp(28px, 3.8vw, 60px)}
.home .firm-panel p {margin: 16px 0 20px; max-width: 30em; color: #e9edf0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.8}
.home .firm-panel .more {color: var(--paper); border-color: var(--light-gold); font-size: 16px}
@media (max-width: 900px) {
  .home-service-overview .scope-links {grid-template-columns: 1fr}
  .home-service-overview .scope-links a:nth-child(n) {
    min-height: 49px; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--rule); font-size: 18px;
  }
  .home-service-overview .scope-links a:last-child {border-bottom: 0}
}
@media (max-width: 700px) {
  .home .firm-panel .wrap {grid-template-columns: 1fr; grid-template-areas: "copy" "photo"}
  .home .firm-panel .wrap > div {padding: 26px 22px}
  .home .firm-panel img {height: auto; aspect-ratio: 2.25}
}

/* Service articles: align the title and copy on the same reading grid. */
.detail-heading:has(+ .detail-body > .scope-copy) .detail-cover,
.detail-body:has(> .scope-copy) {max-width: 1120px}
.detail-heading:has(+ .detail-body > .scope-copy) .detail-cover {padding-block: clamp(26px,3vw,48px)}
.detail-heading:has(+ .detail-body > .scope-copy) h1 {font-size: clamp(30px,3.05vw,46px); line-height: 1.3; margin: 12px 0 0; text-wrap: balance}
.detail-body:has(> .scope-copy) {grid-template-columns: minmax(0,1fr) auto; gap: clamp(28px,5vw,80px); padding-block: clamp(28px,3.5vw,54px)}
.detail-body > .scope-copy {width: 100%; max-width: 46em; padding: 0; line-height: 1.85; overflow-wrap: anywhere}
.detail-body > .scope-copy p {margin: .45em 0}
.detail-body > .scope-copy h3 {margin: 1.55em 0 .65em; padding-top: .72em; border-top: 1px solid var(--rule); font-size: clamp(22px,1.8vw,26px); line-height: 1.45}
.detail-body > .scope-copy h4 {margin: 1.1em 0 .35em; font-size: clamp(18px,1.45vw,21px); line-height: 1.5}
.detail-body > .scope-copy h3 + h4 {margin-top: .65em}
.detail-body > .scope-copy > :first-child {margin-top: 0; border-top: 0; padding-top: 0}
@media (max-width: 800px) {
  .detail-body:has(> .scope-copy) {grid-template-columns: minmax(0,1fr)}
  .detail-body:has(> .scope-copy) aside {text-align: left}
}

/* Recruitment invitation and the partners shown on the original website. */
.pageintro:has(+ .official-joinus) {text-align: center; align-items: center; min-height: clamp(215px,20vw,310px); color: white}
.pageintro:has(+ .official-joinus)::after {background: rgb(16 36 52 / 72%)}
.pageintro:has(+ .official-joinus) p {max-width: none; color: white; margin-top: 8px}
.official-joinus {display: block; padding-block: clamp(34px,4.5vw,68px); max-width: 1120px}
.official-joinus .profile-row {display: block; border: 0; padding: 0}
.official-joinus .profile-row:first-child {max-width: 48em; margin: 0 auto clamp(32px,4vw,64px)}
.official-joinus .profile-row h2 {text-align: center; margin: 0 0 18px; font-size: clamp(26px,2.25vw,36px)}
.official-joinus .profile-row p {margin: 0; font-size: clamp(17px,1.25vw,19px); line-height: 1.95}
.official-joinus .partner-list {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--rule); padding: 1px; margin: 0}
.official-joinus .partner-list li {display: grid; align-content: center; justify-items: center; gap: 9px; padding: 18px 8px; border: 0; background: white; color: var(--quiet); font-size: 14px}
.official-joinus .partner-list img {width: min(154px,82%); height: 56px; object-fit: contain}
@media (max-width: 600px) {
  .official-joinus .partner-list li {padding: 12px 4px; font-size: 12px}
  .official-joinus .partner-list img {height: 40px}
}
