/* ============================================================
   Lender Toolkit Help Docs — Redesign
   Teamwork Desk custom stylesheet
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

/* ---------- Design tokens / safe global defaults ---------- */
.site--main {
  --ltk-violet: #674eb0;
  --ltk-teal: #5dd3af;
  --ltk-pink: #e43388;
  --ltk-ink: #302356;
  --ltk-lime: #c9dc19;
  --ltk-bg: #f7f6f9;
  --ltk-fg: #1b1925;
  --ltk-card: #ffffff;
  --ltk-primary: #7046cf;
  --ltk-secondary: #f0eff8;
  --ltk-muted-fg: #63616e;
  --ltk-border: #e3e2e9;
  --ltk-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ltk-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ltk-shadow-md: 0 4px 12px rgba(31, 25, 53, .08);
  --ltk-shadow-lg: 0 16px 40px rgba(31, 25, 53, .14);
}

.site--main {
  font-family: var(--ltk-body);
}

.site--main *,
.site--main *::before,
.site--main *::after {
  box-sizing: border-box;
}

/* ---------- Shared redesign utilities ---------- */
.ltk-container {
  width: calc(100% - 32px);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.ltk-gradient {
  background-color: var(--ltk-violet);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px),
    linear-gradient(100deg, #674eb0 0%, #6257b5 48%, #5dd3af 100%);
  color: #fff;
}

.ltk-h2,
.ltk-h3 {
  margin: 0;
  font-family: var(--ltk-heading);
  color: var(--ltk-ink);
}

.ltk-h2 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.ltk-h3 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}

.ltk-muted {
  margin: 4px 0 0;
  color: var(--ltk-muted-fg);
  font-size: 14px;
}

.ltk-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ltk-icon {
  display: inline-block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ltk-icon--20 {
  width: 20px;
  height: 20px;
}

/* ============================== HEADER ============================== */
/* Uses the custom Teamwork header template already installed. */
.site--header.ltk-header {
  min-height: 72px;
  padding: 0;
  border: 0;
  background: #302356 !important;
  box-shadow: none;
}

.ltk-header .ltk-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ltk-header .ltk-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-decoration: none !important;
}

.ltk-header .ltk-brand img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 34px;
}

.ltk-support-label {
  color: rgba(255,255,255,.68);
  font-family: var(--ltk-body);
  font-size: 14px;
  font-weight: 400;
}

.ltk-header .header--nav {
  float: none;
}

.ltk-header .header--nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ltk-header .header--nav li {
  margin: 0;
}

.ltk-header .header--nav a {
  display: block;
  padding: 10px 12px;
  color: rgba(255,255,255,.9) !important;
  font-family: var(--ltk-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  border-radius: 6px;
}

.ltk-header .header--nav a:hover {
  color: #fff !important;
  background: rgba(255,255,255,.09);
}

.ltk-header .header--nav a.ltk-request-button {
  margin-left: 6px;
  padding: 10px 16px;
  background: var(--ltk-lime);
  color: #242036 !important;
}

.ltk-header .header--nav a.ltk-request-button:hover {
  background: #d3e42a;
}

/* =============================== HERO =============================== */
.ltk-hero {
  margin: 0;
}

.ltk-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 52px;
  padding-bottom: 112px;
}

.ltk-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.ltk-tag {
  margin: 0;
  padding: 5px 12px;
  background: var(--ltk-pink);
  color: #fff;
  font-family: var(--ltk-heading);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ltk-hero__title {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: var(--ltk-heading);
  font-size: 56px;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.035em;
}

.ltk-hero__lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.6;
}

.ltk-search {
  width: 100%;
  max-width: 680px;
  margin: 0;
}

.ltk-search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 18px;
  background: #fff;
  color: var(--ltk-fg);
  border-radius: 10px;
  box-shadow: var(--ltk-shadow-lg);
}

.ltk-search__icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  color: #74717d;
}

.ltk-search .ltk-search__input {
  width: 100%;
  height: 54px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ltk-fg);
  font-family: var(--ltk-body);
  font-size: 16px;
}

.ltk-search .ltk-search__input::placeholder {
  color: #777480;
}

/* ============================ OUR PRODUCTS ============================ */
.ltk-products {
  position: relative;
  z-index: 2;
  margin-top: -68px;
}

.ltk-products__panel {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ltk-border);
  border-radius: 15px;
  box-shadow: var(--ltk-shadow-lg);
}

.ltk-products__head {
  margin-bottom: 24px;
}

.ltk-products__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ltk-products__grid > li {
  margin: 0;
  padding: 0;
}

a.ltk-product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 255px;
  height: 100%;
  padding: 16px;
  overflow: hidden;
  background: var(--ltk-bg);
  border: 1px solid var(--ltk-border);
  border-radius: 11px;
  color: var(--ltk-fg) !important;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

a.ltk-product:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(112,70,207,.28);
  box-shadow: var(--ltk-shadow-md);
}

.ltk-product__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

a.ltk-product:hover .ltk-product__bar {
  transform: scaleX(1);
}

.ltk-product--ink .ltk-product__bar { background: var(--ltk-ink); }
.ltk-product--lime .ltk-product__bar { background: var(--ltk-lime); }
.ltk-product--violet .ltk-product__bar { background: var(--ltk-primary); }
.ltk-product--pink .ltk-product__bar { background: var(--ltk-pink); }
.ltk-product--teal .ltk-product__bar { background: var(--ltk-teal); }

.ltk-product__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--ltk-border);
  border-radius: 8px;
}

.ltk-product__image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  color: #8a8792;
  font-family: var(--ltk-heading);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border: 1px dashed #cbc9d2;
  border-radius: 6px;
}

.ltk-product__img {
  display: block;
  max-width: 82%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ltk-product__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ltk-product__name {
  color: var(--ltk-ink);
  font-family: var(--ltk-heading);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

.ltk-product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.ltk-product__cta {
  color: var(--ltk-ink);
  font-size: 13px;
  font-weight: 600;
}

.ltk-product__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: var(--ltk-secondary);
  color: var(--ltk-ink);
  font-size: 17px;
  transition: background .16s ease;
}

a.ltk-product:hover .ltk-product__arrow {
  background: var(--ltk-lime);
}

/* ======================== ADDITIONAL RESOURCES ======================== */
.ltk-resources {
  padding-top: 56px;
}

.ltk-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ltk-resources__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ltk-resources__grid > li {
  margin: 0;
  padding: 0;
}

a.ltk-resource {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  height: 100%;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--ltk-border);
  border-radius: 10px;
  color: var(--ltk-fg) !important;
  text-decoration: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}

a.ltk-resource:hover {
  border-color: rgba(112,70,207,.38);
  box-shadow: 0 4px 14px rgba(31,25,53,.06);
}

.ltk-resource__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  background: var(--ltk-secondary);
  border-radius: 8px;
  color: var(--ltk-ink);
  font-size: 16px;
}

.ltk-resource__text {
  min-width: 0;
  flex: 1;
}

.ltk-resource__name {
  display: block;
  color: var(--ltk-ink);
  font-family: var(--ltk-heading);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.ltk-resource__arrow {
  color: #85828d;
  font-size: 16px;
}

/* ========================= BROWSE DOCUMENTATION ========================= */
.ltk-documentation {
  padding-top: 56px;
  padding-bottom: 64px;
}

.ltk-documentation__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ltk-doc-category {
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ltk-border);
  border-radius: 11px;
}

.ltk-doc-category__title {
  margin: 0 0 14px;
  font-family: var(--ltk-heading);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
}

.ltk-doc-category__title a {
  color: var(--ltk-ink) !important;
  text-decoration: none !important;
}

.ltk-doc-category__title a:hover {
  color: var(--ltk-primary) !important;
}

