.blogs-detail {
  font-family: 'Aeonik', sans-serif
}

.blogs-detail>* {
  margin-top: 0;
  margin-bottom: 24px
}

.blogs-detail>*:last-child {
  margin-bottom: 0
}

.blogs-detail p {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 29px;
  color: #0F1420C7;
  text-align: left
}

.blogs-detail h1,
.blogs-detail h2,
.blogs-detail h3,
.blogs-detail h4,
.blogs-detail h5,
.blogs-detail h6 {
  font-family: 'Aeonik', sans-serif;
  color: #0F1420;
  font-weight: 500;
  line-height: 1.2
}

.blogs-detail h1 {
  font-size: 32px;
  margin-top: 36px;
  margin-bottom: 12px
}

.blogs-detail h2 {
  font-size: 26px;
  margin-top: 32px;
  margin-bottom: 8px;
  font-weight: 400;
  line-height: 36px
}

.blogs-detail h3 {
  font-size: 22px;
  margin-top: 28px;
  margin-bottom: 8px
}

.blogs-detail h4 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 6px
}

.blogs-detail h5 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 4px
}

.blogs-detail h6 {
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 4px
}

.blogs-detail figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 24px
}

.blogs-detail figure div {
  width: 100%;
  aspect-ratio: 760 / 428;
  overflow: hidden;
  background-color: #F4F6FB;
  border: 1px solid #E0E3EC
}

.blogs-detail figure img,
.blogs-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms
}

.blogs-detail figure img:hover,
.blogs-detail img:hover {
  transform: scale(1.01)
}

.blogs-detail figcaption {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #0F142080;
  text-align: left
}

.blogs-detail ul {
  list-style: none;
  padding-left: 0;
  margin-top: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.blogs-detail ul li {
  position: relative;
  padding-left: 24px;
  font-size: 18px;
  font-weight: 400;
  line-height: 29px;
  color: #0F1420C7
}

.blogs-detail ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: #CBF86C
}

.blogs-detail ol {
  list-style-type: decimal;
  padding-left: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.blogs-detail ol li {
  font-size: 18px;
  font-weight: 400;
  line-height: 29px;
  color: #0F1420C7
}

.blogs-detail a {
  color: #3B4AFF;
  text-decoration: underline;
  transition: color 0.2s ease-in-out
}

.blogs-detail a:hover {
  color: #2A39E6
}

/* Card Grid Styling (Benefits) */
.blogs-detail .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #E0E3EC;
  border-left: 1px solid #E0E3EC;
  margin-top: 32px;
  margin-bottom: 32px;
}

.blogs-detail .card-grid .card-item,
.blogs-detail .card-grid::after {
  border-right: 1px solid #E0E3EC;
  border-bottom: 1px solid #E0E3EC;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #ffffff;
}

.blogs-detail .card-grid::after {
  content: "";
  background-color: #F4F6FB;
  min-height: 180px;
}

.blogs-detail .card-grid .card-item::before {
  content: "";
  width: 24px;
  height: 2px;
  background-color: #3B4AFF;
  margin-bottom: 24px;
}

.blogs-detail .card-grid .card-item h3 {
  font-family: 'Aeonik', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #0F1420;
  margin-top: 0;
  margin-bottom: 12px;
}

.blogs-detail .card-grid .card-item p {
  font-size: 14px;
  line-height: 20px;
  color: #0F142080;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .blogs-detail .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .blogs-detail .card-grid {
    grid-template-columns: 1fr;
  }
  .blogs-detail .card-grid::after {
    display: none;
  }
}
