/*
Theme Name: The Method child
Theme URI: 
Description: Child theme for themethod.com
Author: Dušan Belić
Author URI: https://www.linkedin.com/in/dusan-belic/
Template: Divi
Version: Updated for Divi 3+
*/

/* General */

.et_animated {
	opacity: 1 !important;
	animation-duration: 0s !important;
}

html body #et-main-area a.et_pb_button{
	padding:1.25rem 2.5rem !important;
	font-weight:800;
	letter-spacing:.1em;
	line-height:1.4 !important
}

h1, h2, h3, h4, h5, h6{
	padding-bottom:.75rem;
}

.tm-full-height-image-column {
	height: 100%;
}

.tm-full-height-image-column .et_pb_image_wrap {
	height: 100%;
}

.tm-full-height-image-column img {
	object-fit: cover;
	height: 100%;
}

.container{
	width:80%;
}

.et_pb_row{
	width:80%;
}

.mobile_menu_bar:before{
	font-size:38px;
	color:#E3D3C9 !important;
	content:url('/wp-content/uploads/2025/05/menu-toggle-button.svg');
	height:44px;
	width:44px;
}

.tm-margin-right-none{
	margin-right:0 !important;
}

body.et_pb_recaptcha_enabled .grecaptcha-badge{
	bottom:20% !important;
}

/* Popup */

.tm-popup-container{
	display:flex;
}

.popmake-content .tm-popup .tm-popup-title{
	line-height:3.5rem;
	background-color:#bb877a;
}

.popmake-content .tm-popup .tm-popup-title h2{
	color:white;
	font-weight:bold;
	text-align:center;
	padding:1rem;
}

.tm-popup-image img{
	height:100% !important;
	width:auto;
	object-fit:cover;
}

.popmake-content .tm-popup-content{
	text-align:center;
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center;
	padding:1.25rem 1rem;
}

.popmake-content .tm-popup-text{
	padding:0 1rem;
	font-size:1.25rem;
}

.popmake-content .tm-popup-content p{
	color:#3c2d2a
}

.popmake-content .tm-popup-content a{
	padding: 1.25rem 2.5rem !important;
	font-weight: 800;
    letter-spacing: .1em;
	line-height:1.4 !important;
	margin-top:1.25rem;
}

.popmake-content .tm-popup-content a:hover{
		padding: 1.25rem 2.5rem !important;
}


@media(max-width:980px){
	.popmake-content .tm-popup{
		flex-wrap:wrap;
	}
	
	.tm-popup-image{
		display:none;
	}

}

/* Popup end */

@media(max-width:980px){
	.container, .et_pb_row{
		width:90%;
	}
	.et_header_style_left #logo{
		width:140px;
	}
	.tm-full-height-image-column .et_pb_image_wrap, .tm-full-height-image-column img{
		width:100% !important;
	}
	html body #et-main-area a.et_pb_button{
		padding:1rem 2.5rem !important;
	}
}

@media(max-width:400px){
	h2.et_pb_module_header{
		font-size:2.5rem !important;
	}
}

@media(max-width:350px){
	h2.et_pb_module_header{
		font-size:2rem !important;
	}
}

/* Header */
/* Hide all submenus by default */
#main-header .et_mobile_menu .menu-item-has-children > ul {
  display: none !important;
}

/* Show submenu if open */
#main-header .et_mobile_menu .menu-item-has-children.submenu-open > ul {
  display: block !important;
}

/* Position toggle absolutely in top right */
.et_mobile_menu li {
  position: relative;
}

.et_mobile_menu .submenu-toggle {
  position: absolute;
  top: 15px; /* or adjust as needed */
  right: 0;
  width: 100%;
  margin-right:15px;
  height: 20px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.et_mobile_menu .submenu-toggle::after {
  font-family: "FontAwesome";
  content: "\f078"; /* Down arrow */
  font-weight: 900;
  font-size: 14px;
  color: #BB877A;
  line-height: 1;
  display: block;
  margin: 0; /* ensure no shift on toggle */
}

/* Change arrow when open */
.et_mobile_menu .menu-item-has-children.submenu-open .submenu-toggle::after {
  content: "\f077"; /* Up arrow */
}


@media (max-width: 1180px)/* Change the value here */ {
	#et_mobile_nav_menu {
	   display: block !important;
	} 
	#top-menu {
	   display: none;
	}
 }

