:root {
  --accent: #087f7d;
  --font-display: 'Inter', sans-serif;
}

main a:not(.btn):not(.card-link):not(.category-card) {
  color: #087977;
}

main a:not(.btn):not(.card-link):not(.category-card):hover {
  color: #045d5c;
}

.pro-guide-page {
  background: #f8faf9;
  color: #172432;
}

.pro-guide-page main a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.pro-article-hero {
  padding: clamp(2.8rem, 6vw, 5.2rem) 0 3.3rem;
  background: radial-gradient(circle at 88% 12%, rgba(107, 220, 205, .22), transparent 28%), linear-gradient(135deg, #122b3b 0%, #163b48 55%, #0c6e6d 100%);
  color: #fff;
}

.pro-article-hero h1 {
  max-width: 970px;
  margin: .7rem 0 1.2rem;
  color: #fff;
  font-size: clamp(2.15rem, 5vw, 4rem);
  letter-spacing: -.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.pro-article-hero .section-kicker {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}

.pro-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
}

.pro-breadcrumb a,
.pro-byline a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-byline {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.4rem;
  color: rgba(255, 255, 255, .86);
  font-size: .92rem;
}

.pro-article-shell {
  width: min(100% - 32px, 900px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0 5rem;
}

.pro-article-shell > section {
  margin: 2.7rem 0;
}

.pro-article-shell h2 {
  margin: 0 0 1rem;
  color: #172432;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.pro-article-shell h3 {
  margin: 0 0 .45rem;
  color: #173746;
  font-size: 1.1rem;
  line-height: 1.35;
}

.pro-article-shell p,
.pro-article-shell li {
  font-size: 1.01rem;
  line-height: 1.78;
  color: #40515d;
}

.pro-lede {
  font-size: 1.12rem !important;
  line-height: 1.82 !important;
  color: #2d414e !important;
}

.pro-quick-answer,
.pro-warning,
.pro-escalation {
  margin: 0 0 2rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border-radius: 22px;
}

.pro-quick-answer {
  background: #fff;
  border: 1px solid #cfe7e3;
  box-shadow: 0 16px 42px rgba(23, 55, 70, .08);
}

.pro-quick-answer h2 {
  font-size: 1.38rem;
}

.pro-quick-answer p:last-child,
.pro-warning p:last-child,
.pro-escalation p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 .6rem !important;
  padding: .36rem .65rem;
  border-radius: 999px;
  background: #dff5f1;
  color: #075f5e !important;
  font-size: .75rem !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pro-feature-image {
  margin: 2rem 0 2.4rem;
}

.pro-feature-image img {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(23, 55, 70, .14);
}

.pro-feature-image figcaption {
  padding: .65rem .2rem 0;
  color: #657681;
  font-size: .88rem;
  line-height: 1.55;
}

.pro-table-wrap {
  overflow-x: auto;
  border: 1px solid #dce6e5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 55, 70, .06);
}

.pro-diagnosis-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.pro-diagnosis-table th {
  padding: .9rem 1rem;
  background: #173746;
  color: #fff;
  text-align: left;
  font-size: .9rem;
}

.pro-diagnosis-table td {
  padding: .9rem 1rem;
  border-top: 1px solid #e3ebea;
  vertical-align: top;
  line-height: 1.55;
  color: #40515d;
}

.pro-diagnosis-table tbody tr:nth-child(even) {
  background: #f5faf9;
}

.pro-steps {
  display: grid;
  gap: .9rem;
  margin-top: 1.25rem;
}

.pro-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid #dce6e5;
  border-radius: 17px;
  box-shadow: 0 8px 22px rgba(23, 55, 70, .045);
}

.pro-step > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0b7f7d;
  color: #fff;
  font-weight: 800;
}

.pro-step p {
  margin: 0;
}

.pro-warning {
  background: #fff8ec;
  border: 1px solid #f3d5a7;
  border-left: 5px solid #d98412;
}

.pro-warning .eyebrow {
  background: #f9e4c3;
  color: #70400a !important;
}

.pro-warning ul {
  margin: 0;
  padding-left: 1.2rem;
}

.pro-warning li + li {
  margin-top: .45rem;
}

.pro-escalation {
  background: #f0f7fa;
  border: 1px solid #ccdfe7;
  border-left: 5px solid #245c72;
}

.pro-faq details {
  margin: .75rem 0;
  background: #fff;
  border: 1px solid #dce6e5;
  border-radius: 15px;
}

.pro-faq summary {
  padding: 1rem 1.1rem;
  cursor: pointer;
  color: #173746;
  font-weight: 750;
  line-height: 1.4;
}

.pro-faq details p {
  padding: 0 1.1rem 1rem;
  margin: 0;
}

.pro-sources {
  padding-top: 2.2rem;
  border-top: 1px solid #dce6e5;
}

.pro-sources ul {
  padding-left: 1.2rem;
}

.pro-editorial-note {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 12px;
  background: #eef5f4;
  font-size: .92rem !important;
}

.pro-related > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.pro-related a {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #dce6e5;
  border-radius: 15px;
  background: #fff;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(23, 55, 70, .045);
}

.pro-related a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 55, 70, .09);
}

.pro-related strong {
  color: #173746;
}

.pro-related span {
  color: #087977;
  font-size: .88rem;
  font-weight: 700;
}

@media (max-width: 680px) {
  .pro-article-shell { width: min(100% - 24px, 900px); }
  .pro-article-hero { padding: 2.4rem 0; }
  .pro-article-hero h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .pro-step { grid-template-columns: 36px 1fr; padding: 1rem; }
  .pro-step > span { width: 34px; height: 34px; }
  .pro-related > div { grid-template-columns: 1fr; }
  .pro-quick-answer,
  .pro-warning,
  .pro-escalation { border-radius: 17px; }
  .pro-feature-image img { border-radius: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
