/* WordPress-specific layout and editor output. */
.admin-bar .site-header { top: 32px; }
.custom-logo { width: 100%; height: 100%; object-fit: contain; }
.wp-post-image { width: 100%; height: auto; }
.article-body > * + * { margin-top: 1.5rem; }
.article-body h2 { margin: 2.4rem 0 .7rem; }
.article-body p { color: #536579; }
.article-body a:not(.button) { color: var(--cyan); text-decoration: underline; }
.article-body .alignwide { width: min(1120px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.article-body .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.pagination { margin-top: 44px; display: flex; gap: 10px; }
.pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; }
.pagination .current { color: white; background: var(--navy); }
.form-error { margin: 12px 0 0; color: #b42318; font-weight: 700; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Elementor-editable service pages, matched to the original static design. */
.isg-elementor-page {
  padding-top: 78px;
  color: #0f172a;
  background: #f8fafc;
}
.isg-elementor-page .elementor { background: #f8fafc; }
.isg-elementor-page .elementor > .elementor-section:first-child {
  position: relative;
  overflow: hidden;
  padding: 92px 0 80px;
  background: linear-gradient(140deg, #f8fafc 0%, #f3faff 100%);
  border-bottom: 1px solid rgba(148, 163, 184, .35);
}
.isg-elementor-page .elementor > .elementor-section:first-child::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -190px;
  top: -270px;
  border: 1px solid rgba(6, 182, 212, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(6, 182, 212, .04), 0 0 0 130px rgba(99, 102, 241, .025);
  pointer-events: none;
}
.isg-elementor-page .elementor > .elementor-section:nth-child(2) { padding: 82px 0 96px; }
.isg-elementor-page .elementor > .elementor-section > .elementor-container {
  position: relative;
  width: min(1180px, calc(100% - 60px));
  max-width: none;
  margin: 0 auto;
}
.isg-elementor-page .elementor > .elementor-section:first-child .elementor-widget-wrap,
.isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap {
  padding: 0 !important;
}
.isg-service-breadcrumb { margin: 0 0 28px !important; }
.isg-service-breadcrumb p {
  margin: 0 !important;
  color: #94a3b8 !important;
  font: 700 .66rem/1.4 "Manrope", sans-serif !important;
  letter-spacing: .08em;
}
.isg-service-breadcrumb a { color: #06b6d4 !important; text-decoration: none !important; }
.isg-service-kicker { margin: 0 0 20px !important; }
.isg-service-kicker .elementor-heading-title {
  color: #06b6d4 !important;
  font: 800 .67rem/1.4 "Manrope", sans-serif !important;
  letter-spacing: .17em !important;
}
.isg-service-kicker .elementor-heading-title::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin: 0 12px 4px 0;
  background: #06b6d4;
}
.isg-service-title { max-width: 900px; margin: 0 !important; }
.isg-service-title .elementor-heading-title {
  margin: 0 !important;
  color: #0f172a !important;
  font-family: "Noto Sans Thai", "Manrope", sans-serif !important;
  font-size: clamp(3rem, 5vw, 5.3rem) !important;
  font-weight: 800 !important;
  line-height: 1.03 !important;
  letter-spacing: -.065em !important;
}
.isg-service-intro { max-width: 720px; margin: 26px 0 0 !important; }
.isg-service-intro p {
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
}
.isg-service-button { margin-top: 30px !important; }
.isg-service-button .elementor-button {
  padding: 16px 20px !important;
  color: #f8fafc !important;
  background: #6366f1 !important;
  border-radius: 7px !important;
  box-shadow: 0 14px 30px rgba(99, 102, 241, .2) !important;
  font: 700 .82rem/1 "Noto Sans Thai", "Manrope", sans-serif !important;
}
.isg-service-button .elementor-button:hover { color: #0f172a !important; background: #06b6d4 !important; }
.isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container {
  align-items: flex-start;
  gap: 70px;
}
.isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:first-child {
  width: calc(100% - 400px) !important;
}
.isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child {
  width: 330px !important;
  flex: 0 0 330px;
}
.isg-service-section-title { margin: 0 0 18px !important; }
.isg-service-section-title .elementor-heading-title {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -.035em !important;
}
.isg-service-body-copy { margin: 0 !important; }
.isg-service-body-copy p {
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: 1.08rem !important;
  line-height: 1.85 !important;
}
.isg-service-benefits { margin: 28px 0 48px !important; }
.isg-service-benefits .elementor-icon-list-items {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.isg-service-benefits .elementor-icon-list-item {
  margin: 0 !important;
  padding: 17px !important;
  border: 1px solid rgba(148, 163, 184, .32) !important;
  border-radius: 9px;
  background: #f8fafc;
}
.isg-service-benefits .elementor-icon-list-icon { color: #06b6d4 !important; }
.isg-service-benefits .elementor-icon-list-text {
  color: #0f172a !important;
  font-size: .98rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}
.isg-service-process-title { margin: 0 0 28px !important; }
.isg-service-process-title ~ .isg-service-step-title { counter-increment: isg-process; }
.isg-service-content > .elementor-widget-wrap { counter-reset: isg-process; }
.isg-service-step-title {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 !important;
  padding: 21px 0 8px;
  border-top: 1px solid rgba(148, 163, 184, .35);
}
.isg-service-step-title::before {
  content: "0" counter(isg-process);
  color: #06b6d4;
  font: 800 .8rem/1.8 "Manrope", sans-serif;
}
.isg-service-step-title .elementor-widget-container { grid-column: 2; }
.isg-service-step-title .elementor-heading-title {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 1.22rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}
.isg-service-step-title .elementor-heading-title::first-letter { color: inherit; }
.isg-service-step-copy {
  margin: 0 0 0 59px !important;
  padding: 0 0 21px;
  border-bottom: 1px solid rgba(148, 163, 184, .35);
}
.isg-service-step-copy p {
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: .98rem !important;
  line-height: 1.7 !important;
}
.isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap {
  position: sticky;
  top: 110px;
  padding: 26px !important;
  color: #f8fafc;
  background: #0f172a;
  border-radius: 14px;
}
.isg-service-aside-kicker { margin: 0 0 16px !important; }
.isg-service-aside-kicker .elementor-heading-title {
  color: #06b6d4 !important;
  font: 700 .56rem/1 "Manrope", sans-serif !important;
  letter-spacing: .12em !important;
}
.isg-service-aside-title { margin: 0 0 12px !important; }
.isg-service-aside-title .elementor-heading-title {
  color: #f8fafc !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}
.isg-service-aside-copy { margin: 0 !important; }
.isg-service-aside-copy p {
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: .82rem !important;
  line-height: 1.7 !important;
}
.isg-service-button-light { width: 100%; margin-top: 16px !important; }
.isg-service-button-light .elementor-button { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .isg-elementor-page .elementor > .elementor-section > .elementor-container { width: min(100% - 36px, 1180px); }
  .isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container { display: block; }
  .isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column {
    width: 100% !important;
    max-width: 100%;
    flex: 0 0 auto;
  }
  .isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child { margin-top: 42px; }
  .isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap { position: static; }
}

@media (max-width: 600px) {
  .isg-elementor-page { padding-top: 70px; }
  .isg-elementor-page .elementor > .elementor-section:first-child { padding: 62px 0 58px; }
  .isg-elementor-page .elementor > .elementor-section:nth-child(2) { padding: 58px 0 72px; }
  .isg-service-title .elementor-heading-title { font-size: clamp(2.55rem, 13vw, 3.7rem) !important; }
  .isg-service-intro p { font-size: 1rem !important; }
  .isg-service-benefits .elementor-icon-list-items { grid-template-columns: 1fr; }
  .isg-service-section-title .elementor-heading-title { font-size: 2rem !important; }
  .isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap { padding: 26px !important; }
}

/* Full-width Elementor documents converted from the original PHP page designs. */
.isg-elementor-page:has(.isg-page-document) { padding: 0; }
.isg-elementor-page:has(.isg-page-document) .elementor > .elementor-section {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.isg-elementor-page:has(.isg-page-document) .elementor > .elementor-section > .elementor-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.isg-elementor-page:has(.isg-page-document) .elementor-column,
.isg-elementor-page:has(.isg-page-document) .elementor-widget-wrap {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
}
.isg-elementor-page:has(.isg-page-document) .elementor > .elementor-section > .elementor-container > .elementor-column > .elementor-widget-wrap {
  position: static !important;
  top: auto !important;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.isg-elementor-page:has(.isg-page-document) .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap {
  position: static !important;
  top: auto !important;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.isg-page-document {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.isg-page-document > .elementor-widget-container { margin: 0 !important; }
.isg-page-document .page-hero,
.isg-page-document .page-section,
.isg-page-document .work-page-section,
.isg-page-document .work-page-cta { width: 100%; }
.isg-page-document > .elementor-widget-container > p:empty { display: none; }


/* Mobile fix: content column on service pages collapsed to 0 because the desktop :first-child rule outranked the mobile rule */
@media (max-width: 900px) {
  .isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:first-child,
  .isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column {
    width: 100% !important;
  }
  .isg-elementor-page .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column + .elementor-column {
    margin-top: 32px;
  }
}