#et-top-navigation #top-menu li a{
	font-weight:800;
	letter-spacing:0.1em;
	line-height:1.4
}

#top-menu li{
	padding-right:1.25rem;
}

#et-top-navigation #top-menu .tm-button-item a{
	background-color:#BB877A;
	color:white !important;
	padding:.75rem 1.875rem;
	transition:backgorund 300ms;
}

#et-top-navigation #top-menu .tm-button-item a:hover{
	background-color:#3c2d2a;
}

#et-top-navigation #top-menu .tm-button-item a:after{
	display:none;
}
#et-top-navigation #top-menu a{
	padding-bottom:0;
}

#top-menu{
	padding-bottom: 40px;
}

#top-menu .current-menu-item a, #top-menu .current_page_item a{
	color:#3c2d2a !important;
}

#top-menu > .current-menu-item > a::after,
#top-menu > .current_page_item > a::after {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}

#top-menu > .menu-item-has-children .current_page_item > a::after{
	content: "";
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
}

#top-menu li a:after {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: -55%;
 background: #bb877a;
 height: 2px;
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}

#top-menu li a:hover {
 opacity: 1 !important;
}

#top-menu li a:hover:after {
 right: 0;
}

#top-menu li li a:after {
 bottom: -55%;
}

.et-fixed-header #top-menu{
	padding-bottom:20px;
}

#top-menu ul.sub-menu{
	padding:.75rem;
	margin-top:1rem;
	display:flex;
	flex-direction:column;
}

#top-menu ul.sub-menu li{
	padding: 0 .5rem 1rem .5rem;
}

#top-menu ul.sub-menu li:last-child{
	padding-bottom:.5rem;
}

#top-menu ul.sub-menu li a{
	padding:0;
	width: fit-content;
}

#top-menu ul.sub-menu li a:after{
	bottom:-25%;
}

.nav ul li a:hover{
	background-color:white;
}

#top-menu .menu-item-has-children>a:first-child:after{
	display:none;
}

#top-menu .menu-item-has-children{
	padding-bottom:1rem;
	margin-bottom:-1rem;
}

#top-menu li.current-menu-ancestor>a{
	color:initial;
}

#top-menu .menu-item-has-children.current_page_item>a:first-child:after{
	top:142.5%;
	display:block;
	content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
}

#top-menu .menu-item-has-children>a:first-child{
	padding-right:0;
}

.et_mobile_menu{
	padding:0;
}
@media(max-width:980px){
	.et_mobile_menu li li, #main-header .et_mobile_menu li ul{
		padding-left:0;
	}
	#main-header .et_mobile_menu li ul a{
		padding-left:10%;
	}
}
/* Slider */

.et-pb-controllers a{
	width:.75rem;
	height:.75rem;
	border:solid 2px white;
	background-color:transparent;
	margin-right:.75rem;
	opacity:1;
}

.et_pb_slider_container_inner .et_pb_button.et_pb_more_button{
	margin-top:3rem;
}
.et_pb_slider .et_pb_container{
	width:90%;
}
@media(max-width:980px){
	.et_pb_slider_container_inner .et_pb_button.et_pb_more_button{
		margin-top:2.5rem;
	}
}

/* Second section */

.tm-under-hero-button:hover p{
	transition:color 300ms;
}

.tm-under-hero-button:hover p{
	color:#bb877a
}

@media(max-width:980px){
	.tm-under-hero-button-border{
		border-top:solid 2px #BB877A !important;
		border-bottom:solid 2px #BB877A !important;
	}
	.tm-blurb-section h2{
		padding-bottom:1rem !important;
	}
	.tm-button-section .et_pb_with_border{
		border:none;
	}
}

@media(max-width:350px){
	.tm-main-logo img{
		width:125px !important;
	}
}

/* Social section */

.tm-button-social{
	padding:.875rem 2.5rem;
	text-transform:uppercase;
	font-size:14px;
	line-height:1.4;
	display: flex;
    align-items: center;
    width: fit-content;
	gap:1.25rem;
	font-weight:800;
	letter-spacing:.1em
}

.tm-button-social.tm-button-primary{
	background-color:white;
	border:solid 2px white;
	transition: all 300ms ease 0ms;
}

.tm-button-social.tm-button-primary rect, .tm-button-social.tm-button-primary svg path{
	transition: all 300ms ease 0ms;
}

.tm-button-social.tm-button-primary:hover{
	background-color:#BB877A;
	color:white;
}

