@import url('about.css');

@font-face {
    font-family: 'Work Sans';
    src: url('fonts/WorkSans-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: Geologica;
    src: url('fonts/Geologica-VariableFont_CRSV,SHRP,slnt,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --h4b-primary: #004852;
    --h4b-secondary: #ec1749;
    --h4b-gutter: clamp(24px, 7.4vw, 118px);
	--h4b-secondary-filter:invert(60%) sepia(86%) saturate(3709%) hue-rotate(317deg) brightness(92%) contrast(122%);
	--h4b-primary-filter: invert(21%) sepia(16%) saturate(3748%) hue-rotate(148deg) brightness(98%) contrast(101%);;

}

::-moz-selection { /* Code for Firefox */
	color: var(--h4b-primary);
	background:  var(--h4b-secondary);
}

::selection {
	color: var(--h4b-primary);
	background:  var(--h4b-secondary);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
	letter-spacing: -0.02em;
}

body :is(h1, h2, h3, h4, h5, h6) {
    letter-spacing: 0;
}

.wp-site-blocks {overflow-y: clip;}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: color .2s;
}

a:hover {
    color: var(--h4b-primary);
	color: var(--h4b-secondary);
	text-decoration: underline;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--h4b-secondary);
    outline-offset: 6px;
}

.entry-content p a, .wp-block-post-terms a  {
	color: var(--h4b-primary);
	text-decoration:underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--h4b-secondary);
}
.entry-content p a:hover, .entry-content p a:focus, 
.wp-block-post-terms a:hover, .wp-block-post-terms a:focus {
	color: var(--h4b-secondary);
}

figure {
    margin: 0;
}

main p, .wp-block-quote>cite, .wp-block-list {
    margin: 0 0 1.4em;
	font-size:clamp(16px, 1.15vw, 21px);
}

p:last-child {
    margin-bottom: 0;
}

h1, h2, h3 {
    margin: 0;
}

strong {
    font-weight: 700;
}

.wp-site-blocks>* {
    margin-block-start: 0;
}

.h4b-container {
    width: min(calc(100% - var(--h4b-gutter)*2), 1600px);
    margin-inline: auto!important;
}

.h4b-main {
    max-width: none!important;
}

.h4b-accent {
    color: var(--h4b-secondary);
}

.h4b-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: #fff;
    transition: background .25s, box-shadow .25s;
	overflow-x: clip;
}

.admin-bar .h4b-site-header {
    top: 32px;
}

