/* Blog listing UI fixes (blogs/blogs.html) */

/* Force blog listing images to perfect squares */
.blog-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.blog-card__image > a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Published date: simple professional pill w/ pastel background (override theme) */
.blog-card .blog-card__meta {
  position: static !important;
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
  background: transparent !important; /* remove theme orange/yellow strip */
  gap: 0 !important;
}

.blog-card .blog-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf2ff !important; /* pastel */
  color: #2b3a55 !important;
  border: 1px solid rgba(43, 58, 85, 0.12);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.blog-card .blog-card__meta span i {
  color: #5b7cfa !important;
  font-size: 14px;
}

/* Make "Read More" links look like buttons */
.blog-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: #ffffff; /* clean */
  border: 1px solid #e5e7eb;
  color: #111827;
  font-family: var(--bbbringlanding-heading-font, "Lexend", serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--bbbringlanding-letter-space, -0.03em);
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  position: relative;
  /* Use the same mobile-friendly button layout on desktop too */
  width: 100%;
}

.blog-card__link i {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.blog-card__link:hover,
.blog-card__link:focus {
  background-color: #111827;
  border-color: #111827;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.18);
}

.blog-card__link:hover i,
.blog-card__link:focus i {
  background: var(--bbbringlanding-base, #FED100); /* orange/yellow accent */
  color: #ffffff;
  transform: translateX(1px);
}

.blog-card__link:focus-visible {
  outline: 2px solid rgba(17, 24, 39, 0.35);
  outline-offset: 3px;
}

/* (Intentionally no desktop-specific overrides: keep the same design everywhere) */


