/*
Theme Name: RDR Seeds Modern Botanical Utility Live v27
Theme URI: https://rdrseeds.com/
Description: Astra child theme for the RDR Seeds Modern Botanical Utility rebrand.
Author: RDR Seeds
Template: astra
Version: 1.0.26
Text Domain: rdr-modern-botanical
*/

:root {
  --rdr-paper: #fbfaf5;
  --rdr-surface: #fffdf8;
  --rdr-quiet: #eef4ea;
  --rdr-ink: #223126;
  --rdr-muted: #657469;
  --rdr-leaf: #315f43;
  --rdr-leaf-2: #54785b;
  --rdr-clay: #b86e52;
  --rdr-ochre: #c69b3e;
  --rdr-line: #d9ded4;
  --rdr-shadow: 0 18px 40px rgba(34, 49, 38, 0.08);
  --rdr-radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.rdr-site,
body.rdr-site.ast-separate-container,
body.rdr-site.ast-page-builder-template {
  background: var(--rdr-paper) !important;
  color: var(--rdr-ink) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

.rdr-site a {
  color: inherit;
}

.rdr-site img {
  display: block;
  max-width: 100%;
  height: auto;
}

.rdr-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rdr-line);
  background: rgba(251, 250, 245, 0.95);
  backdrop-filter: blur(10px);
}

.rdr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  color: var(--rdr-ink);
  text-decoration: none;
}

.rdr-brand-logo {
  width: 58px;
  height: 48px;
  object-fit: contain;
}

.rdr-brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1;
}

.rdr-brand-sub {
  display: block;
  color: var(--rdr-muted);
  font-size: 0.76rem;
}

.rdr-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.55rem, 1.4vw, 1.15rem);
  color: #405144;
  font-size: 0.92rem;
}

.rdr-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.rdr-nav a:hover {
  color: var(--rdr-leaf);
}

.rdr-nav-cta {
  border: 1px solid var(--rdr-clay);
  border-radius: 999px;
  background: var(--rdr-clay);
  box-shadow: 0 8px 18px rgba(184, 110, 82, 0.2);
  color: #fff !important;
  font-weight: 750;
  padding: 0.6rem 0.95rem;
}

.rdr-nav-cta:hover {
  border-color: #9f5d46;
  background: #9f5d46;
  color: #fff !important;
}

.rdr-main {
  background: var(--rdr-paper) !important;
  color: var(--rdr-ink) !important;
  overflow: hidden;
}

.rdr-section {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}

.rdr-section-tight {
  padding-top: clamp(2.2rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.2rem, 5vw, 4.5rem);
}

.rdr-section-quiet {
  max-width: none;
  background: var(--rdr-quiet);
}

.rdr-section-quiet > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.rdr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  color: var(--rdr-ink) !important;
}

.rdr-home-hero {
  min-height: min(760px, calc(100vh - 76px));
}

.rdr-kicker {
  color: var(--rdr-leaf) !important;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rdr-site h1,
.rdr-site h2,
.rdr-site h3 {
  margin: 0;
  color: var(--rdr-ink) !important;
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: 0;
  font-variant-ligatures: no-common-ligatures;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
}

.rdr-site h1,
.rdr-site h2 {
  font-family: Constantia, "Palatino Linotype", Palatino, Georgia, serif;
}

.rdr-site h1 {
  max-width: 13ch;
  margin-top: 0.35rem;
  font-size: clamp(2.7rem, 5.65vw, 5.3rem);
}

.rdr-site h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.rdr-site h3 {
  font-size: 1.05rem;
}

.rdr-copy {
  max-width: 68ch;
  margin-top: 1.1rem;
  color: var(--rdr-muted) !important;
  font-size: 1.05rem;
}

.rdr-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.rdr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.05rem;
  border: 1px solid var(--rdr-leaf);
  border-radius: 999px;
  background: var(--rdr-leaf);
  color: #fff !important;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.rdr-button:hover {
  color: #fff;
  background: #254a34;
}

.rdr-button-secondary {
  background: transparent;
  color: var(--rdr-leaf) !important;
}

.rdr-button-secondary:hover {
  color: #fff;
}

.rdr-button-full {
  width: 100%;
}

.rdr-hero-image {
  position: relative;
  margin: 0;
}

.rdr-hero-image img,
.rdr-guide-thumb img,
.rdr-category-card img {
  width: 100%;
  object-fit: cover;
}

