/*
Theme Name: Healthy Pixels
Author: Healthy Pixels
Description: Healthy Pixels stylesheet
Version: 1.0.0
Text Domain: Healthy Pixels
*/

* {scroll-padding-top: 6rem;}
html {scroll-behavior: smooth}
html, body {height: 100%;}
@font-face {
	font-family: 'ApercuMonoPro';
	src: url('assets/fonts/ApercuMonoProRegular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'ApercuMonoPro';
	src: url('assets/fonts/ApercuMonoProMedium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'ApercuMonoPro';
	src: url('assets/fonts/ApercuMonoProLight.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'ApercuMonoPro';
	src: url('assets/fonts/ApercuMonoProBold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
body, .editor-styles-wrapper.block-editor-writing-flow {
	--font: 'ApercuMonoPro', -apple-system, system-ui, BlinkMacSystemFont, “Segoe UI”, Helvetica, Arial, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”, sans-serif;
	--accent-font: quincy-cf, var(--font);
	--light: 300;
	--regular: 400;
	--medium: 500;
	--bold: 700;
	
	--salmon: #FF8E6C;
	--black: #041509;
	--green-dark: #082A12;
	--pure: #fff;
	--white: #F7F7F7;
	--bright: #EDEDED;
	--grey: #5D5D5D;
	--yellow: #FEEB18;
	--yellow2: #EFDB01;
	--blue: #283583;
	--blue-br: #7CAFC2;
	--beige: #EDE4BD;

	--br-sm: 10px;
	--br-md: 15px;
	--br-lg: 25px;
	--border-w: 2px;
	
	--moz-box-shadow: 0 2px 5px -1px rgba(26,26,26,.3);
	--webkit-box-shadow: 0 2px 5px -1px rgb(26 26 26 / 30%);
	--box-shadow: 0 2px 5px -1px rgb(26 26 26 / 30%);
	
	--transition: all .3s ease;
	
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	font-weight: var(--regular);
	text-align: left;
	line-height: 1.5;
	word-spacing: .5px;
	letter-spacing: .3px;
	background: #fff;
	color: #212529;
	width: 100%;
	overflow-x: hidden;
	
	display: flex;
	flex-direction: column;
}
@media only screen and (max-width:767px) {
	body {
		--br-sm: 3px;
		--br-md: 10px;
		--br-lg: 20px;
	}
}
@media only screen and (min-width:768px) {
	body {--max: 5vw;}
}
@media only screen and (min-width:1600px) {
	body {--max: 10vw;}
}
#main {
	flex: 1 0 auto;
	width: 100%;
	overflow: clip;
}

/* Text handling */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	line-height: 1.35;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
	hyphenate-limit-chars: 10 4 4;
    margin-block-start: 0;
    margin-block-end: 0;
}
h1, h2, h3, h4, h5, h6 {font-weight: var(--light);}
h1 {font-size: 3.1rem;}
h2 {font-size: 2.5rem;}
h3 {font-size: 1.8rem;}
h4 {font-size: 1.4rem;}

b, strong, .sub {font-weight: var(--bold);}

.caveat {font-size: .85rem;}

@media only screen and (max-width:767px) {
	h1 {font-size: 2.4rem;}
	h2 {font-size: 1.7rem;}
	h3 {font-size: 1.3rem;}
	h4 {font-size: 1.1rem;}
}
@media only screen and (min-width:1600px) {
	body {font-size: 1.1rem;}
	h1 {font-size: 5rem;}
	h2 {font-size: 2.5rem;}
	h3 {font-size: 1.6rem;}
	h4 {font-size: 1.3rem;}
}

/* Backgrounds */
.pure-bg {background: var(--pure);}

/* Spacing */
body {
	--sm-spacer: 2rem;
	--md-spacer: 3.5rem;
	--lg-spacer: 5rem;
}
@media only screen and (min-width:1600px) {
	body {
		--sm-spacer: 3rem;
		--md-spacer: 6rem;
		--lg-spacer: 9rem;
	}
}
@media only screen and (max-width:767px) {
	body {
		--sm-spacer: 1.5rem;
		--md-spacer: 2rem;
		--lg-spacer: 3rem;
	}
	.hide-mob {display: none;}
}
.mx-15 {
	margin-left: 15px;
	margin-right: 15px;
}
.sm-spacer, .sm-spacer-top {padding-top: var(--sm-spacer);}
.sm-spacer, .sm-spacer-btm {padding-bottom: var(--sm-spacer);}
.md-spacer, .md-spacer-top {padding-top: var(--md-spacer);}
.md-spacer, .md-spacer-btm {padding-bottom: var(--md-spacer);}
.lg-spacer, .lg-spacer-top {padding-top: var(--lg-spacer);}
.lg-spacer, .lg-spacer-btm {padding-bottom: var(--lg-spacer);}
.mb-30 {margin-bottom: 30px;}
.wp-block-columns {
	padding-top: var(--md-spacer) !important;
	padding-bottom: var(--md-spacer) !important;
}
.intro-m.has-content {padding-bottom: var(--sm-spacer);}
.outro-m.has-content {padding-top: var(--sm-spacer);}

.rg-30 {row-gap: 30px;}
.rg-15 {row-gap: 15px;}

.wp-block-columns {padding: 15px;}

/* Navigation */
.scrolled .main-nav {
	background: var(--pure);
	height: 90px;
	width: 100%;
}
.scrolled .main-nav, .navbar, .brand {
	z-index: 9999999;
	position: fixed;
}
.navbar {
	display: flex;
	right: 0;
    justify-content: end;
	padding: 0;
    margin-top: 15px;
}
@media only screen and (min-width: 992px) {
	#menu-toggle, .hamburger-icon {display: none;}
}

/*
.navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255, .8);
    border-color: rgba(255, 255, 255, .8);
    right: 15px;
    top: 30px;
    position: absolute;
}
.navbar-nav {
    max-width: 100%;
	position: relative;
	padding: .25rem 1rem;
	border-radius: 50px;
}
.navbar li a {color: var(--cta);}
.navbar li a:hover, .navbar li a:focus {color: var(--cta-focus);}
.navbar li.current-menu-item > a {
    color: var(--black);
	pointer-events: none;
}
.navbar li.current-menu-ancestor > a {
    border-bottom: none;
	font-style: italic;
}
.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover {
    background-color: transparent;
}
.navbar-brand {
    z-index: 99999999;
    position: absolute;
}
.navbar-nav li {
	margin: 0 1rem;
	margin-top: .25rem;
}
.navbar-nav li:last-child {padding-bottom: inherit;}

@media only screen and (min-width: 992px) {
	.navbar-nav {flex-direction: unset !important;}
	.navbar-nav .menu-item-has-children .dropdown-menu {position: absolute;}
	.dropdown-item {
		padding: .5rem;
		color: inherit;
	}
	.dropdown-menu {
		top: 60px;
		padding: .5rem 0;
		font-size: inherit;
		color: inherit;
		text-align: left;
		list-style: none;
		background-color: var(--bright);
		border: none;
		border-radius: var(--br-sm);
		-moz-box-shadow: var(--moz-box-shadow);
		-webkit-box-shadow: var(--webkit-box-shadow);
		box-shadow: var(--box-shadow);
	}
	.dropdown-menu-right {
		right: 0;
		left: auto !important;
	}
	.dropdown-item:focus, .dropdown-item:hover {
		background-color: transparent;
		color: var(--grey);
	}
	.dropdown-menu li a:hover, .dropdown-menu li a:focus, .dropdown-menu li.current-menu-item a {
		color: var(--grey);
		font-style: italic;
	}
	.navbar li a {font-weight: var(--bold);}
}
@media only screen and (max-width: 991px) {
	.navbar-brand {position: absolute;}
	.navbar {display: none;}
	.navbar-nav {
		background: transparent;
		padding: 0;
	}
	.hamburger-icon {display: inline-block;}
	input#menu-toggle {display: none;}
	#menu-toggle:checked ~ .navbar {display: block;}
	#menu-toggle:checked ~ .navbar {
		position: fixed;
		overflow-y: auto;
		width: 100vw;
		height: 100vh;
		left: 0;
		top: 0;
		z-index: 999999999;
		border-radius: 0;
		background: var(--black);
		padding: 8rem 1rem 0 1rem;
		margin-top: 0;
		text-align: center;
	}
	.hamburger-icon {
        border-radius: 50px;
        z-index: 9999999999;
        display: inline-block;
        cursor: pointer;
        width: 50px;
        height: 50px;
        position: fixed;
        top: 15px;
        right: 5%;
        background: var(--cta);
    }
	.hamburger-icon span:nth-child(1) {margin-top: 14px;}
	.hamburger-icon span {
		background: var(--white);
        display: block;
        height: 2.5px;
        width: 25px;
        margin: 6px 11.5px;
        transition: var(--transition);
        border-radius: 2px;
	}
	#menu-toggle:checked + .hamburger-icon span:nth-child(1) {
		transform: rotate(45deg) translate(6px, 6px);
		transform-origin: center;
	}
	#menu-toggle:checked + .hamburger-icon span:nth-child(2) {opacity: 0;}
	#menu-toggle:checked + .hamburger-icon span:nth-child(3) {
    	transform: rotate(-45deg) translate(6px, -6px);
    	transform-origin: center;
	}
	.nav-link {display: inline-block;}
	.navbar-nav li {margin: 1rem 0;}
	.navbar li a {
		width: 100%;
		font-size: 1.15rem;
		color: var(--white);
	}
	.navbar li a:hover, .navbar li a:focus {color: var(--cta-focus);}
	.navbar li.current-menu-item > a {color: var(--cta);}
	.navbar li a.dropdown-toggle {width: 80%;}
	.navbar-nav .menu-item-has-children:hover .dropdown-menu {font-style: italic;}
	.dropdown-toggle::after {
		content: "";
		position: absolute;
		top: 1rem;
		border-top: .45em solid;
		border-right: .45em solid transparent;
		border-bottom: 0;
		border-left: .45em solid transparent;
	}
	.dropdown-menu {
		font-size: inherit;
		color: inherit;
		background-color: transparent;
		border: none;
		text-align: center;
	}
}
@media only screen and (max-width: 767px) {
	.hamburger-icon {right: 15px;}
	
}
.navbar-nav li {position: relative;}
.navbar-nav .menu-item-has-children .dropdown-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
    left: 0;
    z-index: 1000;
}
.navbar-nav .menu-item-has-children:hover .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
	transition: var(--transition);
}
*/

/* Breadcrumbs 
.breadcrumb, nav.rank-math-breadcrumb {
	background-color: transparent;
	display: block;
	padding-left: 0;
}
.breadcrumb li a, .rank-math-breadcrumb p {font-size: .8rem !important}
.breadcrumb li a, .rank-math-breadcrumb p a, a.author {color: var(--black)}
.breadcrumb li a:hover, .rank-math-breadcrumb p a:hover, a.author:hover {color: var(--black)}
.rank-math-breadcrumb p .last {color: var(--black)}*/

/* WhatsApp 
.whatsapp {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #25d366;
    transition: all 0.3s ease-out;
    z-index: 99999;
}
.wa-icon {
    width: 40px;
    margin-top: 7px;
    margin-left: 8px;
}
.whatsapp:hover, .whatsapp:focus {background-color: var(--black);}
.whatsapp a:hover, .whatsapp a:focus {cursor: pointer;}*/

/* Buttons and links 
.overlay-link {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.clean-link a, a.clean-link {
	color: inherit;
	text-decoration: none !important;
}

a.read-more, p.read-more {
	color: var(--cta) !important;
	border-bottom: 2px solid var(--cta);
	width: fit-content;
	display: block;
	margin-bottom: 1rem;
	-webkit-transition: var(--transition);
}
p.read-more {cursor: pointer;}
a.read-more:hover, a.read-more:focus, p.read-more:hover, p.read-more:focus {
	color: var(--cta-focus) !important;
	text-decoration: none !important;
	border-color: var(--cta-focus);
}
a.read-more:after, p.read-more:after {
	content: "";
    display: inline-block;
    vertical-align: top;
    margin-left: 5px;
	margin-top: 2px;
    width: 20px;
    height: 20px;
	background-color: var(--cta);
	-webkit-transition: var(--transition);
	-webkit-mask: url('/wp-content/uploads/2025/02/arrow-right.svg') center / contain no-repeat;
	mask: url('/wp-content/uploads/2025/02/arrow-right.svg') center / contain no-repeat;
}
a.read-more:hover:after, a.read-more:focus:after, p.read-more:hover:after, p.read-more:focus:after {background-color: var(--cta-focus) !important;}

p a, li a, a {color: var(--cta-focus);}
p a:hover, p a:focus, li a:hover, li a:focus, a:hover, a:focus {color: var(--teal);}

.btn, a.cky-banner-element {
	border-radius: var(--br-sm);
	font-weight: var(--bold);
	padding: 12px 30px;
	margin: 1rem 0;
	-webkit-transition: var(--transition);
	width: fit-content;
}

.primary-btn, :where(.editor-styles-wrapper) .btn.primary-btn {
	background: var(--cta);
	color: var(--cta-opp);
	position: relative;
}
.primary-btn:hover, .primary-btn:focus {
	background: var(--cta-focus);
	color: var(--white-focus-opp);
}

.secondary-btn, :where(.editor-styles-wrapper) .btn.secondary-btn, .cky-banner-element {
	border: 2px solid var(--cta);
	color: var(--cta);
}
.secondary-btn:hover, .secondary-btn:focus, .cky-banner-element:hover, .cky-banner-element:focus {
	border: 2px solid var(--cta-focus);
	color: var(--cta-focus);
}

@media only screen and (max-width:576px) {
	.btn {
		padding: 12px;
		width: 100%;
	}
}*/

/* HERO */
.hero-pad {margin-top: 7rem;}
/* Full height 
.full-height-hero {
    position: relative;
    background-color: var(--black);
    color: var(--white);
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}
.full-height-hero.hero {
	margin-bottom: 0px;
    margin-top: 0px;
    display: flex;
    align-items: center;
    min-height: 100vh;
}
.full-height-hero.hero video, .full-height-hero.hero img {
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.full-hero-content {
	position: relative;
	padding-top: 3rem;
	padding-bottom: 3rem;
}*/

/*@media only screen and (max-width:991px) {
	.nowrap-row .row {
		flex-wrap: nowrap;
		margin-top: 1.5rem;
		margin-bottom: 1.5rem;
	}
	.customwrap-row, .nowrap-row {overflow-y: auto;}
}
.customwrap-row .row {flex-wrap: nowrap;}
.customwrap-row {overflow-y: auto;}
.nowrap-row::-webkit-scrollbar, .customwrap-row::-webkit-scrollbar {height: 10px;}
.nowrap-row::-webkit-scrollbar-track, .customwrap-row::-webkit-scrollbar-track {
	background-color: var(--grey);
	border-radius: 15px;
	max-width: 60% !important;
	margin-top: 3rem;
	margin-left: 25vw;
	margin-right: 25vw;
}
.nowrap-row::-webkit-scrollbar-thumb, .customwrap-row::-webkit-scrollbar-thumb {
	background-color: var(--blue);
	border-radius: var(--br-lg);
}
@-moz-document url-prefix() {
	.nowrap-row, .customwrap-row {
		scrollbar-width: thin;
		scrollbar-color: var(--blue) var(--grey);
		margin: 1rem;
	}
}*/

/* Google maps 
.map {
    position: relative;
    width: 100%;
    padding-top: 30%;
    overflow: hidden;
}
.sq-map {
	padding-top: 90%;
	border-radius: var(--br-lg);
}
@media only screen and (max-width:767px) {
	.map {padding-top: 70%;}
}*/

/* Misc 
.boxes {display: flex;}
.same-h {
	display: flex;
    flex-direction: column;
	height: 100%;
	flex: 1;
}
.push-down {margin-top: auto;}
.placeholder {
	min-height: 100px;
	height: 100%;
	width: 100%;
	background: var(--grey);
}
*/

/* Social media */
@media only screen and (min-width:767px) {
	.socials .row {
		display: flex;
		flex-wrap: wrap;
		gap: 15px;
	}
	.socials .col-md-3 {flex: 1 1 22%;}
}
a.social-link {color: var(--salmon);}
a.social-link:hover, a.social-link:focus {text-decoration: none;}
.socials p {padding-top: 1rem;}
.social-icon {padding-bottom: 1rem;}
.social-icon:last-child {margin-right: 0;}
.social-icon:before {
    content: "";
    display: inline-block;
    vertical-align: top;
    width: 30px;
    height: 30px;
	background-color: var(--salmon);
}
.social-icon:hover:before {background-color: var(--salmon);}

.social-icon.li:before {-webkit-mask: url('/wp-content/uploads/2024/12/linkedin.svg') center / contain no-repeat;}
.social-icon.ig:before {-webkit-mask: url('/wp-content/uploads/2024/12/instagram.svg') center / contain no-repeat;}
.social-icon.fb:before {-webkit-mask: url('/wp-content/uploads/2024/12/facebook.svg') center / contain no-repeat;}
.social-icon.yt:before {-webkit-mask: url('/wp-content/uploads/2024/12/youtube.svg') center / contain no-repeat;}
.social-icon.tt:before {-webkit-mask: url('/wp-content/uploads/2024/12/tiktok.svg') center / contain no-repeat;}
.social-icon.x:before {-webkit-mask: url('/wp-content/uploads/2024/12/twitter-x.svg') center / contain no-repeat;}
.social-icon.wa:before {-webkit-mask: url('/wp-content/uploads/2025/09/whatsapp.svg') center / contain no-repeat;}

/* FOOTER 
footer {
	margin-top: 5rem;
	margin-bottom: 15px;
}
footer .caveat {font-size: 90%;}
footer ul {
	list-style: none;
	padding-inline-start: 0;
}
footer ul li {margin-bottom: 1rem;}
footer ul li.menu-spacer {padding-top: 1rem;}
footer ul a {color: var(--cta);}
footer ul a:hover, footer ul a:focus {color: var(--cta-focus);}
footer .policies ul li {font-size: 95%;}
footer .current-menu-item a {
	opacity: .5;
	pointer-events: none;
}
.footer-logo {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.footer-logo img, img.footer-icon {
    max-height: 100px;
    width: auto;
}
@media only screen and (min-width: 992px) {
	footer .policies ul li {
		display: inline;
		margin-right: 1rem;
	}
}
@media only screen and (max-width: 767px) {
	.footer-container {padding-top: 1rem;}
	footer p.lead {padding-top: 2rem;}
}*/