/* ==========================================================================
   ENHANCEMENTS.CSS — 2026 EDITION (PERFECTED & BUG-FREE)
   1. Unbreakable Dropdown Navigation (Zero mouse gap + hover intent)
   2. Zero Blue & Underlined Text (Strict brand typography)
   3. Perfect Responsive Bento Grid (Zero squished cards, fluid auto-fit)
   4. High-Conversion Newsletter Card (Pill input + gradient CTA)
   5. Micro-Animations for Mobile & Desktop
   ========================================================================== */

/* ── 1. Google Font Import (Outfit & Plus Jakarta Sans) ───────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ── 2. Primary Default Theme: Cozy Book Reading ("Наче книжку читаєш") ── */
:root {
  --bg-primary: #f5ece0;            /* Warm cream parchment */
  --bg-surface: #fdf7ee;            /* Pristine warm book paper sheet */
  --bg-surface-elevated: #ebdfcd;   /* Soft pressed linen / warm header */
  --bg-secondary: #f0e5d4;          /* Warm oat tone */
  --bg-glass: rgba(253, 247, 238, 0.94);

  --brand-primary: #943d1a;         /* Deep terracotta / leather bookcloth */
  --brand-dark: #6e2a0e;            /* Deep mahogany */
  --brand-light: #b45127;           /* Warm sienna */
  --accent-terracotta: #c85e2b;     /* Warm amber orange */
  --accent-terracotta-hover: #b34e1e;
  --accent-sage: #856e54;           /* Warm antique binding tan */
  --accent-sage-light: #ecdfce;     /* Subtle warm tint */

  --text-primary: #291d14;          /* Deep espresso book ink (maximum reading comfort) */
  --text-secondary: #534133;        /* Warm sepia ink */
  --text-muted: #7d6856;            /* Soft ink for metadata */
  --text-inverse: #fdf7ee;

  --border-subtle: rgba(148, 61, 26, 0.12);
  --border-card: rgba(148, 61, 26, 0.18);
  --border-focus: #c85e2b;

  --shadow-sm: 0 2px 8px rgba(85, 45, 20, 0.05);
  --shadow-md: 0 8px 24px rgba(85, 45, 20, 0.08);
  --shadow-lg: 0 16px 44px rgba(85, 45, 20, 0.14);
  --shadow-hover: 0 18px 40px rgba(148, 61, 26, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.2, 0, 0, 1);
  --transition-normal: 0.28s cubic-bezier(0.2, 0, 0, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --font-h1: clamp(1.95rem, 3.8vw + 1rem, 2.85rem);
  --font-h2: clamp(1.45rem, 2.4vw + 0.8rem, 2.15rem);
  --font-h3: clamp(1.22rem, 1.6vw + 0.6rem, 1.6rem);
  --font-h4: clamp(1.1rem, 1.2vw + 0.5rem, 1.3rem);
  --font-body: clamp(1.0625rem, 0.95vw + 0.82rem, 1.15rem);
  --font-small: clamp(0.85rem, 0.8vw + 0.65rem, 0.95rem);

  --font-scale: 1;
  --dock-height: 64px;
  --header-offset: 80px;
}

/* ── 3. Secondary Theme: Clean Crisp White ────────────────────────────── */
[data-theme="light"],
[data-theme="white"] {
  --bg-primary: #f8faf8;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f2;
  --bg-secondary: #eef3ef;
  --bg-glass: rgba(255, 255, 255, 0.92);

  --brand-primary: #1b3d2f;
  --brand-dark: #12291f;
  --brand-light: #2d5a43;
  --accent-terracotta: #c86d51;
  --accent-terracotta-hover: #b45b40;
  --accent-sage: #8fa382;
  --accent-sage-light: #e4ebe0;

  --text-primary: #19241d;
  --text-secondary: #4a574f;
  --text-muted: #738478;
  --text-inverse: #ffffff;

  --border-subtle: rgba(27, 61, 47, 0.08);
  --border-card: rgba(27, 61, 47, 0.12);
  --border-focus: #2d5a43;

  --shadow-sm: 0 2px 8px rgba(18, 41, 31, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 41, 31, 0.08);
  --shadow-lg: 0 16px 44px rgba(18, 41, 31, 0.12);
}

/* ── 4. Baseline Reset & Kill Blue Underlined Links ───────────────────── */
html {
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body-family);
  font-size: var(--font-body);
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* KILL ALL UNWANTED BLUE & UNDERLINED LINKS ACROSS THE ENTIRE PORTAL */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  text-decoration: none;
}

/* Headings & Card Links */
.bento-card__title,
.bento-card__title a,
.popular__title,
.events__title,
.heading a,
.heading_article,
.category-card__text a {
  color: var(--text-primary) !important;
  text-decoration: none !important;
}

.bento-card:hover .bento-card__title,
.bento-card:hover .bento-card__title a,
.bento-card__title a:hover {
  color: var(--brand-primary) !important;
  text-decoration: none !important;
}

/* In-body article text links */
.entry a {
  color: var(--brand-primary) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 3px !important;
  transition: all var(--transition-fast) !important;
}

.entry a:hover {
  color: var(--accent-terracotta) !important;
  text-decoration-color: var(--accent-terracotta) !important;
}

/* ── 5. Reading Progress Bar (Fixed Top) ─────────────────────────────── */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-light) 50%, var(--accent-terracotta) 100%);
  z-index: 99999;
  transition: width 0.08s ease-out;
  box-shadow: 0 1px 6px rgba(200, 109, 81, 0.4);
}

/* ── 6. Header & Top Bar ─────────────────────────────────────────────── */
.header,
.header.header_main {
  background: var(--bg-primary) !important;
  background-image: none !important;
  min-height: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: visible !important;
}

.header__topbar {
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.header__topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__tagline {
  font-weight: 550;
  letter-spacing: 0.02em;
}

.header__topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher Buttons (Pill Capsule) */
.lang-switcher {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--brand-primary);
  background: var(--accent-sage-light);
}

.lang-btn.lang-btn--active {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(148, 61, 26, 0.2);
}

/* Theme Toggle Button (Pill / Circle) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 6px;
}

.theme-toggle-btn:hover {
  background: var(--accent-sage-light);
  color: var(--brand-primary);
  transform: rotate(15deg);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

/* Branding Section */
.header__branding {
  padding: 16px 0;
  background: var(--bg-primary);
}

.header__branding-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.custom-logo:hover {
  transform: scale(1.05);
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__title {
  font-family: var(--font-family);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 750;
  color: var(--brand-primary);
  line-height: 1.2;
}

.logo__subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Modern Pill Search Bar */
.search-form-modern {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 14px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 320px;
  transition: all var(--transition-fast);
}

.search-form-modern:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(200, 94, 43, 0.18);
}

.search-form-modern__icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.search-form-modern__input {
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
}

