.blog-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

.blog-header {
  background: #0a0f28;
  color: #fff;
}

.blog-header .nav-link,
.blog-header .text-color-light,
.blog-header .svg-fill-color-light {
  color: #fff !important;
  fill: #fff !important;
}

.blog-header .nav-link:hover,
.blog-header .nav-link:focus {
  color: #c8b88a !important;
}

.blog-header .header-body,
.blog-header .header-container,
.blog-header .header-nav-main {
  background: transparent;
}

.blog-container:not(.owl-carousel) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

[data-blog-preview-card] {
  width: 100%;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

[data-blog-preview-card] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  flex-shrink: 0;
}

[data-blog-preview-card] .post-meta {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #555;
  margin: 1rem 1.5rem 0;
}

.post-meta span + span::before {
  content: ' | ';
  margin: 0 0.25rem;
}

[data-blog-preview-card] h2 {
  margin: 0.5rem 1.5rem;
  font-size: 1.125rem;
}

[data-blog-preview-card] p {
  margin: 0 1.5rem 1rem;
  color: #555;
  flex-grow: 1;
}

.view-more {
  margin: 0 1.5rem 1.5rem;
  color: #007bff;
  font-weight: 500;
  text-decoration: underline;
  text-transform: uppercase;
  display: inline-block;
  align-self: flex-start;
}


.blog-post {
  width: min(1200px, 100%);
  margin: 1rem auto 2rem;
  background: #fff;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: 8px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.blog-post h1 {
  margin-top: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.blog-post img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

