/* ================ COLOUR SHORTCUT ================= */
/* .wrapper-blog {
  background-color: hsl(0, 1%, 35%);
}

.blog-title-section {
  background-color: hsl(0, 10%, 29%);
}

.blog-link-section {
  background-color: hsl(0, 16%, 18%);
}

.blog-image-section {
  background-color: hsl(0, 5%, 21%);
}

.blog-share-section {
  background-color: hsl(0, 23%, 20%);
}

.blog-text-section {
  background-color: hsl(0, 39%, 14%);
} */
/* ================ COLOUR SHORTCUT ================= */

.wrapper-blog {
  /* background-color: hsl(0, 1%, 35%); */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 1em;
}

.blog-title-section {
  /* background-color: hsl(0, 10%, 29%); */
  grid-column: 1/3;
}

.blog-text-section {
  /* background-color: hsl(0, 39%, 14%); */
  grid-column: 1/2;
  grid-row: auto;
}

.blog-link-section {
  /* background-color: hsl(0, 16%, 18%); */
  grid-column: 2/3;
  text-align: right;
}

.blog-image-section {
  /* background-color: hsl(0, 5%, 21%); */
  grid-column: 2/3;
  grid-row: auto;
  height: fit-content;
  text-align: right;
}

.blog-zoomicon {
  /* background: rgb(124, 124, 158); */
  grid-column: 2 / 3;
  grid-row: auto;
  cursor: zoom-in;
  justify-self: end;
}

.blog-zoomicon button {
  background-color: transparent;
  border: none;
}

.blog-zoomicon button {
  /* background-color: darkblue; */
  /* background: transparent; */
  border: none;
  cursor: zoom-in;
  color: hsl(0, 0%, 28%);
  font-size: 0.96rem;
}

.zoombutton-text:hover p {
  cursor: zoom-in;
  font-size: 1.1rem;
  filter: brightness(1.08);
  -webkit-filter: brightness(1.08);
  -moz-filter: brightness(1.08);
}

.darkmode .blog-zoomicon button {
  /* background-color: darkblue; */
  /* background: transparent; */
  border: none;
  cursor: zoom-in;
  color: hsl(45, 3%, 70%);
}

.blog-caption {
  /* background: darkblue; */
  grid-column: 2 / 3;
  grid-row: auto;
  text-align: right;
  font-size: 0.9rem;
}

.blog-share-section {
  /* background-color: hsl(0, 23%, 20%); */
  grid-column: 2/3;
  grid-row: auto;
  height: fit-content;
  width: fit-content;
  justify-self: end;
  /* align-self: top; */
}

/* ======= MEDIA QUERIES ======= ======= MEDIA QUERIES =======  */
/* For extremely small screen devices (480px and below) PORTRAIT TINY */
@media only screen and (max-width: 480px) {
  .blog-title-section {
    grid-column: 1/3;
  }

  .blog-link-section {
    grid-column: 1/3;
    text-align: right;
  }

  .blog-image-section {
    grid-column: 1/3;
    grid-row: 2/3;
    height: fit-content;
  }

  .blog-zoomicon {
    grid-column: 1/3;
    grid-row: 3/4;
    height: fit-content;
  }

  .blog-caption {
    grid-column: 1/3;
    grid-row: 4/5;
    height: fit-content;
  }

  .blog-share-section {
    grid-column: 1/3;
    grid-row: 5/6;
    height: fit-content;
    width: fit-content;
    justify-self: end;
    align-self: top;
  }

  .blog-text-section {
    grid-column: 1/3;
  }
}

/* For extremely small screen devices (481px and above) PORTRAIT PHONE */
@media only screen and (min-width: 481px) {
  .blog-title-section {
    grid-column: 1/2;
  }

  .blog-link-section {
    grid-column: 2/3;
    text-align: right;
  }

  .blog-image-section {
    grid-column: 2/3;
    grid-row: 2/3;
    height: fit-content;
  }

  .blog-zoomicon {
    grid-column: 2/3;
    grid-row: 3/4;
    height: fit-content;
  }

  .blog-caption {
    grid-column: 2/3;
    grid-row: 4/5;
    height: fit-content;
  }

  .blog-share-section {
    grid-column: 2/3;
    grid-row: 5/6;
    height: fit-content;
    width: fit-content;
    justify-self: end;
    align-self: top;
  }

  .blog-text-section {
    grid-column: 1/2;
    grid-row: 2/7;
  }
}

