/*
Theme Name: Stat Study Hub Pro
Theme URI: https://statstudyhub.com
Author: Dominic Tanui
Author URI: https://statstudyhub.com
Description: Fast, learning-first Stat Study Hub theme with local assets, accessible navigation, calculator custom post type, category archives, flat calculator URLs, focused schema, responsive layouts, and no advertising framework.
Version: 2.3.0
License: GPLv2 or later
Text Domain: statstudyhub-pro
*/

/* --------------------------------------------------------------------------
   Global layout helpers
-------------------------------------------------------------------------- */

/* Sticky footer layout helpers */
html, body { height: 100%; }
#page { min-height: 100dvh; display: flex; flex-direction: column; }
#content { flex: 1 0 auto; }             /* grow to push footer down */
footer { flex-shrink: 0; }               /* never shrink the footer */

/* tame extra top/bottom gaps in footer section */
footer .ssh-footer-wrap { padding-top: 1.25rem; padding-bottom: 1.25rem; }
@media (min-width: 768px){
  footer .ssh-footer-wrap { padding-top: 1.75rem; padding-bottom: 1.75rem; }
}

/* ------------------------------
   Article/page body typography
   (formats all editor HTML nicely)
   ------------------------------ */

.entry-content,
.entry-content *{
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.entry-content{
  color: #0f172a; /* slate-900 */
  line-height: 1.75;
  font-size: 17px;
}

@media (min-width: 768px){
  .entry-content{ font-size: 18px; line-height: 1.8; }
}

/* Headings scale (bold + spacing) */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #1a1a1a; /* softer than black */
  font-weight: 700;
  line-height: 1.2; /* comfortable reading */
  margin-top: 0.3em; /* minimal space above */
  margin-bottom: 0.5em; /* moderate space below */
}

/* Heading sizes (subtle and visually distinct) */
.entry-content h1 { font-size: clamp(2rem, 2.2rem + 1vw, 2.5rem); }
.entry-content h2 { font-size: clamp(1.75rem, 1.9rem + 0.6vw, 2rem); }
.entry-content h3 { font-size: clamp(1.4rem, 1.5rem + 0.4vw, 1.6rem); }
.entry-content h4 { font-size: 1.2rem; }
.entry-content h5 { font-size: 1.1rem; }
.entry-content h6 { font-size: 1rem; }

