/* ==========================================================================
   Hobby Skills WordPress Theme — Stylesheet
   Bright, friendly off-white canvas (#FAF8F5), Electric Cobalt (#0E8A7D) &
   Sunny Marigold (#C63227) brand accents, plus 6 strong category colors.
   Headings: Nunito | Body: Inter (18px on articles)
   ========================================================================== */

:root {
  --hs-bg: #0B101D;
  --hs-surface: #131B2E;
  --hs-surface-warm: #101728;
  --hs-subtle: #1A243C;
  --hs-border: #24314F;
  --hs-border-strong: #32436B;
  --hs-ink: #F4F7FC;
  --hs-ink-body: #CFD8E8;
  --hs-muted: #93A4C1;

  /* Signature Brand Colors (Cobalt Blue + Crimson Red — zero yellow) */
  --hs-cobalt: #0E8A7D;
  --hs-cobalt-hover: #14A899;
  --hs-cobalt-soft: rgba(14, 138, 125, 0.18);
  --hs-yellow: #C63227;
  --hs-yellow-bright: #E5493C;
  --hs-yellow-soft: rgba(198, 50, 39, 0.2);
  --hs-yellow-border: rgba(229, 73, 60, 0.55);

  /* Active category accent defaults (overridden per card/page) */
  --cat-color: #3B82F6;
  --cat-soft: rgba(59, 130, 246, 0.18);
  --cat-border: rgba(59, 130, 246, 0.4);

  /* Typography */
  --font-head: 'Nunito', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii & Shadows */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.42);
  --shadow-cobalt: 0 8px 24px rgba(14, 138, 125, 0.42);
}

/* Category Body Accent Overrides (tuned for crisp dark-mode contrast) */
body.hs-accent-mind-games-puzzles { --cat-color: #5B8DEF; --cat-soft: rgba(91, 141, 239, 0.18); --cat-border: rgba(91, 141, 239, 0.42); }
body.hs-accent-art-drawing        { --cat-color: #F26557; --cat-soft: rgba(242, 101, 87, 0.18); --cat-border: rgba(242, 101, 87, 0.42); }
body.hs-accent-photography        { --cat-color: #20B8B5; --cat-soft: rgba(32, 184, 181, 0.18); --cat-border: rgba(32, 184, 181, 0.42); }
body.hs-accent-languages          { --cat-color: #9E74F7; --cat-soft: rgba(158, 116, 247, 0.18); --cat-border: rgba(158, 116, 247, 0.42); }
body.hs-accent-making-building    { --cat-color: #F2853B; --cat-soft: rgba(242, 133, 59, 0.18); --cat-border: rgba(242, 133, 59, 0.42); }
body.hs-accent-outdoors-nature    { --cat-color: #36B373; --cat-soft: rgba(54, 179, 115, 0.18); --cat-border: rgba(54, 179, 115, 0.42); }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--hs-bg);
  color: var(--hs-ink-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #4FD6C7; text-decoration: none; transition: color 0.16s ease; }
a:hover { color: var(--hs-yellow); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--hs-ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.hs-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ==========================================================================
   Buttons & Pills (Signature Cobalt Pill & Sunny Accents)
   ========================================================================== */
.hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.hs-btn:hover { transform: translateY(-1px); }

.hs-btn--cta {
  background: var(--hs-cobalt);
  color: #FFFFFF;
  box-shadow: var(--shadow-cobalt);
}
.hs-btn--cta:hover {
  background: var(--hs-cobalt-hover);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(14, 138, 125, 0.36);
}

.hs-btn--white {
  background: var(--hs-cobalt);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-cobalt);
}
.hs-btn--white:hover {
  background: var(--hs-cobalt-hover);
  color: #FFFFFF !important;
  box-shadow: 0 12px 30px rgba(14, 138, 125, 0.46);
}

.hs-btn--glass {
  background: rgba(11, 16, 29, 0.28);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}
.hs-btn--glass:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF !important;
  border-color: #FFFFFF;
}

.hs-btn--sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

.hs-btn--block { width: 100%; }

/* ==========================================================================
   Header Bar (Bright Sticky Bar with Sunny Top Line & Inline Search)
   ========================================================================== */
.hs-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 16, 29, 0.94);
  backdrop-filter: blur(12px);
  border-top: 4px solid var(--hs-yellow);
  border-bottom: 1px solid var(--hs-border);
}

.hs-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.hs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hs-ink);
  flex-shrink: 0;
}
.hs-brand:hover { color: var(--hs-cobalt); }
.hs-brand__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
}

/* Row 2: Dedicated Warm Burnt-Orange Categories Bar below masthead */
.hs-nav-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(120deg, #A33E0A 0%, #C95516 52%, #DF6620 100%);
}

.hs-nav { width: 100%; overflow-x: auto; scrollbar-width: none; }
.hs-nav::-webkit-scrollbar { display: none; }
.hs-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: max-content;
}

.hs-nav__link,
.hs-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}
.hs-nav__link:hover,
.hs-nav__list > li > a:hover,
.hs-nav__link.is-active {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.hs-nav__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot-color, var(--hs-cobalt));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
}

.hs-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hs-header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.hs-header-search__icon {
  position: absolute;
  left: 14px;
  color: var(--hs-muted);
  display: inline-flex;
  pointer-events: none;
}
.hs-header-search input[type="search"] {
  width: 280px;
  height: 40px;
  padding: 0 16px 0 38px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--hs-border);
  background: var(--hs-bg);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--hs-ink);
  transition: width 0.2s ease, border-color 0.16s ease, background 0.16s ease;
}
.hs-header-search input[type="search"]:focus {
  outline: none;
  width: 320px;
  border-color: var(--hs-cobalt);
  background: #FFFFFF;
}

.hs-header__cta {
  padding: 10px 18px;
  font-size: 13.5px;
  background: #DF6620;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(223, 102, 32, 0.34);
}
.hs-header__cta:hover {
  background: #C95516;
  color: #FFFFFF !important;
}

.hs-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--hs-border);
  background: #FFFFFF;
  color: var(--hs-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hs-mobile-drawer {
  border-top: 1px solid var(--hs-border);
  background: #FFFFFF;
  padding: 16px 0 22px;
}
.hs-header-search--mobile { margin-bottom: 14px; }
.hs-header-search--mobile input[type="search"] { width: 100%; }
.hs-mobile-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.hs-mobile-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--cat-soft);
  color: var(--hs-ink);
  font-weight: 700;
  font-size: 13.5px;
}
.hs-mobile-cat__ico { color: var(--cat-color); display: inline-flex; }

/* ==========================================================================
   1. Full-Bleed Editorial Hero Showcase Slider (Domestika-style layout)
   ========================================================================== */
.hs-hero-showcase {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 470px;
}

.hs-hero-slides { position: relative; min-height: 470px; }

.hs-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  display: flex;
  align-items: center;
  padding: 46px 0 92px;
  color: #FFFFFF;
}
.hs-hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Sunny Marigold Yellow Slide 1 (exact user swatch palette: #C63227 + #0E8A7D) */
.hs-hero-slide.is-sunny { color: var(--hs-ink); }
.hs-hero-slide.is-sunny .hs-hero-kicker {
  background: rgba(19, 27, 46, 0.09);
  color: var(--hs-ink);
}
.hs-hero-slide.is-sunny .hs-hero-title { color: var(--hs-ink); }
.hs-hero-slide.is-sunny .hs-hero-sub { color: #263147; }
.hs-hero-slide.is-sunny .hs-hero-meta-row { color: #1E293B; }
.hs-hero-slide.is-sunny .hs-btn--white {
  background: var(--hs-cobalt);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-cobalt);
}
.hs-hero-slide.is-sunny .hs-btn--white:hover {
  background: var(--hs-cobalt-hover);
  color: #FFFFFF !important;
}
.hs-hero-slide.is-sunny .hs-btn--glass {
  background: rgba(255, 255, 255, 0.85);
  color: #101728 !important;
  border-color: rgba(19, 27, 46, 0.18);
}
.hs-hero-slide.is-sunny .hs-btn--glass:hover {
  background: #FFFFFF;
  color: var(--hs-cobalt) !important;
}

/* Smooth velvet ambient halo & subtle architectural ring curves (zero dot grids) */
.hs-hero-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 80% 42%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 14% 85%, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 46%);
}
.hs-hero-aura::before,
.hs-hero-aura::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.hs-hero-aura::before {
  width: 560px;
  height: 560px;
  right: -80px;
  top: -120px;
}
.hs-hero-aura::after {
  width: 390px;
  height: 390px;
  right: 40px;
  top: -35px;
  border-color: rgba(255, 255, 255, 0.12);
}
.hs-hero-slide.is-sunny .hs-hero-aura {
  background:
    radial-gradient(circle at 80% 42%, rgba(14, 138, 125, 0.16) 0%, rgba(14, 138, 125, 0) 48%),
    radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 46%);
}
.hs-hero-slide.is-sunny .hs-hero-aura::before,
.hs-hero-slide.is-sunny .hs-hero-aura::after {
  border-color: rgba(14, 138, 125, 0.16);
}
.hs-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hs-hero-orb--one {
  width: 440px;
  height: 440px;
  right: 4%;
  top: -110px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 68%);
}
.hs-hero-slide.is-sunny .hs-hero-orb--one {
  background: radial-gradient(circle, rgba(14, 138, 125, 0.16) 0%, rgba(14, 138, 125, 0) 68%);
}
.hs-hero-orb--two {
  width: 300px;
  height: 300px;
  right: 26%;
  bottom: -90px;
  background: radial-gradient(circle, rgba(198, 50, 39, 0.28) 0%, rgba(198, 50, 39, 0) 70%);
}
.hs-hero-slide.is-sunny .hs-hero-orb--two {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
}

.hs-hero-slide__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 36px;
}

.hs-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(11, 16, 29, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #FFFFFF;
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
}

.hs-hero-title {
  font-size: clamp(32px, 4.1vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 14px;
  color: #FFFFFF;
  max-width: 19ch;
  text-shadow: 0 4px 20px rgba(10, 18, 38, 0.18);
}
.hs-hero-slide.is-sunny .hs-hero-title { text-shadow: none; }

.hs-hero-sub {
  font-size: 17px;
  line-height: 1.58;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 48ch;
}

.hs-hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
}
.hs-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(11, 16, 29, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}
.hs-hero-slide.is-sunny .hs-hero-stat {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(19, 27, 46, 0.12);
  color: #101728;
}
.hs-hero-stat-sep { display: none; }

