/**
 * Theme Name: CCGI
 * Description: Blocksy Child theme
 * Author: The Wire Inc.
 * Version: 1.2
 * Template: blocksy
 * Text Domain: blocksy
 */

:root {
	--theme-content-spacing: 1.5em;
	--theme-list-indent: 1.5em;	 	
	--wp--preset--font-size--small: 0.833em;
	--menu-indicator-height: 4px;
}

html {
  scroll-behavior: smooth;
	font-size: var(--fontSize); 
	line-height: var(--lineHeight); 
}

body {
	--wp--preset--font-size--small: 0.833em;
  --wp--preset--font-size--medium: 1em;
 /* --wp--preset--font-size--large: 1.2em; */
  --wp--preset--font-size--xx-large: clamp(2rem , calc(5vw + 1rem), 4rem);	
	/* --wp--style--block-gap: 0.5em; */
}

.ct-breadcrumbs {
    --theme-font-weight: 400;
    --theme-text-transform: none;
    --theme-font-size: 1rem;	
		padding: 0.75rem 0;	
}
/* 
	body.page .ct-breadcrumbs {margin-top: calc( var(--theme-content-vertical-spacing) * -1) ; }
	body.page .ct-breadcrumbs + h1 {
		margin-top: 0 !important;
	} */
.ct-breadcrumbs a { font-weight: 500;}
.ct-breadcrumbs:empty { display: none;}

[data-device="desktop"] .ct-menu-link .ct-toggle-dropdown-desktop {
  transform: scale(2);
}

.ct-icon, .ct-icon-container svg {
	color: var(--theme-icon-color, var(--theme-text-color));
}
	.ct-social-box a:hover svg {
		color: var(--theme-icon-hover-color, var(--theme-palette-color-2));	
	}


nav[class*=menu] li.current-page-ancestor >.ct-menu-link {
    color: var(--theme-link-active-color, var(--theme-link-hover-color));
}

/* LINKS */

[data-link='type-1'] .entry-content p a, [data-link='type-1'] .entry-content li a, .entry-button[data-type="simple"], .ct-breadcrumbs a, .wp-block-file > a:not(.wp-element-button), .ct-sidebar a  {
	font-weight: 500;
	border-bottom: solid 3px  var(--theme-palette-color-2);
	transition:  border 300ms ease-out;
}
[data-link='type-1'] .entry-content [class*='has-palette-color'].has-text-color a, [data-link='type-1'] .entry-content [class*='has-palette-color'].has-link-color a {
	border-bottom-color: currentColor;
}

	[data-link='type-1'] .entry-content [class*='has-palette-color'].has-text-color a:hover, 
	[data-link='type-1'] .entry-content [class*='has-palette-color'].has-link-color a:hover, 	
	[data-link='type-1'] .entry-content a:hover, .entry-button[data-type="simple"]:hover, .wp-block-file > a:not(.wp-element-button):hover	{
	border-bottom-color: transparent ;
	}
	

[data-link='type-1'] .entry-title a {
	font-weight: inherit;
}
[data-link='type-1'] .entry-content a.wp-block-social-link-anchor {
	display: flex;
	font-weight: inherit;
	border-bottom-width: 0;
}

.ct-breadcrumbs a,  [data-link='type-1'] .entry-content .simpletoc-list a, .ct-sidebar a  {
	border-bottom-color: transparent ;
}	
	.ct-breadcrumbs a:hover, [data-link='type-1'] .entry-content .simpletoc-list a:hover, .ct-sidebar a:hover  {
		border-bottom-color: var(--theme-palette-color-2);
	}	

/* DIVIDERS */

.wp-block-separator:not(.is-style-dots) {
    height: 1px;
}
.wp-block-separator {
	margin-top: calc( var(--theme-content-spacing) * 1.5 );
	margin-bottom: calc( var(--theme-content-spacing) * 1.5 );
}
	@media (max-width: 689.98px) {
		.wp-block-separator {
			margin-top: var(--theme-content-spacing);
			margin-bottom: var(--theme-content-spacing);
		}		
	}

