* === HTML SETTINGS === */
html {
	font-size: 16px;
    letter-spacing: 0.5px;
    text-rendering: optimizeLegibility;
}
/* mobile devices */
@media only screen and (max-width: 767.98px) {
	html {
		font-size: 16px;
	}
}
/* Tablet  */
@media (min-width: 768px) and (max-width: 1199.98px) {
	html {
		font-size: 16px;
	}
}
html, body { 
	height:100%; 
} 
hr {
	color: var(--body-borders);
	background-color: var(--body-borders);
	border:none;
	height: 1px;
}
body {
	color: var(--body-color);
	background: var(--body-bg);
	position: relative;
	font-weight:400;
	line-height: 1.7;
	font-family: var(--font-body);
}
a {
	color: var(--brand-color1);
}
a:hover {
	color: var(--headings-color);
}
a,
a:hover,
.fancybox-caption:hover {
	text-decoration:none;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	color: var(--headings-color);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .counter-number, .testimonial-content, .pricing-price, .prod-price {
	font-family: var(--font-headings);
	font-weight:500;
}
.navbar .nav-item, .dropdown-menu, .dropdown-menu, .banner-copy h3 {
	font-family: var(--font-body);
	font-weight:400;
}
h1 + div {
  padding-top: 0.5em;
}
h2 + div {
  padding-top: 0em;
}
h2 + ul {
  padding-top: 1em;
}
h3 + ul {
  padding-top: 0.75em;
}
h3 + div {
  padding-top: 0.75em;
}
h1 + p, ul + h2, p + h2, ul + h3, p + h3, ul + h4, p + h4, ul + h5, p + h5 {
  padding-top: 1em;
}
mark {
	font-weight:700;
	background-color: yellow;
	color: black;
}
img{ 
	border: 0pt; 
}
.img-shadow, .img-shadow img {
    border-radius: 3px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.2) !important;
}
section {
	width: 100%;
	display:block;
}

/* === BOOTSTRAP OVERRIDES === */
.btn,
button,
a.btn {
  -webkit-tap-highlight-color: transparent;
}
.btn,
button,
[role="button"] {
    touch-action: manipulation;
}
.btn {
    display: inline-flex;              /* key for icon alignment */
    align-items: center;               /* vertical centering */
    width: auto;
    font-size: 0.875rem;
    letter-spacing: 0px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: 0.3rem 1.5rem;
    border-radius: 999px;              /* pill shape */
    transition: all .5s;
}
/* Desktop */
@media (min-width: 1200px) {
  .btn {
      font-size: 0.9375rem;
      letter-spacing: 1px;
      padding: 0.5rem 1.75rem;
  }
}
.btn-primary {
	color: var(--brand-color1);
	background-color: transparent;
	border: 2px solid var(--brand-color1);
}
/* Hover + keyboard focus */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active {
	color: var(--white);
	background-color: var(--brand-color1);
	border: 2px solid var(--brand-color1);
}
.btn-outline-primary {
	color: var(--brand-color2);
	background-color: transparent;
	border: 2px var(--brand-color2) solid;	
}
.btn-outline-primary:hover, 
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible, 
.btn-outline-primary:active {
	color: var(--white);
	background-color: var(--brand-color2);
	border: 2px var(--brand-color2) solid;	
}
.dark-btn .btn-primary,
.dark-btn .btn-outline-primary {
  color: var(--white);
  background-color: transparent;
  border: 2px solid var(--white);
}
/* Hover + keyboard focus */
.dark-btn .btn-primary:hover,
.dark-btn .btn-primary:focus,
.dark-btn .btn-primary:focus-visible,
.dark-btn .btn-primary:active {
  color: var(--brand-color1);
  background-color: var(--white);
  border: 2px var(--white) solid;  
}
.dark-btn .btn-outline-primary:hover, 
.dark-btn .btn-outline-primary:focus,
.dark-btn .btn-outline-primary:focus-visible, 
.dark-btn .btn-outline-primary:active {
  color: var(--brand-color2);
  background-color: var(--white);
  border: 2px var(--white) solid;  
}
.btn-primary:disabled {
	border: 1px solid #b6b6b6;
	background-color: #eaeaea;
	color: #999;
}
.btn-info:hover, 
.btn-info:focus,
.btn-info:focus-visible, 
.btn-info:active {
	color: var(--white);
}
.accordion .accordion-item {
  border: none;
}
.accordion .accordion-header {
  position: relative;
  padding: .25rem 1rem;
  background-color: rgba(var(--brand-color2-rgb), .03);
}
.accordion .accordion-button {
  font-size: 1.25rem;
  font-weight: 500;
  background: transparent;
  box-shadow: none;
  border: 0;
}
.accordion .accordion-header .accordion-button {
	color: var(--headings-color);
}
.page-item.active .page-link {
	color: var(--brand-color2);
	background-color: var(--brand-color1);
	border: 1px var(--brand-color1) solid;
}
.page-item .page-link {
	color: var(--headings-color);
}

/* === PRINT SETTINGS === */
.noprint {	
}
.print { display: none !important; visibility: hidden !important; }

/* === IMAGE ALIGNMENT === */
:is(.pictureright, .pictureRight, .pictureleft, .pictureLeft) {
    display: block;
    float: none;
    margin: 1rem auto;
}
:is(.pictureright, .pictureRight, .pictureleft, .pictureLeft) img,
.imgmax img {
    display: block;
    max-width: 100%;
    height: auto;
}
@media (min-width: 576px) {
    :is(.pictureright, .pictureRight) {
        float: right;
        display: inline;
        margin: 0 0 0 1rem;
        max-width: 50%;
    }

    :is(.pictureleft, .pictureLeft) {
        float: left;
        display: inline;
        margin: 0 1rem 0 0;
        max-width: 50%;
    }
}

/* === DESKTOP / TABLET / MOBILE OPTIONS === */
.mobile-menu-only {
    display: block;
}
#srchouter {
    display: none;
}
.widget-area .row,
#maincontent .row,
#quicklink1 .row,
#counters .row,
#gallerybar .row,
#cta1 .row,
.container-fluid .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}
/* Tablet portrait and above */
@media (min-width: 768px) {
    #srchouter {
        display: block;
    }
    .mobile-menu-only {
        display: none;
    }
}
/* Desktop and above */
@media (min-width: 1200px) {
    .widget-area .row,
    #maincontent .row,
    #quicklink1 .row,
    #counters .row,
    #gallerybar .row,
    #cta1 .row {
        margin-right: calc(-0.5 * var(--bs-gutter-x));
        margin-left: calc(-0.5 * var(--bs-gutter-x));
    }
}

/* === TABLE SETTINGS === */
table .w-10 { width:10%; }
table .w-15 { width:15%; }
table .w-20 { width:20%; }
table .w-30 { width:30%; }
table .w-40 { width:40%; }
table .w-50 { width:50%; }
table .w-60 { width:60%; }
table .w-70 { width:70%; }
table .w-80 { width:80%; }
table .w-90 { width:90%; }

/* responsive table */
@media only screen and (max-width: 767px) {
	.responsive table,
	.responsive thead,
	.responsive tbody,
	.responsive th,
	.responsive td,
	.responsive tr { 
		display: block; 
	}	
	/* Hide table headers (but not display: none;, for accessibility) */
	.responsive thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}	
	.responsive tr { 
		border: none;
	}	
	.responsive td { 
		/* Behave  like a "row" */
		border: none;
		position: relative;
		padding-left: 0%; 
	}
	.responsive tr {
		border-bottom-width: 1px;
		border-bottom-style: dotted;
		border-bottom-color: #eaeaea;
	}
	.responsive td {
		background-color:#fff;
	}	
	.responsive td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}		
}

/* === ACCESSIBILITY === */
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* === MENUS === */

/* ==================================================
   Primary navigation
================================================== */

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.primary-navigation__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem 1.25rem;
}

.primary-navigation__list li {
  position: relative;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.2;
}

.primary-navigation__list a {
  position: relative;
  display: block;
  padding: 0.75rem 0.125rem;
  color: var(--brand-color2);
  text-decoration: none;
  transition: color 0.25s ease;
}