.search-form-modern__submit {
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.search-form-modern__submit:hover {
  background: var(--brand-light);
  transform: scale(1.02);
}

/* ── 7. Main Navigation: Ultra-Rounded Island & Unbreakable Submenu ────── */
.header__nav {
  background: transparent !important;
  box-shadow: none !important;
  padding: 6px 0 16px !important;
  position: relative !important;
  z-index: 100 !important;
  overflow: visible !important;
}

.header__nav-container {
  background: linear-gradient(135deg, #943d1a 0%, #a8471e 60%, #b45127 100%) !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 26px rgba(148, 61, 26, 0.24), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  padding: 5px 16px !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  overflow: visible !important;
  transition: all var(--transition-normal);
}

.nav-main {
  width: 100%;
  position: relative !important;
  overflow: visible !important;
}

.nav-main__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 6px;
  position: relative !important;
  overflow: visible !important;
}

.nav-main__list > li,
.nav-main__list .main-menu__item {
  position: relative !important;
  margin: 0;
  padding: 0 0 4px 0 !important; /* Gentle bridge pad */
  display: inline-block;
  overflow: visible !important;
}

.nav-main__list .main-menu__item:after {
  display: none !important;
}

.nav-main__list > li > a,
.nav-main__list .main-menu__link {
  display: inline-flex !important;
  align-items: center !important;
  padding: 10px 22px !important;
  color: #ffffff !important;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none !important;
  line-height: 1.4;
  height: auto;
  border-radius: 9999px !important;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
}

.nav-main__list > li > a:hover,
.nav-main__list .main-menu__link:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.nav-main__list > li.current-menu-item > a,
.nav-main__list > li.current-post-ancestor > a,
.nav-main__list > li.current-menu-parent > a {
  background: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.nav-main__list > li.menu-item-has-children > a::after {
  content: ' ▾';
  display: inline-block;
  margin-left: 5px;
  font-size: 0.78em;
  opacity: 0.85;
}

/* UNBREAKABLE SUBMENU DROPDOWN: Zero dead space + seamless mouse bridge */
.nav-main__list .main-menu__sublist,
.nav-main__list ul {
  position: absolute !important;
  top: 100% !important; /* Attached directly to li bottom! */
  left: 0 !important;
  min-width: 240px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(41, 29, 20, 0.22) !important;
  padding: 10px !important;
  margin: 0 !important;
  list-style: none !important;
  display: none;
  z-index: 1002 !important;
  overflow: visible !important;
}

/* Invisible hit-test bridge so cursor NEVER leaves the interactive zone */
.nav-main__list .main-menu__sublist::before,
.nav-main__list ul::before {
  content: '' !important;
  position: absolute !important;
  top: -14px !important;
  left: 0 !important;
  right: 0 !important;
  height: 18px !important;
  background: transparent !important;
}

.nav-main__list > li:hover > .main-menu__sublist,
.nav-main__list > li:hover > ul,
.nav-main__list > li.is-hovered > .main-menu__sublist,
.nav-main__list > li.is-hovered > ul {
  display: block !important;
  animation: dropdownSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-main__list .main-menu__sublist a,
.nav-main__list ul a {
  display: block !important;
  padding: 10px 18px !important;
  color: var(--text-primary) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  height: auto !important;
  border-radius: 12px !important;
  transition: all 0.18s ease !important;
}

.nav-main__list .main-menu__sublist a:hover,
.nav-main__list ul a:hover {
  background: var(--accent-sage-light) !important;
  color: var(--brand-primary) !important;
  transform: translateX(4px) !important;
}

.menu-btn.js-nav-btn {
  display: none;
  border-radius: 9999px !important;
}

/* ── 8. Editorial Content Layout ─────────────────────────────────────── */
.middle {
  padding: 10px 0 40px;
}

.middle__container {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.content {
  flex: 1 1 0%;
  min-width: 0;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 44px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.content.article-editorial {
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
}

/* Article Hero Header */
.article-hero {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.heading.heading_article {
  font-family: var(--font-family);
  font-size: var(--font-h1);
  font-weight: 750;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0.6rem 0 1.2rem;
  letter-spacing: -0.015em;
}

/* Evergreen Article Meta Bar (Reading Time + Instant Share Pill) */
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-secondary);
  color: var(--brand-primary);
  font-weight: 650;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.copy-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-link-btn:hover {
  background: var(--accent-sage-light);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* Evergreen SEO: Hide outdated static dates & authors */
.author-pill,
.date-badge,
.post-meta__author,
.post-meta__date,
.events__date,
.popular__date,
.category-card__date,
.article-author,
.entry-author,
.post-author,
.author-name,
.bento-card__date,
.bento-card__author,
.card-date,
time[datetime],
time.entry-date,
.published {
  display: none !important;
}

/* Article Hero Featured Image */
.article-featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  background: var(--bg-surface-elevated);
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 9. Article Body Long-form Editorial Typography ──────────────────── */
.entry {
  font-size: calc(var(--font-body) * var(--font-scale, 1));
  line-height: 1.8;
  color: var(--text-primary);
  word-break: break-word;
}

.entry p {
  margin-top: 0;
  margin-bottom: 1.45rem;
}

.entry h2 {
  font-family: var(--font-family);
  font-size: var(--font-h2);
  font-weight: 700;
  color: var(--brand-primary);
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--accent-sage-light);
  scroll-margin-top: var(--header-offset);
}

.entry h3 {
  font-family: var(--font-family);
  font-size: var(--font-h3);
  font-weight: 650;
  color: var(--text-primary);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  line-height: 1.35;
  scroll-margin-top: var(--header-offset);
}

.entry blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.6rem;
  background: var(--bg-secondary);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* ── 10. Table of Contents (TOC) — 2026 Brand Design ─────────────────── */
.toc {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.toc__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.toc__title {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.toc__toggle {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.toc--collapsed .toc__toggle {
  transform: rotate(-90deg);
}

.toc--collapsed .toc__list {
  display: none;
}

.toc__list {
  list-style: none !important;
  counter-reset: toc-counter;
  margin: 1rem 0 0 !important;
  padding: 0 !important;
}

.toc__item {
  counter-increment: toc-counter;
  position: relative;
  margin: 0.4rem 0 !important;
  padding-left: 2rem !important;
  line-height: 1.45;
}

.toc__item::before {
  content: counter(toc-counter);
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50% !important;
}

.toc__link {
  color: var(--text-primary);
  text-decoration: none !important;
  font-weight: 550;
  transition: color var(--transition-fast);
}

.toc__link:hover {
  color: var(--accent-terracotta);
  text-decoration: underline !important;
}

.toc__item--active .toc__link {
  color: var(--brand-primary);
  font-weight: 700;
}

/* ── 11. BENTO GRID SYSTEM: Fully Responsive & Micro-Animated ────────── */
/* Neutralize all legacy grid/list conflicts */
.bento-grid,
.popular__list,
.events,
.related-posts-grid,
.popular-posts-grid,
.latest-posts-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  list-style: none !important;
  justify-content: stretch !important;
  align-items: stretch !important;
}

@media (max-width: 640px) {
  .bento-grid,
  .popular__list,
  .events,
  .related-posts-grid,
  .popular-posts-grid,
  .latest-posts-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

.bento-card,
.popular__item,
.events__item,
.category-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 390px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-sm) !important;
  text-decoration: none !important;
  color: inherit !important;
  margin: 0 !important;
  align-self: stretch !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.bento-card:hover,
.popular__item:hover,
.events__item:hover,
.category-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-hover) !important;
  border-color: var(--brand-light) !important;
}

.bento-card:active,
.popular__item:active,
.events__item:active {
  transform: scale(0.98) !important;
}

.bento-card__img-wrap,
.events__img-wrapper,
.popular__item .card,
.events__item .card {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  max-width: 100% !important;
  padding-top: 0 !important;
  margin: 0 !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: var(--bg-surface-elevated) !important;
  flex-shrink: 0 !important;
  border-radius: 0 !important;
}

.bento-card__img-wrap img,
.events__img-wrapper img,
.events__img,
.popular__item .card img,
.category-card__img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.bento-card:hover .bento-card__img-wrap img,
.popular__item:hover img,
.events__item:hover img {
  transform: scale(1.06) !important;
}

.bento-card__content,
.popular__content,
.events__content {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

.bento-card__category {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
  background: var(--accent-sage-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.bento-card__title {
  font-family: var(--font-family) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--text-primary) !important;
  margin: 0 0 0.85rem !important;
}

.bento-card__meta {
  margin-top: auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--border-subtle) !important;
}

.btn-more,
.bento-card__meta .btn-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 20px !important;
  background: var(--bg-secondary) !important;
  color: var(--brand-primary) !important;
  font-family: var(--font-family) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  border: 1px solid var(--border-subtle) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.2, 0, 0, 1) !important;
}

.bento-card:hover .btn-more,
.btn-more:hover {
  background: var(--brand-primary) !important;
  color: #ffffff !important;
  border-color: var(--brand-primary) !important;
  transform: translateX(4px) !important;
  box-shadow: 0 4px 14px rgba(148, 61, 26, 0.25) !important;
}

/* Remove legacy updates distracting background */
.updates {
  background: var(--bg-surface-elevated) !important;
  background-image: none !important;
  padding: 44px 0 54px !important;
  border-top: 1px solid var(--border-subtle) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  margin: 40px 0 0 !important;
}

/* ── 12. HIGH-CONVERSION MODERN NEWSLETTER CARD (Screenshot 2 Fix) ─────── */
.subscribe,
.sidebar .subscribe,
.widget_subscribe_widget {
  background: var(--bg-surface) !important;
  background-image: none !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--radius-xl) !important;
  padding: 28px 24px !important;
  box-shadow: var(--shadow-md) !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 30px !important;
}

.subscribe::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, var(--brand-primary), var(--accent-terracotta)) !important;
}

.subscribe .heading,
.subscribe .heading_small {
  font-family: var(--font-family) !important;
  font-size: 1.25rem !important;
  font-weight: 750 !important;
  color: var(--text-primary) !important;
  margin-bottom: 12px !important;
  line-height: 1.3 !important;
}

.subscribe__text {
  font-size: 0.88rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.55 !important;
  margin-top: 14px !important;
}

/* Subscribe Form Widget Fix (Prevent Submit button from absolutely overlapping email input) */
.subscribe-form,
.subscribe-form-modern,
.subscribe form,
.rm_form_container form {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 14px 0 0 !important;
}

.subscribe-form__input,
.subscribe-form-input,
.subscribe input[type="text"],
.subscribe input[type="email"],
.rm_form_container input[type="email"],
.rm_form_container input[type="text"] {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  padding: 10px 20px !important;
  background: var(--bg-primary, #ffffff) !important;
  border: 1.5px solid var(--border-card, #e2e8f0) !important;
  border-radius: var(--radius-full, 9999px) !important;
  color: var(--text-primary, #1e293b) !important;
  font-family: var(--font-family, inherit) !important;
  font-size: 0.95rem !important;
  outline: none !important;
  transition: all var(--transition-fast, 0.2s) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.subscribe-form__input:focus,
.subscribe-form-input:focus,
.subscribe input[type="text"]:focus,
.subscribe input[type="email"]:focus,
.rm_form_container input[type="email"]:focus,
.rm_form_container input[type="text"]:focus {
  border-color: var(--brand-primary, #b85223) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(148, 61, 26, 0.15) !important;
}

.subscribe-form__submit,
.subscribe-form-btn,
.subscribe button[type="submit"],
.subscribe input[type="submit"],
.rm_form_container input[type="submit"],
.rm_form_container button[type="submit"] {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  height: 48px !important;
  background: linear-gradient(135deg, var(--brand-primary, #b85223) 0%, var(--accent-terracotta, #e07a5f) 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-full, 9999px) !important;
  font-family: var(--font-family, inherit) !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(148, 61, 26, 0.25) !important;
  transition: all var(--transition-fast, 0.2s) !important;
  box-sizing: border-box !important;
}

.subscribe-form__submit:hover,
.subscribe-form-btn:hover,
.subscribe button[type="submit"]:hover,
.subscribe input[type="submit"]:hover,
.rm_form_container input[type="submit"]:hover,
.rm_form_container button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(148, 61, 26, 0.35) !important;
  background: linear-gradient(135deg, var(--brand-dark, #943d1a) 0%, var(--brand-primary, #b85223) 100%) !important;
}

/* ── 13. Floating Action Elements ────────────────────────────────────── */
#back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(148, 61, 26, 0.3);
  font-size: 1.3rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-bounce);
  z-index: 999;
}

#back-to-top-btn.btt--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top-btn:hover {
  background: var(--brand-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(148, 61, 26, 0.25);
}

/* ── 14. Responsive Adaptations (< 969px & Mobile < 768px) ─────────── */
@media (max-width: 969px) {
  /* Replaced in Section 25 */

  .middle__container {
    flex-direction: column !important;
    gap: 28px !important;
  }

  .content {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 24px !important;
  }

  .sidebar {
    width: 100% !important;
  }

  .header__branding-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .header__search,
  .search-form-modern {
    width: 100% !important;
  }

  .menu-btn.js-nav-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 9999px !important;
  }

  .menu-btn__icon {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    position: relative;
  }

  .menu-btn__icon::before,
  .menu-btn__icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #ffffff;
  }

  .menu-btn__icon::before { top: -6px; }
  .menu-btn__icon::after { top: 6px; }

  .nav-main__list {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    background: var(--brand-dark) !important;
    border-radius: 20px !important;
    overflow: hidden;
    margin-top: 6px;
    padding: 8px !important;
  }

  .nav-main__list.nav-main__list--open {
    display: flex !important;
  }

  .nav-main__list > li {
    width: 100% !important;
  }

  .nav-main__list > li > a {
    padding: 12px 20px !important;
    width: 100% !important;
    border-radius: 9999px !important;
    margin: 2px 0 !important;
  }
}

#mobile-action-dock {
  display: none;
}

@media (max-width: 768px) {
  #mobile-action-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--dock-height);
    background: var(--bg-surface);
    border-top: 1px solid var(--border-card);
    box-shadow: 0 -4px 18px rgba(85, 45, 20, 0.08);
    z-index: 9999;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    transition: transform var(--transition-fast);
  }

  #mobile-action-dock.dock--hidden {
    transform: translateY(100%);
  }

  .dock-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    gap: 3px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: var(--radius-sm);
  }

  .dock-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .dock-btn:hover,
  .dock-btn:active {
    color: var(--brand-primary);
  }

  body {
    padding-bottom: calc(var(--dock-height) + 12px);
  }

  #back-to-top-btn {
    bottom: calc(var(--dock-height) + 14px);
    right: 14px;
    width: 40px;
    height: 40px;
  }
}

/* ── 15. Mobile Bottom Sheet Drawer ──────────────────────────────────── */
#mobile-bottom-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  transition: visibility var(--transition-normal);
}

#mobile-bottom-drawer.drawer--open {
  visibility: visible;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

#mobile-bottom-drawer.drawer--open .drawer__backdrop {
  opacity: 1;
}

.drawer__sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 80vh;
  background: var(--bg-surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 16px 20px 30px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform var(--transition-bounce);
  overflow-y: auto;
}

#mobile-bottom-drawer.drawer--open .drawer__sheet {
  transform: translateY(0);
}

.drawer__handle {
  width: 44px;
  height: 4px;
  background: var(--border-card);
  border-radius: var(--radius-full);
  margin: 0 auto 14px;
}

.drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer__title {
  font-family: var(--font-family);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin: 0;
}

.drawer__close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

/* ── 16. Toast Notification & Quote Tooltip ──────────────────────────── */
.toast-notification {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: var(--brand-dark);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-bounce);
}

.toast-notification--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.quote-tooltip {
  position: absolute;
  background: var(--brand-dark);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast);
}

.quote-tooltip--visible {
  opacity: 1;
  visibility: visible;
}

.quote-tooltip:hover {
  background: var(--brand-primary);
}

/* ── 17. Headless Google Translate Clean Styling ─────────────────────── */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

.skiptranslate:not(.lang-switcher) {
  display: none !important;
}

/* ==========================================================================
   ZEN RELAXING MENU ANIMATIONS & READING BOOKMARK SYSTEM
   ========================================================================== */

/* ── 18. Zen Dropdown Animations ─────────────────────────────────────── */
.nav-main__list .main-menu__sublist,
.nav-main__list ul {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 250px !important;
  background: rgba(253, 247, 238, 0.97) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 44px rgba(41, 29, 20, 0.18), 0 4px 12px rgba(148, 61, 26, 0.08) !important;
  padding: 10px !important;
  margin: 0 !important;
  list-style: none !important;
  display: none;
  z-index: 1002 !important;
  overflow: visible !important;
  transform-origin: top left !important;
}

