/*******************************************************
 * docs.css — A Comprehensive “Digital Journal” Aesthetic
 * for Your Articles & Documentation.
 *
 * Retains brand colours & fonts from style.css, but
 * streamlined to remove duplication and ensure all doc
 * pages (landing, categories, single article, author)
 * have modern styling.
 *******************************************************/

/* =========================
   0. Root & Font Settings
========================= */

/* Re-assert brand colour variables so this file can stand alone. */
:root {
    --brand-primary: #1E90FF;       /* Dodger Blue */
    --brand-secondary: #00BFFF;     /* Deep Sky Blue */
    --brand-accent: #ADD8E6;        /* Light Blue */
    --brand-hover: #1C86EE;         /* Slightly Darker Blue */
    --brand-active: #1874CD;        /* Darker Blue */
    --brand-focus: rgba(30,144,255,0.5);

    --text-color: #333333;
    --light-text: #555555;
    --border-color: #cccccc;
    --neutral-color-light: #F0F4F8;
    --disabled-color: #A9A9A9;

    --transition-speed: 0.3s;
}

/* We use Montserrat for headings and Roboto for body text —
   already included in your <head> via Google Fonts links. */

/* =========================
   1. Overall Docs Container
========================= */

.docs-container {
  /* Restrict reading width */
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;

  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* =========================
   2. Base Typography
========================= */

.docs-container h1,
.docs-container h2,
.docs-container h3,
.docs-container h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color, #333);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.docs-container p,
.docs-container ul,
.docs-container li,
.docs-container ol {
  font-family: 'Roboto', sans-serif;
  color: var(--light-text, #555);
  line-height: 1.6;
}

.docs-container em {
  font-style: italic;
}

/* Nicer paragraph width for readability */
.docs-container ul {
  list-style: disc inside;
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.docs-container ol {
  list-style: decimal inside;
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}
/* Force words/links to wrap within bullet points */
.docs-container ul li,
.docs-container ol li {
  word-wrap: break-word;       /* older standard for wrapping */
  overflow-wrap: break-word;   /* newer standard */
  word-break: break-word;      /* makes sure very long strings can break */
  white-space: normal;         /* ensure they do wrap */
}

/* (Optional) Ensure link text also breaks properly */
.docs-container ul li a,
.docs-container ol li a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}
/* =========================
   3. Links & Buttons
========================= */

.docs-container a {
  color: #000000;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.docs-container a:hover {
  color: #1676cc;
}

/* CTA Buttons (for top-level calls to action) */

/* Variation for sidebars or less prominent CTAs */
.sidebar-cta {
  background-color: var(--brand-secondary);
}

.sidebar-cta:hover {
  background-color: var(--brand-hover);
}


/* =========================
   4. Articles Landing Page
========================= */

/* Intro text on articles landing */
.docs-container .docs-intro {
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Roboto', sans-serif;
}

/* Search & filter form */
.docs-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 1.5rem 0;
}

.docs-search-form input[type="text"] {
  flex: 1;
  min-width: 180px;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.docs-search-form select {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.docs-search-form button[type="submit"] {
  background-color: #00539c;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  border-radius: 8px;
}

.docs-search-form button[type="submit"]:hover {
  background-color: #1676cc;
}

/* Grid of articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
/* NEW: Keep the TOC pinned near bottom right on all devices */
.article-toc {
  position: fixed;
  bottom: 20px;
  right: 20px;
  transform: none;
  z-index: 9999;
}

.article-toc .toc-contents {
  position: absolute;
  bottom: 50px; /* so it slides “up” behind the toggle */
  right: 0;
  width: 240px; /* adjust to preference */
  max-height: 60vh;
  overflow-y: auto;

  background: #FAF8F2; /* match your doc background */
  border: 1px solid #E6E2D8;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);

  /* Start fully offscreen */
  transform: translateX(130%);
  transition: transform 0.3s ease;
}

/* When toggled “open”, slide it in */
.article-toc.open .toc-contents {
  transform: translateX(0);
}

/* The .toc-toggle-btn can remain mostly the same */
.toc-toggle-btn {
  background: #0c64b3;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s ease, transform 0.2s ease;
  margin-right: 6px;
}

.toc-toggle-btn:hover {
  background: #ffc107;
  transform: scale(1.05);
}

.toc-toggle-btn:active {
  background: #dc3545;
  transform: scale(1.0);
}

/* Individual article card on landing / category pages */
.article-card {
  background: #e9ecef;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.article-card h2,
.article-card h3 {
  font-family: 'Montserrat', sans-serif;
  /* New size to appear more modern & balanced */
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 600;

  margin-bottom: 0.5rem;
  color: var(--text-color);
}


.article-card p {
  font-size: 0.95rem;
  color: var(--light-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* Label for “New!” or “Recently Updated” */
.new-label {
  background: #ffc107;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-left: 5px;
}

/* Pagination at bottom */
.pagination {
  text-align: center;
  margin-top: 20px;
}

.pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 12px;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.pagination a:hover {
  background-color: #f0f0f0;
}

.pagination a.active {
  background-color: var(--brand-primary);
  color: #fff;
  pointer-events: none;
}

/* =========================
   5. Category Page
========================= */

.docs-container h1 {
  text-align: left;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(0,0,0,0.05);
  padding-bottom: 0.5rem;
}

.category-intro {
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--light-text);
}

/* Sorting dropdown near top */
.sorting-options {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sorting-options label {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  color: var(--text-color);
}

.sorting-options select {
  padding: 5px 8px;
  font-size: 0.9rem;
}

/* Category CTA at the bottom */
.category-cta {
  margin-top: 2rem;
  background: #fdfdfd;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 0.95rem;
}

/* =========================
   6. Single Article Page
========================= */

/* Wrap your single-article content in .article-page if you want
   a different background than .docs-container.
   We’ll keep the background white for a "page on top of paper" effect. */
.article-page {
  background: #fff;
  border: none;
  box-shadow: none;
  padding: 20px;
}

/* (Optional) A hero block at the top-of-fold for a main heading,
   subheading, and CTA that stands out. */
.article-hero {
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  padding: 30px 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Larger heading inside hero */
.article-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
}

/* Subheading inside hero */
.article-hero p {
  font-size: 1rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto 1rem;
}



/* CTA button in hero (you can reuse .cta-btn) */

/* === Enhanced CTA Button for Dark Backgrounds === */
.cta-btn.run-crawl-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  /* Contrasting text color on bright gold background */
  color: #212529;
  background-color: #FFC107; /* gold stands out on dark blues */
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin: 10px 0;
  transition: background-color 0.3s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cta-btn.run-crawl-btn:hover {
  background-color: #FFB000; /* slightly darker gold */
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-btn.run-crawl-btn:active {
  background-color: #E6A000; /* press/click state */
  transform: scale(0.98);
  box-shadow: none;
}

.cta-btn.run-crawl-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.4);
}

.cta-btn.run-crawl-btn:disabled {
  background-color: #a8a8a8;
  cursor: not-allowed;
  box-shadow: none;
}


/* Optional pulse animation, if you want the smaller version to pulse too */
@keyframes runCrawlPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(30, 144, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 144, 255, 0);
  }
}

.cta-btn.run-crawl-btn.pulse {
  animation: runCrawlPulse 2s infinite;
}

/* Keep text white even when visited or clicked */
.cta-btn.run-crawl-btn:visited,
.cta-btn.run-crawl-btn:active {
  color: #3E2723;
  text-decoration: none;
}

/* The standard article header block (below the hero if you prefer) */
/* Keep the base definition extremely light so it doesn't affect your main menu/footer: */
.article-header {
  /* Remove or drastically reduce styles here to avoid impacting site header/footer */
  margin-bottom: 20px;
}

/* NEW: Single-article page header override */
.article-page .article-header {
  background-color: #0c64b3;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  border-bottom: none; /* remove dotted line from the old style */
}

/* Make the H1 and subheading text white */
.article-page .article-header h1 {
  color: #ffffff;
  text-align: center;  /* or centre if you prefer */
}

.article-page .article-header .article-subheading em {
  color: #ffffff;
  font-style: italic;
}

/* Remove any extra spacing so the callout is flush at the bottom */
.article-page .article-header .article-callout {
  margin-bottom: 0;  /* so it sits right at the bottom of the header */
}

/* === Reading Progress Bar (pinned to top) === */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: transparent; /* no background for container */
  z-index: 9999;
}

.reading-progress-bar {
  width: 0%;
  height: 5px;
  background: linear-gradient(90deg, #e4b34f, #ffe8b2); /* Inspired by "Moz" palette */
  transition: width 0.2s ease-out;
}

.article-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-align: center;
}

.article-subheading {
  margin-bottom: 1rem;
  color: var(--light-text);
  font-style: italic;
}

/* Key bullet points “callout” box, modern style */
.article-callout {
    background: #fff;
    border-left: 4px solid #004085;
    padding: 12px;
    margin: 15px 0;
    border-radius: 6px;
}

.article-callout ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.article-callout ul li {
  padding: 4px 0;
}


/* Sections within the article */
.article-page section {
  margin-bottom: 1.5rem;
}

.article-page section h2 {
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 5px;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-weight: 600;
}

/* Article navigation for previous/next links */
.article-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  border-top: 1px solid #E2DAC8;
  padding-top: 15px;
}

.prev-article-link,
.next-article-link {
  font-family: 'Montserrat', sans-serif;
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.prev-article-link:hover,
.next-article-link:hover {
  color: var(--brand-hover);
}

/* Article footer: author + last updated date */
.article-footer {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px dotted #E6E2D8;
  font-size: 0.9rem;
  color: var(--light-text);
}

/* “More from ScanMySEO” or recommended articles */
.more-articles {
  margin-top: 40px;
  border-top: 1px solid #E2DAC8;
  padding-top: 20px;
}

.more-articles h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* =========================
   Enhanced Author Page
========================= */

.author-page {
  background: #ffffff;
  padding: 20px;
}

.author-page .breadcrumb-container {
  margin-bottom: 1.25rem;
}

/* Desktop hero: image left, content left-aligned, actions aligned to copy */
.author-hero {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(circle at 16% 22%, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, #0c64b3 0%, #075291 100%);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 34px;
  box-shadow: 0 16px 36px rgba(12, 100, 179, 0.18);
  overflow: hidden;
}

.author-hero h1,
.author-hero p,
.author-hero a {
  color: #ffffff;
}

.author-hero-copy {
  text-align: left;
  max-width: 760px;
}

.author-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
  color: #e8f4ff !important;
}

.author-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ffc107;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.18);
}

.author-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-top: 0;
  margin-bottom: 0.75rem;
  border-bottom: none;
  padding-bottom: 0;
  line-height: 1.08;
  text-align: left;
}

.author-role {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #eef7ff !important;
}

.author-intro {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 720px;
  color: #ffffff !important;
}

.author-hero-image-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.author-profile-image {
  width: 260px;
  height: 260px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #ffffff;
  box-shadow: 0 14px 34px rgba(0,0,0,0.26);
  background: #ffffff;
}

.author-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin: 1.35rem 0 0;
}

.author-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.72);
  text-decoration: none !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  color: #ffffff !important;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.author-secondary-link:hover {
  background: rgba(255,255,255,0.18);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.author-primary-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.16);
}

.author-main-content {
  max-width: 920px;
  margin: 0 auto;
}

.author-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2dac8;
}

.author-section h2 {
  font-size: 1.45rem;
}

.author-section p {
  font-size: 1rem;
  line-height: 1.75;
}

.author-highlight-section {
  background: #f8fbff;
  border: 1px solid #d7e9fb;
  border-left: 5px solid #0c64b3;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(12,100,179,0.06);
}

/* Expertise and topics: interactive card-style chips */
.author-topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  list-style: none !important;
  padding-left: 0 !important;
  margin-top: 1rem;
}

.author-topic-list li {
  position: relative;
  background: #f8fbff;
  border: 1px solid #d7e9fb;
  border-radius: 12px;
  padding: 12px 14px 12px 40px;
  color: #333333;
  line-height: 1.45;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.author-topic-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: #0c64b3;
  color: #ffffff;
  font-size: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.author-topic-list li:hover {
  transform: translateY(-2px);
  border-color: #0c64b3;
  box-shadow: 0 10px 22px rgba(12,100,179,0.11);
}

.author-topic-list--coverage li::before {
  content: "→";
  background: #ffc107;
  color: #3E2723;
}

.author-standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.author-standard-card {
  background: #f8fbff;
  border: 1px solid #d7e9fb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-standard-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(12,100,179,0.10);
}

.author-standard-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
  color: #0c64b3;
}

.author-section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

/* Search and filter panel on author page */
.author-search-form {
  margin-top: 1rem;
  padding: 14px;
  border: 1px solid #d7e9fb;
  border-radius: 14px;
  background: #f8fbff;
  align-items: stretch;
}

.author-search-form input[type="text"],
.author-search-form select {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #cbd8e5;
  background: #ffffff;
}