/* Typography */


h1 {
	font-size: clamp(2.22rem , calc(5vw + 1rem), 4.44rem);
	line-height: 1.25;
}

	@media (max-width: 999.98px) {
		h1 {
			font-size: 2.22rem;
			line-height: 1.35;
		}
	}
	@media (max-width: 689.98px) {
		h1 {
			font-size: 1.625rem;
			line-height: 1.384;
		}
	}


.is-style-lead-text {
  font-size: 1.444rem;
 /* line-height: 1.69; */
  font-weight: 700;
  color: var(--theme-palette-color-3);
}
	@media (max-width: 999.98px) {
		.is-style-lead-text {
			font-size: 1.111rem;
			line-height: 1.4;
		}
	}

.has-xx-large-font-size {
	line-height: 1.15;
	font-weight: 300;
}
	
.is-style-serif {
	font-family: 'Roboto Slab', serif;
	font-weight: 300;
}

sup, sub {
	font-size: 88%;
	line-height: 1 !important;
}

h2.h3 {
	font-size: 1.17em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--theme-palette-color-41);
}


/* Breadcrumbs */


	.ct-breadcrumbs svg {
		height: 1em;
		width: auto;
		fill: currentColor;
	}


.hero .ct-breadcrumbs, .hero .ct-breadcrums a {
	color: #fff;
}


/*== Lists */

.entry-content ul {
	padding-left: 1em; 
}

.entry-content ul.nobullet, .entry-content ul.wp-block-social-links , .entry-content ul.entry-meta {
    --theme-list-indent: 0;
    --theme-list-style-type: none;
    --theme-content-spacing: 0;
		padding-left: 0;
}

.entry-content p + ul, .entry-content p + ol { 
 margin-top: -1em;
}

ul.is-style-fancy {
	list-style: none;
	padding-left: 0;
}

ul.is-style-fancy > li {
	position: relative;
	padding-left: 1.6em;
}
	ul.is-style-fancy > li+li  {
		margin-top: 0.5em;
	}
	ul.is-style-fancy > li::before {
		content: ""; 
		background-color: var(--theme-palette-color-5);
		display: block; 
		position: absolute; left: 0;
		width: 0.8em; 
		height: 0.8em;
		border-radius: 50%;
		transform: translateY(0.5em); 
	}

	
	
ul.is-style-line {
	list-style-type: "\2013\00A0 ";
}	

:is(ul.is-style-spaced, ol.is-style-spaced) > li + li {
	margin-top: 1.5rem;
}
:is(dir, menu, ol, ul) ul {
    list-style-type: disc;
}
:is(dir, menu, ol, ul) ul ul {
	list-style-type: "\2013\00A0 ";
}
ul.is-style-nobullet {
	list-style: none;
	padding-left: 0;
}



ul.is-style-border {
	list-style: none;
	padding-left: 0;
}
	ul.is-style-border > li {
			border-top: 1px solid #e5e5e5;
	}
	ul.is-style-border > li:last-child {
    border-bottom: 1px solid #e5e5e5;
	}	

@media (min-width: 782px) {
	ul.split-two, ul.split-three {
			columns: 2;
			-webkit-columns: 2;
			-moz-columns: 2;
			column-gap: 30px;
	}
	ul.split-three {
			columns: 2;
			-webkit-columns: 3;
			-moz-columns: 3;
	}	
	ul.split-two li, ul.split-three li {
		-webkit-column-break-inside:avoid;
		page-break-inside:avoid;
		break-inside:avoid-column;
	}
} 
@media (min-width: 1024px) {
		ul.split-three {
			columns: 3;
			-webkit-columns: 3;
			-moz-columns: 3;
			column-gap: 60px;
	}
}





/* SHAPE DIVIDER */

.shape-divider-bottom  {
   position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
		z-index: 3;
}

