/* General styles */

:root {
    --color-primary: #2C71B3; /* primary color */
    --color-secondary: #252122; /* secondary color */
    --color-hover-state: #39C5B0; /* most buttons in site hover color */
    --color-focus-outline: rgba(255, 165, 0, 1); /* keyboard focus outline color */
}

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
	font-weight: normal;
	color: var(--color-secondary);
	font-size: 15px;
	line-height: 1.7;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
}

/* Responsive banners on home page */
.responsive-banner {
  max-width: 100%;
  height: auto;
  display: block; /* removes bottom inline gap */
  transition: box-shadow 0.3s ease-in-out; /*eases box shadow on hover in and out */
}

.responsive-banner:hover {
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.6); /*display box shadow on home page desktop banner links on hover */
}

/* Stack responsive banners vertically with flex, and use gap to separate them by appling class to parent container */
.banner-stack {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

@media (max-width: 767px) {
    .banner-stack {
        gap: 25px;
    }
}

.white-bg {
	background: #fff; /* give sections a white background */
}

/* prevent cms editable regions from being able to display underlining with classes and pseudo-class*/
.editable [style*="underline"] {
  text-decoration: none !important;
}

u {
  text-decoration: none !important;
}

.editable u {
  text-decoration: none !important;
}

/*smooth text */
body { -webkit-font-smoothing: antialiased; }

/*Fluid Video CSS */
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Banner Home Page */
@media (min-width: 768px) {
.banner-desktop {
	display: block;
	margin-bottom: clamp(1.25rem, 1.0682rem + 0.9091vw, 1.875rem); /* margin beneath banners */
	}
.banner-mobile {
	display: none; /* hide mobile versions of home page banners on desktop */
	}
}

@media (max-width: 767px) {
.banner-desktop {
	display: none; /* hide desktop banner on mobile devices */
	}
.banner-mobile {
	display: block; /* show mobile versions of home page banners on mobile devices*/
	margin-bottom: clamp(1.25rem, 1.0682rem + 0.9091vw, 1.875rem); /* margin beneath banners */
	}
}

img {
	max-width: 100%;/* restrict images to max of 100% size or 100% of their parent container */
}

.banner {
	margin-bottom: 0;
}

.banner p {
	padding: 0;
	margin: 0; /* prevents cms from adding padding to image if adds p tages when publishing */
}


/* Typography */

h1, h2, h3, h4, h5, h6 {
	color: var(--color-secondary);
	font-weight: 700;
	line-height: 1.1;	
	margin-bottom: 0.75rem;
	margin-top: 0.75rem;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}

h1 {
	font-size: clamp(1.75rem, 1.5318rem + 1.0909vw, 2.5rem);
}
h2 {
	font-size: clamp(1.65rem, 1.5773rem + 0.3636vw, 1.9rem);
}
h3 {
	font-size: clamp(1.5rem, 1.5773rem + 0.3636vw, 1.75rem);
}

p {
	margin-bottom: 1.5rem;
	margin-top: 0;
}

p, ul, ol, li {
	font-size: 1rem;
}

ul, ol {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

ul {
	list-style-type: circle /* change the standard bullet point to a circle*/
}

a {
	color: #396FAC;
	text-decoration: underline;
}
a:hover {
	color: var(--color-hover-state);
	text-decoration: none;
}

/*==== ACCESSIBILITY ====*/

/* Apply focus effect across site for keboard users only - some other more specific css is needed for search box and buttons*/	
  :focus:not(:focus-visible) {
    outline: none; /* no outline for mouse users */
  }
  :focus-visible {
    outline: 4px dotted var(--color-focus-outline); /* outline for keyboard users */
  }
  
  /* Target banner image links on home page for keyboard focus */
  #banners a:focus-visible img {
    outline: 4px dotted var(--color-focus-outline); /* apply the outline to image links */
  }

  /* Skip Nav */

.skip-link {
  left: 50%;
  margin-top: -2px;
  padding: 10px 8px 10px 8px;
  position: absolute;
  transform: translateY(-100%);
  transition: transform 0.3s;
  color: white;
  background: var(--color-secondary);
  }

.skip-link:focus {
  transform: translateY(0%);
   margin-top: 15px;
   background: var(--color-secondary);
   border-bottom: none;
   text-decoration: none;
}

/*==== END ACCESSIBILITY ====*/

/* Main Section spacing , background colours etc to override standard section styles */

.banner-section {
   background: #f5f6f7;
}
.main-section {
   background: #ffffff;
}
.main-grid-section {
   background: #f5f6f7;
}
.main-grid-alt-section {
   background: #f5f6f7;
}

.main-grid-alt2-section {
   background: #f5f6f7;
}

.main-grid-alt3-section {
   background: #f5f6f7;
}

.main-grid-alt4-section {
   background: #f5f6f7;
}

.main-grid-alt5-section {
   background: #f5f6f7;
}

.custom-grid-section {
   background: var(--color-primary); /* This month section */
}

/* Navigation Styles */
.navigation {
    background-color: var(--color-primary); /* Blue background */
    color: white;             /* Text color */
    padding-top: 0;               /* Remove top padding */
	padding-bottom: 3px;               /* little bit of bottom padding aligns desktop navigation better */
    height: 65px;             /* Set a height for the navigation section */
    display: flex;            /* Use Flexbox for vertical alignment */
    align-items: flex-end;      /* Vertically center the container */
    justify-content: start  /* Horizontally center the container */
}

@media (max-width: 1200px) {
.navigation {
	height: 3px; /*Reduce the nav background to effectively be a 4px separator line one mobile menu shows*/
	}
}

.nav-container {
    display: flex;            /* Use Flexbox for content alignment */
    align-items: center;      /* Vertically center the text links */
    gap: 20px;                /* Optional: space between links */
}

.navigation a {
    color: white;             /* Link color */
    text-decoration: none;    /* Remove underline from links */
    font-size: clamp(0.9375rem, 0.9011rem + 0.1818vw, 1.0625rem);        /* Font size for links */
    line-height: 1.2;        /* Match the height of the container to align text vertically */
	text-transform: none;
	font-weight: 400;	
}

.navigation a:hover {
    text-decoration: none;
}

.hero-section {
	height: clamp(21.875rem, 18.2386rem + 18.1818vw, 34.375rem);
	padding: 20px 20px 20px 20px; /* overwrite default section padding */
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position:right center;
    position: relative;
    text-align: left; 
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Black overlay with 10% opacity */
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: 0; /* add padding  as required */
}

.text-content {
	width: 100%;
    max-width: 750px; /* restrict width of div with text in */
	text-align: left;
	color: white;/* Make text  white */
}

.text-content .heading {
    font-size: clamp(2rem, 1.6852rem + 1.4815vw, 3rem);
    font-weight: 600; 
    text-transform: uppercase;
    margin: 0.5em 0;
    line-height: 1.2;
}

.text-content .subheading {
    font-size: clamp(1.3rem, 1.1898rem + 0.5185vw, 1.65rem);;
    font-weight: 600; 
    text-transform: uppercase;
    margin: 0.5em 0;
    line-height: 1.2;
}

/* Home Page Grid Styles */

.main-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns as default */
  gap: 30px;
  grid-auto-rows: minmax(min-content, max-content); /* Auto-adjust row heights */
}

