/**
 * Animal Vocabulary Hub
 * Page-specific styles for the multidimensional animal-vocabulary navigation hub.
 * Scoped under the body class page-hubs.php adds (.plants-vocabulary-hub-page).
 * Loaded after the shared hub CSS stack (_base, _hub-shared, hub-topic).
 *
 * Design: aligned to the native itako-dict hub aesthetic — one warm wood accent,
 * serif titles, thin rules, modest radii, gentle hovers. No per-view color
 * coding, no decorative dot hero, no badge pills.
 */

.plants-vocabulary-hub-page {
  --av-serif: Georgia, "Times New Roman", serif;
  --av-accent: #6b4423;      /* wood-dark: numerals, section rules, left borders */
  --av-orange: #e07a00;      /* wood-orange: links + hover highlight */
  --av-text: #3b2411;
  --av-ink: #5a4943;
  --av-muted: #7c6a5a;
  --av-line: #e3dccf;
  --av-cream: #fffaf1;
  --av-cream-2: #faf7f1;
}

.plants-vocabulary-hub-page * { box-sizing: border-box; }

/* Full-width content region; opt out of the shared 3-column hub grid. */
.plants-vocabulary-hub-page .plants-vocabulary-hub-main {
  width: 100%;
  background: var(--special-page-outer-bg, #f8f6f1);
}

.plants-vocabulary-hub-page .animal-hub-body {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 1.75rem) 3rem;
}

/* Calm cream header — no decorative corner dots. */
.plants-vocabulary-hub-page .mdhub-hero {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--av-line);
  border-top: 3px solid var(--av-accent);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffdf8 0%, var(--av-cream) 100%);
  text-align: center;
}

.plants-vocabulary-hub-page .mdhub-hero__eyebrow {
  margin: 0 0 10px;
  color: #6b5b4b;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0;
}

.plants-vocabulary-hub-page .mdhub-hero__title {
  margin: 0;
  color: var(--av-text);
  font-family: var(--av-serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.25;
}

.plants-vocabulary-hub-page .mdhub-hero__lead {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--av-ink);
  line-height: 1.72;
}