.primary-navigation__list a::after {
  position: absolute;
  right: 12.5%;
  bottom: 0.25rem;
  left: 12.5%;
  height: 2px;
  content: "";
  background-color: var(--brand-color1);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.primary-navigation__list a:hover,
.primary-navigation__list a:focus,
.primary-navigation__list .active > a {
  color: var(--brand-color2);
}

.primary-navigation__list a:hover::after,
.primary-navigation__list a:focus::after,
.primary-navigation__list .active > a::after {
  transform: scaleX(1);
}

/* ==================================================
   Main menu
================================================== */

.header-menu {
  position: relative;
  z-index: 3000;
  width: 100%;
  background-color: var(--body-bg);
}
/* Tablet portrait and above */
@media (min-width: 768px) {
  .header-menu {
    border-top: 1px solid rgba(var(--brand-color1-rgb), 0.2);
  }
}

.header-menu .navbar {
  position: relative;
  width: 100%;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
}

.header-menu .navbar-collapse {
  position: relative;
  z-index: 3010;
}

.header-menu .navbar-nav {
  align-items: stretch;
  justify-content: center;
  width: 100%;
}


/* ==================================================
   Parent menu items
================================================== */

.header-menu .nav-item {
  position: relative;
}

.header-menu .nav-item__row {
  display: flex;
  align-items: center;
  height: 100%;
  border-radius: 0;
}

.header-menu .navbar-nav > .nav-item > .nav-item__row {
  transition: background-color 0.25s ease;
}

.header-menu .navbar-nav > .nav-item:hover > .nav-item__row,
.header-menu .navbar-nav > .nav-item:focus-within > .nav-item__row {
  background-color: rgba(var(--brand-color2-rgb), 0.2);
}

.header-menu .navbar-nav > .nav-item > .nav-item__row > .nav-link {
  display: flex;
  align-items: center;
  min-height: 3.75rem;
  margin: 0;
  padding: 0.9rem 0.9rem;
  color: var(--brand-color2);
  line-height: 1.2;
  text-decoration: none;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

.header-menu .navbar-nav > .nav-item > .nav-item__row > .nav-link:hover,
.header-menu .navbar-nav > .nav-item > .nav-item__row > .nav-link:focus,
.header-menu .navbar-nav > .nav-item > .nav-item__row > .nav-link.active {
  color: var(--brand-color2);
}

.header-menu .navbar-nav > .nav-item > .nav-item__row > .nav-link.active {
  font-weight: 600;
}


/* ==================================================
   Desktop / tablet dropdown indicator
================================================== */

.nav-dropdown-indicator {
  align-items: center;
  justify-content: center;
  margin-right: 0.85rem;
  margin-left: -0.45rem;
  color: var(--brand-color2);
  pointer-events: none;
}

.nav-dropdown-indicator i {
  font-size: 0.75rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.header-menu .dropdown:hover .nav-dropdown-indicator i,
.header-menu .dropdown:focus-within .nav-dropdown-indicator i {
  transform: rotate(180deg);
}


/* ==================================================
   Dropdown menus
================================================== */

.header-menu .dropdown-menu {
  min-width: 16rem;
  margin: 0;
  padding: 0.4rem 0;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background-color: var(--brand-color2);
  box-shadow: 0 0.75rem 2rem rgba(var(--black-rgb), 0.12);
  z-index: 3100;
}

.header-menu .dropdown-menu li {
  position: relative;
}

.header-menu .dropdown-menu .dropdown-item {
  display: block;
  width: 100%;
  padding: 0.7rem 1.25rem;
  color: var(--white);
  background-color: transparent;
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: normal;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.header-menu .dropdown-menu .dropdown-item:hover,
.header-menu .dropdown-menu .dropdown-item:focus,
.header-menu .dropdown-menu .dropdown-item.active,
.header-menu .dropdown-menu .active > .dropdown-item {
  color: var(--white);
  background-color: var(--brand-color1);
}


/* ==================================================
   Nested dropdown
================================================== */

.header-menu .dropdown-submenu {
  position: relative;
}

.header-menu .dropdown-submenu__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-menu .dropdown-submenu__parent i {
  flex: 0 0 auto;
  font-size: 0.75rem;
}


/* ==================================================
   Tablet + desktop
   768px and wider
================================================== */

@media (min-width: 768px) {

  .header-menu .navbar-nav {
    margin-top: -1px;
  }

  .header-menu .navbar-nav > .nav-item {
    align-self: stretch;
    margin-inline: 0.15rem;
  }

  .header-menu .navbar-nav > .nav-item > .nav-item__row {
    align-self: stretch;
    height: 100%;
  }

  .header-menu .navbar-nav > .nav-item > .nav-item__row > .nav-link {
    height: 100%;
  }

  /*
   * Ensure the Bootstrap collapse behaves as a normal
   * expanded navbar from md upwards.
   */
  .header-menu .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .header-menu .navbar-nav {
    flex-direction: row;
  }

  /*
   * Hide hamburger from tablet upwards.
   */
  .header-menu .navbar-toggler {
    display: none !important;
  }

  /*
   * Desktop/tablet dropdowns overlay the content below.
   */
  .header-menu .dropdown > .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
  }

  .header-menu .dropdown:hover > .dropdown-menu,
  .header-menu .dropdown:focus-within > .dropdown-menu {
    display: block;
  }

  .header-menu .dropdown-submenu > .dropdown-menu {
    position: absolute;
    top: -0.4rem;
    left: 100%;
    display: none;
  }

  .header-menu .dropdown-submenu:hover > .dropdown-menu,
  .header-menu .dropdown-submenu:focus-within > .dropdown-menu {
    display: block;
  }

  /*
   * Pages assigned to the separate primary navigation
   * only appear inside the collapsed mobile menu.
   */
  .header-menu .mobile-menu-only {
    display: none;
  }
}


/* ==================================================
   Mobile hamburger
================================================== */

.header-menu .navbar-toggler {
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0.5rem auto;
  padding: 0;
  border: 1px solid var(--brand-color2);
  border-radius: 50%;
  color: var(--white);
  background-color: var(--brand-color2);
  box-shadow: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.header-menu .navbar-toggler:hover,
.header-menu .navbar-toggler:focus {
  color: var(--brand-color2);
  border-color: var(--brand-color2);
  background-color: var(--white);
  box-shadow: none;
}

.header-menu .navbar-toggler-icon {
  width: 1.35rem;
  height: 1.35rem;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23fcfcf7' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.header-menu .navbar-toggler:hover .navbar-toggler-icon,
.header-menu .navbar-toggler:focus .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%231f566a' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* ==================================================
   Mobile dropdown toggle
================================================== */

.nav-dropdown-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 3.25rem;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(var(--brand-color2-rgb), 0.1);
  color: var(--brand-color2);
  background-color: transparent;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus {
  color: var(--white);
  background-color: var(--brand-color2);
  outline: 0;
}

.nav-dropdown-toggle i {
  font-size: 0.8rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}


/* ==================================================
   Mobile only
   Below 768px
================================================== */

@media (max-width: 767.98px) {

  .header-menu .navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 4rem;
  }

  .header-menu .navbar-toggler {
    display: inline-flex;
  }

  .header-menu .navbar-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    background-color: var(--body-bg);
    box-shadow: 0 1rem 2rem rgba(var(--black-rgb), 0.12);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .header-menu .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-block: 0.5rem;
  }

  .header-menu .nav-item {
    width: 100%;
  }

  .header-menu .nav-item__row {
    width: 100%;
  }

  .header-menu .navbar-nav > .nav-item:not(:last-child) {
    border-bottom: 1px solid rgba(var(--brand-color2-rgb), 0.1);
  }

  .header-menu .navbar-nav > .nav-item > .nav-item__row > .nav-link {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 3.25rem;
    padding: 0.85rem 1rem;
  }

  .header-menu .navbar-nav > .nav-item:hover > .nav-item__row,
  .header-menu .navbar-nav > .nav-item:focus-within > .nav-item__row {
    background-color: rgba(var(--brand-color2-rgb), 0.12);
  }

  /*
   * Mobile dropdowns are part of the normal document flow.
   */
  .header-menu .dropdown > .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    padding-block: 0.25rem;
    border-radius: 0;
    box-shadow: none;
  }

  .header-menu .dropdown > .dropdown-menu.show {
    display: block;
  }

  .header-menu .dropdown-menu .dropdown-item {
    padding: 0.7rem 1rem 0.7rem 2rem;
  }

  /*
   * Blog archive remains expanded within the mobile
   * dropdown rather than introducing another toggle.
   */
  .header-menu .dropdown-submenu > .dropdown-menu {
    position: static;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    background-color: rgba(var(--black-rgb), 0.12);
    box-shadow: none;
  }

  .header-menu .dropdown-submenu > .dropdown-menu .dropdown-item {
    padding-left: 3rem;
  }

  .header-menu .dropdown-submenu__parent i {
    transform: rotate(90deg);
  }
}

/* === FOOTER MENU === */
ul.menufooter {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
}
.menufooter li {
  padding: 0 0 0.75rem 0;
  position:relative;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.menufooter li a {
  color: var(--body-color);
}
.menufooter li a:hover {
  color: var(--brand-color2);
}
.menufooter li a, .menufooter li a:hover {
  text-decoration:none;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

/* === SITE MAP MENU === */
ul.treeMenu {
	margin-left: 0;
	padding-left: 0;
}
ul.treeMenu > li > ul > li,
ul.treeMenu > li > ul > li > ul > li {
	border-left: 1px dotted var(--body-borders);
}
ul.treeMenu li {
	color: var(--body-color);	
	padding: 0.666rem 0 0 1rem;
	margin-left: 0px;
	list-style-type: none;
	background-image: none !important;
}
ul.treeMenu li::before {
	display: none;
}
ul.treeMenu li i {	
	padding-right: 0.5rem;
}
ul.treeMenu li ul {
	margin-top: .25rem;
	margin-bottom: 0.666rem;
	margin-left: 0.666rem;
	padding-left: 0.666rem;
}
ul.treeMenu li a, 
ul.treeMenu li a:hover {
	color: var(--body-color);
	font-weight: normal;
	text-decoration:none;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}


/* === SOCIAL NETWORKING ICONS === */
ul.social-media-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.5rem;
  list-style: none;
}
/* Tablet portrait and above */
@media (min-width: 768px) {
  ul.social-media-list {
    justify-content: right;
  }
}
ul.social-media-list li {
  margin: 0;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--brand-color1);
  color: var(--white) !important;
  border-radius: 50%;
  text-decoration: none;
  transition: 
    transform .25s ease,
    background .3s ease,
    border-radius .3s ease;
}
.social-link i {
  color: var(--white) !important;
  font-size: 1rem;
  line-height: 1;
}
.social-link i:hover,
.social-link:hover,
.social-link:hover i,
.social-link:focus {
  color: #fff !important;
}
.social-link:hover {
  background: var(--social-hover, #333);
  border-radius: 50%;
  transform: scale(1.08);
}

/* === SHARING SOCIAL ICONS === */
ul.sharing-socials{
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: .4rem;
  flex-wrap: wrap;
}

ul.sharing-socials li{
  list-style: none;
  margin: 0;
  padding: 0;
}
/* links + button share the same base styles */
.sharing-socials a,
.sharing-socials button{
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-block;
}

/* icon bubble */
.sharing-socials a::before,
.sharing-socials button::before{
  display: block;
  text-align: center;
  font-size: 1rem;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  border-radius: 50%;
  transition: all .5s;
  background: #D3D3D3;
  color: #fff;
}
/* brand icons */
.sharing-socials a[href*="facebook.com"]::before{
  font-family: var(--font-icon-brands);
  content: "\f39e";
}
.sharing-socials a[href*="facebook.com"]:hover::before{
  background: #3b5998;
}
.sharing-socials a[href*="pinterest.com"]::before{
  font-family: var(--font-icon-brands);
  content: "\f231";
}
.sharing-socials a[href*="pinterest.com"]:hover::before{
  background: #bd081c;
}
.sharing-socials a[href*="twitter.com"]::before,
.sharing-socials a[href*="x.com"]::before{
  font-family: var(--font-icon-brands);
  content: "\e61b"; /* ensure this matches your FA version */
}
.sharing-socials a[href*="twitter.com"]:hover::before,
.sharing-socials a[href*="x.com"]:hover::before{
  background: #000;
}
/* email + print */
.sharing-socials a.emailsocial::before{
  font-family: var(--font-icons);
  content: "\f0e0";
  font-weight: 700;
}
.sharing-socials a.emailsocial:hover::before{
  background: var(--brand-color1);
}
.sharing-socials button.printsocial::before{
  font-family: var(--font-icons);
  content: "\f02f";
  font-weight: 700;
}
.sharing-socials button.printsocial:hover::before{
  background: var(--brand-color1);
}
.sharing-socials a:hover::before,
.sharing-socials button:hover::before{
  border-radius: 0;
}

/* === FORM VALIDATION === */
.was-validated .radio-group:has(.form-check-input:invalid) .invalid-feedback {
  display: block;
}
.was-validated .radio-group:has(.form-check-input:valid) .invalid-feedback {
  display: none;
}

/* === RESPONSIVE EMBEDDED VIDEO === */
.embed-container, .video-responsive { 
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}
.embed-container iframe, .embed-container object, .embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.video-responsive iframe, .video-responsive object, .video-responsive embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ==================================================
   Header
================================================== */

.site-header {
  position: relative;
  z-index: 50;
  background-color: var(--body-bg);
  isolation: isolate;
}
/* Tablet portrait and above */
@media (min-width: 768px) {
  .site-header-no-banner {
    border-bottom: 1px solid rgba(var(--brand-color1-rgb), 0.2);
  }
}


/* ==================================================
   Header top bar
================================================== */

.header-topbar {
  padding-block: 0.5rem;
  color: var(--white);
  background-color: var(--brand-color1);
}

.header-topbar .row {
  min-height: 2rem;
}


/* ==================================================
   Header contact details
================================================== */

.site-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0rem 1.75rem;
}

.site-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.site-contact__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  line-height: 1;
}

.site-contact__icon i {
  font-size: 0.925rem;
  line-height: 1;
}

.site-contact__link {
  overflow-wrap: anywhere;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.site-contact__link:hover,
.site-contact__link:focus {
  color: var(--white);
  opacity: 0.75;
}


/* ==================================================
   Main header row
================================================== */

.header-main {
  padding-block: 1.5rem;
  background-color: var(--body-bg);
}

.header-main .row {
  min-height: calc(var(--logo-height) + 1rem);
}


/* ==================================================
   Logo
================================================== */

.logo__link {
  display: inline-block;
}

.logo img {
  display: block;
  width: auto;
  max-height: var(--logo-height);
  margin-inline: auto;
}

.site-title {
  font-family: var(--font-headings);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.site-title a {
  color: var(--brand-color2);
  text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
  color: var(--brand-color1);
}

.site-description {
  margin-top: 0.25rem;
  color: var(--muted-color);
  font-size: 0.875rem;
}

/* ==================================================
   Header call to action
================================================== */

.header-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
}


/* ==================================================
   Header search
================================================== */

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.header-search-form {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
}

.header-search-form.is-visible {
  display: flex;
}

.header-search-input.form-control {
  width: 220px;
  min-height: 2.5rem;
  border: 1px solid rgba(var(--white-rgb), 0.8);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  color: var(--body-color);
  background-color: var(--white);
  box-shadow: none;
}

.header-search-input.form-control::placeholder {
  color: var(--muted-color);
  opacity: 0.75;
}

.header-search-input.form-control:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 0.2rem rgba(var(--white-rgb), 0.2);
}

.header-search-toggle,
.header-search-submit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background-color: transparent;
  line-height: 1;
  transition:
    color 0.25s ease,
    background-color 0.25s ease;
}

.header-search-toggle:hover,
.header-search-toggle:focus,
.header-search-toggle:focus-visible,
.header-search-submit:hover,
.header-search-submit:focus,
.header-search-submit:focus-visible {
  color: var(--brand-color1);
  background-color: var(--white);
  outline: 0;
}

.header-search-toggle i,
.header-search-submit i {
  font-size: 1rem;
  line-height: 1;
}


/* ==================================================
   Tablet and mobile
================================================== */

@media (max-width: 991.98px) {

  .header-main {
    padding-block: 1.25rem;
  }

  .header-main .row {
    min-height: 0;
  }
}


/* ==================================================
   Mobile header
================================================== */

@media (max-width: 767.98px) {

  .header-topbar {
    padding-block: 1rem;
  }

  .site-contact {
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
  }

  .site-contact__item {
    justify-content: center;
  }

  .header-search {
    width: 100%;
    justify-content: center;
  }

  .header-cta {
    justify-content: center;
  }

  .header-cta .btn {
    margin-top: 0.25rem;
  }

  /*
   * The search field is permanently visible on mobile.
   */
  .header-search-toggle {
    display: none;
  }

  .header-search-form,
  .header-search-form.is-visible {
    display: flex;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .header-search-input.form-control {
    width: 100%;
  }

  .header-main {
    padding-block: 1.5rem;
  }

  .logo img {
    max-height: var(--logo-height);
  }

  .header-cta {
    margin-top: 0.5rem;
  }
}


/* ==================================================
   Very narrow mobile
================================================== */

@media (max-width: 399.98px) {

  .site-contact__item {
    width: 100%;
  }

  .site-contact__link {
    font-size: 0.9375rem;
  }

  .header-cta .btn {
    width: 100%;
    max-width: 280px;
  }
}


/* === FOOTER === */
#footer {
  border-top: 1px solid rgba(var(--brand-color1-rgb), 0.2);
	position: relative;
}
#footer h3 {
	color: var(--footer-headings-color);
    margin: 0 0 1.5625rem;
}
#footer p {
	color: var(--brand-color2);
}
#footer i {
	color: var(--brand-color1);
}
#footer span {
	color: var(--brand-color1);
    display: inline-block;
    margin-right: 0.625rem;
    font-size: 1rem;
}
.site-copyright {
	font-size: 0.8125rem;
}
.site-copyright,
.site-copyright a {
	color: var(--footer-headings-color);
}
.footercol1 img  { 
	max-width: 100%;
	height: auto;
}


