/*
=============================================================
  WAZOODLE FABRICS — Help Scout Docs v5.1

  Heading Hierarchy (Desktop):
    H2:     1.45rem  #0D5C28  Very Dark Forest — 2px full-width border
    H3:     1.2rem   #1E7A3E  Mid Green        — 1.5px inline overhang
    Legend: 1.1rem   #6D3D18  Dark Brown       — 1px inline overhang

  Heading Hierarchy (Tablet ≤768px):
    H2:     1.35rem
    H3:     1.15rem
    Legend: 1.05rem

  Heading Hierarchy (Mobile ≤480px):
    H2:     1.25rem  padding-top: 24px
    H3:     1.1rem
    Legend: 1.0rem

  Page Colors:
    Background:   #EEF2EE  Faint green tint (brand-connected)
    Cards:        #ffffff  White floating cards
    H1 / accent:  #0D672E  Deep Green
    Body links:   set via HelpScout Customize → Link Color (#3B8234)
    Blockquote:   #3B8234 left border, #E8F5E4 bg (visible on white card)
    Table header: #0D672E bg
    Table zebra:  #EBF5EB (bumped contrast from near-white)
    Slate:        #7D8B86
    Separator:    #E7E1D5
    Blue accent:  #2563a8  (TOC arrows, inline links)
    See Also bg:  #EEF2FA  (blue tint — distinct from TOC #EEF2EE green)

  Layout:
    Home:     Original search hero + floating category cards
    Category: White sidebar + white content card, no hero
    Article:  White sidebar + white content card, no hero
              Cards sit flush to navbar (staggered top-left effect)

  Custom Components (v5.1):
    .wz-growth-path    — chevron scaling ladder (Swatches → Custom)
    .wz-checkout-strip — numbered step flow (Select Color → Add to Cart)
    .wz-see-also       — inter-site link list (blue tint, distinct from TOC green)
    .wz-see-also       — pill tag cross-reference links (See Also)
=============================================================
*/

/* ── 1. FONT ──────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body,
h1, h2, h3, h4, h5, h6,
p, a, li, td, th, input, button, select {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif !important;
}

/* ── 2. PAGE BACKGROUND ───────────────────────────────────── */

body {
  background: #EEF2EE !important;
}

/* ── 3. CONTENT AREA ──────────────────────────────────────── */

#contentArea {
  max-width: 1280px !important;
  width: 95% !important;
  margin: 0 auto !important;
  padding: 20px 20px 40px !important;
}

/* ── 4. NAV LINKS ─────────────────────────────────────────── */

.navbar .nav > li > a,
.navbar .nav li a {
  color: #3B8234 !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.01em !important;
}

.navbar .nav > li > a:hover,
.navbar .nav li a:hover {
  color: #0D672E !important;
  background: transparent !important;
}

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover {
  color: #0D672E !important;
  font-weight: 700 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ── 5. SEARCH HERO (Home page only) ─────────────────────── */

#docsSearch {
  background: linear-gradient(180deg, #f4faf4 0%, #ffffff 100%) !important;
  border-bottom: 3px solid #e0ede0 !important;
  padding: 52px 20px 60px !important;
}

#docsSearch h1 {
  color: #0D672E !important;
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

#docsSearch #searchBar button,
#docsSearch button[type="submit"] {
  background-color: #3B8234 !important;
  border-color: #3B8234 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

#docsSearch #searchBar button:hover {
  background-color: #0D672E !important;
  border-color: #0D672E !important;
}

/* ── 6. SIDEBAR CARD ──────────────────────────────────────── */

#sidebar {
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
  padding: 28px 24px !important;
  margin-top: 0 !important;
}

/* Sidebar search — neutral */
#sidebar #searchBar button {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #7D8B86 !important;
  box-shadow: none !important;
}

#sidebar #searchBar input[type="text"]:focus,
#sidebar #searchBar input[type="search"]:focus {
  border-color: #3B8234 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 52, 0.15) !important;
}

/* CATEGORIES label */
#sidebar .categories-header,
#sidebar h4 {
  color: #7D8B86 !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}

/* Sidebar nav links */
#sidebar .categories a,
#sidebar .nav-list a,
#sidebar ul li a {
  color: #1a1a1a !important;
  font-size: 1.05rem !important;
  font-weight: 400 !important;
  padding: 14px 0 !important;
  display: block !important;
  border-bottom: 1px solid #e4ece4 !important;
}

#sidebar .categories li:last-child a,
#sidebar .nav-list li:last-child a,
#sidebar ul li:last-child a {
  border-bottom: none !important;
}