@keyframes zenDropdownIn {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.nav-main__list > li:hover > .main-menu__sublist,
.nav-main__list > li:hover > ul,
.nav-main__list > li.is-hovered > .main-menu__sublist,
.nav-main__list > li.is-hovered > ul {
  display: block !important;
  animation: zenDropdownIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.nav-main__list .main-menu__sublist a,
.nav-main__list ul a {
  position: relative !important;
  display: block !important;
  padding: 10px 18px !important;
  color: var(--text-primary) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  height: auto !important;
  border-radius: 12px !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-main__list .main-menu__sublist a:hover,
.nav-main__list ul a:hover {
  background: var(--accent-sage-light) !important;
  color: var(--brand-primary) !important;
  transform: translateX(5px) !important;
  box-shadow: 0 2px 8px rgba(148, 61, 26, 0.08) !important;
}

@keyframes mobileNavSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    max-height: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: 600px;
  }
}

.nav-main__list.nav-main__list--open {
  display: flex !important;
  animation: mobileNavSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* ── 19. Cozy Reading Bookmark Pill ("Продовжити читання") ───────────── */
.resume-reading-pill {
  position: fixed;
  bottom: 28px;
  right: 88px;
  max-width: 380px;
  background: rgba(253, 247, 238, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 36px rgba(85, 45, 20, 0.18), 0 2px 8px rgba(148, 61, 26, 0.08);
  padding: 8px 14px 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9998;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.resume-reading-pill.pill--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.resume-pill__icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  animation: bookmarkPulse 2.4s ease-in-out infinite;
}

@keyframes bookmarkPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15) rotate(-4deg); }
}

.resume-pill__content {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.resume-pill__label {
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--brand-primary);
  font-family: var(--font-family);
}

.resume-pill__sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.resume-pill__action-btn {
  background: linear-gradient(135deg, var(--brand-primary), var(--accent-terracotta));
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(148, 61, 26, 0.25);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.resume-pill__action-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(148, 61, 26, 0.35);
}

.resume-pill__close {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.resume-pill__close:hover {
  color: var(--brand-primary);
}

@media (max-width: 768px) {
  .resume-reading-pill {
    bottom: calc(var(--dock-height) + 16px);
    right: 12px;
    left: 12px;
    max-width: none;
    justify-content: space-between;
  }
}

/* ── 20. Reading History Sidebar Widget ──────────────────────────────── */
.widget_reading_history {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.widget_reading_history__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.widget_reading_history__title {
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--brand-primary);
  margin: 0;
}

.widget_reading_history__clear {
  background: transparent;
  border: none;
  font-size: 0.76rem;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.widget_reading_history__clear:hover {
  color: var(--brand-primary);
}

.reading-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reading-history-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reading-history-item__link {
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.35;
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

.reading-history-item__link:hover {
  color: var(--brand-primary);
}

.reading-history-item__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.reading-history-item__cat {
  font-weight: 600;
  color: var(--brand-primary);
}

.reading-history-item__bar-wrap {
  width: 100%;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 2px;
}

.reading-history-item__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), var(--accent-terracotta));
  border-radius: var(--radius-full);
}


/* ── 21. ZEN & MINDFULNESS SUITE (2026 Editorial Freshness) ─────── */
:root {
  --zen-accent: #d96b2b;
  --zen-accent-glow: rgba(217, 107, 43, 0.25);
  --zen-orb-1: #e28c46;
  --zen-orb-2: #c4571d;
  --zen-calm-bg: #f7efe4;
}

/* 21.1 Topbar Zen Quick Tools */
.zen-topbar-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 12px;
}

.zen-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-base);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(184, 91, 35, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zen-tool-btn:hover {
  background: var(--bg-card);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 91, 35, 0.12);
}

.zen-tool-btn__icon {
  font-size: 14px;
  line-height: 1;
}

.zen-tool-btn--active {
  background: var(--brand-primary) !important;
  color: #fff !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 14px rgba(217, 107, 43, 0.45) !important;
}

.zen-tool-btn--active .zen-tool-btn__pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  margin-left: 2px;
  animation: zenPulseRipple 1.4s ease-in-out infinite;
}

@keyframes zenPulseRipple {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* 21.2 Zen 4-7-8 Breathing Modal */
.zen-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.zen-modal--open {
  opacity: 1;
  pointer-events: auto;
}

.zen-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 29, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.zen-modal__card {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid rgba(184, 91, 35, 0.22);
  border-radius: 28px;
  padding: 38px 28px 32px;
  text-align: center;
  box-shadow: 0 30px 70px -15px rgba(41, 29, 20, 0.35);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.zen-modal--open .zen-modal__card {
  transform: scale(1) translateY(0);
}

.zen-modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(184, 91, 35, 0.1);
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.zen-modal__close:hover {
  background: var(--brand-primary);
  color: #fff;
}

.zen-breathe-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(217, 107, 43, 0.12);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.zen-breathe-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.zen-breathe-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 24px;
}

.zen-breathe-visual {
  margin: 20px auto 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.zen-breathe-orb-outer {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--zen-orb-1) 0%, var(--zen-orb-2) 100%);
  box-shadow: 0 0 35px var(--zen-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1s ease;
}

.zen-breathe-orb--inhale {
  transform: scale(1.32);
  box-shadow: 0 0 60px rgba(217, 107, 43, 0.7);
  transition-duration: 4s;
}

.zen-breathe-orb--hold {
  transform: scale(1.32);
  box-shadow: 0 0 45px rgba(226, 140, 70, 0.85);
  transition-duration: 0.5s;
}

.zen-breathe-orb--exhale {
  transform: scale(0.85);
  box-shadow: 0 0 20px rgba(217, 107, 43, 0.25);
  transition-duration: 8s;
}

.zen-breathe-timer {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.zen-breathe-instruction {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 18px;
  min-height: 24px;
  transition: opacity 0.3s ease;
}

.zen-breathe-toggle-btn {
  height: 44px;
  padding: 0 30px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(217, 107, 43, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zen-breathe-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 107, 43, 0.45);
}

.zen-breathe-toggle-btn--active {
  background: var(--text-secondary);
  box-shadow: none;
}

/* 21.3 Zen Focus Mode (Distraction-Free) */
body.zen-focus-active .header,
body.zen-focus-active .footer,
body.zen-focus-active .sidebar,
body.zen-focus-active #mobile-action-dock,
body.zen-focus-active .article-comments-wrap,
body.zen-focus-active .suggested-articles,
body.zen-focus-active .breadcrumbs-wrap {
  display: none !important;
}

body.zen-focus-active {
  background: var(--bg-body) !important;
}

body.zen-focus-active .middle__container {
  max-width: 820px !important;
  margin: 40px auto !important;
  padding: 0 20px 80px !important;
}

body.zen-focus-active .content.article-editorial {
  width: 100% !important;
}

body.zen-focus-active article.post {
  background: var(--bg-card) !important;
  border-radius: 28px !important;
  padding: 50px 48px !important;
  box-shadow: 0 20px 60px rgba(184, 91, 35, 0.08) !important;
  font-size: 19.5px !important;
  line-height: 1.9 !important;
}

.zen-focus-exit {
  display: none;
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 99999;
}

body.zen-focus-active .zen-focus-exit {
  display: block;
}

.zen-focus-exit__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  background: var(--ink-dark, #291d14);
  color: var(--page-parchment, #fdf7ee);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-base);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.zen-focus-exit__btn:hover {
  transform: translateY(-2px);
  background: var(--brand-primary);
  color: #fff;
}

.meta-pill_zen {
  cursor: pointer;
}

.meta-pill_zen:hover {
  background: rgba(217, 107, 43, 0.12) !important;
  border-color: var(--brand-primary) !important;
  color: var(--brand-primary) !important;
}

/* 21.4 Mindful Article Reactions */
.zen-reactions {
  margin: 45px 0 28px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(184, 91, 35, 0.16);
  border-radius: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.zen-reactions__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.zen-reactions__icon {
  font-size: 20px;
}

.zen-reactions__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.zen-reactions__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.zen-reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid rgba(184, 91, 35, 0.2);
  color: var(--text-primary);
  font-family: var(--font-base);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: visible;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zen-reaction-btn:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--brand-primary);
  box-shadow: 0 6px 18px rgba(184, 91, 35, 0.16);
}

.zen-reaction-btn--active {
  background: var(--brand-primary) !important;
  color: #fff !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 4px 16px rgba(217, 107, 43, 0.35) !important;
}

.zen-reaction-btn--active .zen-reaction-btn__count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.zen-reaction-btn__count {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(184, 91, 35, 0.1);
  color: var(--brand-primary);
}

.zen-sparkle {
  position: absolute;
  top: 50%;
  pointer-events: none;
  font-size: 15px;
  animation: zenSparkleFloat 0.85s ease-out forwards;
}

@keyframes zenSparkleFloat {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
  100% { transform: translate(-50%, -90px) scale(1.3); opacity: 0; }
}

/* 21.5 Refined Crisp Back-To-Top Button */
#back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 18px rgba(184, 91, 35, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

#back-to-top-btn.btt--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top-btn:hover {
  background: var(--brand-light, #ea7d3d);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(184, 91, 35, 0.45);
}

#back-to-top-btn svg {
  display: block;
  stroke: #ffffff;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

#back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

/* 21.6 Stable Solid Card Rendering (Zero Scroll Jitter / Reflow Glitches) */
.zen-reveal-init {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.zen-revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Stable Bento & Latest Posts Grid */
.latest-posts-grid,
.bento-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  contain: layout style;
}

.bento-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 380px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-sm) !important;
  text-decoration: none !important;
  color: inherit !important;
  transform: translateZ(0) !important;
  transition: box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.bento-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px -6px rgba(184, 91, 35, 0.15) !important;
  border-color: rgba(217, 107, 43, 0.35) !important;
}

/* Sidebar Ad Slots */
.widget_zen_sidebar_ad,
.widget_zen_sticky_ad {
  width: 100% !important;
  margin-top: 24px;
  box-sizing: border-box;
}

body.single-post .widget_zen_sticky_ad,
body.single .widget_zen_sticky_ad {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 90px !important;
  z-index: 10 !important;
}

body.home .widget_zen_sticky_ad,
body.front-page .widget_zen_sticky_ad {
  position: static !important;
  top: auto !important;
}

/* Enhanced Card Hover Elevations */
.popular__item,
.events__item,
.bento-card,
.category-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.popular__item:hover,
.events__item:hover,
.bento-card:hover,
.category-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px -8px rgba(184, 91, 35, 0.14), 0 4px 10px -2px rgba(41, 29, 20, 0.04) !important;
  border-color: rgba(217, 107, 43, 0.35) !important;
}

@media (max-width: 768px) {
  .zen-topbar-tools {
    display: none;
  }
  body.zen-focus-active article.post {
    padding: 28px 20px !important;
    font-size: 17.5px !important;
  }
  .zen-focus-exit {
    top: 14px;
    right: 16px;
  }
}