/* FILE */

.wp-block-file {
	max-width: 750px;
}

.wp-block-file:not(.wp-element-button)  {	font-size: 1em; }
.wp-block-file > a:not(.wp-element-button) { 
	font-size: 1em; 
	font-weight: 500; 
	font-family: 'Roboto Slab', serif;
	margin-right: 0.75em;
}

.wp-block-file *+.wp-block-file__button {
/*    display: flex; */
    margin-top: 0.75em;
		margin-left: 0;
/*		max-width: 15ch; */
} 

/* HERO SECTION*/

/* from globals */

[data-prefix="single_page"] .entry-header .page-title {
    --theme-font-size: 3.58em;
    --theme-line-height: 1.15;
    --theme-heading-color: var(--theme-palette-color-4);
}

[data-prefix="single_page"] .entry-header .entry-meta {
    --theme-font-weight: 600;
    --theme-text-transform: uppercase;
    --theme-font-size: 12px;
    --theme-line-height: 1.3;
}

[data-prefix="single_page"] .entry-header .ct-breadcrumbs {
    --theme-text-color: var(--theme-palette-color-6);
    --theme-link-initial-color: var(--theme-palette-color-8);
    --theme-link-hover-color: var(--theme-palette-color-8);
}

[data-prefix="single_page"] .hero-section[data-type="type-2"] {
    --alignment: start;
    --vertical-alignment: flex-start;
    --min-height: 0;
    background-color: var(--theme-palette-color-6) ;
    background-image: none;
    --container-padding: calc(var(--theme-content-vertical-spacing) * 1.5) 0 0 0;
}

[data-prefix="single_page"] .hero-section[data-type="type-2"] > figure .ct-media-container:after {
    background-color: rgba(22, 82, 120, 0.33);
}

[data-prefix="single_page"] .hero-section .page-title, [data-prefix="single_page"] .hero-section .ct-author-name {
    --itemSpacing: 60px;
}


	@media (max-width: 999.98px) {
			[data-prefix="single_page"] .entry-header .page-title {
				--theme-font-size: 2.074em;
			}
			[data-prefix="single_page"] .entry-header .page-description {		
				--theme-font-size: 1.17em;			
			}

			[data-prefix="single_page"] .hero-section .page-title, [data-prefix="single_page"] .hero-section .ct-author-name {
				--itemSpacing: 30px;
			}

	}
	@media (max-width: 689.98px) {
			[data-prefix="single_page"] .entry-header .page-title {
					--theme-font-size: 2.074em;
			}
			[data-prefix="single_page"] .entry-header .page-description {		
				--theme-font-size: 1em;			
			}

			[data-prefix="single_page"] .hero-section .page-title, [data-prefix="single_page"] .hero-section .ct-author-name {
					--itemSpacing: 30px;
			}
	}

.hero-section[data-type=type-2] {
    position: relative;
    padding-top: calc(var(--has-transparent-header)* var(--header-height));
}
.hero-section[data-type=type-2]>figure {
    position: absolute;
    overflow: hidden;
    z-index: 1;
    inset: 0;
    background-color: inherit
}
.hero-section[data-type=type-2]>[class*=ct-container] {
    display: flex;
    flex-direction: column;
    justify-content: var(--vertical-alignment, center);
    text-align: var(--alignment, center);
    position: relative;
    z-index: 2;
    padding: var(--container-padding, 50px 0);
    min-height: var(--min-height, 250px);
}


/* HERO Customizations*/


[data-prefix="single_page"] .hero-section[data-type="type-2"][data-level="subpage"] {
    --min-height: 0px;
    background-color: var(--theme-palette-color-8);
    background-image: none;
    --container-padding: 0px 0px 50px 0px;
}
.hero-section[data-type=type-2][data-level="subpage"]>[class*=ct-container] {
    padding: var(--container-padding, 50px 0);
    min-height: 0;
}