/* === GO TO TOP === */
.go-top {
	position: fixed !important;
	right: 20px;
	bottom: -45px;
	width: 40px;
	height: 40px;
	display: flex;               
	align-items: center; 
	justify-content: center;
	color: var(--white);
	font-size: 22px;
	text-align: center;
	visibility: hidden;
	opacity: 0;
	z-index: 9999;
	cursor: pointer;
	background-color: var(--brand-color1);
	border-radius: 3px;
	transition: opacity 0.3s ease, bottom 0.3s ease;
}
.go-top:hover {
	color: var(--white);
	background-color: var(--brand-color2);
}
.go-top.show {
	opacity: 1;
	visibility: visible;
	bottom: 11px;
}

/* ==================================================
   PAYG25 Banner System
   Image / Carousel / MP4 / YouTube-Vimeo
================================================== */

.bannersection {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-block: 2rem;
  background-color: rgba(var(--brand-color1-rgb), 0.25);
  isolation: isolate;
}

/*
 * Decorative outlined circles.
 *
 * Both sit above the banner background but behind the
 * actual content.
 */
.bannersection::before {
  position: absolute;
  content: "";
  top: -50px;
  left: -130px;

  width: min(45%, 450px);
  aspect-ratio: 282 / 319;

  background-image: var(--banner-background-shape);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.5;
  pointer-events: none;
  z-index: -1;

}

.bannersection > .container {
  position: relative;
  z-index: 2;
}

.banner-row {
  position: relative;
}


/* ==================================================
   Banner copy
================================================== */

.banner-copy {
  position: relative;
  z-index: 2;
  color: var(--brand-color2);
}

.banner-copy.text-start {
  text-align: left;
}

.banner-copy.text-center {
  text-align: center;
}

.banner-copy.text-end {
  text-align: right;
}

.banner-copy h2 {
  margin: 0 0 1rem;
  color: var(--brand-color2);
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: none;
}

.banner-copy h3 {
  display: block;
  margin: 0 0 1.5rem;
  color: var(--brand-color2);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-shadow: none;
}


/* ==================================================
   Banner actions
================================================== */

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/*
 * Allow administrator-selected text alignment to
 * control button alignment as well.
 */
.banner-copy.text-start .banner-actions {
  justify-content: flex-start;
}

.banner-copy.text-center .banner-actions {
  justify-content: center;
}

.banner-copy.text-end .banner-actions {
  justify-content: flex-end;
}

.banner-actions .btn {
  margin: 0 !important;
}


/* ==================================================
   Media
================================================== */

.banner-media {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;

  /*
   * PAYG25 shape:
   * top-left corner only.
   */
  border-radius: 50px 0 0 0;

  background-color: var(--brand-color2);
}

/*
 * Administrator-selected image/video overlay.
 */
.banner-media::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background: var(--hero-overlay, none);
}

.banner-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-media img,
.banner-media video,
.banner-media iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-media img {
  object-fit: cover;
  object-position: center;
}


/* ==================================================
   MP4
================================================== */

.banner-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ==================================================
   YouTube / Vimeo - cover media area
================================================== */

.banner-media--embed {
  position: relative;
  overflow: hidden;
  container-type: size;
}

.banner-media--embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;

  /*
   * Maintain a 16:9 iframe while ensuring it is always
   * large enough to completely cover the media area.
   */
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));

  border: 0;
  transform: translate(-50%, -50%);
}




/* ==================================================
   Carousel
================================================== */

#carouselslider {
  position: relative;
  background: transparent;
}

#carouselslider .carousel-inner {
  /*
   * Required because the media extends beneath the
   * normal banner background on tablet/desktop.
   */
  overflow: visible;
}

#carouselslider .carousel-item {
  position: relative;
}


/* ==================================================
   Carousel fade
================================================== */

#carouselslider.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

#carouselslider.carousel-fade .carousel-item.active {
  opacity: 1;
}


/* ==================================================
   Carousel controls
================================================== */

#carouselslider .carousel-control-prev,
#carouselslider .carousel-control-next {
  position: static;
  width: 2.5rem;
  height: 2.5rem;
  opacity: 1;
  border: 1px solid var(--brand-color2);
  border-radius: 50%;
  color: var(--brand-color2);
  background-color: transparent;
  transform: none;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

#carouselslider .carousel-control-prev:hover,
#carouselslider .carousel-control-next:hover,
#carouselslider .carousel-control-prev:focus,
#carouselslider .carousel-control-next:focus {
  color: var(--white);
  border-color: var(--brand-color2);
  background-color: var(--brand-color2);
  opacity: 1;
}

#carouselslider .carousel-control-prev-icon,
#carouselslider .carousel-control-next-icon {
  display: none;
}


/* ==================================================
   Carousel bottom controls
================================================== */

.carousel-bottom-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-bottom-controls .carousel-control-prev,
.carousel-bottom-controls .carousel-control-next {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}


/* Font Awesome arrows */

.carousel-bottom-controls .carousel-control-prev::before,
.carousel-bottom-controls .carousel-control-next::before {
  font-family: var(--font-icons);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
}

.carousel-bottom-controls .carousel-control-prev::before {
  content: "\f053";
}

.carousel-bottom-controls .carousel-control-next::before {
  content: "\f054";
}


/* ==================================================
   Carousel indicators
================================================== */

.carousel-bottom-controls .carousel-indicators {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
}

.carousel-bottom-controls .carousel-indicators [data-bs-target] {
  width: 0.625rem;
  height: 0.625rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(var(--brand-color2-rgb), 0.3);
  opacity: 1;
}

.carousel-bottom-controls .carousel-indicators .active {
  background-color: var(--brand-color2);
}


/* ==================================================
   Tablet + desktop
   768px upwards
================================================== */

@media (min-width: 768px) {

  .bannersection {
    /*
     * Visual media overhang is 50px, so reserve the
     * same space beneath the section before the next
     * page content begins.
     */
    margin-bottom: 50px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  .banner-row {
    min-height: 430px;
  }

  .banner-media {
    border-radius: 75px 0 0 0;
  }

  /*
   * Moving the media down 50px gives us both:
   *
   * 50px space above the image
   * 50px projection below the banner background
   */
  .banner-media {
    transform: translateY(0px);
  }

  .banner-copy {
    padding-block: 3rem;
  }

  .banner-copy h2 {
    font-size: 1.75rem;
  }

  .banner-copy h3 {
    font-size: 1rem;
  }
  #carouselslider {
    position: relative;
  }

  .carousel-bottom-controls {
    position: absolute;
    z-index: 5;

    /*
     * Sit beneath the left/text half of the carousel.
     */
    left: 0;
    bottom: 1.5rem;

    width: calc(50% - 1.5rem);

    margin: 0;
    padding: 0;

    justify-content: flex-start;
  }
  #carouselslider .banner-copy {
    padding-bottom: 5.5rem;
  }
}


/* ==================================================
   Larger desktop
================================================== */

@media (min-width: 1200px) {
    .bannersection {
    /*
     * Visual media overhang is 50px, so reserve the
     * same space beneath the section before the next
     * page content begins.
     */
    margin-bottom: 100px;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
  }
  .banner-media {
    border-radius: 200px 0 0 0;
  }
  .banner-media {
    transform: translateY(50px);
  }

  .banner-row {
    min-height: 550px;
  }

  .banner-media {
    height: 600px;
    aspect-ratio: auto;
  }

  .banner-copy {
    padding-block: 4rem;
  }

  .banner-copy h2 {
    font-size: 3rem;
  }

  .banner-copy h3 {
    font-size: 1.15rem;
  }
}

/* ==================================================
   Banner copy width - large screens
================================================== */

@media (min-width: 992px) {

  .banner-copy {
    width: 83.333333%;
  }

  /* Left aligned copy */
  .banner-copy.text-start {
    margin-right: auto;
    margin-left: 0;
  }

  /* Centred copy */
  .banner-copy.text-center {
    margin-right: auto;
    margin-left: auto;
  }

  /* Right aligned copy */
  .banner-copy.text-end {
    margin-right: 0;
    margin-left: auto;
  }
}


/* ==================================================
   Mobile
   Below 768px
================================================== */

@media (max-width: 767.98px) {

  .bannersection {
    padding: 1.5rem 0 2rem;
    overflow: hidden;
  }

  /*
   * Slightly smaller decorative rings on mobile so
   * they don't dominate the copy.
   */
  .bannersection::before {
    top: -145px;
    left: -145px;
    width: 250px;
    height: 250px;
    border-width: 10px;
  }

  .bannersection::after {
    top: -280px;
    left: -270px;
    width: 410px;
    height: 410px;
    border-width: 20px;
  }

  .banner-copy {
    margin-top: 0.5rem;
    padding-inline: 0.25rem;
  }

  .banner-copy h2 {
    font-size: 2.15rem;
  }

  .banner-copy h3 {
    font-size: 1rem;
  }

  .banner-media {
    /*
     * No overhang on mobile.
     */
    transform: none;

    /*
     * Retain the distinctive PAYG25 corner but make
     * it less extreme on a narrow screen.
     */
    border-radius: 120px 0 0 0;
  }

  .banner-actions {
    gap: 0.75rem;
  }

  .banner-actions .btn {
    width: 100%;
  }

  .carousel-bottom-controls {
    margin-top: 1.25rem;
  }
}


/* ==================================================
   Very small mobile
================================================== */

@media (max-width: 399.98px) {

  .banner-media {
    border-radius: 90px 0 0 0;
  }

  .banner-copy h2 {
    font-size: 1.9rem;
  }
}

/* === FLEX CONTAINER === */
.flexcontainer {
	position: relative;
	z-index:1;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	margin:0;
	padding:0;
	font-size: 1rem;
}
.flexcontainer p {
    line-height: 1.7;	
}
#mainflex {
  position: relative;
  z-index:1;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.fcscrolled {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.flexcontainer ul { 
   list-style-type: disc; 
   list-style-position: outside;
}
.flexcontainer ol { 
   list-style-type: decimal; 
   list-style-position: outside; 
}
.flexcontainer ul ul, .flexcontainer ol ul { 
   list-style-type: circle; 
   list-style-position: inside; 
}
.flexcontainer ol ol, .flexcontainer ul ol { 
   list-style-type: lower-latin; 
   list-style-position: outside; 
}
.flexcontainer blockquote {
    background-color: var(--body-borders);
    border-left: 2px solid var(--blockquote-border-color);
    padding: 1.5625rem;
    margin: 2.666rem 0;
    transition: all .3s ease-in-out;
}
.flexcontainer blockquote:hover {
    border-color: var(--brand-color1);
}
.flexcontainer ul.pagination {
    list-style: none;
}

/* === MAIN CONTENT === */
#maincontent {
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}
#maincontent ul li::marker {
  color: var(--brand-color1);
}

/* Small mobile */
#maincontent img {
    border-radius: 50px 0 50px 0;
}

/* Large mobile */
@media (min-width: 400px) {
  #maincontent img {
      border-radius: 55px 0 55px 0;
  }
}

/* Tablet portrait */
@media (min-width: 768px) {
  #maincontent img {
      border-radius: 50px 0 50px 0;
  }
}

/* Tablet landscape */
@media (min-width: 992px) {
  #maincontent img {
      border-radius: 70px 0 70px 0;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  #maincontent img {
      border-radius: 100px 0 100px 0;
  }
}
#maincontent img  { 
  max-width: 100%;
  height: auto;
}
/* === WIDGETS START === */
.widget-area {
	line-height: 1.5;
}
.widget-area h2 {
	position: relative;
}
.widget-area h2 a {
	color: var(--headings-color);
}

/* ==================================================
   Call to Action 1
================================================== */

#cta1 {
  position: relative;
}

#cta1 .cta1-inner {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 2rem;

  color: var(--white);
  background-color: var(--brand-color1);

  border-radius: 0 100px 0 100px;

  isolation: isolate;
}


/* ==================================================
   Decorative background shape
================================================== */

#cta1 .cta1-inner::before {
  position: absolute;
  content: "";

  right: -80px;
  bottom: -80px;

  width: clamp(180px, 28%, 360px);
  aspect-ratio: 282 / 319;

  background-image: var(--cta1-background-shape);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.5;
  transform: scaleX(-1);

  pointer-events: none;
  z-index: 0;
}


/* ==================================================
   CTA content
================================================== */

#cta1 .cta1-content {
  position: relative;
  z-index: 1;
}

#cta1 h2 {
  margin-top: 0;
  color: var(--white);
  line-height: 1.5;
}


/* ==================================================
   Tablet
================================================== */

@media (min-width: 768px) {

  #cta1 .cta1-inner {
    padding: 3rem 3rem;
  }
}


