.custom-blog-wrapper {
  display: flex;
  gap:40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.custom-blog-left {
  flex: 1;
  position: sticky;
  top: 175px;
  align-self: flex-start;
}

.custom-blog-right {
  flex: 1.5;
}

.blog-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: "IBM Plex Serif", serif !important;
}

.blog-tag {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}

.custom-blog-left blockquote.blog-quote {
  font-style: italic;
  border-left: none;
  padding-left: 0px !important;
  margin: 30px 0 !important;
  line-height: 1.8 !important;
  font-size: 1.1rem !important;
  color: #444 !important;
  font-family: Georgia, 'Times New Roman', serif;
  white-space: pre-line;
}

@media (max-width: 768px) {
  .custom-blog-wrapper {
    flex-direction: column;
    gap: 0 !important;
  }

  .custom-blog-left {
    position: static;
    width: 100%;
    margin-bottom: 30px;
  }
  
	.blog-title{
		font-size:1.5rem;
	}

  .custom-blog-right {
    width: 100%;
  }

  .blog-quote {
    white-space: normal !important;
  }
}


/* list */
.custom-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
/*   padding: 40px 20px; */
  margin-bottom: 20px
}

.custom-blog-grid .blog-title{
	font-size: 20px;
}

.blog-card {
  background: #234e5a;
  border-radius: 24px;
  padding: 32px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-icon {
  font-size: 28px;
}

.blog-type {
  color: #aaa;
  font-size: 14px;
  text-transform: uppercase;
}


.blog-excerpt {
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.blog-read-more {
  margin-top: auto;
  font-weight: bold;
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
}

@media screen and (max-width: 1024px) {
  .custom-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .custom-blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    padding: 24px;
  }
}
.blog-category-nav-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.blog-category-nav {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  width: max-content;
}

.blog-cat-link {
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 8px 16px;
  background-color: #eaeaea;
  border-radius: 9999px;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.3s;
}

.blog-cat-link:hover,
.blog-cat-link:focus {
  background-color: #0073aa;
  color: #fff;
}