[data-prefix="single_page"] [data-level="subpage"] .entry-header .page-title {
    --theme-heading-color: var(--theme-palette-color-4);
		margin-top: 20px;
}
[data-prefix="single_page"] [data-level="subpage"] .entry-header .ct-breadcrumbs {
    --theme-text-color: var(--theme-palette-color-4);
    --theme-link-initial-color: var(--theme-palette-color-1);
    --theme-link-hover-color: var(--theme-palette-color-4);
}
[data-prefix="single_page"] [data-level="subpage"] + [data-vertical-spacing*=bottom] {
	padding-top: 0;
}

[data-prefix="single_page"] .hero-section[data-type="type-2"] > figure {
	left: 40%;
}
[data-prefix="single_page"] .hero-section[data-type="type-2"] > figure .ct-media-container:after {
    /* background: linear-gradient(105deg, rgba(22, 83, 121, 1) 25%, rgba(22, 83, 121, 0.3) 55%, rgba(22, 83, 121, 0.1) 75%, rgba(22, 83, 121, 0) 100%); */
		background: linear-gradient(105deg, rgba(242, 243, 249, 1) 25%, rgba(242, 243, 249, 0.3) 55%, rgba(242, 243, 249, 0.1) 75%, rgba(242, 243, 249, 0) 100%);
}



[data-prefix="single_page"] .hero-section[data-level="toppage"]:after {
	content: '';
	display: block;
	aspect-ratio:1200/60;
	width: 108%;
	margin-left: -3%;
	margin-right: -5%;
background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M600,112.77C268.63,112.77,0,65.52,0,7.23V120H1200V7.23C1200,65.52,931.37,112.77,600,112.77Z' fill='%23ffffff'/%3E%3C/svg%3E");
	background-size: 100% 100%;
	position: relative;
	z-index: 2;
	
}

[data-prefix="single_page"] .hero-section .page-description {
	font-weight: 600;
}
[data-prefix="single_page"] .hero-section .page-description p:last-child {
	margin-bottom: 0;
}



[data-prefix="single_page"] .hero-section[data-type="type-2"] figure + header > * {
	max-width: 55%;
}



.hero-section[data-type=type-2]>figure .ct-media-container {
	height: 100%;
}

@media (max-width: 689.98px) {
	[data-prefix="single_page"].home .hero-section[data-type="type-2"] {
	  display:flex;
    flex-flow: column; 
	}
	body.home .hero-section[data-type=type-2]>figure {
		position: relative;
    left: 0;
		order: 2;
	}

	[data-prefix="single_page"].home .hero-section[data-type="type-2"] figure + header > * {
			max-width: 100%;
	}	

	body.home .hero-section[data-type=type-2]>[class*=ct-container] {	
		padding: 30px 0 0 0;
	}
	[data-prefix="single_page"].home .hero-section[data-type="type-2"]:after, 	[data-prefix="single_page"].home .hero-section[data-type="type-2"] > figure .ct-media-container:after { 
		display: none;
	}		
	[data-prefix="single_page"].home .hero-section[data-type="type-2"]:after {
		content: '';
		display: block;
		margin-top: 30px;
		aspect-ratio: 2026/103;		
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='33.072593998 0 2209.964173532609 110.19968203497616'%3E%3Cpath id='Path_240' d='M0,49.78C124.41-31.69,584.23,5.21,823.77,32.17c239.54,26.96,751.95,124.97,1269.64,17.61,58.43-12.12,280.19-83,319.61-18.2,7.57,12.44,9.72,32.23,2.36,48.08-21.49,46.26-117.05,43.59-150,43-136.67-2.44-1027.9-1.62-2262-1L0,49.78Z' fill='%230d7492'/%3E%3C/svg%3E");
		background-size: cover;
		position: absolute;
		width: 100%;
		bottom: 0;
		z-index: 2;
	}	
}







[content-device="mobile"] {
	display: none;
}
	@media (max-width: 781.999px) {
		[content-device="desktop"] {
				display: none;
		}
		[content-device="mobile"] {
				display: block;
		}		
	}




