/**
 * Handleiding article template — shared styles
 * Loaded on posts with s24_content_type = handleiding
 * v1.0.0
 *
 * Page-specific CSS (interactive components, unique sections) stays inline in each article.
 * This file covers the reusable structure: layout, hero, steps, callouts, tips, next-steps, tools, TOC.
 */

/* --- Design tokens --- */
:root {
  --hl-blue: #0e7de5;
  --hl-blue-hover: #4ea2f2;
  --hl-blue-light: #eef4fd;
  --hl-heading: #0b111e;
  --hl-body: #2d3748;
  --hl-secondary: #4a5568;
  --hl-muted: #718096;
  --hl-border: #e2e8f0;
  --hl-border-light: #edf2f7;
  --hl-bg: #fcfcfc;
  --hl-bg-alt: #f7f8fc;
  --hl-bg-callout: #eff1f8;
  --hl-white: #ffffff;
  --hl-radius: 8px;
  --hl-radius-sm: 4px;
  --hl-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --hl-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --hl-orange: #f67a3d;
}

/* --- WP container override --- */
.s24-money-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* --- Base typography (scoped to article) --- */
.hl-article {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--hl-body);
  -webkit-font-smoothing: antialiased;
}
.hl-article *, .hl-article *::before, .hl-article *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Layout --- */
.hl-article .container { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.hl-article .container-wide { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* --- Hero (light, two-column) --- */
.hl-article .hero {
  background: var(--hl-bg);
  padding: 64px 24px 48px;
  border-bottom: 1px solid var(--hl-border-light);
}
.hl-article .hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}
.hl-article .hero-text { flex: 1; }
.hl-article .hero-image {
  flex-shrink: 0;
  max-width: 340px;
  width: 100%;
}
.hl-article .hero-image svg { width: 100%; height: auto; }
.hl-article .hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hl-blue);
  margin-bottom: 16px;
}
.hl-article .hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--hl-heading);
  margin-bottom: 16px;
}
.hl-article .hero-subtitle {
  font-size: 19px;
  color: var(--hl-secondary);
  line-height: 1.7;
  max-width: 600px;
}
.hl-article .hero-meta {
  margin-top: 24px;
  font-size: 14px;
  color: var(--hl-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hl-article .hero-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hl-border-light);
}

/* --- Sections --- */
.hl-article section { padding: 56px 0; }
.hl-article section + section { padding-top: 0; }
.hl-article section.alt { background: var(--hl-bg-alt); padding: 56px 0; }
.hl-article section.alt + section { padding-top: 56px; }

.hl-article h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--hl-heading);
  line-height: 1.3;
  margin-bottom: 20px;
}
.hl-article h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--hl-heading);
  line-height: 1.4;
  margin-bottom: 8px;
}
.hl-article p { margin-bottom: 24px; }
.hl-article p:last-child { margin-bottom: 0; }
.hl-article a { color: var(--hl-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hl-article a:hover { color: var(--hl-blue-hover); }
.hl-article ul, .hl-article ol { margin-bottom: 24px; padding-left: 24px; }
.hl-article li { margin-bottom: 8px; }
.hl-article li:last-child { margin-bottom: 0; }
.hl-article code {
  background: var(--hl-bg-callout);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* --- Step indicator --- */
.hl-article .step { margin-bottom: 40px; }
.hl-article .step-header {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--hl-bg-alt);
  border: 1px solid var(--hl-border-light);
  border-radius: var(--hl-radius);
  padding: 24px 28px;
  margin-bottom: 28px;
}
.hl-article .step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--hl-blue-light);
  border: 2px solid rgba(14,125,229,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--hl-blue);
}
.hl-article .step-header h2 {
  font-size: clamp(22px, 3.5vw, 28px);
  color: var(--hl-heading);
  margin: 0;
}
.hl-article .step-header-sub {
  font-size: 14px;
  color: var(--hl-secondary);
  margin-top: 2px;
}
.hl-article .step-content { min-width: 0; }

/* --- Callout box --- */
.hl-article .callout {
  background: var(--hl-bg-callout);
  border: none;
  border-radius: var(--hl-radius-sm);
  padding: 24px 28px;
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.7;
}
.hl-article .callout p { margin-bottom: 10px; font-size: 16px; }
.hl-article .callout p:last-child { margin-bottom: 0; }
.hl-article .callout strong { color: var(--hl-heading); }

/* --- Tip box (with icon) --- */
.hl-article .tip-box {
  background: var(--hl-white);
  border: 1px solid var(--hl-border);
  border-radius: var(--hl-radius);
  padding: 24px 28px 24px 68px;
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.7;
  position: relative;
}
.hl-article .tip-box::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 32px;
  height: 32px;
  background: #e8f2fd;
  border-radius: 8px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%230e7de5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center;
}
.hl-article .tip-box strong { color: var(--hl-heading); }
.hl-article .tip-box p { margin-bottom: 8px; font-size: 16px; }
.hl-article .tip-box p:last-child { margin-bottom: 0; }

