
/* =========================
	 THEME TOKENS
	 ========================= */
:root{
	--cp-font: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

	--cp-text: #111;
	--cp-muted: #6b6b6b;
	--cp-soft: #9a9a9a;

	--cp-line: #e6e6e6;
	--cp-card: #f6f6f6;

	--cp-accent: #e31b23; /* “profile red” */

	--cp-radius: 18px;
}

/* =========================
	 BASE
	 ========================= */
html, body { height: 100%; }
body{
	font-family: var(--cp-font);
	color: var(--cp-text);
	letter-spacing: .1px;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
}

/* =========================
	 TITLES
	 ========================= */
.cp-title{
	text-transform: uppercase;
	letter-spacing: .8px;
	margin: 0;
	line-height: 1.05;
	font-weight: 800;
	font-size: clamp(28px, 3vw, 44px);
}

.cp-title .thin{
	font-weight: 400;
}

.cp-subtitle{
	margin-top: 8px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	color: var(--cp-muted);
}

/* thin red line under subtitle (very characteristic) */
.cp-accent-line{
	margin-top: 10px;
	width: 20vw;
	height: 2px;
	background: var(--cp-accent);
}

/* =========================
	 CONTENT
	 ========================= */

.cp-section{
	margin-top: 1.5em;
}

.cp-h{
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: .8px;
	font-size: 14px;
	margin: 0 0 8px;
}

.cp-list{
	margin: 0;
	padding-left: 1em;
	color: var(--cp-muted);
	font-size: 1em;
	line-height: 1.6;
}

.cp-list li{
	margin: 4px 0;
}

/* =========================
	 TEAM CARDS
	 ========================= */
.cp-team-card{
	text-align: center;
	padding: 16px 14px 18px;
	border-radius: var(--cp-radius);
	border: 1px solid var(--cp-line);
	background: #fff;
	height: 100%;
}

.cp-team-card .cp-avatar{
	width: 90%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 12px;
}

.cp-team-card .cp-avatar > img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.cp-team-card h5.cp-name{
	text-transform: uppercase;
	font-weight: 800;
	margin: 0;
}

