/* htr-dplus-soft-blend v1 — D+ Soft Blend (between D & D2) */
body.htr-template-dplus {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(220, 238, 234, 0.55) 0%, transparent 42%),
    #e7ebea !important;
}

body.htr-template-dplus #page,
body.htr-template-dplus .site-content,
body.htr-template-dplus #primary,
body.htr-template-dplus #main {
  background: transparent !important;
}

body.htr-template-dplus .htr-nav,
body.htr-template-dplus .htr-nav.htr-site-nav {
  background: #fcfbf8 !important;
}

/* Content island */
body.htr-template-dplus .htr-single-wrap #main,
body.htr-template-dplus article.htr-single-post {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

body.htr-template-dplus article.htr-single-post.htr-editorial {
  background: #fff !important;
  border: 1px solid rgba(221, 229, 227, 0.9);
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(15, 100, 99, 0.09);
  padding: 1.35rem 1.5rem 2rem !important;
  margin-bottom: 1.5rem;
}

body.htr-template-dplus .htr-split-hero {
  margin: 0.5rem auto 1.25rem !important;
  gap: 2rem !important;
  padding: 0 !important;
  max-width: none !important;
}

body.htr-template-dplus .htr-split-image-wrap {
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(26, 36, 34, 0.08) !important;
}

body.htr-template-dplus .htr-post-title-editorial {
  letter-spacing: -0.025em;
  font-weight: 750;
}

body.htr-template-dplus .htr-post-body-container {
  grid-template-columns: 64px minmax(0, 1fr) !important;
  max-width: none !important;
  padding: 0 !important;
  gap: 1.25rem !important;
}

/* Best-first-step action bar */
body.htr-template-dplus .htr-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  background: #164846;
  color: #fff;
  border-radius: 14px;
  padding: 0.9rem 1.05rem;
  margin: 0 0 1.25rem;
}

body.htr-template-dplus .htr-action-bar__badge {
  background: #e0b12a;
  color: #1a1a18;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
}

body.htr-template-dplus .htr-action-bar__spec {
  flex: 1;
  min-width: 12rem;
  font-size: 0.9rem;
  opacity: 0.95;
}

body.htr-template-dplus .htr-action-bar__spec strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.15rem;
}

body.htr-template-dplus .htr-action-bar__go {
  background: #f0c14b;
  color: #1a1a18 !important;
  font-weight: 800;
  text-decoration: none !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}

body.htr-template-dplus #Ways_to_deter_rabbits_from_the_vegetable_garden,
body.htr-template-dplus .htr-post-content h2,
body.htr-template-dplus .htr-post-content h3 {
  scroll-margin-top: 96px;
}

body.htr-template-dplus .htr-action-bar__go:hover {
  background: #e0b12a;
  color: #1a1a18 !important;
}

/* Filled interim slots (swap to AdSense later) */
body.htr-template-dplus .htr-fill {
  margin: 1.35rem 0;
  border: 1px solid #d7e5e1;
  border-radius: 16px;
  background: linear-gradient(165deg, #f7fbfa 0%, #eef6f3 100%);
  box-shadow: 0 6px 18px rgba(15, 100, 99, 0.04);
  padding: 1rem 1.15rem;
}

body.htr-template-dplus .htr-fill--tip {
  min-height: 0;
  padding: 1.25rem 1.35rem;
}

body.htr-template-dplus .htr-fill__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f7a76;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d5e4e1;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  margin-bottom: 0.45rem;
}

body.htr-template-dplus .htr-fill__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d8a5e;
  opacity: 0.7;
}

body.htr-template-dplus .htr-fill__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1f3d3a;
}

body.htr-template-dplus .htr-fill__hint {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6a7c78;
}

body.htr-template-dplus .htr-fill__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

body.htr-template-dplus .htr-fill__chips a {
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0a4a49 !important;
  background: #fff;
  border: 1px solid #cfe0dc;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

body.htr-template-dplus .htr-fill__chips a:hover {
  border-color: #0f6463;
}

/* Kit polish */
body.htr-template-dplus .htr-quick {
  border-radius: 14px !important;
}

body.htr-template-dplus .htr-decide {
  background: #f8fbfa !important;
  border-radius: 0 14px 14px 0 !important;
}

body.htr-template-dplus .htr-cta {
  border-radius: 14px !important;
}

body.htr-template-dplus .htr-cta__btn {
  border-radius: 999px !important;
}

body.htr-template-dplus #ez-toc-container,
body.htr-template-dplus .ez-toc-v2_0,
body.htr-template-dplus div.ez-toc {
  background: #f6faf8 !important;
  border: 1px solid #d5e5e0 !important;
  border-left: 4px solid #2d8a5e !important;
  border-radius: 14px !important;
}

body.htr-template-dplus .wp-block-table,
body.htr-template-dplus .htr-fit-table {
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 782px) {
  body.htr-template-dplus article.htr-single-post.htr-editorial {
    border-radius: 16px;
    padding: 1rem 0.95rem 1.5rem !important;
  }
  body.htr-template-dplus .htr-post-body-container {
    grid-template-columns: 1fr !important;
  }
}
