/* FONT
----------------------------------------------------------------*/

/*
h1, h2, h3, h4, h5, h6,
button,
input[type='button'],
input[type='reset'],
input[type='submit'],
.button,
#page #infinite-handle button,
.site-title-wrap,
.site-navigation,
.top-navigation-right {
	font-family: "Domine", Georgia, Times, "Times New Roman", serif !important;
	}
*/

html,
body {
  font-family:
    "Montserrat", "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.stripe-button-el span,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  font-family:
    "Montserrat", "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:
    "Montserrat", "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
  font-weight: 700;
  clear: none;
}

h1 {
  font-size: 30px;
  line-height: 1.2;
}

h2 {
  font-size: 26px;
  margin-bottom: 26px;
}

h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

h4 {
  font-size: 18px;
  margin-bottom: 18px;
}

.has-medium-font-size {
  font-size: 20px !important;
}
.has-large-font-size {
  font-size: 22px !important;
}
.has-x-large-font-size {
  font-size: 24px !important;
}

/* GLOBAL
----------------------------------------------------------------*/

div {
  -webkit-tap-highlight-color: transparent;
}

:focus {
  /*     outline: -webkit-focus-ring-color auto 1px !important; */
}

/* COLOURS
----------------------------------------------------------------*/

/* Yellow  */

.wp-block-button__link,
.gb-block-post-grid .gb-block-post-grid-more-link,
p.wp-block-post-excerpt__more-text a,
.highlight,
.read-more a,
.page-numbers:hover,
.entry-content .meta-list a:hover,
.wp-block-file * + .wp-block-file__button,
.has-vocal-yellow-background-color,
.home .imagePanel,
.page-template-page-home .imagePanel,
#mega-menu-wrap-primary
  #mega-menu-primary
  .mega-sub-menu
  li.mega-menu-item.mega-current_page_item
  a.mega-menu-link {
  background: #ffd21f;
}

#mc_embed_signup .button {
  background: #ffd21f !important;
}

.site-footer a {
  color: #ffd21f;
}

/* Yellow - Tints */

.imagePanel,
.has-vocal-light-yellow-background-color {
  background: #fff4c9;
}

/* Blue */

#site-navigation,
.imagePanel .wp-block-button__link,
.pageBanner .wp-block-button__link,
.read-more a:hover,
.page-numbers.current,
.subPagesNav a:hover,
.entry-content .meta-list a,
.wp-block-file * + .wp-block-file__button:hover,
.has-vocal-dark-blue-background-color,
.gb-notice-title,
.wp-block-genesis-blocks-gb-notice,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  li.mega-menu-item.mega-current_page_item
  > a.mega-menu-link {
  background: #004a93;
}

.aagb__accordion_head:hover,
#mc_embed_signup .button:hover,
.aagb__accordion_active .aagb__accordion_head {
  background: #004a93 !important;
}

.subPages a,
.post-navigation a:hover .post-title,
.postsQuery .wp-block-post-title a:hover {
  color: #004a93;
}

.entry-content p a,
.entry-content li a {
  color: #004a93;
  box-shadow: inset 0 -1px 0 #004a93;
  font-weight: 500;
}
x .gb-notice-text {
  border-color: #004a93;
}

.gb-block-post-grid .gb-post-grid-item,
.postsQuery .wp-block-group {
  border: solid rgba(0, 74, 148, 0.3);
}

/* Blue - Tints */

.top-bar,
.search-drawer,
.entry-header.content-header,
.gb-block-post-grid .gb-post-grid-item,
.postsQuery .wp-block-group,
/* .subscribe .wp-block-button__link:hover, */
.panels .gb-block-layout-column-inner,
.has-vocal-light-blue-background-color,
table thead {
  background: #f4fafe;
  /*  background: #e7ecf3 ;  */
}

.aagb__accordion_head {
  background: #f4fafe !important;
  /* 	color: #000 !important; */
}

/* Dark Grey */

.site-footer,
.has-vocal-dark-grey-background-color {
  background: #333;
}

/* Light Grey */

.wp-block-file {
  background: rgba(0, 0, 0, 0.1);
}

table tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.03);
}

/* White  */

.site-header,
.entry-header .gb-block-post-grid .gb-post-grid-item,
.wp-block-genesis-blocks-gb-container .postsQuery .wp-block-group,
.wp-block-genesis-blocks-gb-container .gb-block-post-grid .gb-post-grid-item {
  background: #fff;
}

.site-footer,
.site-footer a:hover,
.gb-block-post-grid .gb-block-post-grid-more-link:hover,
.imagePanel .wp-block-button__link,
.pageBanner .wp-block-button__link,
.read-more a:hover,
.subPagesNav a:hover,
.subPages li.current-page a:hover,
.subNavBack a:hover,
.entry-content .meta-list a,
.subPagesFoot .subPagesNav li.current_page_item a:hover,
.wp-block-file * + .wp-block-file__button:hover,
.gb-notice-title,
.wp-block-genesis-blocks-gb-notice,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item.mega-current_page_item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  li.mega-menu-item.mega-current_page_item
  > a.mega-menu-link:hover,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  li.mega-menu-item.mega-current_page_item
  > a.mega-menu-link {
  color: #fff;
}

.aagb__accordion_active .active .aagb__accordion_title,
.aagb__accordion_active .aagb__accordion_active .aagb__accordion_title,
.aagb__accordion_active .aagb__accordion_icon,
.aagb__accordion_head:hover .aagb__accordion_title,
.aagb__accordion_head:hover .aagb__accordion_icon,
#mc_embed_signup .button:hover {
  color: #fff !important;
}

/*
.wp-block-aab-accordion-item {
	border: #fff !important;
}
*/

/* Black */

.entry-content p a:hover,
.entry-content li a:hover {
  color: #000;
  box-shadow: inset 0 -2px 0 #000;
}

a,
.wp-block-post-title a,
.wp-block-button__link,
.gb-block-post-grid .gb-block-post-grid-more-link,
.entry-byline,
p.wp-block-post-excerpt__more-text a,
.postsQuery .wp-block-post-title a,
.wp-block-file * + .wp-block-file__button,
.subPagesFoot .subPagesNav li.current_page_item a,
.subscribe .wp-block-button__link:hover,
.footer-widgets .wp-block-buttons .wp-block-button__link,
.main-navigation li ul a.wp-block-button__link,
.main-navigation li ul a.wp-block-button__link:hover {
  color: #000;
}

#mc_embed_signup .button,
.aagb__accordion_active .aagb__accordion_title {
  color: #000 !important;
}

a:hover,
.top-bar a:hover,
.wp-block-post-title a:hover {
  color: #000;
  text-decoration: underline;
}

/* Opacity */

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  li.mega-menu-item
  > a.mega-menu-link {
  background: transparent;
}

.wp-block-button__link:hover {
  opacity: 0.5;
}

/* Accordions */

.accordion-blue .aagb__accordion_head {
  background: #004a93 !important;
  color: #fff !important;
}

.accordion-yellow .aagb__accordion_head {
  background: #ffd21f !important;
}

