.single-blog-post {
  background: #fff;
  box-shadow: 0 10px 55px rgba(137, 173, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-image img {
  display: block;
}

.post-title a {
  text-decoration: none;
  color: inherit;
}

.read-more-btn {
  color: #0d5295;
  font-weight: 500;
  text-decoration: none;
}

.blog-details-desc {
  line-height: 1.7;
}

.blog-details-desc img {
  max-width: 100%;
}

.blog-area h1 {
  font-size: 2rem;
}

.gx-5 { /* bootstrap gut ter fallback */
  --bs-gutter-x: 2rem;
}






/* ──────────────────────────────────────────────────────────────
   GLOBAL CONTAINERS & GRID
────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;      /* a bit wider than default */
  padding: 0 1.5rem;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col-lg-8 {
  width: 66.6667%;
  padding: 0 1rem;
}

.col-lg-4 {
  width: 33.3333%;
  padding: 0 1rem;
}

/* ──────────────────────────────────────────────────────────────
   SIDEBAR (widget-area)
────────────────────────────────────────────────────────────── */
.widget-area {
  /* push it down into the upper-middle of the column */
  margin-top: 4rem;
  position: relative;
}

.widget_posts_thumb {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  animation: fadeInUp 0.6s ease-out both;
}

.widget_posts_thumb .widget-title {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  border-bottom: 2px solid #176abf;
  padding-bottom: 0.25rem;
}

/* each recent-post item */
.widget_posts_thumb article {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
  animation-delay: calc(var(--idx) * 0.1s);
}

/* thumbnail block */
.sidebar-thumb {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
  border-radius: 4px;
  background-color: #f0f2fa;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}
.sidebar-thumb:hover {
  transform: scale(1.05);
}

/* meta + title */
.sidebar-meta {
  line-height: 1.3;
}
.sidebar-meta time {
  display: block;
  font-size: 0.85rem;
  color: #737b9a;
  margin-bottom: 0.25rem;
}
.sidebar-meta h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.sidebar-meta h4 a:hover {
  color: #176abf;
}

/* utility to set index-based animation delay */
.widget_posts_thumb article:nth-child(1) { --idx: 0; }
.widget_posts_thumb article:nth-child(2) { --idx: 1; }
.widget_posts_thumb article:nth-child(3) { --idx: 2; }
.widget_posts_thumb article:nth-child(4) { --idx: 3; }
.widget_posts_thumb article:nth-child(5) { --idx: 4; }


/* ──────────────────────────────────────────────────────────────
   BLOG CARDS (on BlogListPage)
────────────────────────────────────────────────────────────── */
.single-blog-post {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}
.single-blog-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.post-image img {
  display: block;
  width: 100%;
  height: auto;
}

.post-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: #737b9a;
}
.post-meta ul li {
  display: inline-block;
  margin-right: 1rem;
}

.post-content h3 {
  font-size: 1.4rem;
  margin: 0.75rem 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.post-content h3 a:hover {
  color: #176abf;
}

.post-content p {
  flex-grow: 1;
  margin-bottom: 1rem;
  color: #555;
}

.read-more-btn {
  align-self: flex-start;
  color: #176abf;
  font-weight: 500;
  transition: color 0.2s ease;
}
.read-more-btn:hover {
  color: #0d5295;
}

/* ──────────────────────────────────────────────────────────────
   KEYFRAMES
────────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
