﻿/* Base article styles */
:root {
  --article-text: #213629;
  --article-muted: #4f6b57;
  --article-surface: #ebefe7;
  --article-border: #213629;
  --cta-bg: #4f6b57;
  --cta-bg-hover: #213629;
  --cta-text: #ffffff;
}

article.node--type-news-tips,
article.node--type-article {
  overflow-x: hidden;
}

article.node--type-news-tips .field--name-body,
article.node--type-news-tips .field--name-body *,
article.node--type-article .field--name-body,
article.node--type-article .field--name-body * {
  box-sizing: border-box;
  max-width: 100%;
}

.node__content .field--name-body a:not(.nostyle) {
  color: blue !important;
  border-bottom: 1px dotted #ad141e;
}

.article-header-fragment {
  margin-bottom: 1rem;
}

.content-section {
  margin: 0 0 1.5rem;
}

.section-divider {
  border: 0;
  border-top: 1px solid #d9e2d2;
  margin: 1.5rem 0;
}

.article-title,
.section-title,
.section-subtitle,
.product-title {
  margin: 0 0 0.75rem;
  color: var(--article-text);
}

p {
  margin: 0 0 1.25rem;
}

.section-image img,
img.section-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.article-footer {
  margin-top: 1rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--cta-bg);
  color: var(--cta-text) !important;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  text-align: center;
  transition: background-color 0.25s ease;
}

.cta-button:hover,
a.product-card-link:hover .cta-button,
.product-card:hover .cta-button {
  background-color: var(--cta-bg-hover);
}

.blog_btn {
  margin: 0;
  padding: 8px 24px;
  border-radius: 4px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  text-wrap: nowrap;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  border: 2px solid transparent;
  display: inline-block;
  text-decoration: none;
}

.blog_btn_white {
  background-color: #fff;
  border-color: #fff;
  color: #000;
}

.blog_btn_white:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.blog_btn_green {
  background-color: #4f6b57;
  border-color: #4f6b57;
  color: #ebefe7;
}

.blog_btn_green:hover {
  background-color: #213629;
  border-color: #213629;
  color: #fff;
}

a.blog_btn.blog_btn_green,
a.blog_btn.blog_btn_white {
  border-bottom: none !important;
}

a.blog_btn.blog_btn_green {
  color: #ebefe7 !important;
}

a.blog_btn.blog_btn_green:hover {
  color: #fff !important;
}

a.blog_btn.blog_btn_white {
  color: #000 !important;
}

a.blog_btn.blog_btn_white:hover {
  color: #fff !important;
}

a.product-card-link {
  text-decoration: none !important;
  border-bottom: none !important;
  color: inherit !important;
}

.product-placement {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  background-color: var(--article-surface);
}

