 .species-hero{
  position:relative;
  /* min-height:820px; */
/*   background:
    linear-gradient(
      90deg,
      rgba(247,244,239,.96) 0%,
      rgba(247,244,239,.84) 24%,
      rgba(247,244,239,.28) 46%,
      rgba(247,244,239,0) 64%
    ),
    url("../images/greenfencethai/asset/ไทรเกาหลี/bg-ไทรเกาหลี.jpg"); */


/*   background:linear-gradient(
    261deg, 
    rgba(247, 244, 239, .96) 0%, 
    rgba(247, 244, 239, .84) 5%, 
    rgba(247, 244, 239, .58) 46%, 
    rgba(247, 244, 239, 0.8) 100%), 
    url(../images/greenfencethai/asset/ไทรเกาหลี/bg-ไทรเกาหลี.jpg); */


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

 .species-hero{
  position:relative;
 
  background:
    linear-gradient(
    90deg,

      rgb(0 14 6 / 72%) 0%, 
      rgba(20, 32, 25, .45) 35%,
      rgba(20, 32, 25, .18) 65%, 
      rgba(20, 32, 25, .10) 100%

    ),
     url(../images/greenfencethai/asset/ต้นสะเดา/bg-ต้นสะเดา.webp); ;
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  overflow:hidden;
}


.bg-text-hero {
    position: relative;
     background: rgb(255 255 255);
    
    border-radius: 18px;

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

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


.size-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: right;
}


/* Mobile First */

/* มือถือ (Default) */
.size-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 28px;
}
/* Tablet */
@media (min-width:768px){
  .size-grid {
        grid-template-columns: repeat(2, 1fr);
  }
}

/* Laptop */
@media (min-width:1024px){
  .size-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop */
@media (min-width:1280px){
  .size-grid {
      grid-template-columns: repeat(3, 1fr);
  }
  }

/* Large Desktop */
@media (min-width:1536px){
  .size-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}



.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;
}
.species-breadcrumb span:last-child{
  color:#ffffff;
}

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

/**/
/* =====================================================
   PLANTING DISTANCE
===================================================== */

#planting-distance {
    padding: 80px 0;
}


/* ---------- Section Head ---------- */

#planting-distance .species-section-head {
    max-width: 900px;
    margin-bottom: 40px;
}

#planting-distance .species-section-head > p {
    margin: 18px 0 0;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4b5563;
}


/* ---------- Card Grid ---------- */

#planting-distance .species-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* ---------- Card ---------- */

#planting-distance .species-card {
    position: relative;
    padding: 30px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

#planting-distance .species-card h3 {
    margin: 0 0 14px;
    font-size: 1.3rem;
    line-height: 1.4;
    color: #1f5132;
}

#planting-distance .species-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.8;
}


/* ---------- Highlight distance ---------- */

#planting-distance .species-card h3::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #6f9b73;
}


/* ---------- Note ---------- */

#planting-distance .species-note {
    position: relative;
    margin-top: 30px;
    padding: 24px 28px 24px 32px;
    background: #f3f7f2;
    border: 1px solid #dbe8d9;
    border-left: 4px solid #5f8b63;
    border-radius: 12px;
}

#planting-distance .species-note p {
    margin: 0;
    color: #374151;
    line-height: 1.85;
}

#planting-distance .species-note strong {
    color: #1f5132;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    #planting-distance {
        padding: 64px 0;
    }

    #planting-distance .species-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    #planting-distance {
        padding: 52px 0;
    }

    #planting-distance .species-section-head {
        margin-bottom: 28px;
    }

    #planting-distance .species-section-head > p {
        font-size: 1rem;
        line-height: 1.75;
    }

    #planting-distance .species-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #planting-distance .species-card {
        padding: 24px 22px;
        border-radius: 14px;
    }

    #planting-distance .species-card h3 {
        font-size: 1.2rem;
    }

    #planting-distance .species-note {
        margin-top: 22px;
        padding: 20px 20px 20px 24px;
    }

}