/**
 * About page (page template about.php) - loaded only on that page, see koongo_scripts() in functions.php
 */

/* Card text (shared card typography of the theme) */
.about-why-card p {
	font-family: var(--koongo-card-text-font);
	font-size: var(--koongo-card-text-size);
	line-height: var(--koongo-card-text-line-height);
	color: var(--koongo-card-text-color);
}

/* Mission text and team cards */
.about .mission p { font-size: 16px; color: #5e5b5b; line-height: 30px; }
.about .team-card-style-3 .team-thumb{ width: 110px;	}
.about .team-card-style-3 .team-thumb img {border-radius: 50%; 	}
.about .team-card-style-3 h4 { margin-bottom: 0px 	}
.about .team-card-style-3 .team-position { font-size: 14px; font-weight: 400; color:#707070; margin-bottom: 15px;	}

/* Hero */
.about-hero .block-title > small p:last-child { margin-bottom: 0 !important; }

/* Story / mission / company text blocks */
.about-story p, .about-company p {
	font-size: 16px;
	color: #5e5b5b;
	line-height: 30px;
}
.about-story .card-content p:last-of-type { margin-bottom: 0; }

/* What we do - feature pillars */
.about-what-we-do .card { height: 100%; }
.about-what-we-do .card-body { padding-top: 2rem; }
.about-what-we-do .fa-icon-spot { font-size: 2.1rem; color: #f66800; }

/* Why Koongo */
.about-why-card { align-items: flex-start; }
.about-why-icon { flex: 0 0 auto; margin-right: 20px; line-height: 1; }
.about-why-icon i { font-size: 1.9rem; color: #f66800; }
.about-why-card .card-title { margin-top: 0; font-size: 1.15rem; }
.about-why-card p {
	margin-bottom: 0;
	font-size: 15px;
	color: #5e5b5b;
	line-height: 28px;
}

/* Channels we connect */
.about-channels-logos .unit { padding: 20px 15px; }
.about-channels-logos .unit img { max-width: 100%; height: auto; }
.about-channels-logos .unit span {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	color: #343b43;
}
.about-channels-list {
	margin-top: 15px;
	font-size: 15px;
	line-height: 30px;
	color: #8c8c8c;
}

/* Timeline */
.about-timeline {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}
.about-timeline::before {
	content: "";
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 7px;
	width: 2px;
	background: linear-gradient(to bottom, #d06d1d 0%, #fdca2a 100%);
}
.about-timeline-item {
	position: relative;
	padding: 0 0 28px 40px;
}
.about-timeline-item:last-child { padding-bottom: 0; }
.about-timeline-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 16px;
	height: 16px;
	border: 3px solid #f66800;
	border-radius: 50%;
	background: #fff;
}
.about-timeline-year {
	display: block;
	margin-bottom: 4px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #343b43;
}
.about-timeline-text {
	font-size: 15px;
	line-height: 28px;
	color: #5e5b5b;
}

/* Our findings */
.about-findings-intro {
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #ececec;
}
.about-findings-intro p {
	margin-bottom: 0;
	font-size: 16px;
	line-height: 30px;
	color: #5e5b5b;
}
.about-findings { margin: 0; padding: 0; list-style: none; }
.about-findings li {
	position: relative;
	padding: 0 0 18px 34px;
	font-size: 15px;
	line-height: 28px;
	color: #5e5b5b;
}
.about-findings li:last-child { padding-bottom: 0; }
.about-findings li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 3px;
	width: 22px;
	height: 22px;
	line-height: 22px;
	font-size: 12px;
	text-align: center;
	border-radius: 50%;
	color: #fff;
	background: linear-gradient(to right, #d06d1d 0%, #fdca2a 100%);
}

/* Social proof badges */
.about-reviews { margin-top: 40px; }
.about-reviews .unit { margin: 0 5px 10px; }

/* Bottom CTA */
.about .try-koongo p { font-size: 16px; line-height: 28px; }

@media (max-width: 575px) {
	.about-why-card { flex-direction: column; }
	.about-why-icon { margin: 0 0 12px; }
}

/* About: long H1 in the page title band */
@media (max-width: 991px) {
	.about .page-title .page-title-heading { padding-right: 30%; }
}
@media (max-width: 767px) {
	.about .page-title .page-title-heading { padding-right: 0; font-size: 24px !important; }
}

/* About: platform logo grid - two per row on phones, like the channel grid */
.about-platforms .unit img { max-width: 100%; height: auto; }
@media (max-width: 575px) {
	.about-platforms .unit { padding-top: 1.5rem !important; padding-bottom: 1rem !important; }
	.about-platforms .unit img { margin-bottom: 1rem !important; }
	.about-platforms .unit span { font-size: 12px; }
}

/* About: channels anchor
   The button uses plain hash navigation instead of the .scroll-to handler, which
   calls preventDefault() and so never records the jump in browser history. This
   way the URL gets the #about-channels hash and Back returns to the story block.
	 ========================================================================== */
html:has(.page-template-about) {
	scroll-behavior: smooth;
}
.about #about-channels {
	/* Same breathing room the theme's .scroll-to handler leaves above a target. */
	scroll-margin-top: 75px;
}

/* Meet the team: cards of members with a profile page are clickable */
.about .team-card-has-profile { transition: box-shadow .25s, transform .25s; }
.about .team-card-has-profile:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }
.about .team-card-has-profile .team-name a { color: inherit; text-decoration: none; }
.about .team-card-has-profile:hover .team-name a { color: #f66800; }
.about .team-card-has-profile .team-social-bar-wrap { z-index: 2; }
