/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: World Clicking
Template: astra
Version: 1.0.0
*/

/* --- Add your custom CSS below this line --- */

.h1-title-line {
  position: relative
}

.h1-title-line:after {
  position: absolute;
  content: "";
  width: calc(98% - 10px);
  height: 5px;
  background: #0CEE00;
  bottom: -3px;
  left: 10px;
  rotate: -1deg;
  border-radius: 5px;
}

.ast-separate-container .site-content .ast-single-post-featured-section+article {
  margin-top: 30px;
}

.site-content .ast-single-post-featured-section img {
  border-radius: 20px;
}


/* Category list styling */

.Category-Sidebar ul {
  margin: 0px;
  padding: 0px;
}

.Category-Sidebar ul li {
  list-style: none;
  /* Remove bullets */
  margin-bottom: 0px;
  border-bottom: 1px solid #EEEEEE;
}

/* Category links */
.Category-Sidebar ul li a {
  text-decoration: none !important;
  color: #4E4E4E;
  font-weight: 500;
  display: block;
  padding: 6px 0px;
  transition: all 0.3s ease;
}

.Category-Sidebar ul li .sub-cat-list {
  padding-left: 15px;
}

.Category-Sidebar ul li .sub-cat-list li {
  border-bottom: 1px dashed #EEEEEE;
}

.Category-Sidebar ul li .sub-cat-list li:last-child {
  border: none;
}

.Category-Sidebar ul li .sub-cat-list li a {
  font-size: 14px;
}

.Category-Sidebar ul li .sub-cat-list li a:hover {
  background-color: unset;
  color: #0BEE01;
  padding-left: 10px;
}

/* Hover effect */
.Category-Sidebar ul li a:hover {
  background-color: #FAFAFA;
  color: #000;
  padding-left: 15px;
  /* Small slide effect */
}


.post-list-home .hfe-post-title a {
  text-decoration: none !important;
}


.hfe-read-more {
  text-decoration: none !important;
}

.hfe-read-more:hover {
  color: #0BEE01 !important;
}

/* bradcums post detail page */

.post .ast-breadcrumbs-wrapper {
  margin-bottom: 15px;
}

.post .ast-breadcrumbs .trail-items li::after {
  padding: 0 1em;
}

.posttable thead tr th {
  text-align: left;
  background: #4e4e4e;
  color: #FFF !important;
}

.posttable tbody tr:nth-of-type(even) td {
  background-color: #f5f5f5;
}

.posttable tbody tr td {
  font-size: 14px;
}

.posttable thead tr th,
.posttable tbody tr td {
  padding: 5px 1em !important;
  border-color: #e5e4e4;
}

.posttable thead tr th {
  border-color: #817f7f;
}

.single-post .ast-post-format- .entry-content p {
  margin-bottom: 15px;
}

.single-post .ast-post-format- .entry-header {
  padding: 0px 10px;
  margin-bottom: 15px;
}

.single-post .ast-post-format- .entry-header .entry-title {
  position: relative;
}

.single-post .ast-post-format- .entry-header .entry-title::after {
  content: "";
  width: 45px;
  height: 3px;
  background: #0CEE00;
  left: -58px;
  border-radius: 6px;
  top: 18px;
  display: inline-block;
  position: absolute;
}

.single-post .ast-post-format- .entry-header .entry-meta {
  font-size: 12px;
  font-weight: 400;
  margin-top: 7px;
}

.single-post .ast-post-format- .entry-header .entry-meta .author-name,
.single-post .ast-post-format- .entry-header .entry-meta .posted-on .published {
  font-weight: 400;
}

.single-post .ast-post-format- .entry-header .ast-breadcrumbs-wrapper {
  margin: 10px 0px;
}

.single-post .post-category {
  padding: 0px 10px;
}

.single-post .post-category a {
  background: #efebeb;
  padding: 5px 10px;
  border-radius: 5px;
  color: #4e4e4e;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
}

.tbl-ovflow-x-auto {
  overflow-x: auto;
}

.wp-block-search__text-button.wp-block-search .wp-block-search__inside-wrapper {
  display: flex;
}

.wp-block-search__text-button.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button {
  font-size: 12px !important;
  padding: .7em 0.2em !important;
  min-width: 70px;
  border-radius: 0px;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

.wp-block-search__text-button.wp-block-search .wp-block-search__inside-wrapper .wp-block-search__input {
  border-color: #FFF !important;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.blog .ast-article-post,
.archive .ast-article-post {
  width: 50%;
  /* 2 columns */
}


/* -- Blog Listing page right side category -- */

.sidebar-main .widget_post_category_widget ul {
  margin: 0px;
  padding: 0px;
}

.sidebar-main .widget_post_category_widget ul li {
  list-style: none;
  /* Remove bullets */
  margin-bottom: 0px !important;
  border-bottom: 1px solid #e3e3e3;
}

.sidebar-main .widget_post_category_widget ul li a {
  text-decoration: none !important;
  color: #4E4E4E;
  font-weight: 500;
  display: block;
  padding: 10px 0px;
  transition: all 0.3s ease;
}

.sidebar-main .widget_post_category_widget ul li .sub-cat-list {
  padding-left: 15px;
}

.sidebar-main .widget_post_category_widget ul li .sub-cat-list li {
  border-bottom: 1px dashed #e3e3e3;
}

.sidebar-main .widget_post_category_widget ul li .sub-cat-list li:last-child {
  border: none;
}

.sidebar-main .widget_post_category_widget ul li .sub-cat-list li a {
  font-size: 14px;
}

.sidebar-main .widget_post_category_widget ul li .sub-cat-list li a:hover {
  background-color: unset;
  color: #0BEE01;
  padding-left: 10px;
}


/* Hover effect */
.sidebar-main .widget_post_category_widget ul li a:hover {
  background-color: #FAFAFA;
  color: #000;
  padding-left: 15px;
  /* Small slide effect */
}

.sidebar-main .widget_search{
  margin-bottom: 40px;
}

.category .cat-links.ast-blog-single-element.ast-taxonomy-container a{
  color: #4E4E4E;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px !important;
}
/* -- Blog Listing page right side category end -- */

/* -- Category Listing page start --*/

.category .ast-archive-entry-banner{
  background: unset !important;
}

/* -- Category Listing page end --*/