nav .blogNav {
  width: 95%;
  max-width: 1300px;
  display: flex;
  min-height: 35px;
  align-items: center;
  margin: 10px auto 20px;
  justify-content: center;
  position: relative;
}
.mobileNavDropdown {
  top: 126px;
  height: calc(100dvh - 126px);
}

nav .blogNav .locationTab {
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
nav .blogNav .locationTab .imgContainer {
  width: 35px;
  height: 35px;
  background-color: var(--lm-background);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: 10px;
}
nav .blogNav .locationTab .imgContainer img {
  width: 20px;
  height: 20px;
}

nav .blogNav .postTypeSelector {
  display: flex;
  align-items: center;
}
nav .blogNav .postTypeSelector a {
  margin: 0 10px;
  transition: opacity 0.3s ease-in;
  opacity: 0.7;
  cursor: pointer;
  color: var(--lm-background);
}
nav .blogNav .postTypeSelector .activeNav {
  opacity: 1;
}
/* //////////////////////////////// */
.blogContentContainer {
  /* min-height: calc(100dvh - 60px - 400px); */
}
.pageTitle {
  width: 95%;
  text-align: center;
  font-size: 30px;
  margin: 50px auto 0;
}
.pageSubTitle {
  width: 95%;
  text-align: center;

  margin: 10px auto 0;
}
.postsContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
}
.highlightedPostContainer {
  width: 100%;
  display: flex;
  justify-content: center;
}
#highlightedPost {
  width: 95%;
  max-width: 1300px;
  /* height: 600px; */
  border: 1px solid rgba(220, 220, 220, 0.355);
  border-radius: 8px;
  cursor: pointer;
  padding: 50px;
  display: flex;
  flex-direction: column;
}
#highlightedPost:hover {
  border: 1px solid var(--primary_color);
}
#highlightedPost:hover .textContainer h2 {
  color: var(--primary_color);
}

#highlightedPost .highlightedPostImageContainer {
  width: 100%;
  height: auto;
  margin: auto auto 0;
}
#highlightedPost .highlightedPostImage {
  width: 100%;
}

#highlightedPost .textContainer {
  margin-top: auto;
}
/* ///////////////////////////////// */
#previousPosts {
  width: 95%;
  max-width: 1000px;
  /* display: flex; */
  /* flex-wrap: wrap; */
  /* row-gap: 20px; */
  /* column-gap: 10px; */
  margin: 20px auto 0;
}
#previousPosts .noContentText {
  width: 95%;
  text-align: center;
  margin: 0 auto;
}

/* Post container */
#previousPosts .post {
  display: block;
  text-decoration: none;
  color: inherit;
}

#previousPosts .post-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  background: var(--dm-backgroundOffset);
}

#previousPosts .post-content:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Header / Media */
#previousPosts .post-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#previousPosts .post-media {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 8px;
}

#previousPosts .post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0) saturate(100%) invert(94%) sepia(6%) saturate(0%)
    hue-rotate(70deg) brightness(105%) contrast(105%);
}

#previousPosts .post-type {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dm-text);
  text-transform: uppercase;
}

/* Body */
#previousPosts .post-title {
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
}

#previousPosts .post-description {
  font-size: 0.75rem;
  margin: 0;
}

/* Footer */
#previousPosts .post-footer {
  margin-top: auto;
  font-size: 0.85rem;
  color: #777;
}

@media screen and (max-width: 1200px) {
  #previousPosts .blogPost {
    max-width: calc(50% - 10px);
  }
}

@media screen and (max-width: 900px) {
  nav .blogNav {
    justify-content: end;
  }
  nav .blogNav p {
    display: block;
  }
}
@media screen and (max-width: 800px) {
  #previousPosts .blogPost {
    /* max-width: 100%; */
  }
}
@media screen and (max-width: 500px) {
  .pageTitle {
    font-size: 25px;
  }

  nav .blogNav .postTypeSelector {
    display: none;
  }
}
@media screen and (max-width: 425px) {
  #highlightedPost {
    padding: 20px;
  }
}
/* GLOBAL STYLES FOR THE PAGE */
.postTypeContainer {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.postTypeContainer .imgContainer {
  width: 35px;
  height: 35px;
  background-color: var(--lm-background);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: 10px;
}
.postTypeContainer .imgContainer img {
  width: 20px;
  height: 20px;
}
