/* Shared layouts for content exported from WordPress. */
.kintex-reference {
  --content-border: #dce3e9;
  --content-bg: #f6f8fa;
  --content-text: #263545;
  --content-muted: #526173;
  --content-heading: #182c42;
}

.kintex-reference .kintex-faq-item {
  color: var(--content-text);
  background: #fff;
  border: 1px solid var(--content-border);
  border-radius: 4px;
}
.kintex-reference .kintex-faq-item + .kintex-faq-item {
  margin-top: 10px;
}
.kintex-reference :is(.kintex-faq-item, .kintex-guide-index) > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  padding: 15px 18px;
  min-height: 48px;
  color: var(--content-heading);
  font-family: var(--font-display), sans-serif;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.kintex-reference :is(.kintex-faq-item, .kintex-guide-index) > summary::-webkit-details-marker {
  display: none;
}
.kintex-reference :is(.kintex-faq-item, .kintex-guide-index) > summary::after {
  content: "";
  justify-self: center;
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.kintex-reference :is(.kintex-faq-item, .kintex-guide-index)[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}
.kintex-reference :is(.kintex-faq-item, .kintex-guide-index)[open] > summary,
.kintex-reference :is(.kintex-faq-item, .kintex-guide-index) > summary:hover {
  color: var(--brand-blue);
  background: var(--content-bg);
}
.kintex-reference :is(.kintex-faq-item, .kintex-guide-index) > summary:focus-visible,
.kintex-reference .wp-block-table:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}
.kintex-reference .kintex-faq-answer {
  padding: 14px 18px 17px;
  border-top: 1px solid var(--content-border);
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.kintex-reference .kintex-faq-answer > :last-child {
  margin-bottom: 0;
}
.kintex-reference .kintex-guide-faq {
  margin: 18px 0 30px;
}

.kintex-original-article :is(.kintex-article-layout article, .kintex-article-sidebar) {
  min-width: 0;
}
.kintex-original-article .blog-content-body {
  color: var(--content-text) !important;
  overflow-wrap: break-word;
}
.kintex-original-article .blog-content-body :is(h2, h3, h4) {
  color: var(--content-heading);
  line-height: 1.25;
  margin: 1.25em 0 .6em;
  scroll-margin-top: 110px;
}
.kintex-original-article .blog-content-body h2 {
  font-size: clamp(24px, 3vw, 32px);
}
.kintex-original-article .blog-content-body h3 {
  font-size: clamp(20px, 2.5vw, 25px);
}
.kintex-original-article .blog-content-body p {
  margin: 0 0 1em;
}
.kintex-original-article .blog-content-body :is(ul, ol) {
  margin: 0 0 1.25em;
  padding-inline-start: 1.45em;
}
.kintex-original-article .blog-content-body li + li {
  margin-top: .45em;
}
.kintex-original-article .blog-content-body :is(ul, ol) :is(ul, ol) {
  margin: .45em 0 0;
}
.kintex-original-article .blog-content-body a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.kintex-original-article .blog-content-body figure {
  margin: 1.5em 0;
  max-width: 100%;
}
.kintex-original-article .blog-content-body figure img {
  display: block;
  height: auto;
  max-width: 100%;
}
.kintex-original-article .blog-content-body figcaption {
  color: var(--content-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-top: .6em;
}
.kintex-original-article .blog-content-body .wp-block-table {
  overflow-x: auto;
}
.kintex-original-article .blog-content-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92em;
  line-height: 1.5;
}
.kintex-original-article .blog-content-body :is(th, td) {
  padding: .7em .8em;
  border: 1px solid var(--content-border);
  text-align: start;
  vertical-align: top;
}
.kintex-original-article .blog-content-body :is(thead, tbody:first-child > tr:first-child:has(td > strong)) {
  color: var(--content-heading);
  background: var(--content-bg);
}

.kintex-reference main .elementor-posts-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.kintex-reference main .elementor-posts-container > article {
  min-width: 0;
  display: flex;
}
.kintex-reference main .elementor-post__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: var(--content-text);
  border: 1px solid var(--content-border);
  border-radius: 4px;
  overflow: hidden;
}
.kintex-reference main .elementor-post__thumbnail {
  aspect-ratio: 16 / 9;
  background: var(--content-bg);
}
.kintex-reference main .elementor-post__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kintex-reference main .elementor-post__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 18px;
}
.kintex-reference main .elementor-post__title {
  color: var(--content-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.kintex-reference main .elementor-post__excerpt p {
  color: var(--content-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 6px;
}
.kintex-reference main .elementor-post__read-more {
  margin-top: auto;
  color: var(--brand-blue);
  font-weight: 600;
}
.kintex-reference main .elementor-post__meta-data {
  border-top: 1px solid var(--content-border);
  color: var(--content-muted);
  font-size: 13px;
  padding: 10px 18px;
}
.kintex-reference .kintex-guide-index {
  margin-top: 28px;
  border: 1px solid var(--content-border);
  border-radius: 4px;
}
.kintex-reference .kintex-guide-index ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  list-style: none;
  padding: 12px 18px 18px;
  margin: 0;
}
.kintex-reference .kintex-guide-index li {
  padding: 8px 0;
  min-width: 0;
  border-bottom: 1px solid var(--content-border);
}
.kintex-reference :is(.elementor-post__title, .kintex-guide-index) a:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .kintex-reference main .elementor-posts-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .kintex-reference main .elementor-posts-container,
  .kintex-reference .kintex-guide-index ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .kintex-original-article .blog-content-body .wp-block-table table {
    min-width: 420px;
  }
}

.kintex-collection-preview {
  padding: clamp(48px, 7vw, 82px) 0;
  color: var(--content-text);
  background: var(--content-bg);
}
.kintex-collection-preview h2 {
  color: var(--content-heading);
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  margin: 0 0 16px;
}
.kintex-collection-preview p {
  margin: 0 auto 22px;
  max-width: 680px;
  text-align: center;
}
.kintex-collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 26px auto 24px;
}
.kintex-collection-grid:has(> :nth-child(2):last-child) {
  max-width: 620px;
}
.kintex-collection-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--content-heading);
  border: 1px solid var(--content-border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.kintex-collection-card:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.kintex-collection-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ebeff2;
}
.kintex-collection-card-text {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
}
.kintex-collection-shades {
  color: var(--content-muted);
  font-size: 13px;
}
.kintex-collection-preview .container {
  text-align: center;
}
.kintex-collection-card-text {
  text-align: start;
}
.kintex-collection-preview :is(.kintex-collection-card, .kintex-collection-link):focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .kintex-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .kintex-collection-card-text {
    padding: 10px;
  }
}