.tm-button-social.tm-button-primary:hover svg rect{
	fill:white;
}

.tm-button-social.tm-button-primary:hover svg path{
	fill:#BB877A;
}

.tm-button-social.tm-button-secondary{
	background-color:transparent;
	border:solid 2px white;
	color:white;
	transition: all 300ms ease 0ms;
}
.tm-button-social.tm-button-secondary svg rect, .tm-button-social.tm-button-secondary svg path{
	transition: all 300ms ease 0ms;
}

.tm-button-social.tm-button-secondary:hover{
	background-color:white;
	color:#BB877A;
}

.tm-button-social.tm-button-secondary:hover svg rect{
	fill:#BB877A;
}

.tm-button-social.tm-button-secondary:hover svg path{
	fill:white;
}

.tm-button-left{
	display:flex;
	justify-content:flex-end;
}

@media(max-width:980px){
	.tm-button-social{
		margin:auto;
		padding:.575rem 2.5rem;
	}

	.tm-button-left{
		justify-content: center;
	}
}

/* Contact form */

.et_pb_contact p input, .et_pb_contact .et_pb_contact_select{
	padding: 1.125rem 1.75rem;
}

.et_pb_contact_field_options_list{
	display:flex;
	gap:2rem;
	justify-content:flex-end;
	width:85%;
}

.et_pb_contact_field_options_wrapper{
	display:flex;
	justify-content:space-between;
    width: 100%;
	margin-top:1.375rem;
}

.et_pb_contact_field_options_wrapper .et_pb_contact_field_options_title{
	width:100%;
}

.et_pb_contact p input[type=checkbox]+label i{
	width:2rem;
	height:2rem;
	margin-right:1rem;
	border:solid 2px #BB877A;
}

.et_pb_contact_field_options_title{
	color:#BB877A;
	font-size:1.125rem;
	line-height:1.4;
	margin-bottom:0 !important;
	display: flex;
    align-items: center;
}

.et_contact_bottom_container{
	margin-top:3rem;
	width:100%;
}

.et_contact_bottom_container .et_pb_button{
	width:100%;
	height:60px;
	letter-spacing:.1em
}

p:not(.has-background):last-of-type{
	margin-bottom:0;
}

.et_pb_contact p input[type=checkbox]:checked+label i:before{
	width: 26px;
    height: 26px;
    font-size: 23px;
	line-height:26px;
}

.et_pb_contact p input:focus,.et_pb_contact p select:focus{
	outline:solid 2px #BB877A;
}

.et_pb_contact_field[data-type=select]:after{
	border-top-color:#bb877a
}
.et-pb-contact-message p{
	font-size:1.5rem;
	text-align:center;
	color:#BB877A;
	padding-bottom: 1rem !important;
}
@media(max-width:980px){
	.et_pb_contact p input, .et_pb_contact .et_pb_contact_select, .et_pb_contact input::placeholder, .et_pb_contact p input[type=checkbox]+label{
		font-size:1rem !important;
	}

	.et_pb_contact p input, .et_pb_contact .et_pb_contact_select{
		padding: 1.125rem !important;
	}

	.et_pb_contact_field_options_wrapper{
		flex-direction: column;
		margin-top:2rem
	}
	
	.et_pb_contact_field_options_wrapper .et_pb_contact_field_options_title{
		margin-bottom:2.25rem !important;
	}

	p.et_pb_contact_field{
		margin-bottom:1rem;
	}
	
	.et_pb_contact_field_options_list, .et_pb_contact_field_options_title{
		justify-content: center;
		font-size:1rem;
	}
}

@media(max-width:400px){
	.et_pb_contact .et_pb_contact_select{
		padding-right:2rem !important;
	}
}

/* Boxes */

.tm-box-content .et_pb_module_header{
	padding-bottom:2rem;
}

.tm-box-content .et_pb_main_blurb_image{
	margin-bottom:2rem;
}

.tm-box-columne{
	display:flex;
	flex-direction: column;
	justify-content: center;
}

.tm-box-content .et_pb_blurb_content{
	margin:auto !important;
}
.tm-button-box-container{
	margin-top: 0;
    margin-right: 4rem;
    margin-bottom: 2rem;
    margin-left: 4rem;
    display: block;
}

.tm-button-box{
    padding: 1.25rem 2.5rem !important;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.4 !important;
    font-size: 14px;
    background-color: #bb877a;
    border-color: #bb877a;
    border-radius: 0px;
    color: white;
    text-transform: uppercase;
    max-width: fit-content;
	margin-top:1rem;
	transition:background 300ms;
	display:block
}

