/* all images on page */
* > img {
  max-width: 100%;
}
/* intro section  */
.introduction {
  text-align: center;
  background: url(../images/blog-page-intro.jpg) no-repeat bottom;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: overlay;
  background-attachment: fixed;
}
/* main section */
.blogs-main {
  justify-content: center;
  flex-direction: column;
  padding: var(--padding-16px);
}
.heading-select h2 {
  border-bottom: none;
  margin-bottom: 0px;
  padding: 0px;
}
.heading-select {
  justify-content: space-between;
  border-bottom: 1px solid var(--darkblue-color);
  padding: var(--padding-16px);
  gap: 1rem;
  align-items: center;
}
#category {
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: var(--padding-16px);
  font-family: var(--paragraph-text-fonts);
  font-size: 1.1em;
}
/* styling for recieved  single article container  */
.article {
  align-items: center;
  display: grid;
  grid-template-rows: 250px 1fr;
  box-shadow: var(--box-shadow);
  padding: var(--padding-16px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.article > img {
  width: 100%;
  height: 100%;
}
.line-height {
  line-height: 2em;
  height: 9em;
  overflow: hidden;
  position: relative;
}
.line-height ::after {
  position: absolute;
  content: "";
  width: 90%;
  height: 3em;
  bottom: 0px;
  background: linear-gradient(to bottom, transparent, #fff);
}

.read-more {
  display: inline-block;
  z-index: 2;
  border: 1px solid var(--button-color);
  text-align: center;
  padding: var(--padding-8px);
  transition: 0.3s ease-in;
  font-size: 0.9em;
}
.read-more:hover {
  transform: scale(0.9);
}
.view-more {
  max-width: 150px;
}
