/*
 * Beliy Shelk — full-text news archive, layout repair.
 * Loaded separately with a versioned URL after the legacy Artisteer stylesheet.
 * Scoped to the news archive; other site sections retain their styles.
 */
.bs-news {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 15px 15px 26px;
  color: #35455a;
}
.bs-news *, .bs-news *::before, .bs-news *::after { box-sizing: border-box; }
.bs-news > .bs-news-heading {
  display: block;
  margin: 0 0 16px;
  padding: 0 0 9px;
  border-bottom: 1px solid #cbd5e0;
  color: #435970;
  font: normal 24px/1.35 Georgia, 'Times New Roman', serif;
}
.bs-news .bs-news-list {
  display: block !important;
  width: 100%;
  min-width: 0;
}
/* Critical: the legacy archive cards use FLEX. Full articles must never be flex cards. */
.bs-news .bs-news-list > article.bs-news-full-entry {
  display: flow-root !important;
  position: relative;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0 0 14px;
  padding: 15px 17px 17px;
  border: 1px solid #d8e0e9;
  border-radius: 2px;
  background: rgba(255,255,255,.78);
  box-shadow: none;
  clear: both;
  overflow: visible;
}
.bs-news .bs-news-full-entry > h2.bs-news-card-title {
  display: block !important;
  clear: both;
  width: 100% !important;
  margin: 0 0 10px;
  padding: 0 0 6px;
  color: #486e9a;
  font: normal 19px/1.4 Georgia, 'Times New Roman', serif;
  overflow-wrap: anywhere;
}
.bs-news .bs-news-full-entry > h2.bs-news-card-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  vertical-align: 3px;
  background: #435970;
}
.bs-news .bs-news-full-entry > .bs-news-entry-body {
  display: flow-root !important;
  clear: both;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #35455a;
  font: normal 18px/1.52 Georgia, 'Times New Roman', serif;
  overflow-wrap: break-word;
}
.bs-news .bs-news-full-entry .bs-news-entry-text {
  display: block !important;
  width: auto !important;
  min-width: 0;
  float: none;
  font: inherit;
  overflow-wrap: anywhere;
}
.bs-news .bs-news-full-entry .bs-news-entry-text > :first-child { margin-top: 0; }
.bs-news .bs-news-full-entry .bs-news-entry-text p {
  margin: 0 0 9px;
  padding: 0;
  font: inherit;
}
.bs-news .bs-news-full-entry .bs-news-entry-text h1,
.bs-news .bs-news-full-entry .bs-news-entry-text h2,
.bs-news .bs-news-full-entry .bs-news-entry-text h3,
.bs-news .bs-news-full-entry .bs-news-entry-text h4 {
  margin: 10px 0 7px;
  padding: 0;
  color: #36475d;
  font: bold 18px/1.45 Georgia, 'Times New Roman', serif;
}
.bs-news .bs-news-full-entry .bs-news-entry-text a { color: #486e9a; overflow-wrap: anywhere; }
.bs-news .bs-news-full-entry .bs-news-entry-text img,
.bs-news .bs-news-full-entry .bs-news-entry-text iframe { max-width: 100%; height: auto; }
.bs-news .bs-news-full-entry .bs-news-entry-text table { max-width: 100%; }
/* A single photo stays at the left; article text wraps around and continues beneath. */
.bs-news .bs-news-full-entry .bs-news-lead-photo {
  display: block;
  float: left !important;
  clear: none;
  width: 205px !important;
  max-width: 44%;
  margin: 2px 17px 10px 0;
  padding: 0;
}
.bs-news .bs-news-full-entry .bs-news-lead-photo > a {
  display: block !important;
  width: 100% !important;
  height: 160px !important;
  border: 1px solid #d8e0e9;
  overflow: hidden;
  background: #e7ebf1;
}
/* Images from older WordPress posts retain original link/image size attributes;
   enforce equal display sizes only in the news archive. */
.bs-news .bs-news-full-entry .bs-news-lead-photo img,
.bs-news .bs-news-full-entry .bs-news-archive-photo img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  float: none !important;
  object-fit: cover;
  object-position: center;
}
.bs-news .bs-news-full-entry .bs-news-archive-gallery {
  display: grid !important;
  clear: both;
  float: none;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  align-items: start;
}
.bs-news .bs-news-full-entry .bs-news-archive-gallery.bs-news-two-photos {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.bs-news .bs-news-full-entry .bs-news-archive-gallery > figure.bs-news-archive-photo {
  display: block;
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  float: none !important;
  overflow: visible;
}
.bs-news .bs-news-full-entry .bs-news-archive-photo > a {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  height: 165px !important;
  overflow: hidden !important;
  border: 1px solid #d8e0e9;
  background: #e7ebf1;
}
.bs-news .bs-news-full-entry figcaption {
  display: block;
  margin: 5px 0 0;
  padding: 0;
  color: #6e7787;
  font: normal 12px/1.45 Georgia, 'Times New Roman', serif;
  text-align: center;
  overflow-wrap: anywhere;
}
.bs-news .bs-news-pagination { display: block; clear: both; }
@media (max-width: 760px) {
  .bs-news { padding: 12px; }
  .bs-news .bs-news-full-entry > .bs-news-entry-body { font-size: 16px; }
  .bs-news .bs-news-full-entry .bs-news-archive-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .bs-news .bs-news-full-entry .bs-news-archive-photo > a { height: 150px !important; }
}
@media (max-width: 520px) {
  .bs-news .bs-news-list > article.bs-news-full-entry { padding: 12px; }
  .bs-news .bs-news-full-entry .bs-news-lead-photo { width: 135px !important; max-width: 45%; margin-right: 12px; }
  .bs-news .bs-news-full-entry .bs-news-lead-photo > a { height: 115px !important; }
  .bs-news .bs-news-full-entry .bs-news-archive-photo > a { height: 120px !important; }
  .bs-news .bs-news-full-entry > h2.bs-news-card-title { font-size: 18px; }
}
