@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@400..900&family=Noto+Sans+Thai:wght@400..900&display=swap");

:root {
  --mis-font-sans: "Noto Sans Lao", "Noto Sans Thai", Arial, sans-serif;
}

body {
  font-family: var(--mis-font-sans);
  color: #051522;
  line-height: 1.72;
}

.thegem-heading .thegem-heading-word,
.mis-section,
.mis-section h1,
.mis-section h2,
.mis-section h3,
.mis-section p,
.mis-section .mis-btn,
.mis-section summary,
.site-footer .widget-title,
.site-footer .textwidget {
  font-family: var(--mis-font-sans) !important;
}

body.page-id-24778 .page-title-block,
body.page-id-24768 .page-title-block,
body.page-id-24773 .page-title-block,
body.page-id-25171 .page-title-block,
body.page-id-24390 .page-title-block,
body.page-id-24823 .page-title-block {
  display: none;
}

.mis-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.mis-section[data-vc-full-width="true"] {
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  padding-right: max(24px, calc((100vw - 1180px) / 2));
}

.mis-section .wpb_content_element {
  margin-bottom: 0;
}

.mis-section h1,
.mis-section h2,
.mis-section h3 {
  color: inherit;
  letter-spacing: normal;
  margin-top: 0;
  text-wrap: balance;
}

.mis-section h1 {
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.24;
  max-width: 850px;
  margin-bottom: 24px;
}

.mis-section h2 {
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.3;
  margin-bottom: 20px;
}

.mis-section h3 {
  font-size: 23px;
  line-height: 1.38;
  margin-bottom: 14px;
}

.mis-section p {
  font-size: 18px;
  max-width: 68ch;
}

.mis-kicker {
  color: #28c7e7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.mis-lead {
  font-size: clamp(19px, 2vw, 24px) !important;
  line-height: 1.65;
  max-width: 62ch !important;
}