#sidebar .categories a.active,
#sidebar .categories .active > a,
#sidebar .nav-list .active > a {
  color: #0D672E !important;
  font-weight: 600 !important;
}

/* ── 7. CONTENT + RELATED CARDS ───────────────────────────── */

.contentWrapper {
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
  padding: 40px 52px !important;
  margin-left: 24px !important;
}

.related {
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
  margin-left: 24px !important;
  margin-top: 16px !important;
  padding: 24px 52px !important;
}

/* ── 8. HOMEPAGE COLLECTION HEADERS ──────────────────────── */

.collection-category > h2 a,
.collection-category h2 a {
  color: #0D672E !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

.collection-category > h2 a:hover {
  color: #3B8234 !important;
  text-decoration: none !important;
}

/* ── 9. 3-COLUMN CATEGORY CARD GRID ──────────────────────── */

section.category-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-top: 20px !important;
  justify-items: center !important;
}

@media (max-width: 900px) {
  section.category-list { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  section.category-list { grid-template-columns: 1fr !important; }
}

/* ── 10. CATEGORY CARDS ───────────────────────────────────── */

a.category {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
  padding: 32px 24px 28px !important;
  border: 1px solid #e2ece2 !important;
  border-radius: 14px !important;
  background: #fff !important;
  text-decoration: none !important;
  transition: box-shadow 0.2s ease, transform 0.15s ease !important;
  box-sizing: border-box !important;
}

a.category:hover {
  box-shadow: 0 8px 24px rgba(13, 103, 46, 0.11) !important;
  transform: translateY(-3px) !important;
  border-color: #b8d4b8 !important;
}

a.category h3 {
  color: #1a1a1a !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  line-height: 1.35 !important;
  margin: 0 0 8px 0 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  padding-right: 0 !important;
  display: block !important;
  width: auto !important;
}

a.category p,
a.category .article-count {
  color: #3B8234 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* ── 11. CATEGORY CARD ICONS ──────────────────────────────── */

a.category::before {
  content: '📄' !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  background: #f0f7ee !important;
  border-radius: 50% !important;
  font-size: 1.5rem !important;
  margin-bottom: 16px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

#category-789::before  { content: '🏁' !important; background: #e8f5e2 !important; }
#category-790::before  { content: '🔬' !important; background: #e8f5e2 !important; }
#category-1223::before { content: '🧺' !important; background: #e8f5e2 !important; }
#category-804::before  { content: '🛒' !important; background: #fff8e1 !important; }
#category-805::before  { content: '📦' !important; background: #fff8e1 !important; }
#category-806::before  { content: '📊' !important; background: #fff8e1 !important; }
#category-807::before  { content: '⚙️' !important; background: #fff8e1 !important; }
#category-835::before  { content: '💧' !important; background: #e3f2fd !important; }
#category-836::before  { content: '🛡️' !important; background: #e8f5e9 !important; }
#category-837::before  { content: '❄️' !important; background: #e3f2fd !important; }
#category-838::before  { content: '🌿' !important; background: #e8f5e2 !important; }
#category-839::before  { content: '⚡' !important; background: #fff8e1 !important; }
#category-840::before  { content: '⚖️' !important; background: #f3e5f5 !important; }
#category-906::before  { content: '🧽' !important; background: #e3f2fd !important; }
#category-907::before  { content: '♻️' !important; background: #e8f5e2 !important; }
#category-908::before  { content: '💨' !important; background: #e8f4fd !important; }
#category-909::before  { content: '🧵' !important; background: #fff8e1 !important; }
#category-910::before  { content: '☔' !important; background: #e8f5e9 !important; }

/* ── 12. PAGE TITLE H1 — article + category pages ────────── */

h1.title,
#categoryHead h1 {
  color: #0D672E !important;
  font-weight: 700 !important;
  font-size: 1.75rem !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

/* ── 13. ARTICLE H2 — Very Dark Forest ───────────────────── */

#fullArticle h2 {
  color: #0D5C28 !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  padding-top: 50px !important;
  padding-bottom: 8px !important;
  margin-top: 0 !important;
  margin-bottom: 28px !important;
  border-bottom: 2px solid #0D5C28 !important;
  letter-spacing: -0.01em !important;
}

/* ── 14. ARTICLE H3 — Mid Green ──────────────────────────── */

#fullArticle h3 {
  color: #1E7A3E !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 20px !important;
  padding-bottom: 5px !important;
  padding-right: 38px !important;
  display: inline-block !important;
  border-bottom: 1.5px solid #1E7A3E !important;
}

/* ── 15. FIELDSET + LEGEND — Dark Brown ──────────────────── */

#fullArticle fieldset {
  border: none !important;
  padding: 0 0 30px 0 !important;
  margin: 0 !important;
}

