/*
 * Blueprint To Progress — Value Proposition Article
 * Page-specific CSS only.
 * Architecture: Global BTP CSS → common article CSS → minimal page-specific CSS.
 *
 * Required common stylesheet:
 * https://blueprinttoprogress.com/wp-content/uploads/btp/btp-career-articles-V9.4-CLEAN-PRODUCTION.css
 */

:root {
  --btp-article-max-width: 1180px;
  --btp-article-mobile-gutter: 16px;
  --btp-article-tablet-gutter: 46px;
  --btp-h1-size-desktop: 56px;
  --btp-h1-size-tablet: 36px;
  --btp-h1-size-mobile: 38px;
  --btp-h2-size-desktop: 38px;
  --btp-h2-size-tablet: 32px;
  --btp-h2-size-mobile: 30px;
  --btp-h3-size-desktop: 30px;
  --btp-h3-size-tablet: 27px;
  --btp-h3-size-mobile: 24px;
  --btp-body-size-desktop: 18px;
  --btp-body-size-tablet: 17px;
  --btp-body-size-mobile: 17px;
  --btp-body-line-height: 1.55;
  --btp-mobile-line-height: 1.6;
  --btp-light-blue: #eaf4ff;
  --btp-blue: #2563eb;
  --btp-border: #d7dce2;
  --btp-heading: #111827;
  --btp-text: #334155;
}

/* Article container — BTP Article Standard */
.btp-article .article-container {
  width: 100%;
  max-width: var(--btp-article-max-width);
  margin-left: auto;
  margin-right: auto;
}

.btp-article .article-header {
  padding-top: 40px; /* requested visual breathing space above eyebrow */
}

.btp-article .article-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--btp-light-blue);
  color: var(--btp-blue);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btp-article h1 {
  font-size: var(--btp-h1-size-desktop);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin: 0 0 28px;
}

.btp-article h2 {
  font-size: var(--btp-h2-size-desktop);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-top: 56px;
  margin-bottom: 12px;
  color: var(--btp-heading);
}

.btp-article h3 {
  font-size: var(--btp-h3-size-desktop);
  line-height: 1.2;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 4px;
  color: var(--btp-heading);
}

.btp-article p,
.btp-article li {
  font-size: var(--btp-body-size-desktop);
  line-height: var(--btp-body-line-height);
  color: var(--btp-text);
}

.btp-article p {
  margin: 0 0 24px;
}

.btp-article .lead {
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 30px;
}

.btp-article ul,
.btp-article ol {
  padding-left: 32px;
  margin: 0 0 24px;
}

.btp-article li {
  margin-bottom: 4px;
}

.btp-article strong {
  font-weight: 700;
}

.btp-article a {
  text-decoration: none;
}

.btp-article a:hover {
  text-decoration: underline;
}

/* TOC — standard white card, 2 columns desktop/tablet, 1 column mobile */
.btp-article .article-toc {
  background: #fff;
  padding: 24px 28px;
  border: 1px solid var(--btp-border);
  border-radius: 14px;
  margin: 0 0 8px;
}

.btp-article .article-toc h2 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.btp-article .article-toc-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}

.btp-article .article-toc-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.btp-article .article-toc-column a {
  font-size: 17px;
  line-height: 1.6;
  color: var(--btp-blue);
  padding: 2px 0;
}

/* Full-width responsive article figures */
.btp-article .article-figure {
  margin: 32px 0 40px;
}

.btp-article .article-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.btp-article .article-figure figcaption {
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  margin-top: 10px;
  color: #64748b;
}

/* Comparison table — horizontal scroll on narrow screens */
.btp-article .table-scroll {
  width: 100%;
  padding: 0 !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 8px 0 28px;
  background: #fff;
  border: 1px solid var(--btp-border);
  border-radius: 14px;
}

.btp-article .comparison-table {
  width: 100%;
  min-width: 720px;
  margin: 0 !important;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fff;
}

.btp-article .comparison-table th {
  background: #0f7bdc;
  color: #fff;
  text-align: left;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  padding: 13px 16px;
}

.btp-article .comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.btp-article .comparison-table td {
  background: #fff;
  color: var(--btp-text);
  font-size: 17px;
  line-height: 1.5;
  padding: 14px 16px;
  border-top: 1px solid #e2e8f0;
  vertical-align: top;
}

/* CTA */
.btp-article .article-cta {
  margin: 56px 0 24px;
  padding: 0;
}