/* --- Illustration (centered visual break) --- */
.hl-article .illustration {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}
.hl-article .illustration svg { max-width: 100%; height: auto; }

/* --- Intro cards (two-column overview) --- */
.hl-article .intro-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 8px;
}
.hl-article .intro-card {
  background: var(--hl-white);
  border: 1px solid var(--hl-border-light);
  border-radius: var(--hl-radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.hl-article .intro-card:hover {
  border-color: var(--hl-blue);
  background: var(--hl-bg-alt);
}
.hl-article .intro-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.hl-article .intro-card:first-child .intro-card-icon {
  background: linear-gradient(135deg, #eef4fd, #dbeafe);
}
.hl-article .intro-card:last-child .intro-card-icon {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}
.hl-article .intro-card-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.hl-article .intro-card:first-child .intro-card-label { color: var(--hl-blue); }
.hl-article .intro-card:last-child .intro-card-label { color: #059669; }
.hl-article .intro-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hl-heading);
  margin-bottom: 8px;
  line-height: 1.4;
}
.hl-article .intro-card-desc {
  font-size: 15px;
  color: var(--hl-secondary);
  line-height: 1.6;
}

/* --- SiteScore CTA card --- */
.hl-article .sitescore-cta {
  display: flex;
  gap: 32px;
  align-items: center;
  background: var(--hl-white);
  border: 1px solid var(--hl-border);
  border-radius: var(--hl-radius);
  padding: 28px 32px;
  margin: 32px 0;
}
.hl-article .sitescore-cta-text { flex: 1; }
.hl-article .sitescore-cta-badge {
  display: inline-block;
  background: #e6f7ef;
  color: #059669;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.hl-article .sitescore-cta-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hl-heading);
  margin-bottom: 8px;
}
.hl-article .sitescore-cta-text p {
  font-size: 15px;
  color: var(--hl-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.hl-article .sitescore-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--hl-blue);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.hl-article .sitescore-cta-btn:hover { background: var(--hl-blue-hover); color: #fff; }
.hl-article .sitescore-cta-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.hl-article .sitescore-cta-gauge {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hl-article .sitescore-cta-scores {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 140px;
}
.hl-article .sitescore-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--hl-border-light);
}
.hl-article .sitescore-cta-row:last-child { border-bottom: none; }
.hl-article .sitescore-cta-cat { color: var(--hl-secondary); font-weight: 500; }
.hl-article .sitescore-cta-val { font-weight: 700; font-size: 13px; }
.hl-article .sitescore-cta-val--green { color: #10b981; }
.hl-article .sitescore-cta-val--orange { color: #f59e0b; }

/* --- Hosting / recommendation picks --- */
.hl-article .hosting-picks {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 28px 0;
}
.hl-article .hosting-pick {
  background: var(--hl-white);
  border: 1px solid var(--hl-border);
  border-radius: var(--hl-radius);
  padding: 28px 24px;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.hl-article .hosting-pick:hover {
  border-color: var(--hl-blue);
  background: var(--hl-bg-alt);
}
.hl-article .hosting-pick.recommended {
  border: 2px solid var(--hl-blue);
  box-shadow: 0 0 0 4px rgba(14, 125, 229, 0.08);
}
.hl-article .hosting-pick.recommended:hover {
  box-shadow: 0 0 0 4px rgba(14, 125, 229, 0.08), var(--hl-shadow-md);
}
.hl-article .hosting-pick-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--hl-blue); color: var(--hl-white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; padding: 3px 14px;
  border-radius: 20px; white-space: nowrap;
}
.hl-article .hosting-pick-logo {
  height: 40px; object-fit: contain;
  align-self: center; margin-bottom: 12px;
}
.hl-article .hosting-pick-price {
  font-size: 14px; color: var(--hl-muted);
  margin-bottom: 16px; text-align: center;
}
.hl-article .hosting-pick-features {
  list-style: none; padding: 0; margin: 0 0 20px; flex: 1;
}
.hl-article .hosting-pick-features li {
  font-size: 15px; color: var(--hl-body);
  padding: 4px 0; margin-bottom: 2px;
  padding-left: 24px; position: relative;
}
.hl-article .hosting-pick-features li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 15px; height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2309bb03' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.hl-article .hosting-pick-link {
  display: inline-block; font-size: 15px; font-weight: 600;
  color: var(--hl-blue); text-decoration: none;
}
.hl-article .hosting-pick-link::after { content: " \2192"; }
.hl-article .hosting-pick.recommended .hosting-pick-link {
  background: var(--hl-orange); color: var(--hl-white);
  padding: 10px 20px; border-radius: 6px;
  text-align: center; width: 100%;
  transition: background 0.2s;
}
.hl-article .hosting-pick.recommended .hosting-pick-link:hover { background: #e56a2d; }
.hl-article .hosting-pick.recommended .hosting-pick-link::after { content: " \2192"; }
.hl-article .hosting-picks-note {
  text-align: center; font-size: 14px;
  color: var(--hl-muted); margin-top: 8px;
}

/* --- Next steps grid --- */
.hl-article .next-steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hl-article .next-steps li {
  background: var(--hl-white);
  border: 1px solid var(--hl-border-light);
  border-radius: var(--hl-radius-sm);
  padding: 20px 22px;
  margin-bottom: 0;
  transition: border-color 0.2s, background 0.2s;
}
.hl-article .next-steps li:hover {
  border-color: var(--hl-blue);
  background: var(--hl-bg-alt);
}
.hl-article .next-steps .next-label {
  display: block;
  font-size: 14px;
  color: var(--hl-secondary);
  margin-bottom: 4px;
}
.hl-article .next-steps a {
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.hl-article .next-steps a:hover { text-decoration: underline; }
.hl-article .next-steps a::after { content: " \2192"; }
.hl-article .next-steps li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* --- Newsletter inline form (in next-steps) --- */
.hl-article .next-newsletter .next-nl-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  max-width: 420px;
}
.hl-article .next-nl-input {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--hl-border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--hl-body);
  background: var(--hl-bg-alt);
  outline: none;
  transition: border-color 0.2s;
}
.hl-article .next-nl-input:focus { border-color: var(--hl-blue); }
.hl-article .next-nl-input::placeholder { color: var(--hl-secondary); }
.hl-article .next-nl-btn {
  padding: 9px 18px;
  background: var(--hl-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.hl-article .next-nl-btn:hover { background: var(--hl-blue-hover); }
.hl-article .next-nl-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.hl-article .next-nl-success {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #059669;
}

/* --- Tools showcase grid --- */
.hl-article .tools-section {
  background: var(--hl-bg-alt);
  border: 1px solid var(--hl-border-light);
  border-radius: 16px;
  padding: 48px 40px;
  margin-top: 32px;
}
.hl-article .tools-section h2 { color: var(--hl-heading); margin-bottom: 6px; }
.hl-article .tools-section-sub { color: var(--hl-secondary); font-size: 16px; margin-bottom: 36px; }
.hl-article .tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hl-article .tool-card {
  background: var(--hl-white);
  border: 1px solid var(--hl-border);
  border-radius: 10px;
  padding: 0;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
}
.hl-article .tool-card:hover {
  border-color: var(--hl-blue);
  background: var(--hl-bg-alt);
}
.hl-article .tool-card-preview {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hl-article .tool-card-body { padding: 16px 18px 20px; }
.hl-article .tool-card-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.hl-article .tag-hosting { background: #eef4fd; color: #0e7de5; }
.hl-article .tag-design { background: #fef0e8; color: #d4590e; }
.hl-article .tag-domein { background: #f0e8fd; color: #6d28d9; }
.hl-article .tag-kennis { background: #e6f9e6; color: #067a06; }
.hl-article .tag-ai { background: #eef4fd; color: #0e7de5; }
.hl-article .tool-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hl-heading);
  margin-bottom: 5px;
}
.hl-article .tool-card-desc {
  font-size: 13px;
  color: var(--hl-secondary);
  line-height: 1.5;
}

/* --- JoostBot embed (in tools grid) --- */
.hl-article .joostbot-embed {
  grid-column: 1 / -1;
  background: var(--hl-blue-light);
  border: 1px solid rgba(14,125,229,0.15);
  border-radius: 10px;
  padding: 28px 28px 24px;
  margin-top: 4px;
}
.hl-article .joostbot-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.hl-article .joostbot-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--hl-white);
  border: 2px solid rgba(14,125,229,0.2);
}
.hl-article .joostbot-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hl-article .joostbot-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hl-blue);
}
.hl-article .joostbot-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0e7de5;
  animation: jb-pulse 2s ease-in-out infinite;
}
@keyframes jb-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.hl-article .joostbot-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--hl-heading);
  margin: 0;
}
.hl-article .joostbot-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hl-article .joostbot-pill {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 20px;
  background: var(--hl-white);
  border: 1px solid var(--hl-border);
  color: var(--hl-secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
}
.hl-article .joostbot-pill:hover {
  background: var(--hl-white);
  color: var(--hl-blue);
  border-color: var(--hl-blue);
}
.hl-article .joostbot-input-row { display: flex; gap: 8px; }
.hl-article .joostbot-input {
  flex: 1;
  background: var(--hl-white);
  border: 1px solid var(--hl-border);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--hl-body);
  outline: none;
  transition: border-color 0.2s;
}
.hl-article .joostbot-input::placeholder { color: var(--hl-muted); }
.hl-article .joostbot-input:focus { border-color: var(--hl-blue); }
.hl-article .joostbot-send {
  background: var(--hl-blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.hl-article .joostbot-send:hover { background: var(--hl-blue-hover); }
.hl-article .joostbot-send:disabled { opacity: 0.5; cursor: not-allowed; }
.hl-article .joostbot-response {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--hl-white);
  border: 1px solid var(--hl-border-light);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hl-body);
  display: none;
}
.hl-article .joostbot-response.visible { display: block; }
.hl-article .joostbot-response a { color: var(--hl-blue); }
.hl-article .joostbot-typing { display: inline-flex; gap: 4px; align-items: center; }
.hl-article .joostbot-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hl-blue); opacity: 0.3;
  animation: jb-type 1.2s ease-in-out infinite;
}
.hl-article .joostbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.hl-article .joostbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes jb-type {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
.hl-article .joostbot-error {
  color: #f87171;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}
.hl-article .joostbot-error.visible { display: block; }

/* --- Floating TOC --- */
.hl-article .article-toc {
  position: fixed;
  top: 120px;
  right: max(24px, calc((100vw - 780px) / 2 - 220px));
  width: 190px;
  z-index: 100;
  background: rgba(252, 252, 252, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px 16px 16px 0;
  border-radius: 8px;
}
.hl-article .article-toc-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hl-muted);
  margin-bottom: 14px;
  padding-left: 16px;
}
.hl-article .article-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--hl-border-light);
}
.hl-article .article-toc-list li { margin: 0; }
.hl-article .article-toc-list a {
  display: block;
  padding: 6px 0 6px 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--hl-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.hl-article .article-toc-list a:hover { color: var(--hl-body); }
.hl-article .article-toc-list a.active {
  color: var(--hl-blue);
  border-left-color: var(--hl-blue);
  font-weight: 600;
}
.hl-article .article-toc-progress { margin-top: 16px; padding-left: 16px; }
.hl-article .article-toc-progress-bar {
  height: 3px;
  background: var(--hl-border-light);
  border-radius: 2px;
  overflow: hidden;
}
.hl-article .article-toc-progress-fill {
  height: 100%;
  background: var(--hl-blue);
  border-radius: 2px;
  width: 0%;
  transition: width 0.15s ease;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hl-article .hero { padding: 48px 24px 36px; }
  .hl-article .hero-inner { flex-direction: column; gap: 32px; text-align: center; }
  .hl-article .hero-image { max-width: 280px; }
  .hl-article .hero-meta { justify-content: center; }
  .hl-article .hero-subtitle { max-width: 100%; }

  .hl-article section { padding: 40px 0; }
  .hl-article section + section { padding-top: 0; }
  .hl-article section.alt { padding: 40px 0; }
  .hl-article section.alt + section { padding-top: 40px; }

  .hl-article .step-header { padding: 18px 20px; gap: 14px; }
  .hl-article .step-number { width: 40px; height: 40px; font-size: 17px; }
  .hl-article .step-header h2 { font-size: 20px; }
  .hl-article .step-header-sub { font-size: 13px; }

  .hl-article .intro-cards { grid-template-columns: 1fr; gap: 14px; }
  .hl-article .hosting-picks { grid-template-columns: 1fr; }
  .hl-article .next-steps { grid-template-columns: 1fr; }
  .hl-article .next-steps li:last-child:nth-child(odd) { grid-column: auto; }
  .hl-article .callout { padding: 20px; }
  .hl-article .sitescore-cta { flex-direction: column; padding: 24px 20px; gap: 24px; text-align: center; }
  .hl-article .sitescore-cta-btn { width: 100%; justify-content: center; }
  .hl-article .next-newsletter .next-nl-form { flex-direction: column; }
  .hl-article .next-nl-btn { width: 100%; text-align: center; }
  .hl-article .tip-box { padding: 64px 20px 20px 20px; }
  .hl-article .tip-box::before { left: 20px; top: 20px; }

  .hl-article .tools-section { padding: 36px 24px; }
  .hl-article .tools-grid { grid-template-columns: 1fr 1fr; }
  .hl-article .joostbot-embed { padding: 20px 18px; }
  .hl-article .joostbot-pills { gap: 6px; }
  .hl-article .joostbot-pill { font-size: 12px; padding: 6px 11px; }
}

@media (max-width: 480px) {
  .hl-article .tools-grid { grid-template-columns: 1fr; }
  .hl-article .tools-section { padding: 28px 18px; }
}

@media (max-width: 1100px) {
  .hl-article .article-toc { display: none; }
}
