/* Shared FTIR editorial template. Load after each article's media stylesheet.
   Opt in with ftir-article-page; product and catalog pages do not use this file. */
.ftir-article-page {
  --fta-heading: #123856;
  --fta-text: #334f65;
  --fta-link: #0879b7;
  --fta-line: #dce8f0;
}

.ftir-article-page main { padding-top: 82px; }
.ftir-article-page .fta-title {
  font-family: var(--font-main);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.ftir-article-page .fta-title :is(.vm-hero-product-name, .mr-product-name) {
  font-size: inherit;
  line-height: inherit;
}
.ftir-article-page .fta-title :is(.vm-hero-positioning, .mr-positioning) {
  margin-top: 12px;
  font-size: .65em;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}
.ftir-article-page .fta-shell { padding: 52px 0 76px; background: #fff; }
.ftir-article-page .fta-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 280px;
  gap: 52px;
  justify-content: center;
  align-items: start;
}
.ftir-article-page .fta-body { min-width: 0; }
.ftir-article-page .fta-body :is(h2, h3) {
  font-family: var(--font-main);
  color: var(--fta-heading);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.015em;
  scroll-margin-top: 108px;
}
.ftir-article-page .fta-body h2 { margin: 48px 0 18px; font-size: 30px; }
.ftir-article-page .fta-body h3 { margin: 32px 0 14px; font-size: 22px; }
.ftir-article-page .fta-body > h2:first-child { margin-top: 0; }
.ftir-article-page .fta-body :is(p, li) {
  font-size: 17px;
  line-height: 1.9;
  color: var(--fta-text);
}
.ftir-article-page .fta-body p { margin: 0 0 16px; }
.ftir-article-page .fta-body a {
  color: var(--fta-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.ftir-article-page .fta-body :is(.jf-intro, .vm-intro) {
  margin: 0 0 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.ftir-article-page .fta-body figcaption { font-size: 14px; line-height: 1.8; color: #60768a; }
.ftir-article-page .fta-body :is(.sources, .jf-source-box, .vm-sources, .pe-sources) li {
  font-size: 14px;
  line-height: 1.8;
  margin: 10px 0;
}
.ftir-article-page .fta-body :is(.jf-source-box, .vm-sources) {
  padding: 30px 0 0;
  border: 0;
  border-top: 1px solid var(--fta-line);
  border-radius: 0;
  background: none;
}
.ftir-article-page .fta-body :is(.jf-source-box, .vm-sources) h2 { margin-top: 0; }

/* Keep reading links and product destinations distinct in the same two panels. */
.ftir-article-page .fta-sidebar { position: sticky; top: 104px; display: grid; gap: 20px; }
.ftir-article-page .fta-side-panel { padding: 22px; border: 1px solid var(--fta-line); border-radius: 8px; background: #fff; }
.ftir-article-page .fta-side-panel h2 { margin: 0 0 12px; color: var(--fta-heading); font-size: 17px; font-weight: 700; line-height: 1.5; }
.ftir-article-page .fta-nav-links { display: grid; }
.ftir-article-page .fta-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e7eef4;
  color: var(--fta-heading);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  text-decoration: none;
}
.ftir-article-page .fta-nav-links a:last-child { border-bottom: 0; padding-bottom: 0; }
.ftir-article-page .fta-nav-links i { flex: none; color: var(--fta-link); font-size: 12px; }
.ftir-article-page .fta-nav-links a:hover { color: var(--fta-link); }
.ftir-article-page .fta-nav-links a:focus-visible { outline: 2px solid var(--fta-link); outline-offset: 4px; border-radius: 2px; }

@media (max-width: 1040px) {
  .ftir-article-page .fta-layout { grid-template-columns: minmax(0, 820px); gap: 42px; }
  .ftir-article-page .fta-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ftir-article-page main { padding-top: 72px; }
  .ftir-article-page .fta-title { font-size: 32px; line-height: 1.4; }
  .ftir-article-page .fta-title :is(.vm-hero-positioning, .mr-positioning) { font-size: .78em; }
  .ftir-article-page .fta-shell { padding: 34px 0 56px; }
  .ftir-article-page .fta-layout { gap: 34px; }
  .ftir-article-page .fta-body h2 { margin-top: 40px; font-size: 26px; }
  .ftir-article-page .fta-body h3 { margin-top: 28px; font-size: 21px; }
  .ftir-article-page .fta-body :is(p, li) { font-size: 16px; line-height: 1.9; }
  .ftir-article-page .fta-sidebar { grid-template-columns: 1fr; }
  .ftir-article-page .fta-side-panel { padding: 20px; }
}

/* Shared FTIR footer, matching the existing FTIR landing navigation. */

.ftir-article-page .pc-footer {
  padding: 28px 0 34px;
  border-top: 1px solid #dce8f2;
  background: #fff;
}

.ftir-article-page .pc-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 28px;
  align-items: start;
}

.ftir-article-page .pc-footer-title {
  margin-bottom: 10px;
  color: #0b2f5d;
  font-size: 18px;
  font-weight: 900;
}

.ftir-article-page .pc-footer-brand p {
  color: #4f6c87;
  font-size: 14px;
  line-height: 1.8;
}

.ftir-article-page .pc-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ftir-article-page .pc-footer-col h3 {
  margin-bottom: 10px;
  color: #0b2f5d;
  font-size: 14px;
  font-weight: 800;
}

.ftir-article-page .pc-footer-col a,
.ftir-article-page .pc-footer-col span {
  display: block;
  margin-bottom: 8px;
  color: #4f6c87;
  font-size: 13px;
  line-height: 1.7;
}

.ftir-article-page .pc-footer-col a:hover,
.ftir-article-page .pc-footer-bottom a:hover {
  color: #2aa9e8;
}

.ftir-article-page .pc-footer-bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #dce8f2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #748aa0;
  font-size: 13px;
}

.ftir-article-page .pc-footer-bottom a {
  color: #4f6c87;
}


@media (max-width:1024px) {
  .ftir-article-page .pc-footer-top { grid-template-columns:1fr; }
}
@media (max-width:700px) {
  .ftir-article-page .pc-footer-links { grid-template-columns:1fr; }
}
