/*
Customisations
*/

.logo-custom img {
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media only screen and (max-width: 1200px) 
{
	.sticky .header-custom
	{
		padding-left: var(--spacing-2x);
		padding-right: var(--spacing-2x);
	}
}

/* ==========================================================
   header-style-1: Left Sidebar
   Applied to .sticky wrapper: <div class="sticky header-style-1">
   Desktop (>=1310px): 80px fixed sidebar on left.
   Tablet/Mobile (<1310px): collapses to horizontal top bar.
   Mobile (<=480px): back-to-site hidden, logo centred.

   How it works:
   The .header child is position:fixed — taken out of flow.
   margin-left on .header-style-1 (the .sticky wrapper)
   offsets ALL content (main-be-area, footer, etc.) to the
   right so nothing sits behind the sidebar.
   ========================================================== */



/* Desktop: sidebar layout */
@media only screen and (min-width: 1310px) {
	/* Offset the entire .sticky wrapper so content clears the sidebar */
	.header-style-1 {
	margin-left: 240px;
	}

	.header-style-1 > .header {
	position: fixed;
	left: 0;
	top: 0;
	width: 240px;
	height: 100%;
	z-index: 9999;
	flex-direction: column;
	padding: var(--spacing-1x);
	}

	.header-style-1 > .header .main-width {
	align-items: center;
	height: 100%;
	margin: 30px 0 0 0;
	flex-direction: column;
	}

	/* In sidebar mode, logo fills available width minus padding */
	.header-style-1 .logo img {
	max-width: 200px;
	object-fit: contain;

	}

	/* Optional: rotate logo 90° for narrow sidebars */
	.header-style-1 .logo.rotate {
	rotate: -90deg;
	}

	.header-style-1 .backtosite {
	text-align: center;
	margin-top: auto;
	margin-bottom: 30px;
	}

	.header-style-1 .footer-container {
	width: 1200px;
	max-width: 100%;
	margin: auto;
	}

	.header-style-1 .content,
	.header-style-1 .full-ribbon-one
	{
		padding: var(--spacing-1x);
	}

	.header-style-1 .info-bar-container
	{
		position: static;
		flex-direction: row;
		margin-top: 16px;
		flex-wrap: wrap;

	}
}

/* Tablet: collapses to horizontal top bar */
@media (max-width: 1309px) {
  .header-style-1 {
    margin-left: 0;
  }

  .header-style-1 > .header {
    position: static;
    flex-direction: row;
    width: 100%;
    height: auto;
  }

  .header-style-1 > .header .main-width {
    flex-direction: row;
    justify-content: space-between;
    height: auto;
  }

  .header-style-1 .logo img {
    max-width: 100%;
    max-height: 60px;
  }

  .header-style-1 .logo.rotate {
    rotate: none;
  }

  .header-style-1 .backtosite {
    	align-content: center;
  }
}

/* Mobile: logo centred, backtosite hidden */
@media (max-width: 480px) {
  .header-style-1 > .header .main-width {
    justify-content: center;
  }

  .header-style-1 .backtosite {
    display: none;
  }
}


/* ==========================================================
   header-style-2: Full-Width
   Applied to .header element.
   No .main-width child — content is edge-to-edge with padding.
   ========================================================== */

.header-style-2 {
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-1x) var(--spacing-3x);
}

.header-style-2 .backtosite {
  text-align: right;
}

/* Mobile: logo centred, backtosite hidden */
@media (max-width: 480px) {
  .header-style-2 {
    justify-content: center;
  }

  .header-style-2 .backtosite {
    display: none;
  }
}

/* ==========================================================
   header-style-3: Contained
   Applied to .header element.
   Uses .main-width child to constrain content to 1200px.
   ========================================================== */

.header-style-3 .main-width {
  justify-content: space-between;
  align-items: center;
}

.header-style-3 .logo img {
  /* max-height from shared .logo img rule (60px) applies.
     Constrain within the 1200px main-width column. */
  max-width: 250px;
}

.header-style-3 .backtosite {
  text-align: right;
}

/* Mobile: logo centred, backtosite hidden */
@media (max-width: 480px) {
  .header-style-3 .main-width {
    justify-content: center;
  }

  .header-style-3 .logo img {
    max-width: 180px;
  }

  .header-style-3 .backtosite {
    display: none;
  }
}