.plants-vocabulary-hub-page .animal-entry-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 16px;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.plants-vocabulary-hub-page .animal-view-map,
.plants-vocabulary-hub-page .animal-search-card {
  border: 1px solid var(--av-line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.plants-vocabulary-hub-page .animal-view-map h2,
.plants-vocabulary-hub-page .animal-search-card h2 {
  margin: 0;
  color: var(--av-text);
  font-family: var(--av-serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.plants-vocabulary-hub-page .animal-view-map p,
.plants-vocabulary-hub-page .animal-search-card p {
  margin: 7px 0 0;
  color: var(--av-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.plants-vocabulary-hub-page .animal-axis-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

/* Quiet bordered tiles — one warm tone for all four views. */
.plants-vocabulary-hub-page .animal-axis-link {
  display: block;
  padding: 11px 10px;
  border: 1px solid var(--av-line);
  border-left: 2px solid var(--av-accent);
  border-radius: 6px;
  background: var(--av-cream-2);
  color: var(--av-text);
  text-align: left;
  text-decoration: none;
  font-family: var(--av-serif);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.3;
  transition: background-color .18s ease, border-color .18s ease;
}

.plants-vocabulary-hub-page .animal-axis-link small {
  display: block;
  margin-top: 4px;
  color: var(--av-muted);
  font-family: system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 500;
}

.plants-vocabulary-hub-page .animal-axis-link:hover,
.plants-vocabulary-hub-page .animal-axis-link:focus-visible {
  background: #fffaf5;
  border-color: var(--av-accent);
}

.plants-vocabulary-hub-page .animal-route-card:focus-visible,
.plants-vocabulary-hub-page .animal-axis-link:focus-visible {
  outline: 2px solid rgba(141, 123, 104, .45);
  outline-offset: 2px;
}

.plants-vocabulary-hub-page .animal-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 14px;
}

.plants-vocabulary-hub-page .animal-search-form input {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d4c9bb;
  border-radius: 6px;
  font: inherit;
  background: #fff;
}

.plants-vocabulary-hub-page .animal-search-form input:focus {
  border-color: #9b8d7c;
  outline: 2px solid rgba(116, 97, 76, .18);
  outline-offset: 1px;
}

.plants-vocabulary-hub-page .animal-search-form button,
.plants-vocabulary-hub-page .animal-reset-button {
  appearance: none;
  padding: 10px 16px;
  border: 1px solid #a8957e;
  border-radius: 6px;
  background: #8d7b68;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease;
}

.plants-vocabulary-hub-page .animal-search-form button:hover,
.plants-vocabulary-hub-page .animal-reset-button:hover {
  background: #7b6956;
}

.plants-vocabulary-hub-page .animal-result-note {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--av-muted);
  font-size: .8rem;
}

.plants-vocabulary-hub-page .animal-dimension {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  scroll-margin-top: 18px;
}

/* Editorial section rule: serif numeral + serif heading over a single accent
   underline. No per-view color, no filled number bubble. */
.plants-vocabulary-hub-page .animal-dimension__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--av-accent);
}

.plants-vocabulary-hub-page .animal-dimension__number {
  font-family: var(--av-serif);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--av-accent);
  line-height: 1;
}

.plants-vocabulary-hub-page .animal-dimension__header h2 {
  margin: 0;
  color: var(--av-text);
  font-family: var(--av-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
}

.plants-vocabulary-hub-page .animal-dimension__header p {
  margin: 5px 0 0;
  color: var(--av-ink);
  font-size: .86rem;
  line-height: 1.5;
}

.plants-vocabulary-hub-page .animal-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.plants-vocabulary-hub-page .animal-route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 15px 16px 14px;
  border: 1px solid var(--av-line);
  border-left: 3px solid var(--av-accent);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(59, 36, 17, .05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.plants-vocabulary-hub-page .animal-route-card:hover {
  transform: translateY(-1px);
  border-color: var(--av-accent);
  box-shadow: 0 5px 14px rgba(59, 36, 17, .1);
}

.plants-vocabulary-hub-page .animal-route-card h3 {
  margin: 0;
  color: var(--av-text);
  font-family: var(--av-serif);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
}

.plants-vocabulary-hub-page .animal-route-card:hover h3 {
  color: var(--av-orange);
}

.plants-vocabulary-hub-page .animal-route-card__mn {
  margin: 5px 0 0;
  color: var(--av-muted);
  font-size: .8rem;
  font-style: italic;
}

.plants-vocabulary-hub-page .animal-route-card__desc {
  margin: 9px 0 0;
  color: var(--av-ink);
  font-size: .86rem;
  line-height: 1.58;
}

.plants-vocabulary-hub-page .animal-term-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.plants-vocabulary-hub-page .animal-term-chip {
  padding: 2px 7px;
  border: 1px solid var(--av-line);
  border-radius: 4px;
  background: var(--av-cream-2);
  color: var(--av-ink);
  font-size: .72rem;
  line-height: 1.4;
}

.plants-vocabulary-hub-page .animal-no-results {
  display: none;
  margin: 28px 0 0;
  padding: 18px;
  border: 1px dashed #cdbfae;
  border-radius: 8px;
  background: var(--av-cream);
  color: var(--av-ink);
  text-align: center;
}

.plants-vocabulary-hub-page .animal-index-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 20px;
  border: 1px solid var(--av-line);
  border-left: 3px solid var(--av-accent);
  border-radius: 8px;
  background: var(--av-cream);
}

.plants-vocabulary-hub-page .animal-index-callout h2 {
  margin: 0;
  color: var(--av-text);
  font-family: var(--av-serif);
  font-size: 1.16rem;
  font-weight: 700;
}

.plants-vocabulary-hub-page .animal-index-callout p {
  margin: 7px 0 0;
  color: var(--av-ink);
  line-height: 1.6;
}

.plants-vocabulary-hub-page .animal-index-callout a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid #d8cfc3;
  border-radius: 6px;
  background: #fff;
  color: var(--av-text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease;
}

.plants-vocabulary-hub-page .animal-index-callout a:hover {
  background: var(--av-cream-2);
  border-color: #b89a7b;
}

@media (max-width: 980px) {
  .plants-vocabulary-hub-page .animal-entry-strip { grid-template-columns: 1fr; }
  .plants-vocabulary-hub-page .animal-route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .plants-vocabulary-hub-page .animal-axis-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plants-vocabulary-hub-page .animal-route-grid { grid-template-columns: 1fr; }
  .plants-vocabulary-hub-page .animal-dimension__header { grid-template-columns: auto minmax(0, 1fr); }
  .plants-vocabulary-hub-page .animal-index-callout { grid-template-columns: 1fr; }
  .plants-vocabulary-hub-page .animal-index-callout a { justify-self: start; }
}

@media (max-width: 480px) {
  .plants-vocabulary-hub-page .animal-axis-links { grid-template-columns: 1fr; }
  .plants-vocabulary-hub-page .animal-search-form { grid-template-columns: 1fr; }
}

/* Demo v2 shell. These rules support the sidebar/main/sidebar layout now used
   by plants-vocabulary-hub.php. */
.plants-vocabulary-hub-page .mdhub-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 294px;
  width: 100%;
  background: var(--special-page-outer-bg, #f8f6f1);
  color: var(--av-text);
}

.plants-vocabulary-hub-page .mdhub-left,
.plants-vocabulary-hub-page .mdhub-right {
  padding: 18px;
  background: #fbf9f4;
}

.plants-vocabulary-hub-page .mdhub-left { border-right: 1px solid var(--av-line); }
.plants-vocabulary-hub-page .mdhub-right { border-left: 1px solid var(--av-line); }
.plants-vocabulary-hub-page .mdhub-main { min-width: 0; padding: 44px 22px 42px; }
.plants-vocabulary-hub-page .mdhub-side-panel + .mdhub-side-panel { margin-top: 26px; }

.plants-vocabulary-hub-page .mdhub-panel-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #c8b59d;
  color: var(--av-accent);
  font-family: var(--av-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.plants-vocabulary-hub-page .mdhub-stack,
.plants-vocabulary-hub-page .mdhub-toc,
.plants-vocabulary-hub-page .mdhub-toc-list {
  display: grid;
}

.plants-vocabulary-hub-page .mdhub-stack { gap: 8px; }
.plants-vocabulary-hub-page .mdhub-toc { gap: 18px; margin-top: 16px; }
.plants-vocabulary-hub-page .mdhub-toc-list {
  gap: 7px;
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}




.plants-vocabulary-hub-page .mdhub-overview-link,
.plants-vocabulary-hub-page .mdhub-toc-link {
  color: var(--av-text);
  text-decoration: none;
}

.plants-vocabulary-hub-page .mdhub-overview-link {
  display: block;
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--av-line);
  font-weight: 700;
}

.plants-vocabulary-hub-page .mdhub-overview-link::before {
  content: "⌂";
  margin-right: 6px;
  color: var(--av-accent);
}

.plants-vocabulary-hub-page .mdhub-toc-link {
  display: block;
  color: #44372f;
  font-size: .83rem;
  line-height: 1.45;
}

/* Section-only sidebar list: one entry per dimension + index (approved contract). */
.plants-vocabulary-hub-page .mdhub-toc-list--sections { gap: 4px; }

.plants-vocabulary-hub-page .mdhub-toc-link--section {
  padding: 8px 0 8px 11px;
  border-left: 3px solid transparent;
  font-family: var(--av-serif);
  font-size: .92rem;
  font-weight: 700;
}

.plants-vocabulary-hub-page .mdhub-toc-link--section.is-current,
.plants-vocabulary-hub-page .mdhub-toc-link--section:hover {
  border-left-color: var(--av-accent);
  color: var(--av-accent);
}

.plants-vocabulary-hub-page .mdhub-overview-link.is-current,
.plants-vocabulary-hub-page .mdhub-toc-link:hover { color: var(--av-accent); }

.plants-vocabulary-hub-page .hub-hero--minimal {
  max-width: 980px;
  margin: 0 auto 30px;
  padding: 0 0 28px;
  border: 0;
  border-bottom: 1px solid var(--av-line);
  background: transparent;
  text-align: center;
}

.plants-vocabulary-hub-page .hub-eyebrow { margin: 0 0 8px; color: var(--av-muted); font-size: .88rem; }

.plants-vocabulary-hub-page .hub-hero__title {
  margin: 0;
  color: var(--av-text);
  font-family: var(--av-serif);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.24;
}

.plants-vocabulary-hub-page .hub-lead {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--av-ink);
  line-height: 1.72;
}

.plants-vocabulary-hub-page .mdhub-panel {
  max-width: 1000px;
  margin: 0 auto;
  scroll-margin-top: 18px;
}

.plants-vocabulary-hub-page .mdhub-section { margin-top: 34px; }

.plants-vocabulary-hub-page .mdhub-panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 16px;
}