.rdr-hero-image img {
  aspect-ratio: 4 / 5;
  border-radius: var(--rdr-radius);
  box-shadow: var(--rdr-shadow);
}

.rdr-guide-hub-hero .rdr-hero-image img,
.rdr-guide-hero .rdr-hero-image img {
  aspect-ratio: 5 / 4;
}

.rdr-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.rdr-text-link {
  color: var(--rdr-leaf);
  font-weight: 750;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.rdr-grid {
  display: grid;
  gap: 1rem;
}

.rdr-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rdr-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rdr-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rdr-card {
  border: 1px solid var(--rdr-line);
  border-radius: var(--rdr-radius);
  background: var(--rdr-surface);
  box-shadow: 0 1px 0 rgba(34, 49, 38, 0.02);
}

.rdr-category-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.7rem;
  color: var(--rdr-ink);
  font-weight: 750;
  text-decoration: none;
}

.rdr-category-card img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}

.rdr-guide-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  width: min(760px, 100%);
  margin-top: 1.4rem;
  padding: 0.55rem;
  border: 1px solid var(--rdr-line);
  border-radius: var(--rdr-radius);
  background: var(--rdr-surface);
}

.rdr-guide-search input {
  min-height: 44px;
  min-width: 0;
  padding: 0 0.75rem;
  border: 0;
  background: transparent;
  color: var(--rdr-ink);
  font: inherit;
}

.rdr-guide-search button {
  border: 0;
}

.rdr-home-search,
.rdr-search-page-form {
  margin-top: 0;
}

.rdr-live-search-status {
  min-height: 1.25rem;
  margin: 0.65rem 0 0;
  color: var(--rdr-muted);
  font-size: 0.9rem;
}

.rdr-live-search-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--rdr-line);
  border-radius: var(--rdr-radius);
  background: var(--rdr-surface);
  color: var(--rdr-muted);
}

.rdr-az-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
}

.rdr-az-nav a,
.rdr-az-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  min-height: 2rem;
  border: 1px solid var(--rdr-line);
  border-radius: 999px;
  background: var(--rdr-surface);
  color: var(--rdr-leaf);
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.rdr-az-nav span {
  color: #a0aa9f;
  background: transparent;
}

.rdr-az-nav a:hover {
  background: var(--rdr-leaf);
  color: #fff;
}

.rdr-guide-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

.rdr-guide-more-button[hidden] {
  display: none !important;
}

.rdr-owner-band {
  align-items: center;
}

.rdr-owner-images {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: end;
  gap: 1rem;
}

.rdr-owner-images img,
.rdr-portrait {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.rdr-about-portraits .rdr-card {
  padding: 1rem;
}

.rdr-about-portraits h2 {
  margin-top: 0.8rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.15rem;
}

.rdr-guide-card {
  display: grid;
  overflow: hidden;
}

.rdr-guide-card[hidden] {
  display: none !important;
}

.rdr-guide-card h2,
.rdr-guide-card h3 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.25;
}

.rdr-guide-card h2 a,
.rdr-guide-card h3 a {
  text-decoration: none;
}

.rdr-guide-card p {
  margin: 0.55rem 0 0;
  color: var(--rdr-muted);
  font-size: 0.92rem;
}

.rdr-guide-card > div {
  padding: 1rem;
}

.rdr-guide-thumb {
  display: block;
  min-height: 180px;
  background: var(--rdr-quiet);
  color: var(--rdr-muted);
  text-decoration: none;
}

.rdr-guide-thumb img {
  aspect-ratio: 4 / 3;
}

.rdr-guide-thumb span {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 1rem;
  text-align: center;
}

.rdr-guide-layout {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 760px);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.rdr-guide-sidebar {
  min-width: 0;
}

.rdr-sticky-card {
  position: sticky;
  top: 96px;
  padding: 1rem;
}

.rdr-sticky-card p {
  color: var(--rdr-muted);
}

.rdr-guide-content {
  min-width: 0;
}

.rdr-guide-content h2 {
  max-width: none;
  margin-top: 2.25rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.rdr-guide-content h2:first-of-type {
  white-space: nowrap;
}

.rdr-guide-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.rdr-guide-content p,
.rdr-guide-content li {
  color: #344439;
  font-size: 1.02rem;
}

.rdr-guide-content a {
  color: var(--rdr-leaf);
  font-weight: 700;
}

.rdr-guide-content table {
  width: 100%;
  margin: 1rem 0 1.4rem;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--rdr-line);
  border-radius: var(--rdr-radius);
  background: var(--rdr-surface);
  font-size: 0.95rem;
}