.ltk-doc-category__articles {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.ltk-doc-category__articles li {
  margin: 0;
  padding: 0;
  border-top: 1px solid #efedf2;
}

.ltk-doc-category__articles li:first-child {
  border-top: 0;
}

.ltk-doc-category__articles a {
  display: block;
  padding: 8px 0;
  color: #45414e !important;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none !important;
}

.ltk-doc-category__articles a:hover {
  color: var(--ltk-primary) !important;
}

a.ltk-link-arrow {
  color: var(--ltk-primary) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

a.ltk-link-arrow:hover {
  text-decoration: underline !important;
}

/* ============================= SUPPORT CTA ============================= */
.ltk-support {
  padding: 48px 0;
  background-color: var(--ltk-violet);
  background-image: linear-gradient(100deg, #674eb0, #5dd3af);
  color: #fff;
}

.ltk-support__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ltk-support__title {
  margin: 0 0 5px;
  color: #fff;
  font-family: var(--ltk-heading);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
}

.ltk-support__copy {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 15px;
}

a.ltk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  font-family: var(--ltk-body);
  font-weight: 600;
  text-decoration: none !important;
}

a.ltk-btn--lime {
  background: var(--ltk-lime);
  color: #242036 !important;
}

a.ltk-btn--lg {
  padding: 12px 18px;
  font-size: 15px;
}

a.ltk-btn--lime:hover {
  background: #d3e42a;
  color: #242036 !important;
}

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1100px) {
  .ltk-products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ltk-documentation__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ltk-container {
    width: calc(100% - 24px);
  }

  .ltk-header .ltk-header-inner {
    min-height: 64px;
  }

  .ltk-support-label {
    display: none;
  }

  .ltk-hero__inner {
    padding-top: 38px;
    padding-bottom: 92px;
  }

  .ltk-hero__title {
    font-size: 38px;
  }

  .ltk-hero__lead {
    font-size: 16px;
  }

  .ltk-products {
    margin-top: -54px;
  }

  .ltk-products__panel {
    padding: 20px;
  }

  .ltk-products__grid,
  .ltk-resources__grid,
  .ltk-documentation__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ltk-support__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .ltk-products__grid,
  .ltk-resources__grid,
  .ltk-documentation__grid {
    grid-template-columns: 1fr;
  }

  .ltk-hero__title {
    font-size: 32px;
  }

  .ltk-products__panel {
    padding: 16px;
  }
}

/* ============================================================
   Original Teamwork custom CSS preserved below
   ============================================================ */

ul.history-path li a, ul.history-path li a:link, ul.history-path li a:active, ul.history-path li a:visited { color: #464a5a !important; text-decoration: none;}

ul.history-path li:last-child a, ul.history-path li:last-child a:link, ul.history-path li:last-child a:active, ul.history-path li:last-child a:visited { color: #c9da33 !important; text-decoration: none; }

ul.history-path li a:hover, ul.history-path li:last-child a:hover {  text-decoration: underline; }

/* ===================== MOST VIEWED + WHAT'S NEW ===================== */
.ltk-home-content {
  padding-top: 52px;
  padding-bottom: 64px;
}

.ltk-home-content__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.ltk-feed-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ltk-border);
  border-radius: 11px;
}

.ltk-feed-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ltk-border);
}

.ltk-feed-card__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--ltk-ink);
  font-family: var(--ltk-heading);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
}

.ltk-feed-card__symbol {
  color: var(--ltk-primary);
  font-size: 18px;
  line-height: 1;
}

.ltk-feed-card__see-all,
a.ltk-feed-card__see-all {
  color: var(--ltk-primary) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}

.ltk-feed-card__see-all:hover,
a.ltk-feed-card__see-all:hover {
  text-decoration: underline !important;
}

.ltk-popular-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ltk-popular;
}

.ltk-popular-list__item {
  counter-increment: ltk-popular;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 0 18px;
  border-bottom: 1px solid #efedf2;
}

.ltk-popular-list__item:last-child {
  border-bottom: 0;
}

.ltk-popular-list__item::before {
  content: counter(ltk-popular);
  color: #8b8795;
  font-size: 12px;
  font-weight: 600;
}

.ltk-popular-list__item a {
  display: block;
  padding: 10px 0;
  overflow: hidden;
  color: #403b49 !important;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ltk-popular-list__item a:hover {
  color: var(--ltk-primary) !important;
  text-decoration: underline !important;
}

.ltk-news-list {
  display: flex;
  flex-direction: column;
}

a.ltk-news-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-height: 84px;
  padding: 16px 18px;
  color: var(--ltk-fg) !important;
  text-decoration: none !important;
  border-bottom: 1px solid #efedf2;
  transition: background .15s ease;
}

a.ltk-news-item:last-child {
  border-bottom: 0;
}

a.ltk-news-item:hover {
  background: #faf9fc;
  text-decoration: none !important;
}

.ltk-news-item__badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 7px;
  background: rgba(228,51,136,.10);
  color: var(--ltk-pink);
  border-radius: 4px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .045em;
}

.ltk-news-item__badge--updated {
  background: rgba(112,70,207,.10);
  color: var(--ltk-primary);
}