.tm-button-box:hover{
	background-color: #3c2d2a;
	cursor: pointer;
}

@media(max-width:1330px){
	.tm-box-content .et_pb_module_header{
		font-size:54px !important
	}
}

@media(max-width:1100px){
	.tm-box-content .et_pb_module_header{
		font-size:48px !important;
	}
}
@media(max-width:980px){
	.tm-button-box{
		padding: 1rem 2.5rem !important;
	}
	.tm-box-content .et_pb_main_blurb_image{
		margin-bottom:1rem;
	}

	.tm-box-content .et_pb_module_header{
		padding-bottom:1rem;
	}

	.tm-box-rotate{
		display:flex;
		flex-direction: column;
	}

	.tm-box-rotate .et-last-child{
		order:-1;
	}

	.tm-button-box{
		margin:1.5rem auto 0 auto;
	}
}

@media(max-width:400px){
	.tm-box-content .et_pb_image_wrap img{
		width:100px;
	}
	.tm-box-content .et_pb_module_header{
		font-size: 42px !important
	}
}

@media(max-width:360px){
	.tm-box-content .et_pb_module_header{
		font-size: 36px !important
	}
}
/* Footer */

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li:first-child{
	margin-top:0;
}

.tm-footer-social span{
	font-size:1.125rem;
	line-height:200%;
	color:white;
	margin-bottom:.75rem;
	text-align:center;
}

.tm-footer-social{
	display:flex;
	flex-direction: column;
}

.tm-footer-social a{
	display:flex;
	gap: 1.25rem;
	color:white;
	font-size:1rem;
	margin-bottom:.75rem;
	align-items: center;
	justify-content: center;
}

.tm-footer-social a svg rect, .tm-footer-social a svg path{
	transition: fill 300ms;
}

.tm-footer-social a:hover{
	text-decoration: underline;
}

.tm-footer-social a:hover svg rect{
	fill:white;
}

.tm-footer-social a:hover svg path{
	fill:#BB877A
}

.tm-footer-cards{
	display:flex;
	flex-direction: column;
	justify-content: center;
}

.tm-footer-cards span{
	font-size:1.125rem;
	line-height:200%;
	color:white;
	margin-bottom:.75rem;
	text-align: center;
}

.tm-footer-cards img{
	max-width:150px;
	margin: 0 auto;
}

.tm-footer-menu .et-menu{
	display:flex;
	flex-direction: column;
	justify-content: center;
}

.tm-footer-menu .et-menu li{
	justify-content: center;
}

.tm-footer-menu .et-menu li a{
	font-size:1.125rem;
}

.tm-footer-menu .et-menu li a:hover{
	text-decoration: underline;
	opacity:1;
}

.tm-footer-menu.et_pb_menu .et_pb_menu__menu{
    display: flex!important;
}

.tm-footer-menu .et_pb_menu__menu>nav>ul>li>a{
	padding-bottom:0;
}

.et_pb_menu .et_pb_menu__menu>nav>ul>li{
	text-align:center;
}

footer{
	position:relative;
	z-index:0;
}

@media(max-width:980px){
	.tm-footer-menu.et_pb_menu .et_mobile_nav_menu{
		display:none;
	}
}

/* Studio */

.tm-hero-blog-title h1{
	padding-bottom:0;	
}

.tm-studio-blurb .et_pb_blurb_content{
	margin-left:0;
}

.tm-studio-blurb .et_pb_blurb_content h2{
	padding-bottom:2rem;
}

.tm-quote .tm-quote-content{
	font-size:4rem;
	line-height:1.1;
	color:#3C2D2A;
	margin-bottom:2rem;
}

.tm-quote .tm-quote-author{
	font-size:1.875rem;
	color:#BB877A;
	line-height:1.3;
	font-family: 'Aboreto', display !important;
	text-align:right;
}

ul.tm-ul{
	padding-left:2.5rem;
	padding-bottom:0;
}

ul.tm-ul li{
	margin-bottom:2rem;
	line-height:1.3;
	font-weight:700;
}
@media(max-width:1080px){
	.tm-studio-blurb .et_pb_blurb_content h2{
		font-size: 48px !important;
	}
}

