/**
 * Team member profile pages (single-team_member.php) - loaded only there, see koongo_scripts() in functions.php
 */

/* Profile hero */
.team-profile-back { display: inline-block; font-size: 14px; font-weight: 600; color: #707070; }
.team-profile-back:hover { color: #f66800; text-decoration: none; }
.team-profile-photo { width: 220px; max-width: 100%; margin: 0 auto; }
.team-profile-photo img { display: block; width: 100%; height: auto; border-radius: 50%; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.team-profile-name { margin-bottom: 10px; font-size: 2.25rem; font-weight: 700; color: #343b43; }
.team-profile-headline { margin-bottom: 20px; font-size: 1.1rem; line-height: 1.6; color: #5e5b5b; }

/* Profile sections */
.team-profile-section + .team-profile-section { margin-top: 35px; padding-top: 35px; border-top: 1px solid #e7e7e7; }
.team-profile-section h2 { margin-top: 0; margin-bottom: 18px; color: #343b43; }
.team-profile-section p,
.team-profile-section li,
.team-profile-project p,
.team-profile-project li { font-size: 15px; line-height: 28px; color: #5e5b5b; }
.team-profile-section p:last-child,
.team-profile-project p:last-child { margin-bottom: 0; }

.team-profile-expertise-card { display: flex; align-items: flex-start; }
.team-profile-expertise-card > i { flex: 0 0 auto; margin: 3px 15px 0 0; font-size: 1.4rem; color: #f66800; }
.team-profile-expertise-card h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 600; color: #343b43; }
.team-profile-expertise-card p { margin: 0; font-size: 14px; line-height: 24px; color: #5e5b5b; }

.team-profile-project { border-top: 4px solid #f66800; }
.team-profile-project h3 { margin: 0 0 15px; font-size: 1.15rem; font-weight: 600; color: #343b43; }

.team-profile-article { overflow: hidden; color: #343b43; transition: transform .25s, box-shadow .25s; }
.team-profile-article:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); color: #f66800; text-decoration: none; }
.team-profile-article img { display: block; width: 100%; height: 190px; object-fit: cover; }
.team-profile-article-title { display: block; padding: 20px; font-weight: 600; line-height: 1.5; }

@media (max-width: 575px) {
  .team-profile-name { font-size: 1.75rem; }
}
