/* Post-migration additions shared by generated pages. */
.jwq-form-privacy {
  color: #4a4a4a;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0.75rem 0;
}

.jwq-form-privacy a,
.jwq-legal-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.jwq-legal-footer {
  background: #f3f3f3;
  color: #242424;
  padding: 1.25rem;
  text-align: center;
}

.jwq-footer-map {
  border-radius: 12px;
  height: 250px;
  margin: 1.25rem auto 0;
  max-width: 600px;
  overflow: hidden;
  width: 100%;
}

.jwq-footer-map iframe {
  display: block;
  height: 100%;
  width: 100%;
}

/* A viewport-wide breakout nested in another breakout creates concealed horizontal overflow.
   Keep the intended full available width while allowing the slider itself to control clipping. */
body.home .right-full-breakout .right-full-breakout,
body.single-products .right-full-breakout .right-full-breakout,
body.single-products .right-full-breakout-97 {
  left: auto;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  right: auto;
  width: 100%;
}

body.home .right-full-breakout .right-full-breakout,
body.single-products .right-full-breakout .right-full-breakout {
  overflow: visible;
}

/* The exported Legend guide assigned white text to an H1 on a white background. */
body.postid-4440 h1.gb-text-d6eb899e {
  color: var(--global-color-11, #0f0f0f);
}


/* Search-intent summary and original diagram for the cabinet toe-kick guide. */
.jwq-article-summary {
  background: #f3f6f8;
  border-left: 4px solid #385068;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
}

.jwq-article-diagram {
  margin: 1.75rem 0;
}

.jwq-article-diagram picture {
  display: block;
}

.jwq-article-diagram img {
  background: #f7f4ef;
  border: 1px solid #d9d3c8;
  display: block;
  height: auto;
  max-width: 100%;
}

.jwq-article-diagram figcaption {
  color: #4a4a4a;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}


.jwq-article-image--portrait img {
  margin-left: auto;
  margin-right: auto;
}

.dynamic-entry-content .wp-block-table {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

.dynamic-entry-content figure.wp-block-table > table {
  min-width: 680px !important;
  width: 680px !important;
}

/* Commercial SEO content added to core, location, and collection pages. */
.jwq-commercial-section {
  background: #f6f6f3;
  border-top: 1px solid #deded8;
  color: #242424;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
}

.jwq-commercial-section__inner,
.jwq-commercial-article {
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

.jwq-commercial-article {
  color: #242424;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
}

.jwq-commercial-section h2,
.jwq-commercial-article h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin: 2.25rem 0 0.75rem;
}

.jwq-commercial-section h3,
.jwq-commercial-article h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.3;
  margin: 1.5rem 0 0.5rem;
}

.jwq-commercial-section p,
.jwq-commercial-section li,
.jwq-commercial-article p,
.jwq-commercial-article li {
  line-height: 1.75;
}

.jwq-commercial-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.65 !important;
  max-width: 850px;
}

.jwq-commercial-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 1.5rem;
}

.jwq-commercial-grid > div {
  background: #fff;
  border: 1px solid #deded8;
  padding: 1.25rem;
}

.jwq-commercial-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.jwq-commercial-section a,
.jwq-commercial-article a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 600px) {
  .jwq-commercial-links {
    display: block;
  }

  .jwq-commercial-links li + li {
    margin-top: 0.5rem;
  }
}

/* Keep commercial page titles legible when exported hero backgrounds are absent. */
body.page-id-375 h1.gb-text-b67d6f84,
body.page-id-3215 h1.gb-text-42bb9eff,
.jwq-commercial-article h1 {
  color: #0f0f0f !important;
}

.jwq-commercial-article h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}
