/**
 * Member dashboard brand pass: scope the module to ROF's greens instead of
 * the theme's default teal accents. Deliberately minimal — a fuller visual
 * pass is expected later; this only corrects the off-brand colors.
 *
 * Brand values (from the live site / rof-16 chrome refresh):
 *   CTA green   #008A51
 *   Deep green  #15813E
 */

.cshp-bb-dashboard h2.header-block {
	color: #15813e;
	border-color: #15813e;
	border-bottom-color: #15813e;
}

/* The theme draws the heading underline with ::before/::after bars. */
.cshp-bb-dashboard h2.header-block::before,
.cshp-bb-dashboard h2.header-block::after {
	background-color: #15813e;
}

/* The theme's .bg-featured box tint is light blue; use a soft green. */
.cshp-bb-dashboard .bg-featured {
	background-color: rgba(0, 138, 81, 0.08);
}

.cshp-bb-dashboard .button,
.cshp-bb-dashboard button[type="submit"] {
	background-color: #008a51;
	border-color: #008a51;
	color: #fff;
}

.cshp-bb-dashboard .button:hover,
.cshp-bb-dashboard .button:focus,
.cshp-bb-dashboard button[type="submit"]:hover,
.cshp-bb-dashboard button[type="submit"]:focus {
	background-color: #15813e;
	border-color: #15813e;
	color: #fff;
}

/*
 * The membership card and parking permit downloads. These were plain text links
 * and got missed on the page, so they are full-width buttons now.
 *
 * Deep green rather than the #008a51 above: white on #008a51 is 4.42:1, under
 * the 4.5:1 WCAG 2.2 AA needs for text this size. #15813e is 4.95:1 and #0d6b33
 * is 6.63:1.
 */
.cshp-bb-dashboard .member-downloads {
	margin-top: 30px;
	margin-bottom: 30px;
}

.member-downloads .button,
.cshp-bb-dashboard .member-downloads .button {
	display: block;
	width: 100%;
	text-align: center;
	background-color: #15813e;
	border-color: #15813e;
	color: #fff;
}

.member-downloads .button:hover,
.member-downloads .button:focus,
.cshp-bb-dashboard .member-downloads .button:hover,
.cshp-bb-dashboard .member-downloads .button:focus {
	background-color: #0d6b33;
	border-color: #0d6b33;
	color: #fff;
}