.main-grid a {
    text-decoration: none !important; /* removes any default underlining of links */
  }

@media (max-width: 1200px) {
  .main-grid {
    grid-template-columns: repeat(4, 1fr); /*  Keep number of columns in main grid row at 4 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 1023px) {
    .main-grid {
    grid-template-columns: repeat(3, 1fr); /*  Reduce number of columns in main grid row to 3 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 767px) {
    .main-grid {
    grid-template-columns: repeat(2, 1fr); /*  Reduce number of columns in main grid row to 2 */
    gap: 25px; /* Reduce gap size */
  }
}
 
 @media (max-width: 575px) {
    .main-grid {
    grid-template-columns: 1fr; /* Reduce number of columns in main grid row to 1 */
    gap: 20px; /* Reduce gap size */
  }
}

.main-grid .grid-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  display: inline-block; /*adding this restricts the hover underline effect to the width of the text not the whole div */
  text-align: center; /* Center the inline-block horizontally */
  height: 100%; /* make sure the grid item fills 100% of row height */
  width: 100%; /* make sure the grid item fills 100% of available width */
  background: var(--color-primary);
  padding-bottom: 20px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15); /* add light box shadow to grid item */
}

.main-grid .grid-item:hover {
  background: #00AC60; /* Change grid item background colour on hover */
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); /* darken box shadow on grid item on hover */
}

.main-grid .grid-item p  {
  margin: 15px 0 0 0;
  text-align: center; /* Center the text horizontally */
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  display: inline-block; /* adding this restricts the hover underline effect to the width of the text not the whole div */
}

.main-grid .grid-item:hover p {
  color: #fff; /* change text colour on hover of wrapper div */
}

.main-grid .grid-item a {
   color: #fff;
}

.main-grid .grid-item:hover img {
  /* Add styles if needed */
}

/*=== Home Page Grid Alternative Version 1 Styles ===*/

.main-grid-v1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 30px;
}

.main-grid-v1 a {
  text-decoration: none !important;
}

