/* Legacy "Ekspert wyjaśnia" blocks inside D11 news only. */
#newsDetailBody .kb-news-expert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 14px 30px;
  clear: both;
  width: 100%;
  max-width: 100%;
  margin: 30px 0 18px;
  padding: 0;
  box-sizing: border-box;
}
#newsDetailBody .kb-news-expert > .kb-news-expert__heading {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
}
#newsDetailBody .kb-news-expert > .kb-news-expert__photo,
#newsDetailBody .kb-news-expert > .kb-news-expert__quote {
  display: block !important;
  float: none !important;
  width: auto !important;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
#newsDetailBody .kb-news-expert__photo > a { display: block; }
#newsDetailBody .kb-news-expert__photo img {
  display: block !important;
  width: 100% !important;
  max-width: 450px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  margin: 0 auto !important;
  border-radius: 0;
}
#newsDetailBody .kb-news-expert__quote > :first-child { margin-top: 0; }
#newsDetailBody .kb-news-expert__quote > :last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  #newsDetailBody .kb-news-expert {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 24px;
  }
  #newsDetailBody .kb-news-expert__photo img { max-width: 380px !important; }
}
