/*
Theme Name:   Black Health Legacy
Theme URI:    https://generatepress.com
Description:  Website by Design Science.
Author:       Ben Knowles
Author URI:   https://digitalgarden.co
Template:     generatepress
Version:      0.1
*/

:root {
	--pad-t: 140px;
	--pad-b: 126px;
	--pad-x: 40px;
}

@media (max-width: 1024px) {
	:root {
		--pad-t: 70px;
		--pad-b: 56px;
		--pad-x: 30px;
	}
}

@media (max-width: 768px) {
	:root {
		--pad-t: 50px;
		--pad-b: 36px;
		--pad-x: 20px;
	}
}

*, ::after, ::before {
    box-sizing: border-box;
}


body {
	font-size: 24px;
	line-height: 1.25;
	max-width: 2200px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 768px) {
	body {
		font-size: 18px;
	  line-height: 1.3;
	}
}
/* Links */

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
	text-underline-offset: 3px;
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus {
	outline: 2px solid black;
	outline-offset: 3px;
}

.text-white {
	color: white;
}

.text-white :focus {
	outline: 2px solid white;
}

h2, h3, h4, h5 {
	width: 100%;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}

ul, ol {
	margin: 0 0 16px;
}

ul li,
ol li {
	margin: 0 0 16px;
}

ul li {
	list-style: none;
}

ul li::before {
	content: "\2022";
	font-size: 20px;
	line-height: 1.25;
	margin: 2px 12px 0 -20px;
	position: absolute;
}


@media (max-width: 768px) {
	ul, ol {
		margin: 0 0 16px 20px;
	}
	
	ul li::before {
		font-size: 18px;
	}
}


/* ----- Team ----- */

.team {
	display: grid;
    grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 30px;
	grid-row-gap: 70px;
	justify-items: center;
}

@media (max-width: 1024px) {
	.team {
    	grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.team {
    	grid-template-columns: repeat(2, 1fr);
		grid-column-gap: 20px;
		grid-row-gap: 35px;
	}
}

.team-member {
	font-size: 18px;
	line-height: 1.25;
	max-width: 240px;
}

.team-member-name {
	font-weight: 700;
}

.team-member-position {
}

.team-member-image {
	line-height: 0;
}

.team-member-image img {
	border-radius: 50%;
	margin-bottom: 23px;
	aspect-ratio: 1 / 1;
}

@media (max-width: 768px) {
	.team-member {
		font-size: 16px;
	}
}


/* ----- Partners ----- */

.partners {
	margin-top: 50px;
	display: flex;
	column-gap: 50px;
	row-gap: 40px;
	justify-content: center;
	justify-items: center;
	align-items: center;
	flex-wrap: wrap;
	line-height: 0;
}

.partner img {
	max-width: 142px;
	max-height: 68px;
	height: auto;
	object-fit: contain;
	transition: opacity 0.25s ease;
}

.partner a:hover img {
	opacity: 0.85;
}

@media (max-width: 768px) {
	.partners {
		justify-content: space-between;
		
	}
	.partner img {
		max-width: 138px;
		max-height: 50px;
		height: auto;
		object-fit: contain;
	}
}



/* ----- Icon button ----- */

.icon-button {
	align-items: center;
    background-color: var(--base-3);
    color: var(--contrast-2);
    display: inline-flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.25s ease 0s;
    border-radius: 50%;
	line-height: 0;
}

.icon-button:hover {
	opacity: 0.85;
}

.icon-button svg {
    height: 34px;
    fill: currentColor;
    color: var(--contrast-2);
    width: 34px;
}

/* ----- Footer ----- */

footer {
	font-size: 18px;
}

footer a,
footer a:hover {
	color: white;
}

.footer__content {
	background: var(--contrast-2);
}

.footer__content .contain {
	padding-top: 68px;
	padding-bottom: 72px;
    grid-template-columns: 2fr 2fr 3fr;
    column-gap: 40px;
    display: grid;
    row-gap: 40px;
}

.footer__column-1 {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer__column-2 {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.footer__menu ul {
	margin-left: 0;
}

.footer__menu ul li::before {
	display: none;
}

.footer__icons {
	display: flex;
	gap: 10px;
}

.footer__column-3 {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
    align-items: flex-end;
}

/*.footer__column-3 svg {
	margin-left: auto;
    display: block;
}*/

.footer__copyright {
	background: black;
}

.footer__copyright .contain {
	padding-top: 15px;
	padding-bottom: 15px;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

@media (max-width: 1024px) {
    .footer__content .contain {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
	.footer__column-3 {
		display: none;
	}
	
	.footer__copyright .contain {
        flex-direction: column;
    }
}

/* ----- Blockquote ----- */

blockquote {
	border: none;
	padding: 0;
	margin: 33px 0 78px;
}

blockquote p {	
	margin-bottom: 20px;
	font-size: 46px;
	line-height: 1.15;
	font-weight: 700;
	font-style: normal;
}

blockquote p:first-of-type::before {
  content: open-quote;
	margin-left: -0.5em;
}

blockquote p:last-of-type::after {
  content: close-quote;
}

blockquote cite {
	font-size: 24px;
	font-weight: normal;
}

@media (max-width: 768px) {
	blockquote {
		/*margin: 30px 0;*/
	}
	
	blockquote p,
	blockquote cite {
		font-size: 18px;
	}
	
	blockquote p {
		margin-bottom: 5px;
	}
}

/* ----- Editor ----- */

.circle-grid .block-list-appender {
	display: none !important;
}

/*
Colours

#000000 - Black (contrast)
#2E2E2E - Charcoal (conrast-2)
#4a4948 - Dark Gray (conrast-3)

#ECE2DE - Skin (base)
#F0F0F0 - Grey (base-2)
#FFFFFF - White (base-3)

#F5592E - Red (accent-1)
#149C75 - Green (accent-2)
#DBC2E5 - Purple (accent-3)
#471742 - Deep purple (accent-4)
*/