/* FOOTER */

[data-footer*="type-1"] .ct-footer [data-row*="top"] > div {
	--grid-template-columns: 1fr 1.75fr 1.25fr
}
@media (max-width: 689.98px) {
    [data-footer*="type-1"] .ct-footer [data-row*="top"] > div {
        --grid-template-columns: initial;
    }
}

.ct-footer .wp-block-heading { color: inherit;}

.ct-footer .widget-menu li + li { margin-top: 5px;}

/* TABLE OF CONTENTS */

.simpletoc {
	margin-bottom: 3em !important;
	font-size: 0.888em;
	padding: 1.5em;
	background-color: var(--theme-palette-color-6);
}
.simpletoc-title {
	font-size: 1em; 
	text-transform: uppercase; 
	font-weight: 700;
	color: var(--theme-palette-color-4); 
}



/*== Callout */

[class*='is-style-callout'] {
  padding: /*2.5rem */ clamp( 1.5rem, calc(1.5rem + 3vw), 2.5rem);
	background-color: var(--theme-palette-color-7);
	font-size: /* 1.4444rem */ 1.3333rem;
	font-weight: 700;
	border-top: solid 24px var(--theme-palette-color-1); 
	margin-bottom: var(--theme-content-vertical-spacing);
}
	[class*='is-style-callout']:not(:first-child) {
			margin-top: var(--theme-content-vertical-spacing);
	}
	[class*='is-style-callout']:first-child {
		/* margin-top: 0.5rem; */
	}

	@media (max-width: 999.98px) {
		[class*='is-style-callout'] {
			font-size: 1.055rem;
			line-height: 1.6;
		}
	}
	@media (max-width: 689.98px) {
		[class*='is-style-callout'] {
			font-size: 1.125rem;
			line-height: 1.5555;
			border-width: 21px; 
		}
	}

	.is-style-callout-blue {
		border-color: var(--theme-palette-color-1);
	}
	.is-style-callout-yellow {
		border-color: var(--theme-palette-color-2);
	}	

[class*='is-style-callout'].has-palette-color-5-background-color {
	padding-bottom: 6rem;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 4rem));
}




.wp-block-column[style="flex-basis:33.33%"] [class*='is-style-callout'] {
	max-width: 445px;
}

	@media (max-width: 782px) {
		.wp-block-column[style="flex-basis:33.33%"] [class*='is-style-callout'] {
			max-width: 445px;
		}
	}

/*== Spacer */

  .wp-block-spacer.is-style-responsive-large {
    height: 3rem !important;
  }

  .wp-block-spacer.is-style-responsive-small {
    height: 1.5rem !important;
  }

/*== Footnotes */

.is-style-footnotes {
	padding-top: 1rem;
	margin-top: calc( var(--theme-content-vertical-spacing) * 2 );	
	border-top: solid 1px #707070;
	font-size: 0.888rem;
}

:is( h2, h3, h4, h5, h6) + .is-style-footnotes {margin-top: 0.75rem; }

.is-style-footnotes [class*=_inner-container]>*, .is-style-footnotes p {
	margin-bottom: calc( var(--theme-content-spacing) / 2 ) !important; 
	margin-top: 0;
}

.is-style-footnotes p {
		display: inline-flex;
}
.is-style-footnotes .footnote {
	min-width: 2em;
}

.is-style-footnotes li +li {
	margin-top: 0.25rem;
}

.entry-content a[rel="footnote"], .entry-content p a[rel="footnote"], .entry-content li a[rel="footnote"] {
	border-bottom-color: transparent;
}
.entry-content a[rel="footnote"]:hover, .entry-content p a[rel="footnote"]:hover, .entry-content li a[rel="footnote"]:hover {
	border-bottom-color:  var(--theme-palette-color-2);
}

/* BUTTONS */

