.blog-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #e1e1e1;
}

/* Left image box */
.blog-image {
  width: 320px;
  flex-shrink: 0;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.blog-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  padding: 6px;
  font-size: 14px;
  border-radius: 0 0 12px 12px;
}

/* Right content */
.blog-content {
  flex: 1;
}

.blog-title {
  font-size: 17px;
  font-weight: bold !important;
  color: #159b8f;
  /* text-decoration: underline; */
  margin-bottom: 8px;
  min-height: 27px;
}

.blog-meta {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.blog-meta i {
  margin-right: 5px;
  color: #159b8f;
}

.blog-text {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
  overflow-wrap: break-word;
}

.blog-more {
  color: #159b8f;
  text-decoration: underline;
  font-size: 18px;
  font-weight: 600;
}

.blog-more:hover {
  color: #0f7a6a;
}

/* -----------------------------------
   BLOG DETAIL PAGE DESIGN
------------------------------------ */

.blog-detail {
  width: 100%;
  max-width: 1350px;
  margin: auto;
  padding: 25px;
  display: none;
  /* Hidden until opened */
}

.detail-title {
  font-size: 36px;
  font-weight: 700;
  color: #008d74;
  margin-bottom: 10px;
}

.detail-meta {
  font-size: 17px;
  color: #444;
  margin-bottom: 25px;
}

.detail-meta i {
  color: #008d74;
  margin-right: 5px;
}

/* Main wrapper: image + text */
.detail-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.detail-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 8px;
}

.detail-caption {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  text-align: center;
  padding: 6px;
  border-radius: 0 0 8px 8px;
  margin-top: -32px;
  font-size: 14px;
}

.detail-right p {
  margin-bottom: 15px;
}

.detail-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  width: 100%;
}

.detail-left {
  flex: 0 0 350px;
  /* FIXED LEFT COLUMN SIZE */
  max-width: 350px;
  align-self: flex-start;
}

.detail-img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.detail-right {
  flex: 1;
  /* RIGHT COLUMN TAKES REMAINING SPACE */
  width: 100%;
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
  overflow-wrap: break-word;
  /* FORCE wrapping */
  word-break: break-word;
}

.detail-wrapper {
  display: flex;
  gap: 30px;
  width: 100%;
  align-items: flex-start;
}

/* LEFT IMAGE — STICKY */
.detail-left {
  flex: 0 0 350px;
  /* fixed width */
  max-width: 350px;
  position: sticky;
  top: 100px;
  /* distance from top while scrolling */
  height: auto;
  align-self: flex-start;
}

.detail-img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.detail-caption {
  background: rgba(0, 0, 0, 0.75);
  color: white;
  text-align: center;
  padding: 6px;
  border-radius: 0 0 8px 8px;
  margin-top: -32px;
}

/* RIGHT COLUMN */
.detail-right {
  flex: 1;
  font-size: 18px;
  line-height: 1.9;
  text-align: justify;

  overflow-wrap: break-word;
  word-break: break-word;
}

.blog-card {
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s ease;
  background: white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.blog-card img {
  transition: 0.4s;
  width: 450px;
  height: 250px;
  object-fit: cover;
}

.blog-card:hover img {
  transform: scale(1.08);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}
