/* ===========================================
   PRACTICE AREA PAGE
   Content panels for the tabbed PA template.
   Reuses about-tabs for tab strip + panel switcher.
   =========================================== */

/* --- Accordion body paragraphs inside PA panels --- */
.bio-accordion-body-inner p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--teal-60);
  margin-bottom: 16px;
}
.bio-accordion-body-inner p:last-child {
  margin-bottom: 0;
}

/* --- Related practices & practice areas: white bg practice grid --- */
.pa-page .about-tab-panel[data-panel="related-practices"] .practice-areas,
.bio-page .about-tab-panel[data-panel="practice-areas"] .practice-areas {
  background: var(--white);
}

/* --- Overview panel --- */
.pa-overview {
  padding: 80px 0;
  background: var(--white);
}
.pa-overview-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}
.pa-overview h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--teal);
  /* explicit zeroes: the overview is a .prose surface and .prose h2 would
     otherwise leak its section-rule top border and 56px spacing in here */
  margin-top: 0;
  margin-bottom: 28px;
  padding-top: 0;
  border-top: none;
}
.pa-overview-lead {
  font-family: var(--font-sans);
  font-size: 21px;
  line-height: 1.7;
  color: var(--teal);
  font-weight: 400;
  margin-bottom: 24px;
}
.pa-overview p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--teal-60);
  margin-bottom: 20px;
}
.pa-overview p:last-of-type {
  margin-bottom: 0;
}

/* --- Overview sub-sections --- */
.pa-subsection {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--teal-15);
}
.pa-subsection h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin-bottom: 20px;
}
.pa-subsection p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--teal-60);
  margin-bottom: 20px;
}
.pa-subsection p:last-of-type {
  margin-bottom: 0;
}

/* --- Representative work list in overview --- */
.pa-services-list {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  columns: 2;
  column-gap: 40px;
}
.pa-services-list li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--teal-60);
  padding: 6px 0;
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pa-services-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

/* --- Overview "Read more" expandable section --- */
.pa-readmore-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms var(--ease-out);
}
.pa-readmore-inner {
  min-height: 0;
  overflow: hidden;
}
.pa-readmore.is-open .pa-readmore-content {
  grid-template-rows: 1fr;
}
.pa-readmore.is-open .pa-readmore-inner {
  overflow: visible;
}
/* A heading under the fold opens a section, so it carries the divider
   whatever its level: editors write H2s and H3s alike. H2 keeps the
   .pa-overview h2 typography; only the section spacing is added, with the
   ancestor in the selector so it outranks that rule's explicit zeroes. */
.pa-overview .pa-readmore-block h2 {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--teal-15);
}
/* Each h3 opens a section under the fold, so it carries the divider. */
.pa-readmore-block h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--teal-15);
}
.pa-readmore-block p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--teal-60);
  margin-bottom: 16px;
}
.pa-readmore-block p:last-child { margin-bottom: 0; }
.pa-readmore-btn-row {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--teal-15);
}
.pa-readmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--orange);
  border: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: background 180ms ease;
}
.pa-readmore-btn:hover {
  background: var(--orange-hover);
}
.pa-readmore-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 280ms var(--ease-out);
}
.pa-readmore.is-open .pa-readmore-btn svg {
  transform: rotate(180deg);
}

/* --- FAQ accordion --- */
.pa-faq {
  margin-top: 32px;
}
.pa-faq-item {
  border-top: 1px solid var(--teal-15);
}
.pa-faq-item:last-child {
  border-bottom: 1px solid var(--teal-15);
}
.pa-faq-question {
  margin: 0;
}
.pa-faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--teal);
  transition: color 0.2s ease;
}
.pa-faq-toggle:hover,
.pa-faq-toggle:focus-visible {
  color: var(--orange);
}
.pa-faq-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
.pa-faq-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.pa-faq-item.is-open .pa-faq-chevron {
  transform: rotate(180deg);
}
.pa-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.pa-faq-answer {
  font-size: 17px;
  line-height: 1.8;
  color: var(--teal-60);
  margin: 0;
  padding: 0 0 28px;
  max-width: 760px;
}
/* The FAQ body is a .prose surface on the FAQ page; out-specify .prose p's
   bottom margin so the accordion keeps its padding-driven rhythm. */
.pa-faq-body .pa-faq-answer {
  margin-bottom: 0;
}

/* --- Case results panel --- */
.pa-cases {
  padding: 80px 0;
  background: var(--white);
}
.pa-cases-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}
.pa-cases h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--teal);
  margin-bottom: 12px;
}
.pa-cases-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--teal-60);
  margin-bottom: 48px;
}
.pa-case-item {
  padding: 32px 0;
  border-top: 1px solid var(--teal-15);
}
.pa-case-item:last-child {
  border-bottom: 1px solid var(--teal-15);
}
.pa-case-category {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.pa-case-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--teal);
  margin-bottom: 10px;
}
.pa-case-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--teal-60);
}

/* --- Related practices panel --- */
.pa-related {
  padding: 80px 0;
  background: var(--white);
}
.pa-related-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 48px;
}
.pa-related h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--teal);
  margin-bottom: 40px;
}
.pa-related-list {
  list-style: none;
  padding: 0;
}
.pa-related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--teal-15);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--teal);
  transition: color 180ms ease;
  cursor: pointer;
}
.pa-related-item:last-child {
  border-bottom: 1px solid var(--teal-15);
}
.pa-related-item:hover {
  color: var(--orange);
}
.pa-related-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--teal-muted);
  transition: color 180ms ease, transform 180ms ease;
}
.pa-related-item:hover svg {
  color: var(--orange);
  transform: translateX(4px);
}

/* --- Full-width tab divider on PA page --- */
.pa-page .about-tab-divider .container {
  max-width: 100%;
  padding: 0;
}

/* --- Align Approach + Related Practices panels to the 960px reading frame --- */
.pa-page .about-tab-panel .process > .container,
.pa-page .about-tab-panel .practice-areas > .container {
  max-width: 960px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .pa-overview,
  .pa-cases,
  .pa-related {
    padding: 56px 0;
  }
  .pa-overview-inner,
  .pa-cases-inner,
  .pa-related-inner {
    padding: 0 24px;
  }
  .pa-overview-lead {
    font-size: 19px;
  }
  .pa-services-list {
    columns: 1;
  }
}