.hs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hs-hero-slide__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Interactive 3-Card Rotating Same-Category Cluster Deck Slider */
.hs-hero-deck {
  position: relative;
  width: 364px;
  height: 274px;
  max-width: 100%;
  margin: 0 44px;
}

.hs-deck-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 9px;
  border-radius: 26px;
  background: #FFFFFF;
  box-shadow: 0 24px 52px rgba(10, 18, 38, 0.34);
  cursor: pointer;
  text-align: left;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
}
.hs-deck-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.hs-deck-card.pos-front {
  z-index: 3;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: brightness(1);
}
.hs-deck-card.pos-left {
  z-index: 2;
  opacity: 0.92;
  transform: translate3d(-66px, 12px, 0) scale(0.84) rotate(-9deg);
  filter: brightness(0.86);
}
.hs-deck-card.pos-right {
  z-index: 1;
  opacity: 0.92;
  transform: translate3d(66px, 12px, 0) scale(0.84) rotate(9deg);
  filter: brightness(0.86);
}
.hs-deck-card.pos-left:hover {
  transform: translate3d(-76px, 8px, 0) scale(0.87) rotate(-10.5deg);
  filter: brightness(0.95);
}
.hs-deck-card.pos-right:hover {
  transform: translate3d(76px, 8px, 0) scale(0.87) rotate(10.5deg);
  filter: brightness(0.95);
}

.hs-deck-card__pill {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(11, 16, 29, 0.86);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(10, 18, 38, 0.24);
  backdrop-filter: blur(6px);
}
.hs-deck-card.pos-front .hs-deck-card__pill {
  background: #FFFFFF;
  color: #101728;
}
.hs-deck-card:not(.pos-front) .hs-hero-floating-chip {
  opacity: 0;
  pointer-events: none;
}
.hs-hero-studio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.hs-hero-top-pill {
  position: absolute;
  top: -14px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: var(--hs-ink);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(19, 27, 46, 0.16);
}
.hs-hero-top-pill span { color: var(--hs-muted); font-weight: 700; }

.hs-hero-floating-chip {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: #FFFFFF;
  color: var(--hs-ink);
  border: 2px solid var(--hs-yellow);
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hs-hero-floating-chip span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hs-muted);
}
.hs-hero-floating-chip strong {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  color: var(--hs-cobalt);
}

/* Bottom Hero Controls (left dash bars + right circle arrows) */
.hs-hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hs-hero-bars {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hs-hero-bar {
  width: 18px;
  height: 5px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background 0.2s ease;
}
.hs-hero-bar.is-active {
  width: 42px;
  background: #FFFFFF;
}
.hs-hero-showcase.is-sunny-active .hs-hero-bar {
  background: rgba(19, 27, 46, 0.24);
}
.hs-hero-showcase.is-sunny-active .hs-hero-bar.is-active {
  background: var(--hs-cobalt);
}

.hs-hero-arrows { display: flex; gap: 10px; }
.hs-circle-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(19, 27, 46, 0.24);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.16s ease, transform 0.16s ease;
}
.hs-circle-arrow:hover {
  background: rgba(19, 27, 46, 0.45);
  transform: scale(1.05);
}
.hs-hero-showcase.is-sunny-active .hs-circle-arrow {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(19, 27, 46, 0.14);
  color: var(--hs-ink);
}
.hs-hero-showcase.is-sunny-active .hs-circle-arrow:hover {
  background: var(--hs-cobalt);
  color: #FFFFFF;
  border-color: var(--hs-cobalt);
}

/* Smooth feather dissolve into Midnight Dark #0B101D canvas */
.hs-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  background: linear-gradient(to bottom, rgba(11, 16, 29, 0) 0%, #0B101D 100%);
  pointer-events: none;
  z-index: 5;
}

/* ==========================================================================
   Shared Section Headers
   ========================================================================== */
.hs-section { padding: 54px 0; }
.hs-section--categories { padding-top: 34px; }
.hs-section--surface {
  background: var(--hs-surface-warm);
  border-top: 1px solid var(--hs-border);
  border-bottom: 1px solid var(--hs-border);
}

.hs-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.hs-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--hs-yellow);
  color: var(--hs-ink);
  margin-bottom: 8px;
}

.hs-sec-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  margin: 0 0 6px;
}

.hs-sec-sub {
  margin: 0;
  color: var(--hs-muted);
  font-size: 16px;
  max-width: 64ch;
}

.hs-link-more {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--hs-cobalt);
  white-space: nowrap;
}

/* ==========================================================================
   2. Six Color-Framed Pocket Category Cards (3 Cols x 2 Rows — Clean & Bold)
   ========================================================================== */
.hs-cat-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hs-cat-pocket-card {
  background: var(--cover-bg, var(--cat-color));
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 12px 26px rgba(19, 27, 46, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hs-cat-pocket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(19, 27, 46, 0.18);
}

.hs-cat-pocket-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  border-radius: 15px;
  overflow: hidden;
  border-top: 4px solid var(--hs-yellow);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  color: inherit;
}

.hs-cat-pocket-card__photo {
  position: relative;
  height: 152px;
  overflow: hidden;
}
.hs-cat-pocket-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.hs-cat-pocket-card:hover .hs-cat-pocket-card__photo img {
  transform: scale(1.05);
}

.hs-cat-pocket-card__stamp {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--hs-yellow);
  color: var(--hs-ink);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(19, 27, 46, 0.2);
}

.hs-cat-pocket-card__body {
  padding: 15px 16px 12px;
  text-align: center;
  flex: 1;
}
.hs-cat-pocket-card__edition {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cat-color);
  margin-bottom: 4px;
}
.hs-cat-pocket-card__body h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 0 0 4px;
  color: var(--hs-ink);
}
.hs-cat-pocket-card__cost {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hs-muted);
}

.hs-cat-pocket-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: var(--hs-subtle);
  border-top: 1px solid var(--hs-border);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 900;
  color: var(--hs-cobalt);
  transition: background 0.16s ease, color 0.16s ease;
}
.hs-cat-pocket-card:hover .hs-cat-pocket-card__foot {
  background: var(--hs-cobalt);
  color: #FFFFFF;
}

.hs-pill-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 10px;
  border: 1.5px solid var(--hs-border);
  background: #FFFFFF;
  color: var(--hs-ink);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.hs-pill-action:hover {
  border-color: var(--hs-cobalt);
  color: var(--hs-cobalt);
}
.hs-pill-action--primary {
  background: var(--hs-cobalt);
  border-color: var(--hs-cobalt);
  color: #FFFFFF;
}
.hs-pill-action--primary:hover {
  background: var(--hs-cobalt-hover);
  border-color: var(--hs-cobalt-hover);
  color: #FFFFFF;
}
.hs-pill-action__ico { display: inline-flex; }

/* Difficulty Pips */
.hs-diff-pips { display: inline-flex; gap: 4px; align-items: center; }
.hs-diff-pip {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #DFE4EE;
}
.hs-diff-pip.is-filled { background: var(--cat-color, var(--hs-cobalt)); }
.hs-diff-pips--sm .hs-diff-pip { width: 7px; height: 7px; }

/* ==========================================================================
   3. Six Distinct Per-Category 3-Article Editorial Showcase Layouts
   ========================================================================== */
.hs-cat-showcases {
  padding: 20px 0 18px;
}

.hs-cat-band {
  padding: 44px 0;
  border-top: 1px solid var(--hs-border);
}
.hs-cat-band:first-child { border-top: 0; }

.hs-cat-band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.hs-cat-band__title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hs-step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cat-color);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(19, 27, 46, 0.14);
}
.hs-cat-band__kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cat-color);
  margin-bottom: 2px;
}
.hs-cat-band__head h2 {
  font-size: clamp(22px, 2.6vw, 29px);
  font-weight: 900;
  margin: 0;
}