/* ── 22. MODERN EDITORIAL TERM LINKS (Fresh Interactive Words) ──── */
.entry a.entry-term-link,
.entry p > a:not(:has(img)) {
  color: var(--brand-primary, #b85b23) !important;
  background: rgba(184, 91, 35, 0.08) !important;
  padding: 1.5px 7px !important;
  border-radius: 6px !important;
  border-bottom: 1.5px solid rgba(184, 91, 35, 0.32) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.entry a.entry-term-link:hover,
.entry p > a:not(:has(img)):hover {
  background: rgba(184, 91, 35, 0.18) !important;
  color: var(--brand-primary, #b85b23) !important;
  border-bottom-color: var(--brand-primary, #b85b23) !important;
  box-shadow: 0 2px 10px rgba(184, 91, 35, 0.16) !important;
  transform: translateY(-1px);
}

.entry a.entry-term-link:active,
.entry p > a:not(:has(img)):active {
  transform: translateY(0);
  background: rgba(184, 91, 35, 0.24) !important;
}

/* Ensure image links have zero border/background */
.entry a:has(img),
.entry a img {
  background: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}


/* ── 23. DAILY WISDOM & BOOKMARKS SUITE (Cozy Reader Experience) ──── */

/* 23.1 Daily Wisdom Sidebar Widget */
.widget_daily_wisdom {
  margin-bottom: 24px;
}

.daily-wisdom__card {
  background: var(--bg-card);
  border: 1px solid rgba(184, 91, 35, 0.22);
  border-radius: 20px;
  padding: 22px 20px 18px;
  box-shadow: 0 10px 28px -6px rgba(184, 91, 35, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.daily-wisdom__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(184, 91, 35, 0.16);
  border-color: rgba(217, 107, 43, 0.35);
}

.daily-wisdom__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.daily-wisdom__icon {
  font-size: 16px;
  line-height: 1;
}

.daily-wisdom__label {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
  flex-grow: 1;
  margin-left: 8px;
}

.daily-wisdom__shuffle-btn,
.daily-wisdom__copy-btn {
  background: rgba(184, 91, 35, 0.08);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
}

.daily-wisdom__shuffle-btn:hover,
.daily-wisdom__copy-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: rotate(45deg);
}

.daily-wisdom__copy-btn:hover {
  transform: scale(1.1);
}

.daily-wisdom__quote {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0 0 12px;
  padding: 0;
  border: none;
  transition: opacity 0.25s ease;
}

.daily-wisdom__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed rgba(184, 91, 35, 0.16);
  padding-top: 10px;
}

.daily-wisdom__author {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* 23.2 Bookmarks Topbar Badge & Meta Pill */
.zen-bookmarks-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  margin-left: 4px;
  animation: bookmarkPulse 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bookmarkPulse {
  0% { transform: scale(0.6); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.meta-pill_bookmark {
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.meta-pill_bookmark:hover {
  background: rgba(217, 107, 43, 0.12) !important;
  color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

.meta-pill_bookmark--active {
  background: rgba(217, 107, 43, 0.16) !important;
  color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  font-weight: 700;
}

/* 23.3 Bookmarks Slide-Over Modal */
.zen-modal__card_bookmarks {
  max-width: 500px;
  text-align: left;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
}

.bookmarks-modal__header {
  margin-bottom: 20px;
}

.bookmarks-modal__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(217, 107, 43, 0.12);
  color: var(--brand-primary);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.bookmarks-list {
  overflow-y: auto;
  max-height: 52vh;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bookmark-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(184, 91, 35, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  text-decoration: none;
  transition: all 0.22s ease;
}

.bookmark-item:hover {
  background: var(--bg-card);
  border-color: var(--brand-primary);
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(184, 91, 35, 0.12);
}

.bookmark-item__info {
  flex-grow: 1;
  min-width: 0;
  margin-right: 12px;
}

.bookmark-item__title {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bookmark-item__meta {
  font-size: 12px;
  color: var(--text-secondary);
}

.bookmark-item__remove-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.bookmark-item__remove-btn:hover {
  background: rgba(217, 107, 43, 0.15);
  color: #c94040;
}

.bookmarks-empty-box {
  padding: 30px 16px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.bookmarks-empty-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

/* 23.4 Key Takeaways Box (Editorial Highlights) */
.key-takeaways-box {
  background: rgba(217, 107, 43, 0.05);
  border: 1px solid rgba(184, 91, 35, 0.2);
  border-left: 4px solid var(--brand-primary);
  border-radius: 18px;
  padding: 18px 22px;
  margin: 22px 0 28px;
  transition: all 0.3s ease;
}

.key-takeaways__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.key-takeaways__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}

.key-takeaways__toggle {
  background: rgba(184, 91, 35, 0.1);
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--brand-primary);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.takeaways-collapsed .takeaways-toggle-arrow {
  transform: rotate(-90deg);
}

.key-takeaways__content {
  margin-top: 14px;
  transition: all 0.3s ease;
}

.takeaways-collapsed .key-takeaways__content {
  display: none;
}

.key-takeaways__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.key-takeaways__list li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
}

.takeaways-bullet {
  color: var(--brand-primary);
  font-size: 12px;
  flex-shrink: 0;
}


/* ── 23.4 HIGH-CONTRAST READABILITY & OPAQUE MODAL CARDS ─────────── */
:root {
  --bg-card: #ffffff;
  --bg-card-elevated: #faf6f0;
}

[data-theme="dark"] {
  --bg-card: #1f1a16;
  --bg-card-elevated: #28221d;
}

/* Modal Backdrop: strong dimming so background content never interferes */
.zen-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 7, 0.78) !important;
  backdrop-filter: blur(10px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
}

/* Modal Card: 100% solid, fully opaque, razor-sharp contrast */
.zen-modal__card {
  position: relative;
  z-index: 2;
  background: #ffffff !important;
  color: #1e1610 !important;
  border: 1.5px solid rgba(184, 91, 35, 0.28) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(184, 91, 35, 0.15) !important;
  opacity: 1 !important;
}

[data-theme="dark"] .zen-modal__card {
  background: #1e1915 !important;
  color: #f7ede2 !important;
  border-color: rgba(217, 107, 43, 0.38) !important;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.8) !important;
}

.zen-modal__card_bookmarks {
  max-width: 520px !important;
  padding: 34px 28px 28px !important;
}

.bookmarks-modal__header {
  margin-bottom: 20px !important;
  border-bottom: 1px solid rgba(184, 91, 35, 0.14);
  padding-bottom: 16px;
}

.bookmarks-modal__badge {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 5px 14px !important;
  border-radius: 9999px !important;
  background: #fdf3eb !important;
  color: #b85b23 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: 1px solid rgba(184, 91, 35, 0.25) !important;
  margin-bottom: 12px !important;
}

[data-theme="dark"] .bookmarks-modal__badge {
  background: rgba(217, 107, 43, 0.18) !important;
  color: #ff9d66 !important;
  border-color: rgba(217, 107, 43, 0.35) !important;
}

.zen-breathe-title {
  font-family: var(--font-heading) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #1a130e !important;
  margin: 0 0 8px !important;
  line-height: 1.25 !important;
}

[data-theme="dark"] .zen-breathe-title {
  color: #fffaf5 !important;
}

.zen-breathe-desc {
  font-size: 14.5px !important;
  color: #554438 !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

[data-theme="dark"] .zen-breathe-desc {
  color: #c7b6a7 !important;
}

/* Empty Bookmarks Box: clear, beautiful, warm high-contrast callout */
.bookmarks-empty-box {
  padding: 32px 20px !important;
  text-align: center !important;
  background: #fcf8f2 !important;
  border: 2px dashed rgba(184, 91, 35, 0.35) !important;
  border-radius: 18px !important;
  margin: 10px 0 !important;
}

[data-theme="dark"] .bookmarks-empty-box {
  background: #251f1a !important;
  border-color: rgba(217, 107, 43, 0.38) !important;
}

.bookmarks-empty-icon {
  font-size: 38px !important;
  display: block !important;
  margin-bottom: 12px !important;
  line-height: 1 !important;
}

.bookmarks-empty-box p {
  font-size: 15px !important;
  color: #3b2c22 !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

[data-theme="dark"] .bookmarks-empty-box p {
  color: #ecdccf !important;
}

/* Bookmark Item Cards: solid, comfortable cards */
.bookmark-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #fdfaf6 !important;
  border: 1.5px solid rgba(184, 91, 35, 0.22) !important;
  border-radius: 16px !important;
  padding: 14px 18px !important;
  text-decoration: none !important;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="dark"] .bookmark-item {
  background: #26201b !important;
  border-color: rgba(217, 107, 43, 0.3) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.bookmark-item:hover {
  background: #ffffff !important;
  border-color: #b85b23 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(184, 91, 35, 0.18) !important;
}

[data-theme="dark"] .bookmark-item:hover {
  background: #2d2621 !important;
  border-color: #e27d3c !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45) !important;
}

.bookmark-item__title {
  font-family: var(--font-heading) !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #1a130e !important;
  margin: 0 0 5px !important;
  display: block !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
}

[data-theme="dark"] .bookmark-item__title {
  color: #fff6ed !important;
}

.bookmark-item:hover .bookmark-item__title {
  color: #b85b23 !important;
}

[data-theme="dark"] .bookmark-item:hover .bookmark-item__title {
  color: #ff9d66 !important;
}

.bookmark-item__meta {
  font-size: 13px !important;
  color: #6d5b4e !important;
  font-weight: 500 !important;
}

[data-theme="dark"] .bookmark-item__meta {
  color: #bdaea1 !important;
}

.bookmark-item__remove-btn {
  background: #f7ede3 !important;
  border: 1px solid rgba(184, 91, 35, 0.2) !important;
  color: #7a6657 !important;
  font-size: 15px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

[data-theme="dark"] .bookmark-item__remove-btn {
  background: #332b25 !important;
  border-color: rgba(217, 107, 43, 0.3) !important;
  color: #cfbfb1 !important;
}

.bookmark-item__remove-btn:hover {
  background: #d93d3d !important;
  border-color: #d93d3d !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

.zen-modal__close {
  background: #f7ede3 !important;
  border: 1px solid rgba(184, 91, 35, 0.2) !important;
  color: #4a3b30 !important;
  width: 36px !important;
  height: 36px !important;
  font-size: 22px !important;
}

[data-theme="dark"] .zen-modal__close {
  background: #332b25 !important;
  border-color: rgba(217, 107, 43, 0.3) !important;
  color: #ecdccf !important;
}

.zen-modal__close:hover {
  background: #b85b23 !important;
  border-color: #b85b23 !important;
  color: #ffffff !important;
}

/* Sidebar Daily Wisdom Widget: solid opaque card */
.daily-wisdom__card {
  background: #ffffff !important;
  border: 1.5px solid rgba(184, 91, 35, 0.25) !important;
  box-shadow: 0 10px 28px -6px rgba(184, 91, 35, 0.12) !important;
}

[data-theme="dark"] .daily-wisdom__card {
  background: #1e1915 !important;
  border-color: rgba(217, 107, 43, 0.32) !important;
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.5) !important;
}

.daily-wisdom__quote {
  color: #2b1f16 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

[data-theme="dark"] .daily-wisdom__quote {
  color: #f7ede2 !important;
}

.daily-wisdom__author {
  color: #725f51 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

[data-theme="dark"] .daily-wisdom__author {
  color: #bdaea1 !important;
}


/* ── 24. TRIO SUITE: GLOSSARY TOOLTIPS, MOOD NAVIGATOR & POSTCARDS ──── */

/* 24.1 Smart Glossary Tooltip Preview */
.glossary-tooltip {
  position: fixed;
  z-index: 999999;
  width: 290px;
  background: #ffffff;
  color: #1a130e;
  border: 1.5px solid rgba(184, 91, 35, 0.28);
  border-radius: 16px;
  padding: 16px 16px 12px;
  box-shadow: 0 16px 40px -8px rgba(25, 15, 8, 0.25), 0 0 0 1px rgba(184, 91, 35, 0.1);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.glossary-tooltip.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

[data-theme="dark"] .glossary-tooltip {
  background: #1e1915;
  color: #f7ede2;
  border-color: rgba(217, 107, 43, 0.38);
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
}

.glossary-tooltip__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(184, 91, 35, 0.15);
  padding-bottom: 6px;
}

.glossary-tooltip__icon {
  font-size: 16px;
}

.glossary-tooltip__title {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: #b85b23;
  text-transform: capitalize;
}

[data-theme="dark"] .glossary-tooltip__title {
  color: #ff9d66;
}

.glossary-tooltip__desc {
  font-size: 13px;
  line-height: 1.55;
  color: #4a3b30;
  margin: 0 0 8px;
}

[data-theme="dark"] .glossary-tooltip__desc {
  color: #d1c1b4;
}

.glossary-tooltip__footer {
  border-top: 1px dashed rgba(184, 91, 35, 0.18);
  padding-top: 6px;
}

.glossary-tooltip__more {
  font-size: 11.5px;
  font-weight: 600;
  color: #b85b23;
  display: block;
}

[data-theme="dark"] .glossary-tooltip__more {
  color: #ff9d66;
}

.glossary-tooltip__arrow {
  position: absolute;
  width: 10px;
  height: 10px;
  background: inherit;
  border: inherit;
  transform: rotate(45deg);
  pointer-events: none;
}

/* 24.2 Mood Navigator Widget */
.widget_mood_nav {
  margin-bottom: 24px;
}

.mood-nav__card {
  background: #ffffff;
  border: 1.5px solid rgba(184, 91, 35, 0.25);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 10px 28px -6px rgba(184, 91, 35, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .mood-nav__card {
  background: #1e1915;
  border-color: rgba(217, 107, 43, 0.32);
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.5);
}

.mood-nav__header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.mood-nav__icon {
  font-size: 20px;
  line-height: 1.2;
}

.mood-nav__label {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b85b23;
  display: block;
  margin-bottom: 2px;
}

[data-theme="dark"] .mood-nav__label {
  color: #ff9d66;
}

.mood-nav__subtitle {
  font-size: 12.5px;
  color: #6e5e52;
  margin: 0;
  line-height: 1.4;
}

[data-theme="dark"] .mood-nav__subtitle {
  color: #bfaea0;
}

.mood-nav__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.mood-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fdf8f2;
  border: 1px solid rgba(184, 91, 35, 0.22);
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #4a3b30;
  cursor: pointer;
  transition: all 0.22s ease;
}

[data-theme="dark"] .mood-pill {
  background: #251f1a;
  border-color: rgba(217, 107, 43, 0.28);
  color: #e5d7cb;
}

.mood-pill:hover {
  background: #fbf0e4;
  border-color: #b85b23;
  color: #b85b23;
  transform: translateY(-1px);
}

[data-theme="dark"] .mood-pill:hover {
  background: #2f2720;
  color: #ff9d66;
}

.mood-pill--active {
  background: #b85b23 !important;
  border-color: #b85b23 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(184, 91, 35, 0.28);
  transform: scale(1.03);
}

.mood-nav__results {
  background: #fbf7f1;
  border: 1px solid rgba(184, 91, 35, 0.2);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: zenFadeIn 0.3s ease;
}

[data-theme="dark"] .mood-nav__results {
  background: #26201b;
  border-color: rgba(217, 107, 43, 0.28);
}

.mood-advice {
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.5;
  color: #44352a;
  border-left: 3px solid #b85b23;
  padding-left: 10px;
  margin: 0;
}

[data-theme="dark"] .mood-advice {
  color: #e3d3c5;
}

.mood-articles-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mood-article-item {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(184, 91, 35, 0.16);
  border-radius: 10px;
  padding: 8px 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

[data-theme="dark"] .mood-article-item {
  background: #1c1815;
  border-color: rgba(217, 107, 43, 0.25);
}

.mood-article-item:hover {
  background: #fdfaf6;
  border-color: #b85b23;
  transform: translateX(3px);
}

[data-theme="dark"] .mood-article-item:hover {
  background: #25201b;
}

.mood-article-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #1a130e;
  line-height: 1.35;
  display: block;
  margin-bottom: 2px;
}

[data-theme="dark"] .mood-article-title {
  color: #f7ede2;
}

.mood-article-item:hover .mood-article-title {
  color: #b85b23;
}

.mood-article-meta {
  font-size: 11px;
  color: #7b6a5d;
}

[data-theme="dark"] .mood-article-meta {
  color: #b5a395;
}

.mood-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(184, 91, 35, 0.1);
  border: 1px solid rgba(184, 91, 35, 0.25);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #b85b23;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

[data-theme="dark"] .mood-action-btn {
  background: rgba(217, 107, 43, 0.15);
  border-color: rgba(217, 107, 43, 0.35);
  color: #ff9d66;
}

.mood-action-btn:hover {
  background: #b85b23;
  color: #ffffff;
}

/* 24.3 Quote Postcard Modal */
.zen-modal__card_postcard {
  max-width: 480px !important;
  padding: 28px 24px 24px !important;
  text-align: center;
}

.postcard-preview-container {
  margin: 14px auto 18px;
  max-width: 360px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(184, 91, 35, 0.25);
}

.postcard-preview-img {
  width: 100%;
  height: auto;
  display: block;
}

.postcard-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.postcard-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  flex: 1;
}

.postcard-action-btn_primary {
  background: #b85b23;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(184, 91, 35, 0.3);
}

.postcard-action-btn_primary:hover {
  background: #a04e1c;
  transform: translateY(-1px);
}

.postcard-action-btn_secondary {
  background: #f7ede3;
  color: #4a3b30;
  border: 1px solid rgba(184, 91, 35, 0.25);
}

[data-theme="dark"] .postcard-action-btn_secondary {
  background: #2a231d;
  color: #f0e2d5;
  border-color: rgba(217, 107, 43, 0.35);
}

.postcard-action-btn_secondary:hover {
  background: #fae5d2;
  border-color: #b85b23;
  color: #b85b23;
}


/* ── 25. PERFECT RESPONSIVE MOBILE MENU REDESIGN ─────────────────────── */
@media (max-width: 969px) {
  /* 1. Eliminate the giant deformed oval background on mobile */
  .header__nav {
    padding: 0 0 16px !important;
    margin: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  .header__nav-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 16px !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .nav-main {
    width: 100% !important;
    position: relative !important;
    overflow: visible !important;
  }

  /* 2. Sleek, centered terracotta mobile menu pill button */
  .menu-btn.js-nav-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    background: linear-gradient(135deg, #943d1a 0%, #a8471e 60%, #b85b23 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    box-shadow: 0 6px 18px rgba(148, 61, 26, 0.25) !important;
    cursor: pointer !important;
    padding: 0 20px !important;
    margin: 0 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .menu-btn.js-nav-btn:hover,
  .menu-btn.js-nav-btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(148, 61, 26, 0.32) !important;
  }

  .menu-btn.js-nav-btn.menu-btn--open {
    background: linear-gradient(135deg, #7c2f10 0%, #943d1a 100%) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 14px rgba(124, 47, 16, 0.3) !important;
  }

  /* Clean animated hamburger icon */
  .menu-btn__icon {
    display: inline-flex !important;
    width: 18px !important;
    height: 12px !important;
    background: transparent !important;
    position: relative !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
  }

  .menu-btn__icon::before,
  .menu-btn__icon::after,
  .menu-btn__icon-bar {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    width: 18px !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.24s ease !important;
  }

  .menu-btn__icon::before { top: 0 !important; }
  .menu-btn__icon-bar { top: 5px !important; }
  .menu-btn__icon::after { top: 10px !important; }

  .menu-btn--open .menu-btn__icon::before {
    transform: translateY(5px) rotate(45deg) !important;
  }
  .menu-btn--open .menu-btn__icon-bar {
    opacity: 0 !important;
  }
  .menu-btn--open .menu-btn__icon::after {
    transform: translateY(-5px) rotate(-45deg) !important;
  }

  /* 3. Pristine, high-contrast dropdown card */
  .nav-main__list {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-top: 10px !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(184, 91, 35, 0.25) !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 40px -10px rgba(45, 20, 10, 0.25), 0 0 0 1px rgba(184, 91, 35, 0.1) !important;
    padding: 8px !important;
    list-style: none !important;
    gap: 2px !important;
    overflow: hidden !important;
    animation: zenMenuSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  [data-theme="dark"] .nav-main__list {
    background: #1e1915 !important;
    border-color: rgba(217, 107, 43, 0.35) !important;
    box-shadow: 0 18px 45px -10px rgba(0, 0, 0, 0.7) !important;
  }

  .nav-main__list.nav-main__list--open {
    display: flex !important;
  }

  @keyframes zenMenuSlide {
    from {
      opacity: 0;
      transform: translateY(-8px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .nav-main__list > li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    border-bottom: 1px solid rgba(184, 91, 35, 0.08) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .nav-main__list > li:last-child {
    border-bottom: none !important;
  }

  [data-theme="dark"] .nav-main__list > li {
    border-bottom-color: rgba(217, 107, 43, 0.12) !important;
  }

  /* Reset legacy style.css pseudo-elements that caused stray lines/triangles */
  .nav-main__list .main-menu__link::before,
  .nav-main__list .main-menu__link::after,
  .nav-main__list > li > a::before,
  .nav-main__list > li > a::after {
    display: none !important;
    content: none !important;
    border: none !important;
  }

  .nav-main__list > li > a,
  .nav-main__list .main-menu__link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 11px 16px !important;
    color: #241a12 !important;
    font-family: var(--font-heading) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    margin: 0 !important;
    position: relative !important;
    transition: all 0.2s ease !important;
  }

  [data-theme="dark"] .nav-main__list > li > a,
  [data-theme="dark"] .nav-main__list .main-menu__link {
    color: #f7ede2 !important;
  }

  .nav-main__list > li > a:hover,
  .nav-main__list > li > a:active {
    background: #fbf2ea !important;
    color: #b85b23 !important;
    padding-left: 20px !important;
  }

  [data-theme="dark"] .nav-main__list > li > a:hover,
  [data-theme="dark"] .nav-main__list > li > a:active {
    background: #2a221b !important;
    color: #ff9d66 !important;
  }

  .nav-main__list > li.current-menu-item > a,
  .nav-main__list > li.current-post-ancestor > a {
    background: rgba(184, 91, 35, 0.12) !important;
    color: #b85b23 !important;
    font-weight: 700 !important;
  }

  [data-theme="dark"] .nav-main__list > li.current-menu-item > a {
    background: rgba(217, 107, 43, 0.2) !important;
    color: #ff9d66 !important;
  }

  /* 4. Elegant right-aligned submenu chevron (clean, on the same line) */
  .nav-main__list > li.menu-item-has-children > a::after {
    display: inline-flex !important;
    content: '▾' !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    opacity: 1 !important;
    margin-left: auto !important;
    font-size: 15px !important;
    color: #b85b23 !important;
    transition: transform 0.25s ease !important;
  }

  [data-theme="dark"] .nav-main__list > li.menu-item-has-children > a::after {
    color: #ff9d66 !important;
  }

  .nav-main__list > li.menu-item-has-children.is-expanded > a::after {
    transform: rotate(180deg) !important;
  }

  /* 5. Submenu inline accordion: 100% visible when is-expanded */
  .nav-main__list .main-menu__sublist,
  .nav-main__list ul {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 4px 0 8px 12px !important;
    background: #fcf9f5 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  [data-theme="dark"] .nav-main__list .main-menu__sublist,
  [data-theme="dark"] .nav-main__list ul {
    background: #171310 !important;
  }

  .nav-main__list > li.is-expanded > .main-menu__sublist,
  .nav-main__list > li.is-expanded > ul {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-main__list .main-menu__sublist li {
    width: 100% !important;
    border-bottom: none !important;
    border-radius: 0 !important;
  }

  .nav-main__list .main-menu__sublist a {
    padding: 10px 14px 10px 18px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #554336 !important;
    border-left: 2px solid rgba(184, 91, 35, 0.3) !important;
    border-radius: 0 8px 8px 0 !important;
    display: block !important;
    min-height: 40px !important;
  }

  [data-theme="dark"] .nav-main__list .main-menu__sublist a {
    color: #c9b9ab !important;
    border-left-color: rgba(217, 107, 43, 0.4) !important;
  }

  .nav-main__list .main-menu__sublist a:hover {
    background: #f5ebe1 !important;
    color: #b85b23 !important;
    border-left-color: #b85b23 !important;
  }

  [data-theme="dark"] .nav-main__list .main-menu__sublist a:hover {
    background: #251e18 !important;
    color: #ff9d66 !important;
  }
}


/* ==========================================================================
   2026 TYPOGRAPHY, TOC & SOCIAL SHARE SYSTEM (FLAWLESS & ZERO-GLITCH)
   ========================================================================== */

/* 1. Neutralize Database Inline "text-align: justify" that causes awkward word gaps */
.entry,
.entry p,
.entry div,
.entry span,
.entry li,
.post-m,
.post-m p,
.post-content,
[style*="text-align: justify"],
[style*="text-align:justify"] {
  text-align: left !important;
  text-justify: auto !important;
  hyphens: auto;
}

/* 2. Table of Contents (TOC) — Elevated Brand Styling */
.toc,
#toc,
#toc_container {
  background: var(--bg-surface-elevated, #fbf4ea) !important;
  border: 1px solid var(--border-card, rgba(148, 61, 26, 0.16)) !important;
  border-left: 5px solid var(--accent-terracotta, #c85e2b) !important;
  border-radius: 18px !important;
  padding: 1.25rem 1.6rem !important;
  margin: 2rem 0 !important;
  box-shadow: 0 4px 18px rgba(85, 45, 20, 0.06) !important;
  transition: all var(--transition-normal, 0.28s ease) !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.toc__header,
#toc_container .toc_title {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  cursor: pointer !important;
  user-select: none !important;
  text-align: left !important;
  padding-bottom: 0.6rem !important;
  margin-bottom: 0.6rem !important;
  border-bottom: 1px solid rgba(148, 61, 26, 0.12) !important;
}

.toc__title,
#toc_container .toc_title {
  font-family: var(--font-family) !important;
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  color: var(--brand-primary, #943d1a) !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.toc__title::before {
  content: '📑';
  font-size: 1.15rem;
}

.toc__toggle {
  font-size: 0.85rem !important;
  color: var(--brand-primary, #943d1a) !important;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(148, 61, 26, 0.08) !important;
}

.toc--collapsed .toc__toggle {
  transform: rotate(-90deg) !important;
}

.toc--collapsed .toc__header {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.toc--collapsed .toc__list {
  display: none !important;
}

.toc__list,
#toc_container ul {
  list-style: none !important;
  counter-reset: toc-counter !important;
  margin: 0.8rem 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.toc__item,
#toc_container ul li {
  counter-increment: toc-counter !important;
  position: relative !important;
  margin: 0.75rem 0 !important;
  padding-left: 2.3rem !important;
  line-height: 1.55 !important;
  text-align: left !important;
  background: none !important;
}

/* Numbered bullet badge: Warm terracotta gradient (Zero clashing blue!) */
.toc__item::before,
#toc_container ul li:before {
  content: counter(toc-counter) !important;
  position: absolute !important;
  left: 0 !important;
  top: 2px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  background: linear-gradient(135deg, #943d1a 0%, #c85e2b 100%) !important;
  color: #ffffff !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 6px rgba(148, 61, 26, 0.25) !important;
}

.toc__link,
#toc_container a {
  color: var(--text-primary, #291d14) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  text-align: left !important;
  transition: color 0.18s ease !important;
  display: inline !important;
  border-bottom: none !important;
}

.toc__link:hover,
#toc_container a:hover {
  color: var(--accent-terracotta, #c85e2b) !important;
  text-decoration: none !important;
  border-bottom: 1px dotted var(--accent-terracotta, #c85e2b) !important;
}

.toc__item--active .toc__link {
  color: var(--brand-primary, #943d1a) !important;
  font-weight: 700 !important;
}

.toc__item--active::before {
  transform: scale(1.08) !important;
  box-shadow: 0 3px 10px rgba(148, 61, 26, 0.35) !important;
}

/* 3. Mobile Bottom Sheet Drawer TOC styling */
#drawer-toc-content,
#drawer-toc-content .toc__list,
#drawer-toc-content .toc__item,
#drawer-toc-content .toc__link {
  text-align: left !important;
  text-decoration: none !important;
}

/* 4. Social Share — 2026 Modern Responsive Card */
.social-share {
  background: var(--bg-surface-elevated, #fbf4ea) !important;
  border: 1px solid var(--border-card, rgba(148, 61, 26, 0.15)) !important;
  border-radius: 18px !important;
  padding: 18px 22px !important;
  margin: 32px 0 24px !important;
  box-shadow: 0 4px 16px rgba(85, 45, 20, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.social-share__header {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.social-share__header-icon {
  color: var(--brand-primary, #943d1a) !important;
  flex-shrink: 0 !important;
}

.social-share__label {
  font-family: var(--font-family) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-primary, #291d14) !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
}

.social-share__links {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.social-share__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  user-select: none !important;
  box-sizing: border-box !important;
}

.social-share__btn-icon {
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.social-share__btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16) !important;
  opacity: 0.95 !important;
}

.social-share__btn:active {
  transform: translateY(1px) !important;
}

.social-share__btn:hover .social-share__btn-icon {
  transform: scale(1.1) !important;
}

.social-share__btn_tg {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%) !important;
}

.social-share__btn_fb {
  background: linear-gradient(135deg, #1877F2 0%, #166fe5 100%) !important;
}

.social-share__btn_tw {
  background: linear-gradient(135deg, #2b3137 0%, #111417 100%) !important;
}

.social-share__btn_wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
}

.social-share__btn_copy {
  background: linear-gradient(135deg, #943d1a 0%, #c85e2b 100%) !important;
}

/* 5. Dark Mode Parity */
[data-theme="dark"] .social-share,
.dark-mode .social-share {
  background: #1e1915 !important;
  border-color: rgba(235, 179, 9, 0.18) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .social-share__label,
.dark-mode .social-share__label {
  color: #fdf7ee !important;
}

[data-theme="dark"] .social-share__header-icon,
.dark-mode .social-share__header-icon {
  color: #e28a52 !important;
}

[data-theme="dark"] .toc,
[data-theme="dark"] #toc,
[data-theme="dark"] #toc_container,
.dark-mode .toc,
.dark-mode #toc,
.dark-mode #toc_container {
  background: #1e1915 !important;
  border-color: rgba(235, 179, 9, 0.18) !important;
}

[data-theme="dark"] .toc__link,
[data-theme="dark"] #toc_container a,
.dark-mode .toc__link,
.dark-mode #toc_container a {
  color: #f5ece0 !important;
}

[data-theme="dark"] .toc__toggle,
.dark-mode .toc__toggle {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #e28a52 !important;
}

/* Strictly eliminate underlines in TOC and Social Share inside .entry */
.entry .toc a,
.entry .toc__link,
.entry #toc a,
.entry #toc_container a,
.entry .social-share a,
.toc a,
.toc__link,
#toc a,
#toc_container a {
  text-decoration: none !important;
  border-bottom: none !important;
}

.entry .toc a:hover,
.entry .toc__link:hover,
.entry #toc a:hover,
.entry #toc_container a:hover,
.toc a:hover,
.toc__link:hover {
  text-decoration: none !important;
  color: var(--accent-terracotta, #c85e2b) !important;
}

/* ==========================================================================
   2026 GOOGLE ADSENSE TRUST, GDPR COOKIE BANNER & LEGAL PAGES SUITE
   ========================================================================== */

/* ── 1. Home Page Semantic Hero Header (H1) ────────────────────────── */
.home-hero-header {
  margin: 0 0 2rem;
  padding: 1.5rem 1.8rem;
  background: var(--bg-surface-elevated, #fbf4ea);
  border: 1px solid var(--border-subtle, rgba(148, 61, 26, 0.12));
  border-left: 5px solid var(--accent-terracotta, #c85e2b);
  border-radius: var(--radius-lg, 20px);
  box-shadow: 0 4px 16px rgba(85, 45, 20, 0.04);
}

.home-hero-title {
  font-family: var(--font-family) !important;
  font-size: clamp(1.4rem, 2.5vw + 0.6rem, 2.1rem) !important;
  font-weight: 800 !important;
  color: var(--brand-primary, #943d1a) !important;
  margin: 0 0 0.5rem !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

.home-hero-subtitle {
  font-family: var(--font-body-family, sans-serif) !important;
  font-size: clamp(0.95rem, 1vw + 0.4rem, 1.12rem) !important;
  color: var(--text-secondary, #534133) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* ── 2. Footer Trust Navigation (Privacy, Terms, About, Contact) ────── */
.footer__trust-nav {
  margin: 1.25rem 0 0.75rem;
  width: 100%;
}

.nav-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
}

.nav-trust__link {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--text-secondary, #534133) !important;
  text-decoration: none !important;
  padding: 6px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-trust__link:hover {
  color: var(--brand-primary, #943d1a) !important;
  background: rgba(148, 61, 26, 0.08);
}

.nav-trust__separator {
  color: var(--border-card, rgba(148, 61, 26, 0.3));
  font-size: 12px;
  user-select: none;
}

/* ── 3. GDPR / Google AdSense Cookie Consent Banner ──────────────────── */
.zen-cookie-consent {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: calc(100% - 32px);
  max-width: 860px;
  z-index: 999999;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.zen-cookie-consent--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.zen-cookie-consent__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(253, 247, 238, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 61, 26, 0.2) !important;
  border-radius: 20px !important;
  padding: 16px 24px !important;
  box-shadow: 0 16px 44px rgba(85, 45, 20, 0.18) !important;
  box-sizing: border-box;
}

.zen-cookie-consent__content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.zen-cookie-consent__icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
}

.zen-cookie-consent__body {
  flex: 1;
}

.zen-cookie-consent__text {
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: var(--text-primary, #291d14) !important;
}

.zen-cookie-consent__link {
  color: var(--accent-terracotta, #c85e2b) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  margin-left: 6px;
  white-space: nowrap;
}

.zen-cookie-consent__actions {
  flex-shrink: 0;
}

.zen-cookie-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  min-height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand-primary, #943d1a) 0%, var(--accent-terracotta, #c85e2b) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(148, 61, 26, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.zen-cookie-consent__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(148, 61, 26, 0.35);
}

.zen-cookie-consent__btn:active {
  transform: translateY(1px);
}

/* ── 4. Trust Legal Pages (Privacy Policy, Terms of Service, About) ─── */
.zen-legal-page {
  background: var(--bg-surface, #fdf7ee);
  border: 1px solid var(--border-card, rgba(148, 61, 26, 0.16));
  border-radius: var(--radius-lg, 20px);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  margin: 2rem auto 3.5rem;
  max-width: 960px;
  box-shadow: 0 8px 30px rgba(85, 45, 20, 0.06);
}

.zen-legal-page__header {
  margin-bottom: 2.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 61, 26, 0.12);
}

.zen-legal-page__badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(148, 61, 26, 0.1);
  color: var(--brand-primary, #943d1a);
  margin-bottom: 0.8rem;
}

.zen-legal-page__title {
  font-family: var(--font-family) !important;
  font-size: clamp(1.75rem, 3.5vw + 0.6rem, 2.5rem) !important;
  font-weight: 800 !important;
  color: var(--brand-primary, #943d1a) !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 0.6rem !important;
  line-height: 1.25 !important;
}

.zen-legal-page__meta {
  font-size: 0.95rem;
  color: var(--text-muted, #7d6856);
  margin: 0;
}

.zen-legal-alert {
  background: rgba(200, 94, 43, 0.08);
  border-left: 4px solid var(--accent-terracotta, #c85e2b);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.zen-legal-section {
  margin: 2rem 0;
}

.zen-legal-section h2 {
  font-family: var(--font-family) !important;
  font-size: clamp(1.25rem, 1.8vw + 0.6rem, 1.65rem) !important;
  font-weight: 700 !important;
  color: var(--text-primary, #291d14) !important;
  margin: 1.8rem 0 0.8rem !important;
}

.zen-legal-section p,
.zen-legal-section li {
  font-size: 1.0625rem !important;
  line-height: 1.75 !important;
  color: var(--text-primary, #291d14) !important;
}

.zen-legal-section ul {
  margin: 0.8rem 0 1.2rem 1.5rem !important;
  padding: 0 !important;
}

.zen-legal-section li {
  margin-bottom: 0.5rem !important;
}

.zen-legal-highlight {
  background: var(--bg-surface-elevated, #fbf4ea);
  border: 1px solid rgba(148, 61, 26, 0.18);
  border-left: 5px solid var(--brand-primary, #943d1a);
  border-radius: 14px;
  padding: 1.5rem 1.8rem;
  margin: 2.2rem 0;
}

/* ── 5. About Us Page Components ─────────────────────────────────────── */
.zen-about-hero-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-surface-elevated, #fbf4ea);
  border: 1px solid rgba(148, 61, 26, 0.15);
  border-radius: 16px;
  padding: 1.8rem 2rem;
  margin-bottom: 2.5rem;
}

.zen-about-hero-card__icon {
  font-size: 40px;
  flex-shrink: 0;
  line-height: 1;
}

.zen-about-hero-card__text h2 {
  margin: 0 0 0.6rem !important;
  font-size: 1.4rem !important;
  color: var(--brand-primary, #943d1a) !important;
}

.zen-about-hero-card__text p {
  margin: 0 !important;
  font-size: 1.08rem !important;
  line-height: 1.65 !important;
}

.zen-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 1.5rem 0;
}

.zen-about-card {
  background: var(--bg-surface-elevated, #fbf4ea);
  border: 1px solid rgba(148, 61, 26, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zen-about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(85, 45, 20, 0.08);
}

.zen-about-card__icon {
  font-size: 32px;
  margin-bottom: 0.8rem;
}

.zen-about-card h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--brand-primary, #943d1a) !important;
  margin: 0 0 0.5rem !important;
}

.zen-about-card p {
  font-size: 0.98rem !important;
  line-height: 1.6 !important;
  color: var(--text-secondary, #534133) !important;
  margin: 0 !important;
}

.zen-about-cta-section {
  text-align: center;
  background: var(--bg-surface-elevated, #fbf4ea);
  border-radius: 16px;
  padding: 2.2rem 1.5rem;
  margin-top: 3rem;
}

.zen-contact-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--brand-primary, #943d1a) 0%, var(--accent-terracotta, #c85e2b) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(148, 61, 26, 0.25);
  margin-top: 1rem;
  transition: all 0.2s ease;
}

.zen-contact-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(148, 61, 26, 0.35);
}

/* ── 6. Contact Us Page & Form ───────────────────────────────────────── */
.zen-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  align-items: start;
}

.zen-contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.zen-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-surface-elevated, #fbf4ea);
  border: 1px solid rgba(148, 61, 26, 0.12);
  border-radius: 16px;
  padding: 1.4rem;
}

.zen-contact-item__icon {
  font-size: 28px;
  line-height: 1;
}

.zen-contact-item__body h3 {
  margin: 0 0 0.3rem !important;
  font-size: 1.15rem !important;
  color: var(--brand-primary, #943d1a) !important;
}

.zen-contact-item__body p {
  margin: 0 0 0.2rem !important;
  font-size: 1.05rem !important;
  font-weight: 600;
}

.zen-contact-item__body small {
  color: var(--text-muted, #7d6856);
  font-size: 0.88rem;
}

.zen-contact-form-card {
  background: var(--bg-surface-elevated, #fbf4ea);
  border: 1px solid rgba(148, 61, 26, 0.14);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(85, 45, 20, 0.05);
}

.zen-form-group {
  margin-bottom: 1.25rem;
}

.zen-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: var(--text-primary, #291d14);
}

.zen-form-input,
.zen-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(148, 61, 26, 0.2);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text-primary, #291d14);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.zen-form-input:focus,
.zen-form-textarea:focus {
  outline: none;
  border-color: var(--accent-terracotta, #c85e2b);
  box-shadow: 0 0 0 3px rgba(200, 94, 43, 0.18);
}

.zen-contact-btn-submit {
  width: 100%;
  padding: 14px 24px;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand-primary, #943d1a) 0%, var(--accent-terracotta, #c85e2b) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(148, 61, 26, 0.25);
  transition: all 0.2s ease;
}

.zen-contact-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(148, 61, 26, 0.35);
}

.zen-contact-alert {
  padding: 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.zen-contact-alert_success {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #1b6335;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.zen-contact-alert_error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #842029;
}

/* ── 7. CLS Stabilization & Touch Ergonomics ─────────────────────────── */
img {
  max-width: 100%;
  height: auto;
}

.bento-card__thumb img,
.popular__img img {
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
}

/* Ensure minimum touch targets across mobile */
@media (max-width: 768px) {
  .zen-cookie-consent__card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px !important;
    gap: 14px;
  }
  .zen-cookie-consent__actions {
    width: 100%;
  }
  .zen-cookie-consent__btn {
    width: 100%;
  }
  .zen-contact-layout {
    grid-template-columns: 1fr;
  }
  .nav-trust {
    flex-direction: column;
    gap: 6px;
  }
  .nav-trust__separator {
    display: none;
  }
}

/* ── 8. Dark Mode Parity ─────────────────────────────────────────────── */
[data-theme="dark"] .home-hero-header,
.dark-mode .home-hero-header {
  background: #1e1915 !important;
  border-color: rgba(235, 179, 9, 0.18) !important;
}

[data-theme="dark"] .home-hero-title,
.dark-mode .home-hero-title {
  color: #fdf7ee !important;
}

[data-theme="dark"] .home-hero-subtitle,
.dark-mode .home-hero-subtitle {
  color: #c9bbae !important;
}

[data-theme="dark"] .zen-cookie-consent__card,
.dark-mode .zen-cookie-consent__card {
  background: rgba(30, 25, 21, 0.96) !important;
  border-color: rgba(235, 179, 9, 0.25) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .zen-cookie-consent__text,
.dark-mode .zen-cookie-consent__text {
  color: #f5ece0 !important;
}

[data-theme="dark"] .zen-legal-page,
.dark-mode .zen-legal-page {
  background: #1e1915 !important;
  border-color: rgba(235, 179, 9, 0.18) !important;
}

[data-theme="dark"] .zen-legal-page__title,
.dark-mode .zen-legal-page__title {
  color: #fdf7ee !important;
}

[data-theme="dark"] .zen-legal-section h2,
.dark-mode .zen-legal-section h2 {
  color: #fdf7ee !important;
}

[data-theme="dark"] .zen-legal-section p,
[data-theme="dark"] .zen-legal-section li,
.dark-mode .zen-legal-section p,
.dark-mode .zen-legal-section li {
  color: #ded1c1 !important;
}

[data-theme="dark"] .zen-legal-highlight,
[data-theme="dark"] .zen-about-hero-card,
[data-theme="dark"] .zen-about-card,
[data-theme="dark"] .zen-contact-item,
[data-theme="dark"] .zen-contact-form-card,
.dark-mode .zen-legal-highlight,
.dark-mode .zen-about-hero-card,
.dark-mode .zen-about-card,
.dark-mode .zen-contact-item,
.dark-mode .zen-contact-form-card {
  background: #25201b !important;
  border-color: rgba(235, 179, 9, 0.15) !important;
}

[data-theme="dark"] .zen-form-input,
[data-theme="dark"] .zen-form-textarea,
.dark-mode .zen-form-input,
.dark-mode .zen-form-textarea {
  background: #1a1612 !important;
  border-color: rgba(235, 179, 9, 0.25) !important;
  color: #fdf7ee !important;
}

[data-theme="dark"] .nav-trust__link,
.dark-mode .nav-trust__link {
  color: #c9bbae !important;
}


/* ── 9. Automated AdSense & Monetization Slots (Zero Layout Shift) ───── */
.zen-ad-slot {
  position: relative;
  margin: 32px auto;
  text-align: center;
  clear: both;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.zen-ad-slot__inner {
  display: inline-block;
  width: 100%;
  min-height: 90px;
  background: rgba(184, 91, 35, 0.03);
  border: 1px dashed rgba(184, 91, 35, 0.18);
  border-radius: 12px;
  padding: 8px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .zen-ad-slot--inarticle .zen-ad-slot__inner {
    min-height: 250px;
  }
}

.zen-ad-slot__label {
  display: block;
  font-family: var(--font-base);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
  opacity: 0.65;
  margin-bottom: 6px;
}

.widget_zen_sticky_ad {
  position: -webkit-sticky;
  position: sticky;
  top: 86px;
  z-index: 10;
  margin-top: 24px;
}

.zen-ad-slot--sidebar .zen-ad-slot__inner {
  min-height: 250px;
}

/* ── 10. Affiliate & Recommendation Showcase Card (High Converting) ──── */
.zen-affiliate-card {
  background: var(--bg-surface);
  border: 1px solid rgba(184, 91, 35, 0.22);
  border-left: 5px solid var(--brand-primary);
  border-radius: 18px;
  padding: 24px;
  margin: 36px 0;
  box-shadow: 0 10px 28px -6px rgba(184, 91, 35, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zen-affiliate-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -6px rgba(184, 91, 35, 0.15);
}

.zen-affiliate-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.zen-affiliate-card__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(184, 91, 35, 0.12);
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.zen-affiliate-card__stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.zen-affiliate-card__body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

@media (max-width: 600px) {
  .zen-affiliate-card__body {
    flex-direction: column;
  }
}

.zen-affiliate-card__thumb {
  flex-shrink: 0;
  width: 100px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.zen-affiliate-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.zen-affiliate-card__content {
  flex: 1;
}

.zen-affiliate-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.35;
}

.zen-affiliate-card__author {
  font-size: 0.88rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin: 0 0 10px;
}

.zen-affiliate-card__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

.zen-affiliate-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-primary);
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(184, 91, 35, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zen-affiliate-card__btn:hover {
  background: #a24b18;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(184, 91, 35, 0.35);
}


/* ── 9. Google AdSense Responsive Layout System (Zero Void Guarantee) ── */
.zen-ad-slot {
  position: relative;
  margin: 24px auto;
  text-align: center;
  clear: both;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.zen-ad-slot__inner {
  display: inline-block;
  width: 100%;
  min-height: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* In-Article ads: Collapse completely unless filled by Google AdSense */
.zen-ad-slot--inarticle {
  margin: 0;
  display: none; /* Hidden by default until is-filled is added */
}

.zen-ad-slot--inarticle.is-filled {
  display: block;
  margin: 28px auto;
  clear: both;
}

.zen-ad-slot--inarticle .zen-ad-slot__inner {
  background: transparent;
  border: none;
  padding: 0;
}

.zen-ad-slot__label {
  display: block;
  font-family: var(--font-base);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
  opacity: 0.65;
  margin-bottom: 6px;
}

.widget_zen_sticky_ad {
  position: -webkit-sticky;
  position: sticky;
  top: 86px;
  z-index: 10;
  margin-top: 24px;
}

.zen-ad-slot--sidebar {
  min-height: 120px;
}

.zen-sidebar-ad-card {
  margin: 16px 0 20px 0;
  text-align: center;
  width: 100%;
  border-radius: 14px;
  background: var(--bg-surface);
  padding: 12px 8px;
  border: 1px solid rgba(184, 91, 35, 0.12);
  box-sizing: border-box;
}

.zen-direct-ad-card {
  display: block;
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(184, 91, 35, 0.04) 100%);
  border: 1px solid rgba(184, 91, 35, 0.18);
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.zen-direct-ad-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
  box-shadow: 0 10px 24px -6px rgba(184, 91, 35, 0.14);
}

.zen-direct-ad-card__link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.zen-direct-ad-badge {
  display: inline-block;
  font-family: var(--font-base);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(184, 91, 35, 0.12);
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.zen-direct-ad-title {
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.35;
}

.zen-direct-ad-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.zen-direct-ad-contact {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 6px;
  word-break: break-all;
}

.zen-direct-ad-cta {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Homepage Partners Section & Responsive Grid */
.zen-home-partners-section {
  margin: 36px 0 24px 0;
  clear: both;
}

.zen-home-partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

@media (max-width: 820px) {
  .zen-home-partners-grid {
    grid-template-columns: 1fr;
  }
}

.zen-home-ad-card {
  background: var(--bg-surface);
  border: 1px solid rgba(184, 91, 35, 0.14);
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}

.zen-home-ad-card__inner {
  width: 100%;
  overflow: hidden;
}

.zen-home-direct-card {
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(184, 91, 35, 0.05) 100%);
  border: 1px solid rgba(184, 91, 35, 0.18);
  border-radius: 16px;
  padding: 22px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zen-home-direct-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(184, 91, 35, 0.15);
  border-color: var(--brand-primary);
}

.zen-home-direct-card__badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(184, 91, 35, 0.12);
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.zen-home-direct-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.zen-home-direct-card__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 14px 0;
}

.zen-home-direct-card__contact {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.zen-home-direct-card__label {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 2px;
}

.zen-home-direct-card__email {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: none;
}

.zen-home-direct-card__btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--brand-primary);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.zen-home-direct-card__btn:hover {
  background: var(--brand-primary-hover, #9c4516);
  transform: translateX(3px);
}


/* ── 2026 Comprehensive Mobile UI Optimization & Zero Horizontal Shift ── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.wrapper,
.middle,
.middle__container,
.container {
  max-width: 100%;
  box-sizing: border-box;
}

/* Native In-Article Ad Units (CLS = 0 Guaranteed) */
.zen-inarticle-ad-wrap {
  margin: 32px 0;
  width: 100%;
  clear: both;
  box-sizing: border-box;
  text-align: center;
}

.zen-inarticle-ad-box {
  position: relative;
  width: 100%;
  min-height: 280px; /* Pre-allocated reserved container prevents layout shifts */
  background: var(--bg-surface, #ffffff);
  border: 1px solid rgba(184, 91, 35, 0.14);
  border-radius: 14px;
  padding: 12px 14px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-shadow: 0 4px 16px -4px rgba(184, 91, 35, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.zen-inarticle-ad-box:hover {
  border-color: rgba(184, 91, 35, 0.28);
  box-shadow: 0 6px 20px -4px rgba(184, 91, 35, 0.09);
}

.zen-inarticle-ad-box .zen-ad-slot__label {
  display: inline-block;
  font-family: var(--font-base);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
  opacity: 0.65;
  margin-bottom: 8px;
}

.zen-inarticle-ad-ins {
  width: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zen-inarticle-ad-ins .adsbygoogle {
  width: 100%;
  max-width: 100%;
}

/* Desktop Single Sticky Sidebar Ad */
.sidebar {
  position: relative;
}

.widget_zen_sticky_ad {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  z-index: 9;
  margin-top: 24px;
  width: 100%;
  box-sizing: border-box;
}

.zen-ad-slot--sidebar {
  min-height: 280px;
  background: var(--bg-surface, #ffffff);
  border: 1px solid rgba(184, 91, 35, 0.14);
  border-radius: 14px;
  padding: 12px 10px 10px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 4px 16px -4px rgba(184, 91, 35, 0.05);
}

/* Mobile Responsive Adjustments (< 768px) */
@media (max-width: 767px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .middle {
    padding: 8px 0 24px 0 !important;
  }

  .content {
    padding: 20px 16px !important;
    border-radius: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Reading Typography on Mobile */
  .entry-content,
  .entry-content p {
    font-size: 17px !important;
    line-height: 1.68 !important;
    letter-spacing: -0.01em !important;
  }

  .entry-content p {
    margin-bottom: 1.25em !important;
  }

  .entry-title {
    font-size: clamp(23px, 6.2vw, 29px) !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    word-break: break-word !important;
  }

  .entry-content h2 {
    font-size: 21px !important;
    line-height: 1.32 !important;
    margin-top: 28px !important;
    margin-bottom: 12px !important;
    word-break: break-word !important;
  }

  .entry-content h3 {
    font-size: 18px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  /* Prevent Tables & Code from causing horizontal scroll */
  .entry-content table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 8px !important;
  }

  .entry-content pre,
  .entry-content code {
    max-width: 100% !important;
    overflow-x: auto !important;
    word-break: break-word !important;
  }

  .entry-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
  }

  /* In-article ad container on mobile */
  .zen-inarticle-ad-wrap {
    margin: 22px 0;
  }

  .zen-inarticle-ad-box {
    min-height: 270px;
    padding: 10px 8px 8px;
    border-radius: 12px;
  }

  .zen-inarticle-ad-ins {
    min-height: 250px;
  }

  /* Touch accessibility */
  .social-share__btn,
  .lang-btn,
  .theme-toggle-btn,
  .header-action-btn,
  .mood-pill,
  .zen-reaction-btn {
    min-height: 44px;
  }
}

@media (max-width: 1023px) {
  .widget_zen_sticky_ad {
    position: static !important;
    top: auto !important;
    width: 100% !important;
  }
}


/* ── Mobile Header & Topbar Refinements ── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
}

.lang-btn {
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  min-height: 32px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .header-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 16px;
  }
  .header__branding-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .logo__title {
    font-size: 16px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .logo__subtitle {
    display: none;
  }
}

/* ==========================================================================
   2026 MOBILE MENU DRAWER & DOCK ENHANCEMENTS
   ========================================================================== */

@media (max-width: 969px) {
  #mobile-action-dock {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 58px !important;
    background: var(--bg-surface, #ffffff) !important;
    border-top: 1px solid rgba(184, 91, 35, 0.18) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 9999 !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 0 4px !important;
    transition: transform 0.22s ease !important;
  }

  [data-theme="dark"] #mobile-action-dock {
    background: #1b1612 !important;
    border-top-color: rgba(217, 107, 43, 0.25) !important;
    box-shadow: 0 -4px 22px rgba(0, 0, 0, 0.45) !important;
  }

  #mobile-action-dock.dock--hidden {
    transform: translateY(100%) !important;
  }

  .dock-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary, #665243) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    gap: 2px !important;
    padding: 4px 8px !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    transition: color 0.18s ease, transform 0.18s ease !important;
    flex: 1 !important;
    max-width: 68px !important;
  }

  .dock-btn:active {
    transform: scale(0.92) !important;
  }

  .dock-btn svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
  }

  #dock-btn-menu {
    color: var(--brand-primary, #b85b23) !important;
    font-weight: 700 !important;
  }

  [data-theme="dark"] #dock-btn-menu {
    color: #ff9d66 !important;
  }

  /* Fixed high contrast for expanded category in mobile menu */
  .nav-main__list > li.is-expanded > a,
  .nav-main__list > li.is-expanded > .main-menu__link {
    background: rgba(184, 91, 35, 0.14) !important;
    color: #b85b23 !important;
    font-weight: 700 !important;
  }

  [data-theme="dark"] .nav-main__list > li.is-expanded > a,
  [data-theme="dark"] .nav-main__list > li.is-expanded > .main-menu__link {
    background: rgba(217, 107, 43, 0.25) !important;
    color: #ff9d66 !important;
  }
}

/* Mobile Bottom Drawer: Main Menu Styles */
#drawer-menu-section {
  padding: 8px 2px 24px;
}

.drawer-search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.drawer-search-input {
  flex: 1;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(184, 91, 35, 0.25);
  background: var(--bg-surface, #ffffff);
  padding: 0 16px;
  font-family: var(--font-base, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 15px;
  color: var(--text-primary, #1e1610);
  box-sizing: border-box;
}

[data-theme="dark"] .drawer-search-input {
  background: #251e18;
  border-color: rgba(217, 107, 43, 0.3);
  color: #f7ede2;
}

.drawer-search-btn {
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--brand-primary, #b85b23);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.drawer-search-btn:hover {
  opacity: 0.9;
}

.drawer-block-title {
  font-family: var(--font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary, #7a6657);
  margin: 0 0 10px 4px;
  opacity: 0.85;
}

.drawer-cat-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.drawer-cat-item {
  border-radius: 14px;
  background: rgba(184, 91, 35, 0.04);
  border: 1px solid rgba(184, 91, 35, 0.12);
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .drawer-cat-item {
  background: #231c16;
  border-color: rgba(217, 107, 43, 0.2);
}

.drawer-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 8px 0 16px;
}

.drawer-cat-link {
  flex: 1;
  font-family: var(--font-heading, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary, #1e1610);
  text-decoration: none;
  padding: 12px 0;
  display: block;
}

[data-theme="dark"] .drawer-cat-link {
  color: #f7ede2;
}

.drawer-cat-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(184, 91, 35, 0.1);
  border: none;
  color: var(--brand-primary, #b85b23);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

[data-theme="dark"] .drawer-cat-toggle {
  background: rgba(217, 107, 43, 0.18);
  color: #ff9d66;
}

.drawer-cat-toggle--open {
  transform: rotate(180deg);
  background: var(--brand-primary, #b85b23);
  color: #ffffff;
}

.drawer-subcat-list {
  list-style: none;
  margin: 0;
  padding: 6px 14px 12px 18px;
  background: rgba(184, 91, 35, 0.03);
  border-top: 1px dashed rgba(184, 91, 35, 0.15);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

[data-theme="dark"] .drawer-subcat-list {
  background: #1a1410;
  border-top-color: rgba(217, 107, 43, 0.18);
}

.drawer-subcat-link {
  display: block;
  padding: 9px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-primary, #2d2218);
  text-decoration: none;
  border-left: 2.5px solid rgba(184, 91, 35, 0.35);
  border-radius: 0 8px 8px 0;
  transition: all 0.18s ease;
}

[data-theme="dark"] .drawer-subcat-link {
  color: #e4d7cd;
  border-left-color: rgba(217, 107, 43, 0.4);
}

.drawer-subcat-link:hover {
  background: rgba(184, 91, 35, 0.1);
  color: var(--brand-primary, #b85b23);
  border-left-color: var(--brand-primary, #b85b23);
  padding-left: 16px;
}

.drawer-subcat-link--all {
  font-weight: 700;
  color: var(--brand-primary, #b85b23);
  border-left-color: var(--brand-primary, #b85b23);
  margin-bottom: 4px;
}

[data-theme="dark"] .drawer-subcat-link--all {
  color: #ff9d66;
  border-left-color: #ff9d66;
}

.drawer-pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-pill {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(184, 91, 35, 0.05);
  border: 1px solid rgba(184, 91, 35, 0.14);
  color: var(--text-primary, #1e1610);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-pill:hover {
  background: rgba(184, 91, 35, 0.14);
  color: var(--brand-primary, #b85b23);
  transform: translateY(-1px);
}

[data-theme="dark"] .drawer-pill {
  background: #231c16;
  border-color: rgba(217, 107, 43, 0.2);
  color: #f7ede2;
}