/* The exported hero has separate desktop, tablet, and phone sections. */
.kintex-original-elementor main [data-elementor-type="wp-page"] >
:is(.elementor-top-section.elementor-hidden-desktop:nth-of-type(-n + 3), .kintex-landing-hero):has(
  > .elementor-container > .elementor-column:nth-child(2):last-child
  .elementor-widget-image img:is([src^="/photos/"], [src^="/media/"])
) {
  --hero-scrim: linear-gradient(90deg, #081828eb 0%, #081828c9 48%, #08182873 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #10263c !important;
  padding: 0 !important;

  & > .elementor-background-overlay {
    display: none;
  }

  & > .elementor-container {
    position: relative;
    isolation: isolate;
    align-items: center;
    min-height: clamp(380px, 51vw, 505px);
    max-width: none !important;
    padding: clamp(44px, 8vw, 82px) clamp(22px, 6vw, 64px);
  }

  & > .elementor-container::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--hero-scrim);
    pointer-events: none;
  }

  & > .elementor-container > .elementor-column:first-child {
    position: relative;
    z-index: 2;
    width: 100% !important;
    max-width: 610px;
    min-width: 0;
  }

  & > .elementor-container > .elementor-column:first-child :is(.elementor-widget-wrap, .elementor-widget-container) {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: start;
  }

  & .elementor-heading-title,
  & .elementor-widget-text-editor {
    color: #fff !important;
    text-shadow: 0 1px 5px rgb(0 0 0 / .34);
  }

  & > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap > .elementor-widget-heading:first-child .elementor-heading-title {
    font-size: clamp(36px, 6vw, 60px) !important;
    line-height: 1.08;
  }

  & .elementor-inner-section .elementor-heading-title {
    font-size: clamp(20px, 3vw, 28px) !important;
    line-height: 1.25;
  }

  & .elementor-inner-section {
    margin: 0 0 18px !important;
    padding: 0 !important;
  }

  & .elementor-widget-text-editor > .elementor-widget-container {
    color: inherit !important;
    line-height: 1.6;
  }

  & .elementor-button {
    background: #fff !important;
    color: #133753 !important;
    border: 1px solid #fff;
    font-weight: 600;
    text-shadow: none;
  }

  & .elementor-button:hover {
    background: #e2ecf5 !important;
  }

  & .elementor-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
  }

  & > .elementor-container > .elementor-column:last-child {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    pointer-events: none;
  }

  & > .elementor-container > .elementor-column:last-child :is(.elementor-widget-wrap, .elementor-widget-image, .elementor-widget-image .elementor-widget-container) {
    position: absolute;
    inset: 0;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  & > .elementor-container > .elementor-column:last-child img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
  }

  @media (max-width: 767px) {
    --hero-scrim: linear-gradient(90deg, #081828df 0%, #081828b3 100%);

    & > .elementor-container {
      min-height: clamp(375px, 59svh, 475px);
    }
  }

  &.kintex-landing-hero {
    --hero-scrim: linear-gradient(90deg, #125297 0%, #125297 34%, #125297eb 44%, #1252976b 65%, #12529700 100%);
    background: #125297 !important;

    & > .elementor-container {
      align-items: flex-start;
      min-height: clamp(380px, 32vw, 462px);
      padding: clamp(40px, 4vw, 57px) max(20px, calc((100% - 1200px) / 2 + 20px));
    }

    & > .elementor-container > .elementor-column:first-child {
      max-width: min(49%, 540px);
    }

    & > .elementor-container > .elementor-column:last-child {
      inset-inline-start: 32%;
      width: auto !important;
    }

    & > .elementor-container > .elementor-column:last-child img {
      object-position: 60% center;
    }
  }
}

/* Switch to the existing compact menu before the full navigation runs out of room. */
@media (min-width: 769px) and (max-width: 960px) {
  .kintex-reference .kintex-header .nav-links,
  .kintex-reference .kintex-header .btn-search-trigger span {
    display: none;
  }

  .kintex-reference .kintex-header .mobile-menu-toggle {
    display: block;
  }
}

.kintex-reference .search-input-header input {
  min-width: 0;
}

/* Keep the exported form honeypot out of the visible layout. */
.kintex-reference .elementor-form .apbct_special_field {
  display: none;
}

/* Bring the next section closer to the desktop hero. */
@media (min-width: 1025px) {
  .kintex-reference .elementor > .elementor-element.kintex-landing-intro {
    padding-top: clamp(44px, 4.5vw, 64px);
  }
}

/* Replace the old diagonal divider with an inset photo and copy panel. */
.kintex-reference .elementor > .elementor-element.kintex-consultation {
  background: #f4f7fa;
  padding: clamp(28px, 5vw, 65px) 20px;

  & > .elementor-shape {
    display: none;
  }

  & > .elementor-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "copy photo";
    max-width: 1160px;
    min-height: 360px;
    isolation: isolate;
    overflow: hidden;
    border-radius: 8px;
    background: #122f50;
  }

  & > .elementor-container > .elementor-column {
    width: 100% !important;
    min-width: 0;
  }

  & > .elementor-container > .elementor-column:first-child {
    grid-area: copy;
  }

  & > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap {
    align-content: center;
    background: transparent;
    padding: clamp(28px, 4.2vw, 62px);
  }

  & .elementor-heading-title {
    color: #fff;
    font-size: clamp(28px, 3.15vw, 42px);
    line-height: 1.15;
    text-wrap: balance;
  }

  & .elementor-widget-text-editor {
    color: #e3edf7;
    line-height: 1.6;
  }

  & .elementor-button {
    background: #fff;
    color: #122f50;
    font-weight: 600;
  }

  & .elementor-button:hover {
    background: #e2ecf5;
  }

  & .elementor-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
  }

  & > .elementor-container > .elementor-column:last-child {
    grid-area: photo;
    position: relative;
  }

  & > .elementor-container > .elementor-column:last-child :is(.elementor-widget-wrap, .elementor-widget-image, .elementor-widget-image .elementor-widget-container) {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  & > .elementor-container > .elementor-column:last-child img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 54%;
  }

  @media (max-width: 767px) {
    & > .elementor-container {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas: "photo" "copy";
      min-height: 0;
    }

    & > .elementor-container > .elementor-column:last-child {
      min-height: clamp(175px, 48vw, 280px);
    }
  }
}