.plants-vocabulary-hub-page .mdhub-panel-header h2 {
  margin: 0;
  color: var(--av-accent);
  font-family: var(--av-serif);
  font-size: 1.48rem;
  line-height: 1.25;
}

.plants-vocabulary-hub-page .mdhub-panel-header p {
  margin: 7px 0 0;
  color: var(--av-ink);
  line-height: 1.62;
}

.plants-vocabulary-hub-page .mdhub-section-kicker {
  margin: 0 0 5px !important;
  color: var(--av-accent);
  font-size: .8rem;
  font-weight: 700;
}

.plants-vocabulary-hub-page .mdhub-dimension-grid,
.plants-vocabulary-hub-page .mdhub-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plants-vocabulary-hub-page .mdhub-dimension-card,
.plants-vocabulary-hub-page .mdhub-group-card {
  border: 1px solid var(--av-line);
  border-left: 4px solid var(--av-accent);
  border-radius: 6px;
  background: #fffdf9;
  box-shadow: 0 1px 3px rgba(47, 32, 22, .05);
}

.plants-vocabulary-hub-page .mdhub-dimension-card {
  padding: 16px 17px;
}

.plants-vocabulary-hub-page .mdhub-dimension-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.plants-vocabulary-hub-page .mdhub-group-card {
  display: block;
  min-height: 100%;
  padding: 16px 17px;
  color: inherit;
  text-decoration: none;
}