/* Paragraphs & inline */
.entry-content p{ margin: 1rem 0; font-weight: 400; } /* slightly bolder, “bit bold” */
.entry-content strong{ font-weight: 700; }
.entry-content em{ font-style: italic; }
.entry-content a{ color:#1d4ed8; text-decoration: none; }
.entry-content a:hover{ text-decoration: underline; }

/* Lists */
.entry-content ul,
.entry-content ol{ margin: 1rem 0 1rem 1.25rem; }
.entry-content ul{ list-style: disc; }
.entry-content ol{ list-style: decimal; }
.entry-content li{ margin: .35rem 0; }
.entry-content li > ul,
.entry-content li > ol{ margin-top:.35rem; }

/* Blockquote */
.entry-content blockquote {
  margin: 1.2rem 0;           /* slightly tighter spacing */
  padding: 1rem 1.2rem;       /* comfortable padding */
  background: #f8fafc;        /* light background */
  border-left: 4px solid #cbd5e1; /* subtle left border */
  color: #334155;             /* soft dark text */
  font-style: italic;         /* classic quote style */
  border-radius: 4px;         /* subtle rounding for modern feel */
}

/* Ensure links inside blockquote are styled */
.entry-content blockquote a {
  color: #1d4ed8;            /* link color */
  text-decoration: underline; /* make it stand out */
}


/* Code */
.entry-content code{
  font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  background:#f1f5f9;
  padding:.15rem .35rem;
  border-radius:.375rem;
  font-size: .95em;
}
.entry-content pre{
  overflow:auto;
  background:#0b1220;
  color:#e2e8f0;
  padding:1rem 1.25rem;
  border-radius:.75rem;
  margin:1.25rem 0;
}
.entry-content pre code{ background:transparent; padding:0; color:inherit; }

/* Tables */
.entry-content table{
  width:100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: .95em;
}
.entry-content th,
.entry-content td{
  border:1px solid #e2e8f0;
  padding:.6rem .75rem;
  vertical-align: top;
}
.entry-content th{
  background:#f8fafc;
  font-weight:800;
  text-align:left;
}

/* Images / figures */
.entry-content img{ max-width:100%; height:auto; border-radius:.75rem; }
.entry-content figure{ margin:1.25rem 0; }
.entry-content figcaption{
  text-align:center;
  color:#64748b;
  font-size:.875rem;
  margin-top:.5rem;
}

/* HR */
.entry-content hr{
  border:0;
  border-top:1px solid #e2e8f0;
  margin:2rem 0;
}

/* Misc */
.entry-content kbd{
  background:#111827;
  color:#fff;
  padding:.15rem .35rem;
  border-radius:.25rem;
  font-size:.85em;
}
.entry-content sup, .entry-content sub{ font-size:.8em; }
/* ======================  TOC minor cosmetics  =========================== */
.ssh-toc .ssh-toc-chip{ transition: background-color .25s ease; }
.ssh-toc a.is-active{
  background: #fff1f2;              /* rose-50 */
  color: #be123c;                    /* rose-700 */
}
.ssh-toc a.is-active .ssh-toc-chip{
  background: #e11d48 !important;   /* rose-600 */
}


mjx-container {
    display: inline-block !important;
    vertical-align: middle;
    max-width: 100%;
    overflow: visible !important;
    white-space: normal !important;
    line-height: 1.4;
}

mjx-container[display="true"] {
    display: block !important;
    text-align: left !important;
    margin: 0.5em 0;
}

mjx-container, mjx-container * {
    user-select: text !important;
    pointer-events: auto !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
}

mjx-container::selection,
mjx-container *::selection {
    background: rgba(180, 213, 255, 0.35);
}


/* Universal calculator styling */
.statstudy-calculator{
  background:#f2f8ff;
  border:1px solid #cfe5ff;
  border-radius:10px;
}

/* calculator headings */
.statstudy-calculator h2{
  color:#037ef3;
}

/* result box */
.statstudy-calculator .alert-success{
  background:#e8f3ff;
  border-color:#cfe5ff;
  color:#0a3d7a;
}

/* primary buttons */
.statstudy-calculator .btn-primary{
  background:#037ef3;
  border-color:#037ef3;
}

.statstudy-calculator .btn-primary:hover{
  background:#0267cc;
  border-color:#0267cc;
}

/* step explanation card */
.statstudy-calculator .card{
  border:1px solid #e2ecff;
}

/* Keep mobile toggler fixed neatly on the right */

/* Custom hamburger / X icon */

/* Expanded state = X */

.ssh-homepage {
  --ssh-primary: #037ef3;
  --ssh-primary-dark: #0264c8;
  --ssh-soft: #eef6ff;
  --ssh-text: #1f2937;
  --ssh-muted: #6b7280;
  --ssh-border: #e5e7eb;
}

.ssh-home-hero {
  background:#f4f8fc;
}

.ssh-eyebrow {
  color: var(--ssh-primary);
  background: #ffffff;
  border: 1px solid rgba(3, 126, 243, 0.2);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.ssh-hero-content p:last-child {
  margin-bottom: 0;
}

.ssh-homepage .btn-primary {
  background-color: var(--ssh-primary);
  border-color: var(--ssh-primary);
}

.ssh-homepage .btn-primary:hover {
  background-color: var(--ssh-primary-dark);
  border-color: var(--ssh-primary-dark);
}

.ssh-homepage .btn-outline-primary {
  color: var(--ssh-primary);
  border-color: var(--ssh-primary);
}

.ssh-homepage .btn-outline-primary:hover {
  background-color: var(--ssh-primary);
  border-color: var(--ssh-primary);
  color: #ffffff;
}

.ssh-home-card,
.ssh-mini-card,
.ssh-feature-card,
.ssh-topic-box,
.ssh-cta-box {
  background: #ffffff;
  border: 1px solid var(--ssh-border);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.ssh-home-card {
  padding: 1.5rem;
  color: var(--ssh-text);
  transition: all 0.2s ease;
}
.ssh-article-thumb img {
  height: 160px;
  object-fit: cover;
}

.ssh-home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(3, 126, 243, 0.35);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.ssh-mini-card {
  padding: 1.1rem;
  color: var(--ssh-text);
  transition: all 0.2s ease;
}

.ssh-mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 126, 243, 0.35);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.ssh-topic-box {
  padding: 1.5rem;
}

.ssh-topic-item {
  background: var(--ssh-soft);
  color: var(--ssh-text);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-weight: 600;
  border: 1px solid rgba(3, 126, 243, 0.12);
}

.ssh-feature-card {
  padding: 1.4rem;
}

.ssh-cta-box {
  padding: 2.5rem 1.5rem;
  background:#f4f8fc;
}

/* Mini calculator cards */
.ssh-calculator-mini-card {
  position: relative;
}

/* Recent article cards */
.ssh-article-card {
  background: #ffffff;
  border: 1px solid var(--ssh-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.ssh-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(3, 126, 243, 0.35);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
}

.ssh-article-thumb {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ssh-border);
  background: var(--ssh-soft);
}

.ssh-article-thumb img {
  height: 165px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.ssh-article-card:hover .ssh-article-thumb img {
  transform: scale(1.04);
}

.ssh-article-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ssh-primary);
  border: 1px solid rgba(3, 126, 243, 0.18);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ssh-article-body {
  padding: 1rem 1rem 0.75rem;
  flex: 1;
}

.ssh-article-meta {
  color: var(--ssh-primary);
  font-weight: 700;
}

.ssh-article-body h3 a {
  color: var(--ssh-text);
}

.ssh-article-body h3 a:hover {
  color: var(--ssh-primary);
}

.ssh-article-footer {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--ssh-border);
  background: #fafcff;
}

.ssh-read-more {
  color: var(--ssh-primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.ssh-read-more:hover {
  color: var(--ssh-primary-dark);
  text-decoration: underline;
}

:root {
  --ssh-primary: #037ef3;
  --ssh-primary-dark: #0264c8;
  --ssh-soft: #eef6ff;
  --ssh-text: #1f2937;
  --ssh-muted: #6b7280;
  --ssh-border: #e5e7eb;
}

/* Page background */
.ssh-calculator-template {
  background: #f8fafc;
}

/* Main content card */
.ssh-calculator-main-card,
.ssh-sidebar-card,
.ssh-citation-card,
.ssh-utility-card {
  background: #ffffff;
  border: 1px solid var(--ssh-border);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.ssh-calculator-main-card {
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .ssh-calculator-main-card {
    padding: 1.75rem;
  }
}

/* Breadcrumb */
#breadcrumbs {
  font-size: 0.85rem;
}

#breadcrumbs a {
  color: var(--ssh-primary);
  text-decoration: none;
}

#breadcrumbs a:hover {
  text-decoration: underline;
}

/* Header */
.ssh-calculator-header {
  border-bottom: 1px solid var(--ssh-border);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.ssh-calculator-header h1 {
  color: var(--ssh-text);
  line-height: 1.15;
}

.ssh-post-meta {
  color: var(--ssh-muted);
}

.ssh-post-meta a {
  color: var(--ssh-primary);
}

/* Entry content */
.entry-content {
  color: var(--ssh-text);
  font-size: 1rem;
  line-height: 1.75;
}

.entry-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.entry-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

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

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.2rem;
}

.entry-content table {
  width: 100%;
  margin: 1.25rem 0;
  border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
  border: 1px solid var(--ssh-border);
  padding: 0.75rem;
}

.entry-content table th {
  background: var(--ssh-soft);
}

/* =========================================================
   Stat Study Hub Shared Template CSS
   Used by: calculators, blog index, single posts, categories
   ========================================================= */

/* Global variables */
:root {
  --ssh-primary: #037ef3;
  --ssh-primary-dark: #0264c8;
  --ssh-soft: #eef6ff;
  --ssh-text: #1f2937;
  --ssh-muted: #6b7280;
  --ssh-border: #e5e7eb;
  --ssh-bg: #f8fafc;
  --ssh-white: #ffffff;
  --ssh-shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.04);
  --ssh-shadow-md: 0 16px 32px rgba(15, 23, 42, 0.08);
}

/* Page backgrounds */
.ssh-blog-index,
.ssh-single-post,
.ssh-category-page,
.ssh-calc-category-page,
.ssh-calculator-template {
  background: var(--ssh-bg);
}

/* =========================================================
   Shared Cards
   ========================================================= */

.ssh-article-card,
.ssh-calculator-main-card {
  background: var(--ssh-white);
  border: 1px solid var(--ssh-border);
  border-radius: 18px;
  box-shadow: var(--ssh-shadow-sm);
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .ssh-article-card,
  .ssh-calculator-main-card {
    padding: 1.75rem;
  }
}

.ssh-blog-card,
.ssh-category-article-card,
.ssh-calculator-card,
.ssh-child-category-card,
.ssh-related-post-card {
  transition: all 0.2s ease;
}

.ssh-blog-card:hover,
.ssh-category-article-card:hover,
.ssh-calculator-card:hover,
.ssh-child-category-card:hover,
.ssh-related-post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 126, 243, 0.35);
  box-shadow: var(--ssh-shadow-md);
}