/* --- LAYOUT 01 (Mind Games / Chess): Editorial Hero Split (1 Big Left + 2 Stacked Right) --- */
.hs-lay-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: stretch;
}
.hs-lay1-main {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1.5px solid var(--hs-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hs-lay1-main:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--cat-color);
}
.hs-lay1-main__img {
  position: relative;
  height: 256px;
  overflow: hidden;
}
.hs-lay1-main__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.hs-lay1-main:hover .hs-lay1-main__img img { transform: scale(1.04); }
.hs-lay1-main__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hs-lay1-main__body h3 { font-size: 24px; font-weight: 900; margin: 10px 0 8px; line-height: 1.2; }
.hs-lay1-main__body p { font-size: 15px; color: var(--hs-muted); margin: 0 0 16px; }
.hs-lay1-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.hs-lay1-side {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  background: #FFFFFF;
  border: 1.5px solid var(--hs-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.hs-lay1-side:hover {
  transform: translateY(-2px);
  border-color: var(--cat-color);
  box-shadow: var(--shadow-md);
}
.hs-lay1-side__img { height: 100%; min-height: 165px; overflow: hidden; }
.hs-lay1-side__img img { width: 100%; height: 100%; object-fit: cover; }
.hs-lay1-side__body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
}
.hs-lay1-side__body h3 { font-size: 17.5px; font-weight: 800; margin: 6px 0 6px; line-height: 1.25; }
.hs-lay1-side__body p { font-size: 13.5px; color: var(--hs-muted); margin: 0 0 10px; line-height: 1.48; }

/* --- LAYOUT 02 (Art & Drawing): Full-Bleed Editorial Poster Trio --- */
.hs-lay-posters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hs-poster-card {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  border-bottom: 5px solid var(--cat-color);
  transition: transform 0.22s ease;
}
.hs-poster-card:hover { transform: translateY(-4px); color: #FFFFFF; }
.hs-poster-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.hs-poster-card:hover .hs-poster-card__bg { transform: scale(1.06); }
.hs-poster-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 27, 46, 0.92) 8%, rgba(19, 27, 46, 0.42) 55%, rgba(19, 27, 46, 0.08) 100%);
}
.hs-poster-card__top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hs-poster-card__content {
  position: relative;
  z-index: 2;
  padding: 22px;
}
.hs-poster-card__content h3 { color: #FFFFFF; font-size: 20px; font-weight: 900; margin: 0 0 8px; line-height: 1.22; }
.hs-poster-card__content p { color: rgba(255, 255, 255, 0.86); font-size: 13.5px; margin: 0 0 12px; line-height: 1.48; }
.hs-poster-card__cta {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  color: var(--hs-yellow);
}

/* --- LAYOUT 03 (Photography): Wide Feature Banner + Twin Split Cards --- */
.hs-lay-wide-lead {
  display: grid;
  gap: 20px;
}
.hs-lay3-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: linear-gradient(125deg, #073B3A 0%, #0E7C7B 100%);
  border-radius: 24px;
  overflow: hidden;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}
.hs-lay3-banner:hover { transform: translateY(-3px); color: #FFFFFF; }
.hs-lay3-banner__img { height: 100%; min-height: 270px; overflow: hidden; }
.hs-lay3-banner__img img { width: 100%; height: 100%; object-fit: cover; }
.hs-lay3-banner__body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hs-lay3-banner__body h3 { color: #FFFFFF; font-size: 25px; font-weight: 900; margin: 10px 0 10px; line-height: 1.2; }
.hs-lay3-banner__body p { color: rgba(255, 255, 255, 0.88); font-size: 15px; margin: 0 0 18px; }
.hs-lay3-twins {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.hs-lay3-twin {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  background: #FFFFFF;
  border: 1.5px solid var(--hs-border);
  border-left: 5px solid var(--cat-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hs-lay3-twin:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hs-lay3-twin__img { height: 100%; min-height: 150px; }
.hs-lay3-twin__img img { width: 100%; height: 100%; object-fit: cover; }
.hs-lay3-twin__body { padding: 16px 18px; display: flex; flex-direction: column; }
.hs-lay3-twin__body h3 { font-size: 17.5px; font-weight: 800; margin: 6px 0 6px; line-height: 1.25; }
.hs-lay3-twin__body p { font-size: 13.5px; color: var(--hs-muted); margin: 0 0 10px; }

/* --- LAYOUT 04 (Languages): Numbered Syllabus Index + Visual Spotlight --- */
.hs-lay-syllabus {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: stretch;
}
.hs-syllabus-list {
  display: grid;
  gap: 14px;
}
.hs-syllabus-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: 1.5px solid var(--hs-border);
  border-radius: 18px;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.hs-syllabus-row:hover {
  transform: translateX(4px);
  border-color: var(--cat-color);
  background: var(--cat-soft);
}
.hs-syllabus-num {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--cat-soft);
  color: var(--cat-color);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hs-syllabus-row:first-child .hs-syllabus-num {
  background: var(--cat-color);
  color: #FFFFFF;
}
.hs-syllabus-copy h3 { font-size: 18px; font-weight: 900; margin: 2px 0 4px; line-height: 1.24; }
.hs-syllabus-copy p { font-size: 13.5px; color: var(--hs-muted); margin: 0; line-height: 1.45; }
.hs-syllabus-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hs-subtle);
  color: var(--cat-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hs-syllabus-spotlight {
  background: linear-gradient(145deg, #43208A 0%, #6C3FC5 100%);
  border-radius: 22px;
  padding: 22px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}
.hs-syllabus-spotlight__img {
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 16px;
}
.hs-syllabus-spotlight__img img { width: 100%; height: 100%; object-fit: cover; }
.hs-syllabus-spotlight h3 { color: #FFFFFF; font-size: 21px; margin: 6px 0 8px; }
.hs-syllabus-spotlight p { color: rgba(255, 255, 255, 0.88); font-size: 14px; margin: 0 0 16px; }

/* --- LAYOUT 05 (Making & Building / Woodworking): Reversed Bento (2 Left + Tall Right) --- */
.hs-lay-bento-rev {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
}
.hs-bento-left-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.hs-bento-tool-card {
  background: var(--cat-soft);
  border: 1.5px solid var(--cat-border);
  border-radius: 20px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 16px;
  align-items: center;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hs-bento-tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hs-bento-tool-card h3 { font-size: 18px; font-weight: 900; margin: 6px 0 6px; line-height: 1.24; }
.hs-bento-tool-card p { font-size: 13.5px; color: var(--hs-ink-body); margin: 0 0 8px; }
.hs-bento-tool-card__thumb {
  height: 128px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.hs-bento-tool-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hs-bento-right-tall {
  background: #FFFFFF;
  border: 2px solid var(--cat-border);
  border-top: 6px solid var(--cat-color);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hs-bento-right-tall:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hs-bento-right-tall__img { height: 245px; overflow: hidden; }
.hs-bento-right-tall__img img { width: 100%; height: 100%; object-fit: cover; }
.hs-bento-right-tall__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.hs-bento-right-tall__body h3 { font-size: 23px; font-weight: 900; margin: 10px 0 8px; }
.hs-bento-right-tall__body p { font-size: 15px; color: var(--hs-muted); margin: 0 0 16px; }

/* --- LAYOUT 06 (Outdoors & Nature / Birdwatching): Field-Journal Sage Tray --- */
.hs-lay-field-tray {
  background: linear-gradient(145deg, #EDF7F1 0%, #F7FBF8 100%);
  border: 2px solid #C2E4CF;
  border-radius: 26px;
  padding: 26px;
}
.hs-lay-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hs-field-card {
  background: #FFFFFF;
  border: 1.5px solid #CBE7D6;
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hs-field-card:hover {
  transform: translateY(-4px);
  border-color: var(--cat-color);
  box-shadow: var(--shadow-md);
}
.hs-field-card__img {
  position: relative;
  height: 172px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}
.hs-field-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hs-field-card__num {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--hs-yellow);
  color: var(--hs-ink);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 900;
}
.hs-field-card h3 { font-size: 18px; font-weight: 900; margin: 0 0 8px; line-height: 1.24; }
.hs-field-card p { font-size: 13.5px; color: var(--hs-muted); margin: 0 0 14px; line-height: 1.5; }
.hs-field-card__foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #CBE7D6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cat-color);
}

/* ==========================================================================
   3B. Latest Guides & Card Components (Shared across Category/Archive/Search)
   ========================================================================== */
.hs-slider-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hs-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hs-filter-pill {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--hs-border);
  background: #FFFFFF;
  color: var(--hs-ink-body);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}
.hs-filter-pill:hover {
  border-color: var(--hs-cobalt);
  color: var(--hs-cobalt);
}
.hs-filter-pill.is-active {
  background: var(--hs-cobalt);
  border-color: var(--hs-cobalt);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(14, 138, 125, 0.24);
}

.hs-slider-nav-btns { display: flex; gap: 8px; }
.hs-arrow-sq {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1.5px solid var(--hs-border);
  background: #FFFFFF;
  color: var(--hs-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s ease;
}
.hs-arrow-sq:hover {
  background: var(--hs-cobalt);
  border-color: var(--hs-cobalt);
  color: #FFFFFF;
}

.hs-guides-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--hs-border-strong) transparent;
}

.hs-guide-card {
  background: var(--hs-surface);
  border: 1.5px solid var(--hs-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hs-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--hs-cobalt);
}
.hs-guide-card--slide {
  flex: 0 0 340px;
  scroll-snap-align: start;
}

.hs-guide-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.hs-card-media {
  height: 190px;
  overflow: hidden;
  position: relative;
  background: var(--hs-subtle);
  border-bottom: 3px solid var(--cat-color);
}
.hs-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.hs-guide-card:hover .hs-card-media img {
  transform: scale(1.04);
}
.hs-card-media__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--cat-color);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(19, 27, 46, 0.14);
}
.hs-card-media--svg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cat-soft) 0%, #FFFFFF 100%);
}
.hs-media-icon-ring {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #FFFFFF;
  color: var(--cat-color);
  border: 2px solid var(--cat-border);
  box-shadow: 0 8px 18px rgba(19, 27, 46, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hs-media-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cat-color);
}

.hs-guide-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hs-guide-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.hs-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--cat-soft);
  color: var(--cat-color);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
}

.hs-role-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--hs-yellow);
  color: var(--hs-ink);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 900;
}

.hs-hub-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--hs-cobalt-soft);
  color: var(--hs-cobalt);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
}

.hs-guide-card__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.28;
  margin: 0 0 8px;
  color: var(--hs-ink);
}
.hs-guide-card:hover .hs-guide-card__title { color: var(--hs-cobalt); }

.hs-guide-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--hs-muted);
  margin: 0 0 16px;
}

.hs-guide-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hs-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.hs-guide-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.hs-mini-chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--hs-bg);
  color: var(--hs-ink-body);
  border: 1px solid var(--hs-border);
}

.hs-read-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--hs-cobalt);
}

.hs-slider-empty {
  text-align: center;
  padding: 28px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px dashed var(--hs-border-strong);
  color: var(--hs-muted);
}

/* ==========================================================================
   4. Quick Picks Row (Interactive Tabs + 3-Col Cards)
   ========================================================================== */
.hs-quick-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.hs-qp-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 2px solid var(--hs-border);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.18s ease;
}
.hs-qp-card:hover {
  border-color: var(--hs-cobalt);
  transform: translateY(-2px);
}
.hs-qp-card.is-active {
  background: var(--hs-yellow-soft);
  border-color: var(--hs-cobalt);
  box-shadow: var(--shadow-sm);
}

.hs-qp-card__ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--cat-soft);
  color: var(--cat-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hs-qp-card.is-active .hs-qp-card__ico {
  background: var(--hs-cobalt);
  color: #FFFFFF;
}

.hs-qp-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hs-cobalt);
  margin-bottom: 2px;
}
.hs-qp-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 900;
  color: var(--hs-ink);
  margin-bottom: 4px;
}
.hs-qp-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--hs-muted);
}

.hs-cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hs-cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* ==========================================================================
   Digital Products (Section 5b — Visual PDF Booklet Cards & Article Box)
   ========================================================================== */
.hs-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hs-prod-mini-card {
  background: #FFFFFF;
  border: 1.5px solid var(--hs-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hs-prod-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--hs-cobalt);
}

.hs-prod-mini-card__stage {
  position: relative;
  height: 176px;
  background: linear-gradient(135deg, var(--cat-color) 0%, var(--cat-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.hs-prod-mini-card__stage::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  right: -60px;
  top: -70px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hs-prod-mini-card__format {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(19, 27, 46, 0.72);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.hs-prod-mini-card__price {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--hs-yellow);
  color: var(--hs-ink);
  box-shadow: 0 6px 14px rgba(19, 27, 46, 0.2);
}

/* Tactile Printable PDF Booklet Cover Mockup */
.hs-pdf-booklet {
  position: relative;
  z-index: 2;
  width: 158px;
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #FFFFFF;
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.45), 0 14px 26px rgba(19, 27, 46, 0.28);
  transform: rotate(-2.2deg);
  transition: transform 0.24s ease;
}
.hs-prod-mini-card:hover .hs-pdf-booklet {
  transform: rotate(0deg) scale(1.04);
}
.hs-pdf-booklet img {
  width: 100%;
  height: 98px;
  object-fit: cover;
  display: block;
}
.hs-pdf-booklet__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 9px;
  background: #FFFFFF;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 900;
  color: var(--hs-ink);
}
.hs-pdf-booklet__bar strong {
  font-size: 9.5px;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--cat-soft);
  color: var(--cat-color);
}

