/* ---------------------------------
   Widgets, related posts, tags
--------------------------------- */

h3.widget-title,
.theme_related_post_title h2,
.comment-reply-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

.theme_related_post_Grid .post-cat-box,
.theme_related_post_Grid .post-date-box,
.news-post-grid-content .post-cat-box,
.news-post-grid-content .post--date-box {
  display: block !important;
  width: 100% !important;
}

.theme_related_post_Grid .post-date-box,
.news-post-grid-content .post--date-box {
  margin-top: 4px !important;
}

.theme-news-post-block.post-block-item.post-block-item-one.post-block-item-four h3.post-title {
  font-size: 30px !important;
  line-height: 1.15 !important;
}

.theme-tags__wrapper.tag-lists a {
  border-radius: 999px !important;
}

.theme-tags__wrapper a {
  font-family: 'Adobe Caslon Pro', serif !important;
  color: #515151 !important;
}

.tab_menu_Item {
  text-transform: uppercase !important;
  font-family: 'Oswald', sans-serif !important;
}

.post-excerpt-box {
  padding: 12px 0 20px;
}

.news-post-grid-thumbnail,
.news-post-grid-thumbnail-wrap {
  overflow: hidden !important;
}

.news-post-grid-thumbnail-wrap img,
.news-post-grid-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000 !important;
  padding-right: 10px !important;
}

.cutsom-post-block-list-wrapper .cutsom-post-block-list-inner article.post-list-top .post-block-list-wrap .news-post-grid-content.grid-content-inner {
  background-color: #000000550 !important;
}

/* Hide all category links in this grid */
.elementor-1438 .elementor-element.elementor-element-12419b9 .theme-post-grid-design-one .grid-style-one-inner .post-cat-box.post-block-meta-cat a.news-cat_Name {
  line-height: 1; /* keep your tight line spacing */
}

/* front-page widget dates */
.elementor-1438 .elementor-element.elementor-element-12419b9 .theme-post-grid-design-one .grid-style-one-inner .post-date-box.post-block-meta-date,
.elementor-1438 .elementor-element.elementor-element-d003706 .theme-post-grid-design-one .grid-style-one-inner .post-date-box.post-block-meta-date,
.elementor-1438 .elementor-element.elementor-element-09bb3e1 .theme-post-grid-design-one .grid-style-one-inner .post-date-box.post-block-meta-date,
.elementor-1438 .elementor-element.elementor-element-6b39655 .theme-post-grid-design-one .grid-style-one-inner .post-date-box.post-block-meta-date,
.elementor-1438 .elementor-element.elementor-element-f64bff0 .theme-post-grid-design-one .grid-style-one-inner .post-date-box.post-block-meta-date,
.elementor-1438 .elementor-element.elementor-element-72bf12b .theme-post-grid-design-one .grid-style-one-inner .post-date-box.post-block-meta-date {
  display: none !important;
}

.theme-post-block-blog-wrapper .post-block-item-three .post-date-box.post-block-meta-date {
  font-weight: 400px !important;
  color: #9c9c9c !important;
  padding-bottom: 3px !important;
}

/* Make the card itself fill its column */
.theme-news-post-block-wrapper.theme-post-grid-style.theme-post-grid-design-one
  > .row:nth-of-type(2)
  .grid-style-one-inner {
  width: 100% !important;
  padding-right: 5px !important;
}

/* Keep image inside each card */
.theme-news-post-block-wrapper.theme-post-grid-style.theme-post-grid-design-one
> .row:nth-of-type(2) .news-post-grid-thumbnail,
.theme-news-post-grid-wrapper .theme-post-grid-style.theme-post-grid-design-one
> .row:nth-of-type(2) .news-post-grid-thumbnail-wrap {
  width: 100% !important;
  border-right: none !important;
}

/* Make the page 1438 post container full width */
.elementor-1438
.elementor-element.elementor-element-f7d495a
> .elementor-container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 30px !important;
  margin-right: 30px !important;
}

.elementor-1438 .elementor-element.elementor-element-a138b0d > .elementor-container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 30px !important;
  padding-right: 40px !important;
  margin-right: 30px !important;
}

/* Show only the first category in post listings */
.post-cat-box {
    display: flex;
    flex-direction: column;
}

.post-cat-box .news-cat_Name:not(:first-child) {
    display: none;
}

.post-cat-box .news-cat_Name:first-child::before,
.post-cat-box .news-cat_Name:first-child::after {
    content: none !important;
}

.post-cat-box::before,
.post-cat-box::after {
    content: none !important;
}

/* homepage */
#post-1438 > div > div > div > div.elementor-element.elementor-element-6ba3386.e-grid.e-con-full.mobile-hero-wrap.e-con.e-parent.e-lazyloaded > div.elementor-element.elementor-element-c0bcfe6.e-transform.e-transform.e-flex.e-con-boxed.e-con.e-child > div > div.elementor-element.elementor-element-c5e95a3.elementor-widget-mobile__width-initial.elementor-widget-tablet__width-initial.elementor-widget.elementor-widget-posts-blocklist > div > section > div > article > div > div.news-post-grid-content.grid-content-inner > div > div.post-date-box.post-block-meta-date {
  display: none !important;
}

/* self-development page */
.theme-news-post-block-wrapper.theme-post-grid-style.theme-post-grid-design-one {
  padding-bottom: 100px !important;
}