/* Benefits and features share one card style across the material pages. */
.kintex-reference .elementor > .elementor-element.kintex-benefit-section {
  padding: clamp(40px, 5vw, 68px) 20px;

  & > .elementor-container {
    max-width: 1160px;
  }

  & .elementor-widget-heading .elementor-heading-title {
    color: #182c42;
    font-size: clamp(28px, 3.35vw, 42px);
    line-height: 1.15;
    text-wrap: balance;
  }

  & .elementor-element.kintex-benefit-grid {
    padding: 4px 0 0;
    background: transparent;
  }

  & .kintex-benefit-grid > .elementor-container {
    display: grid;
    grid-template-columns: repeat(var(--kintex-benefit-columns, 3), minmax(0, 1fr));
    gap: 16px;
  }

  & .kintex-benefit-grid > .elementor-container > .elementor-column {
    width: 100% !important;
    min-width: 0;
  }

  & .kintex-benefit-grid > .elementor-container > .elementor-column > .elementor-widget-wrap {
    align-content: flex-start;
    padding: clamp(17px, 2vw, 25px);
    margin: 0;
    background: #f5f8fb;
    border: 1px solid #dce5ee;
    border-radius: 6px;
    gap: 12px;
  }

  & .kintex-benefit-grid .elementor-widget {
    margin: 0;
  }

  & .kintex-benefit-grid .elementor-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e4eef8;
    color: #125297;
    font-size: 22px;
  }

  & .kintex-benefit-grid .elementor-widget-heading .elementor-widget-container {
    text-align: start;
  }

  & .kintex-benefit-grid .elementor-heading-title {
    color: #182c42;
    font-size: clamp(19px, 1.6vw, 23px);
    line-height: 1.2;
  }

  & .kintex-benefit-grid .elementor-widget-text-editor > .elementor-widget-container {
    color: #34465a;
    font-size: 15px;
    line-height: 1.6;
  }

  & .kintex-benefit-source {
    display: block !important;
  }

  & .kintex-benefit-duplicate {
    display: none !important;
  }

  & .kintex-benefit-grid .elementor-icon svg {
    fill: currentColor;
  }

  @media (min-width: 1025px) {
    & .kintex-benefit-grid > .elementor-container:has(> :nth-child(4):last-child) {
      --kintex-benefit-columns: 4;
    }

    & .kintex-benefit-grid > .elementor-container:has(> :nth-child(5):last-child) {
      --kintex-benefit-columns: 5;
    }
  }

  @media (max-width: 1024px) {
    & .kintex-benefit-grid > .elementor-container {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 540px) {
    & .kintex-benefit-grid > .elementor-container {
      grid-template-columns: minmax(0, 1fr);
    }
  }
}

