/* Shared rules for the six editorial layouts. Catalog and card widths stay under widget control. */
.xjt-layout {
  --xjt-feature-title: 2.25rem;
  --xjt-feature-copy: 1.125rem;
  --xjt-cta: 1.8125rem;
}
.xjt-layout .elementor-column, .xjt-layout .elementor-column-wrap,
.xjt-layout .elementor-widget-wrap { min-inline-size: 0; }
.xjt-layout .elementor-heading-title, .xjt-layout .elementor-image-box-title {
  overflow-wrap: break-word;
}
.xjt-layout .xjt-feature-title .elementor-heading-title {
  font-size: var(--xjt-feature-title); font-weight: 700; line-height: 1.2;
}
.xjt-layout .xjt-feature-copy .elementor-text-editor {
  font-size: var(--xjt-feature-copy); font-weight: 400; line-height: 1.7;
}
.xjt-layout .xjt-home-cta .elementor-button { font-size: var(--xjt-cta); }
.xjt-layout .xjt-text-link, .xjt-layout .xjt-faq-link {
  text-decoration: underline; text-underline-offset: .18em; font-weight: 600;
}
.xjt-layout .xjt-faq-link { color: #176b3a; }
.xjt-layout .elementor-swiper-button:focus-visible,
.xjt-layout .xjt-linked-card .elementor-image-box-title a:focus-visible {
  outline: 3px solid #176b3a !important; outline-offset: 2px;
  box-shadow: 0 0 0 2px white !important;
}
@media (max-width: 991.98px) {
  .xjt-layout {
    --xjt-feature-title: 1.875rem; --xjt-feature-copy: 1.0625rem; --xjt-cta: 1.6875rem;
  }
}
@media (min-width: 768px) {
  .xjt-layout .cbd-pure-tabs input.cbd-topic-mobile-toggle { display: none !important; }
}
@media (max-width: 767.98px) {
  .xjt-layout {
    --xjt-feature-title: 1.625rem; --xjt-feature-copy: 1rem; --xjt-cta: 1.3125rem;
  }
  .xjt-layout .cbd-pure-tabs input.cbd-topic-radio { display: none !important; }
}
/* Four category cards on tablets; the mobile layout keeps two cards per row. */
@media (min-width: 768px) and (max-width: 1024px) {
  body#index #content .xjt-layout.home-section--categories .home-columns--categories > .elementor-container > .elementor-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
/* The server-rendered blog list is also readable before its interactive view starts. */
body#index #content .xjt-layout .xjb-source .ybc-blog-latest-toolbar {
  display: flex; flex-wrap: wrap; max-inline-size: 100%; white-space: normal;
}
body#index #content .xjt-layout .xjb-source .ybc_blog_content_block:not(.slick-initialized) .ybc-blog-latest-post-content,
body#index #content .xjt-layout .xjb-source .ybc_blog_content_block:not(.slick-initialized) .ybc_item_img {
  float: none; box-sizing: border-box; width: 100%; max-width: 100%; margin-inline: 0;
}
/* The theme locks Swiper widths with important rules. In a scriptless browser
   the product list needs its own layout, including when a carousel has several rows. */
@layer xjt-static-catalog {
  @media (scripting: none) {
    .xjt-layout .elementor-products .swiper-wrapper {
      display: grid !important;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)) !important;
      grid-auto-flow: row !important;
      height: auto !important; width: 100% !important; transform: none !important;
    }
    .xjt-layout .elementor-products .swiper-slide {
      width: auto !important; max-width: 100% !important; min-width: 0 !important; height: auto !important;
    }
    .xjt-layout .elementor-products .elementor-swiper-button,
    .xjt-layout .elementor-products .swiper-pagination { display: none !important; }
  }
}