@media (max-width: 1200px) {
  .main-grid-v1 {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}
@media (max-width: 1023px) {
  .main-grid-v1 {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (max-width: 767px) {
  .main-grid-v1 {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (max-width: 575px) {
  .main-grid-v1 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.main-grid-v1 .grid-item {
  position: relative; /* containing block for the stretched-link overlay */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: #fff;
  height: 100%;
  width: 100%;
  padding: 20px;
  border: 2px solid transparent;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
  transition: background .3s ease-in-out, border .3s ease-in-out;
}

/* mouse hover — reacts directly to the div, unaffected by anchor position */
.main-grid-v1 .grid-item:hover {
  background: #fff;
  border: 2px solid var(--color-primary);
}

/* keyboard focus — outline only, no border/background swap */
.main-grid-v1 .grid-item:has(.stretched-link:focus-visible) {
  outline: 4px dotted var(--color-focus-outline);
  outline-offset: 1px;
}

.main-grid-v1 .stretched-link:focus-visible {
  outline: none;
}

.main-grid-v1 .grid-item p {
  margin: 15px 0 0 0;
  text-align: left;
  color: var(--color-secondary);
  font-size: inherit;
  font-weight: inherit;
  display: inline-block;
}

.main-grid-v1 .grid-item h2 {
  font-size: clamp(1.3rem, 1.1418rem + 0.2909vw, 1.4rem);
  margin-bottom: 0;
}

.main-grid-v1 .grid-item:hover p {
  color: var(--color-secondary);
}

.main-grid-v1 .grid-item a {
  text-decoration: none;
  color: var(--color-secondary); /* was #fff — see note below */
}

.main-grid-v1 .grid-item i {
  font-size: 24px;
  color: white;
  max-width: 48px;
  font-weight: 700;
  padding: 12px;
  background: var(--color-primary);
  border-radius: 5px;
  margin-bottom: 0;
}

/* --- stretched link behaviour --- */
.main-grid-v1 .stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.main-grid-v1 .grid-item:hover img {
  /* Add styles if needed */
}

/*=== Home Page Grid Alternative Version 2 Styles ===*/

.main-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 25px;
}

.main-grid-v2 a {
  text-decoration: none !important;
  color: inherit;
}

@media (max-width: 1200px) {
  .main-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}
@media (max-width: 1023px) {
  .main-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .main-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 575px) {
  .main-grid-v2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.main-grid-v2 .grid-item {
  position: relative; /* containing block for the stretched-link overlay */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background: #fff;
  height: 100%;
  width: 100%;
  padding: 15px;
  border: 2px solid #d8d7d7;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
  transition: background .3s ease-in-out, border .3s ease-in-out;
}

/* mouse hover — reacts directly to the div, unaffected by anchor position */
.main-grid-v2 .grid-item:hover {
  background: #fff;
  border: 2px solid var(--color-primary);
}

/* keyboard focus — outline only, no border/background swap */
.main-grid-v2 .grid-item:has(.stretched-link:focus-visible) {
  outline: 4px dotted var(--color-focus-outline);
  outline-offset: 1px;
}

.main-grid-v2 .stretched-link:focus-visible {
  outline: none;
}

.main-grid-v2 .grid-item p {
  margin: 15px 0 0 0;
  text-align: left;
  color: var(--color-secondary);
  font-size: inherit;
  font-weight: inherit;
  display: inline-block;
}

.main-grid-v2 .grid-item h2 {
  font-size: clamp(1.3rem, 1.1418rem + 0.2909vw, 1.4rem);
  font-weight: 600;
  display: inline-block;
  margin: 0;
}

.main-grid-v2 .grid-item:hover p {
  color: var(--color-secondary);
}

.main-grid-v2 .grid-item i {
  font-size: 24px;
  color: white;
  max-width: 48px;
  font-weight: 700;
  padding: 12px;
  background: var(--color-primary);
  border-radius: 5px;
  margin: 0 15px 0 0;
}

/* --- stretched link behaviour --- */
.main-grid-v2 .stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.main-grid-v2 .grid-item:hover img {
  /* Add styles if needed */
}

/*=== Home Page Grid Alternative 3 Styles ===*/


.main-grid-alt3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 25px; /* 25px gap */
}

.main-grid-alt3 a {
	text-decoration: none !important; /* remove any default underliing of links */
}

@media (max-width: 1030px) {
    .main-grid-alt3 {
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
		gap: 20px; /* 20px gap */
    }
}

@media (max-width: 767px) {
    .main-grid-alt3 {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
		gap: 20px; /* 20px gap */
    }
}

@media (max-width: 575px) {
    .main-grid-alt3 {
        grid-template-columns: 1fr; /* 1 columns at mobile breakpoint */
		 }
}

.main-grid-alt3 .grid-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
	height: 100%; /* make sure the grid item fills 100% of row height */
	width: 100%; /* make sure takes up 100% width */
	background: var(--color-primary); /* background colour of grid items */
	padding: 30px; /* set padding on grid items */
	transition: background ease-in-out .3s; /* set transition for hover effect on grid items */
}

.main-grid-alt3 .grid-item a {
text-decoration: none !important; /* remove any default link underlining on grid items*/
}

.main-grid-alt3 .grid-item:hover {
    background: #252122; /* set background colour on hover */
}

.main-grid-alt3 .grid-item-content {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    text-align: center;
}

.main-grid-alt3 .grid-itemvar(--color-secondary) .number {
	font-size: clamp(1.4rem, 1.2836rem + 0.5818vw, 1.8rem);/* set size & colour of the number */
	color: white;
	font-weight: 700;
	margin-bottom: 10px;
}

.main-grid-alt3 .grid-item .title {
    color: white;
    margin: 0; /* Remove default paragraph margin */
	font-size: clamp(1.25rem, 0.9273rem + 0.3636vw, 1.4rem);
	font-weight: 500;
	line-height:1.35;
}

.main-grid-alt3 .grid-item i {
    font-size: clamp(2.75rem, 2.5318rem + 1.0909vw, 3.5rem); /* Icon size */
    color: white;
	font-weight: 700;
    margin-bottom: 14px; /* Space between icon and text*/
}

.main-grid-alt3 .grid-item img {
    max-width: clamp(3.25rem, 3.0318rem + 1.0909vw, 4rem); /* SVG icon size */
    color: white;
	margin-bottom: 14px; /* If using svg icon instead of font awesome icon */
}

@media (max-width: 767px) {
    .main-grid-alt3 .grid-item i {
	margin-top: 15px; /* reduce extra top margin above icon */
	}
	
	.main-grid-alt3 .grid-item img {
	margin-top: 15px; /* If using svg icon instead of font awesome icon */
	}
}

/* Home Page Grid Alternative 4 Styles */

.main-grid-alt4 {
  display: grid;
    grid-template-columns: repeat(4, 1fr); /* four equal columns */
    grid-template-rows: auto; /* Rows adjust to the tallest item */
    gap: 30px; /* Gap between items */
}

.main-grid-alt4 a {
    text-decoration: none !important; /* removes any default underlining of links */
  }

@media (max-width: 1200px) {
  .main-grid-alt4 {
    grid-template-columns: repeat(3, 1fr); /*  reduce number of columns in grid row to 3 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 1023px) {
    .main-grid-alt4 {
    grid-template-columns: repeat(2, 1fr); /*  Reduce number of columns in grid row to 2 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 767px) {
    .main-grid-alt4 {
    grid-template-columns: repeat(2, 1fr); /* Keep number of columns in grid row at 2*/
    gap: 25px; /* Reduce gap size */
  }
}
 
 @media (max-width: 600px) {
    .main-grid-alt4 {
    grid-template-columns: 1fr; /* Reduce number of columns in grid row to 1 at non standard breakpoint */
    gap: 20px; /* Reduce gap size */
  }
}

.main-grid-alt4 .grid-item {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Ensure all children stretch across the grid item */
  justify-content: space-between; /* Distribute space, button goes to the bottom */
  text-align: left; /* Left align the text content */
  background: #fff;
  height: 100%; /* Ensure the grid item fills 100% of row height */
  width: 100%; /* Ensure the grid item fills 100% of available width */
  padding: 20px 20px 30px 20px; /* Set padding */
  border: 2px solid transparent; /* Set border color as transparent for hover-effect */
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15); /* Add light box shadow to grid item */
}

.main-grid-alt4 .grid-item:hover {
  /* Add styles as needed */
}

.main-grid-alt4 .grid-item p  {
  margin: 15px 0 0 0;
  text-align: left; /* left align the text horizontally */
  color: var(--color-secondary);
  font-size: inheit;
  font-weight: inherit;
  display: inline-block; /* adding this restricts the hover underline effect to the width of the text not the whole div */
}

.main-grid-alt4 .grid-item h2  {
  font-size: clamp(1.425rem, 1.3377rem + 0.4364vw, 1.625rem);
  font-weight: 600;
  margin-bottom: 0;
}

.main-grid-alt4 .grid-item:hover p {
  color: var(--color-secondary); /* set text colour on hover of wrapper div */
}

.main-grid-alt4 .grid-item img {
    margin-bottom: 15px; /* Space between image and text */
}

.main-grid-alt4 .grid-item .button1 {
   width: 100%; /* Make sure the button width is 100% */
   align-self: stretch; /* Ensure the button stretches to fill the width */
   box-sizing: border-box; /* Include padding and border in the element's total width and height */
   text-align: center;
   margin-top: auto; /* Pushes the button to the bottom of the container */
}

.main-grid-alt4 .grid-item:hover img {
  /* Add styles as needed */
}

/* Home Page Grid Alternative 5 Styles */

.main-grid-alt5 {
  display: grid;
    grid-template-columns: repeat(4, 1fr); /* four equal columns */
    grid-template-rows: auto; /* Rows adjust to the tallest item */
    gap: 30px; /* Gap between items */
}

.main-grid-alt5 a {
    text-decoration: none !important; /* removes any default underlining of links */
  }

@media (max-width: 1300px) {
  .main-grid-alt5 {
    grid-template-columns: repeat(3, 1fr); /*  reduce number of columns in grid row to 3 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 1023px) {
    .main-grid-alt5 {
    grid-template-columns: repeat(2, 1fr); /*  Reduce number of columns in grid row to 2 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 767px) {
    .main-grid-alt5 {
    grid-template-columns: repeat(2, 1fr); /* Keep number of columns in grid row at 2*/
    gap: 25px; /* Reduce gap size */
  }
}
 
 @media (max-width: 600px) {
    .main-grid-alt5 {
    grid-template-columns: 1fr; /* Reduce number of columns in grid row to 1 at non standard breakpoint */
    gap: 20px; /* Reduce gap size */
  }
}

.main-grid-alt5 .grid-item {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Ensure all children stretch across the grid item */
  /* justify-content: space-between; /* Distribute space, button goes to the bottom */
  text-align: center; /* center align the text content (affects the h2) */
  background: #fff;
  height: 100%; /* Ensure the grid item fills 100% of row height */
  width: 100%; /* Ensure the grid item fills 100% of available width */
  padding: 0; /* Set padding to zero so image is fulll width of div*/
  /* border: 2px solid #d8d7d7; /* Set initial border color for hover-effect */
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15); /* Add light box shadow to grid item */
  border: none;  /* Add borders as required */
}

.main-grid-alt5 .inner-div {
  flex-grow: 1; /* Make inner-div fill the remaining height */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Space out the paragraph and button */
  padding: 20px 20px 8px 20px; /* Add some padding around the text and button */
}

.main-grid-alt5 .grid-item:hover {
  /* Add styles as needed */
}

.main-grid-alt5 .grid-item p  {
  text-align: center; /* center align the text horizontally */
  color: var(--color-secondary);
  font-size: inheit;
  font-weight: inherit;
  display: inline-block; /* adding this restricts the hover underline effect to the width of the text not the whole div */
}

.main-grid-alt5 .grid-item h2  {
  font-size: clamp(1.425rem, 1.3377rem + 0.4364vw, 1.625rem);
  font-weight: 600;
  margin: 10px 20px 0 20px; /* Add left and right margin to h2 so alignment is consistent with inner div with padding that follows it */
}

.main-grid-alt5 .grid-item:hover p {
  color: var(--color-secondary); /* set text colour on hover of wrapper div */
}

.main-grid-alt5 .grid-item img {
    margin-bottom: 15px; /* Space between image and text */
}

.main-grid-alt5 .grid-item .inner-div .button1 {
   width: 100%; /* Make sure the button width is 100% */
   align-self: stretch; /* Ensure the button stretches to fill the width */
   box-sizing: border-box; /* Include padding and border in the element's total width and height */
   text-align: center;
   margin-top: auto; /* Pushes the button to the bottom of the container */
   margin-bottom: 0;
}

.main-grid-alt5 .grid-item:hover img {
  /* Add styles as needed */
}


/* 4 button Grid Styles */
.button-grid a {
    text-decoration: none; /* Remove underlines */
	color: white;
	display: block; /* Make the entire grid item clickable */
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four equal columns */
    gap: 0; /* No gap between grid items initially */
	margin-bottom: font-size: clamp(3.125rem, 3.3977rem + -1.3636vw, 2.1875rem);
	margin-top: -110px; /*shift grid up to overlap hero section */
	box-shadow: 
        -3px 0 5px rgba(0, 0, 0, 0.15),  /* Left shadow */
         3px 0 5px rgba(0, 0, 0, 0.15),  /* Right shadow */
         0 3px 5px rgba(0, 0, 0, 0.15);  /* Bottom shadow */
}

@media (max-width: 1023px) {
    .button-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on smaller screens */
        gap: 15px; /* 15px gap between grid items */
		margin-top: 0; /* remove the margin top and overlay of hero when drops to 2 columns */
		box-shadow: none; /* remove box shadow when goes to 2 columns */
    }
}

@media (max-width: 575px) {
    .button-grid {
        grid-template-columns: 1fr; /* One column on mobile screens */
        gap: 15px; /* 15px gap between grid items */
    }
}

.button-grid .grid-item {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    height: clamp(3.75rem, 2.6591rem + 5.4545vw, 7.5rem); /* variable height for grid items */
    background-color: #3375b7; /* Default background color */
    transition: background-color .25s ease-in-out; /* Smooth transition */
    padding: 0 20px; /* Add some left and right space */
    position: relative; /* Position relative for ::after pseudo element*/
    color: #fff; /* set text color */
	font-size: clamp(0.9375rem, 0.883rem + 0.2727vw, 1.125rem);
	font-weight: 500;
	text-transform: uppercase;
}

.button-grid .grid-item::after {
    content: "\f061"; /* Font Awesome right arrow icon (using Unicode value) */
    font-family: "Font Awesome 5 Free"; /* Ensure Font Awesome font family is used */
    font-weight: 900; /* Font Awesome icons require font-weight 900 */
    margin-left: 12px; /* Space between text and icon */
    display: inline-block;
	color: white;
    transition: transform .25s ease-in-out; /* Smooth transition for movement */
    transform: translateX(0); /* Initial position */
}

/* Background colors for different grid items */
.button-grid .grid-item:nth-child(2) {
    background-color: #3aabdd;
}

.button-grid .grid-item:nth-child(3) {
    background-color: #008fe2;
}

.button-grid .grid-item:nth-child(4) {
    background-color: #2c54a2;
}

.button-grid .grid-item:hover {
    background-color: #39C6B1; /* Change background of all grid-items to this colour on hover */
}

.button-grid .grid-item:hover::after {
    transform: translateX(5px); /* Move the arrow 5px to the right */
}



/* Custom Grid styles - This Month in numbers grid */

.custom-grid-section h2 {
	text-align: center; /* Centre align the section's h2 text horizontally */
	color: #fff;
	font-size: clamp(1.75rem, 1.5318rem + 1.0909vw, 2.5rem);
	margin: 20px 0 15px 0; /*Add margin above and below h2 */
}


.custom-grid-section .thank-you {
	max-width: 1150px; /* restrict this div width on larger devices to 980px */
	width: 100%;
    color: white;
	line-height: 1.5;
    text-align: center;
	margin: 50px auto 0 auto; /* add 50px margin to the top and center the div horizontally with margin auto */
}

.custom-grid .number {
	font-size: clamp(1.4rem, 1.2836rem + 0.5818vw, 1.8rem);/* set size & colour of the number */
	color: white;
	font-weight: 700;
	margin-bottom: 10px;
}

.custom-grid .grid-item .title {
    color: white;
    margin: 0; /* Remove default paragraph margin */
	font-size: clamp(1.1rem, 0.9273rem + 0.3636vw, 1.25rem);
	line-height:1.35;
}


.custom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 30px; /* 30px gap */
}