.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) {
	color: var(--theme-palette-color-4);
}
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover {
	background-color: var(--theme-palette-color-1);	
	color: #fff;
}

/* EYEBROW */
.is-style-eyebrow {
	font-weight: 700;
	font-size: 1.11em;
	font-family: 'Roboto Slab', Sans-Serif;
	margin-bottom: 0;
	text-transform: uppercase;
}


/* accordion */

details.wp-block-details {
	/*  background-color: rgba(152, 182, 203, 0.17) */ background-color: #f2f2f2;     /* light blue #f2f6f9 */
	margin-bottom: 3rem;
	border-radius: 2rem;
} 
 details.wp-block-details[open] > *:last-child {padding-bottom: 1.5em; }
 details.wp-block-details[open] summary { padding-bottom: 0.75em; } 
	

details.wp-block-details summary::-webkit-details-marker, details.wp-block-details summary::marker {
    display: none; 
}

	details.wp-block-details summary::before {
		content: "";
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='39' height='39' viewBox='0 0 39 39'%3E%3Ccircle cx='19.5' cy='19.5' r='19.5' fill='%237bbc0b'/%3E%3Cg transform='translate(8.699 19.834)'%3E%3Cline x1='21.574' fill='ffffff' stroke='%23ffffff' stroke-width='5'/%3E%3C/g%3E%3Cg transform='translate(19.486 30.621) rotate(-90)'%3E%3Cline x1='21.574' fill='none' stroke='%23ffffff' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E%0A");
		background-size: cover;
		width: 2rem;
		height: 2rem;
		flex-basis: 2rem;
		flex-shrink: 0;
		transition: all .3s ease-in-out;
	}
		details.wp-block-details[open] summary::before {
			background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='39' height='39' viewBox='0 0 39 39'%3E%3Ccircle cx='19.5' cy='19.5' r='19.5' fill='%237bbc0b'/%3E%3Cg transform='translate(8.699 19.834)'%3E%3Cline x1='21.574' fill='currentColor' stroke='%23ffffff' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E%0A");
		}

details.wp-block-details > :not(summary) {
  margin-inline: 3.5rem 1rem;
}	

.wp-block-details summary {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: 'Roboto Slab', serif;
	font-weight: 500;
	font-size: 1.24em;
	/* line-height: 1.2;	*/
	padding: 0.75rem;
	margin-bottom: 0;
}
	@media (max-width: 689.98px) {
		.wp-block-details summary {
			font-size: 1.17em;
		}
	}
	details.wp-block-details[open] summary {
		margin-bottom: 0.5rem;
	}

.wp-block-details + .wp-block-details { /* border-top-width: 0; */ margin-top: -2rem; }
.wp-block-details > *:last-child { margin-bottom: 3rem !important; }





/* CONDITIONS LIST */


.conditionsList .topic {
  border-top: solid 24px var(--theme-palette-color-3); 
	padding-bottom: 30px;
}	 
.conditionsList h2 { 
	font-size: 1.25em;
	font-weight: 700;
	color:  var(--theme-palette-color-4);
	margin-top: 1.5rem;
}
.conditionsList a {
	display: flex;
	justify-content: space-between;
	padding: 0.25em 0;
	border-bottom-width: 0 !important;
	background-color: #fff;
	&:hover {
		background-color: var(--theme-palette-color-6);
	}	
	&:after {
			content: ">";
			font-weight: 700;
	}
}


/* PROFILE */

article.type-profile:not(.entry-card) {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-auto-rows: max-content;
	grid-column-gap: 30px;
	max-width: 920px;
}
article.type-profile:not(.entry-card) .ct-featured-image  {
	grid-area: 1 / 1 / 3 / 2; 
}

article.type-profile h1 { margin-bottom: 3rem;}
article.type-profile h1 + div[data-field="position:WZBCGw"] { 
	margin-top: -3rem; 
	margin-bottom: 3rem; 
}


.fancybox__content .hero-section .page-title, .fancybox__content .hero-section .ct-author-name {
    --itemSpacing: 0px;
}

