/* Top 10 blog layout (pages generated by scripts/generate-top10-blogs.py).
   Mobile first: compact cards and collapsed details on phones, the full two-column
   layout from 720px. Colours reuse the site palette from style.css. Labels keep the
   capitalisation of the supplied copy (no text-transform). */

.t10-body { background: var(--color-bg); }
.t10 { padding-top: var(--nav-height); }
.t10-container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.t10-icon { width: 20px; height: 20px; flex-shrink: 0; }
.t10-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t10 a:focus-visible, .t10 button:focus-visible, .t10 summary:focus-visible, .t10-viewer button:focus-visible, .t10-float:focus-visible {
  outline: 3px solid var(--color-primary-light); outline-offset: 3px;
}

/* ---------- Hero ---------- */
.t10-hero { padding: 18px 0 26px; background: linear-gradient(115deg, #fbfaf6 0%, #f6f5ee 55%, #e9f2e3 100%); border-bottom: 1px solid var(--color-border); }
.t10-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 0.8rem; color: var(--color-text-secondary); }
.t10-crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.t10-crumbs li + li::before { content: "›"; color: var(--color-text-muted); }
.t10-crumbs a { display: inline-flex; align-items: center; gap: 5px; }
.t10-crumbs a:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.t10-crumbs .t10-icon { width: 15px; height: 15px; }
.t10-crumbs [aria-current] { color: var(--color-text); font-weight: 500; }

.t10-hero__grid { display: grid; gap: 18px; }
.t10-hero__text { min-width: 0; }
.t10-hero__media { margin: 0; }
.t10-hero__media figcaption { margin-top: 10px; font-family: var(--font-display); font-style: italic; font-size: 0.92rem; line-height: 1.5; color: var(--color-text-secondary); text-align: center; }
.t10-hero .blog-article-hero__cat {
  display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: var(--radius-full);
  background: #dcebd5; color: var(--color-primary-dark); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em; text-transform: none;
}
.t10-hero__title { margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(1.85rem, 6.4vw, 3.1rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; color: var(--color-text); }
.t10-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 0.84rem; color: var(--color-text-secondary); }
.t10-hero .author-byline { gap: 10px; color: var(--color-text); font-weight: 600; }
.t10-hero .author-byline:hover { color: var(--color-primary-dark); }
.t10-hero .author-byline img { width: 40px; height: 40px; border: 1px solid var(--color-border-hover); }
.t10-meta { display: inline-flex; align-items: center; gap: 6px; }
.t10-meta .t10-icon { width: 16px; height: 16px; color: var(--color-primary); }
.t10-hero .blog-article-hero__img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.t10-zoom--hero { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(26, 46, 34, 0.5); }

.t10-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius-full); font-size: 0.95rem; font-weight: 600; line-height: 1.2; text-align: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.t10-btn .t10-icon { width: 18px; height: 18px; }
.t10 .t10-btn--primary { background: var(--color-primary-dark); color: #fff; text-decoration: none; box-shadow: 0 8px 18px -10px rgba(46, 83, 57, 0.8); }
.t10 .t10-btn--primary:hover { background: #24452f; transform: translateY(-1px); }

/* ---------- Zoomable images ---------- */
.t10-zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; background: none; cursor: zoom-in; }
.t10-zoom img { display: block; width: 100%; height: auto; border-radius: inherit; }
.t10-zoom__hint {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border-radius: var(--radius-full); background: rgba(20, 36, 26, 0.74); color: #fff; font-size: 0.74rem; font-weight: 600; pointer-events: none;
}
.t10-zoom__hint .t10-icon { width: 15px; height: 15px; }
.t10-zoom--photo .t10-zoom__hint, .t10-zoom--hero .t10-zoom__hint { padding: 6px; }
.t10-zoom--photo .t10-zoom__hint > span, .t10-zoom--hero .t10-zoom__hint > span { display: none; }
.t10-hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) {
  .t10-hint-mouse { display: inline; }
  .t10-hint-touch { display: none; }
}