.mis-hero,
.mis-page-hero {
  background:
    radial-gradient(circle at 88% 15%, rgba(40, 199, 231, 0.22), transparent 35%),
    linear-gradient(135deg, #051522 0%, #0b2031 62%, #075f9c 130%);
  color: #f4f8fb;
}

.mis-hero {
  min-height: 680px;
}

.mis-page-hero {
  padding-top: 110px;
  padding-bottom: 110px;
}

.mis-hero-image img,
.mis-section-image img {
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  display: block;
  max-height: 500px;
  object-fit: cover;
  width: 100%;
}

.mis-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.mis-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.mis-btn:hover {
  transform: translateY(-2px);
}

.mis-btn-primary {
  background: #28c7e7;
  color: #051522 !important;
  box-shadow: 0 12px 30px rgba(40, 199, 231, 0.25);
}

.mis-btn-secondary {
  background: transparent;
  border-color: #075f9c;
  color: #075f9c !important;
}

.mis-hero .mis-btn-secondary,
.mis-page-hero .mis-btn-secondary {
  border-color: rgba(244, 248, 251, 0.58);
  color: #f4f8fb !important;
}

.mis-btn-light {
  background: #f4f8fb;
  color: #051522 !important;
}

.mis-text-link {
  color: #075f9c !important;
  display: inline-block;
  font-size: 17px;
  font-weight: 800;
  margin-top: 16px;
}

.mis-proof-section {
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  z-index: 3;
}

.mis-proof-grid {
  background: #ffffff;
  border: 1px solid #dce8ef;
  border-radius: 18px;
  box-shadow: 0 20px 65px rgba(5, 21, 34, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -55px;
  overflow: hidden;
}

.mis-proof-grid article {
  color: #5a6c7b;
  font-size: 15px;
  min-height: 142px;
  padding: 28px;
}

.mis-proof-grid article + article {
  border-left: 1px solid #dce8ef;
}

.mis-proof-grid strong {
  color: #075f9c;
  display: block;
  font-size: 25px;
  margin-bottom: 8px;
}

.mis-mission,
.mis-info-panel {
  background: #ffffff;
  border: 1px solid #dce8ef;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(5, 21, 34, 0.07);
  padding: 28px;
}

.mis-mission {
  border-left: 4px solid #28c7e7;
  margin-top: 26px;
}

.mis-mission strong {
  color: #075f9c;
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.mis-mission p,
.mis-info-panel p {
  margin-bottom: 0;
}

.mis-section-muted {
  background: #f4f8fb;
}

.mis-section-heading {
  margin-bottom: 38px;
  max-width: 820px;
}

.mis-card-grid {
  display: grid;
  gap: 22px;
}

.mis-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mis-card {
  background: #ffffff;
  border: 1px solid #dce8ef;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(5, 21, 34, 0.06);
  min-height: 260px;
  padding: 30px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mis-card:hover {
  border-color: #28c7e7;
  box-shadow: 0 20px 50px rgba(5, 21, 34, 0.12);
  transform: translateY(-4px);
}

.mis-card > span {
  color: #28c7e7;
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 30px;
}

.mis-card p {
  color: #5a6c7b;
  font-size: 16px;
}

.mis-card h2 {
  font-size: clamp(25px, 2.15vw, 34px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.mis-card-tags {
  color: #075f9c;
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 16px;
}

body.page-id-24768 .mis-card-grid > .mis-card {
  align-items: stretch;
  display: flex;
  flex-direction: column;
}

body.page-id-24768 .mis-card-logo-strip {
  align-items: center;
  border-top: 1px solid #e2ebf1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
}

body.page-id-24768 .mis-brand-logo {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d9e5ec;
  border-radius: 8px;
  display: flex;
  flex: 1 1 50px;
  height: 36px;
  justify-content: center;
  max-width: 66px;
  min-width: 0;
  overflow: hidden;
  padding: 5px;
  position: relative;
}

body.page-id-24768 .mis-brand-logo img {
  display: block;
  height: auto !important;
  margin: 0 !important;
  max-height: 24px;
  max-width: 52px;
  object-fit: contain;
  width: auto !important;
}

body.page-id-24768 .mis-brand-logo--dark {
  background: #111b25;
  border-color: #111b25;
}

body.page-id-24768 .mis-brand-logo--logitech {
  flex-basis: 50px;
  max-width: 50px;
}

body.page-id-24768 .mis-brand-logo--logitech img {
  max-height: none;
  max-width: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 128px !important;
}

body.page-id-24768 [data-solution-key="network-data-center"] .mis-brand-logo {
  flex-basis: 60px;
}

body.page-id-24768 .mis-brand-logo--pdf-crop img {
  max-height: none;
  max-width: none;
  object-fit: unset;
  position: absolute;
}

body.page-id-24768 .mis-brand-logo--fortinet img {
  left: -26px;
  top: -27px;
  width: 350px !important;
}

body.page-id-24768 .mis-brand-logo--aruba img {
  filter: contrast(1.2);
  left: -338px;
  top: -109px;
  width: 490px !important;
}

body.page-id-24768 .mis-brand-logo--tp-link img {
  filter: brightness(1.35) contrast(1.25);
  left: -32px;
  top: -49px;
  width: 337px !important;
}

body.page-id-24768 .mis-brand-logo--check-point img {
  left: -61px;
  top: -200px;
  width: 340px !important;
}

.mis-centered-action {
  margin-top: 34px;
  text-align: center;
}

.mis-project-list {
  border-bottom: 1px solid #dce8ef;
  border-top: 1px solid #dce8ef;
}

.mis-project-list article {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px 2px;
}

.mis-project-list article + article {
  border-top: 1px solid #dce8ef;
}

.mis-project-list strong {
  font-size: 20px;
}

.mis-project-list span {
  color: #075f9c;
  font-size: 14px;
  font-weight: 750;
  text-align: right;
}

.mis-source-note {
  color: #5a6c7b;
  font-size: 14px !important;
  margin-top: 24px;
}

.mis-pdf-proof {
  margin-top: 0;
}

.mis-pdf-accordion {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.mis-pdf-record {
  background: #ffffff;
  border: 1px solid #dce8ef;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(5, 21, 34, 0.06);
  max-width: 100%;
  min-width: 0;
  overflow: clip;
  width: 100%;
}

.mis-pdf-record[open] {
  border-color: rgba(40, 199, 231, 0.72);
  box-shadow: 0 18px 48px rgba(5, 21, 34, 0.1);
}

.mis-pdf-record > summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 16px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  list-style: none;
  min-height: 84px;
  padding: 18px 58px 18px 22px;
  position: relative;
  user-select: none;
}

.mis-pdf-record > summary::-webkit-details-marker {
  display: none;
}

.mis-pdf-record > summary > br {
  display: none !important;
}

.mis-pdf-record > summary::after {
  color: #075f9c;
  content: "+";
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.mis-pdf-record[open] > summary::after {
  content: "−";
}

.mis-pdf-record > summary > span {
  align-items: center;
  background: #e8f9fc;
  border-radius: 999px;
  color: #075f9c;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 42px;
}

.mis-pdf-record > summary strong {
  color: #051522;
  font-size: 20px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.mis-pdf-record > summary small {
  color: #5a6c7b;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.mis-project-record > summary strong {
  grid-column: 1 / 3;
}

.mis-project-record > summary small {
  grid-column: 3;
}

.mis-pdf-record-body {
  border-top: 1px solid #dce8ef;
  min-width: 0;
  padding: 24px;
}

.mis-pdf-record-body > p {
  color: #5a6c7b;
  font-size: 16px;
  margin-top: 0;
}

.mis-pdf-gallery {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 16px;
  scrollbar-color: #28c7e7 #e6f1f6;
  scrollbar-width: thin;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline mandatory;
}

.mis-pdf-gallery::-webkit-scrollbar {
  height: 10px;
}

.mis-pdf-gallery::-webkit-scrollbar-track {
  background: #e6f1f6;
  border-radius: 999px;
}

.mis-pdf-gallery::-webkit-scrollbar-thumb {
  background: #28c7e7;
  border: 2px solid #e6f1f6;
  border-radius: 999px;
}

.mis-pdf-media-card {
  background: #ffffff;
  border: 1px solid #dce8ef;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(5, 21, 34, 0.08);
  flex: 0 0 min(360px, 78vw);
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.mis-pdf-media-card.mis-pdf-source-page {
  flex-basis: min(760px, 82vw);
}

.mis-pdf-media-card a {
  background: #edf4f8;
  display: block;
}

.mis-pdf-media-card img {
  background: #edf4f8;
  display: block;
  height: 300px;
  object-fit: contain;
  width: 100%;
}

.mis-pdf-source-page img {
  height: clamp(320px, 44vw, 520px);
}

.mis-pdf-media-card figcaption {
  color: #5a6c7b;
  font-size: 13px;
  line-height: 1.5;
  min-height: 58px;
  padding: 10px 14px 12px;
}

.mis-gallery-hint {
  color: #5a6c7b;
  font-size: 13px !important;
  margin: 6px 0 0;
}

.mis-logo-board .mis-pdf-gallery {
  overflow: visible;
  padding-bottom: 0;
}

.mis-logo-board .mis-pdf-media-card {
  flex: 1 1 100%;
  width: 100%;
}

.mis-logo-board .mis-pdf-media-card img {
  height: auto;
  max-height: none;
}

.mis-logo-board .mis-gallery-hint {
  display: none;
}

.mis-cta {
  background: linear-gradient(135deg, #075f9c, #051522);
  color: #f4f8fb;
}

.mis-cta-inner {
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.mis-cta-inner h2,
.mis-cta-inner p {
  margin-bottom: 0;
}

.mis-check-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.mis-check-list li {
  border-top: 1px solid #dce8ef;
  padding: 13px 0 13px 28px;
  position: relative;
}

.mis-check-list li::before {
  color: #28c7e7;
  content: "✓";
  font-weight: 900;
  left: 2px;
  position: absolute;
}

.mis-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mis-tag-cloud span {
  background: #f4f8fb;
  border: 1px solid #dce8ef;
  border-radius: 999px;
  color: #075f9c;
  font-weight: 700;
  padding: 9px 15px;
}

.mis-details-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mis-details-grid details {
  background: #ffffff;
  border: 1px solid #dce8ef;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.mis-details-grid details:hover,
.mis-details-grid details[open] {
  border-color: #28c7e7;
  box-shadow: 0 12px 32px rgba(5, 21, 34, 0.08);
}

.mis-details-grid summary {
  color: #051522;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
  min-height: 66px;
  padding: 20px 52px 20px 22px;
  position: relative;
}

.mis-details-grid summary::-webkit-details-marker {
  display: none;
}

.mis-details-grid summary::after {
  color: #075f9c;
  content: "+";
  font-size: 28px;
  position: absolute;
  right: 22px;
  top: 14px;
}

.mis-details-grid details[open] summary::after {
  content: "−";
}

.mis-details-grid details > div {
  border-top: 1px solid #dce8ef;
  padding: 18px 22px 22px;
}

.mis-details-grid details p {
  color: #5a6c7b;
  font-size: 16px;
  margin: 0;
}

.mis-info-panel-wide {
  margin: 0 auto;
  max-width: 900px;
}

.mis-contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mis-contact-card {
  background: #ffffff;
  border: 1px solid #dce8ef;
  border-radius: 14px;
  color: #051522 !important;
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 26px;
  text-decoration: none !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a.mis-contact-card:hover {
  border-color: #28c7e7;
  box-shadow: 0 18px 42px rgba(5, 21, 34, 0.1);
  transform: translateY(-3px);
}

.mis-contact-card span {
  color: #28c7e7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.mis-contact-card strong {
  font-size: 21px;
  overflow-wrap: anywhere;
}

.mis-contact-card small {
  color: #5a6c7b;
  font-size: 14px;
  margin-top: 9px;
}

.mis-map {
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(5, 21, 34, 0.12);
  overflow: hidden;
}

.mis-map iframe {
  display: block;
  width: 100%;
}

.mis-404 {
  background: #f4f8fb;
  min-height: 75vh;
  text-align: center;
}

.mis-404-inner {
  margin: 0 auto;
  max-width: 760px;
}

.mis-404 .mis-actions {
  justify-content: center;
}

.menu-toggle .menu-line-1,
.menu-toggle .menu-line-2,
.menu-toggle .menu-line-3 {
  background-color: #075f9c !important;
}

#primary-menu > li > a {
  font-weight: 700;
}

.custom-footer {
  display: none !important;
}

/* TheGem adds its legacy stock 404 title block above the custom MIS page. */
.error404 .page-title-block {
  display: none !important;
}

#site-header
  .vc_custom_1643884129371
  .wpb_wrapper
  > .thegem-te-infotext:nth-child(8) {
  display: none !important;
}

body.page-id-24778 .block-content,
body.page-id-24768 .block-content,
body.page-id-24773 .block-content,
body.page-id-25171 .block-content,
body.page-id-24390 .block-content,
body.page-id-24823 .block-content {
  padding-bottom: 0 !important;
}

.mis-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mis-footer-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
  padding: 8px 0;
}

.mis-footer-links a {
  color: #9eb3c3 !important;
}

.mis-footer-links a:hover {
  color: #28c7e7 !important;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #28c7e7 !important;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .mis-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .mis-section[data-vc-full-width="true"] {
    padding-left: 22px;
    padding-right: 22px;
  }

  .mis-hero {
    min-height: auto;
    padding-top: 90px;
  }

  .mis-proof-grid,
  .mis-card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mis-proof-grid article:nth-child(3) {
    border-left: 0;
  }

  .mis-proof-grid article:nth-child(n + 3) {
    border-top: 1px solid #dce8ef;
  }

  .mis-details-grid {
    grid-template-columns: 1fr;
  }

  .mis-pdf-record > summary {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .mis-pdf-record > summary small,
  .mis-project-record > summary small {
    grid-column: 2;
    text-align: left;
    white-space: normal;
  }

  .mis-project-record > summary strong {
    grid-column: 1 / 3;
  }

  .mis-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .mis-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .mis-section h1 {
    font-size: 39px;
  }

  .mis-section h2 {
    font-size: 30px;
  }

  .mis-lead {
    font-size: 18px !important;
  }

  .mis-proof-grid,
  .mis-card-grid-3,
  .mis-contact-grid {
    grid-template-columns: 1fr;
  }

  .mis-proof-grid {
    margin-top: -25px;
  }

  .mis-proof-grid article + article {
    border-left: 0;
    border-top: 1px solid #dce8ef;
  }

  .mis-project-list article {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .mis-project-list span {
    text-align: left;
  }

  .mis-actions,
  .mis-actions .mis-btn {
    width: 100%;
  }

  .mis-card {
    min-height: 0;
  }

  .mis-pdf-record > summary {
    gap: 10px 12px;
    min-height: 76px;
    padding: 15px 48px 15px 16px;
  }

  .mis-pdf-record > summary::after {
    right: 17px;
  }

  .mis-pdf-record > summary strong {
    font-size: 18px;
  }

  .mis-pdf-record-body {
    padding: 16px;
  }

  .mis-pdf-gallery {
    gap: 14px;
    margin-left: -2px;
    margin-right: -2px;
  }

  .mis-pdf-media-card,
  .mis-pdf-media-card.mis-pdf-source-page {
    flex-basis: 84vw;
    max-width: 520px;
  }

  .mis-pdf-media-card img {
    height: 280px;
  }

  .mis-pdf-source-page img {
    height: min(112vw, 460px);
  }

  .mis-logo-board .mis-pdf-media-card {
    max-width: none;
  }

  .mis-logo-board .mis-pdf-media-card img {
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mis-btn,
  .mis-card,
  .mis-contact-card,
  .mis-details-grid details {
    transition: none;
  }

  .mis-pdf-gallery {
    scroll-behavior: auto;
  }
}

/*
 * The home header is transparent and overlays the first row. Reserve enough
 * room for the desktop and mobile header so its logo/menu never cover Hero
 * text, including when the WordPress admin bar is present.
 */
.home .mis-hero {
  box-sizing: border-box;
  min-height: 760px;
  padding-top: 170px;
  padding-bottom: 96px;
}

@media (max-width: 1212px) {
  .home .mis-hero {
    min-height: 720px;
    padding-top: 160px;
    padding-bottom: 80px;
  }
}

@media (max-width: 767px) {
  .home .mis-hero {
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 64px;
  }
}

@media (max-width: 600px) {
  .mis-section h1 {
    font-size: 38px;
    line-height: 1.28;
  }

  .home .mis-hero {
    padding-top: 132px;
    padding-bottom: 56px;
  }
}

/* 2026 visual refresh: meaningful, page-specific imagery replaces flat
 * gradients while retaining a dark text-safe layer and responsive crops. */
.home .mis-hero {
  background-color: #051522;
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 21, 34, 0.98) 0%,
      rgba(5, 21, 34, 0.9) 38%,
      rgba(5, 21, 34, 0.46) 66%,
      rgba(5, 21, 34, 0.12) 100%
    ),
    url("https://www.mongmee.com/wp-content/uploads/2026/07/mis-home-hero-2026.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home .mis-hero-image {
  display: none;
}

body.page-id-24778 .mis-page-hero,
body.page-id-24768 .mis-page-hero,
body.page-id-24773 .mis-page-hero,
body.page-id-24390 .mis-page-hero {
  background-color: #051522;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.page-id-24778 .mis-page-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 21, 34, 0.98) 0%,
      rgba(5, 21, 34, 0.86) 44%,
      rgba(5, 21, 34, 0.2) 76%,
      rgba(5, 21, 34, 0.05) 100%
    ),
    url("https://www.mongmee.com/wp-content/uploads/2026/07/mis-about-hero-2026.webp");
}

body.page-id-24768 .mis-page-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 21, 34, 0.98) 0%,
      rgba(5, 21, 34, 0.88) 44%,
      rgba(5, 21, 34, 0.24) 76%,
      rgba(5, 21, 34, 0.08) 100%
    ),
    url("https://www.mongmee.com/wp-content/uploads/2026/07/mis-solutions-hero-2026.webp");
}

body.page-id-24773 .mis-page-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 21, 34, 0.98) 0%,
      rgba(5, 21, 34, 0.88) 42%,
      rgba(5, 21, 34, 0.34) 70%,
      rgba(5, 21, 34, 0.14) 100%
    ),
    url("https://www.mongmee.com/wp-content/uploads/2026/07/mis-projects-hero-2026.webp");
}

body.page-id-24390 .mis-page-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 21, 34, 0.98) 0%,
      rgba(5, 21, 34, 0.88) 44%,
      rgba(5, 21, 34, 0.3) 76%,
      rgba(5, 21, 34, 0.1) 100%
    ),
    url("https://www.mongmee.com/wp-content/uploads/2026/07/mis-contact-hero-2026.webp");
}

.mis-about-story-image {
  margin: 0;
}

.mis-about-story-image img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto;
  object-position: center;
}

@media (max-width: 767px) {
  .home .mis-hero,
  body.page-id-24778 .mis-page-hero,
  body.page-id-24768 .mis-page-hero,
  body.page-id-24773 .mis-page-hero,
  body.page-id-24390 .mis-page-hero {
    background-position: center;
  }

  .home .mis-hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(5, 21, 34, 0.88) 0%,
        rgba(5, 21, 34, 0.8) 48%,
        rgba(5, 21, 34, 0.92) 100%
      ),
      url("https://www.mongmee.com/wp-content/uploads/2026/07/mis-home-hero-mobile-2026.webp");
  }

  body.page-id-24778 .mis-page-hero {
    background-image:
      linear-gradient(rgba(5, 21, 34, 0.76), rgba(5, 21, 34, 0.9)),
      url("https://www.mongmee.com/wp-content/uploads/2026/07/mis-about-hero-mobile-2026.webp");
  }

  body.page-id-24768 .mis-page-hero {
    background-image:
      linear-gradient(rgba(5, 21, 34, 0.78), rgba(5, 21, 34, 0.92)),
      url("https://www.mongmee.com/wp-content/uploads/2026/07/mis-solutions-hero-mobile-2026.webp");
  }

  body.page-id-24773 .mis-page-hero {
    background-image:
      linear-gradient(rgba(5, 21, 34, 0.8), rgba(5, 21, 34, 0.92)),
      url("https://www.mongmee.com/wp-content/uploads/2026/07/mis-projects-hero-mobile-2026.webp");
  }

  body.page-id-24390 .mis-page-hero {
    background-image:
      linear-gradient(rgba(5, 21, 34, 0.78), rgba(5, 21, 34, 0.92)),
      url("https://www.mongmee.com/wp-content/uploads/2026/07/mis-contact-hero-mobile-2026.webp");
  }

}

