.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
  .hj-breadcrumb__list a{
  display:inline-block;
  color:inherit;
  text-decoration:none;
  max-width:14ch;                      /* กันชื่อยาวเกิน */
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
 .hj-breadcrumb{
    padding-left: 5%;
  }
  
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
  .hj-breadcrumb{ padding:6px 12px; }
  .hj-breadcrumb__list{ gap:6px; }
  .hj-breadcrumb__list li{ font-size:13px; }
  .hj-breadcrumb__list a{ max-width:14ch; }  /* จำกัดความยาวลิงก์มากขึ้น */
  .hj-breadcrumb{
    padding-left: 5%;
  }
}

body {
  color: #333;
  font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.section-head {
  background-image: url('../images/hero-restaurant.jpg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100%;
  padding-top: 72px;
}
.section-head-hero {
  background-image: url('../images/hero-barista.jpg');
  background-position: 50%;
  background-size: cover;
  min-height: 500px;
}
.section-head-hero-bar {
  background-image: url('../images/hero-bartender.jpg');
  background-position: 50%;
  background-size: cover;
  min-height: 500px;
}
.section-head-hero-dishwasher {
  background-image: url('../images/hero-dishwasher.jpg');
  background-position: 50%;
  background-size: cover;
  min-height: 500px;
}
.section-head-hero-waiter {
  background-image: url('../images/hero-waiter.jpg');
  background-position: 50%;
  background-size: cover;
  min-height: 500px;
}
.section-head-hero-mgr {
  background-image: url('../images/hero-mgr.jpg');
  background-position: 50%;
  background-size: cover;
  min-height: 500px;
}
.section-head-hero-cook {
  background-image: url('../images/hero-cook.jpg');
  background-position: 50%;
  background-size: cover;
  min-height: 500px;
}
.section-head-hero-chef {
  background-image: url('../images/hero-chef.jpg');
  background-position: 50%;
  background-size: cover;
  min-height: 500px;
}
.section-head-hero-commis {
  background-image: url('../images/hero-commis.jpg');
  background-position: 50%;
  background-size: cover;
  min-height: 500px;
}
.section-head-hero-pastry {
  background-image: url('../images/hero-pastry.jpg');
  background-position: 50%;
  background-size: cover;
  min-height: 500px;
}

/* ===== Breadcrumb Bar (HotelJob style) ===== */
.hj-breadcrumb-bar{
  width:100%;
  background:#f0f4f7;                 /* พื้นเทาอ่อนตาม CI */
  border-bottom:1px solid #e6eaee;     /* เส้นคั่นบางๆ */
}

.hj-breadcrumb{
  padding-left: 5%;
  max-width: 1400px;                 
  margin:0 auto;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* รายการ breadcrumb */
.hj-breadcrumb__list{
  display:flex;
  align-items:center;
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;

  /* รองรับหน้าจอเล็ก – เลื่อนได้ ไม่ล้น */
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;                /* Firefox hide scrollbar */
}
.hj-breadcrumb__list::-webkit-scrollbar{ display:none; }

.hj-breadcrumb__list li{
  display:flex;
  align-items:center;
  min-width:0;                         /* ให้ ellipsis ทำงาน */
  color:#7A7A73;                       /* สีตัวอักษรหลักของ breadcrumb */
  font-size:14px;
  line-height:1.6;
}

/* ตัวคั่นระหว่างรายการ */
.hj-breadcrumb__list li + li::before{
  content:"›";
  margin:0 6px;
  color:#b6bdc6;                       /* สีตัวคั่นอ่อนๆ */
}

/* ลิงก์ */
.hj-breadcrumb__list a{
  display:inline-block;
  color:inherit;
  text-decoration:none;

}
.hj-breadcrumb__list a:hover,
.hj-breadcrumb__list a:focus{
  color:#FE7743;                       /* สีรอง (ส้ม) ตอน hover */
  text-decoration:underline;
}

/* ไอคอนบ้าน (หากมี) */
.hj-breadcrumb__icon{
  display:inline-flex;
  width:16px;
  height:16px;
  margin-right:4px;
  opacity:.85;
}

/* รายการปัจจุบัน */
.hj-breadcrumb__current,
.hj-breadcrumb__list li:last-child,
.hj-breadcrumb__list li:last-child a{
  color:#303030;                       /* เน้นเข้ม */
  font-weight:600;
  pointer-events:none;                 /* ไม่ให้คลิกซ้ำหน้าเดิม */
  text-decoration:none;
  max-width:none;                      /* ไม่ตัดคำรายการสุดท้าย */
  text-overflow:ellipsis;
}

/* วางบนพื้น Hero ที่สว่างมากๆ (ทางเลือก) */
.hj-breadcrumb-bar--on-hero{
  background:rgba(255,255,255,.72);
  backdrop-filter:saturate(120%) blur(6px);
  border-bottom:1px solid rgba(0,0,0,.06);
}

/* ===== Accordion (scoped) ===== */
.hj-accordion {
  width: 100%;
  position: relative;
  z-index: 0;
}

.hj-accordion__title { 
  margin: 0 0 8px; 
  font-size: 26px;
  text-align: left; 
}

.hj-accordion__item { 
  border-top: 1px solid #e7e7e7; 
  width: 100%;
  position: relative;
  z-index: 0;
}
.hj-accordion__item:last-child { 
  border-bottom: 1px solid #e7e7e7; 
}

.hj-accordion__summary {
  position: relative;
  display: block;
  margin: 0;
  padding: 20px 40px 20px 0px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  width: 100%;
  z-index: 0;
}
.hj-accordion__summary::-webkit-details-marker { display: none; }

.hj-accordion__summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .2s ease;
  opacity: .9;
  z-index: 0;
}
.hj-accordion__item[open] > .hj-accordion__summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.hj-accordion__content { 
  margin-left: 8px;
  padding: 12px 12px 30px 12px; 
  width: 100%;
  position: relative;
  z-index: 0;
  background: #fff; /* ป้องกัน header โปร่งทับ */
  font-size: 16px;
}
.hj-accordion__content p { margin: 6px 0 0; }
.hj-accordion__content ol,
.hj-accordion__content ul { margin: 6px 0 0 20px; padding-left: 4px; }

/* ===== Fix stacking issue (FAQ below header) ===== */
.hj-accordion,
.hj-accordion__item,
.hj-accordion__summary,
.hj-accordion__content {
  position: relative;
  z-index: 0;
}

.hj-accordion,
.hj-accordion * {
  transform: none !important;
  filter: none !important;
  will-change: auto !important;
}


/********************/

/* ===== Mobile Footer Menu (Sticky Tab Bar) ===== */
.hj-mobile-tabbar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: none;                       /* เริ่มซ่อน แล้วค่อยแสดงบนจอเล็ก */
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: #ffffff;
  border-top: 1px solid #e6eaee;
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
  padding: 6px max(12px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
}
/* ปุ่มแต่ละอัน */
.hj-mobile-tabbar .tab{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  text-decoration: none;
  color: #7A7A73;
  font-size: 11.5px;
  line-height: 1.1;
  border-radius: 12px;
  transition: color .18s ease, background-color .18s ease, transform .06s ease;
  -webkit-tap-highlight-color: transparent;
}

/* ไอคอน */
.hj-mobile-tabbar .icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 999px;
}

/* ปุ่มหลักตรงกลาง (เช่น ค้นหา) */
.hj-mobile-tabbar .tab--primary .icon{
  background: #FE7743;         /* สีส้ม CI */
  color: #fff;
}
.hj-mobile-tabbar .tab--primary .label{ color: #FE7743; }

/* โฮเวอร์/กด */
.hj-mobile-tabbar .tab:hover{ color:#303030; background:#f9fafb; }
.hj-mobile-tabbar .tab:active{ transform: translateY(1px); }

/* สถานะ active (จาก JS ด้านล่าง) */
.hj-mobile-tabbar .tab.is-active{
  color:#303030;
}
.hj-mobile-tabbar .tab.is-active .icon{
  background:#f0f4f7;
}
.hj-mobile-tabbar .tab.is-active.tab--primary .icon{
  background:#FE7743; color:#fff;
}


/****************/
.overflowtext {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/************/
.section-content {
  max-width: 880px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: 'Anuphan', sans-serif;
  color: #303030;
  padding: 16px 16px 16px 16px;
  border-radius: 16px;

}

.section-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #303030;
  margin-bottom: 20px;
  line-height: 1.4;
}

.section-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-content ul li {
  position: relative;
  font-size: 16px;
  line-height: 1.8;
  color: #303030;
  padding-left: 28px;
  margin-bottom: 8px;
}

.section-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #FE7743;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
}
/*********************/

.bg-restaurant {
  background-color: #0000008c;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  min-height: 600px;
  padding: 5%;
  display: flex;
}
.bg-gaydian-hero {
  -webkit-text-fill-color: inherit;
  background-clip: padding-box;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 500px;
  padding: 5%;
  display: flex;
}

.heading-1 {
  color: #303030;
  font-family: Anuphan, sans-serif;
  font-size: 40px;
  line-height: 1.4;
}
.heading-1sub {
  color: #ffffff;
  font-family: Anuphan, sans-serif;
  font-size: 46px;
  line-height: 1.4;
}

.heading-1.white {
  color: #fff;
}

.text-detail {
  color: #303030;
  font-family: Anuphan, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.text-detail.white {
  color: #fff;
}

.text-detail.gray {
  color: #595959;
}

.form {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  display: flex;
}

.text-field {
  border-radius: 4px;
  width: 80%;
  height: 48px;
  margin-bottom: 0;
  font-family: Anuphan, sans-serif;
}

.submit-button {
  background-color: #ff6933;
  border-radius: 4px;
  width: 20%;
  height: 48px;
  font-family: Anuphan, sans-serif;
  font-size: 16px;
}

.wrap-search {
  width: 50%;
  margin-top: 24px;
}

.wrap-head {
  width: 50%;
}

.container-head {
  width: 100%;
  max-width: 1400px;
}

.section-restaurant {
  background-color: #f5f5f5;
  padding-left: 5%;
  padding-right: 5%;
  
}

.section-restaurant.bg-wihte {
  background-color: #fff;
}

.container {
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 1400px;
  padding-top: 5%;
  padding-bottom: 5%;
  display: flex;
}

.heading-2 {
  margin-top: 0;
  font-family: Anuphan, sans-serif;
}

.grid-category {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  margin-top: 24px;
  display: grid;
}

.category {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-width: 200px;
  max-width: 332px;
  height: 106px;
  padding: 16px 24px;
  text-decoration: none;
  transition: box-shadow .2s;
  display: flex;
  box-shadow: 0 2px 5px #00000017;
}

.category:hover {
  box-shadow: 2px 6px 5px #0000001a;
}

.block-color {
  background-color: #ff69331a;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 56px;
  min-width: 56px;
  height: 56px;
  display: flex;
}

.flex-col {
  flex-flow: column;
  display: flex;
}

.flex-col.gap-8 {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
}

.flex-col.gap-8.sizing-full {
  flex: 1;
}

.heading-3 {
  color: #303030;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Anuphan, sans-serif;
  font-size: 20px;
  line-height: 24px;
}

.heading-3, .company-name{
  display:-webkit-box;
  -webkit-line-clamp:1;        /* จำนวนบรรทัดที่ต้องการ */
  -webkit-box-orient:vertical;
  overflow:hidden;

  /* ช่วยใน flex/grid */
  min-width:0;
  max-width:100%;
}

.a-14 {
  color: #303030;
  margin-bottom: 0;
  font-family: Anuphan, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.a-14.white {
  color: #fff;
}

.a-14.gray {
  color: #595959;
}

.a-14.weight-600 {
  font-weight: 600;
}

.a-14.weight-500 {
  font-weight: 500;
}

.image-40 {
  width: 40px;
  height: 40px;
}

.grid-col3 {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  margin-top: 24px;
  display: grid;
}

.card-jobpost {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  flex-flow: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 438px;
  height: 264px;
  padding: 24px;
  text-decoration: none;
  transition: box-shadow .2s;
  display: flex;
  box-shadow: 0 2px 6px #0000000a;
}

.card-jobpost:hover {
  box-shadow: 2px 6px 5px #0000001a;
}

.flex-row {
  display: flex;
}

.flex-row.gap-4 {
  grid-column-gap: 4px;
  grid-row-gap: 4px;
}

.flex-row.gap-4.alight-full {
  align-self: stretch;
}

.flex-row.gap-4.center {
  justify-content: flex-start;
  align-items: center;
}

.flex-row.align-stretch {
  align-self: stretch;
}

.flex-row.align-stretch.align-between {
  justify-content: space-between;
  align-items: center;
}

.tag-red {
  background-color: #ec0000;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  height: 24px;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
}

.a-16 {
  color: #303030;
  margin-bottom: 0;
  font-family: Anuphan, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.a-16.gray {
  color: #595959;
}

.detail-jobpost {
  grid-column-gap: 4px;
  grid-row-gap: 4px;
  border-bottom: 1px solid #e6e6e6;
  flex-flow: column;
  align-self: stretch;
  margin-bottom: 8px;
  padding-bottom: 8px;
  display: flex;
}

.icon-16 {
  width: 16px;
  height: 16px;
}

.tag-type {
  background-color: #f5f5f5;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  height: 32px;
  padding: 6px 16px;
  display: flex;
}

.btn-seemore {
  background-color: #ff6933;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  height: 36px;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
}

.body {
  font-family: Anuphan, sans-serif;
}

.wrap-hotel {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  align-self: stretch;
  margin-top: 16px;
  display: grid;
}

.logo-hotel {
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
}

.image-hotel {
  width: 96px;
}

.section-footer {
  background-color: #f5f5f5;
  border-top: 1px solid #e6e6e6;
  padding-left: 5%;
  padding-right: 5%;
}

.wrap-footer {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  align-self: stretch;
  padding-bottom: 5%;
  display: grid;
}

.detail-footer {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.wrap-detail-footer {
  grid-column-gap: 4px;
  grid-row-gap: 4px;
  flex-flow: column;
  display: flex;
}

.heading-4 {
  color: #303030;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Anuphan, sans-serif;
  font-size: 18px;
  line-height: 24px;
}

.social-media {
  background-color: #ff69331a;
  border-radius: 100px;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  padding-top: 4px;
  display: flex;
}

.wrap-social-media {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  display: flex;
}

.footer-link {
  color: #595959;
  text-decoration: none;
}

.footer-link:hover {
  color: #ff6933;
}

.contact-link {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 4px;
  text-decoration: none;
  display: flex;
}

.code-embed {
  color: #595959;
}

.icon-svg {
  color: #303030;
}

.icon-svg.fb {
  padding-top: 1px;
}

.wrap-htj {
  border-top: 1px solid #e6e6e6;
  justify-content: space-between;
  align-self: stretch;
  align-items: center;
  padding-top: 16px;
  display: flex;
}

.detail-g16 {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.a-12 {
  color: #303030;
  margin-bottom: 0;
  font-family: Anuphan, sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

.a-12.white {
  color: #fff;
}

.a-12.weight-600 {
  font-weight: 600;
}

.navigation-brand {
  flex: none;
}

.navigation-buttons-hide {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  display: flex;
  line-height: 40px;
}

.navigation-container {
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin-left: 5%;
  margin-right: 5%;
  display: flex;
}

.navigation-link {
  color: #303030;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
  font-size: 16px;
  text-decoration: none;
  transition: all .2s;
  display: flex;
}

.navigation-link:hover {
  color: #ff6933;
}

.navigation-link.w--open {
  color: #4c4cb3;
}

.navigation-left {
  flex: 1;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.navigation-link-login {
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  display: none;
}

.navigation-link-login.w--open {
  color: #4c4cb3;
}

.navigation-link-login.post {
  font-weight: 400;
}

.dropdown-integration-link {
  color: #3d424c;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  min-width: 210px;
  padding: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  transition: background-color .2s;
  display: flex;
}

.dropdown-integration-link:hover {
  color: #6869ac;
  background-color: #e8ecf7;
}

.button-small {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #ff6933;
  border: 2px solid #ff6933;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  height: 40px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  transition: background-color .3s;
  display: inline-flex;
}

.button-small:hover {
  background-color: #ff7c4d;
}

.button-small.post {
  color: #ff6933;
  background-color: #fff;
  font-weight: 500;
}

.button-small.post:hover {
  color: #fff;
  background-color: #ff6933;
}

.navigation-component {
  color: #303030;
  -webkit-text-fill-color: inherit;
  background-clip: border-box;
  position: fixed;
  inset: 0% 0% auto;
  z-index: 100;
}

.navigation-menu {
  display: flex;
  position: static;
}

.navigation-restaurant {
  z-index: 99;
  -webkit-text-fill-color: inherit;
  background-color: #fff;
  background-clip: border-box;
  border-bottom: 1px solid #e6e6e6;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 72px;
  display: flex;
  padding-left: 5%;
  padding-right: 5%;
}

.navigation-right {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

.logo-h1 {
  color: #303030;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Red Hat Display, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
}

.mt-24 {
  margin-top: 24px;
}

.button {
  color: #ff6933;
  background-color: #fff;
  border: 1px solid #ff6933;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  box-shadow: 0 2px 5px #8080801a;
}

.button:hover {
  color: #ff6d39;
  background-color: #fffaf8;
  border-color: #ff6d39;
}

@media screen and (max-width: 991px) {
  .section-head {
    min-height: 71%;
  }

  .bg-restaurant {
    min-height: 100%;
  }

  .wrap-search, .wrap-head {
    width: 100%;
  }

  .grid-category {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid-col3 {
    grid-template-columns: 1fr 1fr;
  }

  .wrap-footer {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .detail-footer {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
  }

  .navigation-menu-button {
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 12px;
  }

  .navigation-menu-button:active, .navigation-menu-button:focus {
    background-color: #f5f5f5;
    border: 1px solid #f5f5f5;
  }

  .navigation-menu-button.w--open {
    color: #4c4cb3;
    background-color: #fff;
    border-style: solid;
  }

  .navigation-brand {
    margin-right: 10px;
    padding: 0;
  }

  .navigation-buttons-hide {
    display: none;
  }

  .navigation-link {
    justify-content: flex-start;
    padding: 16px 5%;
    display: flex;
  }

  .navigation-link.w--open {
    color: #fff;
    background-color: #7070c2;
    width: 100%;
  }

  .navigation-link.pb-16 {
    margin-bottom: 16px;
  }

  .navigation-link-login {
    color: #303030;
    justify-content: flex-start;
    padding: 16px 5%;
    display: flex;
  }

  .navigation-link-login:hover {
    color: #ff6933;
  }

  .navigation-link-login.w--open {
    color: #fff;
    background-color: #7070c2;
    width: 100%;
  }

  .button-small {
    border-color: #303030;
  }

  .navigation-menu {
    background-color: #fff;
    position: absolute;
    box-shadow: 1px 4px 6px 2px #08080826;
  }

  .navigation-restaurant {
    padding-left: 5%;
    padding-right: 5%;
  }

  .icon {
    color: #303030;
  }
  .hj-breadcrumb{
    padding-left: 5%;
  }
}

@media screen and (max-width: 767px) {
   body{ padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
   .hj-mobile-tabbar{ display: grid; }
   .hj-breadcrumb{
    padding-left: 5%;
  }
  .heading-1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .text-detail {
    font-size: 18px;
  }

  .container {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .grid-category {
    grid-template-rows: auto auto auto auto auto auto auto auto;
    grid-template-columns: 1fr;
  }

  .category {
    max-width: none;
  }

  .a-14 {
    font-size: 14px;
  }

  .grid-col3 {
    grid-template-rows: auto auto auto auto auto auto auto auto auto;
    grid-template-columns: 1fr;
  }

  .card-jobpost {
    max-width: none;
    height: auto;
  }

  .a-16 {
    font-size: 18px;
  }

  .wrap-hotel {
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 1fr 1fr;
  }

  .wrap-footer {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
  }

  .wrap-htj {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    flex-flow: column;
  }

  .a-12 {
    font-size: 18px;
  }
}

@media screen and (max-width: 479px) {
  .heading-1.white, .text-detail,.heading-1sub {
    text-align: center;
  }
 
  .submit-button {
    width: 40%;
  }

  .heading-2 {
    text-align: center;
  }

  .grid-category, .grid-col3 {
    grid-template-rows: auto auto auto auto auto auto auto auto;
    grid-template-columns: 1fr;
  }

  .card-jobpost {
    min-width: 100%;
  }

  .wrap-footer {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 1fr;
  }

  .navigation-menu-button {
    margin-left: 0;
  }

  .navigation-buttons-hide {
    display: none;
  }

  .navigation-link {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .company-name, .heading-3{
    display: -webkit-box;
    -webkit-line-clamp: 1;      /* จำนวนบรรทัดที่ต้องการแสดง เช่น 2 */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .htj-logout-text{
    font-size: 16px;
    font-family: "Anuphan";
    font-weight: 500;
    text-transform: none;
    text-decoration: none;
    color:#e80000ff;
    line-height: 40px;
  }
}