.ltk-news-item__title {
  color: var(--ltk-ink);
  font-family: var(--ltk-heading);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.ltk-section-link,
a.ltk-section-link {
  color: var(--ltk-primary) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}

.ltk-section-link:hover,
a.ltk-section-link:hover {
  text-decoration: underline !important;
}

@media (max-width: 767px) {
  .ltk-home-content {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .ltk-home-content__grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   CATEGORY / KNOWLEDGE BASE — Teamwork Desk
   Added in v3. Styles both the native Teamwork category markup
   and the redesigned ltk-* category markup.
   ============================================================ */

/* ---------- Category page base ---------- */
.site--main .content-main {
  width: calc(100% - 32px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 0 72px;
  font-family: var(--ltk-body);
  color: var(--ltk-fg);
}

.site--main .category--structure {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  width: 100%;
}

/* ---------- Native Teamwork category sidebar ---------- */
.site--main .category--structure > aside,
.site--main .category--structure > .left-sidebar,
.site--main .category--structure > .category-sidebar,
.site--main .category--structure > nav {
  min-width: 0;
}

.site--main .category--structure .left-sidebar,
.site--main .category--structure .category-sidebar {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 22px 0 0 !important;
  border-right: 1px solid var(--ltk-border);
}

.site--main .category--structure .left-sidebar ul,
.site--main .category--structure .category-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site--main .category--structure .left-sidebar li,
.site--main .category--structure .category-sidebar li {
  margin: 0;
  padding: 0;
}

.site--main .category--structure .left-sidebar a,
.site--main .category--structure .category-sidebar a {
  display: block;
  padding: 8px 10px;
  color: #56515f !important;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none !important;
  border-radius: 7px;
}

.site--main .category--structure .left-sidebar a:hover,
.site--main .category--structure .category-sidebar a:hover {
  color: var(--ltk-primary) !important;
  background: #f3f0fa;
}

/* ---------- Main category column ---------- */
.site--main .category--structure > .right-content {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.site--main .category--structure > .right-content > header {
  min-height: 48px;
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--ltk-border);
}

.site--main .category--structure > .right-content > header h2 {
  margin: 0;
  padding: 0;
  color: var(--ltk-ink);
  font-family: var(--ltk-heading);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

.site--main .category--structure .input-sort,
.site--main .category--structure select.form-control {
  width: auto !important;
  min-width: 145px;
  height: 36px;
  margin-top: 0 !important;
  padding: 0 34px 0 12px;
  background-color: #fff;
  border: 1px solid var(--ltk-border);
  border-radius: 7px;
  color: #4d4855;
  font-family: var(--ltk-body);
  font-size: 12px;
  box-shadow: none;
}

/* ---------- Article list ---------- */
.site--main .category--structure .content-hold {
  margin: 0;
  padding: 14px 0 0;
}

.site--main .category--structure ul.articles-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ltk-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.site--main .category--structure ul.articles-list > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eceaf0 !important;
  background: #fff;
}

.site--main .category--structure ul.articles-list > li:last-child {
  border-bottom: 0 !important;
}

.site--main .category--structure ul.articles-list > li:hover {
  background: #faf9fc;
}

.site--main .category--structure ul.articles-list > li > a {
  display: flex !important;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 12px 15px !important;
  color: #393442 !important;
  font-family: var(--ltk-body);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none !important;
}

/* Critical fix: Teamwork's article SVG must never inherit giant image sizing */
.site--main .category--structure .articles-list .icon-hold {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  height: 22px !important;
  min-width: 18px !important;
  flex: 0 0 18px !important;
  overflow: hidden;
}

.site--main .category--structure .articles-list .icon-hold img,
.site--main .category--structure .articles-list img[src*="i-article.svg"] {
  display: block !important;
  width: 14px !important;
  height: 18px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

/* ---------- Redesigned category template helpers ---------- */
.site--main .ltk-kb-hero,
.site--main .ltk-category-hero {
  background-color: var(--ltk-violet);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px),
    linear-gradient(100deg, #674eb0 0%, #6257b5 48%, #5dd3af 100%);
  color: #fff;
}

.site--main .ltk-kb-hero__inner,
.site--main .ltk-category-hero__inner {
  width: calc(100% - 32px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 0 34px;
}

.site--main .ltk-kb-title,
.site--main .ltk-category-title {
  margin: 5px 0 0;
  color: #fff;
  font-family: var(--ltk-heading);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.site--main .ltk-breadcrumb,
.site--main .ltk-breadcrumb a {
  color: rgba(255,255,255,.78) !important;
  font-size: 12px;
  text-decoration: none !important;
}

.site--main .ltk-category-layout,
.site--main .ltk-kb-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  width: calc(100% - 32px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 0 72px;
}

.site--main .ltk-category-sidebar,
.site--main .ltk-kb-sidebar {
  min-width: 0;
  padding-right: 22px;
  border-right: 1px solid var(--ltk-border);
}

.site--main .ltk-category-main,
.site--main .ltk-kb-main {
  min-width: 0;
}

.site--main .ltk-category-sidebar ul,
.site--main .ltk-kb-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site--main .ltk-category-sidebar a,
.site--main .ltk-kb-sidebar a {
  display: block;
  padding: 7px 9px;
  color: #56515f !important;
  font-size: 13px;
  text-decoration: none !important;
  border-radius: 7px;
}

.site--main .ltk-category-sidebar a:hover,
.site--main .ltk-kb-sidebar a:hover {
  color: var(--ltk-primary) !important;
  background: #f3f0fa;
}

/* Safety net for article icons anywhere in redesigned KB pages */
.site--main .ltk-category-layout img[src*="i-article.svg"],
.site--main .ltk-kb-layout img[src*="i-article.svg"],
.site--main img.ltk-article-icon {
  width: 14px !important;
  height: 18px !important;
  max-width: 14px !important;
  max-height: 18px !important;
  object-fit: contain !important;
}

/* ---------- Category responsive ---------- */
@media (max-width: 900px) {
  .site--main .category--structure,
  .site--main .ltk-category-layout,
  .site--main .ltk-kb-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site--main .category--structure .left-sidebar,
  .site--main .category--structure .category-sidebar,
  .site--main .ltk-category-sidebar,
  .site--main .ltk-kb-sidebar {
    padding-right: 0 !important;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--ltk-border);
  }
}

@media (max-width: 520px) {
  .site--main .content-main,
  .site--main .ltk-category-layout,
  .site--main .ltk-kb-layout,
  .site--main .ltk-kb-hero__inner,
  .site--main .ltk-category-hero__inner {
    width: calc(100% - 24px);
  }

  .site--main .category--structure > .right-content > header {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .site--main .category--structure .input-sort,
  .site--main .category--structure select.form-control {
    float: none !important;
    width: 100% !important;
  }
}


/* ============================================================
   CATEGORY TEMPLATE v4 — exact classes used by current template
   ============================================================ */

.ltk-kb-page .ltk-kb-hero {
  background-color: var(--ltk-violet);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px),
    linear-gradient(100deg, #674eb0 0%, #6257b5 48%, #5dd3af 100%);
  color: #fff;
}

.ltk-kb-page .ltk-kb-hero > .ltk-container {
  padding-top: 26px;
  padding-bottom: 30px;
}

.ltk-kb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
}

.ltk-kb-breadcrumb a {
  color: rgba(255,255,255,.9) !important;
  text-decoration: none !important;
}

.ltk-kb-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.ltk-kb-title {
  margin: 0 !important;
  color: #fff !important;
  font-family: var(--ltk-heading);
  font-size: 30px !important;
  line-height: 1.15;
  font-weight: 700;
}

.ltk-kb-search {
  position: relative;
  width: min(100%, 360px);
  flex: 0 1 360px;
}

.ltk-kb-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #777080;
  font-size: 17px;
  pointer-events: none;
}

.ltk-kb-search input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 38px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 7px;
  background: #fff;
  color: var(--ltk-fg);
  font-family: var(--ltk-body);
  font-size: 13px;
  outline: none;
  box-shadow: none;
}

.ltk-kb-search input:focus {
  border-color: var(--ltk-primary);
  box-shadow: 0 0 0 3px rgba(126, 69, 219, .12);
}

/* Current template layout */
.ltk-kb-page > .ltk-kb-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 72px;
}

.ltk-kb-sidebar {
  min-width: 0;
  padding-right: 20px;
  border-right: 1px solid var(--ltk-border);
}

.ltk-kb-sidebar-label {
  margin: 0 0 9px 8px;
  color: var(--ltk-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ltk-kb-sidebar ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ltk-kb-sidebar li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ltk-kb-sidebar a {
  display: block;
  padding: 7px 9px;
  border-radius: 7px;
  color: #57515f !important;
  font-size: 12px;
  line-height: 1.3;
  text-decoration: none !important;
}

.ltk-kb-sidebar a:hover {
  color: var(--ltk-primary) !important;
  background: #f3f0fa;
}

.ltk-kb-main {
  min-width: 0;
}

.ltk-category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ltk-border);
}

.ltk-category-heading-copy h2 {
  margin: 0 !important;
  color: var(--ltk-ink) !important;
  font-family: var(--ltk-heading);
  font-size: 27px !important;
  line-height: 1.2;
  font-weight: 700;
}

.ltk-category-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.ltk-category-sort label {
  margin: 0;
  color: var(--ltk-muted);
  font-size: 11px;
  font-weight: 500;
}

.ltk-category-sort select {
  height: 35px;
  min-width: 145px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--ltk-border);
  border-radius: 7px;
  background: #fff;
  color: var(--ltk-fg);
  font-family: var(--ltk-body);
  font-size: 12px;
}

/* Article rows */
.ltk-category-articles {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--ltk-border);
  border-radius: 10px;
  background: #fff;
}

.ltk-category-article {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eceaf0 !important;
  background: #fff;
}

.ltk-category-article:last-child {
  border-bottom: 0 !important;
}

.ltk-category-article:hover {
  background: #faf9fc;
}

.ltk-category-article-link {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 12px 14px !important;
  color: #37313f !important;
  text-decoration: none !important;
}

/* IMPORTANT: exact SVG used in current Category Template */
.ltk-category-article-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  overflow: hidden !important;
  color: #81778d;
}

.ltk-category-article-icon svg {
  display: block !important;
  width: 15px !important;
  height: 18px !important;
  min-width: 15px !important;
  min-height: 18px !important;
  max-width: 15px !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.5 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.ltk-category-article-icon svg path {
  fill: none !important;
  stroke: currentColor !important;
}

.ltk-category-article-title {
  min-width: 0;
  color: #393442;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.ltk-category-article-arrow {
  color: #8b8395;
  font-size: 15px;
  text-align: right;
  transition: transform .15s ease, color .15s ease;
}

.ltk-category-article-link:hover .ltk-category-article-title,
.ltk-category-article-link:hover .ltk-category-article-arrow {
  color: var(--ltk-primary);
}

.ltk-category-article-link:hover .ltk-category-article-arrow {
  transform: translateX(2px);
}

@media (max-width: 820px) {
  .ltk-kb-hero-row {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .ltk-kb-search {
    width: 100%;
    flex-basis: auto;
  }

  .ltk-kb-page > .ltk-kb-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ltk-kb-sidebar {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--ltk-border);
  }
}

@media (max-width: 520px) {
  .ltk-category-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .ltk-category-sort {
    width: 100%;
  }

  .ltk-category-sort select {
    flex: 1;
  }
}

/* ============================================================
   CATEGORY TEMPLATE v5 — internal-page cleanup + visual polish
   ============================================================ */

/* Teamwork injects this legacy grey search/breadcrumb row on internal pages.
   The redesigned KB pages provide their own hero/search, so hide the legacy row. */
.search--row.search-inner {
  display: none !important;
}

/* Give internal KB pages a little more presence and breathing room. */
.ltk-kb-page .ltk-kb-hero > .ltk-container {
  padding-top: 34px;
  padding-bottom: 38px;
}

.ltk-kb-breadcrumb {
  margin-bottom: 13px;
  font-size: 12px;
}

.ltk-kb-title {
  font-size: 36px !important;
  letter-spacing: -.02em;
}

.ltk-kb-search {
  width: min(100%, 430px);
  flex: 0 1 430px;
}

.ltk-kb-search input {
  height: 46px;
  padding-left: 42px;
  border-radius: 9px;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(31,25,53,.12);
}

.ltk-kb-page > .ltk-kb-layout {
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 44px;
  padding-top: 42px;
  padding-bottom: 84px;
}

.ltk-kb-sidebar {
  padding-right: 26px;
}

.ltk-kb-sidebar-label {
  margin-bottom: 12px;
  font-size: 11px;
}

.ltk-kb-sidebar a {
  padding: 9px 10px;
  font-size: 13px;
  line-height: 1.4;
}

.ltk-category-heading {
  padding-bottom: 20px;
}

.ltk-category-heading-copy h2 {
  font-size: 32px !important;
  letter-spacing: -.015em;
}

.ltk-category-sort label {
  font-size: 12px;
}

.ltk-category-sort select {
  height: 40px;
  min-width: 160px;
  padding-left: 12px;
  font-size: 13px;
  border-radius: 8px;
}

.ltk-category-articles {
  margin-top: 18px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(31,25,53,.035);
}

.ltk-category-article-link {
  grid-template-columns: 30px minmax(0, 1fr) 24px;
  gap: 13px;
  min-height: 62px;
  padding: 15px 18px !important;
}

.ltk-category-article-icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  border-radius: 7px;
  background: #f4f1fa;
  color: var(--ltk-primary);
}

