/**
 * Theme Name:     Astra Child
 * Author:         Brainstorm Force
 * Template:       astra
 * Text Domain:	   astra-child
 * Description:    The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
 */


.main-header-menu > .menu-item.current_page_item > .menu-link, .main-header-menu .menu-item.menu-item-type-custom.current_page_item  {
  color: #046bd2;
}

.category-blogs .posts-wrapper,
.archive .posts-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.archive article,
.category article {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive article:hover,
.category article:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.archive article img,
.category article img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.archive article:hover img,
.category article:hover img {
  transform: scale(1.05);
}


.entry-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.entry-title a {
  color: #1f2937;
  text-decoration: none;
}

.entry-title a:hover {
  color: #2563eb;
}

.entry-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

.entry-content p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
}

.read-more,
.more-link {
  display: inline-block !important;
  margin-top: 14px !important;
  padding: 8px 16px;
  background: #2563eb;
  color: #ffffff !important;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.read-more a{color:#fff !important;}

.read-more:hover,
.more-link:hover {
  background: #1e40af;
}
.pagination a,
.page-numbers {
  padding: 8px 14px;
  margin: 0 4px;
  border-radius: 6px;
  background: #ffffff;
  color: #374151;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.page-numbers.current {
  background: #2563eb;
  color: #ffffff;
}

/* Desktop: exactly 2 columns */
@media (min-width: 992px) {
  .category-blogs .posts-wrapper,
  .archive .posts-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Mobile: single column */
@media (max-width: 991px) {
  .category-blogs .posts-wrapper,
  .archive .posts-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Sidebar wrapper */
#secondary,
.sidebar {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
 /* box-shadow: 0 8px 24px rgba(0,0,0,0.08);*/
}
/* Each widget */
.widget {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.widget:last-child {
  border-bottom: none;
}

.widget-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 16px;
  position: relative;
}

/* Accent underline */
.widget-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #2563eb;
  margin-top: 6px;
  border-radius: 3px;
}
.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget ul li {
  margin-bottom: 10px;
}

.widget ul li a {
  color: #374151;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.widget ul li a:hover {
  color: #2563eb;
}
.widget_search input[type="search"] {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.widget_search input[type="submit"] {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: #2563eb;
  border: none;
  color: #ffffff;
  border-radius: 6px;
  cursor: pointer;
}

.widget_search input[type="submit"]:hover {
  background: #1e40af;
}
.ast-blog-layout-4-grid .ast-article-post{ width:50% !important;}

/* Blog excerpt – minimum 4 lines */
.ast-excerpt-container p {
  line-height: 1.7;
  min-height: calc(1.7em * 4);
  overflow: hidden;
}
.ast-excerpt-container p {
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#post-sort-form select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

span.required {
    color: red;
}

.blog-sort-form select {border: 1px solid var(--lp-border-color, #e2e0db);
    border-radius: var(--lp-border-radius, 5px);
    padding: 15px 16px;
    height: inherit;
    font-size: inherit;
    line-height: 1.1;
    box-shadow: none;
    padding-right: 30px;
    background-image: url(data:image/svg+xml;base64,Cjxzdmcgd2lkdGg9IjE4cHgiIGhlaWdodD0iMTBweCIgdmlld0JveD0iMCAwIDE4IDEwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICAgICAgICA8ZyBpZD0iVmVjdG9yLSgxKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4wMDAwMDAsIDEuMDAwMDAwKSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjIiPgogICAgICAgICAgICA8cG9seWxpbmUgaWQ9IlBhdGgiIHBvaW50cz0iMCAwIDggOCAxNiAwIj48L3BvbHlsaW5lPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+);
    background-size: .8em;
    background-position: calc(100% - 0.5em) center;
    background-repeat: no-repeat;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.1;}
	
	
	input#wp-block-search__input-1{width: 100%;
    max-width: 240px;
    border: 1px solid var(--lp-border-color, #e2e0db);
    border-radius: var(--lp-border-radius, 5px);
    padding: 8px 16px;
    height: inherit;
    font-size: inherit;
    line-height: 1.1;
    box-shadow: none;}
	
	.no-results-found {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

.required label:after {
   
    color: red !important;
}

li.learn-press-tabs__item a{ text-decoration:none !important;}
.learn-press-filters li a{ text-decoration:none !important;}




body.page-id-81 header.entry-header .entry-title{
  display: none;
}
body.page-id-81 .learn-press-form-login h3, body.page-id-81 .learn-press-form-register h3{
  text-align: center;
}
body.page-id-81 .lp-user-profile.guest .lp-content-area {
    gap: 30px;
}
body.page-id-81 .learn-press-form-login button[type=submit]{
      margin: 20px 0 10px;
}
body.page-id-81 .learn-press-form .form-fields .form-field label{
  margin-bottom: 5px;
}
body.page-id-81 .learn-press-form.learn-press-form-login > form p:last-child {
    float: right;
    margin: -88px 0 0 0;
}
body.page-id-80 .lp-checkout-form__after div#checkout-account-login.lp-checkout-block.left{
    display: none;
}

body.single-lp_course .lp-archive-courses .course-summary-sidebar__inner>div{
      padding: 20px 20px 10px;
}
body.single-lp_course .course-summary .course-summary-sidebar .lp-course-buttonse{
  margin-bottom: 5px;
}
body.single-lp_course .course-sidebar-preview>*:last-child {
    margin-bottom: 0 !important;
}
body.single-lp_course .course-summary-sidebar .course-sidebar-preview {
    margin-bottom: 15px;
}
body.single-lp_course .ti-reviews-container .ti-controls{
    top: -45px !important;
    right: 0;
    width: 60px;
}
body.single-lp_course .ti-reviews-container .ti-controls .ti-next, body.single-lp_course .ti-reviews-container .ti-controls .ti-prev {
    width: 20px;
    height: 20px;
    padding-top: 20px;
    padding-bottom: 10px;
}
body.single-lp_course .ti-widget.ti-wp-testimonial-2 .ti-reviews-container-wrapper {
        margin: 0 !important;
}
body.single-lp_course .ti-widget.ti-wp-testimonial-2 .ti-review-item>.ti-inner{
      padding: 20px !important;
}
body.single-lp_course .ti-widget.ti-wp-testimonial-2 .ti-review-content {
    line-height: 20px;
    font-size: 14px;
}
body.single-lp_course .ti-widget.ti-wp-testimonial-2 .ti-review-item {
    padding: 0 !important;
}
body.single-lp_course .course-sidebar-secondary div#block-10.widget.widget_block{
  padding-bottom: 0;
}
body.single-lp_course .course-sidebar-secondary div.widget#block-13 {
    margin-bottom: 15px;
    padding-bottom: 15px;
}
body.single-lp_course .site .comments-area {
    margin-block: 2rem;
    padding-bottom: 0;
}
body.single-lp_course .lp-archive-courses .course-detail-info {
    padding: 28px 0px 24px 25px;
}
body.single-lp_course .course-tab-panels .course-tab-panel .lp-course-author img {
    width: 60px;
    height: 60px;
}
body.single-lp_course .course-tab-panels .course-tab-panel .lp-course-author .course-author__pull-left{
  margin-right: 20px;
}

#profile-content-orders .profile-list-orders.profile-list-table .column-order-actions> a{
    background: #045cb4;
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 60px;
    font-weight: 400;
}
#profile-content-orders .profile-list-orders.profile-list-table .column-order-actions> a:hover{
    background: #fcb900;
    color: #111;
}

body.learnpress-profile .lp-user-profile .lp-profile-left .user-avatar img {
    height: 80px;
    width: 80px;
}
body.learnpress-profile .lp-user-profile .lp-profile-left {
    min-width: 85px;
    max-width: 85px;
    border: 3px solid #ffb606;
    border-radius: 60%;
    min-height: 85px;
    width: 85px;
    height: 85px;
}
body.learnpress-profile .lp-user-profile .lp-profile-left .user-avatar .lp-btn-to-edit-avatar {
    top: 60px;
}
body.learnpress-profile .lp-user-profile .lp-profile-content-area {
    align-items: center;
}

#lostpasswordform.account-page-form  p.no-margin {
    width: calc(100% - 200px);
    float: left;
}
#lostpasswordform.account-page-form .lostpassword-submit{
    width: 200px;
    float: right;
    margin: 13px 0 0 0;
    text-align: end;
}
#lostpasswordform #somfrp_user_info{
  width: 100%;
  height: 47px;
}
#lostpasswordform.account-page-form .lostpassword-submit #reset-pass-submit{
    margin: 10px 0 0 0;
    height: 47px;
}



