/*
Theme Name: NYNJ Baykeeper Child Theme
Author: Angela Benincasa
Author URI: http://angelabenincasa.com
Description: This is a child theme for use as an update to the custom parent theme for wordpress. Revisions to original version include: adding FONTS, MAIN STYLES, and BODY STYLES for new Meet the Crew, Staff, and Bio Page Updates to the style.css sheet.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nynjbaykeeper
*/

/* http://meyerweb.com/eric/tools/css/reset/
	v2.0 | 20110126
	License: none (public domain)
*/

/*------- MEET THE CREW & BOARD MEMBERS PAGE --------*/
.meet-the-crew-page,
.board-members-page {
	background-color: #f6f6f6;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.crew-hero {
	background-image: url("./dist/images/banner-freneau-woods.jpg");
	position: relative;
	width: 100%;
}

.board-hero {
	background-image: url("./dist/images/banner-aack-fr.jpg");
	position: relative;
	width: 100%;
}

.crew-hero .hero-title,
.board-hero .hero-title {
	font-family: "brandon-grotesque", sans-serif;
	font-size: 3rem;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 60%;
	max-width: 800px;
}

.meet-the-crew-page .content-wrapper,
.board-members-page .content-wrapper {
	width: 90%;
	max-width: 292px;
}

.crew-members,
.board-members {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: stretch;
	width: 100%;
	height: auto;
	padding: 40px 0;
}

.crew-card,
.board-card {
	width: 100%;
	height: auto;
	display: flex;
	align-self: stretch;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	background-color: #ffffff;
	margin: 40px 0;
	position: relative;
}

.crew-card figure,
.board-card figure {
	width: 100%;
	max-width: 292px;
	height: 266px;
	overflow: hidden;
}

.crew-card img,
.board-card img {
	display: flex;
	width: 100%;
	height: 266px;
	object-fit: cover;
	object-position: 50% 30%;
	overflow: hidden;
}

.crew-card_text-container,
.board-card_text-container {
	width: 100%;
	padding: 11px 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-bottom: 10px;
}

.name-title-container {
	min-height: 71px;
	display: flex;
	flex-direction: column;
	text-align: left;
}

.board-card .name-title-container {
	min-height: 45px;
}

.name-title-container .name {
	font-family: "brandon-grotesque", sans-serif;
	font-size: 1.44rem;
	font-weight: 900;
	line-height: 1.43;
	margin-bottom: 4px;
}

.title {
	margin: 0;
	padding: 0;
	font-size: 1.125rem;
	line-height: 1.2;
}

.bio-link-container {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	justify-self: flex-end;
	align-items: center;
	padding: 0;
	position: absolute;
	bottom: 0;
	right: 15px;
}

.bio-link {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	margin: -10px -8px 0 0; /*Makes up for icon taking up so much space*/
}

.bio-link p {
	padding: 0;
	margin: 0;
	display: flex;
	font-family: "brandon-grotesque", sans-serif;
	font-size: 0.875rem;
	font-weight: 900;
	text-transform: uppercase;
	color: #34afcd;
	vertical-align: middle;
}

.bio-link::after {
	font-family: "baykeeper-icons";
	content: "\e90a";
	font-size: 2.15rem;
	font-weight: 600;
	color: #34afcd;
	display: flex;
	justify-content: flex-end;
	text-align: right;
}

/****** Bio Page Styles ******/
/* some of these styles- especially the header section comes from styles already attached to class names
*/

.l-crew-hero {
	width: 100%;
}

.l-crew-hero__bg {
	height: 221px;
	background-image: url("./dist/images/banner-river2.jpg");
}

.l-crew-hero__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 263px;
	padding-top: 65px;
	margin: 0 auto;
}

.l-crew-hero__header figure {
	display: flex;
	width: 262px;
	height: 272px;
	overflow: hidden;
	margin-bottom: 50px;
}

.l-crew-hero__header-img {
	display: flex;
	width: 262px;
	max-width: 262px;
	height: 272px;
	object-fit: cover;
	box-shadow: none;
}

.l-crew-hero__header-name {
	font-size: 2.1875rem;
	line-height: 1.29;
	margin-bottom: 15px;
}

.l-crew-hero__header-position {
	font-size: 1.25rem;
	line-height: 1.4;
	margin-bottom: 50px;
}