/* ==================================================
   Desktop
================================================== */

@media (min-width: 1200px) {

  #cta1 .cta1-inner {
    padding: 4rem 4rem;
  }
}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 767.98px) {

  #cta1 .cta1-inner {
    padding: 3rem 1.5rem;
    border-radius: 0 70px 0 70px;
  }

  #cta1 .cta1-inner::before {
    right: -70px;
    bottom: -70px;
    width: clamp(150px, 45%, 240px);
  }
}


/* ==================================================
   Call to Action 2
================================================== */

.cta2-icon .cta2-icon-circle {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background-color: rgba(var(--brand-color2-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cta2-icon .cta2-icon-circle i {
  color: var(--brand-color2);
  font-size: 7rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Desktop */
@media (min-width: 1200px) {
  .cta2-icon .cta2-icon-circle {
    width: 20rem;
    height: 20rem;
  }

  .cta2-icon .cta2-icon-circle i {
    font-size: 9rem;
  }
}


/* ==================================================
   Call to Action 3
================================================== */

#cta3 {
  position: relative;
  clear: both;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


/* ==================================================
   CTA3 inner layout
================================================== */

#cta3 .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}


/* ==================================================
   Text box
================================================== */

#cta3 .cta3-content {
  position: relative;

  padding: 3rem 2rem;

  color: var(--white);
  background-color: var(--brand-color2);

  border-radius: 100px 0 100px 0;
}

#cta3 h2 {
  margin: 0 0 1.5rem;

  color: var(--white);

  font-family: var(--font-headings);
  line-height: 1.25;
}

#cta3 .cta3-text {
  color: var(--white);
  line-height: 1.6;
}

#cta3 .cta3-actions {
  margin-top: 2rem;
}

/* ==================================================
   Tablet
================================================== */

@media (min-width: 768px) {

  #cta3 .cta3-content {
    padding: 3.5rem;
  }
}


/* ==================================================
   Desktop
================================================== */

@media (min-width: 1200px) {

  #cta3 .cta3-content {
    padding: 4rem;
  }
}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 767.98px) {

  #cta3 .container {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #cta3 .cta3-content {
    padding: 2.5rem 1.5rem;

    border-radius: 70px 0 70px 0;
  }
}

/* === QUICKLINKS 1 === */

#quicklink1 {
    padding-bottom: 0 !important;
    overflow: hidden;
}

/* Small mobile */
.quicklink1-intro {
    position: relative;
    clear: both;
    background-size: cover;
    
    background-repeat: no-repeat;
    background-position: center;
    background-image: var(--ql2-background-image);
    color: var(--white);
    border-radius: 50px 0 50px 0;
}
.quicklink1-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50px 0 50px 0;
  background: rgba(var(--brand-color2-rgb), 0.85);

  transition: background 200ms linear;
}
.quicklink1-intro-text {
  position:relative;
  z-index:2;

}
.quicklink1-intro h2 {
  color: var(--white);
}

/* Large mobile */
@media (min-width: 400px) {
  .quicklink1-intro {
      border-radius: 55px 0 55px 0;
  }  
  .quicklink1-intro::before {
      border-radius: 55px 0 55px 0;
  }
}

/* Tablet portrait */
@media (min-width: 768px) {
  .quicklink1-intro {
      border-radius: 50px 0 50px 0;
  } 
  .quicklink1-intro::before {
      border-radius: 50px 0 50px 0;
  }
}

/* Tablet landscape */
@media (min-width: 992px) {
  .quicklink1-intro {
      border-radius: 70px 0 70px 0;
  } 
  .quicklink1-intro::before {
      border-radius: 70px 0 70px 0;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .quicklink1-intro {
      border-radius: 100px 0 100px 0;
  } 
  .quicklink1-intro::before {
      border-radius: 100px 0 100px 0;
  }
}

/* Ensure CMS widget section remains a full-width flex item */
#mainflex > #quicklink1 {
    flex: 0 0 100%;
    width: 100%;
}

.quicklink1-grid {
    width: 100%;
    overflow: hidden;
}

.quicklink1-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "image text";
    width: 100%;
    min-height: 28.125vw; /* 56.25% of 50vw */
    overflow: hidden;
}

.quicklink1-row.ql1-row-even {
    grid-template-areas: "text image";
}

.quicklink1-col {
    min-width: 0;
}

.quicklink1-image-col {
    grid-area: image;
    position: relative;
    overflow: hidden;
    min-height: 28.125vw;
}

.quicklink1-text-col {
    grid-area: text;
    display: flex;
    align-items: center;
    min-height: 28.125vw;
    padding: clamp(2rem, 5vw, 6rem);
}

.quicklink1-image-col img,
.quicklink1-image-anim img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quicklink1-content {
    width: 100%;
}

.quicklink1-content h2 {
    margin-bottom: 1.5rem;
}
/* Tablet landscape */
@media (min-width: 992px) {
  .quicklink1-content h2 {
    font-size: 1.5rem;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .quicklink1-content h2 {
    font-size: 2rem;
  }
}

.quicklink1-content p {
    margin-bottom: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ==================================================
   Quicklinks 1 - odd/even backgrounds
================================================== */

.quicklink1-text-col {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Decorative SVG */
.quicklink1-text-col::before {
  position: absolute;
  content: "";
  bottom: -35px;

  width: min(50%, 400px);
  aspect-ratio: 282 / 319;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: var(--quicklink-background-shape);

  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}


/* Odd rows: image left, text right */
.quicklink1-row.ql1-row-odd .quicklink1-text-col {
  background-color: rgba(var(--brand-color1-rgb), 0.2);
  color: var(--headings-color);
}

.quicklink1-row.ql1-row-odd .quicklink1-text-col::before {
  right: -100px;
  transform: scaleX(-1);
}
.quicklink1-row.ql1-row-even .quicklink1-text-col::before {
  left: -100px;
}

/* Even rows: text left, image right */
.quicklink1-row.ql1-row-even .quicklink1-text-col {
  background-color: rgba(var(--brand-color2-rgb), 0.2);
  color: var(--headings-color);
  text-align: right;
}



.quicklink1-row.ql1-row-odd .quicklink1-content h2,
.quicklink1-row.ql1-row-odd .quicklink1-content p {
    color: var(--headings-color);
}

.quicklink1-row.ql1-row-even .quicklink1-content h2,
.quicklink1-row.ql1-row-even .quicklink1-content p {
    color: var(--headings-color);
}

.quicklink1-row.ql1-row-even .quicklink1-content .btn-primary {
  color: var(--brand-color2);
  background-color: transparent;
  border: 2px var(--brand-color2) solid;  
}
.quicklink1-row.ql1-row-even .quicklink1-content .btn-primary:hover, 
.quicklink1-row.ql1-row-even .quicklink1-content .btn-primary:focus,
.quicklink1-row.ql1-row-even .quicklink1-content .btn-primary:focus-visible, 
.quicklink1-row.ql1-row-even .quicklink1-content .btn-primary:active {
  color: var(--white);
  background-color: var(--brand-color2);
  border: 2px var(--brand-color2) solid;  
}

/* Animation wrapper for QL2 images */
.quicklink1-image-anim {
    position: absolute;
    inset: 0;
}

/* Mobile: always image then text */
@media (max-width: 767.98px) {
    .quicklink1-row,
    .quicklink1-row.ql1-row-even {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "text";
        min-height: 0;
    }

    .quicklink1-image-col {
        min-height: 56.25vw;
    }

    .quicklink1-text-col {
        min-height: 0;
        padding: 2rem 1.25rem;
    }

    .quicklink1-row.ql1-row-even .quicklink1-text-col {
        text-align: left;
    }
}

/* ==================================================
   Quicklinks 2
================================================== */

#quicklink2 .ql2outer {
  height: 100%;
}

#quicklink2 .ql2inner {
  height: 100%;
  color: var(--brand-color2);
  background-color: rgba(var(--brand-color1-rgb), 0.2);
}


/* Small mobile */
#quicklink2 .ql2inner {
  border-radius: 164px 164px 0 0;
}

/* Large mobile */
@media (min-width: 400px) {
  #quicklink2 .ql2inner {
    border-radius: 171px 171px 0 0;
  }
}

/* Tablet portrait */
@media (min-width: 768px) {
  #quicklink2 .ql2inner {
    border-radius: 150px 150px 0 0;
  }
  #quicklink2 .ql2inner h3 {
    font-size: 1.25rem;
  }
}

/* Tablet landscape */
@media (min-width: 992px) {
  #quicklink2 .ql2inner {
    border-radius: 132px 132px 0 0;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  #quicklink2 .ql2inner {
    border-radius: 192px 192px 0 0;
  }
}


/* ==================================================
   Quicklink icon
================================================== */

#quicklink2 .ql2icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  color: var(--brand-color1);
  background-color: var(--white);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}


/* ==================================================
   Even quicklinks
================================================== */


#quicklink2 .row > div:nth-child(even) .ql2inner {
  background-color: rgba(var(--brand-color2-rgb), 0.2);
}

#quicklink2 .row > div:nth-child(even) .ql2icon {
  color: var(--brand-color2);
}

#quicklink2 .row > div:nth-child(even) .btn-primary {
  color: var(--brand-color2);
  background-color: transparent;
  border: 2px var(--brand-color2) solid;  
}
#quicklink2 .row > div:nth-child(even) .btn-primary:hover, 
#quicklink2 .row > div:nth-child(even) .btn-primary:focus,
#quicklink2 .row > div:nth-child(even) .btn-primary:focus-visible, 
#quicklink2 .row > div:nth-child(even) .btn-primary:active {
  color: var(--white);
  background-color: var(--brand-color2);
  border: 2px var(--brand-color2) solid;  
}


/* ==================================================
   Hover
================================================== */

@media (hover: hover) and (pointer: fine) {

  #quicklink2 .ql2outer {
    transition: transform 0.3s ease;
  }

  #quicklink2 .ql2outer:hover {
    transform: translateY(-7px);
  }
}


/* ==================================================
   Icon entrance animation
================================================== */

#quicklink2 .anim-zoom-icon {
  transform: scale(0.85);
  transition: transform 0.6s ease;
}

#quicklink2 [data-animate].is-inview .anim-target .anim-zoom-icon {
  transform: scale(1);
}


/* ==================================================
   Reduced motion
================================================== */

@media (prefers-reduced-motion: reduce) {

  #quicklink2 .ql2outer {
    transition: none;
  }

  #quicklink2 .anim-zoom-icon {
    transition: none;
    transform: none;
  }
}

/* === COUNTERS === */
#counters {
  color: var(--brand-color2);
  background-color: transparent;
}
#counters .row {
  margin-top: 70px;
}
#counters h2 {
  color: var(--brand-color2);
  position: relative;
}

.counter-col {
  display: flex;
}

.counter-card {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 1.75rem 2rem;
  background-color: rgba(var(--brand-color1-rgb), 0.2);
  color: var(--brand-color2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
#counters .row > div:nth-child(even) .counter-card {
  background-color: rgba(var(--brand-color2-rgb), 0.2);
}
/* Icon */

.counter-icon i {
  color: var(--brand-color1);
  font-size: 3.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
#counters .row > div:nth-child(even) .counter-card .counter-icon i {
  color: var(--brand-color2);
}
/* Small mobile */
.counter-card {
  border-radius: 163px 163px 0 0;
}

/* Large mobile */
@media (min-width: 400px) {
  .counter-card {
    border-radius: 171px 171px 0 0;
  }
}

/* Tablet portrait */
@media (min-width: 768px) {
  .counter-card {
    border-radius: 162px 162px 0 0;
  }
}

/* Tablet landscape */
@media (min-width: 992px) {
  .counter-card {
    border-radius: 105px 105px 0 0;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .counter-card {
    border-radius: 150px 150px 0 0;
  }
}

/* Title */
.counter-title {
  color: var(--brand-color2);
}

/* Number */
.counter-number {
  color: var(--brand-color2);
  margin-top: 0;
  font-size: 3.75rem;
  line-height: 1;
}

/* Optional hover polish */
.counter-card,
.counter-icon-circle,
.counter-number {
  transition: all .5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .counter-card:hover {
    transform: translateY(-6px);
  }
}



/* === PRICES BAR === */

/* === PRICEBAR BACKGROUND (matches header) === */
#pricebar {
  position: relative;
  background-color: rgba(var(--brand-color1-rgb), 0.2);
}

.price-col {
  display: flex;
}

.pricing-wrapper {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  padding: 2rem 1.75rem;
  flex-direction: column;
  background-color: var(--brand-color1);
  overflow: visible; /* important */
  transition: transform .25s ease, box-shadow .25s ease;
}
/* Small mobile */
.pricing-wrapper {
  border-radius: 164px 164px 0 0;
}

/* Large mobile */
@media (min-width: 400px) {
  .pricing-wrapper {
    border-radius: 171px 171px 0 0;
  }
}

/* Tablet portrait */
@media (min-width: 768px) {
  .pricing-wrapper {
    border-radius: 150px 150px 0 0;
  }
}

/* Tablet landscape */
@media (min-width: 992px) {
  .pricing-wrapper {
    border-radius: 132px 132px 0 0;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .pricing-wrapper {
    border-radius: 192px 192px 0 0;
  }
}

/* Hover only on real hover devices */
@media (hover: hover) and (pointer: fine) {
  .pricing-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .15);
  }
}