@media (min-width: 769px) {
    .course-summary-sidebar.slide-down .course-summary-sidebar__inner {
        position: relative !important;
        top: 0 !important;
    }
}

@media (max-width: 580px) {
    .lp-archive-courses .lp-entry-content .entry-content-left {
        width: 100%;
        padding: 35px 10px 0 !important;
        margin-bottom: 30px !important;

    }
    
    body.single-lp_course .lp-archive-courses .course-description ul {
      padding: 0 0;
      margin: 0 0 10px;
    }
    .lp-course-curriculum .course-curriculum-info {
      display: flex;
      flex-direction: column;
    }
    .course-tab-panel .lp-course-author .instructor-social {
      justify-content: center;
    }
    .ast-separate-container .comment-respond {
      padding: 2em 1em;
    }
    ul.learn-press-breadcrumb {
      margin: 10px 0 !important;
    }
    #lostpasswordform.account-page-form .lostpassword-submit, #lostpasswordform.account-page-form  p.no-margin{
      width: 100%;
      margin: 0;
    }
    #lostpasswordform.account-page-form .lostpassword-submit #reset-pass-submit{
      margin:  15px 0 0 0;
        width: 100%;
    }
 
}

.lp-ajax-message{    
background-color: rgba(0, 122, 255, 0.1019607843);
color: #007aff;}