.wp-post {
    padding: 0 2rem;
}


h1 {
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(2.5em, 2em + 1vw, 3.5rem); /* Largest size */
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2em, 1.6em + 0.8vw, 3rem); /* Reduced relative to h1 */
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.75em, 1.4em + 0.7vw, 2.5rem); /* Further reduced */
    font-weight: 700;
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.5em, 1.2em + 0.6vw, 2rem); /* Further reduced */
    font-weight: 700;
    line-height: 1.4;
}

h5 {
    font-size: clamp(1.25em, 1em + 0.5vw, 1.75rem); /* Further reduced */
    font-weight: 700;
    line-height: 1.4;
}

h6 {
    font-size: clamp(1em, 0.9em + 0.4vw, 1.5rem); /* Smallest size */
    font-weight: 700;
    line-height: 1.5;
}

.elementor-button-icon {line-height: 0;}

.rev-btn {font-family: 'Inter', sans-serif !important;}


.elementor-heading-title,
.elementor-icon-wrapper {
    line-height: 1.2;
}

.admin-bar #header {
    margin-top: 32px;
}

#header {
    position: fixed;
    width: 100vw;
    transition: top 0.6s ease;
    z-index: 1000;
}

body:not(.home) #header {
    background: linear-gradient(to right, #832de3, #bb3ce1);
}



/* #particles-js {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1000;
	display: block;
    position: relative;
} */

.scoll-button {
	transform: rotate(45deg);
}

.project-grid .elementor-loop-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 10px;
}

/* .project-grid .elementor-loop-container > div:nth-child(1) {
    grid-column: span 3; 
} */

.project-grid .elementor-loop-container > div:nth-child(2) {
    grid-row: span 2; /* Spans two rows */
    grid-column: span 2; /* Spans one column */
}

.project-grid .elementor-loop-container > div:nth-child(3) {
    grid-row: span 1; /* Spans two rows */
    grid-column: span 1; /* Spans one column */
}


.project-grid .elementor-loop-container > div:nth-child(4) {
	grid-column: span 1;
	grid-row: span 2;
}


.project-grid .elementor-loop-container > div:nth-child(5) {
    grid-row: span 1; /* Spans two rows */
    grid-column: span 2; /* Spans one column */
}

.user-avatars {
    display: flex;
    align-items: center;
}

.user-avatar {
    position: relative;
    margin-left: -10px; /* Overlap effect */
}

.user-avatar:first-child {
    margin-left: 0; /* No overlap for the first avatar */
}

.user-avatar img {
    border-radius: 50%; /* Rounded corners */
    border: 2px solid white; /* White border */
}

.hero > * {
    width:100%;
}



ul.post-tags, ul.post-categories {
	list-style-type: none;
    padding: 0;
}

.post-tags li, .post-categories li {
    background-color: #ffffff; 
    color: #fff;     
    margin-right: 5px;      
    padding: 4px 9px;             
    border-radius:100px;
    display: inline-flex;
    font-size: 0.5em;
}

.post-tags li {color: black;}

.post-categories li {
    border: 2px solid black;
    color: black;
    font-weight: 600;
}

.insights-grid .post-categories li {
    border: none;
    color: black;
    font-weight: 600;
}

.circle {
    width: 200px;
    height: 200px;
    background-color: black;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
    text-align: center;
    padding: 2rem;
    font-weight: 500;
    box-shadow: 10px 10px 0px rgba(255, 255, 255, 0.8);
}


.scroll-button:hover .elementor-button-icon svg {
    transform: rotate(0deg); /* Rotate to point down */
}

.scroll-button .elementor-button-icon svg {
    height: 15px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.down {transform: none;}

figure.wp-block-video video {border-radius: 10px;}

.progress-container {position:relative}

.logo-move {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: left 0.5s ease, top 0.5s ease; /* Smooth transition */
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px); /* Add horizontal movement */
    }
    100% {
        transform: translateY(0);
    }
}



.yoast-breadcrumbs {font-size:0.85em}

.breadcrumbs-light span, .breadcrumbs-light a {color: white;}

.e-n-menu-wrapper {
    position: relative;
}

.underline {
    position: absolute;
    background-color: white;
    height: 2px;
    transition: left 0.3s ease, width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}




.pop {
  animation: popEffect 0.6s ease-out forwards;
  animation-delay: 0.75s; /* Delay of 0.5 seconds */
}

@keyframes popEffect {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}


.relative {
    position: relative;
}

ul.event-list {padding:0}
    
.event-list li {
        display: flex;
        padding:5px;
      
    }

    .event-list li:nth-child(odd), .price-list ul li:nth-child(odd) {
        background-color: #f0f0f0; /* Light grey background for odd items */
        border-radius:5px;
    }
    

    #tribe-events-pg-template {
        margin: 0 auto;
        max-width: 1440px !important;
        padding: 0 !important;
    }

    .small {font-size: 0.8em}



    .calendly-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .calendly-inline-widget {
        width: 100% !important;
    }

    @media (max-width: 767px) {
        .column-reverse {
            flex-direction: column-reverse;
        }
    }
    

    .elementor-button-icon {
        line-height: 1;
    }

    .training-mega-menu a, .services-mega-menu a {
        text-decoration: none;
        color: black;
    }

  .training-intro {
      display: flex;
      justify-content: space-between;
      align-items: center;
      grid-row: span 2; 
  }


  @media (min-width: 768px) {
    .login {
        background: transparent
    }
}
@media (min-width: 768px) {
    .login {
        background: linear-gradient(to right, #f2f2f2 50%, #ffffff 50%);
    }
}


.text-link .elementor-button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.text-link .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
}