.product-image-container {
  flex: 0 0 260px;
  max-width: 260px;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.product-details {
  flex: 1 1 320px;
}

.comparison-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  background-color: #ffffff;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: #213629;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.comparison-table:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.comparison-table thead {
  background-color: #4f6b57;
  color: #ffffff;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #213629;
  padding: 10px 12px;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.comparison-table tbody tr:nth-child(even) {
  background-color: #ebefe7;
}

.comparison-table tbody tr:hover {
  background-color: #90aa76;
  color: #ffffff;
  transition: all 0.2s ease-in-out;
}

.comparison-table tr > *:first-child {
  border-left: 0;
}

.comparison-table tr > *:last-child {
  border-right: 0;
}

.comparison-table thead tr:first-child > * {
  border-top: 0;
}

.comparison-table tbody tr:last-child > * {
  border-bottom: 0;
}

.text-with-image,
.text-with-image-left,
.text-with-image-right {
  display: grid;
  grid-template-columns: minmax(220px, 36%) 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  width: min(100%, 980px);
  margin: 1rem auto;
  padding: 0 12px;
}

.text-with-image-right {
  grid-template-columns: 1fr minmax(220px, 36%);
}

.text-with-image .section-image,
.text-with-image-left .section-image,
.text-with-image-right .section-image {
  display: grid;
  place-items: center;
  --split-img-max-h: clamp(220px, 38vw, 520px);
  --split-img-max-w: 100%;
}

.text-with-image img,
.text-with-image-left img,
.text-with-image-right img {
  width: auto;
  max-width: var(--split-img-max-w);
  height: auto;
  max-height: var(--split-img-max-h);
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

.section-image.image-tall {
  --split-img-max-h: clamp(300px, 48vw, 620px);
  --split-img-max-w: min(88%, 320px);
}

.section-image.image-wide {
  --split-img-max-h: clamp(180px, 30vw, 360px);
  --split-img-max-w: 100%;
}

.text-with-image-right img {
  order: 2;
}

.text-with-image-right .section-text,
.text-with-image-right ul,
.text-with-image-right ol,
.text-with-image-right div {
  order: 1;
}

.media-table-split {
  display: grid;
  grid-template-columns: minmax(220px, 38%) 1fr;
  gap: 1rem 1.25rem;
  align-items: stretch;
  width: min(100%, 1080px);
  margin: 1rem auto;
  padding: 0 12px;
}

.media-table-split .section-image {
  display: grid;
  place-items: center;
}

.media-table-split .section-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(240px, 40vw, 560px);
  object-fit: contain;
}

.media-table-split .comparison-table {
  width: 100%;
  max-width: none;
  margin: 0;
}

.splide .product-card {
  width: 250px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 430px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #000;
  text-decoration: none;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.splide .product-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.splide .product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
}

.splide .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  background: #ebefe7;
}

.splide .title-price {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5px;
}

.splide .product-info h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  flex: 1;
  color: #213629;
}

.splide .price-tag {
  color: #000;
  font-weight: 700;
  padding: 4px 0;
  font-size: 14px;
  white-space: nowrap;
}

.splide .features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 13px;
  color: #333;
}

.splide .features li {
  margin-bottom: 4px;
  padding-left: 14px;
  position: relative;
}

.splide .features li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #4f6b57;
}

.splide .splide__slide {
  margin-right: 10px;
}

.splide .splide__arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  position: static !important;
}

.splide .splide__arrow {
  position: static !important;
  transform: none !important;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.splide .splide__arrow img {
  width: 24px;
  height: 24px;
  display: block;
}

.splide .splide__track {
  overflow: hidden;
  position: relative;
  z-index: 0;
  padding-bottom: 1em;
}

.splide .splide__pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
}

.splide .splide__pagination__page {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #cbd5ce;
}

.splide .splide__pagination__page.is-active {
  background: #213629;
}

.splide.splide--disabled .splide__track {
  display: flex !important;
  justify-content: center;
  overflow: visible !important;
  visibility: visible !important;
}