@media (max-width: 1030px) {
    .custom-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
    }
}

@media (max-width: 767px) {
    .custom-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
		gap: 25px; /* 25px gap */
    }
}

@media (max-width: 575px) {
    .custom-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
		 }
}

.custom-grid .grid-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
	height: 100%; /* make sure the grid item fills 100% of row height */
}

.custom-grid .grid-item-content {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    text-align: center;
}

.custom-grid .grid-item i {
    font-size: clamp(1.875rem, 1.5841rem + 1.4545vw, 2.875rem); /* Icon size */
    color: white;
	font-weight: 700;
    margin-bottom: 0; /* Space between icon and number*/
	margin-top: 35px; /* add some extra top margin above icon */
}

.custom-grid .grid-item img {
    max-width: clamp(3.125rem, 2.9432rem + 0.9091vw, 3.75rem);/* SVG icon size */
    color: white;
	margin-bottom: 0; /* If using svg icon instead of font awesome icon */
	margin-top: 35px;
}

@media (max-width: 767px) {
    .custom-grid .grid-item i {
	margin-top: 15px; /* reduce extra top margin above icon */
	}
	
	.custom-grid .grid-item img {
	margin-top: 15px; /* If using svg icon instead of font awesome icon */
	}
}


/* Footer Styles */
.footer {
    background-color: var(--color-secondary);
    color: #f5f6f7;
    padding-left: 35px;
	padding-right: 35px;
    box-sizing: border-box;
    overflow: hidden;
}