.author-search-form button[type="submit"] {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0c64b3;
  color: #ffffff;
  border: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.author-search-form button[type="submit"]:hover {
  background: #1676cc;
  transform: translateY(-1px);
}

.author-clear-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #0c64b3;
  color: #0c64b3 !important;
  background: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none !important;
}

/* Author article cards */
.author-article-card {
  background: #ffffff;
  border: 1px solid #dde6ef;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.author-article-card:hover {
  border-color: #0c64b3;
  box-shadow: 0 12px 26px rgba(12,100,179,0.10);
}

.author-article-card h3 {
  font-size: 1.15rem;
  margin-top: 0.25rem;
}

.author-article-card h3 a {
  color: #333333;
  text-decoration: none;
}

.author-article-card h3 a:hover {
  color: #0c64b3;
  text-decoration: underline;
}

.article-card-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #0c64b3 !important;
  margin-bottom: 0.5rem;
}

.author-article-card .short-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.8em;
}

.author-article-card .meta {
  font-size: 0.88rem;
  color: #777777;
}

.author-read-more {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #0c64b3 !important;
  text-decoration: none !important;
}

.author-read-more:hover {
  text-decoration: underline !important;
}

.author-empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #d7e9fb;
}

.author-pagination {
  margin-top: 24px;
}

.author-pagination a {
  min-width: 42px;
  min-height: 42px;
  text-align: center;
}

/* Bottom CTA panels */
.author-cta-panel,
.author-contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin: 2rem 0;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.author-cta-panel {
  background:
    radial-gradient(circle at 8% 18%, rgba(255,255,255,0.16), transparent 28%),
    linear-gradient(135deg, #0c64b3 0%, #075291 100%);
}

.author-cta-panel h2,
.author-cta-panel p {
  color: #ffffff !important;
}

.author-contact-panel {
  background: #f8fbff;
  border: 1px solid #d7e9fb;
}

.author-contact-panel h2 {
  margin-top: 0;
}

.author-contact-panel p {
  margin-bottom: 0;
}

.author-panel-cta {
  white-space: nowrap;
  text-decoration: none !important;
}

.author-panel-cta-secondary {
  background: #0c64b3 !important;
  color: #ffffff !important;
  border: 0;
}

/* Mobile-friendly animation: disabled for reduced-motion users.
   Important: content must remain visible if JavaScript does not run. */
.author-topic-list li,
.author-standard-card,
.author-article-card,
.author-cta-panel,
.author-contact-panel {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .author-page.author-js-ready .author-topic-list li,
  .author-page.author-js-ready .author-standard-card,
  .author-page.author-js-ready .author-article-card,
  .author-page.author-js-ready .author-cta-panel,
  .author-page.author-js-ready .author-contact-panel {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.45s ease,
      transform 0.45s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease;
  }

  .author-page.author-js-ready.author-page-enhanced .author-topic-list li,
  .author-page.author-js-ready.author-page-enhanced .author-standard-card,
  .author-page.author-js-ready.author-page-enhanced .author-article-card,
  .author-page.author-js-ready.author-page-enhanced .author-cta-panel,
  .author-page.author-js-ready.author-page-enhanced .author-contact-panel {
    opacity: 1;
    transform: translateY(0);
  }

  .author-page.author-js-ready.author-page-enhanced .author-topic-list li:nth-child(2n),
  .author-page.author-js-ready.author-page-enhanced .author-standard-card:nth-child(2n),
  .author-page.author-js-ready.author-page-enhanced .author-article-card:nth-child(2n) {
    transition-delay: 0.06s;
  }

  .author-page.author-js-ready.author-page-enhanced .author-topic-list li:nth-child(3n),
  .author-page.author-js-ready.author-page-enhanced .author-standard-card:nth-child(3n),
  .author-page.author-js-ready.author-page-enhanced .author-article-card:nth-child(3n) {
    transition-delay: 0.12s;
  }
}

@media (max-width: 900px) {
  .author-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }

  .author-hero-copy,
  .author-hero h1 {
    text-align: center;
  }

  .author-hero-image-wrap {
    justify-content: center;
  }

  .author-hero-actions {
    justify-content: center;
  }

  .author-topic-list,
  .author-standards-grid {
    grid-template-columns: 1fr;
  }

  .author-section-heading-row,
  .author-cta-panel,
  .author-contact-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .author-panel-cta {
    align-self: center;
  }
}

@media (max-width: 520px) {
  .author-page {
    padding: 14px;
  }

  .author-hero {
    padding: 22px 16px;
  }

  .author-hero h1 {
    font-size: 2rem;
  }

  .author-profile-image {
    width: 210px;
    height: 210px;
  }

  .author-hero-actions {
    flex-direction: column;
  }

  .author-secondary-link,
  .author-primary-cta,
  .author-panel-cta {
    width: 100%;
    justify-content: center;
  }

  .author-search-form {
    flex-direction: column;
  }

  .author-search-form input[type="text"],
  .author-search-form select,
  .author-search-form button[type="submit"],
  .author-clear-filter {
    width: 100%;
  }
}

/* =========================
   8. Shared CTA Blocks
========================= */

.docs-cta-top,
.docs-cta-bottom {
  text-align: center;
  margin: 20px 0;
}

.docs-cta-top .cta-btn,
.docs-cta-bottom .cta-btn {
  margin-top: 10px;
}

/* =========================
   9. Utility Classes
========================= */

.text-center {
  text-align: center;
}

.float-right {
  float: right;
}

.float-left {
  float: left;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* --- Updated: Smart, pinned Table of Contents --- */

/* Make .article-toc pinned on larger screens.
   On mobile, we’ll position it at the bottom. */
.article-toc {
  position: fixed;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  /* Provide a tiny horizontal offset so the button
     sits away from screen edge or half off-screen if you like. */
}

/* The slide-out panel that holds the list of links */


/* Styled list within the slide-out. Use brand accent for links. */
#toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#toc-list li {
  margin-bottom: 6px;
}

#toc-list li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 4px;
  padding: 4px 2px;
  display: inline-block;
  transition: background-color 0.2s ease;
}

#toc-list li a:hover {
  text-decoration: underline;
}

/* --- The button that toggles the TOC --- */
.toc-toggle-btn {
  position: relative;
  right: 0;
  background: #0c64b3;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s ease, transform 0.2s ease;
  margin-right: 6px;
}

/* Make the button stand out a bit more on hover */
.toc-toggle-btn:hover {
  background: #58a9ff;
  transform: scale(1.05);
}

/* Provide a bit of quick active feedback */
.toc-toggle-btn:active {
  background: #00539c
  transform: scale(1.0);
}



/* =========================
   10. Media Queries
========================= */

@media (max-width: 768px) {
  .articles-grid,
  .author-page .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    margin-bottom: 15px;
  }

  .article-navigation {
    flex-direction: column;
    gap: 10px;
  }
}

#toggle-details {
    font-size: 14px;
}

#toggle-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
}

#toggle-link:hover {
    text-decoration: underline;
}



/* ========== ADDED RESPONSIVE NAV CSS ========== */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}
.nav-overlay.show {
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;
  position: relative;
}
.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}
.hamburger::before {
  top: -8px;
}
.hamburger::after {
  top: 8px;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding: 60px 20px;
  }
  .primary-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
  }
  .primary-nav.show {
    transform: translateX(0);
  }

  /* Mobile Table */
  .table-responsive {
    overflow-x: auto;
  }

  .table-custom thead {
    display: none;
  }

  /* Convert table/tr/td to block, but use max-width instead of width:100% */
  .table-custom,
  .table-custom tbody,
  .table-custom tr,
  .table-custom td {
    display: block;
    max-width: 100%;
    box-sizing: border-box;
  }

  .table-custom tr {
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    padding: 0.75rem;
  }

  .table-custom td {
    border: none;
    padding: 0.5rem 0;
    position: relative;
    white-space: normal;
    text-align: left;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .table-custom td:before {
    content: attr(data-label) ": ";
    font-weight: bold;
    color: #bbb;
    display: inline-block;
    margin-right: 0.25rem;
    overflow-wrap: break-word;
  }

  .table-custom td .btn {
    display: block;
    margin: 0.5rem 0;
    text-align: left;
  }
}

.seo-nav ul {
  justify-content: center;
}
.seo-nav {
  background: #0c64b3;
  padding: 1rem;
}
.seo-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.seo-nav li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.seo-nav li a:hover {
  color: #a3d1ff;
}
.seo-nav.primary-nav {
  margin: 0 auto;
  display: flex;          /* ensures the UL doesn't shrink to 0 */
  justify-content: center;
  align-items: center;
  max-width: 1200px;      /* optional, set a max width so it’s nicely centered */
}
/* =======================
   Dark Header & Footer
======================= */

/* Give header & footer a dark background and white/light text */
/* NEW: Header with reduced bottom padding */
header {
    background-color: #0c64b3;
    color: #fff;
    text-align: center;
    /* Adjust these top/bottom paddings as desired */
    padding: 2px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Keep the footer the same bigger size (if you like) */
footer {
    background-color: #0c64b3;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
}


/* If you have a top border on footer instead of bottom, override: */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* remove any old border-top using var(--border-color) */
}

/* Header Title Style */
header h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #fff; /* White, so it’s visible against dark bg */
}

/* Footer Paragraphs */
footer p {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
}

/* Footer Links */
footer a {
    color: #fff;
    text-decoration: none;
}
footer a:hover {
    color: #a3d1ff; /* your brand hover (Dodger Blue) */
    text-decoration: underline;
}

/* Extended Footer Layout (dark mode) */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Sections */
.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 20px;
}

/* Headings in Footer Sections */
.footer-section h4,
.footer-section h5,
.footer-section h6 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}

/* Footer Lists */
.footer-section ul {
    list-style-type: none;
    padding: 0;
}
.footer-section ul li {
    margin: 5px 0;
}
.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}
.footer-section ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Footer Paragraph */
.footer-section p {
    font-size: 14px;
    color: #ffffffc;
}

/* Social Media Icons */
.social-media a {
    margin-right: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
}
.social-media a:hover {
    color: #1E90FF; /* brand hover */
}

.breadcrumb {
    background-color: #ffffff !important;
}
.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: .25rem;
}

dl, ol, ul {
    margin-top: 0;
    margin-bottom: 1rem;
}

.founder-section {
    /* Slight left/right padding added */
    padding: 60px 20px;
    background-color: #00539c;
    border-radius: 12px;
}

/* Force text to white, but do not override CTA buttons or links */
.founder-section .founder-text p,
.founder-section .founder-text h1,
.founder-section .founder-text h2,
.founder-section .founder-text h3,
.founder-section .founder-text em,
.founder-section .founder-text strong {
    color: #fff !important;
}


.founder-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #fff;
}

img {
    vertical-align: middle;
    border-style: none;
}

@media (max-width: 768px) {
    .founder-section {
        text-align: center;
    }
}