@media(max-width:980px){

	
	.tm-studio-section-reverse{
		display:flex;
		flex-direction: column;
	}

	.tm-studio-section-reverse .et-last-child{
		order:-1;
	}
	.tm-studio-section-non-reverse .et_pb_column{
		margin-bottom:0;
	}
	ul.tm-ul li{
		margin-bottom:1rem;
	}
	.tm-quote .tm-quote-content{
		font-size:3rem;
		margin-bottom:1rem;
	}
	.tm-quote .tm-quote-author{
		font-size:1.25rem;
	}

	.tm-studio-blurb .et_pb_blurb_content{
		margin-left:auto !important;
	}

	.tm-quote{
		max-width:100%;
	}
}

/* Yoga */

.tm-yoga-button{
	display:flex;
	width:100%;
	justify-content: center;
	gap:1.5rem
}

.tm-yoga-button a{
	font-size:1.5rem;
	line-height:1.4;
	letter-spacing:.06em;
	padding: 2.35rem;
	text-align: center;
	background-color:white;
	border:solid 4px #BB877A;
	width:45%;
	font-weight:700;
	transition: color 300ms, background 300ms;
	text-transform: uppercase;
}

.tm-yoga-button a.active{
	background-color:#BB877A;
	color:white;
}

.tm-yoga-button a:hover{
	background-color:#BB877A;
	color:white;
	cursor: pointer;
}

@media(max-width:980px){
	.tm-yoga-button{
		flex-wrap: wrap;
	}

	.tm-yoga-button a{
		width:100%;
		padding:1.75rem;
		font-size:1.25rem;
		border-width:4px;
	}
}

#tm-button-follow{
	box-shadow: 0 0 7px rgba(0, 0, 0, .1) !important;
}

#tm-button-follow-mobile{
	box-shadow: 0 0 7px rgba(0, 0, 0, .1) !important;
}

#tm-button-follow-mobile .et_pb_row{
	display:flex;
	flex-direction:row;
	width:100%;
}
/* Health Coaching */

.tm-studio-blurb-list strong, .tm-studio-blurb-ol-list strong{
	font-size:1.125rem;
}

.tm-studio-blurb-list ul:last-child{
	padding-bottom:0;
}

.tm-studio-blurb-list p{
	padding-bottom:1.5rem !important;
}

.tm-studio-blurb-ol-list ol{
	padding-bottom:0;
}

.tm-studio-blurb-ol-list ol li{
	padding-bottom:1.5rem;
}

.tm-studio-blurb-ol-list ol li:last-child{
	padding-bottom:0;
}

.tm-studio-blurb-ol-list ol li::marker{
	font-weight:bold;
	font-size:1.125rem;
}

@media(max-width:767px){
	.et_pb_blurb_description ul li{
		text-align:left;
	}
}