* =========================================================
   Shared Hero Sections
   ========================================================= */

.ssh-blog-hero,
.ssh-category-hero,
.ssh-calc-category-hero {
  background:#f4f8fc;
  border-bottom: 1px solid var(--ssh-border);
}

.ssh-blog-eyebrow,
.ssh-category-eyebrow,
.ssh-calc-eyebrow,
.ssh-post-eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ssh-white);
  color: var(--ssh-primary);
  border: 1px solid rgba(3, 126, 243, 0.2);
  padding: 0.35rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.ssh-post-eyebrow {
  background: var(--ssh-soft);
  border-color: transparent;
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
}

.ssh-category-description,
.ssh-calc-category-description {
  color: var(--ssh-muted);
  line-height: 1.7;
}

.ssh-calc-category-description p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Breadcrumbs
   ========================================================= */

#breadcrumbs {
  font-size: 0.85rem;
}

#breadcrumbs a {
  color: var(--ssh-primary);
  text-decoration: none;
}

#breadcrumbs a:hover {
  text-decoration: underline;
}

/* =========================================================
   Shared Sidebar
   ========================================================= */

.ssh-sticky-sidebar,
.ssh-blog-sidebar,
.ssh-post-sidebar,
.ssh-category-sidebar,
.ssh-calc-sidebar {
  position: static;
  top: auto;
}

.ssh-sidebar-card {
  padding: 1rem;
}

.ssh-sidebar-card h2,
.ssh-sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.ssh-sidebar-list,
.ssh-category-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.ssh-sidebar-list li,
.ssh-category-list li {
  border-bottom: 1px solid var(--ssh-border);
}

.ssh-sidebar-list li:last-child,
.ssh-category-list li:last-child {
  border-bottom: 0;
}

.ssh-sidebar-list a,
.ssh-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  color: var(--ssh-text);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
}

.ssh-sidebar-list a:hover,
.ssh-category-list a:hover {
  color: var(--ssh-primary);
}

.ssh-sidebar-list a.active {
  color: var(--ssh-primary);
  font-weight: 800;
}

.ssh-sidebar-date {
  display: block;
  color: var(--ssh-muted);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.ssh-category-count,
.ssh-calc-count {
  background: var(--ssh-soft);
  color: var(--ssh-primary);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* =========================================================
   Shared Pagination
   ========================================================= */

.ssh-blog-pagination,
.ssh-blog-pagination .nav-links,
.ssh-category-pagination,
.ssh-category-pagination .nav-links,
.ssh-calc-pagination,
.ssh-calc-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.ssh-blog-pagination .page-numbers,
.ssh-category-pagination .page-numbers,
.ssh-calc-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--ssh-border);
  border-radius: 12px;
  background: var(--ssh-white);
  color: var(--ssh-text);
  text-decoration: none;
  font-weight: 600;
}

.ssh-blog-pagination .page-numbers.current,
.ssh-blog-pagination .page-numbers:hover,
.ssh-category-pagination .page-numbers.current,
.ssh-category-pagination .page-numbers:hover,
.ssh-calc-pagination .page-numbers.current,
.ssh-calc-pagination .page-numbers:hover {
  background: var(--ssh-primary);
  border-color: var(--ssh-primary);
  color: var(--ssh-white);
}

/* =========================================================
   Shared Links / Labels
   ========================================================= */

.ssh-read-more-link,
.ssh-use-tool-link,
.ssh-read-more {
  color: var(--ssh-primary);
  font-weight: 700;
  text-decoration: none;
}

.ssh-read-more-link:hover,
.ssh-use-tool-link:hover,
.ssh-read-more:hover {
  color: var(--ssh-primary-dark);
  text-decoration: underline;
}

.ssh-blog-category,
.ssh-category-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ssh-soft);
  color: var(--ssh-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  margin-bottom: 0.75rem;
}

.ssh-blog-title a,
.ssh-category-title a,
.ssh-calculator-card h2 a,
.ssh-child-category-card a,
.ssh-article-body h3 a {
  color: var(--ssh-text);
  text-decoration: none;
}

.ssh-blog-title a:hover,
.ssh-category-title a:hover,
.ssh-calculator-card h2 a:hover,
.ssh-child-category-card a:hover,
.ssh-article-body h3 a:hover {
  color: var(--ssh-primary);
}

.ssh-blog-excerpt,
.ssh-category-excerpt {
  color: var(--ssh-muted);
  line-height: 1.65;
}

.ssh-blog-meta,
.ssh-category-meta {
  color: var(--ssh-muted);
  font-size: 0.86rem;
}

/* =========================================================
   Blog Index Cards
   ========================================================= */

.ssh-blog-card {
  overflow: hidden;
}

.ssh-blog-card .row {
  min-height: 0;
}

.ssh-blog-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: var(--ssh-white);
  overflow: hidden;
  padding: 0.75rem;
  border-right: 1px solid var(--ssh-border);
}

.ssh-blog-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s ease;
}

.ssh-blog-card:hover .ssh-blog-thumb img {
  transform: scale(1.02);
}

.ssh-blog-body {
  padding: 1.25rem;
}

/* =========================================================
   Single Post
   ========================================================= */

.ssh-single-title {
  color: var(--ssh-text);
  line-height: 1.15;
}

.ssh-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  color: var(--ssh-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--ssh-border);
  border-bottom: 1px solid var(--ssh-border);
  padding: 0.85rem 0;
  margin-top: 1rem;
}

.ssh-post-meta a {
  color: var(--ssh-primary);
  text-decoration: none;
}

.ssh-post-meta a:hover {
  text-decoration: underline;
}

.ssh-post-meta i {
  color: var(--ssh-primary);
}

.ssh-featured-image {
  background: var(--ssh-white);
  border: 1px solid var(--ssh-border);
  border-radius: 18px;
  padding: 0.6rem;
  margin: 1.25rem auto 1.5rem;
  text-align: center;
  max-width: 680px;
}

.ssh-featured-image img {
  max-width: 100%;
  max-height: 340px;
  width: auto;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
}

/* Entry content */
.entry-content {
  color: var(--ssh-text);
  font-size: 1.04rem;
  line-height: 1.8;
}

.entry-content h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
  line-height: 1.25;
}

.entry-content h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.entry-content p {
  margin-bottom: 1.05rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.2rem;
}

.entry-content li {
  margin-bottom: 0.45rem;
}

.entry-content table {
  width: 100%;
  margin: 1.25rem 0;
  border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
  border: 1px solid var(--ssh-border);
  padding: 0.75rem;
}

.entry-content table th {
  background: var(--ssh-soft);
}

.entry-content blockquote {
  border-left: 4px solid var(--ssh-primary);
  background: var(--ssh-bg);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  color: var(--ssh-text);
}