.pricing-icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(var(--white-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.pricing-icon-circle i {
  color: var(--white);
  font-size: 4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HEADER */
.pricing-header {
  position: relative;
  text-align: center;
}

.pricing-title {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .0625rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
}

/* Body */
.pricing-body {
  flex: 1 1 auto;
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.pricing-price-block {
  text-align: center;
}

.pricing-price {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.pricing-currency {
  font-size: 0.5em;
  vertical-align: top;
  margin-right: 0.15em;
}

.pricing-subtitle {
  font-size: 0.95rem;
  font-style: normal;
}

/* Body content */
.pricing-content {
}

.pricing-content > *:last-child {
  margin-bottom: 0;
}

/* List styling */
.pricing-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.pricing-content ul li {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid rgba(var(--white-rgb), 0.4);
}

.pricing-content ul li:last-child {
  margin-bottom: 0;
}

.pricing-content ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 7 Pro";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--brand-color1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Footer */
.pricing-footer {
  text-align: center;
}



/* ==================================================
   Latest News / Blog
================================================== */

#newsbar {
  position: relative;
  background-color: var(--white);
}


/* ==================================================
   Intro
================================================== */

#newsbar .widget-title {
  color: var(--headings-color);
}

#newsbar .newsbar-intro {
  color: var(--body-color);
}


/* ==================================================
   News grid
================================================== */

#newsbar .news-col {
  display: flex;
  padding: 0;
}

#newsbar .news-card {
  display: grid;
  grid-template-rows: 1fr 1fr;

  width: 100%;
  min-height: 620px;

  overflow: hidden;
}


/* ==================================================
   Image half
================================================== */

#newsbar .news-card-img {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

#newsbar .news-card-img img,
#newsbar .news-card-img-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

#newsbar .news-card-img img {
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

#newsbar .news-card-img-fallback {
  background-color: var(--body-borders);
}


/* ==================================================
   Text half
================================================== */

#newsbar .news-card-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 0;

  padding: 2.5rem 2rem;

  color: var(--body-color);
  text-align: center;

  background-color: rgba(var(--brand-color1-rgb), 0.2);
}


/* ==================================================
   Odd cards
================================================== */

#newsbar .news-col:nth-child(odd) .news-card-text {
  background-color: rgba(var(--brand-color1-rgb), 0.2);
}

#newsbar .news-col:nth-child(odd) .news-card-title {
  color: var(--brand-color1);
}


/* ==================================================
   Even cards
================================================== */

#newsbar .news-col:nth-child(even) .news-card-text {
  background-color: rgba(var(--brand-color2-rgb), 0.2);
}

#newsbar .news-col:nth-child(even) .news-card-title {
  color: var(--brand-color2);
}

#newsbar .news-col:nth-child(even) .news-card-footer .btn-primary {
  color: var(--brand-color2);
  background-color: transparent;
  border: 2px var(--brand-color2) solid;  
}
#newsbar .news-col:nth-child(even) .news-card-footer .btn-primary:hover, 
#newsbar .news-col:nth-child(even) .news-card-footer .btn-primary:focus,
#newsbar .news-col:nth-child(even) .news-card-footer .btn-primary:focus-visible, 
#newsbar .news-col:nth-child(even) .news-card-footer .btn-primary:active {
  color: var(--white);
  background-color: var(--brand-color2);
  border: 2px var(--brand-color2) solid;  
}


/* ==================================================
   Article text
================================================== */

#newsbar .news-card-title {
  margin: 0 0 1.25rem;

  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
}

#newsbar .news-card-snippet {
  max-width: 34rem;
  color: var(--body-color);
  line-height: 1.55;
}

#newsbar .news-card-footer {
  margin-top: 2rem;
}


/* ==================================================
   Article hover
================================================== */

@media (hover: hover) and (pointer: fine) {

  #newsbar .news-card:hover .news-card-img img {
    transform: scale(1.04);
  }
}


/* ==================================================
   View all news link
================================================== */

#newsbar .newsbar-all-link {
  position: relative;
  display: inline-block;

  color: var(--brand-color2);
  text-decoration: none;
}

#newsbar .newsbar-all-link:hover,
#newsbar .newsbar-all-link:focus {
  color: var(--brand-color2);
}

#newsbar .newsbar-all-link:hover::after,
#newsbar .newsbar-all-link:focus::after {
  transform: scaleX(1);
}


/* ==================================================
   Large desktop
================================================== */

@media (min-width: 1200px) {

  #newsbar .news-card {
    min-height: 680px;
  }

  #newsbar .news-card-text {
    padding: 3rem;
  }

  #newsbar .news-card-title {
    font-size: 1.8rem;
  }
}


/* ==================================================
   Tablet
================================================== */

@media (min-width: 768px) and (max-width: 1199.98px) {

  #newsbar .news-card {
    min-height: 580px;
  }

  #newsbar .news-card-text {
    padding: 2rem 1.5rem;
  }

  #newsbar .news-card-title {
    font-size: 1.4rem;
  }

  #newsbar .news-card-snippet {
    font-size: 0.95rem;
  }
}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 767.98px) {

  #newsbar .news-col:not(:last-child) {
    margin-bottom: 1.5rem;
  }

  #newsbar .news-card {
    min-height: 620px;
  }

  #newsbar .news-card-text {
    padding: 2.5rem 1.5rem;
  }

  #newsbar .news-card-title {
    font-size: 1.5rem;
  }
}

/* ==================================================
   PAYG25 Gallery
================================================== */

#gallerybar {
  position: relative;
  overflow: hidden;
  background-color: var(--white);
}


/* ==================================================
   Gallery intro icon
================================================== */

#gallerybar .galleryicon {
  display: grid;
  place-items: center;

  width: 6rem;
  height: 6rem;

  border-radius: 50%;

  color: var(--brand-color1);
  background-color: rgba(var(--brand-color1-rgb), 0.2);

  font-size: 3rem;
  line-height: 1;
}


/* ==================================================
   Intro
================================================== */

#gallerybar .widget-title {
  color: var(--headings-color);
}

#gallerybar .gallerybar-intro {
  color: var(--body-color);
}


/* ==================================================
   Coverflow
================================================== */

.gallery-coverflow {
  /*
   * Desktop target dimensions:
   *
   * main: 600 x 500
   * side: 270 x 225
   */
  --gallery-main-width: 600px;
  --gallery-main-height: 500px;

  --gallery-side-width: 270px;
  --gallery-side-height: 225px;

  --gallery-near-gap: 20px;
  --gallery-far-gap: 40px;

  position: relative;
  width: 100%;
}


/* ==================================================
   Track
================================================== */

.gallery-coverflow__track {
  position: relative;

  width: 100%;
  height: var(--gallery-main-height);

  overflow: visible;
}


/* ==================================================
   Slides
================================================== */

.gallery-coverflow__slide {
  position: absolute;
  top: 50%;
  left: 50%;

  display: block;

  width: var(--gallery-side-width);
  height: var(--gallery-side-height);

  opacity: 0;
  pointer-events: none;

  text-decoration: none;

  transform:
    translate(-50%, -50%)
    scale(0.9);

  transition:
    transform 0.65s ease,
    width 0.65s ease,
    height 0.65s ease,
    opacity 0.45s ease;

  z-index: 1;
}


/* ==================================================
   Image
================================================== */

.gallery-coverflow__image,
.gallery-coverflow__fallback {
  width: 100%;
  height: 100%;
}

.gallery-coverflow__image {
  overflow: hidden;

  border-radius: 30px 0 30px 0;

  background-color: var(--body-borders);
}

.gallery-coverflow__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.65s ease;
}

.gallery-coverflow__fallback {
  background-color: var(--body-borders);
}


/* ==================================================
   Active image
================================================== */

.gallery-coverflow__slide.is-active {
  width: var(--gallery-main-width);
  height: var(--gallery-main-height);

  opacity: 1;
  pointer-events: auto;

  transform:
    translate(-50%, -50%)
    translateX(0);

  z-index: 5;
}


/* ==================================================
   Previous 1
================================================== */

.gallery-coverflow__slide.is-prev-1 {
  opacity: 1;
  pointer-events: auto;

  transform:
    translate(-50%, -50%)
    translateX(
      calc(
        (
          var(--gallery-main-width) / -2
        )
        -
        var(--gallery-near-gap)
        -
        (
          var(--gallery-side-width) / 2
        )
      )
    );

  z-index: 3;
}


/* ==================================================
   Next 1
================================================== */

.gallery-coverflow__slide.is-next-1 {
  opacity: 1;
  pointer-events: auto;

  transform:
    translate(-50%, -50%)
    translateX(
      calc(
        (
          var(--gallery-main-width) / 2
        )
        +
        var(--gallery-near-gap)
        +
        (
          var(--gallery-side-width) / 2
        )
      )
    );

  z-index: 3;
}


/* ==================================================
   Previous 2
================================================== */

.gallery-coverflow__slide.is-prev-2 {
  opacity: 1;
  pointer-events: auto;

  transform:
    translate(-50%, -50%)
    translateX(
      calc(
        (
          var(--gallery-main-width) / -2
        )
        -
        var(--gallery-near-gap)
        -
        var(--gallery-side-width)
        -
        var(--gallery-far-gap)
        -
        (
          var(--gallery-side-width) / 2
        )
      )
    );

  z-index: 2;
}


/* ==================================================
   Next 2
================================================== */

.gallery-coverflow__slide.is-next-2 {
  opacity: 1;
  pointer-events: auto;

  transform:
    translate(-50%, -50%)
    translateX(
      calc(
        (
          var(--gallery-main-width) / 2
        )
        +
        var(--gallery-near-gap)
        +
        var(--gallery-side-width)
        +
        var(--gallery-far-gap)
        +
        (
          var(--gallery-side-width) / 2
        )
      )
    );

  z-index: 2;
}


/* ==================================================
   Controls
================================================== */

.gallery-coverflow__controls {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 0.75rem;

  margin-top: 1.5rem;
}

.gallery-coverflow__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 3rem;
  height: 3rem;

  padding: 0;

  border: 0;
  border-radius: 50%;

  color: var(--white);
  background-color: var(--brand-color1);

  font-size: 1rem;
  line-height: 1;

  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.gallery-coverflow__control:hover,
.gallery-coverflow__control:focus {
  color: var(--white);
  background-color: var(--brand-color2);
  transform: translateY(-2px);
  outline: 0;
}


/* ==================================================
   Large but narrower desktop
================================================== */

@media (min-width: 1200px) and (max-width: 1599.98px) {

  .gallery-coverflow {
    --gallery-main-width: 520px;
    --gallery-main-height: 433px;

    --gallery-side-width: 225px;
    --gallery-side-height: 188px;

    --gallery-near-gap: 18px;
    --gallery-far-gap: 28px;
  }
}


/* ==================================================
   Tablet landscape
================================================== */

@media (min-width: 992px) and (max-width: 1199.98px) {

  .gallery-coverflow {
    --gallery-main-width: 460px;
    --gallery-main-height: 383px;

    --gallery-side-width: 190px;
    --gallery-side-height: 158px;

    --gallery-near-gap: 16px;
  }

  /*
   * At this width, hide the outermost pair.
   */
  .gallery-coverflow__slide.is-prev-2,
  .gallery-coverflow__slide.is-next-2 {
    opacity: 0;
    pointer-events: none;
  }
}


/* ==================================================
   Tablet portrait
================================================== */

@media (min-width: 768px) and (max-width: 991.98px) {

  .gallery-coverflow {
    --gallery-main-width: min(62vw, 480px);
    --gallery-main-height: min(51.667vw, 400px);

    --gallery-side-width: 145px;
    --gallery-side-height: 121px;

    --gallery-near-gap: 14px;
  }

  .gallery-coverflow__slide.is-prev-2,
  .gallery-coverflow__slide.is-next-2 {
    opacity: 0;
    pointer-events: none;
  }
}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 767.98px) {

  .gallery-coverflow {
    --gallery-main-width: calc(100vw - 2rem);
    --gallery-main-height: calc((100vw - 2rem) / 1.2);
  }

  .gallery-coverflow__track {
    height: var(--gallery-main-height);
  }

  .gallery-coverflow__slide.is-active {
    width: var(--gallery-main-width);
    height: var(--gallery-main-height);
  }

  /*
   * On a phone the main image gets the full visual
   * emphasis.
   */
  .gallery-coverflow__slide.is-prev-1,
  .gallery-coverflow__slide.is-prev-2,
  .gallery-coverflow__slide.is-next-1,
  .gallery-coverflow__slide.is-next-2 {
    opacity: 0;
    pointer-events: none;
  }

  .gallery-coverflow__image {
    border-radius: 35px 0 35px 0;
  }
}

