/*----------------------------------------------------- */
/*-----------------GENERAL PAGE STYLING---------------- */
/*----------------------------------------------------- */

:root{
  --system-primary-colour: #ff5c4c;
  --system-primary-colour-darker: #e35032;
  --system-secondary-colour: rgb(121,181,186);
  --system-background-colour: #f5f3f0;
  --menu-item-colour: #ffffff;
  --default-text-colour: #111;
  --popover-text-colour: #cf8311;
  --popover-bg-colour: #e0e6d5;
  --h1-colour: inherit;
  --h2-colour: #135736;
  --h2-flag-colour: #479e64;
  --h3-colour: black;
  --h4-colour: #ad8f49;
  --caption-text-colour: #000;
}

body {
	background-color: var(--system-background-colour);
  z-index: -5;
  transition: 0.6s ease;
  overflow-x: hidden;
  overflow-y: auto;
  white-space: normal;
}

body.obscure{
  background-color: #b5b8b2;
}


body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem; 
  font-weight: 500;
  line-height: 1.75;
  color: var(--default-text-color);
}


p {
  margin-top: 1rem; 
  margin-bottom: 1rem; 
  text-indent: 1rem;
}



h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  font-weight: normal;
  line-height: 3rem;
  margin-top: inherit;
  margin-bottom: inherit;
  color: var(--h1-colour);
  letter-spacing: 0.05em;
}

 
h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 2rem; 
  font-weight: 500;
  line-height: 1.5;
  margin-top: 2rem; 
  margin-bottom: 1rem;
  margin-left: 0rem;
  color: var(--h2-colour);
  letter-spacing: 0.05em;
  position: relative;
}
h2::before {
  content: "\f02e"; /* Unicode for the FontAwesome icon (you can change it to any icon) */
  font-family: "Font Awesome 5 Free"; /* The FontAwesome font family */
  font-size: 2rem;
  color: var(--h2-flag-colour);
  font-weight: 900; /* This is required for FontAwesome icons */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 1rem; /* Adjust the space between the icon and the heading */
  margin-left:-2.25rem;
}


h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.6rem; 
  font-weight: bold;
  line-height: 1.5;
  margin-top: 1rem; 
  margin-bottom: 1rem; 
  color: var(--h3-colour);
  letter-spacing: 0.05em;
}


h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.4rem; 
  font-weight: 400; 
  line-height: 1.5;
  margin-top: 1rem; 
  margin-bottom: 1rem; 
  color: var(--h4-colour);
  letter-spacing: 0.05em;
}


a {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem; 
  font-weight: normal;
  color: var(--system-secondary-colour);
  text-decoration: underline;
  text-indent: 0;
}

a:visited {
  color: #266166;
}

a:hover {
  color: #266166;
}

.make-blend-mode-darken {
  mix-blend-mode: darken;
}

blockquote {
  font-style: italic;               /* Makes the text italic */
  font-size: 1.2rem;                /* Adjust the font size */
  margin: 1.5rem 0;                 /* Adds space before and after the blockquote */
  padding: 0.5rem 1rem;             /* Adds padding inside the blockquote */
  border-left: 5px solid var(--system-secondary-colour);      /* Adds a left border to visually differentiate the blockquote */
  background-color: #f9f9f9;        /* Adds a light background */
  color: #333;                      /* Text color */
  quotes: "“" "”" "‘" "’";          /* Customizes the quote marks */
}

blockquote:before {
  content: open-quote;              /* Adds opening quote before the blockquote */
  font-size: 2rem;                  /* Larger size for the quote mark */
  color: #666;                      /* Color of the quote mark */
}

blockquote:after {
  content: close-quote;             /* Adds closing quote after the blockquote */
  font-size: 2rem;                  /* Larger size for the quote mark */
  color: #666;                      /* Color of the quote mark */
}

button, .btn {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem; 
  font-weight: normal;
  color: white;
  background-color: var(--system-secondary-colour);
  border: none;
  padding: 0.5rem 1rem; 
  border-radius: 0.25rem; 
}

button:hover, .btn:hover {
  background-color: #266166;
} 


.page-wrap {
  width: 100%;               /* Take full width */
  max-width: 1000px;         /* Limit maximum width */
  min-height: 720px;
  margin: 0 auto;            /* Horizontally center the element */
}

.page-container {
	padding: 20px;
  max-width: 1000px;
}

.page-container ul, .page-container ol {
  margin-left: 2rem;
  padding-top: 0.5rem;
  margin-bottom: -0.5rem;
}

