/* the pages about topics and plants (tools/seo): plain, quick, in the look of the presentation page */
:root { --green: #2e6b45; --green2: #3f8a5a; --leaf: #e6f1e8; --cream: #f8f6f1; --ink: #1d2a22; --text: #3b463f; --muted: #59635c; --line: #e1ddd2; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--text); font: 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
h1, h2 { font-family: Fraunces, Georgia, serif; color: var(--ink); line-height: 1.14; letter-spacing: -.015em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 18px; }
h2 { font-size: clamp(24px, 3vw, 32px); margin: 46px 0 12px; scroll-margin-top: 84px; }
section { scroll-margin-top: 70px; }
.btn { display: inline-flex; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--green); color: #fff; white-space: nowrap; }
.btn:hover { background: #255a39; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }

.crumbs { font-size: 14px; color: var(--muted); padding: 22px 0 14px; }
.crumbs a { color: var(--muted); }
.lead { font-size: 20px; line-height: 1.6; max-width: 42em; margin: 0 0 24px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 34px; }
.pic { margin: 0; background: #fff; padding: 10px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(29, 42, 34, .12); }
.pic img { border-radius: 9px; width: 100%; max-height: 560px; object-fit: cover; object-position: 50% 30%; }
.pic.whole img { object-fit: contain; background: #fff; }
.text { max-width: 760px; }
.text ul { padding-left: 22px; }
.text li { margin: 6px 0; }
.text li::marker { color: var(--green2); }
.faq details { border-bottom: 1px solid var(--line); padding: 15px 0; max-width: 760px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq p { margin: 8px 0 0; }
.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.more a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; font-weight: 600; }
.more a:hover { border-color: var(--green2); }
.more small { display: block; font-weight: 400; color: var(--muted); font-style: italic; }
.box { background: linear-gradient(135deg, #2e6b45, #3f8a5a); color: #e8f2ea; border-radius: 20px; padding: 34px; margin: 56px 0 0; }
.box h2 { color: #fff; margin: 0 0 8px; }
.box .btn { background: #fff; color: var(--green); margin-top: 10px; }
:root { --ft-w: 1120px; }
/* plants */
.plant { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.plant .side { position: sticky; top: 90px; display: grid; gap: 18px; }
.shot, .scale { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.shot { padding: 10px; }
.shot img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 9px; }
.shot figcaption { font-size: 12.5px; line-height: 1.5; color: var(--muted); padding: 8px 4px 0; overflow-wrap: anywhere; }
.shot figcaption a { color: inherit; }
.scale { padding: 18px; }
.scale svg { max-height: 220px; margin: 0 auto; }
.plants a { padding: 10px 10px 12px; overflow: hidden; }
.plants img, .nopic { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; background: var(--leaf); margin: 0 0 10px; }
.lat { font-style: italic; color: var(--muted); font-size: 20px; margin: -10px 0 18px; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15.5px; }
th { font-weight: 500; color: var(--muted); width: 42%; padding-right: 14px; }
td { color: var(--ink); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin: 10px 0 0; }
.months span { font-size: 11px; text-align: center; padding: 7px 0; border-radius: 5px; background: #efece3; color: var(--muted); }
.months .on { background: var(--c); color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 20px; }
.tags span { background: var(--leaf); color: var(--green); border-radius: 99px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.tags .warn { background: #fbe9e2; color: #a8431a; }
.az { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.az a { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; text-decoration: none; font-weight: 600; font-size: 15px; }
.note { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .plant { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
  .plant .side { display: contents; }
  .shot { order: -1; }
  .shot img { max-height: 60vh; }
  .plants { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plants a { font-size: 15px; line-height: 1.35; overflow-wrap: break-word; }
  .wrap { padding: 0 16px; }
}

/* the garden month by month (months.mjs) */
.mnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 8px; }
.mnav a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-size: 14px; color: var(--ink); }
.mnav a:hover { border-color: var(--green2); }
.mnav a[aria-current] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.tasks { list-style: none; padding: 0; display: grid; gap: 8px; }
.tasks li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.tasks small { display: block; margin-top: 4px; color: var(--muted); }
.also { color: var(--muted); font-size: 15px; line-height: 1.7; }
.months-list small { font-style: normal; margin-top: 4px; }
/* the header with the menu, the same on every page of the site (foot.mjs header()); --ft-w: the page's width.
   On the presentation page it lies over the picture and gets its background once the page moves (.on),
   elsewhere it has it always (.solid). */
.hd { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.hd.on, .hd.solid { background: rgba(248, 246, 241, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(225, 221, 210, .7); }
.hd-in { max-width: var(--ft-w, 1180px); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 14px; height: 70px; }
.hd-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: #1d2a22; font: 650 20px/1.2 Fraunces, Georgia, serif; letter-spacing: -.015em; white-space: nowrap; }
.hd-brand img { width: 30px; height: 30px; display: block; }
.hd-nav { display: flex; gap: 2px; margin-right: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hd.on .hd-nav, .hd.solid .hd-nav { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hd-nav a { color: #3b463f; text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.6; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.hd-nav a:hover, .hd-nav a[aria-current] { color: #2e6b45; background: #e6f1e8; }
.hd-btn { display: inline-flex; align-items: center; justify-content: center; gap: .28em; padding: 9px 18px; border-radius: 999px; font: 600 15px/1.3 Inter, system-ui, sans-serif; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; background: #2e6b45; color: #fff; box-shadow: 0 6px 18px rgba(46, 107, 69, .28); transition: background .15s, transform .15s, border-color .15s; }
.hd-btn:hover { background: #255a39; color: #fff; transform: translateY(-1px); }
.hd-btn.ghost { background: rgba(255, 255, 255, .9); color: #1d2a22; border-color: #e1ddd2; box-shadow: none; }
.hd-btn.ghost:hover { background: #fff; color: #1d2a22; border-color: #3f8a5a; }
.hd-menu { display: none; }
.hd-menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); cursor: pointer; }
.hd-menu summary::-webkit-details-marker { display: none; }
.hd-menu summary:focus-visible { outline: 2px solid #2e6b45; outline-offset: 2px; }
.hd-menu i, .hd-menu i::before, .hd-menu i::after { content: ''; display: block; width: 20px; height: 2px; border-radius: 2px; background: #1d2a22; transition: transform .25s, background .25s; }
.hd-menu i { position: relative; }
.hd-menu i::before, .hd-menu i::after { position: absolute; left: 0; }
.hd-menu i::before { transform: translateY(-6px); }
.hd-menu i::after { transform: translateY(6px); }
.hd-menu[open] i { background: transparent; }
.hd-menu[open] i::before { transform: rotate(45deg); }
.hd-menu[open] i::after { transform: rotate(-45deg); }
.hd-panel { position: absolute; top: 100%; right: 12px; width: min(360px, calc(100vw - 24px)); max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow: auto; margin-top: 8px; padding: 10px; background: #fff; border: 1px solid #e1ddd2; border-radius: 18px; box-shadow: 0 24px 60px rgba(29, 42, 34, .24); display: grid; animation: hd-in .22s ease-out; }
.hd-panel a:not(.hd-btn) { padding: 12px 14px; border-radius: 10px; color: #1d2a22; text-decoration: none; font-weight: 500; font-size: 17px; }
.hd-panel a:not(.hd-btn):hover, .hd-panel a[aria-current] { background: #e6f1e8; color: #2e6b45; }
.hd-panel .hd-login { border-top: 1px solid #e1ddd2; border-radius: 0 0 10px 10px; margin-top: 6px; }
.hd-panel .hd-btn { margin: 8px 4px 4px; }
@keyframes hd-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hd-panel { animation: none; } }
@media (max-width: 1140px) { .hd-nav { display: none; } .hd-menu { display: block; } }
@media (max-width: 600px) {
  .hd-in { padding: 0 16px; gap: 10px; height: 64px; }
  .hd-brand { font-size: 17px; gap: 8px; }
  .hd-in > .hd-btn.ghost, .hd-long { display: none; }
  .hd-in > .hd-btn { padding: 9px 16px; font-size: 14.5px; }
}
@media print { .hd { display: none !important; } }
/* the footer, the same on every page of the site (foot.mjs); --ft-w: as wide as the page's own header */
.ft { --ft-bg: #1b3326; --ft-text: #c3d4c8; margin-top: 64px; color: var(--ft-text); font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.ft *, .ft *::before { box-sizing: border-box; }
.ft p, .ft li { color: inherit; }
.ft-hills { display: block; width: 100%; height: 96px; margin-bottom: -2px; }
.ft-body { background: var(--ft-bg); position: relative; }
.ft-in { max-width: var(--ft-w, 1180px); margin: 0 auto; padding: 34px 24px 0; }
.ft-cols { display: grid; grid-template-columns: 1.6fr .75fr 1.1fr 2.15fr .95fr; gap: 36px 28px; }
.ft a { color: inherit; text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.ft a:focus-visible { outline: 2px solid #9fd0ac; outline-offset: 3px; border-radius: 4px; }
.ft-brand a.ft-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 650 21px/1.2 Fraunces, Georgia, serif; letter-spacing: -.01em; text-decoration: none; }
.ft-brand img { display: block; border-radius: 8px; }
.ft-brand p { margin: 14px 0 20px; max-width: 30ch; line-height: 1.6; }
.ft-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-acts a { padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none !important; border: 1.5px solid rgba(255, 255, 255, .28); color: #fff; }
.ft-acts a:hover { border-color: rgba(255, 255, 255, .7); }
.ft-acts a.go { background: #fff; border-color: #fff; color: #245637; }
.ft-acts a.go:hover { background: #e3f0e6; color: #1b3326; }
.ft-cols b { display: block; margin: 3px 0 12px; color: #fff; font: 650 16.5px/1.3 Fraunces, Georgia, serif; }
.ft-cols ul { list-style: none; margin: 0; padding: 0; }
.ft-cols li { margin: 0; padding: 0 0 7px; break-inside: avoid; }
.ft-plants ul { columns: 2; column-gap: 22px; }
.ft-cols li.all a { color: #9fd0ac; }
.ft-cols li.all a:hover { color: #fff; }
.ft-end { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 30px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #9db3a4; }
.ft-end span:first-child { margin-right: auto; }
@media (max-width: 1080px) { .ft-cols { grid-template-columns: .8fr 1.15fr 1.9fr 1fr; gap: 34px 28px; } .ft-brand { grid-column: 1 / -1; } .ft-brand p { max-width: 60ch; } }
@media (max-width: 760px) {
  .ft { margin-top: 44px; } .ft-hills { height: 78px; } .ft-in { padding: 26px 20px 0; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 30px 22px; } .ft-topics, .ft-plants { grid-column: 1 / -1; order: 1; } .ft-topics ul { columns: 2; column-gap: 22px; }
  .ft-cols li { padding-bottom: 9px; } .ft-end span:first-child { flex: 1 0 100%; }
}
@media print { .ft { display: none; } }
