

:root {
  --t99-blue: #123f7a;
  --t99-blue-dark: #0b2850;
  --t99-gold: #f4b63f;
  --t99-green: #2f8f5b;
  --t99-ink: #1f2933;
  --t99-muted: #5f6b7a;
  --t99-line: #e4e8ef;
  --t99-bg: #f6f8fb;
  --t99-surface: #ffffff;
}

html {
  scroll-behavior: smooth;
  overflow-y: auto !important;
}

body {
  margin: 0 !important;
  background: var(--t99-bg) !important;
  color: var(--t99-ink) !important;
  font-family: "Kanit", Arial, sans-serif !important;
  font-weight: 300 !important;
  line-height: 1.65 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  background: var(--t99-blue-dark) !important;
  box-shadow: 0 8px 24px rgba(15, 35, 65, 0.14) !important;
}

.container {
  max-width: 1180px !important;
  min-height: 64px !important;
  padding: 0 24px !important;
  margin: 0 auto !important;
}

.logo-container .logo,
.logo {
  color: #fff !important;
  font-family: "Kanit", Arial, sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.nav-link > a,
.nav-links a {
  min-height: 44px !important;
  padding: 0 14px !important;
  color: #fff !important;
  font-family: "Kanit", Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 300 !important;
  border-radius: 8px !important;
  transition: background-color .18s ease, color .18s ease !important;
}

.nav-link:hover > a,
.nav-links a:hover {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
}

.dropdown,
.dropdown ul,
.dropdown-link > a {
  background: var(--t99-blue-dark) !important;
}

.dropdown-link > a:hover {
  background: rgba(255,255,255,.12) !important;
}

.slideshow-container {
  width: min(1180px, 94%) !important;
  margin: 20px auto 8px auto !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: var(--t99-surface) !important;
  box-shadow: 0 14px 32px rgba(23, 38, 58, .12) !important;
}

.slideshow-container img {
  display: block !important;
  width: 100% !important;
  object-fit: cover !important;
}

.prev,
.next {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(11, 40, 80, .72) !important;
  color: #fff !important;
}

.prev { left: 12px !important; }
.next { right: 12px !important; }

.dot {
  width: 10px !important;
  height: 10px !important;
  background: #c9d1dc !important;
}

.dot.active,
.dot:hover {
  background: var(--t99-gold) !important;
}

.hc1 {
  width: min(1180px, 94%) !important;
  margin: 22px auto 14px auto !important;
  padding: 18px 22px !important;
  background: var(--t99-blue) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 26px rgba(18, 63, 122, .14) !important;
}

.hc1 > h1 {
  width: 100% !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: "Kanit", Arial, sans-serif !important;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

.seo-content,
.category-seo,
.contactSeoBox {
  width: min(1180px, 94%) !important;
  margin: 14px auto 26px auto !important;
  padding: 22px 24px !important;
  background: var(--t99-surface) !important;
  border: 1px solid var(--t99-line) !important;
  border-left: 5px solid var(--t99-gold) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 28px rgba(23, 38, 58, .08) !important;
  color: var(--t99-ink) !important;
}

.seo-content h2,
.category-seo h2,
.contactSeoBox h2 {
  margin: 0 0 10px 0 !important;
  color: var(--t99-blue) !important;
  font-family: "Kanit", Arial, sans-serif !important;
  font-size: clamp(1.18rem, 2vw, 1.55rem) !important;
  font-weight: 400 !important;
  line-height: 1.38 !important;
}

.seo-content h3,
.category-seo h3,
.contactSeoBox h3 {
  margin: 18px 0 8px 0 !important;
  color: var(--t99-ink) !important;
  font-size: 1.08rem !important;
  font-weight: 400 !important;
}

.seo-content p,
.category-seo p,
.contactSeoBox p,
.seo-content li,
.contactSeoBox li {
  color: var(--t99-muted) !important;
  font-size: 1rem !important;
}

.seo-content a,
.category-seo a,
.contactSeoBox a {
  color: var(--t99-blue) !important;
  font-weight: 400 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.hh1 {
  width: min(1180px, 94%) !important;
  margin: 26px auto 14px auto !important;
  padding: 12px 18px !important;
  background: transparent !important;
  border-bottom: 2px solid var(--t99-gold) !important;
  border-radius: 0 !important;
  color: var(--t99-blue-dark) !important;
  cursor: default !important;
}

.hh1 > h2,
.hh1 {
  color: var(--t99-blue-dark) !important;
  font-family: "Kanit", Arial, sans-serif !important;
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.flex-container,
.flex-container88 {
  width: min(1180px, 94%) !important;
  margin: 0 auto 20px auto !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)) !important;
  gap: 16px !important;
  background: transparent !important;
  align-items: stretch !important;
}

.fc2,
.fc288 {
  width: 100% !important;
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
}

.flex-item,
.flex-item88,
.SQ-item,
.SQ-item88 {
  width: 100% !important;
  margin: 0 !important;
  background: transparent !important;
}

.flex-item,
.flex-item88 {
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  padding: 14px !important;
  border-radius: 8px 8px 0 0 !important;
  background: #fff !important;
  border: 1px solid var(--t99-line) !important;
  border-bottom: 0 !important;
  box-shadow: 0 10px 24px rgba(23, 38, 58, .08) !important;
  overflow: hidden !important;
}

.flex-item::before {
  content: none !important;
}

.img1,
.imgIN0188 {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  transition: transform .18s ease !important;
}

.img1:hover,
.imgIN0188:hover {
  transform: scale(1.04) !important;
}

.SQ-text,
.SQ-text88 {
  width: 100% !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 12px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  border: 1px solid var(--t99-line) !important;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 10px 24px rgba(23, 38, 58, .08) !important;
  color: var(--t99-ink) !important;
}

.SQ-text h3,
.SQ-text88 h3,
.SQ-text88 a {
  margin: 0 !important;
  color: var(--t99-ink) !important;
  font-family: "Kanit", Arial, sans-serif !important;
  font-size: .98rem !important;
  font-weight: 300 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

.cb01 {
  width: min(1180px, 94%) !important;
  margin: 0 auto 16px auto !important;
  padding: 12px 14px !important;
  background: #fff !important;
  border: 1px solid var(--t99-line) !important;
  border-radius: 8px !important;
}

.mainContact {
  width: min(1180px, 94%) !important;
  margin: 24px auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr) !important;
  gap: 20px !important;
  background: transparent !important;
  align-items: start !important;
}

.mainMap,
.mainBTcontact {
  width: 100% !important;
  background: #fff !important;
  border: 1px solid var(--t99-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 28px rgba(23, 38, 58, .08) !important;
}

.mainMap {
  padding: 18px !important;
}

.mainBTcontact {
  padding: 18px !important;
}

.textCon01 {
  color: var(--t99-blue) !important;
  font-family: "Kanit", Arial, sans-serif !important;
  font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.iframe01 {
  width: 100% !important;
  min-height: 360px !important;
  border-radius: 8px !important;
}

.btContact {
  width: 100% !important;
  padding: 12px 14px !important;
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border-radius: 8px !important;
  background: var(--t99-blue) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-family: "Kanit", Arial, sans-serif !important;
  box-shadow: none !important;
}

.btContact img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
}

#linkMap01 {
  display: inline-block !important;
  margin-top: 12px !important;
  color: var(--t99-muted) !important;
  font-size: .98rem !important;
}

.mainContact02 {
  margin-top: 30px !important;
  padding: 28px 18px !important;
  background: var(--t99-blue-dark) !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

.mainContact02 a,
.textCon02 a {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.textCon02 {
  font-size: 1.05rem !important;
}

.imgRS01 {
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 8px !important;
}

button,
input[type="submit"],
input[type="button"],
.btContact,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(244, 182, 63, .75) !important;
  outline-offset: 3px !important;
}

@media (max-width: 920px) {
  .container {
    padding: 0 16px !important;
  }

  .flex-container,
  .flex-container88 {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)) !important;
    gap: 12px !important;
  }

  .mainContact {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .slideshow-container {
    width: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
  }

  .hc1,
  .seo-content,
  .category-seo,
  .contactSeoBox,
  .hh1,
  .flex-container,
  .flex-container88,
  .cb01,
  .mainContact {
    width: 92% !important;
  }

  .seo-content,
  .category-seo,
  .contactSeoBox {
    padding: 18px 16px !important;
  }

  .flex-container,
  .flex-container88 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .SQ-text h3,
  .SQ-text88 h3,
  .SQ-text88 a {
    font-size: .9rem !important;
  }

  .mainMap,
  .mainBTcontact {
    padding: 14px !important;
  }

  .iframe01 {
    min-height: 300px !important;
  }
}


/* Tighten SEO content blocks and override the legacy global section height. */
.seo-content,
.category-seo,
.contactSeoBox {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
  align-content: normal !important;
}

.seo-content {
  margin-bottom: 18px !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.seo-content ul,
.contactSeoBox ul {
  margin-top: 4px !important;
  margin-bottom: 8px !important;
}

.seo-content p,
.category-seo p,
.contactSeoBox p {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.seo-content p:last-child,
.category-seo p:last-child,
.contactSeoBox p:last-child {
  margin-bottom: 0 !important;
}