/* Layout
----------------------------------------------------------------*/

.container {
  /* 	max-width: 1100px; */
  padding: 0 15px;
}

#page {
  padding-top: 0px;
}

#page.container {
  /* 	padding: 0 4%; */
}

.page #primary {
  width: 90%;
}

.home #primary,
.page-template-page-home #primary,
.page-id-14412 #primary, /* dev home */
.search #primary,
.page.page-id-10489 #primary, /* carer news */
.page.page-id-10937 #primary, /* jobs */
.page.page-id-10882 #primary /* volunteer vacancies */ {
  width: 100%;
}

#page .site-content {
  margin-top: 35px;
  padding-bottom: 0px;
}

/* Header
----------------------------------------------*/

.site-identity {
  padding: 15px 0;
}

.titles-wrap {
  display: none;
}

.header-text {
  margin: 50px auto 0 auto;
}

/* Top Bar
----------------------------------------------*/

.top-bar {
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
  font-size: 14px;
  padding: 10px 15px;
}

header .top-bar p {
  margin: 0;
  padding: 0;
  display: inline-block;
}

/* Top Nav
----------------------------------------------*/

.menu-top-menu-container ul {
  margin: 0;
  padding: 0;
  display: inline-block;
  line-height: 1.5;
}

.menu-top-menu-container li {
  display: inline-block;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0 6px 0 6px;
  font-size: 14px;
}

.menu-top-menu-container li a {
  text-decoration: underline;
}

.menu-top-menu-container li a:hover {
  text-decoration: none;
}

.menu-top-menu-container li:first-of-type {
  padding-left: 0px;
}

.menu-top-menu-container li:last-of-type {
  border-right: 0px;
  padding-right: 0;
}

/* Logo Bar
----------------------------------------------*/

.logo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
  padding: 0 15px;
}

.logo-bar .left-column {
  order: 1;
  flex: 1 1 50%;
}

.logo-bar .right-column {
  flex: 2 1 50%;
  order: 2;
}

.logo-bar .right-column .top-row {
  text-align: right;
  padding-bottom: 15px;
}

.logo-bar .right-column .bottom-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.logo-bar .right-column .wp-block-button__link {
  font-size: 14px;
}

.logo-bar p,
.logo-bar ul {
  margin-bottom: 0;
}

/* Logo */

.logo-bar .site-title-wrap {
  max-width: 200px;
}

/* Search */

.search-drawer {
  border-top: 4px solid #004a93;
}

/* Navigation
----------------------------------------------------------------*/

.top-navigation .container {
  /* 	max-width: 1400px; */
  max-width: 100%;
  padding: 0;
}

/* Search  */

.search-toggle {
  display: block;
  margin-left: 0px;
  background: #004a93;
  color: #fff;
  padding: 10px;
  margin-left: 10px;
  width: 42px;
}

.wp-block-button__link.search-toggle:hover {
  opacity: 0.5;
}

.search-drawer {
  text-align: center;
}

.search-drawer .big-search {
  max-width: 500px;
  margin: 0 auto;
}

.search-drawer .search-input {
  font-size: 24px;
}

.search-drawer input[type="text"] {
  background: transparent;
}

.search-drawer .searchsubmit {
  margin-right: 0px;
}

/* Mega Menu
----------------------------------------------------------------*/

#mega-menu-wrap-primary {
  width: 100% !important;
}

.mega-sub-menu {
  margin-left: 0 !important;
}

/* Main Menu Items */

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
  width: 24%;
  max-width: 270px;
  max-width: 320px;
  overflow: hidden;
  border-right: 0px solid #000;
}

/* Active Tab */

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  font-weight: 500 !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-menu-ancestor
  > a.mega-menu-link {
  color: #fff;
  background: #004a93;
}