.hs-prod-mini-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hs-prod-mini-card__body h3 { font-size: 18.5px; font-weight: 900; margin: 0 0 8px; }
.hs-prod-mini-card__body p { font-size: 14px; color: var(--hs-muted); margin: 0 0 14px; line-height: 1.52; }

.hs-prod-mini-card__sample-bar {
  margin-top: auto;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #EDF8F2;
  border: 1px solid #C6E8D5;
  color: #1A633C;
  font-size: 12.5px;
  font-weight: 700;
}

.hs-product-box {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #FFFDF5 0%, #EBF1FF 100%);
  border: 2px solid var(--hs-cobalt);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
}
.hs-product-box__cover {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #FFFFFF;
  box-shadow: 0 12px 24px rgba(19, 27, 46, 0.18);
  transform: rotate(-1.5deg);
}
.hs-product-box__img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.hs-product-box__cover-foot {
  background: var(--cat-color);
  color: #FFFFFF;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.hs-product-box__pdf {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hs-product-box__price-tag {
  background: var(--hs-yellow);
  color: var(--hs-ink);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}
.hs-product-box__body h3 { font-size: 22px; margin: 4px 0 6px; }
.hs-product-box__body p { font-size: 15px; color: var(--hs-ink-body); margin: 0 0 14px; }
.hs-product-box__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.hs-product-box__sample-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #217A4B;
}
.hs-sample-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--hs-border-strong);
}
.hs-sample-form input[type="email"] {
  flex: 1;
  min-width: 210px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--hs-border-strong);
  font-size: 14px;
  background: #FFFFFF;
}
.hs-sample-msg { font-size: 13px; font-weight: 700; color: #217A4B; width: 100%; }

/* ==========================================================================
   5. Hobby Time Calculator Band & Widget (Bold Cobalt Showcase Container)
   ========================================================================== */
.hs-section--calc-band {
  background: #FFFFFF;
  padding: 58px 0 32px;
}

.hs-calc-band-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background-color: #121722;
  background-image:
    linear-gradient(110deg, rgba(10, 15, 28, 0.84) 0%, rgba(16, 20, 30, 0.64) 48%, rgba(10, 15, 28, 0.72) 100%),
    url('../images/hobby-calculator-bg.webp');
  background-size: cover;
  background-position: 66% 58%;
  background-repeat: no-repeat;
  padding: 42px 44px;
  color: #FFFFFF;
  box-shadow: 0 24px 52px rgba(5, 10, 22, 0.34);
}
.hs-calc-band-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 22%, rgba(223, 102, 32, 0.22) 0%, rgba(223, 102, 32, 0) 52%);
  pointer-events: none;
}
.hs-calc-band-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.hs-calc-band-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 36px;
  align-items: center;
}
.hs-calc-band-copy .hs-sec-title {
  color: #FFFFFF;
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 12px;
}
.hs-calc-band-copy p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 20px;
  line-height: 1.6;
}
.hs-calc-steps {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.hs-calc-steps li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF;
}
.hs-calc-steps span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hs-yellow);
  color: var(--hs-ink);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hs-btn--yellow {
  background: var(--hs-yellow);
  color: #FFFFFF !important;
  box-shadow: 0 10px 24px rgba(198, 50, 39, 0.38);
}
.hs-btn--yellow:hover {
  background: var(--hs-yellow-bright);
  color: #FFFFFF !important;
}

.hs-calc-widget {
  background: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 26px;
  color: var(--hs-ink-body);
  box-shadow: 0 20px 44px rgba(10, 22, 58, 0.28);
}
.hs-calc-band-shell .hs-calc-widget--inline { margin: 0; }
.hs-calc-widget--inline { margin: 28px 0; }
.hs-calc-widget--full { padding: 30px; margin-bottom: 34px; border-color: var(--hs-border); }

.hs-calc-head { margin-bottom: 18px; }
.hs-calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--hs-yellow);
  color: var(--hs-ink);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}
.hs-calc-head h3 { font-size: 22px; margin: 0 0 4px; }
.hs-calc-head p { margin: 0; color: var(--hs-muted); font-size: 14.5px; }

.hs-calc-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.hs-calc-widget--full .hs-calc-controls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hs-calc-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--hs-ink);
  margin-bottom: 6px;
}
.hs-calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hs-calc-label-row strong { color: var(--hs-cobalt); font-family: var(--font-head); }

.hs-calc-field select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1.5px solid var(--hs-border-strong);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--hs-ink);
  background: var(--hs-bg);
}

.hs-calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--hs-cobalt);
  cursor: pointer;
}

.hs-calc-presets,
.hs-calc-days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.hs-calc-presets button,
.hs-calc-days button {
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--hs-border);
  background: var(--hs-bg);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--hs-ink-body);
  cursor: pointer;
}
.hs-calc-presets button.is-active,
.hs-calc-days button.is-active {
  background: var(--hs-cobalt);
  border-color: var(--hs-cobalt);
  color: #FFFFFF;
}

.hs-calc-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.hs-calc-results--full {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hs-calc-stat {
  background: var(--hs-subtle);
  border: 1.5px solid var(--hs-border);
  border-radius: 14px;
  padding: 14px 16px;
}
.hs-calc-stat:first-child {
  background: var(--hs-yellow-soft);
  border-color: var(--hs-yellow-border);
}
.hs-calc-stat--cost {
  background: var(--hs-yellow-soft);
  border-color: var(--hs-yellow-border);
}
.hs-calc-stat span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--hs-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hs-calc-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 900;
  color: var(--hs-cobalt);
  margin: 4px 0 2px;
}
.hs-calc-stat--cost strong { color: var(--hs-ink); font-size: 19px; }
.hs-calc-stat small { font-size: 12px; color: var(--hs-muted); }

.hs-calc-note {
  margin: 0;
  font-size: 13.5px;
  color: var(--hs-muted);
  line-height: 1.5;
}

.hs-calc-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hs-border);
}

/* ==========================================================================
   Skill Card Box (Single Article & Hobby Hub — Auto-Hides If Empty)
   ========================================================================== */
.hs-skill-card {
  background: #FFFFFF;
  border: 2px solid var(--cat-border);
  border-top: 5px solid var(--cat-color);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 24px 0 28px;
  box-shadow: var(--shadow-sm);
}

.hs-skill-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hs-border);
}

.hs-skill-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hs-skill-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--cat-soft);
  color: var(--cat-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hs-skill-card__kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cat-color);
}
.hs-skill-card__hobby {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
}
.hs-skill-card__hub-link {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--hs-cobalt);
}

.hs-skill-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 12px;
  margin: 0;
}

.hs-skill-card__cell {
  background: var(--hs-bg);
  border: 1px solid var(--hs-border);
  border-radius: 12px;
  padding: 12px 14px;
}
.hs-skill-card__cell dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--hs-muted);
  margin-bottom: 4px;
}
.hs-cell-ico { color: var(--cat-color); display: inline-flex; }
.hs-skill-card__cell dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--hs-ink);
}
.hs-diff-wrap { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.hs-diff-text { font-weight: 500; font-size: 13px; color: var(--hs-muted); }

/* ==========================================================================
   Single Article Layout (18px Inter Body, Sidebar, Cluster Nav, FAQs)
   ========================================================================== */
.hs-article-shell,
.hs-archive-shell,
.hs-page-shell {
  padding-top: 26px;
  padding-bottom: 64px;
}

.hs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--hs-muted);
  margin-bottom: 20px;
}
.hs-breadcrumbs a { color: var(--hs-muted); font-weight: 600; }
.hs-breadcrumbs a:hover { color: var(--hs-cobalt); }
.hs-crumb-current { color: var(--hs-ink); font-weight: 600; }

.hs-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 36px;
  align-items: start;
}

.hs-article-main {
  background: #FFFFFF;
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  box-shadow: var(--shadow-sm);
}

.hs-article-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hs-article-title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.14;
  margin: 0 0 12px;
}

.hs-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--hs-muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hs-border);
}

.hs-article-featured {
  margin: 22px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hs-article-featured figcaption {
  font-size: 12.5px;
  color: var(--hs-muted);
  margin-top: 8px;
}

/* 18px Inter Readable Article Body (Section 5 Spec) */
.hs-entry-content {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.74;
  color: var(--hs-ink-body);
}
.hs-entry-content h2 {
  font-size: 26px;
  font-weight: 900;
  margin: 34px 0 12px;
  scroll-margin-top: 90px;
}
.hs-entry-content h3 {
  font-size: 21px;
  font-weight: 800;
  margin: 24px 0 10px;
}
.hs-entry-content p { margin: 0 0 18px; }
.hs-entry-content ul,
.hs-entry-content ol { padding-left: 24px; margin: 0 0 20px; }
.hs-entry-content li { margin-bottom: 8px; }

/* Editorial Blocks & Tables */
.hs-quick-answer {
  background: var(--hs-yellow-soft);
  border: 2px solid var(--hs-yellow);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0 24px;
}
.hs-qa-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hs-ink);
  margin-bottom: 6px;
}
.hs-qa-body p:last-child { margin-bottom: 0; }

.hs-callout {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 22px 0;
  border-left: 5px solid var(--hs-cobalt);
  background: var(--hs-cobalt-soft);
}
.hs-callout--tip { border-left-color: #217A4B; background: #EBF6F0; }
.hs-callout--mistake { border-left-color: #DC4C3E; background: #FDF0EE; }
.hs-callout strong { display: block; font-family: var(--font-head); margin-bottom: 4px; color: var(--hs-ink); }
.hs-callout p:last-child { margin-bottom: 0; }

.hs-table-scroll { overflow-x: auto; }
.hs-entry-content table,
.hs-data-table,
.hs-mistakes-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 26px;
  font-size: 15.5px;
  line-height: 1.5;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hs-border);
}
.hs-entry-content th,
.hs-data-table th,
.hs-mistakes-table th {
  background: var(--hs-ink);
  color: #FFFFFF;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 800;
  padding: 12px 14px;
}
.hs-entry-content td,
.hs-data-table td,
.hs-mistakes-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--hs-border);
}
.hs-entry-content tbody tr:nth-child(even) { background: var(--hs-bg); }