/* ==========================================================
   header-style-4: Centred Logo, Right Link
   Applied to .header element.
   Logo is absolutely centred within the header bar.
   Back-to-site link anchored to the right.
   Mobile (<=480px): backtosite hidden, logo centres normally.
   ========================================================== */

.header-style-4 {
  position: relative;
  align-items: center;
  padding: var(--spacing-1x) var(--spacing-3x);
  min-height: 60px;
}

.header-style-4 .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-style-4 .logo img {
  max-width: 250px;
}

.header-style-4 .backtosite {
  margin-left: auto;
  text-align: right;
}

/* Mobile: logo centres normally, backtosite hidden */
@media (max-width: 480px) {
  .header-style-4 {
    justify-content: center;
  }

  .header-style-4 .logo {
    position: static;
    transform: none;
  }

  .header-style-4 .logo img {
    max-width: 180px;
  }

  .header-style-4 .backtosite {
    display: none;
  }
}

/* ==========================================================
   header-style-5: Stacked Two-Row
   Applied to .header element.
   Top row: centred logo with generous padding.
   Bottom row: secondary bar with darker bg, right-aligned link.
   Mobile (<=480px): bottom bar hidden, logo centred.
   ========================================================== */

.header-style-5 {
  flex-direction: column;
  padding: 0;
}

.header-style-5-top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-2x) var(--spacing-3x);
  width: 100%;
}

.header-style-5-top .logo img {
  max-width: 280px;
  max-height: 70px;
}

.header-style-5-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  background: rgba(0, 0, 0, 0.15);
}

/* Mobile: hide bottom bar */
@media (max-width: 480px) {
  .header-style-5-top .logo img {
    max-width: 180px;
    max-height: 60px;
  }

  .header-style-5-bar {
    display: none;
  }
}

/* ==========================================================
   header-style-6: Minimal Border
   Applied to .header element.
   No background colour — transparent/white with a bottom border.
   Logo left, back-to-site right using brand-color-text.
   Uses .main-width for content constraint (like style-3).
   Do NOT apply .brand — this style is deliberately un-branded.
   Mobile (<=480px): backtosite hidden, logo centred.
   ========================================================== */

.header-style-6 {
  border-bottom: 1px solid #000;
  padding: var(--spacing-1x) var(--spacing-2x);
}

.header-style-6 .main-width {
  justify-content: space-between;
  align-items: center;
}

.header-style-6 .logo img {
  max-width: 200px;
}

.header-style-6 .backtosite a {
  text-decoration: none;
}

.header-style-6 .backtosite a:hover {
  text-decoration: underline;
}

/* Mobile: logo centred, backtosite hidden */
@media (max-width: 480px) {
  .header-style-6 .main-width {
    justify-content: center;
  }

  .header-style-6 .logo img {
    max-width: 180px;
  }

  .header-style-6 .backtosite {
    display: none;
  }
}

/* ==========================================================
   footer-style-centred: Single Centred Column Footer
   Centres all footer content. Container constrained to 600px.
   ========================================================== */

.footer-style-centred {
  text-align: center;
  padding: var(--spacing-3x) var(--spacing-2x);
}

.footer-style-centred .footer-container {
  max-width: 600px;
  margin: 0 auto;
}

.footer-style-centred .footer-container p {
  margin: var(--spacing-half) 0;
  font-size: 0.85em;
  opacity: 0.9;
}

.footer-style-centred .footer-container p:first-child {
  font-size: 1em;
  opacity: 1;
}

/* ==========================================================
   footer-style-twocol: Two-Column Footer (Address + Awards)
   Left column: address/contact. Right column: award logos.
   Mobile (<=480px): stacks to single column, centres.
   ========================================================== */

.footer-style-twocol {
  padding: var(--spacing-3x) var(--spacing-2x);
}

.footer-style-twocol .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-3x);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-style-twocol .footer-col-left {
  flex: 1;
}

.footer-style-twocol .footer-col-left p {
  margin: var(--spacing-half) 0;
  font-size: 0.85em;
  opacity: 0.9;
}

.footer-style-twocol .footer-col-left p:first-child {
  font-size: 1em;
  opacity: 1;
}

.footer-style-twocol .footer-col-right {
  display: flex;
  gap: var(--spacing-2x);
  align-items: center;
  flex-wrap: wrap;
}

