/*
 * Blueprint To Progress
 * Page-specific stylesheet: Large Language Models
 * URL: /ai/large-language-models/
 *
 * This file intentionally styles article content only.
 * The shared BTP header, footer and global navigation remain controlled
 * by the site's common stylesheet.
 */

: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-llm-pill-bg: #e8f1ff;
  --btp-llm-pill-text: #2563eb;
  --btp-llm-border: #d7dce2;
  --btp-llm-table-header: #087dcc;
  --btp-llm-table-stripe: #f7f9fc;
}

.btp-article--llm {
  width: 100%;
  font-family: var(--btp-body-font, inherit);
  color: var(--btp-text, #334155);
}

.btp-article--llm .article-container {
  width: 100%;
  max-width: var(--btp-article-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-top: 38px;
  box-sizing: border-box;
}

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

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

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

.btp-article--llm p {
  margin: 0 0 24px;
  font-size: var(--btp-body-size-desktop);
  line-height: var(--btp-body-line-height);
}

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

.btp-article--llm h3 {
  margin: 32px 0 4px;
  font-size: var(--btp-h3-size-desktop);
  line-height: 1.2;
  font-weight: 700;
  color: var(--btp-heading, #111827);
}

.btp-article--llm a {
  color: var(--btp-link, #2563eb);
  text-decoration: none;
}

.btp-article--llm a:hover,
.btp-article--llm a:focus-visible {
  text-decoration: underline;
}

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

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

.btp-article--llm li {
  margin-bottom: 4px;
  font-size: var(--btp-body-size-desktop);
  line-height: var(--btp-body-line-height);
}

.btp-article--llm figure {
  margin: 32px 0 0;
  padding: 0;
}

.btp-article--llm .article-hero {
  margin-top: 0;
}

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

.btp-article--llm figcaption {
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  margin-top: 10px;
  color: var(--btp-text, #334155);
}

.btp-article--llm .article-toc {
  width: 100%;
  margin: 30px 0 0;
  padding: 24px 28px;
  border: 1px solid var(--btp-llm-border);
  border-radius: 14px;
  box-sizing: border-box;
  background: #fff;
}

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

.btp-article--llm .article-toc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 0;
  padding-left: 28px;
  margin: 0;
}

.btp-article--llm .article-toc-list li {
  margin: 0;
  padding-left: 2px;
}

.btp-article--llm .article-toc a {
  font-size: 17px;
  line-height: 1.6;
}

.btp-article--llm blockquote {
  margin: 8px 0 24px;
  padding: 16px 22px;
  border-left: 4px solid var(--btp-link, #2563eb);
  background: #f7f9fc;
  color: var(--btp-heading, #111827);
  font-size: 18px;
  line-height: 1.55;
  border-radius: 0 10px 10px 0;
}

.btp-article--llm .article-table-scroll {
  width: 100%;
  margin: 0 0 24px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  direction: ltr;
  border: 1px solid var(--btp-llm-border);
  border-radius: 10px;
}

.btp-article--llm table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.btp-article--llm th,
.btp-article--llm td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--btp-llm-border);
  text-align: left;
  vertical-align: top;
  font-size: 17px;
  line-height: 1.5;
}

.btp-article--llm th {
  background: var(--btp-llm-table-header);
  color: #fff;
  font-weight: 700;
}

.btp-article--llm tbody tr:nth-child(even) {
  background: var(--btp-llm-table-stripe);
}

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

.btp-article--llm .article-resource-list {
  margin-top: 0;
}

.btp-article--llm .article-horizontal-links {
  margin-top: 56px;
  padding: 24px 0 0;
  border-top: 1px solid var(--btp-llm-border);
}

.btp-article--llm .article-horizontal-links h2 {
  margin-top: 0;
}

.btp-article--llm .article-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.btp-article--llm .article-link-grid a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--btp-llm-border);
  border-radius: 14px;
  background: #fff;
}

.btp-article--llm .article-link-grid a:hover,
.btp-article--llm .article-link-grid a:focus-visible {
  text-decoration: none;
  border-color: var(--btp-link, #2563eb);
}

.btp-article--llm .article-link-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  color: var(--btp-heading, #111827);
}

.btp-article--llm .article-link-description {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: var(--btp-text, #334155);
}

.btp-article--llm .article-next-step {
  margin-top: 56px;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid #93c5fd;
  background: #eef6ff;
  text-align: center;
}

.btp-article--llm .article-next-step h2 {
  margin-top: 0;
}

.btp-article--llm .article-next-step p:last-of-type {
  margin-bottom: 20px;
}

.btp-article--llm .article-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 18px;
  border-radius: 6px;
  background: var(--btp-link, #2563eb);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.btp-article--llm .article-cta:hover,
.btp-article--llm .article-cta:focus-visible {
  color: #fff;
  text-decoration: none;
  filter: brightness(0.94);
}

@media (min-width: 1024px) {
  .btp-article--llm table {
    min-width: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .btp-article--llm table {
    min-width: 676px;
  }
}

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

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

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

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

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

  .btp-article--llm .lead {
    font-size: 19px;
    line-height: 1.55;
    margin-bottom: 28px;
  }
}

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

  .btp-article--llm .article-category {
    margin: 0 0 14px 16px;
    padding: 6px 11px;
    font-size: 12px;
  }

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

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

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

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

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

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

  .btp-article--llm .article-toc {
    padding: 20px 18px;
    margin-top: 28px;
  }

  .btp-article--llm .article-toc h2 {
    font-size: 22px;
  }

  .btp-article--llm .article-toc-list {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-left: 25px;
  }

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

  .btp-article--llm figure {
    margin-top: 28px;
  }

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

  .btp-article--llm blockquote {
    font-size: 17px;
    line-height: 1.6;
    padding: 14px 16px;
  }

  .btp-article--llm .article-table-scroll {
    margin-bottom: 22px;
  }

  .btp-article--llm th,
  .btp-article--llm td {
    padding: 11px 13px;
    font-size: 16px;
  }

  .btp-article--llm .article-horizontal-links {
    margin-top: 44px;
  }

  .btp-article--llm .article-link-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btp-article--llm .article-next-step {
    margin-top: 44px;
    padding: 22px 18px;
  }
}