.plants-vocabulary-hub-page .mdhub-dimension-card h3,
.plants-vocabulary-hub-page .mdhub-group-card h3 {
  margin: 0;
  color: var(--av-text);
  font-family: var(--av-serif);
  font-size: 1.08rem;
  line-height: 1.35;
}

.plants-vocabulary-hub-page .mdhub-dimension-card p,
.plants-vocabulary-hub-page .mdhub-group-card p {
  margin: 10px 0 0;
  color: var(--av-ink);
  font-size: .9rem;
  line-height: 1.62;
}

.plants-vocabulary-hub-page .mdhub-dimension-label,
.plants-vocabulary-hub-page .mdhub-scope-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--av-line);
  background: #fff9f1;
  color: var(--av-ink);
}

.plants-vocabulary-hub-page .mdhub-dimension-label {
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--av-muted);
  font-size: .75rem;
  font-weight: 700;
}

.plants-vocabulary-hub-page .mdhub-scope-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.plants-vocabulary-hub-page .mdhub-scope-btn {
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: .78rem;
  line-height: 1.3;
  text-decoration: none;
}

/* Pills that are direct links to each scoped page (overview cards). */
.plants-vocabulary-hub-page a.mdhub-scope-btn:hover,
.plants-vocabulary-hub-page a.mdhub-scope-btn:focus-visible {
  border-color: var(--av-accent);
  color: var(--av-accent);
  background: #fff;
}

.plants-vocabulary-hub-page a.mdhub-scope-btn:focus-visible {
  outline: 2px solid rgba(114, 84, 61, .28);
  outline-offset: 2px;
}

