/* Blog-specific styles — layered on top of vdim.webflow.css, scoped to /blog pages. */

.blog-hero {
  padding-top: 48px;
  padding-bottom: 16px;
}

.blog-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.blog-search-input {
  flex: 1 1 280px;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid #d7dde1;
  border-radius: 6px;
  font-size: 15px;
}

.blog-filter-submit {
  flex: 0 0 auto;
}

.blog-filter-clear {
  color: #253439;
  text-decoration: underline;
  font-size: 14px;
}

.blog-empty {
  padding: 48px 0;
  text-align: center;
  color: #6b7280;
  font-size: 16px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e9ec;
  box-shadow: 0 2px 10px rgba(20, 30, 40, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(20, 30, 40, 0.12);
}

.blog-card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #eef1f3;
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-card-tag {
  display: inline-block;
  align-self: flex-start;
  background: #eef6f5;
  color: #1f7a6c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.blog-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #1c2b33;
  margin: 0;
}

.blog-card-summary {
  font-size: 14px;
  color: #5c6b73;
  line-height: 1.5;
  margin: 0;
}

.blog-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.blog-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #d7dde1;
  color: #253439;
  text-decoration: none;
  font-size: 14px;
}

.blog-page-link--active {
  background: #253439;
  color: #fff;
  border-color: #253439;
}

.blog-post-hero {
  position: relative;
  padding: 56px 0 32px;
  background-size: cover;
  background-position: center;
  background-color: #f5f7f8;
}

.blog-post-hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 17, 0.78);
}

.blog-post-hero-content {
  position: relative;
  z-index: 1;
}

.blog-post-hero--has-image .service-head,
.blog-post-hero--has-image .blog-post-meta {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.blog-post-hero--has-image .blog-card-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.blog-post-meta {
  display: flex;
  gap: 16px;
  color: #5c6b73;
  font-size: 14px;
  margin-top: 8px;
}

.blog-post-layout {
  max-width: 760px;
}

.blog-post-summary {
  font-size: 18px;
  color: #3d4a51;
  line-height: 1.6;
  margin-bottom: 24px;
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.blog-post-content .getin-touch-wrapper {
  margin-top: 32px;
}

.post-tags .tag {
  background: #eef1f3;
  color: #253439;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
}

.blog-404 {
  padding: 80px 0;
  text-align: center;
}

.blog-404 p {
  color: #5c6b73;
  margin-bottom: 24px;
}