/* #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link:hover */
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-toggle-on
  > a.mega-menu-link[aria-expanded="true"] {
  background: #fffcf2;
  color: #000;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-page-parent
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-current-page-ancestor
  > a.mega-menu-link {
  color: #000;
  background: #f4fafe;
}

/* Mega Menu */

ul.mega-sub-menu {
  border-top: 0px solid #004a93 !important;
  border-bottom: 5px solid #004a93 !important;
}

ul.mega-sub-menu ul {
  border: 0 !important;
  filter: drop-shadow(0px 0px 0px transparent) !important;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-megamenu
  > ul.mega-sub-menu
  > li.mega-menu-row {
  max-width: 1300px;
  margin: 0 auto;
  float: none;
  margin-bottom: 30px;
  padding-bottom: 20px;
  clear: both;
}

/* Mega Menu - Styles  */

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  > li.mega-menu-item
  h4.mega-block-title,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  h4.mega-block-title,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  > a.mega-menu-link:hover {
  font-weight: 700;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  li.mega-menu-item
  > a.mega-menu-link {
  margin-bottom: 2px;
}

.mega-sub-menu ul.mega-sub-menu .mega-current_page_item a {
  text-decoration: underline;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-megamenu
  > ul.mega-sub-menu
  > li.mega-menu-row
  .mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item {
  padding: 5px 15px 15px 15px;
}

/* Widget */

.mega-menu-item-type-widget .textwidget {
  font-weight: normal;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-megamenu
  > ul.mega-sub-menu
  > li.mega-menu-row
  .mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item-type-widget.mega-menu-item {
  padding: 0 15px 5px 15px;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  > li.mega-menu-item
  h4.mega-block-title,
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-megamenu
  > ul.mega-sub-menu
  li.mega-menu-column
  > ul.mega-sub-menu
  > li.mega-menu-item
  h4.mega-block-title {
  padding: 10px 0 10px 0;
}

/* Resuable Block */

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-megamenu
  > ul.mega-sub-menu
  > li.mega-menu-row
  .mega-menu-column
  > ul.mega-sub-menu
  > li.widget_maxmegamenu_reusable_block.mega-menu-item {
  padding: 0 15px 25px 15px;
  width: 100%;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-megamenu
  > ul.mega-sub-menu
  > li.mega-menu-row
  .mega-menu-column
  > ul.mega-sub-menu
  > li.widget_maxmegamenu_reusable_block.mega-menu-item
  a {
  padding: 10px 15px;
  font-weight: 500;
}

/* Search  */

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-item.mega-menu-item-11384
  a {
  display: none;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  li.mega-menu-item.mega-menu-item-11384
  > ul.mega-sub-menu {
  display: block;
}

#mega-menu-wrap-primary .searchform .search-input {
  font-size: 18px;
  padding: 17px 15px;
  border: 0;
}

/* Entry Header
----------------------------------------------------------------*/

.entry-header.content-header {
  max-width: 100%;
  margin: 0 auto 0px;
}

.entry-header.content-header .container {
  padding: 30px 15px 10px 15px;
}

.entry-header.content-header .gb-block-post-grid {
  margin-bottom: 0;
}

.entry-header.content-header .page-excerpt {
  padding-bottom: 0;
  font-size: 20px;
  font-weight: 500;
}

/* Buttons
----------------------------------------------------------------*/

.entry-content .wp-block-buttons {
  margin: 30px 0;
}

.wp-block-button__link {
  transition: 0.3s;
}

.entry-content .wp-block-button__link {
  font-size: 16px;
  /* 	font-weight: bold; */
}

.wp-block-buttons > .wp-block-button:hover a {
  text-decoration: none;
}

/* Download */

.wp-block-file {
  margin: 25px 0;
  padding: 20px;
}

.wp-block-file:not(.wp-element-button) {
  font-weight: bold;
  font-size: 18px;
}

.wp-block-file * + .wp-block-file__button {
  padding: 5px 15px;
  font-weight: normal;
  font-size: 15px;
  text-decoration: none !important;
}

/* Small Button Style  - Read More / Meta */


.read-more a,
.entry-content .meta-list a,
.gb-block-post-grid .gb-block-post-grid-more-link,
.stripe-button-el {
  -webkit-border-radius: 9999px;
  -moz-border-radius: 9999px;
  border-radius: 9999px;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: normal;
  transition: 0.3s;
  box-shadow: none;
}

p.wp-block-post-excerpt__more-text a {
	display: none;
}

#mc_embed_signup .button {
  -webkit-border-radius: 9999px !important;
  -moz-border-radius: 9999px !important;
  border-radius: 9999px !important;
  line-height: auto !important;
  height: auto !important;
  padding: 10px 25px !important;
}

.read-more {
  padding-bottom: 10px;
}

.read-more a,
p.wp-block-post-excerpt__more-text a {
  margin-top: 10px;
}

.read-more a:hover,
.entry-content .meta-list a:hover,
p.wp-block-post-excerpt__more-text a:hover {
  box-shadow: none;
}

/* Standardise Mousover */

p.wp-block-post-excerpt__more-text a:hover,
.subNavBack a:hover,
.gb-block-post-grid .gb-block-post-grid-more-link:hover {
  opacity: 0.5;
  box-shadow: inset 0 0px 0 #000;
  color: #000;
  border: 0;
}

/* Main Image Panel
----------------------------------------------------------------*/

.imagePanel {
  line-height: 1.5;
}

.imagePanel {
  margin-bottom: 50px;
}

/* Styles
----------------------------------------------------------------*/

.highlight {
  font-size: 12px;
  padding: 0 3px;
}

/* Screen Reader */

.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background: #000;
  color: #fff;
  z-index: 1000;
  text-decoration: none;
  font-weight: bold;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #000;
}

/* Links */

.entry-content p a:hover,
.entry-content li a:hover {
  text-decoration: none;
}

a:focus,
button:focus,
input:focus {
  outline: 2px solid #005ea5;
  outline-offset: 2px;
}

/* Social Icons */

ul.wp-block-social-links {
  padding-left: 0;
}

/* Links - Exclude External Icon */

.wp-block-social-links .wp-block-social-link .wpel-icon {
  display: none;
}

/* Breadcrumbs   */
.breadcrumbs {
  padding: 10px 0;
}

.breadcrumbs,
.breadcrumbs span {
  font-size: 12px;
}

.breadcrumbs .post {
  width: auto;
}

.breadcrumbs a {
  text-decoration: underline;
}

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

.breadcrumbs .current-item {
  display: none;
}

.has-featured-image .breadcrumbs .current-item {
  /* 	display: inline-block; */
  font-weight: bold;
}

.page-template-page-landing .breadcrumbs {
  padding-bottom: 15px;
}

.page-template-page-landing .breadcrumbs .current-item {
  display: inline;
  font-weight: bold;
}

.page-template-page-landing .noFeaturedImage .breadcrumbs {
  padding-bottom: 0px;
}

.page-template-page-landing .noFeaturedImage .breadcrumbs .current-item {
  display: none;
}

/* Headers */

.post .entry-header {
  margin-bottom: 40px;
}

.entry-header .entry-title {
  font-size: 30px;
  margin: 10px 0 20px;
  font-weight: 700;
}

/* Headings */

.entry-content h2.wp-block-heading,
.entry-content h3.wp-block-heading {
  margin-top: 35px;
  margin-bottom: 35px;
}

.entry-content .gb-block-layout-column-inner h2.wp-block-heading,
.entry-content .gb-block-layout-column-inner h3.wp-block-heading {
  margin-top: 15px;
  margin-bottom: 25px;
}

/* Gallery  */

.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image {
  padding: 15px;
}

/* Images */

.wp-block-image {
  margin-bottom: 0;
}

.entry-content .wp-block-image figure img,
.entry-content figure.wp-block-image img {
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}

.entry-content .wp-block-image {
  /* 	overflow: hidden; */
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}

.entry-content .wp-block-image img {
  transition: all 0.3s ease-in-out;
}

.entry-content .wp-block-image a img:hover {
  transform: scale(1.1);
}

/* Gallery captions - move below the cropped image instead of overlaying it */

.wp-block-gallery.has-nested-images
  figure.wp-block-image:has(figcaption):before {
  display: none;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  position: static;
  max-height: none;
  background: none;
  color: inherit;
  text-shadow: none;
  padding: 0.5em 0 0;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
  flex: 0 0 auto;
  height: auto;
  width: 100%;
}

.wp-block-gallery.has-nested-images.is-cropped
  figure.wp-block-image:not(#individual-image)
  img {
  flex: 0 0 auto;
  height: auto;
  width: 100%;
}

/* Pagination */

.page-numbers {
  padding: 5px 10px;
}

/* Accordion */

.wp-block-aab-group-accordion {
  padding: 15px 0;
}

.wp-block-aab-group-accordion h4 {
  font-size: 20px;
}

.wp-block-aab-accordion-item {
  border: 0 !important;
}

.wp-block-aab-group-accordion .aagb__accordion_component {
  padding: 10px;
}

.entry-content .wp-block-aab-group-accordion .aagb__accordion_component ul {
  padding-left: 0;
}

/* Div Line */

#page .wp-block-separator {
  margin: 35px auto;
}

/* Container */

.alignfull.gb-block-container {
  margin-bottom: 0;
}

/* Quotes */

blockquote {
  margin: 30px 0 40px 0;
}

.wp-block-pullquote {
  text-align: left;
}

.wp-block-pullquote cite {
  font-size: 18px;
}

.wp-block-quote {
  border-left: 0.25em solid;
  margin: 50px;
  padding-left: 1em;
  font-size: 22px;
  font-weight: 400;
  border-left: solid 2px #272c30;
  line-height: 33px;
}

/* Entry Content */

.entry-content {
  line-height: 1.75;
}

.entry-content li {
  margin-bottom: 20px;
}

/* Featured Images - Full Width Background */

.full-width-background {
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  /*     height: 50vh; */
  height: auto;
  position: relative;
  z-index: -1;
}

.full-width-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 50% black overlay */
  z-index: -1; /* Ensure the overlay is behind any content within the background */
}

.full-width-background .page-excerpt {
  max-width: 1300px;
  margin: 0px auto;
  padding: 8% 15px;
  font-size: 25px;
  color: #fff;
}

.full-width-background h1 {
  font-size: 35px;
}

.full-width-background.hide {
  display: none;
}

/* Text panel opacity */

.page-id-10864 .full-width-background::before {
  background-color: rgba(0, 0, 0, 0);
}

.page-id-10864 .full-width-background {
  padding: 120px 15px;
}

.page-id-10864 .full-width-background .page-excerpt {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 50px;
}

/* Columns
-------------------------------------- */

/* Columns  */

.gb-block-layout-column {
  padding-bottom: 25px;
}

/* Height */

.wp-block-genesis-blocks-gb-column {
  height: 100%;
}

/* BG Colour */

.gb-has-custom-background-color,
.wp-block-genesis-blocks-gb-columns.has-vocal-yellow-background-color,
.wp-block-genesis-blocks-gb-columns.has-vocal-dark-blue-background-color,
.wp-block-genesis-blocks-gb-columns.has-vocal-light-blue-background-color,
.wp-block-genesis-blocks-gb-columns.has-vocal-light-yellow-background-color,
.wp-block-genesis-blocks-gb-columns.has-vocal-dark-grey-background-color {
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}

.has-vocal-dark-blue-background-color,
.has-vocal-light-blue-background-color,
.has-vocal-light-yellow-background-color,
.has-vocal-yellow-background-color,
.has-vocal-dark-grey-background-color,
.has-white-background-color {
  padding: 15px 25px 15px 25px;
  height: 100%;
}

.gb-has-custom-background-color .wp-block-button__link:hover {
  opacity: 0.5;
}

/* Rounded Panels */

.gb-block-layout-column-inner {
  -webkit-border-radius: 15px 0 15px 0;
  -moz-border-radius: 15px 0 15px 0;
  border-radius: 15px 0 15px 0;
}

.gb-layout-columns-1.one-column {
  -webkit-border-radius: 15px 0 15px 0;
  -moz-border-radius: 15px 0 15px 0;
  border-radius: 15px 0 15px 0;
}

.notRounded .wp-block-image img,
.notRounded .gb-block-layout-column-inner {
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
}

/* Single Column */

.gb-layout-columns-1.one-column h2 {
  margin-top: 10px;
}

/* Subscribe */

.subscribe .gb-has-custom-background-color {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

/* Image Captions */

.wp-block-image .aligncenter > figcaption,
.wp-block-image .alignleft > figcaption,
.wp-block-image .alignright > figcaption,
.wp-block-image.aligncenter > figcaption,
.wp-block-image.alignleft > figcaption,
.wp-block-image.alignright > figcaption {
  display: block;
}

/* List Style - alt */

.entry-content .wp-block-list.list-style-2 li {
  margin-bottom: 10px;
}

/* 100 Club - list style */

.category-vocal-100-club .entry-content .wp-block-list,
.vocal-100-club .entry-content .wp-block-list {
  margin: 0 0 10px 0;
  padding: 0;
}

.category-vocal-100-club .entry-content ul.wp-block-list li,
.vocal-100-club .entry-content ul.wp-block-list li {
  background: #025499;
  color: #fff;
  list-style: none;
  display: inline-block;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  -webkit-border-radius: 99px;
  -moz-border-radius: 99px;
  border-radius: 99px;
  height: 50px;
  width: 50px;
  padding: 10px 5px;
}

/*  Tables */

tbody {
  border-bottom: 1px solid #000;
}

/* Site Map */

.rank-math-html-sitemap {
  margin: 0 0 50px 0;
}

.rank-math-html-sitemap__title {
  display: none;
}

ul.rank-math-html-sitemap__list {
  margin: 0;
  padding: 0px;
}

ul.rank-math-html-sitemap__list li {
  margin: 0px;
  padding: 5px 10px;
  /* 	background: #f4fafe; */
}

ul.rank-math-html-sitemap__list li a {
  font-weight: bold;
}

ul.rank-math-html-sitemap__list li {
  list-style: none;
  font-weight: bold;
}

.rank-math-html-sitemap__list li ul li {
  margin: 0px;
  /* 	background: #f4fafe; */
}

.rank-math-html-sitemap__list li li ul {
  margin: 0px;
}

.rank-math-html-sitemap__list li li li {
  font-weight: normal;
  margin: 0px 0 0 15px;
  list-style: circle;
  font-size: 17px;
  /* 	padding: 5px 5px 5px 10px;  */
}

.rank-math-html-sitemap__list li li li a {
  font-weight: normal;
}

/* Subscribe  */

.subscribe .wp-block-genesis-blocks-gb-columns {
  margin-bottom: 50px;
  padding-top: 75px;
  padding-right: 25px;
  padding-bottom: 25px;
  padding-left: 25px;
}

/*  MailChimp */

#mc_embed_signup form {
  padding: 10px 0 10px 0 !important;
  margin: 0 !important;
}

#mc-embedded-subscribe-form input[type="checkbox"] {
  display: inline;
  width: auto;
  margin-right: 10px;
}
#mergeRow-gdpr {
  margin-top: 20px;
}
#mergeRow-gdpr fieldset label {
  font-weight: normal;
}
#mc-embedded-subscribe-form .mc_fieldset {
  border: none;
  min-height: 0px;
  padding-bottom: 0px;
}

