/* Shared approved cards: original image proportions and bottom-aligned footers. */
body.kd-shared-blog20261116 .maincontent:has(#post-stream .kd-news-card) {
  background: #fff;
}

html.app-blog body.kd-shared-blog20261116 .maincontent > .container > .uk-container:has(#post-stream .kd-news-card, .post.wrapper-content [itemprop="articleBody"]) {
  box-sizing: content-box;
  max-width: 1400px;
  padding-inline: 12px;
}

html.app-blog body.kd-shared-blog20261116 .maincontent #post-stream:has(.kd-news-card) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 0 !important;
}

html.app-blog body.kd-shared-blog20261116 .maincontent #post-stream > .kd-news-card {
  width: auto;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

html.app-blog body.kd-shared-blog20261116 .maincontent #post-stream:has(.kd-news-card) > :not(.kd-news-card) {
  grid-column: 1 / -1;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card > .kd-news-card__surface {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  border: 1px solid #dce7ee;
  border-radius: 12px !important;
  background: #fff;
  box-shadow: 0 3px 12px #1a476009;
}

html.app-blog body.kd-shared-blog20261116 .maincontent #post-stream .kd-news-card .kd-news-card__layout {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0 !important;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .kd-news-card__layout > div {
  width: 100%;
  padding: 0;
  margin: 0;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .kd-news-card__layout > div:last-child {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card img.post-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #eaf4fa;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .kd-news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 18px 0;
  color: #5b6c79;
  font: 400 12px/1.4 Arial, sans-serif;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .kd-news-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .kd-news-card__stat svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .uk-card-header {
  border: 0;
  padding: 13px 18px 16px;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .product-title {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0;
  color: #30383e;
  font: 700 22px/1.4 Arial, sans-serif !important;
  text-align: center;
  overflow-wrap: anywhere;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .product-title a {
  display: block;
  max-height: none;
  font: inherit;
  color: inherit;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .card-content {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  padding: 0 18px 20px !important;
  color: #4b555c;
  font: 400 15px/1.55 Arial, sans-serif;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .card-content p:last-child {
  margin-bottom: 0;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .kd-news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding: 14px 18px;
  border-top: 1px solid #e6edf2;
  color: #5b6c79;
  font: 400 12px/1.4 Arial, sans-serif;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .kd-news-card__footer a.uk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 13px !important;
  border: 1px solid #118fc2;
  border-radius: 7px;
  background: #118fc2;
  color: #fff;
  font: 700 14px/1.3 Arial, sans-serif;
  text-transform: none;
}

html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__footer a.uk-button::after {
  content: '→';
  position: static;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  inset: auto;
  margin: 0;
  padding: 0;
  transform: none;
  animation: none;
  background: none;
  border: 0;
  font-size: 19px;
  font-weight: 400;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card .kd-news-card__footer a.uk-button:hover {
  background: #0879a8;
  border-color: #0879a8;
}

html.app-blog body.kd-shared-blog20261116 .kd-news-card a:focus-visible {
  outline: 2px solid #087aa9;
  outline-offset: 3px;
}

@media (max-width: 959px) {
  html.app-blog body.kd-shared-blog20261116 .maincontent #post-stream:has(.kd-news-card) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 639px) {
  html.app-blog body.kd-shared-blog20261116 .maincontent > .container > .uk-container:has(#post-stream .kd-news-card, .post.wrapper-content [itemprop="articleBody"]) {
    padding-inline: 10px;
  }
  html.app-blog body.kd-shared-blog20261116 .maincontent #post-stream:has(.kd-news-card) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Normalize the older Blog child theme inside shared stream cards only. */
html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .card-content .text,
html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .card-content [itemprop="articleBody"] {
  display: block;
  height: auto;
  max-height: none;
  -webkit-line-clamp: unset;
  overflow: visible;
  font: inherit;
}

html.app-blog body.kd-shared-blog20261116 .maincontent:has(#post-stream .kd-news-card, .post.wrapper-content [itemprop="articleBody"]) .kd-blog-container {
  max-width: none;
  padding-inline: 0;
}

/* Approved listing cards: two-line titles and metadata above the footer. */
html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .product-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .uk-card-header {
  padding-top: 16px;
}

html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__meta {
  margin-top: auto;
  padding: 0 18px 14px;
}

html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__meta + .kd-news-card__footer {
  margin-top: 0;
}

/* Listing page headings follow the catalog's spacing and type. */
html.app-blog body.kd-shared-blog20261116 .kd-section-heading {
  display: flow-root;
  margin: -45px 0 20px;
}

.kd-section-heading .kd-section-crumbs {
  margin: 0 0 20px;
  padding: 1.7px 0;
}

.kd-section-heading .kd-section-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(0, 0, 0, .7);
  font: 400 13.125px/19.6875px Poppins, sans-serif;
}

.kd-section-heading .kd-section-crumbs li,
.kd-section-heading .kd-section-crumbs a {
  display: inline-flex;
  align-items: center;
}

.kd-section-heading .kd-section-crumbs a {
  color: rgba(0, 0, 0, .5);
  text-decoration: none;
}

.kd-section-heading .kd-section-crumbs svg {
  flex: 0 0 16px;
  margin: -4px 5px 0 0;
  fill: currentColor;
}

.kd-section-heading .kd-section-crumbs li + li {
  display: none;
}

html.app-blog body.kd-shared-blog20261116 .kd-section-heading h1 {
  margin: 0 !important;
  padding: 0;
  color: rgba(0, 0, 0, .8);
  font: 700 24.375px/1.2 Arial, "Helvetica Neue", Helvetica, sans-serif;
  text-align: left;
}

@media (min-width: 960px) {
  html.app-blog body.kd-shared-blog20261116 .kd-section-heading {
    margin-top: -21px;
  }

  .kd-section-heading .kd-section-crumbs {
    padding: 0;
  }

  .kd-section-heading .kd-section-crumbs ol {
    row-gap: 8px;
    margin-left: -7px;
    color: #7b8b96;
    font-size: 13px;
    line-height: 20px;
  }

  .kd-section-heading .kd-section-crumbs li + li {
    display: inline-flex;
  }

  .kd-section-heading .kd-section-crumbs li + li::before {
    content: "/";
    margin: 0 8px;
    color: #7b8b96;
  }

  .kd-section-heading .kd-section-crumbs a,
  .kd-section-heading .kd-section-crumbs [aria-current] {
    padding: 7px 6px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #405f72;
  }

  .kd-section-heading .kd-section-crumbs a:is(:hover, :focus-visible) {
    border-color: #d7ebf7;
    background: #edf7ff;
    color: #218fc4;
  }

  html.app-blog body.kd-shared-blog20261116 .kd-section-heading h1 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
  }
}

/* Match the heading typography used in the storefront category and listings. */
html.app-blog body.kd-shared-blog20261116 .kd-article-heading h1 {
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

.kd-article-heading .kd-article-crumbs li:last-child {
  min-width: 0;
  max-width: min(100%, 42rem);
}

.kd-article-heading .kd-article-crumbs [aria-current="page"] {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 959px) {
  .kd-article-heading .kd-article-crumbs li:nth-child(2) {
    display: inline-flex;
  }

  .kd-article-heading .kd-article-crumbs li:nth-child(2)::before {
    content: "/";
    margin: 0 8px;
    color: #7b8b96;
  }
}

/* Match the mobile catalog breadcrumb row above the heading. */
@media (max-width: 959px) {
  .kd-section-heading .kd-section-crumbs {
    margin: 0 0 12px;
    padding: 16px 0 0;
  }

  .kd-section-heading .kd-section-crumbs ol {
    color: #72818b;
    font-size: 11px;
    line-height: 1.5;
  }

  .kd-section-heading .kd-section-crumbs a {
    color: inherit;
  }

  .kd-section-heading .kd-section-crumbs svg {
    display: none;
  }

  .kd-article-heading .kd-article-crumbs li:nth-child(2)::before {
    content: ">" / "";
    margin: 0 6px;
    color: inherit;
  }
}

@media (max-width: 959px) {
  .kd-article-heading .kd-article-crumbs ol {
    flex-wrap: nowrap;
  }

  .kd-article-heading .kd-article-crumbs li:not(:last-child) {
    flex-shrink: 0;
  }

  .kd-article-heading .kd-article-crumbs li:last-child {
    display: inline-flex;
  }

  .kd-article-heading .kd-article-crumbs li:last-child::before {
    content: ">" / "";
    flex-shrink: 0;
    margin: 0 6px;
  }
}

/* Use the catalog's single-line, swipeable breadcrumb trail on mobile. */
@media (max-width: 959px) {
  .kd-section-heading .kd-section-crumbs {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .kd-section-heading .kd-section-crumbs::-webkit-scrollbar {
    display: none;
  }

  .kd-section-heading .kd-section-crumbs ol {
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
    white-space: nowrap;
  }

  .kd-section-heading .kd-section-crumbs ol > li {
    display: inline-flex;
    flex: 0 0 auto;
    max-width: none;
  }

  .kd-section-heading .kd-section-crumbs li + li::before {
    content: ">" / "";
    flex-shrink: 0;
    margin: 0 6px;
    color: inherit;
  }

  .kd-article-heading .kd-article-crumbs [aria-current="page"] {
    overflow: visible;
    text-overflow: clip;
  }
}


/* The copy attribution markup overflows its zero-size wrapper on narrow screens. */
@media (max-width: 959px) {
  html.app-blog body.kd-shared-blog20261116 .frontend_action_plugin .copyright-additional-text {
    pointer-events: none;
  }
}

@media (min-width: 960px) {
  html.app-blog body.kd-shared-blog20261116 .maincontent #post-stream:has(.kd-news-card) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card > .kd-news-card__surface {
    position: relative;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .card-content {
    display: none;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .uk-card-media:has(img.post-thumb) {
    overflow: hidden;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card img.post-thumb {
    aspect-ratio: 1.42;
    object-fit: cover;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .product-title {
    font-size: 18px !important;
    line-height: 1.28 !important;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .uk-card-header {
    padding: 14px 12px 10px;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__meta {
    padding: 0 12px 12px;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__footer {
    position: static;
    flex-wrap: nowrap;
    gap: 7px;
    padding: 10px;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__footer .kd-news-card__stat {
    min-width: 0;
    white-space: normal;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__footer a.uk-button {
    position: static;
    flex-shrink: 0;
    min-height: 38px;
    gap: 7px;
    padding-inline: 8px !important;
    font-size: 13px;
  }

  /* Reuse the existing article link for clicks anywhere inside the card. */
  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__footer a.uk-button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: inherit;
    background: none;
    transform: none;
    pointer-events: auto;
  }
}

@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card img.post-thumb {
    transition: scale .6s ease;
  }
}

@media (min-width: 960px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card:hover img.post-thumb {
    scale: 1.1;
  }
}


html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__footer a.uk-button {
  gap: 8px;
  padding-inline: 2px !important;
  border-color: transparent;
  background: transparent;
  color: #086e99;
}

html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__footer a.uk-button::after {
  display: inline-block;
  margin-right: 4px;
  color: #269dd8;
  font-size: 19px;
  line-height: 1;
}

@media (min-width: 960px) and (hover: hover) {
  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card:hover > .kd-news-card__surface {
    border-color: #97d5ff;
    box-shadow: 0 8px 24px #269dd812;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card:hover .product-title {
    color: #269dd8;
  }
}

@media (min-width: 960px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card > .kd-news-card__surface {
    transition: border-color .2s, box-shadow .2s, transform .2s;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card:hover > .kd-news-card__surface {
    transform: translateY(-3px);
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card .kd-news-card__footer a.uk-button::after {
    transition: transform .2s ease;
  }

  html.app-blog body.kd-shared-blog20261116 #post-stream .kd-news-card:is(:hover, :focus-within) .kd-news-card__footer a.uk-button::after {
    transform: translateX(4px);
  }
}
