 

.species-hero {
    position: relative;



    background:
      linear-gradient(
        90deg,
        rgba(5, 35, 34, .96) 0%, 
        rgba(5, 35, 34, .92) 35%,
        rgba(5, 35, 34, .82) 65%, 
        rgba(5, 35, 34, .74) 100%      

      ),
      url(../../images/greenfencethai/asset/ต้นสะเดา/bg-ใบสะเดา.webp); 
      

 

    background-size: cover;
    background-position:right center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.bg-text-hero {
    position: relative;

    background: rgba(255, 255, 255, .7);
    background: rgba(230, 255, 231, .5);
    
    border-radius: 18px;

    backdrop-filter: blur(10px);
    padding:20px;
    margin-top: 50px;
}

.species-hero-grid {
    padding-left: 20px;
    padding-right: 20px;
}

 
#spacing{
  scroll-margin-top:150px;
}
 

.definition-box {
  max-width: 900px;
  margin: auto;
}
.note-box{
  text-align: center;
  max-width: 900px;
  margin: auto;
}
.tip-box{
  text-align: center;
  max-width: 900px;
  margin: auto;
}
.quick-answer-box{
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.feature-grid-3col{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
 



.species-hero-content h1{
  color:#ffffff;
  text-shadow: 0 3px 18px rgb(0 0 0 / 100%);
}
.species-hero-content p {
    background-color: #092a1f;
    padding: 30px;
    border-radius: 10px;
    color: #ffffff;
}
.breadcrumb a {
  color:#ffffff;
}
.current-page {
  color:#ffffff;
}
.species-breadcrumb span:last-child {
  color:#ffffff;  
}


.detail-card div{
  padding: 34px;
  padding-top: 0px;
}


.internal-link-context{
    background: #e0e3e0;
    border-radius: 24px;
    margin-top: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: auto;
}
.internal-link-context-wrapper {
    padding-top: 20px;
}

/* overrides */
.detail-card p{
  padding: 34px;
  padding-top: 0px;
}

/**/
.compare-table thead th {
    padding: 15px 18px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    background: #f3f7f4;
    color: #26352b;
    border-bottom: 1px solid #dfe7e1;
    white-space: nowrap;
}

.compare-table td {
   
    text-align: left;
 
}/* Leaf-page accents: keep the shared cluster layout and typography. */
.neem-leaf-page .leaf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: #e7f2e9;
    color: #245c3c;
    font-size: 32px;
    line-height: 1;
}
.neem-leaf-page .species-quick-answer .answer-box {
    background: #edf6ee;
    border: 1px solid #c8dfcd;
    border-left: 5px solid #39784d;
}
.neem-leaf-page .cluster-toc {
    background: linear-gradient(120deg, #edf6ee, #faf6e9);
    border-color: #d4e3d5;
}
.neem-leaf-page .cluster-toc li::marker {
    color: #39784d;
}
.neem-leaf-page #dried-leaves,
.neem-leaf-page #leaf-problems {
    background: #fffcf3;
    border-color: #e8dfbf;
}
.neem-leaf-page #dried-leaves .leaf-icon,
.neem-leaf-page #leaf-problems .leaf-icon {
    background: #f5ebc9;
    color: #705514;
}
.neem-leaf-page #leaf-structure li::marker,
.neem-leaf-page #identification li::marker {
    color: #39784d;
}
.neem-leaf-page .cluster-table tbody tr:nth-child(even) td {
    background: #f2f7f1;
}
.neem-leaf-page .cluster-links > a {
    border-top: 4px solid #6a9772;
    background: #f3f8f2;
    transition: background-color .18s ease, box-shadow .18s ease;
}
.neem-leaf-page .cluster-links > a:hover {
    background: #e7f2e9;
    box-shadow: 0 6px 18px #234b3020;
}
.neem-leaf-page .cluster-reading a:focus-visible,
.neem-leaf-page summary:focus-visible {
    outline: 3px solid #39784d;
    outline-offset: 4px;
}
@media (max-width: 600px) {
    .neem-leaf-page .leaf-icon {
        width: 46px;
        height: 46px;
        font-size: 28px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .neem-leaf-page .cluster-links > a { transition: none; }
}


/* Distinct hero-note palette for this support topic. */
body.neem-leaf-page { --neem-note-bg: #edf7e8; --neem-note-ink: #315b38; --neem-note-accent: #8ab86a; --neem-note-radius: 8px 32px 32px 8px; }