#gallerybar .gallery-all-link {
  position: relative;
  display: inline-block;

  color: var(--brand-color2);
  text-decoration: none;
}


/* === TESTIMONIALS === */

#testimonials .testimonial-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: var(--brand-color1);
  border-radius: 0 100px 0 100px;

  isolation: isolate;
}
#testimonials .testimonial-card::before {
  position: absolute;
  content: "";

  right: -100px;
  bottom: -80px;

  width: clamp(180px, 28%, 360px);
  aspect-ratio: 282 / 319;

  background-image: var(--reviews-background-shape);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.3;
  transform: scaleX(-1);

  pointer-events: none;
  z-index: 0;
}

#testimonials .carousel-item {
  padding: 0;
}

#testimonials .testimonial-quote-icon-wrap {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#testimonials .testimonial-quote-icon-wrap i {
  color: var(--white);
  font-size: 10rem;
  line-height: 1;
}

#testimonials .testimonial-content-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2.5rem 2rem;
}

#testimonials .testimonial-quote {
  color: var(--white);
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  padding-right: 5rem;
}
@media (max-width: 767.98px) {
  #testimonials .testimonial-card {
    border-radius: 0 60px 0 60px;

    isolation: isolate;
  }
  #testimonials .testimonial-quote {
    padding-right: 2rem;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  #testimonials .testimonial-quote {
    padding-right: 2rem;
  }
}
/* Desktop */
@media (min-width: 1200px) {
  #testimonials .testimonial-quote-icon-wrap i {
    font-size: 12rem;
  }
}

#testimonials .testimonial-meta-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

#testimonials .testimonial-author {
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.02em;
}

#testimonials .testimonial-indicators {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
}

#testimonials .testimonial-indicators [data-bs-target] {
  width: 0.625rem;
  height: 0.625rem;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--white);
  opacity: 1;
}

#testimonials .testimonial-indicators .active {
  background-color: var(--brand-color2);
}

/* spacing for title/text above carousel */
#testimonials .mb-5.text-center {
  margin-bottom: 2.5rem !important;
}

/* Tablet and down */
@media (max-width: 991.98px) {
  #testimonials .testimonial-content-wrap {
    padding: 2rem 1.75rem 1.75rem;
  }

  #testimonials .testimonial-quote {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  #testimonials .testimonial-meta-row {
    align-items: flex-start;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  #testimonials .testimonial-content-wrap {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  #testimonials .testimonial-author {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  #testimonials .testimonial-indicators {
    justify-content: flex-start;
  }
}


/* === ENQUIRY FORM === */
#enquiryfrm  {
	background-color: var(--body-borders);
}
#enquiryfrm a:hover {
	text-decoration:none;
}
#enquiryfrm .form-control {
    padding: 1.5rem;
}

/* === LOCATION MAP === */
#map_canvas {
	height:600px;
}
/* Mobile */
@media (max-width: 575.98px) {
	#map_canvas {
		height:400px;
	}
}

/* ==================================================
   Team section / Team page
================================================== */


/* ==================================================
   Team intro icon
================================================== */

#team .teamicon {
  display: grid;
  place-items: center;

  width: 6rem;
  height: 6rem;

  border-radius: 50%;

  color: var(--brand-color1);
  background-color: rgba(var(--brand-color1-rgb), 0.2);

  font-size: 3rem;
  line-height: 1;
}

#team a:hover {
  text-decoration: none;
}


/* ==================================================
   Team grid
================================================== */

#team .teamrow {
  align-items: stretch;
}

#team .team-col {
  display: flex;
}

#team .anim-target {
  width: 100%;
}

.team-list-page .teamrow {
  align-items: stretch;
}

.team-list-page .team-col {
  display: flex;
}


/* ==================================================
   Shared team card
   Widget + main team listing
================================================== */

#team .team-card,
.team-list-page .team-card {
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;

  padding: 30px;

  border: 0;

  /*
   * A deliberately oversized radius is automatically
   * constrained by the card width, creating a true
   * semicircular top regardless of card height.
   */
  border-radius: 999px 999px 0 0;

  color: var(--brand-color2);
  background-color: rgba(var(--brand-color1-rgb), 0.2);

  box-shadow: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.team-list-page .team-col {
  display: flex;
}


/* ==================================================
   Team image
================================================== */

#team .team-media-link,
.team-list-page .team-media-link {
  display: block;
  width: 100%;
}

#team .team-media,
.team-list-page .team-media {
  position: relative;

  width: 100%;
  aspect-ratio: 1 / 1;

  margin: 0 auto;

  overflow: hidden;

  border: 5px solid var(--white);
  border-radius: 50%;

  background-color: var(--body-borders);
}

#team .team-img,
#team .team-img-fallback,
.team-list-page .team-img,
.team-list-page .team-img-fallback {
  display: block;

  width: 100%;
  height: 100%;
}

#team .team-img,
.team-list-page .team-img {
  object-fit: cover;
  object-position: center;

  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

#team .team-img-fallback,
.team-list-page .team-img-fallback {
  background-color: var(--body-borders);
}


/* ==================================================
   Team card text
================================================== */

#team .team-card-body,
.team-list-page .team-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;

  padding: 1.5rem 0 0;

  text-align: center;
}

#team .team-name,
.team-list-page .team-name {
  margin-top: 0;

  color: var(--brand-color1) !important;

  font-weight: 400;
  line-height: 1.25;
}

#team .team-name a,
.team-list-page .team-name a {
  color: var(--brand-color1) !important;
}

#team .team-job,
.team-list-page .team-job {
  color: var(--brand-color2);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}


/* ==================================================
   Widget hover behaviour
================================================== */

@media (hover: hover) and (pointer: fine) {

  #team .team-card:hover,
  .team-list-page .team-card:hover {
    transform: translateY(-7px);
  }

  /*
   * Blur/desaturate the other team images when one
   * card is hovered.
   */
  #team .teamrow:hover .team-card:not(:hover) .team-img,
  .team-list-page .teamrow:hover .team-card:not(:hover) .team-img {
    filter: blur(2px) grayscale(100%);
  }
}


/* ==================================================
   Main team listing page
================================================== */

/*
 * The same card styling works automatically for the
 * four-column listing because the 999px radius is
 * constrained by each narrower card's width.
 */

.team-list-page .team-name,
.team-list-page .team-name a {
  color: var(--brand-color1) !important;
}

.team-list-page .team-job {
  color: var(--brand-color2);
}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 767.98px) {

  #team .team-card,
  .team-list-page .team-card {
    padding: 24px;
  }

  #team .team-card-body,
  .team-list-page .team-card-body {
    padding-top: 1.25rem;
  }

  #team .team-name,
  .team-list-page .team-name {
    font-size: 1.25rem;
  }
}


/* ==================================================
   Team member detail page
   Existing styles retained
================================================== */

/* Smaller social icons for team member page */

.teamsocial .social-link {
  width: 2.75rem;
  height: 2.75rem;
}

.teamsocial .social-link i {
  font-size: 1.25rem;
}

.teamsocial ul.social-media-list {
  gap: 0.5rem;

  margin-left: 0;
  padding-left: 0;

  list-style: none !important;
}


/* Legacy detail-page hover image */

.teamimg {
  border-radius: 30px;

  transition: all 0.5s;
}

.teamimg:hover {
  z-index: 9999;

  transform: scale(1.1);
}

/* === BLOG SECTION === */
#blogprimary {
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}
#blogprimary article:after {
	background-color: var(--brand-color1);
}
.entry-title a {
  color: var(--headings-color);  
}
.entry-thumb img {
	max-width: 100%;
	height: auto;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
/* Small mobile */
.entry-thumb img {
    border-radius: 50px 0 50px 0;
}

/* Large mobile */
@media (min-width: 400px) {
  .entry-thumb img {
      border-radius: 55px 0 55px 0;
  }
}

/* Tablet portrait */
@media (min-width: 768px) {
  .entry-thumb img {
      border-radius: 50px 0 50px 0;
  }
}

/* Tablet landscape */
@media (min-width: 992px) {
  .entry-thumb img {
      border-radius: 70px 0 70px 0;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .entry-thumb img {
      border-radius: 100px 0 100px 0;
  }
}

.entry-thumb:hover img {
	opacity: 0.7;
}
.entry-meta {
	display:inline-block;
    font-size: 0.875rem;
}
.entry-footer {
	color: var(--muted-color);
    font-size: 1rem;
    border-top: 1px var(--body-borders) solid;	
}
.entry-meta a,
.entry-footer a {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.entry-meta a:hover,
.entry-footer a:hover {
	color: var(--headings-color);
    font-weight: 700;
}
.updated:not(.published) {
    display: none;
}
#blogside {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
#blogside section:last-of-type {
    border-bottom: none;
    margin: 0;
}
#blogside h4 {
	position: relative;
	padding-bottom: 0.9375rem;
}
#blogside h4::after {
    position: absolute;
    content: '';
    width: 50px;
    height: 2px;
    background-color: rgba(var(--brand-color1-rgb), 1);
    bottom: 0;
    left: 0;
}
.blog_search label {
    display: block;
    margin-bottom: 0;
}
.blog_search .search-field {
	color: var(--headings-color);
    background-color: var(--body-borders);
    border: 1px solid var(--body-borders);
    vertical-align: top;
    padding: 0.8125rem;
    width: 100%;
  border-radius: 20px;
}
.blog_search .search-submit {
    display: none;
}
#blogside .postcount {
	color: var(--muted-color);
    font-size: 0.875rem;
}
#blog_categories ul,
#blog_archives ul {
    list-style: none;
    padding: 0;
    word-wrap: break-word;
    line-height: 1.8;
    text-rendering: optimizeLegibility;
}
#blogside li,
#blogside li a,
.posted-on,
.posted-on a,
.posted-on i {
    color: var(--body-color);
}
#blogside li a:hover,
#blogside li a.active {
	color: var(--brand-color1);
}
#blog_categories li,
#blog_categories li a,
#blog_archives li,
#blog_archives li a,
.tag-cloud > a,
.post-tags > a {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
#blog_categories li::before {
    content: '\f07b';
    margin-right: 0.6rem;
}
#blog_archives li::before {
    content: '\f133';
    margin-right: 0.6rem;
}
#blog_categories li::before,
#blog_archives li::before {
    font-family: var(--font-icons);
    font-size: 1rem;
}
.tag-cloud > a,
.post-tags > a {
	color: var(--headings-color);
	background-color: var(--body-borders);
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    line-height: 1.5rem;
    font-size: 0.6875rem !important;
    border-radius: 10px;
    padding: 1px 1rem;
    margin: 0.3125rem 0.5rem 0.3125rem 0;
}
.entry-footer .tag-cloud > a,
.posted-category,
.posted-category a {
	color: var(--white);
	background-color: var(--brand-color1);
}
.tag-cloud > a:hover,
.post-tags > a:hover {
  color: var(--white);
  background-color: var(--brand-color1);
}
.entry-footer .tag-cloud > a:hover {
  color: var(--white);
	background-color: var(--brand-color2);
}
.post-preview {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.post-preview img {
	max-width: 100%;
	height: auto;
}
/* Small mobile */
.post-preview img {
    border-radius: 50px 0 50px 0;
}

/* Large mobile */
@media (min-width: 400px) {
  .post-preview img {
      border-radius: 55px 0 55px 0;
  }
}

/* Tablet portrait */
@media (min-width: 768px) {
  .post-preview img {
      border-radius: 50px 0 50px 0;
  }
}

/* Tablet landscape */
@media (min-width: 992px) {
  .post-preview img {
      border-radius: 70px 0 70px 0;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  .post-preview img {
      border-radius: 100px 0 100px 0;
  }
}
.post-preview:hover {
    transform: translateY(-7px);
}
/* Mobile */
@media (max-width: 575.98px) {
	.posted-on,
	.posted-category {
		display:block;
	}
	.entry-meta,
	.entry-meta span {
		display:block;
	}
	.entry-meta span::after {
	    content: '';
	    margin: 0;
	}
	.entry-header h1 {
		font-size: 2.25rem;
	}
}
/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
	.postcount {
		display:none;
	}
	.entry-meta,
	.entry-meta span {
		display:block;
	}
}

/* === GALLERY SECTION === */
#gallerygrid {
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}
ul.gallery-filters {
    list-style: none;
    padding: 0;
    font-size: 0.875rem;
}
.gallery-filters li,
.gallery-filters li a {
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.gallery-filters li {
	background-color: var(--brand-color2);
	display: inline-block;
  border-radius: 30px;
	padding:0.75rem 1.25rem;
	margin: 0.5rem 0.125rem;
}
.gallery-filters li:hover {
	background-color: var(--brand-color1);
  color: var(--white) !important;
}
.gallery-filters li a {
	color: var(--white);
}
.gallery-filters li:hover a {
  color: var(--white);
}
#gallerygrid .galleryitem {
  position: relative;
  overflow: hidden;
}
/* Small mobile */
#gallerygrid .galleryitem {
    border-radius: 50px 0 50px 0;
}

