/* ==========================================================================
   Project detail copy - overview, specifications and FAQ blocks that sit
   below the flat availability table on the individual project pages.
   Colours follow the site palette: navy #0f2453, gold #d49809.
   ========================================================================== */

.bcpl-project-copy {
	background: #fff;
	border: 1px solid #e3e6ee;
	border-radius: 4px;
	padding: 34px 40px;
	margin-top: 30px;
	color: #444b58;
}

.bcpl-project-copy h2 {
	text-align: left;
	font-family: 'Oswald', sans-serif;
	font-size: 27px;
	font-weight: 400;
	line-height: 1.35;
	color: #0f2453;
	margin: 0 0 6px;
}

.bcpl-project-copy h2 + .bcpl-copy-rule {
	display: block;
	width: 64px;
	height: 3px;
	background: #d49809;
	margin-bottom: 22px;
}

.bcpl-project-copy h3 {
	font-family: 'Oswald', sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	color: #0f2453;
	margin: 34px 0 14px;
	text-align: left;			/* bootstrap.css centres every h3 */
}

/* the FAQ sits in its own card, so its heading opens the card */
.bcpl-project-copy > h3:first-child {
	margin-top: 0;
}

.bcpl-project-copy p {
	font-size: 15px;
	line-height: 1.9;
	text-align: justify;
	margin: 0 0 14px;
}

.bcpl-project-copy p:last-child {
	margin-bottom: 0;
}

/* --- Specification list ----------------------------------------------------
   A two-column board of tiles: a tinted disc carrying the field's icon, the
   field name above its value, and a hairline under each row. Both project
   pages list five fields, so the last row holds a single tile - it spans the
   full width, otherwise its underline would stop halfway across. */

.bcpl-spec-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 2px solid #0f2453;
}

.bcpl-spec-list li {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	width: 50%;
	padding: 16px 26px 16px 0;
	border-bottom: 1px solid #e1e5ee;
	font-size: 15px;
	color: #0f2453;
}

/* Tiles in a row stretch to a common height, so the two half-width underlines
   meet and read as one line across the block. */
.bcpl-spec-list li:last-child:nth-child(odd) {
	width: 100%;
}

.bcpl-spec-icon {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	margin-right: 14px;
	border-radius: 50%;
	background: rgba(212, 152, 9, .12);
	color: #d49809;
	font-size: 15px;
	line-height: 36px;
	text-align: center;
}

.bcpl-spec-text {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	min-width: 0;			/* lets the long address wrap rather than widen its column */
	line-height: 1.55;
}

.bcpl-spec-list strong {
	display: block;
	padding: 0;			/* style.css puts a blanket 20px of padding on every <strong> */
	font-family: 'Federo', sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;		/* the copy block's loose leading pulls the pair apart */
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #d49809;
	margin-bottom: 3px;
}

/* --- FAQ ------------------------------------------------------------------- */

.bcpl-faq {
	border-top: 1px solid #e1e5ee;
}

.bcpl-faq-item {
	border-bottom: 1px solid #e1e5ee;
}

.bcpl-faq-item > summary {
	display: block;			/* hides the default triangle in Firefox */
	position: relative;
	padding: 16px 34px 16px 0;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.6;
	color: #0f2453;
	cursor: pointer;
	list-style: none;
	outline: none;
}

.bcpl-faq-item > summary::-webkit-details-marker {
	display: none;			/* hides the default triangle in Chrome / Safari */
}

.bcpl-faq-item > summary::after {
	content: "\f107";		/* fa-angle-down */
	font-family: FontAwesome;
	position: absolute;
	top: 50%;
	right: 4px;
	margin-top: -12px;
	width: 24px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	font-size: 17px;
	font-weight: 400;
	color: #d49809;
	-webkit-transition: transform .2s ease;
	transition: transform .2s ease;
}

.bcpl-faq-item[open] > summary::after {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.bcpl-faq-item > summary:hover,
.bcpl-faq-item[open] > summary {
	color: #d49809;
}

.bcpl-faq-answer {
	padding: 0 34px 18px 0;
	font-size: 15px;
	line-height: 1.9;
	margin: 0;
}

/* --- Small screens --------------------------------------------------------- */

@media (max-width: 991px) {
	.bcpl-project-copy {
		padding: 28px 26px;
	}
}

@media (max-width: 767px) {
	.bcpl-project-copy {
		padding: 20px 16px;
	}

	.bcpl-project-copy h2 {
		font-size: 22px;
	}

	.bcpl-project-copy h3 {
		font-size: 18px;
		margin-top: 28px;
	}

	.bcpl-project-copy p,
	.bcpl-faq-answer {
		font-size: 14.5px;
		text-align: left;	/* justified text gets ragged gaps on a phone */
	}

	.bcpl-spec-list li {
		width: 100%;
		padding-right: 0;
	}
}
