
:root{--green:#3f6b45;--gold:#d7a83f;--cream:#fff9ea;--orange:#d97a2b;--ink:#29352d;--soft:#eaf2df;--shadow:0 18px 45px rgba(39,65,43,.14)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Tahoma,"Noto Sans Thai",sans-serif;color:var(--ink);background:linear-gradient(#fdf9ec,#f2f5e8)}
a{text-decoration:none;color:inherit}.top{background:#35553a;color:white;text-align:center;padding:7px}.nav{position:sticky;top:0;z-index:20;background:#fffdf8ef;backdrop-filter:blur(12px);border-bottom:1px solid #e4ddc8}.navin{max-width:1220px;margin:auto;padding:13px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{font-weight:800;color:#3f6b45}.links{display:flex;gap:4px;flex-wrap:wrap}.links a{padding:9px 11px;border-radius:999px;font-weight:700}.links a:hover,.links a.on{background:#d97a2b;color:#fff}.menu{display:none;border:0;background:#d97a2b;color:#fff;padding:10px 14px;border-radius:12px}
.wrap{max-width:1220px;margin:auto;padding:28px 20px}.hero{min-height:660px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;overflow:hidden;border-radius:0 0 54px 54px;background:linear-gradient(145deg,#fff9e9 0 49%,#e7efdb 49%);box-shadow:var(--shadow);position:relative}.hero:after{content:"";position:absolute;right:-8%;bottom:-35%;width:62%;height:70%;border-radius:50%;background:#aac68b55}.hero-copy{padding:55px 26px 55px 42px;z-index:2}.eyebrow{display:inline-block;background:#f5d389;padding:8px 15px;border-radius:999px;font-weight:800}.hero h1{font-size:clamp(3.1rem,5.7vw,5.5rem);line-height:1.04;color:#315c3a;margin:24px 0 12px}.hero h1 span{display:block;color:#d6752a;font-size:.52em;margin-top:12px}.lead{line-height:1.85;font-size:1.08rem}.btn{display:inline-flex;padding:13px 21px;border-radius:15px;border:2px solid #d97a2b;background:white;color:#8c4a1d;font-weight:800;margin:10px 8px 0 0}.primary{background:#d97a2b;color:white}.hero-img{z-index:2;padding:24px}.hero-img img{width:100%;border-radius:30px;box-shadow:var(--shadow)}
h1,h2{color:#315c3a}.head h1{font-size:clamp(2.4rem,4.5vw,4rem);margin-bottom:5px}.sub{color:#657267;line-height:1.7}.section{padding:40px 0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff;border:1px solid #e1ddc9;border-radius:24px;padding:22px;box-shadow:var(--shadow);line-height:1.75}.card h3{color:#b85f24;margin-top:0}.two{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.photo{width:100%;background:white;padding:7px;border-radius:24px;box-shadow:var(--shadow)}
.kand{background:white;border:1px solid #e0dcc7;border-radius:20px;margin:14px 0;overflow:hidden;box-shadow:var(--shadow)}.kand summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:48px 1fr 28px;align-items:center;gap:10px;padding:16px;font-weight:800}.kand summary::-webkit-details-marker{display:none}.knum{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#d97a2b;color:white}.arrow{font-size:1.4rem;color:#8c4a1d}.kand[open] .arrow{transform:rotate(180deg)}.kdetail{padding:0 18px 18px;border-top:1px dashed #e6d4b9;line-height:1.8}.kdetail strong{color:#315c3a}
.character{background:linear-gradient(145deg,#fff,#f7f2e2);border-radius:24px;padding:22px;box-shadow:var(--shadow)}.character h3{color:#315c3a}.tag{display:inline-block;background:#e4efd7;color:#406347;border-radius:999px;padding:6px 11px;font-weight:700}
.perfect{display:grid;grid-template-columns:46px 1fr;gap:12px;background:white;border:1px solid #e1ddca;border-radius:18px;padding:15px}.pnum{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#3f6b45;color:white;font-weight:800}
.quote{background:white;border-left:8px solid #d7a83f;border-radius:0 20px 20px 0;padding:20px;line-height:1.9;box-shadow:var(--shadow)}
.qcard{background:white;border-radius:22px;padding:22px;margin:17px 0;box-shadow:var(--shadow)}.qnum{font-weight:800;color:#b35d26}.option{display:grid;grid-template-columns:26px 30px 1fr;gap:7px;align-items:start;border:2px solid #dfe4d7;border-radius:14px;padding:12px;margin:9px 0;cursor:pointer}.option:hover{border-color:#d97a2b;background:#fffaf0}.option input{margin-top:4px}.progress{height:14px;background:#e5e8df;border-radius:99px;overflow:hidden}.bar{height:100%;width:0;background:linear-gradient(90deg,#3f6b45,#d7a83f)}.result{display:none;background:white;border-radius:24px;padding:24px;box-shadow:var(--shadow);margin-top:20px}.result.show{display:block}.review{padding:13px;border-radius:13px;margin:9px 0}.ok{background:#e8f4df}.bad{background:#fff0e7}.foot{margin-top:48px;background:#35553a;color:#fff;text-align:center;padding:28px}
@media(max-width:900px){.hero{grid-template-columns:1fr}.hero-copy{padding:38px 20px 10px}.hero-img{padding:18px 18px 34px}.grid{grid-template-columns:1fr 1fr}.two{grid-template-columns:1fr}.links{display:none}.menu{display:block}.links.open{display:flex;position:absolute;left:12px;right:12px;top:66px;background:white;padding:10px;flex-direction:column;box-shadow:var(--shadow)}}
@media(max-width:560px){.grid{grid-template-columns:1fr}.hero h1{font-size:2.9rem}.wrap{padding-left:14px;padding-right:14px}.kand summary{grid-template-columns:42px 1fr 24px}}


/* ภาพประกอบรายกัณฑ์จากไฟล์ต้นฉบับ */
.kdetail{
  padding:18px;
  border-top:1px dashed #e6d4b9;
  line-height:1.8;
  display:grid;
  grid-template-columns:minmax(260px,420px) 1fr;
  gap:22px;
  align-items:start;
}
.kand-illustration{
  width:100%;
  display:block;
  border-radius:18px;
  border:6px solid #fff;
  box-shadow:0 12px 28px rgba(39,65,43,.16);
}
.kand-text p:first-child{margin-top:0}
.hero-img img{
  object-fit:cover;
  object-position:center;
  max-height:520px;
}
@media(max-width:760px){
  .kdetail{grid-template-columns:1fr}
  .kand-illustration{max-height:none}
  .hero-img img{max-height:none}
}


/* แกลเลอรีภาพเล่าเหตุการณ์ในแต่ละกัณฑ์ */
.kand-story-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.story-shot{
  margin:0;
  background:#fff;
  border-radius:16px;
  padding:7px;
  box-shadow:0 10px 24px rgba(39,65,43,.14);
  overflow:hidden;
}
.story-shot img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:11px;
}
.story-shot figcaption{
  padding:7px 5px 2px;
  text-align:center;
  color:#687067;
  font-size:.88rem;
}
.gallery-note{
  display:inline-block;
  margin-top:12px;
  padding:8px 12px;
  background:#edf4e5;
  border-radius:999px;
  color:#426247;
  font-weight:700;
}
@media(max-width:950px){
  .kdetail{grid-template-columns:1fr}
}
@media(max-width:600px){
  .kand-story-gallery{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:12px;
    padding-bottom:8px;
  }
  .story-shot{
    min-width:86%;
    scroll-snap-align:start;
  }
}


/* ระบบเลื่อนภาพทุกขนาดหน้าจอ */
.gallery-carousel{
  position:relative;
  min-width:0;
  padding:0 44px;
}
.kand-story-gallery{
  display:flex !important;
  grid-template-columns:none !important;
  gap:14px;
  width:100%;
  max-width:100%;
  overflow-x:auto !important;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:thin;
  scrollbar-color:#d97a2b #f2eadb;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x;
  padding:5px 3px 14px;
}
.kand-story-gallery::-webkit-scrollbar{height:9px}
.kand-story-gallery::-webkit-scrollbar-track{
  background:#f2eadb;
  border-radius:99px;
}
.kand-story-gallery::-webkit-scrollbar-thumb{
  background:#d97a2b;
  border-radius:99px;
}
.story-shot{
  flex:0 0 calc(50% - 7px);
  min-width:280px;
  scroll-snap-align:start;
}
.gallery-arrow{
  position:absolute;
  top:50%;
  z-index:4;
  width:42px;
  height:42px;
  transform:translateY(-50%);
  border:0;
  border-radius:50%;
  background:#d97a2b;
  color:#fff;
  font-size:2rem;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(86,48,21,.25);
}
.gallery-arrow:hover{background:#b95e20}
.gallery-arrow:active{transform:translateY(-50%) scale(.94)}
.gallery-prev{left:0}
.gallery-next{right:0}
.gallery-arrow:disabled{
  opacity:.35;
  cursor:not-allowed;
}
@media(max-width:760px){
  .gallery-carousel{padding:0 36px}
  .story-shot{
    flex-basis:88%;
    min-width:240px;
  }
  .gallery-arrow{
    width:34px;
    height:34px;
    font-size:1.65rem;
  }
}
@media(max-width:420px){
  .gallery-carousel{padding:0 30px}
  .story-shot{
    flex-basis:94%;
    min-width:210px;
  }
}


/* Lightbox ภาพเนื้อเรื่อง */
.zoomable-story-image{cursor:zoom-in}
.cover-shot{outline:3px solid rgba(63,107,69,.28);outline-offset:-3px}
.story-lightbox{
  position:fixed;inset:0;z-index:9999;display:none;place-items:center;
  padding:20px;background:rgba(18,25,20,.82);backdrop-filter:blur(8px)
}
.story-lightbox.open{display:grid}
.lightbox-panel{
  position:relative;width:min(1180px,96vw);height:min(90vh,850px);
  background:#fff;border-radius:24px;box-shadow:0 28px 80px rgba(0,0,0,.45);
  display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden
}
.lightbox-stage{
  min-height:0;overflow:auto;display:grid;place-items:center;
  padding:58px 72px 26px;background:linear-gradient(145deg,#fdfcf7,#eef3e9)
}
.lightbox-stage img{
  display:block;max-width:100%;max-height:100%;object-fit:contain;
  transform-origin:center center;transition:transform .18s ease;
  box-shadow:0 12px 35px rgba(0,0,0,.16);border-radius:10px
}
.lightbox-close{
  position:absolute;z-index:4;right:17px;top:14px;width:44px;height:44px;
  border:0;border-radius:50%;background:#fff;color:#26352b;font-size:2rem;
  box-shadow:0 7px 20px rgba(0,0,0,.18);cursor:pointer
}
.lightbox-nav{
  position:absolute;z-index:4;top:50%;transform:translateY(-50%);
  width:48px;height:48px;border:0;border-radius:50%;background:#d97a2b;color:#fff;
  font-size:2.1rem;cursor:pointer;box-shadow:0 8px 22px rgba(0,0,0,.22)
}
.lightbox-prev{left:14px}.lightbox-next{right:14px}
.lightbox-toolbar{
  min-height:72px;padding:12px 20px;display:grid;grid-template-columns:auto 1fr auto;
  align-items:center;gap:16px;border-top:1px solid #e5e3da;background:#fff
}
#lightboxCounter{font-weight:800;color:#315c3a;white-space:nowrap}
#lightboxCaption{text-align:center;font-weight:700;color:#5f6c62}
.zoom-controls{display:flex;gap:7px;align-items:center}
.zoom-controls button{
  min-width:42px;height:40px;border:1px solid #d8d9cf;border-radius:12px;
  background:#fff;color:#315c3a;font-weight:800;font-size:1.05rem;cursor:pointer
}
#zoomReset{min-width:70px}
body.lightbox-open{overflow:hidden}
@media(max-width:700px){
  .story-lightbox{padding:8px}
  .lightbox-panel{width:100%;height:96vh;border-radius:18px}
  .lightbox-stage{padding:54px 42px 18px}
  .lightbox-nav{width:38px;height:38px;font-size:1.65rem}
  .lightbox-prev{left:5px}.lightbox-next{right:5px}
  .lightbox-toolbar{grid-template-columns:auto 1fr;gap:8px;padding:10px 12px}
  #lightboxCaption{text-align:left;font-size:.92rem}
  .zoom-controls{grid-column:1/-1;justify-content:center}
}


/* ===== หน้าแรกเวอร์ชันใหม่: ภาพเต็มหน้าปก ===== */
.home-page{
  margin:0;
  background:#f7f3e7;
  color:#26352a;
}
.home-nav{
  position:fixed;
  inset:0 0 auto 0;
  z-index:100;
  background:linear-gradient(180deg,rgba(23,66,39,.97),rgba(23,66,39,.91));
  color:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.14);
}
.home-nav-inner{
  max-width:1380px;
  margin:auto;
  min-height:78px;
  padding:0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.home-brand{
  display:flex;
  align-items:center;
  gap:11px;
  color:#fff;
  min-width:max-content;
}
.brand-icon{font-size:1.9rem}
.home-brand b{display:block;font-size:1.15rem}
.home-brand small{display:block;opacity:.78;font-size:.76rem;margin-top:2px}
.home-links{display:flex;align-items:center;gap:5px}
.home-links a{
  color:#fff;
  padding:11px 13px;
  border-radius:999px;
  font-weight:800;
  font-size:.96rem;
}
.home-links a:hover,.home-links a.active{
  background:rgba(255,255,255,.14);
}
.home-links a.active{box-shadow:inset 0 -3px 0 #e5bd57}
.home-menu-btn{
  display:none;
  border:0;
  border-radius:12px;
  padding:10px 14px;
  background:#e3b950;
  color:#21452d;
  font-weight:800;
}

.full-hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#173d28;
}
.full-hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.hero-darken{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(8,34,19,.88) 0%,rgba(8,34,19,.68) 32%,rgba(8,34,19,.2) 62%,rgba(8,34,19,.08) 100%),
    linear-gradient(180deg,rgba(0,0,0,.14),rgba(0,0,0,.08) 68%,rgba(0,0,0,.34));
}
.hero-copy-new{
  position:relative;
  z-index:3;
  max-width:720px;
  margin-left:max(6vw,40px);
  padding:135px 28px 74px 0;
  color:#fff;
  text-shadow:0 4px 20px rgba(0,0,0,.44);
}
.hero-kicker{
  display:inline-block;
  background:rgba(232,190,83,.92);
  color:#24472f;
  border-radius:999px;
  padding:9px 16px;
  font-weight:900;
  text-shadow:none;
}
.hero-copy-new h1{
  color:#fff;
  font-size:clamp(3.4rem,7vw,6.3rem);
  line-height:.98;
  margin:26px 0 12px;
}
.hero-copy-new h2{
  color:#f3d07c;
  font-size:clamp(1.5rem,2.5vw,2.4rem);
  margin:0 0 18px;
}
.hero-copy-new p{
  max-width:650px;
  font-size:1.15rem;
  line-height:1.85;
  margin:0;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 24px;
  border-radius:16px;
  font-weight:900;
  text-shadow:none;
}
.hero-btn.primary{
  background:#e3b950;
  color:#26442f;
  border:2px solid #e3b950;
}
.hero-btn.secondary{
  color:#fff;
  border:2px solid rgba(255,255,255,.78);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
}
.hero-btn:hover{transform:translateY(-2px)}
.scroll-cue{
  position:absolute;
  z-index:4;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.88);
  color:#244d32;
  font-size:2rem;
  box-shadow:0 10px 25px rgba(0,0,0,.18);
}

.explore-section{
  padding:80px 20px 66px;
  background:
    radial-gradient(circle at 10% 15%,rgba(227,185,80,.15),transparent 30%),
    linear-gradient(180deg,#fffdf7,#f1f5e7);
}
.explore-wrap{max-width:1240px;margin:auto}
.section-title{text-align:center;max-width:720px;margin:0 auto 34px}
.section-title span{
  color:#b77424;
  font-weight:900;
  letter-spacing:.04em;
}
.section-title h2{
  color:#285437;
  font-size:clamp(2rem,4vw,3.3rem);
  margin:8px 0 10px;
}
.section-title p{line-height:1.75;color:#647168}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.feature-card{
  background:#fff;
  border:1px solid #e4e0cf;
  border-radius:24px;
  padding:25px 21px;
  min-height:260px;
  box-shadow:0 15px 35px rgba(47,72,50,.11);
  transition:.22s ease;
}
.feature-card:hover{
  transform:translateY(-6px);
  border-color:#d4af52;
  box-shadow:0 20px 42px rgba(47,72,50,.17);
}
.feature-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:17px;
  background:#edf3e4;
  font-size:2rem;
}
.feature-card h3{color:#2f5d3c;margin:18px 0 9px}
.feature-card p{line-height:1.72;color:#68716b}
.feature-link{display:block;margin-top:15px;color:#b96d25;font-weight:900}
.home-quote{
  margin-top:28px;
  display:grid;
  grid-template-columns:70px 1fr;
  gap:12px;
  align-items:center;
  border-radius:22px;
  background:linear-gradient(135deg,#eef5e4,#fff7df);
  border:1px solid #d9dfc8;
  padding:25px 28px;
}
.quote-mark{font-size:5rem;color:#6e946c;line-height:.6}
.home-quote b{color:#2c5738;font-size:1.16rem}
.home-quote p{margin:7px 0 0;line-height:1.7}
.home-footer{
  background:#214c30;
  color:#fff;
  text-align:center;
  padding:25px 20px;
  line-height:1.7;
}
.to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:90;
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:#e3b950;
  color:#23462d;
  font-size:1.5rem;
  font-weight:900;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  cursor:pointer;
}

@media(max-width:1100px){
  .feature-grid{grid-template-columns:repeat(3,1fr)}
  .home-links a{font-size:.88rem;padding:10px 9px}
}
@media(max-width:900px){
  .home-menu-btn{display:block}
  .home-links{
    display:none;
    position:absolute;
    top:78px;
    left:14px;
    right:14px;
    flex-direction:column;
    align-items:stretch;
    background:#fff;
    padding:12px;
    border-radius:18px;
    box-shadow:0 18px 40px rgba(0,0,0,.2);
  }
  .home-links.open{display:flex}
  .home-links a{color:#284b32}
  .home-links a.active{background:#e7efdf}
  .hero-copy-new{margin-left:24px;padding-right:24px}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
  .home-nav-inner{min-height:68px;padding:0 14px}
  .home-brand small{display:none}
  .home-links{top:68px}
  .full-hero{min-height:860px;align-items:flex-start}
  .full-hero-image{object-position:56% center}
  .hero-darken{
    background:
      linear-gradient(180deg,rgba(8,34,19,.83) 0%,rgba(8,34,19,.55) 43%,rgba(8,34,19,.2) 68%,rgba(8,34,19,.38) 100%);
  }
  .hero-copy-new{
    margin-left:0;
    padding:112px 20px 38px;
    max-width:none;
  }
  .hero-copy-new h1{font-size:3rem}
  .hero-copy-new p{font-size:1rem}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-btn{width:100%}
  .feature-grid{grid-template-columns:1fr}
  .feature-card{min-height:auto}
  .home-quote{grid-template-columns:1fr}
  .quote-mark{font-size:3.7rem}
}


/* ปรับหน้าแรกให้สว่างขึ้น */
.home-nav{
  background:linear-gradient(180deg,rgba(32,95,54,.94),rgba(30,82,48,.90));
}
.hero-darken{
  background:
    linear-gradient(90deg,
      rgba(8,34,19,.62) 0%,
      rgba(8,34,19,.43) 30%,
      rgba(8,34,19,.13) 60%,
      rgba(8,34,19,.03) 100%
    ),
    linear-gradient(180deg,
      rgba(255,255,255,.06),
      rgba(255,255,255,.02) 62%,
      rgba(0,0,0,.15)
    );
}
.full-hero-image{
  filter:brightness(1.11) saturate(1.07) contrast(1.02);
}
.hero-copy-new{
  text-shadow:0 3px 14px rgba(0,0,0,.38);
}
.hero-copy-new p{
  text-shadow:0 2px 9px rgba(0,0,0,.5);
}
.hero-kicker{
  background:rgba(246,207,92,.96);
}
.hero-btn.primary{
  background:#f0c850;
  border-color:#f0c850;
}
@media(max-width:620px){
  .hero-darken{
    background:
      linear-gradient(180deg,
        rgba(8,34,19,.68) 0%,
        rgba(8,34,19,.42) 42%,
        rgba(8,34,19,.11) 70%,
        rgba(8,34,19,.20) 100%
      );
  }
}


/* ===== หน้าแรกภาพชัด ไม่ใช้โทนมืดทับทั้งภาพ ===== */
.home-nav{
  background:rgba(31,92,52,.96);
  box-shadow:0 7px 20px rgba(27,60,37,.18);
}
.full-hero{
  background:#dfeee0;
}
.full-hero-image{
  filter:none !important;
  opacity:1;
  object-fit:cover;
  object-position:center;
}
.hero-darken{
  /* ทำเงาเฉพาะบริเวณข้อความด้านซ้าย ไม่ทับความมืดทั่วทั้งภาพ */
  background:
    linear-gradient(
      90deg,
      rgba(248,250,237,.97) 0%,
      rgba(248,250,237,.91) 30%,
      rgba(248,250,237,.56) 45%,
      rgba(248,250,237,.10) 61%,
      rgba(248,250,237,0) 74%
    ) !important;
}
.hero-copy-new{
  color:#234b31;
  text-shadow:none !important;
  max-width:700px;
}
.hero-copy-new h1{
  color:#204d31;
  text-shadow:none !important;
}
.hero-copy-new h2{
  color:#9c641d;
  text-shadow:none !important;
}
.hero-copy-new p{
  color:#344b3a;
  text-shadow:none !important;
  font-weight:600;
}
.hero-kicker{
  background:#f3cf69;
  color:#294d31;
  box-shadow:0 6px 16px rgba(102,76,23,.13);
}
.hero-btn.primary{
  background:#e4b746;
  border-color:#e4b746;
  color:#23462e;
}
.hero-btn.secondary{
  color:#2e5638;
  border:2px solid #4d7555;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(5px);
}
.scroll-cue{
  background:rgba(255,255,255,.96);
}

@media(max-width:900px){
  .hero-darken{
    background:
      linear-gradient(
        90deg,
        rgba(248,250,237,.96) 0%,
        rgba(248,250,237,.84) 42%,
        rgba(248,250,237,.25) 68%,
        rgba(248,250,237,0) 100%
      ) !important;
  }
}

@media(max-width:620px){
  .full-hero{
    min-height:900px;
    align-items:flex-start;
  }
  .full-hero-image{
    object-position:57% center;
  }
  .hero-darken{
    background:
      linear-gradient(
        180deg,
        rgba(250,251,242,.98) 0%,
        rgba(250,251,242,.94) 39%,
        rgba(250,251,242,.48) 58%,
        rgba(250,251,242,.04) 78%
      ) !important;
  }
  .hero-copy-new{
    color:#234b31;
  }
  .hero-copy-new h1{color:#204d31}
  .hero-copy-new h2{color:#9c641d}
  .hero-copy-new p{
    color:#344b3a;
    font-weight:600;
  }
  .hero-btn.secondary{
    color:#2e5638;
    background:rgba(255,255,255,.9);
  }
}


/* ===== ลดการซูมภาพหน้าปก ===== */
.full-hero{
  min-height:100vh;
}
.full-hero-image{
  object-fit:contain !important;
  object-position:center center !important;
  transform:scale(0.88) !important;
  transform-origin:center center;
  background:#eef5ee;
}
@media (max-width:1024px){
 .full-hero-image{transform:scale(0.94)!important;}
}
@media (max-width:768px){
 .full-hero-image{
   object-fit:cover !important;
   object-position:center top !important;
   transform:scale(0.96)!important;
 }
}


/* ปรับตัวหนังสือหน้าแรกให้น่ารักและเล็กลง */
.hero-copy-new{
  max-width:620px;
}
.hero-kicker{
  font-size:0.95rem;
  padding:10px 18px;
  border-radius:999px;
  letter-spacing:.2px;
}
.hero-copy-new h1{
  font-size:clamp(3rem,5.8vw,4.8rem)!important;
  line-height:1.02;
  font-weight:800;
}
.hero-copy-new h2{
  font-size:clamp(1.6rem,2.6vw,2.5rem)!important;
  margin-top:10px;
  font-weight:700;
}
.hero-copy-new p{
  font-size:1.08rem!important;
  line-height:1.8;
  max-width:560px;
}
.hero-btn{
  font-size:1rem;
  padding:14px 28px;
  border-radius:16px;
}
@media(max-width:768px){
 .hero-copy-new h1{font-size:3.2rem!important;}
 .hero-copy-new h2{font-size:1.7rem!important;}
 .hero-copy-new p{font-size:1rem!important;line-height:1.7;}
 .hero-btn{font-size:.95rem;padding:12px 22px;}
}


/* ===== แก้ไขขนาดตัวหนังสือหน้าปกจริง ===== */
body.home-page .hero-copy-new{
  max-width:520px !important;
  padding-top:118px !important;
}
body.home-page .hero-kicker{
  font-size:.78rem !important;
  padding:7px 13px !important;
  border-radius:999px !important;
}
body.home-page .hero-copy-new h1{
  font-size:clamp(2.25rem,4.2vw,3.65rem) !important;
  line-height:1.05 !important;
  margin:18px 0 8px !important;
  letter-spacing:-.02em !important;
}
body.home-page .hero-copy-new h2{
  font-size:clamp(1.05rem,1.8vw,1.45rem) !important;
  line-height:1.35 !important;
  margin:0 0 12px !important;
  font-weight:700 !important;
}
body.home-page .hero-copy-new p{
  font-size:.93rem !important;
  line-height:1.7 !important;
  max-width:500px !important;
  margin:0 !important;
}
body.home-page .hero-actions{
  margin-top:18px !important;
  gap:9px !important;
}
body.home-page .hero-btn{
  min-height:44px !important;
  padding:0 18px !important;
  font-size:.88rem !important;
  border-radius:14px !important;
}
@media(max-width:620px){
  body.home-page .hero-copy-new{
    padding:100px 18px 30px !important;
    max-width:100% !important;
  }
  body.home-page .hero-copy-new h1{
    font-size:2.25rem !important;
  }
  body.home-page .hero-copy-new h2{
    font-size:1.05rem !important;
  }
  body.home-page .hero-copy-new p{
    font-size:.88rem !important;
    line-height:1.62 !important;
  }
  body.home-page .hero-btn{
    min-height:42px !important;
    font-size:.86rem !important;
  }
}