#mc_embed_signup .mc-field-group select {
  padding: 10px 0 !important;
}

#mc_embed_signup .mc-field-group input {
}

#mc_embed_signup input[type="checkbox"] {
  margin-right: 10px;
  display: inline !important;
  width: auto !important;
}

/* Media & Text */

.wp-block-media-text.has-background {
  padding: 0;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  margin-bottom: 25px;
}

.wp-block-media-text > .wp-block-media-text__content {
  padding: 0 25px;
  font-size: 25px;
}

.wp-block-media-text .wp-block-media-text__media img {
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}

.wp-block-media-text.is-vertically-aligned-center
  > .wp-block-media-text__content,
.wp-block-media-text > .wp-block-media-text__content {
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  padding: 20px 20px 0 20px;
  margin: 0 0 0 25px;
  display: flex;
  align-items: center;
  height: 100%;
}

.wp-block-media-text.has-media-on-the-right > .wp-block-media-text__content {
  margin: 0 25px 0 0;
}

.wp-block-media-text.has-vocal-yellow-background-color,
.wp-block-media-text.has-vocal-dark-blue-background-color,
.wp-block-media-text.has-vocal-light-blue-background-color,
.wp-block-media-text.has-vocal-light-yellow-background-color,
.wp-block-media-text.has-vocal-dark-grey-background-color {
  background: #fff;
}

.wp-block-media-text.has-vocal-yellow-background-color
  .wp-block-media-text__content {
  background: #ffd21f;
}

.wp-block-media-text.has-vocal-dark-blue-background-color
  .wp-block-media-text__content {
  background: #004a93;
}

.wp-block-media-text.has-vocal-light-blue-background-color
  .wp-block-media-text__content {
  background: #f4fafe;
}

.wp-block-media-text.has-vocal-light-yellow-background-color
  .wp-block-media-text__content {
  background: #fff4c9;
}