.ltk-category-article-icon svg {
  width: 15px !important;
  height: 18px !important;
}

.ltk-category-article-title {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.ltk-category-article-arrow {
  font-size: 17px;
}

@media (max-width: 820px) {
  .ltk-kb-page > .ltk-kb-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }

  .ltk-kb-title {
    font-size: 32px !important;
  }
}

/* ============================================================
   SEARCH TEMPLATE v6 — exact classes used by current template
   ============================================================ */

.ltk-search-page {
  background: #fff;
  min-height: 70vh;
}

.ltk-search-page .ltk-kb-hero > .ltk-container {
  padding-top: 28px;
  padding-bottom: 34px;
}

.ltk-search-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ltk-search-page-form {
  position: relative;
  width: min(100%, 430px);
  flex: 0 1 430px;
  margin: 0;
}

.ltk-search-page-form .ltk-kb-search-icon {
  left: 15px;
}

.ltk-search-page-form input[type="search"] {
  display: block !important;
  width: 100% !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 16px 0 42px !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  border-radius: 8px !important;
  outline: 0 !important;
  background: #fff !important;
  color: var(--ltk-fg) !important;
  font-family: var(--ltk-body) !important;
  font-size: 14px !important;
  line-height: 46px !important;
  box-shadow: 0 8px 24px rgba(31,25,53,.12) !important;
}

.ltk-search-page-form input[type="search"]:focus {
  border-color: rgba(112,70,207,.55) !important;
  box-shadow: 0 0 0 3px rgba(112,70,207,.12), 0 8px 24px rgba(31,25,53,.12) !important;
}

.ltk-search-layout {
  padding-top: 38px;
  padding-bottom: 72px;
}

.ltk-search-main {
  width: 100%;
  min-width: 0;
}

.ltk-search-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ltk-border);
}

.ltk-search-heading-copy {
  min-width: 0;
}

.ltk-search-eyebrow {
  margin: 0 0 7px;
  color: var(--ltk-primary);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ltk-search-heading-copy h2 {
  margin: 0 !important;
  color: var(--ltk-ink) !important;
  font-family: var(--ltk-heading);
  font-size: 27px !important;
  line-height: 1.25;
  font-weight: 700;
}

.ltk-search-results {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--ltk-border);
  border-radius: 11px;
  background: #fff;
}

.ltk-search-result {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eceaf0 !important;
  background: #fff;
}

.ltk-search-result:last-child {
  border-bottom: 0 !important;
}

.ltk-search-result:hover {
  background: #faf9fc;
}

.ltk-search-result-link {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  gap: 13px;
  align-items: center;
  min-height: 72px;
  padding: 15px 18px !important;
  color: #37313f !important;
  text-decoration: none !important;
}

.ltk-search-result-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  overflow: hidden !important;
  border-radius: 7px;
  background: #f3effd;
  color: #8063d9;
}

.ltk-search-result-icon svg {
  display: block !important;
  width: 15px !important;
  height: 18px !important;
  min-width: 15px !important;
  min-height: 18px !important;
  max-width: 15px !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.5 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.ltk-search-result-icon svg path {
  fill: none !important;
  stroke: currentColor !important;
}

.ltk-search-result-content {
  display: block;
  min-width: 0;
}

.ltk-search-result-title {
  display: block;
  margin-bottom: 5px;
  color: #393442;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.ltk-search-result-description {
  display: block;
  max-width: 900px;
  color: #77717d;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
}

.ltk-search-result-description:empty {
  display: none;
}

.ltk-search-result-description strong,
.ltk-search-result-description b {
  color: var(--ltk-primary);
  font-weight: 600;
}

.ltk-search-result-arrow {
  color: #8b8395;
  font-size: 16px;
  text-align: right;
  transition: transform .15s ease, color .15s ease;
}

.ltk-search-result-link:hover .ltk-search-result-title,
.ltk-search-result-link:hover .ltk-search-result-arrow {
  color: var(--ltk-primary);
}

.ltk-search-result-link:hover .ltk-search-result-arrow {
  transform: translateX(2px);
}

.ltk-search-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.ltk-search-pagination-spacer {
  flex: 1;
}

.ltk-search-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--ltk-border);
  border-radius: 7px;
  background: #fff;
  color: var(--ltk-primary) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}

.ltk-search-pagination a:hover {
  background: #f6f3fc;
  border-color: rgba(112,70,207,.3);
}

@media (max-width: 820px) {
  .ltk-search-hero-row,
  .ltk-search-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .ltk-search-page-form {
    width: 100%;
    flex-basis: auto;
  }

  .ltk-search-heading .ltk-category-sort {
    align-self: flex-start;
  }
}

@media (max-width: 520px) {
  .ltk-search-layout {
    padding-top: 28px;
    padding-bottom: 52px;
  }

  .ltk-search-heading-copy h2 {
    font-size: 22px !important;
  }

  .ltk-search-result-link {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 13px 12px !important;
  }

  .ltk-search-result-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
  }
}

/* ============================================================
   SEARCH EMPTY STATE — v7
   ============================================================ */
.ltk-search-empty {
  max-width: 680px;
  margin: 44px auto 0;
  padding: 48px 36px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ltk-border);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(31,25,53,.06);
}

.ltk-search-empty-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  margin: 0 auto 20px;
  overflow: hidden !important;
  border-radius: 50%;
  background: rgba(112,70,207,.10);
  color: var(--ltk-primary);
}