#fullArticle legend {
  color: #6D3D18 !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  padding: 0 15px 5px 0 !important;
  margin-bottom: 16px !important;
  display: block !important;
  width: fit-content !important;
  max-width: fit-content !important;
  border-bottom: 1px solid #6D3D18 !important;
}

/* ── 16. HORIZONTAL RULE ─────────────────────────────────── */

#fullArticle hr {
  margin: 0 !important;
  border: none !important;
  border-top: 1px solid #E7E1D5 !important;
}

/* ── 17. BLOCKQUOTE ──────────────────────────────────────── */
/* Background bumped from #F0F7EE to #E8F5E4 for visibility on white card */

#fullArticle blockquote {
  border-left: 4px solid #3B8234 !important;
  background-color: #E8F5E4 !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-radius: 0 6px 6px 0 !important;
  padding: 14px 20px !important;
  margin: 1.5rem 0 !important;
  font-style: normal !important;
  color: #1E1E1E !important;
}

#fullArticle blockquote p {
  font-style: normal !important;
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
}

/* ── 18. BODY TEXT ───────────────────────────────────────── */

#fullArticle p,
#fullArticle li {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: #1E1E1E !important;
}

#fullArticle strong {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

/* Note: link color → HelpScout Customize → Link Color → #3B8234 */

/* ── 19. TABLE ───────────────────────────────────────────── */

#fullArticle table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 1.5rem 0 2rem 0 !important;
  font-size: 0.9rem !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07) !important;
}

/* Pattern A: tbody-only, first tr = header row */
#fullArticle table:not(:has(thead)) tbody tr:first-child,
#fullArticle table:not(:has(thead)) tr:first-child {
  background-color: #0D672E !important;
}

#fullArticle table:not(:has(thead)) tbody tr:first-child td,
#fullArticle table:not(:has(thead)) tr:first-child td {
  color: #ffffff !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 12px 16px !important;
  border: none !important;
  background-color: #0D672E !important;
}

#fullArticle table:not(:has(thead)) tbody tr:first-child td strong,
#fullArticle table:not(:has(thead)) tr:first-child td strong {
  color: #ffffff !important;
}

/* Pattern B: thead/th header */
#fullArticle table thead,
#fullArticle table thead tr {
  background-color: #0D672E !important;
}

#fullArticle table thead th {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: 12px 16px !important;
  border: none !important;
  text-align: left !important;
}

#fullArticle table thead th strong {
  color: #ffffff !important;
}

/* Zebra rows — bumped from near-white #f7fbf7 to visible #EBF5EB */
#fullArticle table tbody tr:nth-child(even) {
  background-color: #EBF5EB !important;
}

#fullArticle table tbody tr:nth-child(odd) {
  background-color: #ffffff !important;
}

#fullArticle table:not(:has(thead)) tbody tr:nth-child(even),
#fullArticle table:not(:has(thead)) tr:nth-child(even) {
  background-color: #EBF5EB !important;
}

#fullArticle table:not(:has(thead)) tbody tr:nth-child(odd):not(:first-child),
#fullArticle table:not(:has(thead)) tr:nth-child(odd):not(:first-child) {
  background-color: #ffffff !important;
}

#fullArticle table tr {
  border-bottom: 1px solid #e8ede8 !important;
}

#fullArticle table tr:last-child {
  border-bottom: none !important;
}

/* All cells */
#fullArticle table td,
#fullArticle table th {
  padding: 11px 16px !important;
  color: #1E1E1E !important;
  vertical-align: top !important;
  border: none !important;
  border-right: 1px solid #e8ede8 !important;
  line-height: 1.5 !important;
}

#fullArticle table td:last-child,
#fullArticle table th:last-child {
  border-right: none !important;
}

/* First column — label emphasis */
#fullArticle table tbody td:first-child {
  font-weight: 600 !important;
  color: #2a2a2a !important;
  background-color: #f0f7ee !important;
  border-right: 2px solid #c8dfc8 !important;
}

#fullArticle table tbody td:first-child strong {
  color: #2a2a2a !important;
}

/* Pattern A: first-row header cells don't get label treatment */
#fullArticle table:not(:has(thead)) tbody tr:first-child td:first-child,
#fullArticle table:not(:has(thead)) tr:first-child td:first-child {
  background-color: #0D672E !important;
  border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* ── 20. CATEGORY PAGE ARTICLE LIST ──────────────────────── */