.home .h4b-site-header {
    background: transparent;
    margin-bottom: -90px;
	
    background: rgb(255 255 255 / 0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
	
	transition: all 1s ease;
}

.scrolled .h4b-site-header {
    /*background: rgba(255, 255, 255, .97);
    box-shadow: 0 1px 12px #00485215;*/
	background: rgb(255 255 255 / 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.h4b-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 90px;
    /*padding: 20px 2.5vw 20px var(--h4b-gutter);*/
	padding: 30px 2.5vw 10px 2vw;
    font-family: Geologica, sans-serif;
	transition:padding 0.3s ease;
}
.scrolled .h4b-header-inner {padding-top:15px;}
.h4b-header-brand a {
    /*width: 180px;*/
    transition: all ease 1s;
	overflow:hidden;
	width:312px;
	position:relative;
}

.h4b-header-brand {
	position:relative;
	transform-origin: left;
	transition:transform 0.4s ease;
}
.h4b-header-brand:after {
	content: url(graphics/logo-icon-bw-1.svg);
    position: absolute;
    left: -4px;
    top: 0;
    z-index: -1;
    height: 100%;
    width: 69px;
	opacity:0;
	transition: all 0.25s ease 0s;
}
.scrolled .h4b-header-brand:after {opacity:1;transition: all 0.5s ease 0.3s;}
.h4b-header-brand img {
	width:312px!important;
	object-fit:unset!important;
	max-width:unset!important;
	transition: filter 0s ease;
}
.scrolled .h4b-site-header {
	pointer-events:none;
}
.scrolled .h4b-header-brand a {
	width:67px;
	/*width:0;*/
	transition: all ease 0.4s, opacity 0.4s ease 0.2s;
	opacity:0;
}
.home:not(.scrolled) .h4b-header-brand {
    /*visibility: hidden;*/
    opacity: 1;
}
.home .h4b-header-brand a {
	opacity:0;
}
.home .h4b-header-brand a img {height: 50px !important;}
.h4b-header-brand:hover a img {
	filter: brightness(0) invert(18%) sepia(80%) saturate(4314%) hue-rotate(337deg) brightness(94%) contrast(97%);
}

/* disable the logo effects on small screens */




.h4b-nav-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
	opacity:1;
	transition:opacity 0.3s ease;
}
.scrolled .h4b-nav-wrap {
	opacity:0;
	pointer-events:none;
}
.h4b-navigation {
    --h4b-nav-link-padding-inline: 2em;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.h4b-navigation .wp-block-navigation__container {
    gap: clamp(20px, 2.8vw, 48px);
	gap:0;
}

.h4b-navigation a {
    color: var(--h4b-primary);
    text-decoration: none;
	padding: 0.7em var(--h4b-nav-link-padding-inline);
	border:1px solid transparent;
	transition:border 1s ease;
	margin: 0 -0.5px;
}

.h4b-navigation a:hover, .h4b-navigation .current-menu-item>a, .h4b-nav-wrap .h4b-navigation.wp-block-navigation .wp-block-navigation-item.wp-block-navigation-submenu:hover > a {

	border:1px solid var(--h4b-primary);
	background-color: transparent;
	transition:border 0.15s ease;
}
.h4b-navigation .current-menu-item>a {
	border-color:transparent;
}
.h4b-navigation a:hover, .h4b-navigation .current-menu-item>a {
	color: var(--h4b-secondary)!important;
}
.h4b-site-header :is(ul.h4b-navigation, .h4b-navigation .wp-block-navigation__container) > .wp-block-navigation-item.wp-block-navigation-submenu > .wp-block-navigation__submenu-container {
    left: -1px;
    right: auto;
    border: 0;
    background-color: transparent;
	white-space:pre;
	margin-top:-0.5px;
}

.h4b-site-header :is(ul.h4b-navigation, .h4b-navigation .wp-block-navigation__container) > .wp-block-navigation-item.wp-block-navigation-submenu > .wp-block-navigation__submenu-container > .wp-block-navigation-item > a.wp-block-navigation-item__content {
    padding: 0.7em var(--h4b-nav-link-padding-inline);
    border:1px solid var(--h4b-primary);
	color: var(--h4b-primary);
	margin: -0.5px 0;
}

.h4b-site-header :is(ul.h4b-navigation, .h4b-navigation .wp-block-navigation__container) > .wp-block-navigation-item.wp-block-navigation-submenu > .wp-block-navigation__submenu-container > .wp-block-navigation-item > a.wp-block-navigation-item__content:is(:hover, :focus-visible) {
    color: var(--h4b-secondary);
}
.h4b-nav-wrap .h4b-navigation.wp-block-navigation .wp-block-navigation-item.wp-block-navigation-submenu:hover a {
	
}

.h4b-nav-wrap .h4b-linkedin a:hover img, .h4b-nav-wrap .h4b-linkedin a:focus img {
	filter:invert(60%) sepia(86%) saturate(3709%) hue-rotate(317deg) brightness(92%) contrast(122%);
}



@media (prefers-reduced-motion: no-preference) {
	/*
    .h4b-site-header :is(ul.h4b-navigation, .h4b-navigation .wp-block-navigation__container) > .wp-block-navigation-item.wp-block-navigation-submenu:is(:not(.open-on-click):hover, :not(.open-on-click, .open-on-hover-click):focus-within) > .wp-block-navigation__submenu-container,
    .h4b-site-header :is(ul.h4b-navigation, .h4b-navigation .wp-block-navigation__container) > .wp-block-navigation-item.wp-block-navigation-submenu > .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
        animation: h4b-submenu-enter 350ms ease forwards;
    }
	*/
    :is(ul.h4b-navigation, .h4b-navigation .wp-block-navigation__container)
    > .wp-block-navigation-item.wp-block-navigation-submenu
    > .wp-block-navigation__submenu-container {
        --row-opacity: 0;
        --row-offset: 150px;
        --row-delay-step: 45ms;

        width: max-content;
        min-width: 200px;
        height: auto;
        overflow: visible;
        opacity: 1;
        visibility: hidden;
        pointer-events: none;
        transition: visibility 0s linear 700ms;
    }

    .h4b-site-header
    :is(ul.h4b-navigation, .h4b-navigation .wp-block-navigation__container)
    > .wp-block-navigation-item.wp-block-navigation-submenu:is(
        :not(.open-on-click):hover,
        :not(.open-on-click, .open-on-hover-click):focus-within,
        :has(> .wp-block-navigation-submenu__toggle[aria-expanded="true"])
    )
    > .wp-block-navigation__submenu-container {
        --row-opacity: 1;
        --row-offset: 0rem;
        --row-delay-step: 45ms;

        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .h4b-site-header .h4b-navigation .wp-block-navigation__submenu-container > li {
        opacity: var(--row-opacity, 1);
        transform: translateX(var(--row-offset, 0rem));
        transition: opacity 500ms ease, transform 500ms ease;
        transition-delay: calc(var(--row-index, 0) * var(--row-delay-step, 0ms));
    }

    .h4b-navigation .wp-block-navigation__submenu-container > li:nth-child(2) {
        --row-index: 1;
    }

    .h4b-navigation .wp-block-navigation__submenu-container > li:nth-child(3) {
        --row-index: 2;
    }

    .h4b-navigation .wp-block-navigation__submenu-container > li:nth-child(4) {
        --row-index: 3;
    }

    .h4b-navigation .wp-block-navigation__submenu-container > li:nth-child(n+5) {
        --row-index: 4;
    }
}


@keyframes h4b-submenu-enter {
    from {
        opacity: 0;
        transform: translateX(30px);
		visibility: hidden
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.h4b-linkedin {
    width: 30px;
    flex-shrink: 0;
}

.h4b-linkedin img {
    display: block;
    width: 100%;
}

.h4b-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 850px;
    padding: 106px 0 120px;
	min-height:100dvh;
	
	display: flex;

	justify-content: center;
}

.h4b-hero-brand {
    display: grid;
    gap: 6px;
    margin-bottom: 32px;
}

.h4b-hero-icon {
    width: 90px;
}

.h4b-hero-wordmark {
    width: 285px;
}

.h4b-hero-title {
    font-size: clamp(25px, 2.2vw, 38px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.04em;
    margin-bottom: 38px;
    max-width: 1000px;
}

.h4b-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    max-width: 1420px;
}

.h4b-intro-column {
    font-weight: 500;
    font-size: clamp(16px, 1.15vw, 20px);
    line-height: 1.65;
}

.h4b-intro-column .wp-block-buttons {
    margin-top: 62px;
}

.h4b-icon-strip {
    width: min(700px, 70%);
    margin-top: 32px;
}

.h4b-icon-strip img {
    display: block;
    width: 100%;
}
.button-imitator p {position:relative;}
.wp-block-button__link, .button-imitator p {
    position: relative;
    /*padding: 0.85em 3.5em 0.55em!important;*/
	padding: 0.85em 3.5vw 0.55em !important;
    border: 1px solid rgba(236, 23, 73, .9)!important;
    border-radius: 0!important;
    background: transparent!important;
    color: var(--h4b-secondary)!important;
    text-transform: uppercase;
    text-decoration: none;
    isolation: isolate;
    transition: background .2s, transform .3s;
	letter-spacing: .05em!important;
	 /*font: 700 17px/1.4 Geologica, sans-serif!important;*/
	font-weight: 700!important;
	line-height: 1.4!important;
	font-size:clamp(12px, 1.1vw, 17px)!important;
}

.wp-block-button__link::after, .button-imitator p:after {
    content: '';
    position: absolute;
    inset: 5px -10px -11px 8px;
 
	border: 1px solid rgb(0 73 83 / 29%) !important;
    z-index: -1;
    pointer-events: none;
    transition: transform .3s, opacity 0.2s ease;
}

.wp-block-button__link:hover {
    background: #ffffff99!important;
	transform: translate(8px, 8px);
	text-decoration:none;
}

.wp-block-button__link:hover::after {
    transform: translate(3px, 3px);
    transform: translate(-8px, -8px);
    opacity: 0;
}
main .entry-content .wp-block-buttons {
	margin:3em 0;
}

blockquote {
	position: relative;
}

blockquote::before {
  content: "\201C";
  position: absolute;
  left: -0.7em;
  top: -10px;
  font: 700 56px/1 Georgia, serif;
  color: var(--h4b-primary);
}
blockquote p {
	font-weight: 500;
}
.wp-block-quote>cite {position:relative;font-style: normal;}
.wp-block-quote>cite::before {
	content: "—";
	color: var(--h4b-primary);
	padding-right:1em;
}
.h4b-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px 24px;
	padding: 3em 0;
}
.h4b-stats > *,
.h4b-stats .h4b-stat > * {
    min-width: 0;
}
.h4b-stat {
    display: flex;
    align-items: center;
    gap: 20px;
}

.h4b-stat-number {
    font-family: Geologica, sans-serif;
    font-size: clamp(40px, 4.1vw, 64px);
    font-weight: 300;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
    letter-spacing: -.04em;
}

.h4b-stat-label, .h4b-stat-statement {
    font-size: clamp(14px, 1.1vw, 20px);
    line-height: 1.3;
	overflow-wrap: anywhere;
	letter-spacing: -.03em;
}
.h4b-stat-label strong, .h4b-stat-statement strong {
	font-weight:650;
}
.h4b-stat-label span {
    font-size: .9em;
}

.h4b-stat-pink a {
	text-decoration:none;
}
.h4b-stat-pink a:hover {
	text-decoration:underline;
}

.h4b-stat-partners {
    grid-column: span 2;
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    min-width: max-content;
}

.h4b-stat-partners .h4b-stat {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.h4b-stat-partners .h4b-stat-label {
    flex: 0 0 auto;
    white-space: pre;
    overflow-wrap: normal;
}
/* Avoid creating an implicit second column on narrow screens. */
@media (max-width: 599px) {
    .h4b-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .h4b-stats .h4b-stat-partners {
        grid-column: 1 / -1;
    }
}
.h4b-news-section {
    padding: 50px 0 0;
}
.home .h4b-news-section:not(.h4b-container) > .h4b-news-slider {
    width: auto;
    margin-right: max(calc(var(--h4b-gutter) - 9px), calc((100% - 1616px) / 2));
}

.h4b-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 52px;
}

.h4b-section-heading h2 {
    font-size: clamp(25px, 2vw, 34px);
    letter-spacing: -.04em;
}

.h4b-section-heading .wp-block-button__link span {
    margin-left: 14px;
}

.h4b-news-slider {
    position: relative;
	width: calc(100% - 7em);
}

.h4b-swiper {
    padding: 6px 11px 12px 0!important;
}

.swiper-slide.h4b-news-card {
    display: flex;
    flex-direction: column;
    height: auto!important;
	letter-spacing: -.03em;
}

.h4b-news-card > .h4b-news-card-link {
    display: flow-root;
    flex: 1;
    text-decoration: none;
}
.h4b-news-card > .h4b-news-card-link:hover, .h4b-news-card > .h4b-news-card-link:focus {
	.h4b-news-image {}
	.h4b-news-image:after {inset: 0px 0px 0px 0px;border-color:rgb(0 73 83) !important;}
	h3 {color:var(--h4b-primary);}
	.h4b-news-excerpt {color:var(--h4b-primary);} 
	.h4b-read-more {color:var(--h4b-primary);}
}	

.h4b-news-image {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    margin-bottom: 28px;
    background: #f1f1f1;
	transition:transform 0.25s ease;
}

.h4b-news-image:after {
    position: absolute;
    content: '';
    inset: 5px -10px -11px 8px;
    border: 2px solid rgb(0 73 83 / 29%) !important;
    pointer-events: none;
	transition:all 0.25s ease;
}

.h4b-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.h4b-news-image.is-fallback img {
    object-fit: contain;
}

.h4b-news-card h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(16px, 1.25vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--h4b-secondary);
}

.h4b-news-excerpt {
    font-size: clamp(14px, 1.15vw, 20px);
    line-height: 1.65;
    color: #73797d;
    font-weight: 650;
    margin: 0 0 8px;
}

.h4b-news-meta {
    font-size: clamp(10px, 1.15vw, 19px);
    color: #70787b;
    margin: 0 0 6px;
}
#set-left-spacing-as-container {
	position:relative;
}
#set-left-spacing-as-container::before {
	display:block;
	content:"";
	position:absolute;
	left:0;
	top:0;
	width:15em;
	height:100%;
	background: linear-gradient(90deg,rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
	z-index:2;
	pointer-events: none;
}

.h4b-read-more {
    color: var(--h4b-secondary);
    font-size: clamp(15px, 1.15vw, 21px);
    font-weight: 500;
    text-decoration: none;
}

.h4b-slider-controls {
    position: absolute;
    right: -4.5em;
    top: calc(13vw / 2);
    display: flex;
    flex-direction: column;
    gap: 24px;
	overflow: hidden;
}

.h4b-slider-controls button {
    width: 72px;
    height: 72px;
    padding: 4px 10px 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.h4b-slider-controls img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.h4b-prev img {
    transform: rotate(180deg);
}

.h4b-slider-controls .swiper-button-disabled {
    opacity: .2;
    cursor: default;
}

.swiper-button-lock {
    display: none!important;
}
.h4b-slider-controls button.h4b-prev {
	display:none;
}
.h4b-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.editor-styles-wrapper .h4b-slider-controls {
    display: none;
}

.h4b-editor-note {
    font-size: 14px;
    padding: 14px;
    background: #e7f4f5;
}

.h4b-callout-section {
    padding-block: 70px 90px;
    position: relative;
}

.h4b-callout {
    border: 1px solid var(--h4b-secondary);
	border: 1px solid #00000000;
    /*padding: 55px 60px;
	padding: 3.4vw 60px;*/
	padding: 0 4vw;
    display: flex;
    gap: 35px;
    align-items: center;
    min-height: 15.2vw;
	min-height: min(15.2vw, 290px);
	transition:transform 0.5s ease;
}

.h4b-callout p {
    font-size: clamp(16px, 1.8vw, 29px);
    font-weight: 330;
    letter-spacing: -.035em;
    line-height: 1.55;
    margin: 0;
}

.h4b-callout a {
    color: var(--h4b-primary);
    text-decoration: none;
    padding-bottom: 4px;
}

.h4b-callout-section .wp-block-paragraph strong {
	border-bottom: 2px solid var(--h4b-secondary);
	padding-bottom: 0.2em;
}

.h4b-callout-arrow {
    flex: 0 0 60px;
	transition:margin 0.25s ease;
}

.h4b-callout-arrow a {
    border: 0;
}

.h4b-callout-arrow a:focus-visible::after {
    content: 'LinkedIn';
    position: absolute;
    font-size: 12px;
}
/*
.h4b-callout-section::before {
    content: '';
    position: absolute;
    inset: 0 -5vw;
    z-index: -1;
    background: linear-gradient(148deg, transparent 49.85%, #d2e8eb 50%, transparent 50.15%);
    pointer-events: none;
}
*/
.h4b-callout:hover, .h4b-callout:focus {
	transition:transform 0.25s ease;
	transform:translate(10px,-10px);
	p {color:var(--h4b-secondary);}
	.wp-block-paragraph strong {border-color:var(--h4b-primary);}
	.h4b-callout-arrow {filter:invert(1) hue-rotate(5deg) brightness(0.3);margin:0 0 30px 30px;}
}
.h4b-callout.boxedbg::after {
	z-index: -1;
	/*inset: -170px calc(-1 * var(--h4b-gutter)) 0;*/
	top:0;
	right: 0;
	bottom: -40em;
    content: '';
    position: absolute;
	/*
	left: calc(-1 * var(--h4b-gutter));
	background-image: url(graphics/CTA-square-1.svg);
    background-position-x: right;
    background-position-y: top;
    background-size: 106.4% auto;
    background-repeat: no-repeat;
	*/
	content: url(graphics/CTA-square-2.svg);
    width: 166%;
    overflow: visible;
}

.h4b-footer {
    position: relative;
    isolation: isolate;
    padding: 30px 0 22px;
    font-family: Geologica, sans-serif;
}
footer {
	position:relative;
	letter-spacing: 0;
}
footer:before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background: url('graphics/bg-graphic-cornercombs-1.svg') right bottom/auto 100% no-repeat;
    opacity: .18;
	
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 61vw;
}

.h4b-footer-logo {
    width: 100px;
    margin-bottom: 65px;
}

.h4b-footer-grid {
    display: grid;
    grid-template-columns: .85fr 1.1fr 1.3fr 1.45fr;
    gap: 42px 40px;
    align-items: start;
    font-size: clamp(12px, 0.9vw, 14px);
    line-height: 1.6;
}
.h4b-footer-grid .breakpoint {
	display:none;
}
.h4b-eu-logo {
    max-width: 200px;
}

.h4b-funding-text {
    grid-column: 2/4;
    max-width: 570px;
    line-height: 1.35;
    padding: 0;
    margin: 0;
}

.h4b-footer-social {
    display: flex;
    gap: 24px;
    align-items: center;
}

.h4b-footer-social p {
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 500;
	color:var(--h4b-secondary);
}
.h4b-footer-social:hover p {
	text-decoration:underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
}
.h4b-footer-social:hover img {filter: invert(60%) sepia(86%) saturate(3709%) hue-rotate(317deg) brightness(92%) contrast(122%);}

.h4b-footer-contact h3 {
    font-weight: 600;
    margin-bottom: 13px;
	font-size: 1.05em;
}

.h4b-footer-contact p {
    line-height: 2.1;
    overflow-wrap: anywhere;
}

.h4b-footer .h4b-footer-contact a {
    color: var(--h4b-primary);
	text-decoration:underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--h4b-primary);
}
.h4b-footer-contact a:hover, .h4b-footer-contact a:focus {
	color: var(--h4b-secondary);
	text-decoration-color: var(--h4b-secondary);
}
.h4b-footer a {
	text-decoration:none;
	text-underline-offset: 3px;
	text-decoration-thickness: 2px;
}
.h4b-footer a:hover, .h4b-footer a:hover {
	text-decoration:underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.h4b-footer-contact span {
    color: #000;
	line-height: 1.4;
    display: inline-block;
	padding-top:0.3em;
}

.h4b-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 80px;
    padding-top: 20px;
    font-size: 11px;
}