.page-container li{
  padding-top: 0rem;
  padding-bottom: 0.5rem;
}

.page-container li + li {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.need-extra-margin-top {
  margin-top: 2rem;
}

.skip-button a {
  color: var(--system-primary-colour);
  background-color: transparent;
  border: none;
  margin: 0rem;
  padding: 0rem;
}

.skip-button a:hover {
  color: var(--h2-flag-colour);
}

.wp-block-image .alignleft {
  float: left; /* Float the image to the left */
  margin-right: 2rem; /* Add some space between the image and the text */
  margin-top: 0.5rem;
  margin-bottom: 0.5rem; /* Add some space below the image */
}

.wp-block-image .alignright {
  float: right; /* Float the image to the left */
  margin-left: 2rem; /* Add some space between the image and the text */
  margin-bottom: 1rem; /* Add some space below the image */
}

.wp-element-caption {
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  font-family: Open Sans, sans-serif;
  color: var(--caption-text-colour);
}

.wp-element-caption em {
  color: var(--caption-text-colour);
  font-size: 0.9rem;
  font-style: italic;
  font-family: Open Sans, sans-serif;
}

figcaption {
  margin-top: 0.5rem; /* Space between image and caption */
  font-size: 0.9rem; /* Adjust caption size for readability */
  line-height: 1.4; /* Improve readability of caption text */
  word-wrap: break-word; /* Ensure long text doesn't break layout */
}

/* Style the scrollbar for the entire page */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 15px; /* Width of the scrollbar */
  height: 10px; /* Height of the scrollbar for horizontal scrolling */
}

/* Style the track of the scrollbar */
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #222; /* Track background */
}

/* Style the scrollbar thumb */
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--system-primary-colour-darker); /* Thumb color */
  border-radius: 10px; /* Rounded corners for the thumb */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Drop shadow effect */
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: var(--system-primary-colour);
}

/* Optional: Add a shadow effect to the scrollbar track */
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); /* Shadow effect for the track */
}

/* Set default tooltip styling using CSS variables */
.tooltip {
  --bs-tooltip-zindex: 100;
  --bs-tooltip-max-width: 40vw;
  --bs-tooltip-padding-x: 0.5rem;
  --bs-tooltip-padding-y: 0.5rem;
  --bs-tooltip-margin: 0.4rem;
  --bs-tooltip-font-size: 0.9rem; /* Example fixed font size */
  --bs-tooltip-color: var(--default-text-colour); /* Example text color */
  --bs-tooltip-bg: var(--popover-bg-colour); /* Example background color */
  --bs-tooltip-border-radius: 0.5rem;
  --bs-tooltip-opacity: 1;
  --bs-tooltip-arrow-width: 1rem;
  --bs-tooltip-arrow-height: 0.75rem;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Set default popover styling using CSS variables */
.popover {
  --bs-popover-zindex: 100;  /* Set z-index for popovers */
  --bs-popover-max-width: 40vw;  /* Maximum width for the popover */
  --bs-popover-font-size: 0.9rem;  /* Font size for the popover text */
  --bs-popover-line-height: 0.5;  /* Line height for the popover text */
  --bs-popover-font-weight: 400;  /* Font weight */
  --bs-popover-bg: var(--popover-bg-colour);  /* Background color */
  --bs-popover-border-width: 1px;  /* Border width */
  --bs-popover-border-color: none;  /* Border color */
  --bs-popover-border-radius: 0.5rem;  /* Border radius */
  --bs-popover-header-padding-x: 1rem;  /* Padding for header */
  --bs-popover-header-padding-y: 0rem;  /* Vertical padding for header */
  --bs-popover-header-font-size: 1rem;  /* Font size for the header */
  --bs-popover-header-line-height: 1.1;  /* Line height for header */
  --bs-popover-header-color: var(--default-text-colour);  /* Header text color */
  --bs-popover-header-bg: transparent;  /* Header background */
  --bs-popover-body-padding-x: 1rem;  /* Horizontal padding for body */
  --bs-popover-body-padding-y: 0.5rem;  /* Vertical padding for body */
  --bs-popover-body-color: var(--default-text-colour);  /* Text color for body */
  --bs-popover-arrow-width: 1rem;  /* Arrow width */
  --bs-popover-arrow-height: 0.75rem;  /* Arrow height */
  --bs-popover-arrow-border: transparent;  /* Arrow border color */
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 700px) { /* Adjust the value (800px) to fit your needs */
  .popover {
    --bs-popover-max-width: 80vw; /* Increased width when the viewport is narrower than 800px */
  }
  .tooltip {
    --bs-tooltip-max-width: 80vw; /* Increased width when the viewport is narrower than 800px */
  }
}

.popover-arrow {
  border-width: var(--bs-popover-arrow-width) var(--bs-popover-arrow-height);
  border-color: var(--bs-popover-arrow-border);
}

.popover-link {
  text-decoration: underline dotted;
  text-decoration-thickness: 2px; /* Adjust underline thickness (bold) */
  text-underline-offset: 0.35rem; /* Offset underline by 2px (adjust as needed) */
  -webkit-text-decoration-skip: none; /* Ensure descenders are skipped by the underline */
  text-decoration-skip-ink: none; /* Fallback for non-WebKit browsers */
  color: var(--popover-text-colour) !important;
  padding-left: 0;
  display: inline-block;
  cursor: default;
}

small a {
  font-size: inherit;
}



/*----------------------------------------------------- */
/*--------------------BANNER STYLING------------------- */
/*----------------------------------------------------- */
.banner {
  position: relative;
  overflow: hidden;
}

.banner-content {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  z-index: 10;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding-left:15px;
  padding-right:15px;
}

/* Banner image */
.banner-image {
  position:relative;
  transform: translateY(0) scale(1); /* Ensures it starts at 100% size */
  transition: transform 0.3s ease-out;
  height: 50vh; /* Adjust the height as per your design */
  background-size: cover;
  background-attachment: fixed; /* This gives the parallax effect */
  background-position: center;
  z-index: -1; /* Keep it behind content */
  transition: transform 0.3s ease; /* Smooth transition for the zoom effect */
}

/* Banner gradient overlay */
.banner-image::before {
  content: ''; /* Required for the pseudo-element to work */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(54, 14, 14, 0.22), rgba(121, 173, 21, 0.15)); /* Gradient overlay */
  z-index: 5; /* Ensure the overlay stays on top of the image */
  transition: background 0.1s ease; /* Smooth transition for opacity change */
}