.ltk-search-empty-icon svg {
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  min-height: 25px !important;
  max-width: 25px !important;
  max-height: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.ltk-search-empty-icon svg circle,
.ltk-search-empty-icon svg path {
  fill: none !important;
  stroke: currentColor !important;
}

.ltk-search-empty h3 {
  margin: 0 0 10px !important;
  color: var(--ltk-ink) !important;
  font-family: var(--ltk-heading);
  font-size: 24px !important;
  line-height: 1.3;
  font-weight: 700;
}

.ltk-search-empty p {
  max-width: 500px;
  margin: 0 auto !important;
  color: var(--ltk-muted-fg);
  font-size: 14px;
  line-height: 1.65;
}

.ltk-search-empty p strong {
  color: var(--ltk-ink);
  font-weight: 600;
}

.ltk-search-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ltk-search-empty-primary,
a.ltk-search-empty-primary,
.ltk-search-empty-secondary,
a.ltk-search-empty-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 7px;
  font-family: var(--ltk-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}

.ltk-search-empty-primary,
a.ltk-search-empty-primary {
  border: 1px solid var(--ltk-primary);
  background: var(--ltk-primary);
  color: #fff !important;
}

.ltk-search-empty-primary:hover,
a.ltk-search-empty-primary:hover {
  background: #6139bd;
  border-color: #6139bd;
  color: #fff !important;
}

.ltk-search-empty-secondary,
a.ltk-search-empty-secondary {
  border: 1px solid var(--ltk-border);
  background: #fff;
  color: var(--ltk-ink) !important;
}

.ltk-search-empty-secondary:hover,
a.ltk-search-empty-secondary:hover {
  background: #f7f5fb;
  border-color: rgba(112,70,207,.30);
  color: var(--ltk-primary) !important;
}

@media (max-width: 520px) {
  .ltk-search-empty {
    margin-top: 28px;
    padding: 36px 20px;
  }

  .ltk-search-empty-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ltk-search-empty-primary,
  .ltk-search-empty-secondary {
    width: 100%;
  }
}

/* ============================================================
   ARTICLE TEMPLATE v8
   ============================================================ */
.ltk-article-page { background:#f8f7fa; min-height:70vh; }
.ltk-article-page .ltk-kb-hero > .ltk-container { padding-top:28px; padding-bottom:34px; }
.ltk-article-hero-row { display:flex; align-items:center; justify-content:space-between; gap:36px; }
.ltk-article-hero-copy { min-width:0; max-width:760px; }
.ltk-article-eyebrow { margin:0 0 7px; color:rgba(255,255,255,.78); font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.ltk-article-page .ltk-article-hero-copy .ltk-kb-title { font-size:30px !important; line-height:1.22; }

.ltk-article-layout { display:grid; grid-template-columns:minmax(0, 1fr) 280px; gap:30px; align-items:start; padding-top:36px; padding-bottom:72px; }
.ltk-article-main { min-width:0; }
.ltk-article-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:12px; }
.ltk-article-toolbar-label { color:#77717f; font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.ltk-article-toolbar-actions { display:flex; align-items:center; gap:8px; }
.ltk-article-edit { width:52px; height:24px; overflow:hidden; }
.ltk-article-edit iframe { display:block; width:52px !important; height:24px !important; border:0 !important; margin:0 !important; float:none !important; }
.ltk-article-print { min-height:34px; padding:0 13px; border:1px solid var(--ltk-border); border-radius:7px; background:#fff; color:var(--ltk-ink); font-family:var(--ltk-body); font-size:12px; font-weight:600; cursor:pointer; }
.ltk-article-print:hover { border-color:rgba(112,70,207,.38); color:var(--ltk-primary); }

.ltk-article-card { overflow:hidden; padding:34px 40px 42px; background:#fff; border:1px solid var(--ltk-border); border-radius:12px; box-shadow:0 4px 16px rgba(31,25,53,.045); }
.ltk-article-header { margin:0 0 28px; padding:0 0 22px; border-bottom:1px solid var(--ltk-border); }
.ltk-article-header h1 { margin:0 !important; color:var(--ltk-ink) !important; font-family:var(--ltk-heading); font-size:30px !important; line-height:1.25; font-weight:700; letter-spacing:-.02em; }
.ltk-article-body { color:#403b49; font-family:var(--ltk-body); font-size:15px; line-height:1.72; overflow-wrap:anywhere; }
.ltk-article-body > :first-child { margin-top:0 !important; }
.ltk-article-body > :last-child { margin-bottom:0 !important; }
.ltk-article-body h1,.ltk-article-body h2,.ltk-article-body h3,.ltk-article-body h4 { margin-top:30px; margin-bottom:12px; color:var(--ltk-ink); font-family:var(--ltk-heading); line-height:1.3; }
.ltk-article-body h2 { font-size:23px; }
.ltk-article-body h3 { font-size:19px; }
.ltk-article-body h4 { font-size:16px; }
.ltk-article-body p { margin:0 0 16px; }
.ltk-article-body ul,.ltk-article-body ol { margin:0 0 18px; padding-left:24px; }
.ltk-article-body li { margin-bottom:7px; }
.ltk-article-body a { color:var(--ltk-primary) !important; text-decoration:underline; text-underline-offset:2px; }
.ltk-article-body img { display:block; max-width:100% !important; height:auto !important; margin:20px auto; border-radius:7px; }
.ltk-article-body table { width:100%; margin:20px 0; border-collapse:collapse; background:#fff; }
.ltk-article-body th,.ltk-article-body td { padding:10px 12px; border:1px solid var(--ltk-border); text-align:left; vertical-align:top; }
.ltk-article-body th { background:#f5f3f8; color:var(--ltk-ink); font-weight:600; }
.ltk-article-body pre { max-width:100%; overflow:auto; padding:16px; border:1px solid var(--ltk-border); border-radius:8px; background:#f7f6f9; }
.ltk-article-body code { overflow-wrap:anywhere; }
.ltk-article-body blockquote { margin:20px 0; padding:14px 18px; border-left:3px solid var(--ltk-primary); background:#f7f4fc; color:#514b5b; }

.ltk-article-sidebar { display:flex; flex-direction:column; gap:16px; min-width:0; position:sticky; top:22px; }
.ltk-article-sidebar-card { overflow:hidden; background:#fff; border:1px solid var(--ltk-border); border-radius:10px; }
.ltk-article-sidebar-card h3 { margin:0; padding:15px 16px; border-bottom:1px solid var(--ltk-border); color:var(--ltk-ink); font-family:var(--ltk-heading); font-size:14px; font-weight:700; }
.ltk-article-sidebar-card ul { margin:0 !important; padding:0 !important; list-style:none !important; }
.ltk-article-sidebar-card li { margin:0 !important; padding:0 !important; border-bottom:1px solid #efedf2; }
.ltk-article-sidebar-card li:last-child { border-bottom:0; }
.ltk-article-sidebar-card a { display:grid; grid-template-columns:minmax(0,1fr) 16px; gap:9px; align-items:center; padding:12px 16px; color:#494350 !important; font-size:12px; line-height:1.45; text-decoration:none !important; }
.ltk-article-sidebar-card a:hover { background:#faf9fc; color:var(--ltk-primary) !important; }
.ltk-article-sidebar-arrow { color:#948c9e; text-align:right; }

.ltk-article-footer { margin-top:20px; }
.ltk-article-help { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 24px; background:linear-gradient(100deg, rgba(103,78,176,.10), rgba(93,211,175,.10)); border:1px solid rgba(112,70,207,.16); border-radius:11px; }
.ltk-article-help h3 { margin:0 0 4px; color:var(--ltk-ink); font-family:var(--ltk-heading); font-size:17px; font-weight:700; }
.ltk-article-help p { margin:0; color:var(--ltk-muted-fg); font-size:13px; }
a.ltk-article-help-button { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-height:38px; padding:0 16px; border-radius:7px; background:var(--ltk-primary); color:#fff !important; font-size:12px; font-weight:700; text-decoration:none !important; }
a.ltk-article-help-button:hover { background:#6038bd; color:#fff !important; }

@media (max-width: 960px) {
  .ltk-article-layout { grid-template-columns:1fr; }
  .ltk-article-sidebar { position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .ltk-article-hero-row { align-items:stretch; flex-direction:column; gap:18px; }
  .ltk-article-page .ltk-kb-search { width:100%; flex-basis:auto; }
}
@media (max-width: 620px) {
  .ltk-article-card { padding:26px 20px 30px; }
  .ltk-article-header h1 { font-size:25px !important; }
  .ltk-article-sidebar { grid-template-columns:1fr; }
  .ltk-article-help { align-items:flex-start; flex-direction:column; }
  .ltk-article-toolbar { align-items:flex-start; flex-direction:column; }
}

@media print {
  .ltk-header,.ltk-kb-hero,.ltk-article-toolbar,.ltk-article-sidebar,.ltk-article-help { display:none !important; }
  .ltk-article-page,.ltk-article-card { background:#fff !important; }
  .ltk-article-layout { display:block; padding:0; }
  .ltk-article-card { border:0; box-shadow:none; padding:0; }
}


/* ============================================================
   ARTICLE POLISH v9
   Wider reading column, stronger typography, cleaner sidebar
   ============================================================ */

/* Use more of the available desktop width */
.ltk-article-page .ltk-article-layout {
  max-width: 1440px;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  padding-top: 34px;
  padding-bottom: 80px;
  align-items: start;
}

/* Main article area */
.ltk-article-page .ltk-article-main {
  min-width: 0;
}

.ltk-article-page .ltk-article-card {
  width: 100%;
  padding: 34px 40px 42px;
}

/* Stronger article hierarchy */
.ltk-article-page .ltk-article-header h1 {
  font-size: 30px !important;
  line-height: 1.22;
  margin-bottom: 26px !important;
}

.ltk-article-page .ltk-article-body {
  font-size: 15px;
  line-height: 1.72;
  color: #403b49;
}

.ltk-article-page .ltk-article-body p {
  margin: 0 0 16px;
}

.ltk-article-page .ltk-article-body h2 {
  margin: 34px 0 12px;
  font-size: 22px;
  line-height: 1.3;
}

.ltk-article-page .ltk-article-body h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.ltk-article-page .ltk-article-body h4 {
  margin: 24px 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.ltk-article-page .ltk-article-body ul,
.ltk-article-page .ltk-article-body ol {
  margin-top: 10px;
  margin-bottom: 18px;
  padding-left: 26px;
}

.ltk-article-page .ltk-article-body li {
  margin-bottom: 6px;
}

/* Documentation screenshots should be useful, not thumbnails */
.ltk-article-page .ltk-article-body img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 820px) !important;
  margin: 22px auto 28px;
}

/* Tables/code stay inside the card */
.ltk-article-page .ltk-article-body table {
  width: 100%;
  max-width: 100%;
}

.ltk-article-page .ltk-article-body pre {
  max-width: 100%;
  overflow-x: auto;
}

/* Toolbar */
.ltk-article-page .ltk-article-toolbar {
  margin-bottom: 12px;
}

/* Sidebar sits naturally beside the article */
.ltk-article-page .ltk-article-sidebar {
  position: sticky;
  top: 24px;
  width: 100%;
  min-width: 0;
}

.ltk-article-page .ltk-article-sidebar-card {
  width: 100%;
  margin-bottom: 18px;
  padding: 20px;
  border-radius: 11px;
}

.ltk-article-page .ltk-article-sidebar-card h3 {
  margin: 0 0 13px;
  font-size: 15px;
}

.ltk-article-page .ltk-article-sidebar-card li a {
  gap: 12px;
  padding: 11px 0;
  font-size: 13px;
  line-height: 1.45;
}

/* Help CTA gets a little more breathing room */
.ltk-article-page .ltk-article-help {
  margin-top: 24px;
  padding: 24px 28px;
}

/* Medium desktop/tablet */
@media (max-width: 1100px) {
  .ltk-article-page .ltk-article-layout {
    max-width: 1280px;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 24px;
  }

  .ltk-article-page .ltk-article-card {
    padding: 30px 32px 38px;
  }
}

/* Stack sidebar below the article when space becomes tight */
@media (max-width: 860px) {
  .ltk-article-page .ltk-article-layout {
    grid-template-columns: 1fr;
  }

  .ltk-article-page .ltk-article-sidebar {
    position: static;
  }

  .ltk-article-page .ltk-article-card {
    padding: 28px 26px 34px;
  }
}

@media (max-width: 520px) {
  .ltk-article-page .ltk-article-card {
    padding: 22px 18px 28px;
  }

  .ltk-article-page .ltk-article-header h1 {
    font-size: 25px !important;
  }

  .ltk-article-page .ltk-article-body {
    font-size: 14px;
    line-height: 1.68;
  }

  .ltk-article-page .ltk-article-help {
    padding: 20px;
  }
}


/* ============================================================
   ARTICLE WIDTH ALIGNMENT v10
   Align article content with the shared 1280px site container.
   ============================================================ */

.ltk-article-page .ltk-article-layout {
  max-width: 1280px;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
}

/* Keep the article comfortably readable inside the aligned layout */
.ltk-article-page .ltk-article-card {
  padding-left: 36px;
  padding-right: 36px;
}

@media (max-width: 1100px) {
  .ltk-article-page .ltk-article-layout {
    max-width: 1280px;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
  }

  .ltk-article-page .ltk-article-card {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 860px) {
  .ltk-article-page .ltk-article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ltk-article-page .ltk-article-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* ============================================================
   HEADER SUPPORT BADGE + FOOTER v11
   ============================================================ */

/* Support label: compact badge next to the white LTK logo */
.ltk-header .ltk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ltk-header .ltk-support-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 4px 9px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Footer */
.site--footer.ltk-footer {
  margin: 0;
  padding: 0;
  border: 0;
  background: #302356;
  color: rgba(255,255,255,.78);
}

.ltk-footer .ltk-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 34px;
  padding-bottom: 30px;
}

.ltk-footer .ltk-footer__brand {
  min-width: 0;
}

.ltk-footer .ltk-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none !important;
}

.ltk-footer .ltk-footer__logo:hover,
.ltk-footer .ltk-footer__logo:focus {
  color: #fff;
  text-decoration: none !important;
}

.ltk-footer .ltk-footer__logo img {
  display: block;
  width: auto;
  height: 30px;
  max-width: 190px;
  object-fit: contain;
}

.ltk-footer .ltk-footer__support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ltk-footer .ltk-footer__tagline {
  margin: 11px 0 0;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  line-height: 1.5;
}

.ltk-footer .ltk-footer__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.ltk-footer .ltk-footer__nav a {
  color: rgba(255,255,255,.82) !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  white-space: nowrap;
}

.ltk-footer .ltk-footer__nav a:hover,
.ltk-footer .ltk-footer__nav a:focus {
  color: #fff !important;
  text-decoration: none !important;
}

.ltk-footer .ltk-footer__bottom {
  padding-top: 16px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.ltk-footer .ltk-footer__bottom p {
  margin: 0;
  color: rgba(255,255,255,.48);
  font-size: 12px;
  line-height: 1.4;
}

/* Prevent inherited Teamwork footer rules from distorting our layout */
.ltk-footer .ltk-container {
  width: calc(100% - 48px);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 860px) {
  .ltk-footer .ltk-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .ltk-footer .ltk-footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .ltk-footer .ltk-container {
    width: calc(100% - 32px);
  }

  .ltk-footer .ltk-footer__inner {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .ltk-footer .ltk-footer__nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .ltk-footer .ltk-footer__logo img {
    height: 27px;
  }
}


/* ============================================================
   PAGE HEIGHT / FOOTER POSITION FIX v12
   Keep the footer at the bottom of the viewport when a page is
   shorter than the browser window, without making the footer tall.
   ============================================================ */

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
}

.site--wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site--main {
  flex: 1 0 auto;
}

.site--footer.ltk-footer {
  flex-shrink: 0;
}


/* ============================================================
   FOOTER CLEANUP v13
   Remove the unnecessary lower footer row and inherited spacing.
   ============================================================ */

.ltk-footer .ltk-footer__bottom {
  display: none !important;
}

.site--footer.ltk-footer,
.site--footer.ltk-footer .ltk-footer__inner {
  margin-bottom: 0 !important;
}

.ltk-footer .ltk-footer__inner {
  padding-top: 30px;
  padding-bottom: 30px;
}

.site--footer.ltk-footer {
  min-height: 0 !important;
  height: auto !important;
}


/* ============================================================
   HEADER REQUEST BUTTON FIX v14
   Teamwork's default header link state was overriding the button
   until hover. Force the CTA appearance in every link state.
   ============================================================ */

.ltk-header .ltk-header-nav a.ltk-request-button,
.ltk-header .ltk-header-nav a.ltk-request-button:link,
.ltk-header .ltk-header-nav a.ltk-request-button:visited {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 20px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #c8e600 !important;
  color: #20143f !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

.ltk-header .ltk-header-nav a.ltk-request-button:hover,
.ltk-header .ltk-header-nav a.ltk-request-button:focus,
.ltk-header .ltk-header-nav a.ltk-request-button:active {
  background: #d4ee18 !important;
  color: #20143f !important;
  text-decoration: none !important;
  opacity: 1 !important;
}


/* ============================================================
   GLOBAL CONTENT GRID v15
   One shared width across Header, Home, Category, Search,
   Article, CTA and Footer.
   ============================================================ */

:root {
  --ltk-content-max-width: 960px;
}

/* Shared custom containers */
.ltk-container,
.ltk-article-page .ltk-article-layout,
.ltk-footer .ltk-container {
  width: calc(100% - 48px) !important;
  max-width: var(--ltk-content-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Header uses Teamwork's .container rather than .ltk-container */
.ltk-header .ltk-header-inner {
  width: calc(100% - 48px) !important;
  max-width: var(--ltk-content-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Keep article proportions sensible inside the narrower global grid */
.ltk-article-page .ltk-article-layout {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
}

@media (max-width: 1100px) {
  .ltk-article-page .ltk-article-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .ltk-article-page .ltk-article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ltk-container,
  .ltk-article-page .ltk-article-layout,
  .ltk-footer .ltk-container,
  .ltk-header .ltk-header-inner {
    width: calc(100% - 32px) !important;
  }
}


/* ============================================================
   CONTACT / SUBMIT REQUEST MODAL v16
   Visual redesign only. Keeps Teamwork's original fields,
   names, validation, upload and submission behavior intact.
   ============================================================ */

#contact-form {
  font-family: inherit;
}

#contact-form .modal-dialog {
  width: auto;
  max-width: 680px;
  margin: 48px auto;
  padding: 0 16px;
}

#contact-form .modal-content {
  overflow: hidden;
  border: 1px solid rgba(48, 35, 86, .12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(32, 20, 63, .24);
}

#contact-form .modal-header {
  position: relative;
  padding: 26px 30px 20px;
  border-bottom: 1px solid #ebe8f1;
  background: #fff;
}

#contact-form .modal-title {
  margin: 0;
  padding-right: 44px;
  color: #302356;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

#contact-form .modal-header .close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f3f8;
  color: #655d72;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  text-shadow: none;
  opacity: 1;
}

#contact-form .modal-header .close:hover,
#contact-form .modal-header .close:focus {
  background: #eeeaf5;
  color: #302356;
  opacity: 1;
  outline: none;
}

#contact-form .modal-body {
  padding: 26px 30px 14px;
}

/* Neutralize Teamwork's old label/input column layout */
#contact-form .modal-body > .form-group {
  display: block;
  margin: 0 0 20px;
}

#contact-form .col-labels,
#contact-form .col-inputs {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

#contact-form .col-inputs > .form-group {
  margin: 0;
}

#contact-form .in_label {
  display: block;
  margin: 0 0 8px;
  color: #302356;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

#contact-form .form-control {
  display: block;
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #dcd8e5;
  border-radius: 8px;
  background: #faf9fc;
  color: #302b38;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

#contact-form .form-control:hover {
  border-color: #c8c1d5;
}

#contact-form .form-control:focus {
  border-color: #7447e8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(116, 71, 232, .12);
  outline: none;
}

#contact-form textarea.form-control {
  min-height: 132px;
  height: 132px;
  resize: vertical;
}

/* Keep the native file control functional, but make it match the form */
#contact-form input[type="file"].form-control {
  height: auto;
  min-height: 46px;
  padding: 7px 9px;
  background: #faf9fc;
  cursor: pointer;
}

#contact-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 12px;
  border: 1px solid #d8d3e1;
  border-radius: 6px;
  background: #fff;
  color: #302356;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#contact-form input[type="file"]::file-selector-button:hover {
  background: #f4f1f8;
}

#contact-form .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 30px 24px;
  border-top: 1px solid #ebe8f1;
  background: #fff;
  text-align: right;
}

#contact-form .modal-footer .btn {
  min-width: 108px;
  margin: 0;
  padding: 11px 18px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
}

#contact-form .modal-footer .btn-default {
  border: 1px solid #d8d3e1;
  background: #fff;
  color: #4c4556;
}

#contact-form .modal-footer .btn-default:hover,
#contact-form .modal-footer .btn-default:focus {
  border-color: #c8c1d5;
  background: #f6f4f8;
  color: #302356;
}

#contact-form .modal-footer .btn-primary,
#contact-form .modal-footer input.btn-primary {
  border: 1px solid #c8e600 !important;
  background: #c8e600 !important;
  color: #20143f !important;
}

#contact-form .modal-footer .btn-primary:hover,
#contact-form .modal-footer .btn-primary:focus,
#contact-form .modal-footer input.btn-primary:hover,
#contact-form .modal-footer input.btn-primary:focus {
  border-color: #d4ee18 !important;
  background: #d4ee18 !important;
  color: #20143f !important;
}

/* Backdrop: slightly softer than Bootstrap default */
.modal-backdrop.in {
  opacity: .42;
}

/* Prevent Bootstrap's body compensation from visually shifting the site */
body.modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  #contact-form .modal-dialog {
    max-width: none;
    margin: 20px auto;
    padding: 0 12px;
  }

  #contact-form .modal-header {
    padding: 22px 20px 18px;
  }

  #contact-form .modal-title {
    font-size: 21px;
  }

  #contact-form .modal-body {
    padding: 22px 20px 10px;
  }

  #contact-form .modal-footer {
    padding: 16px 20px 20px;
  }
}