.text-link .elementor-button-icon {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.text-link .elementor-button:hover .elementor-button-icon {
    transform: translateX(10px); /* Adjust the value as needed */
}

.header-right .elementor-shortcode {line-height: 0;}

ul#menu-user-quick-link {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
ul#menu-user-quick-link li {
    line-height: 1.5;
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-width: 0; /* Remove bottom border for all items */
}

ul#menu-user-quick-link li:last-child {
    border-bottom-width: 1px; /* Add bottom border back for the last item */
}




ul#menu-user-quick-link li:first-child {
    border-radius: 5px 5px 0 0;
}




ul#menu-user-quick-link li:last-child {
    border-bottom: none;
}


ul#menu-user-quick-link li a {
    text-decoration: none;
    font-size: 0.8em;
    color:black;
    font-weight: 400;

}

ul#menu-user-quick-link {
    list-style-type: none;
    padding: 0;
    margin: 0;
    padding-top: 1.8rem;
}

ul#menu-user-quick-link li:hover {
    background-color: #F3F3F3;
}

.dropdown-content {
 box-sizing: border-box;
 z-index: 9999;
} 

.dropdown-content ul {
    position: absolute;
    background-color:transparent;
    min-width: 200px;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    overflow: hidden;
    
}


.dropdown-content ul::before {
    content: "";
    position: absolute;
    top: 12px; 
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px; 
    border-style: solid;
    border-color: transparent transparent #f9f9f9 transparent; /* Creates a downward-pointing arrow */
}

.woocommerce-info {
    border-top-color: transparent;
}

/* .yoast-breadcrumbs {color:white}

.yoast-breadcrumbs a {color:white} */

.hero {display: flex;}

a.wp-block-button__link {font-weight: 500;}

  .absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  a.add_to_cart_button {
      background: whitesmoke;
      border-radius: 100px;
      padding: 1rem 2rem;
      font-size: 1rem;
      text-decoration: none;
      color: black;
      transition: background-color 0.3s ease; /* Added transition */
  }
  
  a.add_to_cart_button:hover {
      background: white;
  }
  


  .wp-block-woocommerce-cart  {
    max-width: 100%;
    margin: 0 auto;
}

.wc-block-components-button:not(.is-link) {
    align-items: center;
    display: inline-flex;
    height: auto;
    justify-content: center;
    position: relative;
    text-align: center;
    transition: box-shadow .1s linear;
    border-radius: 100px;
    color: white;
    text-decoration: none;
}

.elementor-menu-cart__wrapper {
    line-height: 0;
}

.large-text {
    font-size: 2em;
    font-weight: 700;
}

.normal-text {
    font-size: 0.5em;
    font-weight: 700;
}

.related img {
    display: none !important;
}

.related li {
    border-bottom: 1px solid #f2f2f2;
    padding: 0rem 0rem 1rem 0rem !important;
}

.elementor-menu-cart__product-name, .elementor-menu-cart__product-price {
    line-height: 1.2;
}

.user-avatar-name {
    width: max-content;
    position: relative;
    display: inline-block;
}

.user-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}


.user-name {
    color: white;
    font-size: small;
    margin-left: 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content .dropdown-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product .onsale {
    top: -30px;
    right: 0;
    left: auto;
    margin: -.5em -.5em 0 0;
}







/* Course image */
.ld_course_grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Ribbon styling */
.ribbon.enrolled {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: green;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

/* Course title */
.caption .entry-title {
    font-size: 1em;
    font-weight:600;
    margin: 15px;
    color: #333;
}



/* Course description */
.caption .entry-content p {
    
    line-height: 1.6;
}

/* Button styling */
.ld_course_grid_button .btn-primary {
    display: block;
    text-align: center;
    background-color: black;
    color: #fff;
    padding: 10px;
    margin: 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.ld_course_grid_button .btn-primary:hover {
    background-color: #005177;
}

/* Progress bar styling */
.ld-progress-bar {
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px;
}

.ld-progress-bar-percentage {
    background-color: #0073aa;
    height: 10px;
    transition: width 0.3s ease;
}

.ld-course-list-items .ld_course_grid .thumbnail .caption {
    padding: 1rem;
    /* color: #333333; */
}

.ld-course-list-items .ld_course_grid .btn-primary {
    color: #ffffff;
    background-color: black;
    border-color: #357ebd;
}

.ld-course-list-items .ld_course_grid .btn {
    display: inline-block;
    /* padding: 6px 12px; */
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 100px;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.ld_course_grid_button .btn-primary {
  
    margin: 0px; 

}

.caption .entry-content p {
    line-height: 1.2;
    font-size: 0.9em;
}

.ld-course-list-items .ld_course_grid .thumbnail.course img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 150px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: none;
}

.header-right {line-height: 1;}

#elementor-popup-modal-5710 ul  {flex-direction:column;} 


.logged-in .mobile-menu {
    position: absolute !important;
    top: 156px;
}

#change-avatar {background-color: black;}

#change-avatar:hover {background-color: #333;}

.mobile-menu {position: absolute !important; top:110px;}

.larger-parent {font-size: 130%;}

a.wp-block-button__link {
    font-weight: 500;
    text-decoration: none;
}


@media (max-width: 767px) {

#custom-dashboard {padding:1rem 2rem;}
  .spacer {
    display: none;
  }
  h1.entry-title {
    display:none !important
  }
}

