/* BVR Infotech Blog styles */
.blog-hero {
  background:
    linear-gradient(90deg, rgba(0, 129, 122, 0.92), rgba(0, 129, 122, 0.55)),
    url(../img/about/home-banner.jpeg) center/cover no-repeat;
  padding: 140px 0 70px;
}

.blog-hero h1,
.blog-hero p,
.blog-hero .breadcrumb-item,
.blog-hero .breadcrumb-item a {
  color: #fff;
}

.blog-section {
  padding: 60px 0 80px;
  background:
    radial-gradient(circle at top left, rgba(0, 129, 122, 0.06), transparent 40%),
    #f8faf9;
}

.blog-card {
  background: #fff;
  border: 1px solid #e6eceb;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 80, 76, 0.12);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfecea;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
}

.blog-cat {
  color: #00817a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-date {
  color: #6f7675;
}

.blog-card-title {
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.blog-card-title a {
  color: #1f2928;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #00817a;
}

.blog-card-excerpt {
  color: #606261;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-read-more {
  color: #00817a;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}

.blog-read-more i {
  font-size: 0.75rem;
  margin-left: 4px;
}

.blog-post-wrap {
  padding: 50px 0 80px;
  background: #f8faf9;
}

.blog-post-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.blog-post-content {
  background: #fff;
  border: 1px solid #e6eceb;
  padding: 2rem;
}

.blog-post-content h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.blog-post-content .blog-body {
  color: #3d4443;
  line-height: 1.75;
  font-size: 1.05rem;
}

.blog-post-content .blog-body p {
  margin-bottom: 1rem;
}

.blog-admin {
  padding: 120px 0 70px;
  background: #f4f7f6;
  min-height: 80vh;
}

.blog-admin-card {
  background: #fff;
  border: 1px solid #e2e8e6;
  padding: 1.5rem;
}

.blog-admin-table img {
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 2px;
}

.blog-preview-sticky {
  position: sticky;
  top: 100px;
}

.blog-form label {
  font-weight: 600;
  color: #1f2928;
  margin-bottom: 0.35rem;
}

.blog-form .form-control,
.blog-form .form-select {
  border-color: #d5dedc;
}

.blog-form .form-control:focus,
.blog-form .form-select:focus {
  border-color: #00817a;
  box-shadow: 0 0 0 0.2rem rgba(0, 129, 122, 0.15);
}

.blog-login-box {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8e6;
  padding: 2rem;
}

.blog-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #6f7675;
}

.blog-actions .btn {
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}

@media (max-width: 767px) {
  .blog-hero {
    padding: 110px 0 50px;
  }

  .blog-post-content {
    padding: 1.25rem;
  }
}
