/* =====================================================
   Blog Article Pages — shared stylesheet
   Loads after style.min.css. Uses site CSS variables.
   ===================================================== */

/* ── Article hero ── */
.page-hero {
  background-size: cover;
  background-position: center;
}
.page-hero .hero-inner {
  position: relative;
  z-index: 1;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--white); }

/* ── Category badge ── */
.cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  background: var(--blue);
  padding: .3rem .8rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

/* ── Article meta (date / read time / author) ── */
.art-meta {
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
  margin-top: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.art-meta span {
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* ── Two-column layout ── */
.inner-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.inner-layout > * { min-width: 0; }

/* ── Sticky sidebar ── */
.inner-sidebar {
  position: sticky;
  top: 100px;
}

/* ── Sidebar boxes ── */
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.sidebar-box--accent {
  border-top: 3px solid var(--blue);
  background: var(--off);
}

/* ── Sidebar label ── */
.sidebar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 1rem;
  display: block;
}

/* ── Sidebar meta rows ── */
.sidebar-meta-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: .75rem;
  line-height: 1.5;
}
.sidebar-meta-row strong {
  color: var(--navy);
  min-width: 60px;
  flex-shrink: 0;
}

/* ── Sidebar CTA button — single standard color ── */
.sidebar-cta {
  display: block;
  padding: .8rem 1.5rem;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center;
  margin-top: 1rem;
  transition: background .2s;
}
.sidebar-cta:hover { background: var(--cyan); }

/* ── Sidebar service links ── */
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.sidebar-links a {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  padding: .3rem .5rem;
  border-radius: 4px;
  display: block;
  transition: background .2s, color .2s;
}
.sidebar-links a:hover {
  background: var(--off2);
  color: var(--blue);
}

/* ── Related article thumbnails in sidebar ── */
.related-article {
  display: flex;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  text-decoration: none;
  transition: opacity .2s;
}
.related-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.related-article:hover { opacity: .8; }

.related-article-img {
  width: 64px;
  height: 64px;
  border-radius: 5px;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--border);
}
.related-article-body {
  flex: 1;
  min-width: 0;
}
.related-article-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: .25rem;
  display: block;
}
.related-article-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* ── Article body ── */
.inner-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text2);
  min-width: 0;
}
.inner-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.5rem 0 .85rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.inner-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.75rem 0 .6rem;
}
.inner-content p { margin-bottom: 1.35rem; }
.inner-content ul,
.inner-content ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text2);
}
.inner-content li {
  margin-bottom: .5rem;
  line-height: 1.85;
}
.inner-content strong {
  color: var(--navy);
  font-weight: 600;
}
.inner-content .u-body-muted { color: var(--text); }

/* ── Article intro paragraph ── */
.article-intro {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--off3);
  font-weight: 500;
  color: var(--text);
}

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2rem;
  text-decoration: none;
}
.back-link:hover { color: var(--cyan); }

/* ── Suggested reads grid ── */
.suggested-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.sug-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.sug-card:hover {
  box-shadow: 0 8px 32px rgba(13, 33, 55, .1);
  transform: translateY(-3px);
}
.sug-card-img {
  height: 140px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.sug-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sug-card-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: .4rem;
}
.sug-card-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: .5rem;
  flex: 1;
}
.sug-card-meta {
  font-size: 11px;
  color: var(--muted);
}

/* ── CTA section — matches blog.html standard ── */
.article-cta {
  background: var(--off);
  padding: 3.5rem 0;
  text-align: center;
}
.article-cta .label {
  display: inline-flex;
}
.article-cta h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: .6rem 0;
}
.article-cta p {
  color: var(--text2);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto 1.75rem;
  line-height: 1.8;
}
.article-cta-btn {
  display: inline-block;
  padding: .9rem 2.5rem;
  background: var(--cyan);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .2s;
}
.article-cta-btn:hover { background: var(--blue); }

/* ── Section padding overrides — this file only loads on article pages ── */
.section {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .inner-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .inner-sidebar { position: static; }
  .suggested-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .suggested-grid { grid-template-columns: 1fr; }
  .art-meta { gap: .6rem; }
}