/* About us */
.tm-hero-single-image{
	height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tm-hero-single-image h1{
	font-size:4rem;
	color:white;
	font-family: 'Aboreto', display !important;
}

.tm-our-story h2{
	padding-bottom:4rem !important;
}

.tm-instructors-list{
	display:flex;
	justify-content: center;
	gap:1.5rem;
	align-items: stretch;
}

.tm-instructors-list .tm-single-instructor {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.tm-instructors-list .tm-single-instructor .tm-instructor-image{
	margin-bottom: 2rem;
}

.tm-instructors-list .tm-single-instructor .tm-instructor-name, .tm-instructors-list .tm-single-instructor .tm-instructor-type{
	text-align: center;
}

.tm-instructors-list .tm-single-instructor .tm-instructor-name{
	font-size:1.875rem;
	color:white;
	font-weight:700;
	line-height:1.3;
	margin-bottom:1.5rem;
	padding-bottom:0;
}

.tm-instructors-list .tm-single-instructor .tm-instructor-type{
	font-size:1.35rem;
	margin:0 auto 1.5rem auto;
	max-width:25ch;
	line-height:1.4;
	font-weight:400;
	color:white;
}

.tm-instructors-list .tm-single-instructor .tm-instructor-link{
	background-color:white;
	color:#BB877A;
	padding: 1.25rem 2.5rem;
	font-weight:800;
	font-size:0.875rem;
	text-transform: uppercase;
    display: flex;
	margin: 0 auto;
    width: fit-content;
	border:solid 2px white;
	transition: color 300ms, background 300ms;
	margin-top: auto;
	align-self: flex-start; 
}

.tm-instructors-list .tm-single-instructor .tm-instructor-link:hover{
	background-color:#BB877A;
	color:white;
}

.tm-instructor-main-title .et_pb_blurb_content h2.et_pb_module_header{
	padding-bottom:0;
}
.tm-general-faq-title .et_pb_blurb_container h2.et_pb_module_header{
	padding-bottom:0;
}

.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
    display: block !important;
	content: "\f078" !important;
    transform: rotate(180deg);
    transition: transform 350ms;
}

.et_pb_accordion .et_pb_toggle{
	margin-bottom:.75rem !important;
}

.et_pb_accordion .et_pb_toggle:last-child{
	margin-bottom:0 !important;
}

@media(max-width:980px){
	.tm-hero-single-image h1{
		font-size:3.5rem;
		text-align: center;
	}
	
	.tm-instructors-list .tm-single-instructor .tm-instructor-name{
		margin-bottom:.75rem;
	}

	.tm-our-story h2{
		padding-bottom:2rem !important;
	}

	.tm-instructors-list{
		flex-wrap:wrap;
	}

	.tm-instructors-list .tm-single-instructor{
		margin-bottom:4rem;
	}

	.tm-instructors-list .tm-single-instructor:last-child{
		margin-bottom:0
	}

	.tm-instructors-list .tm-single-instructor .tm-instructor-link{
		padding: 1rem 2.5rem
	}

	.tm-instructors-list .tm-single-instructor .tm-instructor-image{
		margin-bottom:1.5rem;
	}

	.tm-instructors-list{
		gap:0;
	}
}

@media(max-width:480px){
	.tm-about-lastname{
		display:block;
	}
}


/* Blog */

.et_pb_post .entry-title a{
	height:114px;
	display:block;
}

.et_pb_blog_grid .entry-featured-image-url img{
	aspect-ratio: 1/1;
	object-fit:cover;
}

.et_pb_post .entry-featured-image-url{
	margin-bottom:2rem;
}
.et_pb_salvattore_content{
	display:flex;
	justify-content: space-between;
	gap:1.5rem;
	flex-wrap:wrap;
}

.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3{
	margin-right:0;
	flex:0 1 auto;
}

.et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post:last-child{
	margin-bottom:0;
	padding-bottom:0;
}
.et_pb_column .et_pb_blog_grid .entry-title{
	padding-bottom:0;
}

@media(max-width:980px){        
	.et_pb_post .entry-featured-image-url{
		margin-bottom:2rem;
	}
	.et_pb_column .et_pb_blog_grid .column.size-1of2{
		margin-right:0;
	}
	.et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post{
		padding-bottom:0;
	}
	
}

@media(max-width:767px){
	.et_pb_column .et_pb_blog_grid .column.size-1of1{
		width:100%;
	}
	
	.et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post{
		margin-bottom:10.5%;
	}
	
	.et_pb_post .entry-title a{
		height:auto;
	}
	
	.et_pb_image_container{
		margin-bottom:1.25rem;
	}
	
	.et_pb_post .entry-featured-image-url{
		margin-bottom:1.5rem;
	}
}

@media(max-width:480px){
	.et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post{
		margin-bottom:14.5%;
	}
}

/* Blog single */

.single-post h1{
	padding-bottom:0;
}
.single-post .tm-single-featured-image .et_pb_image_wrap{
	width:100%;
}

.single-post .tm-single-featured-image .et_pb_image_wrap img{
	width:100%;
	object-fit:cover;
	height:500px;
}

@media(max-width:980px){
	.single-post .tm-single-featured-image .et_pb_image_wrap img{
		height:350px;
	}
}

/* Related */

.tm-related-posts{
	display:flex;
	flex:0 1 auto;
	gap:1.5rem;
	max-width: 900px;
	width:80%;
	margin:3.25rem auto 0 auto;
}

.tm-related-posts > * {
	flex: 1 1 33%;
	max-width: 33%;
	box-sizing: border-box;
}

.tm-related-posts .tm-single-related-post .tm-related-post-title{
	font-size:1.5rem;
	line-height:1.4;
	font-weight:700;
	color:#3C2D2A;
	text-align:center;
}

.tm-related-posts .tm-single-related-post img{
	height:300px;
	object-fit: cover;
	width:100%;
	margin-bottom:2rem;
}
.tm-single-read-more h4{
	padding-bottom:0;
}
@media(max-width:980px){
	.tm-related-posts{
		flex-wrap:wrap;
		justify-content: space-between;
		margin-top:3.25rem;
	}

	.tm-related-posts > .tm-single-related-post {
		flex: 1 1 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

@media(max-width:767px){
	.tm-related-posts{
		gap:0;
		margin-top:2rem
	}

	.tm-related-posts > .tm-single-related-post {
		flex: 1 1 100%;
		max-width: 100%;
		box-sizing: border-box;
		margin-bottom:2rem;
	}

	.tm-related-posts > .tm-single-related-post:last-child{
		margin-bottom:0;
	}
	.tm-related-posts .tm-single-related-post img{
		margin-bottom:1rem;
	}
}

/* Membership page */

.tm-box-offer-module, .tm-box-offer-module .et_pb_code_inner{
	height:100%;
}

.tm-box-offer{
	background-color:#E3D3C9;
	padding:2.5rem;
	padding-bottom:3.5rem;
	height:100%;
	flex-direction:column;
	display:flex;
}

.tm-box-offer h3{
	color:#3C2D2A;
	font-size:1.75rem;
	text-align:center;
	line-height:1.3;
	margin-bottom:1.5rem;
	font-weight:700;
	padding-bottom:0;
}

.tm-box-offer p{
	color:#3C2D2A;
	font-size:1.125rem;
	text-align:center;
	margin-bottom:1.5rem !important;
	line-height:1.5;
	font-weight:700;
}

.tm-box-offer .tm-box-offer-price{
	color:#3C2D2A;
	font-size:7rem;
	font-weight:700;
	line-height:1.1;
	text-align:center;
	margin-bottom:1.5rem;
}

.tm-box-offer .tm-box-offer-price span{
	color:#3C2D2A;
	font-size:1.875rem;
}

.tm-box-offer .tm-box-offer-description{
	color:#3C2D2A;
	font-size:1.25rem;
	text-align:center;
	font-weight:700;	
}

.tm-box-offer .tm-box-offer-button{
    padding: 1.25rem 2.5rem !important;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.4 !important;
    font-size: 14px;
    background-color: #bb877a;
    border-color: #bb877a;
    border-radius: 0px;
    color: white;
    text-transform: uppercase;
    transition: background 300ms;
    display: block;
	text-align:center;
	margin-top:1.5rem;
}

.tm-box-offer .tm-box-offer-button:hover{
	background-color: #3c2d2a;
    cursor: pointer;
}

.tm-box-offer .tm-box-offer-list{
	margin-top:1.5rem;
	padding-bottom:0;
	margin-bottom:0;
	list-style: none;
	padding-left: 0;
	order:1;
}

.tm-box-offer .tm-box-offer-list li{
	font-size:1.125rem;
	margin-bottom:.5rem;
	font-weight:700;
	position: relative;
	padding-left:2.2rem;
}

.tm-box-offer .tm-box-offer-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.325rem;
  width: 18px;
  height: 18px;
  background-image: url('/wp-content/uploads/2025/06/check-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.tm-box-offer .tm-box-offer-list li:last-child{
	margin-bottom:0;
}

.tm-boxes-2-row{
	display: flex;
	justify-content: center
}

.tm-boxes-row{
	display:flex;
}

.tm-boxes-2-row .et_pb_column.et-last-child{
	width:0;
}

.tm-membership-title h1{
	padding-bottom:0;
}

.tm-box-offer a.healcode-link{
	padding: 1.25rem 2.5rem !important;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.4 !important;
    font-size: 14px;
    background-color: #bb877a;
    border-color: #bb877a;
    border-radius: 0px;
    color: white;
    text-transform: uppercase;
    transition: background 300ms;
    display: block;
    text-align: center;
    margin-top: 1.5rem;
}

.tm-box-offer a.healcode-link:hover{
	background-color: #3c2d2a;
    cursor: pointer;
}

.tm-box-button-down{
	color: #3C2D2A;
    font-size: 1.25rem;
    text-align: center;
    line-height: 1.5;
    font-weight: 700;
	padding-top:1.5rem;
	order:1;
}

.tm-box-button-down.empty{
	height:84px;
}

.tm-box-vat{
	text-align:center;
	font-size:1rem;
	order:2;
	padding-top:1.5rem;
	position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

#tm-boxes-health .tm-box-offer .tm-box-offer-price{
	font-size:4.75rem;
}

#tm-boxes-health .tm-box-offer h3{
	font-size:1.2rem
}

#tm-boxes-health .tm-box-offer .tm-box-offer-list li{
	font-size:1rem;
}

@media(max-width:1560px){
	.tm-box-offer .tm-box-offer-price{
		font-size:6rem;
	}
	
	#tm-boxes-health .tm-box-offer .tm-box-offer-price{
		font-size:3.5rem;
	}
}

