/*
Theme Name: FixBritain
Theme URI: https://fixbritain.com/
Author: Fix Britain
Author URI: https://fixbritain.com/
Version: 2025.4
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: fixbritain

*/

html {
	font-size: calc(1vmin + 10px);
	line-height: 1.6;
	background: #fff;

	-webkit-text-size-adjust: 100%;
	--color-navy: rgba(58, 12, 163, 1);
	--color-navy-light: rgba(58, 12, 163, 0.25);
	--color-fb: #336666;
	--color-fb-light: rgba(51, 102, 102, 0.25);
	--color-fb-vlight: rgba(51, 102, 102, 0.1);
	--color-purple: rgba(113, 9, 182, 1);
	--color-graphite: rgba(0, 0, 0, 0.8);
	color: var(--color-graphite);

}

body {
	margin: 0;
	padding: 0;
	font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	line-height: 1.2;
}

h1,
h2 {
	text-transform: uppercase;
	margin-bottom: 2em;
	color: var(--color-fb);
}

.tnp h3 {
	margin-top:0;
}

h4 {
	margin-top: 0;
	font-weight: 500;
}

p {
	margin-bottom: 1em;
}

a, a:visited {
	color: var(--color-fb);
	text-decoration: none;
}

a:active, a:hover {
	text-decoration: underline;
}

a:hover {
	text-decoration: underline;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

#Logo {
	text-indent: -999rem;
	background-size: contain;
	height: 3rem;
	width: 16rem;
	background: url(fblogo.svg) left bottom no-repeat;

}

header {
	position: absolute;
	top: max(var(--wp-admin--admin-bar--height), 0);
	left: 0;
	right: 0;
}

#Header {
	display: flex;
	flex-wrap: wrap;
	align-items: bottom;
	justify-content: space-between;
	max-width: 88vw;
	width: 50rem;
	margin: 1rem auto 0;
}

#Menu {
	display: flex;
	gap: 1.5rem;
	flex-wrap: nowrap;
	justify-content: flex-end;
	/* background-color: aquamarine; */
	margin-top: 1.5rem;
}

#Menu a {
	font-weight: 700;
	font-size: 1rem;
	color: var(--color-graphite);
	text-transform: uppercase;
	text-wrap: nowrap;
}

@media screen and (max-width: 65rem) {

	#MenuHolder {
		display: block;
		position: relative;
		width: 3rem;
		height: 3rem;
		background: url(hamburger.svg) center center no-repeat;
		background-size: 1.3rem;
		margin-top: 1.1rem;
	}

	#Menu {
		flex-direction: column;
		background-color: white;
		box-shadow: 0 1px 2.5px rgba(0, 0, 0, 0.2);
		padding: 1rem;
		position: absolute;
		right: 0.5rem;
		top: 0.5rem;
		display: none;
		margin-top: 0;

	}

	.__menuOpen #Menu {
		display: flex;
		z-index: 999;
	}

	#Menu a {}

}

main {
	padding-top: 7rem;
	flex: 20;
	max-width: 88vw;
	width: 50rem;
	margin: 0 auto;
}

footer {
	margin-top: 2rem;
	text-align: center;
	font-size: 0.8rem;
	background-color: var(--color-fb);
	color: #fff;
	padding: 0.5rem;

}

footer a,
footer a:visited,
footer a:hover,
footer a:active {
	color: #fff;
	text-decoration: underline;
}

input[type="text"],
input[type="email"],
input[type="submit"],
textarea {
	width: 100%;
	padding: 0.5rem;
	margin-bottom: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 1rem;
}

input[type="submit"] {
	width: auto;
	padding: 0.5rem 1.5rem;
	/* float: right; */
}

.form-group {
	display: flex;
	flex-direction: row;
	align-items: middle;
}

.form-group input[type="checkbox"] {
	margin-right: 0.5rem;
	vertical-align: middle;
	height: 1rem;
	width: 1rem;
}


label {
	font-weight: bold;
	display: inline-block;
	line-height: 2.4rem;
}

.form-group label {
	width: 5rem;
	margin-right: 1rem;
}

.home .entry-content>p {
	margin: 0 2rem 4rem;
	font-size: 1.2rem;
}

#Subscribe {
	background-color: var(--color-fb-light);
	padding: 0.1rem 2rem 4rem;
	border-radius: 8px;
	margin-top: 2rem;
}

.profiles {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-between;
}

.profile {
	flex: 1 1 calc(33.333% - 2rem);
	min-width: 12rem;
}

@media screen and (max-width: 52rem) {
	.profile {
		flex: 1;
		min-width: 19rem;
	}
}

.profile img {
	max-width: min(100%, 30rem);
	height: auto;
	/* border-radius: 50%; */
	/* margin-bottom: 1rem; */
}

.socials {
	display: flex;
	gap: 1rem;
	margin-top: 0rem;
}

.socials a {
	display: inline-block;
	/* margin-right: 1rem; */
	color: var(--color-navy);
	text-decoration: none;
	font-weight: bold;
	width: 1.4rem;
	height: 1.4rem;
	background-size: 0.8rem 0.8rem;
	background-repeat: no-repeat;
	background-position: center;
	/* background-color:green; */
	overflow: hidden;
	text-indent: 5rem;
	border: 1px solid var(--color-fb-light);
	border-radius: 50%;
}

.icon-x {
	background-image: url(x.com.svg);
}

.icon-bsky {
	background-image: url(bsky.svg);
}

.home div.tnp-subscription {
max-width: unset;
  padding: 2rem;
  width: unset;
  background-color: var(--color-fb-light);
  border-radius: 0.5rem;
}

.subscribe-checkboxes {
	display: flex;
  flex-direction: column;
  justify-content: center;
}

.flex-columns {
	display: flex;
  flex-direction: row;
  align-content: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.flex-columns.news {
	flex-wrap:wrap;
	gap: 2rem;;
}

.box.chip {
  flex: 1;
  min-width: 16rem;
  position: relative;
}

.box.chip ._image {
  height: 0;
  padding-bottom: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
a.box.chip {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.box.chip:hover {
  background-color: var(--color-fb-vlight);
}
.box.chip ._text {
	padding:0 1rem;
}

.box.chip ._dateline {
	  font-size: 0.8rem;
  background-color: var(--color-fb);
  color: #fff;
  padding:0.25rem 0.5rem;

}



.box.chip h3 {
	margin-top:1.5rem;
}

.box.chip ._buttonSpacer {
width: 5rem;
  height: 3rem;
  display: inline-block;
  vertical-align: top;
}

.box.chip .button {
  display: block;
  position: absolute;
  right:2rem;
  bottom:1rem;
  background-color: var(--color-fb);
  color: #fff;
  padding:0 1rem;
  line-height: 2rem;
  box-sizing: border-box;
  text-decoration: none;
  font-weight: bold;
}

.box.chip .button::before {
  content: '';
  position: absolute;
  display: block;
right: -0.707rem;
  top: 0.293rem;
  width: 1.414rem;
  height: 1.414rem;
transform: rotate(45deg);
  background-color: var(--color-fb);
}