/* Custom adjustments for team member cards */

/* Lower the description cards for operations team to show more of the face */
.operations .team-member-item.ops .card.team-over-image-content {
  bottom: -40px !important;
}

/* Alternative: Move the card down by adjusting the inset */
.operations .team-member-item.ops .card.team-over-image-content {
  inset: auto auto -40px 0% !important;
}

/* ===== BLOG PAGE FIXES ===== */

/* Fix blog posts grid layout - target the specific grid with grid-2-columns class */
.grid-2-columns.gap-row-48px.w-dyn-items {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 48px !important;
  width: 100%;
}

/* Ensure blog post cards have proper height and sizing */
.grid-2-columns.gap-row-48px .w-dyn-item {
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

/* Blog card wrapper should expand to fill container */
.grid-2-columns.gap-row-48px .blog-card-wrapper.v3 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Image should have consistent aspect ratio */
.grid-2-columns.gap-row-48px .blog-card-image-wrapper.blog-v3-image {
  height: 280px;
  overflow: hidden;
  flex-shrink: 0;
}

/* Content overlay should fill remaining space */
.grid-2-columns.gap-row-48px .blog-card-content-over {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Featured blog post layout improvements */
.hero.v4 .blog-featured-v1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100%;
}

.hero.v4 .blog-card-image-wrapper.featured-v1 {
  grid-column: 2;
  min-height: 400px;
}

.hero.v4 .card.blog-featured-v1 {
  grid-column: 1;
  padding: 40px;
}

/* Ensure category filters don't collapse */
.categories-badges-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.categories-badges-item-wrapper {
  display: flex;
}