.banner-title {
  display:flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  height:100%;
  margin: 0px 10vw;
  color: transparent;
  z-index: 200;
  user-select: none;

}

.banner-title h1 {
  color: white;
  opacity: inherit;
}


/*----------------------------------------------------- */
/*---------------------STICKY HEADER------------------- */
/*----------------------------------------------------- */

/* Initial Styles for Sticky Header */
.sticky-header {
  position: fixed;
  height: var(--stickyheader-height, 100px);
  top: 0; /* Start above the screen */
  left: 0;
  right: 0;
  background: linear-gradient(to left, rgba(54, 14, 14,var(--stickyheader-gradientopacity,0)), rgba(15, 108, 54, var(--stickyheader-gradientopacity,0)));
  background-color: rgba(0, 0, 0, var(--stickyheader-backgroundopacity,0)); /* Transparent background */
  padding: 0;
  z-index: 150;
}

/* Flexbox Layout for Sticky Header */
.sticky-header-container {
  height: 100%;  /* Ensure the container takes the full height of the header */
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* Vertically align the items */
  position: relative;
}


/*----------------------------------------------------- */
/*-----------------------SIDE MENU--------------------- */
/*----------------------------------------------------- */

/*------------------ BG OVERLAY ----------------------- */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5)); 
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 400; /* Make sure this is lower than your side menu's z-index */
}

.background-overlay.active {
  opacity: 1;
  visibility: visible;
}

