/*
	Empire Details brand theme
	Loaded after main.css — overrides the template's default coral/navy
	accent (#e44c65 / #272833) with the pink + cyan palette from the
	reference mock (file_00000000c96481fb8259031cb70aaf68.png).

	Swap the values below to fine-tune the match; every rule after
	:root just references these variables.
*/

:root {
	--ed-navy: #14151f;
	--ed-pink: #ec1a78;
	--ed-pink-light: #f2499b;
	--ed-pink-dark: #c21464;
	--ed-cyan: #22d3d3;
	--ed-cyan-dark: #16a3a3;
	--ed-gold: #d4a017;
}

/* Links */

a {
	color: var(--ed-pink);
}

	a:hover {
		color: var(--ed-pink) !important;
	}

/* Section headers (the underline beneath h2.major) */

header.major:after {
	background: var(--ed-cyan);
}

/* Form focus states */

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus,
input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
	border-color: var(--ed-pink);
}

/* Buttons */

input[type="submit"]:hover, input[type="submit"]:active,
input[type="reset"]:hover,
input[type="reset"]:active,
input[type="button"]:hover,
input[type="button"]:active,
.button:hover,
.button:active {
	box-shadow: inset 0 0 0 1px var(--ed-pink);
	color: var(--ed-pink) !important;
}

	input[type="submit"].primary,
	input[type="reset"].primary,
	input[type="button"].primary,
	.button.primary {
		background-color: var(--ed-pink);
	}

		input[type="submit"].primary:hover,
		input[type="reset"].primary:hover,
		input[type="button"].primary:hover,
		.button.primary:hover {
			background-color: var(--ed-pink-light);
		}

		input[type="submit"].primary:active,
		input[type="reset"].primary:active,
		input[type="button"].primary:active,
		.button.primary:active {
			background-color: var(--ed-pink-dark);
		}

/* Spotlight sections (home page "One" / "Two" / "Three") — pink, cyan, gold */

.spotlight.style1 .content {
	border-color: var(--ed-pink);
}

.spotlight.style2 .content {
	border-color: var(--ed-cyan);
}

.spotlight.style3 .content {
	border-color: var(--ed-gold);
}

/* Colour-block wrapper (home page "Five" / newsletter CTA) — cyan instead of pink for contrast */

.wrapper.style2 {
	background: var(--ed-cyan);
}

	.wrapper.style2 input[type="submit"].primary,
	.wrapper.style2 input[type="reset"].primary,
	.wrapper.style2 input[type="button"].primary,
	.wrapper.style2 .button.primary {
		color: var(--ed-cyan-dark) !important;
	}

/* Header / footer / mobile title bar background */

#header {
	background: rgba(20, 21, 31, 0.965);
}

#footer {
	background: var(--ed-navy);
}

	#footer .icons .icon.alt:before {
		color: var(--ed-navy) !important;
	}

#titleBar {
	background: var(--ed-navy);
}

	#titleBar .toggle:before {
		background: var(--ed-pink);
	}

.dropotron.level-0:before {
	background: var(--ed-navy);
}

/* Logo (image, swapped in for the "Empire Details" text) */

#logo a {
	align-items: center;
	border-bottom: 0;
	display: flex;
	height: 100%;
}

#logo img {
	margin-top: 6em;
	border: 0;
	display: block;
	height: 12em;
	width: auto;
}

#titleBar .title img {
	display: inline-block;
	height: 100px;
	width: auto;
	vertical-align: middle;
}

/* Current nav item */

#header nav ul li.active > a, #header nav ul li.active > span,
.dropotron > li.active > a, .dropotron > li.active > span {
	color: var(--ed-pink);
}