.fancybox__content [data-field*="WZBCGw"] {
    --theme-font-weight: 400;
    --theme-font-style: italic;
    --theme-text-color: var(--theme-palette-color-1);
}
.fancybox__content article.type-profile:not(.entry-card) h1.page-title {
    font-size: 2.074em;
    --theme-line-height: 1.15;
    --theme-heading-color: var(--theme-palette-color-4);
}

.fancybox__content .entry-header .entry-meta {
    --theme-font-family: 'Roboto Slab', Sans-Serif;
    --theme-font-weight: 700;
    --theme-text-transform: uppercase;
    --theme-font-size: 1em;
    --theme-line-height: 1.3;
    --theme-text-color: var(--theme-palette-color-4);
    --theme-link-hover-color: var(--theme-palette-color-1);
}

.fancybox__content [data-vertical-spacing*=bottom] {
    padding-bottom: 30px;
}
.fancybox__content  [data-vertical-spacing*=top] {
    padding-top: 30px;
}

.fancybox__slide.has-ajax .ct-breadcrumbs {
	display: none;
}

.fancybox__slide.has-ajax [data-sidebar=left] {
	--sidebar-order: 1;
  --grid-template-columns: 1fr;
}


/* SIDEBAR */

.ct-widget .wp-block-simpletoc-toc ul {
    list-style-type: inherit;
    padding-inline-start: 1.5em;
}

.wp-block-simpletoc-toc {
	border-top: solid 24px var(--theme-palette-color-2);
}
	@media (max-width: 689.98px) {
		.wp-block-simpletoc-toc {
			border-width: 21px; 
		}
	}
	
	
/* OUTCOME MEASUREMENTS */

.resources-grid {
	display: grid;
	grid-template-columns: repeat(1fr);
	grid-gap: 15px;
}
.resources-grid .litem  {  display: flex; width: 100%;}
.resources-grid .litem .main {flex-basis: 33%; flex-shrink: 0; background-color: var(--theme-palette-color-6);  padding: 1.5em; }
.resources-grid .litem .info { flex-basis: 66%; background-color: var(--theme-palette-color-1); color: #fff; padding: 1.5em; }
.resources-grid p, .resources-grid ul {margin-bottom: 0.75em;}
.resources-grid h3 { text-transform: none; }


	@media (max-width: 689.98px) {
		.resources-grid .litem {
			flex-direction: column;
		}
	}


/* FACETS */

#facet-list {
	scroll-margin-top: 50px;
}

.facetwp-type-radio .facet-icons {
	display: flex;
	justify-content: center;
  align-items: flex-start;
	flex-wrap: wrap;
	gap: 12px;
}

.facetwp-type-radio .facetwp-iconic {
	display: flex;
	align-items: center;
	margin-bottom: 9px;
	line-height: 1.3;
	font-weight: 700;
	font-family: 'Roboto Slab', Sans-Serif;
	font-size: 14px;
	transition: 0.3s;
}

.facetwp-type-radio .facetwp-iconic .icon img {
	display: block;
	aspect-ratio: 1/1;
}

.facetwp-type-radio .facetwp-iconic .icon {
	padding: 12px;
	flex-shrink: 0;
	margin-right: 6px;
	background-color: var(--theme-palette-color-6);
	border-radius: 50%;
	transition: 0.3s;
}


.facetwp-type-radio .facetwp-iconic.facetwp-radio,
.facetwp-type-radio .facetwp-iconic.facetwp-radio.checked {
	background: none;
	padding-left: 0;
}

.facetwp-type-radio.facetwp-facet-group .facet-icons>div {
	flex-basis:	140px;
}

.facetwp-type-radio.facetwp-facet-group .facetwp-iconic {
	flex-direction: column;
	text-align: center;
}

.facetwp-type-radio.facetwp-facet-group .facetwp-iconic .icon {
	max-width: 70%;
	margin: 0 auto 9px auto;
}