.wp-block-media-text.has-vocal-dark-grey-background-color
  .wp-block-media-text__content {
  background: #333333;
}

/* Notices  */

.gb-block-notice {
  -webkit-border-radius: 15px 0 15px 0;
  -moz-border-radius: 15px 0 15px 0;
  border-radius: 15px 0 15px 0;
}

.gb-block-notice .gb-notice-title {
  -webkit-border-radius: 15px 0 0 0;
  -moz-border-radius: 15px 0 0 0;
  border-radius: 15px 0 0 0;
  color: #fff;
}

.gb-block-notice .gb-notice-text {
  -webkit-border-radius: 0 0 15px 0;
  -moz-border-radius: 0 0 15px 0;
  border-radius: 0 0 15px 0;
  border-color: #004a93 !important;
}

/* VOCAL Notice (Feature Box)  */

.vocal-notice {
  max-width: 33%;
  float: right;
  margin: 0 0 25px 25px;
  background: #004a93 !important;
  color: #272c30;
}

.vocal-notice .wp-block-buttons {
  margin: 0;
}

.vocal-notice .cta-note {
  font-size: 12px;
  padding-top: 10px;
}

/* PAGES
----------------------------------------------------------------*/

/* Courses */

.page-template-page-courses header,
.page-template-page-courses .subPages,
.page-template-page-courses .subscribe,
.page-template-page-courses .pre-foot,
.page-template-page-courses .site-footer {
  display: none;
}

.page-template-page-courses iframe {
  display: block; /* iframes are inline by default */
  height: 100vh;
  width: 100vw;
}

.page-template-page-courses #primary {
  width: 100% !important;
}

.page-template-page-courses .container {
  padding: 0;
  max-width: 100%;
}

.page-template-page-courses #page .site-content {
  margin-top: 0;
}

/* Documentation - Banners */

.page-id-13382 .entry-header.content-header {
  display: none;
}

.page-id-13382 #page .site-content {
  margin-top: 0px;
}

/* EVENTBRITE
	----------------------------------------------------------------*/

/* Eventbrite Session Notice */
#eb-notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#eb-notice-overlay.eb-notice-hidden {
  display: none;
}

#eb-notice-box {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}

#eb-notice-box p {
  font-size: 18px;
  margin-bottom: 30px;
}

#eb-notice-accept {
  background: #ffd21f;
  color: #000;
  border: none;
  padding: 12px 32px;
  border-radius: 9999px;
  font-size: 16px;
  cursor: pointer;
}

#eb-notice-accept:hover {
  opacity: 0.7;
}

/* Eventbrite Grid Layout */

.eventbrite-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .eventbrite-feed {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .eventbrite-feed {
    grid-template-columns: 1fr;
  }
}

/* Eventbrite Item  */

.eventbrite-item {
  box-sizing: border-box;
  display: flex;
  height: 100%;
  line-height: 1.428571429;
  border: 2px solid rgba(0, 74, 148, 0.3);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  max-width: 100%;
  position: relative;
  padding: 30px 22px;
  margin: 0;
  border-radius: 20px;
  background: rgba(244, 250, 254, 0.25);
}

.eventbrite-item:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
  border: 2px solid #004a93;
  background: rgba(244, 250, 254, 1);
}

.eventbrite-item-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
}

.event-feed-for-eventbrite-app .eventbrite-feed-edit-link {
  display: none;
}

.eventbrite-item.sales_ended,
.eventbrite-item.unavailable {
  display: none;
}

/* Event Head */

.eventbrite-item-datetime {
  /* border-bottom: 1px solid #dddddd; */
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.event-feed-for-eventbrite-app h3 {
  font-size: 22px;
  margin: 20px 0 20px 0;
}

.event-feed-for-eventbrite-app h3 {
  font-size: 22px;
  margin: 20px 0 20px 0;
}

/* Location */

.eventbrite-item-location {
  font-size: 13px;
  padding: 5px;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.event-feed-for-eventbrite-app .eventbrite-item-location-icon-online svg,
.event-feed-for-eventbrite-app .eventbrite-item-location-icon-wrapper svg {
  height: 18px;
  width: 18px;
  display: none;
}

/* Event Content */

.eventbrite-item-bottom-row {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.eventbrite-item-description {
  flex-grow: 1;
}

.eventbrite-item-available-tickets {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 13px;
}

/* Waitlist */

.eventbrite-item-tags:not(:has(.eventbrite-item-available-tickets)) {
  background: rgba(221, 0, 0, 0.05);
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 2px solid #dd0000;
}

.eventbrite-item-tags:not(:has(.eventbrite-item-available-tickets))::before {
  content: "This event is fully booked";
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
}

.eventbrite-item-tags:not(:has(.eventbrite-item-available-tickets))::after {
  content: "Click Reserve a Place to join the waitlist.";
  display: block;
  font-size: 13px;
  color: #000;
}

/* Event Buttons  */

.eventbrite-item-buttons {
  margin-top: auto;
}

.event-feed-for-eventbrite-app button {
  padding: 10px 25px;
  border-radius: 9999px;
  font-size: 16px;
  margin-bottom: 10px;
}

.event-feed-for-eventbrite-app button:hover {
  opacity: 0.6;
}

button.eventbrite-item-details {
  background: #004a93;
}

button.eventbrite-item-checkout {
  background: #ffd21f;
  color: #000;
}

/* LEARNDASH
----------------------------------------------------------------*/

/* Links */
a.registration-login-link {
  text-decoration: underline !important;
}

/* Flex container for account buttons */
.accountAccess .is-layout-flex {
  display: flex; /* ensure flex layout */
  align-items: center; /* vertical centering */
  justify-content: flex-start; /* left-align, or use space-between if you want spread */
  gap: 1em; /* spacing between buttons */
  flex-wrap: wrap; /* allow wrapping on small screens */
}

/* LearnDash buttons */
.learndash-wrapper .ld-expand-button {
  font-weight: normal;
  border-radius: 9999px;
}

/* Make both buttons shrink to fit text */
.accountAccess .wp-block-button__link,
.accountAccess .learndash-wrap a.ld-logout,
.learndash-wrapper .ld-button {
  display: inline-flex;
  align-items: center; /* vertical center inside button */
  justify-content: center; /* horizontal center inside button */
  min-width: 0 !important; /* override parent theme */
  white-space: nowrap; /* prevent text wrap */
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  margin-bottom: 0;
}

/* Buttons & Logout link */
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(
    .learndash-wrapper--modern
  )
  .ld-button,
.learndash-wrapper
  #learndash-registration-wrapper
  #learndash_registerform
  #wp-submit,
.learndash-wrapper
  #learndash-reset-password-wrapper
  #learndash_registerform
  #wp-submit,
.learndash-course-grid .pagination .load-more,
.accountAccess .learndash-wrap a.ld-logout {
  font-size: 18px !important;
  font-weight: normal;
  border-radius: 9999px;
  box-shadow: none;
  text-decoration: none;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  width: min-content;
  border: 0;
  min-width: 0 !important; /* override parent theme */
  white-space: nowrap; /* prevent text wrap */
  display: inline-flex; /* shrink to text */
  align-items: center; /* center text vertically */
  justify-content: center; /* center text horizontally */
}

/* Special button width adjustments */
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(
    .learndash-wrapper--modern
  )
  .ld-button.ld-button-reverse,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(
    .learndash-wrapper--modern
  )
  .ld-button.ld-course-resume {
  width: auto;
}

/* Icon padding */
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(
    .learndash-wrapper--modern
  )
  .ld-button
  .ld-icon.ld-icon-right {
  padding-left: 10px;
}

/* Hover opacity */
.learndash-wrapper .ld-expand-button:hover,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(
    .learndash-wrapper--modern
  )
  .ld-button:hover,
.learndash-wrapper
  #learndash-registration-wrapper
  #learndash_registerform
  #wp-submit:hover,
.learndash-wrapper
  #learndash-reset-password-wrapper
  #learndash_registerform
  #wp-submit:hover {
  opacity: 0.5;
}

/* Buttons - Articulate */

.uo-tclr-open-content-button.uo-tclr-open-content-button--medium {
  font-size: 18px !important;
  border-radius: 9999px;
  box-shadow: none;
  text-decoration: none;
  padding: 10px 25px 15px 25px;
  font-size: 1.125em;
  font-weight: normal;
  background: #004a93;
  color: #fff;
}

.uo-tclr-open-content-button.uo-tclr-open-content-button--medium:hover {
  opacity: 0.5;
}

/* Buttons - Colours */

.learndash-wrapper button,
.learndash-wrapper input[type="button"],
.learndash-wrapper input[type="reset"],
.learndash-wrapper input[type="submit"],
.learndash-wrapper .button {
  background: #004a93;
  color: #fff;
  border: 0;
}

.learndash-course-grid .pagination .load-more {
  background: #ffd21f;
  color: #000;
}

.learndash-course-grid .pagination .load-more:hover {
  background: #ffd21f;
  opacity: 0.5;
}

/* Account Access */

.accountAccess .is-layout-flex {
  justify-content: center;
}

.accountAccess a.ld-logout {
  text-decoration: underline !important;
  color: #004a93 !important;
}

.accountAccess a.ld-logout:hover {
  text-decoration: none !important;
  color: #000 !important;
}

.accountAccess .wp-block-buttons,
.logged-in .accountAccess p.createAccount {
  display: none;
}

.logged-in .accountAccess .wp-block-buttons {
  display: flex;
  margin: 0;
}

/* Registration */

#learndash-registration-wrapper .purchase-row {
  display: none !important;
}

.learndash-wrapper #learndash_registerform h2 {
  display: none;
}