/*------------------ SIDE MENU -----------------------*/
.side-menu {
  position: fixed;
  top: 0;
  width: 300px; /* width of sidebar menu */
  max-width: 100vw; /* doesn't shrink as vw shrinks */
  height: 100vh; /* takes up the whole screen vertically */
  background: linear-gradient(to bottom, rgba(6, 6, 6, 0.8), rgba(10, 20, 17, 1));
  opacity: 0; /* fades into view */
  left: -300px; /* slides in from the left */
  transition: left 0.5s ease-in-out, opacity 0.5s ease; 
  z-index: 500;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
  .side-menu.open { 
    left: 0; 
    opacity: 1;
    box-shadow: 0 0 22px rgba(243, 245, 240, 0.22);
  } 

/*------------------ TOP LEVEL CLICKABLE MENU ITEMS -------------------*/
.nav-menu-items{
  flex: 1; /* expands to take up leftover space below spacebar */
  overflow-y: auto; /* makes list scrollable when too many items */
  margin-right: 10px; /* gap between scrollbar and right edge of sidebar */
  margin-top: 1rem; /* gap between menu items and search bar */
  box-sizing: content-box; 
  padding-right: 10px; /* space between menu items and scrollbar */
  overscroll-behavior: contain; /* scrolling to bottom of menu won't trigger scrolling of whole page */
}

.nav-menu-items ul {
  list-style-type: none; /* no bullet points or numbering */
  padding: 0px;
  margin-right:0px; 
  margin-left:0px;
  overflow: hidden; /* if menu items get too long (i.e. single word) and can't get moved to next line, they get cut off */
}

.nav-menu-items ul li a {
  color: var(--menu-item-colour); /* text colour of links */
  text-decoration: none; /* no underline */
  font-size: 0.95rem; /* font size */
  line-height: 1rem; /* spacing between adjacent lines of text (i.e. when menu item wraps onto next line) */
  transition: color 0.3s ease, font-weight 0.1s ease, transform 0.3s ease-in-out;
  display: block;
  position:relative;
  padding-left: 30px; /* horizontal gap between menu items and left screen edge */
  padding-top:0.5rem; /* gap between menu items vertically */
  padding-bottom: 0.5rem; /* gap between menu items vertically */
  padding-right: 10px;
  background-color: transparent;
  user-select: none;
}

/* Set the default AND visited color */
.nav-menu-items ul li a:link,
.nav-menu-items ul li a:visited {
    color: var(--menu-item-colour); /* Sets text to white */
}

.nav-menu-items ul li a:hover {
  background-color: rgba(255,255,255,0.1); /* background lights up when hovering */
}

.nav-menu-items ul li.current-menu-item a {
  color: var(--system-primary-colour) !important; /* currently selected menu item for page has different colour */
  font-weight: bold !important; /* Currently selected menu item is bold */

}

/*------------------ TOP LEVEL NON-CLICKABLE MENU ITEMS ---------------- */

.menu-item-has-children.no-click a {
  color: var(--menu-item-colour); /* Like other menu items, white in colour */
  text-decoration: none; /* Like other menu items, no underline or other decorations */
  font-size: 0.95rem;
  line-height: 1rem;
  padding-left: 30px;
  padding-right: 10px;
  padding-top:0.5rem;
  padding-bottom:0.5rem;
  background-color: transparent;
  user-select: none;
}

.menu-item-has-children.no-click:hover a {
  color:var(--menu-item-colour); /* Hovering over the menu item should keep it white (otherwise defaults to gray) */
  background-color: rgba(255,255,255,0.1); /* background gets lit up when hovering, like other menu items */
}

.menu-item-has-children > a::before {
  content: '\f078'; /* FontAwesome chevron-down */
  font-family: 'FontAwesome';
  font-size: 0.75rem; /* Size of chevron */
  color: var(--menu-item-colour);
  margin-left: -20px; /* Offset chevron to the left into the negative space */
  float: left; /* Float the chevron to the left */
  transition: transform 0.3s ease-in-out; /* Smooth flip transition */
}

/* Flip the chevron when the parent menu item is active */
.menu-item-has-children.active > a::before {
  transform: rotateX(180deg); /* Flip the chevron */
  color: var(--system-primary-colour); /* Change the colour to red */
}

/* ------------ SUB ELEMENTS OF CLICKABLE ITEMS -------------- */

.nav-menu-items .menu-item-has-children .sub-menu {
  max-height: var(--submenu-starting-height, 0px); /* Initially hide submenu */
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.nav-menu-items .menu-item-has-children.active .sub-menu {
  max-height: var(--submenu-height, 1000px);;
}


.nav-menu-items ul li .sub-menu li a{
  color: #dddddd; 
  text-decoration: none;
  font-size: 0.90rem;
  line-height: 1rem;
  transition: color 0.3s ease, font-weight 0.1s ease;
  display: block;
  position:relative;
  padding-left: 60px;
  padding-top:0.3rem;
  padding-bottom: 0.3rem;
  background-color: transparent !important;
  user-select: none;
}

.nav-menu-items ul li .sub-menu li a:link,
.nav-menu-items ul li .sub-menu li a:visited {
    color: #dddddd; /* Your intended light-gray color */
}

.nav-menu-items ul li .sub-menu li a:hover {
  color:var(--menu-item-colour); 
  background-color: rgba(255,255,255,0.15) !important; 
}

/* ------------ DECORATIONS FOR ACTIVE MENU ITEMS -------------- */
.nav-menu-items ul li a::after {
  content: ''; 
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); 
  width: 0;
  height: 100%;
  background-color: var(--system-primary-colour-darker); 
  transition: width 0.3s ease; 
}

.nav-menu-items ul li a.active::after,
.nav-menu-items ul li.current-menu-item a::after {
  width: 5px; 
} 

/* ----------------------- SCROLLBAR STYLING ---------------------- */
.nav-menu-items::-webkit-scrollbar {
  width: 10px; /* Width of the scrollbar */
  height: 10px; /* Height of the scrollbar, for horizontal bars */
}

.nav-menu-items::-webkit-scrollbar-track {
  background: transparent;
}

.nav-menu-items::-webkit-scrollbar-thumb {
  background: var(--system-primary-colour-darker); /* Color of the thumb */
  border-radius: 10px; /* Rounded corners for the thumb */
}

/* Scrollbar handle on hover */
.nav-menu-items::-webkit-scrollbar-thumb:hover {
  background: var(--system-primary-colour); 
}


/*----------------------------------------------------- */
/*--------------------NAV SEARCH MENU------------------ */
/*----------------------------------------------------- */


/*------------------ NAV SEARCH CONTAINER -------------------*/
.nav-search-container {
  margin-top: var(--stickyheader-height, 120px);
  padding: 20px 30px 10px 30px; /* padding around search bar */

}

.nav-search-bar-container {
  position:relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  z-index: 600;
  user-select: none;
}


/* Search form styling */
.nav-search-form {
  position: relative;
  width: 100%;
}

/* Search input styling */
.nav-search-input {
  width: 100%;
  padding: 0.4rem 2.2rem 0.4rem 0.8rem; /* Add padding for the icon */
  border: none;
  border-radius: 1.5rem; /* Makes the corners rounded */
  background-color: var(--system-background-colour);
  color: #999;
  font-size: 0.9rem;
  font-family: 'Roboto', sans-serif; /* Use Roboto font */
  font-weight: 300; /* Set the font weight to Light */
  outline: none; /* Remove outline on focus */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
  opacity: 1;
  transition: outline 0.1s ease-out, opacity 0.3s ease, background-color 0.3s ease, width 0.3s ease, transform 0.3s ease;
  transform-origin: right;
}

.nav-search-input:hover{
  opacity:1;
  background-color: white;
  color: #777;
}

.nav-search-input.hovered {
  opacity: 1 !important; /* Ensures it is not overridden */
  background-color: white !important;
  color: #777 !important;
}

.nav-search-input:focus{
  opacity:1;
  background-color: white !important;
  color: #777 !important;
  outline: 4px solid rgba(var(--system-secondary-colour), 0.8);
}

/* Search icon styling */
.nav-search-icon {
  position: absolute;
  right: 0.65rem; /* Adjust position of the icon */
  top: 50%;
  transform: translateY(-50%);
  background:none;
  border:none;
  color: #888; /* Icon color */
  cursor: pointer; /* Change cursor to pointer for clickable effect */
  padding:0;
  opacity: 1;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-search-icon i {
  font-size: 1.2rem;
}

.nav-search-icon:hover{
  color: var(--system-secondary-colour);
  background-color: transparent;
  background: none;
}

.nav-search-icon.only{
  color:white;
}

.nav-search-icon.hide{
  opacity: 0;
  transition: color 0.3s ease;
}

.nav-search-icon.hide:hover{
  color: var(--system-secondary-colour);
  background-color: transparent;
  background: none;  
}

/*----------------------------------------------------- */
/*--------------------HAMBURGER ICON------------------- */
/*----------------------------------------------------- */

.hamburger-box {
  width: 35px;
  height: 40px;
  display: inline-block;
  position: relative; 
  z-index: 1000;
}

.hamburger {
  padding-right: 15px;
  padding-left: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  text-transform: none;
  background-color: transparent;
  opacity:1;
  border: 0;
  margin: 0;
  overflow: visible; }
  .hamburger:hover {
    opacity: 1; }
  .hamburger:hover .hamburger-inner,
  .hamburger:hover .hamburger-inner::before,
  .hamburger:hover .hamburger-inner::after {
    background-color: var(--system-secondary-colour); /* Hover colour */
  }
  .hamburger.is-active:hover {
    opacity: 1; }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: var(--hamburger-hover-background-color, var(--system-primary-colour-darker)); } /* Active state colour */


.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: white; /* Baseline colour */
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: ""; display: block; }
  .hamburger-inner::before {
    top: -10px; }
  .hamburger-inner::after {
    bottom: -10px; }