/* Bumped from 0.975rem — older-client readability */

.articleList li a::before,
.articleList .icon-article-doc,
.articleList li .icon,
.articleList li i[class*="icon"] {
  display: none !important;
}

.articleList li {
  border-bottom: 1px solid #E7E1D5 !important;
  list-style: none !important;
}

.articleList li:last-child {
  border-bottom: none !important;
}

.articleList li a {
  display: block !important;
  padding: 13px 0 !important;
  color: #3B8234 !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.articleList li a:hover {
  color: #0D672E !important;
}

/* ── 21. ARTICLE FOOTER ──────────────────────────────────── */

time.lu {
  display: none !important;
}

#sbContactMobile {
  display: none !important;
}

#sbContact {
  display: inline-block !important;
  margin-left: 6px !important;
  padding: 4px 14px !important;
  background-color: #F0F7EE !important;
  color: #0D672E !important;
  border: 1px solid #b8d4b8 !important;
  border-radius: 20px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

#sbContact:hover {
  background-color: #0D672E !important;
  color: #ffffff !important;
  border-color: #0D672E !important;
}

/* ── 22. FOOTER ──────────────────────────────────────────── */

footer a,
.site-footer a,
[class*="footer"] a {
  color: #7D8B86 !important;
  text-decoration: none !important;
  font-size: 0.8rem !important;
}

[class*="footer"],
footer {
  color: #7D8B86 !important;
  font-size: 0.8rem !important;
}

/* ── 23. COMPONENT — Growth Path Ladder ─────────────────── */
/* Usage: <div class="wz-growth-path"> ... </div>            */

.wz-growth-path {
  display: flex !important;
  align-items: stretch !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1.5px solid #c8dfc8 !important;
  margin: 24px 0 10px !important;
}

.wz-growth-path__stage {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 8px 14px !important;
  position: relative !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: filter 0.15s !important;
  cursor: default !important;
}

.wz-growth-path__stage:hover { filter: brightness(0.95) !important; }