.learndash-wrapper #learndash_registerform .acf-required {
  color: red;
}

.learndash-wrapper #learndash-registration-wrapper form input {
  width: auto;
}

.learndash-wrapper #learndash-registration-wrapper ul {
  padding: 0px;
  margin: 0;
}

.learndash-wrapper #learndash-registration-wrapper li {
  list-style: none;
  padding: 5px;
  margin: 0;
}

/* Checkbox + label text align cleanly */
.learndash-wrapper #learndash-registration-wrapper .acf-checkbox-list label {
  display: flex;
  align-items: center;
  gap: 10px; /* space between box + text */
  line-height: 1.2;
}

.learndash-wrapper #learndash-registration-wrapper form input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  margin: 0;
  flex: 0 0 30px;
  vertical-align: middle;
}

/* Certificates */

.ld-profile-stat.ld-profile-stat-certificates {
  display: none !important;
}

.learndash-wrapper
  .ld-profile-summary
  .ld-profile-stats
  .ld-profile-stat.ld-profile-stat-completed {
  border-right: 0;
}

/* Courses
-------------------------------------*/

.single-sfwd-courses .breadcrumbs {
  /* 	text-transform: uppercase; */
}

.single-sfwd-courses .entry-byline,
.single-sfwd-courses .featured-image,
.single-sfwd-courses .meta-list {
  display: none;
}

.single-sfwd-courses .wp-block-post-featured-image img {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.single-sfwd-courses .learndash-wrapper {
  margin-bottom: 75px;
}

/* Courses Grid
-------------------------------------*/

.learndash-course-grid .items-wrapper .grid-1 .content hr {
  margin-top: 0;
}

.learndash-course-grid .items-wrapper .grid-1 .content .author {
  display: none;
}

.learndash-course-grid .items-wrapper .grid-1 .icon.dashicons-category {
  background: #fff !important;
}

/* Course Content
-------------------------------------*/

/* Header */

.learndash-wrapper
  .ld-item-list.ld-lesson-list
  .ld-section-heading
  .ld-item-list-actions {
  width: 100%;
}

.learndash-wrapper .ld-item-list.ld-lesson-list .ld-section-heading h2 {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .learndash-wrapper
    .ld-item-list.ld-lesson-list
    .ld-section-heading
    .ld-item-list-actions {
    justify-content: center;
  }
}

/* Content */

.ld-focus-content p,
.ld-focus-content li {
  font-weight: 400;
  line-height: 1.7em;
}

.ld-focus-content .wp-block-image img {
  margin-bottom: 25px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.ld-focus-content p a,
.ld-focus-content li a {
  font-weight: bold;
  color: #004a93;
  text-decoration: underline;
}

.ld-focus-content p a:hover,
.ld-focus-content li a:hover {
  text-decoration: none;
  color: #000;
}

/* Archive
----------------------------------------------------------------*/

.archive #post-wrap {
  padding-top: 50px;
}

.blog .post:not(:last-of-type),
.archive #post-wrap .post:not(:last-of-type),
.archive #page:not(:last-of-type) {
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: solid 3px #eee;
}

.archive h2.entry-title {
  font-size: 35px;
}

.archive .entry-content h2.wp-block-heading {
  font-size: 22px;
  margin-top: 40px;
}

/*
.archive article img {
	float: right;
	max-width: 300px;
	margin: 0 0 25px 25px;
}
*/

/*  POSTS
----------------------------------------------------------------*/

/* Posts Query (news) */

.entry-content .postsQuery ul {
  padding: 0;
  margin: 0 0 50px 0;
}

.entry-content .postsQuery ul.columns-3.news-grid {
  grid-template-columns: 1fr 1fr 1fr;
}

.entry-content .postsQuery li a {
  box-shadow: none;
}

.entry-content .postsQuery h2 {
  margin-bottom: 5px;
}

.entry-content .postsQuery .wp-block-post-title a:hover {
  text-decoration: underline;
}

.postsQuery .wp-block-group {
  padding: 25px !important;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  box-shadow: none !important;
  margin: 10px 0 0;
  height: 100%;
}

.postsQuery .wp-block-post-featured-image {
  margin-bottom: 10px;
  overflow: hidden;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.postsQuery .wp-block-post-featured-image img {
  transition: all 0.3s ease-in-out;
}

.postsQuery .wp-block-post-featured-image img:hover {
  /* 	transform: scale(1.1); */
}

.postsQuery .wp-block-post-excerpt {
  font-size: 17px;
}

.postsQuery h2 {
  font-size: 22px;
}

/* Single
----------------------------------------------------------------*/

.single-post #page {
  margin-bottom: 50px;
}