.facetwp-type-radio .facetwp-iconic:hover .icon,
.facetwp-type-radio .facetwp-iconic.checked .icon {
	background-color: var(--theme-palette-color-1);
}

.facetwp-type-radio .facetwp-iconic:hover,
.facetwp-type-radio .facetwp-iconic.checked {
	color: var(--theme-palette-color-1);
}

.facetwp-type-radio .facetwp-iconic:hover img, .facetwp-type-radio .facetwp-iconic.checked img {
  filter: brightness(0) invert(1);
  -ms-filter: brightness(0) invert(1);
}

.facetwp-type-radio .facet-icons .facetwp-iconic:before {
	width: 0;
}

@media only screen and (max-width: 640px) {
	.facetwp-type-radio.facetwp-facet-group .facet-icons>div {
		flex-basis: 205px;
	}

	.facetwp-type-radio .facetwp-iconic .icon {
/*		width: 55px;
		height: 55px; */
		padding: 12px;
	}
}

@media only screen and (max-width: 480px) {
	.facetwp-type-radio.facetwp-facet-group .facet-icons>div {
		flex-basis: 45%;
	}

	.facetwp-type-radio .facetwp-iconic .icon {
/*		width: 45px;
		height: 45px; */
		padding: 9px;
	}
}



/* MEDIA & TEXT */

.wp-block-media-text > .wp-block-media-text__content {
	padding-left: calc(var(--theme-content-spacing) + 30px);
	padding-right: calc(var(--theme-content-spacing) + 30px);	
}

.wp-block-media-text img {
	object-fit: cover;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
}
.wp-block-media-text.has-background {
	padding-top: 30px;
	padding-bottom: 30px;
}
.wp-block-media-text.has-background img {
	padding: 30px;
}

.wp-block-media-text h2 { 
	font-weight: 300; 
}

.page-id-43 .wp-block-media-text.has-media-on-the-right {
	border-style: solid;
  border-width: 0 0 0 24px; 
	border-color: var(--theme-palette-color-1);
}	
.page-id-43 .wp-block-media-text.has-media-on-the-right:nth-of-type(2) {
	border-color: var(--theme-palette-color-2);
}
.page-id-43 .wp-block-media-text.has-media-on-the-right:nth-of-type(3) {
	border-color: var(--theme-palette-color-3);
}


@media (max-width: 999px) {
	.wp-block-media-text > .wp-block-media-text__content {
		padding-left: 30px;
		padding-right: 30px;	
	}	
}	

@media (max-width: 600px) {
	.page-id-43 .wp-block-media-text.has-media-on-the-right {
		border-width: 21px 0 0 0;
		
	}	

}		

/* .home  .wp-block-cover { padding: calc(var(--theme-content-spacing) * 1vw + 30px) 1.5rem !important; }

.home  .wp-block-cover { padding: clamp(3rem, 10vw, 200px) 1.5rem !important; } */

/* .home .wp-block-cover .wp-block-cover__inner-container {
	background-color: #165379AA;
	padding: 2.5rem 1.5rem;
	max-width: 70ch;
} */

.how-numbers .has-x-large-font-size, .how-numbers .has-xx-large-font-size  {
	line-height: 1;
	margin-bottom: 0.75rem;
}

	@media (max-width: 781px) {
		.how-numbers .has-x-large-font-size {
			margin-bottom: 0;
		}		
		.how-numbers .wp-block-column {
			display: flex;
			flex-direction: row;
			align-items: center;
			gap: 30px;
			margin-bottom: 0.75rem;
		}
	}	
	
	
.external-resources figure {
		display: flex;

	justify-content: center;
  align-items: center;
	aspect-ratio: 1/1;
/*	background-color: var(--theme-palette-color-6); */
	padding: 3px;
	border: solid 1px var(--theme-palette-color-4);
}
	.external-resources figure > img { 
	object-fit: contain;
	}



	