/*
   * Spin
   */
.hamburger--spin .hamburger-inner {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  .hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in; }
  .hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--spin.is-active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  .hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out; }
  .hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }


/*----------------------------------------------------- */
/*-------------------------LOGO------------------------ */
/*----------------------------------------------------- */

.logo-menu-container {
  position:absolute;
  left:20px;
  display: flex;
  align-items: center;
  height:100%;
  z-index: 600;
  user-select: none;
}

/* Logo Styling */
.logo img {
	max-height:var(--logo-height, 100px);
	width:auto;
	height:auto;
}

.logo{
    opacity:1;
  transition: 0.3s ease-out;
}

.logo.hide{
	opacity:0;
  pointer-events: none;
  
}

/*----------------------------------------------------- */
/*------------------PAGE TITLE STYLING----------------- */
/*----------------------------------------------------- */
.sticky-header .page-title {
  margin: 0 auto;
  text-align: center;
  display: block;
  white-space: normal;
  
}

.sticky-header .page-title p {
  color: white;
  max-width: max(30vw,55%);
  margin: 0 auto;
  margin-top: 0px;
  margin-bottom: 0px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: lighter;
  opacity: 0;
  text-align: center;
  transition: opacity 0.2s ease-in-out;
  user-select: none;
}

.sticky-header .page-title p.hide{
	opacity:0 !important;
}