.l-crew article {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.l-crew-contact .email {
	font-size: 0.875rem;
	font-weight: 600;
}

.l-crew-contact__item i {
	font-size: 1.525rem;
	font-weight: 900;
	vertical-align: middle;
	padding-right: 5px;
}

.icon-mail:before {
	content: "\e902";
}

.l-crew-bio {
	width: 76%;
	max-width: 811px;
	font-size: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin: 34px 0 100px 0;
}

.l-crew-bio p {
	text-align: left;
	align-self: flex-start;
}

/**** Bio Page Posts Section ****/
.l-crew__posts-section {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.l-crew-posts-wrapper {
	width: 76%;
}

.l-crew-posts {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: left;
	gap: 60px;
	margin: 50px 0 150px 0;
}

.l-crew-posts__hding {
	width: 100%;
	font-size: 0.875rem;
}

.l-crew-post {
	width: 100%;
}

.l-crew-post__image {
	width: 100%;
	height: 226px;
	overflow: hidden;
}

.l-crew-post__image img {
	display: flex;
	width: 100%;
	height: 266px;
	object-fit: cover;
	margin: 0 0 30px 0;
}

.l-crew-post h3 {
	font-size: 1.375rem !important;
	margin: 30px 0 20px 0;
}

.l-crew-post .c-archive-snippet__date {
	font-size: 0.875rem;
	margin: 0 0 20px;
}

.l-crew-post .a-learnmore-bio {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	font-size: 0.875rem;
	color: #34afcd;
	border-color: #34afcd;
	font-variant-caps: small-caps;
	-webkit-font-feature-settings: "smcp";
	font-feature-settings: "smcp";
	font-family: brandon-grotesque, sans-serif;
	font-weight: 900;
	text-transform: uppercase;
}

.a-learnmore-bio p {
	margin: 0;
}

.a-learnmore-bio:hover {
	color: #1f6a7c;
	border-color: #1f6a7c;
}

.a-learnmore-bio i {
	display: inline-block;
	font-weight: 900 !important;
	vertical-align: middle;
	padding-left: 10px;
}

.a-learnmore-bio i:before {
	content: "\e916";
	-webkit-transform: none;
	transform: none;
}

/****** Tablet Page Styles ******/

/****** Meet the Crew & Board Members Page ******/

@media only screen and (min-width: 600px) {
	.crew-hero .hero-title,
	.board-hero .hero-title {
		font-size: 3.75rem;
		width: 80%;
		max-width: 800px;
	}

	.meet-the-crew-page .content-wrapper,
	.board-members-page .content-wrapper {
		width: 475px;
		max-width: 475px;
	}

	.crew-members,
	.board-members {
		width: 100%;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		column-gap: 30px;
		align-items: center;
		padding: 115px 0;
	}

	.crew-card,
	.board-card {
		width: 222px;
		margin: 35px 0;
	}

	.crew-card figure,
	.board-card figure {
		height: 203px;
	}

	.crew-card img,
	.board-card img {
		height: 203px;
	}

	.name-title-container .name {
		font-size: 1.125rem;
	}

	.title {
		font-size: 0.875rem;
	}

	.bio-link p {
		font-size: 0.6875rem;
	}

	.bio-link::after {
		font-size: 1.75rem;
	}

	/****** Bio Page Styles ******/
	.l-crew-hero__header {
		width: 63%;
		padding-top: 90px;
	}

	.l-crew-hero__header-name {
		font-size: 3rem;
	}

	.l-crew-hero__header-position {
		font-size: 1.5rem;
	}

	.l-crew-contact .email {
		font-size: 1rem;
	}

	.l-crew-bio {
		width: 63%;
	}

	/****** Bio Page Posts Section ******/
	.l-crew-posts-wrapper {
		width: 63%;
	}

	.l-crew-posts {
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		gap: 60px;
		text-align: left;
	}

	.l-crew-posts__hding {
		width: 100%;
		font-size: 0.9375rem;
	}

	.l-crew-post {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: stretch;
	}

	.l-crew-post__image {
		display: flex;
		width: 225px;
		height: 175px;
		flex-shrink: 0;
		overflow: hidden;
	}

	.l-crew-post__image img {
		width: 225px;
		height: 175px;
		object-position: 50% 50%;
	}

	.l-crew-post .c-archive-snippet-text-wrapper {
		min-width: 129px;
		display: flex;
		flex-grow: 2;
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		text-align: left;
		margin-left: 30px;
	}

	.l-crew-post h3 {
		width: 100%;
		margin-top: 10px;
	}

	.l-crew-post .c-archive-snippet__date {
		font-size: 0.875rem;
		margin: 0 0 20px;
	}
}
/****** Desktop Page Styles ******/
/****** Meet the Crew & BOARD MEMBERS Page Styles ******/

@media only screen and (min-width: 992px) {
	.meet-the-crew-page .content-wrapper,
	.board-members-page .content-wrapper {
		width: 726px;
		max-width: 726px;
	}

	/****** Bio Page Styles ******/
	.l-crew-hero__header {
		width: 60%;
		padding-top: 75px;
	}

	.l-crew-hero__bg {
		height: 232px;
	}

	.l-crew-bio {
		width: 60%;
	}

	/****** Bio Page Posts Section ******/
	.l-crew-posts-wrapper {
		width: 60%;
	}

	.l-crew-post__image {
		width: 306px;
		height: 221px;
	}

	.l-crew-post__image img {
		width: 306px;
		height: 221px;
	}

	.l-crew-post .c-archive-snippet-text-wrapper {
		min-width: 215px;
	}

	.l-crew-post h3 {
		font-size: 2rem !important;
	}

	.l-crew-post .c-archive-snippet__date {
		font-size: 1.125rem;
	}

	.l-crew-post .a-learnmore-bio {
		font-size: 1rem;
	}

	.a-learnmore-bio i {
		font-size: 1.125rem !important;
	}
}

@media only screen and (min-width: 1200px) {
	.l-header {
		position: relative;
		z-index: 8 !important;
	}
}