/* Large mobile */
@media (min-width: 400px) {
  #gallerygrid .galleryitem {
      border-radius: 50px 0 50px 0;
  }
}

/* Tablet portrait */
@media (min-width: 768px) {
  #gallerygrid .galleryitem {
      border-radius: 50px 0 50px 0;
  }
}

/* Tablet landscape */
@media (min-width: 992px) {
  #gallerygrid .galleryitem {
      border-radius: 50px 0 50px 0;
  }
}

/* Desktop */
@media (min-width: 1200px) {
  #gallerygrid .galleryitem {
      border-radius: 70px 0 70px 0;
  }
}

#gallerygrid .galleryimg {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
#gallerygrid .galleryimg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#gallerygrid .galleryitem::before {
  border-radius: 30px;
}
#gallerygrid .gallerygridimgtxt {
  border-radius: 30px;
}



.gallerygridimgtxt {
    position: absolute;
    inset: 0; 
    z-index: 2;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none; /* prevents overlay capturing clicks when hidden */
}
.galleryitem:hover .gallerygridimgtxt {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.galleryitem:before {
	z-index: 1;
}
.gallerygridimgtxt a {
	color: var(--white);
    text-decoration: none;
}
.gallerygridimgtxt h3 {
	color: var(--white);
	font-size: 1.25rem;
	font-weight: 400;
	position: relative;
	width: 100%;
	display:block;
	text-align: center;
	margin: 0;
}
.gallerygridimgtxt h3::before {
    background-color: rgba(var(--white-rgb),0.5);
    content: '';
    width: 0;
    height: 1px;
    position: absolute;
    left: 0;
    top: -5px;
    margin-left: 20%;
    -webkit-transition: width .5s .5s;
    transition: width .5s .5s;
}
.gallerygridimgtxt h3::after {
    background-color: rgba(var(--white-rgb),0.5);
    content: '';
    width: 0;
    height: 1px;
    position: absolute;
    right: 0;
    bottom: -5px;
    margin-right: 20%;
    -webkit-transition: width .5s .5s;
    transition: width .5s .5s;
}
.galleryitem:hover .gallerygridimgtxt h3::before,
.galleryitem:hover .gallerygridimgtxt h3::after {
	width: 60%;
}
.gallerygridimgtxt .galleryimgicons {
    position: absolute;
    left: 0;
    bottom: 10%;
	width: 100%;
	padding:0 2rem;
	font-size: 1.25rem;
	text-align: center;
}
/* ==================================================
   Gallery image detail page
================================================== */

.gallery-main-image {
  width: 100%;
  text-align: center;
}

/*
 * Make the link wrap tightly around the actual image
 * rather than occupying the full container width.
 */
.gallery-main-image > a {
  display: inline-block;
  max-width: 100%;
}

/*
 * Preserve the image's natural aspect ratio.
 *
 * Landscape images can grow to the available width.
 * Portrait images stop growing once they reach the
 * maximum permitted height and therefore become
 * naturally narrower.
 */
.gallery-main-image img {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: min(700px, 75vh);

  margin-inline: auto;

  object-fit: contain;
}


/* ==================================================
   Responsive corner radius
================================================== */

/* Small mobile */
.gallery-main-image img {
  border-radius: 50px 0 50px 0;
}

/* Large mobile */
@media (min-width: 400px) {

  .gallery-main-image img {
    border-radius: 55px 0 55px 0;
  }
}

/* Tablet portrait */
@media (min-width: 768px) {

  .gallery-main-image img {
    border-radius: 50px 0 50px 0;
  }
}

/* Tablet landscape */
@media (min-width: 992px) {

  .gallery-main-image img {
    border-radius: 70px 0 70px 0;
  }
}

/* Desktop */
@media (min-width: 1200px) {

  .gallery-main-image img {
    border-radius: 100px 0 100px 0;
  }
}
/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
	.galleryimgtxt h3,
	.gallerygridimgtxt h3 {
		font-size: 1rem;
	}
	.gallerymain .link-icon {
		display:inline-block;
	    font-size: 1rem;
	    line-height: 2rem;
	    width: 2rem;
	    height: 2rem;
	    border-radius: 50%;
	    box-shadow: 0 0 1px #222;
	}
}

/* ==================================================
   Product Category Widget
================================================== */

#categories {
  line-height: 1.6;
}

#categories .categories-intro {
  color: var(--body-color);
}


/* ==================================================
   Grid
================================================== */

#categories .category-col {
  display: flex;
}

#categories .cat-card {
  width: 100%;
  height: 100%;

  border: 0;
  background: transparent;

  transition: transform 0.3s ease;
}


/* ==================================================
   Whole-card link
================================================== */

#categories .cat-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  width: 100%;
  height: 100%;
  min-height: 300px;

  overflow: hidden;

  color: var(--white);

  /*
   * PAYG25 corner treatment:
   * top-left and bottom-right rounded.
   */
  border-radius: 100px 0 100px 0;
}


/* ==================================================
   Category image
================================================== */

#categories .cat-media {
  position: relative;

  width: 100%;
  min-width: 0;
  height: 100%;

  overflow: hidden;

  background-color: var(--body-borders);
}

#categories .cat-img,
#categories .cat-img--placeholder {
  display: block;

  width: 100%;
  height: 100%;
}

#categories .cat-img {
  object-fit: cover;
  object-position: center;

  transition: transform 0.5s ease;
}

#categories .cat-img--placeholder {
  background-color: rgba(var(--black-rgb), 0.06);
}


/* ==================================================
   Category text panel
================================================== */

#categories .cat-title {
  display: flex;
  align-items: center;

  min-width: 0;

  padding: 2rem;

  color: var(--white);

  background-color: var(--brand-color2);
}

#categories .cat-title-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  margin: 0;

  color: var(--white);

  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;

  text-align: left;
}

#categories .cat-title-icon {
  display: inline-flex;
  flex: 0 0 auto;

  align-items: center;
  justify-content: center;

  font-size: 0.8em;

  transition: transform 0.25s ease;
}


/* ==================================================
   Alternating category colours

   1 = teal
   2 = rose
   3 = rose
   4 = teal

   Then repeat.
================================================== */

#categories .category-col:nth-child(4n + 1) .cat-title,
#categories .category-col:nth-child(4n + 4) .cat-title {
  background-color: var(--brand-color2);
}

#categories .category-col:nth-child(4n + 2) .cat-title,
#categories .category-col:nth-child(4n + 3) .cat-title {
  background-color: var(--brand-color1);
}

@media (max-width: 991.98px) {

  #categories .category-col:nth-child(odd) .cat-title {
    background-color: var(--brand-color2);
  }

  #categories .category-col:nth-child(even) .cat-title {
    background-color: var(--brand-color1);
  }
}


/* ==================================================
   Hover
================================================== */

@media (hover: hover) and (pointer: fine) {

  #categories .cat-card:hover {
    transform: translateY(-5px);
  }

  #categories .cat-card:hover .cat-img {
    transform: scale(1.04);
  }

  #categories .cat-card:hover .cat-title-icon {
    transform: translateX(4px);
  }
}


/* ==================================================
   Large desktop
================================================== */

@media (min-width: 1200px) {

  #categories .cat-card-link {
    min-height: 320px;
  }

  #categories .cat-title {
    padding: 2.25rem;
  }

  #categories .cat-title-text {
    font-size: 1.65rem;
  }
}


/* ==================================================
   Tablet / smaller desktop
================================================== */

@media (min-width: 768px) and (max-width: 1199.98px) {

  #categories .cat-card-link {
    min-height: 280px;
  }

  #categories .cat-title {
    padding: 1.75rem;
  }

  #categories .cat-title-text {
    font-size: 1.35rem;
  }
}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 767.98px) {

  #categories .cat-card-link {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);

    min-height: 240px;

    border-radius: 70px 0 70px 0;
  }

  #categories .cat-title {
    padding: 1.5rem;
  }

  #categories .cat-title-text {
    font-size: 1.3rem;
  }
}


/* ==================================================
   Very small mobile
================================================== */

@media (max-width: 399.98px) {

  #categories .cat-card-link {
    grid-template-columns: 1fr;

    min-height: 0;

    border-radius: 60px 0 60px 0;
  }

  #categories .cat-media {
    aspect-ratio: 1 / 0.8;
  }

  #categories .cat-title {
    min-height: 150px;
  }
}

/* ==================================================
   Featured Products
================================================== */

#featured {
  position: relative;

  color: var(--white);

  background-color: var(--brand-color1);

  background-image:
    linear-gradient(
      rgba(var(--brand-color1-rgb), 0.8),
      rgba(var(--brand-color1-rgb), 0.8)
    ),
    var(--featured-background-image);

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


/* ==================================================
   Featured products intro
================================================== */

.featured-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  height: 100%;

  color: var(--white);
}

.featured-intro h2 {
  color: var(--white);
}

.featured-intro-text,
.featured-intro-text p,
.featured-intro-text li {
  color: var(--white);
}

.featured-intro-text > *:last-child {
  margin-bottom: 0;
}


/* ==================================================
   Featured icon
================================================== */

.featuredicon {
  display: block;

  width: auto;
  height: auto;

  color: var(--white);

  background: transparent;

  font-size: 3rem;
  line-height: 1;
}

.featuredicon i {
  color: var(--white);

  font-size: inherit;
  line-height: 1;
}


/* ==================================================
   Shared product cards
   Featured widget + product grid
================================================== */

.prod-card {
  position: relative;

  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;

  overflow: hidden;

  border: 0;
  border-radius: 100px 0 100px 0;

  background-color: var(--white);
  /*border: 1px solid rgba(var(--brand-color2-rgb), 0.10);*/
  box-shadow: 0 0.5rem 1.5rem rgba(var(--black-rgb), 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.prod-card-link,
.prod-card-link:visited {
  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;

  color: inherit;
  text-decoration: none;
}


/* ==================================================
   Product image
================================================== */



.prod-media {
  position: relative;

  width: 100%;
  aspect-ratio: 4 / 3;

  overflow: hidden;

  background-color: var(--white);
  box-shadow:
    inset 0 0 0 1px rgba(var(--brand-color2-rgb), 0.08);
}

.prod-media > img.prod-img,
.prod-media > .prod-img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover !important;
  object-position: center;
}

.prod-img {
  transition: transform 0.5s ease;
}

.prod-img--placeholder {
  background-color: var(--body-borders);
}


/* ==================================================
   Product card text
================================================== */

.prod-card-grid .prod-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;

  padding: 1.75rem 1.5rem 1rem;

  color: var(--brand-color2);

  text-align: left;

  /*
   * 20% rose visually mixed over a genuine
   * white card background.
   */
  background-color: rgba(var(--brand-color1-rgb), 0.2);
}

.prod-title {
  margin: 0 0 0.5rem;

  color: var(--brand-color2);

  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.45;
}

.prod-mpn {
  margin-bottom: 1rem;

  color: var(--brand-color2);

  font-size: 0.875rem;
}

.prod-price {
  display: inline-block;

  color: var(--brand-color1);

  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
}

.prod-price sup {
  margin-left: 0.2rem;

  font-size: 0.6em;
}

.prod-price span {
  font-size: 0.875rem;
  font-weight: 500;
}


/* ==================================================
   Product card footer
================================================== */

.prod-card-grid .prod-card-footer {
  padding: 0.5rem 1.5rem 1.75rem;

  text-align: left;

  background-color: rgba(var(--brand-color1-rgb), 0.2);
}


/* ==================================================
   Product stock badges
================================================== */

.prod-stock-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 3;

  padding: 0.45rem 0.75rem;

  border-radius: 999px;

  color: var(--white);

  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;

  backdrop-filter: blur(6px);

  box-shadow:
    0 4px 12px
    rgba(var(--black-rgb), 0.15);
}


/* Available */

.prod-stock-in {
  background-color: #28a745;
}


/* Low Stock */

.prod-stock-low {
  color: var(--brand-color2);

  background-color: #d4af37;
}


/* Negative states */

.prod-stock-out {
  background-color: #dc3545;
}


/* ==================================================
   NEW badge
================================================== */

.prod-badge-new {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;

  width: 86px;
  height: 86px;

  overflow: hidden;

  pointer-events: none;
}

.prod-badge-new::before {
  position: absolute;
  top: 0;
  right: 0;

  content: "";

  border-top: 86px solid #dc3545;
  border-left: 86px solid transparent;
}

.prod-badge-new span {
  position: absolute;
  top: 17px;
  right: -7px;

  width: 90px;

  color: var(--white);

  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;

  transform: rotate(45deg);
}


/* ==================================================
   Product card hover
================================================== */

@media (hover: hover) and (pointer: fine) {

  .prod-card:hover {
    transform: translateY(-6px);

    box-shadow:
      0 0.75rem 2rem
      rgba(var(--black-rgb), 0.18);
  }

  .prod-card:hover .prod-more i {
    transform: translateX(4px);
  }

  .prod-card:hover .prod-img {
    transform: scale(1.04);
  }
}