.footer-style-twocol .footer-col-right img {
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Mobile: stack columns */
@media (max-width: 480px) {
  .footer-style-twocol .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-style-twocol .footer-col-right {
    justify-content: center;
  }

  .footer-style-twocol .footer-col-right img {
    max-height: 40px;
  }
}


/* ═══════════════════════════════════════════
   Footer Big Component
   ═══════════════════════════════════════════ */

.footer-big {
  background: var(--brand-color);
  color: var(--text-over-branding);
  font-family: var(--footer-font, 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 14px;
  line-height: 1.6;
}

.footer-big *,
.footer-big *::before,
.footer-big *::after {
  box-sizing: border-box;
}

.footer-big a {
  color: var(--text-over-branding);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-big a:hover {
  color: var(--footer-link-hover, #fff);
}

.footer-big a.dim {
  opacity: 0.75;
}

.footer-big a.dim:hover {
  opacity: 1;
}

/* ─── Main container: 3-column grid ─── */

.footer-big .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 260px 1fr 220px;
  gap: 48px;
  align-items: start;
}

/* ─── Left: Contact / Logo ─── */

.footer-big .contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-big .contact-logo {
  margin-bottom: 4px;
}

.footer-big .contact-logo img {
  max-width: 180px;
  height: auto;
  display: block;
}

.footer-big .contact-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-big .contact-container .address a {
  display: block;
  font-style: normal;
  line-height: 1.7;
  font-size: 13px;
}

.footer-big .contact-container p {
  margin: 0;
  font-size: 13px;
}

.footer-big .contact small {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #fff;
}

/* ─── Centre: Footer menu links ─── */

.footer-big .footer-menu {
  padding-top: 4px;
}

.footer-big .footer-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 32px;
}

.footer-big .footer-menu-links .menu-item {
  break-inside: avoid;
  padding: 5px 0;
}

.footer-big .footer-menu-links .menu-item a {
  font-size: 13px;
  letter-spacing: 0.02em;
  display: inline-block;
  position: relative;
}

.footer-big .footer-menu-links .menu-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}

.footer-big .footer-menu-links .menu-item a:hover::after {
  width: 100%;
}

/* ─── Right: Socials ─── */

.footer-big .socials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 4px;
}

.footer-big .socials-title p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--footer-color, #b8b8b8);
  font-style: italic;
}

.footer-big .socials-container {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-big .socials-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--footer-border, rgba(255, 255, 255, 0.15));
  border-radius: 50%;
  font-size: 16px;
  color: var(--footer-color, #b8b8b8);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-big .socials-container a:hover {
  color: var(--footer-link-hover, #fff);
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.footer-big .socials-container .social-links-logo-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ─── Partners bar ─── */

.footer-big .partners-container {
  border-top: 1px solid var(--footer-border, rgba(255, 255, 255, 0.1));
  border-bottom: 1px solid var(--footer-border, rgba(255, 255, 255, 0.1));
}

.footer-big .partners-container-bkg {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 40px;
}

.footer-big .partners-container-bkg a {
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.footer-big .partners-container-bkg a:hover {
  opacity: 1;
}

.footer-big .partners-container-bkg img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(0.7);
  transition: filter 0.25s ease;
}

.footer-big .partners-container-bkg a:hover img {
  filter: brightness(0) invert(1);
}

/* ─── Bottom: SHR credit ─── */

.footer-big .contact-shr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  text-align: center;
  font-size: 11px;
  color: #fff;
}

.footer-big .contact-shr-container a {
  color: #fff;
}

.footer-big .contact-shr-container a:hover {
  color: var(--footer-link-hover, #fff);
}

/* ─── Screen-reader only ─── */

.footer-big .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */

@media (max-width: 960px) {
  .footer-big .container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 40px 24px 32px;
  }

  .footer-big .socials {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .footer-big .container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px 24px;
    text-align: center;
  }

  .footer-big .contact-logo img {
    margin: 0 auto;
  }

  .footer-big .contact-container .address a {
    text-align: center;
  }

  .footer-big .footer-menu-links {
    columns: 1;
    text-align: center;
  }

  .footer-big .socials {
    align-items: center;
  }

  .footer-big .socials-title p {
    text-align: center;
  }

  .footer-big .socials-container {
    justify-content: center;
  }

  .footer-big .partners-container-bkg {
    padding: 20px 16px;
    gap: 20px 28px;
  }

  .footer-big .partners-container-bkg img {
    height: 22px;
  }
}

.sticky.background-image .content
{
	z-index: 1;
}

.sticky.background-image .content::after
{
	content: "";
    background-image: var(--background-image);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
  	background-attachment: fixed;
	z-index: -1;
}