.footer .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four equal columns */
    gap: 50px;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1023px) {
       .footer .grid {
        grid-template-columns: repeat(2, 1fr); /* Reduce number of columns in footer grid row to 2*/
		gap: 25px; /* Reduce gap size */
    }
  .footer {
    padding-left: 20px; /* reduce side padding */
	padding-right: 20px;
  }
  
}

@media (max-width: 575px) {
      .footer .grid {
        grid-template-columns: 1fr; /* Reduce number of columns in footer grid row to 1 */
		gap: 20px; /* Reduce gap size */
    }
  
  .footer .footer-column {
	  padding: 0; /* Remove right padding from footer grid columns when reaches mobile */
  } 
}

@media (max-width: 1300px) {
   .footer {
	Padding-bottom: 125px; /*increase footer section bottom padding above standard section padding to accommodate translation widget on smaller devices */
   }
}

@media (max-width: 767px) {
  #fcol-3 {
	  display: none; /*hide last 2 footer columns on tablet * mobile */
  }
  #fcol-4 {
	  display: none;
  }
}

.footer .footer-column {
    padding: 0 20px 0 0;
    box-sizing: border-box;
    word-wrap: break-word;
} 

.footer a {
	color: #f5f6f7;
	text-decoration: none !important;

}
.footer a:hover {
	color: var(--color-hover-state);
	text-decoration: underline;
}