@media (max-width: 480px) {
  #contact-form .modal-dialog {
    margin: 10px auto;
    padding: 0 8px;
  }

  #contact-form .modal-content {
    border-radius: 12px;
  }

  #contact-form .modal-body > .form-group {
    margin-bottom: 16px;
  }

  #contact-form .modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  #contact-form .modal-footer .btn {
    width: 100%;
  }
}


/* ============================================================
   CONTACT MODAL COMPACT FIT v17
   Fit the complete request form comfortably in a typical
   desktop viewport without requiring page scrolling.
   ============================================================ */

#contact-form .modal-dialog {
  max-width: 620px;
  margin: 22px auto;
}

#contact-form .modal-header {
  padding: 18px 24px 14px;
}

#contact-form .modal-title {
  font-size: 22px;
}

#contact-form .modal-header .close {
  top: 12px;
  right: 16px;
  width: 34px;
  height: 34px;
}

#contact-form .modal-body {
  padding: 18px 24px 8px;
}

#contact-form .modal-body > .form-group {
  margin-bottom: 13px;
}

#contact-form .in_label {
  margin-bottom: 5px;
  font-size: 12px;
}

#contact-form .form-control {
  height: 38px;
  padding: 8px 11px;
  font-size: 13px;
}

#contact-form textarea.form-control {
  min-height: 92px;
  height: 92px;
}