/*----------------------------------------------------- */
/*----------------------SEARCH MENU-------------------- */
/*----------------------------------------------------- */


.search-bar-container {
  position:absolute;
  right:0px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin:20px;
  max-width: 400px;
  z-index: 201;
  user-select: none;
}


/* Search form styling */
.search-form {
  position: relative;
  width: 100%;
}

/* Search input styling */
.search-input {
  width: 100%;
  padding: 0.3rem 1.8rem 0.3rem 0.8rem; /* Add padding for the icon */
  border: none;
  border-radius: 1.2rem; /* Makes the corners rounded */
  background-color: var(--system-background-colour);
  color: #999;
  font-size: 0.8rem;
  font-family: 'Roboto', sans-serif; /* Use Roboto font */
  font-weight: 300; /* Set the font weight to Light */
  outline: none; /* Remove outline on focus */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
  opacity: 1;
  transition: opacity 0.3s ease, background-color 0.3s ease, width 0.3s ease, transform 0.3s ease;
  transform-origin: right;
}

.search-input:hover{
	opacity:1;
  background-color: white;
  color: #777;
}

.search-input.hovered {
  opacity: 1 !important; /* Ensures it is not overridden */
  background-color: white !important;
  color: #777 !important;
}

.search-input:focus{
	opacity:1;
  background-color: white !important;
  color: #777 !important;
}

.search-input.hide{
	opacity:0;
	transform: scaleX(0);
	pointer-events: none;
}

/* Search icon styling */
.search-icon {
  position: absolute;
  right: 0.5rem; /* Adjust position of the icon */
  top: 45%;
  transform: translateY(-50%);
  background:none;
  border:none;
  color: #888; /* Icon color */
  cursor: pointer; /* Change cursor to pointer for clickable effect */
  padding:0;
  opacity: 1;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.search-icon i {
	font-size: 1rem;
}

.search-icon:hover{
	color: var(--system-secondary-colour);
  background-color: transparent;
  background: none; 
}

.search-icon.hovered{
    color: var(--system-secondary-colour) !important;
}


.search-icon.only{
	color:white;
}

.search-icon.hide{
	opacity: 0;
	transition: color 0.3s ease;
}

.search-icon.hide:hover{
	color: var(--system-secondary-colour);
  background-color: transparent;
  background: none; 
}

/*----------------------------------------------------- */
/*--------------------CONTENT STYLING------------------ */
/*----------------------------------------------------- */
.page-wrap{
	padding:1rem;
  background-color: transparent;
}

/*----------------------------------------------------- */
/*---------------------FOOTER STYLING------------------ */
/*----------------------------------------------------- */
.footer {
  background: linear-gradient(to right, rgba(54, 14, 14,0.05), rgba(15, 108, 57, 0.15));
  color: white;
  text-align: center;
  padding: 1rem;
  z-index: 150;
}