.footer h3 {
	color: #f5f6f7 /* Change colour of h3 heading in footer */
}
.footer p { 
	font-size: clamp(0.9375rem, 0.8568rem + 0.0909vw, 0.9375rem); /* reduce size of p text in footer */
}
.footer ul {
	list-style-type: none; /* remove bullet points, padding and margin from footer lists */
	margin: 0;
	padding: 0;
}
.footer li { 
	font-size: clamp(0.9375rem, 0.8568rem + 0.0909vw, 0.9375rem); /* reduce size of p text in footer */
	Line-height: 3.5; /* increase line height of list items */
	border-bottom: 1px solid #3a3a3a; /* add a border between list items */
}
/* .footer li:not(:last-child) { 
	border-bottom: 1px solid #a1a1a1; /* add a border between list items 
} */

/* Responsive Styles */

section {
    width: 100%;
    box-sizing: border-box; /* Ensure full width does not exceed container */
	padding-left: 20px; /*Stanard L-R Padding on sections - override on individual section classes if need to change */
	padding-right: 20px;
	padding-top: clamp(1.875rem, 1.4205rem + 2.2727vw, 3.4375rem); /* Clamp that takes padding top and bottom from 30px on mobile to 55px on desktop */
	padding-bottom: clamp(1.875rem, 1.4205rem + 2.2727vw, 3.4375rem);
	/* outline: 2px solid red; */
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
	/* outline: 2px solid red; */
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
	max-width: 100%;
	box-sizing: border-box;
	}
