.blogs-main-view {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-block: 3rem;
  padding-inline: var(--layout-padding);
  box-sizing: border-box;
}

.blogs-main-view .dashicons {
  opacity: 0.4;
}

.blogs-main-view .general-post-tag,
.blogs-main-view .general-post-tag:hover,
.blogs-main-view .general-post-tag:active,
.blogs-main-view .general-post-tag:focus-visible {
  color: #00154a;
  background: #e8ebef;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 4px 8px;
  text-decoration: none;
}

/* ---------------------------------------------
     Highlighted Post
  ---------------------------------------------- */

.blogs-main-view .highlighted-post {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 446px;
  min-height: 446px;
  border-radius: 20px;
  overflow: hidden;
  color: #fbfdff;
  margin-bottom: 56px;
}

.blogs-main-view .highlighted-post > img {
  width: 58%;
  height: auto;
  object-fit: cover;
}

.blogs-main-view .highlighted-post .container-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blogs-main-view .highlighted-post .highlighted-post_content {
  width: 42%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 40px;
  background: #101933;
}

.blogs-main-view .highlighted-post .highlighted-post_title {
  color: #fbfdff;
  margin-bottom: 16px;
  font-size: 2rem;
  font-family: APK, sans-serif;
  line-height: 1.2;
  font-weight: 500;
}

.blogs-main-view .highlighted-post .highlighted-post_date {
  display: flex;
  align-items: center;
  column-gap: 8px;
  margin-bottom: 24px;
}

.blogs-main-view .highlighted-post .highlighted-post_date span:not(.dashicons) {
  color: #fbfdff;
  font-size: 16px;
  font-weight: 400;
  text-transform: capitalize;
}

.blogs-main-view .highlighted-post .highlighted-post_tags {
  display: flex;
  column-gap: 8px;
}

/* ---------------------------------------------
     Page Content Layout
  ---------------------------------------------- */

.blogs-main-view .page-content {
  display: flex;
  column-gap: 3rem;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.blogs-main-view .posts-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  row-gap: 56px;
  flex-wrap: wrap;
}

.blogs-main-view .posts-list button.load-more:hover {
  cursor: pointer;
}

/* ---------------------------------------------
     Post Item
  ---------------------------------------------- */

.blogs-main-view .list-post {
  display: flex;
  width: 100%;
  max-width: 100%;
  column-gap: 40px;
  cursor: pointer;
  box-sizing: border-box;
}

.blogs-main-view .list-post_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blogs-main-view .list-post_title {
  color: #00154a;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-family: APK, sans-serif;
  line-height: 1.2;
  font-weight: 500;
}

.blogs-main-view .list-post_date,
.blogs-main-view .list-post_author {
  display: flex;
  align-items: center;
  column-gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blogs-main-view .list-post_date span,
.blogs-main-view .list-post_author span {
  color: #00154a;
  text-transform: capitalize;
  font-weight: 300;
}

/* ---------------------------------------------
     Image Container
  ---------------------------------------------- */

.blogs-main-view .img-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  max-width: 387px;
  width: 100%;
  height: 218px;
}

.blogs-main-view .img-container img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: bottom;
}

.blogs-main-view .alt-image-container {
  position: relative;
  text-align: center;
  height: 100%;
  width: 100%;
}

.blogs-main-view .alt-image-container h4 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

/* ---------------------------------------------
     Breadcrumbs
  ---------------------------------------------- */

.blogs-main-view .breadcrumbs {
  margin-bottom: 40px;
}

/* ---------------------------------------------
     Responsive
  ---------------------------------------------- */

@media (max-width: 1440px) {
  .blogs-main-view .highlighted-post {
    min-height: 345px;
  }
}

@media (max-width: 1020px) {
  .blogs-main-view {
    padding-inline: 1.5rem;
  }

  .blogs-main-view .highlighted-post {
    flex-direction: column;
    margin-bottom: 32px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .blogs-main-view .highlighted-post > img {
    width: 100%;
    height: auto;
  }

  .blogs-main-view .highlighted-post .highlighted-post_content {
    width: 100%;
    padding: 0 20px 12px;
  }

  .blogs-main-view .highlighted-post .highlighted-post_title {
    padding-top: 12px;
  }

  .blogs-main-view .highlighted-post .highlighted-post_date {
    margin-bottom: 16px;
    align-items: flex-start;
  }

  .blogs-main-view .page-content {
    flex-direction: column;
    align-items: center;
  }

  .blogs-main-view .posts-list {
    flex-direction: column;
    row-gap: 32px;
    column-gap: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .blogs-main-view .list-post {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .blogs-main-view .list-post .img-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .blogs-main-view .list-post_content {
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .blogs-main-view .list-post_title {
    padding-top: 12px;
    text-align: center;
  }

  .blogs-main-view .list-post_date,
  .blogs-main-view .list-post_author {
    justify-content: center;
  }

  .blogs-main-view .list-post_tags {
    justify-content: center;
  }

  .blogs-main-view .topics-and-recommended-list {
    display: none;
  }
}

/* Mobile - iPhone 14 Pro Max and smaller */
@media (max-width: 430px) {
  .blogs-main-view {
    padding-inline: 1rem;
    padding-block: 2rem;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .blogs-main-view .highlighted-post {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    height: auto;
    min-height: auto;
  }

  .blogs-main-view .highlighted-post .highlighted-post_content {
    align-items: center;
    text-align: center;
  }

  .blogs-main-view .highlighted-post .highlighted-post_title {
    text-align: center;
  }

  .blogs-main-view .highlighted-post .highlighted-post_date {
    justify-content: center;
  }

  .blogs-main-view .highlighted-post .highlighted-post_tags {
    justify-content: center;
  }

  .blogs-main-view .page-content {
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .blogs-main-view .posts-list {
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .blogs-main-view .list-post {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    column-gap: 0;
  }

  .blogs-main-view .list-post .img-container {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 250px;
    max-height: none;
    margin: 0 auto;
    border-radius: 12px;
  }

  .blogs-main-view .list-post_content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    align-items: center;
    padding-top: 1rem;
  }

  .blogs-main-view .list-post_title {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .blogs-main-view .list-post_date,
  .blogs-main-view .list-post_author {
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .blogs-main-view .list-post_tags {
    justify-content: center;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
    margin-right: auto;
  }

  .blogs-main-view .breadcrumbs {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .blogs-main-view .breadcrumbs ul {
    justify-content: center;
    width: 100%;
  }
}
