.brand img {
    width: 200px !important;
    height: auto !important;
    object-fit: contain;
}

header nav a {
    font-weight: 400 !important;
    font-size: 18px !important;
}

.topbar a {
    font-weight: 400 !important;
}

h1 {
    font-size: 4rem !important;
    line-height: 1 !important;
}

.btn {
    font-weight: 400 !important;
    font-size: 18px;
}

footer .footer-brand .site-title {
    display: flex;
    flex-direction: column;
}

footer .footer-brand .site-title span.created {
    font-size: 16px;
}

.visit {
    font-size: 1rem;
    text-decoration: underline !important;
}


body {
    font-size: 16px !important;
}

header .brand strong {
    display: none;
}

.card {
    box-shadow: 0 10px 30px rgba(45,58,52,.07);
}

footer {
    margin-top: 0 !important;
}

.eyebrow-heading::before {
    display: block;
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--green);
}

.eyebrow-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
}

.areas-tax a {
    background: var(--blush);
    color: var(--plum-dark);
}

.support-type-tax a {
    background: var(--sage);
    color: #3d5940;
}


.support-type-tax a,
.areas-tax a {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none !important;
}

.support-type-tax, .areas-tax {
    gap: 0.25rem;
    display: flex;
    flex-wrap: wrap;
}

.wp-block-post-terms__separator {
    display: none !important;
}

.visit-website-btn {
    margin-top: auto;
    font-weight: 800;
    color: var(--plum-dark);
    font-size: 1rem;
}

.resources-query .resources-query-item {
    display: flex;
    flex-direction: column;
    height: 100% !important;
    min-height: 250px;
    gap: 1em;
}

.resources-query .resources-query-item .visit-website-btn {
    margin-top: auto !important;
    font-weight: 800;
    color: var(--plum-dark);
    font-size: 1rem;
}

.resources-query .resources-query-item > * {
    margin: 0 !important;
}


.initials-fallback {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.initials-fallback span {
    color: var(--plum-dark);
    font-size: 24px;
    font-weight: 600;
}

.wp-block-query-filter.wp-block-query-filter-taxonomy select {
    width: 100%;
    height: 56px;
    padding: 0 32px;
    border: 1px solid #E5E2DC;
    border-radius: 16px;
    background-color: #fff;
    color: #333;
    font-family: inherit;
    font-size: 18px;
    font-weight: 300;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

select:focus {
    outline: none;
    border-color: #C9C5BD;
}

.wp-block-search__inside-wrapper {
    height: 100%;
}

.home-page-btns .wp-block-button a {
    border: 1px solid rgba(69,97,65,.08);
}

@media (max-width: 768px) {

    .wp-site-blocks{
        overflow-x:hidden;
    }

    .wp-block-cover {
      padding-left: var(--wp--style--root--padding-left);
      padding-right: var(--wp--style--root--padding-right);
    }

    .wp-block-cover__inner-container {
        width: 100%;
    }

    .wp-block-columns {
        min-width: 100%;
    }

    .is-layout-grid {
        grid-template-columns: 1fr !important;
    }

    nav {
        top: unset !important;
        padding: 0 !important;
        border: none !important;
        left: 0 !important;
        right: 0 !important;
        background: unset !important;
    }

    .mb-flex-col {
        flex-direction: column !important;
        justify-content: flex-start;
        align-items: flex-start;
    }

    footer .mb-flex-col p {
        text-align: left !important;
    }
}

aside#sidebar {
  position: fixed;
  height: 100dvh;
  z-index: 999;
  left: 0;
  top: 0;
  min-width: 80dvw;
  transform: translateX(calc(var(--sidebarWidth) * -2));
  transition: all 0.25s;
  padding: 0 !important;
}

aside#sidebar.open {
  transform: translate(0);
  z-index: 999;
}

aside#sidebar .btn-close-menu {
    width: 100%
}

aside#sidebar .wp-block-getwid-megamenu {
    margin: 0!important
}

aside#sidebar .gw-mm__content{
  flex-direction: column;
  align-items: flex-start;
}

aside#sidebar nav.gw-mm__wrapper .wp-block-getwid-megamenu-item{
  width:100%;
}

aside#sidebar nav.gw-mm__wrapper .wp-block-getwid-megamenu-item .gw-mm-item__link > a{
  padding:var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
  flex:1;
}

aside#sidebar p.has-custom-rsuk-dark-blue-color,
aside#sidebar p.has-custom-rsuk-dark-blue-color a{
  color:var(--wp--preset--color--custom-rsuk-dark-blue) !important;
}

aside#sidebar .gw-mm-item__dropdown-wrapper {
    position: fixed;
    top: 0!important;
    left: 0!important;
    transition: all 0.25s;
    transform: translateX(-110%);
    height: 100dvh!important;
    max-height: 100dvh;
    overflow-y: hidden;
    z-index: 999;
    max-width: var(--sidebarWidth)!important
}

aside#sidebar .gw-mm-item__dropdown-wrapper>.gw-mm-item__dropdown {
    height: 100dvh;
    margin-top: 0!important;
    overflow-y: scroll;
    overflow-x: hidden;
    padding:0;
    border-radius:0;
}

aside#sidebar .gw-mm-item__toggle{
  width:12%;
  text-align:right;
  padding-right:var(--wp--preset--spacing--30);
}


aside#sidebar .gw-mm-item__toggle span{
  transform: rotate(-90deg);
}

aside#sidebar .pos-fixed{
  top:unset;
  bottom: 0;
  left: -1rem;
}

aside#sidebar .gw-mm-item__dropdown-wrapper.is-opened {
    transform: translateX(0)
}

aside#sidebar .gw-mm-item__dropdown-content .wp-block-group{
  flex-direction:column;
}

aside#sidebar .gw-mm-item__dropdown-content .wp-block-group.is-layout-grid{
  grid-template-columns:  1fr;
}

body.sidebar-open {
  margin: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}

body.sidebar-open:after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 991;
  background-color: rgba(0, 0, 0, 0.5);
}

:root {
  --sidebarWidth: 80dvw;
}