/* New Theme Colours. */

:root {
	/* --wp--preset--color--primary: #165E2C;
    --wp--preset--color--primary-darker: #0f411e;
    --wp--preset--color--secondary: #917209;
    --wp--preset--color--light: #fff;
    --wp--preset--color--lightgrey: #F7F7F7;
    --wp--preset--color--dark: #4b4b4b; */

	/* { "slug": "primary", "color": "#165E2C", "name": "Primary" },
	{ "slug": "primary-darker", "color": "#0f411e", "name": "Primary Darker" },
	{ "slug": "secondary", "color": "#917209", "name": "Secondary" },
	{ "slug": "light", "color": "#ffffff", "name": "Light" },
	{ "slug": "lightgrey", "color": "#F7F7F7", "name": "Light Grey" },
	{ "slug": "dark", "color": "#4b4b4b", "name": "Dark" } */

	--ccg-green: #454A24;
	/* --ccg-green: #D5E1F1; */
	--ccg-clay: #DAB27D;
	--ccg-grey: #F5EADA;
	--ccg-text: #002229;
	--ccg-text-light: #D5E1F1;
}

@font-face {
  font-family: 'Copernicus';
  src: url('fonts/Copernicus-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Copernicus';
  src: url('fonts/Copernicus-BookItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

h1,
h2,
h1 strong,
h2 strong,
.castlehealth-heading,
.castlehealth-cta5 .cta5-main .cta5-content h2,
.castlehealth-text-image-horizontal h3,
.castlehealth-cta5 .cta5-main .cta5-content h2 strong,
.castlehealth-text-image-horizontal h3 strong,
body:not(.home) h3.wp-block-heading,
body:not(.home) h3.wp-block-heading strong,
.castlehealth-para-list h3 {
	font-family: 'Copernicus', serif !important;
	font-weight: 400 !important;
}


body {
	font-family: "Inter", sans-serif !important;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

html,
body,
p,
span,
a,
li,
ul,
ol,
blockquote,
figcaption,
label,
input,
textarea,
button,
select,
small,
strong,
em,
::placeholder {
	font-family: 'Inter', sans-serif;
}

b,
strong {
	font-weight: 600;
}


.castlehealth-people .box-person {
	background-color: var(--ccg-grey) !important;
}


@media screen and (min-width: 769px) {
    .castlehealth-cta5 .cta5-main .cta5-content.has-lightgrey-background-color {
      /* background-color: rgba(235, 235, 239, 0.95) !important; */
      background-color: rgba(245, 234, 218, 0.95) !important;
    }
}

.castlehealth-para-list .para-list-bg {
	background-color: transparent !important;
}

.block-icon-card-container .block-icon-card-bg {
    /* background: var(--ccg-blue) !important; */
    background: var(--ccg-clay) !important;
}

#castlehealth-totop,
.logo-footer {
	opacity: 1 !important;
}

#castlehealth-prehead-phone strong {
	font-weight: 800 !important;
}


.accordionjs .acc_section {
	background-color: var(--ccg-grey) !important;
}



.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
    /* background-color: var(--cmplz_button_accept_background_color);
    border: 1px solid var(--cmplz_button_accept_border_color);
    color: var(--cmplz_button_accept_text_color); */

	background-color: var(--ccg-green) !important;
    border: 1px solid var(--ccg-clay) !important;
    color: var(--cmplz_button_accept_text_color) !important;
}


.wp-block-button__link.has-background.has-secondary-background-color {
    /* box-shadow: 0 .15rem 0px var(--wp--preset--color--primary); */
    box-shadow: 0 .15rem 0px #fff !important;
}


input[type="button"], input[type="reset"], input[type="submit"], .wp-block-button__link, .wp-block-file a.wp-block-file__button {
	text-transform: none !important;
}

.wp-block-button__link i {
	margin-right: 5px !important;
}

div > h3 + div > p {
	margin-top: 20px !important;
}

.cta5-content h2,
.cta5-content h1 {
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
}

input[type="button"], input[type="reset"], input[type="submit"], .wp-block-button__link, .wp-block-file a.wp-block-file__button,
.wp-block-button__link.has-background.has-secondary-background-color {
	box-shadow: none !important;
}

@media screen and (max-width: 1679px) {
	h1, h2, h3, h4, h5, h6 {
		line-height: 1.3 !important;
	}

	h2 {
		font-size: 30px !important;
	}

	h3 {
		font-size: 26px !important;
	}

	p, .cta5-strap {
		font-size: 16px !important;
		line-height: 1.5 !important;
	}

	li > p {
		line-height: 1.75 !important;
	}
}


@media screen and (min-width: 1680px) and (max-width: 1979px) {
	html {
		font-size: 20px !important;
	}

	h1, h2, h3, h4, h5, h6 {
		line-height: 1.25 !important;
	}

	h2 {
		font-size: 38px !important;
	}

	h3 {
		font-size: 32px !important;
	}

	p, .cta5-strap {
		font-size: 20px !important;
		line-height: 1.5 !important;
	}

	li > p {
		line-height: 2.1 !important;
		margin-bottom: 0px !important;
	}
}

@media screen and (min-width: 1980px) {
	html {
		font-size: 20px !important;
	}

	h1, h2, h3, h4, h5, h6 {
		line-height: 1.25 !important;
	}

	h2 {
		font-size: 38px !important;
	}

	h3 {
		font-size: 32px !important;
	}

	p, .cta5-strap {
		font-size: 20px !important;
		line-height: 1.5 !important;
	}

	li > p {
		line-height: 2.1 !important;
		margin-bottom: 0px !important;
	}
}


.has-light-color,
p.has-light-color,
span.has-light-color,
li.has-light-color,
h2.has-light-color,
h3.has-light-color,
h4.has-light-color,
.wp-block-quote p {
	color: var(--ccg-text-light) !important;
}

input[type="submit"],
a.wp-block-button__link,
.wp-block-file a.wp-block-file__button {
	color: var(--ccg-text-light) !important;
}

a.has-secondary-background-color {
	color: #fff !important
}

#masthead .has-primary-background-color #site-navigation ul:not(.sub-menu) > li > a,
.site-footer.has-primary-background-color.has-background.has-light-color,
.site-footer.has-primary-background-color.has-background.has-light-color a {
	color: var(--ccg-text-light) !important;
	opacity: 1 !important;
}

#masthead .has-primary-background-color #site-navigation ul:not(.sub-menu) > li:hover > a,
#masthead .has-primary-background-color #site-navigation ul:not(.sub-menu) > li:focus > a {
	color: var(--ccg-text) !important;
}

body.home .content.has-lightgrey-background-color > h3 {
	font-family: 'Copernicus', serif !important;
    font-weight: 400 !important;
}

@media screen and (max-width: 991.95px) {
	#masthead .has-primary-background-color #site-navigation ul:not(.sub-menu) > li > a {
		color: var(--ccg-text) !important;
		opacity: 1 !important;
	}
}
