 

.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: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;
 
}/* Scoped to the characteristics guide; shared cluster styles remain intact. */
body.yn-characteristics { background: #f6f8f3; }
.yn-characteristics .species-hero { background-image: linear-gradient(90deg,rgba(7,32,23,.94),rgba(7,32,23,.65) 58%,rgba(7,32,23,.2)),url(../../images/greenfencethai/asset/ต้นยางนา/bg-ลักษณะต้นยางนา.webp); }
.yn-characteristics .species-hero-grid { grid-template-columns: minmax(0,760px); padding: 24px 0 48px; }
.yn-characteristics .species-hero-content h1 { font-size: clamp(2rem,4.2vw,3.5rem); line-height: 1.35; text-wrap: balance; }
.yn-characteristics .species-hero-content p { background: transparent; padding: 0; max-width: 640px; line-height: 1.9; color: #edf4e9; }
.yn-characteristics .species-badge { background: #dce8c9; color: #183d2d; }
.yn-characteristics .species-quick-answer { padding: 48px 0 24px; background: transparent; }
.yn-characteristics .answer-box { max-width: 980px; padding: 32px; border: 1px solid #d9e3d3; border-left: 5px solid #728653; border-radius: 20px; background: #fff; text-align: left; box-shadow: 0 12px 32px #183d2d06; }
.yn-characteristics .answer-box h2 { text-align: left; margin-bottom: 16px; }
.yn-characteristics .cluster-reading { max-width: 1060px; }
.yn-characteristics .cluster-parent { padding: 20px 4px; margin-bottom: 12px; }
.yn-characteristics .cluster-toc { padding: 28px 32px; background: #eaf0e3; border-color: #d6e0ce; box-shadow: none; }
.yn-characteristics .cluster-toc ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 28px; margin: 0; padding-left: 20px; }
.yn-characteristics .cluster-toc li + li { margin-top: 0; }
.yn-characteristics .cluster-section { padding: 40px; margin-bottom: 28px; border-color: #e0e6da; box-shadow: 0 8px 28px #183d2d04; scroll-margin-top: 125px; }
.yn-characteristics .cluster-section h2 { text-align: left; margin: 10px 0 24px; font-size: clamp(1.5rem,2.8vw,2rem); line-height: 1.5; }
.yn-characteristics .cluster-section h3 { font-size: 1.16rem; line-height: 1.6; color: #1d4835; margin: 0 0 12px; }
.yn-characteristics .yn-eyebrow { display: block; text-align: center; color: #52653c; font-size: .86rem; font-weight: 700; letter-spacing: .02em; }
.yn-characteristics .yn-observation-intro { padding: 0 12px 30px; max-width: 820px; margin-inline: auto; }
.yn-characteristics .yn-observation-intro p { margin: 10px 0 0; }
.yn-characteristics .yn-observation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.yn-characteristics .yn-observation-card { border: 1px solid #dfe7d7; border-radius: 18px; padding: 24px; background: #f8faf5; }
.yn-characteristics .yn-step-number { display: block; color: #7b8d5a; font-size: 1.7rem; font-weight: 700; margin-bottom: 18px; }
.yn-characteristics .yn-observation-card p,.yn-characteristics .yn-mistake-grid p { margin: 0; }
.yn-characteristics .yn-observation-note { margin: 24px 0 0; padding: 22px 24px; background: #eff3e8; border-left: 4px solid #899b65; border-radius: 0 12px 12px 0; line-height: 1.9; color: #40533b; }
.yn-characteristics .yn-observation-note strong { display: block; margin-bottom: 6px; color: #254932; }
.yn-characteristics .cluster-table table { min-width: 0; }
.yn-characteristics .cluster-table thead th { background: #234c39; }
.yn-characteristics .cluster-table tbody th { width: 24%; background: #eef3e7; color: #294c37; }
.yn-characteristics .cluster-table td,.yn-characteristics .cluster-table th { padding: 18px 22px; overflow-wrap: anywhere; }
.yn-characteristics #photo-record { background: #183f2f; color: #f3f7ed; border-color: #183f2f; }
.yn-characteristics #photo-record h2,.yn-characteristics #photo-record h3 { color: #f3f7ed; }
.yn-characteristics #photo-record p,
.yn-characteristics #photo-record dt,
.yn-characteristics #photo-record dd,
.yn-characteristics #photo-record .yn-eyebrow { color: #edf4e7; }
.yn-characteristics .yn-photo-list { margin: 26px 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 32px; }
.yn-characteristics .yn-photo-list div { border-top: 1px solid #ffffff30; padding-top: 20px; }
.yn-characteristics .yn-photo-list dt { font-weight: 700; margin-bottom: 8px; }
.yn-characteristics .yn-photo-list dd { margin: 0; line-height: 1.85; color: #d3dfc6; }
.yn-characteristics .yn-record-example { padding: 24px; border-radius: 14px; background: #ffffff0d; }
.yn-characteristics .yn-record-example p { margin: 0; }
.yn-characteristics .yn-mistake-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.yn-characteristics .yn-mistake-grid article { border-top: 3px solid #dce5cf; padding-top: 20px; }
.yn-characteristics #identify li::marker { color: #56753b; font-weight: 700; }
.yn-characteristics .faq-list details { background: #fff; border: 1px solid #dfe7d7; box-shadow: none; }
.yn-characteristics .cluster-sources { border-top: 1px solid #dce4d5; padding: 28px 8px 40px; font-size: .9rem; }
.yn-characteristics .cluster-sources ul { columns: 2; column-gap: 36px; }
.yn-characteristics .cluster-sources li { break-inside: avoid; }
@media(max-width:800px) {
 .yn-characteristics .yn-observation-grid { grid-template-columns: 1fr; }
 .yn-characteristics .yn-observation-card { padding: 24px; }
 .yn-characteristics .yn-step-number { margin-bottom: 8px; }
}
@media(max-width:640px) {
 .yn-characteristics .species-hero-grid { padding: 12px 0 28px; }
 .yn-characteristics .cluster-section,.yn-characteristics .cluster-toc,.yn-characteristics .answer-box { padding: 24px 20px; border-radius: 18px; }
 .yn-characteristics .cluster-toc ul,.yn-characteristics .yn-photo-list,.yn-characteristics .yn-mistake-grid { grid-template-columns: 1fr; }
 .yn-characteristics .cluster-table td,.yn-characteristics .cluster-table th { padding: 14px 10px; font-size: .94rem; }
 .yn-characteristics .cluster-table tbody th { width: 30%; }
 .yn-characteristics .cluster-sources ul { columns: 1; }
 .yn-characteristics .yn-observation-note,.yn-characteristics .yn-record-example { padding: 20px; }
}

/* Two-column support hero; scoped to this page. */
body.yn-characteristics .yn-support-hero { padding: 40px 0 48px; background-image: linear-gradient(110deg,rgba(17,48,27,.97),rgba(35,65,33,.9) 78%,rgba(108,91,44,.62)),url(../../images/greenfencethai/asset/ต้นยางนา/bg-ต้นยางนา.webp); }
body.yn-characteristics .yn-support-hero::before,body.yn-characteristics .yn-support-hero::after { display: none; }
body.yn-characteristics .yn-support-hero .species-hero-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(280px,1fr); gap: 44px; align-items: center; padding: 32px 0 20px; }
body.yn-characteristics .yn-support-hero .species-hero-content { min-width: 0; max-width: none; }
body.yn-characteristics .yn-support-hero h1 { font-size: clamp(2rem,3.4vw,3.35rem); line-height: 1.45; margin: 22px 0; text-shadow: none; text-wrap: balance; color: #fff; }
body.yn-characteristics .yn-support-hero .species-hero-content p { padding: 0; background: none; color: #e6eddd; line-height: 1.95; }
body.yn-characteristics .yn-support-hero .species-badge { color: #e2edce; background: #ffffff15; border: 1px solid #ffffff40; }
body.yn-characteristics .yn-support-hero .btn-primary { background: #e2c28c; border-color: #e2c28c; color: #3e3c20; }
body.yn-characteristics .yn-support-hero .btn-primary:hover { background: #edd6ad; }
body.yn-characteristics .yn-support-note { padding: 34px; background: #edf2e2; border: 1px solid #d1ddbf; border-radius: 24px; box-shadow: 0 18px 40px #0002; color: #334d36; min-width: 0; }
body.yn-characteristics .yn-support-eyebrow { display: block; color: #536b3e; font-size: .84rem; font-weight: 700; line-height: 1.7; }
body.yn-characteristics .yn-support-note h2 { color: #21472f; font-size: clamp(1.4rem,2vw,1.75rem); line-height: 1.6; margin: 12px 0 20px; }
body.yn-characteristics .yn-support-note ul { padding-left: 22px; margin: 0 0 22px; line-height: 1.95; }
body.yn-characteristics .yn-support-note li { color: inherit; margin-bottom: 8px; }
body.yn-characteristics .yn-support-note a { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #d6bd95; padding-top: 20px; color: #244e34; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; line-height: 1.8; }
body.yn-characteristics .yn-support-hero a:focus-visible { outline: 3px solid #dc9d55; outline-offset: 5px; }
body.yn-characteristics .yn-note-botany { border-left: 6px solid #c58b4a; border-radius: 6px 24px 24px 6px; }
@media(max-width:960px) { body.yn-characteristics .yn-support-hero .species-hero-grid { grid-template-columns: minmax(0,1fr); gap: 28px; } }
@media(max-width:640px) { body.yn-characteristics .yn-support-hero { padding: 28px 0 36px; } body.yn-characteristics .yn-support-hero .species-hero-grid { padding: 24px 0 8px; } body.yn-characteristics .yn-support-note { padding: 26px 22px; } body.yn-characteristics .yn-support-hero .hero-action .btn { width: 100%; justify-content: center; } }