/* ==================================================
   Featured products equal-height columns
================================================== */

#featured .featured-product-col {
  display: flex;
}


/* ==================================================
   Product list view
================================================== */

.prod-card-list {
  color: var(--brand-color2);

  background-color: var(--white);
  background-image:
    linear-gradient(
      rgba(var(--brand-color1-rgb), 0.2),
      rgba(var(--brand-color1-rgb), 0.2)
    );
}

.prod-card-list > .row {
  min-height: 100%;
}

.prod-card-list .prod-media {
  height: 100%;
  min-height: 280px;

  aspect-ratio: auto;

  background-color: var(--white);
}

.prod-list-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 2rem;

  color: var(--brand-color2);
}

.prod-card-list .prod-title {
  margin-bottom: 0.75rem;

  font-size: 1.25rem;
}

.prod-card-list .prod-title a {
  color: var(--brand-color2);
}

.prod-card-list .prod-title a:hover,
.prod-card-list .prod-title a:focus {
  color: var(--brand-color1);
}

.prod-card-list .prod-mpn {
  margin-bottom: 1rem;

  color: var(--brand-color2);
}

.prod-list-snippet {
  margin-bottom: 1.5rem;

  color: var(--body-color);

  line-height: 1.55;
}

.prod-card-list .prod-price {
  margin-top: auto;

  color: var(--brand-color1);

  font-size: 2rem;
}


/* ==================================================
   Product list action
================================================== */

.prod-list-action {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 2rem;
}

.prod-list-action .btn {
  white-space: nowrap;
}


/* ==================================================
   Tablet
================================================== */

@media (min-width: 768px) and (max-width: 1199.98px) {

  .prod-card {
    border-radius: 75px 0 75px 0;
  }

  .prod-card-grid .prod-card-body {
    padding:
      1.5rem
      1.25rem
      0.75rem;
  }

  .prod-card-grid .prod-card-footer {
    padding:
      0.5rem
      1.25rem
      1.5rem;
  }
}


/* ==================================================
   Mobile
================================================== */

@media (max-width: 767.98px) {

  .featured-intro {
    align-items: flex-start;
  }

  .prod-card {
    border-radius: 70px 0 70px 0;
  }

  .prod-card-list .prod-media {
    height: auto;
    min-height: 0;

    aspect-ratio: 4 / 3;
  }

  .prod-list-content {
    padding: 1.75rem 1.5rem;
  }

  .prod-list-action {
    justify-content: flex-start;

    padding:
      0
      1.5rem
      1.75rem;
  }
}


/* === PRODUCT GRID PAGE NAVIGATION === */
.prodnav {
	background-color: var(--body-borders);
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    border-radius: 30px;
}
.prodnav ul {
	margin-bottom: 0;
}
.prodnav .page-item.disabled .page-link {
	color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: transparent;
    border: none;
}
.prodnav .page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.prodnav .page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    background-color: transparent;
    border: none;
}
.page-item.active .page-link {
	font-weight: 700;
  color: var(--white);
}
.prodnav li {
    position: relative;
}
.prodnav .prodsort {
	padding: .5rem .75rem;
}
.prodnav .prodsort select {
	max-width: 165px;
}
.prodnav .prodsort .form-control {
    background-clip: padding-box;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/* Mobile */
@media (max-width: 575.98px) {
	.prodnav .page-link {
	    padding: .5rem .5rem;
	}
	.prodnav li:before {
	    display: none;
	}
}

/* === PRODUCT GRID SIDE FILTERS === */
#productgridside h4 {
    position: relative;
    padding-bottom: 0.9375rem;
    color: var(--brand-color2);
}
#productgridside h4 a {
    color: var(--brand-color2);
}
#productgridside h4::after {
    position: absolute;
    content: '';
    width: 50px;
    height: 2px;
    background-color: rgba(var(--brand-color1-rgb), 1);
    bottom: 0;
    left: 0;
}
#productgridside h4 span {
    font-size: 2rem;
}
.sidecats .postcount {
    font-size: 0.8125rem;
}
.sidecats ul {
    list-style: none;
    padding: 0;
    word-wrap: break-word;
    line-height: 2;
    text-rendering: optimizeLegibility;
}
.sidecats li,
.sidecats li a {
	color: var(--body-color);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
.sidecats li a:hover,
.sidecats li.active a {
	color: var(--brand-color1);
}
.sidecats li::before {
    content: '\f07b';
    margin-right: 0.6rem;
}
.sidecats li::before {
    font-family: var(--font-icons);
    font-size: 1rem;
}
#prodSideCats {
	display: block;
}
.filters .form-control {
    border-radius: 0;
}
.filters label {
    font-weight: 400;
    margin-bottom: .25rem !important;
}
.filters .btn {
    border-radius: 0;
}
.filterddm {
	margin-bottom: 0.25rem;
}
.filterddm .form-control {
    border-radius: 0;
}
.clearfilter a {
	font-size: 0.875rem;
}
.search-group .btn {
    padding: 0 0.75rem !important;
}
/*.search-group .input-group-text {
    border-radius: 0;
}
.search-group .form-control {
    border-radius: 0;
}
#prodfilters {
	display: block;
}*/
/* Mobile */
@media (max-width: 575.98px) {
	#prodSideCats {
		display: none;
	}
	#prodfilters {
		display: none;
	}
}
/* Mobile landscape / small tablets */
@media (min-width: 576px) and (max-width: 767.98px) {
	.filters .form-inline .form-control {
	    width: 400px !important;
	}
}
/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
	.filters .form-inline .form-control {
	    width: 100% !important;
	}	
}

/* === PRODUCT DETAILS SECTION === */
.proddetailsimg img,
.proddetailsthumb img  { 
	max-width: 100%;
	height: auto;
}
.proddetailsimg img,
.proddetailsthumb img {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);	
}
.enlarge {
	font-size:1.5em;
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	z-index: 999;
}
.enlarge a:hover {
	text-decoration:none;
}
#maincontent .proddetailstxt h1 {
    position: relative;
    font-size: 1.75rem;
    line-height: 125%;
}
.proddetailsprc {
	color: #443F3F;
	font-size: 1.5rem;
	font-weight: 700;
}
.proddetailsprc sup {
	font-size: 0.875rem;
	font-weight: 400;
	text-transform: lowercase;
}
.proddetailsprc span {
	font-size: 1rem;
	font-weight: 400;
	text-transform: none;
}
.proddetailsprc .prodstock,
.proddetailsprc .prodstock span {
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
}
.proddetailsbtn .btn {
	font-size: 1rem;
	font-weight: 600;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.proddetailsvideo .btn-outline-primary {
	font-size: 1.125rem;
	line-height: 2rem;
	font-weight: 600;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.proddetailsbtn .btn-primary,
.proddetailsvideo .btn-outline-primary {
	width:100%;
}
.proddetailsvideo i {
	padding-left: 0.75rem;
	font-size: 1.125rem;
}
.prodenquiry {
	background-color: var(--body-borders);
	width: 100%;
	height:auto;
	padding:1.25rem;
	margin:0 0 1.5em 0;
	display:none;
  border-radius: 30px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#prodenqform .btn {
	width: 100%;
    display: block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 2;
    border-radius: 999px;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
ul.nav-tabs { 
   list-style-type: none; 
}
.nav-tabs .nav-item {
    margin-bottom: -1px;
}
.nav-tabs .nav-link {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.nav-tabs .nav-link {
    padding: 0.5rem 1.25rem;
    margin-left: 0;
    margin-right: 2px;
}
.nav-tabs .nav-link {
    color: #999;
    border: 1px solid transparent;
    background-color: #eaeaea;
}
.nav-tabs .nav-link:hover {
    color: var(--headings-color);
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: var(--headings-color);
    background-color: var(--white);
    border-color: #dee2e6 #dee2e6 #fff;
}
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}
.tab-content {
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
}
/* Mobile */
@media (max-width: 575.98px) {
	.nav-item {
	    width:100%;
	}
	.nav-tabs .nav-link {
	    padding: 0.5rem 1.25rem;
	    width:100%;
	    margin-left: 0;
	    margin-right: 0;
	}
	.proddetailsthumb img  { 
		width: 100%;
		height: auto;
	}
}
/* Mobile landscape / small tablets */
@media (min-width: 576px) and (max-width: 767.98px) { 
	.nogsm {
		display: none;
	}
}
/* Mobile */
@media (max-width: 575.98px) {
	.nogsm {
		display: none;
	}
}
/* Tablet portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
	.nav-tabs .nav-item {
	    margin-bottom: 0px;
	}
}
/* Tablet landscape / small laptops */
@media (min-width: 992px) and (max-width: 1199.98px) {
	.nav-tabs .nav-item {
	    margin-bottom: 0px;
	}
}

/* === COOKIE SETTINGS LINK === */
.cookie-settings {
	position: fixed !important;
	left: 15px;
	bottom: 15px;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;               
	align-items: center; 
	justify-content: center;
	text-align: center;
	z-index: 9999;
	cursor: pointer;
}
.cookie-settings i {
	color: var(--brand-color1);
	font-size: 2.5rem;
	transition: transform .5s ease;
}
.cookie-settings i:hover {
	color: var(--brand-color2);
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: var(--brand-color2);
    color: var(--white);
}
.cookie-banner .container {
    width: 100%;
    max-width: 100%;
}
.cookie-banner .row {
    margin-left: 0;
    margin-right: 0;
}
.cookie-banner[hidden] {
    display: none !important;
}
.cookie-banner .text-light-emphasis,
.cookie-banner h2,
#cookieSettingsForm label {
    color: var(--white) !important;
}
/* Mobile tidy-up */
@media (max-width: 575.98px) {
    .cookie-banner {
        padding-left: 0;
        padding-right: 0;
    }
    .cookie-banner .btn {
        width: 100%;
        white-space: normal;
    }
}
.embedded-media-placeholder {
    max-width: 100%;
}
.youtube-consent-placeholder {
    max-width: 100%;
}
.youtube-consent-placeholder__media {
    position: relative;
    overflow: hidden;
    background: var(--black);
    border-radius: .5rem;
}
.youtube-consent-placeholder__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.youtube-consent-placeholder__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(var(--black-rgb), 0.45);
}
.youtube-consent-placeholder__content {
    max-width: 42rem;
    color: var(--white);
}
.youtube-consent-placeholder__play {
    width: 72px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: rgba(255, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}
.youtube-consent-placeholder__play-icon {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #fff;
}
.youtube-consent-placeholder__fallback {
    width: 100%;
    height: 100%;
    min-height: 240px;
    color: var(--white);
    background: #111;
    text-align: center;
    padding: 1rem;
}
.youtube-video-trigger {
    max-width: 100%;
}
.youtube-video-trigger__link,
.youtube-video-trigger__button {
    position: relative;
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: var(--black);
    border-radius: 0;
    text-decoration: none;
    color: inherit;
}
.youtube-video-trigger__button {
    cursor: pointer;
}

.youtube-video-trigger__link img,
.youtube-video-trigger__button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.youtube-video-trigger__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(var(--black-rgb), 0.35);
}
.youtube-video-trigger__content {
    max-width: 42rem;
    color: var(--white);
}
.youtube-video-trigger__play {
    width: 72px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: rgba(255, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}
.youtube-video-trigger__play-icon {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #fff;
}
.youtube-video-trigger__fallback {
    width: 100%;
    height: 100%;
    min-height: 240px;
    color: var(--white);
    background: #111;
    text-align: center;
    padding: 1rem;
}
.youtube-video-trigger__label {
    pointer-events: none;
}

/* === ANIMATIONS === */
/* Base: default duration + delay var */

/* Desktop and above */
@media (min-width: 1200px) {
  [data-animate] .anim-target {
    opacity: 0;
    transform: none;
    transition:
      opacity var(--anim-duration, 2s) ease,
      transform var(--anim-duration, 2s) ease;
    transition-delay: var(--anim-delay, 0ms);
    will-change: opacity, transform;
  }
  /* In view */
  [data-animate].is-inview .anim-target {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  /* Preset: fade-right */
  [data-animate="fade-right"] .anim-target {
    transform: translate3d(100%, 0, 0);
  }
  /* Preset: fade-up (available for later widgets) */
  [data-animate="fade-up"] .anim-target {
    transform: translate3d(0, 48px, 0);
  }
  /* Preset: fade-down (available for later widgets) */
  [data-animate="fade-down"] .anim-target {
    transform: translate3d(0, -48px, 0);
  }
  /* Preset: fade-left (available for later widgets) */
  [data-animate="fade-left"] .anim-target {
    transform: translate3d(-100%, 0, 0);
  }
  /* Preset: zoom (available for later widgets) */
  [data-animate="zoom"] .anim-target {
    transform: scale3d(0.3, 0.3, 0.3)
  }
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  [data-animate] .anim-target,
  [data-animate].is-inview .anim-target {
    transition: none;
    transform: none !important;
    opacity: 1 !important;
  }
}