@media (min-width: 768px) {
  .theme-small-posts-list-wrapper .news-post-grid-content {
    margin-top: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}

@media (max-width: 767px) {
  /* Mobile full-width card override */
  .mobile-full-card,
  .mobile-full-card > .elementor-widget-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .mobile-full-card .theme-news-post-block,
  .mobile-full-card .theme-news-post-block.post-block-item {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .mobile-full-card .news-post-grid-thumbnail,
  .mobile-full-card .news-post-grid-thumbnail-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .mobile-full-card .news-post-grid-thumbnail-wrap img,
  .mobile-full-card .news-post-grid-thumbnail img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  /* Remove extra offsets on main content blocks */
  .article,
  .article-shell,
  .theme-news-post-block-wrapper,
  .post-card-carousel,
  .post-card-carousel .theme-news-post-block-wrapper,
  .elementor-1438 .elementor-element.elementor-element-f7d495a > .elementor-container,
  .elementor-1438 .elementor-element.elementor-element-a138b0d > .elementor-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Featured image blocks full width */
  .news-post-grid-thumbnail,
  .news-post-grid-thumbnail-wrap,
  .news-post-grid-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  .news-post-grid-thumbnail,
  .news-post-grid-thumbnail-wrap {
    height: 220px !important;
    overflow: hidden !important;
  }

  .news-post-grid-thumbnail-wrap img,
  .news-post-grid-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .col-lg-12 {
    padding-left: 10px !important;
    padding-right: 0 !important;
  }

  /* Make all thumbnails in the list widget full-width on mobile */
  .cutsom-post-block-list-wrapper .news-post-grid-thumbnail,
  .cutsom-post-block-list-wrapper .news-post-grid-thumbnail-wrap,
  .cutsom-post-block-list-wrapper .news-post-grid-thumbnail-wrap img {
    width: 100% !important;
    max-width: 100% !important;
  }

/* Make 'the latest' posts-grid-two cards and thumbnails full-width on mobile */
  .elementor-element-12419b9 .theme-news-post-block-wrapper,
  .elementor-element-12419b9 .theme-news-post-block-wrapper > .row,
  .elementor-element-12419b9 .theme-news-post-block-wrapper > .row > .col-lg-4,
  .elementor-element-12419b9 .theme-news-post-block-wrapper > .row > .col-lg-4 > .grid-style-one-inner,
  .elementor-element-12419b9 .news-post-grid-thumbnail,
  .elementor-element-12419b9 .news-post-grid-thumbnail-wrap,
  .elementor-element-12419b9 .news-post-grid-thumbnail-wrap img,
  .elementor-element-12419b9 .news-post-grid-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .elementor-element-12419b9 .news-post-grid-thumbnail-wrap img {
    display: block !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* top featured news */
  .elementor-element-c5e95a3,
  .elementor-element-c5e95a3 .cutsom-post-block-list-wrapper,
  .elementor-element-c5e95a3 .cutsom-post-block-list-inner,
  .elementor-element-c5e95a3 .post-list-top,
  .elementor-element-c5e95a3 .blog-post-grid-wrapper,
  .elementor-element-c5e95a3 .news-post-grid-thumbnail,
  .elementor-element-c5e95a3 .news-post-grid-thumbnail-wrap,
  .elementor-element-c5e95a3 .news-post-grid-thumbnail-wrap img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .elementor-element-c5e95a3 .news-post-grid-thumbnail-wrap img {
    display: block !important;
    height: auto !important;
  }

  /* self-development grid */
    /* 1. Remove inner padding from this boxed container */
  .elementor-element-950818d,
  .elementor-element-950818d > .e-con-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 2. Make all tab widgets inside this container full-width */
  .elementor-element-950818d .mobile-tab-grid,
  .elementor-element-950818d .mobile-tab-grid > .elementor-widget-container,
  .elementor-element-950818d .mobile-tab-grid .theme_post_Tab__wrapper,
  .elementor-element-950818d .mobile-tab-grid .theme_post_Tab__block,
  .elementor-element-950818d .mobile-tab-grid .theme_post_Tab__block .row,
  .elementor-element-950818d .mobile-tab-grid .theme_post_Tab__block .col-lg-6,
  .elementor-element-950818d .mobile-tab-grid .theme-news-post-block,
  .elementor-element-950818d .mobile-tab-grid .tab-post-small-list-wrap,
  .elementor-element-950818d .mobile-tab-grid .small-post-list-item-block,
  .elementor-element-950818d .mobile-tab-grid .news-post-grid-thumbnail,
  .elementor-element-950818d .mobile-tab-grid .news-post-grid-thumbnail-wrap,
  .elementor-element-950818d .mobile-tab-grid .news-post-grid-thumbnail-wrap img,
  .elementor-element-950818d .mobile-tab-grid .news-post-grid-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .elementor-element-950818d .mobile-tab-grid .news-post-grid-thumbnail-wrap img {
    display: block !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

}

@media (max-width: 640px) {

  /* Make each Popular Posts item a vertical mobile card. */
  .custom-popular-post-item,
  .repoding-popular-post-column,
  .post-small-list-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Make the image link full width. */
  .custom-popular-post-thumb,
  a.custom-popular-post-thumb,
  .news-post-grid-thumbnail,
  .news-post-grid-thumbnail-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 0 14px;
  }

  /* Make the actual image fill the full link width. */
  .custom-popular-post-thumb img,
  a.custom-popular-post-thumb img,
  .news-post-grid-thumbnail img,
  .news-post-grid-thumbnail-wrap img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  /* Text goes below the full-width picture. */
  .custom-popular-post-content,
  .news-post-grid-content,
  .small-post-list-inner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }

  .custom-popular-post-category,
  .news-cat_Name {
    display: block;
    width: 100%;
    margin-bottom: 6px;
  }

  .custom-popular-post-title,
  .news-post-grid-content .post-title {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }
}