.btp-article .article-cta-inner {
  background: #eaf4ff;
  border: 1px solid #b9dcff;
  padding: 30px 32px 34px;
  text-align: center;
}

.btp-article .article-cta h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.btp-article .article-cta p {
  margin: 0 auto 20px;
  max-width: 820px;
}

.btp-article .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btp-blue);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none !important;
}

.btp-article .cta-button:hover {
  color: #fff !important;
  text-decoration: none !important;
}

/* Back-to-top — retained as a small page-level hook; global styling may supersede it. */
.btp-article + .back-to-top,
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 24px;
  z-index: 20;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--btp-blue);
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .btp-article .article-container {
    width: calc(100% - 92px);
    max-width: var(--btp-article-max-width);
  }

  .btp-article h1 {
    font-size: var(--btp-h1-size-tablet);
    line-height: 1.08;
    letter-spacing: -0.8px;
  }

  .btp-article h2 {
    font-size: var(--btp-h2-size-tablet);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-top: 48px;
    margin-bottom: 10px;
  }

  .btp-article h3 {
    font-size: var(--btp-h3-size-tablet);
    line-height: 1.2;
    margin-top: 28px;
  }

  .btp-article p,
  .btp-article li {
    font-size: var(--btp-body-size-tablet);
    line-height: 1.6;
  }

  .btp-article .lead {
    font-size: 20px;
    line-height: 1.55;
  }
}

@media (max-width: 767px) {
  .btp-article .article-container {
    width: calc(100% - 32px);
    max-width: var(--btp-article-max-width);
  }

  .btp-article .article-header {
    padding-top: 40px;
  }

  .btp-article .article-category {
    margin-bottom: 14px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .btp-article h1 {
    font-size: var(--btp-h1-size-mobile);
    line-height: 1.08;
    letter-spacing: -0.7px;
    margin-bottom: 24px;
  }

  .btp-article h2 {
    font-size: var(--btp-h2-size-mobile);
    line-height: 1.15;
    letter-spacing: -0.4px;
    margin-top: 44px;
    margin-bottom: 10px;
  }

  .btp-article h3 {
    font-size: var(--btp-h3-size-mobile);
    line-height: 1.2;
    margin-top: 28px;
    margin-bottom: 4px;
  }

  .btp-article p,
  .btp-article li {
    font-size: var(--btp-body-size-mobile);
    line-height: 1.6;
  }

  .btp-article .lead {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 26px;
  }

  .btp-article ul,
  .btp-article ol {
    padding-left: 28px;
  }

  .btp-article .article-toc {
    padding: 20px 20px;
  }

  .btp-article .article-toc-columns {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }

  .btp-article .article-toc-column a {
    font-size: 16px;
  }

  .btp-article .article-figure {
    margin: 28px 0 34px;
  }

  .btp-article .article-figure figcaption {
    font-size: 15px;
  }

  .btp-article .table-scroll {
    border-radius: 12px;
    margin-left: 0;
    margin-right: 0;
  }

  .btp-article .comparison-table {
    min-width: 680px;
  }

  .btp-article .comparison-table th,
  .btp-article .comparison-table td {
    font-size: 16px;
    padding: 12px 14px;
  }

  .btp-article .article-cta {
    margin-top: 44px;
  }

  .btp-article .article-cta-inner {
    padding: 26px 20px 30px;
  }

  .btp-article .article-cta h2 {
    font-size: 24px;
  }

  .back-to-top {
    right: 30px;
    bottom: 24px;
  }
}

/* Structural guards: prevent global article styles from reintroducing spacing inside components. */
.btp-article .article-figure > img {
  margin: 0;
}
.btp-article .article-figure > figcaption {
  margin-bottom: 0;
}
.btp-article .table-scroll > .comparison-table {
  margin-bottom: 0 !important;
}


/* V3 responsive correction: make table overflow explicit and reliable
   at tablet and mobile widths. The table remains a three-column table. */
.btp-article .table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  padding: 0;
  margin: 8px 0 28px;
}

.btp-article .comparison-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  padding: 0;
  border-spacing: 0;
  border-collapse: collapse;
}

.btp-article .comparison-table tr:last-child td {
  border-bottom: 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .btp-article .table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .btp-article .comparison-table {
    width: 720px;
    min-width: 720px;
  }
}

@media (max-width: 767px) {
  .btp-article .table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 28px;
  }

  .btp-article .comparison-table {
    width: 720px;
    min-width: 720px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    right: 16px;
    bottom: 18px;
  }
}
