/*
Theme Name: TLG Plant Profile
Theme URI: https://thelittle.garden
Description: Child theme for The Little Garden plant profiles — readable plant pages with fact strip and editorial sections.
Author: The Little Garden
Template: twentytwentyfive
Version: 1.0.0
Text Domain: tlg-plant-profile
*/

:root {
  --tlg-ink: #1c2a1f;
  --tlg-muted: #5a6b5e;
  --tlg-leaf: #2f6b3a;
  --tlg-leaf-soft: #e8f2ea;
  --tlg-sand: #f4f0e8;
  --tlg-line: #d5ddd6;
  --tlg-max: 42rem;
}

body.single-tlg_plant {
  background:
    radial-gradient(circle at top right, rgba(47, 107, 58, 0.08), transparent 40%),
    linear-gradient(180deg, #f7f5f0 0%, #eef3ef 100%);
  color: var(--tlg-ink);
}

.tlg-plant-shell {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.tlg-plant-hero {
  margin-bottom: 2rem;
}

.tlg-plant-kicker {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tlg-leaf);
  font-weight: 600;
}

.tlg-plant-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-style: italic;
  font-weight: 650;
  color: var(--tlg-ink);
}

.tlg-plant-common {
  margin: 0;
  font-size: 1.15rem;
  color: var(--tlg-muted);
}

.tlg-fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
  margin: 1.75rem 0 2.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--tlg-line);
  border-radius: 1rem;
}

.tlg-fact {
  padding: 0.75rem 0.85rem;
  background: var(--tlg-leaf-soft);
  border-radius: 0.75rem;
}

.tlg-fact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tlg-muted);
  margin-bottom: 0.25rem;
}

.tlg-fact-value {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--tlg-ink);
}

.tlg-plant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

@media (min-width: 900px) {
  .tlg-plant-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(14rem, 0.8fr);
    align-items: start;
  }
}

.tlg-plant-content {
  max-width: var(--tlg-max);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--tlg-line);
  border-radius: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.tlg-plant-content section {
  margin: 0 0 2rem;
}

.tlg-plant-content section:last-child {
  margin-bottom: 0;
}

.tlg-plant-content h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  color: var(--tlg-leaf);
  border-bottom: 1px solid var(--tlg-line);
  padding-bottom: 0.4rem;
}

.tlg-plant-content p {
  margin: 0 0 1rem;
  line-height: 1.7;
  font-size: 1.05rem;
  color: var(--tlg-ink);
}

.tlg-plant-aside {
  position: sticky;
  top: 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--tlg-line);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.tlg-plant-aside h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tlg-muted);
}

.tlg-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tlg-aside-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--tlg-line);
  font-size: 0.95rem;
}

.tlg-aside-list li:last-child {
  border-bottom: 0;
}

.tlg-aside-list span:first-child {
  color: var(--tlg-muted);
}

.tlg-aside-list span:last-child {
  font-weight: 600;
  text-align: right;
  color: var(--tlg-ink);
}