.column {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1; /* Make columns flexible */
    max-width: 100%;
	/* outline: 2px solid yellow; */
}

/* Main Pages 2-column Layout*/
.mainrow {
  	display: flex;
	max-width: 100%;
	box-sizing: border-box;
  	/* outline: 2px solid blue; */
}

.column.left {
  flex: 0 0 70%; /* Left column 70% of row width */
  padding-right: 30px; /*Not ideal but flex gap seems to break layout */
}

.content {
	padding-top: 20px; /* div containing text content in left column */
	/* background: #F5F6F7; chnge if want different bacckground and padding in content column */
}

.column.right {
  flex: 0 0 30%; /* Right column 30% of row width */
  /* outline: 2px solid yellow; */
}
.sidebar-content {
	padding: 20px; /* Add padding and light grey background and bottom border to sidebar content in right column */
	background: #f5f6f7;
	border-bottom: solid 1px #ccc;
}
.sidebar-content p {
	font-size: clamp(0.9375rem, 0.8568rem + 0.0909vw, 0.9375rem); /* reduce size of text in sidebar */ 
}


@media (max-width: 1023px) {
  .column.left {
    flex: 0 0 60%; /* Left column 60% of row width */
  }

  .column.right {
    flex: 0 0 40%; /* Right column 40% of row width */
  }
}

@media (max-width: 767px) {
  .mainrow {
    flex-direction: column;
  }

  .column {
    flex: 1 0 auto;
  }
  
  .column.left {
   padding-right: 0; /*remove right padding */
	}
.column.right {
	display: none; /* Hide the right column */
	}
}

/* Home Page 2-column Layout*/
.homerow {
  	display: flex;
	max-width: 100%;
	box-sizing: border-box;
	/* outline: 2px solid blue; */
}

.column.homeleft {
    flex: 0 0 60%; /* Left column 60% of row width */
    padding-right: 30px; /* Not ideal but colum gap seems to break design */
    box-sizing: border-box;
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Vertically center the content */
    align-items: flex-start; /* Horizontally lef align the content */
    min-height: 100%; /* Ensure the column takes full height of the row */
}

