/*
 * HH.CGLTGCG Modern Art Gallery Warm-Editorial Theme (0.8.0)
 * Unifies Homepage, Course/Resource Archives, Course Detail, Search, and Header
 * into one cohesive, warm gallery aesthetic (warm canvas + elevated rounded cards).
 */

:root {
  --gal-bg: #f6f5f1;
  --gal-surface: #ffffff;
  --gal-surface-soft: #f1f0eb;
  --gal-ink: #181a17;
  --gal-ink-2: #3a3e38;
  --gal-muted: #686d65;
  --gal-accent: #17594a;
  --gal-accent-soft: #e8f2ee;
  --gal-gold: #e9bc42;
  --gal-gold-deep: #8c6208;
  --gal-gold-soft: #fdf5df;
  --gal-border: rgba(24, 26, 23, 0.08);
  --gal-border-strong: rgba(24, 26, 23, 0.14);
  --gal-shadow-sm: 0 2px 10px rgba(24, 26, 23, 0.04);
  --gal-shadow-md: 0 10px 28px rgba(24, 26, 23, 0.07);
  --gal-shadow-hover: 0 18px 40px rgba(24, 26, 23, 0.11);
  --gal-radius-sm: 10px;
  --gal-radius-md: 16px;
  --gal-radius-lg: 22px;
  --gal-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ==========================================================================
   1. Unified Warm Gallery Canvas across all public pages (no noisy dots!)
   ========================================================================== */
body.home,
body.home .hh-home,
body.category,
body.category .main-bg,
body.category .body-bg,
body.category .hh-archive,
body.search,
body.search .main-bg,
body.search .body-bg,
body.search .hh-archive,
body.single-post,
body.single-post .main-bg,
body.single-post .body-bg,
body.single-post .hh-product,
body.page-id-34475,
body.page-id-34475 .main-bg,
body.page-id-34475 .body-bg {
  background: var(--gal-bg) !important;
  background-image: none !important;
  color: var(--gal-ink);
  font-family: var(--gal-sans);
}

/* ==========================================================================
   2. Refined Frosted Glass Header & Pill Controls
   ========================================================================== */
body .hh-site-header {
  border-bottom: 1px solid var(--gal-border) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 4px 20px rgba(24, 26, 23, 0.035) !important;
  backdrop-filter: blur(18px) saturate(160%);
}

body .hh-site-logo-text {
  letter-spacing: -0.045em;
  color: var(--gal-ink);
}

body .hh-nav-link {
  padding: 0 4px;
  border-radius: 8px;
  transition: color .16s ease, background-color .16s ease;
}

body .hh-nav-dropdown {
  border-radius: 16px !important;
  border: 1px solid var(--gal-border-strong) !important;
  box-shadow: 0 22px 54px rgba(20, 24, 20, 0.14) !important;
  padding: 12px !important;
}

body .hh-nav-dropdown a {
  border-radius: 9px;
  transition: background-color .14s ease, color .14s ease;
}

body .hh-nav-dropdown a:hover {
  background: var(--gal-surface-soft);
}

/* Pill search box */
body .hh-site-search {
  border-radius: 999px !important;
  border: 1px solid rgba(24, 26, 23, 0.1) !important;
  background: var(--gal-surface-soft) !important;
  padding: 2px 3px 2px 6px !important;
  height: 40px !important;
  grid-template-columns: 32px minmax(0, 1fr) auto !important;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body .hh-site-search:focus-within {
  background: #fff !important;
  border-color: var(--gal-accent) !important;
  box-shadow: 0 0 0 3px rgba(23, 89, 74, 0.12) !important;
}

body .hh-site-search button {
  height: 32px !important;
  min-width: 56px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: var(--gal-ink) !important;
  color: #fff !important;
  font-weight: 800;
  transition: background-color .16s ease;
}

body .hh-site-search button:hover {
  background: var(--gal-accent) !important;
}

/* Pill account buttons */
body .hh-site-account .menu-link,
body .hh-member-link,
body .hh-zibll-account .but,
body .hh-zibll-account .btn {
  border-radius: 999px !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border-color: var(--gal-border-strong) !important;
  transition: transform .15s ease, background-color .16s ease, border-color .16s ease;
}

body .hh-zibll-account .payvip-icon,
body .hh-member-link {
  background: linear-gradient(135deg, #1a1c19 0%, #2a2d27 100%) !important;
  border-color: #1a1c19 !important;
  color: #f6d465 !important;
}

body .hh-zibll-account .signin-loader:hover,
body .hh-site-account .menu-link:hover {
  border-color: var(--gal-ink) !important;
  background: var(--gal-surface-soft) !important;
}

/* Course strip row 2: clean pill tabs */
body .hh-course-nav {
  border-top-color: var(--gal-border) !important;
  height: 40px !important;
  min-height: 40px !important;
}

body .hh-course-nav-title {
  border-right-color: var(--gal-border-strong) !important;
  font-size: 13px !important;
}

body .hh-course-nav-links {
  gap: 4px !important;
  padding-left: 10px !important;
}

body .hh-course-nav-links a {
  min-height: 28px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--gal-ink-2) !important;
  transition: background-color .15s ease, color .15s ease;
}

body .hh-course-nav-links a:hover {
  background: var(--gal-surface-soft) !important;
  color: var(--gal-ink) !important;
}

body .hh-course-nav-links a[aria-current="page"] {
  background: var(--gal-accent-soft) !important;
  color: var(--gal-accent) !important;
  box-shadow: none !important;
}

body .hh-mobile-menu > summary {
  border-radius: 10px !important;
  border-color: var(--gal-border-strong) !important;
}

body .hh-mobile-drawer {
  border-radius: 16px !important;
  border-color: var(--gal-border-strong) !important;
}

body .hh-mobile-drawer > a,
body .hh-mobile-tools a {
  border-radius: 10px !important;
  border-color: var(--gal-border) !important;
  background: var(--gal-bg) !important;
}

/* ==========================================================================
   3. Homepage: Split Editorial Hero + Muted Gallery Icons + Elevated Cards
   ========================================================================== */
body.home .hh-hero {
  width: min(1240px, calc(100% - 48px)) !important;
  margin: 22px auto 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #161816 !important;
  box-shadow: 0 22px 54px rgba(20, 22, 18, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

@media (min-width: 901px) {
  body.home .hh-hero {
    min-height: 440px !important;
    height: clamp(420px, 34vw, 490px) !important;
  }

  /* Clean Split Hero: artwork occupies right 57% with soft left fade, zero text collision */
  body.home .hh-hero-photo {
    left: 43% !important;
    right: 0 !important;
    width: 57% !important;
  }

  body.home .hh-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, #161816 0%, rgba(22, 24, 22, 0.72) 12%, rgba(22, 24, 22, 0.12) 32%, transparent 55%);
  }

  body.home .hh-hero-photo img {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    object-fit: cover !important;
  }

  body.home .hh-hero-copy {
    width: 46% !important;
    max-width: 560px !important;
    padding: 36px 40px 38px 46px !important;
    background: linear-gradient(90deg, #161816 86%, transparent 100%);
  }
}

body.home .hh-hero-copy > p span {
  border-radius: 999px !important;
  padding: 4px 11px !important;
  border: 1px solid rgba(233, 188, 66, 0.45) !important;
  background: rgba(233, 188, 66, 0.12) !important;
  color: #f6d465 !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
}

body.home .hh-hero-copy h1 {
  font-family: var(--gal-sans) !important;
  font-size: clamp(28px, 2.7vw, 38px) !important;
  font-weight: 900 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em !important;
}

body.home .hh-hero-copy > .hh-hero-site-summary {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
}

body.home .hh-hero-copy > .hh-hero-feature {
  border-top-color: rgba(255, 255, 255, 0.14) !important;
  margin-top: 16px !important;
  padding-top: 14px !important;
}

body.home .hh-hero-feature h2 {
  font-family: var(--gal-sans) !important;
  font-size: clamp(17px, 1.55vw, 21px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body.home .hh-hero-copy nav {
  margin-top: 20px !important;
  gap: 12px !important;
}

body.home .hh-hero-copy nav a {
  min-height: 44px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

body.home .hh-hero-copy nav a:first-child {
  background: #f4cf5d !important;
  border-color: #f4cf5d !important;
  color: #171816 !important;
  box-shadow: 0 8px 22px rgba(244, 207, 93, 0.28);
}

body.home .hh-hero-copy nav a:first-child:hover {
  transform: translateY(-1px);
  background: #fae07f !important;
}

body.home .hh-hero-copy nav a:last-child {
  border-color: rgba(255, 255, 255, 0.24) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.home .hh-hero-copy nav a:last-child:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

body.home .hh-hero-arrows button {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(22, 24, 22, 0.62) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
  transition: background-color .16s ease, transform .16s ease;
}

body.home .hh-hero-arrows button:hover {
  background: rgba(22, 24, 22, 0.88) !important;
  transform: scale(1.06);
}

body.home .hh-hero-dots button {
  height: 4px !important;
  border-radius: 999px !important;
}

/* Modern Gallery Category Quick-Nav */
body.home .hh-category-shortcuts {
  width: min(1240px, calc(100% - 48px)) !important;
  margin: 22px auto 0 !important;
  padding: 20px 24px !important;
  border-radius: 20px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
  backdrop-filter: none !important;
}

body.home .hh-category-shortcuts-inner {
  width: 100% !important;
  padding: 0 !important;
}

body.home .hh-category-shortcuts-head {
  margin-bottom: 14px !important;
}

body.home .hh-category-shortcuts-head strong {
  font-family: var(--gal-sans) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--gal-ink) !important;
}

body.home .hh-category-shortcuts-head > a {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gal-surface-soft);
  color: var(--gal-accent) !important;
  font-size: 12.5px !important;
  font-weight: 800;
  transition: background-color .15s ease;
}

body.home .hh-category-shortcuts-head > a:hover {
  background: var(--gal-accent-soft);
}

body.home .hh-category-shortcuts-grid {
  gap: 10px !important;
}

body.home .hh-category-shortcuts-grid > a {
  padding: 10px 12px !important;
  border-radius: 13px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-bg) !important;
  color: var(--gal-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

body.home .hh-category-shortcuts-grid > a:hover,
body.home .hh-category-shortcuts-grid > a:focus-visible {
  transform: translateY(-2px);
  background: #fff !important;
  border-color: rgba(23, 89, 74, 0.28) !important;
  box-shadow: 0 8px 20px rgba(24, 26, 23, 0.06) !important;
}

/* Soft muted gallery icon tones instead of dated bright circles */
body.home .hh-category-mark {
  width: 32px !important;
  height: 32px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
body.home .hh-category-mark.is-red    { background: #faeae8 !important; color: #b5453c !important; }
body.home .hh-category-mark.is-blue   { background: #e8effa !important; color: #2f5ca8 !important; }
body.home .hh-category-mark.is-gold   { background: #fbf2da !important; color: #a4730c !important; }
body.home .hh-category-mark.is-green  { background: #e6f3ec !important; color: #1d6b4d !important; }
body.home .hh-category-mark.is-rose   { background: #f8e8f0 !important; color: #a63d6d !important; }
body.home .hh-category-mark.is-violet { background: #efeafc !important; color: #6145a8 !important; }
body.home .hh-category-mark.is-teal   { background: #e5f3f2 !important; color: #1a6d6c !important; }
body.home .hh-category-mark.is-wine   { background: #f5e9ec !important; color: #8c354c !important; }
body.home .hh-category-mark.is-indigo { background: #eaecfa !important; color: #3d4ba8 !important; }

/* Homepage section headings & cards */
body.home .hh-content {
  width: min(1240px, calc(100% - 48px)) !important;
  padding-top: 36px !important;
}

body.home .hh-section {
  margin-bottom: 52px !important;
}

body.home .hh-section-head h2 {
  font-family: var(--gal-sans) !important;
  font-size: clamp(21px, 2vw, 26px) !important;
  font-weight: 800 !important;
  color: var(--gal-ink) !important;
  letter-spacing: -0.02em;
}

body.home .hh-section-head h2 span {
  font-family: var(--gal-sans) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: var(--gal-muted) !important;
  margin-left: 10px !important;
  opacity: 0.72;
}

body.home .hh-section-head > a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gal-border-strong);
  background: var(--gal-surface);
  color: var(--gal-ink-2) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

body.home .hh-section-head > a:hover {
  border-color: var(--gal-accent);
  color: var(--gal-accent) !important;
  background: var(--gal-accent-soft);
}

/* Unified Elevated Gallery Course Cards on Homepage */
body.home .hh-card,
body.home .hh-resource-card {
  border-radius: 16px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
  overflow: hidden !important;
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s ease, border-color .24s ease !important;
}

body.home .hh-card:hover,
body.home .hh-resource-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--gal-shadow-hover) !important;
  border-color: rgba(24, 26, 23, 0.14) !important;
}

body.home .hh-card-thumb {
  overflow: hidden !important;
  background: var(--gal-surface-soft) !important;
}

body.home .hh-card-thumb img {
  transition: transform .42s cubic-bezier(.22, 1, .36, 1) !important;
}

body.home .hh-card:hover .hh-card-thumb img {
  transform: scale(1.045) !important;
}

body.home .hh-card-body {
  padding: 14px 16px 15px !important;
  background: var(--gal-surface) !important;
}

body.home .hh-card-category {
  padding: 3px 9px !important;
  border-radius: 999px !important;
  background: var(--gal-accent-soft) !important;
  color: var(--gal-accent) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

body.home .hh-card-price {
  color: var(--gal-ink) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

body.home .hh-card-body h3 {
  font-family: var(--gal-sans) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  color: var(--gal-ink) !important;
}

body.home .hh-card.is-mini .hh-card-body {
  padding: 12px 13px 13px !important;
}

body.home .hh-card.is-mini .hh-card-body h3 {
  font-size: 13.5px !important;
}

body.home .hh-card-badges > span {
  border-radius: 999px !important;
}

body.home .hh-resource-card {
  padding: 12px !important;
}

body.home .hh-resource-cover {
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* Homepage membership & route & video cards */
body.home .hh-membership-intro,
body.home .hh-route {
  border-radius: 22px !important;
  box-shadow: var(--gal-shadow-md) !important;
}

body.home .hh-route-grid > a {
  border-radius: 14px !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

body.home .hh-route-grid > a:hover {
  transform: translateY(-3px);
}

body.home .hh-video-frame {
  border-radius: 20px !important;
  border: 1px solid var(--gal-border-strong) !important;
  box-shadow: var(--gal-shadow-md) !important;
}

body.home .hh-video-play {
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background: rgba(22, 24, 22, 0.86) !important;
  color: #f6d465 !important;
  padding: 0 24px !important;
  height: 52px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(8px);
}

body.home .hh-home-next {
  border-top: 1px solid var(--gal-border);
}

body.home .hh-home-next-links > a {
  border-radius: 14px !important;
}

/* ==========================================================================
   4. Category Archive & Search — Complete Gallery Redesign
   ========================================================================== */
body.category .hh-archive,
body.search .hh-archive {
  padding: 28px 24px 80px !important;
  font-family: var(--gal-sans) !important;
}

.hh-archive-hero,
.hh-archive-filter,
.hh-zibll-search-wrap {
  width: min(1220px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Rounded Editorial Archive Header */
.hh-archive-hero {
  padding: 28px 32px !important;
  margin-bottom: 18px !important;
  border-radius: 20px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
}

.hh-archive-hero p {
  color: var(--gal-accent) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  margin: 0 0 8px !important;
}

.hh-archive-hero h1 {
  font-family: var(--gal-sans) !important;
  font-size: clamp(24px, 2.6vw, 34px) !important;
  font-weight: 900 !important;
  color: var(--gal-ink) !important;
  letter-spacing: -0.025em !important;
}

.hh-archive-count {
  padding: 6px 14px !important;
  border-radius: 999px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface-soft) !important;
  color: var(--gal-ink-2) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.hh-archive-count b {
  color: var(--gal-accent) !important;
}

.hh-archive-desc {
  margin-top: 10px !important;
  color: var(--gal-muted) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

/* Sleek Single-Card Pill Filter Bar */
.hh-archive-filter {
  padding: 18px 24px 20px !important;
  margin-bottom: 26px !important;
  border-radius: 18px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
}

.hh-archive-filter-head {
  padding-bottom: 12px !important;
  margin-bottom: 14px !important;
  border-bottom: 1px solid var(--gal-border) !important;
}

.hh-archive-filter-head > span {
  color: var(--gal-muted) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
}

/* Modern Segmented Sort Switch */
.hh-archive-sort {
  display: inline-flex !important;
  gap: 4px !important;
  padding: 3px !important;
  border-radius: 999px !important;
  background: var(--gal-surface-soft) !important;
}

.hh-archive-sort a {
  min-height: 30px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--gal-muted) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.hh-archive-sort a.active {
  background: var(--gal-surface) !important;
  color: var(--gal-ink) !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(24, 26, 23, 0.08) !important;
}

/* Pill Topic Tags */
.hh-archive-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.hh-archive-tags a {
  min-height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid var(--gal-border-strong) !important;
  background: var(--gal-bg) !important;
  color: var(--gal-ink-2) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: all .15s ease !important;
}

.hh-archive-tags a:hover {
  border-color: var(--gal-accent) !important;
  background: var(--gal-accent-soft) !important;
  color: var(--gal-accent) !important;
}

.hh-archive-tags a.active {
  border-color: var(--gal-ink) !important;
  background: var(--gal-ink) !important;
  color: #fff !important;
}

.hh-archive-clear-btn {
  border-radius: 999px !important;
}

/* Gallery Course & Resource Archive Grid */
.hh-archive-grid {
  width: min(1220px, 100%) !important;
  margin: 0 auto !important;
  gap: 22px !important;
}

.hh-archive-course-card,
.hh-archive-resource-card {
  border-radius: 16px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
  overflow: hidden !important;
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s ease, border-color .24s ease !important;
}

.hh-archive-course-card:hover,
.hh-archive-resource-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--gal-shadow-hover) !important;
  border-color: var(--gal-border-strong) !important;
}

.hh-archive-course-cover,
.hh-archive-resource-cover {
  border: 0 !important;
  background: var(--gal-surface-soft) !important;
  overflow: hidden !important;
}

.hh-archive-course-cover img,
.hh-archive-resource-cover img {
  transition: transform .42s cubic-bezier(.22, 1, .36, 1) !important;
}

.hh-archive-course-card:hover .hh-archive-course-cover img,
.hh-archive-resource-card:hover .hh-archive-resource-cover img {
  transform: scale(1.045) !important;
}

.hh-archive-course-body {
  padding: 16px 18px 18px !important;
  display: grid !important;
  gap: 10px !important;
}

.hh-archive-course-body > div:first-child {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.hh-archive-course-body > div:first-child span:first-child {
  padding: 3px 10px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--gal-accent-soft) !important;
  color: var(--gal-accent) !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
}

.hh-archive-course-body > div:first-child span:last-child {
  padding: 3px 10px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--gal-gold-soft) !important;
  color: var(--gal-gold-deep) !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
}

.hh-archive-course-body h2,
.hh-archive-resource-body h2 {
  font-family: var(--gal-sans) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  color: var(--gal-ink) !important;
  margin: 0 !important;
}

.hh-archive-course-body p {
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: var(--gal-muted) !important;
  margin: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hh-archive-course-body footer {
  padding-top: 10px !important;
  border-top: 1px solid var(--gal-border) !important;
  color: var(--gal-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.hh-archive-resource-body {
  padding: 14px 16px 16px !important;
}

.hh-archive-resource-body strong {
  color: var(--gal-gold-deep) !important;
}

/* Rounded Pagination */
.hh-archive-pagination {
  margin-top: 40px !important;
  gap: 8px !important;
}

.hh-archive-pagination .page-numbers {
  min-width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  border: 1px solid var(--gal-border-strong) !important;
  background: var(--gal-surface) !important;
  color: var(--gal-ink-2) !important;
  font-weight: 700 !important;
  box-shadow: var(--gal-shadow-sm);
}

.hh-archive-pagination .page-numbers.current {
  border-color: var(--gal-ink) !important;
  background: var(--gal-ink) !important;
  color: #fff !important;
}

.hh-archive-empty,
.hh-search-empty-help {
  border-radius: 20px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
}

.hh-empty-actions a {
  border-radius: 999px !important;
}

/* Search Page Polish */
.hh-zibll-search-box {
  width: 100% !important;
  padding: 16px 20px !important;
  border-radius: 18px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
}

.hh-search-page-form {
  display: flex;
  gap: 10px;
}

.hh-search-page-form input[type="search"] {
  border-radius: 999px !important;
  padding: 0 18px !important;
  height: 44px !important;
  border: 1px solid var(--gal-border-strong) !important;
  background: var(--gal-bg) !important;
}

.hh-search-page-form button[type="submit"] {
  border-radius: 999px !important;
  padding: 0 24px !important;
  height: 44px !important;
  background: var(--gal-ink) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

.hh-zibll-search-wrap .search-tab-header {
  border-radius: 18px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
  padding: 16px 20px !important;
}

.hh-zibll-search-wrap .tab-nav-theme a,
.hh-zibll-search-wrap .search-filter-item a,
.hh-zibll-search-wrap .search-filter-item > span:not(:first-child) {
  border-radius: 999px !important;
}

.hh-zibll-search-wrap .posts-item {
  border-radius: 16px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
}

.hh-zibll-search-wrap .posts-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--gal-shadow-hover) !important;
}

.hh-zibll-search-wrap .posts-item .item-tags .but {
  border-radius: 999px !important;
}

/* ==========================================================================
   5. Course Detail Page (/35803.html) — Coloso-style Modern Gallery Showcase
   ========================================================================== */
body.single-post .hh-product {
  padding: 28px 24px 96px !important;
  font-family: var(--gal-sans) !important;
  color: var(--gal-ink) !important;
}

body.single-post .hh-product-shell {
  width: min(1220px, 100%) !important;
  margin: 0 auto !important;
  grid-template-columns: minmax(0, 1fr) 356px !important;
  gap: 28px !important;
}

body.single-post .hh-product-main {
  gap: 24px !important;
}

/* Elevated White Cards for Hero, Article, Actions, Comments, Related */
body.single-post .hh-product-hero,
body.single-post .hh-product-block {
  padding: 28px 30px !important;
  border-radius: 20px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
}

/* Clean Gallery Framed Cover */
body.single-post .hh-product-cover {
  padding: 16px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--gal-surface-soft) !important;
}

body.single-post .hh-product-cover img {
  max-height: 480px !important;
  width: auto !important;
  max-width: 100% !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 28px rgba(24, 26, 23, 0.12) !important;
}

body.single-post .hh-product-breadcrumb {
  margin-bottom: 4px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--gal-muted) !important;
}

body.single-post .hh-product-breadcrumb a:hover {
  color: var(--gal-accent) !important;
}

body.single-post .hh-product h1 {
  font-family: var(--gal-sans) !important;
  font-size: clamp(23px, 2.5vw, 33px) !important;
  font-weight: 900 !important;
  line-height: 1.28 !important;
  letter-spacing: -0.02em !important;
  color: var(--gal-ink) !important;
}

body.single-post .hh-product-original {
  font-size: 14.5px !important;
  color: var(--gal-muted) !important;
  font-weight: 600 !important;
}

/* Sleek inline meta strip replacing giant 3-cell wireframe stats table */
.hh-product-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--gal-bg);
  color: var(--gal-muted);
  font-size: 13px;
  font-weight: 700;
}

.hh-product-meta-strip .hh-meta-price {
  color: var(--gal-gold-deep);
  background: var(--gal-gold-soft);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 900;
}

.hh-product-meta-strip .hh-meta-dot {
  opacity: 0.35;
}

.hh-product-meta-strip i {
  margin-right: 4px;
  opacity: 0.7;
}

/* Soft Pill Tags */
body.single-post .hh-product-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body.single-post .hh-product-tags a {
  padding: 5px 13px !important;
  border-radius: 999px !important;
  border: 1px solid var(--gal-border-strong) !important;
  background: var(--gal-surface) !important;
  color: var(--gal-ink-2) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  transition: all .15s ease !important;
}

body.single-post .hh-product-tags a:hover {
  border-color: var(--gal-accent) !important;
  background: var(--gal-accent-soft) !important;
  color: var(--gal-accent) !important;
}

/* Section Headers on Detail Page */
body.single-post .hh-product-section-title {
  padding-bottom: 14px !important;
  margin-bottom: 20px !important;
  border-bottom: 1px solid var(--gal-border) !important;
}

body.single-post .hh-product-section-title h2 {
  font-family: var(--gal-sans) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--gal-ink) !important;
}

body.single-post .hh-product-section-title span {
  font-family: var(--gal-sans) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--gal-muted) !important;
  letter-spacing: 0 !important;
}

/* Prose Reading Experience */
body.single-post .hh-product-prose {
  font-family: var(--gal-sans) !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: var(--gal-ink-2) !important;
}

body.single-post .hh-product-prose img {
  border-radius: 12px !important;
  box-shadow: 0 6px 22px rgba(24, 26, 23, 0.07) !important;
  margin: 18px auto !important;
}

/* Elevated Sticky Right Purchase Card */
body.single-post .hh-product-side {
  position: sticky !important;
  top: 110px !important;
  padding: 24px !important;
  border-radius: 20px !important;
  border: 1px solid var(--gal-border) !important;
  border-top: 3px solid var(--gal-gold) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-md) !important;
}

body.single-post .hh-product-side-label {
  color: var(--gal-accent) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 14px !important;
}

body.single-post .hh-product-price-panel {
  border: 0 !important;
  padding: 0 !important;
  margin-bottom: 14px !important;
}

body.single-post .hh-product-price-label {
  color: var(--gal-muted) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.single-post .hh-product-price-main {
  margin: 4px 0 14px !important;
  color: var(--gal-ink) !important;
}

body.single-post .hh-product-price-main b {
  font-family: var(--gal-sans) !important;
  font-size: 38px !important;
  font-weight: 900 !important;
}

body.single-post .hh-product-price-list {
  display: grid !important;
  gap: 8px !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-post .hh-product-price-list span {
  padding: 10px 14px !important;
  border-radius: 12px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-bg) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--gal-ink-2) !important;
}

body.single-post .hh-product-price-list span.active {
  border-color: rgba(23, 89, 74, 0.28) !important;
  background: var(--gal-accent-soft) !important;
  color: var(--gal-accent) !important;
}

body.single-post .hh-product-price-list span:not(:first-child) {
  background: var(--gal-gold-soft) !important;
  border-color: rgba(233, 188, 66, 0.35) !important;
  color: var(--gal-gold-deep) !important;
}

body.single-post .hh-product-price-panel > p {
  margin: 10px 0 0 !important;
  color: var(--gal-muted) !important;
  font-size: 12px !important;
}

/* Rounded Black-Gold Primary CTA */
body.single-post .hh-product-buy .pay-box .but.jb-blue,
body.single-post .hh-product-buy .pay-box .signin-loader.but,
body.single-post .hh-product-buy .pay-box .initiate-pay.but {
  border-radius: 12px !important;
  min-height: 48px !important;
  background: linear-gradient(135deg, #171816 0%, #2a2d27 100%) !important;
  color: #f6d465 !important;
  box-shadow: 0 10px 24px rgba(23, 24, 22, 0.16) !important;
}

body.single-post .hh-product-buy .pay-box .but.jb-blue:hover,
body.single-post .hh-product-buy .pay-box .signin-loader.but:hover,
body.single-post .hh-product-buy .pay-box .initiate-pay.but:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(23, 24, 22, 0.22) !important;
}

body.single-post .hh-product-side-list {
  margin-top: 16px !important;
}

body.single-post .hh-product-side-list li {
  border-top-color: var(--gal-border) !important;
  padding: 10px 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* Action pills, Comments, Related Cards */
body.single-post .hh-product-action {
  border-radius: 999px !important;
  border: 1px solid var(--gal-border-strong) !important;
  background: var(--gal-bg) !important;
  transition: all .16s ease !important;
}

body.single-post .hh-product-action:hover {
  border-color: var(--gal-accent) !important;
  background: var(--gal-accent-soft) !important;
  color: var(--gal-accent) !important;
}

body.single-post .hh-product-related {
  gap: 16px !important;
}

body.single-post .hh-product-related-card {
  padding: 12px !important;
  border-radius: 14px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-bg) !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}

body.single-post .hh-product-related-card:hover {
  transform: translateY(-3px);
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-md) !important;
}

body.single-post .hh-product-related-card img {
  border-radius: 10px !important;
  border: 0 !important;
}

body.single-post .hh-product-related-card strong {
  font-family: var(--gal-sans) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

body.single-post .comment-form textarea {
  border-radius: 12px !important;
  border-color: var(--gal-border-strong) !important;
}

body.single-post .comment-form .submit {
  border-radius: 999px !important;
  padding: 0 24px !important;
}

/* Mobile Sticky Purchase Bar rounded CTA */
.hh-mobile-buy-cta {
  border-radius: 999px !important;
}

/* Responsive adjustments */
@media (max-width: 1050px) {
  body.single-post .hh-product-shell {
    grid-template-columns: 1fr !important;
  }
  body.single-post .hh-product-side {
    position: static !important;
  }
}

@media (max-width: 720px) {
  body.home .hh-hero,
  body.home .hh-category-shortcuts,
  body.home .hh-content {
    width: calc(100% - 24px) !important;
  }
  body.home .hh-hero {
    margin-top: 12px !important;
    border-radius: 18px !important;
  }
  body.home .hh-category-shortcuts {
    padding: 16px !important;
    border-radius: 16px !important;
  }
  body.category .hh-archive,
  body.search .hh-archive {
    padding: 16px 14px 64px !important;
  }
  .hh-archive-hero,
  .hh-archive-filter {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }
  .hh-archive-tags {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }
  body.single-post .hh-product {
    padding: 16px 14px calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.single-post .hh-product-hero,
  body.single-post .hh-product-block,
  body.single-post .hh-product-side {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }
  body.single-post .hh-product-cover {
    padding: 10px !important;
  }
  body.single-post .hh-product-cover img {
    max-height: 320px !important;
  }
}

/* ==========================================================================
   6. Visual Polish Pass 0.8.1 (fixes all 5 visual QA catches!)
   ========================================================================== */

/* 6a. Fix homepage card price pill (was black text on black background!) */
body.home .hh-card-price {
  padding: 3px 10px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--gal-gold-soft) !important;
  color: var(--gal-gold-deep) !important;
  font-size: 12.5px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
}

/* 6b. Completely remove residual polka-dot pseudo-elements on homepage */
body.home::before,
body.home::after,
body.home .hh-home::before,
body.home .hh-home::after,
body.home .hh-content::before {
  background-image: none !important;
  background: transparent !important;
}

/* 6c. Fix top-right 登录 button width/clipping on desktop while keeping it hidden on mobile <=1020px */
@media (min-width: 1021px) {
  body .hh-site-account,
  body .hh-zibll-account,
  body .hh-zibll-account .list-inline {
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
  }
}
@media (max-width: 1020px) {
  body .hh-site-account,
  body .hh-zibll-account {
    display: none !important;
  }
}

body .hh-zibll-account .signin-loader,
body .hh-site-account .signin-loader {
  width: auto !important;
  min-width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  padding: 0 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

/* 6d. Clean Desktop Split Hero (remove blurred vertical seam) & Clean Stacked Mobile Hero (zero text over art!) */
body.home .hh-hero-photo-backdrop {
  display: none !important;
}

@media (min-width: 901px) {
  body.home .hh-hero-photo {
    left: 44% !important;
    width: 56% !important;
    background: #161816 !important;
  }
  body.home .hh-hero-photo img {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

@media (max-width: 900px) {
  body.home .hh-hero {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  body.home .hh-hero-photo {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 215px !important;
    flex: 0 0 auto !important;
    background: #161816 !important;
  }
  body.home .hh-hero-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  body.home .hh-hero-copy {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 18px 24px !important;
    background: #161816 !important;
  }
  body.home .hh-hero-copy h1 {
    font-size: 24px !important;
  }
  body.home .hh-hero-arrows {
    top: 162px !important;
    bottom: auto !important;
    right: 12px !important;
  }
  body.home .hh-hero-dots {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    padding: 0 18px 18px !important;
    justify-content: flex-start !important;
    background: #161816 !important;
  }
}

/* 6e. Polish Search Page: remove outer sharp black box, unify gold price pills, wrap tags cleanly */
.hh-search-page-form {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hh-zibll-search-wrap .search-filter-item {
  flex-wrap: wrap !important;
  overflow: visible !important;
}

.hh-zibll-search-wrap .posts-item .meta-pay.but,
.hh-zibll-search-wrap .posts-item .meta-pay.jb-yellow {
  background: var(--gal-gold-soft) !important;
  background-image: none !important;
  color: var(--gal-gold-deep) !important;
  border: 0 !important;
  font-weight: 800 !important;
}

/* 6f. Clean inline meta strip on Detail page without orphan wrapping dots */
.hh-product-meta-strip .hh-meta-dot {
  display: none !important;
}

.hh-product-meta-strip {
  gap: 8px 14px !important;
}

/* === Final Visual Polish 0.8.2 === */
html, body {
  overflow-x: clip;
}

/* Remove radial-gradient dots directly on body.home .hh-content (from hh-refresh.css:19) */
body.home .hh-content,
body.home .hh-section,
body.home {
  background-image: none !important;
}
body.home .hh-content {
  background-color: transparent !important;
}

/* Beat hh-refresh.css:1361 specificity (.hh-zibll-account .list-inline > li > .btn { width: 34px }) */
body .hh-zibll-account .list-inline > li > .btn,
body .hh-zibll-account .list-inline > li > .btn.signin-loader {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}
/* ==========================================================================
   7. Wide-Screen Alignment, Logged-in Header & Section Polish (0.8.3)
   ========================================================================== */

/* 7a. CRITICAL FIX: Center .hh-content and clear hh-home.css 6vw side padding! */
body.home .hh-content {
  width: min(1240px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 36px 0 0 !important;
  background: transparent !important;
  background-image: none !important;
}

body.home .hh-section,
body.home .hh-membership-intro,
body.home .hh-route,
body.home .hh-home-video {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .hh-section {
  padding: 0 0 8px !important;
  margin-bottom: 52px !important;
}

/* Align lower homepage bands & all archive/detail containers to exact 1240px grid */
body.home .hh-home-next-inner,
body.home .hh-home-footer-main,
body.home .hh-home-footer-meta,
.hh-archive-hero,
.hh-archive-filter,
.hh-archive-grid,
.hh-zibll-search-wrap,
body.single-post .hh-product-shell {
  width: min(1240px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 7b. Fix .hh-membership-intro rounded card padding & remove full-bleed clip-path */
body.home .hh-membership-intro {
  padding: 46px 44px !important;
  margin: 8px auto 60px !important;
  border-radius: 22px !important;
  clip-path: none !important;
  background: linear-gradient(135deg, #1b1d1a 0%, #242722 100%) !important;
  box-shadow: var(--gal-shadow-md) !important;
}

/* 7c. Clean gallery surface for Learning Route section */
body.home .hh-route {
  padding: 38px 36px 42px !important;
  margin: 0 auto 56px !important;
  border-radius: 22px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-surface) !important;
  box-shadow: var(--gal-shadow-sm) !important;
  backdrop-filter: none !important;
}

body.home .hh-route-grid a {
  border-radius: 14px !important;
  border: 1px solid var(--gal-border) !important;
  background: var(--gal-bg) !important;
}

body.home .hh-route-grid a:hover {
  background: #fff !important;
  border-color: rgba(23, 89, 74, 0.28) !important;
  box-shadow: var(--gal-shadow-sm) !important;
}

body.home .hh-route-grid a:nth-child(5) {
  background: #1b1d1a !important;
  border-color: #1b1d1a !important;
}

/* 7d. Uniform card heights & crisp grid spacing on homepage */
body.home .hh-grid-3 {
  gap: 20px !important;
}

body.home .hh-grid-5 {
  gap: 16px !important;
}

body.home .hh-course-module .hh-card {
  grid-template-rows: auto 1fr !important;
}

body.home .hh-course-module .hh-card-body {
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.home .hh-card-body h3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.9em;
}

body.home .hh-card.is-mini .hh-card-body h3 {
  min-height: 2.8em;
}

body.home .hh-card-foot {
  margin-top: auto !important;
}

/* 7e. Clean Header Row 2 on Desktop: compact left-aligned pills, no fade clipping */
@media (min-width: 901px) {
  body .hh-course-nav-links {
    justify-content: flex-start !important;
    gap: 6px !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    padding-right: 0 !important;
  }
}

/* 7f. Keep logged-in icon-only user button circular 36x36; keep logged-out 登录 button pill */
body .hh-zibll-account .list-inline > li > .btn:not(.signin-loader) {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body .hh-zibll-account .list-inline > li > .btn.signin-loader {
  width: auto !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
}

/* 7g. Mobile polish for .hh-content & .hh-membership-intro & .hh-route */
@media (max-width: 900px) {
  body.home .hh-membership-intro {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 28px 20px !important;
    min-height: 0 !important;
  }
  body.home .hh-route {
    padding: 24px 18px 28px !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 720px) {
  body.home .hh-content {
    width: calc(100% - 24px) !important;
    margin: 0 auto !important;
    padding: 24px 0 0 !important;
  }
}

/* 7h. Tighten empty vertical gap inside homepage membership tier cards (0.8.4) */
body.home .hh-member-plan {
  min-height: 0 !important;
  border-radius: 16px !important;
}
body.home .hh-member-plan-description {
  min-height: 0 !important;
  margin-top: 10px !important;
}
