/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



/* Team Members */

.lm-team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lm-team-members>div {
    width: calc(25% - 20px);
    background: #ececec;
    padding: 10px;
    border-radius: 15px;
}

.lm-team-members>div img {
    width: 100%;
    border-radius: 10px;
}

.lm-team-members>div h3 {
    text-align: center;
    color: #282828;
    text-transform: uppercase;
    font-family: 'Just Sans',sans-serif !important;
    margin: 0px;
}

.lm-team-member a {
    cursor: pointer;
}

.lm-team-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
    z-index: 9998;
    display: none;
}
.lm-team-member-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 9999;
    padding: 30px;
    border-radius: 10px;
    max-width: 1000px;
    width: 90%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    display: none;
    height: 600px;
    overflow: overlay;
}

.lm-team-popup-inner {
    position: relative;
}

.lm-team-close-popup {
    position: absolute;
    top: 5px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #000;
    cursor: pointer;
}

.lm-team-member-popup>div {
    display: flex;
    gap: 20px;
	flex-wrap:wrap;
}

.lm-team-member-popup>div>div:nth-child(1) {
    width: calc(40% - 20px);
}

.lm-team-member-popup>div>div:nth-child(2) {
    width: calc(60% - 20px);
}

.lm-team-member-popup>div>div img {
    width: 100%;
    position: sticky;
    top: 0;
}
button.lm-team-close-popup {
    background: black;
    color: #fff;
    font-size: 22px;
    padding: 0px !important;
    height: 30px;
    width: 30px;
    line-height: 30px;
    border-radius: 6px;
}

.lm-team-member-popup>div>div h4 {
    color:#000;
    font-family:"Just Sans",sans-serif !important;
    font-size:30px;
    text-transform:uppercase;
}

.lm-team-member-popup>div>div p {
    font-family:"Just Sans",sans-serif !important;
    line-height:2em;
    color:#000;
    font-size:20px;
	font-weight : 300 !important;
}
@media only screen and (max-width: 557px) {
    .lm-team-members>div {
        width: calc(100% - 20px);
        background: #ECECEC !important;
        padding: 10px !important;
        border-radius: 15px;
    }
}


/* Ebooks */


.lm-container-fluid.ebooks-single {
  padding: 00px 10px;
  width: 100%;
}
.lm-container {
  max-width: 1600px;
  margin: auto;
}
.lm-container-fluid.ebooks-single {
  text-align: center;
  background: #000;
	padding : 200px 0px;
  color: #fff;
  background-image: url(/wp-content/uploads/2025/06/blog-page-banners.jpg);
  background-size: cover;
  background-position: center center;
  position: relative;
  margin-top: -140px !important;
}
.lm-container-fluid.ebooks-single::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background: #000000bf;
  top: 0px;
  left: 0px;
}
.lm-container-fluid.ebooks-single>div {
  position: relative;
  z-index: 99;
}

.lm-container-fluid.ebooks-single h1 {
  font-family: "Oswald", Sans-serif;
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: #FFFFFF;
}

.ebooks-single.breadcrumbs {
  font-family: "Just Sans",sans-serif;
  font-size: 18px !important;
  font-weight: 300 !important;
}
.ebooks-single.breadcrumbs * {
  color: #333333;
}

.single-ebook.lm-container-fluid {
  padding: 60px 10px;
}
.single-ebook.lm-container-fluid>.lm-container {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 28px;
}
.single-ebook.lm-container-fluid > .lm-container > div:nth-child(1) img {
  width: ;
  max-width: 400px;
  margin: auto;
  display: block;
  border-radius: 14px;
}
@media (max-width: 767px) {
  .ebook.type-ebook {
    display: block;
  }
}
.lm-container img {
    margin-bottom: 70px !important;
}
.single-ebook p {
    font-size: 20px !important;
    font-family: "Just Sans", sans-serif;
    font-weight: 300 !important;
}
/* .ebook-pagetitle {
    width: 100vw !important;
    background-image: url(https://lifemedinstitute.renegadexpert.com/wp-content/uploads/2025/08/lmi-bg-image.jpg);
} */


/* === Page title : layout & background === */
.ebook-pagetitle {
  position: relative;
  width: 100%;
  padding: 0px;
  overflow: hidden; 
  z-index: 0;      
}

.ebook-pagetitle::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://lifemedinstitute.renegadexpert.com/wp-content/uploads/2025/08/lmi-bg-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* inner fixed-width container */
.ebook-pageinner {
  position: relative;
  z-index: 1;              /* keep above background */
  max-width: 1600px;       /* your fixed width */
  width: 100%;
  margin: 0 auto;          /* center the inner container */
  padding: 0 24px;         /* side padding for small screens */
  
  display: flex;           /* put heading & breadcrumbs on one row */
  align-items: center;
  justify-content: space-between; /* space between them */
  gap: 24px;               /* space between left & right */
}

/* heading left */
.pagetitle-heading h1 {
  padding: 20px;
	background : #282828;
	color : white;
	font-family : "Just Sans";
	font-size : 1.3rem;
	font-weight : 400;
	margin: 0px;
}

/* breadcrumbs right */
.ebook-breadcrumbs {
  margin: 0;
  text-align: right;
/*   color : #282828 !important;
  font-family : "Just Sans";
  font-size : 18px;
  font-weight : 300; */
  
}

/* Yoast breadcrumb <p> reset */
#breadcrumbs {
  margin: 0;
}

/* responsive: stack on small screens */
@media (max-width: 768px) {
  .ebook-pageinner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ebook-breadcrumbs {
    text-align: left;
    margin-top: 12px; /* spacing between heading & breadcrumbs on mobile */
  }
}

@media (max-width: 767px) {
  .single-ebook.lm-container-fluid>.lm-container {
    display: flex;
	flex-wrap : wrap;
	 gap: 26px;
	 padding: 10px;
  }
}
@media (max-width: 767px) {
  .lm-container img {
    width: 100% !important;
 }
}
@media (max-width: 767px) {
  .ebook-pageinner {
    padding: 0px !important;
 }
}@media (max-width: 767px) {
  .ebook-breadcrumbs {
    padding-left: 20px;
	padding-bottom: 20px;
	  text-align : center;
}
}




/* Ebooks  */

@media only screen and (max-width: 1130px) {
	.lm-team-members>div {
		width: calc(33.33% - 20px);
	}
}

@media only screen and (max-width: 757px) {
	.lm-team-members>div {
		width: calc(50% - 20px);
	}
	.lm-team-member-popup>div>div:nth-child(1) {
		width: calc(100% - 20px);
	}

	.lm-team-member-popup>div>div:nth-child(2) {
		width: calc(100% - 20px);
	}
}

@media only screen and (max-width: 557px) {
	.lm-team-members>div {
		width: calc(100% - 20px);
		background: #000;
		padding: 10px;
		border-radius: 15px;
	}
	.lm-team-member-popup>div>div:nth-child(1) {
		width: calc(100% - 20px);
	}

	.lm-team-member-popup>div>div:nth-child(2) {
		width: calc(100% - 20px);
	}
}
@media (min-width: 481px) and (max-width: 1024px) {
.lm-container-fluid.ebooks-single {
  margin-top: -160px !important;;
}
}


@media (max-width: 480px) {
.lm-container-fluid.ebooks-single {
  margin-top: -180px !important;;
}
	.pagetitle-heading {
    width: 100%;
    text-align: center;
}
}