.plants-vocabulary-hub-page .mdhub-scope-btn--tag { background: #fff; color: var(--av-muted); }

.plants-vocabulary-hub-page .mdhub-group-card__open {
  display: inline-flex;
  justify-content: center;
  margin-top: 15px;
  padding: 8px 12px;
  border: 1px solid #c8b59d;
  border-radius: 5px;
  background: #fff;
  color: var(--av-accent);
  font-weight: 700;
  text-decoration: none;
}

.plants-vocabulary-hub-page .mdhub-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.plants-vocabulary-hub-page .mdhub-search input {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d0c1b0;
  border-radius: 6px;
  background: #fff;
  font: inherit;
}

.plants-vocabulary-hub-page .mdhub-search button {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #a98765;
  border-radius: 6px;
  background: #8d7b68;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.plants-vocabulary-hub-page .mdhub-search-status {
  min-height: 1.3em;
  margin: 8px 0 0;
  color: var(--av-muted);
  font-size: .82rem;
}

.plants-vocabulary-hub-page .mdhub-searchable[hidden],
.plants-vocabulary-hub-page .mdhub-panel[hidden],
.plants-vocabulary-hub-page .mdhub-no-results[hidden] { display: none !important; }

@media (max-width: 1180px) {
  .plants-vocabulary-hub-page .mdhub-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .plants-vocabulary-hub-page .mdhub-right {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--av-line);
  }
}

@media (max-width: 860px) {
  .plants-vocabulary-hub-page .mdhub-shell { grid-template-columns: 1fr; }
  .plants-vocabulary-hub-page .mdhub-main { order: 1; padding: 28px 16px; }
  .plants-vocabulary-hub-page .mdhub-left {
    order: 2;
    border-right: 0;
    border-top: 1px solid var(--av-line);
  }
  .plants-vocabulary-hub-page .mdhub-right { order: 3; }
  .plants-vocabulary-hub-page .mdhub-dimension-grid,
  .plants-vocabulary-hub-page .mdhub-group-grid { grid-template-columns: 1fr; }
}

/* Biology Hub-aligned Animal Vocabulary overview. */
.plants-vocabulary-hub-page .mdhub-shell {
  align-items: stretch;
  margin: 0;
  border: 1px solid #ddd2c3;
  background: #fff;
}

.plants-vocabulary-hub-page .mdhub-left,
.plants-vocabulary-hub-page .mdhub-right {
  padding: 18px 18px 28px;
  background: #fbf9f5;
}

.plants-vocabulary-hub-page .mdhub-left { border-right-color: #ddd2c3; }
.plants-vocabulary-hub-page .mdhub-right { border-left-color: #ddd2c3; }
.plants-vocabulary-hub-page .mdhub-main { padding: 18px 22px 38px; background: #fff; }

.plants-vocabulary-hub-page .mdhub-panel-title {
  padding-bottom: 8px;
  border-bottom-color: #ddd2c3;
  color: #d97816;
  font-family: inherit;
  font-weight: 800;
}

.plants-vocabulary-hub-page .mdhub-overview {
  max-width: none;
  margin: 0;
}

.plants-vocabulary-hub-page .mdhub-parent-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 2px 0 14px;
  color: #8b6244;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.plants-vocabulary-hub-page .mdhub-parent-link::before {
  content: "\2190";
  font-size: 1rem;
}

.plants-vocabulary-hub-page .mdhub-parent-link:hover,
.plants-vocabulary-hub-page .mdhub-parent-link:focus-visible {
  color: #d97816;
  text-decoration: underline;
}

.plants-vocabulary-hub-page .mdhub-plants-intro {
  padding: 18px;
  border: 1px solid #bfd0b8;
  border-radius: 14px;
  background: #f8fcf6;
}

.plants-vocabulary-hub-page .mdhub-plants-intro__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.plants-vocabulary-hub-page .mdhub-plants-intro h2 {
  margin: 0;
  color: #41683c;
  font-family: inherit;
  font-size: 1.45rem;
}

.plants-vocabulary-hub-page .mdhub-plants-intro p {
  margin: 7px 0 0;
  color: #76675b;
  line-height: 1.65;
}

.plants-vocabulary-hub-page .mdhub-plants-intro__stats {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid #bfd0b8;
  border-radius: 999px;
  background: #fff;
  color: #41683c;
  font-size: .78rem;
  font-weight: 800;
}

.plants-vocabulary-hub-page .mdhub-overview .mdhub-dimension-grid {
  margin-top: 14px;
  gap: 12px;
}

.plants-vocabulary-hub-page .mdhub-overview .mdhub-dimension-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #ddd2c3;
  border-top: 6px solid var(--plants-accent);
  border-radius: 12px;
  background: var(--plants-bg);
  box-shadow: none;
}

.plants-vocabulary-hub-page .mdhub-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}