.h4b-footer-bottom p {
    margin: 0;
}

.h4b-footer-bottom a {
    text-decoration: none;
}

body:not(.page-id-8) .h4b-page {
    padding-block: 90px 110px;
    min-height: 60vh;
}

.h4b-page h1 {

}

/* Default page title: same type and viewport position as the About title.
 * The offset accounts for About's overlapping hero below the shared header.
 */
body main.h4b-default-page:not(:has(.h4b-about)),
body.blog main, body.archive main,
body:is(.archive, .search) main:has(.wp-block-query-title), .h4b-page {
    --h4b-title-header-offset: 5.5em;
    width: min(calc(100% - var(--h4b-gutter) * 2), 1600px) !important;
    max-width: none;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    padding-top: max(0px, calc(clamp(50px, 5vw, 100px) + clamp(63px, 4.62vw, 88.2px) - var(--h4b-title-header-offset))) !important;
}

.h4b-page .h4b-page-title,
body.blog main h1:not(.wp-block-query h1), 
body.archive main h1:not(.wp-block-query h1),
main .wp-block-query-title, .h4b-page h1, .h4b-page .h4b-following-posts h2.wp-block-post-title {
    font-family: Geologica, sans-serif;
    font-size: clamp(30px, 2.2vw, 42px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: left;
    margin: 0 0 clamp(45px, 5vw, 90px);
}

@media (min-width: 1901px) {
    body main.h4b-default-page:not(:has(.h4b-about)),
    body.blog main,
    body:is(.archive, .search) main:has(.wp-block-query-title) {
        --h4b-title-header-offset: 6em;
    }
}

h2 {font-size: clamp(24px, 1.7vw, 38px);}

/* Blog Home can wrap its title beside editor-added filter controls.
 * Keep the title at the top and retain the row's editor-defined bottom spacing.
 */
body.blog main > .wp-block-group:has(h1), 
body.archive main > .wp-block-group:has(h1) {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

body.blog main > .wp-block-group h1:not(.wp-block-query h1), 
body.archive main > .wp-block-group h1:not(.wp-block-query h1) {
    margin: 0;
}

.h4b-page .wp-block-post-content>p, 
.h4b-page .wp-block-post-content > :is(h1, h2, h3, h4, h5, h6), 
.h4b-page .wp-block-post-content>.wp-block-quote, 
.h4b-page .wp-block-list {
    max-width: 950px;
}

.h4b-article {
    /*max-width: 1000px;*/
}

.h4b-following-article {
    margin-top: clamp(60px, 7vw, 120px);
    padding-top: clamp(45px, 5vw, 90px);
    border-top: 1px solid rgb(0 72 82 / 20%);
}

.h4b-article .h4b-following-article > .wp-block-post-title {
    font-size: clamp(34px, 4vw, 64px);
}

.h4b-following-article > .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
}

.h4b-following-article > .wp-block-post-title a:hover {
    color: var(--h4b-secondary);
}

.h4b-view-all-posts {
    margin-top: clamp(50px, 6vw, 100px);
}

.h4b-article .wp-block-post-date {

}

.h4b-article .wp-block-post-featured-image {
    margin: 30px 0;
}

.h4b-archive .wp-block-post-template {
    gap: 50px 35px;
}

.h4b-archive .wp-block-post-title {
    font-size: 24px;
    margin-top: 20px;
}

.h4b-archive .wp-block-post-title a {
    text-decoration: none;
}

.h4b-archive .wp-block-query-pagination {
    margin-top: 50px;
}

.h4b-archive .wp-block-post-featured-image img {
    object-fit: cover;
}

.h4b-archive .wp-block-post-date {
    font-size: clamp(11px, 0.7vw, 14px);
    margin: 10px 0;
}

.h4b-archive .wp-block-post-excerpt {
    font-size: clamp(13px, 0.7vw, 16px);
}
.wp-lightbox-overlay .wp-lightbox-close-button:hover, .wp-lightbox-overlay .wp-lightbox-close-button:focus  {
	filter:var(--h4b-secondary-filter);
}


/*blog*/
.h4b-archive ul {}
.h4b-archive ul.wp-block-post-template > li {
	border:1px solid var(--h4b-primary);
	position:relative;
	min-height:25vh;
	a {}
	.linkage {
		height: 100%;
		background-color: #e2ecf0;
	}
	.post-flex {
		height: 100%;
		display: flex;
		flex-direction: column;
	}
	.wp-block-post-featured-image {
		height:30vh;
		min-height:250px;
		width: 100%;
		background-color:white;}
	.wp-block-post-featured-image img {
		object-fit: cover;
		object-position: center;
		height: 100%;}	
	.wrapper {
		padding:1.3em 1.5em 2em;
		margin:0!important;
		background-color:transparent;
		flex: 1;
		justify-content: space-between;
		height: 100%;}
	.wrapper > * {
		position:relative;
		display: inline-block;}
	.wrapper > *:not(.wp-block-post-excerpt)::after {
		content: "";
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
		background-color: white;
		position: absolute;
		top: 0;
		left: 0;
		z-index: -1;}
	.wp-block-post-title {
		font-weight: 900;
		font-size: clamp(19px, 1.2vw, 24px);
		margin: 0 0 0.9em;
		line-height: 1.5;}
	.wp-block-post-date {
        margin: 0;
        opacity: 0.6;}
	.wp-block-post-excerpt p {
		margin-top: 0;
		font-size: 1.15em;
		line-height: 1.6;}
	.post-footer {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;}
	.button-imitator p {
		padding-left:1.4em!important;
		padding-right:1.4em!important;
		font-size: 0.8em !important;
	}
}
.h4b-archive ul.wp-block-post-template > li:after {
    position: absolute;
    content: '';
    inset: 5px -10px -11px 8px;
    border: 1px solid rgb(0 73 83 / 29%) !important;
    pointer-events: none;
    transition: all 0.25s ease;
}
.h4b-archive ul.wp-block-post-template > li:hover, 
.h4b-archive ul.wp-block-post-template > li:focus {
	border:1px solid var(--h4b-secondary);
	.linkage {
		background-color: #f2ece9;}
	.wp-block-post-title {
		color:var(--h4b-secondary);
	}
	.button-imitator p {
		background: #ffffff99!important;
		transform: translate(8px, 8px);
		text-decoration:none;}

	.button-imitator p::after {
		transform: translate(3px, 3px);
		transform: translate(-8px, -8px);
		opacity: 0;}
	:after {
		inset: 0px;
	}
}
.h4b-archive ul.wp-block-post-template > li:hover:after {
		border-color:var(--h4b-secondary)!important;
	}

body.category-events .event-filter-button .wp-block-button__link, 
body.category-news .news-filter-button .wp-block-button__link {
    transform: translate(8px, 8px);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.6) !important;
	border-color: #9f9f9f!important;
	pointer-events:none;
	color: #8f8f8f !important;
}
body.category-events .event-filter-button .wp-block-button__link:after, 
body.category-news .news-filter-button .wp-block-button__link:after {
    transform: translate(-8px, -8px);
    opacity: 0;
}
.single .wp-block-post-date {}
.single .meta-row {color:#919c9d;font-size:clamp(16px, 1.15vw, 21px);margin-top:1em;}
.single .wp-block-image img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100vh;
}
.single .wp-block-post-title {
	max-width: 850px;
}
.single-post .h4b-nav-wrap > nav > ul.h4b-navigation > li.wp-block-navigation-item:nth-child(2) a {color: var(--h4b-secondary) !important;} 
/*blog end*/

.wp-lightbox-container {
	display:block;
	margin: 3em 0;
}
.wp-block-gallery > figure {
	border:1px solid #b9b9b9;
}
.wp-block-gallery.is-cropped > figure {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.wp-block-gallery.is-cropped > figure:last-child {
	flex-grow: 0!important; 
}
.wp-block-gallery.is-cropped > figure img {
    width: 100%!important;
    height: 100%!important;
    object-fit: cover!important;
}
	
.entry-content .wp-block-list {
	padding: 0 0 0 1em;
}
.entry-content .wp-block-list li {
	padding:0 0 0.6em;
}
.entry-content ul.wp-block-list {
	list-style-type: square;
	
}
.entry-content ul.wp-block-list ::marker {
  color: var(--h4b-secondary);
  font-size: 1.2em;
}
.entry-content ol.wp-block-list ::marker {
  color: var(--h4b-secondary);
  font-size: 1.2em;
}

/*resources*/
.grid-resources {
	gap: 2vw;
	li.page:last-child {
		grid-column: 1 / -1;
		width: 100%;}
	li.page {
		background-color:var(--h4b-primary);
		transition:background 1s ease;}
	li.page a {}
	li.page > .wp-block-group {
		padding:2vw;}
	.contents-of-resource-cell {
		display:flex;
		flex-wrap: wrap;
		flex-direction: row-reverse;}
	.wp-block-post-title {
		color:#e8e7d1;
		margin:0!important;
        margin-right: auto !important;
        width: calc(100% - 4em);}
	.wp-block-post-excerpt {
		color:#e8e7d1;
		flex-basis: 100%;
		margin-right: 20% !important;}
	li.page:last-child .wp-block-post-excerpt p {
		max-width: max(50vw, 80%) !important;}
	.contents-of-resource-cell::after {
		content: url(graphics/arrow-flat.svg);
		position: relative;
		width: 30px;
		opacity:1;
		transition: all 0.25s ease 0s;
		filter: invert(96%) sepia(17%) saturate(241%) hue-rotate(3deg) brightness(99%) contrast(84%);
		position: absolute;
		right: 0;
		bottom: 0;
	}
	.contents-of-resource-cell::before {
		content: url(graphics/icons-resources-1.svg);
		position: relative;
		width: 69px;
		opacity:1;
		transition: all 0.25s ease 0s;
		filter: invert(96%) sepia(17%) saturate(241%) hue-rotate(3deg) brightness(99%) contrast(84%);
	}
	.post-397 .contents-of-resource-cell::before {
		content: url(graphics/icons-resources-5.svg);
	}
	.post-396 .contents-of-resource-cell::before {
		content: url(graphics/icons-resources-4.svg);
	}
	.post-395 .contents-of-resource-cell::before {
		content: url(graphics/icons-resources-3.svg);
	}
	.post-394 .contents-of-resource-cell::before {
		content: url(graphics/icons-resources-2.svg);
	}
	.post-393 .contents-of-resource-cell::before {
		content: url(graphics/icons-resources-1.svg);
	}
}
.grid-resources li.page:hover, .grid-resources li.page:focus {
		background-color:var(--h4b-secondary);
		transition:background 0.25s ease;
	.wp-block-post-title {
		color:#000;}
	.wp-block-post-excerpt {
		color:#000;}
	.contents-of-resource-cell::after {filter:unset;}
	.contents-of-resource-cell::before {filter:unset;}
}
body.page-id-9, 
body.page-id-397, 
body.page-id-396, 
body.page-id-395, 
body.page-id-394, 
body.page-id-393 {
	background-color:#e8e7d1;
	position:relative;
}
body.page-id-8:before, 
body.page-id-9:before, 
body.page-id-397:before, 
body.page-id-396:before, 
body.page-id-395:before, 
body.page-id-394:before, 
body.page-id-393:before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background: url(graphics/bg-graphic-top-1.svg) right -36vw / 100% auto no-repeat;
    opacity: .9;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100%;
}
body.page-id-397:before, 
body.page-id-396:before, 
body.page-id-395:before, 
body.page-id-394:before, 
body.page-id-393:before {
	opacity: .5;
}
body.page-id-8 .h4b-site-header, 
body.page-id-9 .h4b-site-header, 
body.page-id-397 .h4b-site-header, 
body.page-id-396 .h4b-site-header, 
body.page-id-395 .h4b-site-header, 
body.page-id-394 .h4b-site-header, 
body.page-id-393 .h4b-site-header {background-color:transparent;}
/*end resources*/

/*products list*/
.h4b-archive.product-list ul.wp-block-post-template > li:hover, .h4b-archive.product-list ul.wp-block-post-template > li:focus {
		border: 1px solid var(--h4b-primary);
	}
.h4b-archive.product-list ul.wp-block-post-template > li::after { 
		display:none;
	}
.h4b-archive.product-list .wp-block-post-template {align-items: start;}
.h4b-archive.product-list ul.wp-block-post-template > li {
	min-height: 25vh;
	border: 1px solid var(--h4b-primary);
	.wp-block-post-title {
		margin:0;
	}
	.linkage {
        background-color: #e2ebf0;
    }
    .wp-block-post-excerpt p {
        margin-top: 0;
        font-size: 1.3em;
        line-height: 1.4;
		font-weight: 530;
    }
	.wrapper {
		padding: 1.3em 1.5em 0.5em;
	}
	.prod-header {
		display: flex!important;
		justify-content: space-between;
		align-content: flex-start;
		align-items: flex-start;
	}
	.prod-header img {width:75px;}
	.prod-more {display:block;}
	.prod-more p {
		color: var(--h4b-secondary);
		font-weight:520;
		font-size: 1em;
		cursor:pointer;
		padding: 1em 0;
		position:relative;
	}
	.prod-more p::before {
		content:"+";
		position:relative;
		display:inline-block;
		padding-right: 0.5em;
	}
	.prod-more p::after {
		content:"more";
		position:relative;
		display:inline-block;
		padding-left: 0.25em;
	}
	.prod-footer {
		display: grid !important;
		grid-template-rows: 0fr;
		transition: grid-template-rows 0.5s ease;
	}
	.prod-footer > div {
		min-height: 0;
		overflow: hidden;
		width: 100%;
	}
	.prod-footer p {
		color:#4c4c4c;
	}
	.prod-footer p.has-small-font-size {
		font-weight:600;
		font-size: 0.8em!important;
	}
	.prod-footer p:not(.has-small-font-size) {
		font-size:0.9em;
		line-height: 1.3;
	}
	.prod-footer .wp-block-columns {
		margin-bottom: 0.9em;
	}
	figure.featured-prod {
		background-color:#e4edf0!important;
		border-top: 1px solid var(--h4b-primary);
	}
	.wp-block-post-featured-image img {
		object-fit: cover!important;
	}
}
.h4b-archive.product-list ul.wp-block-post-template > li.active {
	.linkage {
        background-color: #f2ece9!important;
    }
	.prod-footer {
		grid-template-rows: 1fr;
		transition-duration: 0.25s;
	}
	.prod-more p::before {
		content:"-";
	}
	.prod-more p::after {
		content:"less";
	}
}
.h4b-archive.product-list ul.wp-block-post-template > li:hover, .h4b-archive ul.wp-block-post-template > li:focus {
    .wp-block-post-title {
        color: var(--h4b-primary);
    }
	.linkage {
        background-color: #e2ecf0;
    }
}
/*end products list*/


@media(min-width:1900px) {
    .h4b-hero {
       
    }
    .h4b-hero-title {
        font-size: 40px;
    }
    .h4b-intro-column {
        font-size: 21px;
    }

}
@media(max-width:1900px) {
	.h4b-header-brand {
		transform: scale(0.78);
		margin-left: -58px;
	}
	.h4b-site-header .h4b-header-inner {
		padding-left: 3.5%;
		padding-left: var(--h4b-gutter);
		padding-top:20px;
	}

}
@media(max-width:1600px) {
	footer:before {
		height: 980px;
	}
}
@media(max-width:1400px) {
	.single .meta-row {
		padding-bottom:2em!important;
	}
	.h4b-navigation a {
		    padding: 0.5em var(--h4b-nav-link-padding-inline);
	}
    .h4b-navigation {
        --h4b-nav-link-padding-inline: 1em;
        font-size: 13px;
    }
	.h4b-linkedin {
		width: 25px;
	}
	.h4b-site-header .h4b-header-inner {
		padding-top:10px;
	}
	.h4b-slider-controls button {
    width: 52px;
    height: 52px;	
	}
	.h4b-slider-controls {right: -3.5em;}
}
@media(max-width:1100px) {
	#set-left-spacing-as-container::before {
		background: linear-gradient(90deg, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0) 100%);
		width: 7em;
	}
	.h4b-hero {
		padding: 90px 0 90px;
	}

	body main.h4b-container {
		/*
		width: 100%!important;
		margin-inline:0!important;
		margin:0 !important;
        padding: 0 2em !important;
		max-width:100vw;
		*/
	}
	.h4b-site-header .h4b-header-inner {
		padding-left: 1.5em;
	}
	.h4b-header-brand {
		margin-left: 0;
	}
	.h4b-menu-toggle {
		margin-top: -3.2em;
	}
	.scrolled .h4b-header-brand {
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.5s ease, visibility 0s linear 0.5s;
	}
	.h4b-header-brand:after {display:none;}
    .h4b-header-inner {
        /*padding-inline: 28px;*/
		padding-left:7%;
    }
	.h4b-linkedin {
		width: 20px;
	}
    .h4b-header-inner {
        /*padding-inline: 28px;*/
		padding-top:10px;
    }
    .h4b-navigation {
        font-size: 11px;
    }
    .h4b-nav-wrap {
        gap: 22px;
    }
    .h4b-header-brand {
        /*width: 145px;*/
		margin-left: 0;
    }
    .h4b-hero {

    }
    .h4b-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 35px;
    }
    .h4b-stat-partners {
        grid-column: auto;
        gap: 24px;
        flex-wrap: wrap;
    }
    .h4b-stat {
        gap: 14px;
    }
    .h4b-footer-grid {
        gap: 28px 24px;
    }
    .h4b-slider-controls {
        right: -45px;
    }
    .h4b-slider-controls button {
        width: 45px;
    }
	.h4b-slider-controls {
		top: calc(17vw / 2);
	}
	.h4b-news-excerpt {
		line-height: 1.35;
	}
    .h4b-callout {

    }
    .h4b-callout p br {
        display: none;
    }
}
@media (max-width: 900px) {
	.h4b-callout p {
		
	}
    .h4b-site-header .h4b-navigation, .h4b-site-header .h4b-linkedin {
        display: none;
    }
	body .h4b-sidebar-menu {
		margin:0!important;
	}
	.h4b-menu-toggle {
		margin-top: -1.9em;
	}
	.h4b-header-brand {
        transform: scale(0.68);
	}
    .h4b-site-header .h4b-header-inner {
        padding-left: 1.5em;
    }
	.home .h4b-site-header {
		backdrop-filter: unset;
		-webkit-backdrop-filter: unset;
	}
}
@media(max-width:781px) {
	.grid-resources {
		gap: 2vw;
		li.page > .wp-block-group {
			padding:1.2em;}
		.contents-of-resource-cell::before {
		width:50px;}
	}
	body.page-id-9:before, 
	body.page-id-397:before, 
	body.page-id-396:before, 
	body.page-id-395:before, 
	body.page-id-394:before, 
	body.page-id-393:before {background-size: 160% auto;}
	.single .meta-row {
		flex-wrap: wrap;
		gap: 0;
	}
	.single .meta-row > * {padding-right:0.5em;}
	.h4b-archive ul.wp-block-post-template > li {
		.wrapper {
		padding:1.3em 1.5em 2em;}
		.post-footer .button-imitator {
			padding-top:0.5em!important;
		}
		.button-imitator p {
			font-size: 0.7em !important;
		}
	}
	body main.h4b-container {/*padding: 0 1em !important;*/}
	body.blog main > .wp-block-group:has(h1) {
		gap: 0;padding-bottom: var(--wp--preset--spacing--60)!important;
	}
	.wp-block-button__link::after {
		inset: 3px -6px -7px 3px;
	}
	.wp-block-button__link:hover {
		transform: translate(4px, 4px);
	}
	.wp-block-button__link::after, 
	.wp-block-button__link, 
	.h4b-news-image:after {
		border-width:1px!important;
	}
    .admin-bar .h4b-site-header {
        top: 46px;
    }
    .h4b-header-brand {
        width: 150px;
    }
    .h4b-header-inner {
        min-height: 76px;
    }
    .home .h4b-site-header {
        margin-bottom: -76px;
    }
    .h4b-navigation .wp-block-navigation__container {
        gap: 18px;
    }
    .h4b-navigation {
        font-size: 10px;
    }
    .h4b-hero {
        padding-top: 5px;
        padding-bottom: 65px;
    }
    .h4b-hero-brand {
        margin-bottom: 30px;
    }
    .h4b-hero-icon {
        width: 75px;
    }
    .h4b-hero-wordmark {
        width: 250px;
    }
    .h4b-intro-grid {
        gap: 30px;
    }
    .h4b-intro-column {
        font-size: 16px;
    }
    .h4b-hero-title {
        max-width: 650px;
    }
    .h4b-stats {
        padding-block: 38px 35px;
    }
    .h4b-stat-number {
        font-size: 27px;
    }
    .h4b-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
	.h4b-footer-grid .breakpoint {
		display:block;
	}
    .h4b-funding-text {
        grid-column: auto;
    }
    .h4b-footer-spacer {
        display: none;
    }
    .h4b-footer-social {
        grid-column: 1/-1;
    }
    .h4b-footer-bottom {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .h4b-callout-arrow {
        flex-basis: 42px;
    }
    .h4b-callout-section {
        padding-block: 40px 55px;
    }
}

@media(max-width:599px) {
    :root {
        --h4b-gutter: 24px;
    }
	.home .h4b-news-section:not(.h4b-container) > .h4b-news-slider {
		margin: 0 calc(var(--h4b-gutter) - 12px) 0 var(--h4b-gutter);
	}
	.h4b-news-image {margin-bottom: 13px;}
	.h4b-news-image:after {
		inset: 5px -8px -8px 8px;
	}
	.h4b-news-excerpt {font-size:10px;}
	.h4b-read-more {font-size:11px;}
	.h4b-news-meta {margin: 0;}
	#set-left-spacing-as-container::before {
		display:none;
	}
	.wp-block-button__link {	}
	.wp-block-button__link::after {
			inset: 3px -9px -8px 5px;
	}
	.wp-block-button__link:hover::after {	}
	.h4b-section-heading .wp-block-button__link span {
		margin-left: 0;
	}
    .admin-bar .h4b-site-header {
        top: 0;
    }
    .h4b-header-inner {
        padding: 16px 24px;
    }
    .h4b-nav-wrap {
        gap: 24px;
    }
    .h4b-navigation {
        font-size: 16px;
    }
    .h4b-navigation .wp-block-navigation__responsive-container.is-menu-open {
        padding: 32px;
        background: #fff;
        color: var(--h4b-primary);
    }
    .h4b-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
        gap: 28px;
        font-size: 22px;
    }
    .h4b-navigation .wp-block-navigation__responsive-container-open {
        color: var(--h4b-primary);
    }
    .h4b-linkedin {
        width: 26px;
    }
    .h4b-hero {
        padding-top: 18px;
		padding-bottom: 40px;
    }
    .h4b-hero-title {
        font-size: 27px;
        margin-bottom: 28px;
    }
    .h4b-hero-title br {
        display: none;
    }
    .h4b-intro-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .h4b-intro-column .wp-block-buttons {
        margin-top: 30px;
    }
    .h4b-icon-strip {
        width: 100%;
        margin-top: 42px;
    }
    .h4b-stats {
        gap: 20px 18px;
    }
    .h4b-stat {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
		justify-content: center;
    }
    .h4b-stat-label, .h4b-stat-statement {
        font-size: 14px;
    }
    .h4b-stat-partners {
        flex-wrap: nowrap;
        gap: 16px;
    }
    .h4b-stat-partners .h4b-stat {
        gap: 10px;
    }
    .h4b-stat-partners .h4b-stat-number {
        font-size: 35px;
    }
    .h4b-section-heading {
        align-items: center;
        /*flex-direction: column;*/
        gap: 5px;
        margin-bottom: 0;
    }
    .h4b-news-section {
        padding-block: 5px 1px;
    }
    .h4b-news-card h3 { 
		font-size: 11px;
		margin: 0 0 6px;
		font-weight: 600;
	}
    .h4b-slider-controls {
        position: static;
        flex-direction: row;
        justify-content: space-around;
        margin-top: 0;
    }
    .h4b-slider-controls button {
        width: 30px;
        height: 36px;
    }
	.h4b-slider-controls button.h4b-prev {
		display:block;
	}
    .h4b-callout {
        padding: 12px 16px;
        gap: 24px;
        align-items: flex-start;
        /*flex-direction: column;*/

		border: 1px solid var(--h4b-secondary);
	}
	.h4b-callout::after {display:none;}
    .h4b-callout p {
		line-height: 1.6;
    }
    .h4b-callout-arrow {
        width: 40px;
        flex-basis: auto;
    }
    .h4b-footer {
        padding-top: 20px;
    }
    .h4b-footer-logo {
        width: 75px;
        margin-bottom: 40px;
    }
    .h4b-footer-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
	.h4b-footer-contact h3 {
		margin-bottom: 0;
		padding-bottom: 0.5em;
	}
    .h4b-eu-logo {
        width: 180px;
    }
    .h4b-footer-contact p, .h4b-footer-contact h3, .h4b-funding-text {
        font-size: 13px;
    }
    .h4b-footer-bottom {
        margin-top: 40px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .h4b-footer:before {

    }
    .h4b-archive .wp-block-post-template {
        grid-template-columns: 1fr!important;
    }
    .h4b-swiper:not(.swiper-initialized) .swiper-wrapper {
        grid-template-columns: 1fr;
    }
    .h4b-page {
        padding-block: 45px 70px;
    }
}