@media(max-width:1320px){
	.tm-box-offer .tm-box-offer-price{
		font-size:5rem;
	}
	
	#tm-boxes-health .tm-box-offer .tm-box-offer-price{
		font-size:3.25rem;
	}
	#tm-boxes-health{
		flex-wrap:wrap;
	}
	
	#tm-boxes-health .et_pb_column{
		width:48.25%;
		margin-right:3%;
		margin-bottom:30px;
	}
	
	#tm-boxes-health .et_pb_column:nth-child(2), #tm-boxes-health .et_pb_column:last-child{
		margin-right:0;
	}
}

@media(max-width:1200px){
	.tm-box-offer .tm-box-offer-price{
		font-size:4rem;
	}
	
	#tm-boxes-health .tm-box-offer .tm-box-offer-price{
		font-size:3.25rem;
	}
	
}

@media(max-width:980px){
	.tm-boxes-2-row, .tm-boxes-row{
		flex-wrap:wrap;
	}
	
	.tm-box-offer{
		padding:2.25rem;
		padding-bottom:3.25rem;
	}
	
	#tm-boxes-health .et_pb_column{
		width:100%;
	}
	
	#tm-boxes-health .tm-box-offer .tm-box-offer-list li{
		font-size:1.125rem;
	}
	
	#tm-boxes-health .tm-box-offer h3{
		font-size: 1.75rem;
	}
}

