/* Tree Fluent "Field Guide" design system. See DESIGN-SYSTEM.md.
   Palette: white #FFFFFF, panel #F1F7F2, ink #10221A, spruce #1B4D35, spruce-deep #12382A, lime #C6E26B (only on dark green), alert #B3261E. */
:root {
  --tft-white: #fff; --tft-panel: #F1F7F2; --tft-rule: #CFE3D5; --tft-ink: #10221A; --tft-spruce: #1B4D35; --tft-deep: #12382A; --tft-lime: #C6E26B; --tft-alert: #B3261E;
  --tft-head: "Bitter", Georgia, serif; --tft-body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
  --tft-wrap: 1200px; --tft-text: 760px; --tft-r: 10px;
  --c-main: #1B4D35; --c-main-rgb: 27,77,53;
}
html { scroll-padding-top: 16px; }
body.tft { background: #fff; color: var(--tft-ink); font-family: var(--tft-body); font-size: 18px; line-height: 1.65; }
body.tft .main-wrap { background: #fff; }
body.tft h1, body.tft h2, body.tft h3, body.tft h4, body.tft .post-title, body.tft .is-title { font-family: var(--tft-head); color: var(--tft-ink); letter-spacing: 0; }
body.tft a { color: var(--tft-spruce); }
body.tft a:focus-visible, body.tft button:focus-visible, body.tft input:focus-visible, body.tft select:focus-visible { outline: 3px solid var(--tft-spruce); outline-offset: 2px; }
.tft-wrap { max-width: var(--tft-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.tft-wrap--text { max-width: calc(var(--tft-text) + 48px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.tft-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--tft-lime); color: var(--tft-ink); padding: 8px 14px; font-weight: 700; }
.tft-skip:focus { left: 8px; }

/* Buttons, chips, kickers */
.tft-btn { display: inline-block; font-family: var(--tft-body); font-weight: 700; font-size: 17px; line-height: 1.2; padding: 11px 18px; border-radius: 8px; text-decoration: none !important; border: 2px solid transparent; cursor: pointer; }
.tft-btn--lime { background: var(--tft-lime); color: var(--tft-ink) !important; }
.tft-btn--lime:hover { background: #d6ec8a; }
.tft-btn--dark { background: var(--tft-spruce); color: #fff !important; }
.tft-btn--dark:hover { background: var(--tft-deep); }
.tft-btn--lg { font-size: 18px; padding: 14px 24px; }
.tft-kicker { font-family: var(--tft-body); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--tft-spruce); margin: 0 0 8px; }
.tft-kicker--lime { color: var(--tft-lime); }
.tft-arrow { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tft-arrow::after { content: " \2192"; }

/* Header */
.tft-header { position: relative; z-index: 50; }
.tft-header__top { background: var(--tft-spruce); color: #fff; }
.tft-header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.tft-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: #fff !important; }
.tft-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.tft-logo__name { font-family: var(--tft-head); font-weight: 800; font-size: 28px; color: #fff; }
.tft-logo__tag { font-size: 14px; color: #E3F0E7; margin-top: 3px; }
.tft-header__tools { display: flex; align-items: center; gap: 12px; }
.tft-search { display: flex; align-items: stretch; }
.tft-search input[type=search] { font: inherit; font-size: 16px; padding: 9px 12px; border: 2px solid #fff; border-right: 0; border-radius: 8px 0 0 8px; background: #fff; color: var(--tft-ink); width: 230px; min-height: 0; height: auto; }
.tft-search input::placeholder { color: #3D5A4A; }
.tft-search button { font: inherit; font-size: 16px; font-weight: 700; padding: 9px 14px; border: 2px solid #fff; background: var(--tft-deep); color: #fff; border-radius: 0 8px 8px 0; cursor: pointer; }
.tft-header__cta { white-space: nowrap; }
.tft-menu-toggle { display: none; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 17px; color: var(--tft-ink); background: var(--tft-lime); border: 0; border-radius: 8px; padding: 10px 14px; cursor: pointer; }
.tft-menu-toggle__bars, .tft-menu-toggle__bars::before, .tft-menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--tft-ink); position: relative; content: ""; }
.tft-menu-toggle__bars::before { position: absolute; top: -6px; } .tft-menu-toggle__bars::after { position: absolute; top: 6px; }
.tft-nav { background: #fff; border-bottom: 3px solid var(--tft-spruce); }
.tft-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 2px; }
.tft-menu > li { position: relative; margin: 0; }
.tft-menu > li > a { display: block; padding: 14px 12px; font-weight: 700; font-size: 17px; color: var(--tft-ink) !important; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.tft-menu > li > a:hover, .tft-menu > li.current-menu-item > a, .tft-menu > li.current-page-ancestor > a { border-bottom-color: var(--tft-lime); background: var(--tft-panel); }
.tft-menu > li.menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 6px; border: 5px solid transparent; border-top-color: var(--tft-ink); transform: translateY(3px); }
.tft-menu .sub-menu { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border: 2px solid var(--tft-spruce); border-radius: 0 0 8px 8px; display: none; z-index: 60; }
.tft-menu li:hover > .sub-menu, .tft-menu li:focus-within > .sub-menu { display: block; }
.tft-menu .sub-menu a { display: block; padding: 10px 16px; color: var(--tft-ink) !important; text-decoration: none; font-weight: 700; font-size: 17px; }
.tft-menu .sub-menu a:hover { background: var(--tft-panel); text-decoration: underline; }
.tft-menu > li:last-child .sub-menu, .tft-menu > li:nth-last-child(2) .sub-menu { left: auto; right: 0; }
.tft-search--mobile { display: none; }
@media (max-width: 1220px) { .tft-menu > li > a { padding: 14px 9px; font-size: 16px; } .tft-search input[type=search] { width: 180px; } }
@media (max-width: 1040px) {
  .tft-header__row { min-height: 66px; }
  .tft-logo__tag, .tft-header__tools .tft-search, .tft-header__cta { display: none; }
  .tft-logo__name { font-size: 24px; }
  .tft-menu-toggle { display: inline-flex; }
  .tft-nav { display: none; border-bottom: 3px solid var(--tft-spruce); }
  .tft-nav.is-open { display: block; }
  .tft-menu { flex-direction: column; padding: 8px 0; }
  .tft-menu > li > a { padding: 13px 4px; border-bottom: 1px solid var(--tft-rule); margin: 0; font-size: 18px; }
  .tft-menu > li.menu-item-has-children > a::after { display: none; }
  .tft-menu .sub-menu { display: block; position: static; border: 0; padding: 0 0 6px 16px; min-width: 0; }
  .tft-menu .sub-menu a { padding: 10px 4px; font-weight: 400; }
  .tft-search--mobile { display: flex; padding: 12px 0 18px; }
  .tft-search--mobile input[type=search] { flex: 1; width: auto; border-color: var(--tft-spruce); }
  .tft-search--mobile button { border-color: var(--tft-spruce); background: var(--tft-spruce); }
}

/* Hide the parent's header/footer leftovers if any render. */
body.tft .smart-head, body.tft .main-footer, body.tft .off-canvas, body.tft .off-canvas-backdrop { display: none !important; }

/* Sections and grids */
.tft-main { display: block; padding-bottom: 24px; }
.tft-section { margin-top: 48px; margin-bottom: 8px; }
.tft-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--tft-ink); }
.tft-section__head h2, .tft-section__head h1 { margin: 0; font-size: 30px; line-height: 1.2; }
.tft-grid { display: grid; gap: 22px; }
.tft-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tft-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tft-grid--tight { margin-top: 22px; }
.tft-grid--hubs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .tft-grid--4, .tft-grid--hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tft-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tft-grid--3, .tft-grid--4, .tft-grid--hubs { grid-template-columns: 1fr; } .tft-section__head h2, .tft-section__head h1 { font-size: 25px; } .tft-wrap { padding: 0 18px; } }

/* Cards: specimen labels */
.tft-card { background: #fff; border: 1px solid var(--tft-rule); border-top: 4px solid var(--tft-spruce); border-radius: 0 0 var(--tft-r) var(--tft-r); overflow: hidden; display: flex; flex-direction: column; }
.tft-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tft-deep); }
.tft-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tft-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tft-card__tag { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 15px; font-weight: 700; color: var(--tft-spruce); }
.tft-card__tag .tft-leaf { color: var(--tft-spruce); flex: none; }
.tft-card__title { margin: 0; font-size: 21px; line-height: 1.3; }
.tft-card__title a { color: var(--tft-ink) !important; text-decoration: none; }
.tft-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tft-card__note { margin: 0; font-size: 17px; line-height: 1.5; color: var(--tft-ink); }
/* No-image card: pale field-guide panel with growth rings, never an empty photo box. */
.tft-card--noimg { background: #fff; border: 1px solid var(--tft-rule); border-top: 6px solid var(--tft-spruce); }
.tft-card--noimg .tft-card__body { padding: 18px 20px 20px; gap: 0; }
.tft-card--noimg .tft-card__tag { color: var(--tft-spruce); }
.tft-card--noimg .tft-card__title { font-size: 21px; margin-bottom: 8px; }
.tft-card--noimg .tft-card__more { margin-top: auto; padding-top: 12px; color: var(--tft-spruce); font-weight: 700; }
.tft-card__more { margin: auto 0 0; padding-top: 6px; font-weight: 700; font-size: 16px; color: var(--tft-spruce); }

/* Hero */
.tft-hero { background: var(--tft-spruce); color: #fff; padding: 48px 0; }
.tft-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.tft-hero h1 { color: #fff !important; font-size: 50px; line-height: 1.1; margin: 0 0 16px; font-weight: 800; }
.tft-hero__lead { font-size: 20px; line-height: 1.55; margin: 0 0 22px; color: #fff; }
.tft-hero__ask { font-family: var(--tft-head); font-weight: 700; font-size: 21px; margin: 0 0 10px; color: #fff; }
.tft-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.tft-chip { display: inline-block; background: var(--tft-lime); color: var(--tft-ink) !important; font-weight: 700; font-size: 17px; padding: 9px 14px; border-radius: 999px; text-decoration: none; }
.tft-chip:hover { background: #fff; }
.tft-hero__media { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; border: 4px solid var(--tft-lime); }
.tft-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .tft-hero__grid { grid-template-columns: 1fr; gap: 24px; } .tft-hero h1 { font-size: 36px; } .tft-hero { padding: 32px 0; } }

/* Hub cards */
.tft-hubcard { background: #fff; border: 1px solid var(--tft-rule); border-radius: var(--tft-r); overflow: hidden; display: flex; flex-direction: column; }
.tft-hubcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.tft-hubcard__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tft-hubcard__body { padding: 14px 16px 18px; border-top: 4px solid var(--tft-spruce); }
.tft-hubcard h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.25; }
.tft-hubcard h3 a { color: var(--tft-ink) !important; text-decoration: none; }
.tft-hubcard h3 a:hover { text-decoration: underline; }
.tft-hubcard p { margin: 0; font-size: 17px; line-height: 1.5; }

/* Season */
.tft-season { background: var(--tft-panel); border-top: 1px solid var(--tft-rule); border-bottom: 1px solid var(--tft-rule); margin-top: 56px; padding: 40px 0 44px; }
.tft-season__list { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tft-season__list li { counter-increment: s; background: #fff; border-radius: var(--tft-r); padding: 18px; border-left: 4px solid var(--tft-spruce); }
.tft-season__list li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tft-spruce); color: #fff; font-weight: 700; font-family: var(--tft-head); margin-bottom: 8px; }
.tft-season__list p { margin: 0 0 8px; font-size: 17px; }
@media (max-width: 1040px) { .tft-season__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tft-season__list { grid-template-columns: 1fr; } }

/* Tools band */
.tft-band { background: var(--tft-deep); color: #fff; padding: 40px 0; margin-top: 56px; }
.tft-band__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: center; }
.tft-band h2 { color: #fff !important; font-size: 32px; margin: 0 0 10px; }
.tft-band p { color: #fff; margin: 0; font-size: 18px; }
.tft-band__cta { text-align: right; }
@media (max-width: 800px) { .tft-band__grid { grid-template-columns: 1fr; } .tft-band__cta { text-align: left; } }

/* Species strip */
.tft-species { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.tft-species a { display: block; text-decoration: none; color: var(--tft-ink) !important; font-weight: 700; text-align: center; }
.tft-species img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--tft-spruce); display: block; margin-bottom: 8px; }
.tft-species a:hover span { text-decoration: underline; }
@media (max-width: 1040px) { .tft-species { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Who writes this / author box / avatars */
.tft-avatar { border-radius: 50%; object-fit: cover; background: var(--tft-deep) center / cover no-repeat; color: transparent; font-size: 0; width: 96px; height: 96px; flex: none; border: 3px solid var(--tft-spruce); }
.tft-who { display: flex; gap: 22px; align-items: flex-start; background: var(--tft-panel); border-radius: var(--tft-r); padding: 24px; border-left: 4px solid var(--tft-spruce); }
.tft-who h2 { margin: 0 0 8px; font-size: 26px; }
.tft-who p { margin: 0 0 8px; }
.tft-authorbox { display: flex; gap: 18px; align-items: flex-start; background: var(--tft-panel); border-left: 4px solid var(--tft-spruce); border-radius: var(--tft-r); padding: 20px; margin: 36px 0 8px; }
.tft-authorbox p { margin: 0 0 8px; font-size: 17px; }
.tft-authorbox__name { font-family: var(--tft-head); font-weight: 700; font-size: 20px !important; }
@media (max-width: 560px) { .tft-who, .tft-authorbox { flex-direction: column; } }

/* Hub page */
.tft-hubhead { background: var(--tft-panel); border-bottom: 1px solid var(--tft-rule); padding: 32px 0 36px; }
.tft-hubhead__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.tft-hubhead h1 { font-size: 44px; line-height: 1.12; margin: 6px 0 14px; }
.tft-hubhead p { margin: 0 0 12px; font-size: 18px; }
.tft-hubhead__media { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; border: 4px solid var(--tft-spruce); }
.tft-hubhead__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tft-hubhead__by { font-weight: 700; }
.tft-hubhead--plain { padding-bottom: 28px; }
.tft-crumbs { font-size: 16px; }
.tft-crumbs a { color: var(--tft-spruce); }
@media (max-width: 900px) { .tft-hubhead__grid { grid-template-columns: 1fr; gap: 20px; } .tft-hubhead h1 { font-size: 34px; } }
.tft-tablewrap { overflow-x: auto; }
.tft-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.tft-table th { background: var(--tft-spruce); color: #fff; text-align: left; padding: 12px 14px; font-family: var(--tft-body); }
.tft-table td { padding: 12px 14px; border-bottom: 1px solid var(--tft-rule); vertical-align: top; color: var(--tft-ink); }
.tft-table tr:nth-child(even) td { background: var(--tft-panel); }
.tft-table td:last-child a { font-weight: 700; }
@media (max-width: 700px) {
  .tft-table thead { display: none; }
  .tft-table, .tft-table tbody, .tft-table tr, .tft-table td { display: block; width: 100%; box-sizing: border-box; }
  .tft-table tr { border: 1px solid var(--tft-rule); border-left: 4px solid var(--tft-spruce); margin-bottom: 12px; border-radius: 8px; overflow: hidden; }
  .tft-table td { border: 0; padding: 8px 12px; }
  .tft-table td:first-child { font-weight: 700; }
}
.tft-note { font-size: 17px; margin: 14px 0 0; }
.tft-list { list-style: none; margin: 0; padding: 0; }
.tft-list li { padding: 11px 0; border-bottom: 1px solid var(--tft-rule); }
.tft-list a { font-weight: 700; color: var(--tft-ink) !important; text-decoration: underline; text-decoration-color: var(--tft-spruce); text-underline-offset: 3px; }
.tft-list__cat { display: inline-block; font-size: 14px; font-weight: 700; color: var(--tft-spruce); background: var(--tft-panel); border-radius: 4px; padding: 1px 7px; margin-left: 6px; }
.tft-list--cols { columns: 2; column-gap: 36px; }
.tft-list--cols li { break-inside: avoid; }
@media (max-width: 760px) { .tft-list--cols { columns: 1; } }
.tft-callout { background: #fff; border: 2px solid var(--tft-alert); border-radius: var(--tft-r); padding: 20px 24px; margin: 28px 0; }
.tft-callout h2 { margin: 0 0 10px; font-size: 24px; color: var(--tft-alert) !important; }
.tft-callout ul { margin: 0 0 10px 20px; padding: 0; }
.tft-callout li { margin: 0 0 6px; }
.tft-callout p { margin: 0; }
.tft-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 0; }
.tft-pills a { display: inline-block; border: 2px solid var(--tft-spruce); color: var(--tft-spruce) !important; border-radius: 999px; padding: 7px 14px; font-weight: 700; text-decoration: none; font-size: 17px; }
.tft-pills a:hover { background: var(--tft-spruce); color: #fff !important; }

/* Author page */
.tft-authorhead { background: var(--tft-spruce); color: #fff; padding: 32px 0; }
.tft-authorhead__inner { display: flex; align-items: center; gap: 20px; }
.tft-authorhead h1 { color: #fff !important; font-size: 42px; margin: 0; line-height: 1.1; }
.tft-authorhead__role { margin: 6px 0 0; color: var(--tft-lime); font-weight: 700; font-size: 18px; }
.tft-authorhead .tft-avatar { border-color: var(--tft-lime); }
.tft-authorbio { margin-top: 32px; }
.tft-prose h2 { font-size: 28px; margin: 28px 0 10px; }
.tft-prose p, .tft-prose li { font-size: 18px; line-height: 1.7; }

/* Archive */
.tft-archhead { background: var(--tft-panel); border-bottom: 1px solid var(--tft-rule); padding: 28px 0; }
.tft-archhead h1 { margin: 0; font-size: 40px; line-height: 1.15; }
.tft-archhead__desc { margin-top: 10px; max-width: 760px; }
.tft-search--page { margin-top: 14px; max-width: 520px; }
.tft-search--page input[type=search] { flex: 1; border-color: var(--tft-spruce); width: auto; }
.tft-search--page button { background: var(--tft-spruce); border-color: var(--tft-spruce); }
.tft-pager { display: flex; justify-content: space-between; gap: 12px; margin: 32px 0 8px; }
.tft-pager__link { display: inline-block; background: var(--tft-spruce); color: #fff !important; font-weight: 700; padding: 12px 20px; border-radius: 8px; text-decoration: none; }
.tft-pager__link:hover { background: var(--tft-deep); }
.tft-pager__older { margin-left: auto; }

/* Pages */
.tft-page { padding-top: 28px; }
.tft-page__title { font-size: 42px; line-height: 1.15; margin: 0 0 18px; }

/* Tool */
.tft-form { background: var(--tft-panel); border: 1px solid var(--tft-rule); border-left: 4px solid var(--tft-spruce); border-radius: var(--tft-r); padding: 22px; margin: 28px 0 20px; display: grid; gap: 16px; }
.tft-form__row label { display: block; font-weight: 700; margin-bottom: 6px; }
.tft-form select { font: inherit; font-size: 18px; width: 100%; padding: 10px 12px; border: 2px solid var(--tft-spruce); border-radius: 8px; background: #fff; color: var(--tft-ink); height: auto; }
.tft-results h2 { font-size: 28px; margin: 10px 0 14px; }
.tft-result { border: 1px solid var(--tft-rule); border-left: 4px solid var(--tft-spruce); border-radius: var(--tft-r); padding: 16px 20px; margin-bottom: 16px; background: #fff; }
.tft-result--top { border-left-color: var(--tft-alert); }
.tft-result h3 { margin: 0 0 8px; font-size: 22px; }
.tft-result p { margin: 0 0 8px; font-size: 17px; }
.tft-result__arb { color: var(--tft-alert); font-weight: 700; }
.tft-results__links { margin: 6px 0 0 20px; padding: 0; }
.tft-results__links a { font-weight: 700; }

/* Credits */
.tft-credits { list-style: none; margin: 20px 0; padding: 0; }
.tft-credits li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--tft-rule); font-size: 17px; }
.tft-credits__img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; flex: none; }

/* Footer */
.tft-footer { background: var(--tft-ink); color: #fff; margin-top: 64px; }
.tft-footer a { color: #fff !important; }
.tft-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 0.8fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.tft-footer h2 { color: var(--tft-lime) !important; font-family: var(--tft-body); font-size: 16px; letter-spacing: .06em; text-transform: uppercase; margin: 6px 0 12px; }
.tft-footer ul { list-style: none; margin: 0; padding: 0; }
.tft-footer li { margin: 0 0 8px; font-size: 17px; }
.tft-footer p { color: #fff; font-size: 17px; margin: 12px 0 0; }
.tft-logo--footer .tft-logo__name { font-size: 26px; }
.tft-footer__bar { border-top: 1px solid #2E4A3B; padding: 18px 0 26px; }
.tft-footer__bar p { margin: 4px 0; font-size: 16px; color: #fff; }
@media (max-width: 900px) { .tft-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tft-footer__grid { grid-template-columns: 1fr; } }

/* Sidebar (single posts) */
.tft-side__box { border: 1px solid var(--tft-rule); border-top: 4px solid var(--tft-spruce); border-radius: 0 0 var(--tft-r) var(--tft-r); padding: 16px 18px; margin-bottom: 22px; background: #fff; }
.tft-side__box--dark { background: var(--tft-spruce); border-color: var(--tft-spruce); color: #fff; }
.tft-side__box--dark .tft-side__h, .tft-side__box--dark p { color: #fff !important; }
.tft-side__h { font-family: var(--tft-head); font-size: 21px !important; margin: 0 0 10px; color: var(--tft-ink); }
.tft-side p { font-size: 17px; margin: 0 0 12px; }
.tft-side__list { list-style: none; margin: 0; padding: 0; }
.tft-side__list li { padding: 8px 0; border-bottom: 1px solid var(--tft-rule); font-size: 17px; }
.tft-side__list li:last-child { border-bottom: 0; }
.tft-side__list a { color: var(--tft-ink) !important; font-weight: 700; }
.tft-side__list .tft-list__cat { display: none; }
.tft-side__about { display: flex; gap: 12px; align-items: flex-start; background: var(--tft-panel); }
.tft-side__about .tft-avatar { width: 72px; height: 72px; }

/* Single posts (SmartMag markup) */
body.tft-tree-single .the-post-header .post-title, body.tft-glass-single .the-post-header .post-title { font-size: 40px; line-height: 1.18; font-weight: 800; color: var(--tft-ink); }
body.tft .post-content, body.tft .entry-content { font-family: var(--tft-body); font-size: 18px; line-height: 1.7; color: var(--tft-ink); }
body.tft .post-content p, body.tft .post-content li { font-size: 18px; color: var(--tft-ink); }
body.tft .post-content h2 { font-size: 30px; margin-top: 36px; color: var(--tft-ink); }
body.tft .post-content h3 { font-size: 23px; color: var(--tft-ink); }
body.tft .post-content a { color: var(--tft-spruce); text-decoration: underline; text-underline-offset: 3px; }
body.tft .post-meta, body.tft .post-meta .meta-item, body.tft .post-meta a, body.tft .post-meta .date-link, body.tft .post-meta time { color: var(--tft-ink) !important; font-size: 16px; }
body.tft .post-meta .post-author a, body.tft .post-meta .author-link { color: var(--tft-spruce) !important; font-weight: 700; }
body.tft .cat-labels .category, body.tft .post-cat a, body.tft .cat-labels a { background: var(--tft-spruce) !important; color: #fff !important; }
body.tft .post-share, body.tft .post-share-b { margin-bottom: 18px; }
body.tft .ts-row .main-sidebar { padding-top: 6px; }
body.tft .post-content figure figcaption, body.tft .wp-caption-text, body.tft .wp-element-caption { font-size: 15px; color: var(--tft-ink); background: var(--tft-panel); padding: 6px 10px; margin-top: 0; }
body.tft .post-content .tft-sources { background: var(--tft-panel); border-left: 4px solid var(--tft-spruce); border-radius: var(--tft-r); padding: 16px 20px; margin-top: 30px; }
body.tft .post-content .tft-sources h2 { margin-top: 0; font-size: 22px; }
body.tft .post-content .tft-sources li { font-size: 16px; }
.tft-credit { font-size: 15px !important; color: var(--tft-ink); margin-top: 24px; }
.tft-related { margin: 32px 0 0; padding-top: 18px; border-top: 2px solid var(--tft-ink); }
.tft-related h2 { margin: 0 0 6px; font-size: 26px; }
body.tft .post-content .tft-quick { background: var(--tft-panel); border-left: 4px solid var(--tft-spruce); border-radius: var(--tft-r); padding: 14px 20px; margin: 0 0 24px; }
body.tft .post-content .tft-quick p { margin: 0 0 6px; }
body.tft .post-content table { border-collapse: collapse; width: 100%; font-size: 17px; }
body.tft .post-content th { background: var(--tft-spruce); color: #fff; text-align: left; padding: 10px 12px; }
body.tft .post-content td { border-bottom: 1px solid var(--tft-rule); padding: 10px 12px; vertical-align: top; }
/* Grow homepage subscribe (owner's Manual Placement div, 1.0.22). Grow renders the form itself. */
.tft-subscribe { padding-top: 8px; }
.tft-subscribe > div { min-height: 1px; }
@media (max-width: 640px) {
  body.tft-tree-single .the-post-header .post-title, body.tft-glass-single .the-post-header .post-title { font-size: 31px; }
  .tft-page__title, .tft-archhead h1 { font-size: 32px; }
  .tft-authorhead h1 { font-size: 34px; }
}

/* 1.0.1 fixes */
body.tft .breadcrumbs, body.tft .breadcrumbs span, body.tft .breadcrumbs .delim, body.tft .breadcrumbs .inner { color: var(--tft-ink) !important; font-size: 14px; }
body.tft .breadcrumbs a { color: var(--tft-spruce) !important; text-decoration: underline; }
body.tft .post-share .service, body.tft .spc-social-bg .service, body.tft .post-share-b .service { background: var(--tft-spruce) !important; color: #fff !important; border-color: var(--tft-spruce) !important; }
body.tft .post-share .service:hover, body.tft .spc-social-bg .service:hover { background: var(--tft-deep) !important; }
body.tft .post-share .show-more { background: #fff !important; color: var(--tft-ink) !important; border: 1px solid var(--tft-ink) !important; }
body.tft .post-share-bot .share-text { color: var(--tft-ink) !important; }
body.tft .tft-menu-toggle, body.tft .tft-menu-toggle:hover, body.tft .tft-menu-toggle:focus { background: var(--tft-lime) !important; color: var(--tft-ink) !important; text-transform: none; letter-spacing: 0; box-shadow: none; }
body.tft .tft-menu-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
body.tft .tft-callout ul, body.tft .tft-arborist ul { list-style: disc; padding-left: 22px; }

/* 1.0.3: author page topic rows */
.tft-topicrow { margin: 0 0 32px; }
.tft-topicrow__h { font-size: 22px; margin: 0 0 14px; }
.tft-topicrow__h a { color: var(--tft-spruce); text-decoration: none; border-bottom: 2px solid var(--tft-lime); }
.tft-topicrow__h a:hover { color: var(--tft-deep); border-bottom-color: var(--tft-spruce); }

/* ---------------- v1.0.7: species landing pages + compact archive list ---------------- */
.tft-wrap--mid { max-width: 900px; }
.tft-sphead h1 { font-size: 44px; margin: 6px 0 14px; }
.tft-sphead p { max-width: 760px; }
.tft-sphead p a, .tft-note a { color: var(--tft-spruce); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tft-topicgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.tft-topicbox { background: #fff; border: 1px solid var(--tft-rule); border-top: 4px solid var(--tft-spruce); border-radius: var(--tft-r); padding: 18px 22px 8px; }
.tft-topicbox h3 { font-size: 21px; margin: 0 0 4px; color: var(--tft-deep); }
.tft-topicbox .tft-list li:last-child { border-bottom: 0; }
.tft-note--muted { color: #2D4A3B; margin: 0 0 12px; }
.tft-archlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tft-rule); }
.tft-archlist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 2px; border-bottom: 1px solid var(--tft-rule); }
.tft-archlist a { font-weight: 700; color: var(--tft-ink) !important; text-decoration: underline; text-decoration-color: var(--tft-spruce); text-underline-offset: 3px; }
.tft-archlist a:hover { color: var(--tft-spruce) !important; }
.tft-archlist__date { flex: none; font-size: 15px; color: #2D4A3B; white-space: nowrap; }
@media (max-width: 800px) {
  .tft-topicgrid { grid-template-columns: 1fr; }
  .tft-sphead h1 { font-size: 34px; }
  .tft-archlist li { flex-direction: column; gap: 2px; }
}
/* v1.0.9: balanced Start-here row; no category chip inside topic boxes */
@media (min-width: 641px) and (max-width: 1040px) { .tft-grid--keep3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tft-topicbox .tft-list__cat { display: none; }
/* R8: tools index, distance calculator, Trees A-Z */
.tft-form input[type="number"] { font: inherit; font-size: 18px; width: 100%; max-width: 220px; padding: 10px 12px; border: 2px solid var(--tft-spruce); border-radius: 8px; background: #fff; color: var(--tft-ink); }
.tft-form__row[hidden] { display: none; }
.tft-dist__how, .tft-dist__src { margin: 36px 0 0; }
.tft-dist__how h2, .tft-dist__src h2 { font-size: 26px; margin: 0 0 12px; }
.tft-dist__how ul, .tft-dist__src ul { margin: 0 0 0 20px; padding: 0; }
.tft-dist__how li, .tft-dist__src li { margin: 0 0 10px; font-size: 17px; }
.tft-toolcards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.tft-toolcard { background: #fff; border: 1px solid var(--tft-rule); border-left: 4px solid var(--tft-spruce); border-radius: var(--tft-r); padding: 20px 24px; }
.tft-toolcard h2 { margin: 0 0 8px; font-size: 26px; }
.tft-toolcard h2 a { color: var(--tft-ink) !important; text-decoration: none; }
.tft-toolcard h2 a:hover { text-decoration: underline; }
.tft-toolcard p { margin: 0 0 14px; font-size: 17px; }
.tft-az__nav { margin: 24px 0 8px; }
.tft-az__letter { margin: 28px 0 0; scroll-margin-top: 90px; }
.tft-az__letter h2 { font-size: 30px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--tft-ink); }
.tft-az__list { margin: 0; }
.tft-az__item { padding: 12px 0; border-bottom: 1px solid var(--tft-rule); scroll-margin-top: 90px; }
.tft-az__item dt { font-weight: 700; font-size: 20px; }
.tft-az__item dt a { color: var(--tft-spruce) !important; }
.tft-az__also { font-weight: 400; font-size: 17px; color: #2D4A3B; }
.tft-az__item dd { margin: 6px 0 0; }
.tft-az__item dd ul { margin: 0 0 6px 20px; padding: 0; }
.tft-az__item dd li { margin: 0 0 4px; font-size: 17px; }
.tft-az__item dd p { margin: 0; font-size: 16px; }
/* R8: gardener roundups */
.tft-ru__toc { background: var(--tft-panel); border: 1px solid var(--tft-rule); border-radius: var(--tft-r); padding: 14px 20px; margin: 20px 0 28px; }
.tft-ru__toc p { margin: 0 0 6px; }
.tft-ru__toc ol { margin: 0 0 0 22px; padding: 0; }
.tft-ru__toc li { margin: 0 0 4px; }
.tft-ru__item { margin: 36px 0 0; padding-top: 8px; border-top: 1px solid var(--tft-rule); scroll-margin-top: 90px; }
.tft-ru__item h2 { margin: 12px 0 14px; }
.tft-ru__fig { margin: 0 0 12px; }
.tft-ru__img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--tft-r); display: block; }
.tft-ru__fig figcaption { font-size: 15px; color: var(--tft-ink); background: var(--tft-panel); padding: 6px 10px; }
.tft-ru__from { font-size: 17px; border-left: 4px solid var(--tft-spruce); padding: 6px 12px; background: #fff; }
.tft-ru__from a { font-weight: 700; }
.tft-band__more { margin: 10px 0 0; }
.tft-band__more a { color: inherit !important; text-decoration: underline; font-weight: 700; }