.plants-vocabulary-hub-page .mdhub-card-count {
  color: var(--plants-accent);
  font-size: .77rem;
  font-weight: 800;
  text-align: right;
}

.plants-vocabulary-hub-page .mdhub-overview .mdhub-dimension-card h3 {
  margin: 0;
  color: #3c2d23;
  font-family: inherit;
  font-size: 1.08rem;
}

.plants-vocabulary-hub-page .mdhub-overview .mdhub-dimension-card p {
  margin: 7px 0 0;
  color: #76675b;
  font-size: .87rem;
  line-height: 1.6;
}




.plants-vocabulary-hub-page .mdhub-card-action {
  display: inline-block;
  margin-top: 13px;
  color: var(--plants-accent);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.plants-vocabulary-hub-page .mdhub-card-action:hover,
.plants-vocabulary-hub-page .mdhub-card-action:focus-visible {
  color: #d97816;
  text-decoration: underline;
}

.plants-vocabulary-hub-page .mdhub-section {
  max-width: none;
  margin-top: 30px;
}

.plants-vocabulary-hub-page .mdhub-section .mdhub-panel-header {
  display: block;
  margin: 0 0 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid #ddd2c3;
}

.plants-vocabulary-hub-page .mdhub-section .mdhub-panel-header h2 {
  color: #d97816;
  font-family: inherit;
  font-size: 1.28rem;
}

.plants-vocabulary-hub-page .mdhub-section .mdhub-panel-header p {
  color: #76675b;
}

.plants-vocabulary-hub-page .mdhub-section-kicker { color: #8b6244; }

.plants-vocabulary-hub-page .mdhub-group-card {
  padding: 16px;
  border-color: #ddd2c3;
  border-left: 5px solid #8b6244;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.plants-vocabulary-hub-page .mdhub-group-card h3 {
  font-family: inherit;
  color: #3c2d23;
}

.plants-vocabulary-hub-page .mdhub-search { grid-template-columns: minmax(0, 1fr) auto; }
.plants-vocabulary-hub-page .mdhub-search input { padding: 10px 11px; border-radius: 8px; }
.plants-vocabulary-hub-page .mdhub-search button { width: auto; padding: 10px 15px; border-radius: 8px; background: #9a7b5c; }

@media (max-width: 900px) {
  .plants-vocabulary-hub-page .mdhub-plants-intro__top { display: block; }
  .plants-vocabulary-hub-page .mdhub-plants-intro__stats { display: inline-block; margin-top: 12px; }
}

@media (max-width: 560px) {
  .plants-vocabulary-hub-page .mdhub-plants-intro,
  .plants-vocabulary-hub-page .mdhub-overview .mdhub-dimension-card,
  .plants-vocabulary-hub-page .mdhub-group-card { padding: 13px; }
  .plants-vocabulary-hub-page .mdhub-card-meta { align-items: flex-start; flex-direction: column; gap: 6px; }
  .plants-vocabulary-hub-page .mdhub-card-count { text-align: left; }
}

/* In-card destinations: each entrance card carries its own glossary rows, so
   the detail no longer needs a repeated section further down the page. */
.plants-vocabulary-hub-page .mdhub-card-destinations {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.plants-vocabulary-hub-page .mdhub-destination {
  padding-top: 9px;
  border-top: 1px solid rgba(120, 96, 72, .18);
}

.plants-vocabulary-hub-page .mdhub-destination:first-child {
  padding-top: 0;
  border-top: 0;
}

.plants-vocabulary-hub-page .mdhub-destination__link {
  color: var(--plants-accent);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.plants-vocabulary-hub-page .mdhub-destination__link:hover,
.plants-vocabulary-hub-page .mdhub-destination__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.plants-vocabulary-hub-page .mdhub-destination__link:focus-visible {
  outline: 2px solid rgba(114, 84, 61, .28);
  outline-offset: 2px;
}

.plants-vocabulary-hub-page .mdhub-destination small {
  display: block;
  margin-top: 3px;
  color: #76675b;
  font-size: .79rem;
  line-height: 1.55;
}


.plants-vocabulary-hub-page .mdhub-destination[hidden] { display: none; }

/* Full A-Я strip on the index card: many small targets, so tighten them. */