/* Collapsible TOC */
.ssh-toc-card {
  margin: 1.25rem 0 1.75rem;
  overflow: hidden;
}

.ssh-toc-card summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.1rem;
  font-weight: 800;
  color: var(--ssh-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ssh-toc-card summary::-webkit-details-marker {
  display: none;
}

.ssh-toc-card summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ssh-soft);
  color: var(--ssh-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.ssh-toc-card[open] summary::after {
  content: "−";
}

.ssh-toc-inner {
  border-top: 1px solid var(--ssh-border);
  padding: 0.75rem 1.1rem 1rem;
}

.ssh-toc-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.ssh-toc-list li {
  margin-bottom: 0.5rem;
}

.ssh-toc-list li:last-child {
  margin-bottom: 0;
}

.ssh-toc-list a {
  color: var(--ssh-text);
  text-decoration: none;
  font-size: 0.95rem;
}

.ssh-toc-list a:hover {
  color: var(--ssh-primary);
}

.ssh-toc-list .toc-h3 {
  padding-left: 1rem;
}

.ssh-toc-list .toc-h3 a {
  font-size: 0.9rem;
  color: var(--ssh-muted);
}

/* Author box */
.ssh-author-card {
  padding: 1.25rem;
}

.ssh-author-avatar img,
.ssh-author-card .avatar {
  border-radius: 999px;
}

.ssh-author-social a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ssh-soft);
  color: var(--ssh-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ssh-author-social a:hover {
  background: var(--ssh-primary);
  color: var(--ssh-white);
}

/* =========================================================
   Calculator Pages
   ========================================================= */

.statstudy-calculator-protected,
.entry-content .statstudy-calculator {
  display: block;
  clear: both;
}

.entry-content .statstudy-calculator {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.ssh-calculator-header {
  border-bottom: 1px solid var(--ssh-border);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.ssh-calculator-header h1 {
  color: var(--ssh-text);
  line-height: 1.15;
}

.ssh-citation-card {
  padding: 1rem;
}

.ssh-citation-card details {
  border-top: 1px solid var(--ssh-border);
  padding-top: 0.9rem;
  margin-top: 0.9rem;
}

.ssh-citation-card summary {
  cursor: pointer;
  font-weight: 700;
}

.ssh-citation-card textarea {
  font-size: 0.9rem;
  background: var(--ssh-bg);
}

.ssh-help-note {
  background: var(--ssh-soft);
  border: 1px solid rgba(3, 126, 243, 0.15);
  border-radius: 16px;
  padding: 1rem;
}

/* =========================================================
   Calculator Category Pages
   ========================================================= */

.ssh-calc-category-description p:last-child {
  margin-bottom: 0;
}

.ssh-child-category-grid {
  margin-bottom: 1.5rem;
}

.ssh-child-category-card {
  padding: 1rem;
}

.ssh-calculator-card {
  padding: 1.15rem;
}

.ssh-calculator-card p {
  line-height: 1.6;
}

/* =========================================================
   Category Article Pages
   ========================================================= */

.ssh-category-article-card {
  padding: 1.25rem;
}

/* =========================================================
   Share Dropdown
   Keep only if calculator template still uses compact sharing
   ========================================================= */

.ssh-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ssh-share-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ssh-share-toggle {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--ssh-border);
  background: var(--ssh-white);
  color: var(--ssh-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ssh-share-toggle:hover,
.ssh-share-toggle[aria-expanded="true"] {
  color: var(--ssh-primary);
  border-color: rgba(3, 126, 243, 0.35);
  background: var(--ssh-soft);
}

.ssh-share-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 190px;
  background: var(--ssh-white);
  border: 1px solid var(--ssh-border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  padding: 0.45rem;
  z-index: 30;
}

.ssh-share-menu a,
.ssh-share-menu button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ssh-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  font-size: 0.92rem;
  cursor: pointer;
  text-align: left;
}

.ssh-share-menu a:hover,
.ssh-share-menu button:hover {
  background: var(--ssh-soft);
  color: var(--ssh-primary);
}

.ssh-share-menu i {
  width: 18px;
  text-align: center;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767.98px) {
  .ssh-single-title {
    font-size: 1.9rem;
  }

  .ssh-calculator-header h1 {
    font-size: 1.8rem;
  }

  .entry-content {
    font-size: 1rem;
  }

  .ssh-featured-image {
    max-width: 100%;
    padding: 0.5rem;
  }

  .ssh-featured-image img {
    max-height: 240px;
  }

  .ssh-blog-thumb {
    height: 190px;
    min-height: 190px;
    padding: 0.65rem;
    border-right: 0;
    border-bottom: 1px solid var(--ssh-border);
  }

  .ssh-blog-thumb img {
    max-height: 180px;
  }

  .ssh-blog-body,
  .ssh-category-article-card,
  .ssh-calculator-card,
  .ssh-child-category-card {
    padding: 1rem;
  }

  .ssh-author-card .d-flex {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .ssh-meta-row {
    align-items: flex-start;
  }

  .ssh-share-menu {
    right: auto;
    left: 0;
  }
}



/* --------------------------------------------------------------------------
   Parent calculator hub pages
-------------------------------------------------------------------------- */
.ssh-page-template,
.ssh-hub-template,
.ssh-calculators-library {
  --ssh-primary: #037ef3;
  --ssh-primary-dark: #0264c8;
  --ssh-soft: #eef6ff;
  --ssh-text: #0f172a;
  --ssh-muted: #64748b;
  --ssh-border: #e2e8f0;
}

.ssh-page-card,
.ssh-hub-hero,
.ssh-hub-tool-card,
.ssh-hub-category-card,
.ssh-hub-sidebar-card,
.ssh-empty-state {
  background: #ffffff;
  border: 1px solid var(--ssh-border);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.ssh-page-card,
.ssh-hub-hero {
  padding: clamp(1.25rem, 2vw, 2rem);
}

.ssh-hub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--ssh-primary);
  background: var(--ssh-soft);
  border: 1px solid rgba(3, 126, 243, .16);
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: .85rem;
  font-weight: 700;
}

.ssh-hub-intro.entry-content {
  font-size: 1.05rem;
}

.ssh-hub-summary-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--ssh-soft) 100%);
  border: 1px solid rgba(3, 126, 243, .16);
  border-radius: 18px;
}

.ssh-hub-tool-card,
.ssh-hub-category-card,
.ssh-hub-sidebar-card,
.ssh-empty-state {
  position: relative;
  padding: 1.2rem;
}

.ssh-hub-tool-card,
.ssh-hub-category-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ssh-hub-tool-card:hover,
.ssh-hub-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 126, 243, .35);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.ssh-hub-tool-card h3 a,
.ssh-hub-category-card h3 a {
  color: var(--ssh-text);
}

