/*
Theme Name: Botany Bible
Theme URI: https://botanybible.com
Description: Botany Bible plant encyclopedia — GeneratePress child theme.
Author: Rimon Chowdhury
Template: generatepress
Version: 1.4.5
Text Domain: botanybible
*/

:root {
	--bb-green: #1f6f4a;
	--bb-green-dark: #154d33;
	--bb-leaf: #e9f4ed;
	--bb-leaf-2: #d6ebdd;
	--bb-ink: #1b2a22;
	--bb-muted: #5f6f66;
	--bb-line: #dde7e0;
	--bb-bg: #ffffff;
	--bb-soft: #f6faf7;
	--bb-amber: #fff4dc;
	--bb-amber-ink: #7a4b00;
	--bb-radius: 12px;
	--bb-max: 1120px;
}

body { color: var(--bb-ink); }
a { color: var(--bb-green); }
a:hover { color: var(--bb-green-dark); }
.bb-wrap { max-width: var(--bb-max); margin: 0 auto; padding: 0 20px; }
.bb-muted { color: var(--bb-muted); }
.site-content .content-area, .site-main { max-width: none; }
.bb-single .site-main, .bb-archive .site-main { padding: 0; }

/* ---------- Typography (Fraunces display + Inter text) ---------- */
:root { --bb-serif: "Fraunces", "Iowan Old Style", Georgia, serif; --bb-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body { font-family: var(--bb-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .bb-title, .bb-card-title, .bb-sec-head h2, .bb-arch-head h1 { font-family: var(--bb-serif); font-weight: 600; letter-spacing: -.012em; }
.main-navigation a, .main-title a { font-family: var(--bb-sans); }
.main-title a { font-family: var(--bb-serif); font-weight: 700; letter-spacing: -.02em; }

/* ---------- Crumbs / head ---------- */
.bb-crumbs { font-size: .8rem; color: var(--bb-muted); margin: 22px 0 14px; overflow-wrap: anywhere; letter-spacing: .01em; }
.bb-crumbs a { color: var(--bb-muted); text-decoration: none; }
.bb-crumbs a:hover { color: var(--bb-green); }
.bb-head { margin-bottom: 22px; }
.bb-title { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.08; margin: 0 0 10px; color: var(--bb-ink); }
.bb-sci { font-family: var(--bb-serif); font-size: 1.25rem; margin: 0 0 10px; color: var(--bb-green-dark); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.bb-sci em { font-weight: 500; }
.bb-taxa { font-family: var(--bb-sans); color: var(--bb-muted); font-size: .88rem; }
.bb-taxa a { text-decoration: none; border-bottom: 1px solid var(--bb-line); }
.bb-taxa a:hover { border-color: var(--bb-green); }
.bb-common { margin: 0 0 14px; color: var(--bb-muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bb-common span { display: inline-block; background: var(--bb-leaf); color: var(--bb-green-dark); border-radius: 999px; padding: 3px 11px; font-size: .82rem; font-weight: 500; }
.bb-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .86rem; color: var(--bb-muted); margin: 0; padding: 12px 0 0; border-top: 1px solid var(--bb-line); }
.bb-byline a { text-decoration: none; font-weight: 600; color: var(--bb-ink); }
.bb-byline a:hover { color: var(--bb-green); }
.bb-ava { border-radius: 50%; width: 30px; height: 30px; object-fit: cover; }

/* ---------- Hero image ---------- */
.bb-hero { margin: 0 0 24px; position: relative; }
.bb-hero img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 16px; background: var(--bb-leaf); display: block; box-shadow: 0 12px 32px rgba(27,42,34,.10); }
.bb-credit { position: absolute; right: 12px; bottom: 12px; font-size: .72rem; color: #fff; background: rgba(15,42,30,.62); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); margin: 0; }
.bb-credit a { color: #fff; text-decoration: none; }

/* ---------- Quick facts ---------- */
.bb-facts { margin: 0 0 28px; }
.bb-facts-h { font-family: var(--bb-sans); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-green); margin: 0 0 10px; font-weight: 700; }
.bb-facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0; }
.bb-fact { background: #fff; border: 1px solid var(--bb-line); border-radius: 12px; padding: 12px 14px; }
.bb-fact dt { font-size: .72rem; color: var(--bb-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 9px; }
.bb-fact dd { margin: 6px 0 0 45px; font-size: .96rem; font-weight: 600; line-height: 1.35; color: var(--bb-ink); }
.bb-fact dd a { text-decoration: none; border-bottom: 1px solid var(--bb-leaf-2); }
.bb-fact dd a:hover { border-color: var(--bb-green); }
.bb-fact dd small { display: block; font-weight: 400; color: var(--bb-muted); font-size: .78rem; margin-top: 2px; }
.bb-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--bb-leaf); display: grid; place-items: center; font-size: 1.05rem; flex: 0 0 36px; }

/* ---------- Notice ---------- */
.bb-notice { background: var(--bb-amber); color: var(--bb-amber-ink); border-left: 4px solid #e4b200; border-radius: 10px; padding: 12px 16px; margin: 0 0 24px; font-size: .95rem; }

/* ---------- Columns + TOC ---------- */
.bb-cols { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 8px; }
.bb-toc { position: sticky; top: 28px; font-size: .86rem; max-height: calc(100vh - 56px); overflow: auto; padding: 4px 0 0; }
.bb-toc-h { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-green); margin: 0 0 10px; font-weight: 700; }
.bb-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--bb-line); }
.bb-toc li { margin: 0; }
.bb-toc a { color: var(--bb-muted); text-decoration: none; display: block; line-height: 1.35; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; transition: color .15s, border-color .15s; }
.bb-toc a:hover { color: var(--bb-ink); }
.bb-toc a.is-on { color: var(--bb-green-dark); font-weight: 600; border-left-color: var(--bb-green); }
.bb-body { min-width: 0; font-size: 1.08rem; line-height: 1.75; color: #22312a; max-width: 760px; }
.bb-body > p:first-child { font-size: 1.18rem; line-height: 1.65; color: var(--bb-ink); }
.bb-body h2 { font-size: 1.75rem; line-height: 1.2; margin: 2.2em 0 .7em; padding-top: .9em; border-top: 1px solid var(--bb-line); scroll-margin-top: 28px; color: var(--bb-ink); }
.bb-body h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.6em; }
.bb-body h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.bb-body p { margin: 0 0 1.15em; }
.bb-body ul, .bb-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.bb-body li { margin-bottom: .4em; }
.bb-body li::marker { color: var(--bb-green); }
.bb-body strong { color: var(--bb-ink); }
.bb-body a { text-decoration: none; border-bottom: 1px solid var(--bb-leaf-2); }
.bb-body a:hover { border-color: var(--bb-green); }
.bb-body img { border-radius: var(--bb-radius); }
.bb-body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.bb-body th, .bb-body td { border: 1px solid var(--bb-line); padding: 8px 10px; text-align: left; }
.bb-body th { background: var(--bb-soft); }
@media (max-width: 900px) { .bb-cols { grid-template-columns: 1fr; gap: 20px; } .bb-toc { position: static; max-height: none; background: var(--bb-soft); border-radius: 12px; padding: 14px 16px; } .bb-toc ol { border-left: 0; columns: 2; } .bb-toc a { padding-left: 0; border-left: 0; } .bb-body { font-size: 1.02rem; } .bb-body h2 { font-size: 1.5rem; } .bb-credit { position: static; display: inline-block; background: var(--bb-soft); color: var(--bb-muted); margin-top: 8px; } .bb-credit a { color: inherit; } }

/* ---------- FAQ ---------- */
.bb-faq { margin-top: 1em; }
.bb-q { border: 1px solid var(--bb-line); border-radius: 12px; padding: 0; margin: 0 0 10px; background: #fff; transition: border-color .15s; }
.bb-q[open] { border-color: var(--bb-leaf-2); background: var(--bb-soft); }
.bb-q summary { cursor: pointer; padding: 14px 48px 14px 18px; font-weight: 600; font-size: 1.02rem; list-style: none; position: relative; line-height: 1.4; }
.bb-q summary::-webkit-details-marker { display: none; }
.bb-q summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--bb-green); border-bottom: 2px solid var(--bb-green); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.bb-q[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.bb-a { padding: 0 18px 14px; font-size: .98rem; line-height: 1.65; }
.bb-a p { margin: 0 0 .6em; }

/* ---------- Sources ---------- */
.bb-sources { background: var(--bb-soft); border: 1px solid var(--bb-line); border-radius: 16px; padding: 22px 24px; margin: 44px 0 0; font-size: .92rem; }
.bb-sources h2 { font-size: 1.3rem; margin: 0 0 6px; padding: 0; border: 0; display: flex; align-items: center; gap: 10px; }
.bb-sources h2::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--bb-green); color: #fff; font-size: .85rem; display: grid; place-items: center; font-family: var(--bb-sans); font-weight: 700; }
.bb-src-note { color: var(--bb-muted); margin: 0 0 14px; line-height: 1.55; }
.bb-src-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.bb-src-list li { margin: 0; }
.bb-src-list a { display: block; background: #fff; border: 1px solid var(--bb-line); border-radius: 10px; padding: 10px 14px 10px 14px; text-decoration: none; color: var(--bb-ink); position: relative; transition: border-color .15s, box-shadow .15s; }
.bb-src-list a:hover { border-color: var(--bb-green); box-shadow: 0 4px 14px rgba(27,42,34,.06); }
.bb-src-list a::after { content: "↗"; position: absolute; right: 12px; top: 10px; color: var(--bb-muted); font-size: .85rem; }
.bb-src-name { display: block; font-weight: 600; padding-right: 18px; }
.bb-src-sub { display: block; color: var(--bb-muted); font-size: .8rem; margin-top: 2px; }

/* ---------- Related ---------- */
.bb-related { margin: 44px 0 0; }
.bb-related h2 { font-size: 1.4rem; margin: 0 0 14px; padding: 0; border: 0; }
.bb-more { margin: 14px 0 0; font-weight: 600; }
.bb-more a { text-decoration: none; }

/* ---------- Author box ---------- */
.bb-author { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 20px; align-items: start; background: #fff; border: 1px solid var(--bb-line); border-radius: 16px; padding: 22px 24px; margin: 36px 0 0; font-size: .94rem; }
.bb-author-ava { border-radius: 50%; width: 96px; height: 96px; object-fit: cover; border: 3px solid var(--bb-leaf); }
.bb-author-k { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-green); font-weight: 700; margin: 0 0 2px; }
.bb-author-name { margin: 0 0 2px; font-family: var(--bb-serif); font-size: 1.25rem; font-weight: 600; }
.bb-author-name a { text-decoration: none; color: var(--bb-ink); }
.bb-author-role { margin: 0 0 8px; color: var(--bb-muted); font-size: .86rem; }
.bb-author-bio { margin: 0 0 12px; color: #3b4a42; line-height: 1.6; }
.bb-author-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.bb-author-links a { text-decoration: none; font-size: .84rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--bb-line); color: var(--bb-green-dark); background: var(--bb-soft); }
.bb-author-links a:hover { border-color: var(--bb-green); background: var(--bb-leaf); }
@media (max-width: 600px) { .bb-author { grid-template-columns: 1fr; } .bb-author-ava { width: 72px; height: 72px; } }

.bb-common > .bb-muted { background: none; padding: 0; color: var(--bb-muted); font-weight: 400; }
.bb-body .bb-author-ava, .bb-author-ava { border-radius: 50%; }
.bb-body .bb-src-list a, .bb-body .bb-author-links a, .bb-body .bb-more a { border-bottom: 0; }
.bb-body .bb-src-list a { border: 1px solid var(--bb-line); }
.bb-body .bb-src-list a:hover { border-color: var(--bb-green); }
.bb-body .bb-author-links a { border: 1px solid var(--bb-line); }


/* ---------- v1.1.2 polish ---------- */
.bb-body { font-size: 1.05rem; }
.bb-body > p:first-child { font-size: 1.15rem; }
.bb-facts-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.bb-fact { padding: 10px 12px; }
.bb-fact dd { font-size: .92rem; margin-left: 42px; }
.bb-fact dd small { font-size: .74rem; }
.bb-ico { width: 32px; height: 32px; font-size: .95rem; flex-basis: 32px; }
.bb-q summary { font-size: 1rem; padding: 12px 44px 12px 16px; }
.bb-a { font-size: .96rem; padding: 0 16px 12px; }
.bb-sources { padding: 16px 18px; margin-top: 36px; font-size: .88rem; }
.bb-sources h2 { font-size: 1.1rem; margin-bottom: 4px; }
.bb-sources h2::before { width: 22px; height: 22px; font-size: .75rem; }
.bb-src-note { font-size: .86rem; margin-bottom: 10px; }
.bb-src-list { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-body .bb-src-list a { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px 5px 11px; border-radius: 999px; font-size: .82rem; }
.bb-src-list a::after { position: static; font-size: .75rem; margin-left: 2px; }
.bb-src-name { display: inline; padding: 0; font-weight: 600; }
.bb-src-sub { display: inline; font-size: .74rem; margin: 0; }
.bb-src-sub::before { content: "· "; }
.bb-related { margin-top: 36px; }
.bb-related h2 { font-size: 1.25rem; }
.bb-author { margin-top: 28px; padding: 18px 20px; font-size: .9rem; grid-template-columns: 80px minmax(0,1fr); gap: 16px; }
.bb-author-ava { width: 80px; height: 80px; }
.bb-author-name { font-size: 1.15rem; }
.bb-author-role { font-size: .8rem; }
.bb-author-bio { font-size: .9rem; margin-bottom: 10px; }
.bb-author-links a { font-size: .8rem; padding: 5px 11px; }
.bb-card-ph { font-size: 2rem; opacity: .45; }

.bb-src-sub { display: none; }
.bb-src-list a::after { opacity: .6; }

.bb-keyfacts { background: var(--bb-soft); border: 1px solid var(--bb-line); border-left: 4px solid var(--bb-green); border-radius: 12px; padding: 14px 18px 10px; margin: 6px 0 28px; }
.bb-keyfacts-h { font-family: var(--bb-sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-green); font-weight: 700; margin: 0 0 6px; }
.bb-keyfacts ul { margin: 0; padding-left: 1.1em; }
.bb-keyfacts li { margin: 0 0 .35em; font-size: .96rem; line-height: 1.5; }
.bb-body p:has(+ .bb-keyfacts) { margin-bottom: 1em; }
.bb-body h2 + p > strong:first-child, .bb-body h2 + ul li strong { color: var(--bb-green-dark); }


/* ---------- v1.2 site polish ---------- */
.site-header { border-bottom: 1px solid var(--bb-line); }
.main-title a { display: inline-flex; align-items: center; gap: 9px; color: var(--bb-ink) !important; font-size: 1.55rem; }
.main-title a::before { content: ""; width: 30px; height: 30px; border-radius: 9px; background: var(--bb-green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M5 20c0-9 5-14 14-15-1 9-6 14-14 15z'/><path d='M5 20c3-5 7-9 11-11'/></svg>") center / 18px no-repeat; }
.main-navigation .main-nav ul li a { color: var(--bb-ink); font-weight: 500; font-size: .95rem; }
.main-navigation .main-nav ul li a:hover, .main-navigation .main-nav ul li.current-menu-item > a, .main-navigation .main-nav ul li.current_page_item > a { color: var(--bb-green) !important; }
.main-navigation .main-nav ul li.current-menu-item > a::after, .main-navigation .main-nav ul li.current_page_item > a::after { content: ""; display: block; height: 2px; background: var(--bb-green); border-radius: 2px; margin-top: 2px; }
.bb-author-head .bb-author-ava { width: 120px; height: 120px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(27,42,34,.12); }
.bb-author-head h1 { font-size: 2rem; }
.bb-similar { margin: 36px 0 0; padding: 16px 18px; border: 1px dashed var(--bb-line); border-radius: 12px; }
.bb-similar-h { font-family: var(--bb-sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-green); font-weight: 700; margin: 0 0 8px; }
.bb-similar .bb-chips { margin: 0; }
.bb-body .bb-similar a { border-bottom: 0; font-size: .84rem; padding: 5px 11px; }
.bb-card { border-radius: 14px; }
.bb-card-img { position: relative; }
.bb-card-img img { transition: transform .35s ease; }
.bb-card:hover .bb-card-img img { transform: scale(1.04); }
.bb-card-title { font-size: 1.05rem; }
.bb-card-sci { font-family: var(--bb-serif); font-size: .88rem; }
.bb-foot { background: #0f3a26; color: #cfe5d8; padding: 48px 0 36px; margin-top: 56px; }
.bb-foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.bb-foot-logo { font-family: var(--bb-serif); font-weight: 700; font-size: 1.5rem; color: #fff; text-decoration: none; letter-spacing: -.02em; display: inline-block; margin-bottom: 10px; }
.bb-foot-brand p { font-size: .92rem; line-height: 1.6; margin: 0 0 10px; max-width: 420px; }
.bb-foot-small { font-size: .78rem !important; color: #8fb8a3; }
.bb-foot-h { font-family: var(--bb-sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9fe0bd; font-weight: 700; margin: 4px 0 12px; }
.bb-foot ul { list-style: none; margin: 0; padding: 0; }
.bb-foot li { margin: 0 0 8px; font-size: .92rem; }
.bb-foot a { color: #e6f2ea; text-decoration: none; }
.bb-foot a:hover { color: #fff; text-decoration: underline; }
.site-footer .site-info { background: #0b2d1d; color: #8fb8a3; font-size: .82rem; padding: 14px 20px; }
.site-footer .site-info a { color: #cfe5d8; }
.site-footer .site-info .inside-site-info { max-width: var(--bb-max); margin: 0 auto; text-align: center; }
.home .bb-foot, .bb-home .bb-foot { margin-top: 0; }
@media (max-width: 900px) { .bb-foot-in { grid-template-columns: 1fr 1fr; gap: 28px; } .bb-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .bb-foot-in { grid-template-columns: 1fr; } }

.bb-body > p:first-child, .bb-body > p:first-child + p { font-size: 1.12rem; line-height: 1.65; color: var(--bb-ink); }


/* ---------- v1.3 tables / editor note / medical ---------- */
.bb-body .bb-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .94rem; margin: 0 0 1.4em; border: 1px solid var(--bb-line); border-radius: 12px; overflow: hidden; }
.bb-body .bb-table th, .bb-body .bb-table td { border: 0; border-bottom: 1px solid var(--bb-line); padding: 10px 14px; vertical-align: top; text-align: left; line-height: 1.5; }
.bb-body .bb-table tr:last-child th, .bb-body .bb-table tr:last-child td { border-bottom: 0; }
.bb-body .bb-table thead th { background: var(--bb-leaf); font-family: var(--bb-sans); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bb-green-dark); }
.bb-body .bb-cal th { width: 110px; background: var(--bb-soft); font-weight: 700; color: var(--bb-green-dark); }
.bb-body .bb-trouble td:first-child { font-weight: 600; color: var(--bb-ink); width: 28%; }
.bb-body .bb-trouble td:nth-child(2) { width: 30%; color: var(--bb-muted); }
.bb-ednote { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 14px; align-items: start; background: #fffaf0; border: 1px solid #f1e3c4; border-radius: 14px; padding: 16px 18px; margin: 28px 0 8px; }
.bb-ednote-ava { border-radius: 50% !important; width: 56px; height: 56px; object-fit: cover; }
.bb-ednote-k { font-family: var(--bb-sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #8a5a00; font-weight: 700; margin: 0 0 4px; }
.bb-ednote-t { margin: 0 0 6px; font-size: 1rem; line-height: 1.6; color: var(--bb-ink); }
.bb-ednote-by { margin: 0; font-size: .82rem; color: var(--bb-muted); }
.bb-mednote { font-size: .82rem; color: var(--bb-muted); background: var(--bb-soft); border-left: 3px solid var(--bb-line); padding: 8px 12px; border-radius: 6px; margin: 28px 0 0; }
@media (max-width: 640px) { .bb-body .bb-table { display: block; overflow-x: auto; font-size: .88rem; } .bb-body .bb-trouble td { min-width: 160px; } }

.bb-hub-intro { max-width: 820px; font-size: 1.05rem; line-height: 1.7; margin: 4px 0 28px; }
.bb-hub-intro p { margin: 0 0 1em; }
.bb-hub-intro a { text-decoration: none; border-bottom: 1px solid var(--bb-leaf-2); }
.bb-hub-faq { max-width: 820px; margin: 40px 0 20px; }
.bb-hub-faq h2 { font-size: 1.4rem; margin: 0 0 14px; }

/* ---------- Cards / grid ---------- */
.bb-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.bb-grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.bb-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--bb-line); border-radius: var(--bb-radius); overflow: hidden; background: #fff; transition: box-shadow .15s, transform .15s; }
.bb-card:hover { box-shadow: 0 6px 20px rgba(27, 42, 34, .08); transform: translateY(-2px); color: inherit; }
.bb-card-img { aspect-ratio: 4 / 3; background: var(--bb-leaf); display: grid; place-items: center; }
.bb-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-card-ph { font-size: 2.2rem; opacity: .6; }
.bb-card-body { padding: 12px 14px; }
.bb-card-title { font-size: 1rem; margin: 0 0 2px; line-height: 1.3; }
.bb-card-sci { font-size: .85rem; color: var(--bb-muted); margin: 0 0 6px; }
.bb-card-chips { font-size: .78rem; color: var(--bb-muted); margin: 0; }
.bb-card-txt .bb-card-body { padding: 16px; }

/* ---------- Archive ---------- */
.bb-arch-head { margin: 0 0 20px; }
.bb-arch-head h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 6px; }
.bb-browse { margin: 0 0 22px; }
.bb-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.bb-chips-l { font-size: .85rem; color: var(--bb-muted); margin-right: 4px; }
.bb-chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--bb-leaf); color: var(--bb-green-dark); text-decoration: none; font-size: .88rem; }
.bb-chip:hover { background: var(--bb-leaf-2); color: var(--bb-green-dark); }
.bb-chip small { color: var(--bb-muted); margin-left: 3px; }
.bb-pager { margin: 28px 0 40px; text-align: center; }
.bb-pager .page-numbers { display: inline-block; padding: 6px 12px; border-radius: 8px; margin: 2px; text-decoration: none; border: 1px solid var(--bb-line); }
.bb-pager .current { background: var(--bb-green); color: #fff; border-color: var(--bb-green); }

/* ---------- Search form ---------- */
.bb-search { display: flex; gap: 8px; max-width: 640px; margin: 10px 0 0; }
.bb-search input[type=search] { flex: 1; padding: 12px 16px; border: 1px solid var(--bb-line); border-radius: 10px; font-size: 1rem; }
.bb-search button { padding: 12px 20px; border: 0; border-radius: 10px; background: var(--bb-green); color: #fff; font-weight: 600; cursor: pointer; }
.bb-search button:hover { background: var(--bb-green-dark); }

/* Homepage: page container edge-to-edge; inner .bb-wrap re-centres content */
.home #page.site, .home .site-content, .home .content-area, .home .site-main, .home .inside-article { max-width: none; padding: 0; margin: 0; width: 100%; }

.home .site-content { display: block; }
.home .bb-home { width: 100%; flex: 1 1 100%; }

/* ---------- Home: hero ---------- */
.bb-hero2 { background: radial-gradient(1200px 600px at 80% -10%, #2d8a5e 0%, var(--bb-green-dark) 55%, #0f3a26 100%); color: #fff; padding: 64px 0 0; }
.bb-hero2-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.bb-hero2 .bb-kicker { color: #9fe0bd; }
.bb-hero2 h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.08; margin: 0 0 14px; letter-spacing: -.01em; }
.bb-hero2 .bb-lede { color: #d6eadf; max-width: 560px; margin: 0 0 22px; font-size: 1.1rem; }
.bb-hero2 .bb-search { margin: 0; max-width: 560px; }
.bb-hero2 .bb-search input[type=search] { border: 0; padding: 14px 18px; font-size: 1.05rem; }
.bb-hero2 .bb-search button { background: #7fd3a4; color: #0f3a26; }
.bb-hero2 .bb-search button:hover { background: #9fe0bd; }
.bb-hero2 .bb-hero-ex { color: #b7d8c6; margin: 12px 0 0; font-size: .88rem; }
.bb-hero2 .bb-hero-ex a { color: #fff; text-decoration: none; background: rgba(255,255,255,.1); padding: 3px 10px; border-radius: 999px; margin-right: 4px; display: inline-block; }
.bb-hero2 .bb-hero-ex a:hover { background: rgba(255,255,255,.2); }
.bb-hero2-card { background: #fff; color: var(--bb-ink); border-radius: 16px; padding: 18px 20px; box-shadow: 0 30px 60px rgba(0,0,0,.25); transform: rotate(-2deg); max-width: 360px; justify-self: end; }
.bb-hc-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.bb-hc-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bb-leaf); display: grid; place-items: center; font-size: 1.4rem; }
.bb-hc-top strong { display: block; font-size: 1.05rem; }
.bb-hc-top em { color: var(--bb-muted); font-size: .85rem; font-style: normal; }
.bb-hc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bb-hc-grid div { background: var(--bb-soft); border-radius: 10px; padding: 8px 10px; }
.bb-hc-grid span { display: block; font-size: .72rem; color: var(--bb-muted); text-transform: uppercase; letter-spacing: .06em; }
.bb-hc-grid b { font-size: .92rem; }
.bb-hc-foot { margin-top: 12px; font-size: .78rem; color: var(--bb-green); font-weight: 600; }
.bb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; padding: 22px 20px; border-top: 1px solid rgba(255,255,255,.15); }
.bb-stats b { display: block; font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1.1; }
.bb-stats span { font-size: .82rem; color: #b7d8c6; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 900px) { .bb-hero2-in { grid-template-columns: 1fr; } .bb-hero2-card { display: none; } .bb-stats { grid-template-columns: repeat(2, 1fr); } .bb-hero2 { padding-top: 44px; } }

/* ---------- Home: sections ---------- */
.bb-sec { padding: 40px 20px 8px; }
.bb-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.bb-sec-head h2 { font-size: 1.5rem; margin: 0; letter-spacing: -.01em; }
.bb-sec-head p { margin: 0; }
.bb-sec-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.bb-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.bb-tile { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 22px 12px 18px; border: 1px solid var(--bb-line); border-radius: 14px; text-decoration: none; color: inherit; background: #fff; transition: transform .15s, box-shadow .15s, border-color .15s; }
.bb-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(27,42,34,.08); border-color: var(--bb-green); color: inherit; }
.bb-tile-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--bb-leaf); display: grid; place-items: center; font-size: 1.6rem; }
.bb-tile-n { font-weight: 600; font-size: .98rem; }
.bb-tile-c { font-size: .78rem; color: var(--bb-muted); }
.bb-finder { background: var(--bb-soft); border-top: 1px solid var(--bb-line); border-bottom: 1px solid var(--bb-line); padding: 40px 0; margin-top: 32px; margin-bottom: 8px; }
.bb-finder-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.bb-finder-col { background: #fff; border: 1px solid var(--bb-line); border-radius: 14px; padding: 18px; }
.bb-finder-col h3 { font-size: 1rem; margin: 0 0 10px; }
.bb-finder-col .bb-chip { margin: 0 6px 8px 0; }
.bb-az-row { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-az-row a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--bb-line); border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--bb-ink); }
.bb-az-row a:hover { background: var(--bb-green); color: #fff; border-color: var(--bb-green); }
.bb-why { background: var(--bb-green-dark); color: #fff; padding: 48px 0 56px; margin-top: 40px; }
.bb-why .bb-sec-head h2 { color: #fff; }
.bb-why-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.bb-why-i { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 20px; }
.bb-why-ico { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.bb-why-i h3 { color: #fff; font-size: 1.05rem; margin: 0 0 6px; }
.bb-why-i p { margin: 0; color: #cfe5d8; font-size: .94rem; }
.bb-why-i a { color: #9fe0bd; }
.bb-home .site-content, .home .site-content { padding-bottom: 0; }
/* ---------- Author archive ---------- */
.bb-author-head { display: flex; gap: 24px; align-items: flex-start; background: var(--bb-soft); border: 1px solid var(--bb-line); border-radius: 16px; padding: 24px; margin: 0 0 28px; }
.bb-author-head h1 { font-size: 1.8rem; margin: 0 0 4px; }
.bb-author-head .bb-author-ava { border-radius: 50%; flex: 0 0 120px; }
.bb-author-role { color: var(--bb-muted); font-size: .92rem; margin: 0 0 10px; }
.bb-author-head .bb-author-links a { margin-right: 14px; font-weight: 600; }
@media (max-width: 700px) { .bb-author-head { flex-direction: column; } }
/* ---------- v1.3.2: uniform cards, hero card link ---------- */
.bb-card-img { overflow: hidden; }
.bb-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.bb-hero2-card { display: block; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.bb-hero2-card:hover { transform: translateY(-2px) rotate(0deg); }
.bb-hc-foot { color: var(--bb-green); }

.bb-hero2 a.bb-hero2-card, .bb-hero2 a.bb-hero2-card strong, .bb-hero2 a.bb-hero2-card b { color: var(--bb-ink); }
.bb-hero2 a.bb-hero2-card em, .bb-hero2 a.bb-hero2-card span { color: var(--bb-muted); }
.bb-hero2 a.bb-hero2-card .bb-hc-foot { color: var(--bb-green); }

/* ---------- v1.4.0: homepage content blocks ---------- */
.bb-sec-head p.bb-muted { margin: 0; font-size: .98rem; }
.bb-spot-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bb-spot-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--bb-line); border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .15s, transform .15s; }
.bb-spot-card:hover { box-shadow: 0 10px 30px rgba(21,77,51,.12); transform: translateY(-2px); }
.bb-spot-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bb-leaf); }
.bb-spot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-spot-body { padding: 18px 20px 20px; }
.bb-spot-body h3 { font-size: 1.2rem; margin: 0 0 8px; line-height: 1.25; }
.bb-spot-body h3 em { display: block; font-family: var(--bb-serif); font-weight: 500; font-size: .92rem; color: var(--bb-muted); margin-top: 2px; }
.bb-spot-body p { margin: 0 0 12px; color: var(--bb-ink); font-size: .95rem; line-height: 1.55; }
.bb-spot-more { color: var(--bb-green); font-weight: 600; font-size: .9rem; }
.bb-tile-d { font-size: .78rem; color: var(--bb-muted); line-height: 1.4; margin-top: 2px; }

.bb-safety-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bb-safety-card { border: 1px solid var(--bb-line); border-radius: 16px; padding: 20px 22px; background: var(--bb-soft); display: flex; flex-direction: column; }
.bb-safety-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bb-safety-ico { font-size: 1.4rem; }
.bb-safety-top h3 { margin: 0; font-size: 1.12rem; flex: 1; }
.bb-safety-top h3 a { color: var(--bb-ink); text-decoration: none; }
.bb-safety-n { font-family: var(--bb-sans); font-size: .78rem; font-weight: 700; color: var(--bb-green-dark); background: var(--bb-leaf-2); border-radius: 999px; padding: 3px 10px; }
.bb-safety-card > p { margin: 0 0 12px; color: var(--bb-muted); font-size: .93rem; line-height: 1.5; }
.bb-safety-card ul { list-style: none; margin: 0 0 14px; padding: 0; flex: 1; }
.bb-safety-card li { padding: 6px 0; border-top: 1px solid var(--bb-line); font-size: .94rem; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.bb-safety-card li a { color: var(--bb-ink); text-decoration: none; font-weight: 600; }
.bb-safety-card li a:hover { color: var(--bb-green); }
.bb-safety-card li em { color: var(--bb-muted); font-size: .85rem; }

.bb-editor { background: var(--bb-leaf); border-top: 1px solid var(--bb-line); border-bottom: 1px solid var(--bb-line); padding: 48px 0; margin-top: 40px; }
.bb-editor-in { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.bb-editor-in img.bb-editor-ava { width: 120px !important; height: 120px !important; border-radius: 50% !important; object-fit: cover; border: 4px solid #fff; box-shadow: 0 6px 20px rgba(21,77,51,.15); }
.bb-editor .bb-kicker { color: var(--bb-green-dark); font-family: var(--bb-sans); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; }
.bb-editor h2 { margin: 0 0 12px; font-size: 1.6rem; }
.bb-editor p { max-width: 760px; line-height: 1.65; margin: 0 0 12px; }
.bb-editor-links a { font-weight: 600; margin-right: 18px; text-decoration: none; }
@media (max-width: 600px) { .bb-editor-in { grid-template-columns: 1fr; } }

.bb-home-faq .bb-faq { max-width: 860px; margin-top: 0; }
.bb-home-faq .bb-a { padding: 0 18px 16px; line-height: 1.6; }
.bb-home-faq .bb-a p { margin: 0; }
.bb-home .bb-why { margin-top: 0; }

.bb-spot-img { display: grid; place-items: center; }
.bb-spot-img .bb-card-ph { font-size: 2.4rem; opacity: .6; }

/* ---------- v1.4.1: homepage rhythm & polish ---------- */
.bb-home .bb-sec { padding: 56px 20px 8px; }
.bb-home .bb-sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; margin: 0 0 24px; }
.bb-home .bb-sec-head p.bb-muted { grid-column: 1 / -1; max-width: 680px; margin: 0; font-size: 1rem; line-height: 1.55; }
.bb-home .bb-sec-head .bb-sec-link { align-self: end; white-space: nowrap; font-weight: 600; text-decoration: none; }
.bb-eyebrow { display: block; font-family: var(--bb-sans); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bb-green); margin-bottom: 6px; }
.bb-home .bb-sec-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; line-height: 1.15; }

/* full-bleed soft bands for alternating sections */
.bb-home .bb-safety, .bb-home .bb-az { background: var(--bb-soft); box-shadow: 0 0 0 100vmax var(--bb-soft); clip-path: inset(0 -100vmax); padding-bottom: 56px; margin: 48px 0 0; }
.bb-home .bb-safety-card { background: #fff; }
.bb-home .bb-finder { margin-top: 48px; }

/* type tiles */
.bb-tile { padding: 24px 12px 20px; border-radius: 16px; }
.bb-tile:hover { border-color: var(--bb-leaf-2); box-shadow: 0 10px 24px rgba(21,77,51,.10); transform: translateY(-2px); }
.bb-tile-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bb-leaf); font-size: 1.5rem; }
.bb-tile-n { font-weight: 700; color: var(--bb-ink); }
.bb-tile-c { font-size: .8rem; color: var(--bb-muted); }

/* spotlight: equal cards, excerpt clamped */
.bb-spot-body p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bb-spot-body { display: flex; flex-direction: column; flex: 1; }
.bb-spot-more { margin-top: auto; }

/* A–Z row */
.bb-az-row a { background: #fff; }

/* why boxes lighter */
.bb-why { padding-top: 56px; }

/* hero search a touch larger */
.bb-hero2 .bb-search input, .bb-hero2 .search-field { font-size: 1.05rem; }

@media (max-width: 640px) {
	.bb-home .bb-sec { padding: 40px 16px 8px; }
	.bb-home .bb-sec-head { grid-template-columns: 1fr; }
	.bb-home .bb-sec-head .bb-sec-link { justify-self: start; }
}

/* ---------- v1.4.2: safety block redesign ---------- */
.bb-safety-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.bb-safety-card { position: relative; border: 1px solid var(--bb-line); border-radius: 18px; padding: 0; background: #fff; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 1px 2px rgba(21,77,51,.04); }
.bb-safety-card::before { content: ""; height: 5px; display: block; background: var(--bb-sc, var(--bb-green)); }
.bb-safety-card.is-pets { --bb-sc: #c2410c; --bb-sc-soft: #fff1ea; }
.bb-safety-card.is-humans { --bb-sc: #b45309; --bb-sc-soft: #fff7e6; }
.bb-safety-card.is-safe { --bb-sc: var(--bb-green); --bb-sc-soft: var(--bb-leaf); }
.bb-safety-top { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 20px 22px 0; margin: 0; }
.bb-safety-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bb-sc-soft); font-size: 1.3rem; }
.bb-safety-top h3 { margin: 0; font-size: 1.15rem; line-height: 1.2; }
.bb-safety-top h3 a { color: var(--bb-ink); text-decoration: none; }
.bb-safety-top h3 a:hover { color: var(--bb-sc); }
.bb-safety-n { font-family: var(--bb-sans); font-size: .78rem; font-weight: 700; color: var(--bb-sc); background: var(--bb-sc-soft); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.bb-safety-card > p { margin: 10px 22px 14px; color: var(--bb-muted); font-size: .92rem; line-height: 1.5; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bb-safety-card ul { list-style: none; margin: 0; padding: 0 10px; flex: 1; border-top: 1px solid var(--bb-line); }
.bb-safety-card li { margin: 0; padding: 0; border: 0; display: block; }
.bb-safety-card li + li { border-top: 1px solid var(--bb-line); }
.bb-safety-card li a { display: grid; grid-template-columns: 1fr; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--bb-ink); font-weight: 600; font-size: .95rem; line-height: 1.25; transition: background .12s; }
.bb-safety-card li a:hover { background: var(--bb-sc-soft); color: var(--bb-ink); }
.bb-safety-card li a em { display: block; font-family: var(--bb-serif); font-weight: 500; font-style: italic; font-size: .84rem; color: var(--bb-muted); margin-top: 2px; }
.bb-safety-card > .bb-sec-link { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 14px 22px 18px; border-top: 1px solid var(--bb-line); font-weight: 600; text-decoration: none; color: var(--bb-sc); }
.bb-safety-card > .bb-sec-link:hover { background: var(--bb-sc-soft); }
@media (max-width: 900px) { .bb-safety-grid { grid-template-columns: 1fr; } }

.bb-safety-top h3 { font-size: 1.08rem; }
.bb-safety-card > p { min-height: 3em; -webkit-line-clamp: 2; }

.bb-home .bb-finder { margin-bottom: 0; border-bottom: 0; }
.bb-home .bb-safety { margin-top: 0; border-top: 1px solid var(--bb-line); }
.bb-home .bb-finder-col { background: #fff; }

/* ---------- v1.4.3: alignment fixes, editor+FAQ split, motion ---------- */
.bb-home .bb-safety, .bb-home .bb-az { margin-left: auto; margin-right: auto; }
.bb-why .bb-eyebrow { color: #9fd9b8; }
.bb-why .bb-sec-head h2 { color: #fff; }

/* A–Z: even grid that fills the row */
.bb-az-row { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 8px; }
.bb-az-row a { display: grid; place-items: center; aspect-ratio: 1; min-height: 44px; border: 1px solid var(--bb-line); border-radius: 10px; background: #fff; font-weight: 700; color: var(--bb-ink); text-decoration: none; transition: background .15s, color .15s, transform .15s, border-color .15s; }
.bb-az-row a:hover { background: var(--bb-green); border-color: var(--bb-green); color: #fff; transform: translateY(-2px); }
@media (max-width: 640px) { .bb-az-row { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* Editor + FAQ side by side */
.bb-edfaq { background: var(--bb-leaf); border-top: 1px solid var(--bb-line); border-bottom: 1px solid var(--bb-line); padding: 64px 0; margin-top: 56px; }
.bb-edfaq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.bb-editor-card { background: #fff; border: 1px solid var(--bb-line); border-radius: 20px; padding: 28px 28px 30px; position: sticky; top: 24px; box-shadow: 0 10px 30px rgba(21,77,51,.07); }
.bb-editor-card img.bb-editor-ava { width: 88px !important; height: 88px !important; border-radius: 50% !important; object-fit: cover; border: 4px solid var(--bb-leaf); display: block; margin: 6px 0 16px; }
.bb-editor-card h2 { font-size: 1.45rem; line-height: 1.2; margin: 0 0 12px; }
.bb-editor-card p { font-size: .96rem; line-height: 1.65; margin: 0 0 12px; color: var(--bb-ink); }
.bb-editor-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bb-btn { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--bb-green); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .15s, transform .15s; }
.bb-btn:hover { background: var(--bb-green-dark); color: #fff; transform: translateY(-1px); }
.bb-btn-ghost { background: transparent; color: var(--bb-green); border: 1px solid var(--bb-leaf-2); }
.bb-btn-ghost:hover { background: var(--bb-leaf); color: var(--bb-green-dark); }
.bb-home-faq h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 18px; }
.bb-home-faq .bb-faq { max-width: none; margin: 0; }
.bb-home-faq .bb-q { background: #fff; }
.bb-home-faq .bb-q[open] { border-color: var(--bb-leaf-2); box-shadow: 0 6px 18px rgba(21,77,51,.06); }
.bb-home-faq .bb-a { padding: 0 18px 16px; line-height: 1.6; }
.bb-home-faq .bb-a p { margin: 0; }
@media (max-width: 860px) { .bb-edfaq-in { grid-template-columns: 1fr; } .bb-editor-card { position: static; } }

/* Motion: reveal on scroll (class added by JS; nothing hidden without JS) */
.bb-rv { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.bb-rv.is-in { opacity: 1; transform: none; }
.bb-rv-1 { transition-delay: .06s; } .bb-rv-2 { transition-delay: .12s; } .bb-rv-3 { transition-delay: .18s; } .bb-rv-4 { transition-delay: .24s; }
.bb-card, .bb-tile, .bb-chip, .bb-spot-card, .bb-safety-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.bb-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(21,77,51,.12); }
.bb-card-img img { transition: transform .5s ease; }
.bb-card:hover .bb-card-img img { transform: scale(1.04); }
.bb-chip:hover { transform: translateY(-1px); }
@keyframes bb-float { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } }
.bb-hero2 a.bb-hero2-card { animation: bb-float 7s ease-in-out infinite; }
.bb-hero2 a.bb-hero2-card:hover { animation-play-state: paused; transform: rotate(0) translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .bb-rv { opacity: 1; transform: none; transition: none; } .bb-hero2 a.bb-hero2-card { animation: none; } .bb-card:hover .bb-card-img img { transform: none; } }

.bb-edfaq { margin-top: 0; border-top: 0; }
.bb-btn { padding: 9px 14px; font-size: .86rem; }
.bb-editor-links { gap: 8px; }

/* v1.4.4: orphan separator on small screens, FAQ chevron room */
.bb-taxa .bb-sep:first-child { display: none; }
.bb-sci .bb-taxa { display: inline; }
.bb-q summary { padding-right: 48px !important; }
@media (max-width: 640px) { .bb-taxa { display: block; margin-top: 4px; } .bb-taxa .bb-sep:first-child { display: none; } }

@media (max-width: 640px) { .bb-byline { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; } .bb-byline .bb-sep { display: none; } }

/* ---------- v1.4.5: tables on phones — troubleshooting table becomes cards, seasonal table stacks ---------- */
@media (max-width: 640px) {
	.bb-body .bb-trouble, .bb-body .bb-trouble tbody, .bb-body .bb-trouble tr, .bb-body .bb-trouble td { display: block; width: 100%; box-sizing: border-box; }
	.bb-body .bb-trouble thead { display: none; }
	.bb-body .bb-trouble { border: 0; border-spacing: 0; }
	.bb-body .bb-trouble tr { border: 1px solid var(--bb-line); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; background: #fff; }
	.bb-body .bb-trouble td { border: 0 !important; padding: 6px 0 !important; width: auto !important; }
	.bb-body .bb-trouble td::before { display: block; font-family: var(--bb-sans); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bb-muted); margin-bottom: 2px; }
	.bb-body .bb-trouble td:nth-child(1)::before { content: "What you see"; }
	.bb-body .bb-trouble td:nth-child(2)::before { content: "Likely cause"; }
	.bb-body .bb-trouble td:nth-child(3)::before { content: "What to do"; }
	.bb-body .bb-trouble td:nth-child(1) { font-weight: 700; color: var(--bb-ink); }
	.bb-body .bb-cal th { width: 90px; font-size: .85rem; }
	.bb-body .bb-cal td { font-size: .92rem; }
	.bb-body .bb-table { font-size: .9rem; }
}