/* Week Plan Cards */
.hs-week-plan { display: grid; gap: 12px; margin: 20px 0 26px; }
.hs-day-card {
  background: var(--hs-bg);
  border: 1.5px solid var(--hs-border);
  border-radius: 14px;
  padding: 16px 18px;
}
.hs-day-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.hs-day-badge {
  background: var(--hs-cobalt);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.hs-day-title { font-family: var(--font-head); font-size: 17px; color: var(--hs-ink); }
.hs-day-mins {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--hs-yellow);
  color: var(--hs-ink);
}
.hs-day-body p:last-child { margin-bottom: 0; font-size: 16px; }

/* Interactive Checklists */
.hs-checklist-box {
  background: #FFFFFF;
  border: 2px solid var(--hs-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
}
.hs-checklist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.hs-checklist-progress {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--hs-yellow);
  color: var(--hs-ink);
}
.hs-checklist-items { list-style: none; padding: 0 !important; margin: 0 !important; }
.hs-checklist-items li { margin-bottom: 8px; }
.hs-checklist-items label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
}
.hs-checklist-items input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 4px;
  accent-color: var(--hs-cobalt);
}

/* FAQ Accordion */
.hs-article-block { margin-top: 34px; }
.hs-faq-list { display: grid; gap: 10px; }
.hs-faq-item,
.hs-faq-details {
  border: 1.5px solid var(--hs-border);
  border-radius: 14px;
  background: var(--hs-bg);
  overflow: hidden;
}
.hs-faq-q,
.hs-faq-details summary {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: transparent;
  border: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--hs-ink);
  cursor: pointer;
}
.hs-faq-sign {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--hs-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hs-cobalt);
  flex-shrink: 0;
}
.hs-faq-a,
.hs-faq-details-body {
  display: none;
  padding: 0 18px 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--hs-ink-body);
}
.hs-faq-item.is-open .hs-faq-a,
.hs-faq-details[open] .hs-faq-details-body { display: block; }

.hs-sources-box {
  background: var(--hs-bg);
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.hs-sources-list { margin: 8px 0 0; padding-left: 20px; font-size: 15px; }
.hs-sources-list li { margin-bottom: 6px; }

/* Cluster Navigation Box */
.hs-cluster-nav-box {
  margin-top: 34px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--cat-soft);
  border: 2px solid var(--cat-border);
}
.hs-cluster-nav-box__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.hs-cluster-nav-box__head h3 { margin: 0; font-size: 19px; }
.hs-cluster-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hs-cluster-links li a,
.hs-cluster-links li > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--hs-border);
  font-weight: 700;
  color: var(--hs-ink);
}
.hs-cluster-links li.is-current > span {
  border-color: var(--hs-cobalt);
  background: var(--hs-yellow-soft);
}
.hs-cluster-links em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--hs-cobalt);
}

.hs-related-section { margin-top: 36px; }

/* Sticky Sidebar */
.hs-article-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 18px;
}
.hs-sidebar-card {
  background: #FFFFFF;
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.hs-sidebar-card h3 { font-size: 17px; margin: 0 0 12px; }
.hs-toc-card ol { margin: 0; padding-left: 18px; font-size: 14px; }
.hs-toc-card li { margin-bottom: 7px; }
.hs-toc-card a { color: var(--hs-ink-body); font-weight: 500; }
.hs-toc-card a:hover { color: var(--hs-cobalt); }

.hs-sidebar-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.hs-sidebar-links li.is-current a { font-weight: 800; color: var(--hs-cobalt); }

.hs-sidebar-calc {
  background: linear-gradient(155deg, #FDECEC 0%, #FFFFFF 100%);
  border: 2px solid var(--hs-yellow);
}
.hs-sidebar-calc__ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--hs-cobalt);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.hs-sidebar-calc p { font-size: 14px; color: var(--hs-muted); margin: 0 0 14px; }

/* AdSense Slots (only rendered when enabled in Customizer) */
.hs-ad-slot {
  margin: 24px 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--hs-bg);
  border: 1px dashed var(--hs-border-strong);
  text-align: center;
}
.hs-ad-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hs-muted);
  margin-bottom: 6px;
}

/* ==========================================================================
   Category Archive, Hobby Hub & Standard Pages (Rich Magazine Hero Banner)
   ========================================================================== */
.hs-cat-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: 30px;
  background: linear-gradient(125deg, var(--cat-color, #1E3A6E) 0%, #0B3A3D 100%);
  border-radius: 24px;
  padding: 34px 36px;
  margin-bottom: 34px;
  color: #FFFFFF;
  box-shadow: 0 18px 40px rgba(19, 27, 46, 0.14);
}
.hs-cat-hero__bg-shape {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 50, 39, 0.32) 0%, rgba(198, 50, 39, 0) 68%);
  pointer-events: none;
}
.hs-cat-hero__copy { position: relative; z-index: 2; }
.hs-cat-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.hs-cat-hero .hs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  background: var(--hs-yellow);
  color: var(--hs-ink);
}
.hs-cat-hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
}
.hs-cat-hero h1 {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 12px;
  line-height: 1.12;
}
.hs-cat-hero__intro,
.hs-cat-hero__intro p {
  font-size: 16px;
  line-height: 1.66;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 68ch;
}
.hs-cat-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.hs-cat-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}
.hs-cat-hero__calc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  color: var(--hs-cobalt);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(19, 27, 46, 0.18);
}
.hs-cat-hero__calc-link:hover {
  background: var(--hs-yellow);
  color: var(--hs-ink);
}
.hs-cat-hero__media {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}
.hs-cat-hero__photo-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  background: #FFFFFF;
  padding: 8px;
  border-radius: 20px;
  box-shadow: 0 20px 42px rgba(10, 18, 38, 0.28);
  transform: rotate(1.2deg);
}
.hs-cat-hero__photo-frame img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.hs-cat-hero__photo-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--hs-yellow);
  color: var(--hs-ink);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(19, 27, 46, 0.2);
}

/* Generic archive/search hero without media stays crisp 1-column */
.hs-cat-hero:not(.hs-cat-hero--rich) {
  grid-template-columns: 1fr;
}

.hs-cat-hero__ico {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hs-hobby-clusters { display: grid; gap: 28px; }
.hs-hobby-group-card {
  background: #FFFFFF;
  border: 1.5px solid var(--hs-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.hs-hobby-group-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hs-border);
}
.hs-hobby-group-card__head h2 { margin: 0 0 6px; font-size: 24px; }
.hs-hobby-group-card__head h2 a { color: var(--hs-ink); }
.hs-hobby-group-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.hs-section-inner { margin-top: 34px; }

.hs-page-card {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--hs-border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}
.hs-page-head { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--hs-border); }
.hs-page-updated { margin: 0; font-size: 13.5px; color: var(--hs-muted); }

.hs-calc-page-hero { margin-bottom: 24px; }
.hs-calc-page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 6px 0 10px; }

.hs-search-inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; max-width: 560px; }
.hs-search-inline input[type="search"] {
  flex: 1;
  min-width: 220px;
  height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--hs-border-strong);
  font-size: 15px;
}

.hs-empty-box {
  text-align: center;
  padding: 46px 26px;
  background: #FFFFFF;
  border: 1.5px solid var(--hs-border);
  border-radius: var(--radius-lg);
}
.hs-empty-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }

.hs-pagination { margin-top: 32px; display: flex; justify-content: center; }

/* ==========================================================================
   Footer (Rich Warm Burnt-Orange Top + Deep Roasted-Orange Bottom Bar)
   ========================================================================== */
