/* =====================================================
   Martket Slider Titles
   Homepage (7285), Health (8791),
   Branding (8846), Textile (8877)
   ===================================================== */

.page-id-7285 .obb-slideshow .obb-title,
.page-id-7285 .obb-slideshow .obb-title *,

.page-id-8791 .obb-slideshow .obb-title,
.page-id-8791 .obb-slideshow .obb-title *,

.page-id-8846 .obb-slideshow .obb-title,
.page-id-8846 .obb-slideshow .obb-title *,

.page-id-8877 .obb-slideshow .obb-title,
.page-id-8877 .obb-slideshow .obb-title * {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;

    -webkit-text-stroke-width: 1.5px !important;
    -webkit-text-stroke-color: #000000 !important;

    paint-order: stroke fill !important;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 3px 6px rgba(0, 0, 0, 0.75) !important;
}


/* =====================================================
   Disable links on Health hero slider
   ===================================================== */

.page-id-8791 .obb-slideshow:has(#post-9953) .obb-title a,
.page-id-8791 .obb-slideshow:has(#post-9969) .obb-title a,
.page-id-8791 .obb-slideshow:has(#post-9965) .obb-title a,
.page-id-8791 .obb-slideshow:has(#post-9962) .obb-title a {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
}


/* =====================================================
   Disable links on Branding hero slider
   ===================================================== */

.page-id-8846 .obb-slideshow:has(#post-9445) .obb-title a,
.page-id-8846 .obb-slideshow:has(#post-9455) .obb-title a,
.page-id-8846 .obb-slideshow:has(#post-9462) .obb-title a,
.page-id-8846 .obb-slideshow:has(#post-9477) .obb-title a {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
}


/* =====================================================
   Disable links on Textile hero slider
   ===================================================== */

.page-id-8877 .obb-slideshow:has(#post-9692) .obb-title a,
.page-id-8877 .obb-slideshow:has(#post-9688) .obb-title a,
.page-id-8877 .obb-slideshow:has(#post-9684) .obb-title a,
.page-id-8877 .obb-slideshow:has(#post-9680) .obb-title a,
.page-id-8877 .obb-slideshow:has(#post-9676) .obb-title a,
.page-id-8877 .obb-slideshow:has(#post-9672) .obb-title a,
.page-id-8877 .obb-slideshow:has(#post-9669) .obb-title a,
.page-id-8877 .obb-slideshow:has(#post-9666) .obb-title a,
.page-id-8877 .obb-slideshow:has(#post-9663) .obb-title a {
    pointer-events: none !important;
    cursor: default !important;
    text-decoration: none !important;
}

/* Martket Pricing Tables */

.martket-pricing-table {
  width: 100%;
  margin: 28px 0 48px;
  overflow-x: auto;
  border: 1px solid #e1e3e5;
  border-radius: 4px;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.martket-pricing-table table {
  width: 100%;
  min-width: 980px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
  line-height: 1.45;
}

.martket-pricing-table th,
.martket-pricing-table td {
  padding: 15px 14px;
  border: 0;
  border-bottom: 1px solid #e6e7e8;
  vertical-align: middle;
}

.martket-pricing-table th:first-child,
.martket-pricing-table td:first-child {
  width: 31%;
  text-align: left;
}

.martket-pricing-table th:not(:first-child),
.martket-pricing-table td:not(:first-child) {
  text-align: center;
}

/* Main column header */

.martket-pricing-table .pricing-column-head th {
  background: #f1f2f3;
  color: #43494d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid #d6d8da;
}

/* Section divider rows */

.martket-pricing-table .pricing-section th {
  padding-top: 17px;
  padding-bottom: 17px;
  background: #cfd3d7;
  color: #25292c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
  border-top: 2px solid #bcc1c5;
  border-bottom: 1px solid #bcc1c5;
}

/* Alternating row treatment */

.martket-pricing-table tbody tr.pricing-row:nth-of-type(even) td {
  background: #fafafa;
}

.martket-pricing-table tbody tr.pricing-row:hover td {
  background: #f4f5f5;
}

/* Supporting text inside cells */

.martket-pricing-table .pricing-detail {
  display: block;
  margin-top: 4px;
  color: #71777b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.martket-pricing-table .pricing-merged {
  padding-left: 24px;
  text-align: left !important;
  font-weight: 400;
  line-height: 1.5;
}

.martket-pricing-table .pricing-empty {
  background: #ffffff;
}

.martket-pricing-table .pricing-note {
  padding-top: 14px;
  padding-bottom: 14px;
  color: #666c70;
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  text-align: left !important;
  background: #fbfbfb;
}

.martket-pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Compact two-column tables */

.martket-pricing-table.compact {
  margin-top: 20px;
  margin-bottom: 44px;
}

.martket-pricing-table.compact table {
  min-width: 620px;
}

.martket-pricing-table.compact th:first-child,
.martket-pricing-table.compact td:first-child {
  width: 55%;
}

.martket-pricing-table.compact th:last-child,
.martket-pricing-table.compact td:last-child {
  width: 45%;
  text-align: left;
}

/* Mobile */

@media (max-width: 782px) {
  .martket-pricing-table {
    margin: 22px 0 36px;
  }

  .martket-pricing-table table {
    min-width: 900px;
    font-size: 14px;
  }

  .martket-pricing-table.compact table {
    min-width: 620px;
  }

  .martket-pricing-table th,
  .martket-pricing-table td {
    padding: 12px 10px;
  }

  .martket-pricing-table .pricing-merged {
    padding-left: 16px;
  }

  .martket-pricing-table .pricing-section th {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

/* Homepage Hero Stats - Hide Column Borders on Mobile */
@media (max-width: 781px) {
    .martket-stats .wp-block-column {
        border-right: none !important;
    }
}

/* Mobile Navigation Styling */
@media (max-width: 781px) {

  /* Top-level menu items */
  .wp-block-navigation__responsive-container
  > .wp-block-navigation__responsive-close
  > .wp-block-navigation__responsive-dialog
  > .wp-block-navigation__responsive-container-content
  > .wp-block-navigation__container
  > .wp-block-navigation-item
  > .wp-block-navigation-item__content {
    font-size: 26px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
  }

  /* Submenu container */
  .wp-block-navigation__responsive-container
  .wp-block-navigation__submenu-container {
    padding-left: 16px !important;
    gap: 2px !important;
    row-gap: 2px !important;
  }

  /* Submenu items */
  .wp-block-navigation__responsive-container
  .wp-block-navigation__submenu-container
  .wp-block-navigation-item {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Submenu text */
  .wp-block-navigation__responsive-container
  .wp-block-navigation__submenu-container
  .wp-block-navigation-item__content {
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
}