.bf-blog { width: 100%; color: #333; }
.bf-blog [hidden] { display: none !important; }
#recent-news { scroll-margin-top: 180px; }
.bf-blog__filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.bf-blog__field { display: grid; gap: 8px; flex: 1 1 220px; }
.bf-blog__field--search { flex-grow: 2; }
.bf-blog__field label { font-weight: 600; }
.bf-blog__search { display: flex; gap: 8px; }
.bf-blog input, .bf-blog select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #777;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font: inherit;
}
.bf-blog button, .bf-blog .bf-blog__read-more, .bf-blog .bf-blog__pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #b94125;
  border-radius: 6px;
  background: #b94125;
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.bf-blog button:hover, .bf-blog .bf-blog__read-more:hover,
.bf-blog .bf-blog__pagination a:hover { background: #96351f; color: #fff; }
.bf-blog button[data-clear], .bf-blog .bf-blog__pagination a { background: #fff; color: #96351f; }
.bf-blog button[data-clear]:hover { background: #f6ece8; }
.bf-blog .bf-blog__pagination a[aria-current="page"] { background: #b94125; color: #fff; }
.bf-blog :is(a, button, input, select):focus-visible {
  outline: 3px solid #333;
  outline-offset: 4px;
}
.bf-blog__status { margin: 0 0 24px; }
.bf-blog__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.bf-blog__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 5px 5px 10px rgb(0 0 0 / 14%);
}
.bf-blog__image { position: relative; display: block; background: #eee9e4; }
.bf-blog__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bf-blog__image--brand img { object-fit: contain; padding: 60px; }
.bf-blog__image time {
  position: absolute;
  top: 18px;
  left: 0;
  padding: 8px 16px;
  border-radius: 0 4px 4px 0;
  background: #333;
  color: #fff;
  font-size: 14px;
}
.bf-blog__body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 24px; }
.bf-blog__category { margin: 0 0 8px; color: #96351f; font-size: 14px; font-weight: 600; }
.bf-blog__card h3 { font-size: 21px; line-height: 1.35; margin: 0 0 16px; overflow-wrap: anywhere; }
.bf-blog__card h3 a { color: #333; text-decoration: none; }
.bf-blog__card h3 a:hover { color: #96351f; text-decoration: underline; }
.bf-blog__excerpt { margin: 0 0 24px; line-height: 1.65; }
.bf-blog__read-more { margin-top: auto; }
.bf-blog__pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.bf-blog__empty { padding: 40px 24px; background: #f6f3f0; border-left: 3px solid #d14d2c; }
.bf-blog__empty h3 { margin-top: 0; }
@media (max-width: 1024px) {
  .bf-blog__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  #recent-news { scroll-margin-top: 125px; }
  .bf-blog__cards { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bf-blog__field { flex-basis: 100%; }
  .bf-blog__search button { padding-inline: 14px; }
}