.column.homeright {
    flex: 0 0 40%; /* Right column 40% of row width */
    box-sizing: border-box;
    min-height: 100%; /* Ensure the column takes full height of the row */
    background-size: cover;
    background-position: center;
	min-height: clamp(21.25rem, 20.1591rem + 5.4545vw, 25rem); /* Minimum height of column to display background image */
}

@media (max-width: 1200px) {
  .column.homeleft {
    flex: 0 0 50%; /* Left column 50% of row width */
  }

  .column.homeright {
    flex: 0 0 50%; /* Right column 50% of row width */
  }
}

@media (max-width: 1023px) {
  .homerow {
    flex-direction: column;
  }

  .column {
    flex: 1 0 auto; /* reduce to 1 column layout */
  }
  
  .column.homeleft {
   padding-right: 0; /*remove right padding */
   padding-bottom: 20px; /* add bottom to create space between content and pictures on mobile */
	}
.column.homeright {
	display: block; /* Show or Hide the right column */
	}
}

/* Responsive Breakpoint Styling */

/* Desktop */
@media (min-width: 1201px) {
  /* Add styles as required*/
}

/* 1200px and below */
@media (max-width: 1200px) {
    /* Add styles as required */
}

/* 1023px and below */
@media (max-width: 1023px) {
      /* Add styles as required */
}

/* 767px and below */
@media (max-width: 767px) {
  /* Add styles as required */
}

/* 575px and below */
@media (max-width: 575px) {
    /* add styles as required */
}

/* Button Styles */

/* Ensure Font Awesome is included in your HTML head or CSS */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css'); /* Example for Font Awesome 6 */

/* Base styles for the button */
.button1 {
    -webkit-appearance: none;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    color: white;
    border-radius: 0;
    background: var(--color-primary);
    font-weight: 500;
    text-transform: uppercase;
    outline: 0;
    -moz-transition: background-color .25s ease-in-out;
    -webkit-transition: background-color .25s ease-in-out;
    -ms-transition: background-color .25s ease-in-out;
    transition: background-color .25s ease-in-out;
    font-size: clamp(0.9375rem, 0.883rem + 0.2727vw, 1.125rem);
    line-height: 1.2;
    padding: 18px 25px;
    position: relative; /* Ensure the pseudo-element is positioned relative to the button */
}

/* Styles for the button when hovered */
.button1:hover {
    background: var(--color-hover-state);
    color: white;
}

/* Adding Font Awesome icon using ::after pseudo-element */
.button1::after {
    content: "\f061"; /* Font Awesome right arrow icon (using Unicode value) */
    font-family: "Font Awesome 5 Free"; /* Ensure Font Awesome font family is used */
    font-weight: 900; /* Font Awesome icons require font-weight 900 */
    margin-left: 12px; /* Space between text and icon */
    display: inline-block;
    transition: transform .25s ease-in-out; /* Smooth transition for movement */
    transform: translateX(0); /* Initial position */
}

/* Animation effect for hover */
.button1:hover::after {
    transform: translateX(5px); /* Move the arrow 5px to the right */
}

		
	/* Add the focus effect to this button only for keyboard users */
   .button1:focus-visible {
    outline: 4px dotted var(--color-focus-outline); 
	background: var(--color-hover-state);
	border: none;
	}	
	/* Remove focus effect for this button when clicked with a mouse */
	.button1:focus:not(:focus-visible) {
		background: var(--color-hover-state);
		outline: none; /* Removes the orange dotted border */
 	 }

			.button1:active {
			background: var(--color-hover-state);
		}

/* Alternative Button */

			.button1.alt {
			background: var(--color-primary);
			color: #fff !important;
		}

			button1.alt:hover,
			.button1.alt:hover {
				background: var(--color-hover-state);
			}
			
	/* Add the focus effect to this button only for keyboard users */
   .button1:focus-visible {
    outline: 4px dotted var(--color-focus-outline); 
	background: var(--color-hover-state);
	border: none;
	}	
	/* Remove focus effect for this button when clicked with a mouse */
	.button1:focus:not(:focus-visible) {
		background: var(--color-hover-state);
		outline: none; /* Removes the orange dotted border */
 	 }
	 
			.button1.alt:active {
				background: var(--color-hover-state);
			}

	/* Icon before button text */
		.button1.icon:before {
			opacity: 0.35;
			position: relative;
			top: 0.05em;
			margin-right: 0.75em;
		}
		
		
	/* Make sidebar buttons 100% width */	
		.sidebarbutton {
			width: 100%; /* Additional class to make sidebar buttons full width */
			text-align: center;
		}