.rdr-guide-content th,
.rdr-guide-content td {
  padding: 0.82rem;
  border-bottom: 1px solid var(--rdr-line);
  vertical-align: top;
}

.rdr-guide-content th {
  background: var(--rdr-quiet);
  color: var(--rdr-ink);
  text-align: left;
}

.rdr-content-panel {
  max-width: 820px;
  color: #344439;
}

.rdr-content-panel h2 {
  margin-top: 1.5rem;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.navigation.pagination {
  margin-top: 2rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--rdr-line);
  border-radius: 999px;
  background: var(--rdr-surface);
  text-decoration: none;
}

.page-numbers.current {
  background: var(--rdr-leaf);
  color: #fff;
}

.rdr-site-footer {
  border-top: 1px solid var(--rdr-line);
  background: #243428;
  color: #f7f3e8;
}

.rdr-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.7fr) minmax(180px, 0.8fr);
  gap: 2rem;
  max-width: 1260px;
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 4vw, 3rem);
}

.rdr-footer-logo {
  width: 74px;
  margin-bottom: 0.8rem;
}

.rdr-site-footer p {
  max-width: 42ch;
  margin: 0 0 0.65rem;
  color: #dfe8dc;
}

.rdr-site-footer nav {
  display: grid;
  gap: 0.45rem;
}

.rdr-site-footer a {
  color: #fff;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

@media (max-width: 1020px) {
  .rdr-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .rdr-site-header {
    align-items: flex-start;
    gap: 0.85rem;
  }

  .rdr-nav {
    font-size: 0.86rem;
  }

  .rdr-hero,
  .rdr-grid-2,
  .rdr-grid-3,
  .rdr-grid-5,
  .rdr-guide-layout,
  .rdr-footer-grid {
    grid-template-columns: 1fr;
  }

  .rdr-site h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
    max-width: 11ch;
  }

  .rdr-site h2 {
    max-width: 12ch;
  }

  .rdr-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .rdr-home-hero {
    min-height: 0;
  }

  .rdr-hero-image img,
  .rdr-guide-hub-hero .rdr-hero-image img,
  .rdr-guide-hero .rdr-hero-image img {
    aspect-ratio: 16 / 10;
    max-height: 340px;
  }

  .rdr-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rdr-category-card {
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .rdr-category-card img {
    aspect-ratio: 5 / 3;
  }

  .rdr-guide-search {
    grid-template-columns: 1fr;
    padding: 0.45rem;
  }

  .rdr-sticky-card {
    position: static;
  }

  .rdr-section-heading {
    display: grid;
  }

  .rdr-guide-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: normal;
  }

  .rdr-guide-content h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
    line-height: 1.12;
  }
}

@media (max-width: 620px) {
  .rdr-site-header {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.65rem 1rem;
  }

  .rdr-brand {
    min-width: 0;
  }

  .rdr-brand-logo {
    width: 46px;
    height: 38px;
  }

  .rdr-brand-name {
    font-size: 1.08rem;
  }

  .rdr-brand-sub {
    font-size: 0.7rem;
  }

  .rdr-nav {
    width: 100%;
    overflow: visible;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem 0.7rem;
    font-size: 0.83rem;
  }

  .rdr-nav a {
    padding: 0.22rem 0;
  }

  .rdr-nav-cta {
    flex: 1 1 100%;
    margin-top: 0.15rem;
    padding: 0.55rem 0.9rem !important;
    text-align: center;
  }

  .rdr-owner-images {
    grid-template-columns: 1fr;
  }

  .rdr-owner-images img,
  .rdr-portrait {
    max-height: 260px;
  }

  .rdr-action-row {
    display: grid;
  }

  .rdr-button {
    max-width: 100%;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .rdr-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rdr-category-card span {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .rdr-guide-card > div {
    padding: 0.85rem;
  }

  .rdr-guide-card p {
    font-size: 0.88rem;
  }

  .rdr-az-nav {
    gap: 0.28rem;
  }

  .rdr-az-nav a,
  .rdr-az-nav span {
    width: 1.75rem;
    min-height: 1.75rem;
    font-size: 0.76rem;
  }

  .rdr-guide-thumb {
    min-height: 140px;
  }

  .rdr-guide-thumb span {
    min-height: 140px;
  }

  .rdr-footer-grid {
    gap: 1.35rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