#contact-form input[type="file"].form-control {
  min-height: 40px;
  padding: 5px 7px;
}

#contact-form input[type="file"]::file-selector-button {
  padding: 5px 10px;
}

#contact-form .modal-footer {
  padding: 13px 24px 16px;
}

#contact-form .modal-footer .btn {
  min-width: 100px;
  padding: 9px 16px;
  font-size: 13px;
}

/* If the viewport is unusually short, scroll inside the modal,
   not the whole page. */
#contact-form .modal-content {
  max-height: calc(100vh - 44px);
}

#contact-form .modal-body {
  overflow-y: auto;
  max-height: calc(100vh - 160px);
}

@media (max-width: 720px) {
  #contact-form .modal-dialog {
    margin: 12px auto;
  }

  #contact-form .modal-header {
    padding: 16px 18px 13px;
  }

  #contact-form .modal-body {
    padding: 16px 18px 6px;
    max-height: calc(100vh - 145px);
  }

  #contact-form .modal-footer {
    padding: 12px 18px 14px;
  }
}


/* ============================================================
   CONTACT MODAL POSITION + BACKDROP v18
   Darker translucent overlay and true viewport centering.
   ============================================================ */

#contact-form.in {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 18px !important;
}

#contact-form .modal-dialog {
  width: 100%;
  max-width: 620px;
  margin: 0 auto !important;
  padding: 0;
}

#contact-form .modal-content {
  max-height: calc(100vh - 36px);
}

/* Keep the page visible, but clearly de-emphasized behind the dialog. */
.modal-backdrop.in {
  background: #20143f !important;
  opacity: .64 !important;
}

@media (max-height: 720px) {
  #contact-form.in {
    align-items: flex-start;
    overflow-y: auto;
  }

  #contact-form .modal-dialog {
    margin: 8px auto !important;
  }
}

@media (max-width: 720px) {
  #contact-form.in {
    padding: 12px !important;
  }
}


/* ============================================================
   HEADER RESPONSIVE FIX v22
   Desktop is explicitly restored.
   Mobile follows Teamwork's native open/close state.
   ============================================================ */