/* The overlapping dark spacer belonged to the original form background. */
.kintex-reference .elementor > .elementor-element.kintex-form-spacer {
  display: none;
}

.kintex-reference .elementor > .elementor-element:is(.kintex-contact-panel, .kintex-contact-directory) {
  padding: clamp(36px, 5vw, 72px) 20px;
  background: #edf3f9;
  scroll-margin-top: 90px;
  z-index: auto;

  & > .elementor-container {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    max-width: 1160px;
  }

  & > .elementor-container > .elementor-column {
    width: 100% !important;
    min-width: 0;
  }

  & > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap {
    padding: 0;
    margin: 0;
  }

  & > .elementor-container > .elementor-column:first-child .elementor-widget-heading .elementor-heading-title {
    color: #142d4a;
    font-size: clamp(30px, 3.75vw, 48px);
    line-height: 1.12;
    text-wrap: balance;
  }

  & > .elementor-container > .elementor-column:first-child .elementor-widget-text-editor > .elementor-widget-container {
    color: #34465a;
    padding: 0;
    font-size: 17px;
    line-height: 1.65;
  }

  & > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap {
    margin: 0;
    padding: clamp(20px, 3.35vw, 45px);
    background: #fff;
    border: 1px solid #dce5ee;
    border-radius: 8px;
  }

  & .elementor-form-fields-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    margin: 0;
  }

  & .elementor-form-fields-wrapper > .elementor-field-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  & .elementor-form-fields-wrapper > :is(.elementor-field-type-textarea, .elementor-field-type-submit) {
    grid-column: 1 / -1;
  }

  & .elementor-form-fields-wrapper > :not(.elementor-field-group):has(> input[style*="display:none"]) {
    display: none;
  }

  & .elementor-field-label.elementor-screen-only {
    position: static !important;
    clip: auto;
    clip-path: none;
    width: auto;
    height: auto;
    overflow: visible;
    margin: 0;
    color: #263a52;
    font-size: 14px;
    font-weight: 600;
  }

  & .elementor-field-textual {
    background: #f8fafc;
    border-color: #c2cfdd;
    color: #182c42;
    font-size: 16px;
  }

  & .elementor-field-textual:focus-visible,
  & .elementor-button:focus-visible {
    outline: 2px solid #105bab;
    outline-offset: 2px;
  }

  @media (max-width: 767px) {
    & > .elementor-container {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  @media (max-width: 540px) {
    & .elementor-form-fields-wrapper {
      grid-template-columns: minmax(0, 1fr);
    }
  }
}

.kintex-reference .elementor > .elementor-element.kintex-contact-directory {
  & > .elementor-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  & > .elementor-container > .elementor-column:last-child :is(.elementor-heading-title, .elementor-icon-list-text, .elementor-icon-list-icon i) {
    color: #182c42;
  }

  & > .elementor-container > .elementor-column:last-child .elementor-icon-list-icon svg {
    fill: #125297;
  }

  & > .elementor-container > .elementor-column:last-child a:hover .elementor-icon-list-text {
    color: #105bab;
    text-decoration: underline;
  }

  & .elementor-widget-form > .elementor-widget-container {
    padding: clamp(20px, 2.5vw, 32px);
    background: #fff;
    border: 1px solid #dce5ee;
    border-radius: 8px;
  }

  @media (max-width: 767px) {
    & > .elementor-container {
      grid-template-columns: minmax(0, 1fr);
    }
  }
}

/* Use the full width for the three reasons listed in the original copy. */
.kintex-reference .elementor > .elementor-element.kintex-reasons {
  padding: clamp(36px, 5vw, 72px) 20px;
  background: #f4f7fa;

  & > .elementor-container {
    max-width: 1160px;
  }

  & > .elementor-container > .elementor-column:first-child {
    display: none;
  }

  & > .elementor-container > .elementor-column:last-child {
    width: 100% !important;
  }

  & > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    gap: 0 16px;
    padding: 0;
  }

  & .elementor-widget-heading:first-child {
    grid-column: 1 / -1;
    margin: 0 0 18px;
  }

  & .elementor-widget-heading:first-child .elementor-widget-container {
    padding: 0;
    text-align: center;
  }

  & .elementor-widget-heading:first-child .elementor-heading-title {
    font-size: clamp(30px, 3.35vw, 42px);
    line-height: 1.15;
    color: #182c42;
  }

  & > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > :is(:nth-child(2), :nth-child(3)) {
    grid-column: 1;
  }

  & > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > :is(:nth-child(4), :nth-child(5)) {
    grid-column: 2;
  }

  & > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > :is(:nth-child(6), :nth-child(7)) {
    grid-column: 3;
  }

  & .elementor-widget-heading:not(:first-child),
  & .elementor-widget-text-editor {
    margin: 0;
    background: #fff;
    border: 1px solid #dce5ee;
  }

  & .elementor-widget-heading:not(:first-child) {
    grid-row: 2;
    padding: 22px 22px 8px;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
  }

  & .elementor-widget-text-editor {
    grid-row: 3;
    padding: 0 22px 23px;
    border-top: 0;
    border-radius: 0 0 6px 6px;
  }

  & :is(.elementor-widget-heading, .elementor-widget-text-editor) > .elementor-widget-container {
    padding: 0;
  }

  & .elementor-widget-text-editor > .elementor-widget-container {
    color: #34465a;
    font-size: 15px;
    line-height: 1.65;
  }

  @media (max-width: 767px) {
    & > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap {
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto;
    }

    & > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > :is(.elementor-widget-heading, .elementor-widget-text-editor) {
      grid-column: 1;
      grid-row: auto;
    }

    & .elementor-widget-text-editor:not(:last-child) {
      margin-bottom: 12px;
    }
  }
}