.wp-block-image>a {
    display: block;
}

.wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
}

.h4b-intro-column>p+p {
    margin-top: 28px;
}

.h4b-next img {
    transform: rotate(45deg);
}

.h4b-prev img {
    transform: rotate(225deg);
}

.h4b-featured-fallback {
    background: #f1f1f1;
}

.h4b-navigation .is-menu-open a {
    color: var(--h4b-primary)!important;
}
.h4b-next img {
	transition:margin 0.25s ease, padding 0.25s ease;
}
.h4b-next:hover img {
	margin-right:-1em;;
}
@media(max-width:900px) {
    .h4b-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none!important;
    }
    .h4b-navigation .wp-block-navigation__responsive-container-open {
        /*display: flex!important; WP default mobile menu show*/
    }
    .h4b-navigation .wp-block-navigation__responsive-container.is-menu-open {
        padding: 32px;
        background: #fff;
    }
    .h4b-navigation .is-menu-open .wp-block-navigation__container {
        gap: 26px;
        font-size: 22px;
    }
}

/* Regional Hubs: native page queries, with each group's children below it. */
.h4b-regional-hubs {
    --h4b-hub-padding: clamp(15.4px, 1.4vw, 25.2px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 45px;
    color: var(--h4b-primary);
	margin-top: 6em;
	border-top: 1px solid #8ca2a5;
	padding-top: 6em;
}

.h4b-regional-hubs .h4b-hub-column {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 24px;
    min-width: 0;
    margin: 0;
    --h4b-hub-background: #eaf9f4;
}

.h4b-regional-hubs .h4b-hub-column-2 {
    --h4b-hub-background: #e6f4fd;
}

.h4b-regional-hubs .h4b-hub-column-3 {
    --h4b-hub-background: #fbf9e9;
}

.h4b-regional-hubs .h4b-hub-column-4 {
    --h4b-hub-background: #f1f3ff;
}

.h4b-regional-hubs .wp-block-query,
.h4b-regional-hubs .wp-block-post-template {
    margin: 0;
    padding: 0;
    min-width: 0;
    list-style: none;
}

.h4b-regional-hubs .h4b-hub-summary,
.h4b-regional-hubs .h4b-hub-summary .wp-block-post-template {
    display: grid;
}

.h4b-regional-hubs .h4b-hub-summary .wp-block-post {
    background: var(--h4b-hub-background);
    padding: var(--h4b-hub-padding);
    margin: 0;
}

.h4b-regional-hubs .h4b-hub-summary .wp-block-post-title {
    /*font-size: clamp(24px, 1.8vw, 34px);
    font-weight: 650;
    line-height: 1.4;*/
    margin: 0 0 1em;
    overflow-wrap: break-word;
}

.h4b-regional-hubs .wp-block-post-excerpt {
    font-size: clamp(16px, 1.15vw, 21px);
    font-weight: 500;
    line-height: 1.65;
    margin: 0;
}

.h4b-regional-hubs .wp-block-post-excerpt p {
    margin: 0;
	    font-size: clamp(14px, 1.1vw, 19px);
}

.h4b-regional-hubs .h4b-hub-children .wp-block-post-template {
    display: grid;
    gap: 6px;
}

.h4b-regional-hubs .h4b-hub-children .wp-block-post {
    padding: 0;
    margin: 0;
}

.h4b-regional-hubs .h4b-hub-children .wp-block-post > .wp-block-group {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 92px;
    padding: var(--h4b-hub-padding);
    margin: 0;
    background: var(--h4b-hub-background);
    color: #000;
    transition: background-color .2s ease;
}

.h4b-regional-hubs .h4b-hub-children .wp-block-post > .wp-block-group.is-linked:is(:hover, :focus, :focus-within, .is-hub-active) {
    background: var(--h4b-secondary);
    color: #000;
}

.h4b-regional-hubs .h4b-hub-children .wp-block-group.is-linked:is(:hover, :focus, :focus-within, .is-hub-active) :is(.wp-block-post-title, a) {
    color: #000;
}

.h4b-regional-hubs .h4b-hub-children .wp-block-group__link:focus-visible {
    outline: 2px solid #000;
    outline-offset: -3px;
}

.h4b-regional-hubs .h4b-hub-children .wp-block-post-title {
    margin: 0!important;
    font-size: clamp(16px, 1.1vw, 20px);
    font-weight: 500;
    line-height: 1.45;
    color: #000;
    overflow-wrap: break-word;
}

@media (max-width: 1100px) {
    .h4b-regional-hubs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 32px;
    }
}