.splide.splide--disabled .splide__list {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.splide.splide--disabled .splide__slide {
  display: block !important;
  width: auto !important;
}

.splide.splide--disabled .splide__arrows,
.splide.splide--disabled .splide__pagination {
  display: none !important;
}

@container (max-width: 768px) {
  .product-placement {
    flex-direction: column;
    align-items: center;
  }

  .product-image-container {
    flex: 0 0 auto;
    width: 100%;
    max-width: 220px;
  }

  .product-details {
    width: 100%;
  }

  .cta-button {
    width: 100%;
    max-width: 260px;
  }

  .text-with-image,
  .text-with-image-left,
  .text-with-image-right,
  .media-table-split {
    grid-template-columns: 1fr;
  }

  .media-table-split .section-image img {
    height: auto;
    max-height: none;
    width: 100%;
  }

  .text-with-image-right img,
  .text-with-image-right .section-text,
  .text-with-image-right ul,
  .text-with-image-right ol,
  .text-with-image-right div {
    order: initial;
  }

}

/* Article fixes and card hardening */
/* Keep CTA/button links from inheriting default blue link styling. */
  a.blog_btn,
  a.blog_btn:link,
  a.blog_btn:visited,
  a.blog_btn:hover,
  a.blog_btn:focus,
  a.blog_btn:active,
  a.product-card-link,
  a.product-card-link:hover,
  a.product-card-link:visited,
  .product-card,
  .product-card:hover {
    text-decoration: none !important;
    border-bottom: none !important;
    color: inherit !important;
  }

  /* Override high-specificity body link rule so card copy is never blue. */
  .node__content .field--name-body a.product-card-link,
  .node__content .field--name-body a.product-card,
  article.node--type-news-tips .field--name-body a.product-card-link,
  article.node--type-news-tips .field--name-body a.product-card {
    color: #213629 !important;
    text-decoration: none !important;
    border-bottom: none !important;
  }

  a.blog_btn.blog_btn_green,
  a.blog_btn.blog_btn_green:link,
  a.blog_btn.blog_btn_green:visited,
  a.blog_btn.blog_btn_green:hover,
  a.blog_btn.blog_btn_green:focus,
  a.blog_btn.blog_btn_green:active {
    color: #ebefe7 !important;
  }

  a.blog_btn.blog_btn_white,
  a.blog_btn.blog_btn_white:link,
  a.blog_btn.blog_btn_white:visited,
  a.blog_btn.blog_btn_white:hover,
  a.blog_btn.blog_btn_white:focus,
  a.blog_btn.blog_btn_white:active {
    color: #000 !important;
  }

  .blog_btn.blog_btn_green:hover,
  a.blog_btn.blog_btn_green:hover,
  a.product-card-link:hover .cta-button,
  .product-card:hover .cta-button,
  .standalone-product-card:hover .cta-button {
    background-color: #213629 !important;
    border-color: #213629 !important;
    color: #fff !important;
  }

  /* Ensure hover color applies to actual cells in collapsed-border tables. */
  .comparison-table tbody tr:hover > th,
  .comparison-table tbody tr:hover > td {
    background-color: #90aa76 !important;
    color: #ffffff !important;
  }

  /* Keep standalone product card from blowing up on narrow screens. */
  .standalone-product-card-link {
    display: block;
    width: min(60%, 980px);
    max-width: 100%;
    margin-inline: auto;
  }

  .product-placement {
    width: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
    align-items: stretch;
    gap: 16px;
  }

  .product-image-container {
    max-width: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: 320px;
    object-fit: contain;
  }

  .product-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .standalone-product-section {
    container-type: inline-size;
  }

  .content-section {
    container-type: inline-size;
  }

  .product-card-clickable {
    cursor: pointer;
    color: #213629 !important;
  }

  .standalone-product-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
  }

  .standalone-product-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  }

  /* Drupal editor may inject extra links into card copy; keep card text from turning blue. */
  .product-card a:not(.cta-button),
  .product-card-clickable a:not(.cta-button),
  .standalone-product-card a:not(.cta-button),
  .standalone-product-section a:not(.cta-button):not(.blog_btn) {
    color: #213629 !important;
    text-decoration: none !important;
    border-bottom: none !important;
  }

  /* Beat Drupal's high-specificity blue body-link rule inside card content. */
  .node__content .field--name-body .product-card a:not(.cta-button):not(.nostyle),
  .node__content .field--name-body .product-card-clickable a:not(.cta-button):not(.nostyle),
  .node__content .field--name-body .standalone-product-card a:not(.cta-button):not(.nostyle),
  article.node--type-news-tips .field--name-body .product-card a:not(.cta-button):not(.nostyle),
  article.node--type-news-tips .field--name-body .product-card-clickable a:not(.cta-button):not(.nostyle),
  article.node--type-news-tips .field--name-body .standalone-product-card a:not(.cta-button):not(.nostyle),
  article.node--type-article .field--name-body .product-card a:not(.cta-button):not(.nostyle),
  article.node--type-article .field--name-body .product-card-clickable a:not(.cta-button):not(.nostyle),
  article.node--type-article .field--name-body .standalone-product-card a:not(.cta-button):not(.nostyle) {
    color: #213629 !important;
    text-decoration: none !important;
    border-bottom: none !important;
  }

  /* Catch editor-injected anchors inside card regions even if classes are rewritten. */
  .node__content .field--name-body .splide a:not(.cta-button):not(.nostyle),
  article.node--type-news-tips .field--name-body .splide a:not(.cta-button):not(.nostyle),
  article.node--type-article .field--name-body .splide a:not(.cta-button):not(.nostyle),
  .node__content .field--name-body .standalone-product-section a:not(.cta-button):not(.blog_btn):not(.nostyle),
  article.node--type-news-tips .field--name-body .standalone-product-section a:not(.cta-button):not(.blog_btn):not(.nostyle),
  article.node--type-article .field--name-body .standalone-product-section a:not(.cta-button):not(.blog_btn):not(.nostyle) {
    color: #213629 !important;
    text-decoration: none !important;
    border-bottom: none !important;
  }

  /* Directly counter Drupal global body-link rule in any product-card flavored link. */
  .node__content .field--name-body a.product-card:not(.nostyle),
  .node__content .field--name-body a.product-card-link:not(.nostyle),
  .node__content .field--name-body .product-card-clickable a:not(.cta-button):not(.nostyle),
  .node__content .field--name-body .standalone-product-card a:not(.cta-button):not(.nostyle),
  article.node--type-news-tips .field--name-body a.product-card:not(.nostyle),
  article.node--type-news-tips .field--name-body a.product-card-link:not(.nostyle),
  article.node--type-news-tips .field--name-body .product-card-clickable a:not(.cta-button):not(.nostyle),
  article.node--type-news-tips .field--name-body .standalone-product-card a:not(.cta-button):not(.nostyle),
  article.node--type-article .field--name-body a.product-card:not(.nostyle),
  article.node--type-article .field--name-body a.product-card-link:not(.nostyle),
  article.node--type-article .field--name-body .product-card-clickable a:not(.cta-button):not(.nostyle),
  article.node--type-article .field--name-body .standalone-product-card a:not(.cta-button):not(.nostyle) {
    color: #213629 !important;
    border-bottom: none !important;
    text-decoration: none !important;
  }

  /* Keep table visuals consistent at every width and ensure padded cells everywhere. */
  .comparison-table {
    display: table !important;
    border-collapse: collapse !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 40px auto !important;
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #213629 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    table-layout: auto !important;
  }

  .comparison-table thead {
    background-color: #4f6b57 !important;
    color: #ffffff !important;
    position: static !important;
    top: auto !important;
    z-index: auto !important;
  }

  article.node--type-news-tips .field--name-body table th,
  article.node--type-news-tips .field--name-body table td,
  article.node--type-article .field--name-body table th,
  article.node--type-article .field--name-body table td,
  table th,
  table td {
    padding: 10px 12px !important;
  }

  .comparison-table th,
  .comparison-table td {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  /* Keep a consistent gutter between article edges and standalone tables. */
  .content-section > .comparison-table {
    width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  @container (max-width: 1024px) {
    .standalone-product-section .standalone-product-card-link {
      width: min(100%, 820px);
    }

    .standalone-product-section .product-placement {
      grid-template-columns: minmax(180px, 240px) 1fr;
    }
  }

  /* Drupal editor/theme resilience for slider cards. */
  .node__content .field--name-body .splide .product-card,
  article.node--type-news-tips .field--name-body .splide .product-card,
  article.node--type-article .field--name-body .splide .product-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-decoration: none !important;
    border-bottom: none !important;
    color: #213629 !important;
    overflow: hidden !important;
  }

  .node__content .field--name-body .splide .product-card > img,
  article.node--type-news-tips .field--name-body .splide .product-card > img,
  article.node--type-article .field--name-body .splide .product-card > img {
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
  }

  .node__content .field--name-body .splide .product-info,
  article.node--type-news-tips .field--name-body .splide .product-info,
  article.node--type-article .field--name-body .splide .product-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    min-width: 0 !important;
  }

  .node__content .field--name-body .splide .product-info h3,
  article.node--type-news-tips .field--name-body .splide .product-info h3,
  article.node--type-article .field--name-body .splide .product-info h3 {
    display: block !important;
    margin: 0 0 6px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }

  .node__content .field--name-body .splide .features,
  article.node--type-news-tips .field--name-body .splide .features,
  article.node--type-article .field--name-body .splide .features {
    list-style: none !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
  }

  .node__content .field--name-body .splide .features li,
  article.node--type-news-tips .field--name-body .splide .features li,
  article.node--type-article .field--name-body .splide .features li {
    margin: 0 0 4px !important;
    padding-left: 14px !important;
    position: relative !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .node__content .field--name-body .splide .features li::before,
  article.node--type-news-tips .field--name-body .splide .features li::before,
  article.node--type-article .field--name-body .splide .features li::before {
    content: "\2022" !important;
    color: #4f6b57 !important;
    position: absolute !important;
    left: 0 !important;
  }

  .node__content .field--name-body .splide .product-info .cta-button,
  article.node--type-news-tips .field--name-body .splide .product-info .cta-button,
  article.node--type-article .field--name-body .splide .product-info .cta-button {
    margin-top: auto !important;
  }

  .product-details .product-description {
    margin: 0 0 12px;
    padding-left: 0;
    margin-left: 0;
    list-style: disc inside;
  }

  .product-details .product-description li {
    margin: 0 0 6px;
    padding-left: 0;
  }

  .product-details .cta-button {
    align-self: flex-start;
  }

  /* Let long copy wrap beneath side images instead of staying locked in grid tracks. */
  .text-with-image,
  .text-with-image-left,
  .text-with-image-right {
    display: block !important;
    width: min(100%, 980px);
    margin: 1rem auto;
    padding: 0 12px;
  }

  .text-with-image::after,
  .text-with-image-left::after,
  .text-with-image-right::after {
    content: "";
    display: table;
    clear: both;
  }

  .text-with-image .section-image,
  .text-with-image-left .section-image,
  .text-with-image > img,
  .text-with-image-left > img {
    float: left;
    width: min(36%, 340px);
    max-width: 340px;
    margin: 0 1rem 0.75rem 0;
  }

  .text-with-image-right .section-image,
  .text-with-image-right > img {
    float: right;
    width: min(36%, 340px);
    max-width: 340px;
    margin: 0 0 0.75rem 1rem;
  }

  .text-with-image .section-image img,
  .text-with-image-left .section-image img,
  .text-with-image-right .section-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Slider cards: force equal heights across all slides, even with wrapped text. */
  .splide .splide__track {
    display: block;
  }

  .splide .splide__list {
    display: flex !important;
    align-items: stretch !important;
  }

  .splide .splide__slide {
    height: auto !important;
    display: flex !important;
    align-items: stretch !important;
  }

  .splide .product-card {
    width: 250px;
    height: 100% !important;
    min-height: 460px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .splide .product-card > img {
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    flex: 0 0 180px;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .splide .product-info {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .splide .product-info h3 {
    display: block;
    overflow: visible;
    min-height: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .splide .features {
    min-height: 72px;
  }

  .splide .features li {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .splide .product-info .cta-button {
    margin-top: auto;
  }

  @container (max-width: 768px) {
    .standalone-product-section .standalone-product-card-link {
      width: min(100%, 300px) !important;
      max-width: 300px !important;
      margin-inline: auto !important;
    }

    .standalone-product-section .standalone-product-card-link .product-placement {
      width: 100% !important;
      max-width: 300px !important;
      margin-inline: auto !important;
    }

    .standalone-product-section .product-placement {
      display: flex;
      flex-direction: column;
      padding: 14px;
      gap: 12px;
      align-items: center;
    }

    .standalone-product-section .product-image-container {
      width: min(100%, 220px) !important;
      max-width: 220px !important;
      flex: 0 0 auto !important;
    }

    .standalone-product-section .product-image {
      width: 100% !important;
      max-width: 220px;
      margin: 0 auto;
    }

    .standalone-product-section .product-details {
      width: 100%;
      min-width: 0;
      overflow-wrap: anywhere;
    }
  }

  @container (max-width: 768px) {
    .text-with-image .section-image,
    .text-with-image-left .section-image,
    .text-with-image-right .section-image,
    .text-with-image > img,
    .text-with-image-left > img,
    .text-with-image-right > img {
      float: none;
      width: 100%;
      max-width: 100%;
      margin: 0 0 0.75rem 0;
    }
  }

  /* Final guard: neutralize Drupal body-link styling inside any product card region. */
  article.node--type-news-tips .field--name-body .product-card-clickable,
  article.node--type-news-tips .field--name-body .standalone-product-card,
  article.node--type-article .field--name-body .product-card-clickable,
  article.node--type-article .field--name-body .standalone-product-card,
  .node__content .field--name-body .product-card-clickable,
  .node__content .field--name-body .standalone-product-card {
    color: #213629 !important;
  }

  article.node--type-news-tips .field--name-body .product-card-clickable a:not(.cta-button):not(.blog_btn):not(.nostyle),
  article.node--type-news-tips .field--name-body .standalone-product-card a:not(.cta-button):not(.blog_btn):not(.nostyle),
  article.node--type-article .field--name-body .product-card-clickable a:not(.cta-button):not(.blog_btn):not(.nostyle),
  article.node--type-article .field--name-body .standalone-product-card a:not(.cta-button):not(.blog_btn):not(.nostyle),
  .node__content .field--name-body .product-card-clickable a:not(.cta-button):not(.blog_btn):not(.nostyle),
  .node__content .field--name-body .standalone-product-card a:not(.cta-button):not(.blog_btn):not(.nostyle),
  .node__content .field--name-body .splide a:not(.cta-button):not(.blog_btn):not(.nostyle),
  article.node--type-news-tips .field--name-body .splide a:not(.cta-button):not(.blog_btn):not(.nostyle),
  article.node--type-article .field--name-body .splide a:not(.cta-button):not(.blog_btn):not(.nostyle) {
    color: #213629 !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
  }

  article.node--type-news-tips .field--name-body .product-card-clickable .cta-button,
  article.node--type-news-tips .field--name-body .standalone-product-card .cta-button,
  article.node--type-article .field--name-body .product-card-clickable .cta-button,
  article.node--type-article .field--name-body .standalone-product-card .cta-button,
  .node__content .field--name-body .product-card-clickable .cta-button,
  .node__content .field--name-body .standalone-product-card .cta-button {
    color: #ffffff !important;
    border-bottom: 0 !important;
    text-decoration: none !important;
  }

  /* Last-resort lock: keep product slider intact inside aggressive Drupal editor/theme CSS. */
  #product-slider,
  #product-slider * {
    box-sizing: border-box;
  }

  #product-slider .splide__track {
    overflow: hidden !important;
  }

  #product-slider .splide__list {
    display: flex !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 10px !important;
  }

  #product-slider .splide__slide {
    display: flex !important;
    height: auto !important;
    margin: 0 !important;
    list-style: none !important;
  }

  #product-slider .product-card {
    width: 250px !important;
    min-height: 460px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
    color: #213629 !important;
  }

  #product-slider .product-card > img {
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    flex: 0 0 180px !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
  }

  #product-slider .product-info {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  #product-slider .title-price {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 5px !important;
  }

  #product-slider .product-info h3 {
    display: block !important;
    margin: 0 0 6px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    max-height: none !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }

  #product-slider .features {
    margin: 0 0 12px !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #product-slider .features li {
    margin: 0 0 4px !important;
    padding-left: 14px !important;
    position: relative !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    list-style: none !important;
  }

  #product-slider .features li::before {
    content: "\2022" !important;
    position: absolute !important;
    left: 0 !important;
    color: #4f6b57 !important;
  }

  #product-slider .features li p {
    display: inline !important;
    margin: 0 !important;
  }

  #product-slider a,
  #product-slider a:link,
  #product-slider a:visited,
  #product-slider a:hover,
  #product-slider a:active,
  #product-slider a:focus {
    text-decoration: none !important;
    border-bottom: 0 !important;
    color: #213629 !important;
  }

  #product-slider .cta-button,
  #product-slider .cta-button:link,
  #product-slider .cta-button:visited,
  #product-slider .cta-button:hover,
  #product-slider .cta-button:active,
  #product-slider .cta-button:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
  }