/* Byline */

.entry-byline {
  font-size: 14px;
  margin-bottom: 20px;
}

.entry-byline a,
.entry-byline img,
.entry-byline .avatar,
.entry-byline-author,
.entry-byline-on,
.page .entry-byline {
  display: none !important;
}

/* Meta List */

.single .meta-list {
  margin-top: 50px;
  padding: 25px 10px 5px 10px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  font-size: 16px;
  font-weight: normal;
}

.single .meta-list li {
  padding-bottom: 20px;
}

/* Post Nav */

.post-navigation {
  margin-bottom: 25px;
}

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

.post-navigation .nav-next:hover .post-title,
.post-navigation .nav-previous:hover .post-title {
  box-shadow: inset 0 -2px 0 #004a93;
}

/* PAGE: 404
----------------------------------------------------------------*/

.error404 .entry-content {
  text-align: center;
  max-width: 650px;
  margin: 50px auto 75px;
}

/* PAGE: Search Results
----------------------------------------------------------------*/

.search .entry-header {
  margin-bottom: 50px;
}

.search .entry-header .entry-title {
  font-size: 25px;
}

.search .entry-header .entry-title a {
  box-shadow: inset 0 -1px 0 #000;
}

.search .entry-header .entry-title a:hover {
  box-shadow: inset 0 -2px 0 #004a93;
  text-decoration: none;
}

.search .big-search {
  max-width: 500px;
}

.search .big-search input {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.search .search-title {
  border-bottom: 3px solid #f0f0f0;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.search .post-content .entry-header {
  background: none;
  margin-bottom: 10px;
}

.search-results h1 {
  margin-bottom: 25px;
  font-size: 30px;
}

.search-results h1 span {
  color: #000;
}

/* Search Pages - Panels */

.search .search-pages article {
  padding: 25px !important;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  box-shadow: none !important;
  margin: 10px 0 0;
  height: 100%;
  border: solid 1px rgba(0, 74, 148, 0.3) !important;
  background: #f4fafe;
}

/* Search Posts */

.search .search-posts .post {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: solid 3px #eee;
}

.search .search-posts .entry-header .entry-title {
  font-size: 20px;
}

.search .search-posts .entry-content {
  /*  	display: none;	  */
}

/* Pagination */

.navigation.pagination {
  margin: 50px 0 100px 0;
  text-align: center;
}

/* PAGE: Home
----------------------------------------------------------------*/

.home .entry-header,
.page-template-page-home .entry-header,
.page-id-14412 .entry-header {
  display: none;
}

.home #page,
.page-template-page-home #page,
.page-id-14412 #page {
  padding-top: 0;
}

.home #page .site-content,
.page-template-page-home #page .site-content,
.page-id-14412 #page .site-content {
  margin-top: 0;
}

.home.page-template-page-landing .entry-content,
.page-id-14412.page-template-page-landing .entry-content {
  margin-bottom: 0;
}

/* Disable image link + hover zoom — Featured grid + News grid (v1.1.0)
   Scope: home page only (.home)
   - Keeps title and “Read / Find out more” links working
*/

/* ===== Featured Pages grid (Genesis Blocks Post Grid) ===== */
.home .gb-block-post-grid .gb-block-post-grid-image a,
.home .gb-block-post-grid .gb-block-post-grid-image a * {
  pointer-events: none;
  cursor: default;
}

.home .gb-block-post-grid .gb-block-post-grid-image img {
  transform: none !important;
  transition: none !important;
  filter: none !important;
}

.home .gb-block-post-grid .gb-block-post-grid-image:hover img,
.home
  .gb-block-post-grid
  .gb-post-grid-item:hover
  .gb-block-post-grid-image
  img {
  transform: none !important;
  filter: none !important;
}

/* ===== News grid (core Query Loop / Post Template) ===== */
.home .news-grid .wp-block-post-featured-image > a,
.home .news-grid .wp-block-post-featured-image > a * {
  pointer-events: none;
  cursor: default;
}

.home .news-grid .wp-block-post-featured-image img {
  transform: none !important;
  transition: none !important;
  filter: none !important;
}

/* Prevent theme hover effects that target container/figure states */
.home .news-grid .wp-block-post:hover .wp-block-post-featured-image img,
.home .news-grid .wp-block-post-featured-image:hover img {
  transform: none !important;
  filter: none !important;
}

/* REUSABLE BLOCK: Am I a Carer
----------------------------------------------------------------*/

#amCarer p {
  margin-bottom: 5px;
}

/* Page Banner – v1.3.0
----------------------------------------------------------------*/

.pageBanner {
  /* Desktop: background behind panel */
  background-image: var(--pageBannerImage);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 550px;
  margin-bottom: 0;
  position: relative;
}

.pageBanner__overlay {
  position: absolute;
  inset: 0;
  background: #686856;
  opacity: 0; /* set to 0.2 if you want a tint */
  pointer-events: none;
}

.pageBanner__inner {
  position: relative;
  z-index: 1;

  padding: 0 25px;
  min-height: 550px;

  display: flex;
  align-items: center; /* panel vertically centred on desktop */
}

.pageBanner__wrap {
  width: 100%;
  max-width: 1270px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 2fr;
}

.pageBannerPanel {
  border-radius: 15px 0 15px 0;
  padding: 15px 25px 5px 25px;

  animation: pageBannerFadeIn 1s ease forwards;
}

@keyframes pageBannerFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Your existing typography */
.pageBanner h1 {
  font-size: 35px;
  color: #333333;
}
.pageBanner p {
  font-size: 18px;
  color: #333333;
}
.pageBanner .wp-block-buttons {
  margin-bottom: 10px;
}
.pageBanner .wp-block-button__link:hover {
  opacity: 0.5;
}

/* Dark BG variant */
.pageBanner .has-vocal-dark-blue-background-color h1,
.pageBanner .has-vocal-dark-blue-background-color p {
  color: #fff;
}

.pageBanner .has-vocal-dark-blue-background-color .wp-block-button__link {
  background: #ffd21f;
  color: #000;
}

