/* PAK Modern Engineering — article typography, v2.3.9.
   Scoped to .pak-single so the landing page, navigation, sidebar and reader tools stay untouched. */
.pak-single .article-copy .entry-content {
  color: #374650;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
}
.pak-single .article-copy .entry-content p {
  margin-top: 0;
  margin-bottom: 25px;
}
/* Preserve the existing highlighted introduction, updating its type only. */
.pak-single .article-copy .entry-content > p:first-of-type {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #3c4448;
  line-height: 1.78;
  letter-spacing: -0.01em;
}
.pak-single .article-copy .entry-content :is(h2, h3, h4) {
  color: #233846;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.pak-single .article-copy .entry-content h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.032em;
  margin: 52px 0 20px;
  scroll-margin-top: 110px;
}
.pak-single .article-copy .entry-content h2::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: #c47735;
  border-radius: 3px;
  margin: 0 0 15px;
}
.pak-single .article-copy .entry-content h3 {
  font-size: clamp(22px, 1.85vw, 25px);
  line-height: 1.38;
  font-weight: 650;
  letter-spacing: -0.022em;
  margin: 36px 0 15px;
  scroll-margin-top: 110px;
}
.pak-single .article-copy .entry-content h3::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: #caa27c;
  border-radius: 2px;
  margin-bottom: 11px;
}
.pak-single .article-copy .entry-content h4 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -0.016em;
  margin: 28px 0 12px;
}
.pak-single .article-copy .entry-content :is(h2, h3, h4) + p { margin-top: 0; }
.pak-single .article-copy .entry-content :is(ul, ol) {
  color: inherit;
  margin: 3px 0 28px;
  padding-left: 1.55em;
  line-height: 1.74;
}
.pak-single .article-copy .entry-content li {
  padding-left: .2em;
  margin-bottom: 10px;
}
.pak-single .article-copy .entry-content li::marker {
  color: #b6753e;
  font-weight: 700;
}
.pak-single .article-copy .entry-content li > :is(ul, ol) {
  margin-top: 10px;
  margin-bottom: 12px;
}
.pak-single .article-copy .entry-content a:not(.wp-element-button):not(.wp-block-button__link) {
  color: #24627a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #a7c0cc;
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.pak-single .article-copy .entry-content a:not(.wp-element-button):not(.wp-block-button__link):hover {
  color: #a2602d;
  text-decoration-color: currentColor;
}
.pak-single .article-copy .entry-content a:focus-visible {
  outline: 2px solid #c47735;
  outline-offset: 3px;
}
.pak-single .article-copy .entry-content :is(strong, b) { font-weight: 700; color: #293d4a; }
.pak-single .article-copy .entry-content blockquote:not(.wp-block-pullquote) {
  border-left: 3px solid #c47735;
  background: #f6f8f9;
  color: #3d505c;
  padding: 16px 22px;
  margin: 28px 0;
}
.pak-single .article-copy .entry-content :is(figcaption, .wp-element-caption) {
  color: #697883;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .pak-single .article-copy .entry-content { font-size: 17.5px; line-height: 1.76; }
  .pak-single .article-copy .entry-content h2 { margin-top: 44px; }
}
@media (max-width: 620px) {
  .pak-single .article-copy .entry-content { font-size: 16.5px; line-height: 1.74; letter-spacing: 0; }
  .pak-single .article-copy .entry-content p { margin-bottom: 21px; }
  .pak-single .article-copy .entry-content > p:first-of-type { font-size: 17px; line-height: 1.7; }
  .pak-single .article-copy .entry-content h2 { font-size: clamp(23px, 6.3vw, 28px); margin: 38px 0 16px; line-height: 1.32; }
  .pak-single .article-copy .entry-content h2::before { margin-bottom: 12px; width: 42px; }
  .pak-single .article-copy .entry-content h3 { font-size: clamp(20px, 5.4vw, 23px); margin: 29px 0 12px; }
  .pak-single .article-copy .entry-content h4 { font-size: 18px; }
  .pak-single .article-copy .entry-content :is(ul,ol) { padding-left: 1.35em; margin-bottom: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .pak-single .article-copy .entry-content a { transition: none !important; }
}