.wz-growth-path__stage:nth-child(1) { background: #f7fbf7 !important; }
.wz-growth-path__stage:nth-child(2) { background: #edf7ed !important; }
.wz-growth-path__stage:nth-child(3) { background: #dff0df !important; }
.wz-growth-path__stage:nth-child(4) { background: #cce8cc !important; }
.wz-growth-path__stage:nth-child(5) { background: #0D5C28 !important; }

.wz-growth-path__stage:not(:last-child)::after {
  content: "" !important;
  position: absolute !important;
  right: -11px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 0 !important;
  height: 0 !important;
  border-top: 24px solid transparent !important;
  border-bottom: 24px solid transparent !important;
  border-left: 11px solid !important;
  z-index: 2 !important;
}
.wz-growth-path__stage:nth-child(1)::after { border-left-color: #f7fbf7 !important; }
.wz-growth-path__stage:nth-child(2)::after { border-left-color: #edf7ed !important; }
.wz-growth-path__stage:nth-child(3)::after { border-left-color: #dff0df !important; }
.wz-growth-path__stage:nth-child(4)::after { border-left-color: #cce8cc !important; }

.wz-growth-path__icon    { font-size: 1.3rem !important; margin-bottom: 6px !important; line-height: 1 !important; display: block !important; }
.wz-growth-path__name    { font-size: 0.82rem !important; font-weight: 700 !important; letter-spacing: 0.02em !important; display: block !important; color: #0D5C28 !important; }
.wz-growth-path__stage:nth-child(5) .wz-growth-path__name { color: #ffffff !important; }
.wz-growth-path__hint    { font-size: 0.68rem !important; color: #7D8B86 !important; margin-top: 3px !important; font-weight: 500 !important; display: block !important; }
.wz-growth-path__stage:nth-child(5) .wz-growth-path__hint { color: rgba(255,255,255,0.65) !important; }
.wz-growth-path__caption { font-size: 0.75rem !important; color: #7D8B86 !important; font-style: italic !important; text-align: center !important; display: block !important; margin: 8px 0 20px !important; }

@media (max-width: 560px) {
  .wz-growth-path { flex-direction: column !important; border-radius: 8px !important; }
  .wz-growth-path__stage:not(:last-child)::after { display: none !important; }
  .wz-growth-path__stage { flex-direction: row !important; justify-content: flex-start !important; gap: 12px !important; padding: 12px 16px !important; border-bottom: 1px solid #c8dfc8 !important; }
  .wz-growth-path__stage:last-child { border-bottom: none !important; }
  .wz-growth-path__icon { margin-bottom: 0 !important; font-size: 1.1rem !important; }
}

/* ── 24. COMPONENT — Checkout Step Strip ─────────────────── */
/* Usage: <div class="wz-checkout-strip"> ... </div>          */

.wz-checkout-strip {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  background: #EEF2EE !important;
  border-left: 3px solid #0D5C28 !important;
  padding: 12px 18px !important;
  margin: 24px 0 20px !important;
  gap: 0 !important;
}

.wz-checkout-strip__step  { display: flex !important; align-items: center !important; gap: 7px !important; }
.wz-checkout-strip__label { font-size: 0.875rem !important; font-weight: 600 !important; color: #1a1a1a !important; white-space: nowrap !important; }
.wz-checkout-strip__arrow { font-size: 0.7rem !important; color: #2563a8 !important; margin: 0 8px !important; flex-shrink: 0 !important; }

.wz-checkout-strip__num {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #0D5C28 !important;
  color: #fff !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}


/* ── 25. COMPONENT — See Also (inset list) ──────────────── */
/*
   Blue tint (#EEF2FA) intentionally distinct from TOC (#EEF2EE)
   Green = same-page anchor nav  |  Blue = inter-site article links
   Usage: <div class="wz-see-also"> ... </div>
*/

.wz-see-also {
  border-left: 3px solid #2563a8 !important;
  background: #EEF2FA !important;
  padding: 12px 16px 14px !important;
  margin: 20px 0 28px !important;
}

.wz-see-also__label {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #2563a8 !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.wz-see-also ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wz-see-also li {
  border-bottom: 1px solid #d0daf0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wz-see-also li:last-child {
  border-bottom: none !important;
}

.wz-see-also a {
  display: block !important;
  padding: 7px 0 !important;
  color: #2563a8 !important;
  text-decoration: none !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  transition: color 0.15s !important;
}

.wz-see-also a::before {
  content: '\2192  ' !important;
  color: #93b0d8 !important;
  font-weight: 400 !important;
}

.wz-see-also a:hover {
  color: #1a4a8a !important;
  text-decoration: none !important;
}

/* ── 26. RESPONSIVE — Tablet ≤768px ─────────────────────── */

@media (max-width: 768px) {

  #contentArea {
    padding: 16px 16px 32px !important;
  }

  .contentWrapper {
    margin-left: 0 !important;
    padding: 28px 24px !important;
    border-radius: 10px !important;
  }

  .related {
    margin-left: 0 !important;
    padding: 20px 24px !important;
    border-radius: 10px !important;
  }

  #sidebar {
    padding: 20px 18px !important;
    margin-bottom: 16px !important;
  }

  h1.title {
    font-size: 1.5rem !important;
  }

  #fullArticle h2 {
    font-size: 1.35rem !important;
    padding-top: 36px !important;
  }

  #fullArticle h3 {
    font-size: 1.15rem !important;
  }

  #fullArticle legend {
    font-size: 1.05rem !important;
  }

}

/* ── 27. RESPONSIVE — Mobile ≤480px ─────────────────────── */

@media (max-width: 480px) {

  #contentArea {
    padding: 10px 10px 24px !important;
    width: 100% !important;
  }

  .contentWrapper {
    margin-left: 0 !important;
    padding: 20px 16px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07) !important;
  }

  .related {
    margin-left: 0 !important;
    padding: 16px !important;
    border-radius: 8px !important;
  }

  #sidebar {
    padding: 16px !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
  }

  #sidebar .categories a,
  #sidebar .nav-list a,
  #sidebar ul li a {
    font-size: 1rem !important;
    padding: 12px 0 !important;
  }

  h1.title {
    font-size: 1.35rem !important;
  }

  /* H2/H3/Legend — distinct scale preserved at mobile */
  #fullArticle h2 {
    font-size: 1.25rem !important;
    padding-top: 24px !important;
  }

  #fullArticle h3 {
    font-size: 1.1rem !important;
  }

  #fullArticle legend {
    font-size: 1.0rem !important;
  }

  /* Tables — compact but readable */
  #fullArticle table {
    font-size: 0.8rem !important;
  }

  #fullArticle table td,
  #fullArticle table th {
    padding: 8px 10px !important;
  }

  /* Article list — keep readable on small screens */
  .articleList li a {
    font-size: 1rem !important;
    padding: 12px 0 !important;
  }

}