/* 2026 contact relocation: keep the primary navigation compact and move the
 * header's social/address/phone information into the existing site footer. */
#site-header
  .thegem-template-header
  > .wpb-content-wrapper
  > .vc_row.vc_row-has-fill,
#site-header > .top-area-background {
  display: none !important;
}

.home .mis-hero {
  min-height: 710px;
  padding-top: 118px;
}

.mis-footer-contact {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  max-width: 560px;
}

.mis-footer-contact-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mis-footer-contact-item {
  background: rgba(5, 21, 34, 0.42);
  border: 1px solid rgba(158, 179, 195, 0.22);
  border-radius: 12px;
  color: #dceaf3 !important;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 13px 15px;
  text-decoration: none !important;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.mis-footer-contact-item:hover {
  background: rgba(40, 199, 231, 0.09);
  border-color: rgba(40, 199, 231, 0.58);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.mis-footer-contact-label {
  color: #28c7e7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.mis-footer-contact-item strong {
  color: inherit;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.mis-footer-contact-item small {
  color: #9eb3c3;
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.mis-facebook-cta {
  align-items: center;
  background: linear-gradient(135deg, #0866ff 0%, #0b5fcc 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(24, 119, 242, 0.28);
  color: #ffffff !important;
  display: flex;
  gap: 13px;
  min-height: 72px;
  padding: 13px 16px;
  text-decoration: none !important;
  transition:
    box-shadow 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.mis-facebook-cta:hover {
  background: linear-gradient(135deg, #0b5fcc 0%, #084a9e 100%);
  box-shadow: 0 18px 42px rgba(8, 102, 255, 0.42);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.mis-footer-contact-item:focus-visible,
.mis-facebook-cta:focus-visible {
  outline: 3px solid #ffd84a;
  outline-offset: 3px;
}

.mis-facebook-mark {
  align-items: flex-end;
  background: #ffffff;
  border-radius: 10px;
  color: #1877f2;
  display: inline-flex;
  flex: 0 0 44px;
  font-family: Arial, sans-serif;
  font-size: 38px;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  line-height: 42px;
  overflow: hidden;
}

.mis-facebook-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.mis-facebook-copy strong {
  color: #ffffff;
  font-size: 19px;
  line-height: 1.2;
}

.mis-facebook-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.3;
}

.mis-facebook-arrow {
  font-size: 22px;
  line-height: 1;
}

#footer-nav .col-md-3.col-md-push-9,
#footer-nav .col-md-6 {
  display: none !important;
}

#footer-nav .col-md-3.col-md-pull-9 {
  left: auto;
  right: auto;
  text-align: center;
  width: 100%;
}

#footer-nav .footer-site-info {
  text-align: center;
}

@media (max-width: 1212px) {
  .home .mis-hero {
    min-height: 670px;
    padding-top: 110px;
  }
}

@media (max-width: 767px) {
  .home .mis-hero {
    min-height: auto;
    padding-top: 88px;
  }

  .mis-footer-contact-meta {
    grid-template-columns: 1fr;
  }

  .mis-facebook-cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mis-footer-contact-item,
  .mis-facebook-cta {
    transition: none;
  }
}

/* MIS gallery lightbox component: BEGIN */
/* MIS cover-card galleries and same-page lightbox. */
body.page-id-24768 .mis-pdf-accordion.mis-gallery-enhanced,
body.page-id-24773 .mis-pdf-accordion.mis-gallery-enhanced {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record,
body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record {
  aspect-ratio: 4 / 3;
  background: #061a29;
  border: 1px solid rgba(40, 199, 231, 0.28);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(5, 21, 34, 0.12);
  min-height: 292px;
  overflow: hidden;
  transform: translateY(0);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record:hover,
body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record:hover,
body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record:focus-within,
body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record:focus-within {
  border-color: #28c7e7;
  box-shadow: 0 22px 54px rgba(5, 21, 34, 0.2);
  transform: translateY(-3px);
}

body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record > summary,
body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record > summary {
  display: block;
  height: 100%;
  min-height: 292px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record > summary::before,
body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record > summary::before {
  background: linear-gradient(
    180deg,
    rgba(3, 17, 28, 0.08) 10%,
    rgba(3, 17, 28, 0.35) 46%,
    rgba(3, 17, 28, 0.96) 100%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record > summary::after,
body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record > summary::after {
  content: none;
}

body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record > summary:focus-visible,
body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record > summary:focus-visible {
  outline: 3px solid #28c7e7;
  outline-offset: -5px;
}

body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record > summary > .mis-gallery-card-cover,
body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record > summary > .mis-gallery-card-cover {
  align-items: initial;
  background: #0a2638;
  border-radius: 0;
  color: inherit;
  display: block;
  font-size: inherit;
  font-weight: inherit;
  height: auto;
  inset: 0;
  justify-content: initial;
  letter-spacing: normal;
  position: absolute;
  width: auto;
}

.mis-gallery-card-cover img {
  display: block;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 520ms cubic-bezier(0.2, 0.65, 0.25, 1);
  width: 100%;
}

body.page-id-24768 .mis-gallery-card-cover img {
  background:
    radial-gradient(circle at 22% 18%, rgba(40, 199, 231, 0.3), transparent 38%),
    linear-gradient(145deg, #062033, #0b4261);
  object-fit: contain;
  padding: 24px;
}

.mis-gallery-enhanced > .mis-pdf-record:hover .mis-gallery-card-cover img,
.mis-gallery-enhanced > .mis-pdf-record:focus-within .mis-gallery-card-cover img {
  transform: scale(1.045);
}

body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record > summary > .mis-gallery-card-content,
body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record > summary > .mis-gallery-card-content {
  align-items: stretch;
  background: transparent;
  border-radius: 0;
  color: inherit;
  display: flex;
  flex-direction: column;
  font-size: inherit;
  font-weight: inherit;
  height: auto;
  inset: 0;
  justify-content: space-between;
  letter-spacing: normal;
  padding: 20px 22px;
  pointer-events: none;
  position: absolute;
  width: auto;
  z-index: 2;
}

.mis-gallery-card-index {
  align-items: center;
  align-self: flex-start;
  background: #28c7e7;
  border: 0;
  border-radius: 999px;
  color: #03111c;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  letter-spacing: 0.08em;
  position: static;
  width: 40px;
}

.mis-gallery-card-text {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.mis-gallery-card-title {
  color: #ffffff !important;
  display: -webkit-box;
  font-size: clamp(18px, 1.55vw, 23px) !important;
  line-height: 1.35 !important;
  overflow: hidden;
  overflow-wrap: anywhere;
  position: static;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mis-gallery-card-description {
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(9px);
  transition:
    max-height 260ms ease,
    opacity 220ms ease,
    transform 260ms ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mis-gallery-enhanced > .mis-pdf-record:hover .mis-gallery-card-description,
.mis-gallery-enhanced > .mis-pdf-record:focus-within .mis-gallery-card-description {
  max-height: 52px;
  opacity: 1;
  transform: translateY(0);
}

.mis-gallery-card-footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.mis-gallery-card-count {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  position: static;
  text-align: left !important;
  white-space: normal !important;
}

.mis-gallery-card-action {
  color: #5ee7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mis-gallery-enhanced > .mis-pdf-record > .mis-pdf-record-body {
  display: none;
}

.fancybox-container.mis-gallery-lightbox {
  font-family: "Noto Sans Lao", "Noto Sans Thai", Arial, sans-serif;
  z-index: 1000000;
}

.mis-gallery-lightbox .fancybox-bg {
  background: #020c14;
}

.mis-gallery-lightbox.fancybox-is-open .fancybox-bg {
  opacity: 0.96;
}

.mis-gallery-lightbox .fancybox-toolbar {
  opacity: 1;
  visibility: visible;
}

.mis-gallery-lightbox:not(.fancybox-show-nav) .fancybox-navigation {
  display: none;
}

.mis-gallery-lightbox .fancybox-button {
  background: rgba(4, 26, 40, 0.84);
  color: #ffffff;
}

.mis-gallery-lightbox .fancybox-button:hover,
.mis-gallery-lightbox .fancybox-button:focus {
  background: #28c7e7;
  color: #03111c;
}

.mis-gallery-lightbox .fancybox-caption {
  background: linear-gradient(0deg, rgba(2, 12, 20, 0.94), transparent);
  color: #ffffff;
  padding: 12px 20px 18px;
}

.mis-lightbox-caption-title {
  display: inline-block;
  font-size: 14px;
  line-height: 1.55;
  max-width: min(880px, 80vw);
}

.mis-gallery-lightbox .fancybox-thumbs {
  background: #061924;
  border-top: 1px solid rgba(40, 199, 231, 0.22);
}

.mis-gallery-lightbox .fancybox-thumbs.fancybox-thumbs-x {
  bottom: 0 !important;
  height: 94px !important;
  left: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 5px 8px !important;
  right: 0 !important;
  top: auto !important;
  width: 100% !important;
}

.mis-gallery-lightbox.fancybox-show-thumbs .fancybox-inner {
  bottom: 94px !important;
  right: 0 !important;
}

.mis-gallery-lightbox .fancybox-thumbs__list {
  height: 82px !important;
  margin-inline: auto;
}

.mis-gallery-lightbox .fancybox-thumbs__list a {
  height: 78px !important;
  width: 104px !important;
}

.mis-gallery-lightbox .fancybox-thumbs__list a::before {
  border: 3px solid #28c7e7;
}

@media (max-width: 980px) {
  body.page-id-24768 .mis-pdf-accordion.mis-gallery-enhanced,
  body.page-id-24773 .mis-pdf-accordion.mis-gallery-enhanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.page-id-24768 .mis-pdf-accordion.mis-gallery-enhanced,
  body.page-id-24773 .mis-pdf-accordion.mis-gallery-enhanced {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record,
  body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record,
  body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record > summary,
  body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record > summary {
    min-height: 268px;
  }

  body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record > summary > .mis-gallery-card-content,
  body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record > summary > .mis-gallery-card-content {
    padding: 18px;
  }

  .mis-gallery-card-title {
    font-size: 20px !important;
  }

  .mis-gallery-card-description {
    max-height: 52px;
    opacity: 1;
    transform: none;
  }

  .mis-gallery-card-action {
    font-size: 11px;
  }

  .mis-gallery-lightbox .fancybox-navigation .fancybox-button {
    height: 48px;
    padding: 12px;
    width: 48px;
  }

  .mis-gallery-lightbox .fancybox-caption {
    padding-inline: 14px;
  }

  .mis-gallery-lightbox .fancybox-thumbs.fancybox-thumbs-x {
    height: 82px !important;
  }

  .mis-gallery-lightbox.fancybox-show-thumbs .fancybox-inner {
    bottom: 82px !important;
  }

  .mis-gallery-lightbox .fancybox-thumbs__list {
    height: 70px !important;
  }

  .mis-gallery-lightbox .fancybox-thumbs__list a {
    height: 66px !important;
    width: 88px !important;
  }

  .mis-lightbox-caption-title {
    font-size: 12px;
    max-width: 92vw;
  }
}

@media (hover: none), (pointer: coarse) {
  .mis-gallery-card-description {
    max-height: 52px;
    opacity: 1;
    transform: none;
  }

  body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record:hover,
  body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record:hover,
  body.page-id-24768 .mis-gallery-enhanced > .mis-pdf-record:focus-within,
  body.page-id-24773 .mis-gallery-enhanced > .mis-pdf-record:focus-within {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mis-gallery-enhanced > .mis-pdf-record,
  .mis-gallery-card-cover img,
  .mis-gallery-card-description {
    transition: none !important;
  }
}
/* MIS gallery lightbox component: END */
