/*Font styles used for the site — Bushfield: Montserrat body, Itim headings*/
body {
	font-family: 'Montserrat', sans-serif;
	font-size:1rem;      /* 16px body, per Figma Body token */
	font-weight:300;     /* light body weight */
	line-height:1.625;   /* ~26px line-height */
	color:var(--body_colour,#042d46);
}
img {
	max-width:100%;
	height:auto;
}
b, strong {
    font-weight: bold;
}
a {
	color:var(--sc-white);
	text-decoration: none
}
a:hover {
	color:var(--link_colour_hover);
	text-decoration:none;
}
a:focus {
	text-decoration:none;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
	color:var(--title_colour,#042d46);
	font-family: 'Itim', cursive;
	font-weight:400;
	line-height:1.15;
	margin-bottom: 2.5rem;
}
/* Fluid Itim scale from the Figma type tokens (H1 70, H2 40, H3 30…).
   clamp(mobile-min, preferred, desktop-max) so headings scale down on
   phones without a media query — this is the fluid type the step-3
   foundation check requires; the base theme shipped this scale empty. */
h1,.h1{
	font-size:clamp(2.5rem, 1.8rem + 3vw, 4.375rem);      /* 40 → 70px */
	line-height:1.05;
}
h2,.h2{
	font-size:clamp(2rem, 1.5rem + 2vw, 2.5rem);          /* 32 → 40px */
}
h3,.h3{
	/* Figma H3 token: Montserrat Black 16px/20px. Itim has no bold weight,
	   so H3 must switch font for font-weight:900 to take effect. */
	font-family:'Montserrat', sans-serif;
	font-size:1rem;              /* 16px */
	font-weight:900;
	line-height:1.25rem;         /* 20px */
	letter-spacing:0;
	margin-top:3.6875rem;        /* 59px */
}
h4,.h4{
	font-size:clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);     /* 20 → 24px */
}
h5,.h5{
	font-size:clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);  /* 18 → 20px */
}
h6,.h6{
	font-size:1.125rem;  /* 18px — no clamp needed */
}
p {

}
table {
	width:100%;
	margin-bottom:1em;
}

/*Button*/
.blockButton > a,
a.button,
button {
	display: inline-block;
    color: var(--button_colour,#fff);
    border: solid 1px var(--button_bg,#000);
    background: var(--button_bg,#000);
	text-decoration:none;
    line-height: 1.4em;
    padding: 0.7em 1.5em;
    position: relative;
    transition: 300ms;
}
.blockButton> a:hover,
a.button:hover,
button:hover {
	background:var(--button_bg_hover,#000);
	color:var(--button_colour_hover,#fff);
	border-color:var(--button_bg_hover,#000);
}
button:focus {
	outline:0;
}

blockquote {
	font-style:italic;
	font-size:1.5em;
	font-weight:400;
	padding:2.2em 1.1em;
	text-align:center;
}

blockquote cite{
	font-weight:700;
}
tbody, td, tbody, th {
	padding:1rem;
}
tbody, td, tfoot, th, thead, tr {
	border-width:0;
}
thead {
	background-color: var(--sc-cream)
}

.gallery  {
	display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -7.5px;
    margin-left: -7.5px;
	text-align:center;
}
.gallery  .gallery-item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
	padding:7.5px;
	margin-bottom:0;
}
.gallery  .gallery-item img{
	width:100%;
	aspect-ratio:1;
}
.gallery.gallery-columns-2 .gallery-item {
	-ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.gallery.gallery-columns-3 .gallery-item {
	-ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
.gallery.gallery-columns-4 .gallery-item {
	-ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}
.gallery.gallery-columns-5 .gallery-item {
	-ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
/* Mobile-first: alignleft/alignright stack (centred) on phones; floats from md. */
.alignright {
	display:block;
	margin:5px auto 20px;
}
.alignleft {
	display:block;
	margin:5px auto 20px;
}
a img.alignright {
	display:block;
	margin:5px auto 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	display:block;
	margin:5px auto 20px;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}
@media (min-width:768px){
	.alignright,
	a img.alignright{
		float:right;
		margin:5px 0 20px 20px;
	}
	.alignleft,
	a img.alignleft{
		float:left;
		margin:5px 20px 20px 0;
	}
}
/* ------------------------------------------------------------
   Editorial (content) text links are green; navigation links —
   header, footer, main menu — keep the white base `a` colour.
   Scoped to <main> so only in-content copy links turn green.
   ------------------------------------------------------------ */
main a { color:var(--sc-green); }
main a:hover { color:var(--sc-green); text-decoration:underline; }
/* buttons keep their own colours (higher specificity already), but be explicit */
main a.button, main .blockButton > a { color:var(--button_colour,#fff); }
/* Breadcrumb links stay navy (not the green content-link colour) */
.breadcrumbs a { color:var(--sc-navy); }
.breadcrumbs a:hover { color:var(--sc-navy); text-decoration:underline; }
/* breathing space around the breadcrumb "|" separator */
.breadcrumbs span[property="itemListElement"] { margin-right:6px; }
.breadcrumbs span[property="itemListElement"] + span[property="itemListElement"] { margin-left:6px; }