/* ---------- Intro and table of contents ---------- */
.t10-intro { display: grid; gap: 20px; padding: 24px 0 4px; }
.t10-intro__body { min-width: 0; }
.t10-intro__body > p { margin: 0 0 16px; font-size: 1.04rem; line-height: 1.8; color: var(--color-text); }
.t10-intro__body .t10-figure:first-child { margin-top: 0; }
.t10-toc { align-self: start; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; box-shadow: 0 6px 24px -18px rgba(26, 46, 34, 0.35); }
.t10-toc__toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--color-text); text-align: left; }
.t10-toc__toggle .t10-icon { color: var(--color-primary); }
.t10-toc__chev { margin-left: auto; transition: transform var(--transition-fast); }
.t10-toc__toggle[aria-expanded="true"] .t10-toc__chev { transform: rotate(180deg); }
.t10-toc__list { display: grid; gap: 2px; padding: 0 10px 14px; }
.t10-js .t10-toc:not(.is-open) .t10-toc__list { display: none; }
.t10-toc__list a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 0.88rem; line-height: 1.4; color: var(--color-text-secondary); }
.t10-toc__list a:hover { background: var(--color-primary-bg); color: var(--color-primary-dark); }
.t10-toc__sub { display: grid; gap: 0; margin: 0 0 4px 12px; padding-left: 8px; border-left: 2px solid rgba(74, 124, 89, 0.15); }
.t10-toc__sub a { padding: 4px 10px; font-size: 0.82rem; }

.t10-intro__body strong, .t10-section strong, .t10-plant strong, .t10-faq strong { font-weight: 700; color: var(--color-text); }
.t10-intro__body a, .t10-section a, .t10-plant__text a, .t10-fact a, .t10-tip a, .t10-faq a {
  color: var(--color-primary-dark); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(74, 124, 89, 0.45); text-underline-offset: 3px;
}
.t10-intro__body a:hover, .t10-section a:hover, .t10-plant__text a:hover, .t10-fact a:hover, .t10-tip a:hover, .t10-faq a:hover { text-decoration-color: currentColor; }

/* ---------- Numbered shortcuts to each plant ---------- */
.t10-glance { padding: 28px 0 6px; }
.t10-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; color: var(--color-primary); }
.t10-divider::before, .t10-divider::after { content: ""; width: 64px; height: 1px; background: rgba(74, 124, 89, 0.3); }
.t10-glance__list { display: grid; gap: 8px; }
.t10-glance__item {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 18px; align-items: center; gap: 12px; height: 100%; padding: 8px 10px 8px 8px;
  border: 1px solid var(--color-border); border-radius: 14px; background: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.t10-glance__item:hover { border-color: rgba(74, 124, 89, 0.4); box-shadow: 0 10px 24px -18px rgba(26, 46, 34, 0.5); }
.t10-glance__media { position: relative; display: block; }
.t10-glance__media img, .t10-glance__blank { display: block; width: 64px; height: 56px; object-fit: cover; border-radius: 10px; }
.t10-glance__blank { display: grid; place-items: center; background: #e8f2e2; color: var(--color-primary); }
.t10-rank {
  position: absolute; top: -6px; left: -6px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: var(--radius-full); background: var(--color-primary-dark); color: #fff; font-size: 0.75rem; font-weight: 700; box-shadow: 0 0 0 2px #fff;
}
.t10-glance__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.t10-glance__name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--color-text); }
.t10-glance__note { font-size: 0.78rem; line-height: 1.35; color: var(--color-text-secondary); }
.t10-glance__label { font-weight: 600; color: var(--color-text-muted); }
.t10-glance__chev { width: 18px; height: 18px; color: var(--color-text-muted); }