/* === Task 1: Social Sharing Icons inside toc-contents === */
.toc-contents .social-share {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-share .share-icon {
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  padding: 6px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.social-share .share-icon img {
  width: 20px;
  height: 20px;
}
.social-share .share-icon:hover {
  background: #ffc107;
}
/* === Task 5: Basic slider for .article-slider === */

.article-slider {
  display: flex;
  /* Keep horizontal swipe, hide vertical scroll */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */

  /* Give extra vertical padding so the items are “taller” */
  padding: 1rem 0;
  margin-bottom: 1rem;
  align-items: center; /* Ensures items line up nicely vertically */
}

/* ===========================
   Scrollbar customisation
   =========================== */

/* Ensure we define scrollbar width for most browsers */
::-webkit-scrollbar {
    width: 12px;     /* Adjust width to your preference */
    height: 12px;    /* If horizontal scroll ever appears */
}

/* 1. Style for WebKit-based browsers (Chrome, Safari, etc.) */

/* Track background = brand accent (light blue) */
::-webkit-scrollbar-track {
    background: var(--brand-accent); /* #ADD8E6 by default */
}

/* Thumb background = brand primary (Dodger Blue),
   with a border matching the track for consistency.
   Rounding edges remains the same.
*/
::-webkit-scrollbar-thumb {
    background-color: #0c64b3;  /* #1E90FF */
    border: 2px #f8f9fa;  /* #ADD8E6 */
    border-radius: 6px;
}

/* Hovered thumb = brand hover (slightly darker) */
::-webkit-scrollbar-thumb:hover {
    background-color: #0c64b3;  /* #1C86EE */
}

/* 2. Fallback for Firefox and others using scrollbar-color */
/* The first color is the thumb; second is the track */
* {
    scrollbar-color: #0c64b3 #f8f9fa;
    scrollbar-width: thin;
}

/* We cycle background colors on each item using your palette:
   (#1676cc, #0c64b3, #00539c, #1e90ff, #58a9ff, #81beff, #a3d1ff)
   You can add more nth-child() rules if you have more than 5 items. */

.article-slider .slider-item {
  min-width: 250px;
  max-width: 300px;
  margin-right: 16px;
  border-radius: 10px;
  padding: 16px 16px 20px; /* extra bottom padding if you want room for an icon */
  box-sizing: border-box;
  flex-shrink: 0;
  color: #ffffff;
  position: relative;
  /* Subtle shadow & scale on hover */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-slider .slider-item:nth-child(1) {
  background-color: #1676cc;
}
.article-slider .slider-item:nth-child(2) {
  background-color: #0c64b3;
}
.article-slider .slider-item:nth-child(3) {
  background-color: #00539c;
}
.article-slider .slider-item:nth-child(4) {
  background-color: #1e90ff;
}
.article-slider .slider-item:nth-child(5) {
  background-color: #58a9ff;
}
/* If you want more:
.article-slider .slider-item:nth-child(6) {
  background-color: #81beff;
}
.article-slider .slider-item:nth-child(7) {
  background-color: #a3d1ff;
}
*/

/* Hover effect to lift the card slightly */
.article-slider .slider-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* For the text inside each slider item */
.article-slider .slider-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; /* bold heading */
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.2;
  color: #ffffff;
}

.article-slider .slider-item p {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Optional: Make the entire slider-item clickable by styling the anchor */
.article-slider .slider-item a {
  text-decoration: none;
  color: #ffffff;
  display: block; /* so the entire block is clickable */
  height: 100%;
}

.article-slider .slider-item a:hover h4 {
  text-decoration: underline; /* highlight the title on hover */
}

/* Optional: Add a small SEO-themed icon in the top-right corner of each item */
.article-slider .slider-item::after {
  content: url("/static/img/ScanMySEO_PNG_White_16x16.png"); /* your chosen SEO fix icon in #FFC107, for example */
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px; /* adjust if the icon is bigger/smaller */
  height: 24px;
}

/* Slider controls remain mostly the same */
.slider-controls {
  margin-top: 8px;
  text-align: center;
}

.slider-controls button {
  background: #383d41;
  color: #fff;
  border: none;
  margin: 0 5px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.slider-controls button:hover {
  background: #ffc107;
}


/* A little responsiveness */
@media (max-width: 768px) {
  .article-slider .slider-item {
    min-width: 80%;
    margin-right: 10px;
  }
}

/* A bold “hero” style for the landing page */
.landing-hero-header {
  background-color: #0c64b3;
  color: #ffffff;
  padding: 40px 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
}

.landing-hero-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  text-align: center;
}

.landing-hero-header .article-subheading {
  color: #e0e0e0; /* slightly lighter grey for subheading */
}
/* A white “card” area for the main body of the landing page,
   but no longer restricted to that original beige or thick border. */
.articles-landing-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

/* A container that places its children side by side on larger screens. */
.landing-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

/* Style each of those sections with a tinted background, padding, etc. */
.landing-sections section {
  background-color: #F8F9FA; /* a light grey or light shade for distinction */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* On smaller screens, stack them vertically. */
@media (max-width: 767px) {
  .landing-sections {
    grid-template-columns: 1fr; /* just one column */
  }
}
/* === Custom CTA Sections Styling === */

/* 2A) A parent container to place them side by side if wide enough */

.bottom-cta-sections {
  flex-wrap: wrap;
  justify-content: space-between; /* or space-around if you prefer */
  align-items: stretch;
  margin: 2rem 0;
  --text-color: white;
}


section.get-more-sms p {
    color: WHITE;
}

/* Each section within .bottom-cta-sections */
.bottom-cta-sections section {
  flex: 1 1 45%;
  display: flex;            /* ADDED */
  flex-direction: column;   /* ADDED */
  justify-content: space-between;
  padding: 2rem 1rem;
  border-radius: 12px;
  align-items: center;
}


/* Distinct background for get-more-sms */
.get-more-sms {
  background-color: #2A2C3B;
  color: #fff;
  text-align: center;
}


/* Distinct background for feedback-block */
.feedback-block {
  background-color: #f4f4f4;
  color: #333;
}
.feedback-block h3 {
  margin-bottom: 0.5rem;
}
.feedback-block p {
  margin-bottom: 1.5rem;
}


/* 2C) Style the feedback block inside .additional-insights */
.additional-insights .feedback-block {
  background-color: #FFF1F0; /* a pale red/pink tone */
  border: 2px solid #F2CCCC;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.additional-insights .feedback-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.additional-insights .feedback-block p {
  color: #555;
  margin-bottom: 1rem;
}

/* 2D) Tweak the CTA button spacing if desired */
.get-more-sms .cta-btn.run-crawl-btn,
.additional-insights .feedback-block .cta-btn.run-crawl-btn {
  margin-top: 10px;
  margin-bottom: 0;
}

/* 2E) Mobile behaviour: with repeat(auto-fit, minmax(300px, 1fr)),
       they'll naturally stack on small screens.
       If you prefer a specific breakpoint or narrower columns, add a media query. */
@media (max-width: 768px) {
  .bottom-cta-sections {
    grid-template-columns: 1fr; /* force single column below 768px wide */
  }
}

/* === Unique Styling for .ready-to-dive CTA Block === */
.ready-to-dive {
  background-color: #e9ecef;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 12px;
  margin: 2rem 0;
  align-items: center;
}
.ready-to-dive h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.ready-to-dive p {
  margin-bottom: 1.5rem;
}

/* Optionally tweak the CTA button spacing inside it */
.ready-to-dive .cta-btn.run-crawl-btn {
  margin-top: 10px;
}

/* ---------------------------------------
   1) Fix .article-subheading alignment
--------------------------------------- */
.landing-hero-header .article-subheading {
  text-align: center;
  font-style: italic;
  color: #e0e0e0;
  margin-bottom: 1.5rem;

  /* Override the .docs-container p max-width rule */
  max-width: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* === Base responsive code block fallback === */
pre {
  overflow-x: auto;
  max-width: 100%;
  box-sizing: border-box;
}

section.article-cta-banner.get-more-sms {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1rem;
    border-radius: 12px;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    --text-color: white;
}

/* === ADD: Make slider card text visible and add a placeholder “image” box === */
.slider-item {
  color: #000; /* ensures text is visible if you had any conflicting styles */
}

.slider-item .no-thumbnail-placeholder {
  display: block;
  background: #f0f0f0;
  border: 1px dashed #ccc;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  padding: 20px;
  margin-bottom: 8px;
  border-radius: 4px;
}
/* =========================
   Hydra dynamic article compatibility
========================= */

.article-page .article-category,
.article-page .article-description,
.article-page .article-meta {
  color: #ffffff;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

.article-page .article-description {
  max-width: 760px;
  margin: 0.5rem auto 1rem;
  color: #ffffff;
  font-style: italic;
}

.article-page .article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.article-page .article-meta a {
  color: #ffffff;
  text-decoration: underline;
}

.article-page .article-cta-btn {
  display: inline-block;
  background: #ffc107;
  color: #3E2723;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

.article-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin: 1.5rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color, #333);
  line-height: 1.3;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-content h2 {
  font-size: 1.45rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 0.45rem;
}

.article-content h3 {
  font-size: 1.2rem;
}

.article-content p,
.article-content li {
  font-family: 'Roboto', sans-serif;
  color: var(--light-text, #555);
  line-height: 1.7;
  font-size: 1rem;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.25rem 1.25rem;
  padding-left: 1.25rem;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.article-content th,
.article-content td {
  border: 1px solid #d9dee6;
  padding: 0.75rem;
  vertical-align: top;
}

.article-content th {
  background: #f0f4f8;
  color: #333333;
  font-family: 'Montserrat', sans-serif;
}

.article-content blockquote {
  border-left: 4px solid #0c64b3;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  color: #555555;
  margin: 1.5rem 0;
}

.article-cta-banner.get-more-sms h2,
.article-cta-banner.get-more-sms p {
  color: #ffffff !important;
}

.founder-section .founder-content {
  display: flex;
  gap: 24px;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
}

.founder-section .founder-text {
  flex: 1;
}

.founder-section .founder-name,
.founder-section .founder-title {
  color: #ffffff !important;
  margin-bottom: 0.25rem;
}

.article-slider .slider-item h3,
.article-slider .slider-item h4,
.article-slider .slider-item p,
.article-slider .slider-item a,
.article-slider .slider-item a:visited {
  color: #ffffff !important;
}

.article-slider .slider-item a:hover h3,
.article-slider .slider-item a:hover h4 {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .founder-section .founder-content {
    flex-direction: column;
    text-align: center;
  }

  .article-content {
    padding: 18px;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }
}
/* ----------------------------------------------------------
   33. Cookie Banner
----------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f5f5f5;
    padding: 15px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cookie-banner p {
    display: inline-block;
    margin: 0;
    padding: 0 10px;
    font-size: 14px;
}

.cookie-banner button {
    margin: 0 5px;
}
.footer-section.crm-signup-banner {
  /* Match the styling of other .footer-section columns */
  margin-top: 0;              /* remove the extra top margin */
  padding: 10px;              /* a bit smaller than 15px if you want */
  border: 1px solid #ccc;
  border-radius: 4px;
  /* If you want the same line-height, you can also do: */
  line-height: 1.5;
}

.footer-section.crm-signup-banner h6 {
  margin-bottom: 0.5rem; /* keep consistent spacing with other columns */
}

.footer-section.crm-signup-banner .form-group {
  margin-bottom: 0.75rem; /* tighten up the spacing slightly */
}

.footer-section.crm-signup-banner input.form-control {
  height: auto; /* let bootstrap handle the input sizing */
  padding: 6px 8px;
}

.footer-section.crm-signup-banner button.btn {
  margin-top: 0.5rem;
}

/* =========================
   Hydra dynamic article compatibility
========================= */

/* Header details used by hydra_article.html */
.article-page .article-category,
.article-page .article-description,
.article-page .article-meta {
  color: #ffffff;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

.article-page .article-category {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: #e8f4ff;
}

.article-page .article-description {
  max-width: 760px;
  margin: 0.5rem auto 1rem;
  font-style: italic;
  color: #ffffff;
}

.article-page .article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.article-page .article-meta a {
  color: #ffffff;
  text-decoration: underline;
}

.article-page .article-cta-btn {
  display: inline-block;
  background: #ffc107;
  color: #3E2723;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}

/* The model-generated body is injected as .article-content, not as legacy <section> blocks. */
.article-content {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  margin: 1.5rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color, #333);
  line-height: 1.3;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-content h2 {
  font-size: 1.45rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 0.45rem;
}

.article-content h3 {
  font-size: 1.2rem;
}

.article-content p,
.article-content li {
  font-family: 'Roboto', sans-serif;
  color: var(--light-text, #555);
  line-height: 1.7;
  font-size: 1rem;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.25rem 1.25rem;
  padding-left: 1.25rem;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

/* =========================
   Responsive article tables
========================= */

.article-page .article-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid #d9dee6;
  border-radius: 10px;
  background: #ffffff;
}

.article-page .article-table-scroll table,
.article-content table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  table-layout: fixed;
}

.article-content th,
.article-content td,
.article-page .article-table-scroll th,
.article-page .article-table-scroll td {
  border-right: 1px solid #d9dee6;
  border-bottom: 1px solid #d9dee6;
  padding: 0.85rem 1rem;
  vertical-align: top;
  color: #333333;
  line-height: 1.55;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.article-content td > *,
.article-content th > *,
.article-page .article-table-scroll td > *,
.article-page .article-table-scroll th > * {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-content th:last-child,
.article-content td:last-child,
.article-page .article-table-scroll th:last-child,
.article-page .article-table-scroll td:last-child {
  border-right: 0;
}

.article-content tr:last-child td,
.article-page .article-table-scroll tr:last-child td {
  border-bottom: 0;
}

.article-content th,
.article-page .article-table-scroll th {
  background: #f0f4f8;
  color: #333333;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-align: left;
}

.article-content tbody tr:nth-child(even),
.article-page .article-table-scroll tbody tr:nth-child(even) {
  background: #fafbfd;
}

.article-content th:first-child,
.article-content td:first-child,
.article-page .article-table-scroll th:first-child,
.article-page .article-table-scroll td:first-child {
  min-width: 160px;
  width: 24%;
  max-width: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-weight: 600;
}

.article-content th:not(:first-child),
.article-content td:not(:first-child),
.article-page .article-table-scroll th:not(:first-child),
.article-page .article-table-scroll td:not(:first-child) {
  min-width: 140px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Mobile: turn wide article tables into labelled cards instead of crushing columns. */
@media (max-width: 640px) {
  .article-page .article-table-scroll {
    overflow: visible;
    border: 0;
    background: transparent;
    margin: 1.25rem 0;
  }

  .article-page table.responsive-table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.85rem;
  }

  .article-page table.responsive-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .article-page table.responsive-table tbody,
  .article-page table.responsive-table tr,
  .article-page table.responsive-table td {
    display: block;
    width: 100%;
  }

  .article-page table.responsive-table tr {
    border: 1px solid #d9dee6;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  }

  .article-page table.responsive-table td {
    border-right: 0;
    border-bottom: 1px solid #e6eaf0;
    padding: 0.85rem 1rem;
    white-space: normal;
  }

  .article-page table.responsive-table td:last-child {
    border-bottom: 0;
  }

  .article-page table.responsive-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.35rem;
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .article-page table.responsive-table td:first-child {
    width: auto;
    max-width: none;
    min-width: 0;
    background: #f0f4f8;
  }
}

.article-content blockquote {
  border-left: 4px solid #0c64b3;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  color: #555555;
  margin: 1.5rem 0;
}

/* Make the Hydra CTA match the existing get-more-sms block. */
.article-cta-banner.get-more-sms h2,
.article-cta-banner.get-more-sms p {
  color: #ffffff !important;
}

.article-cta-banner.get-more-sms .cta-btn.run-crawl-btn,
.article-cta-banner.get-more-sms .cta-button {
  margin-top: 10px;
}

/* Make the founder note match the legacy author card structure. */
.founder-section .founder-content {
  display: flex;
  gap: 24px;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
}

.founder-section .founder-text {
  flex: 1;
}

.founder-section .founder-name,
.founder-section .founder-title {
  color: #ffffff !important;
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .founder-section .founder-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Hydra cards may output h3; legacy cards output h4. Keep both white. */
.article-slider .slider-item h3,
.article-slider .slider-item h4,
.article-slider .slider-item p,
.article-slider .slider-item a,
.article-slider .slider-item a:visited {
  color: #ffffff !important;
}

.article-slider .slider-item a:hover h3,
.article-slider .slider-item a:hover h4 {
  text-decoration: underline;
}

/* =========================
   Article code snippets
========================= */

/* Inline code such as <head> or <link rel="canonical"> */
.article-page code:not(pre code) {
  display: inline;
  padding: 0.12rem 0.32rem;
  border-radius: 4px;
  background: #fff3f8;
  color: #c2185b;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 0.95em;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Code boxes such as full HTML/CSS snippets */
.article-page pre {
  display: block;
  max-width: 100%;
  margin: 1.25rem 0;
  padding: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 10px;
  background: #282a36;
  color: #f8f8f2;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.article-page pre code {
  display: block;
  padding: 0;
  background: transparent;
  color: inherit;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre;
  word-break: normal;
  overflow-wrap: normal;
}

/* Prevent Bootstrap/docs global rules from flattening code boxes. */
.article-page pre code.hljs,
.article-page pre code[class*="language-"] {
  background: transparent;
}

/* Founder section author link */
.docs-container .founder-section .founder-name a,
.docs-container .founder-section .founder-name a:visited,
.article-page .founder-section .founder-name a,
.article-page .founder-section .founder-name a:visited {
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.docs-container .founder-section .founder-name a::after,
.article-page .founder-section .founder-name a::after {
  content: "→";
  font-size: 0.9em;
  line-height: 1;
  opacity: 0.85;
  transform: translateX(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.docs-container .founder-section .founder-name a:hover,
.docs-container .founder-section .founder-name a:focus,
.docs-container .founder-section .founder-name a:active,
.article-page .founder-section .founder-name a:hover,
.article-page .founder-section .founder-name a:focus,
.article-page .founder-section .founder-name a:active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.48);
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.18);
}

.docs-container .founder-section .founder-name a:hover::after,
.docs-container .founder-section .founder-name a:focus::after,
.article-page .founder-section .founder-name a:hover::after,
.article-page .founder-section .founder-name a:focus::after {
  opacity: 1;
  transform: translateX(3px);
}

.docs-container .founder-section .founder-name a:focus-visible,
.article-page .founder-section .founder-name a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

/* HYDRA2_MANUAL_ARTICLE_REPAIR_V2: article/document shell only.
   The previous docs rules targeted the obsolete .seo-nav markup. */
/* =========================================================
   ScanMySEO primary navigation — light theme tokens
   ========================================================= */
body.docs-shell {
  --site-header-height: 72px;
  --brand-primary: #1e90ff;
  --brand-secondary: #00bfff;
  --nav-bg: #ffffff;
  --nav-panel: #ffffff;
  --nav-text: #0d1b2e;
  --nav-muted: #4f6279;
  --nav-border: rgba(13, 27, 46, 0.12);
  --nav-border-strong: rgba(30, 144, 255, 0.36);
  --nav-hover-bg: rgba(30, 144, 255, 0.07);
  --nav-active-bg: rgba(30, 144, 255, 0.11);
  --nav-secondary-bg: #f7faff;
  --nav-overlay: rgba(7, 17, 31, 0.48);
  --nav-focus: rgba(30, 144, 255, 0.42);
  --nav-logo-bg: #ffffff;
  --nav-logo-border: rgba(13, 27, 46, 0.09);
  --nav-shadow: 0 6px 24px rgba(7, 17, 31, 0.07);
}

/* =========================================================
   ScanMySEO primary navigation — shared component rules
   Docs-only mirror of the shared navigation component (style.css).
   The theme-token block immediately above it supplies the colours.
   ========================================================= */

html:has(body.docs-shell) {
  scroll-padding-top: calc(var(--site-header-height, 72px) + 16px);
}

body.docs-shell .skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 1100;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  background: var(--nav-text);
  color: var(--nav-panel) !important;
  font-weight: 700;
  text-decoration: none !important;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

body.docs-shell .skip-link:focus {
  transform: translateY(0);
}

body.docs-shell .site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--nav-border);
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  color: var(--nav-text);
  text-align: left;
  isolation: isolate;
}

body.docs-shell .site-header,
body.docs-shell .site-header * {
  box-sizing: border-box;
}

body.docs-shell .site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  width: min(100%, 1280px);
  min-height: var(--site-header-height, 72px);
  margin: 0 auto;
  padding: 0 24px;
}

body.docs-shell .site-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid var(--nav-logo-border);
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(7, 17, 31, 0.06);
}

body.docs-shell .site-brand:focus-visible,
body.docs-shell .site-header a:focus-visible,
body.docs-shell .site-header button:focus-visible {
  outline: 3px solid var(--nav-focus);
  outline-offset: 3px;
}

body.docs-shell .site-brand #logo-image,
body.docs-shell .site-brand__logo {
  display: block;
  width: auto;
  max-width: 142px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

body.docs-shell .primary-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  min-width: 0;
}

body.docs-shell .primary-nav__links {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.docs-shell .site-header .primary-nav__links > li {
  margin: 0;
}

body.docs-shell .primary-nav__link {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 0.72rem;
  border-radius: 9px;
  color: var(--nav-muted) !important;
  font-family: "Montserrat", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

body.docs-shell .primary-nav__link:hover,
body.docs-shell .primary-nav__link:focus-visible {
  background: var(--nav-hover-bg);
  color: var(--nav-text) !important;
}

body.docs-shell .primary-nav__link[aria-current="page"] {
  background: var(--nav-active-bg);
  color: var(--nav-text) !important;
}

body.docs-shell .primary-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0.72rem;
  bottom: 3px;
  left: 0.72rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

body.docs-shell .primary-nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

body.docs-shell .primary-nav__action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body.docs-shell .primary-nav__action--secondary {
  border-color: var(--nav-border);
  background: var(--nav-secondary-bg);
  color: var(--nav-text) !important;
}

body.docs-shell .primary-nav__action--secondary:hover,
body.docs-shell .primary-nav__action--secondary:focus-visible {
  border-color: var(--nav-border-strong);
  background: var(--nav-hover-bg);
  color: var(--nav-text) !important;
}

body.docs-shell .primary-nav__action--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.24);
}

body.docs-shell .primary-nav__action--primary:hover,
body.docs-shell .primary-nav__action--primary:focus-visible {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 11px 25px rgba(30, 144, 255, 0.32);
}

body.docs-shell .primary-nav__mobile-label {
  display: none;
}

body.docs-shell .site-header .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  justify-self: end;
  margin: 0;
  padding: 0;
  border: 1px solid var(--nav-border);
  border-radius: 11px;
  background: var(--nav-secondary-bg);
  color: var(--nav-text);
  box-shadow: none;
  cursor: pointer;
}

body.docs-shell .site-header .nav-toggle:hover:not(:disabled) {
  border-color: var(--nav-border-strong);
  background: var(--nav-hover-bg);
  color: var(--nav-text);
  cursor: pointer;
}

body.docs-shell .nav-toggle__icon,
body.docs-shell .nav-toggle__icon::before,
body.docs-shell .nav-toggle__icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 140ms ease;
}

body.docs-shell .nav-toggle__icon {
  position: relative;
}

body.docs-shell .nav-toggle__icon::before,
body.docs-shell .nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

body.docs-shell .nav-toggle__icon::before {
  top: -6px;
}

body.docs-shell .nav-toggle__icon::after {
  top: 6px;
}

body.docs-shell .nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

body.docs-shell .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

body.docs-shell .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

body.docs-shell .nav-overlay {
  position: fixed;
  inset: var(--site-header-height, 72px) 0 0;
  z-index: 1028;
  margin: 0;
  background: var(--nav-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

body.docs-shell .nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

body.docs-shell.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.docs-shell .sms-announce.is-sticky {
  top: var(--site-header-height, 72px) !important;
  z-index: 1020;
}

@media (max-width: 960px) {
  body.docs-shell {
    --site-header-height: 64px;
  }

  body.docs-shell .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0 14px;
  }

  body.docs-shell .site-brand {
    width: fit-content;
    padding: 3px 7px;
    border-radius: 10px;
  }

  body.docs-shell .site-brand #logo-image,
body.docs-shell .site-brand__logo {
    max-width: 124px;
    max-height: 36px;
  }

  body.docs-shell .site-header .nav-toggle {
    display: grid;
  }

  body.docs-shell .primary-nav {
    position: fixed;
    top: var(--site-header-height, 64px);
    right: 0;
    bottom: 0;
    z-index: 1029;
    display: block;
    width: min(92vw, 360px);
    min-width: 0;
    padding: 1.05rem 1rem 1.25rem;
    overflow-x: hidden;
    overflow-y: auto;
    border-left: 1px solid var(--nav-border);
    background: var(--nav-panel);
    box-shadow: -18px 0 46px rgba(7, 17, 31, 0.2);
    transform: translateX(104%);
    transition: transform 210ms cubic-bezier(0.22, 0.75, 0.25, 1);
    overscroll-behavior: contain;
  }

  body.docs-shell .primary-nav.is-open {
    transform: translateX(0);
  }

  body.docs-shell .primary-nav__mobile-label {
    display: block;
    margin: 0 0 0.75rem;
    padding: 0 0.25rem 0.75rem;
    border-bottom: 1px solid var(--nav-border);
    color: var(--nav-muted);
    font-family: "Montserrat", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  body.docs-shell .primary-nav__links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.32rem;
    width: 100%;
  }

  body.docs-shell .primary-nav__link {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 0.72rem 0.85rem;
    font-size: 0.92rem;
    white-space: normal;
  }

  body.docs-shell .primary-nav__link[aria-current="page"]::after {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 0;
    width: 3px;
    height: 22px;
    transform: translateY(-50%);
  }

  body.docs-shell .primary-nav__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--nav-border);
  }

  body.docs-shell .primary-nav__action {
    width: 100%;
    min-height: 48px;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.docs-shell .skip-link,
body.docs-shell .primary-nav,
body.docs-shell .primary-nav__link,
body.docs-shell .primary-nav__action,
body.docs-shell .nav-toggle__icon,
body.docs-shell .nav-toggle__icon::before,
body.docs-shell .nav-toggle__icon::after,
body.docs-shell .nav-overlay {
    transition: none !important;
  }

  body.docs-shell .primary-nav__action--primary:hover,
body.docs-shell .primary-nav__action--primary:focus-visible {
    transform: none;
  }
}


/* Reset only legacy drawer properties that the new component does not use. */
body.docs-shell .site-header .nav-toggle { position: relative; top: auto; right: auto; }
body.docs-shell .site-header .primary-nav { height: auto; }
body.docs-shell .site-header .primary-nav__links { flex-direction: row; }
body.docs-shell .nav-overlay[hidden] { display: none !important; }
@media (max-width: 960px) {
  body.docs-shell .site-header .primary-nav__links { display: grid; gap: .32rem; }
}
/* Article markup cannot supply document-level CSS or overlap the shared shell. */
body.docs-shell .article-content { display: flow-root; isolation: isolate; min-width: 0; overflow-wrap: anywhere; }
body.docs-shell .article-content img { max-width: 100%; height: auto; }
body.docs-shell .article-content pre { max-width: 100%; overflow-x: auto; }
body.docs-shell .article-content .article-table-scroll:focus-visible { outline: 3px solid #1478ce; outline-offset: 3px; }
body.docs-shell .article-content table:not(.responsive-table) { display: block; max-width: 100%; overflow-x: auto; min-width: 0; }

/* Keep article widgets behind the mobile site-navigation drawer. */
body.docs-shell { margin: 0; }
body.docs-shell.nav-open .article-toc { visibility: hidden; pointer-events: none; }


/* HYDRA_ARTICLE_LIBRARY_V1: article presentation cannot paint over the site shell. */
.manual-article-region { contain: layout style paint; isolation: isolate; min-width: 0; }
.manual-article-region > article { width: 100%; min-width: 0; }
.manual-article-region pre { overflow: auto; max-width: 100%; }
.manual-article-region img { max-width: 100%; height: auto; }
.manual-article-region .article-header { margin-top: 0; }

/* Keep the application-owned isolation boundary intact; design its article child. */
#hydra-manual-article { contain: layout style paint !important; isolation: isolate !important; display: block !important; position: relative !important; max-width: 100% !important; }

/* HYDRA_PUBLICATION_SIGNALS_V1:BEGIN
   Article-only, application-owned byline. Does not restyle the shared site shell. */
body.docs-shell .hydra-article-page .hydra-publication-signals {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.15rem 1.75rem;
  width: 100%;
  min-width: 0;
  margin: 1.5rem auto 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid #5d92bd;
  border-radius: 12px;
  background: linear-gradient(120deg, #073765, #0a477c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 8px 24px rgba(0,23,52,.12);
  color: #fff;
  font: 400 .93rem/1.5 'Roboto', system-ui, sans-serif;
  text-align: left;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__author {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex: 1 1 200px;
  min-width: 0;
}
body.docs-shell .hydra-article-page .hydra-publication-signals img.hydra-publication-signals__portrait {
  display: block;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  max-width: 48px;
  flex: 0 0 48px;
  margin: 0;
  border: 2px solid #bddef5;
  border-radius: 50%;
  object-fit: cover;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__identity {
  display: grid;
  gap: .1rem;
  min-width: 0;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__label {
  display: block;
  margin: 0 0 .18rem;
  color: #d1e6f7;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .055em;
  text-transform: uppercase;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__names {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__names a,
body.docs-shell .hydra-article-page .hydra-publication-signals__names a:visited {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #83b8df;
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__names a:hover {
  color: #ffdf97;
  text-decoration-color: currentColor;
}
body.docs-shell .hydra-article-page .hydra-publication-signals a:focus-visible {
  outline: 3px solid #ffdf97;
  outline-offset: 4px;
  border-radius: 2px;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__role {
  color: #d1e6f7;
  font-size: .8rem;
  line-height: 1.45;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__facts {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: .7rem 1.15rem;
  min-width: 0;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__fact {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  padding-left: 1rem;
  border-left: 1px solid #477daa;
  color: #fff;
  font-size: .87rem;
  font-variant-numeric: tabular-nums;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__fact time {
  color: #fff;
  font-weight: 500;
  white-space: normal;
}
body.docs-shell .hydra-article-page .hydra-publication-signals__fact--updated .hydra-publication-signals__label {
  color: #ffe1a0;
}
@media (max-width: 720px) {
  body.docs-shell .hydra-article-page .hydra-publication-signals {
    padding: 1rem;
    gap: 1rem;
  }
  body.docs-shell .hydra-article-page .hydra-publication-signals__author {
    flex-basis: 100%;
  }
  body.docs-shell .hydra-article-page .hydra-publication-signals__facts {
    width: 100%;
    border-top: 1px solid #477daa;
    padding-top: .9rem;
    gap: .85rem 1.2rem;
  }
  body.docs-shell .hydra-article-page .hydra-publication-signals__fact {
    padding-left: 0;
    border-left: 0;
  }
}
@media print {
  body.docs-shell .hydra-article-page .hydra-publication-signals {
    background: #fff;
    border: 1px solid #777;
    box-shadow: none;
    break-inside: avoid;
  }
  body.docs-shell .hydra-article-page .hydra-publication-signals,
  body.docs-shell .hydra-article-page .hydra-publication-signals span,
  body.docs-shell .hydra-article-page .hydra-publication-signals a,
  body.docs-shell .hydra-article-page .hydra-publication-signals time {
    color: #111 !important;
  }
}
@media (forced-colors: active) {
  body.docs-shell .hydra-article-page .hydra-publication-signals {
    border: 1px solid CanvasText;
    box-shadow: none;
  }
}
/* HYDRA_PUBLICATION_SIGNALS_V1:END */


/* SCANMYSEO_ARTICLES_HUB_V1:BEGIN
   SCANMYSEO_ARTICLES_HUB_REFINEMENT_V1
   Every selector is landing-scoped; article, author and shared shell rules stay intact. */
.docs-container.articles-hub {
  --hub-ink: #142e48; --hub-muted: #526479; --hub-blue: #1262ad;
  --hub-line: #dce5ef; --hub-paper: #f5f8fd; --hub-gold: #ffda83;
  --hub-ease: cubic-bezier(.22,.61,.36,1);
  --topic-accent: #2166a8; --topic-soft: #ecf4ff; --topic-edge: #bdd4ef;
  box-sizing: border-box; min-width: 0; width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 32px 38px;
  border: 0; border-radius: 0; box-shadow: none;
  background: radial-gradient(ellipse 72% 470px at 2% 150px, #edf6ff 0%, transparent 85%),
    radial-gradient(ellipse 52% 470px at 100% 310px, #f2edff 0%, transparent 80%),
    linear-gradient(180deg,#fff 0%,#fcfdff 46%,#fff 100%);
  color: var(--hub-ink); text-align: left; font: 400 16px/1.6 'Roboto', system-ui, sans-serif;
}
body.docs-shell main:has(> .articles-hub) { max-width: none; margin: 0; padding: 0; }
.articles-hub *, .articles-hub *::before, .articles-hub *::after { box-sizing: border-box; }
.articles-hub [hidden] { display: none !important; }
.articles-hub :where(h1,h2,h3,p,ul,ol) { padding: 0; }
.articles-hub :is(h1,h2,h3) { margin: 0; color: var(--hub-ink); font-family: 'Montserrat',system-ui,sans-serif; text-align: left; text-wrap: pretty; }
.articles-hub p { margin: 0; color: var(--hub-muted); line-height: 1.65; }
.articles-hub a { color: var(--hub-blue); text-decoration: none; text-underline-offset: .22em; }
.articles-hub a:hover { color: #003d70; text-decoration: underline; }
.articles-hub a:focus-visible, .articles-hub button:focus-visible, .articles-hub summary:focus-visible,
.articles-hub input:focus-visible, .articles-hub select:focus-visible, .articles-hub textarea:focus-visible {
  outline: 3px solid #075da8; outline-offset: 4px; box-shadow: 0 0 0 6px #fff;
}
.articles-hub :is(button,input,select,textarea) { font-family: inherit; }
.articles-hub :is(section,details)[id], .articles-hub #hub-library { scroll-margin-top: calc(var(--site-header-height,72px) + 24px); }
.articles-hub .hub-masthead { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--hub-line); padding-bottom: 16px; }
.articles-hub .hub-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: .8rem; }
.articles-hub .hub-breadcrumb li + li::before { content: '/'; margin-right: 9px; color: #7c8b9a; }
.articles-hub .hub-breadcrumb a { color: var(--hub-muted); display: inline-block; padding: 8px 0; }
.articles-hub .hub-breadcrumb li[aria-current] { padding: 8px 0; }
.articles-hub .hub-jumps { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; }
.articles-hub .hub-jumps a { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; padding: 6px 9px; border-radius: 9px; font-size: .8rem; font-weight: 600; color: var(--hub-ink); transition: color 180ms ease,background-color 180ms ease,box-shadow 180ms ease; }
.articles-hub .hub-jumps [data-hub-count] { background: #e8eefa; color: #415d96; padding: 1px 7px; border-radius: 6px; min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.articles-hub .hub-hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 42px; align-items: center; margin: 0; padding: 38px 0 34px; background: transparent; border: 0; text-align: left; }
.articles-hub .hub-hero--compact { grid-template-columns: minmax(0,1fr); padding: 28px 0; }
.articles-hub .hub-eyebrow { font-size: .7rem; font-weight: 700; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; color: #52667b; }
.articles-hub .hub-hero-copy > .hub-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.articles-hub .hub-mark { width: 10px; height: 10px; flex: 0 0 10px; background: linear-gradient(135deg,#168bcc,#3b58bf); border-radius: 3px; box-shadow: 4px -4px 0 #c8e6f8,0 2px 5px #175f9126; }
.articles-hub h1 { font-size: clamp(2.1rem,3.8vw,3.3rem); font-weight: 700; line-height: 1.12; letter-spacing: -.055em; border: 0; padding: 0; margin: 0 0 20px; }
.articles-hub h1 span { color: var(--hub-blue); }
.articles-hub .hub-lede { max-width: 510px; font-size: 1.06rem; line-height: 1.75; }
.articles-hub .hub-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; font-size: .76rem; color: var(--hub-muted); }
.articles-hub .hub-facts strong { color: var(--hub-ink); font-size: .95rem; font-variant-numeric: tabular-nums; }
.articles-hub .hub-facts span:last-child { flex-basis: 100%; padding: 2px 0; border: 0; background: transparent; box-shadow: none; }
.articles-hub .hub-feature { position: relative; isolation: isolate; overflow: hidden; padding: 27px 29px; border: 1px solid #365c8b; border-radius: 22px;
  background: radial-gradient(ellipse at 104% 4%,#5852a975,transparent 57%), radial-gradient(ellipse at 7% 103%,#057e9640,transparent 61%), linear-gradient(132deg,#112b49,#203e67 66%,#244e74);
  box-shadow: 0 22px 42px -24px #172f6a96,0 5px 12px -5px #1739514d,inset 0 1px 0 #ffffff24;
  transition: box-shadow 220ms var(--hub-ease),border-color 220ms ease; }
.articles-hub .hub-feature::before { content: ''; pointer-events: none; position: absolute; z-index: -1; width: 240px; height: 240px; border: 1px solid #bed5ff36; border-radius: 50%; top: -120px; right: -75px; box-shadow: 0 0 0 24px #c7b8ff09,0 0 0 48px #c7b8ff08,0 0 0 72px #c7b8ff06; }
.articles-hub .hub-feature-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 24px; }
.articles-hub .hub-feature .hub-eyebrow { color: #c6ddec; font-size: .64rem; }
.articles-hub .hub-feature-code { display: inline-grid; place-items: center; width: 40px; height: 40px; color: #e3d9ff; border: 1px solid #d7d8ff57; border-radius: 12px; background: linear-gradient(145deg,#dcd3ff26,#d0e8ff0a); box-shadow: inset 0 1px 0 #ffffff1c,0 4px 10px #10233824; }
.articles-hub .hub-feature-topic { display: inline-flex; align-items: center; font-size: .74rem; color: #ffe3a2; margin-bottom: 10px; padding: 3px 9px; border: 1px solid #ffd98540; border-radius: 6px; background: #ffda8310; font-weight: 600; }
.articles-hub .hub-feature h2 { font-size: clamp(1.2rem,1.8vw,1.55rem); line-height: 1.35; letter-spacing: -.035em; margin: 0 0 12px; }
.articles-hub .hub-feature h2 a { color: #fff; }
.articles-hub .hub-feature-dek { font-size: .88rem; color: #d1e1ee; }
.articles-hub .hub-feature-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 22px; padding-top: 13px; border-top: 1px solid #b4c5ea38; font-size: .75rem; color: #d1e1ee; }
.articles-hub .hub-feature a.hub-feature-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #ffe3a2; font-weight: 600; }
.articles-hub .hub-feature a:focus-visible, .articles-hub .hub-next-step a:focus-visible { outline-color: #ffdb83; box-shadow: none; }
.articles-hub .hub-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 0 20px; }
.articles-hub .hub-section-heading h2 { margin-top: 6px; font-size: 1.55rem; line-height: 1.3; letter-spacing: -.04em; }
.articles-hub .hub-section-heading > p { max-width: 260px; font-size: .86rem; }
.articles-hub .hub-text-link { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: .8rem; font-weight: 600; }
.articles-hub .hub-search-panel { position: relative; isolation: isolate; padding: 24px; border: 1px solid #ccdced; border-radius: 18px;
  background: linear-gradient(120deg,#f1f8ff 0%,#f7faff 48%,#f6f3ff 100%);
  box-shadow: 0 14px 30px -24px #1d436b70,inset 0 1px 0 #fff;
  transition: border-color 200ms ease,box-shadow 200ms ease; }
.articles-hub form.hub-search { display: block; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.articles-hub .hub-search-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 12px; }
.articles-hub .hub-search label, .articles-hub [data-hub-copy-fallback] label { display: flex; align-items: center; gap: 6px; color: #263f57; font-size: .79rem; font-weight: 600; margin-bottom: 7px; }
.articles-hub .hub-input-wrap { position: relative; }
.articles-hub .hub-input-wrap svg { position: absolute; left: 15px; top: 17px; width: 18px; height: 18px; color: #5a7393; pointer-events: none; transition: color 180ms ease; }
.articles-hub .hub-search input, .articles-hub .hub-search select, .articles-hub textarea { width: 100%; min-width: 0; max-width: 100%; margin: 0; min-height: 48px; border: 1px solid #8399b3; border-radius: 10px; background: #fff; color: var(--hub-ink); font-size: 16px; line-height: 1.45; padding: 11px 12px; box-shadow: inset 0 1px 2px #142e4806,0 1px 2px #142e4804; transition: border-color 160ms ease,box-shadow 160ms ease; }
.articles-hub .hub-search input { padding-left: 44px; height: 52px; -webkit-appearance: none; appearance: none; }
.articles-hub .hub-search input::placeholder { color: #61758a; opacity: 1; }
.articles-hub .hub-search select { text-overflow: ellipsis; padding-right: 24px; }
.articles-hub .hub-filter-disclosure { margin-top: 12px; }
.articles-hub .hub-filter-disclosure summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; color: #365770; font-size: .79rem; cursor: pointer; list-style: none; }
.articles-hub .hub-filter-disclosure summary:hover { color: #075da8; }
.articles-hub .hub-filter-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 8px; }
.articles-hub .hub-filter-row > div { min-width: 0; }
.articles-hub .hub-button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 48px; margin: 0; padding: 12px 21px; border: 1px solid transparent; border-radius: 10px; font-size: .91rem; font-weight: 600; line-height: 1.45; text-align: center; text-decoration: none; cursor: pointer; transition: transform 180ms var(--hub-ease),box-shadow 180ms ease,border-color 180ms ease,background-color 180ms ease; }
.articles-hub .hub-button--primary { color: #fff; background: linear-gradient(120deg,#126ab2,#3458b0); border-color: #195698; box-shadow: 0 5px 12px -6px #2353a4a6,inset 0 1px 0 #ffffff33; }
.articles-hub .hub-search-row .hub-button { min-height: 52px; }
.articles-hub .hub-button--primary:hover:not(:disabled) { color: #fff; background: linear-gradient(120deg,#095b9d,#2c4798); text-decoration: none; box-shadow: 0 7px 15px -7px #204c9dad,inset 0 1px 0 #ffffff26; }
.articles-hub .hub-button--secondary { color: #2e4e72; background: linear-gradient(160deg,#fff,#f7f9fe); border-color: #92a6bd; box-shadow: 0 2px 4px #243c5708,inset 0 1px 0 #fff; }
.articles-hub .hub-button--secondary:hover:not(:disabled) { color: var(--hub-blue); background: #eaf3fc; }
.articles-hub .hub-button--gold { background: linear-gradient(120deg,#ffe5a8,#ffd16a); color: #142b42; border-color: #ffe5aa; box-shadow: 0 6px 18px -10px #0a1528b3,inset 0 1px 0 #fff6; }
.articles-hub .hub-button--gold:hover { color: #142b42; background: linear-gradient(120deg,#fff0c6,#ffdd88); text-decoration: none; }
.articles-hub .hub-search-help { margin-top: 13px; font-size: .76rem; color: #526479; }
.articles-hub .hub-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 15px; margin-top: 15px; border-top: 1px solid var(--hub-line); font-size: .8rem; }
.articles-hub .hub-active-filters a { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 6px 12px; border: 1px solid #a8c2de; border-radius: 9px; color: #184b7d; background: linear-gradient(135deg,#fff,#eef5ff); overflow-wrap: anywhere; max-width: 100%; box-shadow: 0 2px 4px #143e6508; }
.articles-hub .hub-active-filters a.hub-reset { border-color: transparent; background: transparent; text-decoration: underline; }
.articles-hub .hub-results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin: 24px 0 17px; }
.articles-hub .hub-results-bar p { font-size: .85rem; }
.articles-hub .hub-results-bar strong { color: var(--hub-ink); }
.articles-hub .hub-view { display: inline-flex; gap: 3px; border: 1px solid #b8c8dc; background: #edf2f9; border-radius: 12px; padding: 3px; box-shadow: inset 0 1px 3px #21426408; }
.articles-hub .hub-view button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 68px; min-height: 44px; padding: 6px 12px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: #40546a; font-size: .8rem; transition: background-color 180ms ease,color 180ms ease,box-shadow 180ms ease; }
.articles-hub .hub-view button[aria-pressed="true"] { color: #164f91; background: #fff; border-color: #adbfda; box-shadow: 0 2px 5px #263f6014,inset 0 1px 0 #fff; }
.articles-hub .hub-view button:hover { color: #075da8; background: #e6f1fc; }
.articles-hub .hub-sort-note { font-size: .8rem; margin: 10px 0 16px; }
.articles-hub .hub-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.articles-hub :is(.hub-card,.hub-topic-shelf) { --topic-accent: #2166a8; --topic-soft: #ecf4ff; --topic-edge: #bdd4ef; }
.articles-hub [data-topic="ai-search"] { --topic-accent: #6850a0; --topic-soft: #f3effc; --topic-edge: #d4c6ef; }
.articles-hub [data-topic="performance"] { --topic-accent: #137365; --topic-soft: #eaf7f2; --topic-edge: #aad9ca; }
.articles-hub [data-topic="content-quality"] { --topic-accent: #8f541d; --topic-soft: #fff5e6; --topic-edge: #e9cba8; }
.articles-hub [data-topic="user-experience"] { --topic-accent: #955173; --topic-soft: #fcf0f6; --topic-edge: #e4bfd2; }
.articles-hub [data-topic="security-accessibility"] { --topic-accent: #3d657d; --topic-soft: #edf6f9; --topic-edge: #bdd6e3; }
.articles-hub .hub-card { display: flex; flex-direction: column; min-width: 0; position: relative; padding: 22px;
  background: linear-gradient(155deg,var(--topic-soft),#fff 49%); border: 1px solid var(--topic-edge); border-top: 3px solid var(--topic-accent); border-radius: 16px;
  box-shadow: 0 6px 18px -14px #1736535e,inset 0 1px 0 #fff;
  transition: transform 200ms var(--hub-ease),border-color 200ms ease,box-shadow 200ms ease; }
.articles-hub .hub-card:hover, .articles-hub .hub-card:focus-within { border-color: var(--topic-accent); box-shadow: 0 13px 26px -17px #1736535e,inset 0 1px 0 #fff; }
.articles-hub .hub-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 13px; }
.articles-hub a.hub-topic-label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 8px; border: 1px solid var(--topic-edge); border-radius: 8px; font-size: .7rem; line-height: 1.4; font-weight: 600; color: var(--topic-accent); background: var(--topic-soft); max-width: 100%; }
.articles-hub .hub-topic-dot { display: none; }
.articles-hub .hub-new { font-size: .63rem; font-weight: 700; margin-top: 7px; padding: 3px 7px; border: 1px solid #b6dcc9; border-radius: 6px; background: linear-gradient(120deg,#effbf4,#e5f5ed); color: #246244; line-height: 1.6; white-space: nowrap; }
.articles-hub .hub-card h3 { margin: 0 0 10px; font-size: 1.07rem; font-weight: 700; line-height: 1.5; letter-spacing: -.024em; overflow-wrap: anywhere; }
.articles-hub .hub-card h3 a { color: var(--hub-ink); }
.articles-hub .hub-card h3 a:hover { color: var(--hub-blue); }
.articles-hub .hub-card-dek { font-size: .85rem; line-height: 1.7; margin: 0 0 17px; overflow-wrap: anywhere; }
.articles-hub .hub-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: auto; padding-top: 8px; font-size: .72rem; color: #526479; }
.articles-hub .hub-meta time { white-space: normal; }
.articles-hub .hub-card-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px 12px; padding-top: 12px; margin-top: 14px; border-top: 1px solid #e4eaf0; }
.articles-hub .hub-read-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: .8rem; font-weight: 600; }
.articles-hub .hub-save { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 82px; min-height: 44px; padding: 5px 10px; color: #405773; background: linear-gradient(145deg,#fff,#f8faff); border: 1px solid #a3b4c8; border-radius: 9px; font-size: .76rem; cursor: pointer; box-shadow: 0 2px 3px #213f5705; transition: color 180ms ease,border-color 180ms ease,background-color 180ms ease,box-shadow 180ms ease,transform 180ms var(--hub-ease); }
.articles-hub .hub-save:hover:not(:disabled) { color: #064579; background: #eaf4fd; }
.articles-hub .hub-save[aria-pressed="true"] { color: #225d99; background: #e9f3ff; border-color: #78a2ce; box-shadow: inset 0 1px 0 #fff,0 2px 5px #16497a12; }
.articles-hub .hub-save[aria-pressed="true"] svg { fill: none; }
.articles-hub .hub-feature-time { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: #d1e1ee; }
.articles-hub .hub-feature .hub-save { color: #f1f7fc; background: linear-gradient(135deg,#b8d6ff17,#dfd4ff13); border-color: #9cb9d080; box-shadow: inset 0 1px 0 #ffffff12; }
.articles-hub .hub-feature .hub-save:hover:not(:disabled), .articles-hub .hub-feature .hub-save[aria-pressed="true"] { color: #234571; background: #e3eff9; border-color: #e3eff9; }
.articles-hub[data-view="list"] .hub-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
.articles-hub[data-view="list"] .hub-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(145px,190px); gap: 0 28px; border-top: 1px solid var(--hub-line); border-left: 4px solid var(--topic-accent); }
.articles-hub[data-view="list"] .hub-card-top, .articles-hub[data-view="list"] .hub-card h3, .articles-hub[data-view="list"] .hub-card-dek { grid-column: 1; }
.articles-hub[data-view="list"] .hub-card-top { justify-content: flex-start; margin-bottom: 4px; }
.articles-hub[data-view="list"] .hub-card-dek { margin-bottom: 0; }
.articles-hub[data-view="list"] .hub-meta { grid-column: 2; grid-row: 1 / 3; align-content: center; margin-top: 0; flex-direction: column; gap: 8px; }
.articles-hub[data-view="list"] .hub-card-bottom { grid-column: 2; grid-row: 3; padding-top: 0; margin-top: 6px; border: 0; }
.articles-hub .hub-empty { padding: 42px 24px; text-align: center; border: 1px dashed #95afc4; border-radius: 16px; background: linear-gradient(130deg,#eff6ff,#faf8ff); box-shadow: inset 0 1px 0 #fff; }
.articles-hub .hub-empty-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid #b6cce3; border-radius: 14px; margin-bottom: 15px; color: #3266a0; background: linear-gradient(145deg,#fff,#e7effd); box-shadow: 0 5px 12px -7px #36527660; }
.articles-hub .hub-empty h3 { text-align: center; font-size: 1.3rem; margin-bottom: 10px; }
.articles-hub .hub-empty p { max-width: 510px; margin: 0 auto 20px; }
.articles-hub .hub-pagination { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 23px; margin-top: 25px; border-top: 1px solid var(--hub-line); font-size: .82rem; }
.articles-hub .hub-page-numbers { display: flex; align-items: center; gap: 6px; }
.articles-hub .hub-page-numbers :is(a,span) { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 44px; padding: 6px; border-radius: 8px; }
.articles-hub .hub-page-numbers a { border: 1px solid #cedae4; color: var(--hub-ink); }
.articles-hub .hub-page-numbers a:hover { background: #eaf3fc; text-decoration: none; }
.articles-hub .hub-page-numbers .hub-page-current { background: linear-gradient(140deg,#234467,#173352); color: #fff; font-weight: 600; box-shadow: 0 4px 8px -4px #17324f59,inset 0 1px 0 #ffffff26; }
.articles-hub .hub-page-numbers .hub-page-gap { min-width: 15px; color: #526479; }
.articles-hub .hub-page-direction { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 0; font-weight: 600; }
.articles-hub .hub-page-disabled { color: #687b8c; }
.articles-hub .hub-page-mobile { display: none; color: #405770; }
.articles-hub .hub-paths-section, .articles-hub .hub-topics-section { padding-top: 48px; margin-top: 44px; border-top: 1px solid var(--hub-line); }
.articles-hub .hub-paths { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: start; }
.articles-hub .hub-path { min-width: 0; border-radius: 16px; border: 1px solid var(--topic-edge); background: linear-gradient(145deg,var(--topic-soft),#fff); box-shadow: 0 6px 16px -14px #203b5660,inset 0 1px 0 #fff; transition: border-color 200ms ease,box-shadow 200ms ease; }
.articles-hub .hub-path summary { display: grid; gap: 13px; min-height: 205px; padding: 23px; list-style: none; cursor: pointer; }
.articles-hub .hub-path summary::-webkit-details-marker { display: none; }
.articles-hub .hub-path summary::marker { content: ''; }
.articles-hub .hub-path summary:hover { background: #ffffff40; border-radius: 16px; }
.articles-hub .hub-path-number { display: flex; align-items: center; justify-content: space-between; gap: 9px; color: var(--topic-accent); font: 500 .95rem/1 monospace; letter-spacing: .03em; }
.articles-hub .hub-path-title { font: 700 .98rem/1.55 'Montserrat',system-ui,sans-serif; color: var(--hub-ink); }
.articles-hub .hub-path-count { font-size: .73rem; color: #526479; }
.articles-hub .hub-path-count > span { display: inline-flex; align-items: center; justify-content: center; float: right; width: 26px; height: 26px; margin-top: -3px; color: var(--topic-accent); border: 1px solid var(--topic-edge); border-radius: 8px; background: #ffffffb3; }
.articles-hub .hub-path[open] { background: linear-gradient(160deg,var(--topic-soft),#fff 65%); border-color: var(--topic-accent); box-shadow: 0 10px 22px -18px #203b5670,inset 0 1px 0 #fff; }
.articles-hub .hub-path-body { padding: 0 23px 22px; }
.articles-hub .hub-path-body > p { font-size: .84rem; padding-bottom: 17px; }
.articles-hub .hub-path-body ol { margin: 0; padding: 0 0 0 20px; list-style: decimal outside; }
.articles-hub .hub-path-body li { padding: 12px 0; border-top: 1px solid var(--hub-line); font-size: .83rem; line-height: 1.6; }
.articles-hub .hub-path-body li a { display: inline-block; text-decoration: underline; }
.articles-hub .hub-path-body li > span { display: block; font-size: .72rem; color: #526479; }
.articles-hub .hub-topic-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.articles-hub .hub-topic-index a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 11px; border: 1px solid var(--topic-edge); border-radius: 10px; font-size: .76rem; color: var(--topic-accent); background: linear-gradient(140deg,#fff,var(--topic-soft)); box-shadow: 0 2px 4px #20334b06; transition: box-shadow 180ms ease,border-color 180ms ease; }
.articles-hub .hub-topic-index a:hover { background: var(--topic-soft); border-color: var(--topic-accent); }
.articles-hub .hub-topic-index a > span { color: var(--topic-accent); font-size: .69rem; font-variant-numeric: tabular-nums; padding: 0 5px; border: 1px solid var(--topic-edge); border-radius: 5px; background: #ffffff94; }
.articles-hub .hub-topic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.articles-hub .hub-topic-shelf { min-width: 0; padding: 26px; border: 1px solid var(--topic-edge); border-radius: 17px; background: linear-gradient(150deg,var(--topic-soft),#fff 55%); box-shadow: 0 6px 18px -17px #1d384b63,inset 0 1px 0 #fff; transition: border-color 200ms ease,box-shadow 200ms ease; }
.articles-hub .hub-shelf-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.articles-hub .hub-shelf-heading h3 { font-size: 1.18rem; margin-top: 4px; }
.articles-hub .hub-shelf-heading h3 a { color: var(--hub-ink); }
.articles-hub .hub-shelf-code { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border: 1px solid var(--topic-edge); border-radius: 13px; background: linear-gradient(145deg,#fff,var(--topic-soft)); color: var(--topic-accent); box-shadow: 0 4px 9px -6px var(--topic-accent),inset 0 1px 0 #fff; }
.articles-hub .hub-shelf-description { font-size: .84rem; margin: 13px 0 17px; }
.articles-hub .hub-shelf-links { margin: 0 0 14px; padding: 0; list-style: none; }
.articles-hub .hub-shelf-links li { margin: 0; border-top: 1px solid #e4eaf0; }
.articles-hub .hub-shelf-links a { display: flex; justify-content: space-between; align-items: flex-start; gap: 17px; padding: 13px 6px; min-height: 44px; color: #203e58; font-size: .82rem; font-weight: 500; line-height: 1.65; border-radius: 6px; transition: color 180ms ease,background-color 180ms ease; }
.articles-hub .hub-shelf-links a > span:first-child { overflow-wrap: anywhere; }
.articles-hub .hub-shelf-links a > span:last-child { flex: 1 1 auto; }
.articles-hub .hub-next-step { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 40px; align-items: center; margin-top: 48px; padding: 35px; background: radial-gradient(ellipse at 100% 15%,#5b509645,transparent 60%),linear-gradient(125deg,#122f4c,#1e4362); border: 1px solid #436082; border-radius: 20px; box-shadow: 0 14px 30px -23px #1737508c,inset 0 1px 0 #ffffff1a; }
.articles-hub .hub-next-step .hub-eyebrow { color: #cfdfed; }
.articles-hub .hub-next-step h2 { font-size: 1.55rem; line-height: 1.4; color: #fff; margin: 7px 0 13px; letter-spacing: -.03em; }
.articles-hub .hub-next-step p { color: #d1e1ee; font-size: .88rem; }
.articles-hub .hub-next-links { display: flex; flex-wrap: wrap; gap: 5px 20px; margin-top: 10px; }
.articles-hub .hub-next-links a, .articles-hub .hub-next-actions > a:not(.hub-button) { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #d8e9f7; text-decoration: underline; font-size: .78rem; }
.articles-hub .hub-next-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.articles-hub .hub-footer-note { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 27px; }
.articles-hub .hub-footer-note p { max-width: 580px; font-size: .74rem; }
.articles-hub .hub-footer-note a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: .75rem; text-decoration: underline; }
.articles-hub .hub-saved { border: 1px solid #c5cce7; border-radius: 14px; margin-top: 20px; background: linear-gradient(115deg,#f1f5ff,#f7f4fd); box-shadow: 0 3px 8px -7px #303f7360,inset 0 1px 0 #fff; transition: border-color 180ms ease,box-shadow 180ms ease; }
.articles-hub .hub-saved summary { display: grid; grid-template-columns: 32px auto auto minmax(0,1fr) 18px; align-items: center; gap: 10px; padding: 13px 18px; min-height: 62px; cursor: pointer; color: var(--hub-ink); font-weight: 600; font-size: .9rem; list-style: none; }
.articles-hub .hub-count-pill { display: inline-block; margin: 0; padding: 1px 7px; min-width: 24px; text-align: center; border-radius: 6px; background: #e3e7fa; color: #495a93; font-size: .74rem; font-variant-numeric: tabular-nums; }
.articles-hub .hub-summary-hint { margin-left: 6px; color: #58637c; font-weight: 400; font-size: .77rem; }
.articles-hub .hub-saved-body { padding: 10px 20px 20px; border-top: 1px solid #d4dcee; }
.articles-hub .hub-saved-body p { font-size: .8rem; margin: 0 0 12px; }
.articles-hub .hub-saved-list { list-style: decimal outside; padding-left: 23px; margin: 0 0 16px; }
.articles-hub .hub-saved-list li { font-size: .85rem; padding: 12px 0; border-top: 1px solid #dce6ee; }
.articles-hub .hub-saved-list li > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.articles-hub .hub-saved-list a { text-decoration: underline; overflow-wrap: anywhere; }
.articles-hub .hub-saved-list small { display: block; color: #526479; font-size: .73rem; }
.articles-hub .hub-saved-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.articles-hub .hub-quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; min-height: 44px; border-radius: 8px; background: transparent; color: #405770; border: 1px solid transparent; font-size: .78rem; transition: background-color 180ms ease,color 180ms ease; }
.articles-hub .hub-quiet-button:hover:not(:disabled) { color: #122c45; background: #e2edf6; }
.articles-hub button:disabled { color: #637689; background: #f0f4f7; border-color: #d6e0e8; box-shadow: none; cursor: not-allowed; transform: none; }
.articles-hub [data-hub-copy-fallback] { padding-top: 18px; }
.articles-hub textarea { min-height: 140px; resize: vertical; }
.articles-hub .hub-status:empty { display: none; }
.articles-hub .hub-status { background: linear-gradient(110deg,#edf5ff,#f4f1ff); border: 1px solid #ccdaf0; border-left: 3px solid #526fac; border-radius: 8px; color: #214d7a; padding: 10px 13px; margin-top: 13px; font-size: .82rem; overflow-wrap: anywhere; }

/* One decorative icon family. Visible text is always the action's label. */
.articles-hub .hub-icon { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; vertical-align: middle; pointer-events: none; }
.articles-hub .hub-icon .hub-bookmark-check { opacity: 0; }
.articles-hub .hub-jumps .hub-icon { width: 16px; height: 16px; color: #5d7395; }
.articles-hub .hub-jumps a:hover { background: #eaf1fb; color: #154d88; text-decoration: none; }
.articles-hub .hub-jumps a[href="#hub-saved"] { border: 1px solid #d2d9ec; background: #f4f5fd; padding-inline: 10px; }
.articles-hub .hub-facts > span:not(:last-child) { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 3px 9px; border: 1px solid #d5e2ef; border-radius: 8px; background: #ffffff9c; box-shadow: inset 0 1px 0 #fff; }
.articles-hub .hub-facts .hub-icon { width: 15px; height: 15px; color: #587396; }
.articles-hub .hub-feature-code .hub-icon { width: 22px; height: 22px; }
.articles-hub .hub-feature-time .hub-icon { width: 13px; height: 13px; }
.articles-hub .hub-feature:focus-within { border-color: #b0c5ed; box-shadow: 0 23px 44px -24px #172f6a96,inset 0 1px 0 #ffffff3b; }
.articles-hub .hub-search-panel::before { content: ''; pointer-events: none; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg,transparent,#5b9bdc 25%,#84bfc8 50%,#a59bd5 78%,transparent); }
.articles-hub .hub-search-panel:focus-within { border-color: #81a6d3; box-shadow: 0 14px 32px -23px #35558d63,inset 0 1px 0 #fff; }
.articles-hub .hub-input-wrap:focus-within .hub-icon { color: #1e62a5; }
.articles-hub .hub-search :is(input,select):focus-visible { outline: 2px solid #246ab8; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; border-color: #246ab8; }
.articles-hub .hub-search label .hub-icon { width: 14px; height: 14px; color: #597296; }
.articles-hub .hub-filter-disclosure summary::-webkit-details-marker, .articles-hub .hub-saved summary::-webkit-details-marker { display: none; }
.articles-hub .hub-filter-disclosure summary::marker, .articles-hub .hub-saved summary::marker { content: ''; }
.articles-hub .hub-filter-disclosure summary > span { min-width: 0; }
.articles-hub .hub-filter-disclosure summary > .hub-disclosure-chevron { margin-left: auto; }
.articles-hub .hub-disclosure-chevron { transition: transform 200ms var(--hub-ease); }
.articles-hub details[open] > summary .hub-disclosure-chevron { transform: rotate(180deg); }
.articles-hub .hub-active-filters .hub-icon { width: 14px; height: 14px; }
.articles-hub .hub-active-filters a:not(.hub-reset):hover { border-color: #5985b6; background: #e9f2ff; text-decoration: none; }
.articles-hub [data-topic="best-practices"] { --topic-accent: #2166a8; --topic-soft: #ecf4ff; --topic-edge: #bdd4ef; }
.articles-hub [data-topic="synergy-penalties"] { --topic-accent: #8c5b35; --topic-soft: #faf1e8; --topic-edge: #e2c9b2; }
.articles-hub .hub-topic-label .hub-icon { width: 16px; height: 16px; }
.articles-hub a.hub-topic-label:hover { border-color: var(--topic-accent); color: var(--topic-accent); }
.articles-hub .hub-meta-item { display: inline-flex; align-items: flex-start; gap: 5px; min-width: 0; }
.articles-hub .hub-meta-item .hub-icon { width: 14px; height: 14px; margin-top: 2px; color: #697d94; }
.articles-hub .hub-read-link .hub-arrow { width: 22px; height: 22px; padding: 3px; border-radius: 6px; background: #edf4fc; }
.articles-hub .hub-arrow, .articles-hub .hub-arrow-back { transition: transform 180ms var(--hub-ease); }
.articles-hub .hub-save .hub-bookmark-outline { fill: transparent; transition: fill 180ms ease; }
.articles-hub .hub-save .hub-bookmark-check { stroke: #fff; transition: opacity 180ms ease; }
.articles-hub .hub-save[aria-pressed="true"] .hub-bookmark-outline { fill: currentColor; }
.articles-hub .hub-save[aria-pressed="true"] .hub-bookmark-check { opacity: 1; }
.articles-hub .hub-save:hover:not(:disabled) { border-color: #638ab5; }
.articles-hub .hub-save:focus-visible { outline-offset: 3px; }
.articles-hub[data-view="list"] .hub-card { border-color: var(--topic-edge); border-left-color: var(--topic-accent); }
.articles-hub .hub-path-number > .hub-icon { width: 38px; height: 38px; padding: 8px; border: 1px solid var(--topic-edge); border-radius: 11px; background: linear-gradient(140deg,#fff,var(--topic-soft)); box-shadow: 0 3px 7px -5px var(--topic-accent); }
.articles-hub .hub-path-toggle .hub-icon { width: 14px; height: 14px; }
.articles-hub .hub-path:focus-within { border-color: var(--topic-accent); }
.articles-hub .hub-path-body li::marker { color: var(--topic-accent); font-weight: 600; }
.articles-hub .hub-path-body li a { padding-block: 4px; }
.articles-hub .hub-topic-index .hub-icon { width: 16px; height: 16px; }
.articles-hub .hub-shelf-code .hub-icon { width: 23px; height: 23px; }
.articles-hub .hub-shelf-links .hub-arrow { width: 15px; height: 15px; color: var(--topic-accent); margin-top: 3px; }
.articles-hub .hub-shelf-links a:hover { background: var(--topic-soft); color: var(--topic-accent); }
.articles-hub .hub-topic-shelf:target { border-color: var(--topic-accent); box-shadow: 0 0 0 3px var(--topic-soft),0 7px 18px -14px #203b5654; }
.articles-hub .hub-saved-emblem { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid #c3cbea; border-radius: 9px; color: #5c6497; background: linear-gradient(140deg,#fff,#e7e9fc); box-shadow: inset 0 1px 0 #fff; }
.articles-hub .hub-saved[open] { border-color: #919fc7; box-shadow: 0 6px 16px -13px #414d7f6b,inset 0 1px 0 #fff; }
.articles-hub .hub-saved summary:hover { color: #3d5487; }
.articles-hub .hub-summary-title { min-width: 0; }
.articles-hub .hub-saved-list li::marker { color: #536695; font-weight: 600; }
.articles-hub .hub-saved-actions .hub-icon { width: 16px; height: 16px; }
.articles-hub .hub-saved-actions .hub-button { font-size: .82rem; }
.articles-hub .hub-quiet-button[data-hub-remove] { border: 1px solid #b1bdd4; min-width: 70px; }
.articles-hub .hub-quiet-button[data-hub-remove]:hover { color: #853d55; border-color: #d5aebc; background: #fff1f5; }
.articles-hub [data-hub-clear]:hover:not(:disabled) { color: #853d55; background: #fff1f5; }
.articles-hub ::selection { background: #d9eaff; color: #142e48; }
/* Motion is finite and cosmetic; no content waits for a script or observer. */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .articles-hub h1 span { background: linear-gradient(110deg,#175da6 12%,#4b56a0 58%,#19726e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
@media (hover: hover) and (pointer: fine) {
  .articles-hub .hub-card:hover { transform: translateY(-2px); }
  .articles-hub .hub-button:hover:not(:disabled) { transform: translateY(-1px); }
  .articles-hub a:hover > .hub-arrow { transform: translateX(3px); }
  .articles-hub a:hover > .hub-arrow-back { transform: translateX(-3px); }
}
@media (prefers-reduced-motion: no-preference) {
  .articles-hub .hub-feature::before { animation: hub-finish-halo 900ms var(--hub-ease) 1; }
  .articles-hub .hub-search-panel::before { animation: hub-finish-edge 700ms var(--hub-ease) 1; }
  .articles-hub .hub-path[open] > .hub-path-body,
  .articles-hub .hub-saved[open] > .hub-saved-body { animation: hub-finish-detail 180ms ease-out 1; }
  .articles-hub :is(.hub-button,.hub-save):active:not(:disabled) { transform: translateY(1px); }
}
@keyframes hub-finish-halo { from { opacity: .5; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes hub-finish-edge { from { opacity: .45; transform: scaleX(.9); } to { opacity: 1; transform: scaleX(1); } }
@keyframes hub-finish-detail { from { opacity: .8; transform: translateY(2px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 850px) { .articles-hub .hub-hero--compact h1 { font-size: 2.3rem; } .articles-hub .hub-hero--compact h1 br { display: none; } }
@media (max-width: 1050px) { .articles-hub .hub-hero { gap: 28px; } .articles-hub .hub-card { padding: 18px; } .articles-hub .hub-next-step { gap: 28px; padding: 28px; } }
@media (max-width: 850px) {
  .docs-container.articles-hub { padding: 20px 22px 28px; }
  .articles-hub .hub-hero { grid-template-columns: 1fr 1fr; gap: 23px; padding: 32px 0; }
  .articles-hub .hub-hero--compact { grid-template-columns: minmax(0,1fr); }
  .articles-hub .hub-feature { padding: 22px; }
  .articles-hub .hub-feature h2 { font-size: 1.15rem; }
  .articles-hub .hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .articles-hub .hub-card { padding: 21px; }
  .articles-hub .hub-paths { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .articles-hub .hub-path summary { grid-template-columns: 40px minmax(0,1fr) auto; min-height: 100px; align-items: center; padding: 20px; }
  .articles-hub .hub-path-count { white-space: nowrap; }
  .articles-hub .hub-path-number { flex-direction: column; gap: 6px; font-size: .7rem; }
  .articles-hub .hub-path-count > span { float: none; padding: 0; margin-left: 8px; margin-top: 0; vertical-align: middle; }
  .articles-hub .hub-path-body { padding-left: 65px; }
  .articles-hub .hub-next-step { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .articles-hub .hub-footer-note { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 620px) {
  .docs-container.articles-hub { padding: 15px 16px 24px; }
  .articles-hub .hub-masthead { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 8px; }
  .articles-hub .hub-jumps { width: 100%; justify-content: space-between; gap: 8px; }
  .articles-hub .hub-breadcrumb ol { font-size: .73rem; }
  .articles-hub .hub-jumps a { font-size: .77rem; }
  .articles-hub .hub-hero { grid-template-columns: minmax(0,1fr); padding: 28px 0; gap: 22px; }
  .articles-hub .hub-hero-copy > .hub-eyebrow { margin-bottom: 12px; }
  .articles-hub h1 { font-size: clamp(1.95rem,7vw,2.55rem); margin-bottom: 14px; }
  .articles-hub .hub-lede { font-size: .94rem; }
  .articles-hub .hub-facts { margin-top: 16px; }
  .articles-hub .hub-facts span:last-child { display: none; }
  .articles-hub .hub-feature { padding: 19px 21px; border-radius: 13px; }
  .articles-hub .hub-feature-top { margin-bottom: 12px; }
  .articles-hub .hub-feature-code { padding: 5px; font-size: .7rem; }
  .articles-hub .hub-feature h2 { font-size: 1.08rem; }
  .articles-hub .hub-feature-dek, .articles-hub .hub-feature-topic { display: none; }
  .articles-hub .hub-feature h2 { margin-bottom: 0; }
  .articles-hub .hub-feature-top { margin-bottom: 7px; }
  .articles-hub .hub-feature-bottom { margin-top: 13px; padding-top: 8px; }
  .articles-hub .hub-section-heading { flex-direction: column; align-items: flex-start; gap: 5px; }
  .articles-hub .hub-section-heading h2 { font-size: 1.33rem; }
  .articles-hub .hub-section-heading > p { max-width: none; }
  .articles-hub .hub-search-panel { padding: 17px; border-radius: 12px; }
  .articles-hub .hub-search-row { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .articles-hub .hub-filter-row { grid-template-columns: minmax(0,1fr); gap: 13px; margin-top: 15px; }
  .articles-hub .hub-search input, .articles-hub .hub-search select { font-size: 16px; }
  .articles-hub .hub-search input::placeholder { font-size: .87rem; }
  .articles-hub .hub-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .articles-hub .hub-card { padding: 20px; }
  .articles-hub .hub-card h3 { font-size: 1.07rem; }
  .articles-hub .hub-meta { font-size: .74rem; }
  .articles-hub .hub-card-dek { font-size: .89rem; }
  .articles-hub .hub-save { font-size: .8rem; }
  .articles-hub .hub-results-bar p > span { display: block; }
  .articles-hub .hub-pagination { font-size: .8rem; gap: 10px; }
  .articles-hub .hub-page-numbers { display: none; }
  .articles-hub .hub-page-mobile { display: inline; }
  .articles-hub .hub-page-direction { padding: 5px 2px; }
  .articles-hub .hub-paths-section, .articles-hub .hub-topics-section { margin-top: 32px; padding-top: 30px; }
  .articles-hub .hub-path summary { grid-template-columns: 38px minmax(0,1fr); gap: 5px 12px; padding: 19px; }
  .articles-hub .hub-path-number { grid-row: 1 / 3; }
  .articles-hub .hub-path-title { font-size: .92rem; }
  .articles-hub .hub-path-count { grid-column: 2; white-space: normal; }
  .articles-hub .hub-path-count > span { float: right; }
  .articles-hub .hub-path-body { padding: 0 20px 20px; }
  .articles-hub .hub-topic-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .articles-hub .hub-topic-shelf { padding: 21px; }
  .articles-hub .hub-shelf-links a { font-size: .86rem; }
  .articles-hub .hub-next-step { margin-top: 32px; padding: 24px; }
  .articles-hub .hub-next-step h2 { font-size: 1.32rem; }
  .articles-hub .hub-saved summary { grid-template-columns: 30px minmax(0,1fr) auto 18px; gap: 8px; padding: 13px 15px; }
  .articles-hub .hub-summary-hint { grid-column: 2 / 5; grid-row: 2; display: block; margin: 0; line-height: 1.5; }
  .articles-hub .hub-saved summary > .hub-disclosure-chevron { grid-column: 4; grid-row: 1; }
  .articles-hub .hub-saved-emblem { width: 30px; height: 30px; }
  .articles-hub .hub-jumps a { padding-inline: 4px; gap: 5px; }
  .articles-hub .hub-jumps a[href="#hub-saved"] { padding-inline: 7px; }
  .articles-hub .hub-feature-code { width: 30px; height: 30px; border-radius: 9px; }
  .articles-hub .hub-feature-code .hub-icon { width: 18px; height: 18px; }
  .articles-hub .hub-feature .hub-save { min-width: 82px; }
  .articles-hub .hub-view button { min-width: 59px; padding-inline: 8px; }
  .articles-hub .hub-view .hub-icon { width: 16px; height: 16px; }
  .articles-hub .hub-saved-list li > div { flex-wrap: wrap; gap: 5px; }
  .articles-hub .hub-saved-actions .hub-button { width: 100%; }
  .articles-hub[data-view="list"] .hub-card { display: flex; }
  .articles-hub[data-view="list"] .hub-card-dek { display: none; }
  .articles-hub[data-view="list"] .hub-meta { flex-direction: row; padding-top: 5px; }
  .articles-hub[data-view="list"] .hub-card-bottom { padding-top: 8px; margin-top: 9px; border-top: 1px solid #e4eaf0; }
}
@media (max-width: 380px) {
  .articles-hub .hub-jumps .hub-icon { display: none; }
  .articles-hub .hub-feature-bottom { gap: 6px; }
  .articles-hub .hub-feature-link { font-size: .73rem; }
  .articles-hub .hub-path-count { font-size: .71rem; }
}
@media (prefers-reduced-motion: reduce) { .articles-hub *, .articles-hub *::before, .articles-hub *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: reduce) {
  .articles-hub :is(.hub-card,.hub-button,.hub-save,.hub-arrow,.hub-arrow-back) { transform: none !important; }
}
@media (forced-colors: active) { .articles-hub :is(.hub-card,.hub-feature,.hub-topic-shelf,.hub-path,.hub-button,.hub-save,.hub-search-panel) { border: 1px solid CanvasText; } .articles-hub .hub-page-current { border: 2px solid CanvasText; } }
@media print {
  .docs-container.articles-hub { max-width: none; padding: 0; }
  .articles-hub :is(.hub-search-panel,.hub-view,.hub-save,.hub-jumps,.hub-pagination,.hub-saved-actions,.hub-next-step,[data-hub-copy-fallback]) { display: none !important; }
  .articles-hub .hub-grid, .articles-hub .hub-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .articles-hub :is(.hub-card,.hub-feature,.hub-topic-shelf,.hub-path) { break-inside: avoid; box-shadow: none; background: #fff; }
  .articles-hub .hub-feature :is(p,h2,a,span) { color: #111; }
  .articles-hub .hub-saved-list a::after { content: ' (' attr(href) ')'; font-size: .7rem; }
}
@media (forced-colors: active) {
  .docs-container.articles-hub, .articles-hub :is(.hub-feature,.hub-next-step,.hub-search-panel,.hub-card,.hub-path,.hub-saved,.hub-topic-shelf,.hub-button,.hub-save) { background: Canvas; box-shadow: none; }
  .articles-hub h1 span { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
  .articles-hub .hub-feature::before, .articles-hub .hub-search-panel::before { display: none; }
  .articles-hub :is(.hub-feature,.hub-next-step) :is(h2,p,span) { color: CanvasText; }
  .articles-hub :is(.hub-feature,.hub-next-step) a { color: LinkText; }
  .articles-hub .hub-view button[aria-pressed="true"], .articles-hub .hub-save[aria-pressed="true"] { border: 2px solid Highlight; }
  .articles-hub .hub-page-current { background: Highlight; color: HighlightText; }
  .articles-hub .hub-save[aria-pressed="true"] .hub-bookmark-check { stroke: Canvas; }
}
@media print {
  .docs-container.articles-hub { background: #fff; }
  .articles-hub h1 span { background: none; color: #142e48; -webkit-text-fill-color: #142e48; }
  .articles-hub .hub-feature::before, .articles-hub .hub-search-panel::before { display: none; }
  .articles-hub *, .articles-hub *::before, .articles-hub *::after { animation: none !important; transition: none !important; }
}
/* SCANMYSEO_ARTICLES_HUB_V1:END */