.cp-team-card h6.cp-role{
	margin: 4px 0 10px;
	color: var(--cp-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-style: italic;
}

.cp-team-card .cp-bio{
	font-size: 1em;
	color: var(--cp-muted);
	line-height: 1.3;
	margin: 0;
	text-align: center;
}



/* =========================
	 TIMELINE
	 https://www.youtube.com/watch?v=t5AE66WgQD0
	 ========================= */
.cp-timeline {
	position: relative;
	--items: 0;
}

.cp-timeline .cp-item {
	padding:  10px 50px;
	position: relative;
	width: 50%;
	opacity: 0;

	--i: 0;
}

.cp-timeline.is-visible .cp-item {
	animation: movedown 1s linear forwards;
	animation-delay: calc(var(--i) * 1s);
}

@keyframes movedown {
	0% {
		opacity: 0;
		transform: translateY(-30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.cp-timeline .cp-text {
	padding: 20px 30px;
	background-color: #fff;
	position: relative;
	border-radius: 6px;
	font-size: 15px;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
}

.cp-timeline .cp-item:nth-child(even){
	left: 50%;
}

.cp-timeline .cp-item:nth-child(odd){
	left: 0;
}

.cp-timeline .cp-item img.cp-dot {
	position:  absolute;
	width: 40px;
	height: auto;
	padding: 7px;
	border-radius: 50%;
	right: -20px;
	top: 32px;
	z-index: 10;
	background-color: white;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.cp-timeline .cp-item:nth-child(even) img.cp-dot {
	left: -20px;
}

.cp-timeline::before {
	content: "";
	position: absolute;
	width: 6px;
	height: 0%;
	background-color: #fff;
	top: 0;
	left: 50%;
	margin-left: -3px;
	z-index: 0;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.cp-timeline.is-visible::before{
	animation: moveline calc(var(--items) * 1s) linear forwards;
}

@keyframes moveline {
	0% {
		height: 0%;
	}
	100% {
		height: 100%;
	}
}

.cp-timeline h4 {
	font-weight: 600;
}

.cp-timeline .cp-text::after {
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	top: 28px;
	z-index: 1;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
}

.cp-timeline .cp-item:nth-child(odd) .cp-text::after {
	border-left: 15px solid rgba(255, 255, 255, 1);
	right: -15px;
}

.cp-timeline .cp-item:nth-child(even) .cp-text::after {
	border-right: 15px solid rgba(255, 255, 255, 1);
	left: -15px;
}

@media screen and (max-width: 767px) {
	.cp-timeline {
		margin: 50px auto;
	}

	.cp-timeline::before {
		left: 31px;
	}

	.cp-timeline .cp-item {
		width: 100%;
		padding-left: 80px;
		padding-right: 25px;
	}

	.cp-timeline .cp-item:nth-child(even){
		left: 0;
	}

	.cp-timeline .cp-item img.cp-dot {
		left: 10px !important;
	}

	.cp-timeline .cp-text::after {
		border-left: 0 !important;
		border-right: 15px solid rgba(255, 255, 255, 1) !important;
		left: -15px;
	}
}

/* =========================
	 OVAL MEDIA
	 ========================= */
.cp-oval{
	width: 90%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(0,0,0,.2);
	box-shadow: 0 6px 3px rgba(0,0,0,.1);
	outline: 2px solid rgba(0,0,0,.08);
	outline-offset: 0.7em;
	margin: auto;
	margin-bottom: 1em;
}

.cp-oval > img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* =========================
	 INFO BOXES
	 ========================= */
.cp-box{
	border: 2px solid #2a2a2a;
	border-radius: 12px;
	padding: 14px 14px 12px;
	background: #fff;
}
.cp-box .cp-box-title{
	text-transform: uppercase;
	font-weight: 800;
	font-size: 12px;
	margin: 0 0 8px;
}
.cp-box .cp-box-text{
	margin: 0;
	font-size: 12.5px;
	color: #333;
	line-height: 1.6;
}

/* =========================
	 POST CARD
	 ========================= */
.cp-postcard {
	width: 100%;
	height: 100%;
	overflow: hidden;
	margin: auto;
}

.cp-postcard > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.cp-postcard .carousel,
.cp-postcard .carousel-inner,
.cp-postcard .carousel-item {
	width: 100%;
	height: 100%;
}

.cp-postcard .carousel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* mobile */
@media screen and (max-width: 767px) {
	.cp-postcard > img,
	.cp-postcard .carousel img {
		max-height: 300px;
	}
}

/* =========================
	 ICON LIST
	 ========================= */
.cp-iconlist {
	position: relative;
	--items: 0;
}

.cp-iconlist .cp-item {
	padding:  30px 80px;
	padding-right: 0;
	position: relative;
	opacity: 0;

	--i: 0;
}

.cp-iconlist.is-visible .cp-item {
	animation: movedown 1s linear forwards;
	animation-delay: calc(var(--i) * 1s);
}

.cp-iconlist .cp-text {
	padding: 0px 30px;
	position: relative;
}

.cp-iconlist .cp-item img.cp-dot {
	position:  absolute;
	width: 80px;
	height: auto;
	padding: 20px;
	border-radius: 50%;
	left: 0;
	top: 30;
	z-index: 10;
	background-color: white;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.cp-iconlist .cp-item span.cp-dot {
	position:  absolute;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	left: 0;
	top: 30;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: bold;
	white-space: normal;
	overflow-wrap: anywhere;
	min-width: 0;
	z-index: 10;
	background-color: white;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.cp-iconlist .cp-item span.cp-dot i {
	font-size: 2em;
}

.cp-iconlist::before {
	content: "";
	position: absolute;
	width: 10px;
	height: 0%;
	max-height: calc(100% - 140px);
	background-color: #fff;
	top: 60px;
	left: 40px;
	margin-left: -5px;
	z-index: 0;
	box-shadow: 0 0.5rem 1rem rgba(5, 4, 4, 0.15);
}

.cp-iconlist.is-visible::before{
	animation: moveline calc(var(--items) * 1s) linear forwards;
}

.cp-iconlist.cp-graylist .cp-item img.cp-dot,
.cp-iconlist.cp-graylist .cp-item span.cp-dot {
	background-color: var(--cp-muted);
	color: white;
}

.cp-iconlist.cp-graylist::before {
	background-color: var(--cp-muted);
}

/* =========================
	 CHARTS
	 ========================= */
.cp-chart {
	width: 100%;
	height: 600px;
	max-height: 90vh;
}

/* =========================
	 World map
	 ========================= */
#map #map_legend {
	left: 50% !important;
	bottom: -2em !important;
	transform: translateX(-50%);
}

/* ipad - tablet */
@media screen and (max-width: 991px) {
	#map #map_legend {
		bottom: -5em !important;
	}
}

/* mobile */
@media screen and (max-width: 767px) {
	#map #map_legend {
		bottom: -10em !important;
	}
}