.t10-pet { display: inline-flex; align-items: center; width: fit-content; padding: 2px 8px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.t10-pet--toxic { background: #fceae8; color: #a4271f; }
.t10-pet--safe { background: #e2f2e5; color: #1c6b36; }
.t10-pet--caution { background: #fff0d4; color: #8a5200; }

/* ---------- Sections ---------- */
.t10-body-flow { padding: 4px 0 8px; }
.t10-section { max-width: 780px; margin: 0 auto; padding-top: 34px; }
.t10-section > h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(1.4rem, 4.4vw, 1.85rem); line-height: 1.25; color: var(--color-text); scroll-margin-top: calc(var(--nav-height) + 16px); }
.t10-section p, .t10-plant__text p { margin: 0 0 14px; font-size: 1.04rem; line-height: 1.8; color: var(--color-text); }
.t10-h3 { margin: 22px 0 8px; font-family: var(--font-display); font-size: 1.2rem; color: var(--color-primary-dark); }

.t10-figure { margin: 20px 0; }
.t10-figure .t10-zoom { overflow: hidden; border: 1px solid var(--color-border); box-shadow: 0 14px 34px -26px rgba(26, 46, 34, 0.6); }
.t10-figure figcaption { margin-top: 8px; font-family: var(--font-display); font-style: italic; font-size: 0.9rem; color: var(--color-text-secondary); text-align: center; }

.t10-callout { display: flex; gap: 14px; margin: 22px 0; padding: 18px 20px; border: 1px solid rgba(74, 124, 89, 0.2); border-radius: 16px; background: linear-gradient(135deg, #e7f2e2, #f4f9f1); }
.t10-callout__icon { width: 26px; height: 26px; color: var(--color-primary-dark); }
.t10 .t10-callout p { margin: 0; font-size: 1rem; line-height: 1.7; }
.t10 .t10-callout .t10-callout__label { margin-bottom: 4px; font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--color-primary-dark); }

.t10-table { margin: 20px 0 6px; overflow-x: auto; border: 1px solid var(--color-border); border-radius: 14px; background: #fff; -webkit-overflow-scrolling: touch; }
.t10-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; line-height: 1.5; }
.t10-table thead th { padding: 11px 14px; background: var(--color-primary-dark); color: #fff; font-size: 0.84rem; font-weight: 600; text-align: left; white-space: nowrap; }
.t10-table tbody th, .t10-table td { padding: 11px 14px; border-top: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.t10-table tbody th { font-weight: 600; color: var(--color-text); background: #fff; }
.t10-table tbody tr:nth-child(even), .t10-table tbody tr:nth-child(even) th { background: #f7fbf5; }
.t10-table--wide table { min-width: 620px; }
.t10-table--wide thead th:first-child, .t10-table--wide tbody th { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--color-border); }

/* ---------- Plant cards ---------- */
.t10-plant {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; margin: 28px auto 0; padding: 16px;
  grid-template-areas: "media head" "caption caption" "text text" "facts facts" "tip tip" "toggle toggle";
  border: 1px solid var(--color-border); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px -26px rgba(26, 46, 34, 0.5);
}
.t10-plant--noimg { grid-template-areas: "head head" "text text" "facts facts" "tip tip" "toggle toggle"; }
/* On phones the caption sits under the photo row, so the figure lends its children to the card grid. */
.t10-plant__media { display: contents; }
.t10-plant__media .t10-zoom { grid-area: media; align-self: start; border-radius: 14px; }
.t10-plant__media .t10-zoom img { aspect-ratio: 1; object-fit: cover; }
.t10-plant__media figcaption { grid-area: caption; margin-top: 10px; font-family: var(--font-display); font-style: italic; font-size: 0.88rem; line-height: 1.5; color: var(--color-text-secondary); }
.t10-plant__head { grid-area: head; align-self: center; min-width: 0; }
.t10-plant__title { margin: 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.25; color: var(--color-text); scroll-margin-top: calc(var(--nav-height) + 16px); }
.t10-plant__num {
  display: inline-grid; place-items: center; min-width: 34px; height: 26px; margin-right: 2px; padding: 0 8px; border-radius: var(--radius-full);
  background: var(--color-primary-dark); color: #fff; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; vertical-align: 3px;
}
.t10-plant__sub { display: block; margin-top: 5px; font-family: var(--font-body); font-size: 0.86rem; font-weight: 500; color: var(--color-text-secondary); }
.t10-plant__sub--sci { font-style: italic; }
.t10-plant__text { grid-area: text; margin-top: 14px; }
.t10-plant__text p { font-size: 1rem; }
.t10-facts { grid-area: facts; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 2px 0 0; }
.t10-fact { padding: 10px 12px; border: 1px solid rgba(74, 124, 89, 0.12); border-radius: 12px; background: #f5f9f2; }
.t10-fact dt { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--color-primary-dark); }
.t10-fact dt .t10-icon { width: 16px; height: 16px; color: var(--color-primary); }
.t10-fact dd { margin: 4px 0 0; font-size: 0.86rem; line-height: 1.45; color: var(--color-text); }
.t10-facts--profile { grid-template-columns: 1fr; }
.t10-tip { grid-area: tip; display: flex; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid #f1e3bf; border-radius: 14px; background: #fff9ec; }
.t10-tip__icon { width: 22px; height: 22px; margin-top: 2px; color: #9a6b00; }
.t10 .t10-tip p { margin: 0; font-size: 0.95rem; line-height: 1.7; color: var(--color-text); }
/* "At a glance" strip: a compact shaded line directly under the plant heading. */
.t10-plant--strip { grid-template-areas: "media head" "caption caption" "facts facts" "text text" "tip tip" "toggle toggle"; }
.t10-plant--strip.t10-plant--noimg { grid-template-areas: "head head" "facts facts" "text text" "tip tip" "toggle toggle"; }
.t10-glance-strip { grid-area: facts; margin-top: 14px; padding: 10px 12px 12px; border: 1px solid rgba(74, 124, 89, 0.18); border-radius: 14px; background: linear-gradient(135deg, #e7f2e2, #f4f9f1); }
.t10 .t10-glance-strip__label { margin: 0 0 8px; font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--color-primary-dark); }
.t10-facts--strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.t10-facts--strip .t10-fact { padding: 7px 10px; background: rgba(255, 255, 255, 0.7); }
.t10-tips { grid-area: tip; }
.t10-tips .t10-tip + .t10-tip { margin-top: 10px; }
.t10-more-btn {
  grid-area: toggle; display: none; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 12px; padding: 10px;
  border-radius: 12px; background: #f1f6ee; color: var(--color-primary-dark); font-size: 0.9rem; font-weight: 600;
}
.t10-more-btn .t10-icon { width: 18px; height: 18px; transition: transform var(--transition-fast); }
.t10-plant.is-open .t10-more-btn .t10-icon, .t10-myth.is-open .t10-more-btn .t10-icon { transform: rotate(180deg); }

/* ---------- Myth cards ---------- */
.t10-myth {
  margin: 18px 0 0; padding: 16px 16px 14px; border: 1px solid var(--color-border); border-left: 4px solid #c8533f; border-radius: 16px;
  background: #fff; box-shadow: 0 10px 30px -28px rgba(26, 46, 34, 0.5);
}
.t10-myth--mostly { border-left-color: #d08a1c; }
.t10-myth--partly { border-left-color: #b9a20f; }
.t10 .t10-myth__title { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.18rem; line-height: 1.3; color: var(--color-text); scroll-margin-top: calc(var(--nav-height) + 16px); }
.t10 .t10-myth p { margin: 0; font-size: 1rem; line-height: 1.75; }
.t10-myth > p strong:first-child { color: #a4271f; }
.t10-myth--mostly > p strong:first-child { color: #8a5200; }
.t10-myth--partly > p strong:first-child { color: #6f6100; }
.t10-myth__figure { width: 240px; max-width: 100%; margin: 14px auto 0; }
.t10-myth__figure .t10-zoom { overflow: hidden; border: 1px solid var(--color-border); border-radius: 12px; }
.t10-myth__fix { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; border: 1px solid rgba(74, 124, 89, 0.2); border-radius: 12px; background: #f1f7ee; }
.t10-myth__fix-icon { width: 20px; height: 20px; margin-top: 3px; color: var(--color-primary-dark); }
.t10 .t10-myth__fix p { font-size: 0.96rem; line-height: 1.7; }
.t10 .t10-myth__fix strong { color: var(--color-primary-dark); }
.t10-myth a { color: var(--color-primary-dark); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(74, 124, 89, 0.45); text-underline-offset: 3px; }

/* ---------- Calls to action ---------- */
.t10-cta {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "art body" "btn btn"; align-items: center; gap: 12px 14px;
  max-width: 960px; margin: 24px auto; padding: 16px; border: 1px solid rgba(74, 124, 89, 0.2); border-radius: 20px;
  background: linear-gradient(120deg, #edf6e9 0%, #f7faf4 60%, #e5efdf 100%);
}
.t10-cta__art { grid-area: art; width: 76px; height: 76px; object-fit: cover; border-radius: 14px; }
.t10-cta__body { grid-area: body; min-width: 0; }
.t10 .t10-cta__title { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.25; color: var(--color-text); }
.t10 .t10-cta__text { margin: 0; font-size: 0.86rem; line-height: 1.55; color: var(--color-text-secondary); }
.t10-cta__btn { grid-area: btn; width: 100%; }

/* ---------- FAQ ---------- */
.t10-faq__list { display: grid; gap: 10px; }
.t10-faq__item { overflow: hidden; border: 1px solid var(--color-border); border-radius: 14px; background: #fff; }
.t10-faq__item summary { display: flex; align-items: center; gap: 12px; padding: 15px 18px; cursor: pointer; list-style: none; }
.t10-faq__item summary::-webkit-details-marker { display: none; }
.t10-faq__item summary h3 { flex: 1; margin: 0; font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.45; color: var(--color-text); }
.t10-faq__chev { color: var(--color-primary); transition: transform var(--transition-fast); }
.t10-faq__item[open] summary { background: #f4f9f1; }
.t10-faq__item[open] .t10-faq__chev { transform: rotate(180deg); }
.t10-faq__answer { padding: 6px 18px 16px; }
.t10 .t10-faq__answer p { margin: 0; font-size: 0.98rem; line-height: 1.75; }

/* ---------- Sharing, author and post navigation ---------- */
.t10-endbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; max-width: 780px; margin: 36px auto 0; padding: 16px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.t10-endbar__label { margin-right: 6px; font-size: 0.82rem; font-weight: 700; color: var(--color-text); }
.t10-share { display: flex; align-items: center; gap: 6px; }
.t10-share a, .t10-share button { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--color-border-hover); border-radius: 50%; background: #fff; color: var(--color-primary-dark); transition: background var(--transition-fast); }
.t10-share a:hover, .t10-share button:hover { background: var(--color-primary-bg); }
.t10-share .t10-icon { width: 17px; height: 17px; }
.t10-share__copied { position: absolute; bottom: calc(100% + 6px); left: 50%; padding: 4px 8px; border-radius: 6px; background: var(--color-text); color: #fff; font-size: 0.72rem; white-space: nowrap; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity var(--transition-fast); }
.t10-share__copied:not(:empty) { opacity: 1; }
.t10-author { max-width: 780px; margin: 28px auto 0; }
.t10-author .post-author { margin-top: 0; }

.t10-postnav { margin-top: 36px; padding: 26px 0 44px; background: linear-gradient(180deg, rgba(241, 246, 237, 0), #eef4ea); }
.t10-postnav__grid { display: grid; gap: 12px; }
.t10-postnav__card {
  display: grid; grid-template-columns: auto 64px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 16px;
  border: 1px solid var(--color-border); border-radius: 16px; background: #fff; transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.t10-postnav__card:hover { border-color: rgba(74, 124, 89, 0.4); box-shadow: 0 10px 26px -20px rgba(26, 46, 34, 0.5); }
.t10-postnav__card--next { grid-template-columns: minmax(0, 1fr) 64px auto; text-align: right; }
.t10-postnav__card--next .t10-postnav__text { order: 1; }
.t10-postnav__card--next .t10-postnav__thumb { order: 2; }
.t10-postnav__card--next .t10-postnav__arrow { order: 3; }
.t10-postnav__arrow { color: var(--color-primary); }
.t10-postnav__thumb { display: grid; place-items: center; width: 64px; height: 48px; overflow: hidden; border-radius: 10px; background: #e8f2e2; color: var(--color-primary); }
.t10-postnav__thumb img { width: 100%; height: 100%; object-fit: cover; }
.t10-postnav__label { display: block; margin-bottom: 2px; font-size: 0.72rem; color: var(--color-text-muted); }
.t10-postnav__title { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; line-height: 1.35; color: var(--color-text); }
.t10-postnav__spacer { display: none; }

/* ---------- Contents shortcut and image viewer ---------- */
/* Sits above the ad network's bottom adhesion unit on every screen size. */
.t10-float {
  position: fixed; left: 16px; bottom: calc(120px + env(safe-area-inset-bottom)); z-index: 900; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--radius-full); background: var(--color-primary-dark); color: #fff; font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(20, 36, 26, 0.7);
}
.t10-float[hidden] { display: none; }
.t10-float .t10-icon { width: 18px; height: 18px; }

.t10-viewer-open, .t10-viewer-open body { overflow: hidden; }
.t10-viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 20, 15, 0.96); color: #fff; overflow: hidden; }
.t10-viewer[open] { display: flex; flex-direction: column; }
.t10-viewer::backdrop { background: rgba(12, 20, 15, 0.96); }
.t10-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(10px, env(safe-area-inset-top)) 12px 10px; }
.t10-viewer__hint { margin: 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.78); }
.t10-viewer__tools { display: flex; gap: 8px; }
.t10-viewer__tools button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; }
.t10-viewer__tools button:hover { background: rgba(255, 255, 255, 0.24); }
.t10-viewer__tools button:disabled { opacity: 0.35; cursor: default; }
.t10-viewer__tools .t10-icon { width: 22px; height: 22px; }
.t10-viewer__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: none; cursor: zoom-in; }
.t10-viewer__stage.is-zoomed { cursor: grab; }
.t10-viewer__stage.is-dragging { cursor: grabbing; }
.t10-viewer__img { position: absolute; inset: 0; max-width: 100%; max-height: 100%; width: auto; height: auto; margin: auto; transform-origin: center; user-select: none; -webkit-user-drag: none; will-change: transform; }
.t10-viewer__caption { margin: 0; padding: 10px 16px max(12px, env(safe-area-inset-bottom)); font-size: 0.85rem; line-height: 1.5; color: rgba(255, 255, 255, 0.82); text-align: center; }
.t10-viewer__caption:empty { display: none; }

/* ---------- Phones only ---------- */
@media (max-width: 719px) {
  .t10-js .t10-more-btn { display: flex; }
  .t10-js .t10-plant:not(.is-open) .t10-more, .t10-js .t10-myth:not(.is-open) .t10-more { display: none; }
  .t10-table table { font-size: 0.8rem; line-height: 1.45; }
  .t10-table thead th, .t10-table tbody th, .t10-table td { padding: 8px 10px; }
  .t10-table:not(.t10-table--wide) thead th { white-space: normal; }
  .t10-float { width: 44px; height: 44px; justify-content: center; padding: 0; }
  .t10-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Tablets and up ---------- */
@media (min-width: 720px) {
  .t10-container { padding: 0 28px; }
  .t10-glance__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t10-plant {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto auto 1fr; column-gap: 32px; padding: 24px;
    grid-template-areas: "media head" "media text" "media facts" "media tip" "media toggle";
  }
  .t10-plant--noimg { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "text" "facts" "tip" "toggle"; }
  .t10-plant--strip { grid-template-areas: "media head" "media facts" "media text" "media tip" "media toggle"; }
  .t10-plant--strip.t10-plant--noimg { grid-template-areas: "head" "facts" "text" "tip" "toggle"; }
  .t10-facts--strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t10-myth { padding: 20px 22px 18px; }
  .t10-myth__figure { width: 400px; }
  .t10-plant__media { display: block; grid-area: media; position: sticky; top: calc(var(--nav-height) + 16px); align-self: start; }
  .t10-plant__media .t10-zoom img { aspect-ratio: 4 / 3; }
  .t10-plant__media figcaption { text-align: center; }
  .t10-plant__head { align-self: start; }
  .t10-plant__title { font-size: 1.75rem; }
  .t10-plant__sub { display: inline; margin: 0; font-size: 0.95rem; }
  .t10-cta { grid-template-columns: 180px minmax(0, 1fr) auto; grid-template-areas: "art body btn"; gap: 22px; padding: 14px 24px 14px 14px; }
  .t10-cta__art { width: 180px; height: 124px; }
  .t10-cta__btn { width: auto; }
  .t10 .t10-cta__title { font-size: 1.3rem; }
  .t10 .t10-cta__text { font-size: 0.92rem; }
  .t10-postnav__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .t10-postnav__spacer { display: block; }
}

/* ---------- Desktops ---------- */
@media (min-width: 960px) {
  .t10-hero { padding: 22px 0 40px; }
  .t10-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 48px; align-items: center; }
  .t10-intro { grid-template-columns: 320px minmax(0, 1fr); grid-template-areas: "toc body"; gap: 44px; padding-top: 44px; }
  .t10-intro__body { grid-area: body; }
  /* The contents box takes the intro's height and scrolls inside, so a long list leaves no empty space beside the intro. */
  .t10-toc { grid-area: toc; display: flex; flex-direction: column; align-self: stretch; height: 0; min-height: 100%; overflow: hidden; }
  .t10-toc__list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(74, 124, 89, 0.35) transparent; }
  .t10-toc__toggle { cursor: default; pointer-events: none; }
  .t10-toc__chev { display: none; }
  .t10-js .t10-toc:not(.is-open) .t10-toc__list { display: grid; }
  .t10-glance__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .t10-glance__item { grid-template-columns: 1fr; align-content: start; align-items: start; gap: 10px; padding: 10px 10px 14px; text-align: center; }
  .t10-glance__item:hover { transform: translateY(-3px); }
  .t10-glance__media img, .t10-glance__blank { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .t10-rank { top: 8px; left: 8px; min-width: 28px; height: 28px; font-size: 0.85rem; }
  .t10-glance__text { align-items: center; }
  .t10-glance__chev { display: none; }
}
@media (min-width: 1100px) {
  .t10-facts:not(.t10-facts--profile) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .t10-facts.t10-facts--strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .t10-btn, .t10-glance__item, .t10-toc__chev, .t10-faq__chev, .t10-more-btn .t10-icon { transition: none; }
}
