/* ส่วนหัวหน้าประกาศ — สไตล์โปสเตอร์รับสมัครพนักงาน (ใช้เฉพาะหน้า /) */
@font-face { font-family: "Kanit"; font-weight: 700; font-display: swap; src: url(/fonts/kanit-thai-700-normal.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Kanit"; font-weight: 700; font-display: swap; src: url(/fonts/kanit-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kanit"; font-weight: 800; font-display: swap; src: url(/fonts/kanit-thai-800-normal.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Kanit"; font-weight: 800; font-display: swap; src: url(/fonts/kanit-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.hero {
  --navy: #0b2a6b; --red: #d3202a; --yellow: #ffd91a;
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(90deg, rgba(8,40,110,.38), rgba(8,40,110,0) 65%), url(/hero-bg.webp) center / cover no-repeat #2c7fd8; /* ภาพถ่ายโรงงานและไร่อ้อย + แถบเข้มบางๆ ด้านซ้ายให้ตัวหนังสืออ่านง่าย */
  min-height: clamp(340px, 42vw, 520px);
  padding: clamp(18px, 4vw, 40px) 16px clamp(22px, 4vw, 40px);
  font-family: "Kanit", "Sarabun", "Noto Sans Thai", system-ui, sans-serif;
}
.hero-inner { max-width: 920px; margin: 0 auto; position: relative; }

/* ตัวหนังสือแบบโปสเตอร์: ตัวหนาขาว/เหลือง มีขอบกรมท่าและเงา */
.outline {
  font-weight: 800; letter-spacing: .01em; line-height: 1.05;
  -webkit-text-stroke: .16em var(--navy); paint-order: stroke fill;
  text-shadow: 0 .06em 0 var(--navy), 0 .12em .18em rgba(6,24,70,.45);
}

.brand-line { display: flex; align-items: baseline; gap: .35em; flex-wrap: wrap; margin: 0; font-size: clamp(1.4rem, 5vw, 2.3rem); }
.brand-line .name { color: #fff; }
.brand-line .name b { color: #ff3b3b; font-size: 1.45em; font-weight: 800; }
.slogan {
  position: absolute; right: 0; top: 0; margin: 0; max-width: 15rem; text-align: right; font-style: italic; font-weight: 700;
  font-size: clamp(.72rem, 1.9vw, .95rem); line-height: 1.35; color: #0f2f73; text-shadow: 0 0 6px rgba(255,255,255,.95), 0 0 2px #fff;
}

.headline { margin: clamp(10px, 2vw, 18px) 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(6px, 1.2vw, 12px); }
.band { display: inline-block; transform: skewX(-9deg) rotate(-1.2deg); padding: .1em .7em .12em .55em; box-shadow: 0 .12em 0 rgba(6,24,70,.35), 0 10px 22px rgba(6,24,70,.35); }
.band > span { display: inline-block; transform: skewX(9deg); }
.band.red { background: linear-gradient(90deg, #b30d1d, #e8333a 70%, #d3202a); border-left: .18em solid #fff; }
.band.red .t1 { font-size: clamp(2rem, 8.4vw, 4.6rem); color: #fff; }
.band.red .t2 { font-size: clamp(2rem, 8.4vw, 4.6rem); color: var(--yellow); }
.band.blue { background: linear-gradient(90deg, #123a8f, #2557b8); font-size: clamp(1.05rem, 3.6vw, 1.7rem); font-weight: 700; padding: .12em .8em; }
.band.blue .outline { -webkit-text-stroke: 0; text-shadow: 0 2px 0 rgba(6,24,70,.5); font-weight: 700; }

.urgent { display: inline-flex; align-items: center; gap: .6em; transform: rotate(-1.5deg); margin-top: clamp(4px, 1vw, 10px); }
.urgent .tag { background: linear-gradient(180deg, #ffe45a, #ffc800); color: #c4101f; padding: .05em .7em .1em; border-radius: .25em; transform: skewX(-9deg); box-shadow: 0 .1em 0 rgba(6,24,70,.45); font-weight: 800; font-size: clamp(1.4rem, 5.2vw, 2.3rem); }
.urgent .tag span { display: inline-block; transform: skewX(9deg); }
.urgent .tag small { font-size: .72em; color: #1b3b86; font-weight: 800; }
.urgent svg { width: clamp(34px, 7vw, 56px); height: auto; filter: drop-shadow(0 3px 0 rgba(6,24,70,.45)); }

.contact { display: inline-flex; align-items: center; gap: .6em; margin-top: clamp(12px, 2.4vw, 22px); background: rgba(9, 36, 95, .92); border-radius: 999px; padding: .3em 1.1em .3em .4em; box-shadow: 0 8px 20px rgba(6,24,70,.4); }
.contact .ico { width: 2.3em; height: 2.3em; border-radius: 50%; background: #e63946; display: grid; place-items: center; flex: none; }
.contact .ico svg { width: 1.25em; height: 1.25em; }
.contact .lbl { font-size: .85rem; font-weight: 700; line-height: 1.1; }
.contact .tel { color: var(--yellow); font-weight: 800; font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1.1; letter-spacing: .03em; text-decoration: none; }
.contact small { display: block; font-size: .72rem; font-weight: 700; opacity: .9; }

@media (max-width: 640px) {
  .slogan { position: static; text-align: left; max-width: none; margin-top: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  .band { animation: pop .5s ease-out both; }
  .band.blue { animation-delay: .12s; } .urgent { animation: pop .5s .22s ease-out both; }
  @keyframes pop { from { opacity: 0; transform: translateY(8px) skewX(-9deg) rotate(-1.2deg); } }
}
