/* === BLOG FRONT === */
.triple-h-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 2em;
  width: 100%;
  height: 70vh;
  box-sizing: border-box;
  padding: 10vh 5vw;
  margin: 0 auto;
  max-width: 90vw;
}

.triple-h-box {
  flex: 0 1 28%;
  max-width: 28%;
  height: 100%;
  padding: 4em 2em 2em 2em;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease;
  position: relative;
  box-sizing: border-box;
}

.triple-h-box:hover {
  transform: scale(1.02);
}

.triple-h-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.triple-h-box:hover::after {
  opacity: 1;
}

.blog-overview-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 14;
  -webkit-box-orient: vertical;
  position: relative;
  z-index: 2;
}


/* === BLOG DETAIL === */
.blog-detail-frame {
  width: 90%;
  height: 80vh;
  margin: 10vh auto;
  display: flex;
  flex-direction: column;
  color: white;
  overflow: hidden;
  position: relative;
  padding-top: 25hv;
  box-sizing: border-box;
}

.blog-detail-header-wrapper {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  max-height: 25hv;
}

.blog-detail-header-wrapper img {
  width: 100%;
  height: auto;
  max-height: 25vh;
  object-fit: cover;
  display: block;
}

.blog-detail-header-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2em;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.blog-detail-header-text h2 {
  font-size: 1.8em;
  margin: 0;
  color: white;
}

.blog-meta {
  font-size: 0.9em;
  color: #ccc;
}

.blog-detail-scroll {
  flex-grow: 1;
  max-height: 100%;
  overflow-y: auto;
  padding: 2em 2em 10% 2em;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-detail-scroll::-webkit-scrollbar {
  display: none;
}

.blog-detail-body {
  line-height: 1.6em;
  color: inherit;
}


.blog-detail-body p {
  margin-bottom: 1.2em;
}