@media (min-width: 981px) and (max-width: 1560px) {
	#tm-intro-section, .tm-padding-section.et_pb_section.et_section_regular, .tm-padding-row.et_pb_section.et_section_regular, #tm-our-story{
		padding-top:6rem;
		padding-bottom:6rem;
	}
	
	.tm-row-margin-bottom.et_pb_row.et_pb_equal_columns{
		margin-bottom:5rem !important;
	}
	
	#tm-faq{
		padding-top:5rem;
		padding-bottom:5rem;
	}
	
	.tm-class-row.et_pb_row.et_pb_equal_columns{
		padding-top: 6rem !important;
		padding-bottom: 6rem !important;
	}
	
}

@media(max-width:980px){
	.tm-row-margin-bottom.et_pb_row.et_pb_equal_columns{
		margin-bottom:4.5rem !important;
	}
	
	.tm-class-row.et_pb_row.et_pb_equal_columns{
		padding-top: 4.5rem !important;
		padding-bottom: 4.5rem !important;
	}
	
	.tm-box-offer .tm-box-offer-price, #tm-boxes-health .tm-box-offer .tm-box-offer-price{
		font-size:6.25rem;	
	}
	
	#tm-boxes-health.et_pb_row_4col>.et_pb_column.et_pb_column_1_4{
		width:100%;
		margin-right:0;
		margin-bottom:30px;
	}
	
	.tm-box-button-down.empty{
		height:0;
	}
	
}

@media(max-width:767px){
	
	.tm-row-margin-bottom.et_pb_row.et_pb_equal_columns{
		margin-bottom:3.75rem !important;
	}
	
	.tm-class-row.et_pb_row.et_pb_equal_columns{
		padding-top: 3.13rem !important;
		padding-bottom: 3.13rem !important;
	}

}

/* Test */

#tm-instructor-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999999 !important; /* Very high and forced */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem; /* for spacing on small screens */
	margin:auto;
}

/*
#tm-instructor-popup::before{
	background-color:black;
	width:100%;
	height:100%;
	position:absolute;
	top:-50%;
	left:-50%;
	content:'';
}
*/

.tm-instructor-popup-inner {
    background: #fff;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 999999 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 2rem 4rem;
}

.tm-instructor-popup-inner p{
	font-size:1rem;
	line-height:1.4;
}

.tm-instructor-popup-inner .tm-instructor-title{
	font-size:1.875rem;
	color:#BB877A;
	line-height:1.3;
}

.tm-instructor-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

@media(max-width:980px){
	.tm-instructor-popup-inner{
		padding:1.5rem 2.5rem;
	}
	
	.tm-instructor-popup-inner .tm-instructor-title{
		padding-bottom:1rem;
	}
}