/* Mobile: image area first, panel below – matches your screenshot */
@media (max-width: 600px) {
  /* Stop using background behind everything */
  .pageBanner {
    background-image: none;
    min-height: 0;
  }

  /* Create the image area at the top */
  .pageBanner::before {
    content: "";
    display: block;
    width: 100%;
    height: 320px; /* tweak to match your desired crop */
    background-image: var(--pageBannerImage);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .pageBanner__overlay {
    display: none;
  }

  .pageBanner__inner {
    min-height: 0;
    padding: 0; /* full-width panel like the screenshot */
    display: block;
  }

  .pageBanner__wrap {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .pageBannerColRight {
    display: none;
  }

  .pageBannerPanel {
    border-radius: 0; /* screenshot looks square on mobile */
    padding: 20px 20px 10px 20px;
  }
}

/* Grid - Global
---------------------------*/

body .is-layout-grid {
  grid-gap: 0 2em;
}

/* Landing Page Grid
---------------------------*/

.page-template-page-landing .entry-content {
  margin-bottom: 20px;
}

.gb-block-post-grid .gb-post-grid-item {
  padding: 25px !important;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  box-shadow: none !important;
  margin: 10px 0 0;
}

.gb-block-post-grid .gb-post-grid-item .gridImg {
  margin-bottom: 0px;
}

.gb-block-post-grid a {
  box-shadow: inset 0 0px 0 #000;
}

.gb-block-post-grid a:hover {
  color: #004a93;
  box-shadow: inset 0 -2px 0 #004a93;
  text-decoration: underline;
}

.gb-block-post-grid header .gb-block-post-grid-title a:hover {
  text-decoration: none;
  color: #004a93;
}

.gb-block-post-grid .subPagesTitle {
  display: none;
}

.gb-block-post-grid .sub-pages-list {
  padding: 0p;
}

.gb-block-post-grid .sub-pages-list li {
  padding: 3px 0;
}

.gb-block-post-grid .gb-block-post-grid-image {
  overflow: hidden;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.gb-block-post-grid .gb-block-post-grid-image img {
  transition: all 0.3s ease-in-out;
}

.gb-block-post-grid .gb-block-post-grid-image img:hover {
  /* 	transform: scale(1.1); */
}

/* Sub Page Nav
----------------------------------------------------------------*/

/* Title */

.subPagesTitle {
  font-weight: bold;
  padding-bottom: 10px;
}

/* Hide Children */

.page-parent .subPages li li {
  display: none;
}

.subPages .children {
  display: none;
}

/* Link Style */

.subPagesNav ul {
  margin: 0;
  line-height: 2;
}

.subPagesNav li {
  margin: 0px 0 0 0px;
  padding: 0px 0 0 0px;
  width: 100%;
  list-style: none;
}

.subPagesNav li::before {
  content: "";
  display: inline-block;
  height: 15px;
  width: 25px;
  background-image: url(assets/list-dingbat.png);
  background-repeat: no-repeat;
  background-position: left 608;
  background-size: 18px;
  margin-right: 0px;
}

.subPagesNav a {
  width: 100%;
  transition: 0.3s;
  padding: 3px;
}

.subPages li.current-page a {
  font-weight: bold;
  color: #000; /* Adjust as needed */
}

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

.gb-block-post-grid .subPagesNav a {
  box-shadow: inset 0 -1px 0 #004a93;
}

.gb-block-post-grid .subPagesNav a:hover {
  color: #fff;
}

/* Footer */

.subPages {
  margin: 50px 0;
}

.subPagesFoot {
  padding: 0 25px;
}

.subPagesFoot .subPagesNav a {
  text-decoration: underline;
}

.subPagesFoot .subPagesNav a:hover {
  text-decoration: none;
}

.subPagesFoot .subPagesNav li.current_page_item a {
  background: #004a93;
  color: #fff;
}

.footer-widgets .widget_text a {
  border-bottom: none;
}

/* Back */

.subNavBack {
  padding-top: 15px;
  font-size: 12px;
  max-width: 100px;
}

.subNavBack .wp-block-button__link {
  padding: 10px 15px;
  color: #000;
}

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

/* WP SIMPLE PAY
----------------------------------------------------------------*/

.simpay-form-wrap input[type="checkbox"] {
  transform: scale(1.5);
  margin: 10px 20px 0 6px;
}
.simpay-conditional-field h3 {
  margin: 25px 0 5px;
}

.stripe-button-el {
  margin-top: 20px;
  background-image: unset;
  background: #ffd21f;
  padding: 10px 20px;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  -ms-border-radius: 35px;
  -o-border-radius: 35px;
  border-radius: 35px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
}

.stripe-button-el span {
  background: transparent;
  background-image: unset;
  font-size: 18px;
  color: #000;
  font-weight: 500;
  text-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
}

/* Page & Post Grid
----------------------------------------------------------------*/

.gb-block-post-grid .gb-post-grid-item {
  /* 	justify-content: space-between; */
  flex-direction: column;
  display: flex;
}

.gb-block-post-grid .gb-post-grid-item .gb-block-post-grid-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.gb-block-post-grid .gb-post-grid-item .gb-block-post-grid-excerpt {
  flex-grow: 1;
}

.gb-block-post-grid .gb-post-grid-item .gb-block-post-grid-text p:last-of-type {
  margin-bottom: 15px;
}

.gb-block-post-grid .gb-post-grid-item .gb-block-post-grid-button {
}

.gb-block-post-grid .gb-post-grid-item .gb-block-post-grid-more-link:hover {
  text-decoration: none;
}

.has-no-post-message:not(:empty) + .no-post-message {
  display: none;
}

/* PAGE: Benefits and entitlements
----------------------------------------------------------------*/

.page-id-10365 .subPages {
  display: none;
}

/* PAGE: Child Page
----------------------------------------------------------------*/

.page-excerpt {
  /* 	padding-bottom: 25px; */
  /* 	font-size: 20px; */
}

/* Above Foot
----------------------------------------------------------------*/

.pre-foot .is-layout-flex {
  flex-wrap: nowrap;
}

.pre-foot .wp-block-gallery.has-nested-images figure.wp-block-image img {
  /* 	padding: 0 15px; */
  transition: 0.3s;
  transform: scale(0.8);
}

.pre-foot .wp-block-gallery.has-nested-images figure.wp-block-image img:hover {
  transform: scale(1.1);
}

.pre-foot .wp-block-separator {
  margin: 50px 0 50px 0;
}

/* Quick Links
----------------------------------------------------------------*/

.quick-links {
  border-top: 5px solid #004a93;
  background: #ffd21f !important;
  padding: 75px 0;
}

.quick-links ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
}

.quick-links li {
  list-style: none;
  width: 300px;
  border-radius: 5px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  box-sizing: border-box;
  min-height: 70px;
}

.quick-links li:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.quick-links li a {
  padding: 8px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}

.quick-links li a .fas {
  margin-left: auto;
  color: #004a93;
}

/* Funder Logos */

.funderLogos.is-layout-flex {
  justify-content: space-between;
}

.funderLogos {
  padding-bottom: 40px;
}

.funderLogos img {
  padding: 10px;
}

/* Footer
----------------------------------------------------------------*/

.footer-widgets {
  padding: 50px 15px 25px;
  margin-bottom: 0;
}

.footer-widgets + .footer-bottom {
  padding: 25px 15px 0 15px;
  margin: 0;
}

.footer-widgets .footer-column {
  padding-top: 0;
}

.footer-widgets aside + aside {
  margin-top: 0px;
}

.footer-widgets h2 {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 15px;
}

.site-footer a {
  text-decoration: underline;
}

.site-footer a:hover {
  text-decoration: none;
}

.site-info {
  font-size: 12px;
}

.footer-tagline a {
  border: 0;
}

.footer-tagline .credit {
}

/* PRINT
----------------------------------------------------------------*/

@media print {
}