@media (max-width: 600px) {
    .h4b-regional-hubs {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Shared hub codes in the query cards and interactive SVG map. */
.h4b-hub-code {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2e3191;
    color: #fff;
    font-family: Geologica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.h4b-regional-hubs .h4b-hub-children .wp-block-post > .wp-block-group {
    gap: 12px;
}

.h4b-regional-hubs .h4b-hub-children .h4b-hub-code {
    margin: 0!important;
    max-width: none;
}

.h4b-regional-hubs .h4b-hub-children .wp-block-post-title {
    flex: 1;
    min-width: 0;
}

.h4b-regional-hubs .h4b-hub-summary,
.h4b-regional-hubs .h4b-hub-children .wp-block-post {
    position: relative;
    z-index: 2;
}

.h4b-hub-map {
    position: relative;
    width: 70%;
    max-width: none!important;
    margin: -28em 0 0 auto;
    /* Let overlapping empty map space pass clicks through to the hub cards. */
    pointer-events: none;
}

.h4b-hub-map-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.h4b-hub-map .h4b-map-pin {
    pointer-events: auto;
    cursor: pointer;
	text-decoration:none!important;
}

.h4b-hub-map .h4b-map-pin-shape {
    transition: fill .2s ease;
}

.h4b-hub-map .h4b-map-pin:is(:hover, :focus, .is-hub-active) .h4b-map-pin-shape {
    fill: var(--h4b-secondary);
}

.h4b-hub-map .h4b-map-pin:focus-visible {
    outline: none;
}

.h4b-hub-map .h4b-map-pin:focus-visible .h4b-map-pin-shape {
    stroke: #000;
    stroke-width: 2px;
    paint-order: stroke fill;
}

.h4b-hub-map text,
.h4b-hub-map tspan {
    font-family: Geologica, sans-serif;
    font-weight: 700;
    fill: #fff;
    pointer-events: none;
	font-size: 18px;
}

.h4b-map-tooltip {
    position: absolute;
    z-index: 5;
    width: max-content;
    max-width: min(280px, calc(100vw - 24px));
    margin: 0;
    padding: 14px 18px;
    border-radius: 0;
    background: var(--h4b-tooltip-background, #fff);
    color: #000;
    box-shadow: rgba(0, 0, 0, 0.12) -10px -9px 0px;
    font-family: Geologica, sans-serif;
    font-size: clamp(16px, 1.1vw, 20px);
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: break-word;
    pointer-events: none;
}

.h4b-map-tooltip[hidden] {
    display: none;
}

/* The shared overview preview is edited on its source page. */
.wp-block-hubs4build-regional-hubs-overview > p.wp-block-paragraph {display:none;}

.h4b-regional-overview-preview a {
    pointer-events: none!important;
}

/* Keep the block editor preview separate from the interactive page layout. */
.editor-styles-wrapper .h4b-hub-map {
    width: 100%;
    margin: 32px 0 0!important;
}

.h4b-hub-map-editor .h4b-map-pin {
    pointer-events: none;
}
@media(max-width:1900px) {
	.wp-block-post-content {
		container-type: inline-size;
	}

	.h4b-hub-map {
		margin-top: -30cqw;
	}
}
@media(max-width:1600px) {
    .h4b-hub-map {
        width: 90vw;
		overflow:hidden;
    }
	.h4b-hub-map > svg {
        width: 85vw;
        margin-left: 8vw;
	}
}
@media(max-width:1400px) {
	
}
@media (max-width: 1100px) {
    .h4b-hub-map {
        width: 100vw;
        margin: -50px -2em 0 -9.9vw!important;
		overflow:hidden;
    }
	.h4b-hub-map > svg {
		width: 108vw;
		margin-left:-4vw;
	}
	.h4b-regional-hubs {
		--h4b-hub-padding: clamp(11px, 1.2vw, 21px);
	}
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition: none!important;
    }
}
