/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- 
00. CORE
01. SITEWIDE
02. FOOTER
10. PAGE > HERO
30. SPECIFIC PAGES
	31. Homepage
50. BLOCK CUSTOMISATIONS
99. HOTFIXES & BUGS

/* ---------------------------------------------------
* 00. CORE 
* ---------------------------------------------------*/
:root body {
	--global-kb-font-size-xxxl: clamp(2.4rem, 2.1361rem + 1.3196vw, 3.2rem);
    --global-kb-font-size-xxl: clamp(1.8rem, 1.5368rem + 1.0526vw, 2.8rem); /* H1 */
    --global-kb-font-size-xl: clamp(1.8rem, 1.6021rem + 0.9897vw, 2.4rem); /* H2 */
    --global-kb-font-size-lg: clamp(1.6rem, 1.468rem + 0.6598vw, 2rem); /* H3 */
    --global-kb-font-size-md: 1.4rem; /* H4 */
    --global-kb-font-size-sm: 1rem;
    --global-kb-font-size-xsm: 0.8rem;
}

body h1 { font-size: var(--global-kb-font-size-xxl); }
body h2 { font-size: var(--global-kb-font-size-xl);  }
body h3 { font-size: var(--global-kb-font-size-lg); }
body h4 { font-size: var(--global-kb-font-size-md); }
body h5 { font-size: 1rem; }
body h6 { font-size: 1rem; }

/*Text balance */
.balance {
    text-wrap: balance;
}

/* ---------------------------------------------------
 * 01. SITEWIDE
 * ---------------------------------------------------*/

.nos-breadcrumbs {
	& a {
		text-decoration: none;
	}
}

/* Provider images */
body figure.provider-image {
	margin: 0;
	overflow: hidden;
    width: 100%;
	max-width: 300px;
    height: auto;
	
	& img {
		margin: 0;
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}

body p.provider {
	margin: 0 0 0.5em 0;
}

 /* ---------------------------------------------------
 * 02. FOOTER
 * ---------------------------------------------------*/

 /* ---------------------------------------------------
 * 31. HOME PAGE
 * ---------------------------------------------------*/

.pmce-services-row .grid > .kt-inside-inner-col {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
		
	& .wp-block-kadence-column > .kt-inside-inner-col {
		display: flex;
		flex: 1;
		
		& > .wp-block-kadence-column {
			flex: 1;
		}
	}
}

@media (width < 1024px) {
  .pmce-services-row .grid > .kt-inside-inner-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width < 768px) {
  .pmce-services-row .grid > .kt-inside-inner-col {
    grid-template-columns: 1fr;
  }
}

 /* ---------------------------------------------------
 * 33. SERVICES PAGE
 * ---------------------------------------------------*/
@media screen and (max-width: 768px) {
	.entry-content > .pmce-services-row:nth-child(3),
	.entry-content > .pmce-services-row:nth-child(5) {
		& .wp-block-kadence-column:nth-of-type(1),
		& .wp-block-kadence-column:nth-of-type(2) {
			order: 1;
		}
		
		& .wp-block-kadence-column:nth-of-type(3) {
			order: 0;
		}
	}
}

 /* ---------------------------------------------------
 * 34. TRAINING PAGE
 * ---------------------------------------------------*/

.training-query ul li.kb-query-item {
	display: flex;
}