/* DESKTOP / TABLET: always show the normal navigation */
@media (min-width: 768px) {
  .ltk-header .menu-toggle {
    display: none !important;
  }

  .ltk-header .ltk-header-nav,
  .ltk-header .header--nav {
    display: block !important;
    position: static !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .ltk-header .ltk-header-nav ul,
  .ltk-header .header--nav ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ltk-header .ltk-header-nav li,
  .ltk-header .header--nav li {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
  }

  .ltk-header .ltk-header-nav a,
  .ltk-header .header--nav a {
    width: auto !important;
    white-space: nowrap !important;
  }
}

/* Slightly tighten the desktop nav before mobile */
@media (min-width: 768px) and (max-width: 1050px) {
  .ltk-header .ltk-header-inner {
    width: calc(100% - 32px) !important;
    gap: 16px !important;
  }

  .ltk-header .ltk-header-nav ul,
  .ltk-header .header--nav ul {
    gap: 6px !important;
  }

  .ltk-header .ltk-header-nav a,
  .ltk-header .header--nav a {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 13px !important;
  }

  .ltk-header .ltk-header-nav a.ltk-request-button,
  .ltk-header .header--nav a.ltk-request-button {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* MOBILE: Teamwork controls whether the nav is hidden or visible.
   We only control how it looks once it is visible. */
@media (max-width: 767px) {
  .ltk-header {
    position: relative !important;
  }

  .ltk-header .ltk-header-inner {
    position: relative !important;
    width: calc(100% - 32px) !important;
    min-height: 72px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .ltk-header .ltk-brand {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    gap: 8px !important;
  }

  .ltk-header .ltk-brand img {
    width: auto !important;
    max-width: 190px !important;
    max-height: 36px !important;
  }

  .ltk-header .ltk-support-label {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 3px 7px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .ltk-header .menu-toggle {
    position: relative !important;
    z-index: 1002 !important;
    display: flex !important;
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.20) !important;
    border-radius: 9px !important;
    background: rgba(255,255,255,.07) !important;
  }

  .ltk-header .menu-toggle .menu-lines {
    display: flex !important;
    width: 20px !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .ltk-header .menu-toggle .menu-lines span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    margin: 0 !important;
    background: #fff !important;
    border-radius: 2px !important;
  }

  /* Do NOT set display here: Teamwork owns open/closed state. */
  .ltk-header .ltk-header-nav,
  .ltk-header .header--nav {
    position: absolute !important;
    z-index: 1000 !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 14px 20px 20px !important;
    background: #302356 !important;
    border-top: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: 0 18px 34px rgba(32,20,63,.22) !important;
    transform: translateX(-50%) !important;
  }

  .ltk-header .ltk-header-nav ul,
  .ltk-header .header--nav ul {
    display: flex !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 2px !important;
  }

  .ltk-header .ltk-header-nav li,
  .ltk-header .header--nav li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ltk-header .ltk-header-nav a,
  .ltk-header .header--nav a,
  .ltk-header .ltk-header-nav a:link,
  .ltk-header .header--nav a:link,
  .ltk-header .ltk-header-nav a:visited,
  .ltk-header .header--nav a:visited {
    display: flex !important;
    width: 100% !important;
    min-height: 44px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: normal !important;
    text-decoration: none !important;
  }

  .ltk-header .ltk-header-nav a:hover,
  .ltk-header .header--nav a:hover,
  .ltk-header .ltk-header-nav a:focus,
  .ltk-header .header--nav a:focus {
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
  }

  .ltk-header .ltk-header-nav a.ltk-request-button,
  .ltk-header .header--nav a.ltk-request-button,
  .ltk-header .ltk-header-nav a.ltk-request-button:link,
  .ltk-header .header--nav a.ltk-request-button:link,
  .ltk-header .ltk-header-nav a.ltk-request-button:visited,
  .ltk-header .header--nav a.ltk-request-button:visited {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 8px 0 0 !important;
    padding: 12px 16px !important;
    justify-content: center !important;
    background: #c8e600 !important;
    color: #20143f !important;
    font-weight: 600 !important;
    text-align: center !important;
  }
}

@media (max-width: 430px) {
  .ltk-header .ltk-header-inner {
    width: calc(100% - 24px) !important;
  }

  .ltk-header .ltk-brand img {
    max-width: 155px !important;
  }

  .ltk-header .ltk-support-label {
    padding: 3px 6px !important;
    font-size: 9px !important;
  }
}


/* ============================================================
   v23 — MOBILE MENU ICON POLISH ONLY
   Keeps v22 desktop + mobile menu layout unchanged.
   ============================================================ */
@media (max-width: 767px) {
  .ltk-header .menu-toggle {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.06) !important;
  }

  .ltk-header .menu-toggle .menu-lines {
    position: relative !important;
    display: block !important;
    width: 20px !important;
    height: 16px !important;
  }

  .ltk-header .menu-toggle .menu-lines span {
    position: absolute !important;
    left: 0 !important;
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    margin: 0 !important;
    border-radius: 2px !important;
    background: #fff !important;
    transform-origin: center !important;
  }

  .ltk-header .menu-toggle .menu-lines span:nth-child(1) {
    top: 0 !important;
  }

  .ltk-header .menu-toggle .menu-lines span:nth-child(2) {
    top: 7px !important;
  }

  .ltk-header .menu-toggle .menu-lines span:nth-child(3) {
    top: 14px !important;
  }

  /* Teamwork adds .active to the toggle while the menu is open. */
  .ltk-header .menu-toggle.active .menu-lines span:nth-child(1) {
    top: 7px !important;
    transform: rotate(45deg) !important;
  }

  .ltk-header .menu-toggle.active .menu-lines span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .ltk-header .menu-toggle.active .menu-lines span:nth-child(3) {
    top: 7px !important;
    transform: rotate(-45deg) !important;
  }
}

/* ============================================================
   HOME ICON POLISH — v24
   ============================================================ */

.ltk-resource__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f3effb;
  color: #7250d6;
}

.ltk-resource__icon svg {
  display: block !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  min-height: 17px !important;
  max-height: 17px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.ltk-feed-card__symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #7847e9;
}

.ltk-feed-card__symbol--news {
  color: #e93388;
}

.ltk-feed-card__symbol svg {
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  max-width: 19px !important;
  min-height: 19px !important;
  max-height: 19px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* ============================================================
   HOME CARD SUBTITLES — v25
   Adds supporting copy to Our Products and Additional Resources.
   ============================================================ */

.ltk-product__description {
  display: block;
  margin-top: 1px;
  color: #74707d;
  font-family: var(--ltk-body);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.ltk-resource__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.ltk-resource__description {
  display: block;
  color: #7a7682;
  font-family: var(--ltk-body);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 400;
}

/* Slightly more room for the second line without changing card proportions. */
a.ltk-resource {
  min-height: 78px;
}

@media (max-width: 520px) {
  .ltk-product__description {
    font-size: 12px;
  }

  .ltk-resource__description {
    font-size: 11px;
  }
}

/* ============================================================
   v26 — Compact Home Product Cards
   Keeps logos and card widths unchanged; reduces excess vertical
   whitespace after removing duplicated product names.
   ============================================================ */

a.ltk-product {
  min-height: 205px;
  gap: 10px;
  padding: 14px;
}

.ltk-product__logo {
  height: 92px;
  padding: 10px;
}

.ltk-product__body {
  gap: 0;
}

.ltk-product__description {
  line-height: 1.4;
}

.ltk-product__foot {
  padding-top: 0;
}

@media (max-width: 767px) {
  a.ltk-product {
    min-height: 200px;
  }
}

/* ============================================================
   v27 — Header typography refinement
   Keeps header height and logo unchanged; slightly reduces nav
   typography and request-button horizontal spacing.
   ============================================================ */

.ltk-header .header--nav a {
  font-size: 13px;
}

.ltk-header .header--nav a.ltk-request-button {
  padding-left: 14px;
  padding-right: 14px;
}

/* ============================================================
   v28 — Narrower centered site content
   Reduces the shared desktop content width while preserving
   the existing responsive/mobile behavior.
   ============================================================ */

@media (min-width: 768px) {
  .ltk-container {
    width: calc(100% - 64px);
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   v29 — More compact centered desktop content
   ============================================================ */

@media (min-width: 768px) {
  .ltk-container {
    width: calc(100% - 96px);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
}