.kintex-reference .elementor > .elementor-element:is(.kintex-contact-panel, .kintex-contact-directory) .elementor-field-textual::placeholder {
  color: transparent;
}

.kintex-reference .elementor > .elementor-element:has(> .elementor-container .elementskit-accordion > .kintex-faq-item) {
  padding: clamp(36px, 5vw, 66px) 20px;

  & > .elementor-container {
    max-width: 920px;
  }
}



/* Showroom photo loader and search (Kintex review, 26 Nov 2026) */
.kx-loading { position: relative; }
.kx-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 3px solid #e2e5ea;
  border-top-color: #9aa1ab;
  border-radius: 50%;
  animation: kx-spin 0.8s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes kx-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .kx-loading::after { animation-duration: 2.4s; } }
.product-card[hidden] { display: none !important; }
.kx-search-empty { margin: 24px 0 0; color: #64748b; font-size: 15px; }

/* Category pages: headings and intro text that sit directly on a blue section background. */
.kintex-reference .elementor > .elementor-element.kintex-benefit-section:is(.elementor-element-b809bf5, .elementor-element-ffe1015) {
  & :is(.elementor-widget-heading .elementor-heading-title, .elementor-widget-text-editor):not(.kintex-benefit-grid *) {
    color: #fff;
  }
}

/* Category pages: FAQ, Why Choose Kintex and the enquiry form close every page in that order. */
.kintex-category-page .elementor > .elementor-top-section:has(.kintex-faq-item) {
  padding-block: clamp(40px, 5vw, 64px);
}
.kintex-category-page .elementor-widget-elementskit-accordion {
  max-width: 960px;
  margin-inline: auto;
}

/* Category pages: ElementsKit flip boxes have no flip styles here, so show them as
   static cards: the front photo on top, the back title and description below. */
:is(.kintex-category-page, .kintex-widget-page) .ekit-flip-box {
  height: auto !important;
  perspective: none;

  & .ekit-flip-box-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto !important;
    transform: none !important;
    background: transparent;
  }

  & .ekit-flip-box-front {
    position: relative !important;
    inset: auto !important;
    height: 200px !important;
    min-height: 0 !important;
    transform: none !important;
    background: none !important;
  }

  & .ekit-flip-box-front .ekit-flip-box-inner-wrap {
    display: none;
  }

  & .ekit-flip-box-back {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    padding: 20px;
    background: #fff !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  & .ekit-flip-box-back .ekit-flip-box-inner-wrap,
  & .ekit-flip-box-back-wrap {
    position: static !important;
    transform: none !important;
    padding: 0 !important;
  }

  & .ekit-flip-box-back-title {
    margin: 0 0 8px;
    color: #182c42 !important;
    font-size: 20px;
  }

  & .ekit-flip-box-back-description {
    margin: 0;
    color: #44566a !important;
    font-size: 15px;
    line-height: 1.6;
  }
}

/* The flip box photo is the background of its column: pin it above the text. */
:is(.kintex-category-page, .kintex-widget-page) .elementor-widget-wrap:has(> .elementor-widget-elementskit-flip-box) {
  padding: 0 !important;
  overflow: hidden;
  background-color: #fff !important;
  background-size: 100% 200px !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  border: 1px solid #dce5ee;
  border-radius: 6px;
}

/* Category pages: FAQ sections added in the build (same look as the sibling FAQs). */
.kintex-category-page .kintex-faq-section {
  padding: clamp(40px, 5vw, 64px) 20px;

  & > .elementor-container {
    max-width: 960px;
  }

  & .elementor-widget-heading {
    text-align: center;
  }

  & p.elementor-heading-title {
    margin: 0 0 6px;
    color: #44566a;
    font-size: 20px;
  }

  & h2.elementor-heading-title {
    margin: 0 0 24px;
    color: #182c42;
    font-size: clamp(30px, 3.35vw, 42px);
  }
}

/* Elementor and ElementsKit icon fonts are not on the static site: draw the same
   icons with Font Awesome 6 (loaded on every page). */
:is(.eicon-chevron-left, .eicon-chevron-right, .icon-right-arrow, .icon-cross, .icon-eye2, .icon-target-2)::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

:is(.icon-whatsapp-1, .icon-instagram, .icon-facebook)::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

.eicon-chevron-left::before { content: "\f053"; }
.eicon-chevron-right::before { content: "\f054"; }
.icon-right-arrow::before { content: "\f061"; }
.icon-cross::before { content: "\f00d"; }
.icon-eye2::before { content: "\f06e"; }
.icon-target-2::before { content: "\f140"; }
.icon-whatsapp-1::before { content: "\f232"; }
.icon-instagram::before { content: "\f16d"; }
.icon-facebook::before { content: "\f39e"; }
