/* ======================================
   Article / Guide Pages — Shared Styles
   ====================================== */

.article-page { background: #f4f9fc; }

.article-page .site-header,
.article-page .site-footer,
.article-page main > .container { display: none; }

/* ---------- Top Bar (reuses landing-style top bar) ---------- */
.art-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid #e1ecf2;
  box-shadow: 0 1px 8px rgba(10, 61, 98, 0.04);
}
.art-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.art-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #0a3d62;
  font-size: 16px;
  text-decoration: none;
}
.art-brand .brand-mark { font-size: 22px; }
.art-topbar-cta {
  background: linear-gradient(135deg, #ff9500, #ff6b00);
  color: white;
  padding: 10px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 149, 0, 0.3);
  transition: transform 0.2s;
}
.art-topbar-cta:hover { transform: translateY(-1px); }

/* ---------- Article Hero ---------- */
.art-hero {
  padding: 60px 0 40px;
  background:
    radial-gradient(ellipse at top right, rgba(30, 136, 229, 0.12), transparent 60%),
    linear-gradient(180deg, #eaf6fc 0%, #f4f9fc 100%);
}
.art-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.art-breadcrumb {
  font-size: 13px;
  color: #6a8393;
  margin-bottom: 16px;
}
.art-breadcrumb a { color: #1e88e5; text-decoration: none; }
.art-breadcrumb a:hover { text-decoration: underline; }
.art-breadcrumb span { color: #a8bcc9; margin: 0 6px; }

.art-category-tag {
  display: inline-block;
  background: #1e88e5;
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.art-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #0a3d62;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.art-hero-lede {
  font-size: 19px;
  color: #3a5360;
  line-height: 1.6;
  margin-bottom: 28px;
}

.art-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #d0dde6;
  border-bottom: 1px solid #d0dde6;
  font-size: 14px;
  color: #6a8393;
  flex-wrap: wrap;
}
.art-meta strong { color: #0a3d62; }
.art-meta-dot { color: #b0c1cc; }

/* ---------- Article Body ---------- */
.art-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 50px 24px 40px;
  font-size: 17px;
  line-height: 1.75;
  color: #2a3e47;
}
.art-body p { margin-bottom: 20px; }
.art-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 34px);
  color: #0a3d62;
  margin: 48px 0 16px;
  line-height: 1.25;
}
.art-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0a3d62;
  margin: 32px 0 12px;
}
.art-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0a3d62;
  margin: 24px 0 8px;
}
.art-body ul, .art-body ol {
  margin: 0 0 20px 28px;
}
.art-body li { margin-bottom: 8px; }
.art-body strong { color: #0a3d62; }
.art-body a { color: #1e88e5; font-weight: 500; }
.art-body a:hover { text-decoration: underline; }

.art-body blockquote {
  margin: 28px 0;
  padding: 20px 28px;
  background: #f4f9fc;
  border-left: 4px solid #1e88e5;
  font-style: italic;
  color: #3a5360;
  border-radius: 6px;
}

/* ---------- Table of Contents ---------- */
.art-toc {
  background: white;
  padding: 24px 28px;
  border-radius: 12px;
  border: 1px solid #e1ecf2;
  margin: 24px 0 32px;
  box-shadow: 0 2px 12px rgba(10, 61, 98, 0.04);
}
.art-toc-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6a8393;
  font-weight: 700;
  margin-bottom: 12px;
}
.art-toc ol {
  list-style: none;
  counter-reset: toc;
  margin: 0;
  padding: 0;
}
.art-toc li {
  counter-increment: toc;
  padding: 6px 0;
  font-size: 15px;
}
.art-toc li::before {
  content: counter(toc) ". ";
  color: #1e88e5;
  font-weight: 700;
  margin-right: 6px;
}
.art-toc a { color: #0a3d62; text-decoration: none; font-weight: 500; }
.art-toc a:hover { color: #1e88e5; text-decoration: underline; }

/* ---------- Callout Boxes ---------- */
.art-callout {
  margin: 28px 0;
  padding: 22px 26px;
  border-radius: 12px;
  background: #fff9e6;
  border-left: 5px solid #ffa000;
}
.art-callout-title {
  font-weight: 800;
  color: #7a5200;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.art-callout p:last-child { margin-bottom: 0; }

.art-callout.tip {
  background: #e8f5e9;
  border-left-color: #43a047;
}
.art-callout.tip .art-callout-title { color: #1b5e20; }

.art-callout.warning {
  background: #ffebee;
  border-left-color: #e53935;
}
.art-callout.warning .art-callout-title { color: #b71c1c; }

.art-callout.expert {
  background: linear-gradient(135deg, #e3f2fd, #f4f9fc);
  border-left-color: #1565c0;
}
.art-callout.expert .art-callout-title { color: #0a3d62; }

/* ---------- Table ---------- */
.art-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 61, 98, 0.06);
  font-size: 15px;
}
.art-body th {
  background: #0a3d62;
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.art-body td {
  padding: 14px 16px;
  border-bottom: 1px solid #e1ecf2;
}
.art-body tr:last-child td { border-bottom: none; }
.art-body tr:nth-child(even) td { background: #f9fcfe; }

/* ---------- Inline CTA Box ---------- */
.art-inline-cta {
  margin: 36px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, #0a3d62, #1565c0);
  border-radius: 14px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.art-inline-cta::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.12), transparent 70%);
  pointer-events: none;
}
.art-inline-cta h3 {
  color: white !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 24px !important;
  margin: 0 0 8px !important;
  position: relative;
}
.art-inline-cta p {
  color: #cfe0ee;
  margin-bottom: 18px;
  font-size: 15px;
  position: relative;
}
.art-inline-cta a {
  display: inline-block;
  background: #ffd700;
  color: #0a3d62 !important;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.2s;
  position: relative;
}
.art-inline-cta a:hover { transform: translateY(-2px); }

/* ---------- Author Box ---------- */
.art-author {
  margin: 48px 0 24px;
  padding: 28px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(10, 61, 98, 0.06);
  display: flex;
  gap: 20px;
  align-items: center;
}
.art-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e88e5, #0a3d62);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}
.art-author-body { flex: 1; }
.art-author-name {
  font-weight: 700;
  color: #0a3d62;
  font-size: 16px;
}
.art-author-title {
  font-size: 13px;
  color: #6a8393;
  margin-bottom: 6px;
}
.art-author-bio {
  font-size: 14px;
  color: #4a6572;
  line-height: 1.5;
}

/* ---------- Related Articles ---------- */
.art-related {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 60px 24px 80px;
}
.art-related h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #0a3d62;
  text-align: center;
  margin-bottom: 32px;
}
.art-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.art-related-card {
  display: block;
  padding: 24px;
  background: white;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 14px rgba(10, 61, 98, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 4px solid #1e88e5;
}
.art-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(10, 61, 98, 0.12);
}
.art-related-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #1e88e5;
  margin-bottom: 8px;
  display: block;
}
.art-related-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 8px;
  line-height: 1.3;
}
.art-related-card p {
  font-size: 14px;
  color: #6a8393;
  line-height: 1.5;
}

/* ---------- Footer CTA ---------- */
.art-footer-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a3d62, #1565c0);
  color: white;
  text-align: center;
}
.art-footer-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: white;
  margin-bottom: 14px;
}
.art-footer-cta p {
  color: #cfe0ee;
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.art-footer-cta a {
  display: inline-block;
  background: #ffd700;
  color: #0a3d62 !important;
  padding: 18px 36px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.35);
}
.art-footer-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 215, 0, 0.45);
}

/* ---------- Site Footer ---------- */
.art-site-footer {
  background: #0a3d62;
  color: #a8c0cf;
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
}
.art-site-footer a { color: #ffd700; text-decoration: none; }
.art-site-footer a:hover { text-decoration: underline; }

/* ---------- Chemistry range pill (small inline) ---------- */
.chem-pill {
  display: inline-block;
  background: #e3f2fd;
  color: #0a3d62;
  padding: 2px 10px;
  border-radius: 99px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin: 0 2px;
}