.hs-footer {
  background: linear-gradient(125deg, #963708 0%, #C95516 54%, #DF6620 100%);
  border-top: 6px solid #F0803C;
  padding: 54px 0 0;
  margin-top: 40px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}
.hs-footer::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.hs-footer .hs-brand { color: var(--hs-ink); }
.hs-footer .hs-brand:hover { color: var(--hs-cobalt); }
.hs-footer .hs-brand__name { color: var(--hs-ink); }
.hs-footer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.hs-footer__desc { font-size: 14.5px; color: #263147; margin: 12px 0 16px; max-width: 38ch; font-weight: 500; }
.hs-footer__badges { display: flex; flex-wrap: wrap; gap: 7px; }
.hs-footer__badges span {
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1.5px solid rgba(19, 27, 46, 0.12);
  color: var(--hs-ink);
  box-shadow: 0 4px 10px rgba(19, 27, 46, 0.06);
}

.hs-footer__col h4 {
  font-size: 15.5px;
  font-weight: 900;
  margin: 0 0 13px;
  color: var(--hs-cobalt);
  letter-spacing: 0.01em;
}
.hs-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hs-footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1A243B;
  font-weight: 700;
}
.hs-footer__col a:hover { color: var(--hs-cobalt); }
.hs-footer__col .hs-nav__dot {
  box-shadow: 0 0 0 2px #FFFFFF;
}

.hs-footer__bottom-bar {
  position: relative;
  z-index: 2;
  background: linear-gradient(120deg, #6E2605 0%, #8F3408 58%, #A83E0A 100%);
  padding: 18px 0;
}
.hs-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.hs-footer__bottom a { color: var(--hs-yellow); font-weight: 800; }
.hs-footer__bottom a:hover { color: #FFFFFF; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .hs-cat-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-article-layout { grid-template-columns: 1fr; }
  .hs-article-sidebar { position: static; }
}

@media (max-width: 780px) {
  .hs-cat-library-grid { grid-template-columns: 1fr; }
  .hs-calc-band-shell { padding: 26px 20px; border-radius: 20px; }
}

@media (max-width: 820px) {
  .hs-nav-bar { display: none; }
  .hs-header-search { display: none; }
  .hs-header__cta { display: none; }
  .hs-menu-toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .hs-hero-slide__grid { grid-template-columns: 1fr; text-align: left; }
  .hs-hero-slide__visual { display: none; }
  .hs-hero-prism { width: 42%; opacity: 0.45; }
  .hs-cat-hero { grid-template-columns: 1fr; padding: 24px 22px; }
  .hs-cat-hero__media { justify-content: flex-start; }
  .hs-cat-hero__photo-frame { transform: none; max-width: 100%; }
  .hs-lay-hero-split,
  .hs-lay-posters,
  .hs-lay3-banner,
  .hs-lay3-twins,
  .hs-lay-syllabus,
  .hs-lay-bento-rev,
  .hs-lay-field-grid,
  .hs-quick-picks-grid,
  .hs-cards-grid-3,
  .hs-products-grid,
  .hs-product-box,
  .hs-calc-band-grid,
  .hs-calc-widget--full .hs-calc-controls,
  .hs-calc-results--full,
  .hs-footer__grid { grid-template-columns: 1fr; }
  .hs-cards-grid-2 { grid-template-columns: 1fr; }
  .hs-calc-results { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hs-split-cat-card,
  .hs-lay1-side,
  .hs-lay3-twin,
  .hs-bento-tool-card { grid-template-columns: 1fr; }
  .hs-syllabus-row { grid-template-columns: 44px minmax(0, 1fr); }
  .hs-syllabus-arrow { display: none; }
  .hs-split-cat-card__visual { padding: 18px; }
  .hs-pocket-cover { width: 100%; max-width: 240px; min-height: 120px; }
  .hs-split-cat-card__heading { padding-right: 0; margin-top: 26px; }
  .hs-article-main,
  .hs-page-card { padding: 22px 18px; }
  .hs-guide-card--slide { flex: 0 0 290px; }
  .hs-cat-hero { flex-direction: column; padding: 20px; }
}


/* ==========================================================================
   Dark Canvas Surface Polish (Ensures crisp contrast across every card & page)
   ========================================================================== */
.hs-header-search input[type="search"]:focus {
  background: #1A243C;
  color: #FFFFFF;
}
.hs-menu-toggle,
.hs-mobile-drawer {
  background: #131B2E;
  color: #F4F7FC;
}
.hs-eyebrow,
.hs-role-pill,
.hs-calc-badge,
.hs-day-mins,
.hs-checklist-progress,
.hs-cat-pocket-card__stamp,
.hs-prod-mini-card__price,
.hs-product-box__price-tag,
.hs-field-card__num,
.hs-cat-hero__photo-tag,
.hs-btn--yellow,
.hs-calc-steps span {
  background: var(--hs-yellow);
  color: #FFFFFF !important;
}

.hs-hero-top-pill strong { color: #101728; }
.hs-hero-floating-chip strong { color: #0E8A7D; }
.hs-hero-top-pill span,
.hs-hero-floating-chip span { color: #556074; }

.hs-link-more,
.hs-read-time,
.hs-skill-card__hub-link {
  color: #FF6E61;
}
.hs-link-more:hover { color: #FFFFFF; }

/* Dark Card Surfaces */
.hs-cat-pocket-card__inner,
.hs-lay1-main,
.hs-lay1-side,
.hs-lay3-twin,
.hs-syllabus-row,
.hs-bento-right-tall,
.hs-field-card,
.hs-guide-card,
.hs-prod-mini-card,
.hs-calc-widget,
.hs-skill-card,
.hs-article-main,
.hs-sidebar-card,
.hs-hobby-group-card,
.hs-page-card,
.hs-empty-box,
.hs-checklist-box,
.hs-pill-action {
  background: var(--hs-surface);
  border-color: var(--hs-border);
  color: var(--hs-ink-body);
}

.hs-cat-pocket-card__edition,
.hs-cat-band__kicker,
.hs-skill-card__kicker {
  color: #FF7568;
}
.hs-cat-pocket-card__foot {
  background: #1A243C;
  border-top-color: var(--hs-border);
  color: #FFFFFF;
}
.hs-cat-pocket-card:hover .hs-cat-pocket-card__foot {
  background: var(--hs-cobalt);
  color: #FFFFFF;
}

.hs-card-media__badge {
  background: rgba(11, 16, 29, 0.86);
  color: var(--hs-yellow);
}
.hs-cat-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #F4F7FC;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hs-mini-chip {
  background: #1A243C;
  color: #DCE5F5;
  border-color: #2C3B5E;
}
.hs-bento-tool-card {
  background: #172036;
  border-color: rgba(242, 133, 59, 0.36);
}
.hs-bento-tool-card__thumb { border-color: #24314F; }

.hs-lay-field-tray {
  background: linear-gradient(145deg, #10231B 0%, #131B2E 100%);
  border-color: rgba(54, 179, 115, 0.35);
}
.hs-field-card { border-color: rgba(54, 179, 115, 0.32); }
.hs-field-card__foot { border-top-color: rgba(54, 179, 115, 0.25); color: #6CE0A2; }

.hs-syllabus-row:hover { background: #1A243C; }
.hs-syllabus-arrow { background: #1A243C; color: var(--hs-yellow); }

/* Printable PDF Cards on Dark */
.hs-prod-mini-card__sample-bar {
  background: rgba(54, 179, 115, 0.14);
  border-color: rgba(54, 179, 115, 0.34);
  color: #7AE8AD;
}
.hs-pdf-booklet__bar { color: #101728; }

/* Calculator Section & Widget on Dark */
.hs-section--calc-band { background: var(--hs-bg); }
.hs-calc-widget { border-color: var(--hs-border-strong); }
.hs-calc-field select,
.hs-calc-presets button,
.hs-calc-days button,
.hs-search-inline input[type="search"],
.hs-sample-form input[type="email"] {
  background: #0E1526;
  color: #F4F7FC;
  border-color: var(--hs-border-strong);
}
.hs-calc-label-row strong,
.hs-calc-stat strong { color: #FF7568; }
.hs-calc-stat { background: #0E1526; border-color: var(--hs-border); }
.hs-calc-stat:first-child,
.hs-calc-stat--cost {
  background: rgba(198, 50, 39, 0.18);
  border-color: rgba(229, 73, 60, 0.55);
}
.hs-calc-stat:first-child strong,
.hs-calc-stat--cost strong { color: #FFFFFF; }

/* Single Article Dark Readability */
.hs-quick-answer {
  background: rgba(198, 50, 39, 0.16);
  border-color: rgba(229, 73, 60, 0.62);
  color: #F4F7FC;
}
.hs-qa-label { color: #FF7568; }
.hs-callout { background: rgba(14, 138, 125, 0.14); color: #E2E8F0; }
.hs-callout--tip { background: rgba(54, 179, 115, 0.14); }
.hs-callout--mistake { background: rgba(242, 101, 87, 0.14); }
.hs-callout strong { color: #FFFFFF; }
.hs-entry-content table,
.hs-data-table,
.hs-mistakes-table {
  background: #0F1627;
  border-color: var(--hs-border);
}
.hs-entry-content th,
.hs-data-table th,
.hs-mistakes-table th {
  background: #1D2A47;
  color: #FFFFFF;
}
.hs-entry-content tbody tr:nth-child(even) { background: #141D32; }
.hs-day-card,
.hs-faq-item,
.hs-faq-details,
.hs-sources-box,
.hs-skill-card__cell,
.hs-cluster-links li a,
.hs-cluster-links li > span {
  background: #0F1627;
  border-color: var(--hs-border);
  color: #E2E8F0;
}
.hs-faq-sign { background: #1A243C; border-color: var(--hs-border-strong); color: #FF7568; }
.hs-product-box {
  background: linear-gradient(135deg, #131B2E 0%, #192852 100%);
  border-color: var(--hs-cobalt);
}
.hs-product-box__sample-pill { color: #7AE8AD; }
.hs-sidebar-calc {
  background: linear-gradient(155deg, #162244 0%, #131B2E 100%);
  border-color: var(--hs-cobalt);
}
.hs-cat-hero__calc-link { color: #0E8A7D !important; }
.hs-cat-hero__calc-link:hover { background: var(--hs-yellow) !important; color: #FFFFFF !important; }

/* Rich Crimson Red Upper Footer — Crisp Pure White Typography */
.hs-footer,
.hs-footer .hs-brand,
.hs-footer .hs-brand__name {
  color: #FFFFFF !important;
}
.hs-footer__desc { color: rgba(255, 255, 255, 0.88) !important; }
.hs-footer__badges span {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #FFFFFF !important;
}
.hs-footer__col h4 { color: #FFFFFF !important; letter-spacing: 0.02em; }
.hs-footer__col a { color: rgba(255, 255, 255, 0.9) !important; }
.hs-footer__col a:hover { color: #FFFFFF !important; text-decoration: underline; }
.hs-footer__bottom { color: rgba(255, 255, 255, 0.92) !important; }
.hs-footer__bottom a { color: #FFFFFF !important; text-decoration: underline; }


/* ==========================================================================
   Theme Mode Toggle Pill (Header)
   ========================================================================== */
.hs-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--hs-border-strong);
  background: var(--hs-subtle);
  color: var(--hs-ink);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.hs-theme-toggle:hover {
  border-color: var(--hs-cobalt);
  background: var(--hs-surface);
}
.hs-theme-toggle__ico { display: inline-flex; align-items: center; }
.hs-ico-moon { display: none; }
html[data-theme="light"] .hs-ico-sun { display: none; }
html[data-theme="light"] .hs-ico-moon { display: inline-flex; }

/* ==========================================================================
   Strict 6-Category Color Matching Across Every Card, Hero, Section & PDF
   ========================================================================== */
[data-cat-theme="mind-games-puzzles"] { --cat-solid: #1E3A6E; --cat-btn: #2A54A1; --cat-ink-dark: #7AA8FF; --cat-ink-light: #1E3A6E; --cat-tint: rgba(42, 84, 161, 0.16); }
[data-cat-theme="art-drawing"]        { --cat-solid: #C83E32; --cat-btn: #DC4C3E; --cat-ink-dark: #FF8A7E; --cat-ink-light: #C83E32; --cat-tint: rgba(200, 62, 50, 0.16); }
[data-cat-theme="photography"]        { --cat-solid: #0E7C7B; --cat-btn: #0E8A7D; --cat-ink-dark: #5CE0D4; --cat-ink-light: #0E7C7B; --cat-tint: rgba(14, 124, 123, 0.16); }
[data-cat-theme="languages"]          { --cat-solid: #6C3FC5; --cat-btn: #7D4FE0; --cat-ink-dark: #BE9EFF; --cat-ink-light: #6C3FC5; --cat-tint: rgba(108, 63, 197, 0.16); }
[data-cat-theme="making-building"]    { --cat-solid: #C95516; --cat-btn: #DF6620; --cat-ink-dark: #FFA466; --cat-ink-light: #C95516; --cat-tint: rgba(201, 85, 22, 0.16); }
[data-cat-theme="outdoors-nature"]    { --cat-solid: #217A4B; --cat-btn: #27945A; --cat-ink-dark: #6CE0A2; --cat-ink-light: #217A4B; --cat-tint: rgba(33, 122, 75, 0.16); }

/* 1. Hero Slides: Primary CTA button uses crisp White pill + matching Category Color text */
.hs-hero-slide[data-cat-theme] .hs-btn--white {
  background: #FFFFFF;
  color: var(--cat-solid) !important;
  box-shadow: 0 10px 26px rgba(10, 18, 38, 0.28);
}
.hs-hero-slide[data-cat-theme] .hs-btn--white:hover {
  background: #F4F7FC;
  color: var(--cat-solid) !important;
  transform: translateY(-2px);
}
.hs-hero-slide[data-cat-theme] .hs-hero-floating-chip {
  border-color: var(--cat-solid);
}
.hs-hero-slide[data-cat-theme] .hs-hero-floating-chip strong {
  color: var(--cat-solid);
}

/* 2. 6 Category Pocket Cards: top bar, stamp, edition text & bottom hover button match category color */
.hs-cat-pocket-card[data-cat-theme] .hs-cat-pocket-card__inner {
  border-top: 4px solid var(--cat-solid);
}
.hs-cat-pocket-card[data-cat-theme] .hs-cat-pocket-card__stamp {
  background: var(--cat-btn) !important;
  color: #FFFFFF !important;
}
.hs-cat-pocket-card[data-cat-theme] .hs-cat-pocket-card__edition {
  color: var(--cat-ink-dark);
}
.hs-cat-pocket-card[data-cat-theme] .hs-cat-pocket-card__foot {
  background: var(--cat-tint);
  color: var(--cat-ink-dark);
}
.hs-cat-pocket-card[data-cat-theme]:hover .hs-cat-pocket-card__foot {
  background: var(--cat-btn);
  color: #FFFFFF;
}

/* 3. 6 Per-Category 3-Article Showcase Sections: every badge, kicker, link & accent matches category color */
.hs-cat-band[data-cat-theme] .hs-step-num,
.hs-cat-band[data-cat-theme] .hs-role-pill,
.hs-cat-band[data-cat-theme] .hs-field-card__num,
.hs-cat-band[data-cat-theme] .hs-btn--yellow {
  background: var(--cat-btn) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.hs-cat-band[data-cat-theme] .hs-cat-band__kicker,
.hs-cat-band[data-cat-theme] .hs-link-more,
.hs-cat-band[data-cat-theme] .hs-read-time,
.hs-cat-band[data-cat-theme] .hs-poster-card__cta,
.hs-cat-band[data-cat-theme] .hs-syllabus-arrow,
.hs-cat-band[data-cat-theme] .hs-card-media__badge {
  color: var(--cat-ink-dark);
}
.hs-cat-band[data-cat-theme] .hs-link-more:hover {
  color: #FFFFFF;
}
.hs-cat-band[data-cat-theme] .hs-lay3-banner .hs-btn--yellow,
.hs-cat-band[data-cat-theme] .hs-syllabus-spotlight .hs-btn--yellow {
  background: #FFFFFF !important;
  color: var(--cat-solid) !important;
}
.hs-cat-band[data-cat-theme] .hs-lay3-banner .hs-role-pill,
.hs-cat-band[data-cat-theme] .hs-syllabus-spotlight .hs-role-pill {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF !important;
}

/* 4. 6 Printable PDF Workbook Cards: price pill, booklet tag, border & button match category color */
.hs-prod-mini-card[data-cat-theme]:hover {
  border-color: var(--cat-btn);
}
.hs-prod-mini-card[data-cat-theme] .hs-prod-mini-card__price {
  background: var(--cat-btn) !important;
  color: #FFFFFF !important;
}
.hs-prod-mini-card[data-cat-theme] .hs-btn--cta {
  background: var(--cat-btn);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}
.hs-prod-mini-card[data-cat-theme] .hs-btn--cta:hover {
  background: var(--cat-solid);
}

/* ==========================================================================
   FULL LIGHT MODE THEME ([data-theme="light"]) — Crisp White Editorial Mode
   ========================================================================== */
html[data-theme="light"] {
  --hs-bg: #FFFFFF;
  --hs-surface: #FFFFFF;
  --hs-surface-warm: #F8FAFC;
  --hs-subtle: #F3F6FA;
  --hs-border: #E2E8F0;
  --hs-border-strong: #CBD5E1;
  --hs-ink: #111827;
  --hs-ink-body: #334155;
  --hs-muted: #5B677B;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] body {
  background: #FFFFFF;
  color: var(--hs-ink-body);
}

html[data-theme="light"] a { color: #0E7C7B; }
html[data-theme="light"] a:hover { color: #094948; }

html[data-theme="light"] .hs-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--hs-border);
}
html[data-theme="light"] .hs-header-search input[type="search"] {
  background: #F3F6FA;
  color: #111827;
  border-color: #CBD5E1;
}
html[data-theme="light"] .hs-header-search input[type="search"]:focus {
  background: #FFFFFF;
  color: #111827;
}
html[data-theme="light"] .hs-menu-toggle,
html[data-theme="light"] .hs-mobile-drawer {
  background: #FFFFFF;
  color: #111827;
}
html[data-theme="light"] .hs-hero-fade {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
}

html[data-theme="light"] .hs-cat-pocket-card__inner,
html[data-theme="light"] .hs-lay1-main,
html[data-theme="light"] .hs-lay1-side,
html[data-theme="light"] .hs-lay3-twin,
html[data-theme="light"] .hs-syllabus-row,
html[data-theme="light"] .hs-bento-right-tall,
html[data-theme="light"] .hs-field-card,
html[data-theme="light"] .hs-guide-card,
html[data-theme="light"] .hs-prod-mini-card,
html[data-theme="light"] .hs-calc-widget,
html[data-theme="light"] .hs-skill-card,
html[data-theme="light"] .hs-article-main,
html[data-theme="light"] .hs-sidebar-card,
html[data-theme="light"] .hs-hobby-group-card,
html[data-theme="light"] .hs-page-card,
html[data-theme="light"] .hs-empty-box,
html[data-theme="light"] .hs-checklist-box,
html[data-theme="light"] .hs-pill-action {
  background: #FFFFFF;
  border-color: #E2E8F0;
  color: #334155;
}

html[data-theme="light"] .hs-cat-pocket-card[data-cat-theme] .hs-cat-pocket-card__edition,
html[data-theme="light"] .hs-cat-pocket-card[data-cat-theme] .hs-cat-pocket-card__foot,
html[data-theme="light"] .hs-cat-band[data-cat-theme] .hs-cat-band__kicker,
html[data-theme="light"] .hs-cat-band[data-cat-theme] .hs-link-more,
html[data-theme="light"] .hs-cat-band[data-cat-theme] .hs-read-time,
html[data-theme="light"] .hs-cat-band[data-cat-theme] .hs-syllabus-arrow {
  color: var(--cat-ink-light);
}
html[data-theme="light"] .hs-cat-band[data-cat-theme] .hs-link-more:hover {
  color: #111827;
}
html[data-theme="light"] .hs-cat-pocket-card[data-cat-theme]:hover .hs-cat-pocket-card__foot {
  color: #FFFFFF;
}
html[data-theme="light"] .hs-cat-band[data-cat-theme] .hs-poster-card__cta {
  color: #FFFFFF;
}

html[data-theme="light"] .hs-cat-pill {
  background: var(--cat-tint, #EEF2F7);
  color: var(--cat-ink-light, #1E3A6E);
  border-color: transparent;
}
html[data-theme="light"] .hs-mini-chip {
  background: #F3F6FA;
  color: #334155;
  border-color: #E2E8F0;
}
html[data-theme="light"] .hs-bento-tool-card {
  background: #FDF3EC;
  border-color: #F4D3BA;
}
html[data-theme="light"] .hs-bento-tool-card__thumb { border-color: #FFFFFF; }
html[data-theme="light"] .hs-lay-field-tray {
  background: linear-gradient(145deg, #EDF7F1 0%, #F7FBF8 100%);
  border-color: #C2E4CF;
}
html[data-theme="light"] .hs-field-card { border-color: #CBE7D6; }
html[data-theme="light"] .hs-field-card__foot { color: #217A4B; }
html[data-theme="light"] .hs-syllabus-row:hover { background: #F6F2FD; }
html[data-theme="light"] .hs-syllabus-arrow { background: #F3F0FA; }
html[data-theme="light"] .hs-prod-mini-card__sample-bar {
  background: #EDF8F2;
  border-color: #C6E8D5;
  color: #1A633C;
}

/* Light Mode Calculator, Tables, Article & Sidebar */
html[data-theme="light"] .hs-section--calc-band { background: #FFFFFF; }
html[data-theme="light"] .hs-calc-field select,
html[data-theme="light"] .hs-calc-presets button,
html[data-theme="light"] .hs-calc-days button,
html[data-theme="light"] .hs-search-inline input[type="search"],
html[data-theme="light"] .hs-sample-form input[type="email"] {
  background: #F8FAFC;
  color: #111827;
  border-color: #CBD5E1;
}
html[data-theme="light"] .hs-calc-presets button.is-active,
html[data-theme="light"] .hs-calc-days button.is-active {
  background: var(--hs-cobalt);
  border-color: var(--hs-cobalt);
  color: #FFFFFF;
}
html[data-theme="light"] .hs-calc-stat { background: #F8FAFC; border-color: #E2E8F0; }
html[data-theme="light"] .hs-calc-label-row strong,
html[data-theme="light"] .hs-calc-stat strong { color: #0E7C7B; }
html[data-theme="light"] .hs-calc-stat:first-child,
html[data-theme="light"] .hs-calc-stat--cost {
  background: #FDECEC;
  border-color: #F3C4BF;
}
html[data-theme="light"] .hs-calc-stat:first-child strong,
html[data-theme="light"] .hs-calc-stat--cost strong { color: #B82B21; }

html[data-theme="light"] .hs-quick-answer {
  background: #FDECEC;
  border-color: #DF7B72;
  color: #111827;
}
html[data-theme="light"] .hs-qa-label { color: #B82B21; }
html[data-theme="light"] .hs-entry-content table,
html[data-theme="light"] .hs-data-table,
html[data-theme="light"] .hs-mistakes-table { background: #FFFFFF; border-color: #E2E8F0; }
html[data-theme="light"] .hs-entry-content th,
html[data-theme="light"] .hs-data-table th,
html[data-theme="light"] .hs-mistakes-table th { background: #131B2E; color: #FFFFFF; }
html[data-theme="light"] .hs-entry-content tbody tr:nth-child(even) { background: #F8FAFC; }
html[data-theme="light"] .hs-day-card,
html[data-theme="light"] .hs-faq-item,
html[data-theme="light"] .hs-faq-details,
html[data-theme="light"] .hs-sources-box,
html[data-theme="light"] .hs-skill-card__cell,
html[data-theme="light"] .hs-cluster-links li a,
html[data-theme="light"] .hs-cluster-links li > span {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #1E293B;
}
html[data-theme="light"] .hs-faq-sign { background: #FFFFFF; border-color: #CBD5E1; color: #0E7C7B; }
html[data-theme="light"] .hs-product-box {
  background: linear-gradient(135deg, #F8FAFC 0%, #E9F7F6 100%);
  border-color: #0E8A7D;
}
html[data-theme="light"] .hs-product-box__sample-pill { color: #1A633C; }
html[data-theme="light"] .hs-sidebar-calc {
  background: linear-gradient(155deg, #E9F7F6 0%, #FFFFFF 100%);
  border-color: #B8E2DF;
}


/* ==========================================================================
   1B. Single-Row Circular Medallion & Starburst Shop Ribbon (Below Hero)
   ========================================================================== */
.hs-shop-ribbon {
  padding: 26px 0 12px;
}

.hs-shop-ribbon__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.hs-shop-ribbon__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hs-shop-star-ico {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--hs-cobalt);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(14, 138, 125, 0.34);
  flex-shrink: 0;
}

.hs-shop-ribbon__kicker {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4FD6C7;
}
html[data-theme="light"] .hs-shop-ribbon__kicker { color: #0E7C7B; }

.hs-shop-ribbon__head h2 {
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 900;
  margin: 0;
}

.hs-shop-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.hs-shop-orb-card {
  position: relative;
  background: var(--hs-surface);
  border: 1.5px solid var(--hs-border);
  border-radius: 22px;
  padding: 18px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.hs-shop-orb-card:hover {
  transform: translateY(-5px);
  border-color: var(--cat-btn);
  box-shadow: var(--shadow-md);
}

.hs-shop-orb-card__media {
  position: relative;
  width: 92px;
  height: 92px;
  margin-bottom: 12px;
}

.hs-shop-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--cat-btn), var(--cat-solid));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}
.hs-shop-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--hs-surface);
  display: block;
  transition: transform 0.3s ease;
}
.hs-shop-orb-card:hover .hs-shop-circle img {
  transform: scale(1.07);
}

/* 10-Point Starburst Price Seal */
.hs-star-seal {
  position: absolute;
  top: -8px;
  right: -10px;
  width: 40px;
  height: 40px;
  color: var(--cat-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.34));
  transition: transform 0.3s ease;
}
.hs-shop-orb-card:hover .hs-star-seal {
  transform: rotate(16deg) scale(1.1);
}
.hs-star-seal__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hs-star-seal__txt {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
}

.hs-shop-orb-card__meta {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cat-ink-dark);
  margin-bottom: 3px;
}
html[data-theme="light"] .hs-shop-orb-card__meta { color: var(--cat-ink-light); }

.hs-shop-orb-card h3 {
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.22;
  margin: 0 0 12px;
  color: var(--hs-ink);
}

.hs-shop-buy-btn {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  background: var(--cat-btn);
  color: #FFFFFF !important;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.16s ease, background 0.16s ease;
}
.hs-shop-buy-btn:hover {
  background: var(--cat-solid);
  transform: translateY(-1px);
  color: #FFFFFF !important;
}

@media (max-width: 1120px) {
  .hs-shop-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .hs-shop-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .hs-shop-orb-card {
    flex: 0 0 170px;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   3B. Latest Guides — 5-Post Editorial Magazine Grid (2 Featured + 3 Compact)
   ========================================================================== */
.hs-latest5-sec {
  padding: 58px 0 64px;
  border-top: 1px solid var(--hs-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, transparent 100%);
}
html[data-theme="light"] .hs-latest5-sec {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.hs-latest5-head {
  margin-bottom: 26px;
}

.hs-latest5-wrap {
  display: grid;
  gap: 20px;
}

.hs-latest5-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hs-latest5-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hs-latest5-card {
  position: relative;
  background: var(--hs-surface);
  border: 1.5px solid var(--hs-border);
  border-top: 4px solid var(--cat-solid);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.hs-latest5-card:hover {
  transform: translateY(-5px);
  border-color: var(--cat-btn);
  box-shadow: var(--shadow-md);
}

.hs-latest5-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hs-latest5-media {
  position: relative;
  overflow: hidden;
  background: #0F172A;
}
.hs-latest5-card--lead .hs-latest5-media {
  aspect-ratio: 16 / 9;
}
.hs-latest5-card--compact .hs-latest5-media {
  aspect-ratio: 16 / 10;
}

.hs-latest5-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hs-latest5-card:hover .hs-latest5-media img {
  transform: scale(1.06);
}

.hs-latest5-media__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 25, 0.14) 0%, rgba(8, 13, 25, 0.04) 45%, rgba(8, 13, 25, 0.56) 100%);
  pointer-events: none;
}

.hs-latest5-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--cat-btn);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.hs-latest5-num {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(11, 16, 29, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.hs-latest5-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 20px;
}
.hs-latest5-card--compact .hs-latest5-body {
  padding: 18px 18px 18px;
}

.hs-latest5-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hs-muted);
  margin-bottom: 8px;
}

.hs-latest5-body h3 {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--hs-ink);
  line-height: 1.24;
  margin: 0 0 10px;
  transition: color 0.16s ease;
}
.hs-latest5-card--lead .hs-latest5-body h3 {
  font-size: clamp(20px, 2vw, 23px);
}
.hs-latest5-card--compact .hs-latest5-body h3 {
  font-size: 17.5px;
}
.hs-latest5-card:hover .hs-latest5-body h3 {
  color: var(--cat-ink-dark);
}

.hs-latest5-body p {
  font-size: 14.5px;
  line-height: 1.56;
  color: var(--hs-muted);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hs-latest5-card--compact .hs-latest5-body p {
  font-size: 13.8px;
  -webkit-line-clamp: 2;
}

.hs-latest5-foot {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--hs-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hs-latest5-read {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hs-muted);
}

.hs-latest5-cta {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  color: var(--cat-ink-dark);
  transition: transform 0.18s ease;
}
.hs-latest5-card:hover .hs-latest5-cta {
  transform: translateX(3px);
}

/* Light Mode Overrides for Latest Guides 5-Post Section */
html[data-theme="light"] .hs-latest5-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  border-top-color: var(--cat-solid);
}
html[data-theme="light"] .hs-latest5-card:hover {
  border-color: var(--cat-btn);
}
html[data-theme="light"] .hs-latest5-card:hover .hs-latest5-body h3,
html[data-theme="light"] .hs-latest5-cta {
  color: var(--cat-ink-light);
}

@media (max-width: 960px) {
  .hs-latest5-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .hs-latest5-top,
  .hs-latest5-bottom {
    grid-template-columns: 1fr;
  }
  .hs-latest5-sec {
    padding: 44px 0 48px;
  }
}

/* ==========================================================================
   v1.0.1 fixes (review 5 Dec 2026)
   ========================================================================== */

/* Mobile header: menu button must always stay on screen. */
.hs-header__bar { min-width: 0; }
.hs-brand { min-width: 0; }
.hs-brand__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-header__right { flex-shrink: 0; }

@media (max-width: 620px) {
  .hs-header__bar { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .hs-brand { flex: 1 1 auto; gap: 8px; }
  .hs-brand__mark svg { width: 30px; height: 30px; }
  .hs-brand__name { font-size: 18px; }
  .hs-header__right { gap: 8px; }
  .hs-theme-toggle { padding: 8px 10px; }
  .hs-theme-toggle__label { display: none; }
}

/* Free sample link inside the product box. */
.hs-product-box__sample-link { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* v1.0.2: products without a Gumroad link */
.hs-soon{opacity:.7;cursor:default;pointer-events:none;filter:saturate(.6)}


/* v1.0.2: cluster box readable in dark and light mode */
.hs-cluster-nav-box { background: var(--hs-surface); border: 1px solid var(--hs-border-strong, var(--hs-border)); }
.hs-cluster-nav-box__head h3 { color: var(--hs-ink); }
.hs-cluster-links li a,
.hs-cluster-links li > span { background: var(--hs-bg); color: var(--hs-ink); border-color: var(--hs-border); }
.hs-cluster-links li a:hover { border-color: #DF6620; }
.hs-cluster-links li.is-current > span { background: rgba(223, 102, 32, 0.16); border-color: #DF6620; color: var(--hs-ink); }
.hs-cluster-links li.is-current em { color: #F08A45; }
html[data-theme="light"] .hs-cluster-links li.is-current em { color: #B4500F; }

/* v1.0.3: category card image slider */
.hs-pslider .hs-pslide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease, transform 0.3s ease; }
.hs-pslider .hs-pslide.is-on { opacity: 1; }
.hs-pdots { position: absolute; left: 10px; bottom: 9px; display: flex; gap: 5px; z-index: 2; }
.hs-pdots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); transition: background 0.3s, width 0.3s; }
.hs-pdots i.is-on { width: 16px; border-radius: 4px; background: #FFFFFF; }
.hs-cat-pocket-card__stamp { z-index: 2; }

/* v1.0.4: bigger hero deck cards on desktop */
@media (min-width: 1101px) {
  .hs-hero-slide__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .hs-hero-deck { width: 440px; height: 330px; margin: 0 30px; }
  .hs-deck-card.pos-left { transform: translate3d(-80px, 14px, 0) scale(0.84) rotate(-9deg); }
  .hs-deck-card.pos-right { transform: translate3d(80px, 14px, 0) scale(0.84) rotate(9deg); }
  .hs-deck-card.pos-left:hover { transform: translate3d(-92px, 10px, 0) scale(0.87) rotate(-10.5deg); }
  .hs-deck-card.pos-right:hover { transform: translate3d(92px, 10px, 0) scale(0.87) rotate(10.5deg); }
}

/* v1.0.7: author link + image in byline and author page */
.hs-byline__author { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.hs-byline__author strong { color: var(--hs-ink); }
.hs-byline__author:hover strong, .hs-byline__author:focus-visible strong { color: #DF6620; text-decoration: underline; text-underline-offset: 3px; }
.hs-byline__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 28px; }
.hs-author-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hs-author-head h1 { margin: 0; }
.hs-author-head__avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 96px; }
@media (max-width: 600px) { .hs-author-head__avatar { width: 72px; height: 72px; flex-basis: 72px; } }