#blog-image-gallery {
  display: none;
}

#blog-image-gallery.gallery {
  position: fixed;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(18, 18, 18, 0.691);
  top: 0%;
}

#blog-image-gallery-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 95%;
}

#blog-image-gallery-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-image-gallery-nav {
  fill: white;
  cursor: pointer;
  display: grid;
  place-items: center;
}

#blog-image-gallery-left {
  width: 10%;
}

#blog-image-gallery-right {
  position: relative;
  width: 10%;
}

#close {
  position: absolute;
  top: 0%;
  right: 0%;
  margin: 0.5rem;
  fill: whiet;
}

#blog-image-gallery.active {
  display: block;
}

#blog-box {
  width: 71%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 2rem;
  padding: 5rem 0;
}

#blog-box.gallery, nav.gallery {
  filter: blur(50px);
}

#blog-authors,
#blog-details,
.blog-authors__item{
  display: flex;
  gap: 1rem;
}

.blog-authors__item {
  align-items: center;
  gap: 0.5rem
}

#blog,
#blog-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#blog-content > p {
  font-size: 1.2rem;
  color: var(--body-color);
  line-height: 1.7;
}

#blog-content > h1 {
  margin: 1rem 0;
}

#blog-content > blockquote p:last-child {
  font-size: 2rem;
  margin-top: 1rem;
}

#blog-content > figure > img {
  width: 100%;
  border-radius: 1rem;
}

.blog-content__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.blog-content__images > figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget {
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0px 9px 14px #FBFBFB;
  border-radius: 10px;
  margin-bottom: 40px;
  position: relative;
}

.widget_title {
  position: relative;
  font-size: 24px;
  font-weight: 600;
  font-family: var(--title-font);
  line-height: 1em;
  margin: -0.1em 0 1rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #D3DBEB;
}

.recent-post {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  line-height: 20px;
  text-decoration: none;
  height: 130px;
  border-bottom: 1px solid #dadadab2;
  padding: 1rem 0;
}

.recent-post:first-child {
  padding-top: unset;
}

.recent-post:last-child {
  border-bottom: unset;
  padding-bottom: unset;
}

/* Make the parent which is the a tag to be the only one that is interactable */
.recent-post > * {
  pointer-events: none;
}

.recent-post:last-child {
  margin-bottom: unset;
}

.recent-post .media-img {
  margin-right: 20px;
  width: 80px;
  overflow: hidden;
  height: 100%;
}

.recent-post .media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.media-body {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.recent-post .recent-post-meta {
  margin-bottom: 5px;
}

.recent-post .recent-post-meta {
  color: var(--body-color);
}

.recent-post .post-title {
  font-weight: 600;
  line-height: 28px;
  margin: 0 0 -0.1em 0;
  font-family: var(--title-font);
}

#blog-content .map {
  width: 100%;
  border-radius: 10px;
  border: none;
}

#blog-content > figure > video {
  width: 70%;
  border-radius: 10px;
}

#blog-bottom, #blog-bottom > div {
  display: flex;
  gap: 1rem;
  align-items: center;
}

@media screen and (orientation: portrait) {
    #blog-bottom, #blog-bottom > div {
      display: flex;
      gap: 1rem;
      align-items: center;
      margin-bottom: 2rem;
    }

  #blog-content > figure > video {
    width: 100%;
  }

  #blog-content > figure > img {
    width: 100%;
  }

  #blog-image-gallery {
    grid-template-columns: 1fr !important;
  }

  .blog-image-gallery-nav {
    font-size: 1rem;
  }

  #blog-image-gallery-image > img {
    width: 95%;
  }

  #blog-box {
    width: 100%;
    padding: 2rem 1rem;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .widget_title {
    font-size: 1.2rem;
    padding: 16px;
  }

  .widget {
    padding: unset;
  }

  .recent-post .media-img img {
    width: 100%;
    object-fit: cover;
  }

  .recent-post .post-title {
    font-size: 1rem;
    line-height: 2rem;
  }
}

.recent-post .post-title > a {
  color: unset;
  text-decoration: none;
}

.tagcloud a {
  display: inline-block;
  border: none;
  line-height: 1;
  padding: 9.5px 16px;
  margin-right: 5px;
  margin-bottom: 10px;
  text-transform: math-auto;
  color: var(--body-color);
  background-color: var(--smoke-color);
  border-radius: 5px;
  text-decoration: none;
}

.share-links-title {
  font-size: 20px;
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: 700;
  display: inline-block;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.social-links > li {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background-color: var(--theme-color);
  border-radius: 50%;
}

.social-links > li > a > i {
  color: var(--white-color);
}