.ssh-hub-tool-card h3 a:hover,
.ssh-hub-category-card h3 a:hover {
  color: var(--ssh-primary);
}

.ssh-hub-card-cta,
.ssh-hub-count {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--ssh-primary);
  font-weight: 700;
  font-size: .92rem;
}

.ssh-hub-sidebar {
  top: calc(var(--ssh-header-h, 70px) + 1rem);
}

.ssh-hub-nav-list li + li {
  margin-top: .5rem;
}

.ssh-hub-nav-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .7rem .8rem;
  border-radius: 12px;
  color: var(--ssh-text);
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  font-weight: 600;
}

.ssh-hub-nav-list a:hover {
  color: var(--ssh-primary);
  background: var(--ssh-soft);
  border-color: rgba(3, 126, 243, .18);
}

.ssh-hub-nav-list small {
  color: var(--ssh-muted);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .ssh-page-card,
  .ssh-hub-hero,
  .ssh-hub-tool-card,
  .ssh-hub-category-card,
  .ssh-hub-sidebar-card {
    border-radius: 16px;
  }
}

.ssh-hub-hero-section .ssh-hub-summary-card {
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.ssh-hub-tool-card .ssh-use-tool-link,
.ssh-sidebar-list a,
.ssh-hub-nav-list a {
  position: relative;
  z-index: 2;
}

.ssh-home-card,
.ssh-mini-card,
.ssh-hub-category-card,
.ssh-calculator-card,
.ssh-sidebar-card,
.ssh-hub-sidebar-card {
  overflow-wrap: anywhere;
}

.ssh-home-card .ssh-hub-count,
.ssh-hub-category-card .ssh-hub-count {
  position: relative;
  z-index: 2;
}

.ssh-calculators-library .ssh-sidebar-card,
.ssh-hub-template .ssh-sidebar-card {
  border: 1px solid rgba(15, 23, 42, .08);
}

@media (max-width: 575.98px) {
  .ssh-home-hero .display-5,
  .ssh-calc-category-hero h1 {
    font-size: 2rem;
  }

  .ssh-hub-summary-card {
    align-items: flex-start;
  }
}


/* --------------------------------------------------------------------------
   2026 lightweight SEO hub refinements
-------------------------------------------------------------------------- */
:root{
  --ssh-primary: #037ef3;
  --ssh-primary-dark: #0264c8;
  --ssh-primary-soft: #eef7ff;
  --ssh-accent: #0ea5e9;
  --ssh-text: #102033;
  --ssh-muted: #64748b;
  --ssh-border: #e2e8f0;
  --ssh-card-bg: #ffffff;
}
html, body { max-width: 100%; overflow-x: hidden; }
#page, #content, .site-main, footer { min-width: 0; }
img, iframe { max-width: 100%; }

/* Cards and hub pages */
.ssh-home-card,
.ssh-mini-card,
.ssh-calculator-card,
.ssh-hub-category-card,
.ssh-sidebar-card,
.ssh-hub-summary-card,
.ssh-feature-card,
.ssh-topic-box,
.ssh-cta-box{
  border: 1px solid var(--ssh-border);
  box-shadow: 0 8px 24px rgba(15,23,42,.055);
}
.ssh-home-card:hover,
.ssh-mini-card:hover,
.ssh-calculator-card:hover,
.ssh-hub-category-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(3,126,243,.10);
  border-color: rgba(3,126,243,.26);
}
.ssh-calc-category-hero,
.ssh-home-hero{
  background: linear-gradient(135deg, #ffffff 0%, #f2f8ff 60%, #eef7ff 100%);
}
.ssh-calc-eyebrow,
.ssh-eyebrow{
  color: var(--ssh-primary);
  background: rgba(3,126,243,.09);
  border: 1px solid rgba(3,126,243,.16);
  border-radius: 999px;
  padding: .35rem .65rem;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .02em;
}
.ssh-calc-sidebar{ position: sticky; top: calc(var(--ssh-header-h, 72px) + 1rem); }
@media (max-width: 991.98px){ .ssh-calc-sidebar{ position: static; } }
.ssh-sidebar-list{ padding-left: 0; margin-bottom: 0; list-style: none; }
.ssh-sidebar-list li + li{ margin-top: .45rem; }
.ssh-sidebar-list a.active,
.ssh-sidebar-list a:hover{
  background: var(--ssh-primary-soft);
  color: var(--ssh-primary);
  border-color: rgba(3,126,243,.18);
}

/* Homepage and footer overflow fixes */
.ssh-homepage .row,
.ssh-calculators-library .row,
.ssh-hub-template .row{ --bs-gutter-x: 1.25rem; }
footer .container, footer .nav, footer .d-flex{ min-width: 0; }
footer .nav{ gap: .45rem .9rem; }
footer .nav .nav-item{ margin-left: 0 !important; margin-right: 0 !important; }
footer .nav .nav-link{ white-space: normal; }
@media (max-width: 575.98px){
  .ssh-home-hero .display-5{ font-size: 2rem; }
  .ssh-homepage .btn{ width: 100%; }
  footer .d-flex.gap-3{ flex-wrap: wrap; justify-content: center; }
}

/* v0.6.1: Calculator cards use descriptive title links instead of repeated CTA buttons. */
.ssh-calculator-card,
.ssh-hub-tool-card {
  position: relative;
  cursor: pointer;
}

.ssh-calculator-card h2 a,
.ssh-calculator-card h3 a,
.ssh-hub-tool-card h2 a,
.ssh-hub-tool-card h3 a {
  color: var(--ssh-blue, #037ef3);
}

.ssh-calculator-card:hover h2 a,
.ssh-calculator-card:hover h3 a,
.ssh-hub-tool-card:hover h2 a,
.ssh-hub-tool-card:hover h3 a {
  text-decoration: underline;
}

.ssh-use-tool-link {
  display: none !important;
}


/* --------------------------------------------------------------------------
   Stat Study Hub Pro final refinements
-------------------------------------------------------------------------- */
:root{
  --ssh-primary:#037ef3;
  --ssh-primary-dark:#0264c8;
  --ssh-primary-soft:#eef7ff;
  --ssh-primary-soft-2:#f6fbff;
  --ssh-text:#102033;
  --ssh-muted:#64748b;
  --ssh-border:#dbeafe;
}

/* MathJax: keep rendered formulas selectable and visibly highlighted. */
mjx-container,
mjx-container *,
.MathJax,
.MathJax *,
.ssh-math-selectable,
.entry-content mjx-container,
.statstudy-calculator mjx-container,
.statcalc-tool mjx-container,
.ssh-calculator-explanation mjx-container{
  -webkit-user-select:text !important;
  -moz-user-select:text !important;
  -ms-user-select:text !important;
  user-select:text !important;
  pointer-events:auto !important;
}
mjx-container{
  cursor:text;
  color:inherit;
}
mjx-container::selection,
mjx-container *::selection,
.MathJax::selection,
.MathJax *::selection{
  background:rgba(3,126,243,.28) !important;
  color:#06264a !important;
  text-shadow:none !important;
}
mjx-container::-moz-selection,
mjx-container *::-moz-selection,
.MathJax::-moz-selection,
.MathJax *::-moz-selection{
  background:rgba(3,126,243,.28) !important;
  color:#06264a !important;
  text-shadow:none !important;
}
/* Avoid invisible overlays blocking formula selection inside explanations. */
.entry-content .stretched-link::after,
.statstudy-calculator .stretched-link::after,
.statcalc-tool .stretched-link::after{
  pointer-events:none;
}

/* Responsive author/profile page. */
.ssh-author-card .card-body{gap:1rem;}
.ssh-author-avatar img{width:112px;height:112px;object-fit:cover;}
.ssh-author-stat{background:var(--ssh-primary-soft-2);border:1px solid var(--ssh-border);border-radius:14px;padding:.8rem 1rem;}
.ssh-author-stat strong{display:block;font-size:1.35rem;color:var(--ssh-primary-dark);line-height:1;}
.ssh-author-profile-links a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:#eef7ff;color:var(--ssh-primary-dark);}
.ssh-author-profile-links a:hover{background:var(--ssh-primary);color:#fff;text-decoration:none;}
@media (max-width:575.98px){
  .ssh-author-card .card-body{flex-direction:column;text-align:center;align-items:center !important;}
  .ssh-author-profile-links{justify-content:center;}
}

/* Lightweight sidebar/article list polish. */
.ssh-sidebar-card .ssh-date,
.ssh-author-list .ssh-date{font-size:.78rem;color:var(--ssh-muted);}
.ssh-author-list li + li{border-top:1px solid rgba(15,23,42,.08);padding-top:.65rem;margin-top:.65rem;}
.ssh-author-list a{font-weight:650;color:#153a5f;}
.ssh-author-list a:hover{color:var(--ssh-primary);}

/* Reduce homepage/section overflow risk. */
.ssh-homepage,
.ssh-calculators-library,
.ssh-hub-template,
.ssh-author-page{overflow-x:hidden;}
.container,.container-fluid{min-width:0;}
.ssh-card,.ssh-home-card,.ssh-mini-card,.ssh-sidebar-card,.ssh-calculator-card{min-width:0;}

/* --------------------------------------------------------------------------
   Pro author archive refinements and brand footer
-------------------------------------------------------------------------- */
.ssh-author-page{
  overflow-x:hidden;
}
.ssh-author-page .container,
.ssh-author-page .row,
.ssh-author-page main,
.ssh-author-page aside{
  min-width:0;
}
.ssh-author-page .ssh-author-sidebar{
  position:static;
  max-width:100%;
  z-index:1;
}
@media (min-width:992px){
  .ssh-author-page .ssh-author-sidebar{
    position:sticky;
    top:calc(var(--ssh-header-h, 72px) + var(--ssh-adminbar-h, 0px) + 1rem);
  }
}
.ssh-author-card .card-body{
  gap:1rem;
}
.ssh-author-avatar,
.ssh-author-avatar img,
.ssh-author-card .avatar{
  max-width:112px;
  max-height:112px;
}
.ssh-author-avatar img,
.ssh-author-card .avatar{
  width:112px;
  height:112px;
  object-fit:cover;
  display:block;
}
.ssh-author-article-card,
.ssh-calculator-card{
  overflow:hidden;
}
@media (max-width:575.98px){
  .ssh-author-card .card-body{
    flex-direction:column;
    text-align:center;
    align-items:center !important;
  }
  .ssh-author-card .flex-grow-1{
    width:100%;
  }
  .ssh-author-profile-links{
    justify-content:center;
  }
}

.ssh-pro-footer{
  background:#073b66;
  color:#eaf5ff;
  overflow:hidden;
}
.ssh-pro-footer .container{
  min-width:0;
}
.ssh-footer-brand img{
  max-width:190px;
  height:auto;
  max-height:54px;
  object-fit:contain;
  filter:none;
}
.ssh-footer-about{
  color:rgba(234,245,255,.82);
  font-size:.94rem;
  line-height:1.65;
  max-width:28rem;
}
.ssh-footer-title{
  color:#fff;
  font-weight:800;
  font-size:.92rem;
  letter-spacing:.02em;
  margin-bottom:.75rem;
}
.ssh-footer-links li{
  margin-bottom:.45rem;
  line-height:1.35;
}
.ssh-footer-links a,
.ssh-footer-bottom a{
  color:rgba(234,245,255,.82);
  text-decoration:none;
  font-size:.91rem;
}
.ssh-footer-links a:hover,
.ssh-footer-bottom a:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}
.ssh-footer-two-col{
  column-count:1;
}
@media (min-width:1200px){
  .ssh-footer-two-col{
    column-count:2;
    column-gap:1.1rem;
  }
  .ssh-footer-two-col li{
    break-inside:avoid;
  }
}
.ssh-footer-social a{
  width:34px;
  height:34px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  text-decoration:none;
}
.ssh-footer-social a:hover{
  background:#fff;
  color:#037ef3;
}
.ssh-footer-bottom{
  border-top:1px solid rgba(255,255,255,.16);
  color:rgba(234,245,255,.72);
  font-size:.88rem;
}
@media (max-width:767.98px){
  .ssh-pro-footer{
    text-align:left;
  }
  .ssh-footer-brand img{
    max-width:170px;
  }
}


/* Footer v1.2: editable menus, shorter layout, wider category columns */
.ssh-pro-footer .row{ align-items:flex-start; }
.ssh-footer-links.menu{ margin:0; padding:0; list-style:none; }
.ssh-footer-links li{ break-inside:avoid; }
.ssh-footer-two-col{ column-count:1; column-gap:1.35rem; }
@media (min-width:576px){
  .ssh-footer-two-col{ column-count:2; }
}
@media (min-width:1200px){
  .ssh-footer-two-col{ column-count:2; column-gap:1.5rem; }
  .ssh-footer-article-links{ column-count:1; }
}
@media (min-width:1400px){
  .ssh-footer-article-links{ column-count:2; }
}
.ssh-author-page .text-center .btn{ min-width: 160px; }

/* --------------------------------------------------------------------------
   Learning-first architecture (v2.0)
-------------------------------------------------------------------------- */
.ssh-learning-homepage{
  --ssh-learning-ink:#0b2948;
  --ssh-learning-muted:#5f7185;
  --ssh-learning-soft:#eef6ff;
  --ssh-learning-border:#dbe8f4;
}
.ssh-learning-hero{
  background:
    radial-gradient(circle at 88% 12%,rgba(3,126,243,.14),transparent 28%),
    linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);
  border-bottom:1px solid var(--ssh-learning-border);
}
.ssh-learning-hero h1,
.ssh-learning-homepage h2,
.ssh-learning-homepage h3{
  color:var(--ssh-learning-ink);
}
.ssh-section-kicker,
.ssh-sidebar-kicker{
  display:inline-block;
  color:#036fda;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:.55rem;
}
.ssh-learning-path-card{
  background:#fff;
  border:1px solid var(--ssh-learning-border);
  border-radius:1rem;
  box-shadow:0 18px 45px rgba(11,41,72,.08);
  padding:1.35rem;
}
.ssh-learning-path-step{
  display:flex;
  gap:.9rem;
  align-items:flex-start;
  padding:1rem 0;
  border-bottom:1px solid #e7eff7;
}
.ssh-learning-path-step:first-child{padding-top:.25rem;}
.ssh-learning-path-step:last-child{border-bottom:0;padding-bottom:.25rem;}
.ssh-learning-path-step>span{
  width:2rem;
  height:2rem;
  flex:0 0 2rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#037ef3;
  color:#fff;
  font-weight:800;
}
.ssh-learning-path-step strong,
.ssh-learning-path-step small{display:block;}
.ssh-learning-path-step strong{color:var(--ssh-learning-ink);margin-bottom:.2rem;}
.ssh-learning-path-step small{color:var(--ssh-learning-muted);line-height:1.5;}
.ssh-learning-topic-card,
.ssh-guide-card,
.ssh-learning-benefit-card,
.ssh-support-tool-card,
.ssh-directory-tool-card,
.ssh-library-summary-card,
.ssh-calculator-use-note,
.ssh-calculator-guide-bridge{
  background:#fff;
  border:1px solid var(--ssh-learning-border,#dbe8f4);
  border-radius:.9rem;
  box-shadow:0 8px 24px rgba(11,41,72,.045);
}
.ssh-learning-topic-card{
  padding:1.35rem;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.ssh-learning-topic-card:hover,
.ssh-learning-topic-card:focus-visible,
.ssh-support-tool-card:hover,
.ssh-support-tool-card:focus-visible,
.ssh-directory-tool-card:hover,
.ssh-directory-tool-card:focus-visible{
  transform:translateY(-2px);
  border-color:#9fcaf3;
  box-shadow:0 16px 34px rgba(11,41,72,.09);
}
.ssh-learning-topic-card p{line-height:1.65;}
.ssh-guide-card{overflow:hidden;display:flex;flex-direction:column;}
.ssh-guide-card-image{aspect-ratio:16/8.5;overflow:hidden;background:#eaf2fa;}
.ssh-guide-card-image img{height:100%;object-fit:cover;transition:transform .25s ease;}
.ssh-guide-card:hover .ssh-guide-card-image img{transform:scale(1.025);}
.ssh-guide-card-body{padding:1.35rem;display:flex;flex-direction:column;flex:1;}
.ssh-guide-card-body .ssh-text-link{margin-top:auto;}
.ssh-guide-category{
  color:#036fda;
  font-size:.76rem;
  font-weight:800;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.ssh-guide-card h3 a{color:var(--ssh-learning-ink,#0b2948);}
.ssh-guide-card h3 a:hover{color:#037ef3;}
.ssh-text-link{
  color:#036fda;
  font-weight:700;
  text-decoration:none;
}
.ssh-text-link:hover{text-decoration:underline;text-underline-offset:3px;}
.ssh-learning-benefit-card{padding:1.25rem;}
.ssh-supporting-calculators{background:#f7fafd;}
.ssh-support-tool-card,
.ssh-directory-tool-card{padding:1rem;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.ssh-support-tool-card h3,
.ssh-directory-tool-card h3{color:var(--ssh-learning-ink,#0b2948);}
.ssh-empty-state{padding:2rem;background:#fff;border:1px dashed #b8ccdf;border-radius:1rem;}

/* One calculator directory with broad in-page sections. */
.ssh-learning-calculator-library .ssh-calc-category-hero{
  background:#f4f8fc;
  border-bottom:1px solid #dbe8f4;
}
.ssh-library-summary-card{padding:1.3rem;text-align:center;}
.ssh-library-summary-card strong{display:block;color:#037ef3;font-size:2.25rem;line-height:1;}
.ssh-library-summary-card span{display:block;color:#5f7185;margin-top:.55rem;}
.ssh-calculator-use-note,
.ssh-calculator-guide-bridge{padding:1.2rem;}
.ssh-calculator-jump-nav{
  background:#fff;
  border:1px solid #dbe8f4;
  border-radius:.9rem;
  padding:1rem;
}
.ssh-jump-chip{
  display:inline-flex;
  align-items:center;
  padding:.45rem .72rem;
  border-radius:999px;
  border:1px solid #c9dced;
  background:#f8fbff;
  color:#0b4f8d;
  font-size:.86rem;
  font-weight:700;
  text-decoration:none;
}
.ssh-jump-chip:hover{background:#037ef3;color:#fff;border-color:#037ef3;}
.ssh-directory-group-icon{
  width:3rem;
  height:3rem;
  border-radius:.85rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eaf4ff;
  color:#037ef3;
  font-size:1.15rem;
}
.ssh-calculator-directory-group{scroll-margin-top:8rem;}
.ssh-guide-sidebar-card{border-top:3px solid #037ef3;}

@media (max-width:767.98px){
  .ssh-learning-hero{text-align:left;}
  .ssh-learning-hero .btn{width:100%;}
  .ssh-learning-path-card{margin-top:.5rem;}
  .ssh-guide-card-image{aspect-ratio:16/9;}
}




/* --------------------------------------------------------------------------
   Lean header and topic navigation (v2.3.0)
-------------------------------------------------------------------------- */
:root{
  --ssh-header-h: 112px;
  --ssh-adminbar-h: 0px;
  --ssh-primary: #037ef3;
  --ssh-primary-dark: #075a9c;
  --ssh-text: #102033;
  --ssh-muted: #64748b;
  --ssh-border: #dfe7ef;
}
body.admin-bar{--ssh-adminbar-h:32px;}
@media (max-width:782px){body.admin-bar{--ssh-adminbar-h:46px;}}

body{
  color:var(--ssh-text);
  background:#f8fafc;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.ssh-skip-link{
  position:fixed;
  z-index:10000;
  top:.5rem;
  left:.5rem;
  padding:.65rem .9rem;
  border-radius:.4rem;
  background:#102033;
  color:#fff;
}
.ssh-site-header{
  position:sticky;
  top:var(--ssh-adminbar-h);
  z-index:1020;
  background:#fff;
  border-bottom:1px solid var(--ssh-border);
}
.ssh-header-main{
  min-height:68px;
  display:flex;
  align-items:center;
  gap:1.25rem;
}
.ssh-site-brand{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}
.ssh-site-logo{
  display:block;
  width:auto;
  height:40px;
  max-width:220px;
}
.ssh-header-panel{display:block;}
.ssh-header-search{
  display:flex;
  align-items:stretch;
}
.ssh-header-search-desktop{
  flex:0 1 390px;
  max-width:390px;
  margin-left:auto;
}
.ssh-header-search-mobile{display:none;}
.ssh-header-search input{
  min-width:0;
  width:100%;
  height:40px;
  padding:.55rem .7rem;
  border:1px solid #cbd8e5;
  border-right:0;
  border-radius:.4rem 0 0 .4rem;
  background:#fff;
  color:var(--ssh-text);
  font-size:.9rem;
}
.ssh-header-search input:focus{
  outline:2px solid rgba(3,126,243,.22);
  outline-offset:0;
  border-color:var(--ssh-primary);
}
.ssh-header-search button{
  height:40px;
  padding:0 .8rem;
  border:1px solid var(--ssh-primary);
  border-radius:0 .4rem .4rem 0;
  background:var(--ssh-primary);
  color:#fff;
  font-size:.88rem;
  font-weight:700;
}
.ssh-header-search button:hover{background:#0268ca;border-color:#0268ca;}
.ssh-topic-navigation{
  border-top:1px solid #edf1f5;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
}
.ssh-topic-links{
  min-width:max-content;
  display:flex;
  align-items:center;
  gap:1.15rem;
  list-style:none;
  margin:0;
  padding:0;
}
.ssh-topic-links li{margin:0;padding:0;}
.ssh-topic-link,
.ssh-topic-links a{
  display:block;
  padding:.62rem 0 .66rem;
  color:#526579;
  font-size:.84rem;
  line-height:1.15;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
  border-bottom:2px solid transparent;
}
.ssh-topic-link:hover,
.ssh-topic-link:focus-visible,
.ssh-topic-links a:hover,
.ssh-topic-links a:focus-visible,
.ssh-topic-links .current-menu-item>a,
.ssh-topic-links .current_page_item>a{
  color:var(--ssh-primary-dark);
  border-bottom-color:var(--ssh-primary);
  text-decoration:none;
}
.ssh-menu-toggle{display:none;}

.ssh-card-marker{
  width:2rem;
  height:2rem;
  margin-bottom:1rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#edf6ff;
  color:var(--ssh-primary-dark);
  font-size:.82rem;
  font-weight:800;
}
.ssh-404-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:70px;
  height:70px;
  padding:0 .75rem;
  border-radius:50%;
  background:#edf6ff;
  color:var(--ssh-primary-dark);
  font-size:1rem;
  font-weight:800;
}
.ssh-share-toggle{
  width:auto !important;
  min-width:64px;
  padding:.4rem .7rem !important;
  border-radius:.4rem !important;
  font-size:.82rem;
  font-weight:700;
}
.ssh-author-social a,
.ssh-author-profile-links a{
  width:auto;
  min-width:34px;
  padding:0 .65rem;
  font-size:.78rem;
  font-weight:700;
}
.ssh-footer-social a{
  width:auto;
  min-width:34px;
  padding:0 .55rem;
  border-radius:.4rem;
  font-size:.72rem;
  font-weight:800;
}

@media (max-width:991.98px){
  .ssh-header-main{min-height:62px;gap:.75rem;}
  .ssh-site-logo{height:36px;max-width:190px;}
  .ssh-header-search-desktop{display:none;}
  .ssh-menu-toggle{
    margin-left:auto;
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:.35rem;
    background:transparent;
    color:var(--ssh-text);
  }
  .ssh-menu-toggle:hover,
  .ssh-menu-toggle:focus-visible{background:#f1f5f9;outline:none;}
  .ssh-menu-bars,
  .ssh-menu-bars::before,
  .ssh-menu-bars::after{
    width:22px;
    height:2px;
    display:block;
    position:relative;
    background:currentColor;
    content:"";
    transition:transform 150ms ease,opacity 150ms ease;
  }
  .ssh-menu-bars::before{position:absolute;top:-7px;}
  .ssh-menu-bars::after{position:absolute;top:7px;}
  .ssh-menu-toggle[aria-expanded="true"] .ssh-menu-bars{background:transparent;}
  .ssh-menu-toggle[aria-expanded="true"] .ssh-menu-bars::before{top:0;transform:rotate(45deg);}
  .ssh-menu-toggle[aria-expanded="true"] .ssh-menu-bars::after{top:0;transform:rotate(-45deg);}
  .ssh-header-panel{
    display:none;
    padding:.15rem 0 1rem;
    border-top:1px solid #edf1f5;
  }
  .ssh-header-panel.is-open{display:block;}
  .ssh-topic-navigation{
    margin:0;
    border-top:0;
    overflow:visible;
  }
  .ssh-topic-links{
    min-width:0;
    display:block;
  }
  .ssh-topic-link,
  .ssh-topic-links a{
    padding:.76rem .15rem;
    white-space:normal;
    border-bottom:1px solid #edf1f5;
  }
  .ssh-topic-links li:last-child a{border-bottom:0;}
  .ssh-header-search-mobile{
    display:flex;
    width:100%;
    max-width:none;
    margin-top:.9rem;
  }
}

@media (max-width:575.98px){
  .ssh-site-logo{height:34px;max-width:170px;}
  .ssh-header-search button{padding:0 .65rem;}
}


/* Lean visual and form refinements (v2.1.0) */
.ssh-contact-wrap{max-width:860px;}
.ssh-contact-heading{background:#f7fafc;}
.ssh-contact-card{box-shadow:none;}
.ssh-blog-thumb-placeholder{
  width:100%;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1rem;
  background:#eef5fb;
  color:#53708a;
  font-weight:700;
  letter-spacing:.02em;
}
.ssh-card,
.ssh-mini-card,
.ssh-article-card,
.ssh-blog-card,
.ssh-guide-card,
.ssh-support-tool-card,
.ssh-directory-tool-card,
.ssh-learning-benefit-card,
.ssh-learning-path-card,
.ssh-library-summary-card,
.ssh-calculator-card,
.ssh-author-article-card,
.ssh-sidebar-card{
  box-shadow:none !important;
}
.ssh-card:hover,
.ssh-mini-card:hover,
.ssh-article-card:hover,
.ssh-blog-card:hover,
.ssh-guide-card:hover,
.ssh-support-tool-card:hover,
.ssh-directory-tool-card:hover{
  transform:none;
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;}
}
