/* Legumes Biologiques : habillage naturel et chaleureux (surcharge du theme Greenhouse) */
:root {
  --lb-creme: #f7f2e8;
  --lb-papier: #fffdf8;
  --lb-sauge: #6f8f62;
  --lb-foret: #2f4a36;
  --lb-terre: #b8643c;
  --lb-texte: #2d2b26;
  --lb-gris: #7a766b;
  --lb-trait: #e6dfcf;
  --lb-serif: "Lora", Georgia, "Times New Roman", serif;
  --lb-sans: "Nunito Sans", "Montserrat", system-ui, sans-serif;
}

body {
  background: var(--lb-creme);
  color: var(--lb-texte);
  font-family: var(--lb-sans);
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--lb-terre); transition: color .2s; }
a:hover { color: var(--lb-foret); }

/* ---- En-tete ---- */
#header {
  background: var(--lb-papier);
  border-bottom: 1px solid var(--lb-trait);
  box-shadow: 0 2px 14px rgba(47, 74, 54, .06);
}
#header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  width: auto;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px;
  box-sizing: border-box;
}
#header .logo, #header .main-nav { float: none; width: auto; margin: 0; padding: 0; }
#header .clear { display: none; }
.main-nav ul { margin: 0; }
.main-nav ul li { margin: 0; }
#header .logo h1 {
  font-family: var(--lb-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}
#header .logo h1 a { color: var(--lb-foret); }
#header .logo p {
  font-family: var(--lb-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--lb-sauge);
  margin: 2px 0 0;
}
.main-nav ul li a {
  font-family: var(--lb-sans);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: .01em;
  color: var(--lb-foret);
  padding: 8px 8px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item > a,
.main-nav ul li.current_page_item > a,
.main-nav ul li.current-menu-ancestor > a {
  background: var(--lb-sauge);
  color: #fff !important;
}
.main-nav ul ul {
  background: var(--lb-papier);
  border: 1px solid var(--lb-trait);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(47, 74, 54, .14);
  padding: 8px;
  overflow: hidden;
}
.main-nav ul ul li a { border-radius: 8px; white-space: nowrap; }

/* ---- Liste d'articles : cartes ---- */
.blog-post-repeat {
  background: var(--lb-papier);
  border: 1px solid var(--lb-trait);
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(47, 74, 54, .07);
  overflow: hidden;
  margin-bottom: 28px;
  transition: transform .2s, box-shadow .2s;
}
.blog-post-repeat:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(47, 74, 54, .12); }
.blog-post-repeat .entry-header { padding: 0; }
.blog-post-repeat .post-thumb { order: -1; margin: 0; }
.blog-post-repeat .post-thumb img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.blog-post-repeat .entry-header { display: flex; flex-direction: column; }
.blog-post-repeat .entry-title { padding: 22px 28px 0; margin: 0; }
.blog-post-repeat .postmeta { padding: 6px 28px 0; }
.blog-post-repeat .entry-summary { padding: 8px 28px 28px; }
.entry-title, .entry-title a {
  font-family: var(--lb-serif);
  font-weight: 700;
  color: var(--lb-foret);
  line-height: 1.25;
}
.blog-post-repeat .entry-title { font-size: 26px; }
.blog-post-repeat .entry-title a:hover { color: var(--lb-terre); }
.postmeta, .postmeta a {
  font-size: 13px;
  color: var(--lb-gris);
}
.postmeta a:hover { color: var(--lb-terre); }
.read-more a {
  display: inline-block;
  background: var(--lb-terre);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 999px;
  transition: background .2s;
}
.read-more a:hover { background: var(--lb-foret); color: #fff; }

/* ---- Article ---- */
.single-post .entry-title {
  font-family: var(--lb-serif);
  font-size: 38px;
  color: var(--lb-foret);
  margin-bottom: 10px;
}
.single-post .post-thumb img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  border-radius: 16px;
}
.single-post .entry-content { font-size: 18px; line-height: 1.8; }
.single-post .entry-content h2,
.single-post .entry-content h3 {
  font-family: var(--lb-serif);
  color: var(--lb-foret);
  line-height: 1.3;
}
.single-post .entry-content h2 {
  font-size: 28px;
  margin-top: 1.8em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lb-trait);
}
.single-post .entry-content h3 { font-size: 22px; color: var(--lb-sauge); }
.single-post .entry-content ul li::marker,
.single-post .entry-content ol li::marker { color: var(--lb-terre); }
.single-post .entry-content blockquote {
  border-left: 4px solid var(--lb-sauge);
  background: var(--lb-papier);
  padding: 14px 20px;
  border-radius: 0 12px 12px 0;
  font-family: var(--lb-serif);
  font-style: italic;
}

/* ---- Colonne laterale ---- */
#sidebar .widget {
  background: var(--lb-papier);
  border: 1px solid var(--lb-trait);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}
#sidebar .widget_block:not(.widget_search) { display: none; }
#sidebar h2, #sidebar h3, #sidebar .wp-block-search__label {
  font-family: var(--lb-serif);
  color: var(--lb-foret);
  font-size: 18px;
}
.wp-block-search__inside-wrapper { display: flex; gap: 8px; align-items: center; }
.wp-block-search__input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 1px solid var(--lb-trait);
  border-radius: 999px;
  padding: 9px 16px;
  background: #fff;
}
.wp-block-search__button {
  background: var(--lb-sauge);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  margin: 0;
  flex: none;
  font-weight: 700;
  cursor: pointer;
}
.wp-block-search__button:hover { background: var(--lb-foret); }

/* ---- Pied de page ---- */
.copyright-wrapper { background: var(--lb-foret); color: #dfe8d9; }
.copyright-wrapper a { color: #fff; }

/* ---- Mobile ---- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  #header .logo h1 { font-size: 24px; }
  .blog-post-repeat .post-thumb img { height: 210px; }
  .blog-post-repeat .entry-title { font-size: 22px; padding: 18px 20px 0; }
  .blog-post-repeat .postmeta, .blog-post-repeat .entry-summary { padding-left: 20px; padding-right: 20px; }
  .single-post .entry-title { font-size: 28px; }
}