/* Small screen devices (600px and above) PORTRAIT TABLET */
@media only screen and (min-width: 600px) {
  .blog-title-section {
    grid-column: 1/2;
  }

  .blog-link-section {
    grid-column: 2/3;
    text-align: right;
  }

  .blog-image-section {
    grid-column: 2/3;
    grid-row: 2/3;
    height: fit-content;
  }

  .blog-zoomicon {
    grid-column: 2/3;
    grid-row: 3/4;
    height: fit-content;
  }

  .blog-caption {
    grid-column: 2/3;
    grid-row: 4/5;
    height: fit-content;
  }

  .blog-share-section {
    grid-column: 2/3;
    grid-row: 5/6;
    height: fit-content;
    width: fit-content;
    justify-self: end;
    align-self: top;
  }

  .blog-text-section {
    grid-column: 1/2;
    grid-row: 2/7;
  }
}

/* Medium screen devices (768px and above) LANDSCAPE TABLET  */
@media only screen and (min-width: 768px) {
  .blog-title-section {
    grid-column: 1/3;
  }

  .blog-link-section {
    grid-column: 1/3;
    text-align: right;
  }

  .blog-image-section {
    grid-column: 2/3;
    grid-row: 2/3;
    height: fit-content;
  }

  .blog-zoomicon {
    grid-column: 1/3;
    grid-row: 3/4;
    height: fit-content;
  }

  .blog-caption {
    grid-column: 2/3;
    grid-row: 4/5;
    height: fit-content;
  }

  .blog-share-section {
    grid-column: 1/3;
    grid-row: 5/6;
    height: fit-content;
    width: fit-content;
    justify-self: end;
    align-self: top;
  }

  .blog-text-section {
    grid-column: 1/2;
    grid-row: 2/7;
  }
}

/* Big screen devices (1024px and above) LANDSCAPE LAPTOP */
@media only screen and (min-width: 1024px) {
  .blog-title-section {
    grid-column: 1/3;
  }

  .blog-link-section {
    grid-column: 1/3;
    text-align: right;
  }

  .blog-image-section {
    grid-column: 1/3;
    grid-row: 2/3;
    height: fit-content;
  }

  .blog-zoomicon {
    grid-column: 1/3;
    grid-row: 3/4;
    height: fit-content;
  }

  .blog-caption {
    grid-column: 1/3;
    grid-row: 4/5;
    height: fit-content;
  }

  .blog-share-section {
    grid-column: 1/3;
    grid-row: 5/6;
    height: fit-content;
    width: fit-content;
    justify-self: end;
    align-self: top;
  }

  .blog-text-section {
    grid-column: 1/3;
    grid-row: 6/7;
  }
}

/* Extra big screen devices (1201px and above) LANDSCAPE TV */
@media only screen and (min-width: 1201px) {
  .blog-title-section {
    grid-column: 1/3;
  }

  .blog-link-section {
    grid-column: 2/3;
    text-align: right;
  }

  .blog-image-section {
    grid-column: 2/3;
    grid-row: 2/3;
    height: fit-content;
  }

  .blog-zoomicon {
    grid-column: 1/3;
    grid-row: 3/4;
    height: fit-content;
  }

  .blog-caption {
    grid-column: 2/3;
    grid-row: 4/5;
    height: fit-content;
  }

  .blog-share-section {
    grid-column: 1/3;
    grid-row: 5/6;
    height: fit-content;
    width: fit-content;
    justify-self: end;
    align-self: top;
  }

  .blog-text-section {
    grid-column: 1/2;
    grid-row: 2/7;
  }
}

/* ======= MEDIA QUERIES ======= ======= MEDIA QUERIES =======  */
